/* ==========================================================================
   Contreras Cerrajero · Hoja de estilos
   Mobile-first. Organización: tokens → base → layout → componentes → páginas
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #111827;
  --ink-2: #1f2937;
  --ink-3: #374151;
  --yellow: #facc15;
  --yellow-strong: #eab308;
  --yellow-soft: #fef9c3;
  --white: #fff;
  --bg: #f8fafc;
  --muted: #64748b;
  --muted-on-dark: #cbd5e1;
  --line: #e2e8f0;
  --line-dark: rgba(255, 255, 255, .12);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .06);
  --shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 8px 24px -12px rgba(17, 24, 39, .18);
  --shadow-lg: 0 2px 4px rgba(17, 24, 39, .04), 0 24px 48px -24px rgba(17, 24, 39, .35);

  --header-h: 68px;
  --gutter: 16px;
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 800;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 7vw, 4.25rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 4.2vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -.015em; }

p, ul, ol { margin: 0 0 1.1em; }
p { text-wrap: pretty; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--yellow-strong); }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

button { font: inherit; color: inherit; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--yellow-strong);
  outline-offset: 3px;
  border-radius: 4px;
}

main:focus { outline: none; }

::selection { background: var(--yellow); color: var(--ink); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --header-h: 76px; } }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg); }
.section--dark { background: var(--ink); color: var(--white); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; margin-bottom: 0; }
.section--dark .section-head p { color: var(--muted-on-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 3px;
  border-radius: 2px;
  background: var(--yellow);
}

.lead { font-size: clamp(1.125rem, 2.2vw, 1.3125rem); line-height: 1.6; }

/* ---------- 4. Skip link ---------- */
.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 100;
  padding: .75rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- 5. Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: .8rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 18px -8px rgba(234, 179, 8, .8); }
.btn--primary:hover { background: #fde047; }

.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-2); }

.btn--outline { border-color: var(--line); background: var(--white); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); }

.btn--ghost-light { border-color: rgba(255, 255, 255, .28); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }

.btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 1rem 1.75rem; font-size: 1.0625rem; }

.btn__number { white-space: nowrap; }

/* Teléfono pendiente: estado deshabilitado, no interactivo */
.btn:disabled {
  background: transparent;
  color: inherit;
  border: 2px dashed currentColor;
  box-shadow: none;
  opacity: .78;
  cursor: not-allowed;
  transform: none;
}

.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 479px) { .actions > .btn { flex: 1 1 100%; } }

.cta-note {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  max-width: 34rem;
  margin: 1rem 0 0;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--ink-3);
}
.cta-note .icon { margin-top: .1em; }
.cta-note--light { color: var(--muted-on-dark); }

.link-button {
  padding: 0;
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: .18em;
  cursor: pointer;
}

/* ---------- 6. Cabecera ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--ink);
}
.logo__mark {
  position: relative;
  width: 36px; height: 36px;
  flex: none;
  border-radius: 10px;
  background: var(--ink);
}
/* Bocallave: círculo + trapecio */
.logo__mark::before,
.logo__mark::after { content: ""; position: absolute; left: 50%; background: var(--yellow); }
.logo__mark::before { top: 9px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; }
.logo__mark::after { top: 16px; width: 8px; height: 12px; margin-left: -4px; clip-path: polygon(25% 0, 75% 0, 100% 100%, 0 100%); }

.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-size: 1.1875rem; font-weight: 900; letter-spacing: .14em; }
.logo__tag { margin-top: .3rem; font-size: .75rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }

