/* ============================================================
   NORTHWOOD ACADEMY — Global Stylesheet
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Palette */
  --ink:        #0A1A2F;
  --ink-2:      #0F2640;
  --ink-3:      #16314f;
  --gold:       #C9A24B;
  --gold-light: #E6C880;
  --gold-deep:  #A9842F;
  --cream:      #F7F2E8;
  --cream-2:    #EFE7D6;
  --paper:      #FFFFFF;
  --slate:      #5A6675;
  --slate-2:    #8A94A3;
  --line:       rgba(10,26,47,0.10);
  --line-light: rgba(255,255,255,0.14);

  /* Semantic */
  --bg:           var(--cream);
  --text-strong:  var(--ink);
  --text-body:    #2C3A4B;
  --text-muted:   var(--slate);
  --surface-card: var(--paper);
  --accent:       var(--gold);

  /* Type */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Manrope', system-ui, sans-serif;

  /* Spacing scale */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  /* Radii */
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 32px; --r-pill: 999px;

  /* Shadows */
  --sh-sm: 0 2px 8px rgba(10,26,47,0.06);
  --sh-md: 0 12px 32px rgba(10,26,47,0.10);
  --sh-lg: 0 28px 64px rgba(10,26,47,0.16);
  --sh-gold: 0 14px 40px rgba(201,162,75,0.32);

  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1); /* @kind other */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text-strong); line-height: 1.08; font-weight: 600; letter-spacing: -0.01em; }
.display { font-size: clamp(3rem, 7vw, 6.2rem); font-weight: 700; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: var(--gold); display: inline-block; }
.eyebrow.center::after { content: ''; width: 28px; height: 1.5px; background: var(--gold); display: inline-block; }
.eyebrow.center { justify-content: center; }
.lead { font-size: 1.18rem; color: var(--text-muted); line-height: 1.7; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.section { padding: clamp(64px, 10vw, 140px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(2.1rem, 4.2vw, 3.4rem); margin: 18px 0 20px; }
.grid { display: grid; gap: 28px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  padding: 16px 30px; border-radius: var(--r-pill); cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--gold); color: var(--ink); box-shadow: var(--sh-gold); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(201,162,75,0.42); background: var(--gold-light); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--sh-md); background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(10,26,47,0.22); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-3px); }
.btn-outline-light { background: transparent; color: var(--cream); border: 1.5px solid rgba(255,255,255,0.3); }
.btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: var(--cream); transform: translateY(-3px); }
.btn-lg { padding: 19px 38px; font-size: 1rem; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 0; transition: padding .4s var(--ease), background .4s, box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(247,242,232,0.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(10,26,47,0.05);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand .crest {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%);
  display: grid; place-items: center; color: var(--gold);
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  box-shadow: inset 0 0 0 1px rgba(201,162,75,0.4), var(--sh-sm);
}
.brand-text { line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-size: 1.28rem; font-weight: 700; color: var(--ink); display: block; }
.brand-text span { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-deep); white-space: nowrap; }

/* Light text when nav is transparent over a dark hero */
.nav:not(.scrolled) .brand-text strong { color: #fff; }
.nav:not(.scrolled) .nav-links a { color: rgba(247,242,232,0.82); }
.nav:not(.scrolled) .nav-links a:hover, .nav:not(.scrolled) .nav-links a.active { color: #fff; }
.nav:not(.scrolled) .nav-toggle span { background: var(--cream); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; font-weight: 600; font-size: 0.96rem; color: var(--text-body);
  padding: 9px 16px; border-radius: var(--r-pill); transition: color .25s, background .25s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--font-display); font-size: 2rem; color: var(--cream); padding: 12px; }
.mobile-menu a:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(160deg, var(--ink) 0%, #081427 60%, #0c1d36 100%);
  color: var(--cream); overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; z-index: 1; }
.hero-glow {
  position: absolute; width: 700px; height: 700px; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, rgba(201,162,75,0.22) 0%, transparent 65%);
  top: -10%; right: -8%; filter: blur(20px); pointer-events: none;
}
.hero-content { position: relative; z-index: 3; width: 100%; padding: 120px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; }
.hero .eyebrow { color: var(--gold-light); }
.hero .eyebrow::before { background: var(--gold-light); }
.hero h1 { color: #fff; font-size: clamp(2.8rem, 6vw, 5.4rem); font-weight: 700; margin: 24px 0; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub { font-size: 1.2rem; color: rgba(247,242,232,0.78); max-width: 520px; line-height: 1.7; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-stats { display: flex; gap: 44px; margin-top: 60px; padding-top: 36px; border-top: 1px solid var(--line-light); }
.hero-stat .num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: #fff; line-height: 1; }
.hero-stat .num em { color: var(--gold-light); font-style: normal; }
.hero-stat .lbl { font-size: 0.82rem; color: rgba(247,242,232,0.6); margin-top: 8px; letter-spacing: 0.04em; }
.hero-visual { position: relative; height: 520px; }
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(247,242,232,0.5);
}
.scroll-hint .mouse { width: 24px; height: 38px; border: 1.5px solid rgba(247,242,232,0.4); border-radius: 14px; position: relative; }
.scroll-hint .mouse::after { content: ''; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 7px; background: var(--gold-light); border-radius: 2px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%,0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%,12px); } 100% { opacity: 0; } }

