/* =========================================================
   Sardar Neft — corporate design system
   Light, editorial, green brand signature. No dark page backgrounds;
   dark tones appear only as photo overlays for text legibility.
   ========================================================= */

:root {
  /* Brand */
  /* Green — from the Sardar Neft logo (#51AC9A). Darker shades carry text and buttons (WCAG AA). */
  --green-900: #0f4a3f;
  --green-800: #17665a;
  --green-700: #1f7a68;   /* buttons, links, eyebrows — 5.2:1 on white */
  --green-600: #2f9482;
  --green-500: #51ac9a;   /* logo green — large shapes and brand surfaces */
  --green-100: #dcefea;
  --green-50:  #eef7f5;

  /* Red — the accent "spark": primary CTAs, accent rules, active markers. Use sparingly. */
  --red:       #d62839;   /* 4.97:1 on white */
  --red-dark:  #b71c2b;
  --red-50:    #fdeff0;

  /* Neutrals */
  --ink:       #12201d;   /* headings */
  --text:      #3a4744;   /* body */
  --muted:     #63706c;
  --line:      #dde6e3;
  --line-soft: #ecf0ed;
  --paper:     #ffffff;
  --paper-2:   #f6f9f8;   /* off-white section */
  --paper-3:   #eef3f1;

  /* Accent (used sparingly — data & hairlines) */
  --amber: #b9852d;

  /* Type */
  --font-sans: "IBM Plex Sans", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --fs-display: clamp(2.6rem, 5.2vw, 4.75rem);
  --fs-h1: clamp(2.2rem, 4.2vw, 3.6rem);
  --fs-h2: clamp(1.75rem, 3vw, 2.6rem);
  --fs-h3: clamp(1.2rem, 1.6vw, 1.45rem);
  --fs-lead: clamp(1.08rem, 1.3vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;
  --fs-eyebrow: .75rem;

  /* Layout */
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 9vw, 136px);
  --radius: 2px;
  --header-h: 84px;

  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 500; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .6em; }
h1 { font-size: var(--fs-h1); font-weight: 400; letter-spacing: -.028em; }
h2 { font-size: var(--fs-h2); font-weight: 400; letter-spacing: -.024em; }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -.01em; }
h4 { font-size: 1rem; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
strong { color: var(--ink); font-weight: 600; }

:focus-visible { outline: 2px solid var(--green-600); outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--green-700); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 880px; }
.section { padding: var(--section) 0; }
.section--tint { background: var(--paper-2); }
.section--green { background: var(--green-50); }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section + .section--tint, .section--tint + .section { border-top: 0; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Eyebrow / metadata */
.eyebrow {
  font-family: var(--font-mono); font-size: var(--fs-eyebrow); font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-700);
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.eyebrow--plain::before { display: none; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink); font-weight: 300; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: var(--radius);
  font: 500 .9rem/1 var(--font-sans); letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn svg, .btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--green-700); color: #fff; }
.btn--primary:hover { background: var(--green-900); color: #fff; }
.btn--accent { background: var(--red); color: #fff; }
.btn--accent:hover { background: var(--red-dark); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--green-50); color: var(--green-900); }
.btn--ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: .92rem;
  letter-spacing: .03em; text-transform: uppercase; text-decoration: none; color: var(--green-700);
}
.link-arrow .arrow { transition: transform .25s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }
.link-arrow:hover { color: var(--red); }
.arrow { display: inline-block; width: 18px; height: 10px; flex: none; }

/* =========================================================
   Header
   ========================================================= */
.utility {
  background: var(--green-50); border-bottom: 1px solid var(--line-soft);
  font-size: .8rem; color: var(--muted);
}
.utility .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 20px; }
.utility a { color: var(--text); text-decoration: none; }
.utility a:hover { color: var(--green-700); }
.utility__contacts { display: flex; gap: 26px; }
.utility__contacts span { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); margin-right: 8px; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap, .utility .wrap { max-width: 1480px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); flex: none; }
.brand__logo { height: 42px; width: auto; }
.brand__tag { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-left: 16px; border-left: 1px solid var(--line); line-height: 1.4; }
@media (max-width: 1520px) { .brand__tag { display: none; } }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__name strong { font-size: 1.22rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.brand__name small { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green-700); margin-top: 6px; }