.logo--light { color: var(--white); }
.logo--light .logo__mark { background: var(--yellow); }
.logo--light .logo__mark::before,
.logo--light .logo__mark::after { background: var(--ink); }
.logo--light .logo__tag { color: var(--muted-on-dark); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: .5rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-weight: 700;
  font-size: .9375rem;
  cursor: pointer;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.site-nav {
  display: none;
  position: absolute;
  inset: var(--header-h) 0 auto 0;
  padding: .5rem var(--gutter) 1.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.site-nav.is-open { display: block; }

.site-nav ul { margin: 0; padding: 0; list-style: none; }
.site-nav li + li { border-top: 1px solid var(--line); }
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-weight: 650;
  text-decoration: none;
}
.site-nav a[aria-current] { color: var(--ink); box-shadow: inset 3px 0 0 var(--yellow); padding-left: .85rem; }
.site-nav__cta { padding-top: 1rem; }
.site-nav__cta .btn { width: 100%; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    position: static;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: none;
  }
  .site-nav ul { display: flex; gap: .25rem; }
  .site-nav li + li { border: 0; }
  .site-nav a {
    min-height: 44px;
    padding: 0 .85rem;
    border-radius: 999px;
    font-size: .975rem;
    color: var(--ink-3);
  }
  .site-nav a:hover { background: var(--bg); color: var(--ink); }
  .site-nav a[aria-current] { box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; padding-left: .85rem; color: var(--ink); }
  .site-nav__cta { padding: 0; }
  .site-nav__cta .btn { width: auto; white-space: nowrap; }
  .site-nav a { white-space: nowrap; }
}

/* Cabecera en escritorio estrecho: el botón muestra solo icono + número.
   El texto se oculta visualmente pero sigue en el nombre accesible. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .site-nav { gap: 1rem; }
  .site-nav a { padding: 0 .6rem; }
  .site-nav__cta .btn__label {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* ---------- 7. Hero (home) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 6rem) clamp(3.5rem, 8vw, 6.5rem);
  background-color: var(--ink);
  background-image:
    radial-gradient(60rem 30rem at 85% -10%, rgba(250, 204, 21, .14), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  color: var(--white);
}

.hero__grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }

.hero .eyebrow { color: var(--yellow); }
.hero h1 { max-width: 15ch; margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero .lead { max-width: 36rem; color: var(--muted-on-dark); margin-bottom: 2rem; }

.trust {
  display: grid;
  gap: .75rem;
  margin: 2.25rem 0 0;
  padding: 1.5rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}
.trust li { display: flex; align-items: center; gap: .65rem; font-size: .975rem; color: #e2e8f0; }
.trust .icon { color: var(--yellow); }

@media (min-width: 640px) { .trust { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; } .trust li { white-space: nowrap; } }

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.08fr .92fr; }
}

.hero-visual {
  position: relative;
  margin: 0;
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.hero-visual svg { width: 100%; height: auto; aspect-ratio: 560 / 380; }
.hero-visual figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
  font-size: .875rem;
  color: var(--muted-on-dark);
}
.hero-visual figcaption strong { color: var(--white); font-weight: 650; }

.hero-photo {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- 8. Tarjetas de servicio ---------- */
.cards {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1100px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #cbd5e1; }
.card:focus-within { border-color: var(--ink); }

.card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 1.4rem;
  border-radius: 12px;
  background: var(--ink);
  color: var(--yellow);
}
.card__icon .icon { width: 26px; height: 26px; }

.card__title { margin-bottom: .55rem; }
.card__link { text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible) { outline: 3px solid var(--yellow-strong); outline-offset: 3px; }

.card p { color: var(--muted); font-size: 1rem; margin-bottom: 1.25rem; }
.card__more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: auto;
  font-size: .9375rem;
  font-weight: 700;
}
.card__more .icon { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
.card:hover .card__more .icon { transform: translateX(4px); }

/* ---------- 9. Bloque de confianza y pasos ---------- */
.split { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } }

.split__text p { color: var(--ink-3); }