/* ---------- Marquee strip ---------- */
.strip { background: var(--ink); color: var(--cream); padding: 26px 0; overflow: hidden; }
.strip-track { display: flex; gap: 56px; white-space: nowrap; animation: marquee 28s linear infinite; }
.strip-item { display: flex; align-items: center; gap: 16px; font-family: var(--font-display); font-size: 1.3rem; font-style: italic; color: rgba(247,242,232,0.85); }
.strip-item .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card {
  background: var(--surface-card); border-radius: var(--r-lg); padding: 36px;
  border: 1px solid var(--line); box-shadow: var(--sh-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: rgba(201,162,75,0.4); }
.card .ic {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 24px;
  background: linear-gradient(135deg, var(--cream-2), var(--cream)); color: var(--gold-deep);
  box-shadow: inset 0 0 0 1px rgba(201,162,75,0.25);
}
.card .ic svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.45rem; margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 0.98rem; }
.card .more { margin-top: 22px; font-weight: 700; font-size: 0.9rem; color: var(--gold-deep); display: inline-flex; align-items: center; gap: 8px; transition: gap .3s; }
.card:hover .more { gap: 14px; }

/* tilt program cards */
.tilt { transition: transform .2s var(--ease); transform-style: preserve-3d; will-change: transform; }

/* ---------- Stats band ---------- */
.statband { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%); color: var(--cream); }
.statband .grid { gap: 0; }
.stat-cell { padding: 20px 32px; border-left: 1px solid var(--line-light); }
.stat-cell:first-child { border-left: none; }
.stat-cell .big { font-family: var(--font-display); font-size: clamp(2.6rem,5vw,3.6rem); font-weight: 700; color: #fff; line-height: 1; }
.stat-cell .big em { color: var(--gold-light); font-style: normal; }
.stat-cell .cap { margin-top: 12px; color: rgba(247,242,232,0.66); font-size: 0.92rem; }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.rev > .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 4/3.4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.media-badge {
  position: absolute; bottom: 22px; left: 22px; right: 22px;
  background: rgba(10,26,47,0.72); backdrop-filter: blur(12px); color: var(--cream);
  padding: 20px 24px; border-radius: var(--r-md); display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--line-light);
}
.media-badge .mb-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--gold-light); line-height: 1; }
.feature-list { margin-top: 28px; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 1rem; color: var(--text-body); }
.feature-list .ck { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--gold-light); display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }
.feature-list .ck svg { width: 14px; height: 14px; }

/* ---------- 3D cube section ---------- */
.cube-section { background: var(--ink); color: var(--cream); overflow: hidden; position: relative; }
.cube-section .veil { position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(201,162,75,0.16), transparent 55%); pointer-events: none; }
.scene { perspective: 1100px; display: grid; place-items: center; height: 380px; }
.cube { position: relative; width: 200px; height: 200px; transform-style: preserve-3d; animation: spin 22s linear infinite; }
.cube .face {
  position: absolute; width: 200px; height: 200px;
  border: 1.5px solid rgba(201,162,75,0.45); background: rgba(201,162,75,0.06);
  display: grid; place-items: center; backface-visibility: visible;
  font-family: var(--font-display); font-size: 1.05rem; color: var(--gold-light); text-align: center; padding: 18px;
}
.cube .f1 { transform: translateZ(100px); }
.cube .f2 { transform: rotateY(180deg) translateZ(100px); }
.cube .f3 { transform: rotateY(90deg) translateZ(100px); }
.cube .f4 { transform: rotateY(-90deg) translateZ(100px); }
.cube .f5 { transform: rotateX(90deg) translateZ(100px); }
.cube .f6 { transform: rotateX(-90deg) translateZ(100px); }
@keyframes spin { from { transform: rotateX(-20deg) rotateY(0); } to { transform: rotateX(-20deg) rotateY(360deg); } }

/* ---------- Programs / services grid ---------- */
.prog-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 360px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 32px;
  color: var(--cream); box-shadow: var(--sh-md); isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.prog-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.prog-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,26,47,0) 30%, rgba(8,16,30,0.92) 100%); }