.nav { display: flex; align-items: center; height: 100%; }
.nav__list { display: flex; list-style: none; margin: 0; padding: 0; height: 100%; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 14px;
  font: 500 .78rem/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
  position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__item:hover > .nav__link::after,
.nav__item.is-open > .nav__link::after,
.nav__link[aria-current="page"]::after,
.nav__item.is-current > .nav__link::after { transform: scaleX(1); }
.nav__link .chev { width: 9px; height: 9px; transition: transform .25s var(--ease); opacity: .6; }
.nav__item.is-open .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 280px; background: #fff;
  border: 1px solid var(--line); border-top: 2px solid var(--red);
  box-shadow: 0 24px 48px -24px rgba(12, 44, 38, .25);
  padding: 14px 0; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.nav__item.is-open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.dropdown--wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; padding: 14px 8px; }
.dropdown--right { left: auto; right: 0; }
.dropdown a {
  display: block; padding: 9px 22px; font-size: .92rem; color: var(--text); text-decoration: none;
  border-left: 2px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.dropdown a:hover, .dropdown a:focus-visible { background: var(--green-50); color: var(--green-900); border-left-color: var(--green-700); }
.dropdown__label { grid-column: 1 / -1; padding: 4px 22px 10px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.header-cta { flex: none; }
.header-cta .btn { min-height: 44px; padding: 0 18px; font-size: .78rem; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px; border-radius: var(--radius);
}
.menu-toggle span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1520px) {
  .nav__link { padding: 0 10px; font-size: .74rem; letter-spacing: .05em; }
  .nav__link::after { left: 10px; right: 10px; }
  .site-header .wrap { gap: 16px; }
  .header-cta .btn { padding: 0 14px; }
}
@media (max-width: 1400px) {
  .nav__link { padding: 0 7px; font-size: .7rem; letter-spacing: .03em; }
  .nav__link::after { left: 7px; right: 7px; }
  .brand__name small { display: none; }
  .brand__name strong { font-size: 1.05rem; }
}
@media (max-width: 1260px) {
  :root { --header-h: 72px; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; height: auto; background: #fff;
    overflow-y: auto; display: block; padding: 8px var(--gutter) 120px;
    opacity: 0; transform: translateY(-8px); visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
    border-top: 1px solid var(--line);
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .nav__list { flex-direction: column; height: auto; }
  .nav__item { flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line); }
  .nav__link { height: 60px; justify-content: space-between; font-size: .9rem; padding: 0 2px; width: 100%; }
  .nav__link::after { display: none; }
  .dropdown, .dropdown--wide {
    position: static; min-width: 0; display: none; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 0 0 14px; grid-template-columns: 1fr;
  }
  .nav__item.is-open > .dropdown { display: block; }
  .dropdown a { padding: 10px 14px; border-left: 2px solid var(--line); }
  .dropdown__label { display: none; }
  .nav__mobile-cta { display: block !important; margin-top: 28px; }
  .nav__mobile-cta .btn { width: 100%; }
  .utility__contacts span { display: none; }
}
@media (max-width: 640px) {
  .utility { display: none; }
  .brand__logo { height: 34px; }
  .brand__name strong { font-size: 1.02rem; }
  .brand__name small { font-size: .56rem; }
}
.nav__mobile-cta { display: none; }
body.menu-open { overflow: hidden; }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  /* overlay on the photograph only — keeps text legible, page stays light */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 40, 34, .80) 0%, rgba(8, 40, 34, .58) 42%, rgba(8, 40, 34, .12) 72%, rgba(8, 40, 34, 0) 85%),
    linear-gradient(0deg, rgba(8, 40, 34, .45) 0%, rgba(8, 40, 34, 0) 50%);
}
.hero__inner { position: relative; z-index: 1; padding-top: 140px; padding-bottom: clamp(64px, 9vw, 120px); width: 100%; }
.hero__content { max-width: 820px; }
.hero .eyebrow { color: #cdeee6; }
.hero h1 { color: #fff; font-size: var(--fs-display); font-weight: 300; line-height: 1.04; letter-spacing: -.035em; margin-bottom: 26px; }
.hero h1 b { font-weight: 500; }
.hero p { font-size: var(--fs-lead); font-weight: 300; max-width: 620px; color: rgba(255,255,255,.92); margin-bottom: 38px; }
.hero__meta {
  position: absolute; right: var(--gutter); bottom: clamp(64px, 9vw, 120px); z-index: 1;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.75); text-align: right; line-height: 1.9;
}
@media (max-width: 900px) { .hero__meta { display: none; } }

/* Interior page hero — light, image on the right */
.page-hero { padding: clamp(40px, 5vw, 64px) 0 0; background: var(--paper); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.page-hero h1 { margin-bottom: 22px; }
.page-hero .lead { max-width: 560px; }
.page-hero__text { padding-bottom: clamp(32px, 5vw, 72px); }
.page-hero__media { position: relative; aspect-ratio: 4 / 3.1; overflow: hidden; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::before {
  content: ""; position: absolute; left: 0; top: 0; width: 38%; height: 6px; z-index: 1;
  background: linear-gradient(90deg, var(--green-500) 0 82%, var(--red) 82% 100%);
}
.page-hero--banner .page-hero__media { aspect-ratio: auto; }
@media (max-width: 860px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__text { padding-bottom: 0; }
  .page-hero__media { aspect-ratio: 16/10; }
}

.breadcrumb { margin: 0 0 28px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-700); }
.breadcrumb [aria-current] { color: var(--ink); }

/* =========================================================
   Layout blocks
   ========================================================= */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head h2 { margin: 0; max-width: 640px; }
.section-head p { margin: 0; max-width: 520px; }
.section-head--stack { grid-template-columns: 1fr; gap: 18px; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 18px; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 104px); align-items: center; }
.split--top { align-items: start; }
.split--wide-text { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split__media--land img { aspect-ratio: 4/3; }
.split__media .caption { position: absolute; left: 0; bottom: 0; background: #fff; padding: 16px 22px; max-width: 78%; font-size: .82rem; color: var(--muted); }
.split__media .caption b { display: block; font-family: var(--font-mono); font-weight: 500; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); margin-bottom: 4px; }
.offset-frame { position: relative; }
.offset-frame::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--green-500); z-index: -1; }
.offset-frame::after { content: ""; position: absolute; right: -34px; bottom: -34px; width: 12px; height: 12px; background: var(--red); border-radius: 50%; }
@media (max-width: 860px) {
  .split, .split--wide-text { grid-template-columns: 1fr; }
  .split__media img { aspect-ratio: 4/3; }
  .offset-frame::before { inset: 16px -12px -16px 12px; }
  .split--reverse-mobile .split__media { order: -1; }
}

