/* ============================================================
   Bitki Hub — design tokens + base
   ============================================================ */
:root {
  /* Brand palette */
  --green-1000: #03251c;
  --green-950: #052f24;
  --green-900: #073929;
  --green-800: #0a4a36;
  --green-700: #0f5c43;
  --green-50:  #f0f6ef;
  --green-100: #e1eddd;

  --lime-300: #aee48a;
  --lime-400: #7fd349;
  --lime-500: #5ec224;
  --lime-600: #4ea81d;
  --lime-700: #3d8516;

  --cream:    #f6f3ec;
  --paper:    #fbfaf5;
  --ink:      #07271e;
  --ink-2:    #1d3a31;
  --muted:    #5d7a70;
  --rule:     #d8e2d4;
  --rule-dk:  rgba(255,255,255,.14);

  /* Tokens that respond to theme */
  --bg:        var(--paper);
  --surface:   #ffffff;
  --surface-2: var(--cream);
  --text:      var(--ink);
  --text-soft: var(--muted);
  --border:    var(--rule);
  --accent:    var(--lime-500);
  --accent-ink:var(--green-1000);
  --brand:     var(--green-900);
  --brand-soft:var(--green-50);

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 18px;

  /* Spacing scale (comfortable density) */
  --pad-section: 120px;
  --pad-block:   72px;
  --gap-card:    28px;

  --shadow-1: 0 1px 2px rgba(7,39,30,.06), 0 4px 12px rgba(7,39,30,.05);
  --shadow-2: 0 12px 32px rgba(7,39,30,.10);
  --shadow-3: 0 24px 60px rgba(7,39,30,.18);

  --font-sans: 'Alexandria', system-ui, -apple-system, sans-serif;
  --font-serif: 'Newsreader', 'Cormorant Garamond', Georgia, serif;
  --font-ar: 'IBM Plex Sans Arabic', 'Alexandria', system-ui, sans-serif;

  --container: 1320px;
}

/* Arabic gets IBM Plex Sans Arabic */
[lang="ar"] body, [dir="rtl"] body {
  font-family: var(--font-ar);
}
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] h4,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 {
  font-family: var(--font-ar);
  letter-spacing: -0.01em;
}
[lang="ar"] .btn, [dir="rtl"] .btn,
[lang="ar"] input, [lang="ar"] textarea, [lang="ar"] select,
[dir="rtl"] input, [dir="rtl"] textarea, [dir="rtl"] select { font-family: var(--font-ar); }

/* Latin names always use the serif */
.latin, em.specimen-latin { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

/* Display-italic-serif: bilingual heading — italic Newsreader for English, IBM Plex Sans Arabic for Arabic */
.display-italic-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
[dir="rtl"] .display-italic-serif, [lang="ar"] .display-italic-serif {
  font-family: var(--font-ar);
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* RTL overrides for bilingual display elements */
[dir="rtl"] h1 .serif-em, [lang="ar"] h1 .serif-em,
[dir="rtl"] h2 .serif-em, [lang="ar"] h2 .serif-em {
  font-family: var(--font-ar);
  font-style: normal;
  font-weight: 800;
}
[dir="rtl"] .cta-band h2, [lang="ar"] .cta-band h2 {
  font-family: var(--font-ar);
  font-style: normal;
  font-weight: 800;
}
[dir="rtl"] .feature-specimen__media .idx, [lang="ar"] .feature-specimen__media .idx {
  font-family: var(--font-ar);
  font-style: normal;
  font-weight: 600;
}
[dir="rtl"] .marker, [lang="ar"] .marker,
[dir="rtl"] .editorial-start__num, [lang="ar"] .editorial-start__num,
[dir="rtl"] .page-head__num, [lang="ar"] .page-head__num {
  /* Numerals are universal — keep the serif italic for visual hook */
  font-family: var(--font-serif);
}

[data-density="compact"] {
  --pad-section: 80px;
  --pad-block:   48px;
  --gap-card:    20px;
}

[data-theme="dark"] {
  --bg:        var(--green-1000);
  --surface:   var(--green-950);
  --surface-2: var(--green-900);
  --text:      #f6f3ec;
  --text-soft: #a5bdb2;
  --border:    var(--rule-dk);
  --brand:     #f6f3ec;
  --brand-soft:var(--green-900);
}

/* ============================================================
   Base
   ============================================================ */
* { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width:100%; display:block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1,h2,h3,h4 { font-weight: 800; letter-spacing: -0.025em; color: var(--text); margin: 0; text-wrap: balance; line-height: 1.02; }
h1 { font-size: clamp(44px, 6.5vw, 96px); font-weight: 900; }
h2 { font-size: clamp(34px, 4.4vw, 64px); font-weight: 900; }
h3 { font-size: clamp(22px, 2vw, 28px); }
.display-serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
p  { margin: 0; text-wrap: pretty; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px){ .container { padding: 0 20px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-soft); font-weight: 600;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--lime-500); opacity: 1;
}
[lang="ar"] .eyebrow, [dir="rtl"] .eyebrow {
  letter-spacing: .04em;
  text-transform: none;
}

/* Normalize uppercase + letter-spacing for Arabic — those styles don't translate */
[lang="ar"] .crumbs, [dir="rtl"] .crumbs,
[lang="ar"] .product-card__body .name, [dir="rtl"] .product-card__body .name,
[lang="ar"] .specimen-card__name, [dir="rtl"] .specimen-card__name,
[lang="ar"] .footer h5, [dir="rtl"] .footer h5,
[lang="ar"] .feature-specimen__body .common, [dir="rtl"] .feature-specimen__body .common,
[lang="ar"] .feature-specimen__data .lbl, [dir="rtl"] .feature-specimen__data .lbl,
[lang="ar"] .stats-band__item .lbl, [dir="rtl"] .stats-band__item .lbl,
[lang="ar"] .project__loc, [dir="rtl"] .project__loc,
[lang="ar"] .hero__meta-lbl, [dir="rtl"] .hero__meta-lbl,
[lang="ar"] .pd-info .price-block .from, [dir="rtl"] .pd-info .price-block .from,
[lang="ar"] .contact-info__item h4, [dir="rtl"] .contact-info__item h4,
[lang="ar"] .product-card__tag, [dir="rtl"] .product-card__tag,
[lang="ar"] .hero__media-tag, [dir="rtl"] .hero__media-tag,
[lang="ar"] .specimen-card__tag, [dir="rtl"] .specimen-card__tag {
  text-transform: none;
  letter-spacing: 0;
}

/* Lime underline accent for emphasis */
.lime-underline {
  background-image: linear-gradient(transparent 62%, color-mix(in oklab, var(--lime-500) 50%, transparent) 62%, color-mix(in oklab, var(--lime-500) 50%, transparent) 92%, transparent 92%);
  background-repeat: no-repeat;
  padding: 0 .05em;
}

/* Display-serif inline accent for hero titles */
h1 .serif-em, h2 .serif-em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--lime-600);
}
[data-theme="dark"] h1 .serif-em, [data-theme="dark"] h2 .serif-em { color: var(--lime-400); }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; gap: 32px;
  height: 84px;
}
.site-header__logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; letter-spacing: -0.01em;
}
.site-header__logo img { height: 40px; width: auto; }
.site-header__nav {
  display: flex; align-items: center; gap: 4px;
  margin-inline-start: 24px;
}
.site-header__nav a {
  padding: 8px 14px;
  font-size: 14px; font-weight: 500;
  color: var(--text-soft);
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.site-header__nav a:hover { color: var(--text); background: color-mix(in oklab, var(--text) 6%, transparent); }
.site-header__nav a.is-active {
  color: var(--text);
  background: color-mix(in oklab, var(--text) 8%, transparent);
}
.site-header__spacer { flex: 1; }
.lang-toggle {
  display: inline-flex; align-items: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  font-size: 12px; font-weight: 600;
  color: var(--text-soft);
  gap: 2px;
}
.lang-toggle button {
  border: none; background: transparent; color: inherit;
  padding: 4px 10px; border-radius: 999px;
  font-weight: 600; font-size: 12px;
  letter-spacing: .04em;
}
.lang-toggle button.is-active {
  background: var(--text); color: var(--bg);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 14px;
  border: none;
  transition: transform .15s ease, background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--lime-500); color: var(--green-1000); }
