/* styles.css — Colegio Albor (demo de academia/escuela privada, Alto Digital)
   Mobile-first. Paleta: turquesa cálido + coral + crema. Tipografía amigable-aspiracional. */

/* ============ Tokens ============ */
:root {
  --ink: #2E2E2E;
  --ink-soft: #55534E;
  --cream: #FBF6EE;
  --cream-deep: #F3EADA;
  --white: #FFFFFF;

  --teal: #2F8F9D;
  --teal-deep: #246A75;
  --teal-pale: #E3F1F2;

  --coral: #F2A65A;
  --coral-deep: #DC8A3B;
  --coral-pale: #FDEAD2;

  --sage: #C9D9C5;
  --sage-deep: #8FAE89;

  --border: rgba(46, 46, 46, 0.12);
  --border-soft: rgba(46, 46, 46, 0.08);

  --shadow-sm: 0 2px 10px rgba(46, 46, 46, 0.07);
  --shadow-md: 0 10px 28px rgba(36, 106, 117, 0.14);
  --shadow-lg: 0 24px 56px rgba(36, 106, 117, 0.18);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-full: 999px;

  --font-display: "Baloo 2", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;

  --container-w: 1180px;
  --gutter: 1.25rem;

  --transition: 220ms cubic-bezier(.4,.1,.2,1);
  --transition-slow: 480ms cubic-bezier(.16,.8,.3,1);
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
img { max-width: 100%; display: block; }
/* Red de seguridad: un elemento con [hidden] debe ocultarse SIEMPRE, incluso si otra regla
   (p. ej. .btn{display:inline-flex}) tiene la misma especificidad — las reglas de autor le
   ganan a la hoja de estilos del navegador aunque la especificidad sea igual. */
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--teal-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: var(--ink); }
.container { max-width: var(--container-w); margin: 0 auto; padding: 0 var(--gutter); }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--white); padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* Visible keyboard focus everywhere (never suppressed) */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
  box-shadow: 0 0 0 6px rgba(36, 106, 117, .30);
}
.btn:focus-visible, .tab:focus-visible { outline-color: var(--ink); }

/* Defensive: reveal elements must be visible even if JS never runs/finishes */
.reveal { opacity: 1; transform: none; }
.reveal[data-anim] {
  opacity: 0; transform: translateY(18px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.reveal[data-anim].is-visible { opacity: 1; transform: none; }

/* ============ Demo disclaimer bar (aviso obligatorio, visible, integrado) ============ */
.demo-bar {
  background: var(--ink);
  color: var(--cream);
  font-size: .85rem;
  padding: .55rem 0;
}
.demo-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem .9rem; text-align: center; }
.demo-bar strong { color: var(--coral); }
.demo-bar a { color: var(--white); font-weight: 700; white-space: nowrap; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: var(--radius-full);
  border: 2px solid transparent; cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  text-decoration: none; line-height: 1.2;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--coral); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--coral-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--teal-deep); border-color: var(--teal-deep); }
.btn-secondary:hover { background: var(--teal-deep); color: var(--white); transform: translateY(-2px); }
.btn-whatsapp { background: #25D366; color: #0B3B23; box-shadow: var(--shadow-sm); }
.btn-whatsapp:hover { background: #1EBE5A; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--teal-deep); color: var(--teal-deep); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none !important; }
.btn-sm { padding: .6rem 1.15rem; font-size: .92rem; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow var(--transition), padding var(--transition);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .85rem; padding-bottom: .85rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.logo-mark { width: 2.1rem; height: 2.1rem; border-radius: 9px; flex: none; }
.main-nav { display: none; }
.main-nav ul { display: flex; gap: 1.75rem; list-style: none; }
.main-nav a { color: var(--ink); font-weight: 600; text-decoration: none; padding: .3rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-color: var(--coral); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.desktop-whatsapp { display: none; }

/* Mobile nav — native <details>, works without JS */
/* El <details> vive fuera de .site-header (su backdrop-filter atraparía el panel fijo),
   así que el botón se coloca encima de la cabecera, a la derecha (donde está
   .nav-toggle-spacer), y la acompaña al hacer scroll. Altura de la cabecera:
   3.8rem de contenido + 1px de borde. Abierto, el botón queda fijo arriba a la
   derecha, por encima del panel, para poder cerrarlo. */
.mobile-nav-details { position: sticky; top: calc(3.8rem + 1px); height: 0; z-index: 110; }
.mobile-nav-details > .nav-toggle { position: absolute; right: var(--gutter); bottom: calc(1px + .525rem); z-index: 2; }
.mobile-nav-details[open] > .nav-toggle { position: fixed; top: .6rem; bottom: auto; }
.mobile-nav-details .mobile-nav { z-index: 1; }
.nav-toggle {
  list-style: none; cursor: pointer; display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: var(--radius-full);
  background: var(--teal-deep); color: var(--white);
}
.nav-toggle::-webkit-details-marker { display: none; }
.nav-toggle svg { width: 1.3rem; height: 1.3rem; }
.nav-toggle .icon-close { display: none; }
.mobile-nav-details[open] .nav-toggle .icon-open { display: none; }
.mobile-nav-details[open] .nav-toggle .icon-close { display: block; }
.mobile-nav {
  position: fixed; inset: 0; top: 0;
  background: var(--cream);
  padding: 6rem 1.5rem 2rem;
  overflow-y: auto;
}
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: .25rem; }
.mobile-nav a {
  display: block; padding: .9rem .25rem; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--border-soft);
}
.mobile-nav-foot { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 700; color: var(--teal-deep); }
.badge .dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--coral); }