.pillars { display: grid; gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.pillars li { display: flex; gap: .9rem; }
.pillars .icon {
  width: 40px; height: 40px;
  padding: 9px;
  border-radius: 10px;
  background: var(--yellow-soft);
  color: var(--ink);
}
.pillars strong { display: block; margin-bottom: .1rem; }
.pillars span { color: var(--muted); font-size: .975rem; }

.steps {
  counter-reset: step;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.steps__list { margin: 0; padding: 0; list-style: none; }
.steps__title { margin-bottom: 1.5rem; font-size: 1.125rem; color: var(--yellow); letter-spacing: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.5rem 3.5rem;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(250, 204, 21, .5);
  font-size: .8125rem;
  font-weight: 800;
  color: var(--yellow);
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.125rem; top: 2.5rem; bottom: .25rem;
  width: 1px;
  background: var(--line-dark);
}
.steps h4 { margin-bottom: .3rem; font-size: 1.0625rem; color: var(--white); }
.steps p { margin: 0; font-size: .975rem; color: var(--muted-on-dark); }

/* ---------- 10. Zonas ---------- */
.zones-layout { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .zones-layout { grid-template-columns: .9fr 1.1fr; align-items: center; } }

.zones { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 560px) { .zones { grid-template-columns: repeat(2, 1fr); } }

.zone {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 60px;
  padding: .9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.zone:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.zone .icon { color: var(--yellow-strong); }
.zone > span { flex: 1; }
.zone__label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.zone__chevron { color: var(--muted) !important; width: 1.1rem; height: 1.1rem; }
.zone--main { background: var(--ink); color: var(--white); border-color: var(--ink); }
.zone--main .zone__label, .zone--main .zone__chevron { color: var(--muted-on-dark) !important; }
.zone--main .icon { color: var(--yellow); }
@media (min-width: 560px) { li:has(> .zone--main) { grid-column: 1 / -1; } }

.zones-text p { color: var(--ink-3); }
.note {
  display: flex;
  gap: .75rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--yellow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--yellow-soft);
  font-size: .975rem;
  color: var(--ink-2);
}
.note .icon { margin-top: .2em; }
.note p { margin: 0; }

/* ---------- 11. FAQ ---------- */
.faq { max-width: 52rem; margin-inline: auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { margin: 0; font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.4; }
.faq__toggle {
  position: relative;
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: background-color .2s var(--ease);
}
.faq__toggle::before, .faq__toggle::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s var(--ease);
}
.faq__toggle::after { transform: rotate(90deg); }
.faq__item[open] .faq__toggle { background: var(--yellow); border-color: var(--yellow); }
.faq__item[open] .faq__toggle::after { transform: rotate(0); }
.faq__item summary:hover .faq__q { text-decoration: underline; text-decoration-color: var(--yellow-strong); text-underline-offset: .2em; }
.faq__a { padding: 0 3.5rem 1.4rem 0; color: var(--ink-3); }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- 12. CTA ---------- */
.cta { padding-block: clamp(3rem, 7vw, 5rem); background: var(--yellow); color: var(--ink); }
.cta__inner { display: grid; gap: 2rem; align-items: center; }
.cta h2 { max-width: 20ch; margin-bottom: .75rem; }
.cta p { max-width: 38rem; margin: 0; font-size: 1.125rem; color: var(--ink-2); }
.cta .btn:disabled { color: var(--ink); opacity: .85; }
.cta .cta-note { color: var(--ink-2); }
@media (min-width: 960px) {
  .cta__inner { grid-template-columns: 1.3fr .7fr; }
  .cta__actions { justify-self: end; }
}

/* ---------- 13. Pie ---------- */
.site-footer { padding-top: clamp(3.5rem, 7vw, 5rem); background: var(--ink); color: var(--muted-on-dark); font-size: .975rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--yellow); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: .55rem; }

.site-footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; } }