.btn--primary:hover { background: var(--lime-400); }
.btn--dark { background: var(--green-1000); color: #fff; }
.btn--dark:hover { background: var(--green-900); }
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--text); }
.btn--lg { padding: 18px 28px; font-size: 15px; }
.btn .arrow {
  width: 22px; height: 22px; border-radius: 50%;
  background: color-mix(in oklab, currentColor 14%, transparent);
  display: grid; place-items: center;
  transition: transform .2s;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Hero variants
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(40px, 5vw, 72px) 0 var(--pad-section);
}
.hero--split .hero__grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 56px; align-items: center;
}
.hero__title {
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: .94;
}
.hero__title em {
  font-style: normal;
  color: var(--lime-600);
  font-weight: 900;
}
[data-theme="dark"] .hero__title em { color: var(--lime-400); }
.hero__sub {
  margin-top: 28px;
  max-width: 520px;
  font-size: 18px; color: var(--text-soft); line-height: 1.55;
}
.hero__cta { display:flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero__meta {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
  max-width: 560px;
}
.hero__meta-num { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.hero__meta-lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-soft); margin-top: 4px; }

.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media-tag {
  position: absolute; left: 16px; top: 16px;
  background: rgba(255,255,255,.92);
  color: var(--green-1000);
  padding: 8px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  display: inline-flex; gap: 8px; align-items: center;
}
.hero__media-tag::before {
  content: ""; width: 6px; height: 6px; background: var(--lime-500); border-radius: 50%;
}
.hero__media-card {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  background: rgba(7,39,30,.78);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 16px 18px; border-radius: 14px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.hero__media-card strong { display:block; font-weight: 700; font-size: 14px; }

/* Full-bleed variant */
.hero--full {
  background: var(--green-1000);
  color: #fff;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 720px;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
}
.hero--full .hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero--full .hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,37,28,.4) 0%, rgba(3,37,28,.92) 80%);
}
.hero--full .hero__bg img { width:100%; height:100%; object-fit: cover; }
.hero--full .hero__content {
  position: relative; z-index: 1;
  padding: 120px 0 64px;
}
.hero--full h1 { color: #fff; }
.hero--full h1 em { color: var(--lime-400); }
.hero--full .hero__sub { color: rgba(255,255,255,.78); }
.hero--full .hero__meta { border-top-color: rgba(255,255,255,.18); }

/* Catalog variant */
.hero--catalog .hero__catalog-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px;
  margin-top: 48px;
  height: 380px;
}
.hero--catalog .hero__catalog-cell {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--surface-2);
}
.hero--catalog .hero__catalog-cell img {
  width:100%; height:100%; object-fit: cover;
  transition: transform .6s;
}
.hero--catalog .hero__catalog-cell:hover img { transform: scale(1.04); }
.hero--catalog .hero__catalog-cell .label {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(255,255,255,.92);
  padding: 8px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  color: var(--green-1000);
}

/* ============================================================
   Sections
   ============================================================ */
section { padding: var(--pad-section) 0; }
section.tight { padding: var(--pad-block) 0; }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}
.section-head h2 { max-width: 720px; }
.section-head__right {
  max-width: 380px; color: var(--text-soft);
}

/* ============================================================
   Category grid
   ============================================================ */