.prog-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); }
.prog-card:hover img { transform: scale(1.08); }
.prog-card .tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 12px; }
.prog-card h3 { color: #fff; font-size: 1.7rem; margin-bottom: 10px; }
.prog-card p { color: rgba(247,242,232,0.82); font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.quote-card { background: var(--surface-card); border-radius: var(--r-lg); padding: 40px; border: 1px solid var(--line); box-shadow: var(--sh-sm); position: relative; }
.quote-card .mark { font-family: var(--font-display); font-size: 5rem; line-height: 0.6; color: var(--gold); opacity: 0.35; height: 40px; }
.quote-card blockquote { font-family: var(--font-display); font-size: 1.32rem; line-height: 1.5; color: var(--ink); margin: 14px 0 26px; font-weight: 500; }
.quote-author { display: flex; align-items: center; gap: 14px; }
.quote-author .av { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote-author .nm { font-weight: 700; color: var(--ink); }
.quote-author .rl { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Faculty ---------- */
.faculty-card { text-align: center; }
.faculty-card .pic { aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 18px; box-shadow: var(--sh-sm); position: relative; }
.faculty-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.faculty-card:hover .pic img { transform: scale(1.06); }
.faculty-card h4 { font-size: 1.2rem; }
.faculty-card .role { color: var(--gold-deep); font-weight: 600; font-size: 0.88rem; margin-top: 4px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), transparent); }
.tl-item { position: relative; padding-bottom: 48px; }
.tl-item::before { content: ''; position: absolute; left: -40px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(201,162,75,0.18); }
.tl-item .yr { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold-deep); font-weight: 700; }
.tl-item h4 { font-size: 1.2rem; margin: 6px 0 8px; }
.tl-item p { color: var(--text-muted); }

/* ---------- Values ---------- */
.value-row { display: flex; gap: 24px; align-items: flex-start; padding: 28px 0; border-top: 1px solid var(--line); }
.value-row .vn { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); font-weight: 700; width: 60px; flex-shrink: 0; }
.value-row h4 { font-size: 1.35rem; margin-bottom: 8px; }
.value-row p { color: var(--text-muted); }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%); color: var(--cream);
  border-radius: var(--r-xl); padding: clamp(48px, 7vw, 88px); text-align: center; position: relative; overflow: hidden;
}
.cta::before { content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,75,0.2), transparent 65%); top: -40%; left: -10%; }
.cta::after { content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,75,0.14), transparent 65%); bottom: -50%; right: -8%; }
.cta-inner { position: relative; z-index: 2; }
.cta h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px; }
.cta p { color: rgba(247,242,232,0.8); font-size: 1.15rem; max-width: 560px; margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--ink) 0%, #081427 100%); color: var(--cream);
  padding: 180px 0 90px; position: relative; overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,75,0.18), transparent 65%); top: -30%; right: -5%; }
.page-hero .inner { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; margin: 22px 0 20px; }
.page-hero h1 em { color: var(--gold-light); font-style: italic; }
.page-hero p { font-size: 1.2rem; color: rgba(247,242,232,0.78); max-width: 600px; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 0.84rem; color: rgba(247,242,232,0.6); margin-top: 28px; }
.crumbs a:hover { color: var(--gold-light); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.info-item { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.info-item .ii-ic { width: 50px; height: 50px; border-radius: 14px; background: var(--ink); color: var(--gold-light); display: grid; place-items: center; flex-shrink: 0; }
.info-item .ii-ic svg { width: 22px; height: 22px; }
.info-item h4 { font-size: 1.1rem; margin-bottom: 4px; }
.info-item p { color: var(--text-muted); font-size: 0.96rem; }
.form-card { background: var(--surface-card); border-radius: var(--r-xl); padding: 44px; box-shadow: var(--sh-md); border: 1px solid var(--line); }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 700; font-size: 0.85rem; color: var(--ink); margin-bottom: 9px; letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 18px; border: 1.5px solid var(--line); border-radius: var(--r-md);
  font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--cream); transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(201,162,75,0.14); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; text-align: center; }
.map-embed { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md); border: 1px solid var(--line); margin-top: 56px; height: 380px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(1.05); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); font-weight: 600; }
.faq-q .pm { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; flex-shrink: 0; transition: .3s; font-size: 1.3rem; color: var(--gold-deep); }
.faq-item.open .pm { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a p { padding: 0 0 26px; color: var(--text-muted); max-width: 760px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding: 80px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
.footer .brand-text strong { color: #fff; }
.footer-about { color: rgba(247,242,232,0.66); margin: 22px 0; max-width: 320px; font-size: 0.96rem; }
.foot-social { display: flex; gap: 12px; }
.foot-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; color: var(--cream); transition: .3s; }
.foot-social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: translateY(-3px); }
.foot-social svg { width: 18px; height: 18px; }
.foot-col h5 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 22px; }
.foot-col a { display: block; color: rgba(247,242,232,0.7); padding: 7px 0; font-size: 0.96rem; transition: color .25s, padding .25s; }
.foot-col a:hover { color: #fff; padding-left: 6px; }
.foot-news input { width: 100%; padding: 14px 16px; border-radius: var(--r-pill); border: 1px solid var(--line-light); background: rgba(255,255,255,0.05); color: var(--cream); font-family: inherit; margin-bottom: 12px; }
.foot-news input::placeholder { color: rgba(247,242,232,0.5); }
.foot-news input:focus { outline: none; border-color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; color: rgba(247,242,232,0.55); font-size: 0.88rem; flex-wrap: wrap; gap: 14px; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .split { gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .cols-3, .cols-4 { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.rev > .split-media { order: 0; }
  .statband .grid { grid-template-columns: 1fr 1fr; }
  .stat-cell { border-left: none; border-bottom: 1px solid var(--line-light); padding: 24px; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .cols-2, .cols-3, .cols-4, .statband .grid, .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .form-card { padding: 28px; }
}
