/* ===== Variables (paleta WalkIdiomas: azul marino + azul cielo) ===== */
:root {
  --brand: #1f3c88;        /* azul marino */
  --brand-dark: #14296b;
  --accent: #2ea3f2;       /* azul cielo */
  --accent-strong: #0c71c3;
  --ink: #1b2540;
  --ink-soft: #5a6478;
  --bg: #ffffff;
  --bg-alt: #f1f6fc;
  --bg-dark: #14296b;
  --line: #e4e9f3;
  --radius: 18px;
  --shadow: 0 10px 40px rgba(31, 60, 136, 0.10);
  --shadow-lg: 0 20px 60px rgba(31, 60, 136, 0.18);
  --max: 1140px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .logo-text { font-family: "Fredoka", "Inter", sans-serif; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 1rem; padding: 14px 26px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  font-family: inherit;
}
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(31, 60, 136, .35); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(31, 60, 136, .45); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); transition: box-shadow .2s ease;
}
.nav-menu, .dropdown { list-style: none; }
.header.scrolled { box-shadow: var(--shadow); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; }
.logo-img { height: 46px; width: auto; display: block; }
.logo-mark {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px;
  background: var(--brand); color: #fff; font-family: "Fredoka"; font-weight: 700; font-size: 1.3rem;
}
.logo-text strong { color: var(--brand); }
.logo-light { color: #fff; }

.nav-menu { display: flex; align-items: center; gap: 22px; }
.nav-menu > li > a { font-weight: 500; color: var(--ink-soft); transition: color .15s ease; }
.nav-menu a:hover { color: var(--brand); }
.nav-menu .btn { color: #fff; }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a::after { content: " ▾"; font-size: .7em; opacity: .7; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 8px; display: grid; gap: 2px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 9px 13px; border-radius: 9px; font-weight: 500; color: var(--ink-soft); }
.dropdown a:hover { background: var(--bg-alt); color: var(--brand); }

/* Subnav de categorías (barra blanca) */
.subnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 72px; z-index: 90; }
.subnav-inner { display: flex; gap: 30px; justify-content: center; align-items: center; min-height: 50px; flex-wrap: wrap; }
.subnav a { font-weight: 600; font-size: .92rem; color: var(--ink-soft); padding: 6px 2px; transition: color .15s ease; }
.subnav a:hover { color: var(--brand); }
@media (max-width: 640px) {
  .subnav-inner { gap: 20px; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .subnav a { white-space: nowrap; }
}

/* Imagen del calendario */
.calendar-img {
  display: block; max-width: 920px; margin: 0 auto; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.calendar-img img { width: 100%; height: auto; display: block; transition: transform .4s ease; }
.calendar-img:hover img { transform: scale(1.02); }

/* Hero de páginas internas */
.page-hero {
  background: radial-gradient(1100px 460px at 80% -10%, var(--bg-alt), #fff);
  padding: 72px 0 52px; text-align: center; border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { display: block; margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 14px; }
.page-hero p { color: var(--ink-soft); font-size: 1.15rem; max-width: 640px; margin: 0 auto; }

.spotify-icon {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: #1db954; color: #fff !important; box-shadow: 0 4px 12px rgba(29,185,84,.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.spotify-icon svg { width: 22px; height: 22px; }
.spotify-icon:hover { transform: scale(1.1); box-shadow: 0 6px 16px rgba(29,185,84,.55); }

.radio-icon {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #fff !important; box-shadow: 0 4px 12px rgba(46,163,242,.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.radio-icon svg { width: 22px; height: 22px; }
.radio-icon:hover { transform: scale(1.1); box-shadow: 0 6px 16px rgba(46,163,242,.55); }
.radio-icon.is-current { box-shadow: 0 0 0 3px rgba(46,163,242,.35), 0 4px 12px rgba(46,163,242,.45); }

/* Contenedor de los iconos sociales (Spotify + Radio) */
.nav-social { display: flex; align-items: center; gap: 16px; margin-left: 4px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { padding: 70px 0 90px; background: radial-gradient(1200px 500px at 80% -10%, var(--bg-alt), #fff); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.badge {
  display: inline-block; background: #fff; border: 1px solid var(--line); color: var(--ink-soft);
  padding: 7px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600; box-shadow: var(--shadow);
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 22px 0 16px; font-weight: 700; }
.highlight { color: var(--brand); position: relative; }
.hero-sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin: 30px 0; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; border-top: 1px solid var(--line); padding-top: 26px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: "Fredoka"; font-size: 1.8rem; color: var(--brand); }
.hero-stats span { font-size: .85rem; color: var(--ink-soft); }

.hero-visual { position: relative; min-height: 420px; display: grid; place-items: center; }
.hero-blob {
  position: absolute; width: 360px; height: 360px; border-radius: 42% 58% 60% 40% / 45% 45% 55% 55%;
  background: linear-gradient(135deg, var(--brand), var(--accent)); opacity: .92;
  animation: morph 8s ease-in-out infinite; z-index: 0;
}
.hero-photo {
  position: relative; z-index: 1; width: 100%; max-width: 380px; height: auto;
  filter: drop-shadow(0 24px 40px rgba(20,41,107,.28));
}
@keyframes morph {
  0%,100% { border-radius: 42% 58% 60% 40% / 45% 45% 55% 55%; }
  50% { border-radius: 58% 42% 40% 60% / 55% 55% 45% 45%; }
}
.float-card {
  position: absolute; background: #fff; padding: 14px 20px; border-radius: 14px;
  box-shadow: var(--shadow-lg); font-weight: 600; font-size: 1rem; z-index: 2;
  animation: bob 4s ease-in-out infinite;
}
.card-2 { top: 24px; right: -4px; animation-delay: 1s; z-index: 2; }
.card-3 { bottom: 30px; left: -4px; animation-delay: 2s; z-index: 2; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.eyebrow { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
.eyebrow.light { color: #9ec9f5; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-top: 10px; }

/* ===== Cards ===== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon { font-size: 2.4rem; margin-bottom: 14px; }
.card-tag {
  color: var(--accent-strong); font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; font-size: .78rem;
}
.card h3 { font-size: 1.45rem; margin: 2px 0 10px; }
.card p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 20px; }
.card-link {
  margin-top: auto; align-self: flex-start; font-weight: 600; color: var(--brand);
  transition: gap .2s ease, color .2s ease;
}
.card-link:hover { color: var(--accent-strong); }

/* ===== Tarjetas de blog ===== */
.blog-card { padding: 0; overflow: hidden; }
.blog-card > :not(.blog-thumb) { margin-left: 26px; margin-right: 26px; }
.blog-card .blog-thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 16px; }
.blog-card .card-tag { margin-top: 2px; }
.blog-card h3 { margin: 6px 0 8px; font-size: 1.15rem; }
.blog-card .card-link { margin-top: auto; margin-bottom: 24px; align-self: flex-start; }

/* ===== Blog index (mejorado) ===== */
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 8px; font-family: inherit; cursor: pointer;
  background: #fff; border: 1px solid var(--line); color: var(--ink-soft);
  padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.filter-chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.filter-chip.is-active { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 8px 20px rgba(31,60,136,.25); }
.filter-chip .chip-count {
  font-size: .72rem; font-weight: 700; line-height: 1; padding: 3px 7px; border-radius: 999px;
  background: var(--bg-alt); color: var(--ink-soft);
}
.filter-chip.is-active .chip-count { background: rgba(255,255,255,.22); color: #fff; }
.blog-card.is-hidden { display: none; }
.blog-card.is-filtering { animation: cardIn .35s ease both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.blog-card { position: relative; }
.blog-card .blog-thumb-wrap { overflow: hidden; }
.blog-card .blog-thumb { transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.blog-card:hover .blog-thumb { transform: scale(1.06); }
.blog-meta { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--ink-soft); margin: 14px 0 0; }
.blog-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.blog-card .card-tag { margin-top: 0; }
.blog-card .blog-tagrow { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.featured-post {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); margin-bottom: 44px; transition: box-shadow .3s ease, transform .25s ease;
  align-items: center;
}
.featured-post:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
/* La imagen es una pieza promocional con texto: se muestra completa (contenedor 16:9 = ratio de la imagen) */
.featured-post .featured-img { overflow: hidden; background: var(--bg-alt); aspect-ratio: 16 / 9; }
.featured-post .featured-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform .6s ease;
}
.featured-post:hover .featured-img img { transform: scale(1.03); }
.featured-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-body .card-tag { color: var(--accent-strong); }
.featured-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 10px 0 12px; }
.featured-body p { color: var(--ink-soft); margin-bottom: 20px; }
.featured-flag {
  display: inline-block; background: var(--brand); color: #fff; font-weight: 700; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 8px;
}
@media (max-width: 760px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-body { padding: 28px 24px; }
}

/* ===== Artículo (post individual) ===== */
.article-hero {
  background: radial-gradient(1100px 460px at 80% -10%, var(--bg-alt), #fff);
  padding: 48px 0 0; border-bottom: 1px solid var(--line);
}
.breadcrumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: 22px; }
.breadcrumb a { color: var(--brand); font-weight: 600; }
.breadcrumb a:hover { color: var(--accent-strong); }
.article-head { max-width: 760px; margin: 0 auto; text-align: center; }
.article-head .card-tag { color: var(--accent-strong); }
.article-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 12px 0 16px; }
.article-head .article-meta { display: flex; gap: 10px; align-items: center; justify-content: center; color: var(--ink-soft); font-size: .9rem; }
.article-cover {
  max-width: 920px; margin: 36px auto -60px; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; z-index: 2;
}
.article-cover { background: var(--bg-alt); }
.article-cover img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; object-fit: cover; }

.article-body { max-width: 720px; margin: 0 auto; padding: 96px 0 20px; font-size: 1.08rem; color: #2a3450; }
.article-body > p { margin-bottom: 22px; }
.article-body h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 42px 0 16px; color: var(--brand);
  padding-top: 6px;
}
.article-body h3 { font-size: 1.2rem; margin: 30px 0 12px; }
.article-body ul, .article-body ol { padding-left: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.article-body ul li { position: relative; padding-left: 30px; color: #2a3450; }
.article-body ul li::before {
  content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--accent);
}
.article-body ol { counter-reset: li; }
.article-body ol li { position: relative; padding-left: 42px; counter-increment: li; }
.article-body ol li::before {
  content: counter(li); position: absolute; left: 0; top: 1px; width: 26px; height: 26px;
  background: var(--brand); color: #fff; border-radius: 50%; display: grid; place-items: center;
  font-size: .82rem; font-weight: 700; font-family: "Fredoka";
}
.article-body strong { color: var(--ink); }
.article-body a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article-figure { margin: 30px 0; }
.article-figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-figure figcaption { text-align: center; font-size: .85rem; color: var(--ink-soft); margin-top: 10px; font-style: italic; }

.vocab-box, .tip-box {
  border-radius: var(--radius); padding: 26px 28px; margin: 30px 0;
}
.vocab-box { background: var(--bg-alt); border: 1px solid var(--line); }
.vocab-box h3 { margin: 0 0 14px; color: var(--brand); }
.vocab-box ul { margin: 0; gap: 9px; }
.vocab-box ul li { padding-left: 0; }
.vocab-box ul li::before { content: none; }
.tip-box {
  background: linear-gradient(135deg, rgba(46,163,242,.12), rgba(12,113,195,.08));
  border: 1px solid rgba(46,163,242,.3); display: flex; gap: 14px; align-items: flex-start;
}
.tip-box .tip-emoji { font-size: 1.6rem; line-height: 1; }
.tip-box p { margin: 0; color: #2a3450; }

.article-cta {
  background: linear-gradient(135deg, var(--brand), var(--accent-strong)); color: #fff;
  border-radius: var(--radius); padding: 36px; text-align: center; margin: 44px 0 10px;
}
.article-cta h3 { font-size: 1.5rem; margin-bottom: 10px; }
.article-cta p { color: #d7e6fb; margin-bottom: 22px; }

.article-share { display: flex; align-items: center; gap: 12px; margin: 36px 0; padding-top: 26px; border-top: 1px solid var(--line); }
.article-share span { font-weight: 600; color: var(--ink-soft); font-size: .9rem; }
.article-share a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-alt); color: var(--brand); transition: background .2s ease, color .2s ease, transform .2s ease;
}
.article-share a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.article-share svg { width: 18px; height: 18px; }

/* Posts relacionados */
.related { padding-top: 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .related-grid { grid-template-columns: 1fr; } .article-cover { margin-bottom: -40px; } }

/* ===== Método ===== */
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.method-content h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 10px 0 16px; }
.method-content > p { color: var(--ink-soft); margin-bottom: 22px; }
.check-list { display: grid; gap: 12px; margin-bottom: 28px; }
.check-list li { padding-left: 32px; position: relative; color: var(--ink-soft); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px;
  background: var(--accent); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}
.method-visual { position: relative; }
.method-visual img {
  width: 100%; height: auto; border-radius: 22px; object-fit: cover;
  box-shadow: var(--shadow-lg); aspect-ratio: 3 / 2;
}
.method-visual::before {
  content: ""; position: absolute; inset: -16px -16px auto auto; width: 120px; height: 120px;
  background: linear-gradient(135deg, var(--accent), var(--brand)); border-radius: 30px; z-index: -1; opacity: .25;
}

/* ===== Exámenes ===== */
.exam-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.exam-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.exam-card h3 { color: var(--brand); font-size: 1.4rem; margin-bottom: 10px; }
.exam-card p { color: var(--ink-soft); }
.exam-banner {
  grid-column: 1 / -1; position: relative; overflow: hidden;
  background: linear-gradient(125deg, var(--brand) 0%, var(--accent-strong) 58%, var(--accent) 100%);
  color: #fff; border-radius: var(--radius); padding: 40px 48px;
  display: flex; align-items: center; gap: 42px; justify-content: center; flex-wrap: wrap;
  box-shadow: 0 18px 50px rgba(20,41,107,.28);
}
.exam-banner::after {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  right: -90px; top: -140px; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.20), transparent 70%);
}

/* Círculo de estadística (95%) — limpio y robusto */
.stat-ring {
  width: 150px; height: 150px; border-radius: 50%; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.22), rgba(255,255,255,.08));
  border: 4px solid rgba(255,255,255,.45);
  box-shadow: 0 12px 32px rgba(0,0,0,.20), inset 0 0 28px rgba(255,255,255,.12);
}
.stat-ring b {
  font-family: "Fredoka"; font-weight: 700; font-size: 2.9rem; line-height: 1;
  letter-spacing: -1px; white-space: nowrap; color: #fff;
}
.stat-ring small {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  opacity: .9; color: #eaf3ff;
}

/* Medidor circular animado (en desuso, conservado por compatibilidad) */
.gauge { position: relative; width: 134px; height: 134px; flex-shrink: 0; }
.gauge-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge-track { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 10; }
.gauge-arc {
  fill: none; stroke: url(#gaugeGrad); stroke-width: 10; stroke-linecap: round;
  stroke-dasharray: 326.73; stroke-dashoffset: 16.34; /* relleno por defecto (sin JS) */
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.18));
}
.exam-banner.is-visible .gauge-arc { animation: gaugeFill 1.5s cubic-bezier(.4,.1,.2,1) .15s both; }
@keyframes gaugeFill { from { stroke-dashoffset: 326.73; } to { stroke-dashoffset: 16.34; } }
.gauge-num {
  position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center;
  font-family: "Fredoka"; font-weight: 700; font-size: 2.1rem; line-height: 1; letter-spacing: -1px;
}
.gauge-num span { font-size: 1rem; font-weight: 600; margin-left: 1px; opacity: .9; }

.exam-banner-text { text-align: left; max-width: 470px; position: relative; }
.exam-banner-text h3 { font-family: "Fredoka"; font-size: 1.7rem; margin-bottom: 8px; color: #fff; }
.exam-banner-text p { font-size: 1.02rem; color: #e7f1ff; margin-bottom: 18px; }
.exam-banner-text strong { font-weight: 700; color: #fff; }
.exam-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.exam-pills span {
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.28);
  padding: 7px 15px; border-radius: 999px; font-size: .85rem; font-weight: 600; backdrop-filter: blur(2px);
}

/* Variante "solo" de las páginas de exámenes: conserva el número grande clásico */
.exam-banner--solo strong {
  font-family: "Fredoka"; font-size: 3.1rem; line-height: 1;
  width: 148px; height: 148px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.14);
  border: 3px solid rgba(255,255,255,.38);
  box-shadow: 0 10px 30px rgba(0,0,0,.18), inset 0 0 26px rgba(255,255,255,.10);
}
.exam-banner--solo span { font-size: 1.05rem; max-width: 320px; color: #eaf3ff; }

@media (max-width: 600px) {
  .exam-banner { padding: 34px 24px; gap: 22px; }
  .exam-banner-text { text-align: center; }
  .exam-pills { justify-content: center; }
}

/* ===== Valoración ===== */
.stars { color: #ffb400; letter-spacing: 2px; }
.rating-band {
  display: flex; align-items: center; gap: 48px; background: #fff;
  border: 1px solid var(--line); border-radius: 24px; padding: 40px 48px; box-shadow: var(--shadow-lg);
}
.rating-score { text-align: center; flex-shrink: 0; }
.rating-score strong { font-family: "Fredoka"; font-size: 3.4rem; color: var(--brand); display: block; line-height: 1; }
.rating-score .stars { font-size: 1.2rem; display: block; margin: 8px 0 4px; }
.rating-score span { font-size: .85rem; color: var(--ink-soft); }
.rating-divider { width: 1px; align-self: stretch; background: var(--line); }
.rating-text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
.rating-text p { color: var(--ink-soft); margin-bottom: 14px; }
@media (max-width: 640px) {
  .rating-band { flex-direction: column; gap: 24px; padding: 32px 24px; text-align: center; }
  .rating-divider { width: 60%; height: 1px; }
}

/* ===== Carrusel de reseñas ===== */
.reviews-section {
  /* base igual que las secciones suaves + un halo central que da profundidad y evita la franja plana */
  background:
    radial-gradient(880px 380px at 50% 32%, #ffffff 0%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, var(--bg-alt) 0%, #eef4fc 100%);
}
.reviews-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.reviews-head .eyebrow { display: block; margin-bottom: 10px; }
.reviews-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 16px; }
.google-pill {
  display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 18px; box-shadow: var(--shadow); font-weight: 600; color: var(--ink);
}
.google-pill .g-logo { width: 20px; height: 20px; }
.google-pill .stars { font-size: 1rem; }
.google-pill b { color: var(--brand); font-family: "Fredoka"; }

.reviews { position: relative; max-width: 1080px; margin: 0 auto; padding: 0 18px; }
/* padding para que respiren las sombras + difuminado lateral para que no se vea un corte recto */
.reviews-viewport {
  overflow: hidden; padding: 16px 4px 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3.5%, #000 96.5%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 3.5%, #000 96.5%, transparent 100%);
}
.reviews-track { display: flex; transition: transform .55s cubic-bezier(.4,.1,.2,1); --per: 1; }
@media (min-width: 600px) { .reviews-track { --per: 2; } }
@media (min-width: 920px) { .reviews-track { --per: 3; } }
.review-card {
  flex: 0 0 calc(100% / var(--per)); box-sizing: border-box; padding: 0 9px; display: flex;
}
.review-inner {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow); position: relative; text-align: center;
  flex: 1; display: flex; flex-direction: column;
}
.review-inner::before {
  content: "\201C"; position: absolute; top: 6px; left: 28px; font-family: Georgia, serif;
  font-size: 5.5rem; line-height: 1; color: var(--accent); opacity: .22;
}
.review-stars { color: #ffb400; letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 14px; position: relative; }
.review-text { font-size: 1.02rem; color: #2a3450; line-height: 1.6; margin-bottom: 24px; position: relative; }
.review-author { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: auto; }
.review-avatar {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff;
  font-family: "Fredoka"; font-weight: 700; font-size: 1.2rem;
}
.review-meta { text-align: left; }
.review-meta strong { display: block; font-size: 1rem; }
.review-meta span { font-size: .85rem; color: var(--ink-soft); }

/* Flechas */
.rev-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
  color: var(--brand); transition: background .2s ease, color .2s ease, transform .2s ease;
}
.rev-arrow:hover { background: var(--brand); color: #fff; }
.rev-arrow.prev { left: -8px; }
.rev-arrow.next { right: -8px; }
.rev-arrow[disabled] { opacity: .35; cursor: default; }
.rev-arrow[disabled]:hover { background: #fff; color: var(--brand); }
.rev-arrow svg { width: 20px; height: 20px; }

/* Puntos */
.reviews-dots { display: flex; gap: 9px; justify-content: center; margin-top: 26px; }
.rev-dot {
  width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: #c5cee2; transition: background .2s ease, transform .2s ease;
}
.rev-dot:hover { background: var(--accent); }
.rev-dot.is-active { background: var(--brand); transform: scale(1.3); }

.reviews-cta { text-align: center; margin-top: 30px; }

@media (max-width: 640px) {
  .review-inner { padding: 32px 24px; }
  .review-text { font-size: 1.05rem; }
  .rev-arrow.prev { left: 2px; }
  .rev-arrow.next { right: 2px; }
  .rev-arrow { width: 40px; height: 40px; }
}

/* ===== Colaboradores (banda de confianza) ===== */
.partners { padding: 56px 0; }
.partners-head { text-align: center; max-width: 680px; margin: 0 auto 26px; }
.partners-head .eyebrow { display: block; margin-bottom: 8px; }
.partners-head p { color: var(--ink-soft); font-size: 1.02rem; }
.partners-strip {
  display: flex; justify-content: center; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 30px; box-shadow: var(--shadow);
}
.partners-strip img {
  width: 100%; max-width: 1000px; height: auto; display: block;
  filter: grayscale(100%); opacity: .68; transition: filter .4s ease, opacity .4s ease;
}
.partners-strip:hover img { filter: grayscale(0); opacity: 1; }
@media (max-width: 640px) {
  .partners-strip { padding: 16px 14px; }
}

/* ===== Página Música (hero) ===== */
.music-hero {
  background: linear-gradient(135deg, #0b3d2e 0%, var(--brand) 60%, var(--accent-strong) 100%);
  color: #fff; text-align: center; padding: 110px 0 96px; position: relative; overflow: hidden;
}
.music-hero::after {
  content: "🎵🎧🎶"; position: absolute; inset: 0; font-size: 6rem; opacity: .06;
  display: flex; align-items: center; justify-content: space-around; pointer-events: none;
}
.music-hero .badge-spotify {
  display: inline-flex; align-items: center; gap: 8px; background: #1db954; color: #fff;
  padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; margin-bottom: 22px;
}
.music-hero .badge-spotify svg { width: 18px; height: 18px; }
.music-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 16px; position: relative; }
.music-hero p { font-size: 1.2rem; color: #d7e6fb; max-width: 600px; margin: 0 auto 30px; position: relative; }
.music-hero .hero-actions { justify-content: center; }

/* ===== Música / Spotify ===== */
.formula {
  text-align: center; max-width: 720px; margin: 0 auto; background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: 24px; padding: 48px 40px;
}
.formula-emoji { font-size: 2.6rem; display: block; margin-bottom: 12px; }
.formula h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 14px; }
.formula p { color: var(--ink-soft); font-size: 1.05rem; }
.eyebrow-spotify { display: inline-flex; align-items: center; gap: 7px; color: #1db954; }
.eyebrow-spotify svg { width: 18px; height: 18px; }
.spotify-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.spotify-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.spotify-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.spotify-card p { color: var(--ink-soft); font-size: .94rem; margin-bottom: 18px; }
.spotify-card iframe { display: block; }
.btn-spotify { background: #1db954; color: #fff; box-shadow: 0 8px 20px rgba(29,185,84,.4); }
.btn-spotify:hover { background: #1aa34a; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(29,185,84,.5); }
@media (max-width: 760px) { .spotify-grid { grid-template-columns: 1fr; } }

/* ===== CTA banda ===== */
.cta-band {
  background: linear-gradient(135deg, var(--brand), var(--accent-strong)); color: #fff;
  text-align: center; padding: 70px 0;
}
.cta-band h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 12px; }
.cta-band p { color: #d7e6fb; margin-bottom: 26px; font-size: 1.1rem; }
.btn-light { background: #fff; color: var(--brand); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.btn-light:hover { background: var(--bg-alt); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.24); }

/* ===== Instagram ===== */
.insta-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; margin-bottom: 40px; }
.insta-handle {
  display: inline-flex; align-items: center; gap: 10px; font-family: "Fredoka"; font-size: 1.2rem;
  color: var(--brand); font-weight: 600;
}
.insta-handle .ig-glyph {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
}
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.insta-item {
  position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; display: block;
  background: var(--bg-alt); box-shadow: var(--shadow); isolation: isolate;
}
.insta-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(.2,.7,.3,1), filter .35s ease;
}
.insta-item:hover img { transform: scale(1.08); filter: brightness(.55); }
.insta-hover {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: #fff; font-weight: 600; font-size: .92rem; text-align: center;
  opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; z-index: 2;
}
.insta-item:hover .insta-hover { opacity: 1; transform: none; }
.insta-hover .ig-icon {
  width: 46px; height: 46px; display: grid; place-items: center; font-size: 1.3rem; border-radius: 14px;
  background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
}
.insta-cta { text-align: center; margin-top: 36px; }

/* ===== Contacto ===== */
.contact { background: var(--bg-dark); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-info h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 10px 0 14px; }
.contact-info > p { color: #aeb9c4; margin-bottom: 26px; }
.contact-list { display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: #d7dee5; }
.contact-list a:hover { color: var(--accent); }

.contact-form { background: #fff; border-radius: var(--radius); padding: 32px; color: var(--ink); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 1rem; background: #fafbfc; transition: border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.form-feedback { margin-top: 12px; font-weight: 600; min-height: 1.2em; }
.form-feedback.ok { color: var(--accent); }
.form-feedback.err { color: var(--brand-dark); }

/* ===== Footer ===== */
.footer { background: #10181f; color: #aeb9c4; padding: 50px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.footer-tag { margin-top: 12px; font-size: .92rem; }
.footer-links, .footer-social { display: grid; gap: 10px; }
.footer-links a:hover, .footer-social a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #243240; margin-top: 36px; padding-top: 20px; font-size: .85rem; }

/* ===== Utilidades páginas internas ===== */
.container.narrow { max-width: 640px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); max-width: 800px; margin: 0 auto; }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-family: "Fredoka"; font-weight: 700; font-size: 1.3rem; margin-bottom: 14px;
}
.level-card .btn { margin-top: auto; align-self: flex-start; }
.level-en { border-top: 4px solid var(--accent); }
.level-fr { border-top: 4px solid var(--brand); }
.founder { display: flex; align-items: center; gap: 18px; justify-content: center; margin-top: 44px; }
.founder-avatar {
  width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff;
  font-family: "Fredoka"; font-size: 1.9rem; font-weight: 700; flex-shrink: 0;
}
.founder h3 { font-size: 1.2rem; }
.founder-role { color: var(--ink-soft); font-weight: 600; }
.note {
  text-align: center; margin-top: 30px; color: var(--ink-soft);
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px;
}
.note a { color: var(--brand); font-weight: 600; }
.levels-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.level-pill {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 22px; font-weight: 600; color: var(--brand); box-shadow: var(--shadow);
}
.exam-banner--solo { grid-column: auto; flex-direction: column; gap: 16px; min-height: 240px; text-align: center; }

/* ===== Botón flotante WhatsApp ===== */
.whatsapp-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(37, 211, 102, .5);
  transition: transform .2s ease, box-shadow .2s ease; animation: wa-pulse 2.4s ease-out infinite;
}
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(37, 211, 102, .65); }
@keyframes wa-pulse {
  0% { box-shadow: 0 8px 24px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 8px 24px rgba(37,211,102,.5), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 640px) {
  .whatsapp-fab { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

/* ===== Páginas de exámenes (mejora estética) ===== */
/* Hero con elementos decorativos */
.page-hero--exam { position: relative; overflow: hidden; padding: 84px 0 64px; }
.page-hero--exam .container { position: relative; z-index: 2; }
.page-hero--exam::before,
.page-hero--exam::after {
  content: ""; position: absolute; border-radius: 50%; z-index: 0;
  background: linear-gradient(135deg, var(--accent), var(--brand)); opacity: .12;
}
.page-hero--exam::before { width: 320px; height: 320px; top: -120px; left: -90px; }
.page-hero--exam::after { width: 260px; height: 260px; bottom: -130px; right: -70px; opacity: .10; }

/* Píldoras de certificación bajo el hero */
.cert-badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.cert-badge {
  display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 18px; font-weight: 600; font-size: .9rem; color: var(--brand);
  box-shadow: var(--shadow);
}
.cert-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* 4 destrezas (francés) / features */
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.skill-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px;
  text-align: center; display: flex; flex-direction: column; align-items: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.skill-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.skill-icon {
  width: 60px; height: 60px; margin-bottom: 16px; border-radius: 18px; display: grid; place-items: center;
  font-size: 1.7rem; color: #fff; background: linear-gradient(135deg, var(--accent), var(--brand));
  box-shadow: 0 8px 20px rgba(31, 60, 136, .25);
}
.skill-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.skill-card p { color: var(--ink-soft); font-size: .9rem; }

/* Modalidades de examen (inglés) — 2 tarjetas */
.modes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* Tarjetas de nivel enriquecidas */
.level-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.level-card-rich {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 18px;
  text-align: center; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  border-top: 4px solid var(--accent);
}
.level-card-rich:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.level-card-rich .lvl-code {
  display: inline-grid; place-items: center; min-width: 52px; height: 52px; padding: 0 10px; margin: 0 auto 12px;
  border-radius: 14px; background: var(--bg-alt); color: var(--brand); font-family: "Fredoka"; font-weight: 700;
  font-size: 1.3rem;
}
.level-card-rich h3 { font-size: 1.02rem; margin-bottom: 4px; }
.level-card-rich p { color: var(--ink-soft); font-size: .84rem; }

/* Grupos de niveles (francés: adultos / junior) */
.level-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.level-group {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow);
}
.level-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.level-group-head .lg-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 1.4rem;
  background: var(--bg-alt); flex-shrink: 0;
}
.level-group-head h3 { font-size: 1.25rem; }
.level-group-head span { display: block; color: var(--ink-soft); font-size: .85rem; font-weight: 500; }
.level-group .levels-grid { justify-content: flex-start; gap: 10px; }

/* Caja informativa con CTA */
.info-cta {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; text-align: center;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 34px; max-width: 820px; margin: 44px auto 0;
}
.info-cta p { color: var(--ink-soft); margin: 0; font-size: 1.02rem; }
.info-cta strong { color: var(--ink); }

@media (max-width: 900px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .level-cards { grid-template-columns: repeat(3, 1fr); }
  .level-groups { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .skills-grid, .modes-grid { grid-template-columns: 1fr; }
  .level-cards { grid-template-columns: repeat(2, 1fr); }
  .cert-badges { gap: 8px; }
}

/* ===== Filas foto + texto alternadas ===== */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.feature + .feature { margin-top: 60px; }
.feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); }
.feature.reverse .feature-media { order: 2; }
.feature-tag {
  display: inline-block; background: var(--bg-alt); color: var(--accent-strong); font-weight: 700;
  border-radius: 999px; padding: 5px 14px; font-size: .82rem; margin-bottom: 12px;
}
.feature h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 12px; }
.feature p { color: var(--ink-soft); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 22px; }
  .feature + .feature { margin-top: 44px; }
  .feature.reverse .feature-media { order: 0; }
}

/* ===== Reveal animation =====
   El ocultado solo se aplica cuando JS añade .reveal-on al <html>.
   Así, sin JS (o antes de que cargue), el contenido es siempre visible. */
.reveal-on .section .card, .reveal-on .section-head, .reveal-on .method-content, .reveal-on .method-visual, .reveal-on .exam-card, .reveal-on .exam-banner, .reveal-on .partners-head, .reveal-on .partners-strip, .reveal-on .rating-band, .reveal-on .skill-card, .reveal-on .level-card-rich, .reveal-on .level-group, .reveal-on .info-cta, .reveal-on .dest-card, .reveal-on .gallery-item, .reveal-on .feature-media, .reveal-on .feature-body {
  opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease;
}
.is-visible { opacity: 1 !important; transform: none !important; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column;
    padding: 20px 24px 28px; gap: 6px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .3s ease; align-items: stretch; max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu { border-radius: 0 0 20px 20px; padding: 14px 18px 22px; gap: 2px; }
  .nav-menu > li > a {
    display: block; padding: 13px 14px; border-radius: 12px;
    font-size: 1.02rem; font-weight: 600; color: var(--ink);
    transition: background .15s ease, color .15s ease;
  }
  .nav-menu > li > a:hover,
  .nav-menu > li > a:active { background: var(--bg-alt); color: var(--brand); }
  .nav-menu .btn { margin-top: 8px; }

  /* Fila de iconos (Spotify + Radio) centrada, con etiqueta y separador */
  .nav-social {
    justify-content: center; gap: 20px; flex-wrap: wrap;
    margin-top: 14px; padding-top: 18px;
    border-top: 1px solid var(--line);
  }
  .nav-social::before {
    content: "Síguenos y escucha 🎧";
    flex-basis: 100%; text-align: center;
    font-size: .82rem; font-weight: 600; color: var(--ink-soft);
    margin-bottom: 4px;
  }
  .spotify-icon, .radio-icon { width: 52px; height: 52px; }

  /* dropdown estático dentro del menú móvil */
  .has-dropdown > a::after { content: ""; }
  .dropdown { padding-top: 2px; }
  .dropdown a { padding: 10px 14px; border-radius: 10px; font-size: .96rem; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; padding: 0 0 0 14px; min-width: 0; background: transparent;
  }
}
@media (max-width: 900px) {
  .hero-grid, .method-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 280px; order: -1; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cards-grid, .exam-grid, .method-visual, .spotify-grid { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Página Viajes (mejora estética) ===== */
/* Tarjeta de programa con foto */
.travel-card { padding: 0; overflow: hidden; }
.travel-card .travel-thumb { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.travel-card .travel-body { padding: 26px 28px 30px; }
.travel-card .card-tag { display: block; }
.travel-card h3 { font-size: 1.4rem; margin: 4px 0 10px; }
.travel-card p { color: var(--ink-soft); font-size: .97rem; margin: 0; }

/* Destinos con bandera */
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dest-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 16px;
  text-align: center; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.dest-flag { font-size: 2.6rem; line-height: 1; display: block; margin-bottom: 12px; }
.dest-card h3 { font-size: 1.08rem; margin-bottom: 2px; }
.dest-card span { color: var(--ink-soft); font-size: .82rem; }

/* Galería de momentos */
.travel-gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 168px;
  grid-auto-flow: dense; gap: 14px;
}
.gallery-item {
  position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
  background: var(--bg-alt);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

@media (max-width: 900px) {
  .dest-grid { grid-template-columns: repeat(3, 1fr); }
  .travel-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .travel-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gallery-item.wide { grid-column: span 2; }
}

/* ===== Formulario de matrícula incrustado (Google Forms) ===== */
.form-embed {
  max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.form-embed iframe { width: 100%; min-height: 900px; border: 0; display: block; }
.form-fallback { text-align: center; margin-top: 22px; color: var(--ink-soft); }
.form-fallback a { color: var(--brand); font-weight: 600; }
