/* Grow Group International — structural layer shared with the local site (reset, grid, forms, dialogs,
   tables, article layout). Colours, type and shapes are set in theme.css; do not restyle here. */

/* ---- from assets/css/base.css ---- */
/* ==========================================================================
   Grow Group Azerbaijan — base layer
   Tokens, reset, typography, layout primitives, buttons, form controls.
   Load order: fonts/fonts.css → base.css → components.css → pages.css
   ========================================================================== */

:root {
  /* --- Brand scales (TZ §9.2: every colour in nine tones) ------------------ */
  --green-50: #eff7f2;  --green-100: #d9ecdf; --green-200: #b3d9c0; --green-300: #85c09b;
  --green-400: #55a476; --green-500: #33885a; --green-600: #267a4a; --green-700: #1f6e3f;
  --green-800: #175231; --green-900: #0e3520; --green-950: #0a2417;

  --sage-50: #f5f8f2;   --sage-100: #e9f0e4;  --sage-200: #d6e2ce;  --sage-300: #bfd1b4;
  --sage-400: #a8c09a;  --sage-500: #8ba87b;  --sage-600: #6f8c60;  --sage-700: #58704c;
  --sage-800: #43563b;  --sage-900: #2f3c2a;

  --earth-50: #f7f4f0;  --earth-100: #ece6de; --earth-200: #d9cfc2; --earth-300: #c0b19e;
  --earth-400: #a3917b; --earth-500: #857461; --earth-600: #6f5f4e; --earth-700: #5c4d3d;
  --earth-800: #43382c; --earth-900: #2b241c;

  --sun-50: #fff9e5;    --sun-100: #fef0bf;   --sun-200: #fce38a;   --sun-300: #fad354;
  --sun-400: #f7c324;   --sun-500: #f4b400;   --sun-600: #cc9600;   --sun-700: #9e7400;
  --sun-800: #705200;   --sun-900: #453300;

  --orange-50: #fff1eb; --orange-100: #ffddcf; --orange-200: #ffbfa6; --orange-300: #ff9e7a;
  --orange-400: #ff8456; --orange-500: #ff6b35; --orange-600: #e8521b; --orange-700: #bf3f10;
  --orange-800: #8f2f0c; --orange-900: #5e1f08;

  --n-0: #ffffff;  --n-50: #f8f9f8;  --n-100: #f5f5f5; --n-200: #e8eae8; --n-300: #d5d9d6;
  --n-400: #a9b0ab; --n-500: #7c857f; --n-600: #5e6761; --n-700: #454d48; --n-800: #333333;
  --n-900: #1b211d;

  /* --- Roles ---------------------------------------------------------------- */
  --bg: var(--n-0);
  --surface: var(--n-100);
  --surface-green: var(--sage-50);
  --ink: var(--green-950);          /* headings */
  --text: var(--n-800);             /* body */
  --muted: var(--n-600);
  --line: var(--n-200);
  --line-strong: var(--n-300);
  --brand: var(--green-700);
  --brand-strong: var(--green-800);
  --accent: var(--orange-500);      /* calls to action */
  --accent-ink: #2a1206;            /* text on the orange */
  --highlight: var(--sun-500);

  --success: #1f8a4c; --success-bg: #e6f4ec;
  --warning: #9e7400; --warning-bg: #fef0bf;
  --error: #c2362c;   --error-bg: #fcebe9;
  --info: #1b62c4;    --info-bg: #e8f0fc;

  /* --- Type ----------------------------------------------------------------- */
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --fs-display: clamp(2.375rem, 1.35rem + 4.4vw, 4.5rem);   /* 38 → 72 */
  --fs-h1: clamp(2.125rem, 1.45rem + 2.9vw, 3.5rem);        /* 34 → 56 */
  --fs-h2: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem);         /* 28 → 44 */
  --fs-h3: clamp(1.3125rem, 1.15rem + 0.7vw, 1.75rem);      /* 21 → 28 */
  --fs-h4: 1.1875rem;
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* --- Space, shape, depth -------------------------------------------------- */
  --wrap: 1320px;
  --gutter: clamp(1.25rem, 0.6rem + 2.8vw, 3.5rem);
  --section: clamp(4rem, 2.4rem + 6.4vw, 8rem);
  --gap: clamp(1rem, 0.7rem + 1.2vw, 1.75rem);
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-pill: 999px;
  --shadow-pop: 0 18px 40px -12px rgb(10 36 23 / 0.22), 0 4px 10px -4px rgb(10 36 23 / 0.1);
  --shadow-bar: 0 6px 18px -10px rgb(10 36 23 / 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* --- Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); scrollbar-color: var(--green-300) var(--n-100); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--fs-body)/1.65 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; caret-color: var(--brand); }
img, svg, video, picture { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--green-700); color: #fff; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--sun-400); }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* --- Typography ------------------------------------------------------------- */
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; letter-spacing: -0.022em; text-wrap: balance; }
h1, .h1 { font-size: var(--fs-h1); line-height: 1.12; letter-spacing: -0.028em; }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.16; letter-spacing: -0.026em; }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.25; }
h4, .h4 { font-size: var(--fs-h4); line-height: 1.35; letter-spacing: -0.012em; }
.display { font-size: var(--fs-display); line-height: 1.06; letter-spacing: -0.032em; font-weight: 700; }
p { text-wrap: pretty; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--n-700); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.xs { font-size: var(--fs-xs); }
.num { font-variant-numeric: tabular-nums lining-nums; }
strong, b { font-weight: 700; color: var(--ink); }

.link { color: var(--brand); font-weight: 600; text-decoration: underline; text-decoration-color: var(--green-300); text-underline-offset: 0.22em; text-decoration-thickness: 1.5px; transition: text-decoration-color 0.2s, color 0.2s; }
.link:hover { color: var(--brand-strong); text-decoration-color: currentColor; }

/* long-form text (articles, legal, solution descriptions) */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--fs-h3); margin-top: 2.2em; }
.prose h3 { font-size: var(--fs-h4); margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--brand); }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 0.2em; }
.prose blockquote { font-size: var(--fs-lead); color: var(--ink); font-weight: 600; padding: 1.25rem 1.5rem; background: var(--surface-green); border-radius: var(--r-lg); }
.prose figure img { border-radius: var(--r-lg); width: 100%; }
.prose figcaption { font-size: var(--fs-sm); color: var(--muted); margin-top: 0.6rem; }

