/* =========================================================
   Colegio Franco Inglés — sistema de diseño del sitio completo
   Mismo lenguaje visual que la landing de Admisión 2027:
   Outfit/Manrope, paleta navy/teal, tarjetas redondeadas.
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #ffffff;
  --bg-alt: #eef6f7;
  --surface: #ffffff;
  --text: #1c2440;
  --text-muted: #56637d;
  --border: #dde7ea;

  --navy: #0e3692;
  --navy-soft: #123f9e;
  --blue: #0e3692;
  --blue-mid: #2a4f9d;
  --blue-light: #4f74c4;
  --teal: #12a9b3;
  --teal-light: #6fd9e0;
  --teal-soft: #e2f4f5;
  --teal-ink: #0c8890;

  --on-dark-accent: var(--blue-light);
  --on-dark-teal: var(--teal-light);

  --shadow: 0 10px 26px rgba(14, 54, 146, 0.09);
  --shadow-lg: 0 24px 55px rgba(14, 54, 146, 0.18);
  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1180px;

  --font-head: 'Outfit', 'Segoe UI', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;

  --gold-hi: #fff6da;
  --gold-1: #f5da8a;
  --gold-2: #d9ab45;
  --gold-3: #9c701f;
  --gold-edge: #6e4e12;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1526; --bg-alt: #101f38; --surface: #142640;
    --text: #e7edf7; --text-muted: #9db0cc; --border: #223252;
    --teal-soft: rgba(18, 169, 179, 0.16); --teal-ink: #6fe0e6;
    --shadow: 0 10px 26px rgba(0,0,0,0.35); --shadow-lg: 0 24px 55px rgba(0,0,0,0.5);
    --on-dark-accent: #7fa0e8; --on-dark-teal: #7fe0e6;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1526; --bg-alt: #101f38; --surface: #142640;
  --text: #e7edf7; --text-muted: #9db0cc; --border: #223252;
  --teal-soft: rgba(18, 169, 179, 0.16); --teal-ink: #6fe0e6;
  --shadow: 0 10px 26px rgba(0,0,0,0.35); --shadow-lg: 0 24px 55px rgba(0,0,0,0.5);
  --on-dark-accent: #7fa0e8; --on-dark-teal: #7fe0e6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); margin: 0; text-wrap: balance; }
:root[data-theme="dark"] h1, :root[data-theme="dark"] h2, :root[data-theme="dark"] h3, :root[data-theme="dark"] h4 { color: #f2f5fb; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) h1, :root:not([data-theme="light"]) h2, :root:not([data-theme="light"]) h3, :root:not([data-theme="light"]) h4 { color: #f2f5fb; } }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
[id] { scroll-margin-top: 96px; }
section, .page-section { padding: 80px 0; }
@media (max-width: 640px) { section, .page-section { padding: 52px 0; } }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 700; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-ink); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin-top: 14px; }
.section-head p { margin-top: 14px; color: var(--text-muted); font-size: 16.5px; }
.section-head.left { margin-left: 0; text-align: left; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-body); font-weight: 700; font-size: 15.5px; padding: 15px 28px; border-radius: 14px; text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 2px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 26px rgba(14,54,146,0.28); }
.btn-primary:hover { box-shadow: 0 16px 32px rgba(14,54,146,0.36); }
.btn-outline { background: #fff; border-color: #fff; color: var(--blue); }
.btn-outline:hover { background: var(--bg-alt); }
.btn-outline-navy { background: transparent; border-color: var(--blue); color: var(--blue); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-outline-navy { border-color: var(--on-dark-accent); color: var(--on-dark-accent); } }
:root[data-theme="dark"] .btn-outline-navy { border-color: var(--on-dark-accent); color: var(--on-dark-accent); }
.btn-outline-navy:hover { background: rgba(14,54,146,0.08); }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Site header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--surface); border-bottom: 1px solid var(--border); backdrop-filter: saturate(180%) blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 42px; width: auto; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--navy); line-height: 1.15; }
:root[data-theme="dark"] .brand-name { color: #f2f5fb; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-name { color: #f2f5fb; } }
.brand-name span { display: block; font-weight: 500; font-size: 12px; color: var(--teal-ink); text-transform: uppercase; letter-spacing: .08em; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > li { list-style: none; position: relative; }
.main-nav, .main-nav ul { margin: 0; padding: 0; }
.nav-link { display: flex; align-items: center; gap: 5px; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 14.5px; text-decoration: none; color: var(--text); }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--blue); background: var(--bg-alt); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav-link:hover, :root:not([data-theme="light"]) .nav-link[aria-current="page"] { color: var(--on-dark-accent); } }
:root[data-theme="dark"] .nav-link:hover, :root[data-theme="dark"] .nav-link[aria-current="page"] { color: var(--on-dark-accent); }
.nav-link .chev { transition: transform .18s ease; flex: none; }
.has-dropdown:hover .chev { transform: rotate(180deg); }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s; }
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { list-style: none; }
.dropdown a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--text); }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--bg-alt); color: var(--blue); }
/* Resalta "Sobre Nosotros" cuando estás en una de sus subpáginas, sin abrir el submenú */
.has-dropdown.current-section > .nav-link { color: var(--blue); background: var(--bg-alt); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .has-dropdown.current-section > .nav-link { color: var(--on-dark-accent); } }
:root[data-theme="dark"] .has-dropdown.current-section > .nav-link { color: var(--on-dark-accent); }
/* En móvil, .open sí controla la expansión del submenú (ver site.js) */
.has-dropdown.open .chev { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--navy); }
:root[data-theme="dark"] .nav-toggle { color: #f2f5fb; }

@media (max-width: 980px) {
  .main-nav { position: fixed; inset: 68px 0 0 0; background: var(--surface); flex-direction: column; align-items: stretch; padding: 12px 18px 24px; overflow-y: auto; transform: translateX(100%); transition: transform .2s ease; box-shadow: var(--shadow-lg); }
  .main-nav.open { transform: translateX(0); }
  .main-nav .nav-link { padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--border); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; display: none; padding-left: 14px; }
  .has-dropdown.open .dropdown { display: block; }
  .nav-toggle { display: flex; }
}