.cat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-card);
}
.cat-grid > a {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  isolation: isolate;
  transition: transform .3s;
}
.cat-grid > a:hover { transform: translateY(-4px); }
.cat-grid img { width:100%; height:100%; object-fit: cover; transition: transform .8s ease; }
.cat-grid > a:hover img { transform: scale(1.06); }
.cat-grid > a::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(3,37,28,.85) 100%);
}
.cat-grid__info {
  position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2;
  color: #fff;
}
.cat-grid__info h3 { color: #fff; font-size: 26px; }
.cat-grid__info .meta {
  display: flex; justify-content: space-between; align-items: end;
  margin-top: 10px;
  font-size: 13px; opacity: .85;
}
.cat-grid__info .count { font-weight: 700; }
.cat-grid__chev {
  position: absolute; top: 22px; right: 22px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.95); color: var(--green-1000);
  display: grid; place-items: center;
  transition: transform .25s;
}
.cat-grid > a:hover .cat-grid__chev { transform: rotate(-45deg); }

/* ============================================================
   Marquee / strip
   ============================================================ */
.strip {
  background: var(--green-1000);
  color: #fff;
  padding: 18px 0;
  overflow: hidden;
}
.strip__track {
  display: flex; gap: 64px;
  animation: marquee 36s linear infinite;
  width: max-content;
  white-space: nowrap;
}
.strip__item {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 22px; font-weight: 700; letter-spacing: -0.01em;
  color: rgba(255,255,255,.9);
}
.strip__item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-400); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   Featured / cards row
   ============================================================ */
.feature-row {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px;
  align-items: center;
}
.feature-row__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
}
.feature-row__media img { width:100%; height:100%; object-fit: cover; }
.feature-list { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.feature-list__item {
  display: flex; gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.feature-list__num {
  flex: 0 0 56px;
  font-family: 'Alexandria';
  font-weight: 800; font-size: 18px;
  color: var(--accent);
}
.feature-list__body h4 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.feature-list__body p { color: var(--text-soft); font-size: 14px; }

/* ============================================================
   Product cards
   ============================================================ */
.products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-card);
}
@media (max-width: 1100px){ .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }

.product-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  text-align: start;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.product-card__media {
  aspect-ratio: 1/1;
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
}
.product-card__media img { width:100%; height:100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.94);
  color: var(--green-1000);
  padding: 5px 10px; border-radius: 999px;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.product-card__fav {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.94);
  display: grid; place-items: center;
  color: var(--green-1000);
  border: none;
}
.product-card__body {
  padding: 18px 18px 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.product-card__body .latin {
  font-size: 11px; color: var(--text-soft); font-style: italic; letter-spacing: .04em;
  text-transform: none;
}
.product-card__body .name {
  font-size: 17px; font-weight: 700; letter-spacing: -0.01em;
}
.product-card__body .meta {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 10px;
  font-size: 11px; color: var(--text-soft);
}
.product-card__body .meta span {
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 999px;
}
.product-card__footer {
  margin-top: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.product-card__footer .price { font-weight: 700; font-size: 15px; }
.product-card__footer .price .from {
  font-weight: 500; font-size: 11px; color: var(--text-soft); margin-inline-end: 4px;
}
.product-card__footer .quote-cta {
  font-size: 12px; font-weight: 700; color: var(--lime-700);
  display: inline-flex; align-items: center; gap: 4px;
}
[data-theme="dark"] .product-card__footer .quote-cta { color: var(--lime-400); }

/* product card minimal style */
.product-card.style-min { border: none; background: transparent; border-radius: 0; }
.product-card.style-min .product-card__media { border-radius: var(--radius); }
.product-card.style-min:hover { box-shadow: none; }
.product-card.style-min .product-card__body { padding: 14px 0 0; }

/* ============================================================
   Stats band
   ============================================================ */
.stats-band {
  background: var(--green-1000);
  color: #fff;
  border-radius: 0;
}
.stats-band .container {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 28px;
  align-items: end;
  padding-top: 36px; padding-bottom: 36px;
}
.stats-band h2 { color: #fff; font-size: 26px; line-height: 1.05; }
.stats-band__item .num {
  font-size: 36px; font-weight: 800; letter-spacing: -0.04em;
  color: var(--lime-400);
  line-height: 1;
}
.stats-band__item .lbl {
  margin-top: 4px; font-size: 10.5px; color: rgba(255,255,255,.7);
  text-transform: uppercase; letter-spacing: .1em;
}

/* ============================================================
   Projects (case studies)
   ============================================================ */
.projects {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.project {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  position: relative;
  aspect-ratio: 16/11;
}
.project img { width:100%; height:100%; object-fit: cover; transition: transform .5s; }
.project:hover img { transform: scale(1.04); }
.project__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(3,37,28,.9));
  display: flex; flex-direction: column; justify-content: end;
  padding: 28px;
  color: #fff;
}
.project__loc { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.project__title { font-size: 26px; font-weight: 800; margin-top: 6px; color: #fff; }
.project__meta { display: flex; gap: 18px; margin-top: 14px; font-size: 12px; opacity: .9; }
.project__meta span::before { content: "·"; margin-inline-end: 8px; }
.project__meta span:first-child::before { content: ""; margin: 0; }

/* ============================================================
   Certifications
   ============================================================ */
.certs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 32px;
}
.cert {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--surface);
  display: flex; flex-direction: column; gap: 8px;
}
.cert__icon {
  width: 38px; height: 38px; border-radius: 8px;
  background: color-mix(in oklab, var(--accent) 22%, transparent);
  display: grid; place-items: center;
  color: var(--green-800);
  margin-bottom: 6px;
}
[data-theme="dark"] .cert__icon { color: var(--lime-300); }
.cert h4 { font-size: 15px; font-weight: 700; }
.cert p { font-size: 12px; color: var(--text-soft); }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: var(--green-1000);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle at center, color-mix(in oklab, var(--lime-500) 40%, transparent), transparent 70%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; max-width: 580px; }
.cta-band p { color: rgba(255,255,255,.7); margin-top: 12px; max-width: 460px; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--green-1000);
  color: rgba(255,255,255,.7);
  padding: 80px 0 40px;
  margin-top: 0;
}
.footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; }
.footer h5 { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer ul a:hover { color: var(--lime-400); }
.footer__brand img { height: 40px; margin-bottom: 18px; }
.footer__brand p { max-width: 320px; font-size: 14px; }
.footer__bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
}

