/* ============================================================
   YaBalash - Design System
   Delivery operations, fully managed. Abu Dhabi, UAE.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --green:        #3AAA35;   /* brand mark green */
  --green-bright: #46C13F;
  --green-700:    #2C8A2A;
  --green-800:    #1E6A1E;
  --green-soft:   #EAF6E9;   /* tint on light surfaces */

  /* Neutrals */
  --ink:        #0C140E;     /* near-black, dark surfaces + headings */
  --ink-panel:  #13201A;     /* raised dark panel */
  --ink-line:   rgba(255,255,255,.14);
  --paper:      #FAFAF6;     /* warm page background */
  --surface:    #FFFFFF;
  --text:       #16221B;     /* body on light */
  --muted:      #5B6A60;     /* secondary on light */
  --muted-2:    #7E8B83;
  --line:       rgba(12,20,14,.12);
  --line-strong:rgba(12,20,14,.18);
  --on-dark:        #FFFFFF;
  --on-dark-muted:  rgba(255,255,255,.68);
  --on-dark-faint:  rgba(255,255,255,.42);

  /* Type */
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-eyebrow: .78rem;
  --fs-body:    1.0625rem;
  --fs-lead:    clamp(1.15rem, 1rem + .7vw, 1.4rem);
  --fs-h3:      clamp(1.25rem, 1.05rem + .8vw, 1.6rem);
  --fs-h2:      clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  --fs-h1:      clamp(2.5rem, 1.6rem + 4.2vw, 4.6rem);
  --fs-display: clamp(2.7rem, 1.4rem + 5.6vw, 5.6rem);

  /* Layout */
  --maxw: 1200px;
  --maxw-narrow: 760px;
  --gutter: clamp(1.1rem, 5vw, 3rem);
  --section-y: clamp(4rem, 8vw, 7.5rem);

  /* Shape */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --pill: 999px;

  --shadow-sm: 0 1px 2px rgba(12,20,14,.06), 0 2px 8px rgba(12,20,14,.05);
  --shadow-md: 0 10px 30px rgba(12,20,14,.08), 0 2px 8px rgba(12,20,14,.04);
  --shadow-lg: 0 24px 60px rgba(12,20,14,.14);
  --shadow-green: 0 14px 34px rgba(58,170,53,.30);

  --ease: cubic-bezier(.22,.61,.36,1);
  --t-fast: .18s var(--ease);
  --t: .32s var(--ease);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--green); color: #fff; }

/* ---------- Typography ---------- */
h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--ink);
}
.h1 { font-size: var(--fs-h1); }
.display { font-size: var(--fs-display); font-weight: 800; line-height: 1.0; }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); letter-spacing: -.01em; }
p { text-wrap: pretty; }
.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.55; }
strong { font-weight: 650; color: var(--text); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-700);
}
.on-ink .eyebrow { color: var(--green-bright); }

.text-green { color: var(--green); }
.on-ink .text-green { color: var(--green-bright); }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.narrow { max-width: var(--maxw-narrow); }
.center { text-align: center; margin-inline: auto; }
.stack > * + * { margin-top: 1.1rem; }
.section-head { max-width: 720px; margin-bottom: clamp(2.2rem,4vw,3.4rem); }
.section-head.center { margin-inline: auto; }
.section-head .lead { margin-top: 1rem; }

.on-ink { background: var(--ink); color: var(--on-dark); }
.on-ink h1,.on-ink h2,.on-ink h3,.on-ink h4 { color: var(--on-dark); }
.on-ink .lead { color: var(--on-dark-muted); }
.on-ink p { color: var(--on-dark-muted); }

/* checker rule - echoes the rider-box border motif */
.checker-rule {
  height: 8px;
  border-radius: 2px;
  background: repeating-linear-gradient(135deg, var(--green) 0 7px, transparent 7px 14px);
  opacity: .9;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--green);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
  gap: .6rem;
  padding: .92rem 1.5rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  border-radius: var(--pill);
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.btn svg { transition: transform var(--t); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-green); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-700); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; box-shadow: var(--shadow-lg); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-md); }

