/* ==========================================================================
   Libre de Deudas · Estilos
   Mobile-first · Breakpoints: 768px, 1024px, 1440px
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy: #0B2A4A;
  --navy-700: #123B66;
  --blue: #1E5AA8;
  --blue-700: #174A8C;
  --blue-light: #E8F0FB;
  --blue-50: #F4F8FD;
  --white: #FFFFFF;
  --text: #1F2A37;
  --muted: #4B5563;
  --border: #D6E2F2;
  --gold: #C9A24A;
  --success: #0E7A4B;
  --success-bg: #E7F6EE;
  --error: #B42318;
  --error-bg: #FDECEA;
  --warning-bg: #FFF7E6;
  --wa: #128C4B;
  --tg: #1C82BF;

  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 74, .06), 0 1px 3px rgba(11, 42, 74, .08);
  --shadow: 0 6px 24px rgba(11, 42, 74, .08);
  --shadow-lg: 0 18px 48px rgba(11, 42, 74, .16);

  --header-h: 108px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset y base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h4 { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.site-footer :focus-visible, .topbar :focus-visible, .contact__aside :focus-visible, .chat__head :focus-visible {
  outline-color: #9CC3F5;
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

section[id], article[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.4em;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 4px 14px rgba(30, 90, 168, .25); }
.btn--primary:hover { background: var(--blue-700); color: var(--white); }
.btn--outline { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue-light); color: var(--blue-700); }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--border); }
.btn--ghost:hover { background: var(--blue-light); color: var(--blue-700); }
.btn--sm { min-height: 40px; padding: .5em 1.05em; font-size: .9375rem; }
.btn--lg { min-height: 54px; padding: .9em 1.6em; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .65; cursor: not-allowed; }

.linklike {
  background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(11, 42, 74, .1); }

.topbar { background: var(--navy); color: var(--white); font-size: .8125rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.topbar__claim { margin: 0; display: flex; align-items: center; gap: .5em; white-space: nowrap; }
@media (max-width: 400px) {
  .topbar { font-size: .75rem; }
  .topbar__inner { gap: 8px; }
}
.topbar__claim i { color: var(--gold); }

.navbar { border-bottom: 1px solid var(--border); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand__logo { display: block; height: 52px; width: auto; }
.footer__logo { display: block; height: 64px; width: auto; }

.navbar__actions { display: flex; align-items: center; gap: 10px; }
.navbar__actions .btn--sm { min-height: 38px; padding: .4em .9em; font-size: .875rem; white-space: nowrap; }
/* Texto del botón según el espacio: largo, corto ("Otras vías") o solo icono (≤599px, más abajo) */
.contact-menu__toggle .lbl-corto { display: none; }
@media (min-width: 1024px) and (max-width: 1279px), (max-width: 767px) {
  .contact-menu__toggle .lbl-largo { display: none; }
  .contact-menu__toggle .lbl-corto { display: inline; }
}

/* Botón "Otras vías de contacto" con desplegable (WhatsApp, Telegram, Email) */
.contact-menu { position: relative; }
.contact-menu__chev { font-size: .7em; transition: transform .2s; }
.contact-menu__toggle[aria-expanded="true"] .contact-menu__chev { transform: rotate(180deg); }
.contact-menu__list {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 220px;
  list-style: none; margin: 0; padding: 6px;
  background: var(--white); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg);
}
.contact-menu__list a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px;
  color: var(--navy); font-weight: 600; text-decoration: none;
}
.contact-menu__list a:hover, .contact-menu__list a:focus-visible { background: var(--blue-light); color: var(--navy); }
.contact-menu__icon {
  flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  background: var(--blue-50); color: var(--blue); font-size: 1.05rem;
}
.contact-menu__icon--wa { background: #25D366; color: #fff; }
.contact-menu__icon--tg { background: #229ED9; color: #fff; }

/* Menú móvil */
.hamburger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--white);
}
.hamburger__bar { display: block; height: 2px; width: 100%; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .2s; }
.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mainnav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 24px rgba(11, 42, 74, .08);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility 0s .2s;
}
.mainnav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
.mainnav__list { list-style: none; padding: 8px 16px 16px; }
.mainnav__list a {
  display: block; padding: 14px 4px; border-bottom: 1px solid var(--blue-light);
  color: var(--navy); font-weight: 600; text-decoration: none; font-size: 1.0625rem;
}
.mainnav__list li:last-child a { border-bottom: 0; }
.mainnav__list a:hover { color: var(--blue); }

