/* =========================================================
   MENAB SYNERGY SYSTEM LTD — Global Stylesheet
   Modern, responsive, theme-aware design system
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette */
  --emerald-950: #062b22;
  --emerald-900: #0a3a2e;
  --emerald-800: #0e5240;
  --emerald-700: #0f6b52;
  --emerald-600: #12876a;
  --emerald-500: #16a37f;
  --emerald-400: #33bf98;
  --gold-600: #b8891f;
  --gold-500: #d1a54a;
  --gold-400: #e2bd6e;

  /* Neutrals */
  --ink-900: #0c1512;
  --ink-800: #16211d;
  --ink-700: #1f2c27;
  --slate-600: #4b5a54;
  --slate-500: #6b7a73;
  --slate-400: #94a39c;
  --line: #e3e8e5;
  --surface: #ffffff;
  --surface-2: #f5f8f6;
  --surface-3: #eef3f0;
  --bg: #f7faf8;
  --text: #14201b;
  --text-soft: #4f5e58;
  --text-inverse: #eef6f2;

  /* Semantic */
  --primary: var(--emerald-700);
  --primary-hover: var(--emerald-800);
  --accent: var(--gold-500);
  --accent-hover: var(--gold-600);

  /* Effects */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(6, 43, 34, .06), 0 1px 3px rgba(6, 43, 34, .08);
  --shadow: 0 8px 24px -8px rgba(6, 43, 34, .16);
  --shadow-lg: 0 24px 60px -20px rgba(6, 43, 34, .28);
  --ring: 0 0 0 4px rgba(18, 135, 106, .18);

  /* Typography */
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Sora", "Inter", system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --nav-h: 74px;
}

[data-theme="dark"] {
  --line: #24332d;
  --surface: #101b17;
  --surface-2: #14211c;
  --surface-3: #18261f;
  --bg: #0a120f;
  --text: #e8f1ec;
  --text-soft: #a6b6ad;
  --text-inverse: #eef6f2;
  --primary: var(--emerald-500);
  --primary-hover: var(--emerald-400);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 70px -25px rgba(0, 0, 0, .7);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.grid { display: grid; gap: clamp(1.1rem, 2.5vw, 2rem); }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.eyebrow--center { justify-content: center; }

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.9rem); margin: .7rem 0 .9rem; }
.section-sub { color: var(--text-soft); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .82rem 1.5rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
  white-space: nowrap; will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--gold { background: var(--accent); color: #241a02; }
.btn--gold:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.btn--sm { padding: .6rem 1.1rem; font-size: .86rem; }
.btn--block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); background: color-mix(in srgb, var(--bg) 88%, transparent); }
/* .nav also carries .container, which supplies max-width + side gutters.
   Do NOT set width:100% here — it would override .container and make the
   header content full-bleed (misaligned with the footer). */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.brand__mark { width: 40px; height: 40px; flex: 0 0 auto; }
.brand__name { line-height: 1.05; }
.brand__name small { display: block; font-family: var(--font-sans); font-weight: 500; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-soft); }

.nav__links { display: flex; align-items: center; gap: .35rem; }
.nav__links a {
  position: relative; padding: .5rem .85rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 500; font-size: .93rem; color: var(--text-soft);
  transition: color .2s ease, background .2s ease;
}
.nav__links a:hover { color: var(--text); background: var(--surface-2); }
.nav__links a.active { color: var(--primary); }
.nav__links a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 18px; height: 2px; background: var(--accent); border-radius: 2px;
}
.nav__actions { display: flex; align-items: center; gap: .6rem; }