.site-footer__brand p { max-width: 22rem; margin-top: 1.25rem; }
.site-footer__title { margin-bottom: 1rem; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.site-footer__contact li { display: flex; gap: .6rem; align-items: flex-start; }
.site-footer__contact .icon { margin-top: .2em; color: var(--yellow); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-dark);
  font-size: .9rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-footer__bottom li + li { margin: 0; }
.site-footer__bottom a, .site-footer__bottom .link-button { display: inline-block; padding-block: .35rem; color: var(--muted-on-dark); }

/* ---------- 14. Botón flotante de llamada (solo con teléfono activo) ---------- */
.call-float {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 56px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px -10px rgba(17, 24, 39, .55);
}
body:has(.call-float) .site-footer { padding-bottom: 80px; }
@media (min-width: 1024px) {
  .call-float { display: none; }
  body:has(.call-float) .site-footer { padding-bottom: 0; }
}

/* ---------- 15. Páginas interiores ---------- */
.page-hero {
  padding-block: clamp(2rem, 5vw, 3.25rem) clamp(3rem, 7vw, 4.5rem);
  background-color: var(--ink);
  background-image:
    radial-gradient(40rem 20rem at 100% 0, rgba(250, 204, 21, .12), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  color: var(--white);
}
.page-hero .eyebrow { color: var(--yellow); }
.page-hero h1 { max-width: 22ch; font-size: clamp(2rem, 5.5vw, 3.5rem); }
.page-hero .lead { max-width: 44rem; color: var(--muted-on-dark); margin-bottom: 2rem; }

.breadcrumbs { margin-bottom: clamp(1.75rem, 4vw, 2.5rem); font-size: .875rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: flex; align-items: center; gap: .35rem; color: var(--muted-on-dark); }
.breadcrumbs li + li::before { content: "/"; opacity: .5; }
.breadcrumbs a { color: var(--muted-on-dark); padding-block: .25rem; }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs [aria-current] { color: var(--white); font-weight: 600; }

.layout { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 1024px) {
  .layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.75rem; font-size: clamp(1.5rem, 3.2vw, 2rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2rem; }
.prose p, .prose li { color: var(--ink-3); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: .4rem; }
.prose li::marker { color: var(--yellow-strong); }
.prose strong { color: var(--ink); }

.checklist { padding: 0 !important; list-style: none; }
.checklist li { display: flex; gap: .7rem; }
.checklist li::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  margin-top: .2em;
  border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.compare { display: grid; gap: 1rem; margin: 1.5rem 0 2rem; }
@media (min-width: 640px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare > div { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.compare h3 { margin: 0 0 .5rem; font-size: 1.0625rem; }
.compare p { margin: 0; font-size: .975rem; }

.aside-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.aside-card h2 { font-size: 1.25rem; margin-bottom: .6rem; letter-spacing: -.01em; }
.aside-card p { color: var(--muted-on-dark); font-size: .975rem; }
.aside-card .btn { width: 100%; }
.aside-card .cta-note { color: var(--muted-on-dark); font-size: .875rem; }

.aside-links { margin-top: 1rem; padding: 1.5rem 1.75rem; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.aside-links h2 { margin-bottom: .75rem; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.aside-links ul { margin: 0; padding: 0; list-style: none; }
.aside-links li + li { border-top: 1px solid var(--line); }
.aside-links a { display: flex; align-items: center; justify-content: space-between; min-height: 46px; font-weight: 600; text-decoration: none; }
.aside-links a:hover { text-decoration: underline; text-decoration-color: var(--yellow-strong); }
.aside-links a[aria-current] { color: var(--muted); }
.aside-links .icon { width: 1rem; height: 1rem; color: var(--muted); }

/* ---------- 16. Legales, 404 y avisos ---------- */
.legal { max-width: 48rem; }
.legal h2 { margin-top: 2.5rem; font-size: 1.5rem; }
.legal p, .legal li { color: var(--ink-3); }
.legal table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: .95rem; }
.legal th, .legal td { padding: .65rem .75rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th { background: var(--bg); }
.table-wrap { overflow-x: auto; }

mark.pending { padding: .05em .35em; border-radius: 4px; background: var(--yellow-soft); color: #854d0e; font-weight: 600; }

.error-page { padding-block: clamp(4rem, 12vw, 8rem); text-align: center; }
.error-page__code { font-size: clamp(5rem, 18vw, 9rem); font-weight: 900; line-height: 1; letter-spacing: -.05em; color: var(--yellow-strong); margin-bottom: .5rem; }
.error-page p { max-width: 34rem; margin-inline: auto; color: var(--muted); }
.error-page .actions { justify-content: center; margin-top: 2rem; }

/* ---------- 17. Banner de consentimiento ---------- */
.consent {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 80;
  max-width: 34rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.consent h2 { font-size: 1.125rem; margin-bottom: .4rem; }
.consent p { font-size: .9375rem; color: var(--ink-3); }
.consent__actions { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- 18. Utilidades ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.section-foot { margin-top: 2.5rem; }

/* ---------- 19. Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- 20. Impresión ---------- */
@media print {
  .site-header, .site-footer, .call-float, .consent, .cta__actions { display: none !important; }
  .hero, .page-hero { background: none; color: var(--ink); }
}
