/* ==========================================================================
   Oil Gas Munay — design tokens
   Visual direction: light corporate energy-sector site (Rosneft-style
   reference layout), built around the brand logo palette —
   deep navy-teal wordmark + warm gold emblem.
   Display: Golos Text · Body: PT Sans · Utility/data: JetBrains Mono
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f2;
  --surface: #ffffff;
  --surface-2: #f0efe9;
  --line: #e3e2dc;
  --line-strong: #cfcec6;
  --text: #15181a;
  --text-dim: #494e4f;
  --text-faint: #7c8283;
  --navy: #17282d;
  --gold: #d79c3c;
  --gold-bar: #e6ac45;
  --gold-dark: #a9741d;
  --gold-soft: rgba(215, 156, 60, 0.12);
  --teal: #2f5a5f;
  --teal-soft: rgba(47, 90, 95, 0.08);

  --font-display: "Golos Text", "PT Sans", sans-serif;
  --font-body: "PT Sans", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --container: 1180px;
  --radius: 3px;
  --radius-lg: 6px;

  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; color: var(--navy); }
p { margin: 0; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- kicker / mono utility text ---- */
.kicker {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold-dark);
  display: inline-block;
}

/* ==========================================================================
   Header contact block (phone / email) + language switcher
   ========================================================================== */
.header-contact { display: flex; align-items: center; gap: 28px; flex: none; }
.contact-item { display: flex; flex-direction: column; line-height: 1.3; }
.contact-number {
  font-weight: 800;
  font-size: 14.5px;
  color: var(--navy);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.contact-number:hover { color: var(--gold-dark); }
.contact-label {
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 2px;
  white-space: nowrap;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  flex: none;
}
.lang-switch a {
  padding: 5px 10px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  font-weight: 600;
  border-radius: 2px;
}
.lang-switch a.active {
  color: #1a1206;
  background: var(--gold-bar);
}
.lang-switch a:not(.active):hover { color: var(--text); }
.lang-switch .sep { color: var(--line-strong); }

/* ==========================================================================
   Header / nav — single compact row: logo, contact info, lang switch, CTA
   ========================================================================== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--navy);
  flex: none;
}
.brand img.mark {
  height: 58px;
  width: auto;
  flex: none;
}
.brand small {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.nav-row-right {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  flex: none;
}

/* gold horizontal nav bar, Rosneft-style with pipe separators */
.nav-bar-wrap {
  background: var(--gold-bar);
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
nav.primary-nav { display: flex; align-items: stretch; }
nav.primary-nav > ul { display: flex; align-items: stretch; flex-wrap: wrap; }
nav.primary-nav > ul > li {
  position: relative;
  display: flex;
  align-items: stretch;
  border-left: 1px solid rgba(0,0,0,0.08);
}
nav.primary-nav > ul > li:first-child { border-left: none; }
nav.primary-nav > ul > li > a,
nav.primary-nav > ul > li > button.nav-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 15px 20px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
}
nav.primary-nav > ul > li > a:hover,
nav.primary-nav > ul > li > button.nav-toggle:hover {
  background: rgba(255,255,255,0.28);
}
nav.primary-nav > ul > li.current > a {
  background: var(--navy);
  color: #ffffff;
}
.chev { width: 10px; height: 10px; transition: transform .15s ease; }
li.has-dropdown.open .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--gold-bar);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 8px;
  box-shadow: 0 18px 40px rgba(20, 20, 15, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 40;
}
li.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 500;
  text-transform: none;
  color: var(--text-dim);
  border-radius: var(--radius);
}
.dropdown a:hover { background: var(--gold-soft); color: var(--navy); }
.dropdown a::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold-dark);
  flex: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: #ffffff; }
.btn-primary:hover { background: #0e1b1f; }
.btn-ghost { border-color: var(--line-strong); color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); background: var(--gold-soft); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex: none; }

.hamburger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.hamburger span, .hamburger span::before, .hamburger span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger span::before { position: absolute; top: -6px; }
.hamburger span::after { position: absolute; top: 6px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 68px 0 56px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 320px at 92% -10%, var(--gold-soft), transparent 60%),
    radial-gradient(480px 280px at -5% 110%, var(--teal-soft), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 760px; }