/* Fact strip (only figures taken from the company's own content) */
.facts { border-bottom: 1px solid var(--line); background: #fff; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 40px 32px 38px 0; border-right: 1px solid var(--line); }
.fact + .fact { padding-left: 32px; }
.fact:last-child { border-right: 0; }
.fact__num:not(.fact__num--word)::after { content: "."; color: var(--red); }
.fact__num { display: block; font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 300; line-height: 1; color: var(--green-700); letter-spacing: -.03em; margin-bottom: 14px; }
.fact__num--word { font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 400; color: var(--ink); line-height: 1.15; }
.fact__label { font-size: .9rem; color: var(--muted); line-height: 1.45; display: block; max-width: 240px; }
@media (max-width: 900px) {
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 28px 20px 28px 0; border-bottom: 1px solid var(--line); }
  .fact:nth-child(2n) { border-right: 0; padding-left: 20px; }
  .fact:nth-child(2n+1) { padding-left: 0; }
  .fact:nth-last-child(-n+2) { border-bottom: 0; }
}

/* Numbered editorial list */
.numbered { list-style: none; margin: 0; padding: 0; counter-reset: n; border-top: 1px solid var(--line); }
.numbered > li {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px 40px;
  padding: 34px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.numbered__n { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .1em; color: var(--green-700); }
.numbered h3 { margin: 0; font-weight: 500; }
.numbered p { margin: 0; color: var(--text); }
.numbered a.row-link { text-decoration: none; color: inherit; display: contents; }
@media (max-width: 760px) {
  .numbered > li { grid-template-columns: 52px 1fr; }
  .numbered > li p { grid-column: 2; }
}

/* Cards / tiles */
.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1020px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.tile { background: #fff; border: 1px solid var(--line); padding: 34px 32px 32px; position: relative; display: flex; flex-direction: column; }
.tile::before { content: ""; position: absolute; top: -1px; left: -1px; width: 48px; height: 3px; background: var(--red); }
.tile h3 { margin-bottom: 12px; }
.tile p:last-child { margin-bottom: 0; }
.tile__n { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; color: var(--muted); margin-bottom: 26px; display: block; }
.tile--link { text-decoration: none; color: inherit; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.tile--link:hover { border-color: var(--green-600); color: inherit; }
.tile--link .link-arrow { margin-top: auto; padding-top: 18px; }
.section--tint .tile { background: #fff; }

/* Product cards */
.product-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); transition: border-color .25s var(--ease); }
.product-card:hover { border-color: var(--green-600); color: inherit; }
.product-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-3); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.product-card__cat { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); margin-bottom: 10px; }
.product-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.product-card p { font-size: .94rem; color: var(--muted); margin-bottom: 18px; }
.product-card .link-arrow { margin-top: auto; font-size: .8rem; }

