/* Ostayar — design system and site styles.
   Brand: deep green (trust, safety, "fixed") + amber (craft, action). Neutrals are cool slate so that
   brand pages can bring their own red/blue without clashing. Contrast: text ≥ 7:1, UI ≥ 4.5:1.
   No JavaScript anywhere: menus use <details>, FAQs use <details>, the CSP forbids inline styles. */

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn.f6d31671339d.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --green-900: #0a3a2c;
  --green-800: #0e4d3a;
  --green-700: #136049;
  --green-100: #e3f1ec;
  --green-50: #f1f8f5;
  --amber-500: #f2b33d;
  --amber-600: #db9a1f;
  --amber-100: #fdf0d5;
  --ink: #17212b;
  --text: #2b3640;
  --muted: #5a6672;
  --line: #e2e7ec;
  --surface: #f5f7f9;
  --card: #ffffff;
  --danger: #b42318;
  --danger-bg: #fef3f2;
  --success: #067647;
  --success-bg: #ecfdf3;

  /* Brand pages override these three (catalog/brand_theme.css). */
  --brand: var(--green-800);
  --brand-2: var(--ink);
  --on-brand: #ffffff;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 16px rgba(16, 24, 40, .06);
  --shadow-lg: 0 12px 40px rgba(16, 24, 40, .12);
  --wrap: 72rem;
  --gutter: 16px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: "Vazirmatn", Tahoma, sans-serif;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
  background: var(--card);
  text-rendering: optimizeLegibility;
  padding-bottom: 72px; /* room for the mobile action bar */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.45; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3.6vw, 2rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tint { background: var(--surface); }