.hero h1 {
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.08;
  margin-top: 16px;
}
.hero p.lead {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 62ch;
}
.hero .actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 16px;
  letter-spacing: .02em;
}
.breadcrumb a { color: var(--text-faint); }
.breadcrumb a:hover { color: var(--gold-dark); }

/* ---- hero with background photo (ken-burns slow zoom) ---- */
.hero.has-photo {
  background: var(--navy);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 96px 0 56px;
}
.hero.has-photo::before { display: none; }
.hero-media { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: hero-kenburns 24s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(23,40,45,.72) 0%, rgba(23,40,45,.88) 100%);
}
.hero.has-photo .hero-inner, .hero-slider .slide .hero-inner { position: relative; z-index: 2; }
.hero.has-photo h1, .hero.has-photo p.lead, .hero.has-photo .breadcrumb, .hero.has-photo .breadcrumb a,
.hero-slider h1, .hero-slider p.lead, .hero-slider .breadcrumb, .hero-slider .breadcrumb a { color: #ffffff; }
.hero.has-photo .breadcrumb a:hover, .hero-slider .breadcrumb a:hover { color: var(--gold-bar); }
.hero.has-photo .kicker, .hero-slider .kicker { color: var(--gold-bar); }
.hero.has-photo .kicker::before, .hero-slider .kicker::before { background: var(--gold-bar); }
@keyframes hero-kenburns {
  from { transform: scale(1.06) translate3d(0,0,0); }
  to { transform: scale(1.16) translate3d(-1.5%,-1.5%,0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; }
}

/* ==========================================================================
   Hero slider (homepage) — 3-slide pipeline-wipe transition
   ========================================================================== */
.hero-slider { padding: 0; border-bottom: none; }
.slider-track { position: relative; height: 620px; }
.hero-slider .slide {
  position: absolute; inset: 0;
  z-index: 0;
  clip-path: inset(0 100% 0 0);
  visibility: hidden;
  display: flex;
  align-items: center;
  padding-bottom: 170px;
}
.hero-slider .slide .hero-inner { width: 100%; }
.hero-slider .slide.active {
  z-index: 2;
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 1.1s cubic-bezier(.65,0,.35,1);
}
.hero-slider .slide.prev-active { z-index: 1; clip-path: inset(0 0 0 0); visibility: visible; }
.hero-slider .hero-media img { animation: hero-kenburns 10s ease-in-out infinite alternate; }
.hero-cta-row { position: absolute; bottom: 92px; left: 0; right: 0; z-index: 3; pointer-events: none; }
.hero-cta-row .actions { pointer-events: auto; }
.slider-controls {
  position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center; gap: 22px;
}
.slider-dots { display: flex; gap: 10px; }
.slider-dots .dot {
  width: 30px; height: 3px; border: none; background: rgba(255,255,255,0.35);
  cursor: pointer; padding: 0; border-radius: 2px; transition: background .2s ease;
}
.slider-dots .dot.active { background: var(--gold-bar); }
.slider-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.08);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex: none;
}
.slider-arrow svg { width: 18px; height: 18px; }
.slider-arrow:hover { background: var(--gold-bar); border-color: var(--gold-bar); color: var(--navy); }
@media (max-width: 760px) {
  .slider-track { height: 560px; }
  .hero-cta-row { bottom: 84px; }
  .hero-cta-row .actions { flex-direction: column; align-items: flex-start; }
  .hero-slider .slide { padding-bottom: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider .slide { transition: none; }
  .hero-slider .hero-media img { animation: none; }
}

/* ==========================================================================
   Flow divider — signature element: pipeline schematic rule
   ========================================================================== */
.flow-divider {
  position: relative;
  height: 40px;
  margin: 0;
  background: var(--bg);
}
.flow-divider svg { width: 100%; height: 100%; display: block; }
.flow-divider .pipe-line {
  stroke: var(--line-strong);
  stroke-width: 1;
}
.flow-divider .pipe-flow {
  stroke: var(--gold-dark);
  stroke-width: 1.3;
  stroke-dasharray: 2 10;
  animation: flow-move 5.5s linear infinite;
}
.flow-divider .pipe-node {
  fill: var(--bg);
  stroke: var(--line-strong);
  stroke-width: 1.2;
}
@keyframes flow-move {
  to { stroke-dashoffset: -120; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-divider .pipe-flow { animation: none; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
section { padding: 68px 0; background: var(--bg); }
section.tight { padding: 44px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 38px; }
.section-head h2 { font-size: clamp(23px, 2.8vw, 32px); margin-top: 14px; }
.section-head p { margin-top: 14px; color: var(--text-dim); font-size: 16px; }

.prose { max-width: 72ch; }
.prose p + p { margin-top: 16px; }
.prose { color: var(--text-dim); font-size: 16px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ---- dynamic column-count modifiers (avoid an orphaned last-row item) ---- */
.cols-2 { grid-template-columns: repeat(2, 1fr) !important; }
.cols-3 { grid-template-columns: repeat(3, 1fr) !important; }
.cols-4 { grid-template-columns: repeat(4, 1fr) !important; }
.cols-5 { grid-template-columns: repeat(5, 1fr) !important; }

/* ---- nameplate / spec card ---- */
.nameplate {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  padding: 22px;
}
.nameplate .num {
  font-family: var(--font-mono);
  color: var(--gold-dark);
  font-size: 12.5px;
  letter-spacing: .1em;
}
.nameplate h3 { font-size: 18px; margin-top: 10px; }
.nameplate p { margin-top: 10px; color: var(--text-dim); font-size: 14.5px; line-height: 1.55; }

/* ---- stat strip ---- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
}
.stat {
  padding: 24px 20px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; }
.stat .value {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--gold-dark);
}
.stat .label {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ---- value-chain steps (genuine sequence: upstream -> midstream -> downstream) ---- */
.chain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); }
.chain-step { padding: 28px 26px; border-left: 1px solid var(--line); position: relative; }
.chain-step:first-child { border-left: none; }
.chain-step .step-num { font-family: var(--font-mono); color: var(--text-faint); font-size: 13px; }
.chain-step h3 { margin-top: 12px; font-size: 19px; }
.chain-step p { margin-top: 10px; color: var(--text-dim); font-size: 14.5px; }
.chain-step::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 30px;
  color: var(--gold-dark);
  font-size: 18px;
  z-index: 2;
  font-weight: 700;
}
.chain-step:last-child::after { display: none; }

/* ---- governance / card grid (categories, not sequence) ---- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  background: var(--bg);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.card:hover, .card.reveal.armed.in-view:hover { border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(20,20,15,0.08); }
/* Cards are visible by default — JS only hides them (adds .armed) right before
   it starts observing, so content is never dependent on JS to be seen. */
.card.reveal.armed { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--stagger, 0) * 80ms); }
.card.reveal.armed.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .card.reveal { opacity: 1; transform: none; transition: none; }
}
.card .icon { width: 26px; height: 26px; color: var(--gold-dark); }
.card h3 { margin-top: 16px; font-size: 17px; }
.card p { margin-top: 10px; color: var(--text-dim); font-size: 14px; line-height: 1.6; }
.card .go { margin-top: 16px; font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); letter-spacing: .04em; }
a.card:hover .go { color: var(--gold-dark); }