/* --- Layout primitives ------------------------------------------------------ */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(880px + 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.62); }
.section--flush-top { padding-top: 0; }
.section--surface { background: var(--surface); }
.section--green { background: var(--surface-green); }
.section--dark { background: var(--green-950); color: #d7e3db; }
.section--dark h2, .section--dark h3, .section--dark h4, .section--dark strong { color: #fff; }
.section--dark .lead { color: #c3d3c9; }
.section--dark .muted { color: #9db3a6; }

.grid { display: grid; gap: var(--gap); }
.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)); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split--wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.stack > * + * { margin-top: var(--stack, 1rem); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--cluster, 0.75rem); align-items: center; }
.between { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }
@media (max-width: 1023px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--even, .split--wide-left { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .grid--keep2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Demo notes and badges mark sample data. They show only while <html> carries data-demo
   (set by DEMO in _src/<site>/layout.mjs); without it every one of them is hidden. */
html:not([data-demo]) [data-demo-note] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: #fff; padding: 0.7rem 1rem; border-radius: var(--r-md); font-weight: 600; transition: top 0.2s; }
.skip:focus { top: 1rem; }

/* --- Icons ------------------------------------------------------------------ */
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.75em; height: 1.75em; stroke-width: 1.5; }

/* --- Buttons (TZ §9.4: primary, secondary, tertiary, ghost, icon) ----------- */
.btn { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 48px; padding: 0.7rem 1.45rem;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd); border-radius: var(--r-pill);
  font-weight: 700; font-size: 1rem; line-height: 1.2; letter-spacing: -0.005em; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.btn:hover { --btn-bg: var(--orange-400); transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgb(191 63 16 / 0.7); }
.btn:active { transform: translateY(0) scale(0.985); box-shadow: none; }
.btn .icon { transition: transform 0.3s var(--ease); }
.btn:hover .icon--go { transform: translate(2px, -2px); }
.btn--secondary { --btn-bg: var(--green-700); --btn-fg: #fff; }
.btn--secondary:hover { --btn-bg: var(--green-800); box-shadow: 0 10px 22px -12px rgb(14 53 32 / 0.8); }
.btn--tertiary { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--n-300); }
.btn--tertiary:hover { --btn-bg: var(--n-0); --btn-bd: var(--ink); box-shadow: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgb(255 255 255 / 0.55); }
.btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; box-shadow: none; }
.btn--sm { min-height: 40px; padding: 0.45rem 1.05rem; font-size: var(--fs-sm); }
.btn--lg { min-height: 56px; padding: 0.9rem 1.9rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--icon { width: 48px; padding: 0; }
.btn--icon.btn--sm { width: 40px; }
.btn[disabled], .btn[aria-disabled="true"] { --btn-bg: var(--n-200); --btn-fg: var(--n-500); --btn-bd: transparent; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.is-loading { position: relative; color: transparent; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 1.1em; height: 1.1em; border-radius: 50%; border: 2px solid var(--accent-ink); border-right-color: transparent; animation: spin 0.7s linear infinite; }
.btn--secondary.is-loading::after { border-color: #fff; border-right-color: transparent; }
@keyframes spin { to { transform: rotate(1turn); } }

/* a text action: used where a full button would be too loud */
.more { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; color: var(--brand); }
.more .icon { transition: transform 0.3s var(--ease); }
.more:hover { color: var(--brand-strong); }
.more:hover .icon { transform: translateX(4px); }
.section--dark .more, .on-dark .more { color: var(--green-300); }
.section--dark .more:hover, .on-dark .more:hover { color: #fff; }

/* --- Form controls (TZ §9.4) ------------------------------------------------ */
.field { display: grid; gap: 0.4rem; }
.field > label, .label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field .hint { font-size: var(--fs-xs); color: var(--muted); }
.field .err { font-size: var(--fs-xs); color: var(--error); font-weight: 600; display: none; }
.field.is-invalid .err { display: block; }
.req { color: var(--orange-700); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 0.7rem 0.95rem; background: var(--n-0); color: var(--ink);
  border: 1.5px solid var(--line-strong); border-radius: var(--r-md); transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; }
.textarea { min-height: 128px; resize: vertical; line-height: 1.55; }
.input::placeholder, .textarea::placeholder { color: var(--n-500); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--n-500); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--green-100); outline: none; }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--error); box-shadow: 0 0 0 4px var(--error-bg); }
.input:disabled, .select:disabled, .textarea:disabled { background: var(--n-100); color: var(--n-500); cursor: not-allowed; }
.select { appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2417' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 1.1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 639px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--fs-sm); line-height: 1.5; cursor: pointer; }
.check input { appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1.5px solid var(--n-400); border-radius: 6px; background: #fff; display: grid; place-content: center; transition: background-color 0.15s, border-color 0.15s; cursor: pointer; }
.check input[type="radio"] { border-radius: 50%; }
.check input::before { content: ""; width: 12px; height: 12px; transform: scale(0); transition: transform 0.15s var(--ease); background: #fff; clip-path: polygon(14% 52%, 0 67%, 40% 100%, 100% 22%, 86% 8%, 39% 70%); }
.check input[type="radio"]::before { clip-path: none; border-radius: 50%; width: 10px; height: 10px; }
.check input:checked { background: var(--brand); border-color: var(--brand); }
.check input:checked::before { transform: scale(1); }
.check input:hover { border-color: var(--brand); }
.check a { color: var(--brand); text-decoration: underline; text-underline-offset: 0.2em; }

.toggle { display: inline-flex; align-items: center; gap: 0.7rem; cursor: pointer; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.toggle input { appearance: none; width: 44px; height: 26px; border-radius: 999px; background: var(--n-300); position: relative; transition: background-color 0.2s; cursor: pointer; flex: none; margin: 0; }
.toggle input::before { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 0.3); transition: transform 0.25s var(--ease); }
.toggle input:checked { background: var(--brand); }
.toggle input:checked::before { transform: translateX(18px); }

.upload { display: grid; justify-items: center; gap: 0.5rem; padding: 1.6rem 1rem; text-align: center; border: 1.5px dashed var(--n-400); border-radius: var(--r-lg); background: var(--n-50); color: var(--muted); font-size: var(--fs-sm); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.upload:hover, .upload.is-over { border-color: var(--brand); background: var(--green-50); }
.upload strong { color: var(--brand); }
.upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.qty { display: inline-grid; grid-template-columns: 44px 56px 44px; align-items: stretch; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); overflow: hidden; background: #fff; }
.qty button { display: grid; place-items: center; color: var(--ink); transition: background-color 0.15s; min-height: 44px; }
.qty button:hover { background: var(--n-100); }
.qty input { width: 100%; border: 0; text-align: center; font-weight: 700; background: transparent; -moz-appearance: textfield; appearance: textfield; padding: 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { appearance: none; margin: 0; }

/* ---- from assets/css/components.css ---- */
/* ==========================================================================
   Grow Group Azerbaijan — shared components
   Top bar, header + mega menu, drawer, search, footer, cards, lists, tabs,
   accordion, tables, badges, notices, dialogs, sliders.
   ========================================================================== */

/* --- Top utility bar -------------------------------------------------------- */
.topbar { background: var(--green-950); color: #c9d8cf; font-size: var(--fs-xs); font-weight: 500; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 40px; }
.topbar ul { display: flex; align-items: center; gap: 1.4rem; }
.topbar a, .topbar .dd__btn { display: inline-flex; align-items: center; gap: 0.4rem; color: inherit; transition: color 0.2s; }
.topbar a:hover, .topbar .dd__btn:hover { color: #fff; }
.topbar .icon { width: 1.05em; height: 1.05em; color: var(--green-300); }
.topbar__login { color: #fff !important; font-weight: 700; }
@media (max-width: 1023px) { .topbar__contact li:nth-child(n + 2), .topbar__links .hide-md { display: none; } }
@media (max-width: 639px) { .topbar { display: none; } }

/* small dropdown (language, currency, sort) */
.dd { position: relative; }
.dd__btn { display: inline-flex; align-items: center; gap: 0.3rem; font: inherit; font-weight: 600; cursor: pointer; }
.dd__btn .icon { width: 0.95em; height: 0.95em; transition: transform 0.25s var(--ease); }
.dd__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.dd__menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 120; min-width: 168px; padding: 0.4rem; background: #fff; color: var(--ink); border-radius: var(--r-md); box-shadow: var(--shadow-pop);
  display: grid !important; gap: 2px !important; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.18s, transform 0.25s var(--ease), visibility 0.18s; }
.dd.is-open .dd__menu { opacity: 1; visibility: visible; transform: none; }
.dd__menu a, .dd__menu button { display: flex !important; justify-content: space-between; gap: 1rem; width: 100%; padding: 0.5rem 0.7rem; border-radius: 7px; color: var(--ink) !important; font-size: var(--fs-sm); font-weight: 600; text-align: left; }
.dd__menu a:hover, .dd__menu button:hover { background: var(--green-50); }
.dd__menu [aria-current="true"] { color: var(--brand) !important; }
.dd__menu .soon { color: var(--n-500) !important; font-weight: 500; }
.dd__menu .soon span { font-size: 0.6875rem; }

/* --- Header ----------------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s; }
.header.is-stuck { box-shadow: var(--shadow-bar); border-bottom-color: transparent; }
.header__in { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.5rem); min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 0.65rem; flex: none; color: var(--ink); }
.logo img, .logo svg { height: 40px; width: auto; }
.logo__text { font-weight: 800; font-size: 1.1875rem; letter-spacing: -0.03em; line-height: 1; }
.logo__text small { display: block; font-size: 0.625rem; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); margin-top: 4px; }
.logo .logo--light { display: none; }

.nav { margin-right: auto; }
.nav__list { display: flex; align-items: center; gap: 0.15rem; }
.nav__link { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 44px; padding: 0.5rem 0.8rem; border-radius: var(--r-pill); font-weight: 600; font-size: 0.96875rem; color: var(--ink); transition: background-color 0.2s, color 0.2s; }
.nav__link .icon { width: 0.95em; height: 0.95em; opacity: 0.6; transition: transform 0.25s var(--ease); }
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--green-50); color: var(--brand-strong); }
.nav__item.is-open > .nav__link .icon { transform: rotate(180deg); }
.nav__link[aria-current="page"], .nav__link.is-current { color: var(--brand); }

.header__actions { display: flex; align-items: center; gap: 0.35rem; margin-left: auto; }
.iconbtn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); transition: background-color 0.2s, color 0.2s; }
.iconbtn:hover { background: var(--green-50); color: var(--brand-strong); }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 0.6875rem; font-weight: 800; line-height: 18px; text-align: center; }
.header__cta { margin-left: 0.5rem; }
.header__burger { display: none; }

/* header laid over the home hero */
.header--over { position: fixed; left: 0; right: 0; top: 40px; background: transparent; border-bottom-color: rgb(255 255 255 / 0.16); }
.header--over:not(.is-stuck):not(.is-menu) .logo, .header--over:not(.is-stuck):not(.is-menu) .nav__link, .header--over:not(.is-stuck):not(.is-menu) .iconbtn { color: #fff; }
.header--over:not(.is-stuck):not(.is-menu) .nav__link:hover, .header--over:not(.is-stuck):not(.is-menu) .iconbtn:hover { background: rgb(255 255 255 / 0.14); color: #fff; }
.header--over:not(.is-stuck):not(.is-menu) .logo .logo--dark { display: none; }
.header--over:not(.is-stuck):not(.is-menu) .logo .logo--light { display: block; }
.header--over:not(.is-stuck):not(.is-menu) .logo__text small { color: rgb(255 255 255 / 0.7); }
.header--over.is-stuck, .header--over.is-menu { top: 0; background: #fff; }
.header--over.is-menu { border-bottom-color: var(--line); }
@media (max-width: 639px) { .header--over { top: 0; } }

.nav__link { white-space: nowrap; }
/* Russian labels are longer: tighten first, then fall back to the menu button earlier */
@media (max-width: 1499px) { html:lang(ru) .nav__link { padding-inline: 0.55rem; font-size: 0.9375rem; } html:lang(ru) .header__in { gap: 1rem; } }
@media (max-width: 1339px) { html:lang(ru) .nav { display: none; } html:lang(ru) .header__burger { display: grid; } html:lang(ru) .header__cta { display: none; } }
@media (max-width: 1179px) {
  .nav { display: none; }
  .header__burger { display: grid; }
  .header__cta { display: none; }
  :root { --header-h: 64px; }
}

/* --- Mega menu -------------------------------------------------------------- */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-pop); color: var(--text);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s, transform 0.3s var(--ease), visibility 0.2s; }
.nav__item.is-open > .mega { opacity: 1; visibility: visible; transform: none; }
.mega__in { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(1.5rem, 3vw, 3.5rem); padding-block: 2rem 2.25rem; }
.mega__in--plain { grid-template-columns: minmax(0, 1fr); }
.mega__title { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); margin-bottom: 0.9rem; }
.mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.25rem 1.25rem; }
.mega__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega__link { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0.85rem; align-items: start; padding: 0.7rem; border-radius: var(--r-md); transition: background-color 0.2s; }
.mega__link:hover { background: var(--green-50); }
.mega__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sage-100); color: var(--brand-strong); transition: background-color 0.2s, color 0.2s; }
.mega__link:hover .mega__ico { background: var(--brand); color: #fff; }
.mega__ico .icon { width: 22px; height: 22px; }
.mega__name { display: block; font-weight: 700; color: var(--ink); line-height: 1.3; }
.mega__desc { display: block; font-size: var(--fs-xs); color: var(--muted); line-height: 1.45; margin-top: 2px; }
.mega__thumb { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.mega__feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 250px; padding: 1.25rem; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate; }
.mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s var(--ease); }
.mega__feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 36 23 / 0) 30%, rgb(10 36 23 / 0.86) 100%); }
.mega__feature:hover img { transform: scale(1.04); }
.mega__feature strong { color: #fff; font-size: 1.125rem; line-height: 1.3; }
.mega__feature span { font-size: var(--fs-sm); color: #d7e3db; margin-top: 0.3rem; }
.mega__list { display: grid; gap: 0.15rem; }
.mega__list a { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0.7rem; border-radius: 8px; font-weight: 600; color: var(--ink); transition: background-color 0.2s, color 0.2s; }
.mega__list a:hover { background: var(--green-50); color: var(--brand-strong); }
.mega__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.mega__brands { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* --- Mobile drawer ---------------------------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 150; background: #fff; display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform 0.4s var(--ease), visibility 0.4s; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; min-height: 64px; padding-inline: var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; overflow-y: auto; padding: 0.5rem var(--gutter) 2rem; overscroll-behavior: contain; }
.drawer__nav > li { border-bottom: 1px solid var(--line); }
.drawer__nav summary, .drawer__nav > li > a { display: flex; justify-content: space-between; align-items: center; min-height: 56px; font-weight: 700; font-size: 1.125rem; color: var(--ink); cursor: pointer; list-style: none; }
.drawer__nav summary::-webkit-details-marker { display: none; }
.drawer__nav summary .icon { transition: transform 0.25s var(--ease); }
.drawer__nav details[open] summary .icon { transform: rotate(180deg); }
.drawer__sub { padding: 0 0 1rem; display: grid; gap: 0.1rem; }
.drawer__sub a { display: block; padding: 0.55rem 0; color: var(--n-700); font-weight: 500; }
.drawer__foot { padding: 1rem var(--gutter) 1.25rem; border-top: 1px solid var(--line); display: grid; gap: 0.9rem; background: var(--n-50); }
.drawer__langs { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.drawer__contact { display: grid; gap: 0.35rem; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
body.is-locked { overflow: hidden; }

/* --- Search overlay --------------------------------------------------------- */
.search { position: fixed; inset: 0; z-index: 160; background: rgb(10 36 23 / 0.55); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; }
.search.is-open { opacity: 1; visibility: visible; }
.search__panel { background: #fff; padding-block: 1.25rem 2rem; max-height: 100dvh; overflow-y: auto; transform: translateY(-16px); transition: transform 0.35s var(--ease); }
.search.is-open .search__panel { transform: none; }
.search__bar { display: flex; align-items: center; gap: 0.75rem; border-bottom: 2px solid var(--ink); padding-bottom: 0.6rem; }
.search__bar .icon { width: 26px; height: 26px; color: var(--brand); }
.search__input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: clamp(1.25rem, 1rem + 1.4vw, 2rem); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; padding: 0.5rem 0; }
.search__input::placeholder { color: var(--n-400); }
.search__input:focus { outline: none; }
.search__results { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem 2.5rem; margin-top: 1.75rem; }
.search__group h3 { font-size: var(--fs-xs); color: var(--muted); font-weight: 700; letter-spacing: 0; margin-bottom: 0.5rem; }
.search__group a { display: block; padding: 0.5rem 0.6rem; margin-inline: -0.6rem; border-radius: 8px; color: var(--ink); font-weight: 600; line-height: 1.35; }
.search__group a:hover, .search__group a:focus-visible { background: var(--green-50); }
.search__group a small { display: block; color: var(--muted); font-weight: 500; font-size: var(--fs-xs); }
.search__group mark { background: var(--sun-200); color: inherit; border-radius: 3px; padding: 0 1px; }
.search__empty { margin-top: 1.5rem; color: var(--muted); }
.search__hints { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; align-items: center; font-size: var(--fs-sm); color: var(--muted); }

/* --- Breadcrumb + inner page hero ------------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; font-size: var(--fs-sm); color: var(--muted); }
.crumbs a { color: var(--n-700); font-weight: 500; transition: color 0.2s; }
.crumbs a:hover { color: var(--brand); }
.crumbs .icon { width: 0.9em; height: 0.9em; opacity: 0.55; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

.phero { padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(2.5rem, 1.5rem + 4vw, 4.5rem); background: var(--surface-green); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: end; margin-top: clamp(1.75rem, 1rem + 3vw, 3.5rem); }
.phero__grid--solo { grid-template-columns: minmax(0, 1fr); }
.phero h1 { max-width: 18ch; }
.phero__grid--solo h1 { max-width: 24ch; }
.phero .lead { margin-top: 1.25rem; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.phero__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sage-200); }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__facts { display: flex; flex-wrap: wrap; gap: 0.5rem 2.25rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--sage-300); }
.phero__facts div { display: grid; }
.phero__facts dt { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.phero__facts dd { font-weight: 700; color: var(--ink); font-size: 1.125rem; }
@media (max-width: 899px) { .phero__grid { grid-template-columns: minmax(0, 1fr); } }

/* full-bleed photographic variant (projects, industries) */
.phero--photo { position: relative; isolation: isolate; background: var(--green-950); color: #e3ece6; padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); min-height: min(72vh, 640px); display: flex; flex-direction: column; }
.phero--photo > .wrap { display: flex; flex-direction: column; flex: 1; }
.phero--photo .phero__body { margin-top: auto; padding-top: 6rem; }
.phero--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.phero--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 36 23 / 0.5) 0%, rgb(10 36 23 / 0.18) 34%, rgb(10 36 23 / 0.88) 100%); }
.phero--photo h1 { color: #fff; max-width: 20ch; }
.phero--photo .lead { color: #dbe6df; }
.phero--photo .crumbs, .phero--photo .crumbs a { color: #c4d4ca; }
.phero--photo .crumbs [aria-current] { color: #fff; }
.phero--photo .phero__facts { border-top-color: rgb(255 255 255 / 0.25); }
.phero--photo .phero__facts dt { color: #b9cbc0; }
.phero--photo .phero__facts dd { color: #fff; }

/* --- Section heading -------------------------------------------------------- */
.shead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: end; margin-bottom: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); }
.shead h2 { max-width: 22ch; }
.shead p { margin-top: 0.9rem; }
.shead--center { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.shead--center h2 { max-width: 24ch; }
@media (max-width: 767px) { .shead { grid-template-columns: minmax(0, 1fr); } }

/* --- Media frame + cards ---------------------------------------------------- */
.frame { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--sage-200); }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.frame--43 { aspect-ratio: 4 / 3; } .frame--32 { aspect-ratio: 3 / 2; } .frame--169 { aspect-ratio: 16 / 9; }
.frame--11 { aspect-ratio: 1; } .frame--45 { aspect-ratio: 4 / 5; } .frame--219 { aspect-ratio: 21 / 9; }
a:hover > .frame img, .card:hover .frame img { transform: scale(1.035); }

.card { position: relative; display: flex; flex-direction: column; }
.card__body { padding-top: 1.1rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.25rem; line-height: 1.3; font-weight: 700; color: var(--ink); letter-spacing: -0.018em; }
.card__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 0.4s var(--ease), color 0.2s; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card:hover .card__title a { background-size: 100% 1.5px; color: var(--brand-strong); }
.card__text { margin-top: 0.5rem; color: var(--n-700); font-size: var(--fs-sm); line-height: 1.6; }
.card__meta { display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; font-size: var(--fs-xs); color: var(--muted); font-weight: 600; margin-bottom: 0.45rem; }
.card__meta time { color: var(--n-700); }
.card__foot { margin-top: auto; padding-top: 1rem; }
.card__tag { position: absolute; top: 0.8rem; left: 0.8rem; z-index: 1; }

/* project card: facts sit in a compact definition row under the title */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 0.2rem 1.6rem; margin-top: 0.8rem; }
.facts div { display: grid; }
.facts dt { font-size: 0.75rem; color: var(--muted); font-weight: 600; }
.facts dd { font-size: var(--fs-sm); color: var(--ink); font-weight: 700; white-space: nowrap; }
.card--lead .facts { grid-template-columns: repeat(4, minmax(0, auto)); }
@media (max-width: 479px) { .facts, .card--lead .facts { grid-template-columns: repeat(2, minmax(0, auto)); } }

/* photo tile with the title on the image (industries, categories) */
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; padding: 1.25rem; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate; background: var(--green-900); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.9s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 36 23 / 0) 38%, rgb(10 36 23 / 0.84) 100%); transition: opacity 0.4s; }
.tile:hover img { transform: scale(1.04); }
.tile__title { font-size: 1.375rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: #fff; }
.tile__sub { font-size: var(--fs-sm); color: #d9e5dd; margin-top: 0.25rem; }
.tile__stat { display: inline-flex; align-items: baseline; gap: 0.35rem; margin-top: 0.75rem; font-size: var(--fs-xs); color: #d9e5dd; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.4s var(--ease), opacity 0.3s; }
.tile__stat b { color: var(--sun-300); font-size: 1.125rem; font-weight: 800; }
.tile:hover .tile__stat, .tile:focus-visible .tile__stat { max-height: 3rem; opacity: 1; }
@media (hover: none) { .tile__stat { max-height: 3rem; opacity: 1; } }

/* --- Badges, chips ---------------------------------------------------------- */
.badge { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.22rem 0.6rem; border-radius: var(--r-pill); background: var(--sage-100); color: var(--green-800); font-size: 0.75rem; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.badge--solid { background: var(--green-700); color: #fff; }
.badge--sun { background: var(--sun-100); color: var(--sun-800); }
.badge--orange { background: var(--orange-100); color: var(--orange-800); }
.badge--white { background: #fff; color: var(--ink); }
.badge--line { background: transparent; border: 1px solid var(--line-strong); color: var(--n-700); }
.badge--ok { background: var(--success-bg); color: var(--success); }
.badge--warn { background: var(--warning-bg); color: var(--warning); }
.badge--err { background: var(--error-bg); color: var(--error); }
.badge--info { background: var(--info-bg); color: var(--info); }

.chip { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 40px; padding: 0.4rem 0.95rem; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); font-size: var(--fs-sm); font-weight: 600; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* --- Tabs ------------------------------------------------------------------- */
.tabs__list { display: flex; gap: 0.25rem; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab { position: relative; padding: 0.9rem 1.1rem; font-weight: 700; color: var(--muted); white-space: nowrap; transition: color 0.2s; }
.tabs__tab::after { content: ""; position: absolute; left: 1.1rem; right: 1.1rem; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand); transform: scaleX(0); transition: transform 0.35s var(--ease); }
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { color: var(--ink); }
.tabs__tab[aria-selected="true"]::after { transform: scaleX(1); }
.tabs__panel { padding-top: 2rem; }

/* --- Accordion (native details) --------------------------------------------- */
.acc { border-top: 1px solid var(--line-strong); }
.acc details { border-bottom: 1px solid var(--line-strong); }
.acc summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.25rem 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.125rem; color: var(--ink); line-height: 1.35; transition: color 0.2s; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--brand-strong); }
.acc summary .icon { flex: none; width: 22px; height: 22px; padding: 2px; border-radius: 50%; transition: transform 0.35s var(--ease), background-color 0.2s, color 0.2s; }
.acc details[open] summary .icon { transform: rotate(45deg); background: var(--brand); color: #fff; }
.acc__body { padding: 0 0 1.5rem; max-width: 68ch; color: var(--n-700); }
.acc__body > * + * { margin-top: 0.8em; }

/* --- Tables ----------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
.table th, .table td { padding: 0.85rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table thead th { background: var(--n-50); color: var(--muted); font-weight: 700; font-size: var(--fs-xs); white-space: nowrap; }
.table tbody th { font-weight: 600; color: var(--n-700); width: 38%; }
.table td { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.table--zebra tbody tr:nth-child(even) { background: var(--n-50); }
.table .yes { color: var(--success); } .table .no { color: var(--n-400); }

/* --- Pagination ------------------------------------------------------------- */
.pager { display: flex; justify-content: center; align-items: center; gap: 0.35rem; margin-top: clamp(2rem, 4vw, 3.5rem); }
.pager a, .pager span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 0.5rem; border-radius: var(--r-pill); font-weight: 700; color: var(--ink); transition: background-color 0.2s; }
.pager a:hover { background: var(--green-50); }
.pager [aria-current="page"] { background: var(--ink); color: #fff; }
.pager .gap { color: var(--muted); }

/* --- Alerts, toast, modal, banner ------------------------------------------- */
.alert { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.8rem; padding: 0.95rem 1.1rem; border-radius: var(--r-md); background: var(--info-bg); color: #123f80; font-size: var(--fs-sm); line-height: 1.55; }
.alert .icon { margin-top: 0.15rem; }
.alert strong { color: inherit; }
.alert--ok { background: var(--success-bg); color: #14592f; }
.alert--warn { background: var(--warning-bg); color: var(--sun-900); }
.alert--err { background: var(--error-bg); color: #8a231b; }

.toasts { position: fixed; z-index: 180; right: 1.25rem; bottom: 1.25rem; display: grid; gap: 0.5rem; max-width: min(380px, calc(100vw - 2.5rem)); }
.toast { display: flex; gap: 0.75rem; align-items: center; padding: 0.85rem 1rem; border-radius: var(--r-md); background: var(--ink); color: #fff; font-size: var(--fs-sm); font-weight: 600; box-shadow: var(--shadow-pop); animation: toast-in 0.45s var(--ease); }
.toast .icon { color: var(--green-300); }
.toast a { color: var(--sun-300); text-decoration: underline; text-underline-offset: 0.2em; margin-left: auto; white-space: nowrap; }
.toast.is-leaving { opacity: 0; transform: translateY(8px); transition: opacity 0.3s, transform 0.3s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } }

.modal { position: fixed; inset: 0; z-index: 170; display: grid; place-items: center; padding: 1.25rem; background: rgb(10 36 23 / 0.6); opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { width: min(100%, 560px); max-height: calc(100dvh - 2.5rem); overflow-y: auto; background: #fff; border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); box-shadow: var(--shadow-pop); transform: translateY(12px) scale(0.98); transition: transform 0.35s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__box--wide { width: min(100%, 980px); padding: 0; background: #000; }
.modal__head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: 1rem; }

/* a slim bar along the bottom edge, so it never sits on the hero copy */
.cookie { position: fixed; z-index: 140; left: 50%; bottom: 1rem; width: min(1040px, calc(100vw - 2rem)); padding: 1rem 1.25rem; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-pop); font-size: var(--fs-sm); line-height: 1.5;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.75rem 2rem; align-items: center; transform: translate(-50%, calc(100% + 2rem)); visibility: hidden; transition: transform 0.5s var(--ease), visibility 0.5s; }
.cookie.is-open { transform: translate(-50%, 0); visibility: visible; }
.cookie h2 { font-size: 1rem; letter-spacing: -0.01em; margin-bottom: 0.15rem; }
.cookie p { color: var(--n-700); }
.cookie__opts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; padding-top: 0.85rem; border-top: 1px solid var(--line); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
@media (max-width: 859px) { .cookie { grid-template-columns: minmax(0, 1fr); } .cookie__actions .btn { flex: 1 1 auto; } }
@media (max-width: 1199px) { body:has(.cookie.is-open) .wa { opacity: 0; pointer-events: none; } }

/* --- Slider (scroll-snap, buttons enhance it) ------------------------------- */
.slider { position: relative; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: var(--slide, 100%); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { scroll-snap-align: start; }
.slider__nav { display: flex; gap: 0.5rem; }
.slider__btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-strong); color: var(--ink); background: #fff; transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.25s var(--ease); }
.slider__btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.slider__btn:active:not(:disabled) { transform: scale(0.94); }
.slider__btn:disabled { opacity: 0.35; cursor: default; }
.section--dark .slider__btn { background: transparent; border-color: rgb(255 255 255 / 0.35); color: #fff; }
.section--dark .slider__btn:hover:not(:disabled) { background: #fff; border-color: #fff; color: var(--ink); }

/* --- Logo marquee ----------------------------------------------------------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; animation: marquee var(--marquee, 48s) linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__item { flex: none; display: grid; place-items: center; height: 56px; }
.marquee__item img { max-height: 44px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) contrast(0.9); opacity: 0.72; transition: filter 0.3s, opacity 0.3s; }
.marquee__item:hover img { filter: none; opacity: 1; }
.marquee__item span { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--n-500); transition: color 0.3s; white-space: nowrap; }
.marquee__item:hover span { color: var(--ink); }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--marquee-gap, 0px))); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .marquee__track > [aria-hidden="true"] { display: none; } }

/* --- Call-to-action band + lead form ---------------------------------------- */
.cta { position: relative; isolation: isolate; background: var(--green-900); color: #dbe7df; overflow: hidden; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); }
.cta h2 { color: #fff; font-size: var(--fs-h1); max-width: 16ch; }
.cta .lead { color: #c7d7cd; margin-top: 1.1rem; }
.cta__points { display: grid; gap: 0.7rem; margin-top: 2rem; font-weight: 600; color: #fff; }
.cta__points li { display: flex; gap: 0.7rem; align-items: center; }
.cta__points .icon { color: var(--sun-400); }
.cta__form { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: clamp(1.4rem, 1rem + 1.8vw, 2.25rem); }
.cta__form h3 { font-size: 1.375rem; margin-bottom: 1.1rem; }
.cta__roof { position: absolute; left: 0; right: 0; top: 0; height: 34px; z-index: -1; color: var(--bg); }
.cta__roof { width: 100%; height: clamp(12px, 1.5vw, 22px); }
.cta--on-surface .cta__roof { color: var(--surface); }
.cta--on-green .cta__roof { color: var(--surface-green); }
@media (max-width: 899px) { .cta__grid { grid-template-columns: minmax(0, 1fr); } }

.form-done { display: none; text-align: center; padding: 1.5rem 0; }
.form-done .icon { width: 52px; height: 52px; color: var(--success); margin: 0 auto 0.8rem; }
form.is-sent > *:not(.form-done) { display: none; }
form.is-sent > .form-done { display: block; }

/* --- Footer ----------------------------------------------------------------- */
.footer { background: var(--green-950); color: #b9cbc0; font-size: var(--fs-sm); }
.footer a { transition: color 0.2s; }
.footer a:hover { color: #fff; }
.footer__news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: center; padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); border-bottom: 1px solid rgb(255 255 255 / 0.12); }
.footer__news h2 { color: #fff; font-size: var(--fs-h3); max-width: 20ch; }
.footer__sub { display: flex; gap: 0.5rem; }
.footer__sub .input { background: rgb(255 255 255 / 0.07); border-color: rgb(255 255 255 / 0.22); color: #fff; border-radius: var(--r-pill); padding-inline: 1.25rem; }
.footer__sub .input::placeholder { color: #9db3a6; }
.footer__sub .input:focus { border-color: var(--green-300); box-shadow: 0 0 0 4px rgb(133 192 155 / 0.2); }
.footer__cols { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 2.5rem 2rem; padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.footer__brand p { margin-top: 1.1rem; max-width: 34ch; line-height: 1.6; }
.footer__brand .logo { color: #fff; }
.footer__brand .logo__text small { color: #9db3a6; }
.footer h3 { color: #fff; font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0; margin-bottom: 1rem; }
.footer__list { display: grid; gap: 0.55rem; }
.footer__contact { display: grid; gap: 0.6rem; margin-top: 1.4rem; }
.footer__contact a, .footer__contact span { display: flex; gap: 0.6rem; align-items: flex-start; color: #dbe7df; }
.footer__contact .icon { color: var(--green-300); margin-top: 0.15rem; }
.footer__social { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / 0.08); color: #fff; transition: background-color 0.2s, transform 0.25s var(--ease); }
.footer__social a:hover { background: var(--green-600); transform: translateY(-2px); }
.footer__marks { display: flex; flex-wrap: wrap; gap: 0.5rem 0.6rem; align-items: center; padding-block: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.12); }
.footer__marks .badge { background: rgb(255 255 255 / 0.08); color: #dbe7df; font-weight: 600; padding: 0.35rem 0.75rem; }
.footer__marks > span:first-child { color: #9db3a6; margin-right: 0.5rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 1.4rem 1.8rem; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: var(--fs-xs); color: #9db3a6; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .footer__bottom { padding-right: 4.75rem; } }
@media (max-width: 1023px) { .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } .footer__news { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 519px) { .footer__sub { flex-direction: column; } .footer__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 1.25rem; } }

/* floating WhatsApp contact */
.wa { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #1fa855; color: #fff; box-shadow: 0 10px 24px -8px rgb(10 36 23 / 0.5); transition: transform 0.3s var(--ease); }
.wa:hover { transform: translateY(-3px) scale(1.04); }
.wa .icon { width: 28px; height: 28px; }

/* ---- from assets/css/pages.css ---- */
/* ==========================================================================
   Grow Group Azerbaijan — page sections
   Part 1: home page.  Part 2 (below): inner pages.
   ========================================================================== */

/* --- Home hero -------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: max(640px, min(100svh, 1000px)); background: var(--green-950); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgb(10 36 23 / 0.62) 0%, rgb(10 36 23 / 0.12) 26%, rgb(10 36 23 / 0.1) 46%, rgb(10 36 23 / 0.9) 100%),
  linear-gradient(90deg, rgb(10 36 23 / 0.78) 0%, rgb(10 36 23 / 0.46) 36%, rgb(10 36 23 / 0) 68%); }
.hero__in { padding-block: 11rem clamp(4.5rem, 3rem + 6vh, 7.5rem); }
.hero__title { color: #fff; max-width: 15ch; }
.hero__sub { margin-top: 1.4rem; max-width: 50ch; font-size: var(--fs-lead); line-height: 1.55; color: #e4ede7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: clamp(4.5rem, 3rem + 6vh, 7.5rem); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / 0.45); color: #fff; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.hero__scroll:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero__scroll .icon { animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }
@media (max-width: 767px) { .hero__scroll { display: none; } .hero__actions .btn { flex: 1 1 100%; } }

/* load moment: six "glass panes" lift off the photograph, then the copy rises */
.hero__panes { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: repeat(6, 1fr); pointer-events: none; }
.hero__panes span { background: var(--green-950); transform-origin: top; animation: pane 1.15s var(--ease) both; }
.hero__panes span:nth-child(1) { animation-delay: 0.05s; } .hero__panes span:nth-child(2) { animation-delay: 0.12s; }
.hero__panes span:nth-child(3) { animation-delay: 0.19s; } .hero__panes span:nth-child(4) { animation-delay: 0.26s; }
.hero__panes span:nth-child(5) { animation-delay: 0.33s; } .hero__panes span:nth-child(6) { animation-delay: 0.4s; }
@keyframes pane { from { transform: scaleY(1); } to { transform: scaleY(0); } }
.hero__media img { animation: settle 2.2s var(--ease) both; }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__title, .hero__sub, .hero__actions { animation: rise 0.9s var(--ease) both; }
.hero__title { animation-delay: 0.55s; } .hero__sub { animation-delay: 0.68s; } .hero__actions { animation-delay: 0.8s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__panes { display: none; } }

/* --- Statement with live numbers + partner logos ---------------------------- */
.statement__text { font-size: clamp(1.625rem, 1.05rem + 2.6vw, 3.125rem); line-height: 1.24; font-weight: 500; letter-spacing: -0.028em; color: var(--ink); max-width: 26ch; text-wrap: balance; }
.statement__text b { font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.statement__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: end; }
.statement__side { display: grid; gap: 1.25rem; padding-bottom: 0.5rem; }
.statement__side p { color: var(--n-700); max-width: 38ch; }
.partners { margin-top: clamp(3rem, 2rem + 4vw, 5.5rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.partners__label { font-size: var(--fs-sm); color: var(--muted); font-weight: 600; margin-bottom: 1.5rem; }
@media (max-width: 899px) { .statement__grid { grid-template-columns: minmax(0, 1fr); } .statement__text { max-width: none; } }

/* --- Greenhouse cross-section (the nine solutions) -------------------------- */
.xsec__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
.xsec__draw { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border-radius: var(--r-lg); padding: clamp(0.75rem, 0.4rem + 1.4vw, 1.75rem); }
.xsec__draw svg { width: 100%; height: auto; overflow: visible; }
.xsec__caption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); min-height: 2.6em; }
.xsec__caption b { color: var(--brand-strong); font-weight: 700; }
.xsec__list { border-top: 1px solid var(--sage-300); }
.xsec__row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 1rem; align-items: center; padding: 0.95rem 0.75rem 0.95rem 0.5rem; border-bottom: 1px solid var(--sage-300); border-radius: 0; transition: background-color 0.25s, padding 0.3s var(--ease); }
.xsec__row .xsec__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--brand-strong); transition: background-color 0.25s, color 0.25s; }
.xsec__name { display: block; font-weight: 700; font-size: 1.125rem; color: var(--ink); line-height: 1.3; letter-spacing: -0.015em; }
.xsec__desc { display: block; font-size: var(--fs-sm); color: var(--n-700); line-height: 1.45; margin-top: 0.1rem; }
.xsec__row > .icon { color: var(--n-400); transition: transform 0.3s var(--ease), color 0.25s; }
.xsec__row:hover, .xsec__row.is-active { background: #fff; }
.xsec__row:hover .xsec__ico, .xsec__row.is-active .xsec__ico { background: var(--brand); color: #fff; }
.xsec__row:hover > .icon, .xsec__row.is-active > .icon { transform: translateX(4px); color: var(--brand); }
@media (max-width: 1023px) { .xsec__grid { grid-template-columns: minmax(0, 1fr); } .xsec__draw { position: static; } }

/* the drawing itself: thin ink linework; the active system picks up colour */
.gh { --gh-ink: #2c4638; --gh-soft: #9fb3a6; --gh-hi: var(--green-700); }
.gh * { vector-effect: non-scaling-stroke; }
.gh [data-part] { stroke: var(--gh-ink); stroke-width: 1.2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s, opacity 0.3s, fill 0.3s; }
.gh .gh-fill { fill: var(--sage-100); }
.gh .gh-ground { stroke: var(--gh-ink); stroke-width: 1.4; fill: none; }
.gh .gh-soil { fill: var(--earth-100); stroke: none; }
.gh .gh-dim { stroke: var(--gh-soft); stroke-width: 1; fill: none; }
.gh text { font: 600 11px var(--font); fill: var(--n-600); stroke: none; }
.gh .gh-only { opacity: 0; transition: opacity 0.35s; }
.gh .gh-leaf { stroke: var(--green-500); }
.gh .gh-fruit { fill: var(--orange-500); stroke: none; }
.gh[data-active] [data-part] { opacity: 0.22; }
.gh[data-active="construction"] [data-part~="construction"], .gh[data-active="climate"] [data-part~="climate"], .gh[data-active="irrigation"] [data-part~="irrigation"],
.gh[data-active="heating"] [data-part~="heating"], .gh[data-active="lighting"] [data-part~="lighting"], .gh[data-active="substrate"] [data-part~="substrate"],
.gh[data-active="energy"] [data-part~="energy"], .gh[data-active="protection"] [data-part~="protection"], .gh[data-active="turnkey"] [data-part] { opacity: 1; stroke: var(--gh-hi); stroke-width: 1.7; }
.gh[data-active="construction"] [data-part~="construction"] .gh-only, .gh[data-active="climate"] [data-part~="climate"] .gh-only, .gh[data-active="irrigation"] [data-part~="irrigation"] .gh-only,
.gh[data-active="heating"] [data-part~="heating"] .gh-only, .gh[data-active="lighting"] [data-part~="lighting"] .gh-only, .gh[data-active="substrate"] [data-part~="substrate"] .gh-only,
.gh[data-active="energy"] [data-part~="energy"] .gh-only, .gh[data-active="protection"] [data-part~="protection"] .gh-only { opacity: 1; }
.gh[data-active="lighting"] .gh-cone { fill: var(--sun-300); fill-opacity: 0.4; stroke: none; }
.gh[data-active="heating"] .gh-hot { fill: var(--orange-400); }
.gh[data-active="irrigation"] .gh-wet { fill: var(--info); stroke: var(--info); }
.gh[data-active="energy"] .gh-pv { fill: var(--sun-300); }
.gh[data-active="protection"] .gh-trap { fill: var(--sun-400); }
.gh[data-active="substrate"] .gh-slab { fill: var(--earth-300); }
.gh .gh-hit { fill: transparent; stroke: none; pointer-events: all; }
.gh a { cursor: pointer; }
.gh a:focus-visible { outline: none; }
.gh a:focus-visible [data-part] { stroke: var(--gh-hi); stroke-width: 2; }

/* --- Flagship project band -------------------------------------------------- */
.flag__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(1.75rem, 1rem + 3vw, 4rem); align-items: stretch; }
.flag__media { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; background: var(--green-900); }
.flag__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flag__play { position: absolute; left: 1.25rem; bottom: 1.25rem; display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.5rem 1.2rem 0.5rem 0.5rem; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.94); color: var(--ink); font-weight: 700; font-size: var(--fs-sm); transition: transform 0.3s var(--ease), background-color 0.2s; }
.flag__play span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.flag__play .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; margin-left: 2px; }
.flag__play:hover { transform: translateY(-2px); background: #fff; }
.flag__body { display: flex; flex-direction: column; }
.flag__body h2 { font-size: var(--fs-h2); }
.flag__body > p { margin-top: 1rem; color: #c3d3c9; }
.kpis { margin-top: auto; padding-top: 2rem; display: grid; }
.kpis div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.9rem 0; border-top: 1px solid rgb(255 255 255 / 0.16); }
.kpis dt { font-size: var(--fs-sm); color: #b9cbc0; }
.kpis dd { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpis dd small { font-size: var(--fs-sm); font-weight: 600; color: var(--green-300); margin-left: 0.2rem; }
.flag__more { margin-top: 1.5rem; }
.flag__strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--gap); }
.flag__strip .frame { aspect-ratio: 3 / 2; background: var(--green-900); }
@media (max-width: 1023px) { .flag__grid { grid-template-columns: minmax(0, 1fr); } .flag__media { min-height: 0; aspect-ratio: 16 / 10; } }
@media (max-width: 639px) { .flag__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --- Industries mosaic ------------------------------------------------------ */
.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 17vw, 270px); gap: var(--gap); }
.mosaic .tile { min-height: 0; }
.mosaic .tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic .tile:nth-child(2), .mosaic .tile:nth-child(3), .mosaic .tile:nth-child(4) { grid-column: span 2; }
.mosaic .tile:nth-child(1) .tile__title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); }
@media (max-width: 1023px) { .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; } .mosaic .tile:nth-child(n) { grid-column: auto; grid-row: auto; } .mosaic .tile:nth-child(1) { grid-column: 1 / -1; } }
@media (max-width: 519px) { .mosaic { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 190px; } }

/* --- Why us ----------------------------------------------------------------- */
.why__list { border-top: 1px solid var(--line-strong); }
.why__item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line-strong); }
.why__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sage-100); color: var(--brand-strong); }
.why__ico .icon { width: 24px; height: 24px; }
.why__item h3 { font-size: 1.25rem; }
.why__item p { margin-top: 0.35rem; color: var(--n-700); max-width: 52ch; }
.why__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.why__aside .frame { margin-top: 2rem; aspect-ratio: 5 / 4; }
@media (max-width: 1023px) { .why__aside { position: static; } }

/* --- Journal layout (latest projects) --------------------------------------- */
.journal { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 1rem + 2.5vw, 3rem); }
.journal__side { display: grid; gap: clamp(1.5rem, 1rem + 2.5vw, 2.5rem); align-content: start; }
.journal .card--lead .frame { aspect-ratio: 16 / 11; }
.journal .card--lead .card__title { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); }
.card--row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1.25rem; align-items: start; }
.card--row .card__body { padding-top: 0; }
.card--row .frame { aspect-ratio: 4 / 3; }
@media (max-width: 899px) { .journal { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 519px) { .card--row { grid-template-columns: minmax(0, 1fr); } .card--row .card__body { padding-top: 1rem; } }

/* --- Knowledge rows --------------------------------------------------------- */
.know { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.75rem, 1rem + 3vw, 4rem); align-items: start; }
.rows { border-top: 1px solid var(--line-strong); }
.rows__item { position: relative; display: grid; grid-template-columns: 124px minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; padding: 1.2rem 0.75rem 1.2rem 0; border-bottom: 1px solid var(--line-strong); transition: background-color 0.25s, padding-left 0.3s var(--ease); }
.rows__item:hover { background: var(--surface-green); padding-left: 0.75rem; }
.rows__title { font-weight: 700; font-size: 1.125rem; color: var(--ink); line-height: 1.35; letter-spacing: -0.015em; }
.rows__title a::after { content: ""; position: absolute; inset: 0; }
.rows__meta { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; margin-top: 0.2rem; }
.rows__item > .badge { justify-self: start; }
.rows__item > .icon { color: var(--n-400); transition: transform 0.3s var(--ease), color 0.25s; }
.rows__item:hover > .icon { color: var(--brand); transform: translate(3px, -3px); }
@media (max-width: 899px) { .know { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 519px) { .rows__item { grid-template-columns: minmax(0, 1fr) auto; } .rows__item > .badge { grid-column: 1 / -1; justify-self: start; } }

/* --- Testimonials ----------------------------------------------------------- */
.voices .slider__track { --slide: min(100%, 860px); }
.voice { display: grid; gap: 2rem; align-content: space-between; padding: clamp(1.5rem, 1rem + 2.4vw, 3rem); border-radius: var(--r-lg); background: rgb(255 255 255 / 0.06); min-height: 320px; }
.voice blockquote { font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem); line-height: 1.42; font-weight: 500; color: #fff; letter-spacing: -0.018em; text-wrap: pretty; }
.voice__who { display: flex; align-items: center; gap: 0.9rem; }
.voice__avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--green-700); color: #fff; font-weight: 800; flex: none; overflow: hidden; }
.voice__avatar img { width: 100%; height: 100%; object-fit: cover; }
.voice__who b { display: block; color: #fff; }
.voice__who span { font-size: var(--fs-sm); color: #b9cbc0; }
.sample-note { font-size: var(--fs-xs); color: #9db3a6; margin-top: 1.25rem; }

/* ---- from assets/css/inner.css ---- */
/* ==========================================================================
   Grow Group Azerbaijan — inner pages
   Solutions, industries, projects + map, case study, knowledge hub, article,
   about, sustainability, news, careers, contact, request-a-quote wizard, legal.
   ========================================================================== */

.sample-note { font-size: var(--fs-xs); color: var(--muted); margin-top: 1.25rem; display: flex; gap: 0.4rem; align-items: baseline; }
.sample-note::before { content: "Demo"; flex: none; font-weight: 800; font-size: 0.6875rem; padding: 0.05rem 0.45rem; border-radius: 4px; background: var(--sun-100); color: var(--sun-800); }
.section--dark .sample-note { color: #9db3a6; }
/* the rule that hides every demo note when <html> has no data-demo attribute lives in base.css */

/* --- toolbar above filtered lists ------------------------------------------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; justify-content: space-between; margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.toolbar__group { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.toolbar .select { min-height: 44px; width: auto; padding-block: 0.45rem; border-radius: var(--r-pill); font-weight: 600; font-size: var(--fs-sm); }
.toolbar__count { font-size: var(--fs-sm); color: var(--muted); }
.toolbar__count b { color: var(--ink); }
.empty { padding: 3rem 1rem; text-align: center; color: var(--muted); border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg); }
.seg { display: inline-flex; padding: 3px; border-radius: var(--r-pill); background: var(--n-100); }
.seg button { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 38px; padding: 0.3rem 0.9rem; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 700; color: var(--muted); transition: background-color 0.2s, color 0.2s; }
.seg button.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgb(10 36 23 / 0.14); }

/* --- solution cards + comparison -------------------------------------------- */
.scard .frame { aspect-ratio: 4 / 3; }
.scard .card__title { font-size: 1.3125rem; }
.scard__kpi { display: flex; align-items: baseline; gap: 0.5rem; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); }
.scard__kpi b { font-size: 1.25rem; color: var(--brand); font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.matrix th, .matrix td { text-align: center; }
.matrix tbody th { text-align: left; width: 30%; color: var(--ink); font-weight: 700; }
.matrix thead th { white-space: normal; vertical-align: bottom; }
.matrix .yes .icon { color: var(--success); margin-inline: auto; }
.matrix .no { color: var(--n-300); }

/* --- solution detail --------------------------------------------------------- */
.includes { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.includes > div { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0.9rem; padding: 1rem 0; border-bottom: 1px solid var(--line-strong); }
.includes .icon { color: var(--brand); margin-top: 0.2rem; }
.includes dt { font-weight: 700; color: var(--ink); }
.includes dd { color: var(--n-700); font-size: var(--fs-sm); margin-top: 0.15rem; }
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); }
.type { display: flex; flex-direction: column; padding: 1.5rem; border-radius: var(--r-lg); background: #fff; }
.type h3 { font-size: 1.25rem; }
.type p { margin-top: 0.5rem; color: var(--n-700); font-size: var(--fs-sm); }
.type__best { margin-top: auto; padding-top: 1rem; font-size: var(--fs-xs); color: var(--muted); }
.type__best b { display: block; color: var(--brand-strong); font-size: var(--fs-sm); margin-top: 0.1rem; }
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 4vw, 4rem); border-top: 1px solid var(--line-strong); }
.benefits > div { padding: 1.4rem 0; border-bottom: 1px solid var(--line-strong); }
.benefits h3 { font-size: 1.1875rem; }
.benefits p { margin-top: 0.35rem; color: var(--n-700); }
@media (max-width: 767px) { .benefits { grid-template-columns: minmax(0, 1fr); } }
.docs { display: grid; gap: 0.5rem; }
.doc { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 0.9rem; align-items: center; padding: 0.8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-md); transition: border-color 0.2s, background-color 0.2s; }
.doc:hover { border-color: var(--brand); background: var(--green-50); }
.doc__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--orange-50); color: var(--orange-700); }
.doc b { display: block; line-height: 1.3; }
.doc small { color: var(--muted); font-size: var(--fs-xs); }
.side-box { padding: 1.5rem; border-radius: var(--r-lg); background: var(--surface-green); }
.side-box + .side-box { margin-top: var(--gap); }
.side-box h3 { font-size: 1.125rem; margin-bottom: 0.9rem; }

/* numbered stages: used only where the content is a real sequence (turnkey stages, quote steps) */
.stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--gap); counter-reset: stage; }
.stage { position: relative; padding-top: 1.25rem; border-top: 2px solid var(--green-300); counter-increment: stage; }
.stage::before { content: counter(stage, decimal-leading-zero); display: block; font-size: var(--fs-sm); font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; margin-bottom: 0.5rem; }
.stage h3 { font-size: 1.125rem; }
.stage p { margin-top: 0.35rem; color: var(--n-700); font-size: var(--fs-sm); }
.section--dark .stage { border-top-color: rgb(255 255 255 / 0.25); }
.section--dark .stage::before { color: var(--sun-400); }
.section--dark .stage p { color: #c3d3c9; }

.solrows { border-top: 1px solid var(--line-strong); }
.solrow { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) 24px; gap: 1.1rem; align-items: center; padding: 1.1rem 0.5rem 1.1rem 0; border-bottom: 1px solid var(--line-strong); transition: background-color 0.25s, padding-left 0.3s var(--ease); }
.solrow:hover { background: var(--surface-green); padding-left: 0.75rem; }
.solrow__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sage-100); color: var(--brand-strong); }
.solrow b { display: block; font-size: 1.125rem; }
.solrow span span { color: var(--n-700); font-size: var(--fs-sm); }
.solrow > .icon { color: var(--n-400); transition: transform 0.3s var(--ease), color 0.25s; }
.solrow:hover > .icon { color: var(--brand); transform: translateX(4px); }

/* --- projects + map ---------------------------------------------------------- */
.map { position: relative; border-radius: var(--r-lg); background: #e9f1f4; overflow: hidden; }
.map__svg { display: block; width: 100%; height: auto; }
.map__land path { fill: #fbfcfa; stroke: #c9d6cf; stroke-width: calc(0.7 * var(--map-scale, 1)); stroke-linejoin: round; vector-effect: none; }
.map__land path.is-home { fill: var(--green-100); stroke: var(--green-400); }
.map__land path.is-market { fill: var(--sage-100); }
.map__pin { cursor: pointer; outline: none; }
.map__dot { fill: var(--accent); stroke: #fff; stroke-width: calc(1.6 * var(--map-scale, 1)); transition: fill 0.2s; }
.map__halo { fill: var(--accent); opacity: 0.2; transform-box: fill-box; transform-origin: center; transition: transform 0.4s var(--ease), opacity 0.3s; }
.map__pin:hover .map__halo, .map__pin:focus-visible .map__halo, .map__pin.is-active .map__halo { transform: scale(1.5); opacity: 0.32; }
.map__pin.is-flag .map__dot { fill: var(--green-700); }
.map__pin.is-flag .map__halo { fill: var(--green-700); }
.map__pin.is-off { opacity: 0.18; pointer-events: none; }
.map__tip { position: absolute; z-index: 2; transform: translate(-50%, calc(-100% - 14px)); min-width: 180px; max-width: 240px; padding: 0.6rem 0.8rem; border-radius: var(--r-md); background: var(--ink); color: #fff; font-size: var(--fs-xs); line-height: 1.4; pointer-events: none; box-shadow: var(--shadow-pop); }
.map__tip b { display: block; color: #fff; font-size: var(--fs-sm); }
.map__tip span { color: #c3d3c9; }
.map__legend { position: absolute; left: 1rem; bottom: 1rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; padding: 0.5rem 0.8rem; border-radius: var(--r-md); background: rgb(255 255 255 / 0.92); font-size: var(--fs-xs); font-weight: 600; color: var(--n-700); }
.map__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 0.35rem; background: var(--accent); }
.map__legend i.flag { background: var(--green-700); }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 2.5rem) var(--gap); }
.pgrid .card.is-hot .card__title a { background-size: 100% 1.5px; color: var(--brand-strong); }
[data-view-mode="grid"] .map-wrap { display: none; }
@media (max-width: 1023px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .pgrid { grid-template-columns: minmax(0, 1fr); } }

/* --- case study --------------------------------------------------------------- */
.passport { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.25rem 2rem; padding: 1.75rem; border-radius: var(--r-lg); background: var(--surface-green); margin-top: calc(var(--section) * -0.35); position: relative; z-index: 1; }
.passport dt { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.passport dd { font-weight: 700; color: var(--ink); font-size: 1.125rem; line-height: 1.3; }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--gap); }
.result { padding: 1.5rem 0 0; border-top: 2px solid var(--green-300); }
.result b { display: block; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: #fff; }
.result span { display: block; margin-top: 0.6rem; color: #c3d3c9; font-size: var(--fs-sm); }
.bigquote { max-width: 900px; margin-inline: auto; text-align: center; }
.bigquote blockquote { font-size: clamp(1.375rem, 1.1rem + 1.4vw, 2.125rem); line-height: 1.38; font-weight: 600; color: var(--ink); letter-spacing: -0.022em; text-wrap: balance; }
.bigquote figcaption { margin-top: 1.25rem; color: var(--muted); font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.gallery button { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 2; background: var(--sage-200); cursor: zoom-in; }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.lightbox img { display: block; width: 100%; max-height: 82vh; object-fit: contain; background: #000; }
@media (max-width: 767px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.syslist { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* --- knowledge hub + article -------------------------------------------------- */
.kgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.75rem, 1rem + 2vw, 2.75rem) var(--gap); }
@media (max-width: 1023px) { .kgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .kgrid { grid-template-columns: minmax(0, 1fr); } }
.kcard--plain { padding: 1.5rem; border-radius: var(--r-lg); background: var(--surface-green); min-height: 220px; }
.kcard--plain .card__body { padding-top: 0; }
.kcard--plain .card__foot { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--brand); font-size: var(--fs-sm); }
.search-field { position: relative; max-width: 520px; }
.search-field .icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-field .input { padding-left: 2.9rem; border-radius: var(--r-pill); }

.article-head { padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(2rem, 1.5rem + 2vw, 3rem); }
.article-head h1 { max-width: 22ch; margin-top: 1.25rem; }
.article-head .lead { margin-top: 1.25rem; font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem); }
.byline { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); }
.byline__who { display: flex; align-items: center; gap: 0.7rem; }
.byline__who b { display: block; line-height: 1.2; }
.byline__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green-700); color: #fff; font-weight: 800; font-size: var(--fs-sm); }
.byline__share { display: flex; gap: 0.25rem; margin-left: auto; }
.article-cover { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 9; background: var(--sage-200); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: var(--fs-sm); }
.toc h2 { font-size: var(--fs-xs); color: var(--muted); letter-spacing: 0; font-weight: 700; margin-bottom: 0.75rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); display: grid; }
.toc a { display: block; padding: 0.4rem 0 0.4rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--n-700); font-weight: 600; line-height: 1.35; transition: color 0.2s, border-color 0.2s; }
.toc a:hover { color: var(--brand); border-left-color: var(--brand); }
.prose .table { margin-top: 1.25em; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: table; }
.gate { padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border-radius: var(--r-lg); background: var(--green-900); color: #dbe7df; }
.gate h2, .gate h3 { color: #fff; }
.gate .field > label { color: #fff; }
.gate ul { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.gate li { display: flex; gap: 0.6rem; }
.gate li .icon { color: var(--sun-400); flex: none; margin-top: 0.2rem; }
.gate .check { color: #dbe7df; }
.gate .check a { color: var(--green-300); }
@media (max-width: 899px) { .article-body { grid-template-columns: minmax(0, 1fr); } .toc { position: static; padding: 1.1rem; border-radius: var(--r-md); background: var(--n-50); } }
.gloss { columns: 2; column-gap: clamp(2rem, 4vw, 4rem); }
.gloss > div { break-inside: avoid; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.gloss dt { font-weight: 800; color: var(--ink); font-size: 1.0625rem; }
.gloss dd { margin-top: 0.25rem; color: var(--n-700); font-size: var(--fs-sm); }
@media (max-width: 699px) { .gloss { columns: 1; } }

/* --- about --------------------------------------------------------------------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 5.25rem; top: 0.6rem; bottom: 0.6rem; width: 2px; background: var(--green-200); }
.tl { position: relative; display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 2.5rem; padding: 1rem 0; }
.tl::before { content: ""; position: absolute; left: calc(5.25rem - 5px); top: 1.55rem; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.tl time { font-weight: 800; font-size: 1.25rem; color: var(--brand); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tl h3 { font-size: 1.1875rem; }
.tl p { margin-top: 0.25rem; color: var(--n-700); }
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.mv > div { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-lg); background: var(--green-900); color: #dbe7df; }
.mv > div:last-child { background: var(--sage-100); color: var(--text); }
.mv h3 { font-size: var(--fs-sm); color: var(--green-300); letter-spacing: 0; margin-bottom: 0.75rem; }
.mv > div:last-child h3 { color: var(--brand); }
.mv p { font-size: clamp(1.1875rem, 1.05rem + 0.7vw, 1.5rem); line-height: 1.4; font-weight: 600; letter-spacing: -0.018em; color: #fff; }
.mv > div:last-child p { color: var(--ink); }
@media (max-width: 767px) { .mv { grid-template-columns: minmax(0, 1fr); } }

/* holding structure: one company, seven units along the value chain */
.org { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
.org__core { position: sticky; top: calc(var(--header-h) + 24px); padding: 2rem; border-radius: var(--r-lg); background: var(--green-900); color: #dbe7df; }
.org__core .logo { color: #fff; }
.org__core p { margin-top: 1.25rem; }
.org__units { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.unit { position: relative; display: flex; flex-direction: column; padding: 1.4rem; border-radius: var(--r-lg); background: #fff; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.unit:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgb(10 36 23 / 0.35); }
.unit__top { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.9rem; }
.unit__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sage-100); color: var(--brand-strong); }
.unit__role { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }
.unit h3 { font-size: 1.1875rem; }
.unit h3 a::after { content: ""; position: absolute; inset: 0; }
.unit p { margin-top: 0.4rem; color: var(--n-700); font-size: var(--fs-sm); }
@media (max-width: 1023px) { .org { grid-template-columns: minmax(0, 1fr); } .org__core { position: static; } }
@media (max-width: 599px) { .org__units { grid-template-columns: minmax(0, 1fr); } }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--gap); }
.person { padding: 1.5rem; border-radius: var(--r-lg); border: 1.5px solid var(--line); }
.person__avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sage-100); color: var(--brand-strong); font-weight: 800; font-size: 1.25rem; margin-bottom: 1rem; }
.person b { display: block; font-size: 1.125rem; }
.person span { display: block; color: var(--muted); font-size: var(--fs-sm); }
.person a { display: inline-flex; gap: 0.4rem; align-items: center; margin-top: 0.75rem; font-weight: 600; font-size: var(--fs-sm); color: var(--brand); }
.brandgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--gap); }
.brand { padding: 1.4rem; border-radius: var(--r-lg); border: 1.5px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); transition: border-color 0.2s; }
.brand:hover, .brand:target { border-color: var(--brand); }
.brand b { display: block; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand span { display: block; color: var(--n-700); font-size: var(--fs-sm); margin-top: 0.2rem; }
.brand small { display: inline-block; margin-top: 0.9rem; color: var(--muted); font-size: var(--fs-xs); font-weight: 600; }

/* --- sustainability ------------------------------------------------------------ */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.pillar { padding: clamp(1.4rem, 1rem + 1.5vw, 2rem); border-radius: var(--r-lg); background: #fff; }
.pillar h3 { margin-top: 1rem; }
.pillar > p { margin-top: 0.5rem; color: var(--n-700); font-size: var(--fs-sm); }
.pillar ul { margin: 1.1rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 0.55rem; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.pillar li { display: flex; gap: 0.6rem; }
.pillar li .icon { color: var(--brand); flex: none; margin-top: 0.2rem; }
.sdgs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; }
.sdg { padding: 1.1rem; border-radius: var(--r-md); background: rgb(255 255 255 / 0.07); }
.sdg b { display: block; font-size: 2rem; font-weight: 800; color: var(--sun-400); line-height: 1; letter-spacing: -0.03em; }
.sdg strong { display: block; margin-top: 0.6rem; }
.sdg p { margin-top: 0.3rem; font-size: var(--fs-xs); color: #c3d3c9; line-height: 1.5; }
@media (max-width: 1023px) { .pillars { grid-template-columns: minmax(0, 1fr); } .sdgs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --- careers --------------------------------------------------------------------- */
.jobs { border-top: 1px solid var(--line-strong); }
.job { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.5rem 2rem; align-items: center; padding: 1.4rem 0.5rem 1.4rem 0; border-bottom: 1px solid var(--line-strong); transition: background-color 0.25s, padding-left 0.3s var(--ease); }
.job:hover { background: var(--surface-green); padding-left: 0.75rem; }
.job h3 { font-size: 1.25rem; }
.job h3 a::after { content: ""; position: absolute; inset: 0; }
.job__meta { display: flex; flex-wrap: wrap; gap: 0.4rem; }
@media (max-width: 699px) { .job { grid-template-columns: minmax(0, 1fr) auto; } .job__meta { grid-column: 1 / -1; grid-row: 2; } }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.checklist li { display: flex; gap: 0.7rem; }
.checklist .icon { color: var(--brand); flex: none; margin-top: 0.25rem; }

/* --- contact + request a quote --------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.panel { padding: clamp(1.4rem, 1rem + 2vw, 2.25rem); border-radius: var(--r-lg); border: 1.5px solid var(--line); background: #fff; }
.depts { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.dept { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-strong); }
.dept__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sage-100); color: var(--brand-strong); }
.dept b { display: block; }
.dept a { display: inline-block; margin-right: 1rem; color: var(--brand); font-weight: 600; font-size: var(--fs-sm); }
.dept span { display: block; color: var(--muted); font-size: var(--fs-sm); }
.mapframe { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 9; background: var(--sage-100); }
.mapframe iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 767px) { .mapframe { aspect-ratio: 4 / 3; } }

.wiz { max-width: 860px; margin-inline: auto; }
.wiz__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.75rem; font-size: var(--fs-sm); font-weight: 700; color: var(--muted); }
.wiz__bar { height: 4px; border-radius: 4px; background: var(--n-200); overflow: hidden; }
.wiz__bar i { display: block; height: 100%; background: var(--brand); transform-origin: left; transition: transform 0.5s var(--ease); }
.wiz__marks { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0.5rem; margin: 0.9rem 0 2.25rem; padding: 0; list-style: none; }
.wiz__mark { display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-sm); font-weight: 700; color: var(--n-500); text-align: left; }
.wiz__mark i { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid currentColor; font-style: normal; font-size: 0.75rem; }
.wiz__mark.is-current { color: var(--ink); }
.wiz__mark.is-done { color: var(--brand); cursor: pointer; }
.wiz__mark.is-done i { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (max-width: 767px) { .wiz__mark span { display: none; } .wiz__marks { grid-auto-columns: auto; justify-content: start; } }
.wiz__step h2 { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.wiz__step > p { color: var(--n-700); margin-bottom: 1.5rem; }
.wiz__nav { display: flex; justify-content: space-between; gap: 0.75rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.75rem; }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; }
.option__box { display: grid; gap: 0.35rem; height: 100%; padding: 1.1rem 1.2rem; border-radius: var(--r-md); border: 1.5px solid var(--line-strong); background: #fff; transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s; }
.option__box .icon { color: var(--brand); width: 26px; height: 26px; margin-bottom: 0.3rem; }
.option__box b { line-height: 1.3; }
.option__box small { color: var(--muted); font-size: var(--fs-xs); line-height: 1.45; }
.option:hover .option__box { border-color: var(--n-500); }
.option input:checked + .option__box { border-color: var(--brand); background: var(--green-50); box-shadow: 0 0 0 3px var(--green-100); }
.option input:focus-visible + .option__box { outline: 2px solid var(--brand); outline-offset: 3px; }
.is-invalid > .options .option__box { border-color: var(--error); }
.summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; padding: 0.5rem 1.25rem; border-radius: var(--r-md); background: var(--n-50); margin-bottom: 1.5rem; }
.summary div { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.summary dt { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.summary dd { font-weight: 700; color: var(--ink); }
@media (max-width: 599px) { .summary { grid-template-columns: minmax(0, 1fr); } }
.range-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; }
.range-row output { min-width: 5.5rem; text-align: right; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; accent-color: var(--brand); height: 28px; }

/* --- legal, 404 ------------------------------------------------------------------- */
.legal-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.notfound b { display: block; font-size: clamp(5rem, 3rem + 12vw, 11rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.05em; color: var(--green-100); }
.notfound h1 { margin-top: -0.4em; }
.notfound p { margin: 1rem auto 2rem; max-width: 46ch; color: var(--n-700); }
