/* ============================================================
   TH Asesores — hoja de estilos principal
   Paleta corporativa: azul royal #2154CF · azul marino #11376B
   Tipografías: Playfair Display (títulos, como el logo) + Manrope
   ============================================================ */

:root {
  --blue: #2154cf;
  --blue-dark: #1a44ab;
  --navy: #11376b;
  --navy-deep: #0b2850;
  --ink: #26303c;
  --muted: #5a6878;
  --bg: #ffffff;
  --bg-soft: #f4f7fd;
  --tint: #e8eefb;
  --line: #e2e8f4;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 2px 10px rgba(17, 55, 107, 0.07);
  --shadow-lg: 0 14px 36px rgba(17, 55, 107, 0.14);
  --wa: #25d366;
  --ok: #1a8f4d;
  --ok-soft: #e7f6ee;
  --err: #c43d3d;
  --err-soft: #fdecec;
  --serif: "Playfair Display", Georgia, serif;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); }

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

/* ---------- Animaciones de entrada (progresivas: sin JS todo es visible) ---------- */
.rv { transition: opacity .6s ease, transform .6s ease; }
html.js-anim .rv:not(.in) { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js-anim .rv:not(.in) { opacity: 1; transform: none; transition: none; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 10px 26px rgba(33, 84, 207, .35); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); box-shadow: var(--shadow-lg); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { box-shadow: 0 8px 24px rgba(37, 211, 102, .4); }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ---------- Barra superior ----------
   Visible arriba del todo; al hacer scroll todo el bloque se desliza
   hacia arriba con transform (solo visual: no cambia la altura de la
   página, así que no puede provocar bucles de scroll) y reaparece
   cuando el ratón se acerca al borde superior de la ventana. */
.top-stack {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: transform .3s ease;
}
body.tb-hide .top-stack { transform: translateY(calc(-1 * var(--tb-h, 38px))); }
body.tb-hide.tb-peek .top-stack { transform: none; }
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .92);
  font-size: 13px;
  font-weight: 600;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 38px;
  flex-wrap: wrap;
  padding-top: 4px;
  padding-bottom: 4px;
}
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { opacity: .8; flex: none; }
.tb-portal {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  padding: 4px 14px;
  font-weight: 800;
  white-space: nowrap;
}
.tb-portal:hover { background: rgba(255, 255, 255, .26); text-decoration: none !important; }
/* El portal en el menú solo existe en móvil (dentro del hamburguesa) */
.nav-links a.nav-portal { display: none; color: var(--navy); }
.nav-links a.nav-portal:hover { color: var(--blue); }

/* ---------- Header / logo ---------- */
.site-header {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 14px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand-ring {
  width: 46px;
  height: 46px;
  flex: none;
  border: 2.5px solid var(--blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  color: var(--blue);
  letter-spacing: -.02em;
  background: #fff;
}
.brand-word {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .14em;
  color: var(--blue);
  line-height: 1.1;
  white-space: nowrap;
}
.brand-word small {
  display: block;
  font-family: var(--serif);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--navy);
  border-top: 1.5px solid var(--blue);
  padding-top: 3px;
  margin-top: 2px;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 14.5px;
  white-space: nowrap;
  transition: color .15s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.nav-tools {
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--tint);
  padding: 7px 13px;
  border-radius: 999px;
}
.nav-links a.nav-tools:hover { background: #dbe6fa; }
.nav-cta { white-space: nowrap; flex: none; padding: 11px 20px; font-size: 14.5px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 520px at 88% -12%, rgba(33, 84, 207, .10), transparent 60%),
    radial-gradient(800px 460px at -8% 112%, rgba(17, 55, 107, .08), transparent 60%),
    var(--bg-soft);
  padding: 84px 0 72px;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(17, 55, 107, .05) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
  mask-image: linear-gradient(115deg, transparent 48%, black 100%);
  -webkit-mask-image: linear-gradient(115deg, transparent 48%, black 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

/* Símbolo de encendido en neón verde (solo el trazo, sin fondo) */
.neon-on {
  --neon: #1fe06f;
  display: inline-grid;
  place-items: center;
  flex: none;
  color: var(--neon);
  filter: drop-shadow(0 0 2px var(--neon)) drop-shadow(0 0 6px rgba(31, 224, 111, .75));
}
@media (prefers-reduced-motion: no-preference) {
  .neon-on { animation: neonPulso 2.4s ease-in-out infinite, neonParpadeo 7s steps(1) infinite; }
}
@keyframes neonPulso {
  0%, 100% { filter: drop-shadow(0 0 2px var(--neon)) drop-shadow(0 0 6px rgba(31, 224, 111, .75)); }
  50% { filter: drop-shadow(0 0 3px var(--neon)) drop-shadow(0 0 11px rgba(31, 224, 111, .95)); }
}
/* Parpadeo breve de tubo de neón cada pocos segundos */
@keyframes neonParpadeo {
  0%, 88%, 91%, 94%, 100% { opacity: 1; }
  89.5% { opacity: .35; }
  92.5% { opacity: .6; }
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.14;
  letter-spacing: 0;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
}
.hero h1 em { font-style: italic; color: var(--blue); }
.hero p.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--blue); flex: none; }

.hero-photo { position: relative; }
.hero-photo > img:not(.deco) {
  width: 100%;
  border-radius: 26px;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.hero-photo::before {
  content: "";
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 62%;
  height: 62%;
  border-radius: 26px;
  background: var(--tint);
  z-index: -1;
}
.float-chip {
  position: absolute;
  left: -18px;
  bottom: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.float-chip .fc-ico {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  background: var(--tint);
  color: var(--blue);
  display: grid;
  place-items: center;
}
.float-chip small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; }

/* Objetos decorativos con parallax */
.deco {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 20px 28px rgba(11, 40, 80, .30));
  will-change: transform;
  transform: rotate(var(--rot, 0deg));
}
.deco-balanza { top: -34px; right: -26px; width: 150px; }
.band-wrap { position: relative; }
.deco-carpeta { top: -44px; right: 52px; width: 136px; z-index: 4; }
.deco-pasaporte { top: -26px; left: -28px; width: 118px; }

/* ---------- Banda de datos ---------- */
/* ---------- Banda de cifras: tarjeta flotante sobre el hero ---------- */
.stats-band { position: relative; z-index: 3; margin-top: -58px; padding-bottom: 8px; }
.stats-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(11, 40, 80, .12), 0 2px 8px rgba(11, 40, 80, .05);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}
.stats-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #4285F4 0%, #4285F4 18%, #EA4335 38%, #FBBC05 62%, #34A853 82%, #34A853 100%);
}
.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px 18px;
  text-align: left;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 16px;
  width: 1px;
  background: var(--line);
}
.stat-body { display: flex; flex-direction: column; min-width: 0; }
.stat strong.stat-num {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.stat .stat-label { font-size: 15px; font-weight: 800; color: var(--ink); }
.stat .stat-sub { font-size: 13px; color: var(--muted); font-weight: 600; }
.stat .stat-stars { color: #FBBC05; font-size: 13px; letter-spacing: 2px; margin: 1px 0 2px; }
.stat:first-child strong.stat-num {
  background: linear-gradient(100deg, #b8860b, #e3a91d 45%, #f5d27a 70%, #c9971c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.stats-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 20px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.stats-foot b { color: var(--navy); }
.stats-foot .stat-days { font-family: var(--serif); font-size: 20px; color: var(--blue); margin: 0; }
.stat-num { font-variant-numeric: tabular-nums; }

/* Lunes a viernes: los cinco días aparecen uno a uno y una línea los recorre */
.stat-days {
  position: relative;
  display: flex !important;
  width: max-content;
  gap: 7px;
  padding-bottom: 6px;
  margin: 0 auto 4px;
}
.stat-days i {
  font-style: normal;
  display: inline-block;
}
.stat-days::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), #7fa4f0);
}
.stat-days.prep i { opacity: 0; transform: translateY(10px) scale(.7); }
.stat-days.prep::after { transform: scaleX(0); transform-origin: left; }
.stat-days.go i {
  opacity: 1;
  transform: none;
  transition: opacity .35s ease, transform .45s cubic-bezier(.3, 1.6, .5, 1);
}
.stat-days.go i:nth-child(1) { transition-delay: 0s; }
.stat-days.go i:nth-child(2) { transition-delay: .18s; }
.stat-days.go i:nth-child(3) { transition-delay: .36s; }
.stat-days.go i:nth-child(4) { transition-delay: .54s; }
.stat-days.go i:nth-child(5) { transition-delay: .72s; }
.stat-days.go::after { transform: scaleX(1); transition: transform .7s ease 1s; }

.stat .stat-ico {
  flex: none;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--blue) 0%, var(--navy) 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(33, 84, 207, .25);
  transition: transform .25s ease;
}
.stat:hover .stat-ico { transform: translateY(-3px) rotate(-5deg); }
.stat .stat-ico--google {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(11, 40, 80, .12);
}

/* ---------- Secciones ---------- */
section { padding: 84px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 10px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(27px, 3.4vw, 40px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 12px;
}
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- Servicios ---------- */
.services { background: var(--bg-soft); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #6f93e8);
  opacity: 0;
  transition: opacity .18s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #c9d7f1;
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--tint);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.service-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--navy); letter-spacing: -.01em; }
.service-card p { font-size: 14.5px; color: var(--muted); }