@media (max-width: 599px) {
  .navbar__actions .btn span, .navbar__actions .contact-menu__chev { display: none !important; }
  .navbar__actions .btn { width: 44px; height: 44px; min-height: 44px; padding: 0; }
}
@media (max-width: 420px) {
  .brand__logo { height: 44px; }
}

@media (min-width: 1024px) {
  .hamburger { display: none; }
  .brand__logo { height: 58px; }
  .mainnav {
    position: static; visibility: visible; opacity: 1; transform: none;
    background: none; border: 0; box-shadow: none; transition: none;
  }
  .mainnav__list { display: flex; gap: 4px; padding: 0; }
  .mainnav__list a { border: 0; padding: 10px 14px; font-size: .9875rem; border-radius: 999px; white-space: nowrap; }
  .brand { flex: none; } /* el logo nunca se estrecha */
  .mainnav__list a:hover { background: var(--blue-light); }
  .navbar__inner { min-height: 80px; }
}
/* Ordenador estrecho: menú y logo algo más compactos para que quepan los dos botones */
@media (min-width: 1024px) and (max-width: 1279px) {
  .mainnav__list { gap: 0; }
  .mainnav__list a { padding: 10px 9px; font-size: .9375rem; }
  .brand__logo { height: 48px; }
}

/* ---------- Tipografía de sección ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 .9rem; color: var(--blue);
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; flex: none; }

.section { padding: 64px 0; }
.section--tint { background: var(--blue-light); }
.section__head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__head h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem); }
.section__lead { color: var(--muted); font-size: 1.0625rem; margin: 0; }

@media (min-width: 1024px) {
  .section { padding: 96px 0; }
  .section__head { margin-bottom: 52px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 48px 0 56px;
  background:
    radial-gradient(1000px 420px at 100% 0%, rgba(30, 90, 168, .10), transparent 60%),
    radial-gradient(700px 360px at 0% 100%, rgba(201, 162, 74, .08), transparent 60%),
    linear-gradient(180deg, var(--blue-50), var(--white));
}
.hero__inner { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.125rem, 1.4rem + 3.6vw, 3.625rem); letter-spacing: -.02em; margin-bottom: .4em; max-width: 16ch; }
.hero__lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: var(--muted); max-width: 46ch; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero__actions .btn { flex: 1 1 220px; }

.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--navy); font-weight: 600; font-size: .9375rem; }
.trust li { display: inline-flex; align-items: center; gap: 10px; }
.trust__icon {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--white); color: var(--blue); box-shadow: var(--shadow-sm); font-size: .9rem;
}

.hero__card {
  display: none;
  position: relative; background: var(--white); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.hero__card::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 3px;
  background: var(--gold); border-radius: 0 0 3px 3px;
}
.hero__card-title { font-family: var(--font-serif); font-weight: 700; color: var(--navy); font-size: 1.25rem; margin-bottom: 16px; }
.hero__plans { list-style: none; display: grid; gap: 10px; }
.hero__plans a {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px;
  border-radius: var(--radius); text-decoration: none; color: var(--text);
  border: 1px solid transparent; transition: background-color .2s, border-color .2s;
}
.hero__plans a:hover { background: var(--blue-50); border-color: var(--border); color: var(--text); }
.hero__plans strong { display: block; color: var(--navy); }
.hero__plans small { color: var(--muted); font-size: .875rem; }
.mini-icon {
  display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px;
  background: var(--blue-light); color: var(--blue);
}

@media (min-width: 768px) {
  .hero { padding: 72px 0 80px; }
  .hero__actions .btn { flex: 0 0 auto; }
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.25fr 1fr; gap: 64px; }
  .hero__card { display: block; }
  .hero h1 { max-width: 19ch; }
  .hero { padding: 96px 0 104px; }
}

/* ---------- Planes (acordeón) ---------- */
.plans { display: grid; gap: 16px; max-width: 1040px; margin: 0 auto; }
.plan {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: box-shadow .3s, border-color .3s;
}
.plan.is-open { border-color: #A9C4E8; box-shadow: var(--shadow); }
.plan__heading { margin: 0; font-size: inherit; }
.plan__toggle {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start;
  padding: 20px 16px; background: none; border: 0; text-align: left; border-radius: var(--radius-lg);
  color: inherit; font-family: var(--font-sans);
}
.plan__toggle:hover .plan__name { color: var(--blue); }
.plan__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--blue-light); color: var(--blue); font-size: 1.25rem;
}
.plan.is-open .plan__icon { background: var(--blue); color: var(--white); }
.plan__summary { display: grid; gap: 4px; min-width: 0; }
.plan__tag {
  justify-self: start; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue-700); background: var(--blue-light); padding: 3px 10px; border-radius: 999px;
}
.plan__name { font-family: var(--font-serif); font-size: 1.375rem; font-weight: 700; color: var(--navy); line-height: 1.25; transition: color .2s; }
.plan__desc { color: var(--muted); font-size: .9375rem; font-weight: 400; }
.plan__hook {
  margin-top: 6px; padding-left: 12px; border-left: 3px solid var(--gold);
  color: var(--navy); font-weight: 600; font-size: 1rem; line-height: 1.45;
}
.plan__chevron {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue); margin-top: 6px;
  transition: transform .35s var(--ease), background-color .2s;
}
.plan.is-open .plan__chevron { transform: rotate(180deg); background: var(--blue-light); }