/* Product index list (editorial) */
.product-index { border-top: 1px solid var(--line); }
.product-index a {
  display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1.6fr) 32px; gap: 24px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: padding .25s var(--ease), background .25s var(--ease);
}
.product-index a:hover .arrow { color: var(--red); }
.product-index a:hover { background: var(--green-50); padding-left: 14px; padding-right: 14px; color: var(--green-900); }
.product-index .n { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); }
.product-index .name { font-size: 1.2rem; font-weight: 500; letter-spacing: -.01em; }
.product-index .desc { font-size: .92rem; color: var(--muted); }
@media (max-width: 760px) {
  .product-index a { grid-template-columns: 40px 1fr 24px; }
  .product-index .desc { display: none; }
}

/* Process timeline */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 48px; position: relative; }
.process-scroll { padding-bottom: 8px; }
@media (max-width: 1020px) { .process { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .process { grid-template-columns: 1fr; row-gap: 0; }
  .process li { padding: 0 0 30px 34px; }
  .process li::before { top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; }
  .process li:last-child::before { bottom: auto; height: 12px; }
  .process li::after { top: 4px; }
}
.process li { position: relative; padding: 52px 22px 0 0; }
.process li::before { content: ""; position: absolute; top: 15px; left: 0; right: 0; height: 1px; background: var(--line); }
.process li::after { content: ""; position: absolute; top: 9px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 1.5px solid var(--green-700); }
.process li:first-child::after { background: var(--red); border-color: var(--red); }
.process li:last-child::after { background: var(--green-500); border-color: var(--green-500); }
.process__n { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; color: var(--green-700); display: block; margin-bottom: 10px; }
.process h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 8px; letter-spacing: 0; }
.process p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* Vertical process (interior pages) */
.vprocess { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); margin-left: 7px; }
.vprocess li { position: relative; padding: 0 0 44px 44px; }
.vprocess li:last-child { padding-bottom: 0; }
.vprocess li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 1.5px solid var(--green-700); }
.vprocess .process__n { margin-bottom: 6px; }
.vprocess h3 { margin-bottom: 8px; }
.vprocess p { margin: 0; max-width: 620px; }

/* Check list */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checklist li { padding: 15px 0 15px 34px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink); }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 14px; height: 7px; border-left: 1.5px solid var(--green-700); border-bottom: 1.5px solid var(--green-700); transform: rotate(-45deg); }
.checklist--2 { grid-template-columns: 1fr 1fr; column-gap: 40px; }
@media (max-width: 640px) { .checklist--2 { grid-template-columns: 1fr; } }

/* Statement / clarity block */
.statement { background: var(--green-50); border-left: 4px solid var(--green-700); padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px); }
.statement p { font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 300; line-height: 1.45; color: var(--ink); margin: 0; letter-spacing: -.01em; }
.statement p + p { margin-top: 14px; font-size: 1rem; font-weight: 400; color: var(--text); }