/* ============================================================
   Products listing page
   ============================================================ */
.page-head {
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--border);
}
.page-head .crumbs {
  font-size: 12px; color: var(--text-soft); text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: 18px;
  display: flex; gap: 8px; align-items: center;
}
.page-head h1 { font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.03em; }
.page-head__lede { max-width: 600px; color: var(--text-soft); margin-top: 18px; font-size: 17px; }

.product-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 83px; z-index: 10;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(8px);
}
.chip-row { display:flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border);
  font-size: 13px; font-weight: 500;
  color: var(--text-soft);
  display: inline-flex; align-items: center; gap: 8px;
}
.chip:hover { color: var(--text); }
.chip.is-active { background: var(--green-1000); color: #fff; border-color: var(--green-1000); }
[data-theme="dark"] .chip.is-active { background: var(--lime-500); color: var(--green-1000); border-color: var(--lime-500); }
.chip .count { opacity: .6; font-weight: 600; }
.chip.is-active .count { opacity: .7; }

.search-input {
  position: relative;
}
.search-input input {
  width: 280px;
  padding: 10px 14px 10px 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit; font-size: 13px;
  outline: none;
  transition: border-color .2s;
}
.search-input input:focus { border-color: var(--lime-500); }
.search-input svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-soft); }

.results-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0;
  color: var(--text-soft); font-size: 13px;
}
.results-bar select {
  border: 1px solid var(--border);
  background: var(--surface); color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: inherit; font-size: 13px;
}

/* ============================================================
   Product Detail
   ============================================================ */
.pd-layout {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px;
  padding: 48px 0 80px;
}
.pd-gallery { position: relative; }
.pd-gallery__main {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
}
.pd-gallery__main img { width:100%; height:100%; object-fit: cover; }
.pd-gallery__thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-top: 12px;
}
.pd-gallery__thumb {
  aspect-ratio: 1/1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-2);
  border: 2px solid transparent;
  cursor: pointer; padding: 0;
}
.pd-gallery__thumb.is-active { border-color: var(--lime-500); }
.pd-gallery__thumb img { width:100%; height:100%; object-fit: cover; }