.on-ink .btn--ghost,
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.on-ink .btn--ghost:hover,
.hero .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--lg { padding: 1.08rem 1.9rem; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; color: var(--green-700);
}
.link-arrow svg { transition: transform var(--t); }
.link-arrow:hover svg { transform: translateX(4px); }
.on-ink .link-arrow { color: var(--green-bright); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- Location / map ---------- */
.info-list { display: grid; gap: 1.1rem; margin-top: 1.6rem; }
.info-list > div { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.info-list .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--green-soft); color: var(--green-800); display: grid; place-items: center; flex: none; }
.info-list .ic svg { width: 20px; height: 20px; }
.info-list .k { display: block; font-weight: 600; color: var(--text); font-size: .95rem; }
.info-list .v { display: block; color: var(--muted); font-size: .98rem; }
.info-list a { display: block; }
.info-list a:hover .k,
.info-list a:hover .v { color: var(--green-700); }

/* footer contact list with icons */
.footer-contact { display: grid; gap: .75rem; }
.footer-col .footer-contact a { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; color: var(--on-dark-muted); padding: 0; font-size: .96rem; }
.footer-col .footer-contact a:hover { color: #fff; }
.footer-contact svg { width: 18px; height: 18px; color: var(--green-bright); flex: none; margin-top: .15rem; }
.map-embed { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); aspect-ratio: 4 / 3.2; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 880px) { .map-embed { aspect-ratio: 16 / 11; } }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; flex: none; }
.brand img { height: 40px; width: auto; }
@media (max-width: 600px) { .brand img { height: 34px; } }
.nav-links {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-left: auto;
}
.nav-links a {
  padding: .55rem .8rem;
  border-radius: var(--pill);
  font-weight: 500;
  font-size: .98rem;
  color: var(--text);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-links a:hover { background: var(--green-soft); color: var(--green-800); }
.nav-links a[aria-current="page"] { color: var(--green-800); }
.nav-cta { margin-left: .5rem; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile drawer */
.mobile-nav { display: none; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav {
    display: block;
    position: fixed; inset: 0 0 0 auto;
    width: min(360px, 86vw);
    background: var(--surface);
    transform: translateX(100%);
    transition: transform var(--t);
    z-index: 200;
    padding: 1.25rem var(--gutter) 2rem;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }
  .mobile-nav.is-open { transform: translateX(0); }
  .scrim {
    position: fixed; inset: 0;
    background: rgba(8,14,10,.5);
    opacity: 0; visibility: hidden;
    transition: opacity var(--t), visibility var(--t);
    z-index: 150;
  }
  .scrim.is-open { opacity: 1; visibility: visible; }
}
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.mobile-nav a:not(.btn) { display: block; padding: .95rem .25rem; font-size: 1.15rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav a:not(.btn):last-of-type { border-bottom: 0; }
.mobile-nav .btn { margin-top: 1.4rem; }
.nav-close {
  width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink);
}
.nav-close svg { width: 22px; height: 22px; }

.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: .7rem 1.2rem; border-radius: var(--pill);
  z-index: 300; transition: top var(--t);
}
.skip-link:focus { top: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,14,10,.92) 0%, rgba(8,14,10,.78) 38%, rgba(8,14,10,.30) 70%, rgba(8,14,10,.12) 100%),
    linear-gradient(0deg, rgba(8,14,10,.85) 0%, rgba(8,14,10,0) 45%);
}
.hero-inner {
  padding-block: clamp(4.5rem, 11vw, 9rem);
  max-width: 760px;
}
.hero h1 { color: #fff; margin-top: 1.4rem; }
.hero .lead { color: rgba(255,255,255,.82); margin-top: 1.4rem; max-width: 600px; }
.hero .btn-row { margin-top: 2.2rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem;
  margin-top: 3rem; padding-top: 1.8rem;
  border-top: 1px solid var(--ink-line);
}
.hero-meta .stat-num { color: #fff; }
.hero-meta .stat-label { color: var(--on-dark-muted); }

/* ---------- Stats ---------- */
.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.1rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink);
}
.stat-num .unit { color: var(--green); }
.stat-label { font-size: .95rem; color: var(--muted); margin-top: .5rem; max-width: 22ch; }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 760px) { .stat-strip { grid-template-columns: repeat(2,1fr); gap: 2rem 1.2rem; } }