/* ---------- Page hero (páginas internas) ---------- */
.page-hero { background: #eef6f7; position: relative; overflow: hidden; padding: 56px 0 60px; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(560px 380px at 96% -10%, rgba(18,169,179,0.22), transparent 60%), radial-gradient(460px 340px at -8% 100%, rgba(14,54,146,0.10), transparent 60%); pointer-events: none; }
.page-hero .wrap { position: relative; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: #56637d; margin-bottom: 18px; }
.breadcrumb a { text-decoration: none; color: #56637d; }
.breadcrumb a:hover { color: #0e3692; }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); color: #0e3692; letter-spacing: -0.01em; max-width: 26ch; }
.page-hero p.lede { margin-top: 16px; font-size: 17px; color: #3d4a63; max-width: 60ch; }

/* Hero grande (home / admisión) reutiliza estas clases */
.hero-full { background: #eef6f7; position: relative; overflow: hidden; padding: 0; }
.hero-full.has-top-pad { padding: 64px 0 0; }
.hero-full::before { content: ""; position: absolute; inset: 0; background: radial-gradient(620px 420px at 92% -8%, rgba(18,169,179,0.24), transparent 60%), radial-gradient(480px 360px at -6% 92%, rgba(14,54,146,0.12), transparent 60%); pointer-events: none; }
.hero-full .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.badge { display: inline-flex; align-items: center; gap: 8px; background: #12a9b3; border: 1px solid #12a9b3; color: #fff; padding: 7px 16px 7px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .03em; margin-bottom: 22px; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; flex: none; }
.badge-gold { background: #c99a34; border-color: #c99a34; padding: 7px 16px; }
.hero-full h1 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; line-height: 1.1; color: #0e3692; letter-spacing: -0.02em; }
.hero-lede { margin-top: 20px; font-size: 18px; line-height: 1.65; color: #3d4a63; max-width: 52ch; }
.hero-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; overflow: hidden; border-radius: 32px 12px 32px 12px; transform: rotate(-1.6deg); box-shadow: 0 26px 50px rgba(14,54,146,0.24); aspect-ratio: 4/5; max-height: 460px; border: 7px solid #fff; }
.hero-top { max-width: 720px; }
.hero-content-pad { padding-top: 40px; }
.hero-banner-full { position: relative; width: 100%; overflow: hidden; line-height: 0; background: #eef6f7; }
.hero-banner-full img, .hero-banner-full video { width: 100%; height: clamp(300px, 46vw, 560px); object-fit: cover; display: block; }
.hero-banner-full::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,12,26,.38) 0%, transparent 40%); pointer-events: none; }
.hero-banner-full .banner-tag { position: absolute; left: 24px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; background: rgba(6,12,26,.55); backdrop-filter: blur(3px); color: #fff; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; z-index: 1; }
.hero-stats { margin-top: 46px; border-top: 1px solid rgba(14,54,146,0.12); display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; padding: 28px 0 38px; }
@media (max-width: 640px) { .hero-stats { grid-template-columns: 1fr; gap: 22px; text-align: left; } }

/* --- SIMCE highlight: placa navy horizontal junto al titular del hero (~2/5 del ancho) --- */
.hero-row { display: grid; grid-template-columns: 3fr 2fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .hero-row { grid-template-columns: 1fr; } }

.simce-plaque { position: relative; background: var(--navy); border-radius: var(--radius); box-shadow: var(--shadow-lg); color: #fff; text-align: center; overflow: hidden; padding: clamp(22px,2.4vw,30px) clamp(22px,2.6vw,34px) clamp(24px,2.6vw,28px); }
@media (max-width: 900px) { .simce-plaque { max-width: 480px; margin: 0 auto; } }
.simce-plaque::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 300px at 10% 0%, rgba(18,169,179,0.28), transparent 60%), radial-gradient(420px 300px at 90% 100%, rgba(79,116,196,0.28), transparent 60%); pointer-events: none; }
.simce-plaque .sp-inner { position: relative; }
.simce-plaque .sp-medal { width: 50px; height: 50px; margin: 0 auto 12px; }
.simce-plaque .sp-head { font-family: var(--font-head); font-weight: 800; line-height: 1.28; }
.simce-plaque .sp-head .l1 { display: block; font-size: clamp(17px,1.9vw,21px); color: #fff; }
.simce-plaque .sp-head .l2 { display: block; font-size: clamp(21px,2.4vw,27px); background: linear-gradient(180deg,#f7e6b0,#e6c672 55%,#c99a3f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.simce-plaque .sp-score { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); }
.simce-plaque .sp-score b { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(38px,4.2vw,48px); line-height: 1; background: linear-gradient(180deg,#f7e6b0,#e6c672 50%,#a8792a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.simce-plaque .sp-score span { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.7); }
.simce-plaque .sp-indicators { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; gap: 9px; text-align: left; }
.simce-plaque .sp-ind { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: #eef2fb; }
.simce-plaque .sp-ind svg { flex: none; color: #f7e6b0; }
.simce-plaque .sp-ind b { color: #f7e6b0; font-weight: 800; }
.simce-plaque .sp-note { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); font-size: 11.5px; line-height: 1.4; color: rgba(255,255,255,.62); }

/* ---------- Galería en movimiento (marquee de fotos) ---------- */
.photo-marquee { overflow: hidden; padding: 44px 0; background: var(--bg-alt); mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent); }
.photo-marquee .track { display: flex; align-items: center; gap: 18px; width: max-content; animation: marquee-scroll 46s linear infinite; }
.photo-marquee:hover .track { animation-play-state: paused; }
.photo-marquee .track img { height: 220px; width: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow); flex: none; object-fit: cover; display: block; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .photo-marquee .track img { height: 150px; } }
.stat b { display: block; font-family: var(--font-head); font-size: 28px; font-weight: 800; color: #0e3692; }
.stat b { display: block; font-family: var(--font-head); font-size: 28px; font-weight: 800; color: #0e3692; }
.stat span { display: block; font-size: 13.5px; color: #56637d; }
.stat-delta { display: inline-flex !important; align-items: center; gap: 5px; margin-top: 10px; padding: 5px 11px; border-radius: 999px; background: #e2f4f5; color: #0c8890; font-size: 12px; font-weight: 700; }

/* ---------- Photo helpers ---------- */
.photo-slot { position: relative; width: 100%; height: 100%; background: var(--bg-alt); display: block; min-height: 160px; overflow: hidden; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-slot .tag { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; background: linear-gradient(to top, rgba(6,12,26,.78) 0%, rgba(6,12,26,.35) 55%, transparent 100%); color: #fff; padding: 26px 16px 12px; font-size: 12.5px; font-weight: 700; }

/* ---------- Pillars / feature cards ---------- */
.pillars, .cards-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
@media (max-width: 940px) { .pillars, .cards-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillars, .cards-4 { grid-template-columns: 1fr; } }
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards-3 { grid-template-columns: 1fr; } }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .cards-2 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); }
.card .icon { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--teal-soft); color: var(--teal-ink); margin-bottom: 18px; }
:root[data-theme="dark"] .card .icon { color: var(--on-dark-teal); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .card .icon { color: var(--on-dark-teal); } }
.card h3 { font-size: 17.5px; }
.card p { margin-top: 10px; color: var(--text-muted); font-size: 14.5px; line-height: 1.65; }

/* ---------- About / split layouts ---------- */
.split { background: var(--bg-alt); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split-grid { grid-template-columns: 1fr; gap: 34px; } }
.split-grid.reverse .split-media { order: 2; }
.split-media-grid { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 400px; }
.split-media-grid > div:first-child { grid-row: 1/3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 5px solid var(--surface); }
.split-media-grid > div:not(:first-child) { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 5px solid var(--surface); }
@media (max-width: 560px) { .split-media-grid { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: 130px 130px; } .split-media-grid > div:first-child { grid-row: 1/3; } }
.split-media-single { height: 460px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid var(--surface); }
.split-media-single img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 560px) { .split-media-single { height: 260px; } }
.split h2 { font-size: clamp(24px, 3.1vw, 32px); }
.split-lede { margin-top: 16px; color: var(--text-muted); font-size: 16px; line-height: 1.7; }
.check-list { margin-top: 24px; display: grid; gap: 13px; }
.check-list li { list-style: none; display: flex; gap: 12px; font-size: 15px; }
.check-list svg { flex: none; margin-top: 3px; color: var(--teal-ink); }
:root[data-theme="dark"] .check-list svg { color: var(--on-dark-teal); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .check-list svg { color: var(--on-dark-teal); } }

.single-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid var(--surface); }

/* ---------- Document accordions (Protocolos y Manuales) ---------- */
.doc-accordion .pdf-embed { padding-left: 0; }
.pdf-embed iframe { width: 100%; height: min(75vh, 640px); border: 1px solid var(--border); border-radius: var(--radius-sm); background: #525659; display: block; }
.pdf-embed .pdf-actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Chips / tags ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 9px 16px; font-size: 13.5px; font-weight: 600; color: var(--text-muted); }

/* ---------- Table card (aranceles) ---------- */
.table-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 480px; font-variant-numeric: tabular-nums; }
thead th { text-align: left; font-family: var(--font-body); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--navy); padding: 15px 20px; }
thead th:not(:first-child) { text-align: right; }
tbody td { padding: 13px 20px; border-bottom: 1px solid var(--border); font-size: 14.5px; }
tbody td:not(:first-child) { text-align: right; font-weight: 600; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: var(--bg-alt); }
.table-note { display: flex; gap: 10px; align-items: flex-start; padding: 18px 20px; font-size: 13.5px; color: var(--text-muted); border-top: 1px solid var(--border); }
.table-note svg { flex: none; margin-top: 2px; color: var(--teal-ink); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow); }
.step .num { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: #fff; background: var(--blue); width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { font-size: 16px; }
.step p { margin-top: 8px; color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* ---------- Accordion / details ---------- */
.details-card, .faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 24px; }
.details-card + .details-card, .faq-item + .faq-item { margin-top: 12px; }
.details-card summary, .faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-family: var(--font-head); font-weight: 700; font-size: 15.5px; color: var(--navy); }
:root[data-theme="dark"] .details-card summary, :root[data-theme="dark"] .faq-item summary { color: #f2f5fb; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .details-card summary, :root:not([data-theme="light"]) .faq-item summary { color: #f2f5fb; } }
.details-card summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }
.details-card summary .chev, .faq-item summary .chev { transition: transform .2s ease; color: var(--blue); flex: none; }
.details-card[open] summary .chev, .faq-item[open] summary .chev { transform: rotate(90deg); }
.details-card ul, .details-card p, .faq-item p { margin: 0 0 20px; color: var(--text-muted); font-size: 14.5px; line-height: 1.75; padding-left: 20px; }
.faq-item p { padding-left: 0; }
.faq-list { display: grid; gap: 12px; max-width: 800px; margin: 0 auto; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr; } }
.gallery .photo-slot { border-radius: var(--radius); aspect-ratio: 1/1; border: 5px solid var(--surface); box-shadow: var(--shadow); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow); }
.testi-card .quote-mark { color: var(--teal-soft); margin-bottom: 6px; }
.testi-text { font-size: 15.5px; line-height: 1.75; color: var(--text); font-style: italic; }
.testi-author { margin-top: 20px; display: flex; align-items: center; gap: 13px; }
.testi-avatar { width: 50px; height: 50px; border-radius: 50%; flex: none; background: var(--teal-soft); overflow: hidden; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--border); }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-name { font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--navy); }
:root[data-theme="dark"] .testi-name { color: #f2f5fb; }
.testi-role { font-size: 13px; color: var(--text-muted); margin-top: 1px; }
.testi-disclaimer { margin-top: 26px; text-align: center; font-size: 12.5px; color: var(--text-muted); }

/* ---------- Map ---------- */
.location { background: var(--bg-alt); }
.location-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.map-frame { width: 100%; max-width: var(--maxw); aspect-ratio: 21/8; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); background: var(--surface); }
@media (max-width: 720px) { .map-frame { aspect-ratio: 4/3.4; } }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Contact ---------- */
.contact-list { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .icon { width: 42px; height: 42px; border-radius: 12px; background: var(--teal-soft); display: flex; align-items: center; justify-content: center; flex: none; color: var(--teal-ink); }
.contact-item a { text-decoration: none; }
.contact-item .label { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.contact-item .val { font-weight: 600; font-size: 15.5px; margin-top: 2px; }
.social-row { margin-top: 26px; display: flex; gap: 12px; }
.social-row a { width: 42px; height: 42px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--blue); }

.form-card { background: var(--surface); color: var(--text); border-radius: 20px; padding: 34px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.form-card h3 { font-size: 19px; }
.form-card > p { margin-top: 8px; color: var(--text-muted); font-size: 14px; }
.field { margin-top: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: var(--text-muted); }
.field input, .field select, .field textarea { width: 100%; font-family: var(--font-body); font-size: 15px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--border); background: var(--bg); color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.form-hint { margin-top: 12px; font-size: 12.5px; color: var(--text-muted); text-align: center; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.14); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 36px; }
.footer-brand span { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.footer-col h4 { color: #fff; font-family: var(--font-head); font-size: 14px; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: #fff; }
footer .bottom { margin-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }

/* ---------- Closing video ---------- */
.closing-video-frame { max-width: 860px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid var(--surface); background: #000; }
.closing-video-frame video { width: 100%; height: auto; display: block; max-height: 560px; background: #000; }

/* ---------- CTA band (navy) ---------- */
.cta-band { background: var(--navy); border-radius: 28px; padding: 54px 44px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 300px at 10% 0%, rgba(18,169,179,0.28), transparent 60%), radial-gradient(420px 300px at 90% 100%, rgba(79,116,196,0.28), transparent 60%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); }
.cta-band p { margin-top: 12px; color: rgba(255,255,255,.82); font-size: 15.5px; max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-band .hero-ctas { justify-content: center; margin-top: 26px; }

/* ---------- Info strip ---------- */
.info-strip { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 34px; display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 24px; align-items: center; }
@media (max-width: 780px) { .info-strip { grid-template-columns: 1fr; text-align: left; } }
.info-strip h3 { font-size: 17px; }
.info-strip p { margin-top: 6px; color: var(--text-muted); font-size: 14px; }

/* ---------- Document lists (protocolos / recursos) ---------- */
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.doc-row:last-child { border-bottom: none; }
.doc-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); text-decoration: none; font-size: 13.5px; white-space: nowrap; }
.doc-link:hover { text-decoration: underline; }
.doc-badge { font-size: 12.5px; font-weight: 700; color: var(--text-muted); background: var(--bg-alt); border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.doc-grid-links { display: flex; flex-wrap: wrap; gap: 10px; }
.doc-grid-links a { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 9px 16px; font-size: 13.5px; font-weight: 700; color: var(--blue); text-decoration: none; }
.doc-grid-links a:hover { background: var(--bg-alt); }

/* Sticky mobile CTA */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--surface); border-top: 1px solid var(--border); padding: 12px 16px; display: none; box-shadow: 0 -8px 24px rgba(16,30,64,.12); }
@media (max-width: 720px) { .mobile-cta { display: block; } body { padding-bottom: 74px; } }