.pullquote { font-size: clamp(1.5rem, 2.8vw, 2.3rem); font-weight: 300; line-height: 1.3; color: var(--ink); letter-spacing: -.02em; margin: 0; max-width: 980px; }
.pullquote::before { content: ""; display: block; width: 56px; height: 2px; background: var(--green-700); margin-bottom: 28px; }

/* Full-bleed image band */
.band { position: relative; min-height: 460px; display: flex; align-items: center; overflow: hidden; }
.band__media { position: absolute; inset: 0; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__panel { position: relative; z-index: 1; background: #fff; padding: clamp(32px, 4vw, 56px); max-width: 560px; margin: 64px 0; box-shadow: 0 30px 60px -30px rgba(16,40,28,.35); }
.band__panel h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
@media (max-width: 640px) { .band { min-height: 0; flex-direction: column; } .band__media { position: relative; height: 260px; } .band__panel { margin: -40px var(--gutter) 0; } }

/* Dual CTA */
.dual { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: #fff; }
.dual__item { padding: clamp(36px, 5vw, 72px); display: flex; flex-direction: column; align-items: flex-start; }
.dual__item + .dual__item { border-left: 1px solid var(--line); background: var(--green-50); }
.dual__item:first-child { box-shadow: inset 0 3px 0 var(--red); }
.dual__item h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.dual__item p { max-width: 460px; }
.dual__item .btn { margin-top: auto; }
@media (max-width: 760px) { .dual { grid-template-columns: 1fr; } .dual__item + .dual__item { border-left: 0; border-top: 1px solid var(--line); } }

/* Spec / info table */
.info-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.info-table th, .info-table td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 38%; font-weight: 500; color: var(--muted); font-size: .82rem; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; padding-right: 24px; }
.info-table td { color: var(--ink); }

/* Definition list (company facts) */
.facts-dl { margin: 0; border-top: 1px solid var(--line); }
.facts-dl > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.facts-dl dt { font-weight: 500; color: var(--ink); }
.facts-dl dd { margin: 0; }
@media (max-width: 700px) { .facts-dl > div { grid-template-columns: 1fr; gap: 8px; } }

/* FAQ accordion */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 56px 26px 0; position: relative;
  font-size: 1.15rem; font-weight: 500; color: var(--ink); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: var(--green-700); transition: transform .25s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details[open] summary::before { background: var(--red); }
.faq summary:hover { color: var(--green-800); }
.faq__a { padding: 0 56px 28px 0; max-width: 820px; }
.faq__a p:last-child { margin-bottom: 0; }

/* Side nav (interior pages) */
.with-aside { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.aside-nav { position: sticky; top: calc(var(--header-h) + 32px); }
.aside-nav h2 { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.aside-nav ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.aside-nav a { display: block; padding: 8px 0 8px 18px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--text); font-size: .94rem; }
.aside-nav a:hover { color: var(--green-800); border-left-color: var(--line); }
.aside-nav a[aria-current="page"] { color: var(--green-800); border-left-color: var(--red); font-weight: 500; }
@media (max-width: 960px) { .with-aside { grid-template-columns: 1fr; } .aside-nav { position: static; order: 2; } }

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose > ul { margin: 0 0 1.4em; }
.content-block:not(:first-child) { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }

/* Notice */
.notice { border: 1px solid var(--line); background: var(--paper-2); padding: 22px 26px; font-size: .94rem; display: flex; gap: 16px; }
.notice::before { content: ""; width: 3px; background: var(--red); flex: none; }
.notice p { margin: 0; }

/* =========================================================
   Forms
   ========================================================= */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .82rem; font-weight: 500; color: var(--ink); letter-spacing: .02em; }
.field label .req { color: var(--green-700); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid #c9d2cc; border-radius: var(--radius); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(31,122,104,.18); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.field .hint { font-size: .8rem; color: var(--muted); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green-700); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; padding: 16px 20px; font-size: .95rem; display: none; border-left: 3px solid; }
.form-status.is-success { display: block; background: var(--green-50); border-color: var(--green-700); color: var(--green-900); }
.form-status.is-error { display: block; background: #fdf1f0; border-color: #b3261e; color: #8c1d18; }
.form button[disabled] { opacity: .6; cursor: wait; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.form-panel { background: #fff; border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); }

/* Contact cards */
.contact-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.contact-list li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 140px 1fr; gap: 16px; }
.contact-list .k { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.contact-list .v { color: var(--ink); font-size: 1.05rem; }
.contact-list .v a { color: var(--ink); text-decoration: none; }
.contact-list .v a:hover { color: var(--green-700); }
@media (max-width: 520px) { .contact-list li { grid-template-columns: 1fr; gap: 4px; } }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding-top: clamp(64px, 7vw, 104px); font-size: .93rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.footer-about p { max-width: 440px; color: var(--text); }
.footer-about .brand { margin-bottom: 26px; }
.newsletter h2 { font-size: 1.35rem; font-weight: 500; margin-bottom: 10px; }
.newsletter h2::after { content: "."; color: var(--red); }
.newsletter p { color: var(--muted); font-size: .92rem; }
.newsletter form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-top: 18px; }
.newsletter .field input { min-height: 50px; }
.newsletter .btn { min-height: 50px; }
.newsletter .check { grid-column: 1 / -1; font-size: .82rem; color: var(--muted); margin-top: 4px; }
.newsletter .form-status { grid-column: 1 / -1; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .newsletter form { grid-template-columns: 1fr; } }

.footer-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; padding: clamp(40px, 5vw, 64px) 0; }
.footer-nav h3 { font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); margin-bottom: 18px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 9px; }
.footer-nav a { color: var(--text); text-decoration: none; }
.footer-nav a:hover { color: var(--green-800); text-decoration: underline; }
.footer-nav address { font-style: normal; line-height: 1.8; }
@media (max-width: 1020px) { .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .footer-nav { grid-template-columns: 1fr 1fr; } }

.footer-bottom { border-top: 1px solid var(--line); padding: 26px 0 34px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: .82rem; color: var(--muted); }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 22px; margin: 0; padding: 0; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--green-700); }

/* =========================================================
   Floating WhatsApp (bottom-left; Tidio sits bottom-right)
   ========================================================= */
.wa-float {
  position: fixed; left: 20px; bottom: 20px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%; background: #1f9d55; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(10, 60, 30, .55); text-decoration: none;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.wa-float:hover, .wa-float:focus-visible { background: #17803f; color: #fff; transform: translateY(-2px); }
.wa-float img { width: 30px; height: 30px; }
.wa-float__tip {
  position: absolute; left: 70px; top: 50%; transform: translateY(-50%) translateX(-6px);
  background: #fff; color: var(--ink); border: 1px solid var(--line); font-size: .82rem; font-weight: 500;
  white-space: nowrap; padding: 8px 12px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  box-shadow: 0 10px 20px -12px rgba(0,0,0,.3);
}
.wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 640px) { .wa-float { left: 14px; bottom: 14px; width: 54px; height: 54px; } .wa-float__tip { display: none; } }
body.menu-open .wa-float { display: none; }

/* =========================================================
   404 / misc
   ========================================================= */
.center-page { min-height: 60vh; display: flex; align-items: center; }
.tag { display: inline-block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--line); color: var(--muted); margin: 0 6px 6px 0; text-decoration: none; }
a.tag:hover { border-color: var(--green-700); color: var(--green-800); }