/* ---------- Logo / trust bar ---------- */
.partner-bar {
  display: flex; align-items: center; gap: 1.2rem 2rem; flex-wrap: wrap;
  padding: 1.4rem 0;
}
.partner-bar .label { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.4vw, 2rem);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--muted); font-size: 1rem; }
.on-ink .card {
  background: var(--ink-panel);
  border-color: var(--ink-line);
}
.on-ink .card p { color: var(--on-dark-muted); }

.icon-badge {
  width: 50px; height: 50px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green-800);
  margin-bottom: 1.2rem;
}
.icon-badge svg { width: 24px; height: 24px; }
.on-ink .icon-badge { background: rgba(70,193,63,.16); color: var(--green-bright); }

/* numbered list / steps */
.steps { counter-reset: step; display: grid; gap: 1.2rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start;
  padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
}
.step-num {
  counter-increment: step;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px; background: var(--ink); color: #fff;
}
.step-num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.18rem; margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: 1rem; }

/* feature list with ticks */
.ticks { display: grid; gap: .8rem; }
.ticks li { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; color: var(--text); }
.ticks svg { width: 22px; height: 22px; color: var(--green); margin-top: .15rem; flex: none; }
.on-ink .ticks li { color: var(--on-dark-muted); }
.on-ink .ticks svg { color: var(--green-bright); }

/* ---------- Split / media sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.8rem, 4vw, 4rem);
  align-items: center;
}
.split--media-left { grid-template-columns: 1fr 1.05fr; }
.split--media-left .split-media { order: -1; }
.split--form { grid-template-columns: 1.4fr .9fr; align-items: start; }
@media (max-width: 880px) {
  .split, .split--media-left, .split--form { grid-template-columns: 1fr; gap: 2rem; }
  .split--media-left .split-media { order: 0; }
}
.split-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.2; }
.media-tag {
  position: absolute; left: 1rem; bottom: 1rem;
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(8,14,10,.62);
  backdrop-filter: blur(6px);
  color: #fff; font-size: .82rem; font-weight: 500;
  padding: .5rem .85rem; border-radius: var(--pill);
  border: 1px solid rgba(255,255,255,.16);
}
.media-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); flex: none; }

.framed { position: relative; }

/* ---------- KEETA / partner logo chip ---------- */
.keeta-chip {
  display: inline-flex;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  line-height: 0;
}
.keeta-chip img { height: 48px; width: auto; display: block; }
.partner-lede {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin: 1.2rem 0 .2rem;
}
.partner-lede .label {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--on-dark-faint);
}
.partner-lede .keeta-chip img { height: 52px; }
/* keeta as a hero "stat" cell */
.hero-meta .keeta-cell { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.hero-meta .keeta-cell .keeta-chip { margin-bottom: .6rem; }
.hero-meta .keeta-cell .keeta-chip img { height: 60px; }
.hero-meta .keeta-cell .stat-label { max-width: none; white-space: nowrap; }

/* ---------- Partnership band ---------- */
.partner-quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 1rem + 1.8vw, 2.1rem);
  line-height: 1.28;
  letter-spacing: -.015em;
}
.partner-note {
  font-size: .92rem; color: var(--on-dark-faint); margin-top: 2rem;
  padding-top: 1.2rem; border-top: 1px solid var(--ink-line); max-width: 60ch;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(150px, 19vw, 240px);
  gap: .7rem;
}
.gallery > * {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  background: var(--ink-panel); display: block;
}
.gallery picture { position: absolute; inset: 0; display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery > *:hover img { transform: scale(1.04); }
.gallery .wide { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }
@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(140px, 38vw, 200px); }
  .gallery .wide { grid-column: span 2; }
  .gallery .tall { grid-row: span 1; }
}