@media (min-width: 900px) {
  .main-nav { display: block; }
  .desktop-whatsapp { display: inline-flex; }
  .mobile-nav-details { display: none; }
}

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; }
.hero-media { position: relative; min-height: 64vh; display: flex; align-items: flex-end; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(36,52,54,.35) 0%, rgba(36,52,54,.25) 35%, rgba(46,46,46,.88) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; padding: 6.5rem 0 2.75rem; color: var(--white); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; background: rgba(251,246,238,.16);
  border: 1px solid rgba(251,246,238,.4); color: var(--cream);
  padding: .4rem .9rem; border-radius: var(--radius-full); font-size: .8rem; font-weight: 700;
  letter-spacing: .02em; margin-bottom: 1.1rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 7vw, 3.6rem); color: var(--white); max-width: 16ch; margin-bottom: 1rem;
}
.hero h1 em { color: var(--coral); font-style: normal; }
.hero-lead { max-width: 52ch; color: var(--cream); font-size: clamp(1rem, 2.4vw, 1.15rem); margin-bottom: 1.75rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }

@media (min-width: 768px) {
  .hero-media { min-height: 78vh; }
  .hero-content { padding: 8rem 0 4rem; }
}

/* ============ Sections, general ============ */
section { padding: 4rem 0; }
.section-eyebrow {
  display: inline-block; font-weight: 800; color: var(--teal-deep); text-transform: uppercase;
  letter-spacing: .08em; font-size: .8rem; margin-bottom: .6rem;
}
.section-head { max-width: 62ch; margin-bottom: 2.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: .75rem; }
.section-lead { color: var(--ink-soft); font-size: 1.05rem; }
.bg-alt { background: var(--white); }
.bg-tint { background: var(--teal-pale); }

@media (min-width: 768px) { section { padding: 6rem 0; } }

/* ============ Niveles ============ */
.niveles-grid { display: grid; gap: 1.5rem; grid-template-columns: minmax(0,1fr); }
.nivel-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.nivel-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.nivel-icon {
  width: 3.25rem; height: 3.25rem; border-radius: var(--radius-md); display: grid; place-items: center;
  background: var(--coral-pale); color: var(--coral-deep); margin-bottom: 1.25rem;
}
.nivel-icon svg { width: 1.7rem; height: 1.7rem; }
.nivel-card:nth-child(2) .nivel-icon { background: var(--teal-pale); color: var(--teal-deep); }
.nivel-card:nth-child(3) .nivel-icon { background: var(--sage); color: #3E5B3A; }
.nivel-card h3 { font-size: 1.3rem; margin-bottom: .15rem; }
.nivel-age { display: block; font-weight: 700; color: var(--ink-soft); font-size: .88rem; margin-bottom: .85rem; }
.nivel-card p { color: var(--ink-soft); margin-bottom: 0; font-size: .97rem; }

@media (min-width: 768px) { .niveles-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* Pillars strip */
.pillars { margin-top: 3rem; display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0,1fr)); }
.pillar { display: flex; gap: .9rem; align-items: flex-start; }
.pillar-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--white); border: 2px solid var(--sage-deep);
  color: var(--teal-deep); display: grid; place-items: center; flex: none;
}
.pillar-icon svg { width: 1.2rem; height: 1.2rem; }
.pillar > div:last-child { min-width: 0; }
.pillar h4 { font-size: 1rem; margin-bottom: .2rem; overflow-wrap: break-word; hyphens: auto; }
.pillar p { font-size: .9rem; color: var(--ink-soft); margin-bottom: 0; overflow-wrap: break-word; }

@media (min-width: 1024px) { .pillars { grid-template-columns: repeat(4, minmax(0,1fr)); } }

