/* ==========================================================================
   Good Victory Magnates Academy — Stylesheet
   Design tokens live at the top so the identity can be retuned in one place.
   ========================================================================== */

:root {
  /* Colour */
  --navy: #0E1B3D;
  --navy-ink: #081127;
  --navy-soft: #1C2B54;
  --pink: #D94F80;
  --pink-deep: #B93A69;
  --pink-tint: #FBE9EF;
  --bg: #FBFAF7;
  --surface: #FFFFFF;
  --text: #1B1E2A;
  --muted: #656B7E;
  --border: #E7E4DC;
  --gold: #C9A15A;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.95rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.6rem + 1.4vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.9rem + 2.2vw, 3.6rem);
  --step-5: clamp(3rem, 2.2rem + 3.6vw, 5rem);

  /* Layout */
  --container: 1200px;
  --container-narrow: 780px;
  --radius: 6px;
  --radius-lg: 14px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --shadow-soft: 0 1px 2px rgba(14, 27, 61, 0.06), 0 8px 24px -12px rgba(14, 27, 61, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.12; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }

:focus-visible {
  outline: 2.5px solid var(--pink);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -60px;
  background: var(--navy); color: #fff; padding: 0.75rem 1.25rem;
  border-radius: var(--radius); z-index: 999; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---- Buttons ---------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--step--1);
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pink); color: #fff; }
.btn-primary:hover { background: var(--pink-deep); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ---- Header / Nav ------------------------------------------------------ */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 247, 0.86);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 20px -18px rgba(14,27,61,0.4);
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.85rem;
}

.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--navy);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.02rem; color: var(--navy); line-height: 1.15;
}
.brand-name span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.68rem; color: var(--muted); letter-spacing: 0.02em; margin-top: 2px; }

.nav-links-list {
  display: flex; align-items: center; gap: 2rem;
}
.nav-links a:not(.btn) {
  font-size: 0.93rem; font-weight: 500; color: var(--navy);
  position: relative; padding-block: 0.3rem;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--pink);
  transition: right 0.25s var(--ease);
}
.nav-links a:not(.btn):hover::after { right: 0; }

@media (max-width: 900px) {
  .nav-links, .nav-apply { display: none; }
}

.nav-toggle {
  display: none; background: none; border: none; padding: 0.4rem;
  width: 42px; height: 42px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 9px; right: 9px; height: 2px;
  background: var(--navy); transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle span { top: 50%; transform: translateY(-50%); }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
}

.mobile-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(88vw, 380px);
  background: var(--navy); color: #fff;
  transform: translateX(100%); transition: transform 0.35s var(--ease);
  z-index: 110; padding: 1.75rem; overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer-backdrop {
  position: fixed; inset: 0; background: rgba(8,17,39,0.5);
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease);
  z-index: 105;
}
.mobile-drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.mobile-drawer-top { display: flex; justify-content: flex-end; margin-bottom: 2rem; }
.mobile-drawer-top button { background: none; border: none; color: #fff; font-size: 1.6rem; line-height: 1; }
.mobile-drawer nav ul { display: flex; flex-direction: column; gap: 0.3rem; }
.mobile-drawer nav a { display: block; padding: 0.9rem 0.2rem; font-size: 1.15rem; font-family: var(--font-display); border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-drawer .btn { margin-top: 1.5rem; width: 100%; justify-content: center; }

/* ---- Hero -------------------------------------------------------------- */

.hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff;
  min-height: min(78vh, 640px);
  display: flex; align-items: flex-end;
}

/* Background photo — fills the section behind everything else.
   object-fit: cover means the image auto-crops to whatever box this
   section ends up being on a given screen, so one photo works across
   every breakpoint without separate mobile/desktop crops. */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* Dark gradient so white text stays readable over any photo — stronger
   at the bottom, where the text sits, lighter toward the top. */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(8,17,39,0.88) 0%, rgba(8,17,39,0.55) 45%, rgba(8,17,39,0.28) 100%);
}

.hero-copy { position: relative; z-index: 2; padding-block: clamp(3rem, 8vw, 5.5rem); width: 100%; }
.hero-eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; color: var(--pink); margin-bottom: 1.4rem; display: flex; align-items: center; gap: 0.6em; }
.hero-eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--pink); display: inline-block; }
.hero h1 { font-size: var(--step-5); color: #fff; max-width: 16ch; margin-bottom: 1.3rem; }
.hero h1 em { font-style: italic; color: var(--pink); font-weight: 500; }
.hero-sub { font-size: var(--step-1); color: rgba(255,255,255,0.85); max-width: 52ch; margin-bottom: 2.2rem; font-weight: 400; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-scroll-cue { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; color: rgba(255,255,255,0.65); width: fit-content; }
.hero-scroll-cue .line { width: 1px; height: 26px; background: rgba(255,255,255,0.4); position: relative; overflow: hidden; }
.hero-scroll-cue .line::after { content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--pink); animation: scrollcue 1.8s var(--ease) infinite; }
@keyframes scrollcue { to { top: 100%; } }

@media (max-width: 640px) {
  .hero { min-height: 92vh; align-items: flex-end; }
  .hero h1 { max-width: 13ch; }
}

/* ---- Placeholder frames (photography stand-ins) ------------------------ */

.placeholder-frame {
  position: relative;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px), linear-gradient(160deg, var(--navy-soft), var(--navy-ink));
  display: flex; align-items: flex-end; width: 100%;
}

