:root {
  --ink: #161412;
  --muted: #645d54;
  --cream: #f7f0e4;
  --paper: #fffaf1;
  --clay: #a55337;
  --clay-dark: #743723;
  --olive: #556149;
  --olive-dark: #323c2d;
  --gold: #d4a64b;
  --line: rgba(22, 20, 18, 0.12);
  --light-line: rgba(255, 250, 241, 0.18);
  --shadow: 0 28px 60px rgba(22, 20, 18, 0.16);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--cream); }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
img, iframe { max-width: 100%; display: block; }
a { color: inherit; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 1000;
  background: var(--ink); color: white; padding: 10px 14px; border-radius: 999px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 850px; }

.site-header {
  position: sticky; top: 0; z-index: 100; padding: 12px 0;
  background: rgba(247, 240, 228, 0.84); border-bottom: 1px solid rgba(22,20,18,.08);
  backdrop-filter: blur(18px);
}
.navbar { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-weight: 900; letter-spacing: -0.05em; color: var(--paper); background: linear-gradient(135deg, var(--clay), var(--olive-dark)); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.brand strong { display: block; line-height: 1.1; font-size: 1rem; }
.brand small { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.nav-menu { list-style: none; display: flex; align-items: center; gap: 4px; padding: 0; margin: 0; }
.nav-menu a { display: inline-flex; align-items: center; text-decoration: none; padding: 10px 10px; border-radius: 999px; color: #2a2825; font-weight: 750; font-size: .88rem; }
.nav-menu a:hover, .nav-menu a:focus-visible, .nav-menu a.active { background: rgba(165, 83, 55, .12); outline: none; color: var(--clay-dark); }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 9px 12px; align-items: center; gap: 10px; font-weight: 800; cursor: pointer; }
.nav-toggle i, .nav-toggle i::before, .nav-toggle i::after { display: block; width: 18px; height: 2px; background: var(--ink); content: ""; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle i::before { transform: translateY(-6px); }
.nav-toggle i::after { transform: translateY(4px); }
.menu-open .nav-toggle i { transform: rotate(45deg); }
.menu-open .nav-toggle i::before { opacity: 0; }
.menu-open .nav-toggle i::after { transform: translateY(-2px) rotate(-90deg); }

.section-padding { padding: 92px 0; }
.banner-main {
  min-height: 680px;
  display: flex;
  align-items: center;
  color: var(--paper);
  isolation: isolate;
}
.banner-main-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.banner-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,16,14,.86), rgba(17,16,14,.52), rgba(17,16,14,.32));
  z-index: -1;
}
.banner-content { position: relative; z-index: 1; }
.banner-main .lead { color: rgba(255,250,241,.84); }
.banner-main .eyebrow { color: var(--gold); }
.banner-main .button.primary { background: var(--paper); color: var(--ink); }
.banner-main .button.secondary { border-color: rgba(255,250,241,.35); color: var(--paper); background: rgba(255,250,241,.08); }
.hero-card-glass {
  background: rgba(255,250,241,.88);
  backdrop-filter: blur(12px);
}
.page-hero { padding: 98px 0 84px; position: relative; overflow: hidden; }
.home-hero { background: radial-gradient(circle at top left, rgba(212,166,75,.28), transparent 36%), linear-gradient(135deg, var(--cream), #efe1cd); }
.hero-grid, .two-column, .contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.hero-copy h1, .page-title h1 { font-size: clamp(2.6rem, 7vw, 5.8rem); line-height: .93; letter-spacing: -0.07em; margin: 0 0 24px; max-width: 900px; }
.page-title { padding: 86px 0 76px; background: linear-gradient(135deg, var(--cream), #efe1cd); }
.dark-title { background: linear-gradient(135deg, var(--olive-dark), #1d201a); color: var(--paper); }
.lead, .page-title p { color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 760px; }
.dark-title p { color: rgba(255,250,241,.76); }
.eyebrow { margin: 0 0 16px; color: var(--clay); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 900; }
.dark-title .eyebrow, .section-dark .eyebrow { color: var(--gold); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 850; text-decoration: none; border: 1px solid transparent; }
.button.primary { background: var(--ink); color: var(--paper); }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.section-dark .button.secondary, .contact-card .button.secondary { color: var(--paper); border-color: var(--light-line); }
.button:hover { transform: translateY(-1px); }
.hero-card, .content-card, .feature-card, .profile-card, .faith-card, .quad-card, .schedule-card, .contact-card, .gallery-card { border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.hero-card { padding: 34px; }
.hero-card h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.05; margin: 8px 0 12px; }
.card-label { color: var(--clay); font-weight: 900; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
.hero-card hr { border: 0; height: 1px; background: var(--line); margin: 24px 0; }
.section-light { background: var(--cream); }
.section-dark { background: var(--olive-dark); color: var(--paper); }
.section-dark p { color: rgba(255,250,241,.75); }
.section-accent { background: linear-gradient(135deg, #f3dcc0, #e7c78f); }
.section-intro h2, .section-heading h2, .content-card h2, .mission-stack h2 { font-size: clamp(2rem, 4vw, 3.75rem); line-height: .98; letter-spacing: -.055em; margin: 0 0 18px; }
.section-heading { margin-bottom: 38px; }
.center { text-align: center; max-width: 820px; margin-inline: auto; }
.content-card { padding: clamp(24px, 4vw, 44px); }
.content-card p:first-child { margin-top: 0; }
.content-card p:last-child { margin-bottom: 0; }
.image-panel { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--paper); }
.image-panel img { width: 100%; height: 100%; object-fit: cover; }
.cards-3, .faith-grid, .quad-grid, .gallery-grid { display: grid; gap: 22px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.feature-card, .profile-card, .faith-card, .quad-card, .gallery-card { padding: 22px; }
.feature-card img, .profile-card img, .gallery-card img { width: 100%; border-radius: calc(var(--radius) - 10px); margin-bottom: 18px; background: #eee1d1; }
.feature-card h2, .profile-card h2, .faith-card h2, .quad-card h3, .schedule-card h2 { line-height: 1.08; margin: 0 0 10px; letter-spacing: -.035em; }
.feature-card a { color: var(--clay-dark); font-weight: 900; }
.pastor-layout { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.profile-card-wide {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) 1.18fr;
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
}
.profile-card-wide img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.profile-card-wide h2 { font-size: clamp(2rem, 4vw, 3.55rem); }
.section-dark .profile-card { background: rgba(255,250,241,.08); border-color: var(--light-line); box-shadow: none; }
.clean-list { padding-left: 1.1rem; }
.clean-list li { margin: 8px 0; }
.faith-grid { grid-template-columns: repeat(2, 1fr); }
.faith-card small, .quad-card small { color: var(--muted); display: block; margin-top: 16px; font-weight: 750; }
.quad-grid { grid-template-columns: repeat(4, 1fr); }
.quad-card { text-align: center; }
.quad-symbol {
  width: min(100%, 220px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  margin: 0 auto 18px;
  box-shadow: 0 18px 36px rgba(22,20,18,.14);
  border: 1px solid rgba(22,20,18,.08);
}
.mission-stack { display: grid; gap: 18px; }
.mission-stack article { padding: 24px; border: 1px solid var(--light-line); border-radius: 24px; background: rgba(255,250,241,.08); }
.section-accent .mission-stack article { border-color: var(--line); background: rgba(255,250,241,.55); }
.schedule-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.schedule-card { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: center; padding: 24px; }
.schedule-time { min-height: 110px; border-radius: 24px; display: grid; place-items: center; background: linear-gradient(135deg, var(--clay), var(--olive-dark)); color: var(--paper); font-weight: 950; text-align: center; }
.schedule-card small { text-transform: uppercase; letter-spacing: .14em; font-weight: 900; color: var(--clay); }
.contact-grid { align-items: stretch; }
.section-dark .contact-card { background: rgba(255,250,241,.08); border-color: var(--light-line); color: var(--paper); box-shadow: none; padding: 32px; }
.map-card { border-radius: var(--radius); overflow: hidden; min-height: 470px; border: 1px solid var(--light-line); box-shadow: var(--shadow); }
.map-card iframe { width: 100%; height: 100%; border: 0; min-height: 470px; }
.gallery-grid { grid-template-columns: repeat(3, 1fr); }
.gallery-card { margin: 0; }
.gallery-card figcaption { color: var(--muted); font-size: .9rem; }
code { background: rgba(22,20,18,.08); padding: 2px 6px; border-radius: 6px; }
.site-footer { background: #11100e; color: var(--paper); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
.footer-grid p, .footer-grid small { color: rgba(255,250,241,.7); }
.footer-brand { margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 20px; text-align: center; color: rgba(255,250,241,.58); margin-top: 38px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { position: fixed; inset: 76px 16px auto 16px; display: none; flex-direction: column; align-items: stretch; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
  .menu-open .nav-menu { display: flex; }
  .nav-menu a { justify-content: center; }
  .hero-grid, .two-column, .contact-grid, .pastor-layout, .schedule-grid, .profile-card-wide { grid-template-columns: 1fr; }
  .banner-main { min-height: 760px; }
  .profile-card-wide img { min-height: 320px; }
  .cards-3, .quad-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .container, .navbar { width: min(100% - 28px, var(--max)); }
  .brand small { display: none; }
  .cards-3, .faith-grid, .quad-grid, .gallery-grid { grid-template-columns: 1fr; }
  .schedule-card { grid-template-columns: 1fr; }
  .schedule-time { min-height: 72px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-padding { padding: 64px 0; }
  .page-title { padding: 62px 0 54px; }
}


/* Redes y prédicas */
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.social-card {
  display: flex; align-items: flex-start; gap: 16px; text-decoration: none; padding: 24px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper);
  box-shadow: var(--shadow); min-height: 190px;
}
.social-card:hover { transform: translateY(-2px); }
.social-icon {
  width: 54px; height: 54px; flex: 0 0 54px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--clay), var(--olive-dark)); color: var(--paper);
  font-size: 1.55rem; font-weight: 950;
}
.social-card h3, .media-card h3, .audio-card h3 { margin: 0 0 8px; line-height: 1.1; }
.social-card p, .media-card p, .audio-card p { margin: 0 0 10px; }
.social-card small, .media-card small, .audio-card small { color: var(--muted); font-weight: 750; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.media-card {
  padding: 24px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--paper); box-shadow: var(--shadow);
}
.video-placeholder {
  aspect-ratio: 16 / 9; border-radius: calc(var(--radius) - 10px);
  background: linear-gradient(135deg, rgba(85,97,73,.95), rgba(22,20,18,.92));
  color: var(--paper); display: grid; place-items: center; text-align: center;
  padding: 24px; margin-bottom: 18px;
}
.video-placeholder span {
  display: block; font-size: clamp(2rem, 5vw, 4.5rem); font-weight: 950; letter-spacing: -.06em;
}
.video-placeholder p { color: rgba(255,250,241,.78); max-width: 360px; }
.media-card iframe, .media-card video {
  width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: calc(var(--radius) - 10px);
  margin-bottom: 18px; background: #11100e;
}
.media-help { margin-top: 24px; }
.media-help pre {
  overflow-x: auto; white-space: pre-wrap; background: rgba(22,20,18,.08);
  border-radius: 18px; padding: 18px;
}
.audio-list { display: grid; gap: 18px; }
.audio-card {
  display: grid; grid-template-columns: 1fr minmax(260px, 420px); gap: 24px; align-items: center;
  padding: 24px; border-radius: var(--radius); border: 1px solid var(--light-line);
  background: rgba(255,250,241,.08);
}
.audio-card p { color: rgba(255,250,241,.76); }
.audio-card small { color: rgba(255,250,241,.62); }
.audio-card audio { width: 100%; }

@media (max-width: 980px) {
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .audio-card { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .social-grid, .video-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   CORRECCIÓN V8 — Banner claro + texto legible + servicios
   ========================================================= */

/* Mantiene la foto del banner nítida, clara y sin oscurecer. */
.banner-main-overlay {
  background: transparent !important;
}

/* Evita filtros visuales que puedan afectar la imagen. */
.banner-main-image {
  filter: none !important;
  opacity: 1 !important;
  object-fit: cover;
}

/* El banner conserva la imagen original; el contraste se aplica al texto, no a toda la foto. */
.banner-main {
  color: var(--ink) !important;
}

/* Caja clara detrás del texto principal para que se lea sin oscurecer el banner. */
.banner-main .hero-copy {
  background: rgba(255, 250, 241, 0.88);
  color: #161412 !important;
  padding: clamp(22px, 4vw, 42px);
  border-radius: 28px;
  border: 1px solid rgba(22, 20, 18, 0.14);
  box-shadow: 0 28px 70px rgba(22, 20, 18, 0.22);
  backdrop-filter: blur(6px);
}

/* Texto del banner en color oscuro y limpio. */
.banner-main .hero-copy h1,
.banner-main .hero-copy p,
.banner-main .hero-copy .lead {
  color: #161412 !important;
  text-shadow: none !important;
}

/* Línea superior del banner con color cálido para resaltar. */
.banner-main .hero-copy .eyebrow {
  color: #8a3f27 !important;
}

/* Botones del banner ajustados al nuevo contraste. */
.banner-main .button.primary {
  background: #161412 !important;
  color: #fffaf1 !important;
}

.banner-main .button.secondary {
  background: rgba(255, 250, 241, 0.88) !important;
  color: #161412 !important;
  border-color: rgba(22, 20, 18, 0.22) !important;
}

/* Corrige el cuadro de servicios: fondo claro + texto oscuro. */
.hero-card-glass,
.banner-main .hero-card-glass {
  background: rgba(255, 250, 241, 0.94) !important;
  color: #161412 !important;
  border: 1px solid rgba(22, 20, 18, 0.14);
  box-shadow: 0 28px 70px rgba(22, 20, 18, 0.22);
}

/* Fuerza legibilidad en todos los textos internos del cuadro Servicios. */
.hero-card-glass h2,
.hero-card-glass p,
.hero-card-glass strong,
.hero-card-glass small,
.hero-card-glass span,
.hero-card-glass .card-label {
  color: #161412 !important;
}

/* Solo la etiqueta “Servicios” usa un acento distinto. */
.hero-card-glass .card-label {
  color: #8a3f27 !important;
}

/* En pantallas pequeñas, evita que el banner quede demasiado alto. */
@media (max-width: 680px) {
  .banner-main {
    min-height: auto;
    padding: 72px 0;
  }

  .banner-main .hero-copy {
    padding: 24px;
  }
}


/* =========================================================
   CORRECCIÓN V9 — Posición y transparencia del banner
   ========================================================= */

/* Mueve el cuadro principal un poco a la izquierda y lo hace más transparente. */
.banner-main .hero-copy {
  margin-left: -34px !important;
  background: rgba(255, 250, 241, 0.64) !important;
  backdrop-filter: blur(3px) !important;
}

/* Refuerza la lectura del texto aunque el cuadro sea más transparente. */
.banner-main .hero-copy h1,
.banner-main .hero-copy p,
.banner-main .hero-copy .lead {
  color: #11100e !important;
  text-shadow: 0 1px 2px rgba(255, 250, 241, 0.72) !important;
}

/* Mueve el cuadro de servicios un poco hacia abajo. */
.banner-main .hero-card-glass {
  margin-top: 64px !important;
}

/* En móviles no se aplica el desplazamiento lateral para evitar cortes. */
@media (max-width: 980px) {
  .banner-main .hero-copy {
    margin-left: 0 !important;
  }

  .banner-main .hero-card-glass {
    margin-top: 24px !important;
  }
}


/* =========================================================
   CORRECCIÓN V10 — Se elimina el cuadro principal del banner
   ========================================================= */

/* Al quedar solo el cuadro de Servicios, se alinea hacia la derecha. */
.banner-content.services-only {
  grid-template-columns: minmax(280px, 430px) !important;
  justify-content: end !important;
}

/* Mantiene el cuadro de Servicios visible sin tapar demasiado el banner. */
.banner-content.services-only .hero-card-glass {
  margin-top: 110px !important;
}

/* En móviles, el cuadro queda centrado y no se sale de la pantalla. */
@media (max-width: 980px) {
  .banner-content.services-only {
    grid-template-columns: 1fr !important;
    justify-content: center !important;
  }

  .banner-content.services-only .hero-card-glass {
    margin-top: 260px !important;
  }
}


/* =========================================================
   MOBILE / TABLET OPTIMIZATION — FINAL
   Iglesia Cristo Rey
   ========================================================= */

/* Banner limpio: sin capa oscura ni cuadros encima */
.banner-main-overlay {
  background: transparent !important;
}

.banner-main-image {
  filter: none !important;
  opacity: 1 !important;
  object-fit: cover;
  object-position: center center;
}

/* El banner de inicio queda como imagen principal limpia */
.banner-content.banner-empty {
  display: none !important;
}

.banner-main {
  min-height: clamp(420px, 58vw, 760px);
  padding: 0 !important;
  display: block;
  position: relative;
  overflow: hidden;
}

.banner-main .banner-main-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Mejora general de imágenes */
img {
  max-width: 100%;
  height: auto;
}

/* Evita desbordes horizontales en móviles */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Botones más cómodos para pantallas táctiles */
.button,
.nav-menu a,
.social-link {
  min-height: 44px;
}

/* Tablets */
@media (max-width: 1024px) {
  .container,
  .navbar {
    width: min(100% - 32px, var(--max));
  }

  .hero-grid,
  .two-column,
  .contact-grid,
  .pastor-layout,
  .schedule-grid,
  .profile-card-wide {
    grid-template-columns: 1fr !important;
  }

  .cards-3,
  .faith-grid,
  .quad-grid,
  .gallery-grid,
  .social-grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .page-title h1,
  .hero-copy h1 {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
  }

  .profile-card-wide img {
    min-height: 320px;
    max-height: 520px;
    object-fit: cover;
  }

  .section-padding {
    padding: 72px 0;
  }
}

/* Teléfonos */
@media (max-width: 680px) {
  .container,
  .navbar {
    width: min(100% - 24px, var(--max));
  }

  .site-header {
    padding: 10px 0;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark,
  .brand-logo {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px;
  }

  .brand strong {
    font-size: .96rem;
  }

  .brand small {
    display: none !important;
  }

  .nav-menu {
    inset: 70px 12px auto 12px !important;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
  }

  .nav-menu a {
    width: 100%;
    justify-content: center;
    padding: 14px 16px;
    font-size: 1rem;
  }

  /* Banner más controlado en teléfono */
  .banner-main {
    min-height: 360px !important;
  }

  .banner-main-image {
    object-position: center center !important;
  }

  .page-title {
    padding: 52px 0 46px !important;
  }

  .page-title h1 {
    font-size: clamp(2rem, 12vw, 3.05rem);
    line-height: 1;
  }

  .page-title p,
  .lead {
    font-size: 1.02rem;
  }

  .section-padding {
    padding: 56px 0 !important;
  }

  .cards-3,
  .faith-grid,
  .quad-grid,
  .gallery-grid,
  .social-grid,
  .video-grid {
    grid-template-columns: 1fr !important;
  }

  .content-card,
  .feature-card,
  .profile-card,
  .faith-card,
  .quad-card,
  .gallery-card,
  .media-card,
  .social-box {
    padding: 22px !important;
    border-radius: 22px !important;
  }

  .feature-card img,
  .profile-card img,
  .gallery-card img,
  .image-panel img {
    max-height: 360px;
    object-fit: cover;
  }

  .profile-card-wide {
    padding: 18px !important;
  }

  .profile-card-wide img {
    min-height: 280px !important;
    max-height: 430px;
  }

  .schedule-card {
    grid-template-columns: 1fr !important;
  }

  .schedule-time {
    min-height: 76px !important;
  }

  .map-card,
  .map-card iframe {
    min-height: 360px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .social-icons {
    gap: 14px !important;
  }

  .social-link {
    width: 64px !important;
    height: 64px !important;
  }

  .social-link img {
    width: 42px !important;
    height: 42px !important;
  }

  .audio-card {
    grid-template-columns: 1fr !important;
  }

  .media-help pre {
    font-size: .82rem;
  }
}

/* Teléfonos pequeños */
@media (max-width: 430px) {
  .banner-main {
    min-height: 300px !important;
  }

  .page-title h1 {
    font-size: 2.15rem;
  }

  .section-heading h2,
  .section-intro h2,
  .content-card h2 {
    font-size: 2rem;
  }

  .button {
    width: 100%;
  }
}