/* Reveal on scroll (progressive enhancement) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Print — interior pages */
@media print {
  .utility, .site-header, .site-footer, .wa-float, #tidio-chat, .no-print { display: none !important; }
  body { font-size: 11pt; }
  a { color: inherit; text-decoration: none; }
}

/* Dropdown overview link (section landing page) */
.dropdown a.dropdown__overview { font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-soft); margin-bottom: 6px; padding-bottom: 12px; }
.dropdown--wide a.dropdown__overview { grid-column: 1 / -1; }
.dropdown--wide .dropdown__label + .dropdown__overview { display: none; }
@media (max-width: 1260px) { .dropdown--wide .dropdown__label + .dropdown__overview { display: block; } }

/* Numbered list inside a half-width column */
.split .numbered > li { grid-template-columns: 56px minmax(0, 1fr); }
.split .numbered > li p { grid-column: 2; }

/* =========================================================
   Announcement bar — red, full width, seamless right-to-left marquee
   Sits in normal page flow above the utility bar and header.
   ========================================================= */
.notice-bar {
  position: relative; z-index: 101; width: 100%; overflow: hidden;
  background: var(--red); color: #fff;
  height: 44px; display: flex; align-items: center;
}
.notice-bar__track {
  display: flex; flex: none; width: max-content; white-space: nowrap;
  animation: notice-marquee var(--notice-duration, 90s) linear infinite;
  will-change: transform; backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.notice-bar__item {
  flex: none; padding-right: 6rem;  /* plain spacing between repeats, no ornament */
  font: 600 .9rem/1 var(--font-sans); letter-spacing: .01em; color: #fff;
  -webkit-font-smoothing: antialiased;
}
.notice-bar__domain { color: #fff; text-decoration: none; pointer-events: none; }
/* Moves exactly two of the four copies (50%), so the end meets the start with no gap or jump */
@keyframes notice-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
/* Hold still while a reader points at it (or taps it on touch screens) */
.notice-bar:hover .notice-bar__track { animation-play-state: paused; }

@media (max-width: 640px) {
  .notice-bar { height: 38px; }
  .notice-bar__item { font-size: .8rem; padding-right: 4rem; }
}

/* Visitors who have turned on "reduce motion": show the notice once, static and fully readable */
@media (prefers-reduced-motion: reduce) {
  .notice-bar { height: auto; min-height: 44px; padding: 10px var(--gutter); justify-content: center; }
  .notice-bar__track { animation: none; transform: none; display: block; flex: 1 1 auto; min-width: 0; width: auto; white-space: normal; }
  .notice-bar__item { display: block; padding: 0; line-height: 1.45; text-align: center; white-space: normal; }
  .notice-bar__item[aria-hidden="true"] { display: none; }
}

@media print { .notice-bar { display: none !important; } }

/* Phones: keep the frame's red dot inside the page gutter (was causing sideways scroll) */
@media (max-width: 860px) {
  .offset-frame::after { right: -10px; bottom: -21px; width: 10px; height: 10px; }
}

/* =========================================================
   Site watermark — distributed "www.sardarneft.kz" text pattern
   Markup: build/templates.py → site_watermark(), injected into every <section> and the footer.
   Layering: each section becomes its own stacking context, so the watermark (z-index -1) sits
   ABOVE the section's background colour but BELOW its text, cards, images, buttons and forms.
   ========================================================= */
section, .site-footer { position: relative; isolation: isolate; }

.wm {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  pointer-events: none; user-select: none; -webkit-user-select: none;
}
.wm__t {
  --wm-size: 16px;      /* text size            */
  --wm-gap: 860px;      /* horizontal gap        */
  --wm-row: 470px;      /* vertical row spacing  */
  position: absolute; top: -460px; left: -30%; width: 160%;
  white-space: pre; text-align: left;
  font: 500 var(--wm-size) / var(--wm-row) var(--font-sans);
  letter-spacing: 1.5px; word-spacing: var(--wm-gap);
  color: #0f3a33; opacity: .11;
  transform: translate(var(--wm-x, 0), var(--wm-y, 0)) rotate(var(--wm-r, -7deg));
  transform-origin: 50% 0;
}
/* On photographs and deep-green areas the pattern is light instead of dark */
.hero > .wm, .band > .wm { z-index: 1; }              /* above the photo, below the text panel/headline */
.hero > .wm .wm__t, .band > .wm .wm__t, .sheet--green .wm__t { color: #fff; opacity: .13; }

/* Large desktop screens: same look, wider spacing so density matches 1440px screens */
@media (min-width: 1680px) {
  .wm__t { --wm-size: 17px; --wm-gap: 1080px; --wm-row: 590px; }
}
/* Tablet */
@media (max-width: 1100px) {
  .wm__t { --wm-size: 14px; --wm-gap: 600px; --wm-row: 465px; letter-spacing: 1.2px; }
}
/* Mobile */
@media (max-width: 640px) {
  .wm__t { --wm-size: 12px; --wm-gap: 360px; --wm-row: 350px; letter-spacing: 1px; opacity: .12; top: -260px; }
  .hero > .wm .wm__t, .band > .wm .wm__t, .sheet--green .wm__t { opacity: .14; }
}
/* The downloadable corporate-profile PDF and printouts stay clean */
@media print { .wm { display: none !important; } }