.placeholder-frame.light { background: repeating-linear-gradient(135deg, rgba(14,27,61,0.04) 0 2px, transparent 2px 14px), linear-gradient(160deg, #EDEAE2, #E2DED3); }
.placeholder-frame-label { padding: 1.1rem 1.3rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; color: rgba(255,255,255,0.7); background: linear-gradient(to top, rgba(8,17,39,0.55), transparent); width: 100%; }
.placeholder-frame.light .placeholder-frame-label { color: var(--muted); background: none; }

/* Once a real photo replaces the [PLACEHOLDER] label inside any
   .placeholder-frame box, this makes it fill the same frame the
   same way the hero photo does — crops to cover, keeps the frame's
   aspect ratio (ratio-4-3 / ratio-1-1 / ratio-16-10 / ratio-3-4),
   no other markup or CSS needs to change. */
.placeholder-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.placeholder-frame.ratio-4-3 { aspect-ratio: 4/3; }
.placeholder-frame.ratio-1-1 { aspect-ratio: 1/1; }
.placeholder-frame.ratio-16-10 { aspect-ratio: 16/10; }
.placeholder-frame.ratio-3-4 { aspect-ratio: 3/4; }

/* ---- Value strip --------------------------------------------------- */

.value-strip { background: var(--surface); border-bottom: 1px solid var(--border); }
.value-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.value-item { padding: 2.4rem 1.75rem; border-right: 1px solid var(--border); }
.value-item:first-child { padding-left: 0; }
.value-item:last-child { border-right: none; padding-right: 0; }
.value-item .num { font-family: var(--font-display); font-size: 0.85rem; color: var(--pink); margin-bottom: 0.9rem; font-weight: 600; }
.value-item h3 { font-size: 1.08rem; margin-bottom: 0.4rem; color: var(--navy); }
.value-item p { font-size: 0.88rem; color: var(--muted); }

@media (max-width: 900px) {
  .value-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .value-item:nth-child(2) { border-right: none; }
}
@media (max-width: 560px) {
  .value-strip-inner { grid-template-columns: 1fr; }
  .value-item { border-right: none; border-bottom: 1px solid var(--border); }
  .value-item:last-child { border-bottom: none; }
}

/* ---- Section shell ------------------------------------------------- */

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-navy { background: var(--navy); color: #fff; }
.section-tint { background: var(--pink-tint); }
.section-surface { background: var(--surface); }

.eyebrow-label { font-size: 0.8rem; color: var(--pink); font-weight: 600; margin-bottom: 0.9rem; letter-spacing: 0.02em; }
.section-navy .eyebrow-label { color: var(--pink); }
h2.section-title { font-size: var(--step-3); color: var(--navy); max-width: 16ch; }
.section-navy h2.section-title { color: #fff; }
.section-lede { font-size: var(--step-1); color: var(--muted); max-width: 56ch; margin-top: 1rem; font-weight: 400; }
.section-navy .section-lede { color: rgba(255,255,255,0.72); }

/* ---- About (split) --------------------------------------------------- */

.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-copy p { color: var(--muted); margin-top: 1.2rem; font-size: var(--step-0); }
.about-copy .lede { color: var(--text); font-size: var(--step-1); margin-top: 1.4rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---- Vision & Mission --------------------------------------------- */

.vm-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem,5vw,4rem); margin-top: 3rem; }
.vision-card { border-left: 2px solid var(--pink); padding-left: 1.75rem; }
.vision-card .eyebrow-label { margin-bottom: 0.6rem; }
.vision-card p { font-family: var(--font-display); font-size: var(--step-2); color: #fff; line-height: 1.3; }

.mission-list { display: flex; flex-direction: column; }
.mission-row { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1.1rem; padding-block: 1.15rem; border-top: 1px solid rgba(255,255,255,0.14); }
.mission-row:last-child { border-bottom: 1px solid rgba(255,255,255,0.14); }
.mission-row .mno { font-family: var(--font-display); color: var(--pink); font-size: 1.15rem; }
.mission-row p { color: rgba(255,255,255,0.82); font-size: 0.95rem; }

@media (max-width: 860px) { .vm-grid { grid-template-columns: 1fr; } }

/* ---- Academics ------------------------------------------------------- */

.academics-rail { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 3rem; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.academics-rail.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .academics-rail.cols-2 { grid-template-columns: 1fr; } }
.academic-stage { background: var(--surface); border-right: 1px solid var(--border); }
.academic-stage:last-child { border-right: none; }
.academic-stage .placeholder-frame { border-radius: 0; }
.academic-stage-body { padding: 1.5rem 1.4rem; }
.academic-stage-body .stage-tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; color: var(--pink); margin-bottom: 0.5rem; }
.academic-stage-body h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.5rem; }
.academic-stage-body p { font-size: 0.87rem; color: var(--muted); }

@media (max-width: 900px) {
  .academics-rail { grid-template-columns: 1fr 1fr; }
  .academic-stage:nth-child(2) { border-right: none; }
  .academic-stage:nth-child(1), .academic-stage:nth-child(2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 560px) {
  .academics-rail { grid-template-columns: 1fr; }
  .academic-stage { border-right: none; border-bottom: 1px solid var(--border); }
  .academic-stage:last-child { border-bottom: none; }
}

.curriculum-strip { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding-top: 3rem; border-top: 1px solid var(--border); }
.curriculum-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.3rem; }
.curriculum-tags span { font-size: 0.82rem; padding: 0.5rem 0.95rem; border: 1px solid var(--border); border-radius: 999px; color: var(--navy); }
@media (max-width: 760px) { .curriculum-strip { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---- Beyond the classroom (entrepreneurship + ICT) ------------------- */

.beyond-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 3rem; gap: 1px; background: var(--border); }
.beyond-pillar { background: var(--surface); padding: 2.4rem clamp(1.5rem, 3vw, 2.75rem); }
.beyond-pillar .pillar-index { font-family: var(--font-display); color: var(--pink); font-size: 1rem; margin-bottom: 1.2rem; }
.beyond-pillar h3 { font-size: var(--step-2); color: var(--navy); margin-bottom: 0.9rem; }
.beyond-pillar p { color: var(--muted); margin-bottom: 1.6rem; }
@media (max-width: 760px) { .beyond-grid { grid-template-columns: 1fr; } }

/* ---- School life (masonry-ish strip) --------------------------------- */

.life-strip { margin-top: 3rem; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 90px; gap: 0.9rem; }
.life-cell { position: relative; overflow: hidden; border-radius: var(--radius); color: #fff; display: flex; align-items: flex-end; padding: 0.9rem; font-size: 0.85rem; font-weight: 600; background: linear-gradient(150deg, var(--navy-soft), var(--navy-ink)); }
.life-cell span { position: relative; z-index: 2; }
.life-cell::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(8,17,39,0.65), rgba(8,17,39,0.05)); }
.life-cell.c1 { grid-column: span 3; grid-row: span 3; }
.life-cell.c2 { grid-column: span 3; grid-row: span 2; }
.life-cell.c3 { grid-column: span 2; grid-row: span 2; }
.life-cell.c4 { grid-column: span 2; grid-row: span 2; }
.life-cell.c5 { grid-column: span 2; grid-row: span 2; }
.life-cell.c6 { grid-column: span 3; grid-row: span 2; }
.life-cell.c7 { grid-column: span 3; grid-row: span 2; }

@media (max-width: 760px) {
  .life-strip { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 110px; }
  .life-cell, .life-cell.c1, .life-cell.c2, .life-cell.c3, .life-cell.c4, .life-cell.c5, .life-cell.c6, .life-cell.c7 { grid-column: span 1; grid-row: span 2; }
}

/* ---- Why choose us ---------------------------------------------------- */

.why-list { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; }
.why-item { border-top: 2px solid var(--navy); padding-top: 1.1rem; }
.why-item h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.5rem; }
.why-item p { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 760px) { .why-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .why-list { grid-template-columns: 1fr; } }

/* ---- Gallery ------------------------------------------------------ */

/* Grid children shouldn't refuse to shrink below their content's
   intrinsic width — without this, text/label content can force grid
   tracks wider than their column and overflow the container. */
.gallery-grid > *, .academics-rail > *, .news-grid > *, .why-list > *,
.beyond-grid > *, .value-strip-inner > *, .life-strip > *, .testimonial-track > * {
  min-width: 0;
}

.gallery-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- Testimonials ----------------------------------------------------- */

.testimonial-track { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.9rem; }
.testimonial-card .quote-mark { font-family: var(--font-display); font-size: 2.2rem; color: var(--pink); line-height: 1; display: block; margin-bottom: 0.6rem; }
.testimonial-card p.quote { color: var(--muted); font-style: italic; margin-bottom: 1.2rem; }
.testimonial-card .attrib { font-size: 0.85rem; color: var(--navy); font-weight: 600; }
@media (max-width: 860px) { .testimonial-track { grid-template-columns: 1fr; } }

/* ---- Admissions CTA -------------------------------------------------- */

.admissions-cta { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem); display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 2rem; position: relative; overflow: hidden; }
.admissions-cta::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--pink); opacity: 0.16; }
.admissions-cta h2 { color: #fff; font-size: var(--step-3); max-width: 14ch; }
.admissions-cta p { color: rgba(255,255,255,0.75); margin-top: 1rem; max-width: 40ch; }
.admissions-cta .cta-side { display: flex; justify-content: flex-end; }
@media (max-width: 760px) { .admissions-cta { grid-template-columns: 1fr; } .admissions-cta .cta-side { justify-content: flex-start; } }

/* ---- News & events ----------------------------------------------------- */

.news-grid { margin-top: 3rem; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.5rem; }
.news-card { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.news-card .placeholder-frame { border-radius: 0; }
.news-card-body { padding: 1.4rem; }
.news-card .tag { font-size: 0.72rem; font-weight: 600; color: var(--pink); letter-spacing: 0.04em; }
.news-card h3 { font-size: 1.05rem; color: var(--navy); margin-top: 0.5rem; margin-bottom: 0.5rem; }
.news-card p { font-size: 0.85rem; color: var(--muted); }
.news-card .date { font-size: 0.78rem; color: var(--muted); margin-top: 0.8rem; }
@media (max-width: 860px) { .news-grid { grid-template-columns: 1fr; } }

/* ---- FAQ -------------------------------------------------------------- */

.faq-list { margin-top: 2.5rem; max-width: var(--container-narrow); border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.3rem 0; background: none; border: none; text-align: left; font-family: var(--font-display); font-size: 1.05rem; color: var(--navy); }
.faq-q .icon { font-size: 1.2rem; color: var(--pink); transition: transform 0.25s var(--ease); flex-shrink: 0; margin-left: 1rem; }
.faq-q[aria-expanded="true"] .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.faq-a p { padding-bottom: 1.3rem; color: var(--muted); max-width: 62ch; }

/* ---- Contact ------------------------------------------------------ */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); margin-top: 3rem; }
.contact-info dl { display: grid; gap: 1.3rem; margin-bottom: 2rem; }
.contact-info dt { font-size: 0.75rem; color: var(--pink); font-weight: 600; letter-spacing: 0.04em; margin-bottom: 0.25rem; }
.contact-info dd { margin: 0; color: var(--navy); font-size: 1.02rem; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3; }

