/* =============================================================
   HADIYANA — multi-page marketing site
   Modern UI: video/aurora heroes, glass + macbook mockups,
   animated borders, staggered reveals, marquee, tilt.
   Pure CSS; RTL-ready via logical properties.
   ============================================================= */

@property --bd { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --burgundy:       #6E1535;
  --burgundy-deep:  #4A0E24;
  --champagne-gold: #B8924A;
  --gold-soft:      #C9A86A;
  --cream:          #FBF3EE;
  --ink:            #1E1A1C;
  --muted:          #6B6168;
  --white:          #FFFFFF;
  --line:           #E7DDD6;
  --whatsapp:       #25D366;

  --serif: "Fraunces", "Noto Naskh Arabic", Georgia, serif;
  --sans:  "Hanken Grotesk", "Noto Naskh Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* figures share the display serif — elegant lining numerals */
  --num:   "Fraunces", Georgia, serif;

  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(30,26,28,.04), 0 2px 10px rgba(30,26,28,.05);
  --shadow-md: 0 12px 32px -14px rgba(74,14,36,.25), 0 4px 12px rgba(30,26,28,.06);
  --shadow-lg: 0 36px 70px -28px rgba(74,14,36,.4);

  --container: 1200px;
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: .002em;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--champagne-gold); outline-offset: 3px; border-radius: 4px; }

/* figures use the numeric face, tabular + tight */
.num, .stat__num, .hero-stat__num, .flow__big, .tl-step__n, .stepper__n,
.card__num, .feature .card__num, .mb-stat { font-family: var(--num); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px;
  background: var(--burgundy); color: #fff; padding: 10px 16px;
  border-radius: var(--radius-sm); z-index: 300; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 840px; }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--cream { background: var(--cream); }
.section--ink { background: var(--burgundy-deep); color: #fff; }

/* animated top rule on highlighted sections */
.section--ink, .stats-band { position: relative; }
.section--ink::before, .stats-band::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--champagne-gold), transparent);
  background-size: 220% 100%; animation: slideRule 5s linear infinite;
}
@keyframes slideRule { to { background-position: -220% 0; } }