.pd-info .crumbs { font-size: 12px; color: var(--text-soft); margin-bottom: 18px; text-transform: uppercase; letter-spacing: .12em; }
.pd-info h1 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 6px; }
.pd-info .latin { font-style: italic; color: var(--text-soft); font-size: 17px; }
.pd-info .price-block {
  margin-top: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.pd-info .price-block .from { color: var(--text-soft); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.pd-info .price-block .price { font-size: 32px; font-weight: 800; }
.pd-info .price-block .unit { font-size: 13px; color: var(--text-soft); }
.pd-info .moq { font-size: 13px; color: var(--text-soft); margin-top: 4px; }

.spec-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px;
  margin-top: 28px;
}
.spec-grid > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.spec-grid > div .lbl { color: var(--text-soft); font-size: 13px; }
.spec-grid > div .val { font-weight: 700; font-size: 14px; }

.pd-actions { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }

.qty-stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.qty-stepper button {
  width: 38px; height: 38px;
  border: none; background: transparent; color: var(--text);
  font-size: 16px;
}
.qty-stepper button:hover { background: color-mix(in oklab, var(--text) 6%, transparent); }
.qty-stepper input {
  width: 60px; border: none; background: transparent; color: var(--text);
  text-align: center; font-family: inherit; font-weight: 700; font-size: 14px;
  outline: none;
}

.pd-tabs {
  margin-top: 36px;
  display: flex; gap: 22px;
  border-bottom: 1px solid var(--border);
}
.pd-tabs button {
  border: none; background: transparent;
  padding: 14px 0; font-size: 14px; font-weight: 600;
  color: var(--text-soft);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.pd-tabs button.is-active { color: var(--text); border-bottom-color: var(--lime-500); }
.pd-tab-body { padding-top: 22px; font-size: 15px; color: var(--text-soft); line-height: 1.65; }
.pd-tab-body p + p { margin-top: 14px; }

/* ============================================================
   Contact page
   ============================================================ */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px;
  padding: 64px 0 var(--pad-section);
}
.contact-side h1 { font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.03em; margin-bottom: 18px; }
.contact-side__lede { font-size: 17px; color: var(--text-soft); margin-bottom: 36px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info__item {
  display: flex; gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.contact-info__item:last-child { border-bottom: 1px solid var(--border); }
.contact-info__item .ic {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--brand-soft); color: var(--green-900);
  display: grid; place-items: center;
}
[data-theme="dark"] .contact-info__item .ic { color: var(--lime-400); }
.contact-info__item h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--text-soft); margin-bottom: 4px; font-weight: 600; }
.contact-info__item p { font-size: 15px; font-weight: 600; }
.contact-info__item small { font-size: 12px; color: var(--text-soft); font-weight: 400; display: block; margin-top: 2px; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-form h3 { font-size: 22px; margin-bottom: 6px; }
.contact-form__sub { color: var(--text-soft); font-size: 14px; margin-bottom: 28px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; color: var(--text-soft); }
.field input, .field select, .field textarea {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  padding: 13px 14px;
  border-radius: 10px;
  font-family: inherit; font-size: 14px;
  outline: none;
  transition: border-color .15s, background .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--lime-500);
  background: var(--surface);
}
.field textarea { min-height: 130px; resize: vertical; }
.field--error input, .field--error select, .field--error textarea { border-color: #c0463a; }
.field__err { color: #c0463a; font-size: 12px; }

.buyer-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.buyer-row label {
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  font-size: 12px; font-weight: 600;
  color: var(--text-soft);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: border-color .2s, background .2s, color .2s;
}
.buyer-row input { position: absolute; opacity: 0; pointer-events: none; }
.buyer-row label:hover { color: var(--text); }
.buyer-row input:checked + span {
  /* visually treated on parent via :has */
}
.buyer-row label:has(input:checked) {
  border-color: var(--green-1000);
  background: var(--green-1000);
  color: #fff;
}
[data-theme="dark"] .buyer-row label:has(input:checked) {
  background: var(--lime-500); border-color: var(--lime-500); color: var(--green-1000);
}

.form-submit-row {
  margin-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.form-submit-row small { font-size: 12px; color: var(--text-soft); max-width: 280px; }

.success-state {
  text-align: center; padding: 40px 20px;
}
.success-state .check {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--lime-500); color: var(--green-1000);
  display: grid; place-items: center; margin: 0 auto 18px;
}

/* ============================================================
   Modal
   ============================================================ */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(3,37,28,.5);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: grid; place-items: center;
  animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 520px;
  width: calc(100% - 32px);
  position: relative;
  animation: pop .25s cubic-bezier(.2,.8,.2,1);
}
@keyframes pop { from { transform: translateY(8px) scale(.97); opacity:0; } to { transform: none; opacity: 1; } }
.modal__close {
  position: absolute; right: 16px; top: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  border: none; background: transparent; color: var(--text-soft); font-size: 18px;
}
.modal__close:hover { background: color-mix(in oklab, var(--text) 8%, transparent); }

/* ============================================================
   RTL support
   ============================================================ */
[dir="rtl"] .strip__track { animation-direction: reverse; }
[dir="rtl"] .btn .arrow svg { transform: scaleX(-1); }
[dir="rtl"] .hero__title em { /* still inline */ }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero--split .hero__grid,
  .feature-row,
  .contact-layout,
  .pd-layout { grid-template-columns: 1fr; gap: 32px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .stats-band .container { grid-template-columns: auto 1fr 1fr 1fr 1fr; gap: 18px; padding-top: 28px; padding-bottom: 28px; }
  .stats-band h2 { font-size: 20px; }
  .stats-band__item .num { font-size: 28px; }
  .stats-band__item .lbl { font-size: 9.5px; }
  .footer .container { grid-template-columns: 1fr 1fr; }
  .projects { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: start; padding: 40px; }
  .site-header__nav { display: none; }
}
@media (max-width: 640px){
  .hero--catalog .hero__catalog-grid { grid-template-columns: 1fr 1fr; height: auto; }
  .hero--catalog .hero__catalog-cell { aspect-ratio: 1/1; }
  .buyer-row { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer .container { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .cta-band { padding: 32px; }
}

/* Subtle entrance */
.fade-in { animation: fadeIn .5s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ============================================================
   IDENTITY SYSTEM — leaf mark, rotating stamp, vertical rail
   ============================================================ */

/* Rotating circular badge — "Yalova · est 2024 · field grown" */
.brand-stamp {
  width: 140px; height: 140px;
  position: relative;
  display: inline-grid; place-items: center;
}
.brand-stamp__ring {
  position: absolute; inset: 0;
  animation: spin 26s linear infinite;
}
.brand-stamp__ring text {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  fill: currentColor;
}
.brand-stamp__core {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--lime-500);
  display: grid; place-items: center;
  color: var(--green-1000);
}
.brand-stamp--lg { width: 200px; height: 200px; }
.brand-stamp--lg .brand-stamp__core { width: 88px; height: 88px; }
.brand-stamp--lg .brand-stamp__ring text { font-size: 13px; letter-spacing: .3em; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Leaf-mark watermark — uses our brand mark as a decorative element */
.mark-watermark {
  position: absolute;
  pointer-events: none;
  opacity: .06;
  z-index: 0;
}
[data-theme="dark"] .mark-watermark { opacity: .08; }
.mark-watermark svg { width: 100%; height: 100%; display: block; }

/* Vertical brand rail — like the brand guidelines social media templates */
.brand-rail {
  position: absolute;
  top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
  z-index: 1;
}
.brand-rail--left  { left: 18px; }
.brand-rail--right { right: 18px; transform: translateY(-50%) rotate(90deg); }

/* Field-note: editorial caption */
.field-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--text-soft);
  border-inline-start: 2px solid var(--lime-500);
  padding-inline-start: 14px;
  max-width: 320px;
}
[lang="ar"] .field-note, [dir="rtl"] .field-note { font-family: var(--font-ar); font-style: normal; }

/* Marker — oversized lime numeral used for editorial section starts */
.marker {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 80px;
  line-height: 1;
  color: var(--lime-500);
  letter-spacing: -0.04em;
}

/* Specimen card — editorial variant */
.specimen-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  text-align: start;
}
.specimen-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: color-mix(in oklab, var(--lime-500) 40%, var(--border)); }
.specimen-card__media {
  aspect-ratio: 4/5;
  background: var(--surface-2);
  position: relative; overflow: hidden;
}
.specimen-card__media img { width:100%; height:100%; object-fit: cover; transition: transform .6s; }
.specimen-card:hover .specimen-card__media img { transform: scale(1.05); }
.specimen-card__idx {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  background: rgba(255,255,255,.94);
  color: var(--green-1000);
  padding: 4px 10px;
  border-radius: 999px;
}
.specimen-card__tag {
  position: absolute; top: 14px; right: 14px;
  background: var(--lime-500); color: var(--green-1000);
  padding: 5px 10px; border-radius: 999px;
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.specimen-card__body {
  padding: 20px 22px 22px;
}
.specimen-card__latin {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 2px;
}
.specimen-card__name {
  font-size: 13px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  margin-bottom: 16px;
}
.specimen-card__row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-soft);
}
.specimen-card__price {
  font-family: var(--font-sans);
  font-size: 20px; font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.specimen-card__price small {
  font-size: 11px; font-weight: 500; color: var(--text-soft);
  margin-inline-end: 4px; letter-spacing: 0;
}

/* Editorial section start */
.editorial-start {
  display: grid; grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 56px;
}
.editorial-start__num { font-size: 96px; }
.editorial-start__body { padding-top: 20px; max-width: 720px; }
.editorial-start__body p { margin-top: 14px; color: var(--text-soft); font-size: 17px; max-width: 600px; }

/* Hero — editorial variant with massive type + mark watermark */
.hero--edit {
  position: relative;
  padding: clamp(48px, 5vw, 84px) 0 var(--pad-section);
  overflow: hidden;
}
.hero--edit .container { position: relative; z-index: 1; }
.hero--edit .hero__title-mega {
  font-size: clamp(64px, 11vw, 180px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: .9;
  margin-top: 28px;
}
.hero--edit .hero__title-mega .serif-em { display: inline-block; }
.hero--edit .hero__bottom {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 56px;
  align-items: end;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero--edit .hero__bottom-l { max-width: 460px; color: var(--text-soft); font-size: 17px; line-height: 1.55; }
.hero--edit .hero__bottom-r { display: flex; gap: 12px; justify-content: end; flex-wrap: wrap; }
.hero--edit .hero__bg-mark {
  position: absolute;
  right: -6%; top: 8%;
  width: 56vw; max-width: 900px; height: auto;
  opacity: .045;
  z-index: 0;
}
[data-theme="dark"] .hero--edit .hero__bg-mark { opacity: .08; }

/* Featured "specimen of the season" — big editorial card */
.feature-specimen {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
}
.feature-specimen__media {
  aspect-ratio: 4/5;
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
}
.feature-specimen__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-specimen__media .idx {
  position: absolute; top: 22px; left: 22px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.feature-specimen__body {
  padding: 56px;
  display: flex; flex-direction: column;
  justify-content: center;
}
.feature-specimen__body .eyebrow { margin-bottom: 24px; }
.feature-specimen__body h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 4.5vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.feature-specimen__body .common {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 600;
}
.feature-specimen__body p {
  margin-top: 24px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.6;
  max-width: 460px;
}
.feature-specimen__data {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  max-width: 460px;
}
.feature-specimen__data div { display: flex; flex-direction: column; gap: 2px; }
.feature-specimen__data .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--text-soft); font-weight: 600; }
.feature-specimen__data .val { font-size: 16px; font-weight: 700; }
.feature-specimen__cta { margin-top: 32px; }

/* Stats band — supercharged with mark watermark + lime numerals */
.stats-band { position: relative; overflow: hidden; }
.stats-band__mark {
  position: absolute; right: -90px; bottom: -110px;
  width: 320px; height: 320px;
  opacity: .04;
  z-index: 0;
}
.stats-band .container { position: relative; z-index: 1; }
.stats-band__item .num { font-family: var(--font-sans); }

/* Replace plain stats num color for more drama */

/* Section transitions — alternate variant with kicker text */
.kicker-bar {
  background: var(--lime-500);
  color: var(--green-1000);
  padding: 18px 0;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  overflow: hidden;
}
.kicker-bar__track {
  display: flex; gap: 48px;
  animation: marquee 28s linear infinite;
  width: max-content;
  white-space: nowrap;
}
.kicker-bar__item {
  display: inline-flex; align-items: center; gap: 16px;
}
.kicker-bar__item .leaf {
  width: 16px; height: 16px;
  flex: 0 0 16px;
}

/* CTA band — bigger, with stamp + watermark */
.cta-band { padding: 80px 64px; }
.cta-band__mark {
  position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
  width: 460px; height: 460px;
  opacity: .08;
  pointer-events: none;
}
.cta-band h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* Page-head treatments — slimmer, more editorial */
.page-head { padding: 88px 0 40px; position: relative; overflow: hidden; }
.page-head h1 { letter-spacing: -0.035em; }
.page-head__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 84px;
  color: var(--lime-500);
  line-height: 1;
  position: absolute;
  right: 32px;
  top: 64px;
}
[dir="rtl"] .page-head__num { right: auto; left: 32px; }

/* Product card — apply identity refinements globally to existing card too */
.product-card__body .latin {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--text);
  letter-spacing: 0;
  text-transform: none;
}
.product-card__body .name {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  color: var(--text-soft);
  margin-top: 4px;
}