.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 0.45rem; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 0.8rem 0.95rem; border: 1px solid var(--border); border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem; background: var(--surface); color: var(--text); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--pink); outline: none; box-shadow: 0 0 0 3px rgba(217,79,128,0.15); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .contact-grid { grid-template-columns: 1fr; } }
.form-consent { font-size: 0.8rem; color: var(--muted); display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 1.5rem; }
.form-consent input { margin-top: 0.2rem; }
.form-note { padding: 0.9rem 1.1rem; border-radius: var(--radius); font-size: 0.88rem; margin-bottom: 1.5rem; }
.form-note.success { background: #EAF6EE; color: #256B3D; border: 1px solid #C6E6D1; }
.form-note.error { background: #FBEAEA; color: #8A2A2A; border: 1px solid #F0C6C6; }

/* ---- WhatsApp float ---------------------------------------------------- */

.whatsapp-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #22C35E; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-soft); transition: transform 0.25s var(--ease); }
.whatsapp-float:hover { transform: scale(1.06); }

/* ---- Footer ------------------------------------------------------- */

.site-footer { background: var(--navy-ink); color: rgba(255,255,255,0.75); padding-block: 4rem 1.75rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.75rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand-mark { background: var(--pink); }
.footer-brand p { margin-top: 1rem; font-size: 0.88rem; max-width: 32ch; color: rgba(255,255,255,0.6); }
.footer-col h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.04em; color: #fff; margin-bottom: 1rem; font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: grid; place-items: center; font-size: 0.85rem; }
.newsletter-row { display: flex; gap: 0.5rem; margin-top: 1rem; }
.newsletter-row input { flex: 1; padding: 0.7rem 0.9rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); color: #fff; font-size: 0.85rem; }
.newsletter-row input::placeholder { color: rgba(255,255,255,0.45); }
.footer-bottom { padding-top: 1.75rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.8rem; font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.footer-bottom .credit a { color: rgba(255,255,255,0.6); border-bottom: 1px solid rgba(255,255,255,0.25); }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- Reveal-on-scroll (single orchestrated pattern) --------------------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---- Utility page header (inner pages) --------------------------------- */

.page-header { background: var(--navy); color: #fff; padding-block: clamp(3rem,8vw,5.5rem); }
.page-header .eyebrow-label { color: var(--pink); }
.page-header h1 { color: #fff; font-size: var(--step-4); max-width: 20ch; }
.breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
