/* ============================================================
   Gurbani — landing site styles
   Matched to the Adobe XD "Gurbani-App" design:
   deep brown + gold + cream, gold Ik Onkar emblem, ornate florals.
   ============================================================ */

:root {
  --gold: #f1c240;
  --gold-bright: #f5ce50;
  --gold-deep: #c8941a;
  --copper: #b5651d;
  --brown-900: #1b1109;
  --brown-800: #271a0e;
  --brown-700: #3a2a1a;
  --brown-600: #4d3925;
  --cream: #fbf1dc;
  --cream-light: #fff8ea;
  --ink: #2a1c0f;
  --muted: #7a6a55;
  --border: #e9dcc1;
  --card: #fffdf7;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(43, 28, 12, 0.10);
  --shadow-lg: 0 22px 55px rgba(43, 28, 12, 0.20);
  --maxw: 1140px;
  --serif: "Playfair Display", "Georgia", "Times New Roman", serif;
  --sans: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gurmukhi: "Noto Sans Gurmukhi", var(--sans);
}

/* ---------- Dark mode ----------
   The gold/brown accent bands (hero, footer, cta, stats, section--dark) are dark in
   both modes; dark mode flips the cream content surfaces + text to warm-dark values. */
[data-theme="dark"] {
  --cream: #1a1109;
  --cream-light: #21160d;
  --ink: #f2e7d0;
  --muted: #b3a184;
  --border: rgba(241, 194, 64, 0.16);
  --card: #2b1e12;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.38);
  --shadow-lg: 0 22px 55px rgba(0, 0, 0, 0.5);
}
/* lift text that was tuned for light cream surfaces so it stays legible on dark cards */
[data-theme="dark"] .eyebrow { color: var(--gold); }
[data-theme="dark"] .bani-chip,
[data-theme="dark"] .shot__body strong,
[data-theme="dark"] .contact-form label,
[data-theme="dark"] .legal h2 { color: var(--gold); }
[data-theme="dark"] .legal p,
[data-theme="dark"] .legal li { color: #cdbb9c; }

html { color-scheme: light; }
[data-theme="dark"] { color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* anchored sections clear the sticky header when jumped to */
section[id] { scroll-margin-top: 90px; }

/* visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
.faq__q:focus-visible, .gallery__item:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* skip-to-content link (visible on keyboard focus) */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--brown-900);
  padding: 10px 18px; border-radius: 8px; font-weight: 700;
  text-decoration: none; box-shadow: var(--shadow-lg);
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

/* smooth colour cross-fade only while toggling theme (not on load / not on hover) */
.theme-transition, .theme-transition *, .theme-transition *::before, .theme-transition *::after {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, fill .35s ease !important;
}
@media (prefers-reduced-motion: reduce) {
  .theme-transition, .theme-transition * { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--copper); text-decoration: none; }
a:hover { color: var(--gold-deep); }
img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.18; color: var(--ink); font-weight: 700; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 88px 0; position: relative; }
.section--cream { background: var(--cream); }
.section--light { background: var(--cream-light); }
.section--dark { background: var(--brown-800); color: #f3e7cf; }
.section--dark h2 { color: var(--gold); }

.section__head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section__head h2 { font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.3rem); margin: 0 0 12px; }
.section__head p { color: var(--muted); margin: 0; font-size: 1.08rem; }
.section--dark .section__head p { color: #cdbb9c; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.section--dark .eyebrow { color: var(--gold); }

/* Gurmukhi Ik Onkar accent */
.ek { font-family: var(--gurmukhi); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%); color: #2a1c0f; box-shadow: 0 8px 22px rgba(200, 148, 26, .4); }
.btn--primary:hover { color: #2a1c0f; box-shadow: var(--shadow-lg); }
.btn--gold-outline { border-color: var(--gold); color: var(--gold); }
.btn--gold-outline:hover { background: var(--gold); color: var(--brown-800); }
.btn--outline { border-color: var(--copper); color: var(--copper); }
.btn--outline:hover { background: var(--copper); color: #fff; }

/* ---------- Google Play badge ---------- */
.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #1b1109;
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid rgba(241, 194, 64, .35);
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease;
}
.play-badge:hover { transform: translateY(-2px); color: #fff; box-shadow: var(--shadow-lg); }
.play-badge svg { width: 26px; height: 26px; flex: none; color: var(--gold); }
.play-badge__text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.play-badge__text small { font-size: .68rem; opacity: .85; }
.play-badge__text strong { font-size: 1.18rem; font-weight: 700; }
.badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; margin: 0 auto; }
.badges .play-badge { margin: 0; }
.play-badge__soon {
  position: absolute;
  top: -10px; right: -10px;
  background: var(--gold);
  color: #2a1c0f;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, var(--brown-700) 0%, var(--brown-800) 100%);
  border-bottom: 1px solid rgba(241, 194, 64, .25);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 700; font-size: 1.45rem; color: var(--gold); }
.brand img { width: 40px; height: 40px; }
.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: #f0e4cd; font-weight: 600; font-size: .98rem; }
.nav__links a:hover { color: var(--gold); }
.nav__links a.active:not(.nav__cta) { color: var(--gold); }
.nav__cta { padding: 9px 20px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 5px; }
.nav__toggle span { display: block; height: 3px; width: 24px; background: var(--gold); border-radius: 2px; transition: .25s; }

/* theme toggle (sun / moon) */
.theme-toggle {
  width: 40px; height: 40px; flex: none;
  display: inline-grid; place-items: center;
  border-radius: 50%; cursor: pointer;
  border: 1.5px solid rgba(241, 194, 64, .4);
  background: transparent; color: var(--gold);
  transition: background .15s ease, border-color .15s ease;
}
.theme-toggle:hover { background: rgba(241, 194, 64, .12); border-color: var(--gold); }
.theme-toggle svg { width: 19px; height: 19px; fill: currentColor; display: block; }
/* language toggle (EN / ਪੰ) — shares the round pill shape with the theme toggle */
.lang-toggle {
  min-width: 40px; height: 40px; padding: 0 10px; width: auto;
  border-radius: 22px; font-family: var(--sans); font-weight: 700;
  font-size: .82rem; letter-spacing: .02em;
}
.lang-toggle .lang-toggle__pa { font-family: 'Noto Sans Gurmukhi', var(--sans); }
.theme-toggle .ic-sun { display: none; }
[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
[data-theme="dark"] .theme-toggle .ic-sun { display: block; }

/* ---------- Hero (splash-inspired) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 78% 0%, rgba(241, 194, 64, .14), transparent 55%),
    linear-gradient(165deg, var(--brown-700) 0%, var(--brown-900) 100%);
  color: #f3e7cf;
  overflow: hidden;
  padding: 80px 0 96px;
}
.hero__ornament { position: absolute; width: 94px; height: auto; opacity: .6; pointer-events: none; z-index: 0; }
/* the centered .page (download/404) has no content in its corners, so the frame can be bolder there */
.page .hero__ornament { opacity: .8; }
/* the flourish art is drawn as a TOP-RIGHT corner (vine runs down the right edge,
   fronds along the top) — like the splash. Mirror it into the other corners so each
   flourish's vine hugs the outer edge. */
.hero__ornament--tr { top: 22px; right: 22px; transform: none; }
.hero__ornament--tl { top: 22px; left: 22px; transform: scaleX(-1); }
.hero__ornament--br { bottom: 22px; right: 22px; transform: scaleY(-1); }
.hero__ornament--bl { bottom: 22px; left: 22px; transform: scale(-1, -1); }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 1.2rem + 4vw, 3.2rem); margin: 16px 0 18px; color: #fff; }
.hero h1 .accent { color: var(--gold); }
.hero p.lead { font-size: 1.18rem; color: #d9c9aa; margin: 0 0 30px; max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__note { margin-top: 20px; font-size: .92rem; color: #b8a583; }

/* gold emblem hero art */
.emblem-wrap { display: grid; place-items: center; position: relative; }
.emblem {
  width: 280px; height: 280px;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .5));
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.emblem-wrap .wordmark { font-family: var(--serif); color: var(--gold); font-size: 2rem; margin-top: 14px; letter-spacing: .04em; }

/* ---------- Feature cards (home-screen card grid) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card__media {
  height: 168px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--copper) 0%, var(--brown-700) 100%);
}
.card__media i { display: block; width: 60px; height: 60px; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.card__media--gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%); color: var(--brown-800); }
.card__media--night { background: linear-gradient(160deg, #1a2a55 0%, #0a1430 100%); }
.card__media--temple { background: linear-gradient(160deg, #c8641b 0%, #7a2f12 100%); }

/* Real XD/heritage images as lazy <img> over a gradient fallback (the gradient on the
   .card__media container shows while the image lazy-loads or if it fails). */
.card__media picture, .card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.card__media img.pos-top { object-position: center 26%; }
.card__body { padding: 22px 22px 26px; }
.card__body h3 { margin: 0 0 8px; font-size: 1.18rem; }
.card__body p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Feature list (icon rows) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(241,194,64,.22), rgba(200,148,26,.18));
  color: var(--gold-deep);
  font-size: 1.5rem;
  margin-bottom: 14px;
}
/* real Font Awesome glyphs (same icon set the XD app uses), tinted gold via mask */
.feature__icon i {
  display: block; width: 26px; height: 26px;
  background: var(--gold-deep);
  -webkit-mask: var(--ic) center / contain no-repeat;
          mask: var(--ic) center / contain no-repeat;
}
.feature h3 { margin: 0 0 8px; font-size: 1.12rem; }
.feature p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Bani chips ---------- */
.banis { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.bani-chip {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  color: var(--brown-700);
  box-shadow: var(--shadow);
}

/* ---------- Screenshots (phone frames) ---------- */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.shot {
  aspect-ratio: 9 / 18;
  border-radius: 26px;
  border: 6px solid var(--brown-800);
  background: var(--brown-900);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.shot__bar { background: linear-gradient(180deg, var(--brown-700), var(--brown-800)); color: var(--gold); padding: 14px 14px 12px; font-family: var(--serif); font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.shot__bar .dot { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--gold-bright), var(--gold-deep)); flex: none; }
.shot__body { flex: 1; background: var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 16px; }
.shot__body .big { font-size: 2.4rem; }
.shot__body strong { color: var(--brown-700); font-family: var(--serif); }
.shot__body span { color: var(--muted); font-size: .82rem; }

/* shared icon-image rule (real XD vector icons in feature/section tiles) */
.icon-img { width: 1.7rem; height: 1.7rem; object-fit: contain; display: block; }

/* ---------- Darshan gallery (real XD imagery) ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery__item {
  position: relative; margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(241,194,64,.3);
  box-shadow: var(--shadow-lg);
}
.gallery__item picture { display: block; width: 100%; height: 100%; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 16px 14px;
  font-family: var(--serif); font-size: 1.05rem; color: #fff;
  background: linear-gradient(to top, rgba(11,7,3,.88), rgba(11,7,3,.3) 60%, transparent);
}
.gallery__cap small { display: block; font-family: var(--sans); font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.gallery__item { cursor: zoom-in; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11,7,3,.93);
  display: none; align-items: center; justify-content: center; flex-direction: column;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox__img { max-width: 90vw; max-height: 80vh; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid rgba(241,194,64,.45); }
.lightbox__cap { color: var(--gold); font-family: var(--serif); margin: 16px 0 0; font-size: 1.2rem; text-align: center; }
.lightbox__close {
  position: absolute; top: 20px; right: 24px;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold); color: var(--brown-900); font-size: 1.7rem; line-height: 1;
  display: grid; place-items: center;
}
.lightbox__close:hover { background: var(--gold-bright); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(241,194,64,.92); color: var(--brown-900);
  font-size: 2rem; line-height: 1; display: grid; place-items: center;
  transition: background .15s ease, transform .15s ease;
}
.lightbox__nav:hover { background: var(--gold-bright); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
@media (max-width: 600px) {
  .lightbox__nav { width: 44px; height: 44px; font-size: 1.6rem; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
}

/* ---------- Download / CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--brown-900);
  color: #f3e7cf;
  text-align: center;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  background-image: url('/assets/cards/gurdwara.jpg');
  background-image: -webkit-image-set(url('/assets/cards/gurdwara.webp') type('image/webp'), url('/assets/cards/gurdwara.jpg') type('image/jpeg'));
  background-image: image-set(url('/assets/cards/gurdwara.webp') type('image/webp'), url('/assets/cards/gurdwara.jpg') type('image/jpeg'));
  transform: scale(1.02);
  animation: kenburns 26s ease-in-out infinite alternate;
}
.cta-band::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(241,194,64,.18), transparent 60%),
    linear-gradient(rgba(20,13,6,.82), rgba(15,9,4,.92));
}
.cta-band > .container { position: relative; z-index: 2; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.16) translateY(-1.5%); } }
.cta-band h2 { color: var(--gold); font-size: clamp(1.7rem, 1.1rem + 2.6vw, 2.3rem); margin: 0 0 12px; }
.cta-band p { color: #d9c9aa; max-width: 560px; margin: 0 auto 28px; font-size: 1.08rem; }
.cta-band .play-badge { margin: 0 auto; }

.notify { display: flex; gap: 10px; max-width: 460px; margin: 26px auto 0; flex-wrap: wrap; justify-content: center; }
.notify input { flex: 1 1 240px; padding: 13px 18px; border-radius: 999px; border: 0; font-size: 1rem; outline: none; font-family: var(--sans); }
.notify__msg { margin-top: 14px; font-size: .95rem; min-height: 1.2em; color: var(--gold-bright); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.about__grid p { color: var(--muted); font-size: 1.05rem; }
.about__card {
  background: linear-gradient(160deg, var(--brown-700) 0%, var(--brown-900) 100%);
  border: 1px solid rgba(241,194,64,.3);
  border-radius: var(--radius);
  padding: 40px 34px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about__card .emblem { width: 120px; height: 120px; animation: none; }
.about__card blockquote { font-family: var(--gurmukhi); color: var(--gold); margin: 18px 0 0; font-size: 1.05rem; line-height: 1.9; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown-900); color: #cdbb9c; padding: 52px 0 26px; }
.footer__grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 26px; }
.footer__brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--gold); }
.footer__brand img { width: 38px; height: 38px; }
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.footer__links a { color: #cdbb9c; }
.footer__links a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(241,194,64,.18); padding-top: 18px; text-align: center; font-size: .9rem; color: #9c8a6c; }

/* ---------- Standalone pages (download / 404) ---------- */
.page {
  min-height: calc(100vh - 74px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 60px 0;
  position: relative;
  background:
    radial-gradient(800px 460px at 50% 0%, rgba(241,194,64,.14), transparent 60%),
    linear-gradient(165deg, var(--brown-700) 0%, var(--brown-900) 100%);
  color: #f3e7cf;
  overflow: hidden;
}
.page .hero__ornament { opacity: .7; }
.page__inner { position: relative; z-index: 2; max-width: 640px; }
.page .emblem { width: 130px; height: 130px; margin: 0 auto 6px; }
.page h1 { font-size: clamp(1.9rem, 1.2rem + 3vw, 2.6rem); margin: 10px 0 14px; color: var(--gold); }
.page p { color: #d9c9aa; font-size: 1.12rem; margin: 0 0 26px; }

/* contact form */
.contact-form { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; color: var(--brown-700); font-size: .95rem; }
.contact-form input, .contact-form textarea {
  font-family: var(--sans); font-size: 1rem;
  padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--card); color: var(--ink);
  outline: none; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(241,194,64,.25); }
.contact-form .btn { align-self: flex-start; }

/* legal */
.legal { padding: 64px 0 90px; }
.legal h1 { font-size: 2.3rem; margin-bottom: 6px; }
.legal .updated { color: var(--muted); margin-top: 0; }
.legal h2 { font-size: 1.3rem; margin-top: 34px; color: var(--brown-700); }
.legal p, .legal li { color: #4a3c2a; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--brown-900); color: #f3e7cf; padding: 26px 0; border-bottom: 1px solid rgba(241,194,64,.2); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat strong { font-family: var(--serif); font-size: 1.9rem; color: var(--gold); line-height: 1; }
.stat span { font-size: .86rem; color: #cdbb9c; }

/* ---------- How it works (steps) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
}
.step__num {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--serif); font-weight: 700; font-size: 1.4rem;
  color: var(--brown-800);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  box-shadow: 0 6px 16px rgba(200,148,26,.4);
}
.step h3 { margin: 0 0 8px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Languages ---------- */
.langs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lang {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  text-align: center;
}
.lang__tag {
  display: inline-grid; place-items: center;
  width: 60px; height: 60px; margin-bottom: 14px;
  border-radius: 16px;
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem;
  color: var(--brown-800);
  background: linear-gradient(135deg, rgba(241,194,64,.25), rgba(200,148,26,.2));
}
.lang h3 { margin: 0 0 6px; font-size: 1.12rem; }
.lang p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
}
.testimonial blockquote { margin: 0 0 14px; color: var(--ink); font-size: 1.02rem; line-height: 1.7; }
.testimonial figcaption { color: var(--gold-deep); font-weight: 600; }
.muted-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 26px; }

/* ---------- FAQ accordion ---------- */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.faq__q {
  width: 100%; text-align: left;
  background: none; border: 0; cursor: pointer;
  padding: 20px 22px;
  font-family: var(--sans); font-weight: 600; font-size: 1.04rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq__q::after { content: '+'; font-size: 1.5rem; color: var(--gold-deep); transition: transform .25s ease; line-height: 1; flex: none; }
.faq__q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* ---------- Footer columns ---------- */
.footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 4px; }
.footer__col a { color: #cdbb9c; font-size: .95rem; }
.footer__col a:hover { color: var(--gold); }
.footer__tag { color: #9c8a6c; font-size: .92rem; margin: 6px 0 0; max-width: 320px; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 48px; height: 48px; border-radius: 50%;
  border: 0; cursor: pointer; z-index: 60;
  font-size: 1.3rem; color: var(--brown-800);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); }

/* ---------- Scroll reveal (only hides when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .emblem { animation: none; }
  .cta-band::before { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .steps, .langs, .testimonials { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .cards, .features { grid-template-columns: repeat(2, 1fr); }
  .shots, .gallery { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav__links {
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--brown-800);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 0; border-bottom: 1px solid rgba(241,194,64,.2);
    box-shadow: var(--shadow); display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links li { padding: 4px 22px; }
  .nav__links a { display: block; padding: 10px 0; }
  .nav__links .nav__cta { margin: 8px 22px; padding: 12px 18px; text-align: center; }
  .nav__toggle { display: flex; }
  .section { padding: 60px 0; }
  .cards, .features, .shots { grid-template-columns: 1fr; }
  .hero__ornament { width: 66px; height: auto; }
  .hero__ornament--tl, .hero__ornament--tr { top: 14px; }
  .hero__ornament--bl, .hero__ornament--br { bottom: 14px; }
  .hero__ornament--tl, .hero__ornament--bl { left: 14px; }
  .hero__ornament--tr, .hero__ornament--br { right: 14px; }
  .emblem { width: 200px; height: 200px; }
  /* full-width-friendly actions & forms with comfortable tap targets */
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn, .hero__actions .play-badge { justify-content: center; width: 100%; }
  .notify { flex-direction: column; }
  /* column layout: stop the input's flex-basis becoming its height (white blob) */
  .notify input, .notify .btn { width: 100%; flex: 0 0 auto; }
  .contact-form .btn { align-self: stretch; }
  .btn { padding: 14px 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .nav { height: 64px; }
  .brand { font-size: 1.2rem; }
  .brand img { width: 34px; height: 34px; }
  .nav__links { top: 64px; }
  .hero { padding: 56px 0 64px; }
  .emblem { width: 170px; height: 170px; }
  .emblem-wrap .wordmark { font-size: 1.6rem; }
  .stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .stat strong { font-size: 1.6rem; }
  .footer__cols { grid-template-columns: 1fr; gap: 22px; }
  .card__media { height: 150px; }
  .to-top { bottom: 16px; right: 16px; width: 44px; height: 44px; }
  .play-badge__soon { right: 6px; }
}
