
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --verde: #476b59;
  --verde-oscuro: #294a3b;
  --verde-claro: #eaf1e9;
  --crema: #faf7f0;
  --dorado: #b59b65;
  --texto: #35443b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--crema);
  color: var(--texto);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 7%;
  background: white;
  border-bottom: 1px solid #e8e8e1;
}

.logo {
  font-weight: 700;
  color: var(--verde-oscuro);
  font-size: 17px;
}

nav {
  display: flex;
  gap: 25px;
}

nav a {
  color: var(--verde-oscuro);
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  color: var(--dorado);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 50px;
  padding: 100px 8%;
  min-height: 580px;
  background: linear-gradient(135deg, #faf7f0, #edf2e9);
}

.etiqueta {
  display: inline-block;
  background: #e4ede3;
  color: var(--verde);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.15;
  color: var(--verde-oscuro);
  margin-bottom: 15px;
}

.hero h2 {
  color: var(--dorado);
  font-size: 25px;
  font-weight: 500;
}

.hero p {
  max-width: 530px;
  font-size: 17px;
}

.acciones {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.boton {
  display: inline-block;
  background: var(--verde);
  color: white;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 9px;
  font-weight: 700;
  transition: 0.2s;
}

.boton:hover {
  background: var(--verde-oscuro);
  transform: translateY(-2px);
}

.boton.secundario {
  background: transparent;
  border: 1px solid var(--verde);
  color: var(--verde);
}

.hero-art {
  background: #e0e9dc;
  min-height: 360px;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 20px 50px #294a3b18;
}

.biblia {
  font-size: 130px;
}

.hero-art p {
  color: var(--verde-oscuro);
  letter-spacing: 3px;
  font-family: 'Playfair Display', serif;
}

.beneficios, .niveles {
  text-align: center;
  padding: 85px 8%;
}

.beneficios {
  background: white;
}

.beneficios h2, .niveles h2 {
  font-size: 36px;
  color: var(--verde-oscuro);
  margin-bottom: 40px;
}

.tarjetas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tarjetas article {
  background: var(--crema);
  border: 1px solid #e8e9e1;
  border-radius: 15px;
  padding: 30px 20px;
  transition: 0.2s;
}

.tarjetas article:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px #0000000d;
}

.tarjetas h3 {
  color: var(--verde-oscuro);
  font-size: 21px;
}

.niveles article {
  background: white;
}

.niveles article span {
  color: var(--dorado);
  font-size: 28px;
  font-weight: 700;
}

.versiculo {
  background: var(--verde-oscuro);
  color: white;
  text-align: center;
  padding: 75px 20px;
}

.versiculo h2 {
  font-size: 32px;
  font-weight: 500;
}

.versiculo p {
  color: #e5d6b4;
}

footer {
  background: #203b30;
  color: #e5eee6;
  text-align: center;
  padding: 25px;
  font-size: 13px;
}

/* Adaptación a teléfonos y tabletas */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 65px 6%;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .acciones {
    justify-content: center;
  }

  .tarjetas {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .navbar {
    flex-direction: column;
    text-align: center;
  }

  nav {
    justify-content: center;
  }

  .hero h1 {
    font-size: 37px;
  }

  .hero h2 {
    font-size: 21px;
  }

  .hero-art {
    min-height: 260px;
  }

  .biblia {
    font-size: 90px;
  }

  .tarjetas {
    grid-template-columns: 1fr;
  }

  .beneficios, .niveles {
    padding: 55px 6%;
  }

  .beneficios h2, .niveles h2 {
    font-size: 29px;
  }
}
.logo-principal {
    display: block;
    width: 300px;
    max-width: 85%;
    height: auto;
    margin: 0 auto;
}

/* Recuadro del logo con efecto flotante */
.hero-art {
    background: #dfe9dc;
    border-radius: 28px;
    box-shadow:
        0 25px 55px rgba(35, 70, 50, 0.22),
        0 8px 18px rgba(35, 70, 50, 0.10);

    transform: translateY(-10px);
    transition: transform 0.4s ease,
                box-shadow 0.4s ease;
}

/* Efecto al pasar el cursor */
.hero-art:hover {
    transform: translateY(-18px);
    box-shadow:
        0 35px 70px rgba(35, 70, 50, 0.28),
        0 12px 25px rgba(35, 70, 50, 0.14);
}

/* SECCIÓN BÍBLICA ELEGANTE */

.versiculo {
    background: radial-gradient(
        ellipse at center,
        #315e49 0%,
        #254c3a 55%,
        #173a2d 100%
    );
    padding: 90px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 3px solid #c5a35d;
    border-bottom: 3px solid #c5a35d;
}

.versiculo-contenido {
    max-width: 1050px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.versiculo-icono {
    font-size: 48px;
    margin-bottom: 24px;
}

.versiculo h2 {
    font-family: Georgia, serif;
    font-size: clamp(26px, 3vw, 42px);
    color: #fffdf7;
    font-weight: 500;
    line-height: 1.5;
    margin: 0 auto 30px;
}

.versiculo-referencia {
    display: inline-block;
    background: linear-gradient(
        135deg,
        #d8b96c,
        #f2dfaa,
        #c39c4e
    );
    color: #254735;
    padding: 12px 40px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

.versiculo::after {
    content: "";
    position: absolute;
    bottom: 18px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        #c5a35d,
        transparent
    );
}
.versiculo-icono {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
}

.linea-dorada {
    width: 90px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        #d6b76e,
        transparent
    );
}

.libro-dorado {
    color: #d6b76e;
    font-size: 48px;
}

.libro-dorado {
    color: #d6b76e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.libro-dorado svg {
    width: 68px;
    height: 58px;
    filter: drop-shadow(0 3px 8px rgba(214,183,110,0.25));
}

/* Luces decorativas suaves en el versículo */
.versiculo::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: -250px;
    left: -180px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(212, 181, 105, 0.16),
        transparent 70%
    );
    pointer-events: none;
}