.plan__panel {
  display: grid; grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .45s var(--ease), visibility 0s linear .45s;
}
.plan.is-open .plan__panel {
  grid-template-rows: 1fr; visibility: visible;
  transition: grid-template-rows .45s var(--ease), visibility 0s linear 0s;
}
.plan.is-instant .plan__panel { transition: none; }
.plan__panel-inner { overflow: hidden; min-height: 0; }
.plan__content {
  display: grid; gap: 28px; padding: 4px 16px 24px;
  border-top: 1px solid var(--blue-light); margin: 0 16px; padding-left: 0; padding-right: 0; padding-top: 24px;
}
.plan__main { display: grid; gap: 22px; }
.plan-block h4, .plan__side-title {
  display: flex; align-items: center; gap: 10px; color: var(--navy); margin-bottom: .55em; font-size: 1.0625rem;
}
.plan-block h4 i, .plan__side-title i { color: var(--blue); width: 20px; text-align: center; }
.plan-block p:last-child { margin-bottom: 0; }

.checklist { list-style: none; display: grid; gap: 8px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231E5AA8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

.steps-list { list-style: none; counter-reset: step; display: grid; gap: 12px; }
.steps-list li { counter-increment: step; position: relative; padding-left: 44px; min-height: 30px; padding-top: 3px; }
.steps-list li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--white); font-weight: 700; font-size: .875rem;
}
.steps-list li:not(:last-child)::after {
  content: ""; position: absolute; left: 14px; top: 32px; bottom: -12px; width: 2px; background: var(--blue-light);
}

.duo { display: grid; gap: 12px; }
.duo__item { background: var(--blue-50); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.duo__item p:last-child { margin: 0; }
.duo__title { font-weight: 700; color: var(--navy); margin-bottom: .35em; }
.duo__item--featured { grid-column: 1 / -1; background: var(--white); border: 2px solid var(--blue); box-shadow: var(--shadow-sm); }
.duo__badge {
  display: inline-block; margin-bottom: .6em; padding: 3px 10px; border-radius: 999px;
  background: var(--blue); color: var(--white); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}

.legal-base {
  display: flex; gap: 12px; align-items: flex-start; margin: 0;
  background: var(--blue-50); border-radius: var(--radius); padding: 14px 16px; font-size: .9375rem;
  border-left: 3px solid var(--gold);
}
.legal-base i { color: var(--navy); margin-top: 4px; }

.note { border-radius: var(--radius); padding: 16px 18px; background: var(--blue-light); }
.note p:last-child { margin: 0; }
.note__title { font-weight: 700; color: var(--navy); margin-bottom: .35em; display: flex; gap: 10px; align-items: center; }
.note--warning { background: var(--warning-bg); border: 1px solid #F1D9A6; }
.note--warning .note__title i { color: #9A6B00; }

.pillars { list-style: none; display: grid; gap: 12px; }
.pillar {
  display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start;
  background: var(--blue-50); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px;
}
.pillar p:last-child { margin: 0; font-size: .9375rem; }
.pillar__icon {
  grid-row: span 2;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy); color: var(--white); font-size: 1.1rem;
}
.pillar__title { font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem; color: var(--navy); margin-bottom: .2em; }

.plan__side { display: grid; gap: 16px; align-content: start; }
.plan__side-title { margin-bottom: 0; }
.plan-cta { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 20px; }
.plan-cta p { margin-bottom: 14px; color: #DCE6F3; }
.plan-cta .btn--primary { box-shadow: none; background: var(--white); color: var(--blue-700); }
.plan-cta .btn--primary:hover { background: var(--blue-light); }

/* Vídeo (recuadro que abre YouTube) */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.video__thumb {
  position: absolute; inset: 0; width: 100%; padding: 16px; color: var(--white); text-decoration: none;
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .16), transparent 45%),
    linear-gradient(135deg, var(--blue) 0%, var(--navy) 85%);
}
a.video__thumb:hover { color: var(--white); }
.video__thumb::after {
  content: ""; position: absolute; left: 16px; bottom: 54px; width: 36px; height: 2px; background: var(--gold);
}
.video__badge {
  align-self: flex-start; font-size: .75rem; font-weight: 600; letter-spacing: .04em;
  background: rgba(255, 255, 255, .16); padding: 4px 10px; border-radius: 999px;
}
.video__play {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--blue); font-size: 1.4rem; padding-left: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .25s var(--ease);
}
a.video__thumb:hover .video__play { transform: translate(-50%, -50%) scale(1.08); }
.video__title { font-family: var(--font-serif); font-weight: 700; font-size: 1.125rem; line-height: 1.25; position: relative; z-index: 1; }
.video.is-soon .video__play { opacity: .55; }
.video__note { margin: 0; font-size: .875rem; color: var(--muted); text-align: center; }

