/* ============================================================
   Español entre Amigos — Curso de Español Profesional
   Hoja de estilos compartida
   Sistema de diseño tomado del blog espanholentreamigos.com.br
   ============================================================ */

/* ---------- Fuentes locales (autoalojadas) ---------- */
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/amatic-sc-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/amatic-sc-700.woff2') format('woff2');
}

@font-face {
  font-family: 'MoonTime';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/moontime-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/caveat-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/caveat-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/raleway-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/raleway-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/raleway-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/raleway-700.woff2') format('woff2');
}

/* ---------- Variables (colores oficiales del blog) ---------- */
:root {
  --turquesa: #5ce1e6;
  --turquesa-claro: #aef0f3;
  --aqua-fondo: #bcf3f5;
  --aqua-suave: #ecfbfc;
  --gris-oscuro: #555;
  --texto: #555;
  --texto-nav: #666;
  --texto-suave: #888;
  --blanco: #ffffff;
  --sombra: 0 0 1rem 0 rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  background: var(--blanco);
  color: var(--texto);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Header (igual al blog) ---------- */
.header {
  background: var(--blanco);
  box-shadow: var(--sombra);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 58px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--texto-nav);
  padding: 8px 16px;
  border-radius: 4px;
  transition: background 0.2s, opacity 0.2s;
}

.nav a:hover {
  background: var(--turquesa);
  opacity: 0.7;
}

.nav a.activo {
  color: #2bb5ba;
}

/* Iconos de redes sociales (estilo blog: ícono turquesa sin fondo) */
.socials {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.socials a:hover {
  transform: scale(1.1);
}

.socials svg {
  width: 24px;
  height: 24px;
  fill: var(--turquesa);
  transition: fill 0.2s;
}

.socials a:hover svg {
  fill: var(--texto-nav);
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 80px 20px 60px;
  background: linear-gradient(180deg, var(--blanco) 0%, var(--aqua-suave) 100%);
}

.hero-script {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--texto-suave);
  margin-bottom: 6px;
}

.hero h1 {
  font-family: 'Amatic SC', cursive;
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 5.5rem);
  letter-spacing: 4px;
  color: #2e2e2e;
  line-height: 1.05;
  margin-bottom: 18px;
}

.hero-line {
  width: 90px;
  height: 2px;
  background: var(--turquesa);
  margin: 0 auto 24px;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--texto);
}

.hero p strong {
  font-weight: 600;
}

/* ---------- Banner con imagen (estilo blog) ---------- */
.banner {
  position: relative;
  width: 100%;
  aspect-ratio: 10 / 3;
  background-color: var(--aqua-suave);
  background-image: url('../img/banner.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: visible;
  z-index: 2;
  box-shadow: var(--sombra);
}

.banner-contenido {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 40px;
  position: relative;
  z-index: 1;
}

.banner-contenido > * {
  max-width: 52%;
}

.banner .banner-script {
  font-family: 'MoonTime', cursive;
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: #2e2e2e;
  margin-bottom: 6px;
  line-height: 1.1;
}

.banner h1 {
  font-family: 'Amatic SC', cursive;
  font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 5rem);
  letter-spacing: 3px;
  color: #2e2e2e;
  line-height: 1.05;
  margin-bottom: 14px;
}

.banner .hero-line {
  width: 90px;
  height: 2px;
  background: var(--turquesa);
  margin: 0 0 20px;
}

.banner .boton {
  padding: 12px 34px;
  font-size: clamp(0.8rem, 1.6vw, 0.95rem);
}

/* Banner específico del Módulo 1 (título + objetivo, como mockup) */
.banner-modulo-1 {
  background-image: url('../img/banner-modulo-1.png');
}

/* Todo el contenido (título + línea + objetivo) vive en un solo bloque
   alineado a la izquierda del banner; la línea se centra bajo el título */
.banner-modulo-1 .banner-bloque {
  max-width: 46%;
  text-align: center;
}

.banner-modulo-1 .banner-bloque > * {
  max-width: 100%;
}

.banner-modulo-1 h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  margin-bottom: 10px;
}

.banner-modulo-1 .hero-line {
  margin: 0 auto 18px;
  width: 110px;
}

.banner-modulo-1 .banner-subtitulo {
  font-family: 'Amatic SC', cursive;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.8vw, 2.3rem);
  letter-spacing: 2px;
  color: #2e2e2e;
  line-height: 1.15;
  margin-bottom: 16px;
}

.banner-modulo-1 .objetivo {
  display: block;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  line-height: 1.75;
  padding: 18px 28px;
}

@media (max-width: 768px) {
  .banner-modulo-1 .banner-bloque {
    max-width: 100%;
  }
}