.versiculo-contenido {
    position: relative;
    z-index: 2;
}
/* Aumentar únicamente la altura de las tarjetas */
.niveles .tarjetas article {
    min-height: 320px;
}

/* Ondas decorativas en las tarjetas de niveles */
.niveles .tarjetas article {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Franja verde */
.niveles .tarjetas article::before {
    content: "";
    position: absolute;
    bottom: -38px;
    left: -35px;
    width: 115%;
    height: 80px;
    background: #245440;
    border-radius: 50% 50% 0 0;
    transform: rotate(8deg);
    z-index: -1;
}

/* Franja dorada */
.niveles .tarjetas article::after {
    content: "";
    position: absolute;
    bottom: -31px;
    left: -35px;
    width: 115%;
    height: 67px;
    background: #d8b96c;
    border-radius: 50% 50% 0 0;
    transform: rotate(8deg);
    z-index: -1;
}

/* Números dorados de los cuatro niveles */
.niveles .tarjetas article > span {
    display: inline-block;
    background: linear-gradient(135deg, #e8c76f, #c99c36);
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    padding: 7px 22px;
    border-radius: 30px;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(150, 110, 40, 0.12);
}

/* Íconos educativos de los niveles */
.niveles .tarjetas article .icono-nivel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #eef3df, #dce8cd);
    border-radius: 50%;
    font-size: 36px;
    line-height: 1;
}

/* Subtítulo elegante de los niveles */
.subtitulo-niveles {
    display: table;
    max-width: calc(100% - 30px);
    margin: 18px auto 40px;
    padding: 12px 28px;
    background: linear-gradient(
        90deg,
        #f7e7bc,
        #f1d48e,
        #f7e7bc
    );
    color: #244735;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
}

/* Líneas doradas decorativas del título */
.niveles h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.niveles h2::before,
.niveles h2::after {
    content: "";
    width: 65px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        #c9a45a,
        transparent
    );
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .niveles h2 {
        gap: 10px;
    }

    .niveles h2::before,
    .niveles h2::after {
        width: 20px;
    }
}