/* Vídeo de YouTube en ventana flotante (horizontal en ordenador, vertical en móvil) */
.video-modal { padding: 0; border: 0; background: transparent; overflow: visible; max-width: none; max-height: none; }
.video-modal::backdrop { background: rgba(5, 15, 30, .88); }
.video-modal__frame {
  width: min(960px, 92vw, calc(82vh * 16 / 9)); aspect-ratio: 16 / 9;
  background: #000; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.video-modal.is-vertical .video-modal__frame { width: min(92vw, calc(min(82vh, 760px) * 9 / 16)); aspect-ratio: 9 / 16; }
.video-modal__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-modal__close {
  position: absolute; right: 0; top: -52px; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--white); color: var(--navy); font-size: 1.2rem; cursor: pointer;
}
.video-modal__close:hover { background: var(--blue-50); }

@media (min-width: 768px) {
  .plan__toggle { padding: 24px 24px; gap: 20px; }
  .plan__icon { width: 56px; height: 56px; font-size: 1.4rem; }
  .plan__name { font-size: 1.5rem; }
  .plan__content { margin: 0 24px; padding-bottom: 28px; }
  .duo { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .plan__content { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; padding-bottom: 32px; }
}
/* Móvil y tablet (una sola columna): el vídeo va al principio del plan; el botón de estudio sigue al final */
@media (max-width: 1023px) {
  .plan__side { display: contents; }
  .plan__side-title, .plan__side .video, .plan__side .video__note { order: -1; }
  .plan__side-title { margin-bottom: -16px; }
  .plan__side .video__note { margin-top: -16px; }
}

/* ---------- Test ---------- */
.quiz {
  max-width: 760px; margin: 0 auto; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 20px;
}
.quiz__top { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; min-height: 40px; }
.quiz__progress { flex: 1; height: 8px; background: var(--blue-light); border-radius: 999px; overflow: hidden; }
.quiz__bar { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--navy)); border-radius: 999px; transition: width .4s var(--ease); }
.quiz__back {
  order: -1; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px;
  background: none; border: 1px solid var(--border); border-radius: 999px; color: var(--blue); font-weight: 600; font-size: .9375rem;
}
.quiz__back:hover { background: var(--blue-50); }
.quiz__step { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-bottom: .5em; }
.quiz__q { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.75rem); margin-bottom: .4em; }
.quiz__q:focus { outline: none; }
.quiz__help { color: var(--muted); margin-bottom: 20px; }
.quiz__options { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.quiz__opt {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  min-height: 64px; padding: 14px 16px; background: var(--white);
  border: 2px solid var(--border); border-radius: var(--radius); color: var(--navy); font-weight: 600; font-size: 1.0625rem;
  transition: border-color .2s, background-color .2s, transform .2s;
}
.quiz__opt:hover { border-color: var(--blue); background: var(--blue-50); }
.quiz__opt i { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--blue-light); color: var(--blue); }
.quiz__opt .quiz__arrow { margin-left: auto; color: var(--blue); background: none; width: auto; height: auto; }