/* En pantallas pequeñas el banner pasa a bloque con overlay blanco */
@media (max-width: 768px) {
  .banner {
    aspect-ratio: auto;
    padding: 60px 0;
    background-position: 72% center;
  }

  .banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.82);
  }

  .banner-contenido {
    text-align: center;
    padding: 0 24px;
  }

  .banner-contenido > * {
    max-width: 100%;
  }

  .banner .hero-line {
    margin: 0 auto 20px;
  }
}

/* ---------- Etiquetas y pills ---------- */
.tag {
  display: inline-block;
  background: var(--turquesa);
  color: #2e2e2e;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.tag.gris {
  background: #c5c5c5;
}

.hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--turquesa);
  color: #2e2e2e;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(92, 225, 230, 0.5);
  cursor: default;
}

.hint svg {
  fill: #2e2e2e;
}

.objetivo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--blanco);
  border: 2px dashed var(--turquesa);
  color: var(--texto);
  padding: 14px 28px;
  border-radius: 16px;
  font-size: 0.95rem;
  max-width: 640px;
}

.objetivo strong {
  color: #26b3b8;
  font-weight: 600;
}

/* ---------- Títulos de sección ---------- */
.section-title {
  text-align: center;
  margin-bottom: 44px;
}

.section-title h1,
.section-title h2 {
  font-family: 'Amatic SC', cursive;
  font-weight: 400;
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  letter-spacing: 3px;
  color: #2e2e2e;
  line-height: 1.1;
}

.section-title .underline {
  width: 80px;
  height: 2px;
  background: var(--turquesa);
  margin: 14px auto 0;
}

.section-title p {
  margin-top: 16px;
  color: var(--texto-suave);
  font-size: 0.95rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* La sección que sigue al banner queda más cerca de él */
#sobre-el-curso {
  padding-top: 36px;
}

/* ---------- Sección "Sobre el curso" (estilo artículo del blog) ---------- */
.sobre-curso {
  margin-bottom: 60px;
}

.sobre-curso h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2e2e2e;
  margin-bottom: 14px;
  line-height: 1.4;
}

.sobre-curso p {
  text-align: justify;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--texto);
}

/* Cita (blockquote) igual a la del blog */
.sobre-curso blockquote {
  display: grid;
  grid-template-columns: 16% 68% 16%;
  grid-template-rows: auto;
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 30px 0;
  padding: 10px 0;
  font-style: italic;
}

.sobre-curso blockquote::before {
  content: "\201C";
  font-family: Georgia, 'Times New Roman', serif;
  color: #ccc;
  font-size: 3.5rem;
  line-height: 3rem;
  text-align: center;
  align-self: start;
}

.sobre-curso blockquote::after {
  content: "\201D";
  font-family: Georgia, 'Times New Roman', serif;
  color: #ccc;
  font-size: 3.5rem;
  line-height: 1rem;
  text-align: center;
  align-self: end;
}

.sobre-curso blockquote p {
  text-align: center;
  margin: 0;
  font-size: 1rem;
  line-height: 1.5rem;
  align-self: center;
}