/* ---------- Scroll progress ---------- */
.progress-bar {
  position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--burgundy), var(--champagne-gold));
  z-index: 200; pointer-events: none;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: .24em; font-size: 12.5px; font-weight: 700;
  color: var(--champagne-gold); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 30px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--champagne-gold), var(--gold-soft));
  background-size: 200% 100%; animation: shimmer 3s linear infinite;
}
.section-title { font-size: clamp(31px, 4.2vw, 52px); color: var(--burgundy); }
.section-title--light { color: #fff; }
.section-sub { color: var(--muted); font-size: clamp(16px, 1.5vw, 18px); margin-top: 16px; max-width: 56ch; }
.section--ink .section-sub { color: rgba(255,255,255,.78); }
/* editorial default: section headers are centered */
.section-head { margin: 0 auto clamp(38px, 5vw, 62px); max-width: 760px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head .section-sub { margin-inline: auto; }
.section-head--center { margin-inline: auto; text-align: center; }

.grad-text {
  background: linear-gradient(100deg, var(--champagne-gold) 20%, #E9CD96 40%, var(--champagne-gold) 60%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: -200% center; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px;
  padding: 13px 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  transition: transform .2s var(--ease-spring), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  overflow: hidden; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
[dir="rtl"] .btn:hover svg { transform: translateX(-3px); }
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--gold {
  background: linear-gradient(120deg, var(--champagne-gold), #CBA45F);
  color: var(--burgundy-deep);
  box-shadow: 0 10px 26px -10px rgba(184,146,74,.75);
}
.btn--gold::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.5) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .6s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--gold:hover { box-shadow: 0 16px 34px -12px rgba(184,146,74,.9); }

.btn--ghost { background: rgba(255,255,255,.06); color: var(--burgundy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--champagne-gold); background: rgba(184,146,74,.07); }
.btn--ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.32); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.6); }
.btn--whatsapp { background: var(--whatsapp); color: #06351a; }
.btn--whatsapp:hover { background: #1fc25c; }

/* ============================================================
   HEADER — adaptive (light over dark hero, dark when scrolled)
   ============================================================ */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  color: #fff; /* sets currentColor for brand wordmark over hero */
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(251,243,238,.86);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--burgundy);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; color: inherit; }
.brand__logo { width: 38px; height: 38px; flex-shrink: 0; filter: drop-shadow(0 3px 8px rgba(184,146,74,.4)); }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: .06em; color: currentColor; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a {
  font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.9);
  padding: 8px 14px; border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav > a:hover { color: #fff; background: rgba(255,255,255,.12); }
.nav > a.is-current { color: #fff; background: rgba(255,255,255,.16); font-weight: 600; }
.site-header.is-scrolled .nav > a { color: var(--ink); }
.site-header.is-scrolled .nav > a:hover { color: var(--burgundy); background: rgba(110,21,53,.06); }
.site-header.is-scrolled .nav > a.is-current { color: var(--burgundy); background: rgba(110,21,53,.09); }

.nav__actions { display: flex; align-items: center; gap: 12px; margin-inline-start: 10px; }
.nav__close { display: none; background: none; border: 0; color: var(--burgundy); }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: 1.5px solid rgba(255,255,255,.3); border-radius: 999px;
  padding: 7px 13px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.lang-toggle:hover { border-color: var(--gold-soft); }
.lang-toggle__opt.is-active { color: #fff; }
.lang-toggle__sep { opacity: .5; }
.site-header.is-scrolled .lang-toggle { border-color: var(--line); color: var(--muted); }
.site-header.is-scrolled .lang-toggle__opt.is-active { color: var(--burgundy); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; }
.hamburger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: background .25s var(--ease); }
.site-header.is-scrolled .hamburger span { background: var(--burgundy); }

.nav-scrim { position: fixed; inset: 0; background: rgba(30,26,28,.55); z-index: 90; opacity: 0; transition: opacity .3s var(--ease); }
.nav-scrim.is-open { opacity: 1; }

/* When the mobile menu is open: kill the header's backdrop-filter so the
   fixed nav panel is positioned against the viewport (not a clipped,
   semi-transparent header box), and keep the bar controls legible. */
body.menu-open .site-header {
  background: transparent !important; box-shadow: none !important;
  border-bottom-color: transparent !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
body.menu-open .brand { color: #fff; }
body.menu-open .hamburger span { background: #fff; }

/* ============================================================
   HOME HERO — video / aurora background
   ============================================================ */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  padding-block: clamp(140px, 16vw, 180px) clamp(70px, 8vw, 100px);
  background: var(--burgundy-deep); color: #fff;
  overflow: clip; isolation: isolate;
}
/* Video background (needs network). SWAP POINT: replace the iframe with
   a <video> element + assets/img poster for a fully-offline asset. */
.hero__bg { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
/* Transparent shield over the iframe so hovering never reveals YouTube's
   control bar, play button, or next-video suggestions. */
.hero__bg::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.hero__bg iframe, .hero__bg video {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh;
  border: 0; object-fit: cover; pointer-events: none;
}
/* Zoom in and lift the YouTube embed so its title bar (top) and the
   control chrome (bottom) are cropped above/below the visible hero. */
.hero__bg iframe { transform: translate(-50%, -54%) scale(1.45); }
.hero__bg video  { transform: translate(-50%, -50%); }
@media (max-width: 700px) {
  .hero__bg iframe { transform: translate(-50%, -56%) scale(2.1); }
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(74,14,36,.8), rgba(74,14,36,.5) 42%, rgba(30,26,28,.85));
}

/* aurora fallback sits behind the video (visible if it fails / offline) */
.aurora { position: absolute; inset: 0; z-index: -4; overflow: hidden; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.aurora span:nth-child(1) { width: 55vw; height: 55vw; background: #8E2247; top: -22%; inset-inline-start: -12%; animation: drift1 16s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { width: 42vw; height: 42vw; background: #B8924A; bottom: -25%; inset-inline-end: -8%; opacity: .32; animation: drift2 20s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { width: 30vw; height: 30vw; background: #5d1130; top: 32%; inset-inline-start: 42%; opacity: .5; animation: drift3 14s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(9%, 13%) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-11%, -9%) scale(1.18); } }
@keyframes drift3 { to { transform: translate(-14%, 11%) scale(.9); } }

.grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .12; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.hero__content { max-width: 860px; margin-inline: auto; text-align: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 600; letter-spacing: .04em; margin-bottom: 26px;
}
.hero-pill .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-soft); position: relative; }
.hero-pill .pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--gold-soft); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

.hero__title { font-size: clamp(38px, 8.5vw, 88px); color: #fff; line-height: 1.02; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero__sub { font-size: clamp(16.5px, 1.7vw, 20px); color: rgba(255,255,255,.84); margin: 24px auto 34px; max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; justify-content: center; }

.hero-stats { display: flex; gap: clamp(24px, 4vw, 52px); flex-wrap: wrap; justify-content: center; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); }
.hero-stat__num { font-size: clamp(28px, 3vw, 40px); font-weight: 700; color: var(--gold-soft); line-height: 1; }
.hero-stat__label { font-size: 12.5px; color: rgba(255,255,255,.72); margin-top: 6px; letter-spacing: .04em; }

/* Staggered entrance */
.stagger > * { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease) forwards; }
.stagger > *:nth-child(1) { animation-delay: .05s; }
.stagger > *:nth-child(2) { animation-delay: .15s; }
.stagger > *:nth-child(3) { animation-delay: .25s; }
.stagger > *:nth-child(4) { animation-delay: .35s; }
.stagger > *:nth-child(5) { animation-delay: .45s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.scroll-cue { position: absolute; bottom: 24px; inset-inline: 0; margin-inline: auto; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 999px; z-index: 1; }
.scroll-cue::before { content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 999px; background: var(--gold-soft); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */
.page-hero {
  position: relative;
  padding-block: clamp(150px, 17vw, 200px) clamp(60px, 7vw, 88px);
  background: var(--burgundy-deep); color: #fff;
  overflow: clip; isolation: isolate; text-align: center;
}
.page-hero .aurora { z-index: -2; }
.page-hero .eyebrow { justify-content: center; }
.page-hero__title { font-size: clamp(32px, 7vw, 68px); color: #fff; }
.page-hero__sub { color: rgba(255,255,255,.8); font-size: clamp(16px, 1.6vw, 19px); max-width: 58ch; margin: 18px auto 0; }
.page-hero__visual { margin-top: clamp(36px, 5vw, 56px); }

/* ============================================================
   MACBOOK MOCKUP
   ============================================================ */
.macbook { width: min(720px, 100%); margin-inline: auto; }
.macbook__screen {
  position: relative; aspect-ratio: 16 / 10;
  background: #15100f; border: 11px solid #211b1e; border-radius: 20px 20px 4px 4px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #000; overflow: hidden;
}
.macbook__cam { position: absolute; top: 5px; left: 50%; transform: translateX(-50%); width: 6px; height: 6px; border-radius: 50%; background: #3a3034; z-index: 3; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.macbook__ui { position: absolute; inset: 0; background: linear-gradient(160deg, #fff, var(--cream)); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.mb-top { display: flex; align-items: center; justify-content: space-between; }
.mb-logo { font-family: var(--serif); font-weight: 700; font-size: 18px; letter-spacing: .06em; color: var(--burgundy); }
.mb-pillrow { display: flex; gap: 6px; }
.mb-pillrow i { width: 26px; height: 8px; border-radius: 999px; background: var(--line); }
.mb-pillrow i:first-child { width: 40px; background: var(--gold-soft); }
.mb-grid { flex: 1; display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-auto-rows: 1fr; gap: 12px; }
.mb-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 6px; box-shadow: var(--shadow-sm); }
.mb-card--lg { grid-row: span 2; justify-content: flex-start; gap: 10px; }
.mb-card--wide { grid-column: 2 / 4; }
.mb-eyebrow { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--champagne-gold); }
.mb-title { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--burgundy); }
.mb-stat { font-family: var(--num); font-variant-numeric: tabular-nums; font-weight: 700; font-size: 26px; color: var(--burgundy); line-height: 1; }
.mb-meta { font-size: 12px; color: var(--muted); }
.mb-bar { height: 9px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 4px; }
.mb-bar span { display: block; height: 100%; width: 78%; border-radius: 999px; background: linear-gradient(90deg, var(--burgundy), var(--champagne-gold)); }
.mb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.mb-chips b { font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); color: var(--burgundy); }
.macbook__base {
  position: relative; height: 16px; margin: 0 -3%;
  background: linear-gradient(#dcd7d3, #b3aca7); border-radius: 0 0 12px 12px;
  box-shadow: 0 14px 24px -10px rgba(0,0,0,.4);
}
.macbook__base::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 130px; height: 7px; background: #968f8a; border-radius: 0 0 9px 9px; }
.macbook--float { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { background: var(--burgundy); color: var(--cream); padding-block: 18px; overflow: hidden; border-block: 1px solid rgba(255,255,255,.08); }
.marquee__track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__item { display: flex; align-items: center; gap: 22px; padding-inline: 22px; font-family: var(--serif); font-size: 20px; white-space: nowrap; }
.marquee__item::after { content: "✦"; font-size: 12px; color: var(--gold-soft); font-style: normal; }

/* ============================================================
   CARDS / GRIDS
   ============================================================ */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--burgundy), var(--champagne-gold));
  transform: scaleX(0); transform-origin: 0 0; transition: transform .4s var(--ease);
}
[dir="rtl"] .card::before { transform-origin: 100% 0; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--cream), #f4e6da); color: var(--burgundy);
  margin-bottom: 22px; transition: transform .35s var(--ease-spring);
}
.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); }
.card__icon svg { width: 26px; height: 26px; stroke-width: 1.5; }
.card h3 { font-size: 24px; color: var(--burgundy); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card__num { font-weight: 700; font-size: 15px; color: var(--champagne-gold); display: block; margin-bottom: 12px; }

/* Feature grid (16 modules) — animated conic border */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  position: relative; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); overflow: hidden;
}
.feature::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.6px;
  background: conic-gradient(from var(--bd), transparent 0deg, var(--champagne-gold) 55deg, var(--gold-soft) 80deg, transparent 130deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s var(--ease); pointer-events: none;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature:hover::before { opacity: 1; animation: bd-rot 2.6s linear infinite; }
@keyframes bd-rot { to { --bd: 360deg; } }
.feature__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(140deg, var(--cream), #f4e6da); color: var(--burgundy); margin-bottom: 16px; }
.feature__icon svg { width: 22px; height: 22px; }
.feature .card__num { position: absolute; top: 20px; inset-inline-end: 22px; margin: 0; opacity: .55; }
.feature h3 { font-size: 19.5px; color: var(--burgundy); margin-bottom: 8px; padding-inline-end: 26px; }
.feature p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* Pills */
.pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pills li { padding: 12px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 500; transition: all .25s var(--ease); }
.pills li:hover { border-color: var(--champagne-gold); color: var(--burgundy); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* Occasion category cards (Event types) */
.occasions { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.occasion {
  flex: 1 1 220px; max-width: 300px;
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 26px; text-align: center; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.occasion::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--burgundy), var(--champagne-gold));
  transform: scaleX(0); transform-origin: 50% 0; transition: transform .4s var(--ease);
}
.occasion:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.occasion:hover::before { transform: scaleX(1); }
.occasion__icon {
  width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--cream), #f4e6da); color: var(--burgundy);
  transition: transform .4s var(--ease-spring), background .4s var(--ease), color .4s var(--ease);
}
.occasion:hover .occasion__icon { transform: scale(1.1) rotate(-5deg); background: linear-gradient(140deg, var(--burgundy), var(--burgundy-deep)); color: var(--gold-soft); }
.occasion__icon svg { width: 29px; height: 29px; stroke-width: 1.5; }
.occasion h3 { font-size: 21px; color: var(--burgundy); margin-bottom: 9px; }
.occasion p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ============================================================
   CONTRAST (problem/solution)
   ============================================================ */
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contrast__card { padding: 38px; border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.contrast__card--problem { background: #fff; border: 1px solid var(--line); }
.contrast__card--solution { background: linear-gradient(150deg, var(--burgundy), var(--burgundy-deep)); color: #fff; box-shadow: var(--shadow-md); }
.contrast__card--solution::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(184,146,74,.35), transparent 70%); bottom: -120px; inset-inline-end: -80px; }
.contrast__label { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .2em; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.contrast__card--solution .contrast__label { color: var(--gold-soft); }
.contrast__lead { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; margin-bottom: 20px; color: var(--burgundy); }
.contrast__card--solution .contrast__lead { color: #fff; }
.contrast__list li { position: relative; padding-inline-start: 26px; margin-bottom: 11px; font-size: 15.5px; }
.contrast__list li::before { content: "✕"; position: absolute; inset-inline-start: 0; color: var(--muted); font-size: 13px; top: 2px; }
.contrast__card--solution .contrast__list li::before { content: "✓"; color: var(--gold-soft); font-weight: 700; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band { background: linear-gradient(135deg, var(--burgundy), var(--burgundy-deep)); color: #fff; overflow: clip; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.stat {
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  text-align: center; padding: 30px 18px; border-radius: var(--radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.stat:hover { transform: translateY(-5px); background: rgba(255,255,255,.1); border-color: rgba(184,146,74,.5); }
.stat__num { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; color: var(--gold-soft); line-height: 1.05; }
.stat__label { font-size: 12.5px; color: rgba(255,255,255,.75); letter-spacing: .02em; }

/* ============================================================
   TIMELINE / STEPPER
   ============================================================ */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 28px; inset-inline: 9%; height: 2px; background: linear-gradient(90deg, var(--line), var(--champagne-gold), var(--line)); }
.tl-step { position: relative; text-align: center; padding-top: 72px; }
.tl-step__n {
  position: absolute; top: 0; inset-inline: 0; margin-inline: auto; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--burgundy); color: var(--champagne-gold);
  font-weight: 700; font-size: 19px;
  box-shadow: 0 0 0 7px var(--white), 0 8px 18px -6px rgba(74,14,36,.4);
  transition: transform .3s var(--ease-spring);
}
.tl-step:hover .tl-step__n { transform: scale(1.12); }
.section--cream .tl-step__n { box-shadow: 0 0 0 7px var(--cream), 0 8px 18px -6px rgba(74,14,36,.4); }
.tl-step h3 { font-size: 20px; color: var(--burgundy); margin-bottom: 8px; }
.tl-step p { font-size: 14.5px; color: var(--muted); }

.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stepper li {
  display: flex; align-items: center; gap: 13px; padding: 18px 20px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); font-size: 14.5px; font-weight: 500; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.stepper li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stepper__n { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--burgundy); color: var(--champagne-gold); font-weight: 700; font-size: 15px; }

/* ============================================================
   TABS
   ============================================================ */
.tabs__list { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 32px; }
.tabs__tab { background: none; border: 0; padding: 11px 24px; font-size: 15px; font-weight: 600; color: var(--muted); border-radius: 999px; transition: all .25s var(--ease); }
.tabs__tab:hover { color: var(--burgundy); }
.tabs__tab.is-active { background: var(--burgundy); color: #fff; box-shadow: 0 6px 16px -6px rgba(74,14,36,.5); }
.tabs__panel { animation: fadeUp .4s var(--ease); }
.tabs__panel[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.benefit-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 36px; }
.benefit-list li { position: relative; padding-inline-start: 32px; font-size: 16px; }
.benefit-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E1535' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ============================================================
   AI SECTION (ink)
   ============================================================ */
.ai-col { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 32px; transition: background .3s var(--ease), transform .3s var(--ease); }
.ai-col:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.ai-col__title { font-size: 23px; color: var(--gold-soft); margin-bottom: 16px; }
.ai-list li { position: relative; padding-inline-start: 24px; margin-bottom: 12px; font-size: 15px; color: rgba(255,255,255,.86); }
.ai-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--champagne-gold); box-shadow: 0 0 10px rgba(184,146,74,.8); }
.sig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.sig-grid li { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); font-size: 14.5px; font-weight: 500; transition: border-color .3s var(--ease), background .3s var(--ease); }
.sig-grid li:hover { border-color: rgba(184,146,74,.6); background: rgba(184,146,74,.08); }
.sig__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--champagne-gold); flex-shrink: 0; box-shadow: 0 0 0 5px rgba(184,146,74,.18); }