.theme-toggle {
  width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center;
  border: 1.5px solid var(--line); color: var(--text-soft);
  transition: color .2s ease, border-color .2s ease, transform .3s ease;
}
.theme-toggle:hover { color: var(--primary); border-color: var(--primary); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); }
.nav__toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--text); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: .2rem;
    padding: 1rem var(--gutter) 1.6rem; background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .28s ease, opacity .28s ease;
  }
  .nav__links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links a { padding: .85rem 1rem; font-size: 1rem; border-radius: 12px; }
  .nav__links a.active::after { display: none; }
  .nav .btn--primary { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 7vw, 6rem); overflow: hidden;
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(18,135,106,.16), transparent 60%),
    radial-gradient(760px 520px at -6% 14%, rgba(209,165,74,.12), transparent 58%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__title { font-size: clamp(2.4rem, 6vw, 4.1rem); margin: 1.1rem 0 1.2rem; }
.hero__title .accent { color: var(--primary); position: relative; }
.hero__title .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .18em;
  background: linear-gradient(90deg, var(--accent), transparent); border-radius: 4px; opacity: .5;
}
.hero__lead { font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: var(--text-soft); max-width: 44ch; margin-bottom: 1.9rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.4rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 4vw, 2.6rem); }
.hero__stat .num { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; color: var(--text); }
.hero__stat .num .accent { color: var(--accent); }
.hero__stat .label { font-size: .82rem; color: var(--text-soft); letter-spacing: .02em; }

.hero__visual { position: relative; }
.hero__card-stack { position: relative; display: grid; gap: 1rem; }
.pillar-card {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pillar-card:nth-child(even) { margin-left: clamp(0px, 4vw, 2.4rem); }
.pillar-card__icon { width: 52px; height: 52px; flex: 0 0 auto; border-radius: 15px; display: grid; place-items: center; color: #fff; }
.pillar-card__icon svg { width: 26px; height: 26px; }
.pillar-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.pillar-card__desc { font-size: .84rem; color: var(--text-soft); }

.i-emerald { background: linear-gradient(135deg, var(--emerald-600), var(--emerald-800)); }
.i-gold { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); }
.i-slate { background: linear-gradient(135deg, #3f5c53, #223730); }
.i-teal { background: linear-gradient(135deg, var(--emerald-500), #0b6f7a); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero__card-stack { grid-template-columns: 1fr 1fr; }
  .pillar-card:nth-child(even) { margin-left: 0; }
  .pillar-card__desc { display: none; }
}
@media (max-width: 520px) {
  .hero__card-stack { grid-template-columns: 1fr; }
}

/* ---------- Marquee / trust bar ---------- */
.trustbar { border-block: 1px solid var(--line); background: var(--surface); }
.trustbar__inner { display: flex; align-items: center; gap: clamp(1.5rem, 5vw, 3.5rem); flex-wrap: wrap; justify-content: center; padding: 1.4rem 0; }
.trustbar__label { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-soft); font-weight: 600; }
.trustbar__item { display: inline-flex; align-items: center; gap: .5rem; color: var(--text-soft); font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.trustbar__item svg { width: 20px; height: 20px; color: var(--primary); }

/* ---------- Cards / divisions ---------- */
.cards { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.9rem 1.7rem; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; margin-bottom: 1.2rem; }
.card__icon svg { width: 28px; height: 28px; }
.card__title { font-size: 1.22rem; margin-bottom: .55rem; }
.card__text { color: var(--text-soft); font-size: .95rem; margin-bottom: 1.1rem; }
.card__list { display: grid; gap: .5rem; margin-bottom: 1.2rem; }
.card__list li { display: flex; align-items: flex-start; gap: .55rem; font-size: .9rem; color: var(--text-soft); }
.card__list li svg { width: 17px; height: 17px; color: var(--primary); flex: 0 0 auto; margin-top: .18rem; }
.card__link { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--primary); transition: gap .2s ease; }
.card__link:hover { gap: .7rem; }
.card__link svg { width: 16px; height: 16px; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

.media-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--emerald-900), var(--emerald-700)); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--text-inverse);
}
.media-frame svg.illus { width: 78%; height: auto; opacity: .96; }
.media-badge {
  position: absolute; bottom: 1.1rem; left: 1.1rem; right: 1.1rem;
  display: flex; align-items: center; gap: .8rem; padding: .9rem 1.1rem;
  background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  color: var(--text);
}
.media-badge__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: 0 0 auto; }
.media-badge__icon svg { width: 22px; height: 22px; }
.media-badge strong { font-family: var(--font-display); font-size: .96rem; }
.media-badge span { font-size: .8rem; color: var(--text-soft); }