/* ---------- Audience cards (big CTA pair) ---------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem,2.4vw,1.6rem); }
@media (max-width: 800px) { .audience { grid-template-columns: 1fr; } }
.audience-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  min-height: 360px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  color: #fff;
  isolation: isolate;
}
.audience-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.audience-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(8,14,10,.92) 8%, rgba(8,14,10,.45) 55%, rgba(8,14,10,.2) 100%);
}
.audience-card:hover img { transform: scale(1.04); }
.audience-card h3 { color: #fff; font-size: clamp(1.4rem,1.1rem+1vw,1.9rem); }
.audience-card p { color: rgba(255,255,255,.8); margin: .6rem 0 1.3rem; max-width: 42ch; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--green);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(2.2rem, 5vw, 4rem);
  position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); }
.cta-band .btn--dark { background: var(--ink); }
.cta-band .btn--light { background: #fff; color: var(--ink); }
.cta-band .btn--light:hover { background: var(--ink); color:#fff; }
.cta-band .checker-watermark {
  position: absolute; right: -40px; top: -40px; width: 280px; height: 280px;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.16) 0 14px, transparent 14px 28px);
  transform: rotate(8deg); pointer-events: none;
}

/* ---------- Forms ---------- */
.form-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.col-span-2 { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } .field.col-span-2 { grid-column: auto; } }
.field label,
.field-legend { font-weight: 600; font-size: .92rem; color: var(--text); padding: 0; margin-bottom: .15rem; }
.field .req { color: var(--green-700); }
.field .hint { font-size: .82rem; color: var(--muted-2); font-weight: 400; }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: .8rem .9rem;
  width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%235B6A60' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; padding-right: 2.4rem; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(58,170,53,.18);
}
.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
  border-color: #d0473b;
}
.field .error-msg { font-size: .82rem; color: #c0392b; min-height: 0; }

/* segmented radio / chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  position: relative;
}
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center;
  padding: .6rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  font-size: .95rem; font-weight: 500;
  transition: all var(--t-fast);
  background: #fff;
}
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.chip:hover span { border-color: var(--green); }

.field-note { font-size: .85rem; color: var(--muted); }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-aside-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
}
.form-aside-card h3 { color: #fff; }
.form-aside-card .ticks li { color: var(--on-dark-muted); }
.form-aside-card .ticks svg { color: var(--green-bright); }
.contact-list { display: grid; gap: 1rem; margin-top: 1.4rem; }
.contact-list a { display: flex; align-items: center; gap: .8rem; color: #fff; font-weight: 500; }
.contact-list .ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.1); display: grid; place-items: center; flex: none; }
.contact-list .ic svg { width: 19px; height: 19px; color: var(--green-bright); }
.contact-list .sub { display: block; font-size: .8rem; color: var(--on-dark-muted); font-weight: 400; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .7rem; max-width: 820px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  padding: 0 1.3rem; transition: border-color var(--t);
}
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 24px; height: 24px; position: relative; transition: transform var(--t); }
.faq summary .pm::before, .faq summary .pm::after { content:""; position:absolute; background: var(--green-700); border-radius: 2px; }
.faq summary .pm::before { top: 11px; left: 3px; right: 3px; height: 2px; }
.faq summary .pm::after { left: 11px; top: 3px; bottom: 3px; width: 2px; transition: opacity var(--t); }
.faq details[open] summary .pm::after { opacity: 0; }
.faq details p { color: var(--muted); padding-bottom: 1.2rem; max-width: 64ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand-word { color: #fff; }
.footer-brand p { color: var(--on-dark-muted); margin-top: 1rem; max-width: 34ch; font-size: .96rem; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 600; }
.footer-col a, .footer-col p { display: block; color: var(--on-dark-muted); padding: .3rem 0; font-size: .96rem; transition: color var(--t-fast); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--ink-line);
  font-size: .85rem; color: var(--on-dark-faint);
}
.footer-bottom a { color: var(--on-dark-muted); }
.footer-bottom a:hover { color:#fff; }

/* ---------- Reveal animation (progressive enhancement only) ---------- */
/* Content is always visible by default; hidden state applies only when JS is active */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .card--hover:hover, .audience-card:hover img, .gallery a:hover img { transform: none !important; }
}

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); border: 0; }
.badge-soft {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--green-soft); color: var(--green-800);
  padding: .4rem .85rem; border-radius: var(--pill); font-size: .85rem; font-weight: 600;
}
.on-ink .badge-soft { background: rgba(70,193,63,.16); color: var(--green-bright); }
.muted { color: var(--muted); }
.maxw-prose { max-width: 65ch; }
.mt-0{margin-top:0}.mt-1{margin-top:1rem}.mt-2{margin-top:2rem}.mt-3{margin-top:3rem}
.tag-list { display:flex; flex-wrap:wrap; gap:.5rem; }
.tag-list .badge-soft { background:#fff; border:1px solid var(--line); color: var(--text); font-weight:500; }