.quiz__fade { animation: fadeUp .35s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.result { display: grid; gap: 14px; }
.result__intro { color: var(--muted); margin: 0 0 4px; }
.result-card {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; background: var(--blue-50);
  display: grid; gap: 12px;
}
.result-card__head { display: flex; gap: 14px; align-items: center; }
.result-card__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--blue); color: var(--white); font-size: 1.2rem; }
.result-card__name { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--navy); margin: 0; }
.result-card__desc { margin: 0; color: var(--muted); font-size: .9375rem; }
.result-card__hook { margin: 0; font-weight: 600; color: var(--navy); }
.result-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.result-card__actions .btn { flex: 1 1 160px; }
.result__tip { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 14px 16px; border-radius: var(--radius); background: var(--warning-bg); border: 1px solid #F1D9A6; }
.result__tip i { color: #9A6B00; margin-top: 4px; }
.result__tip button { color: var(--blue); font-weight: 600; }
.result__restart { justify-self: center; margin-top: 4px; }
.result--filter { text-align: center; justify-items: center; }
.result--filter .result-card__icon { margin-bottom: 4px; }

@media (min-width: 768px) {
  .quiz { padding: 36px 40px 40px; }
  .quiz__options { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

/* ---------- Cómo trabajamos ---------- */
.process { list-style: none; display: grid; gap: 18px; counter-reset: none; }
.process__step {
  position: relative; background: var(--white); border-radius: var(--radius-lg); padding: 28px 24px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.process__step h3 { font-size: 1.3rem; margin-top: 14px; }
.process__step p { margin: 0; color: var(--muted); }
.process__num {
  position: absolute; right: 20px; top: 14px; font-family: var(--font-serif); font-size: 3rem; font-weight: 700;
  color: var(--blue-light); line-height: 1;
}
.process__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--blue); color: var(--white); font-size: 1.35rem; box-shadow: 0 8px 20px rgba(30, 90, 168, .25);
}
@media (min-width: 768px) {
  .process { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  .process__step:not(:last-child)::after {
    content: ""; position: absolute; top: 56px; right: -24px; width: 24px; height: 2px; background: var(--gold);
  }
}

/* ---------- Contacto ---------- */
.contact { display: grid; gap: 24px; }
.form {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px; box-shadow: var(--shadow);
}
.form__grid { display: grid; gap: 16px; margin-bottom: 20px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 600; color: var(--navy); font-size: .9375rem; }
.field__opt { font-weight: 400; color: var(--muted); }
.req { color: var(--error); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid #B9CBE2; border-radius: 12px; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%231E5AA8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center/18px no-repeat;
  padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 90, 168, .18);
}
.field [aria-invalid="true"] { border-color: var(--error) !important; background-color: #FFFBFA; }
.field__error { margin: 0; color: var(--error); font-size: .875rem; font-weight: 500; min-height: 0; }
.field__error:empty { display: none; }
.field--check { grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--blue); }
.field--check label { font-weight: 400; color: var(--text); font-size: .9375rem; }
.field--check .field__error { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status { margin: 14px 0 0; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-success { color: var(--success); background: var(--success-bg); padding: 14px 16px; border-radius: 12px; }
.form__status.is-error { color: var(--error); background: var(--error-bg); padding: 14px 16px; border-radius: 12px; }
.form__small { margin: 16px 0 0; font-size: .8125rem; color: var(--muted); }

.btn.is-loading .btn__label::after {
  content: ""; display: inline-block; width: 1em; height: 1em; margin-left: .6em; vertical-align: -.15em;
  border: 2px solid rgba(255, 255, 255, .5); border-top-color: var(--white); border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.contact__aside {
  background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 24px;
  position: relative; overflow: hidden;
}
.contact__aside::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  border: 2px solid rgba(201, 162, 74, .35);
}
.contact__aside h3 { color: var(--white); font-size: 1.5rem; }
.contact__aside > p { color: #DCE6F3; }
.channels { list-style: none; display: grid; gap: 10px; margin: 18px 0; }
.channel {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  color: var(--white); text-decoration: none; transition: background-color .2s;
}
.channel:hover { background: rgba(255, 255, 255, .14); color: var(--white); }
.channel small { display: block; color: #C7D3E3; font-size: .8125rem; }
.channel strong { display: block; font-weight: 600; word-break: break-word; }
.channel__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--white); color: var(--blue); font-size: 1.15rem; }
.channel__icon--wa { color: var(--wa); }
.channel__icon--tg { color: var(--tg); }
.contact__hours { display: flex; gap: 10px; align-items: center; margin: 0; color: #DCE6F3; font-size: .9375rem; }

@media (min-width: 768px) {
  .form { padding: 32px; }
  .form__grid { grid-template-columns: 1fr 1fr; gap: 18px 20px; }
  .field--full { grid-column: 1 / -1; }
  .contact__aside { padding: 32px; }
}
@media (min-width: 1024px) {
  .contact { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .contact__aside { position: sticky; top: calc(var(--header-h) + 20px); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #DCE6F3; padding: 48px 0 28px; }
.footer__top { display: grid; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer__brand { display: grid; gap: 14px; justify-items: start; }
.footer__brand p { margin: 0; max-width: 40ch; }
.social { list-style: none; display: flex; gap: 10px; align-items: center; }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); color: var(--white); text-decoration: none; transition: background-color .2s, color .2s;
}
.social a:hover { background: var(--white); color: var(--navy); }
.footer__bottom { padding-top: 20px; display: grid; gap: 8px; }
.legal-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0 16px; }
.legal-links a, .legal-links button {
  display: inline-flex; align-items: center; min-height: 24px;
  color: #C7D3E3; font-size: .6875rem; text-decoration: none;
}
.legal-links a:hover, .legal-links button:hover { color: var(--white); text-decoration: underline; }
.legal-links button { text-decoration: none; }
.footer__copy { margin: 0; font-size: .75rem; color: #C7D3E3; }
.footer__disclaimer { margin: 0; font-size: .6875rem; color: #AFC0D6; max-width: 80ch; }

@media (min-width: 768px) {
  .footer__top { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- Botón flotante (Sofía) ---------- */
.fab-wrap {
  position: fixed; right: 16px; bottom: calc(16px + var(--banner-offset, 0px)); z-index: 70;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  transition: bottom .3s var(--ease);
}
.fab__toggle {
  position: relative; width: 64px; height: 64px; padding: 0; border-radius: 50%;
  border: 3px solid var(--white); background: var(--blue-light);
  box-shadow: 0 10px 28px rgba(11, 42, 74, .28); transition: transform .25s var(--ease);
}
.fab__toggle:hover { transform: scale(1.05); }
.fab__toggle img { width: 100%; height: 100%; border-radius: 50%; }
.fab__online {
  position: absolute; right: 1px; bottom: 3px; width: 15px; height: 15px; border-radius: 50%;
  background: #22C55E; border: 2.5px solid var(--white);
}
.fab__close {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%;
  background: var(--navy); color: var(--white); font-size: 1.4rem; opacity: 0; transform: rotate(-90deg);
  transition: opacity .2s, transform .25s var(--ease);
}
.fab__toggle[aria-expanded="true"] .fab__close { opacity: 1; transform: none; }
.fab__toggle[aria-expanded="true"] .fab__online { opacity: 0; }


.fab__bubble {
  position: relative; max-width: 250px; margin-right: 6px;
  background: var(--white); border-radius: 16px 16px 4px 16px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); animation: fadeUp .35s var(--ease);
}
.fab__bubble-text {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  padding: 14px 40px 14px 16px; color: var(--navy); font-weight: 500; font-size: .9375rem; line-height: 1.45; border-radius: 16px;
}
.fab__bubble-close {
  position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; display: grid; place-items: center;
  border: 0; background: none; color: var(--muted); border-radius: 50%;
}
.fab__bubble-close:hover { background: var(--blue-50); color: var(--navy); }

/* ---------- Chat Sofía ---------- */
.chat {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; background: var(--white);
  height: 100vh; height: 100dvh;
}
.chat:not([hidden]) { animation: chatIn .3s var(--ease); }
@keyframes chatIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.chat__head {
  display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px;
  background: linear-gradient(135deg, var(--blue), var(--navy)); color: var(--white);
}
.chat__avatar { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); background: var(--blue-light); }
.chat__who { flex: 1; min-width: 0; }
.chat__title { margin: 0; font-weight: 700; line-height: 1.3; }
.chat__status { margin: 0; font-size: .8125rem; color: #DCE6F3; display: flex; align-items: center; gap: 6px; }
.chat__dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; }
.chat__close {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .12); border: 0; color: var(--white); font-size: 1.2rem;
}
.chat__close:hover { background: rgba(255, 255, 255, .22); }

.chat__log {
  flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px;
  background: var(--blue-50); overscroll-behavior: contain;
}
.msg { display: flex; gap: 8px; align-items: flex-end; max-width: 92%; animation: fadeUp .25s var(--ease); }
.msg__avatar { width: 28px; height: 28px; border-radius: 50%; flex: none; background: var(--blue-light); }
.msg__bubble { padding: 10px 14px; border-radius: 16px; font-size: .9375rem; line-height: 1.5; overflow-wrap: anywhere; }
.msg__bubble p { margin: 0 0 .5em; }
.msg__bubble p:last-child { margin: 0; }
.msg--bot .msg__bubble { background: var(--white); border: 1px solid var(--border); border-bottom-left-radius: 4px; color: var(--text); }
.msg--user { align-self: flex-end; }
.msg--user .msg__bubble { background: var(--blue); color: var(--white); border-bottom-right-radius: 4px; }
.msg__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.msg__btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px;
  border-radius: 999px; border: 0; background: var(--navy); color: var(--white); font-size: .875rem; font-weight: 600; text-decoration: none;
}
.msg__btn:hover { background: var(--blue); color: var(--white); }
.msg__btn--light { background: var(--blue-light); color: var(--blue-700); }
.msg__btn--light:hover { background: var(--border); color: var(--navy); }

.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #8AA6C9; animation: blink 1.2s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.quick { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 36px; animation: fadeUp .25s var(--ease); }
.quick__btn {
  min-height: 38px; padding: 7px 14px; border-radius: 999px; background: var(--white);
  border: 1.5px solid var(--blue); color: var(--blue); font-size: .875rem; font-weight: 600;
}
.quick__btn:hover { background: var(--blue); color: var(--white); }
/* "Llámanos al …": enlace de teléfono con aspecto de opción, destacado */
.quick__btn--tel { display: inline-flex; align-items: center; gap: 6px; background: var(--blue); color: var(--white); text-decoration: none; }
.quick__btn--tel:hover { background: var(--blue-700); color: var(--white); }

.chat__form { display: flex; gap: 8px; padding: 12px 12px 6px; border-top: 1px solid var(--border); background: var(--white); }
.chat__input {
  flex: 1; min-width: 0; min-height: 46px; padding: 10px 16px; border-radius: 999px;
  border: 1.5px solid #B9CBE2; background: var(--white); font-size: 1rem;
}
.chat__input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 90, 168, .18); }
.chat__send {
  width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0;
  background: var(--blue); color: var(--white); display: grid; place-items: center;
}
.chat__send:hover { background: var(--blue-700); }
.chat__send[disabled] { opacity: .6; cursor: wait; }
.chat__disclaimer { margin: 0; padding: 4px 16px 12px; font-size: .75rem; color: var(--muted); text-align: center; background: var(--white); }

body.chat-open-mobile { overflow: hidden; }
body.chat-open-mobile .fab-wrap { display: none; }

@media (min-width: 768px) {
  .chat {
    inset: auto 16px calc(96px + var(--banner-offset, 0px)) auto;
    width: 390px; height: min(620px, calc(100vh - 140px));
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  }
  body.chat-open-mobile { overflow: auto; }
  body.chat-open-mobile .fab-wrap { display: flex; }
}

/* ---------- Cookies ---------- */
.cookie-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 16px 18px; font-size: .875rem;
  animation: fadeUp .35s var(--ease);
}
.cookie-banner__title { font-weight: 700; color: var(--navy); margin-bottom: .4em; display: flex; gap: 8px; align-items: center; font-size: .9375rem; }
.cookie-banner__title i { color: var(--blue); }
.cookie-banner p { margin-bottom: .8em; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-banner__actions .btn { flex: 1 1 auto; }
@media (min-width: 768px) {
  .cookie-banner { right: auto; left: 20px; bottom: 20px; max-width: 380px; }
}

.modal {
  width: min(520px, calc(100% - 32px)); padding: 0; border: 0; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); color: var(--text);
}
.modal::backdrop { background: rgba(11, 42, 74, .55); }
.modal__inner { padding: 24px; }
.modal__title { font-size: 1.5rem; }
.toggle-row {
  display: flex; gap: 16px; align-items: flex-start; justify-content: space-between;
  padding: 16px 0; border-top: 1px solid var(--blue-light);
}
.toggle-row__title { font-weight: 700; color: var(--navy); margin: 0 0 .2em; }
.toggle-row__desc { margin: 0; color: var(--muted); font-size: .875rem; }
.switch {
  appearance: none; flex: none; width: 48px; height: 28px; border-radius: 999px; margin: 2px 0 0;
  background: #B9CBE2; position: relative; cursor: pointer; transition: background-color .2s;
}
.switch::after {
  content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s;
}
.switch:checked { background: var(--blue); }
.switch:checked::after { transform: translateX(20px); }
.switch:disabled { cursor: not-allowed; opacity: .7; }
.modal__inner { position: relative; }
.modal__close {
  position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--blue-50); color: var(--navy); font-size: 1.1rem;
}
.modal__close:hover { background: var(--blue-light); }
.email-form { display: grid; gap: 14px; }
.email-form .modal__title { padding-right: 44px; margin-bottom: 0; }
.email-form__intro { margin: 0; color: var(--muted); font-size: .9375rem; }
.email-form .form__small { margin: 0; }
.email-form__fallback { background: var(--blue-50); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; font-size: .9375rem; }
.email-form__fallback p { margin: 0 0 10px; }
.email-form__copy { display: flex; flex-wrap: wrap; gap: 8px; }
.email-form__copied { margin: 8px 0 0 !important; color: var(--success); font-weight: 600; font-size: .875rem; }
.email-form__copied:empty { display: none; }
/* Llamada de voz */
.call { width: min(420px, calc(100% - 32px)); }
.call__inner { display: grid; justify-items: center; text-align: center; gap: 14px; padding-top: 32px; }
.call__inner [data-panel] { width: 100%; display: grid; gap: 14px; justify-items: center; }
.call__inner [data-panel][hidden] { display: none; }
.call__title { margin: 0; }
.call__avatar {
  position: relative; width: 112px; height: 112px; border-radius: 50%;
  box-shadow: 0 0 0 4px var(--white), 0 0 0 7px var(--blue-light);
  transition: box-shadow .3s;
}
.call__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.call__avatar.is-speaking { animation: hablar 1.2s ease-in-out infinite; }
@keyframes hablar {
  0%, 100% { box-shadow: 0 0 0 4px var(--white), 0 0 0 7px var(--blue-light), 0 0 0 7px rgba(30, 90, 168, .35); }
  50% { box-shadow: 0 0 0 4px var(--white), 0 0 0 7px var(--blue), 0 0 0 18px rgba(30, 90, 168, 0); }
}
.call__texto { margin: 0; color: var(--muted); }
.call__notas { list-style: none; display: grid; gap: 8px; text-align: left; width: 100%; font-size: .9375rem; }
.call__notas li { display: flex; gap: 10px; align-items: center; }
.call__notas i { width: 20px; color: var(--blue); text-align: center; }
.call__inner .form__small { margin: 0; }
.call__estado { margin: 0; font-weight: 600; color: var(--navy); }
.call__tiempo { margin: 0; font-variant-numeric: tabular-nums; font-size: 1.75rem; font-weight: 700; color: var(--navy); }
.call__controles { display: flex; gap: 28px; justify-content: center; margin-top: 6px; }
.call__btn {
  display: grid; justify-items: center; gap: 6px; background: none; border: 0; color: var(--navy);
  font-size: .8125rem; font-weight: 600;
}
.call__btn i {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem;
  background: var(--blue-light); color: var(--blue-700); transition: background-color .2s;
}
.call__btn:hover i { background: var(--border); }
.call__btn[aria-pressed="true"] i { background: var(--navy); color: var(--white); }
.call__btn--colgar i { background: #C62828; color: var(--white); }
.call__btn--colgar:hover i { background: #A31F1F; }
.call__acciones { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.call__aviso-titulo { margin: 0; font-family: var(--font-serif); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.call__audio { display: none; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 12px; }

/* ---------- Páginas legales ---------- */
.legal-page .navbar__inner { min-height: 72px; }
.legal-hero { background: var(--blue-light); padding: 40px 0 32px; }
.legal-hero h1 { font-size: clamp(1.875rem, 1.3rem + 2.4vw, 2.75rem); margin-bottom: .3em; }
.legal-hero p { margin: 0; color: var(--muted); }
.legal-content { max-width: 820px; margin: 0 auto; padding: 40px 16px 72px; }
.legal-content h2 { font-size: 1.5rem; margin-top: 1.8em; }
.legal-content h3 { font-size: 1.15rem; margin-top: 1.4em; font-family: var(--font-sans); font-weight: 600; }
.legal-content ul { padding-left: 1.3em; margin-bottom: 1em; }
.legal-content li { margin-bottom: .4em; }
.legal-content .data-box {
  background: var(--blue-50); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 1.2em;
}
.legal-content .data-box p { margin-bottom: .4em; }
.legal-content .data-box p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin-bottom: 1.2em; border: 1px solid var(--border); border-radius: var(--radius); }
.legal-content table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 560px; }
.legal-content th, .legal-content td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal-content th { background: var(--blue-light); color: var(--navy); }
.legal-content tr:last-child td { border-bottom: 0; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; min-height: 44px; }

/* ---------- Pantallas grandes ---------- */
@media (min-width: 1440px) {
  body { font-size: 1.0625rem; }
  .container { max-width: 1280px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