.feature-list { display: grid; gap: 1.1rem; margin: 1.6rem 0 1.9rem; }
.feature-list li { display: flex; gap: .9rem; }
.feature-list .fi { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; background: var(--surface-3); color: var(--primary); }
.feature-list .fi svg { width: 20px; height: 20px; }
.feature-list h4 { font-size: 1.02rem; margin-bottom: .15rem; }
.feature-list p { font-size: .9rem; color: var(--text-soft); }

/* ---------- Stats band ---------- */
.stats-band { background: linear-gradient(135deg, var(--emerald-900), var(--emerald-950)); color: var(--text-inverse); position: relative; overflow: hidden; }
.stats-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 400px at 85% 20%, rgba(209,165,74,.14), transparent 60%);
}
.stats-grid { position: relative; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); text-align: center; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700; color: #fff; }
.stat .num .accent { color: var(--gold-400); }
.stat .label { color: rgba(238,246,242,.72); font-size: .92rem; margin-top: .2rem; }

/* ---------- Property cards ---------- */
.property-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.property-card__media { position: relative; aspect-ratio: 3 / 2; display: grid; place-items: center; color: #fff; }
.property-card__media svg.illus { width: 46%; opacity: .9; }
.property-card__tag { position: absolute; top: .9rem; left: .9rem; padding: .3rem .8rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--accent); color: #241a02; }
.property-card__tag--rent { background: var(--emerald-500); color: #fff; }
.property-card__price { position: absolute; bottom: .9rem; right: .9rem; padding: .4rem .9rem; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: .9rem; background: color-mix(in srgb, var(--ink-900) 70%, transparent); color: #fff; backdrop-filter: blur(6px); }
.property-card__body { padding: 1.3rem 1.35rem 1.45rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.property-card__loc { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; color: var(--text-soft); }
.property-card__loc svg { width: 15px; height: 15px; color: var(--primary); }
.property-card__title { font-size: 1.12rem; }
.property-card__meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); }
.property-card__meta span { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; color: var(--text-soft); }
.property-card__meta svg { width: 16px; height: 16px; color: var(--primary); }

/* ---------- Product cards ---------- */
.product-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card__media { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; background: var(--surface-3); }
.product-card__media svg.illus { width: 50%; color: var(--primary); opacity: .92; }
.product-card__cat { position: absolute; top: .85rem; left: .85rem; padding: .28rem .7rem; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--surface); border: 1px solid var(--line); color: var(--text-soft); }
.product-card__body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product-card__title { font-size: 1.03rem; line-height: 1.3; }
.product-card__desc { font-size: .85rem; color: var(--text-soft); flex: 1; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: .4rem; }
.product-card__price { font-family: var(--font-display); font-weight: 700; color: var(--primary); }
.product-card__price small { display: block; font-weight: 500; font-size: .68rem; color: var(--text-soft); letter-spacing: .02em; }

/* ---------- Filter chips ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2.2rem; }
.chip {
  padding: .55rem 1.15rem; border-radius: 999px; border: 1.5px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: .86rem; color: var(--text-soft);
  transition: all .2s ease;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.is-hidden { display: none !important; }

/* ---------- Steps / process ---------- */
.steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.step { position: relative; padding: 1.7rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step__num { counter-increment: step; font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: var(--surface-3); line-height: 1; }
.step__num::before { content: "0" counter(step); }
[data-theme="dark"] .step__num { color: var(--emerald-900); }
.step__title { font-size: 1.1rem; margin: .5rem 0 .5rem; }
.step__text { color: var(--text-soft); font-size: .9rem; }

/* ---------- Testimonials ---------- */
.testimonials { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.9rem; box-shadow: var(--shadow-sm); }
.quote__mark { font-family: var(--font-display); font-size: 3rem; line-height: .6; color: var(--accent); }
.quote__text { font-size: 1rem; color: var(--text); margin: .6rem 0 1.3rem; }
.quote__who { display: flex; align-items: center; gap: .8rem; }
.quote__avatar { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; background: linear-gradient(135deg, var(--emerald-600), var(--emerald-800)); }
.quote__name { font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.quote__role { font-size: .8rem; color: var(--text-soft); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  background: linear-gradient(120deg, var(--emerald-800), var(--emerald-950));
  color: var(--text-inverse); padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center; box-shadow: var(--shadow-lg);
}
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 340px at 20% 10%, rgba(209,165,74,.18), transparent 60%); }
.cta > * { position: relative; }
.cta__title { font-size: clamp(1.7rem, 4vw, 2.7rem); color: #fff; margin-bottom: .8rem; }
.cta__text { color: rgba(238,246,242,.8); max-width: 52ch; margin: 0 auto 1.9rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 1.2rem; }
.contact-item { display: flex; gap: 1rem; padding: 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-item__icon { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--emerald-600), var(--emerald-800)); }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item h4 { font-size: 1rem; margin-bottom: .2rem; }
.contact-item p, .contact-item a { font-size: .92rem; color: var(--text-soft); }
.contact-item a:hover { color: var(--primary); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .84rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit; font-size: .95rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: var(--ring); outline: none; }
.form__note { font-size: .82rem; color: var(--text-soft); margin-top: .8rem; text-align: center; }
.form__success { display: none; align-items: center; gap: .6rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--emerald-500) 14%, transparent); color: var(--emerald-700); font-weight: 600; font-size: .9rem; margin-bottom: 1.1rem; }
.form__success.show { display: flex; }
.form__success svg { width: 20px; height: 20px; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative; padding: calc(var(--nav-h) + clamp(2.4rem, 6vw, 4rem)) 0 clamp(2.4rem, 6vw, 4rem);
  background:
    radial-gradient(800px 400px at 80% -20%, rgba(18,135,106,.14), transparent 60%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}
.page-hero__title { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: .8rem 0 .8rem; }
.page-hero__lead { color: var(--text-soft); font-size: 1.1rem; max-width: 60ch; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--text-soft); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb svg { width: 14px; height: 14px; }

/* ---------- Accordion (FAQ) ---------- */
.accordion { max-width: 800px; margin-inline: auto; display: grid; gap: .8rem; }
.acc-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.acc-head svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--primary); transition: transform .3s ease; }
.acc-item.open .acc-head svg { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-body p { padding: 0 1.4rem 1.3rem; color: var(--text-soft); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: rgba(238,246,242,.72); padding-top: clamp(3rem, 6vw, 4.5rem); }
[data-theme="dark"] .site-footer { background: #060d0a; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(1.5rem, 4vw, 3rem); padding-bottom: 3rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 1rem; }
.footer-about { font-size: .92rem; max-width: 34ch; margin-bottom: 1.3rem; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: rgba(238,246,242,.8); transition: background .2s ease, color .2s ease, transform .2s ease; }
.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-col h5 { color: #fff; font-family: var(--font-display); font-size: .95rem; margin-bottom: 1.1rem; letter-spacing: .02em; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a { font-size: .9rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--gold-400); }
.footer-contact li { display: flex; gap: .6rem; font-size: .9rem; margin-bottom: .8rem; }
.footer-contact svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--gold-400); margin-top: .15rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; font-size: .84rem; }
.footer-bottom a:hover { color: var(--gold-400); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- Utility ---------- */
.text-soft { color: var(--text-soft); }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.divisions-note { font-size: .85rem; color: var(--text-soft); }
.badge-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; background: var(--surface-3); color: var(--primary); font-size: .78rem; font-weight: 600; }
.prose p { color: var(--text-soft); margin-bottom: 1rem; }
.prose h3 { margin: 1.6rem 0 .7rem; font-size: 1.3rem; }