/* Subir ligeramente el botón de la primera tarjeta */
.niveles .tarjetas article .boton {
    position: relative;
    top: -12px;
    z-index: 2;
}

/* Adaptación de las tarjetas para tabletas */
@media (min-width: 601px) and (max-width: 900px) {
    .niveles .tarjetas {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* Adaptación de las tarjetas para celulares */
@media (max-width: 600px) {
    .niveles .tarjetas {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .niveles .tarjetas article {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Botón Comenzar lección más pequeño */
.niveles .tarjetas article .boton {
    font-size: 11px;
    padding: 6px 12px;
    width: fit-content;
    min-width: 0;
    border-radius: 5px;
}

/* Subir título, subtítulo y botón del primer nivel */
.niveles .tarjetas article:first-child h3,
.niveles .tarjetas article:first-child p,
.niveles .tarjetas article:first-child .boton {
    position: relative;
    transform: translateY(-20px);
}

/* Subir títulos y subtítulos de los niveles 2, 3 y 4 */
.niveles .tarjetas article:not(:first-child) h3,
.niveles .tarjetas article:not(:first-child) p {
    position: relative;
    transform: translateY(-20px);
}

/* Birrete dorado sobre el título */
.birrete-niveles {
    width: 90px;
    height: 70px;
    margin: 0 auto 12px;
}

.birrete-niveles svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Hojas decorativas del subtítulo */
.subtitulo-niveles {
    position: relative;
}

.subtitulo-niveles::before,
.subtitulo-niveles::after {
    content: "🌿";
    position: absolute;
    top: 50%;
    font-size: 28px;
    line-height: 1;
}

.subtitulo-niveles::before {
    left: -45px;
    transform: translateY(-50%) rotate(-25deg);
}

.subtitulo-niveles::after {
    right: -45px;
    transform: translateY(-50%) scaleX(-1) rotate(-25deg);
}

/* Evitar que las hojas se salgan de la pantalla */
@media (max-width: 600px) {
    .subtitulo-niveles::before,
    .subtitulo-niveles::after {
        display: none;
    }
}

/* Mejorar apariencia de los íconos */
.niveles .tarjetas .icono-nivel {
    background: radial-gradient(
        circle at 35% 30%,
        #f1f5e8,
        #d6e4c7
    );
    border: 1px solid #e0e9d4;
    box-shadow: 0 3px 8px rgba(35, 75, 50, 0.06);
}

.niveles .tarjetas .icono-dibujo {
    font-style: normal;
    font-size: 37px;
    line-height: 1;
}

/* Ondas más elegantes en las cuatro tarjetas */
.niveles .tarjetas article::before {
    bottom: -32px;
    left: -35px;
    width: 120%;
    height: 85px;
    background: #245b43;
    border-radius: 50% 50% 0 0;
    transform: rotate(-7deg);
}

.niveles .tarjetas article::after {
    bottom: -37px;
    left: -35px;
    width: 120%;
    height: 75px;
    background: #dfc579;
    border-radius: 50% 50% 0 0;
    transform: rotate(-7deg);
}

/* Fondo elegante de la sección de niveles */
section.niveles {
    background:
        radial-gradient(
            ellipse at 50% 0%,
            #ffffff 0%,
            transparent 55%
        ),
        linear-gradient(
            180deg,
            #fbf7f0 0%,
            #f7f0e4 100%
        );
}

/* Iluminación decorativa de la sección */
section.niveles {
    background:
        radial-gradient(
            ellipse 45% 25% at 15% 8%,
            rgba(220, 196, 143, 0.18),
            transparent
        ),
        radial-gradient(
            ellipse 45% 25% at 85% 8%,
            rgba(213, 224, 193, 0.25),
            transparent
        ),
        radial-gradient(
            ellipse at 50% 0%,
            #ffffff,
            transparent 55%
        ),
        linear-gradient(
            180deg,
            #fbf7f0,
            #f7f0e4
        );
}

/* Hojas decorativas en la esquina izquierda */
section.niveles {
    position: relative;
    overflow: hidden;
}

.hojas-decorativas {
    position: absolute;
    top: 25px;
    left: 0;
    width: 160px;
    height: 140px;
    pointer-events: none;
    opacity: 0.85;
}

.hojas-decorativas svg {
    width: 100%;
    height: 100%;
}

/* Ocultar decoración en celulares */
@media (max-width: 600px) {
    .hojas-decorativas {
        display: none;
    }
}

/* Acabado elegante de las cuatro tarjetas */
.niveles .tarjetas article {
    border: 2px solid #ffffff;
    border-radius: 20px;
    box-shadow:
        0 8px 22px rgba(43, 65, 48, 0.08),
        0 2px 5px rgba(43, 65, 48, 0.03);
}

/* Ocultar la hoja grande de la esquina superior izquierda */
.hojas-decorativas {
    display: none;
}

/* Símbolo de inicio en el botón */
.niveles .tarjetas article .boton::before {
    content: "▶";
    font-size: 9px;
    margin-right: 6px;
    vertical-align: 1px;
}

/* Acabado elegante del botón */
.niveles .tarjetas article .boton {
    background: linear-gradient(135deg, #174c38, #0c3d2c);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 3px 8px rgba(12, 61, 44, 0.12);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

/* Efecto al pasar el cursor */
.niveles .tarjetas article .boton:hover {
    background: linear-gradient(135deg, #23674d, #14513b);
    box-shadow: 0 5px 12px rgba(12, 61, 44, 0.2);
}

/* Acabado dorado elegante para los números */
.niveles .tarjetas article > span {
    background: linear-gradient(
        135deg,
        #f0d27d 0%,
        #d9ad43 55%,
        #c99b32 100%
    );
    color: #ffffff;
    box-shadow:
        0 4px 10px rgba(156, 115, 36, 0.14),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* Separar el botón de la onda decorativa */
.niveles .tarjetas article:first-child .boton {
    transform: translateY(-30px);
}

/* Subir los subtítulos en inglés de los cuatro niveles */
.niveles .tarjetas article p {
    position: relative;
    transform: translateY(-30px);
}

/* Subir únicamente la palabra Beginner */
.niveles .tarjetas article:first-child p {
    transform: translateY(-40px);
}

/* Alinear las palabras en inglés de los cuatro niveles */
.niveles .tarjetas article:nth-child(2) p,
.niveles .tarjetas article:nth-child(3) p,
.niveles .tarjetas article:nth-child(4) p {
    transform: translateY(-40px);
}

/* Diseño de los cuatro cuadros de beneficios */
#beneficios .tarjetas article {
    position: relative;
    overflow: hidden;
    border: 1px solid #e8e5db;
    border-radius: 20px;
    background: #fbf8f2;
    box-shadow: 0 8px 22px rgba(30, 70, 50, 0.07);
}

/* Línea dorada decorativa */
#beneficios .tarjetas article::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20%;
    width: 60%;
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent,
        #d5ad4f,
        transparent
    );
}

/* Estilo de los títulos de beneficios */
#beneficios .tarjetas article h3 {
    color: #244b39;
    font-size: 21px;
    line-height: 1.4;
    margin-bottom: 20px;
}

/* Estilo de las descripciones */
#beneficios .tarjetas article p {
    color: #4a5d50;
    font-size: 16px;
    line-height: 1.7;
}

/* Efecto suave al pasar el cursor */
#beneficios .tarjetas article {
    transition: box-shadow 0.25s ease;
}

#beneficios .tarjetas article:hover {
    box-shadow: 0 12px 28px rgba(30, 70, 50, 0.13);
}

/* Íconos académicos de los beneficios */
#beneficios .icono-beneficio {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    background: #e5edd9;
    border-radius: 50%;
}

#beneficios .titulo-beneficio {
    text-align: center;
}