/* Servicios plegables: icono y título visibles, descripción al tocar */
.services-grid { align-items: start; }
.service-card { padding: 0; }
.service-card .svc-h { margin: 0; font-size: inherit; }
.svc-head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 26px 22px 20px;
  background: none;
  border: 0;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  color: inherit;
}
.svc-head .service-icon {
  background: linear-gradient(140deg, var(--blue) 0%, var(--navy) 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(33, 84, 207, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover .svc-head .service-icon,
.service-card.open .svc-head .service-icon {
  transform: translateY(-2px) rotate(-4deg);
  box-shadow: 0 10px 22px rgba(33, 84, 207, .35);
}
.svc-title { font-size: 17px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; padding-right: 30px; }
.svc-chev {
  position: absolute;
  top: 24px;
  right: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  transition: transform .25s ease, background .2s ease;
}
.service-card.open .svc-chev { transform: rotate(180deg); background: var(--tint); }
.svc-head:focus-visible { outline: 2px solid var(--blue); outline-offset: -4px; border-radius: var(--radius); }
.svc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.svc-body > div { overflow: hidden; }
.svc-body p { padding: 0 22px 22px; margin: 0; }
.service-card.open .svc-body { grid-template-rows: 1fr; }
.service-card.open { border-color: #c9d7f1; box-shadow: var(--shadow); }

/* ---------- Banda papeleo ---------- */
.relief-band {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  overflow: hidden;
  align-items: stretch;
  box-shadow: var(--shadow);
}
.relief-band .rb-content { padding: 48px; align-self: center; }
.relief-band h2 {
  font-family: var(--serif);
  font-size: clamp(23px, 2.8vw, 32px);
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}
.relief-band p { color: var(--muted); max-width: 56ch; margin-bottom: 24px; }
/* Título con efecto máquina de escribir */
.tw-rest { visibility: hidden; }
.tw-caret {
  display: inline-block;
  width: 3px;
  height: .95em;
  margin: 0 1px 0 2px;
  vertical-align: -.08em;
  border-radius: 2px;
  background: var(--blue);
  animation: twBlink 1s steps(1) infinite;
}
.tw-caret.tw-done { animation: twFade .5s ease forwards; }
@keyframes twBlink { 50% { opacity: 0; } }
@keyframes twFade { to { opacity: 0; width: 0; margin: 0; } }

/* Beneficios: lista normal por defecto; con JS se convierte en rotador animado */
.benefits { margin: 4px 0 18px; }
.ben-tabs, .ben-bar { display: none; }
.ben-list { list-style: none; display: grid; gap: 10px; }
.ben-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.ben-list em { display: block; font-style: normal; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 2px; }
.ben-check {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ok-soft);
  color: var(--ok);
  margin-top: 1px;
}
.relief-band p.ben-one { color: var(--ink); font-size: 15px; margin-bottom: 22px; }
.ben-one strong { color: var(--navy); }

.benefits.anim .ben-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ben-tab {
  font-size: 12.5px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  border: 1px solid var(--line);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.ben-tab.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.benefits.anim .ben-bar {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: var(--line);
  margin-bottom: 14px;
}
/* Barra de carga con un brillo muy leve (bloom) */
.ben-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), #5b8dff);
  box-shadow: 0 0 4px rgba(61, 123, 255, .45), 0 0 9px rgba(61, 123, 255, .22);
}
.ben-bar i.run { width: 100%; transition: width var(--ben-ms, 5000ms) linear; }
.benefits.anim .ben-list { position: relative; display: block; min-height: 58px; }
.benefits.anim .ben-list li {
  position: absolute;
  inset: 0 0 auto 0;
  font-size: 17px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .45s ease, transform .45s cubic-bezier(.2, .8, .3, 1);
  pointer-events: none;
}
.benefits.anim .ben-list li em { display: none; }
.benefits.anim .ben-list li.on { opacity: 1; transform: none; }
/* Al activar el rotador no hay transición: evita ver las 9 frases superpuestas desvaneciéndose */
.benefits.ben-init .ben-list li { transition: none !important; }
.benefits.anim .ben-list li.out { opacity: 0; transform: translateY(-16px); }
@media (max-width: 680px) {
  .benefits.anim .ben-list { min-height: 74px; }
  .benefits.anim .ben-list li { font-size: 16px; }
}

.relief-band figure { margin: 0; position: relative; }
.relief-band figure > img:not(.deco) {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

/* Carrusel de negocios (banda papeleo) */
.relief-band figure.nc { position: relative; min-height: 340px; height: 100%; overflow: hidden; }
.nc-track { position: absolute; inset: 0; }
.nc-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.nc-slide.on { opacity: 1; z-index: 1; }
.nc-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); transition: transform 7s ease-out; }
.nc-slide.on img { transform: scale(1); }
.nc-slide figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 120px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(11, 40, 80, .18);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease .35s, transform .6s ease .35s;
}
.nc-slide.on figcaption { opacity: 1; transform: none; }
.nc-slide figcaption b { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.nc-slide figcaption span { font-family: var(--serif); font-size: 17px; line-height: 1.3; color: var(--navy-deep); }
.nc-dots { position: absolute; right: 14px; bottom: 20px; z-index: 3; display: flex; gap: 6px; }
.nc-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 9px; background: rgba(255, 255, 255, .7); cursor: pointer; overflow: hidden; transition: width .3s ease, background .3s; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.nc-dot i { display: block; height: 100%; width: 0; background: #fff; }
.nc-dot.on { width: 28px; background: rgba(255, 255, 255, .45); }
.nc.anda .nc-dot.on i { animation: ncProg var(--nc-ms, 5s) linear forwards; }
.nc.pausa .nc-dot.on i { animation-play-state: paused; }
@keyframes ncProg { to { width: 100%; } }
@media (max-width: 960px) { .relief-band figure.nc { min-height: 0; height: auto; aspect-ratio: 3 / 2; } }
@media (max-width: 560px) {
  .nc-slide figcaption { left: 10px; right: auto; bottom: 30px; max-width: calc(100% - 20px); padding: 6px 10px; border-radius: 10px; }
  .nc-slide figcaption b { font-size: 10px; }
  .nc-slide figcaption span { font-size: 13px; }
  .nc-dots { left: 0; right: 0; bottom: 12px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .nc-slide, .nc-slide img, .nc-slide figcaption { transition: none; transform: none; }
}

/* ---------- Calendario fiscal ---------- */
.cf-estado { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--muted); }
.cf-estado.ok { color: var(--navy); }
.cf-pulso { width: 9px; height: 9px; border-radius: 50%; background: #25D366; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: cfPulso 2s infinite; flex: none; }
@keyframes cfPulso { 70% { box-shadow: 0 0 0 9px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.cf-proximo {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px 26px;
  margin-bottom: 26px;
  border-radius: 22px;
  color: #fff;
  background: radial-gradient(600px 300px at 100% 0%, rgba(127, 164, 240, .35), transparent 60%), linear-gradient(140deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: 0 18px 40px rgba(11, 40, 80, .25);
  animation: rsvSube .5s cubic-bezier(.2, .9, .3, 1.2);
}
.cf-px-num { width: 92px; height: 92px; border-radius: 20px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; align-content: center; }
.cf-px-num b { font-family: var(--serif); font-size: 40px; line-height: 1; }
.cf-px-num span { font-size: 12px; font-weight: 700; opacity: .85; }
.cf-px-k { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #a9c2f5; margin: 0 0 4px; }
.cf-px-txt h2 { font-family: var(--serif); font-size: 26px; color: #fff; margin: 0 0 6px; }
.cf-px-txt p { margin: 0; font-size: 14.5px; color: rgba(255, 255, 255, .85); }
.cf-px-txt p b { color: #fff; background: rgba(255, 255, 255, .14); padding: 1px 7px; border-radius: 6px; margin-right: 3px; }
.cf-px-acc { display: grid; gap: 8px; }
.cf-px-acc .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.cf-px-acc .btn-primary { background: #fff; color: var(--navy); }
.cf-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.cf-filtros { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cf-perfiles { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-chip { font-family: inherit; font-size: 14px; font-weight: 800; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .15s; }
.cf-chip.on { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 14px rgba(33, 84, 207, .25); }
.cf-filtros-2 { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cf-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--ink); cursor: pointer; }
.cf-switch input { position: absolute; opacity: 0; }
.cf-switch span { width: 38px; height: 22px; border-radius: 22px; background: #cfd8e4; position: relative; transition: background .2s; flex: none; }
.cf-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.cf-switch input:checked + span { background: var(--blue); }
.cf-switch input:checked + span::after { transform: translateX(16px); }
.cf-switch input:focus-visible + span { outline: 3px solid rgba(33, 84, 207, .3); }
.cf-buscar { font-family: inherit; font-size: 15px; padding: 9px 14px; border: 2px solid var(--line); border-radius: 12px; width: 250px; max-width: 100%; }
.cf-px-num b.hoy { font-size: 26px; }
.cf-buscar:focus { outline: none; border-color: var(--blue); }
.cf-mes { font-family: var(--serif); font-size: 22px; color: var(--navy); margin: 26px 0 12px; display: flex; align-items: center; gap: 12px; }
.cf-mes::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cf-plazo {
  --c: var(--blue);
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 18px;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--c);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(11, 40, 80, .05);
  animation: rsvSube .4s cubic-bezier(.2, .9, .3, 1.2) both;
  animation-delay: calc(var(--i, 0) * 40ms);
}
.cf-plazo.cat-renta { --c: #1a8f4d; }
.cf-plazo.cat-renta-sociedades { --c: #7b4fd0; }
.cf-plazo.cat-sociedades { --c: var(--navy); }
.cf-plazo.cat-informativas { --c: #c58a12; }
.cf-plazo.pasado { opacity: .55; }
.cf-plazo.urgente { box-shadow: 0 0 0 2px rgba(234, 67, 53, .15), 0 8px 20px rgba(11, 40, 80, .08); }
.cf-fecha { text-align: center; border-radius: 14px; background: var(--bg-soft); padding: 8px 4px; align-self: start; }
.cf-fecha b { display: block; font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--navy); }
.cf-fecha span { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--c); margin-top: 2px; }
.cf-fecha small { display: block; font-size: 11px; color: var(--muted); text-transform: capitalize; }
.cf-cab { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 6px; }
.cf-cat { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--c); }
.cf-falta { font-size: 12.5px; font-weight: 800; color: var(--muted); white-space: nowrap; }
.cf-plazo.urgente .cf-falta { color: #c5221f; }
.cf-grupo { font-size: 13px; color: var(--muted); margin: 0 0 6px; }
.cf-cuerpo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cf-cuerpo li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 10px; font-size: 14.5px; color: var(--ink); padding: 6px 0; border-bottom: 1px dashed var(--line); }
.cf-cuerpo li:last-child { border-bottom: 0; }
.cf-mods { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.cf-mod { font-size: 12px; font-weight: 800; padding: 2px 7px; border-radius: 6px; background: var(--tint); color: var(--navy); font-variant-numeric: tabular-nums; cursor: help; }
.cf-mod.hit { background: var(--blue); color: #fff; }
.cf-cuerpo details { margin-top: 6px; }
.cf-cuerpo summary { font-size: 13px; font-weight: 800; color: var(--blue); cursor: pointer; }
.cf-acc { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.cf-add, .cf-ayuda-btn:not(.btn) { font-family: inherit; font-size: 13px; font-weight: 800; color: var(--blue); background: none; border: 0; padding: 0; cursor: pointer; }
.cf-vacio { padding: 26px; text-align: center; color: var(--muted); background: var(--bg-soft); border-radius: 16px; }
.cf-side { position: sticky; top: 110px; display: grid; gap: 18px; }
.cf-noticias { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 20px 10px; box-shadow: var(--shadow); }
.cf-noticias h2 { font-family: var(--serif); font-size: 21px; color: var(--navy); margin: 0; }
.cf-side-sub { font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.cf-noticias ul { list-style: none; margin: 0; padding: 0; max-height: 560px; overflow-y: auto; }
.cf-noticias li { border-top: 1px solid var(--line); }
.cf-noticias a { display: grid; gap: 4px; padding: 11px 0; color: var(--ink); text-decoration: none; }
.cf-noticias a:hover .cf-n-tit { color: var(--blue); }
.cf-n-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--muted); }
.cf-fuente { font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 6px; color: #fff; background: var(--navy); }
.cf-fuente.boe { background: #b3261e; }
.cf-n-tit { font-size: 14px; line-height: 1.4; transition: color .15s; }
.cf-ayuda { background: var(--tint); border: 1px solid #c9d7f1; border-radius: 18px; padding: 20px; }
.cf-ayuda h3 { font-family: var(--serif); font-size: 19px; color: var(--navy); margin-bottom: 6px; }
.cf-ayuda p { font-size: 14px; color: var(--ink); margin-bottom: 12px; }
.cf-legal { font-size: 12.5px; color: var(--muted); margin-top: 26px; }
@media (max-width: 960px) {
  .cf-layout { grid-template-columns: 1fr; }
  .cf-side { position: static; }
  .cf-proximo { grid-template-columns: auto 1fr; }
  .cf-px-acc { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cf-proximo { padding: 18px; gap: 14px; }
  .cf-px-num { width: 70px; height: 70px; }
  .cf-px-num b { font-size: 30px; }
  .cf-px-txt h2 { font-size: 21px; }
  .cf-px-acc { grid-template-columns: 1fr; }
  .cf-plazo { grid-template-columns: 58px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .cf-fecha b { font-size: 24px; }
  .cf-buscar { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .cf-plazo, .cf-proximo { animation: none; } .cf-pulso { animation: none; } }

/* ---------- Banda Herramientas ---------- */
.tools-band {
  background:
    radial-gradient(800px 420px at 108% -10%, rgba(33, 84, 207, .5), transparent 55%),
    linear-gradient(140deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  border-radius: 28px;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
}
.tools-band .kicker { color: #9db9f2; }
.tools-band h2 { font-family: var(--serif); font-size: clamp(25px, 3vw, 35px); margin-bottom: 14px; }
.tools-band p { color: rgba(255, 255, 255, .8); margin-bottom: 26px; max-width: 50ch; }
/* Jerarquía para escanear: negrita blanca en lo clave y el simulador destacado en serif */
.tools-band p.tb-copy { font-size: 16.5px; line-height: 1.7; margin-bottom: 18px; color: rgba(255, 255, 255, .72); }
.tb-copy strong { color: #fff; font-weight: 800; }
.tb-hl {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.18em;
  color: #9db9f2;
  white-space: nowrap;
}
.tb-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.tb-facts li {
  display: inline-block;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 6px 12px;
}
.tb-facts li svg { color: #9db9f2; vertical-align: -2px; margin-right: 6px; }
.tb-facts strong { color: #fff; font-weight: 800; }
.tool-preview {
  position: relative;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  padding: 24px;
}
.tool-preview > img:not(.deco) {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 16px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.tool-preview .tp-tag {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.tool-preview h4 { font-size: 18px; margin-bottom: 8px; }
.tool-preview p { font-size: 14px; color: rgba(255, 255, 255, .75); margin-bottom: 0; }

/* ---------- Quiénes somos ---------- */
.about-photo { margin: 0 0 40px; }
.about-photo img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: block;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-text p { color: var(--muted); margin-bottom: 16px; font-size: 16.5px; }
.values { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
.values li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink); }
.values li svg { flex: none; margin-top: 4px; color: var(--blue); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
/* Sin transform en hover: crearía un contenedor para el recuadro fijo (.team-pop.fx) y lo descolocaría */
.team-card:hover { box-shadow: var(--shadow-lg); border-color: #c9d7f1; }
.team-avatar {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--blue), var(--navy));
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  display: grid;
  place-items: center;
}
.team-card strong { display: block; font-size: 15px; color: var(--navy); }
.team-card span { font-size: 13px; color: var(--muted); }
.team-card { position: relative; }
.team-card:hover { z-index: 30; }

/* Tarjeta expandida al pasar el ratón: foto completa + descripción */
.team-pop {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%) translateY(10px) scale(.97);
  width: 272px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(11, 40, 80, .28);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  z-index: 40;
}
.team-card:hover .team-pop {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}
/* En escritorio el JS lo coloca respecto a la pantalla, dentro del hueco libre bajo la barra de navegación */
.team-pop.fx { position: fixed; bottom: auto; transform: translateY(8px) scale(.97); }
.team-card:hover .team-pop.fx { transform: none; }
.team-pop > img {
  width: 100%;
  height: min(300px, 36vh);
  object-fit: cover;
  object-position: top;
  display: block;
}
.team-pop .tp-info { padding: 14px 16px 16px; }
.team-pop .tp-info strong { font-size: 16px; color: var(--navy); display: block; }
.team-pop .tp-info em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--blue); display: block; margin: 2px 0 8px; }
.team-pop .tp-info p { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0; }

/* ---------- Testimonios (cinta animada) ---------- */
.testimonials {
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(33, 84, 207, .40), transparent 60%),
    radial-gradient(700px 420px at 96% 112%, rgba(212, 175, 55, .14), transparent 60%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.testimonials .section-head h2 { color: #fff; }
.testimonials .section-head p { color: rgba(255, 255, 255, .75); }
.testimonials .kicker { color: #e9c35c; }
.t-head-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 44px;
  align-items: center;
  margin-bottom: 44px;
}
.t-head-row .section-head { margin-bottom: 0; }

/* Anillo con la nota media en dorado */
.rating-ring {
  display: block;
  width: 232px;
  height: 232px;
  flex: none;
  border-radius: 50%;
  padding: 3px;
  text-decoration: none;
  background: conic-gradient(from 210deg, #8a6a1f, #d4af37, #f9e27a, #fff6c9, #d4af37, #8a6a1f);
  box-shadow: 0 0 44px rgba(212, 175, 55, .35);
  transition: transform .18s ease, box-shadow .18s ease;
}
.rating-ring:hover { transform: scale(1.03); box-shadow: 0 0 60px rgba(212, 175, 55, .5); }
.rating-ring .rr-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 28%, #13355f, var(--navy-deep) 72%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
}
.rr-label { font-size: 11px; letter-spacing: .24em; font-weight: 800; color: rgba(255, 255, 255, .6); text-transform: uppercase; }
.gold-num {
  font-family: var(--serif);
  font-size: 76px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(100deg, #8a6a1f 0%, #d4af37 22%, #fff6c9 50%, #d4af37 78%, #8a6a1f 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: goldshine 3.6s linear infinite;
  filter: drop-shadow(0 0 16px rgba(249, 226, 122, .45));
}
@keyframes goldshine { to { background-position: 200% center; } }
.rr-stars { color: #f2c14e; font-size: 17px; letter-spacing: 3px; text-shadow: 0 0 12px rgba(242, 193, 78, .55); }
.rr-count { font-size: 12.5px; color: rgba(255, 255, 255, .72); font-weight: 600; }

/* Cinta infinita con desvanecimiento en los bordes */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; }
.marquee-group { display: flex; gap: 20px; padding-right: 20px; }
.marquee-track.on { animation: cinta 48s linear infinite; }
@keyframes cinta { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track.on { animation-play-state: paused; }
.marquee .t-card { width: 350px; flex: none; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track.on { animation: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
}
.t-cta-row { display: flex; justify-content: center; margin-top: 36px; }
.t-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.t-stars { color: #f5a623; font-size: 15px; letter-spacing: 2px; }
.t-card blockquote { font-size: 15px; color: var(--ink); flex: 1; }
.t-card footer { display: flex; align-items: center; gap: 11px; }
.t-card footer .team-avatar { width: 40px; height: 40px; font-size: 13px; }
.t-photo {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--tint);
}
.t-card footer strong { font-size: 14px; color: var(--navy); display: block; }
.t-card footer span { font-size: 12.5px; color: var(--muted); }

/* ---------- Badge Google ---------- */
.g-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.g-badge:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.g-badge strong { font-size: 16px; display: inline-flex; align-items: center; gap: 6px; }
.g-badge span { color: var(--muted); }
.g-badge .t-stars { font-size: 13px; }

/* ---------- TikTok ---------- */
.tiktok-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1020px;
  margin: 0 auto;
}
.tt-card {
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}
/* Al pasar el ratón: crece y se eleva un poco (solo con ratón, nunca en táctil) */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .tiktok-grid .tt-card {
    transition: opacity .6s ease, transform .3s cubic-bezier(.2, .8, .3, 1), box-shadow .3s ease;
  }
  .tiktok-grid .tt-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 24px 50px rgba(11, 40, 80, .28);
    z-index: 2;
  }
}
.tt-card iframe,
.tt-card video.tt-video {
  display: block;
  width: 100%;
  height: 600px;
  border: 0;
  background: #000;
  object-fit: cover;
}
.tt-player { position: relative; height: 600px; }
.tt-player video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.tt-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 26px 22px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(11, 40, 80, 0) 35%, rgba(11, 40, 80, .55) 65%, rgba(7, 25, 50, .92) 100%);
  transition: background .2s ease;
}
.tt-overlay:hover { background: linear-gradient(180deg, rgba(11, 40, 80, .12) 25%, rgba(11, 40, 80, .6) 62%, rgba(7, 25, 50, .95) 100%); }
.tt-overlay .tt-play {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: var(--blue);
  display: grid;
  place-items: center;
  padding-left: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  transition: transform .15s ease;
}
.tt-overlay:hover .tt-play { transform: translate(-50%, -50%) scale(1.08); }
.tt-overlay strong { font-size: 16.5px; line-height: 1.35; max-width: 28ch; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.tt-overlay .tt-meta { font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .75); }
.tt-views {
  display: block;
  text-align: center;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 0;
}

/* ---------- Entidades ---------- */
.entities { padding: 0 0 84px; }
.entities h3 {
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 24px;
}
/* Carrusel de logos: lento, continuo, en gris y a color al pasar el ratón */
.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-track { display: flex; width: max-content; }
.logo-group { list-style: none; display: flex; align-items: center; gap: 64px; padding: 12px 32px; }
.logo-group li { flex: none; display: flex; align-items: center; height: 56px; }
.logo-group img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: .55;
  transition: filter .35s ease, opacity .35s ease;
}
.logo-group img:hover { filter: none; opacity: 1; }
/* Ajuste óptico: los logos cuadrados o con mucho blanco necesitan algo más de altura */
.logo-group img.ent-sepe, .logo-group img.ent-comunidad-de-madrid, .logo-group img.ent-red-pae { height: 52px; }
.logo-group img.ent-agencia-tributaria, .logo-group img.ent-fremap { height: 46px; }
.logo-group img.ent-quironprevencion, .logo-group img.ent-asepeyo { height: 30px; }
.logo-track.on { animation: logosCinta 45s linear infinite; }
.logo-marquee:hover .logo-track.on { animation-play-state: paused; }
@keyframes logosCinta { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-track.on { animation: none; }
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
  .logo-group { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 680px) {
  .logo-group { gap: 40px; }
  .logo-group img { height: 32px; }
  .logo-group img.ent-sepe, .logo-group img.ent-comunidad-de-madrid, .logo-group img.ent-red-pae { height: 42px; }
  .logo-group img.ent-quironprevencion, .logo-group img.ent-asepeyo { height: 24px; }
}

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-card h3 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-card h3 svg { color: var(--blue); }
.contact-card ul { list-style: none; display: grid; gap: 10px; }
.contact-card li { font-size: 15.5px; color: var(--ink); }
.contact-card li a { color: var(--blue); font-weight: 700; text-decoration: none; }
.contact-card li a:hover { text-decoration: underline; }
.contact-card .note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.contact-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; justify-content: center; }

/* ---------- CTA final ---------- */
.final-cta {
  text-align: center;
  background:
    radial-gradient(700px 320px at 50% -30%, rgba(33, 84, 207, .45), transparent 70%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  border-radius: 28px;
  padding: 64px 32px;
}
.final-cta h2 { font-family: var(--serif); font-size: clamp(25px, 3vw, 37px); margin-bottom: 12px; }
.final-cta p { color: rgba(255, 255, 255, .8); font-size: 17px; margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .72);
  padding: 56px 0 32px;
  margin-top: 84px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer h4 { color: #fff; font-size: 13.5px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand .brand-ring { border-color: #fff; color: #fff; background: transparent; width: 46px; height: 46px; font-size: 19px; }
.footer-brand .brand-word { color: #fff; font-size: 20px; }
.footer-brand .brand-word small { color: rgba(255, 255, 255, .7); border-top-color: rgba(255, 255, 255, .6); }
.footer-brand p { max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.08); }

/* ============================================================
   Herramientas TH
   ============================================================ */
.page-hero {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(33, 84, 207, .12), transparent 60%),
    var(--bg-soft);
  padding: 64px 0 56px;
}
.page-hero { position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .ph-img {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 62%;
  object-fit: cover;
  object-position: center;
  /* Degradado de derecha a izquierda: la foto se funde con el fondo
     para no restar legibilidad al texto */
  -webkit-mask-image: linear-gradient(to left, #000 35%, rgba(0, 0, 0, .35) 70%, transparent 100%);
  mask-image: linear-gradient(to left, #000 35%, rgba(0, 0, 0, .35) 70%, transparent 100%);
  opacity: .9;
}
.page-hero.has-photo h1,
.page-hero.has-photo p { max-width: 54ch; }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(29px, 4vw, 44px);
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.15;
}
.page-hero p { font-size: 17.5px; color: var(--muted); max-width: 62ch; }
.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--blue); text-decoration: none; font-weight: 700; }

.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tool-card.active:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tool-card .service-icon { margin-bottom: 4px; }
.tool-card h3 { font-size: 18px; color: var(--navy); letter-spacing: -.01em; }
.tool-card p { font-size: 14.5px; color: var(--muted); flex: 1; }
.tool-card .btn { align-self: flex-start; }
.tool-card.soon { opacity: .75; background: var(--bg-soft); }
.tag-soon {
  align-self: flex-start;
  background: #e8ecf4;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.tag-live {
  align-self: flex-start;
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ============================================================
   Simulador CCSE
   ============================================================ */
.sim-wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.sim-screen { display: none; }
.sim-screen.visible { display: block; }

/* Pantalla de inicio */
.sim-intro-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: var(--shadow);
  margin-top: -36px;
  position: relative;
}
.sim-intro-card h2 { font-family: var(--serif); font-size: 23px; color: var(--navy); }
.sim-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px 0; }
.spec {
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
}
.spec strong { display: block; font-family: var(--serif); font-size: 26px; color: var(--blue); }
.spec span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.sim-tareas { list-style: none; display: grid; gap: 10px; margin: 8px 0 28px; }
.sim-tareas li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 10px 14px;
}
.sim-tareas .t-num {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.sim-disclaimer { font-size: 13px; color: var(--muted); margin-top: 20px; }

/* Barra del examen */
.sim-topbar {
  position: sticky;
  top: 90px;
  z-index: 40;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}
.sim-progress-label { font-size: 14px; font-weight: 700; color: var(--navy); }
.sim-section-label { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.sim-timer {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  background: var(--tint);
  padding: 7px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sim-timer.warning { background: var(--err-soft); color: var(--err); }
.sim-progressbar { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 26px; }
.sim-progressbar i { display: block; height: 100%; background: var(--blue); border-radius: 99px; transition: width .25s ease; }

/* Pregunta */
.q-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 32px;
  box-shadow: var(--shadow);
}
.q-tarea {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--blue);
  background: var(--tint);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.q-text { font-size: 20px; font-weight: 700; color: var(--navy); line-height: 1.4; margin-bottom: 24px; }
.q-options { display: grid; gap: 12px; }
.q-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: var(--bg-soft);
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 15px 18px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .12s, background .12s;
}
.q-opt:hover { border-color: #c3d2ef; }
.q-opt.selected { border-color: var(--blue); background: var(--tint); font-weight: 700; }
.q-opt .opt-letter {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}
.q-opt.selected .opt-letter { background: var(--blue); border-color: var(--blue); color: #fff; }

.sim-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.q-dots { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: 26px; }
.q-dot {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
}
.q-dot.answered { background: var(--blue); border-color: var(--blue); color: #fff; }
.q-dot.current { outline: 2px solid var(--navy); outline-offset: 2px; }

/* Resultados */
.result-banner {
  text-align: center;
  border-radius: 20px;
  padding: 44px 32px;
  margin-bottom: 26px;
}
.result-banner.pass { background: var(--ok-soft); border: 1px solid #bfe6cf; }
.result-banner.fail { background: var(--err-soft); border: 1px solid #f2cccc; }
.result-banner .r-verdict { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.result-banner.pass .r-verdict { color: var(--ok); }
.result-banner.fail .r-verdict { color: var(--err); }
.result-banner .r-score { font-family: var(--serif); font-size: 58px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.result-banner .r-score small { font-size: 24px; color: var(--muted); font-weight: 600; font-family: "Manrope", sans-serif; }
.result-banner p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }
.result-breakdown { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 30px; }
.rb-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.rb-card h4 { font-size: 13.5px; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.rb-card strong { font-size: 22px; color: var(--navy); }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }

.review-item {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 14px;
}
.review-item.correct { border-left-color: var(--ok); }
.review-item.wrong { border-left-color: var(--err); }
.review-item .ri-head { display: flex; gap: 10px; align-items: baseline; margin-bottom: 10px; }
.review-item .ri-num { font-size: 13px; font-weight: 800; color: var(--muted); flex: none; }
.review-item .ri-q { font-weight: 700; color: var(--navy); font-size: 15.5px; }
.review-item .ri-row { font-size: 14.5px; margin-bottom: 4px; }
.review-item .ri-row.ok { color: var(--ok); font-weight: 700; }
.review-item .ri-row.bad { color: var(--err); font-weight: 700; }
.review-item .ri-exp { font-size: 13.5px; color: var(--muted); margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }

/* ---------- Simulador: modos, feedback y celebración ---------- */
.btn-accent {
  background: linear-gradient(120deg, #d4af37, #f0cf6b);
  color: var(--navy-deep);
}
.btn-accent:hover { box-shadow: 0 8px 24px rgba(212, 175, 55, .45); }

.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mode-btn {
  text-align: left;
  background: var(--tint);
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  font-family: inherit;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.mode-btn:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: var(--shadow-lg); }
.mode-btn strong { display: block; font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.mode-btn span { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.mode-btn.alt { background: var(--bg-soft); }

.resume-card {
  margin-top: 16px;
  background: #fff8e6;
  border: 1px solid #ecd9a0;
  border-radius: 14px;
  padding: 16px 18px;
}
.resume-card p { font-size: 14.5px; color: var(--ink); margin-bottom: 12px; }
.resume-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.sim-topbar-right { display: flex; align-items: center; gap: 10px; }
.snd-btn {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 38px;
  height: 38px;
  font-size: 17px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.streak-chip {
  background: linear-gradient(120deg, #d4af37, #f6de8d);
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.streak-chip.pop { animation: chipPop .4s ease; }
@keyframes chipPop {
  0% { transform: scale(.6); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.q-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.q-illus {
  width: 92px;
  height: 92px;
  flex: none;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--line);
  margin-top: -6px;
  box-shadow: var(--shadow);
}

.q-opt.locked { pointer-events: none; }
.q-opt.ok {
  border-color: var(--ok);
  background: var(--ok-soft);
  font-weight: 700;
}
.q-opt.ok .opt-letter { background: var(--ok); border-color: var(--ok); color: #fff; }
.q-opt.ko {
  border-color: var(--err);
  background: var(--err-soft);
}
.q-opt.ko .opt-letter { background: var(--err); border-color: var(--err); color: #fff; }

.feedback {
  margin-top: 18px;
  border-radius: 14px;
  padding: 18px 20px;
  animation: fbIn .3s ease;
}
@keyframes fbIn { from { opacity: 0; transform: translateY(8px); } }
.feedback.good { background: var(--ok-soft); border: 1px solid #bfe6cf; }
.feedback.bad { background: var(--err-soft); border: 1px solid #f2cccc; }
.feedback .fb-title { font-weight: 800; font-size: 16px; color: var(--navy-deep); margin-bottom: 6px; }
.feedback.good .fb-title { color: var(--ok); }
.feedback .fb-correct { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.feedback .fb-exp { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.feedback .btn { margin-top: 4px; }

/* En práctica no hay navegación manual ni temporizador */
.mode-practica .sim-nav,
.mode-practica .q-dots,
.mode-practica #examTimer { display: none; }

/* Confeti de celebración */
.confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  overflow: hidden;
}
.confetti i {
  position: absolute;
  top: -14px;
  width: 10px;
  height: 14px;
  border-radius: 2px;
  opacity: .95;
  animation: cae linear forwards;
}
@keyframes cae {
  to { transform: translateY(105vh) rotate(720deg); opacity: .6; }
}

/* ---------- Checklist de trámites ---------- */
.ck-tramites { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ck-tram {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
}
.ck-tram.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.ck-tram:disabled { cursor: default; color: var(--muted); background: var(--bg-soft); }
.ck-tram small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-left: 4px; opacity: .8; }
.ck-card {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px 38px 38px;
  box-shadow: var(--shadow);
  scroll-margin-top: 110px;
}
.ck-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 14px; }
.ck-steps li { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: var(--muted); }
.ck-steps li b {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  border: 2px solid var(--line);
  background: #fff;
  position: relative;
  transition: background .3s, border-color .3s, color .3s;
}
.ck-steps li span { font-size: 13px; font-weight: 700; }
.ck-steps li.on { color: var(--blue); }
.ck-steps li.on b { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 0 0 4px rgba(33, 84, 207, .15); }
.ck-steps li.done { color: var(--ok); }
.ck-steps li.done b { border-color: var(--ok); background: var(--ok); color: transparent; animation: rsvPop .45s cubic-bezier(.3, 1.6, .5, 1); }
.ck-steps li.done b::after { content: "✓"; color: #fff; position: absolute; font-size: 14px; }
.ck-prog-row { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ck-prog { flex: 1; height: 8px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line); overflow: hidden; }
.ck-prog i, .ck-docbar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--blue), #4f8df5 60%, #25D366);
  transition: width .55s cubic-bezier(.3, 1.3, .5, 1);
  position: relative;
  overflow: hidden;
}
.ck-prog i::after, .ck-docbar i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
  transform: translateX(-100%);
  animation: rsvBrillo 2.2s ease-in-out infinite;
}
.ck-prog-txt { font-size: 12.5px; font-weight: 800; color: var(--blue); min-width: 104px; text-align: right; font-variant-numeric: tabular-nums; }
.ck-step h2 { font-family: var(--serif); font-size: 24px; color: var(--navy); margin-bottom: 10px; }
.ck-label { display: block; font-size: 15px; font-weight: 800; color: var(--navy-deep); margin: 20px 0 8px; }
.ck-label strong { color: var(--blue); }
.ck-hint { font-size: 13.5px; color: var(--muted); margin: -2px 0 10px; }
.ck-field { border: 0; padding: 0; margin: 0; }
.ck-field legend { padding: 0; }
.ck-input {
  width: 100%;
  padding: 13px 15px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 12px;
}
.ck-input + .ck-input { margin-top: 10px; }
.ck-input:focus { outline: none; border-color: var(--blue); }
.ck-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.ck-opts button {
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg-soft);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color .12s, background .12s, transform .15s, box-shadow .15s;
  position: relative;
}
.ck-opts button:hover { border-color: #c6d6e4; }
.ck-opts button.sel { border-color: var(--blue); background: var(--tint); color: var(--navy); box-shadow: 0 6px 16px rgba(33, 84, 207, .16); padding-right: 34px; }
.ck-opts button.sel::after {
  content: "✓";
  position: absolute;
  right: 9px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  display: grid;
  place-items: center;
}
.ck-opts-yn button { min-width: 90px; text-align: center; }
.ck-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 14px; color: var(--ink); cursor: pointer; }
.ck-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.ck-error {
  margin-top: 16px;
  background: var(--err-soft);
  border: 1px solid #f2cccc;
  color: var(--err);
  font-weight: 700;
  font-size: 14.5px;
  border-radius: 12px;
  padding: 11px 14px;
}
.ck-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.ck-nav .btn-primary:only-child { margin-left: auto; }

.ck-verdict { border-radius: 16px; padding: 20px 22px; margin-bottom: 24px; }
.ck-verdict strong { display: block; font-size: 19px; margin-bottom: 6px; }
.ck-verdict p { font-size: 15px; color: var(--ink); margin: 0; }
.ck-verdict.ok { background: var(--ok-soft); border: 1px solid #bfe6cf; }
.ck-verdict.ok strong { color: var(--ok); }
.ck-verdict.pronto { background: var(--tint); border: 1px solid #c9d7f1; }
.ck-verdict.pronto strong { color: var(--blue); }
.ck-verdict.revisar { background: #fff8e6; border: 1px solid #ecd9a0; }
.ck-verdict.revisar strong { color: #8a6a1f; }
.ck-list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.ck-list-head h2 { margin: 0; }
.ck-print { padding: 9px 16px; font-size: 13.5px; }
.ck-list { list-style: none; display: grid; gap: 8px; margin-bottom: 26px; }
.ck-list li { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-soft); border-radius: 12px; padding: 13px 15px; }
.ck-list input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--ok); }
.ck-list label { cursor: pointer; }
.ck-list label strong { display: block; font-size: 15.5px; color: var(--navy-deep); }
.ck-list label span { font-size: 13.5px; color: var(--muted); }
.ck-list label a { font-weight: 700; color: var(--blue); }
.ck-list li:has(input:checked:not(:disabled)) label strong { text-decoration: line-through; color: var(--muted); }
.ck-list li.exento { background: var(--ok-soft); }
.ck-cta { border-radius: 18px; padding: 24px 26px; margin-bottom: 18px; background: var(--bg-soft); border: 1px solid var(--line); }
.ck-cta.ok { background: linear-gradient(140deg, var(--navy) 0%, var(--navy-deep) 100%); border: 0; color: #fff; }
.ck-cta h3 { font-family: var(--serif); font-size: 22px; color: var(--navy); margin-bottom: 6px; }
.ck-cta.ok h3 { color: #fff; }
.ck-cta p { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.ck-cta.ok p { color: rgba(255, 255, 255, .8); }
.ck-cta.ok .btn-primary { background: #fff; color: var(--navy); }
.ck-legal { font-size: 12.5px; color: var(--muted); }

/* Checklist: pop-up del resultado */
.ckm-overlay {
  position: fixed;
  inset: 0;
  z-index: 290;
  background: rgba(7, 25, 50, .6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.ckm-overlay.open { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.ckm-modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 94vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
  transform: translateY(30px) scale(.94);
  transition: transform .45s cubic-bezier(.2, .9, .3, 1.2);
}
.ckm-overlay.open .ckm-modal { transform: none; }
.ckm-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 24px 24px 0 0; background: var(--bg-soft); }
.ckm-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); transition: transform 6s ease-out; }
.ckm-overlay.open .ckm-img img { transform: scale(1); }
.ckm-img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 9%; background: linear-gradient(transparent, rgba(255, 255, 255, .9)); pointer-events: none; }
.ckm-cerrar {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}
.ckm-cuerpo { padding: 4px 26px 24px; text-align: center; }
.ckm-chip {
  display: inline-block;
  margin: -6px 0 10px;
  position: relative;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ok-soft);
  border: 1px solid #bfe6cf;
  color: var(--ok);
  font-size: 12.5px;
  font-weight: 800;
}
.ckm-chip-ambar { background: #fff8e6; border-color: #ecd9a0; color: #8a6a1f; }
.ckm-cuerpo h3 { font-family: var(--serif); font-size: 26px; line-height: 1.2; color: var(--navy); margin-bottom: 10px; }
.ckm-cuerpo p { font-size: 15px; color: var(--ink); line-height: 1.55; margin: 0 0 10px; }
.ckm-cuerpo b { color: var(--navy-deep); }
.ckm-gracias { color: var(--muted) !important; font-size: 14px !important; }
.ckm-acciones { display: grid; gap: 10px; margin-top: 16px; }
.ckm-acciones .btn { width: 100%; justify-content: center; }
.ckm-reservar { animation: rsvLatido 1.8s ease-in-out infinite; }
.ckm-confeti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 4; border-radius: inherit; }
.ckm-confeti i { position: absolute; top: 45%; width: 9px; height: 14px; border-radius: 2px; animation: rsvConfeti 2.1s cubic-bezier(.15, .7, .4, 1) both; }
@media (max-width: 560px) {
  .ckm-overlay { padding: 0; align-items: flex-end; }
  .ckm-modal { max-width: none; border-radius: 22px 22px 0 0; max-height: 96vh; }
  .ckm-img { border-radius: 22px 22px 0 0; }
  .ckm-cuerpo { padding: 4px 18px 20px; }
  .ckm-cuerpo h3 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .ckm-modal, .ckm-img img { transition: none; transform: none; }
  .ckm-reservar { animation: none; }
}
@media print { .ckm-overlay { display: none !important; } }

/* Checklist: nacionalidad con buscador y banderas */
.ck-oculto { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ck-pais-pick { position: relative; }
.ck-pp-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .2s;
}
.ck-pp-btn:focus-visible, .ck-pp-btn[aria-expanded="true"] { outline: none; border-color: var(--blue); }
.ck-pp-btn .tp-car { margin-left: auto; }
.ck-pp-ph { color: var(--muted); font-weight: 600; }

/* Checklist: microinteracciones */
.ck-card { position: relative; }
.ck-field { position: relative; border-radius: 14px; transition: background .4s, box-shadow .4s; }
.ck-field .ck-label::after {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  font-size: 11px;
  vertical-align: 2px;
  transform: scale(0);
  transition: transform .35s cubic-bezier(.3, 1.6, .5, 1);
}
.ck-field.ck-hecho .ck-label::after { transform: scale(1); }
.ck-field.ck-foco { background: var(--tint); box-shadow: 0 0 0 8px var(--tint); }
.ck-pop { animation: rsvPop .4s cubic-bezier(.3, 1.6, .5, 1); }
.ck-verdict.ck-pop, .ck-docprog.ck-pop, .ck-list li.ck-pop, select.ck-pop { animation: ckPopSuave .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes ckPopSuave { 40% { transform: scale(1.02); } }
.ck-entra { animation: rsvIn .3s ease; }
.ck-card.ck-tiembla { animation: rsvTiembla .4s ease; }
.ck-nav .ck-ready { animation: rsvLatido 1.8s ease-in-out infinite; position: relative; overflow: hidden; }
.ck-nav .ck-ready::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .45), transparent 70%);
  transform: translateX(-100%);
  animation: rsvBrillo 1.8s ease-in-out infinite;
}
.ck-telrow { display: flex; gap: 8px; align-items: stretch; }
.ck-telrow .ck-fieldw { flex: 1; min-width: 0; }
.ck-pais-wrap {
  position: relative;
  flex: none;
  width: 104px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}
.ck-pais-wrap::after { content: "▾"; font-size: 12px; color: var(--muted); margin-left: 6px; }
.ck-pais-wrap:focus-within { border-color: var(--blue); }
.ck-pref { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.ck-fieldw { position: relative; }
.ck-fieldw .ck-input { padding-right: 46px; transition: border-color .2s, background .2s; }
.ck-okmark {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  transform: scale(0);
  transition: transform .35s cubic-bezier(.3, 1.6, .5, 1);
}
.ck-fieldw.ok .ck-okmark { transform: scale(1); }
.ck-fieldw.ok .ck-input { border-color: #9fdcb6; background: #fbfffc; }
.ck-fieldw.mal .ck-input { border-color: #f0b4b4; background: #fffafa; }
.ck-telhint { font-size: 12.5px; color: var(--muted); margin-top: 6px; min-height: 18px; }
.ck-telhint.mal { color: var(--err); font-weight: 700; }
.ck-verdict { display: flex; gap: 14px; align-items: flex-start; }
.ck-v-ico { font-size: 30px; line-height: 1; }
.ck-docprog {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
  transition: background .4s, border-color .4s;
}
.ck-docbar { height: 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.ck-docmsg { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.ck-docmsg b { color: var(--navy); font-variant-numeric: tabular-nums; }
.ck-docprog.ck-full { background: var(--ok-soft); border-color: #bfe6cf; }
.ck-docprog.ck-full .ck-docmsg { color: var(--ok); font-weight: 700; }
.ck-list li { position: relative; transition: background .3s, transform .2s, box-shadow .2s; }
.ck-list input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  margin: 0;
  border: 2px solid #c6d2e0;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s;
}
.ck-list input[type=checkbox]::after {
  content: "✓";
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  transform: scale(0);
  transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.ck-list input[type=checkbox]:checked { background: var(--ok); border-color: var(--ok); }
.ck-list input[type=checkbox]:checked::after { transform: scale(1); }
.ck-list input[type=checkbox]:focus-visible { outline: 3px solid rgba(33, 84, 207, .35); outline-offset: 2px; }
.ck-list li:has(input:checked) { background: var(--ok-soft); }
.ck-list label strong { transition: color .25s; }
.ck-aparece li { animation: rsvSube .35s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(var(--i, 0) * 45ms); }
.ck-cta.ck-brilla { animation: ckBrilla 1.6s ease 2; }
@keyframes ckBrilla { 50% { box-shadow: 0 0 0 6px rgba(26, 143, 77, .25), 0 18px 40px rgba(26, 143, 77, .2); } }
.ck-confeti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: inherit; z-index: 5; }
.ck-confeti i {
  position: absolute;
  top: 30%;
  width: 9px;
  height: 14px;
  border-radius: 2px;
  animation: rsvConfeti 2.1s cubic-bezier(.15, .7, .4, 1) both;
}
@media (hover: hover) and (pointer: fine) {
  .ck-opts button:not(.sel):hover { transform: translateY(-2px); }
  .ck-list li:hover { box-shadow: 0 6px 16px rgba(11, 40, 80, .08); }
}
@media (prefers-reduced-motion: reduce) {
  .ck-pop, .ck-verdict.ck-pop, .ck-docprog.ck-pop, .ck-list li.ck-pop, select.ck-pop, .ck-entra, .ck-card.ck-tiembla, .ck-nav .ck-ready, .ck-nav .ck-ready::after, .ck-prog i::after, .ck-docbar i::after, .ck-aparece li, .ck-cta.ck-brilla, .ck-steps li.done b { animation: none !important; }
}
@media print {
  .ck-prog-row, .ck-confeti, .ck-docprog { display: none !important; }
  .ck-list input[type=checkbox] { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

.ck-restart { background: none; border: 0; padding: 0; margin-top: 10px; font-family: inherit; font-size: 13.5px; font-weight: 700; color: var(--blue); cursor: pointer; text-decoration: underline; }
@media (max-width: 680px) {
  .ck-card { padding: 24px 18px 26px; border-radius: 18px; }
  .ck-steps { gap: 12px; }
  .ck-steps li span { display: none; }
  .ck-opts button { width: 100%; }
  .ck-opts-yn button { width: auto; flex: 1; }
}
@media print {
  .topbar, .site-header, .page-hero .ck-tramites, .ck-steps, .ck-cta, .ck-print, .ck-restart,
  .site-footer, .wa-float, .rsv-overlay { display: none !important; }
  .top-stack { position: static; }
  .ck-card { box-shadow: none; border: 0; padding: 0; }
  .page-hero { padding: 0 0 10px; background: none; }
}

/* ---------- Páginas legales ---------- */
.legal-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.legal-tabs a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
}
.legal-tabs a[aria-current="page"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.legal-body {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 44px;
  box-shadow: var(--shadow);
}
.legal-body h2 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  margin: 30px 0 10px;
  line-height: 1.25;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 17px; color: var(--navy); margin: 22px 0 8px; }
.legal-body p, .legal-body li { font-size: 15.5px; color: var(--ink); line-height: 1.75; }
.legal-body p { margin-bottom: 12px; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin-bottom: 12px; }
.legal-body strong { color: var(--navy-deep); }
.site-footer .footer-bottom a { color: inherit; }
@media (max-width: 680px) {
  .legal-body { padding: 26px 20px; border-radius: 16px; }
  .legal-body h2 { font-size: 19px; }
  .legal-body p, .legal-body li { font-size: 15px; }
}

/* ---------- Pop-up de reservas ---------- */
.rsv-overlay[hidden] { display: none; } /* imprescindible: nuestro display:flex anularía el atributo hidden */
.rsv-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(7, 25, 50, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  transition: opacity .25s ease;
}
.rsv-overlay.open { opacity: 1; }
.rsv-modal {
  background: #fff;
  border-radius: 22px;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  position: relative;
  transform: translateY(26px) scale(.97);
  transition: transform .3s cubic-bezier(.2, .9, .3, 1.2);
}
.rsv-overlay.open .rsv-modal { transform: none; }
.rsv-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 15px;
  cursor: pointer;
  color: var(--muted);
  z-index: 2;
}
.rsv-head { padding: 24px 26px 14px; border-bottom: 1px solid var(--line); }
.rsv-head h3 { font-family: var(--serif); font-size: 22px; color: var(--navy); margin-bottom: 14px; }
.rsv-steps { display: flex; gap: 22px; }
.rsv-dot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
  color: var(--muted);
}
.rsv-dot b {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  border: 2px solid var(--line);
  background: #fff;
  transition: background .3s, border-color .3s, color .3s, transform .3s;
}
.rsv-dot small { font-weight: 700; font-size: 13px; }
.rsv-dot.on { color: var(--blue); }
.rsv-dot.on b { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 0 0 4px rgba(33, 84, 207, .15); }
.rsv-dot.done { color: var(--ok); }
.rsv-dot.done b { border-color: var(--ok); background: var(--ok); color: transparent; position: relative; animation: rsvPop .45s cubic-bezier(.3, 1.6, .5, 1); }
.rsv-dot.done b::after { content: "✓"; color: #fff; position: absolute; font-size: 14px; }
.rsv-prog-row { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.rsv-prog { flex: 1; height: 8px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line); overflow: hidden; }
.rsv-prog i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--blue), #4f8df5 60%, #25D366);
  transition: width .5s cubic-bezier(.3, 1.3, .5, 1);
  position: relative;
  overflow: hidden;
}
.rsv-prog i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
  transform: translateX(-100%);
  animation: rsvBrillo 2.2s ease-in-out infinite;
}
.rsv-prog-txt { font-size: 12.5px; font-weight: 800; color: var(--blue); min-width: 104px; text-align: right; font-variant-numeric: tabular-nums; }
.rsv-body { padding: 20px 26px; overflow-y: auto; flex: 1; }
.rsv-body.in { animation: rsvIn .28s ease; }
@keyframes rsvIn { from { opacity: 0; transform: translateX(16px); } }
@keyframes rsvPop { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes rsvBrillo { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@keyframes rsvSube { from { opacity: 0; transform: translateY(10px) scale(.96); } }
@keyframes rsvTiembla { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
@keyframes rsvConfeti {
  0% { transform: translate(0, 0) rotate(0); opacity: 1; }
  45% { transform: translate(calc(var(--x) * .75), var(--y)) rotate(calc(var(--r) * .5)); opacity: 1; }
  100% { transform: translate(var(--x), 260px) rotate(var(--r)); opacity: 0; }
}
@keyframes rsvTrazo { to { stroke-dashoffset: 0; } }
.rsv-q { font-size: 17px; font-weight: 800; color: var(--navy-deep); margin: 10px 0 12px; }
.rsv-days { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; }
.rsv-day {
  flex: none;
  width: 72px;
  padding: 10px 6px;
  border-radius: 14px;
  border: 2px solid var(--line);
  background: #fff;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  transition: border-color .12s, background .12s;
}
.rsv-day small { display: block; font-size: 12px; color: var(--muted); font-weight: 700; text-transform: capitalize; }
.rsv-day strong { display: block; font-size: 22px; color: var(--navy); }
.rsv-day.sel { border-color: var(--blue); background: var(--tint); }
.rsv-hours { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rsv-hour {
  padding: 13px 0;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.rsv-hour.sel { border-color: var(--blue); background: var(--blue); color: #fff; }
.rsv-hour.off {
  background: var(--bg-soft);
  color: #b6c0cd;
  text-decoration: line-through;
  cursor: not-allowed;
}
.rsv-tipos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.rsv-tipo {
  padding: 14px 8px;
  border-radius: 14px;
  border: 2px solid var(--line);
  background: #fff;
  font-family: inherit;
  font-size: 22px;
  cursor: pointer;
  text-align: center;
}
.rsv-tipo span { display: block; font-size: 14.5px; font-weight: 800; color: var(--navy); margin-top: 4px; }
.rsv-tipo small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.rsv-tipo.sel { border-color: var(--blue); background: var(--tint); }
.rsv-label { display: block; font-size: 14px; font-weight: 800; color: var(--navy-deep); margin: 14px 0 6px; }
.rsv-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 17px;
  font-family: inherit;
  border: 2px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
}
.rsv-input:focus { outline: none; border-color: var(--blue); }
.rsv-resumen {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 16px;
}
.rsv-resumen p { font-size: 16px; color: var(--ink); margin: 4px 0; }
.rsv-pago {
  background: #fff8e6;
  border: 1px solid #ecd9a0;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 16px;
  text-align: center;
}
.rsv-pago p { font-size: 14.5px; margin-bottom: 10px; }
.rsv-wa { width: 100%; font-size: 17px; }
.rsv-mail {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--blue);
  font-weight: 700;
}
.rsv-nota { font-size: 13px; color: var(--muted); margin-top: 14px; }
.rsv-aviso {
  margin-top: 14px;
  background: var(--err-soft);
  border: 1px solid #f2cccc;
  color: var(--err);
  font-weight: 700;
  font-size: 14.5px;
  border-radius: 12px;
  padding: 11px 14px;
  animation: rsvIn .25s ease;
}
.rsv-ok { font-size: 54px; text-align: center; margin-top: 10px; }
.rsv-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 26px 22px;
  border-top: 1px solid var(--line);
}

/* Reserva: teléfono con prefijo, avisos por modalidad y confirmación */
.rsv-telrow { display: flex; gap: 8px; align-items: stretch; }
.rsv-telrow .rsv-field { flex: 1; min-width: 0; }
.rsv-pais-wrap {
  position: relative;
  flex: none;
  width: 104px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  transition: border-color .2s;
}
.rsv-pais-wrap::after { content: "▾"; font-size: 12px; color: var(--muted); margin-left: 4px; }
.rsv-pais-wrap:focus-within { border-color: var(--blue); }
.rsv-pais { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.rsv-hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; min-height: 18px; }
.rsv-hint.mal { color: var(--err); font-weight: 700; }
.rsv-field.mal .rsv-input { border-color: #f0b4b4; background: #fffafa; }
.rsv-tip {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 4px 0 6px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff8e6;
  border: 1px solid #f0dfae;
  animation: rsvSube .35s cubic-bezier(.2, .9, .3, 1.2);
}
.rsv-tip span { font-size: 20px; line-height: 1.2; }
.rsv-tip p { font-size: 13.5px; color: #5b4a1a; line-height: 1.5; margin: 0; }
.rsv-tip b { color: #3f3210; }
.rsv-resumen + .rsv-tip { margin: -4px 0 16px; }
.rsv-confirmar { width: 100%; font-size: 17px; margin-top: 4px; }
.rsv-confirmar:disabled { opacity: .7; cursor: wait; }
.rsv-cuando { font-size: 14.5px; color: var(--muted); font-weight: 600; margin-top: -4px; }
.rsv-gcal { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 0 12px; }
.rsv-wa-box {
  background: #effbf3;
  border: 1px solid #cdeedb;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
  text-align: center;
}
.rsv-wa-box p { font-size: 14px; color: var(--ink); margin-bottom: 10px; line-height: 1.5; }
.rsv-wa-box .rsv-wa { width: 100%; }

/* Reserva: elegir sede */
.rsv-q-sede { margin-top: 2px; }
.rsv-sedes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.rsv-sede {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  border: 2px solid var(--line);
  background: #fff;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
}
.rsv-sede-ico { grid-row: span 2; font-size: 20px; }
.rsv-sede b { font-size: 15px; color: var(--navy); }
.rsv-sede small { font-size: 12px; color: var(--muted); line-height: 1.35; }
.rsv-sede.sel { border-color: var(--blue); background: var(--tint); box-shadow: 0 8px 20px rgba(33, 84, 207, .18); }
.rsv-sede.sel::after {
  content: "✓";
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.rsv-tip a { font-weight: 800; color: var(--blue); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .rsv-sede:not(.sel):hover { border-color: #b9cbf2; transform: translateY(-2px); } }
@media (max-width: 560px) { .rsv-sedes { grid-template-columns: 1fr; } }

/* Sedes (portada) */
.sedes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.sede-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.sede-media { position: relative; aspect-ratio: 16 / 9; background: var(--bg-soft); overflow: hidden; }
.sede-media iframe, .sede-media img { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.sede-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, .94);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(11, 40, 80, .12);
}
.sede-badge.nueva { background: var(--blue); color: #fff; }
.sede-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sede-body h3 { font-family: var(--serif); font-size: 22px; color: var(--navy); }
.sede-body p { font-size: 14.5px; color: var(--ink); margin: 0; }
.sede-body .note { color: var(--muted); font-size: 13px; }
.sede-acc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 12px; }
.sede-acc .btn { padding: 10px 16px; font-size: 14px; }
.sede-fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.sede-fotos img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; height: auto; display: block; cursor: pointer; transition: filter .2s, opacity .2s; opacity: .85; }
.sede-fotos img.on { opacity: 1; box-shadow: inset 0 -3px 0 var(--blue); }
.sede-media iframe + .sede-badge { left: auto; right: 12px; }
.sede-media.mapa { aspect-ratio: auto; flex: 1; min-height: 240px; }
.sede-media.mapa ~ .sede-body { flex: none; }
.sede-fotos img:hover { filter: brightness(1.06); }
.sede-media .sede-main { transition: opacity .35s ease; }
@media (max-width: 760px) { .sedes-grid { grid-template-columns: 1fr; } }
.contact-grid.uno { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }

/* Selector de país con buscador (reserva y checklist) */
.tp-host { padding: 0; }
.tp-host::after { content: none !important; }
.tp-btn {
  width: 100%;
  height: 100%;
  min-height: 50px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0 6px;
  border-radius: 10px;
}
.tp-btn:focus-visible { outline: 3px solid rgba(33, 84, 207, .3); }
.tp-car { font-size: 11px; color: var(--muted); }
.tp-flag { font-size: 18px; line-height: 1; }
.tp-panel {
  margin-top: 8px;
  border: 2px solid var(--blue);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(11, 40, 80, .16);
  overflow: hidden;
  animation: rsvSube .25s cubic-bezier(.2, .9, .3, 1.2);
}
.tp-buscar { width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 13px 14px; font-family: inherit; font-size: 16px; color: var(--ink); outline: none; }
.tp-lista { list-style: none; max-height: 250px; overflow-y: auto; margin: 0; padding: 4px 0; overscroll-behavior: contain; }
.tp-grupo { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 14px 4px; }
.tp-op { display: flex; align-items: center; gap: 10px; padding: 9px 14px; cursor: pointer; font-size: 14.5px; color: var(--ink); }
.tp-op.foco, .tp-op:hover { background: var(--tint); }
.tp-op.sel .tp-nom { font-weight: 800; color: var(--blue); }
.tp-nom { flex: 1; }
.tp-pre { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13.5px; }
.tp-vacio { padding: 12px 14px; font-size: 14px; color: var(--muted); }
.rsv-gcal-alt { display: block; text-align: center; margin: -4px 0 12px; font-size: 13.5px; font-weight: 700; color: var(--blue); }

/* Reserva: microinteracciones */
.rsv-day, .rsv-hour, .rsv-tipo { position: relative; transition: border-color .15s, background .15s, transform .15s, box-shadow .15s; }
.rsv-day.sel, .rsv-hour.sel, .rsv-tipo.sel { box-shadow: 0 8px 20px rgba(33, 84, 207, .18); }
.rsv-day.sel::after, .rsv-tipo.sel::after {
  content: "✓";
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 8px rgba(33, 84, 207, .35);
}
.rsv-days { padding-top: 10px; padding-right: 10px; }
.rsv-tipos { padding-top: 4px; }
.pop { animation: rsvPop .4s cubic-bezier(.3, 1.6, .5, 1); }
.aparece > * { animation: rsvSube .35s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(var(--i, 0) * 30ms); }
.rsv-bien {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(100deg, #e9f9ef, #eef3ff);
  border: 1px solid #cdeedb;
  color: var(--navy-deep);
  font-size: 14.5px;
  animation: rsvSube .4s cubic-bezier(.2, .9, .3, 1.2);
}
.rsv-bien b { color: #1a8a4a; }
.rsv-field { position: relative; }
.rsv-field .rsv-input { padding-right: 46px; transition: border-color .2s, background .2s; }
.rsv-check {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  transform: scale(0);
  transition: transform .35s cubic-bezier(.3, 1.6, .5, 1);
}
.rsv-field.ok .rsv-check { transform: scale(1); }
.rsv-field.ok .rsv-input { border-color: #9fdcb6; background: #fbfffc; }
#rsvNext.ready { animation: rsvLatido 1.8s ease-in-out infinite; position: relative; overflow: hidden; }
#rsvNext.ready::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .45), transparent 70%);
  transform: translateX(-100%);
  animation: rsvBrillo 1.8s ease-in-out infinite;
}
@keyframes rsvLatido { 0%, 100% { box-shadow: 0 0 0 0 rgba(33, 84, 207, .45); } 50% { box-shadow: 0 0 0 8px rgba(33, 84, 207, 0); } }
.rsv-modal.tiembla { animation: rsvTiembla .4s ease; }
.rsv-confeti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: inherit; z-index: 5; }
.rsv-confeti i {
  position: absolute;
  top: 62%;
  width: 9px;
  height: 14px;
  border-radius: 2px;
  animation: rsvConfeti 1.9s cubic-bezier(.15, .7, .4, 1) both;
}
.rsv-exito { text-align: center; padding: 10px 0 4px; animation: rsvSube .4s ease; }
.rsv-exito .rsv-nota { font-size: 15px; }
.rsv-tick { width: 84px; height: 84px; margin: 6px auto 4px; display: block; }
.rsv-tick circle { fill: none; stroke: var(--ok); stroke-width: 3; stroke-dasharray: 152; stroke-dashoffset: 152; animation: rsvTrazo .6s ease forwards; }
.rsv-tick path { fill: none; stroke: var(--ok); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: rsvTrazo .4s ease .5s forwards; }
@media (hover: hover) and (pointer: fine) {
  .rsv-day:not(.sel):hover, .rsv-hour:not(.off):not(.sel):hover, .rsv-tipo:not(.sel):hover { border-color: #b9cbf2; transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .pop, .aparece > *, .rsv-bien, #rsvNext.ready, #rsvNext.ready::after, .rsv-prog i::after, .rsv-modal.tiembla, .rsv-dot.done b, .rsv-exito { animation: none !important; }
  .rsv-tick circle, .rsv-tick path { animation: none; stroke-dashoffset: 0; }
}
@media (max-width: 560px) {
  .rsv-overlay { padding: 0; align-items: flex-end; }
  .rsv-modal { max-width: none; border-radius: 22px 22px 0 0; max-height: 94vh; }
  .rsv-hours { grid-template-columns: repeat(3, 1fr); }
  .rsv-tipos { grid-template-columns: 1fr; }
  .rsv-tipo { display: flex; align-items: center; gap: 12px; text-align: left; }
  .rsv-tipo span { margin-top: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .stat { gap: 12px; padding: 20px 18px 16px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .about-grid, .tools-band, .relief-band { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .tiktok-grid { grid-template-columns: 1fr 1fr; max-width: 680px; }
  .t-head-row { grid-template-columns: 1fr; }
  .rating-ring { justify-self: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tools-band { padding: 40px 28px; }
}

/* El menú completo en una línea necesita ~1.050 px; por debajo pasa a hamburguesa */
@media (max-width: 1100px) {
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 20px 18px;
    display: none;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 11px 0; font-size: 16px; }
  .nav-links a.nav-tools { display: inline-flex; margin-top: 6px; }
  .nav-toggle { display: block; }
  /* Hay sitio para el botón de reserva junto a la hamburguesa */
  .nav-cta { margin-left: auto; }
}

@media (max-width: 860px) {
  .nav-cta { display: none; }
  /* En móvil/tablet el acceso al portal vive dentro del menú hamburguesa */
  .tb-portal { display: none; }
  .nav-links a.nav-portal { display: block; }
  /* Sin hover táctil: en móvil/tablet la foto completa se abre al tocar la tarjeta */
  .team-card { flex-wrap: wrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .team-card > div:not(.team-pop) { flex: 1; min-width: 0; }
  .team-card::after {
    content: "";
    order: 2;
    width: 9px;
    height: 9px;
    margin-right: 6px;
    border-right: 2.4px solid var(--blue);
    border-bottom: 2.4px solid var(--blue);
    transform: rotate(45deg);
    transition: transform .25s ease;
    flex: none;
  }
  .team-card.open::after { transform: rotate(-135deg); }
  .team-grid .team-card .team-pop,
  .team-grid .team-card:hover .team-pop {
    display: none;
    order: 3;
    position: static;
    width: 100%;
    margin-top: 14px;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    border: 0;
    border-radius: 14px;
    box-shadow: none;
    background: var(--bg-soft);
  }
  .team-grid .team-card.open .team-pop { display: block; animation: fbIn .3s ease; }
  .team-pop > img { height: auto; max-height: 460px; border-radius: 14px 14px 0 0; }
  .team-pop .tp-info strong, .team-pop .tp-info em { display: none; }
  .team-pop .tp-info { padding: 12px 14px 14px; }
}

@media (max-width: 680px) {
  section { padding: 56px 0; }
  .hero { padding: 56px 0 48px; }
  /* Cifras: 4 columnas hasta móvil; aquí 2 */
  .stats-band { margin-top: -36px; }
  .stats-card { border-radius: 18px; }
  .stat { justify-content: center; text-align: center; padding: 16px 6px 12px; }
  .stat + .stat::before { top: 14px; bottom: 12px; }
  .stat-body { align-items: center; }
  .stat .stat-ico, .stat .stat-sub { display: none; }
  .stat strong.stat-num { font-size: 26px; margin-bottom: 2px; }
  .stat .stat-label { font-size: 12.5px; font-weight: 700; }
  .stat .stat-stars { font-size: 10px; letter-spacing: 1px; margin: 1px 0 0; order: 3; }
  .stats-foot { font-size: 12.5px; gap: 8px; padding: 8px 12px; text-align: center; }
  .stats-foot { flex-wrap: nowrap; }
  .stats-foot .stat-days { font-size: 15px; gap: 4px; padding-bottom: 4px; margin: 0; }
  .stats-foot .foot-extra { display: none; }
  /* Barrita superior compacta en móvil: una sola línea baja */
  .topbar { font-size: 11.5px; }
  .topbar .container {
    justify-content: space-between;
    min-height: 28px;
    padding-top: 2px;
    padding-bottom: 2px;
    gap: 8px;
  }
  .topbar svg { width: 12px; height: 12px; }
  .topbar .tb-hours { display: none; }
  .brand-word { font-size: 19px; }
  .brand-ring { width: 44px; height: 44px; font-size: 18px; border-width: 2.5px; }
  .services-grid, .tools-grid, .contact-grid, .team-grid,
  .result-breakdown, .footer-grid { grid-template-columns: 1fr; }
  /* TikToks: en móvil, carrusel horizontal deslizable en vez de apilarlos */
  .tiktok-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 10px;
  }
  .tiktok-grid .tt-card { flex: 0 0 82%; scroll-snap-align: center; }
  .tt-player, .tt-cover, .tt-card iframe, .tt-card video.tt-video { height: 480px; }
  .marquee .t-card { width: 300px; }
  /* Servicios en móvil: una fila compacta por servicio */
  .services-grid { gap: 10px; }
  .svc-head { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; }
  .svc-head .service-icon { width: 40px; height: 40px; margin-bottom: 0; flex: none; }
  .svc-title { font-size: 16px; padding-right: 0; flex: 1; }
  .svc-chev { position: static; flex: none; }
  .svc-body p { padding: 0 16px 16px; }
  .rating-ring { width: 196px; height: 196px; }
  .gold-num { font-size: 58px; }
  .sim-specs { grid-template-columns: 1fr 1fr; }
  .sim-intro-card { padding: 28px 22px; }
  .mode-grid { grid-template-columns: 1fr; }
  .q-illus { width: 72px; height: 72px; }
  .page-hero .ph-img { width: 100%; opacity: .18; }
  .q-card { padding: 26px 20px; }
  .q-text { font-size: 18px; }
  .sim-topbar { top: 0; border-radius: 0 0 14px 14px; }
  .sim-nav { flex-wrap: wrap; }
  .sim-nav .btn { flex: 1; }
  .relief-band .rb-content { padding: 30px 24px; }
  .deco { display: none; }
  .float-chip { left: 10px; }
}