/* ============ Simulador de costos ============ */
.rates-note {
  background: var(--white); border: 1px dashed var(--border); border-radius: var(--radius-sm);
  padding: .9rem 1.1rem; font-size: .88rem; color: var(--ink-soft); margin-bottom: 2rem;
}
.simulator-card {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 1.75rem; display: grid; gap: 2rem; border: 1px solid var(--border-soft);
}
.sim-controls { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 700; font-size: .92rem; }
.field select, .field input, .field textarea {
  padding: .8rem 1rem; border-radius: var(--radius-sm); border: 2px solid var(--border);
  background: var(--cream); color: var(--ink); appearance: none; width: 100%;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E2E2E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.1rem; padding-right: 2.75rem;
}
.field select:focus, .field input:focus, .field textarea:focus { border-color: var(--teal); background: var(--white); }
.field textarea { resize: vertical; min-height: 6rem; }
.field-error { color: #B1382C; font-size: .85rem; font-weight: 700; display: none; margin-top: -.2rem; }
.field.has-error select, .field.has-error input, .field.has-error textarea { border-color: #B1382C; }
.field.has-error .field-error { display: block; }
.field-hint { font-size: .82rem; color: var(--ink-soft); }

.sim-result { background: var(--teal-pale); border-radius: var(--radius-md); padding: 1.5rem; display: grid; gap: .9rem; align-content: start; }
.sim-result h3 { font-size: 1rem; color: var(--teal-deep); }
.sim-row { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; padding-bottom: .7rem; border-bottom: 1px dashed rgba(36,106,117,.25); }
.sim-row span:first-child { color: var(--ink-soft); }
.sim-row strong { white-space: nowrap; }
.sim-discount-note { font-size: .8rem; color: var(--teal-deep); font-weight: 700; }
.sim-total { display: flex; flex-direction: column; gap: .15rem; padding-top: .3rem; }
.sim-total span { font-size: .85rem; font-weight: 700; color: var(--teal-deep); text-transform: uppercase; letter-spacing: .04em; }
.sim-total strong { font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 2.3rem); color: var(--ink); }
.sim-disclaimer {
  display: flex; gap: .65rem; align-items: flex-start; background: var(--coral-pale);
  border-radius: var(--radius-sm); padding: .9rem 1.05rem; font-size: .85rem; color: #6B4620; font-weight: 600;
}
.sim-disclaimer svg { flex: none; width: 1.3rem; height: 1.3rem; color: var(--coral-deep); margin-top: .1rem; }

@media (min-width: 860px) { .simulator-card { grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; } }

/* ============ Galería / instalaciones (tabs) ============ */
.tablist { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2rem; }
.tab {
  flex: 1 1 calc(50% - .6rem); min-width: 9.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1rem; border-radius: var(--radius-full); border: 2px solid var(--border);
  background: var(--white); color: var(--ink-soft); font-weight: 700; font-family: var(--font-display);
  cursor: pointer; transition: all var(--transition);
}
.tab svg { width: 1.1rem; height: 1.1rem; }
.tab:hover { border-color: var(--teal); color: var(--teal-deep); }
.tab.is-active { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white); box-shadow: var(--shadow-sm); }
@media (min-width: 640px) { .tab { flex: 1 1 auto; } }

.tabpanel { display: grid; gap: 1.25rem; grid-template-columns: minmax(0,1fr); }
.tabpanel[hidden] { display: none; }
.gallery-item { border-radius: var(--radius-md); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); border: 1px solid var(--border-soft); }
.gallery-figure { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.gallery-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.gallery-item:hover .gallery-figure img { transform: scale(1.06); }
.gallery-caption { padding: 1rem 1.15rem; font-size: .92rem; color: var(--ink-soft); font-weight: 600; }

@media (min-width: 640px) { .tabpanel { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .tabpanel { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.gallery-note { margin-top: 1.75rem; font-size: .85rem; color: var(--ink-soft); text-align: center; }
.gallery-note a { color: var(--teal-deep); font-weight: 700; }

/* ============ Admisión — formulario multi-paso ============ */
.admision-shell { max-width: 46rem; margin: 0 auto; }
.form-progress { margin-bottom: 2.5rem; }
.progress-track { position: relative; height: 4px; background: var(--border); border-radius: var(--radius-full); margin: 0 1.1rem 1rem; }
.progress-fill { position: absolute; inset: 0; width: 0%; background: var(--coral); border-radius: var(--radius-full); transition: width var(--transition-slow); }
.progress-steps { display: flex; justify-content: space-between; list-style: none; }
.progress-steps li { display: flex; flex-direction: column; align-items: center; gap: .4rem; flex: 1; text-align: center; }
.step-dot {
  width: 2.15rem; height: 2.15rem; border-radius: 50%; background: var(--white); border: 2px solid var(--border);
  display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); color: var(--ink-soft);
  transition: all var(--transition);
}
.progress-steps li span.step-label { font-size: .72rem; font-weight: 700; color: var(--ink-soft); }
.progress-steps li.is-done .step-dot { background: var(--teal); border-color: var(--teal); color: var(--white); }
.progress-steps li.is-active .step-dot { background: var(--coral); border-color: var(--coral); color: var(--ink); box-shadow: 0 0 0 5px var(--coral-pale); }
.progress-steps li.is-active span.step-label { color: var(--ink); }

.form-shell { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 1.75rem; border: 1px solid var(--border-soft); }
.form-step { border: 0; margin: 0; padding: 0; display: none; }
.form-step.is-active { display: block; }
.form-step legend { padding: 0; width: 100%; }
.step-heading { font-size: 1.35rem; margin-bottom: .35rem; }
.step-sub { color: var(--ink-soft); font-size: .92rem; margin-bottom: 1.5rem; }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }

.form-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border-soft); }
.form-nav .btn[data-action="back"] { visibility: hidden; }
.form-nav.show-back .btn[data-action="back"] { visibility: visible; }