/* Acabado final de los cuadros de beneficios */
#beneficios .tarjetas article {
    box-sizing: border-box;
    border: 1px solid #e5dfd0;
    background: #fffdf8;
    transition: box-shadow 0.25s ease,
                border-color 0.25s ease;
}

/* Efecto elegante al pasar el cursor */
#beneficios .tarjetas article:hover {
    border-color: #d4b66d;
    box-shadow: 0 12px 26px rgba(32, 73, 50, 0.12);
}

/* Círculos de los íconos */
#beneficios .icono-beneficio {
    border: 1px solid #d8e3cb;
    box-shadow: 0 3px 10px rgba(36, 91, 67, 0.06);
}

/* Alineación de los cuadros de beneficios */
#beneficios .tarjetas article {
    text-align: center;
}

/* Mantener los íconos centrados */
#beneficios .icono-beneficio {
    margin-left: auto;
    margin-right: auto;
}

/* Mejorar separación entre título y descripción */
#beneficios .tarjetas article h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

/* Descripciones uniformes */
#beneficios .tarjetas article p {
    margin-top: 0;
    line-height: 1.6;
}

/* Fondo verde intenso del cuadro del logo */
.hero-art {
    background: #214b38;
    border-radius: 28px;
}

/* PORTADA - Cuadro elegante del logo */
.hero-art {
    background: linear-gradient(
        145deg,
        #245b43 0%,
        #123d2c 100%
    );

    border: 3px solid #d5ad4f;
    border-radius: 28px;

    box-shadow:
        0 18px 35px rgba(20, 55, 38, 0.20),
        inset 0 0 20px rgba(255, 255, 255, 0.03);

    overflow: hidden;
}