@media (min-width: 996px) {
  .sobre-curso h2 {
    font-size: 1.75rem;
    line-height: 2.5rem;
  }

  .sobre-curso p {
    font-size: 1.25rem;
    line-height: 2rem;
  }

  .sobre-curso blockquote {
    grid-template-columns: 10% 80% 10%;
    padding: 14px 10px;
  }

  .sobre-curso blockquote::before {
    font-size: 5rem;
    line-height: 4rem;
  }

  .sobre-curso blockquote::after {
    font-size: 5rem;
    line-height: 1.5rem;
  }

  .sobre-curso blockquote p {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

/* ---------- Layout ---------- */
.seccion {
  padding: 70px 20px;
}

.seccion-aqua {
  background: var(--aqua-fondo);
  padding-top: 36px;
  padding-bottom: 40px;
}

.seccion-aqua .section-title {
  margin-bottom: 28px;
}

.contenedor {
  max-width: 1140px;
  margin: 0 auto;
}

/* ---------- Migas de pan ---------- */
.breadcrumb {
  max-width: 1140px;
  margin: 24px auto 0;
  padding: 0 24px;
  font-size: 0.88rem;
  color: var(--texto-suave);
}

.breadcrumb a {
  color: #26b3b8;
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 6px;
  color: #c5c5c5;
}

/* ---------- Introducción de capítulo (texto justificado a ancho completo) ---------- */
.capitulo-intro p {
  text-align: justify;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--texto);
}

@media (min-width: 996px) {
  .capitulo-intro p {
    font-size: 1.25rem;
    line-height: 2rem;
  }
}

/* ---------- Tarjetas del alfabeto (compactas, con giro 3D) ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

.card {
  height: 245px;
  perspective: 900px;
  cursor: pointer;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.card.volteada .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--blanco);
  border-radius: 14px;
  box-shadow: var(--sombra);
  border: 2px solid transparent;
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover .card-front,
.card:hover .card-back {
  border-color: var(--turquesa);
  box-shadow: 0 10px 26px rgba(92, 225, 230, 0.4);
}

.card-back {
  transform: rotateY(180deg);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

/* La letra resalta: círculo aqua de fondo y color más oscuro */
.letra {
  font-family: 'Amatic SC', cursive;
  font-weight: 700;
  font-size: 2.4rem;
  color: #17a2a8;
  line-height: 1;
  background: var(--turquesa-claro);
  min-width: 52px;
  height: 52px;
  padding: 0 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nombre {
  font-family: 'Caveat', cursive;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--texto);
}

.pronuncia {
  font-size: 0.76rem;
  color: var(--texto-suave);
  line-height: 1.45;
  flex-grow: 1;
}

.ejemplo {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 0.8rem;
  border-top: 1px dashed #d5eeed;
  padding-top: 8px;
  flex-wrap: wrap;
}

.ejemplo strong {
  color: #26b3b8;
  font-weight: 600;
}

.ejemplo span {
  color: #9b9b9b;
  font-size: 0.72rem;
}

.speaker {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  opacity: 0.35;
  transition: opacity 0.2s;
}

.speaker svg {
  width: 100%;
  height: 100%;
  fill: var(--turquesa);
}

.card:hover .speaker {
  opacity: 1;
}

/* Dorso de la tarjeta: 5 palabras del trabajo */
.card-back .back-titulo {
  font-size: 0.78rem;
  font-weight: 700;
  color: #17a2a8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-back .letra-mini {
  font-family: 'Amatic SC', cursive;
  font-weight: 700;
  font-size: 1.3rem;
  color: #17a2a8;
}

.palabras-trabajo {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
  justify-content: center;
}

.palabras-trabajo li {
  font-size: 0.8rem;
  color: var(--texto);
  line-height: 1.35;
  padding-left: 14px;
  position: relative;
}

.palabras-trabajo li::before {
  content: "•";
  color: var(--turquesa);
  font-weight: 700;
  position: absolute;
  left: 0;
}

.card.playing .card-front,
.card.playing .card-back {
  border-color: var(--turquesa);
  background: var(--aqua-suave);
}

.seccion-aqua .card .card-front,
.seccion-aqua .card .card-back {
  box-shadow: 0 8px 24px rgba(46, 46, 46, 0.1);
}

.seccion-aqua .grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 270px));
  justify-content: center;
  max-width: 980px;
  margin: 0 auto;
}

.seccion-aqua .card {
  height: 215px;
}

/* ---------- Tarjetas de módulos ---------- */
.modulos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.modulo-card {
  background: var(--blanco);
  border-radius: 20px;
  box-shadow: var(--sombra);
  padding: 36px 32px;
  border: 2px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modulo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(92, 225, 230, 0.4);
  border-color: var(--turquesa);
}

.modulo-card.proximamente {
  opacity: 0.65;
}

.modulo-card.proximamente:hover {
  transform: none;
  border-color: transparent;
  box-shadow: var(--sombra);
}

.modulo-numero {
  font-family: 'Amatic SC', cursive;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: #26b3b8;
  text-transform: uppercase;
}

.modulo-card h3 {
  font-family: 'Amatic SC', cursive;
  font-weight: 400;
  font-size: 2.2rem;
  letter-spacing: 1px;
  line-height: 1.1;
  color: #2e2e2e;
}

.modulo-card .descripcion {
  font-size: 0.92rem;
  color: var(--texto-suave);
  flex-grow: 1;
}

.modulo-card .meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--texto-suave);
  border-top: 1px dashed #d5eeed;
  padding-top: 16px;
}

.modulo-card .meta strong {
  color: #26b3b8;
  font-weight: 600;
}

/* ---------- Tarjetas de capítulos ---------- */
.capitulos-lista {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.capitulo-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--blanco);
  border-radius: 16px;
  padding: 22px 28px;
  box-shadow: var(--sombra);
  border: 2px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

a.capitulo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(92, 225, 230, 0.4);
  border-color: var(--turquesa);
}

.capitulo-card.proximamente {
  opacity: 0.55;
  cursor: default;
}

.capitulo-numero {
  font-family: 'Amatic SC', cursive;
  font-weight: 700;
  font-size: 2.8rem;
  color: var(--turquesa);
  line-height: 1;
  min-width: 52px;
  text-align: center;
}