.section__head { max-width: 42rem; margin-bottom: 2rem; }
.section__head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--green-700); background: var(--green-100); padding: .15rem .75rem; border-radius: 99px; margin-bottom: .75rem; }
.muted { color: var(--muted); }
.ltr { direction: ltr; unicode-bidi: isolate; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 1rem; top: -100px; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { top: .5rem; }

.icon { width: 1.5em; height: 1.5em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--sm { width: 1.15em; height: 1.15em; }
.icon--lg { width: 2.25rem; height: 2.25rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .6rem 1.4rem; border-radius: 12px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--amber-500); color: var(--ink); }
.btn--primary:hover { background: var(--amber-600); color: var(--ink); }
.btn--dark { background: var(--green-800); color: #fff; }
.btn--dark:hover { background: var(--green-900); color: #fff; }
.btn--ghost { background: transparent; color: var(--green-800); border-color: currentColor; }
.btn--ghost:hover { background: var(--green-50); color: var(--green-900); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--green-50); color: var(--ink); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--brand { background: var(--brand); color: var(--on-brand); }
.btn--brand:hover { filter: brightness(.92); color: var(--on-brand); }
.btn--block { width: 100%; }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .header { background: rgba(255, 255, 255, .85); backdrop-filter: saturate(1.4) blur(10px); } }
.header__bar { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); flex: none; }
.logo img { width: 40px; height: 40px; }
.logo__name { font-size: 1.3rem; font-weight: 900; letter-spacing: -.01em; line-height: 1; }
.logo__sub { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); margin-top: .2rem; }
.nav { display: none; margin-inline-start: auto; }
.nav > ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a, .nav summary { display: block; padding: .5rem .75rem; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 600; cursor: pointer; }
.nav a:hover, .nav summary:hover, .nav a[aria-current="page"] { background: var(--surface); color: var(--ink); }
.nav summary { list-style: none; display: flex; align-items: center; gap: .25rem; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: ""; width: .45em; height: .45em; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-2px); margin-inline-start: .35rem; }
.nav details { position: relative; }
.nav details[open] summary { background: var(--surface); }
.mega { position: absolute; inset-inline-start: 0; top: calc(100% + 8px); width: min(36rem, 80vw); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .75rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .15rem; }
.mega a { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.mega a .icon { color: var(--green-700); }
.header__actions { display: flex; align-items: center; gap: .5rem; margin-inline-start: auto; }
.header__phone { display: none; align-items: center; gap: .4rem; font-weight: 800; color: var(--ink); text-decoration: none; }
.header__cta { display: none; }
@media (min-width: 1040px) {
  .nav { display: block; }
  .header__actions { margin-inline-start: 0; }
  .header__phone, .header__cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* Mobile menu (no JS): a <details> that becomes a full-width panel. */
.menu-toggle summary { list-style: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; color: var(--ink); }
.menu-toggle summary::-webkit-details-marker { display: none; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[open] .icon-open { display: none; }
.menu-toggle[open] .icon-close { display: block; }
.menu-panel { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; overflow-y: auto; padding: 1rem var(--gutter) 6rem; border-top: 1px solid var(--line); }
.menu-panel h3 { font-size: .85rem; color: var(--muted); margin: 1.25rem 0 .5rem; }
.menu-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.menu-panel a { display: flex; align-items: center; gap: .6rem; padding: .7rem .5rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.menu-panel a:hover { background: var(--surface); }
.menu-panel .grid-2 { grid-template-columns: 1fr 1fr; }

/* Mobile action bar */
.actionbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1.4fr; gap: .5rem; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(16, 24, 40, .08); }
.actionbar .btn { min-height: 50px; }
.actionbar--single { grid-template-columns: 1fr; }
@media (min-width: 900px) { .actionbar { display: none; } }

/* Hero (home) */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 120% at 100% 0%, var(--green-700) 0%, var(--green-800) 45%, var(--green-900) 100%); color: #fff; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; display: grid; gap: 2.5rem; padding-block: clamp(3rem, 8vw, 6rem); }
.hero h1 { color: #fff; font-size: clamp(2rem, 6vw, 3.25rem); line-height: 1.35; }
.hero h1 em { font-style: normal; color: var(--amber-500); }
.hero__lead { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: rgba(255, 255, 255, .86); max-width: 36rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .85rem; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: .92rem; font-weight: 600; }
.chips .icon { color: var(--amber-500); }
.quick { background: #fff; color: var(--text); border-radius: 20px; padding: 1.25rem; box-shadow: var(--shadow-lg); }
.quick h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.quick__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.quick__grid a { display: flex; align-items: center; gap: .55rem; padding: .7rem .75rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.4; transition: border-color .15s, background-color .15s; }
.quick__grid a:hover { border-color: var(--green-700); background: var(--green-50); }
.quick__grid .icon { color: var(--green-700); }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.15fr .85fr; align-items: center; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: -2rem; position: relative; z-index: 2; }
.stats div { background: #fff; padding: 1.25rem; text-align: center; }
.stats strong { display: block; font-size: 1.75rem; font-weight: 900; color: var(--green-800); line-height: 1.2; }
.stats span { color: var(--muted); font-size: .9rem; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* Cards & grids */
.grid { display: grid; gap: 1rem; }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; }
.card--link { display: block; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card--link:hover { border-color: var(--green-700); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.card h3 { margin-bottom: .35rem; }
.card p:last-child { margin-bottom: 0; }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--green-50); color: var(--green-700); margin-bottom: 1rem; }
.card__more { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; color: var(--green-700); margin-top: .5rem; }

/* Brand tiles: each tile carries its brand colour via a class from brands.css. */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); gap: .75rem; }
.brand-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; min-height: 8.5rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--ink); text-align: center; overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.brand-tile::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--tile, var(--green-800)); }
.brand-tile:hover { border-color: var(--tile, var(--green-800)); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.brand-tile img { max-height: 40px; width: auto; max-width: 120px; }
.brand-tile__word { font-family: Arial, Helvetica, sans-serif; font-weight: 800; font-size: 1.4rem; letter-spacing: .02em; color: var(--tile, var(--ink)); direction: ltr; }
.brand-tile__fa { font-size: .9rem; color: var(--muted); font-weight: 600; }

.brand-card { border-top: 4px solid var(--tile, var(--green-800)); }
.brand-card__logo { display: flex; align-items: center; min-height: 56px; margin-bottom: .75rem; }
.brand-card__logo img { max-height: 44px; width: auto; max-width: 150px; }
.brand-card__devices { display: flex; flex-wrap: wrap; gap: .35rem; margin: .75rem 0 0; }
.brand-card__devices span { font-size: .8rem; padding: .1rem .55rem; border-radius: 99px; background: var(--surface); color: var(--muted); font-weight: 600; }
.h3 { font-size: 1.15rem; font-weight: 700; }
.tariff-title { display: flex; align-items: center; gap: .5rem; }
.tariff-title .icon { color: var(--green-700); }
.section-gap { margin-top: 2.25rem; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 1.35rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.steps li::before { content: counter(step, persian); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--amber-100); color: var(--ink); font-weight: 900; margin-bottom: .75rem; }
.steps h3 { margin-bottom: .25rem; }
.steps p { margin: 0; color: var(--muted); }

/* Feature list */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.features li { display: flex; gap: .9rem; align-items: flex-start; }
.features .icon { color: var(--green-700); width: 2rem; height: 2rem; padding: .35rem; background: var(--green-50); border-radius: 10px; box-sizing: content-box; }
.features strong { display: block; color: var(--ink); }
.checks { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.checks li { display: flex; gap: .55rem; align-items: flex-start; }
.checks .icon { color: var(--success); margin-top: .2rem; }

/* FAQ */
.faq { display: grid; gap: .6rem; max-width: 52rem; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.15rem; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--green-700); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 1.15rem 1rem; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--green-800); color: #fff; border-radius: 22px; padding: clamp(1.75rem, 5vw, 3rem); display: grid; gap: 1.5rem; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 820px) { .cta-band { grid-template-columns: 1fr auto; } }

/* Page header (inner pages) */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: 2rem 2.25rem; }
.page-head p { color: var(--muted); max-width: 44rem; font-size: 1.05rem; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0 0 1rem; padding: 0; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-inline-end: .35rem; color: #9aa5b1; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* Prose */
.prose { max-width: 46rem; font-size: 1.05rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul { padding-inline-start: 1.25rem; }
.prose li { margin-bottom: .35rem; }
.layout { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .layout { grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; } .layout aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.side-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; background: #fff; }
.side-card h3 { font-size: 1.05rem; }
.side-card .btn { margin-top: .5rem; }

/* Forms */
.form { display: grid; gap: 1.1rem; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin: 0; display: grid; gap: 1rem; background: #fff; }
.form legend { font-weight: 800; color: var(--ink); padding-inline: .5rem; font-size: 1.05rem; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } .form__row--3 { grid-template-columns: repeat(3, 1fr); } }
.field label, .field .label { display: block; font-weight: 700; color: var(--ink); margin-bottom: .35rem; font-size: .95rem; }
.field .req { color: var(--danger); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="number"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .65rem .85rem; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #cfd6dd; border-radius: 11px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6672' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat left .85rem center / 1.1rem; padding-inline-end: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(19, 96, 73, .14); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--danger); }
.field__help { font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.field__error { font-size: .88rem; color: var(--danger); margin-top: .3rem; font-weight: 600; }
.field ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.choices { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); }
.choices label { display: flex; align-items: center; gap: .55rem; padding: .7rem .85rem; border: 1.5px solid #cfd6dd; border-radius: 11px; cursor: pointer; font-weight: 600; margin: 0; }
.choices label:has(input:checked) { border-color: var(--green-700); background: var(--green-50); }
.choices input, .check input { width: 1.15rem; height: 1.15rem; accent-color: var(--green-700); flex: none; }
.check label { display: flex; align-items: center; gap: .55rem; font-weight: 600; cursor: pointer; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: .9rem 1.1rem; border-radius: 12px; margin-bottom: 1rem; font-weight: 600; border: 1px solid; }
.alert--error { background: var(--danger-bg); color: var(--danger); border-color: #fecdca; }
.alert--success { background: var(--success-bg); color: var(--success); border-color: #abefc6; }

/* Request success / tracking */
.result { text-align: center; max-width: 34rem; margin-inline: auto; }
.result__icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--success-bg); color: var(--success); }
.code-box { display: inline-block; margin: .5rem 0 1rem; padding: .6rem 1.5rem; border: 2px dashed var(--green-700); border-radius: 14px; font-size: 2rem; font-weight: 900; color: var(--green-800); letter-spacing: .15em; direction: ltr; }
.timeline { list-style: none; margin: 1.5rem 0 0; padding: 0; position: relative; }
.timeline li { position: relative; padding-inline-start: 2rem; padding-bottom: 1.25rem; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: .45rem; top: .55rem; bottom: -.4rem; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; inset-inline-start: 0; top: .45rem; width: 1rem; height: 1rem; border-radius: 50%; background: #fff; border: 3px solid var(--green-700); }
.timeline li:last-child::after { background: var(--green-700); }
.timeline time { display: block; font-size: .85rem; color: var(--muted); }
.status { display: inline-block; padding: .2rem .8rem; border-radius: 99px; font-weight: 700; font-size: .9rem; background: var(--green-100); color: var(--green-800); }
.status--done { background: var(--success-bg); color: var(--success); }
.status--cancelled { background: #f2f4f7; color: #475467; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.25rem; margin: 1rem 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 700; color: var(--ink); }

/* Tables (tariffs) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: start; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface); color: var(--ink); font-weight: 700; font-size: .92rem; }
tr:last-child td { border-bottom: 0; }

/* Blog */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card__ph { aspect-ratio: 16 / 9; display: grid; place-items: center; background: linear-gradient(135deg, var(--green-50), var(--amber-100)); color: var(--green-700); }
.post-card__body { padding: 1.15rem 1.25rem 1.35rem; }
.post-card__meta { font-size: .85rem; color: var(--muted); margin-bottom: .35rem; }
.pager { display: flex; justify-content: center; gap: .5rem; margin-top: 2rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filters a { padding: .35rem .9rem; border-radius: 99px; border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem; }
.filters a[aria-current="true"] { background: var(--green-800); color: #fff; border-color: var(--green-800); }

/* Contact channels */
.channels { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.channel { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; }
.channel:hover { border-color: var(--green-700); background: var(--green-50); color: var(--ink); }
.channel .icon { color: var(--green-700); width: 1.75rem; height: 1.75rem; }
.channel small { display: block; color: var(--muted); font-weight: 500; }
.channel strong { direction: ltr; unicode-bidi: isolate; }

/* Footer */
.footer { background: var(--green-900); color: rgba(255, 255, 255, .78); padding-top: 3.5rem; margin-top: 0; }
.footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: .85rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); padding-bottom: 2.5rem; }
.footer__about { grid-column: 1 / -1; max-width: 26rem; }
@media (min-width: 960px) { .footer__grid { grid-template-columns: 1.6fr repeat(4, 1fr); } .footer__about { grid-column: auto; } }
.footer .logo { color: #fff; }
.footer .logo__sub { color: rgba(255, 255, 255, .6); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 1.25rem; font-size: .88rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.socials a { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem; border: 1px solid rgba(255, 255, 255, .2); border-radius: 99px; font-size: .88rem; }

/* Error pages */
.error-page { text-align: center; padding-block: 5rem; }
.error-page strong { display: block; font-size: 5rem; font-weight: 900; color: var(--green-800); line-height: 1; margin-bottom: 1rem; }