.resumen-list { list-style: none; display: grid; gap: .9rem; margin-bottom: 1.5rem; }
.resumen-list li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .9rem; border-bottom: 1px dashed var(--border); font-size: .95rem; }
.resumen-list dt, .resumen-list span:first-child { color: var(--ink-soft); font-weight: 600; }
.resumen-list dd, .resumen-list span:last-child { font-weight: 700; text-align: right; margin: 0; }
.resumen-note {
  display: flex; gap: .65rem; background: var(--teal-pale); color: var(--teal-deep); font-weight: 600;
  font-size: .85rem; border-radius: var(--radius-sm); padding: .9rem 1.05rem; margin-bottom: 1.5rem;
}
.resumen-note svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .1rem; }

.form-confirmation { display: none; text-align: center; padding: 2.5rem 1.5rem; }
.form-confirmation.is-active { display: block; }
.confirm-icon {
  width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--sage); color: #2E5B2A;
  display: grid; place-items: center; margin: 0 auto 1.25rem;
}
.confirm-icon svg { width: 2.1rem; height: 2.1rem; }
.form-confirmation h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.form-confirmation p { color: var(--ink-soft); max-width: 36ch; margin-left: auto; margin-right: auto; }
.confirm-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 1.5rem; }

/* ============ FAQ ============ */
.faq-list { max-width: 50rem; margin: 0 auto; display: grid; gap: .85rem; }
.faq-item { background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--border-soft); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.15rem 1.35rem; font-weight: 700; font-family: var(--font-display);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--teal-pale); color: var(--teal-deep); display: grid; place-items: center; transition: transform var(--transition); }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-answer { padding: 0 1.35rem 1.25rem; color: var(--ink-soft); font-size: .95rem; }

/* ============ Contacto ============ */
.contact-panel {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal)); color: var(--white);
  border-radius: var(--radius-lg); padding: 3rem 2rem; text-align: center; position: relative; overflow: hidden;
}
.contact-panel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(242,166,90,.35), transparent 45%),
              radial-gradient(circle at 85% 85%, rgba(251,246,238,.18), transparent 50%);
}
.contact-panel > * { position: relative; z-index: 1; }
.contact-panel .section-eyebrow { color: var(--coral-pale); }
.contact-panel h2 { color: var(--white); font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: .9rem; }
.contact-panel p { max-width: 46ch; margin: 0 auto 1.75rem; color: rgba(251,246,238,.92); }

/* ============ Footer ============ */
.site-footer { background: var(--ink); color: var(--cream); padding: 3rem 0 1.75rem; }
.footer-top { display: grid; gap: 2rem; margin-bottom: 2.25rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--white); margin-bottom: .75rem; }
.footer-disclaimer { font-size: .88rem; color: rgba(251,246,238,.75); max-width: 42ch; }
.footer-nav ul { list-style: none; display: grid; gap: .6rem; }
.footer-nav a { color: rgba(251,246,238,.85); text-decoration: none; font-size: .93rem; }
.footer-nav a:hover { color: var(--coral); }
.footer-nav h5 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgba(251,246,238,.15); padding-top: 1.5rem; font-size: .8rem; color: rgba(251,246,238,.6); display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; }
.footer-bottom a { color: rgba(251,246,238,.75); }

@media (min-width: 768px) { .footer-top { grid-template-columns: minmax(0,1.4fr) minmax(0,.8fr) minmax(0,.8fr) minmax(0,.8fr); } }

/* ============ Créditos page ============ */
.credits-page { max-width: 54rem; margin: 0 auto; padding: 3rem 0 5rem; }
.credits-list { list-style: none; display: grid; gap: 1.1rem; margin-top: 2rem; }
.credit-row { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 1rem 1.25rem; display: grid; gap: .3rem; }
.c-title { font-weight: 700; }
.c-meta { font-size: .85rem; color: var(--ink-soft); }
.c-meta a { color: var(--teal-deep); }

/* ============ Small utilities ============ */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