/* ---- checklist ---- */
.check-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--text-dim);
}
.check-list li:first-child { border-top: none; }
.check-list li::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  margin-top: 7px;
  background: var(--gold-dark);
  border-radius: 1px;
}

/* ---- callout ---- */
.callout {
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-bar);
  background: var(--bg-alt);
  padding: 22px 26px;
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--text-dim);
}
.callout strong { color: var(--navy); }

/* ---- photo banner / side photo ---- */
.photo-banner { width: 100%; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.photo-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-side { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 340px; }
.photo-side img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-caption { margin-top: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); letter-spacing: .02em; }

/* ---- forms ---- */
form.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  padding: 30px;
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 7px; }
.field label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.field input, .field textarea, .field select {
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--gold-dark);
  outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 13px; color: var(--text-faint); }

/* ---- contact info list ---- */
.info-list { display: grid; gap: 20px; }
.info-list .item { display: flex; gap: 14px; }
.info-list .item .icon { width: 20px; height: 20px; color: var(--gold-dark); flex: none; margin-top: 2px; }
.info-list .item h4 { font-size: 13px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--text-faint); font-weight: 500; }
.info-list .item p { margin-top: 6px; color: var(--text); font-size: 15px; }

/* ---- table (sitemap / spec tables) ---- */
table.spec { width: 100%; border-collapse: collapse; }
table.spec th, table.spec td { text-align: left; padding: 12px 14px; border-top: 1px solid var(--line); font-size: 14.5px; }
table.spec th { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); border-top: none; }
table.spec td { color: var(--text-dim); }
table.spec a:hover { color: var(--gold-dark); }