@media (max-width: 980px) {
  .feature-specimen { grid-template-columns: 1fr; }
  .feature-specimen__body { padding: 36px; }
  .hero--edit .hero__bottom { grid-template-columns: 1fr; gap: 24px; }
  .editorial-start { grid-template-columns: 1fr; gap: 12px; }
  .editorial-start__num { font-size: 64px; }
  .brand-rail { display: none; }
}

/* ============================================================
   WhatsApp FAB + popover
   ============================================================ */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  border: none;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0,0,0,.15);
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.wa-fab:hover { transform: scale(1.06); box-shadow: 0 14px 36px rgba(37, 211, 102, 0.5); }
.wa-fab svg { position: relative; z-index: 1; }
.wa-fab__pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);    opacity: .55; }
  100% { transform: scale(1.7);  opacity: 0;   }
}
[dir="rtl"] .wa-fab { right: auto; left: 24px; }

.wa-card {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 320px;
  z-index: 91;
  background: var(--surface);
  color: var(--text);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
  border: 1px solid var(--border);
  overflow: hidden;
  animation: wa-in .25s cubic-bezier(.2,.8,.2,1);
}
[dir="rtl"] .wa-card { right: auto; left: 24px; }
@keyframes wa-in {
  from { transform: translateY(8px) scale(.97); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.wa-card__head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px;
  background: #075e54;
  color: #fff;
}
.wa-card__head strong { display: block; font-size: 14px; font-weight: 700; }
.wa-card__head small { font-size: 11px; opacity: .8; }
.wa-card__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  flex: 0 0 36px;
}
.wa-card__x {
  margin-inline-start: auto;
  background: rgba(255,255,255,.18);
  border: none; color: #fff;
  width: 24px; height: 24px;
  border-radius: 50%;
  font-size: 16px; line-height: 1;
  cursor: pointer;
}
.wa-card__msg {
  padding: 18px 16px;
  font-size: 13px;
  color: var(--text);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.wa-card__cta {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px;
  background: #25D366;
  color: #fff !important;
  font-weight: 700; font-size: 14px;
  justify-content: center;
}
.wa-card__cta:hover { background: #1ebe5d; }

/* ============================================================
   Home contact strip — slim form embedded in homepage
   ============================================================ */
.home-contact {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  align-items: start;
  position: relative;
  overflow: hidden;
}
.home-contact__bg {
  position: absolute;
  right: -120px; top: 50%; transform: translateY(-50%);
  width: 380px; height: 380px;
  opacity: .045;
  pointer-events: none;
}
[dir="rtl"] .home-contact__bg { right: auto; left: -120px; }
.home-contact__left { position: relative; z-index: 1; }
.home-contact__left h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 48px);
  margin-bottom: 14px;
}
[lang="ar"] .home-contact__left h2, [dir="rtl"] .home-contact__left h2 { font-family: var(--font-ar); font-style: normal; font-weight: 700; }
.home-contact__left p { color: var(--text-soft); font-size: 16px; max-width: 380px; }
.home-contact__channels {
  margin-top: 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.home-contact__chan {
  display: flex; gap: 14px; align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.home-contact__chan:last-child { border-bottom: 1px solid var(--border); }
.home-contact__chan .ic {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  flex: 0 0 38px;
}
.home-contact__chan strong { display: block; font-size: 14px; font-weight: 700; }
.home-contact__chan small { font-size: 12px; color: var(--text-soft); }
.home-contact__chan.wa .ic { background: #25D36622; color: #25D366; }
.home-contact__chan.mail .ic { background: var(--brand-soft); color: var(--green-900); }
[data-theme="dark"] .home-contact__chan.mail .ic { color: var(--lime-400); }
.home-contact__chan.phone .ic { background: color-mix(in oklab, var(--accent) 22%, transparent); color: var(--green-900); }
[data-theme="dark"] .home-contact__chan.phone .ic { color: var(--lime-300); }

.home-contact__form { position: relative; z-index: 1; }

@media (max-width: 980px) {
  .home-contact { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
  .home-contact__bg { display: none; }
}

/* ============================================================
   Phone input with country dial-code dropdown
   ============================================================ */
.phone-input {
  position: relative;
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 10px;
  overflow: visible;
  transition: border-color .15s, background .15s;
}
.phone-input:focus-within { border-color: var(--lime-500); background: var(--surface); }
.phone-input--error { border-color: #c0463a; }

.phone-input__cc {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-inline-end: 1px solid var(--border);
  font-family: inherit; font-size: 14px; font-weight: 600;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  border-radius: 10px 0 0 10px;
}
[dir="rtl"] .phone-input__cc { border-radius: 0 10px 10px 0; }
.phone-input__cc:hover { background: color-mix(in oklab, var(--text) 4%, transparent); }
.phone-input__cc .flag { font-size: 16px; line-height: 1; font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif; }
.phone-input__cc .dial { color: var(--text-soft); font-weight: 600; font-variant-numeric: tabular-nums; }

.phone-input__num {
  flex: 1; min-width: 0;
  border: none !important;
  background: transparent !important;
  padding: 13px 14px;
  color: var(--text);
  font-family: inherit; font-size: 14px;
  outline: none;
}

.phone-input__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 340px;
  max-width: calc(100vw - 32px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
  z-index: 60;
  overflow: hidden;
  display: flex; flex-direction: column;
  animation: ccPop .15s ease;
}
[dir="rtl"] .phone-input__menu { left: auto; right: 0; }
@keyframes ccPop { from { transform: translateY(-4px); opacity: 0; } to { transform: none; opacity: 1; } }

.phone-input__search {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
}
.phone-input__search input {
  flex: 1; min-width: 0;
  border: none !important;
  background: transparent !important;
  font-family: inherit; font-size: 13px;
  color: var(--text);
  padding: 4px 0;
  outline: none;
}

.phone-input__list {
  max-height: 280px;
  overflow-y: auto;
  padding: 4px;
}
.phone-input__list::-webkit-scrollbar { width: 8px; }
.phone-input__list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.phone-input__row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: none;
  background: transparent;
  text-align: start;
  font-family: inherit; font-size: 13px;
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
}
.phone-input__row:hover { background: color-mix(in oklab, var(--text) 5%, transparent); }
.phone-input__row.is-active { background: color-mix(in oklab, var(--lime-500) 18%, transparent); }
.phone-input__row .flag { font-size: 16px; line-height: 1; font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif; }
.phone-input__row .name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-input__row .dial {
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 12px;
}

.phone-input__empty {
  padding: 24px 16px;
  text-align: center;
  color: var(--text-soft);
  font-size: 13px;
}

.phone-input__hint {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 11px;
  background: var(--surface-2);
}

/* ============================================================
   Method-pill toggle (Email / WhatsApp / Both)
   ============================================================ */
.method-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 4px;
  background: var(--surface-2);
  border-radius: 12px;
  border: 1px solid var(--border);
}
.method-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 8px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s;
}
.method-pill:hover { color: var(--text); }
.method-pill.is-active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.method-pill svg { flex: 0 0 14px; }

/* ============================================================
   BLOG page — feature + grid
   ============================================================ */
.blog-feature {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-1000);
  color: #fff;
  margin-bottom: 56px;
}
.blog-feature__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.blog-feature__media img {
  width:100%; height:100%; object-fit: cover;
  transition: transform .6s;
}
.blog-feature:hover .blog-feature__media img { transform: scale(1.04); }
.blog-feature__body {
  padding: 56px;
  display: flex; flex-direction: column; justify-content: center;
}
.blog-feature__cat {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700;
  color: var(--lime-400);
  display: inline-flex; align-items: center; gap: 8px;
}
.blog-feature__cat::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime-400);
}
.blog-feature__title {
  margin-top: 18px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}