/* Ondas decorativas de la portada */
.hero {
    position: relative;
    overflow: hidden;
    padding-bottom: 130px;
}

/* Onda verde */
.hero::before {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -5%;
    width: 110%;
    height: 180px;
    background: #245b43;
    border-radius: 50% 50% 0 0;
    transform: rotate(-4deg);
    pointer-events: none;
}

/* Onda dorada */
.hero::after {
    content: "";
    position: absolute;
    bottom: -105px;
    left: -5%;
    width: 110%;
    height: 180px;
    border-top: 8px solid #d5ad4f;
    border-radius: 50% 50% 0 0;
    transform: rotate(-4deg);
    pointer-events: none;
}

/* Botones exclusivos de la portada */
.hero .boton {
    border-radius: 10px;
    padding: 16px 26px;
    font-weight: 700;
    box-shadow: 0 5px 12px rgba(20, 55, 38, 0.10);
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

/* Botón principal */
.hero .boton:not(.secundario) {
    background: #174d36;
    color: white;
}

/* Botón secundario */
.hero .boton.secundario {
    background: transparent;
    border: 1.5px solid #245b43;
    color: #245b43;
}

/* Efecto al pasar el cursor */
.hero .boton:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 18px rgba(20, 55, 38, 0.16);
}

/* Línea dorada junto a 100% Gratis */
.hero .badge::after {
    content: "";
    display: inline-block;
    width: 130px;
    height: 2px;
    background: #d5ad4f;
    margin-left: 24px;
    vertical-align: middle;
}

/* Línea dorada junto a la etiqueta */
.hero .gratis-portada {
    position: relative;
}

.hero .gratis-portada::after {
    content: "";
    position: absolute;
    left: calc(100% + 24px);
    top: 50%;
    transform: translateY(-50%);
    width: 130px;
    height: 2px;
    background: #d5ad4f;
}

/* Eslogan de la portada */
.hero h2 {
    color: #bd984f;
    letter-spacing: 0.3px;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(189, 152, 79, 0.08);
}