/* ---- sitemap columns ---- */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.sitemap-grid h3 { font-size: 13px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--gold-dark); }
.sitemap-grid ul { margin-top: 14px; display: grid; gap: 10px; }
.sitemap-grid a { color: var(--text-dim); font-size: 15px; }
.sitemap-grid a:hover { color: var(--navy); }

/* ==========================================================================
   Footer
   ========================================================================== */
footer.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 52px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--text-faint); font-size: 14px; max-width: 34ch; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--text-dim); font-size: 14.5px; }
.footer-col a:hover { color: var(--gold-dark); }
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
}
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: var(--text-faint); }
.footer-legal a:hover { color: var(--gold-dark); }

/* ==========================================================================
   Cookie banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 100;
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 18px 50px rgba(20,20,15,0.18);
  transform: translateY(140%);
  transition: transform .35s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 13.5px; color: var(--text-dim); flex: 1; min-width: 220px; }
.cookie-banner .actions { display: flex; gap: 10px; }
.cookie-banner .btn { padding: 9px 16px; font-size: 13px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .grid-3, .card-grid { grid-template-columns: 1fr 1fr; }
  .cols-2, .cols-3, .cols-4, .cols-5 { grid-template-columns: repeat(2, 1fr) !important; }
  .chain { grid-template-columns: 1fr; }
  .chain-step::after { content: "↓"; right: auto; left: 26px; top: auto; bottom: -14px; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: none; }
  .sitemap-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-bar-wrap { background: none; border: none; }
  .nav-bar-wrap .wrap { padding: 0; }
  nav.primary-nav { position: fixed; inset: 84px 0 0 0; background: var(--bg); border-top: 1px solid var(--line); padding: 12px; overflow-y: auto; transform: translateX(100%); transition: transform .2s ease; z-index: 55; }
  nav.primary-nav.open { transform: translateX(0); }
  nav.primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  nav.primary-nav > ul > li { border-left: none; }
  nav.primary-nav > ul > li > a, nav.primary-nav > ul > li > button.nav-toggle { width: 100%; padding: 16px 10px; border-bottom: 1px solid var(--line); justify-content: space-between; font-size: 15px; background: none; color: var(--navy); }
  nav.primary-nav > ul > li.current > a { background: var(--gold-soft); color: var(--navy); }
  .dropdown { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; height: 0; overflow: hidden; padding: 0; border: none; }
  li.has-dropdown.open .dropdown { height: auto; padding: 4px 0 10px 14px; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .grid-3, .card-grid, .grid-4 { grid-template-columns: 1fr; }
  .cols-2, .cols-3, .cols-4, .cols-5 { grid-template-columns: 1fr !important; }
  .field-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .stat { border-left: none !important; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: none; }
  .brand img.mark { height: 52px; }
  .header-contact { display: none; }
  .lang-switch { font-size: 11.5px; }
  .lang-switch a { padding: 4px 7px; }
}
@media (max-width: 900px) and (min-width: 761px) {
  .header-contact { display: none; }
}