[dir="rtl"] .blog-feature__title, [lang="ar"] .blog-feature__title {
  font-family: var(--font-ar); font-style: normal; font-weight: 800;
}
.blog-feature__excerpt {
  margin-top: 18px;
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.6;
  max-width: 480px;
}
.blog-feature__meta {
  display: flex; gap: 18px; align-items: center;
  margin-top: 28px;
  font-size: 12px; color: rgba(255,255,255,.6);
  text-transform: uppercase; letter-spacing: .1em;
}
.blog-feature__cta { margin-top: 28px; align-self: start; }

.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px;
}
.blog-card {
  display: flex; flex-direction: column;
  text-align: start;
  cursor: pointer;
}
.blog-card__media {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: 18px;
}
.blog-card__media img { width:100%; height:100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .blog-card__media img { transform: scale(1.05); }
.blog-card__cat {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700;
  color: var(--lime-700);
  margin-bottom: 8px;
}
[data-theme="dark"] .blog-card__cat { color: var(--lime-400); }
.blog-card__title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  text-wrap: balance;
  color: var(--text);
  margin-bottom: 10px;
}
.blog-card__excerpt {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 14px;
}
.blog-card__meta {
  display: flex; gap: 14px;
  margin-top: auto;
  font-size: 11px; color: var(--text-soft);
  text-transform: uppercase; letter-spacing: .1em;
}