/* Iluminación sutil del cuadro del logo */
.hero-art {
    background: radial-gradient(
        ellipse at 35% 20%,
        #2b654a 0%,
        #1d4c37 55%,
        #123d2c 100%
    );

    box-shadow:
        0 20px 38px rgba(20, 55, 38, 0.18),
        inset 0 1px 2px rgba(255, 255, 255, 0.08);
}

/* Adaptación de la portada para celulares */
@media (max-width: 768px) {

    .hero {
        padding-bottom: 110px;
    }

    /* Cuadro del logo */
    .hero-art {
        width: 100%;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    /* Evita que la imagen se salga del cuadro */
    .hero-art img {
        max-width: 100%;
        height: auto;
    }

    /* Ajuste de las ondas */
    .hero::before,
    .hero::after {
        width: 120%;
        left: -10%;
    }

    /* Línea dorada más corta */
    .hero .gratis-portada::after {
        width: 65px;
        left: calc(100% + 14px);
    }
}

/* Ajustes de portada para celulares */
@media (max-width: 768px) {

    /* Título principal */
    .hero h1 {
        font-size: clamp(34px, 8vw, 48px);
        line-height: 1.12;
        overflow-wrap: break-word;
    }

    /* Descripción */
    .hero p {
        line-height: 1.65;
    }

    /* Botones */
    .hero .boton {
        padding: 14px 20px;
        font-size: 15px;
        text-align: center;
    }

    /* Espacio entre contenido y logo */
    .hero-art {
        margin-top: 28px;
    }
}

/* Ajustes adicionales para celulares pequeños */
@media (max-width: 480px) {

    .hero h1 {
        font-size: 34px;
    }

    .hero .boton {
        padding: 13px 16px;
    }
}

/* Acabado del título principal de la portada */
.hero h1 {
    letter-spacing: -0.8px;
    line-height: 1.12;
    text-wrap: balance;
}

/* Mejorar la lectura del texto */
.hero p {
    text-wrap: pretty;
}

/* Ajuste del título en celulares */
@media (max-width: 768px) {
    .hero h1 {
        letter-spacing: -0.4px;
        line-height: 1.18;
    }
}

/* ===================================
   LECCIONES - ENCABEZADO INSTITUCIONAL
=================================== */

body:has(.pagina-lecciones) header {
    background: #fffdf7;
    border-bottom: 1px solid #e5dfd0;
    box-shadow: 0 3px 12px rgba(25, 65, 45, 0.05);
}

body:has(.pagina-lecciones) header .logo {
    color: #214b38;
    font-weight: 700;
}

body:has(.pagina-lecciones) header nav a {
    color: #214b38;
    font-weight: 600;
    transition: color 0.25s ease;
}

body:has(.pagina-lecciones) header nav a:hover {
    color: #b99447;
}

/* ENCABEZADO INSTITUCIONAL - LECCIONES */

body.pagina-lecciones header {
    background: #fffdf7;
    border-bottom: 1px solid #e5dfd0;
    box-shadow: 0 3px 12px rgba(25, 65, 45, 0.05);
}

body.pagina-lecciones header .logo {
    color: #214b38;
    font-weight: 700;
}

body.pagina-lecciones header nav a {
    color: #214b38;
    font-weight: 600;
}

body.pagina-lecciones header nav a:hover {
    color: #b99447;
}
body.pagina-lecciones .imagen-leccion {
    position: relative;
    overflow: hidden;
}

body.pagina-lecciones .ilustracion-biblica {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.palabra .botones-audio {
    display: grid;
    grid-template-columns: 95px 85px 105px 90px;
    align-items: center;
    gap: 3px;
}

.palabra .botones-audio button {
    margin: 0;
}

.palabra .botones-audio span {
    margin-left: 0 !important;
    text-align: left;
}

.palabra .botones-audio span:last-child {
    grid-column: 1 / -1;
}