/* ============================================================
   MARKET / CHECK LISTS
   ============================================================ */
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 22px; }
.check-list li { position: relative; padding-inline-start: 28px; font-size: 15px; }
.check-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 3px; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8924A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ============================================================
   FLOW (viral growth)
   ============================================================ */
.flow { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 44px); flex-wrap: wrap; margin-bottom: 48px; }
.flow__node { display: flex; flex-direction: column; align-items: center; justify-content: center; width: clamp(140px, 18vw, 200px); aspect-ratio: 1; border-radius: 50%; background: #fff; border: 2px solid var(--line); box-shadow: var(--shadow-md); transition: transform .35s var(--ease-spring); }
.flow__node:hover { transform: scale(1.06); }
.flow__node--gold { background: var(--cream); border-color: var(--gold-soft); }
.flow__node--brand { background: linear-gradient(150deg, var(--burgundy), var(--burgundy-deep)); border-color: transparent; }
.flow__big { font-size: clamp(32px, 4.5vw, 52px); font-weight: 700; color: var(--burgundy); line-height: 1; }
.flow__node--brand .flow__big { color: var(--gold-soft); }
.flow__cap { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-top: 8px; }
.flow__node--brand .flow__cap { color: rgba(255,255,255,.8); }
.flow__link { color: var(--champagne-gold); }
.flow__link svg { width: 32px; height: 32px; }
[dir="rtl"] .flow__link svg { transform: scaleX(-1); }

.pullquote { margin: 0 auto; max-width: 860px; text-align: center; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; }
.pullquote::before { content: "“"; position: absolute; top: -28px; inset-inline-start: 30px; font-family: var(--serif); font-size: 110px; line-height: 1; color: var(--champagne-gold); opacity: .5; }
.pullquote p { font-family: var(--serif); font-size: clamp(21px, 2.8vw, 32px); font-weight: 600; color: var(--burgundy); line-height: 1.3; }
.pullquote em { color: var(--champagne-gold); font-style: normal; }

/* ============================================================
   REVENUE TABLE
   ============================================================ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.rev-table { width: 100%; border-collapse: collapse; min-width: 580px; background: #fff; }
.rev-table thead th { background: var(--burgundy); color: var(--gold-soft); font-family: var(--sans); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; text-align: start; padding: 18px 26px; }
.rev-table tbody th { text-align: start; font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--burgundy); padding: 19px 26px; width: 38%; }
.rev-table tbody td { padding: 19px 26px; font-size: 15px; color: var(--muted); }
.rev-table tbody tr { transition: background .2s var(--ease); }
.rev-table tbody tr + tr { border-top: 1px solid var(--line); }
.rev-table tbody tr:hover { background: var(--cream); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.accordion { display: grid; gap: 14px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.acc-item:has(.acc__trigger[aria-expanded="true"]) { border-color: var(--gold-soft); box-shadow: var(--shadow-sm); }
.acc-item h3 { margin: 0; }
.acc__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: 0; padding: 22px 24px; text-align: start; font-family: var(--serif); font-size: clamp(18px, 2.1vw, 22px); font-weight: 600; color: var(--burgundy); }
.acc__icon { position: relative; flex-shrink: 0; width: 22px; height: 22px; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--champagne-gold); border-radius: 2px; transition: transform .3s var(--ease); }
.acc__icon::before { width: 16px; height: 2px; transform: translate(-50%, -50%); }
.acc__icon::after { width: 2px; height: 16px; transform: translate(-50%, -50%); }
.acc__trigger[aria-expanded="true"] .acc__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.acc__panel { overflow: hidden; }
.acc__panel p { padding: 0 24px 24px; color: var(--muted); font-size: 16px; max-width: 72ch; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; background: var(--burgundy-deep); color: #fff; padding-block: clamp(64px, 9vw, 110px); text-align: center; overflow: clip; isolation: isolate; }
.cta-band .aurora { z-index: -2; }
.cta-band .aurora span:nth-child(1) { width: 46vw; height: 46vw; }
.cta-band__title { font-size: clamp(32px, 5vw, 58px); color: #fff; }
.cta-band__sub { color: rgba(255,255,255,.8); font-size: 18px; margin-block: 16px 32px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.contact-lead { color: var(--muted); font-size: 17px; margin-block: 14px 30px; max-width: 38ch; }
.contact-details { display: grid; gap: 15px; }
.contact-details li { display: flex; gap: 16px; align-items: baseline; font-size: 15.5px; }
.contact-details span { flex-shrink: 0; width: 58px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--champagne-gold); font-weight: 700; }
.contact-details a:hover { color: var(--burgundy); text-decoration: underline; }

.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 38px); box-shadow: var(--shadow-md); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; }
.field input, .field select, .field textarea { font-family: inherit; font-size: 15px; color: var(--ink); padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--burgundy); background: #fff; box-shadow: 0 0 0 4px rgba(110,21,53,.1); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #c0392b; }
.select-wrap { position: relative; display: flex; }
.select-wrap select { width: 100%; appearance: none; }
.select-wrap svg { position: absolute; inset-inline-end: 13px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); width: 18px; height: 18px; }
.field__error { font-size: 12.5px; color: #c0392b; min-height: 1em; }
.form-success { grid-column: 1 / -1; background: var(--cream); border: 1px solid var(--champagne-gold); border-radius: var(--radius-sm); padding: 18px 20px; color: var(--burgundy); font-weight: 500; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--burgundy-deep); color: rgba(255,255,255,.7); padding-block: 64px 28px; position: relative; overflow: clip; }
.site-footer::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--champagne-gold), transparent); background-size: 220% 100%; animation: slideRule 5s linear infinite; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.brand__name--footer { color: #fff; font-size: 27px; }
.footer-brand p { font-size: 14.5px; max-width: 34ch; line-height: 1.65; }
.footer-col h4 { font-family: var(--sans); font-size: 12.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-soft); margin-bottom: 18px; }
.footer-col a, .footer-col span { display: block; font-size: 14.5px; color: rgba(255,255,255,.7); margin-bottom: 11px; transition: color .2s var(--ease), transform .2s var(--ease); }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
[dir="rtl"] .footer-col a:hover { transform: translateX(-3px); }
.socials { display: flex; gap: 12px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); margin: 0; transition: all .25s var(--ease); }
.socials a:hover { background: var(--champagne-gold); border-color: transparent; color: var(--burgundy-deep); transform: translateY(-3px); }
.footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 26px; font-size: 13px; }
.footer-bar strong { color: var(--gold-soft); font-weight: 600; }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-group] > * { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal-group].is-visible > * { opacity: 1; transform: none; }
[data-reveal-group].is-visible > *:nth-child(1) { transition-delay: .03s; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: .1s; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: .17s; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: .24s; }
[data-reveal-group].is-visible > *:nth-child(5) { transition-delay: .31s; }
[data-reveal-group].is-visible > *:nth-child(6) { transition-delay: .38s; }
[data-reveal-group].is-visible > *:nth-child(7) { transition-delay: .45s; }
[data-reveal-group].is-visible > *:nth-child(8) { transition-delay: .52s; }
[data-reveal-group].is-visible > *:nth-child(n+9) { transition-delay: .58s; }

[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .sig-grid, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav {
    position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 95;
    width: min(330px, 86vw); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
    background: var(--cream); padding: 88px 26px 28px; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .35s var(--ease);
  }
  [dir="rtl"] .nav { transform: translateX(-100%); }
  .nav.is-open { transform: translateX(0) !important; }
  /* inside the cream panel, links + lang toggle are always dark */
  .nav > a, .site-header.is-scrolled .nav > a { color: var(--ink); font-size: 18px; padding: 13px 6px; border-radius: 0; border-bottom: 1px solid var(--line); background: none; }
  .nav > a.is-current, .site-header.is-scrolled .nav > a.is-current { color: var(--burgundy); background: none; }
  .nav__close { display: block; position: absolute; top: 24px; inset-inline-end: 24px; }
  .nav__actions { flex-direction: column; align-items: stretch; gap: 14px; margin: 18px 0 0; }
  .lang-toggle, .site-header.is-scrolled .lang-toggle { align-self: flex-start; border-color: var(--line); color: var(--muted); }
  .lang-toggle__opt.is-active, .site-header.is-scrolled .lang-toggle__opt.is-active { color: var(--burgundy); }

  .hero { min-height: 0; }
  .scroll-cue { display: none; }

  .contrast, .cards-2 { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { display: none; }
  .tl-step { display: grid; grid-template-columns: 56px 1fr; gap: 8px 18px; text-align: start; padding: 14px 0; align-items: center; }
  .tl-step__n { position: static; box-shadow: none; }
  .tl-step h3, .tl-step p { grid-column: 2; }
  .stepper { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .mb-grid { grid-template-columns: 1fr 1fr; }
  .mb-card--lg { grid-row: auto; grid-column: 1 / -1; }
  .mb-card--wide { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .cards-3 { grid-template-columns: 1fr; }
}

/* Mobile readable type bumps */
@media (max-width: 600px) {
  .feature p { font-size: 15px; }
  .card p { font-size: 16px; }
  .section-sub, .acc__panel p, .benefit-list li, .contact-details li, .contrast__list li { font-size: 16px; }
  .footer-col a, .footer-col span { font-size: 15.5px; }
  .tl-step p { font-size: 15px; }
  .hero__sub { font-size: 17px; }

  /* let the laptop mockup grow to its content so the dashboard never clips */
  .macbook__screen { aspect-ratio: auto; }
  .macbook__ui { position: relative; inset: auto; padding: 14px; gap: 10px; }
  .mb-title { font-size: 18px; }
  .mb-stat { font-size: 20px; }
  .page-hero__visual { margin-top: 34px; }
}

@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .feature-grid, .benefit-list, .sig-grid, .check-list, .stepper, .cards-4 { grid-template-columns: 1fr; }
  .lead-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__cta .btn, .cta-band__actions .btn { width: 100%; }
  /* keep the mini-dashboard as a compact 2-up instead of a tall single column */
  .mb-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal], [data-reveal-group] > * { opacity: 1; transform: none; }
  .stagger > * { opacity: 1; transform: none; animation: none; }
}