@media (max-width: 560px){
  .stats-band .container { grid-template-columns: 1fr 1fr; gap: 16px 24px; padding-top: 28px; padding-bottom: 28px; }
  .stats-band h2 { font-size: 22px; grid-column: 1 / -1; }
  .stats-band__item .num { font-size: 30px; }
  .stats-band__item .lbl { font-size: 10px; }
}
@media (max-width: 1100px){ .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px){
  .blog-feature { grid-template-columns: 1fr; }
  .blog-feature__body { padding: 36px; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQ page — accordion
   ============================================================ */
.faq-layout {
  display: grid; grid-template-columns: 280px 1fr; gap: 64px;
  padding: 64px 0 var(--pad-section);
}
.faq-side { position: sticky; top: 120px; align-self: start; }
.faq-side__group { display: flex; flex-direction: column; gap: 4px; }
.faq-side__group button {
  text-align: start;
  padding: 12px 18px;
  border: none; background: transparent;
  border-inline-start: 2px solid transparent;
  font-family: inherit; font-size: 14px; font-weight: 500;
  color: var(--text-soft);
  cursor: pointer; transition: color .15s, border-color .15s, background .15s;
}
.faq-side__group button:hover { color: var(--text); }
.faq-side__group button.is-active {
  color: var(--text);
  border-inline-start-color: var(--lime-500);
  font-weight: 700;
  background: color-mix(in oklab, var(--lime-500) 8%, transparent);
}
.faq-side__help {
  margin-top: 32px;
  padding: 22px;
  background: var(--surface-2);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-soft);
}
.faq-side__help strong { display: block; color: var(--text); font-size: 14px; margin-bottom: 6px; }

.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item__btn {
  width: 100%; text-align: start;
  display: flex; justify-content: space-between; align-items: start;
  gap: 24px;
  padding: 22px 0;
  background: transparent; border: none;
  color: var(--text);
  font-family: inherit; font-size: 18px; font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.faq-item__btn:hover { color: var(--lime-700); }
[data-theme="dark"] .faq-item__btn:hover { color: var(--lime-400); }
.faq-item__btn .chev {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  transition: transform .25s, background .2s, border-color .2s;
}
.faq-item.is-open .faq-item__btn .chev {
  transform: rotate(180deg);
  background: var(--lime-500);
  border-color: var(--lime-500);
  color: var(--green-1000);
}
.faq-item__body {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.is-open .faq-item__body {
  max-height: 500px;
  padding-bottom: 22px;
}
.faq-item__body p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
  max-width: 700px;
}

@media (max-width: 980px){
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-side { position: static; }
  .faq-side__group { flex-direction: row; flex-wrap: wrap; }
  .faq-side__group button { border-inline-start: none; border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; }
  .faq-side__group button.is-active { border-color: var(--green-1000); background: var(--green-1000); color: #fff; }
}

/* ============================================================
   Privacy / Legal page
   ============================================================ */
.legal-layout {
  display: grid; grid-template-columns: 260px 1fr; gap: 80px;
  padding: 64px 0 var(--pad-section);
}
.legal-side { position: sticky; top: 120px; align-self: start; }
.legal-side h5 {
  font-size: 11px; text-transform: uppercase; letter-spacing: .14em;
  color: var(--text-soft); font-weight: 600;
  margin: 0 0 12px;
}
.legal-side ol {
  list-style: none; counter-reset: legal; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.legal-side ol li { counter-increment: legal; }
.legal-side ol a {
  display: flex; align-items: start; gap: 10px;
  padding: 10px 0;
  font-size: 13px; color: var(--text-soft);
  border-top: 1px solid var(--border);
}
.legal-side ol a::before {
  content: counter(legal, decimal-leading-zero);
  font-family: var(--font-serif); font-style: italic;
  color: var(--lime-600);
  font-size: 13px;
  flex: 0 0 22px;
}
[data-theme="dark"] .legal-side ol a::before { color: var(--lime-400); }
.legal-side ol a:hover { color: var(--text); }

.legal-body {
  max-width: 780px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-soft);
}
.legal-body h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin: 48px 0 14px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  display: flex; align-items: baseline; gap: 14px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h2 .num {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  color: var(--lime-600);
  font-size: 18px;
  flex: 0 0 32px;
}
[data-theme="dark"] .legal-body h2 .num { color: var(--lime-400); }
.legal-body p { margin: 0 0 16px; }
.legal-body ul {
  margin: 0 0 20px 22px;
  padding: 0;
}
.legal-body ul li { margin-bottom: 8px; }
.legal-body strong { color: var(--text); font-weight: 700; }
.legal-meta {
  margin: 0 0 48px;
  padding: 18px 22px;
  background: var(--surface-2);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-soft);
  display: flex; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.legal-meta strong { display: block; color: var(--text); }

@media (max-width: 980px){
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-side { position: static; }
}

/* Footer 5-col when we add Legal */
.footer.footer--5 .container { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
@media (max-width: 980px) {
  .footer.footer--5 .container { grid-template-columns: 1fr 1fr; }
}