.capitulo-card.proximamente .capitulo-numero {
  color: #c5c5c5;
}

.capitulo-info {
  flex-grow: 1;
}

.capitulo-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #2e2e2e;
  margin-bottom: 2px;
}

.capitulo-info p {
  font-size: 0.88rem;
  color: var(--texto-suave);
}

.capitulo-estado {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.capitulo-estado.disponible {
  color: #26b3b8;
}

.capitulo-estado.pendiente {
  color: #c5c5c5;
}

/* ---------- Consejos ---------- */
.consejos {
  max-width: 860px;
  margin: 0 auto;
}

.consejo {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--blanco);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: var(--sombra);
  margin-bottom: 16px;
}

.consejo-icono {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--turquesa-claro);
  border-radius: 47% 53% 58% 42% / 50% 42% 58% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.consejo-texto {
  font-size: 0.93rem;
  color: var(--texto);
}

.consejo-texto strong {
  font-weight: 600;
  color: #26b3b8;
}

/* ---------- Stats (banda gris como el blog) ---------- */
.stats {
  background: var(--gris-oscuro);
  padding: 2rem 20px;
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
  padding: 1rem 0;
}

.stat-icono {
  margin-bottom: 10px;
}

.stat-icono svg {
  width: 48px;
  height: 48px;
  fill: var(--turquesa);
}

.stat-numero {
  font-size: 3rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  text-transform: uppercase;
}

.stat-linea {
  width: 30%;
  height: 0;
  border: solid 2px var(--turquesa);
  margin: 10px auto 14px;
}

.stat-label {
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}


/* ---------- Serie de videos sugeridos ---------- */
.videos-sugeridos {
  background: var(--gris-oscuro);
  padding-top: 50px;
  padding-bottom: 60px;
}

.videos-sugeridos .titulo-videos {
  color: #fff;
}

.videos-sugeridos .titulo-videos span {
  color: var(--turquesa);
}

.videos-sugeridos .subtitulo-videos {
  color: #ddd;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  justify-content: center;
  gap: 18px;
}

.video-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(92, 225, 230, 0.35);
}

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.2s;
}

.play-btn svg {
  background: var(--turquesa);
  border-radius: 50%;
  padding: 12px;
  width: 52px;
  height: 52px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s;
}

.video-card:hover .play-btn {
  background: rgba(0, 0, 0, 0.05);
}

.video-card:hover .play-btn svg {
  transform: scale(1.12);
}

/* ---------- Botones y CTA ---------- */
.boton {
  display: inline-block;
  background: var(--turquesa);
  color: #2e2e2e;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 42px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(92, 225, 230, 0.5);
  transition: transform 0.2s, background 0.2s;
}

.boton:hover {
  transform: translateY(-3px);
  background: #41d5db;
}

.boton.secundario {
  background: transparent;
  color: #26b3b8;
  border: 2px solid var(--turquesa);
  box-shadow: none;
}

.boton.secundario:hover {
  background: var(--aqua-suave);
}

.cta-blog {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(180deg, var(--blanco) 0%, var(--aqua-suave) 100%);
}

.cta-blog .script {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--texto-suave);
  margin-bottom: 8px;
}

.cta-blog h2 {
  font-family: 'Amatic SC', cursive;
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  letter-spacing: 3px;
  color: #2e2e2e;
  margin-bottom: 28px;
  line-height: 1.1;
}

/* ---------- Navegación entre capítulos ---------- */
.nav-capitulos {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px 70px;
  flex-wrap: wrap;
}

/* ---------- Footer (igual al blog: fondo turquesa) ---------- */
footer {
  background: var(--turquesa);
  padding: 1.5rem 20px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1rem;
}

footer .logo-img {
  height: auto;
  width: 100%;
  max-width: 420px;
  margin: 0;
}

footer .socials svg {
  fill: var(--texto-nav);
}

footer .socials a:hover svg {
  fill: #000;
}

footer p {
  font-size: 12px;
  color: #000;
}

footer a {
  color: #000;
  font-weight: 600;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .header-inner {
    justify-content: center;
    text-align: center;
  }

  .logo-img {
    height: 48px;
  }

  .nav {
    gap: 4px;
    justify-content: center;
  }

  .nav a {
    font-size: 0.95rem;
    padding: 6px 10px;
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: 14px;
  }

  .letra {
    font-size: 2.8rem;
  }

  .pronuncia {
    min-height: auto;
  }

  .capitulo-card {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .capitulo-estado {
    margin-top: 4px;
  }

  .stat-numero {
    font-size: 1.5rem;
  }

  .stat-icono svg {
    width: 28px;
    height: 28px;
  }

  .stat-label {
    font-size: 0.85rem;
  }
}
