/* =========================================================================
   Ruta Clara — hoja de estilos (versión 3)
   Lenguaje visual: cabecera con degradado rosa→morado y línea amarilla,
   títulos Righteous, texto Poppins, detalles en Yellowtail, botones con
   esquinas en hoja, tarjetas con degradado suave, bandas oscuras en diagonal.
   Sin dependencias externas: las fuentes se sirven desde assets/fonts.
   ========================================================================= */

/* Fuentes locales (Righteous y Poppins: SIL OFL 1.1; Yellowtail: Apache 2.0) */
@font-face { font-family: "Righteous"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/righteous-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Yellowtail"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/yellowtail-latin-400-normal.woff2") format("woff2"); }

:root {
  /* Paleta */
  --purple: #87189D;
  --pink: #DF4661;
  --pink-text: #C2365F;      /* rosa con contraste suficiente para texto */
  --yellow: #F6BE00;
  --yellow-soft: #FFE08A;    /* amarillo claro para texto sobre el degradado */
  --blue: #0072CE;
  --text: #3A3A3A;
  --heading: #111827;
  --broken: #EDE1E2;
  --rose: #F4EFEF;
  --bg: #F9FAFB;
  --muted: #5A5A5A;
  --line: #E4D9DA;
  --dark-2: #151414;
  --ok: #1F6B3A;  --ok-bg: #E6F3EA;
  --warn: #7A4E00; --warn-bg: #FFF4D1;
  --no: #A3243F;  --no-bg: #FBE7EB;

  /* Degradados */
  --grad-header: linear-gradient(45deg, var(--pink) 0%, var(--purple) 100%);
  --grad-btn: radial-gradient(circle at center, #C93D64, var(--purple));
  --grad-card: linear-gradient(0deg, var(--rose) 0%, #FFFFFF 100%);
  --grad-dot: radial-gradient(circle at 20% 20%, var(--pink), var(--purple));

  /* Sombra larga */
  --long-shadow: 0 20px 30px -10px rgba(0, 20, 40, .10), 0 10px 20px -5px rgba(0, 0, 0, .10), 0 5px 10px -3px rgba(0, 0, 0, .10), 0 3px 5px -3px rgba(0, 0, 0, .20);
  --soft-shadow: 0 10px 24px -12px rgba(17, 24, 39, .22), 0 2px 6px -2px rgba(17, 24, 39, .10);

  /* Tipografía */
  --display: "Righteous", "Trebuchet MS", system-ui, sans-serif;
  --body: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --script: "Yellowtail", "Brush Script MT", cursive;
  --fs-sm: .9375rem;
  --fs-xs: .8125rem;

  /* Medidas */
  --container: 1120px;
  --gutter: 16px;
  --pad: clamp(56px, 4vw + 32px, 80px);
  --sl: clamp(36px, 6vw, 96px);    /* altura de las diagonales */
  --header-h: 89px;
  --radius: 12px;
  --radius-lg: 16px;
  --leaf: 24px 0 24px 0;

  --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem;
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0 0 var(--s-4); color: var(--heading); font-family: var(--display); font-weight: 400; line-height: 1.2; overflow-wrap: break-word; }
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3rem); text-transform: uppercase; }
h2 { font-size: clamp(1.625rem, 1.25rem + 1.5vw, 2.4375rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p, ul, ol, dl, table, figure { margin: 0 0 var(--s-4); }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.3rem; }
li { margin-bottom: .4rem; }
li::marker { color: var(--pink-text); }
a { color: var(--pink-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--purple); }
strong { font-weight: 600; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; }
.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; }
.skip-link { position: absolute; left: var(--s-4); top: -100px; z-index: 300; padding: .75rem 1.25rem; background: var(--yellow); color: var(--heading); font-weight: 600; border-radius: var(--leaf); }
.skip-link:focus { top: var(--s-4); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.read { max-width: 52.5rem; }
.center { text-align: center; }
.mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.grid-2 { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }

/* Elementos tipográficos de la marca ------------------------------------- */
.title::after { content: ""; display: block; width: 100%; max-width: 240px; height: 2px; margin-top: var(--s-4); background: var(--yellow); border-radius: 2px; }
.title--center { text-align: center; }
.title--center::after { margin-inline: auto; }
.title--upper { text-transform: uppercase; }

/* Etiqueta tipo «subtitle-tag» con media línea amarilla */
.eyebrow { position: relative; display: inline-block; margin-bottom: var(--s-4); padding: 8px 24px; background: var(--broken); color: var(--text); border-radius: 8px 8px 0 8px; font: 600 .75rem/1.4 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.eyebrow::after { content: ""; position: absolute; right: 0; bottom: 0; width: 50%; border-bottom: 2px solid var(--yellow); }
.section--dark .eyebrow, .band-photo .eyebrow { background: rgba(255, 255, 255, .12); color: #fff; }

.signature { display: block; margin: 0 0 var(--s-5); color: var(--pink-text); font: 400 clamp(1.6rem, 1.3rem + 1vw, 2rem)/1.2 var(--script); text-align: right; letter-spacing: .01em; }

.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.65; }
.src { display: block; margin-top: var(--s-4); color: var(--muted); font-size: var(--fs-xs); line-height: 1.5; }
.section--dark .src, .band-photo .src { color: #D6D6D6; }
.section--dark a:not(.btn), .band-photo a:not(.btn) { color: var(--yellow); }
.section--dark a:not(.btn):hover, .band-photo a:not(.btn):hover { color: #fff; }

.breadcrumb { margin-bottom: var(--s-5); color: var(--muted); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.breadcrumb a { color: var(--purple); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Botones (esquinas en hoja) --------------------------------------------- */
.btn { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 32px; border: 0; border-radius: var(--leaf); background: transparent; color: var(--heading); font: 400 1rem/1.2 var(--display); letter-spacing: .01em; text-align: center; text-decoration: none; cursor: pointer; overflow: hidden; transition: transform .5s ease, box-shadow .5s ease, background-color .3s ease, color .3s ease; }
.btn:hover { transform: translate3d(0, 4px, 0); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--primary { color: #fff; box-shadow: var(--long-shadow); }
.btn--primary::after { content: ""; position: absolute; top: 0; right: 0; z-index: -1; width: 200%; height: 100%; background: var(--grad-btn); transition: right .5s ease, transform .5s ease; }
.btn--primary:hover { color: #fff; }
.btn--primary:hover::after { right: -100%; transform: scale(1.5); }
.btn--dark { background: var(--text); color: #fff; box-shadow: var(--long-shadow); }
.btn--dark:hover { background: var(--heading); color: #fff; }
.btn--ghost { background: transparent; color: var(--purple); box-shadow: inset 0 0 0 2px var(--purple); }
.btn--ghost:hover { background: var(--purple); color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--heading); box-shadow: var(--long-shadow); }
.btn--yellow:hover { background: #FFD02E; color: var(--heading); }
.section--dark .btn--ghost, .band-photo .btn--ghost { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.section--dark .btn--ghost:hover, .band-photo .btn--ghost:hover { background: #fff; color: var(--purple); }
.btn--sm { min-height: 44px; padding: 10px 22px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); }
.icon--move { transition: transform .3s ease; }
.btn:hover .icon--move, .text-link:hover .icon { transform: translateX(4px); }

.text-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: var(--purple); font-weight: 600; text-decoration: none; }
.text-link .icon { transition: transform .3s ease; }
.text-link:hover { color: var(--pink-text); text-decoration: underline; }
.section--dark .text-link { color: var(--yellow); }

/* Cabecera --------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 200; background: var(--grad-header); border-bottom: 5px solid var(--yellow); box-shadow: var(--long-shadow); }
.site-header__inner { display: flex; align-items: center; gap: var(--s-5); height: var(--header-h); transition: height .3s ease; }
.site-header.is-scrolled .site-header__inner { height: 64px; }
.logo { display: inline-flex; align-items: center; gap: .7rem; margin-right: auto; color: #fff; text-decoration: none; }
.logo:hover { color: #fff; }
.logo__mark { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border: 2px solid rgba(255, 255, 255, .85); border-radius: 50%; transition: width .3s ease, height .3s ease; }
.logo__mark .icon { width: 24px; height: 24px; color: var(--yellow); }
.logo__word { display: flex; flex-direction: column; font: 400 1.5rem/0.95 var(--display); letter-spacing: .02em; }
.logo__b { color: var(--yellow); }
.site-header.is-scrolled .logo__mark { width: 38px; height: 38px; }

.nav__list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.nav__list li { margin: 0; }
.nav__list a:not(.btn) { position: relative; display: flex; align-items: center; min-height: 44px; padding: 10px 14px; color: #fff; font: 500 .875rem/1.2 var(--body); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.nav__list a:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--yellow); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav__list a:not(.btn):hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__list a:not(.btn)[aria-current="page"] { color: var(--yellow-soft); }
.nav__cta { display: none; }
.header-cta { flex: none; }

.nav-toggle { display: none; align-items: center; gap: .5rem; min-height: 44px; padding: 0 14px; border: 2px solid rgba(255, 255, 255, .8); border-radius: var(--leaf); background: transparent; color: #fff; font: 500 .875rem/1 var(--body); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; margin-top: 5px; display: none; max-height: calc(100vh - 80px); overflow-y: auto; background: #fff; box-shadow: var(--long-shadow); border-bottom: 5px solid var(--yellow); }
  .nav-open .nav { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; padding: var(--s-3) var(--gutter) var(--s-5); }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__list a:not(.btn) { min-height: 52px; padding: 12px 4px; color: var(--text); font-size: .9375rem; }
  .nav__list a:not(.btn)::after { left: 4px; right: auto; width: 48px; bottom: 8px; }
  .nav__list a:not(.btn)[aria-current="page"] { color: var(--purple); font-weight: 600; }
  .nav__cta { display: block; padding-top: var(--s-4); border-bottom: 0 !important; }
}
@media (max-width: 420px) {
  .logo__word { font-size: 1.3rem; }
  .logo__mark { width: 40px; height: 40px; }
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav-toggle { padding: 0 10px; }
}

/* Secciones -------------------------------------------------------------- */
.section { position: relative; padding-block: var(--pad); }
.section--rose { background: var(--rose); }
.section--dark { background: var(--text); color: #E8E8E8; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 3vw, 3rem); }
.section-head.center { margin-inline: auto; }
.section-head p { color: var(--muted); }
.section--dark .section-head p, .band-photo .section-head p { color: #E0E0E0; }
.section-head h2 { margin-bottom: 0; }
.section-head h2 + p { margin-top: var(--s-4); }

/* Diagonales como en el referente: el borde superior sube de izquierda a derecha */
.slant { clip-path: polygon(0 var(--sl), 100% 0, 100% 100%, 0 100%); margin-top: calc(-1 * var(--sl)); padding-top: calc(var(--pad) + var(--sl)); }
.slant-both { z-index: 2; clip-path: polygon(0 var(--sl), 100% 0, 100% calc(100% - var(--sl)), 0 100%); margin-block: calc(-1 * var(--sl)); padding-block: calc(var(--pad) + var(--sl)); }
.slant-both + * { padding-top: calc(var(--pad) + var(--sl)); }
.page-hero + .slant, .hero + .slant, .page-hero + .slant-both, .hero + .slant-both { margin-top: 0; }

/* Banda con foto en blanco y negro y velo oscuro */
.band-photo { position: relative; isolation: isolate; color: #fff; background: var(--text); }
.band-photo .section-head h2 { color: #fff; }
.band-photo__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.band-photo__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.band-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .62), rgba(58, 58, 58, .55)); }

/* Portada ---------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(48px, 5vw, 88px) clamp(56px, 6vw, 96px); background: var(--bg); border-bottom: 6px solid var(--yellow); overflow: hidden; }
.hero h1 { margin-bottom: var(--s-3); }
.hero .lead { margin-bottom: var(--s-5); }
.hero__note { display: flex; gap: .7rem; align-items: flex-start; max-width: 34rem; margin: var(--s-5) 0 0; padding: var(--s-4); background: #fff; border-radius: var(--radius); box-shadow: var(--soft-shadow); font-size: var(--fs-sm); }
.hero__note .icon { color: var(--purple); margin-top: .15rem; }
.hero-image { width: 100%; max-width: 450px; margin-inline: auto; }
@media (min-width: 900px) { .hero-image { margin-right: 0; } }
.hero-image__wrap { padding: 0 24px 24px 0; background: linear-gradient(135deg, transparent 60%, var(--yellow) 60%); border-radius: 0 0 var(--radius-lg) 0; }
.hero-image__wrap .photo { aspect-ratio: 4 / 5; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 0; box-shadow: var(--long-shadow); }
.hero-image--wide .hero-image__wrap .photo { aspect-ratio: 4 / 3; }

/* Cabecera de páginas interiores */
.page-hero { position: relative; padding-block: clamp(40px, 4vw, 72px) clamp(48px, 5vw, 80px); background: var(--bg); border-bottom: 6px solid var(--yellow); }
.page-hero h1 { margin-bottom: 0; }
.page-hero h1::after { content: ""; display: block; width: 100%; max-width: 240px; height: 2px; margin: var(--s-4) 0 var(--s-5); background: var(--yellow); border-radius: 2px; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .btn-row { margin-top: var(--s-5); }

/* Fotos ------------------------------------------------------------------ */
.photo { position: relative; overflow: hidden; background: var(--broken); border-radius: var(--radius-lg); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--wide { aspect-ratio: 3 / 2; }
.photo--card { box-shadow: var(--long-shadow); }
figure { margin: 0; }

/* Tarjetas --------------------------------------------------------------- */
.cards { display: grid; gap: clamp(1.25rem, 2vw, 2rem); }
@media (min-width: 680px) { .cards--2, .cards--3, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; padding: 32px 24px; background: var(--grad-card); color: var(--text); border-radius: var(--radius); box-shadow: var(--long-shadow); transition: transform .4s ease; }
.card h3 { color: var(--heading); }
.card p { font-size: var(--fs-sm); }
.card--center { align-items: center; text-align: center; }
.card--center h3::after { content: ""; display: block; width: 96px; height: 2px; margin: var(--s-4) auto 0; background: var(--yellow); border-radius: 2px; }
.card--info h3::after { content: ""; display: block; width: 72px; height: 2px; margin-top: var(--s-3); background: var(--yellow); border-radius: 2px; }
.pop-hover:hover { transform: scale(1.03); }
.card__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: var(--s-4); color: var(--purple); }
.card__icon .icon { width: 48px; height: 48px; stroke-width: 1.5; }
.card .src { margin-top: auto; padding-top: var(--s-4); }
.card .tag { margin-bottom: var(--s-4); }
.card--info { padding: 28px 24px; }

/* Etiquetas */
.tag { display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start; width: fit-content; padding: .3rem .8rem; border-radius: 8px 8px 8px 0; font: 600 .75rem/1.3 var(--body); letter-spacing: .04em; text-transform: uppercase; }
.tag .icon { width: 1rem; height: 1rem; }
.tag--legal { background: #E3F0FB; color: #005BA4; }
.tag--policy { background: #F3E4F6; color: #6E1380; }
.tag--mixed { background: #FFF1C2; color: #6B4A00; }

/* Situaciones (tarjetas con foto) */
.situations { display: grid; gap: clamp(1.25rem, 2vw, 2rem); }
@media (min-width: 640px) { .situations { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .situations { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.situation { display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: var(--radius); box-shadow: var(--long-shadow); transition: transform .4s ease; }
.situation:hover { transform: translateY(-4px); }
.situation__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--broken); }
.situation__img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--yellow); }
.situation__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.situation:hover .situation__img img { transform: scale(1.05); }
.situation__body { display: flex; flex-direction: column; flex: 1; padding: 24px; background: var(--grad-card); }
.situation__body h3 { margin-top: var(--s-4); margin-bottom: var(--s-3); font-size: 1.25rem; }
.situation__body p { font-size: var(--fs-sm); }
.situation__body .text-link { margin-top: auto; padding-top: var(--s-3); }

/* Pasos con cuadros en degradado */
.steps { display: grid; gap: clamp(1.25rem, 2vw, 2rem); margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps > li { counter-increment: step; position: relative; margin: 0; padding: 32px 24px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); }
.steps > li::before { content: counter(step); display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: var(--s-5); background: var(--grad-dot); color: #fff; border-radius: 20px 0 20px 0; box-shadow: var(--long-shadow); font: 400 1.75rem/1 var(--display); }
.steps h3 { color: #fff; }
.steps p { color: #E0E0E0; font-size: var(--fs-sm); }

/* Documentos */
.doc-grid { display: grid; gap: clamp(1rem, 1.6vw, 1.5rem); margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .doc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.doc-grid > li { display: flex; gap: var(--s-4); align-items: flex-start; margin: 0; padding: 24px; background: var(--grad-card); border-radius: var(--radius); box-shadow: var(--long-shadow); }
.doc-grid > li > .icon { width: 44px; height: 44px; padding: 10px; background: var(--grad-dot); color: #fff; border-radius: 14px 0 14px 0; }
.doc-grid strong { display: block; margin-bottom: .2rem; color: var(--heading); font: 400 1.125rem/1.3 var(--display); }
.doc-grid li span span { display: block; font-size: var(--fs-sm); }

/* Límites: sí / no */
.limits { display: grid; gap: clamp(1.25rem, 2vw, 2rem); }
@media (min-width: 800px) { .limits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.limits > div { padding: 32px 28px; background: var(--grad-card); color: var(--text); border-radius: var(--radius); box-shadow: var(--long-shadow); border-top: 5px solid var(--yellow); }
.limits > .no { border-top-color: var(--pink); }
.limits h3 { display: flex; align-items: center; gap: .6rem; color: var(--heading) !important; }
.limits .yes h3 .icon { color: var(--ok); }
.limits .no h3 .icon { color: var(--no); }
.limits .no ul { list-style: none; padding: 0; }
.limits .no li { position: relative; padding-left: 2rem; }
.limits .no li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--no-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3243F' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / .7rem no-repeat; }

/* Lista con marcas */
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6B3A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / .75rem no-repeat; }

/* Avisos */
.callout { display: flex; gap: var(--s-4); align-items: flex-start; padding: 20px 24px; background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: var(--soft-shadow); border-left: 5px solid var(--blue); }
.callout > .icon { width: 24px; height: 24px; margin-top: .1rem; color: var(--blue); }
.callout p, .callout li { font-size: var(--fs-sm); }
.callout--warn { background: #FFFBEA; border-left-color: var(--yellow); }
.callout--warn > .icon { color: #8A5A00; }
.callout--accent { padding: 28px; background: var(--grad-header); color: #fff; border-left: 0; border-radius: 24px 0 24px 0; box-shadow: var(--long-shadow); }
.callout--accent > .icon { width: 32px; height: 32px; color: var(--yellow); }
.callout--accent p, .callout--accent li { font-size: 1rem; }
.callout--accent li::marker { color: var(--yellow); }

/* Banda final de llamada a la acción */
.cta-band { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta-band h2 { text-transform: uppercase; }
.cta-band h2::after { content: ""; display: block; width: 100%; max-width: 240px; height: 2px; margin: var(--s-4) auto 0; background: var(--yellow); border-radius: 2px; }
.cta-band p { max-width: 38rem; margin: 0 auto var(--s-6); color: #E0E0E0; }

/* Preguntas frecuentes ---------------------------------------------------- */
.faq { display: grid; gap: var(--s-4); }
.faq details { background: #fff; border-radius: var(--radius); box-shadow: var(--soft-shadow); transition: box-shadow .3s ease; }
.faq details[open] { box-shadow: var(--long-shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 64px; padding: 18px 24px; color: var(--heading); font: 400 1.125rem/1.35 var(--display); cursor: pointer; list-style: none; border-radius: var(--radius); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 12px 0 12px 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat, var(--grad-dot); transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--purple); }
.faq__a { padding: 0 24px 22px; }
.faq__a p { font-size: var(--fs-sm); }

/* Contenido largo (páginas legales) --------------------------------------- */
.legal { max-width: 52.5rem; }
.prose { min-width: 0; }
.prose h2 { margin-top: var(--s-7); padding-top: var(--s-6); border-top: 1px solid var(--line); font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font: 700 1.0625rem/1.4 var(--body); color: var(--heading); }
.prose li { margin-bottom: .5rem; }
.prose .callout { margin: var(--s-5) 0; }

/* Índice de contenidos */
.toc { margin-bottom: var(--s-7); padding: 24px 28px; background: var(--rose); border-radius: var(--radius); border-left: 5px solid var(--yellow); }
.toc > p { margin-bottom: var(--s-3); color: var(--heading); font: 400 1.125rem/1.3 var(--display); }
.toc ol { display: grid; gap: .25rem 2rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.toc li { margin: 0; }
.toc a { display: inline-flex; align-items: center; min-height: 40px; color: var(--purple); font-size: var(--fs-sm); font-weight: 500; text-decoration: none; }
.toc a:hover { color: var(--pink-text); text-decoration: underline; }
/* Variante horizontal (guía de seguros) */
.toc--chips { margin: 0; padding: 0; background: none; border: 0; border-radius: 0; }
.toc--chips > p { margin-bottom: var(--s-4); }
.toc--chips ol { display: flex; flex-wrap: wrap; gap: .6rem; }
.toc--chips a { min-height: 44px; padding: .5rem 1.1rem; background: #fff; border-radius: 16px 0 16px 0; box-shadow: var(--soft-shadow); }
.toc--chips a:hover { background: var(--purple); color: #fff; text-decoration: none; }
.toc-band { padding-block: var(--s-6) var(--s-7); background: var(--bg); }

/* Tablas */
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--soft-shadow); font-size: var(--fs-sm); }
.table th, .table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table thead th { background: var(--text); color: #fff; font-weight: 600; }
.table tbody th { width: 34%; color: var(--heading); font-weight: 600; background: var(--rose); }
.table td { overflow-wrap: break-word; }
.table--stack td:first-child { white-space: nowrap; }
@media (max-width: 640px) {
  .table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table--stack tr { display: block; border-bottom: 1px solid var(--line); }
  .table--stack td { display: block; border: 0; padding: 6px 16px; }
  .table--stack td:first-child { padding-top: 14px; color: var(--heading); font-weight: 600; }
  .table--stack td:last-child { padding-bottom: 14px; }
  .table--stack td::before { content: attr(data-label) ": "; display: block; color: var(--muted); font-size: var(--fs-xs); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
  .table:not(.table--stack) tr { display: block; border-bottom: 1px solid var(--line); }
  .table:not(.table--stack) th, .table:not(.table--stack) td { display: block; width: 100%; border: 0; }
  .table:not(.table--stack) th { padding-bottom: 4px; }
  .table:not(.table--stack) td { padding-top: 4px; }
}

/* Compensaciones: comparación y catálogo ---------------------------------- */
.compare { display: grid; gap: clamp(1.25rem, 2vw, 2rem); }
@media (min-width: 800px) { .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.compare > div { padding: 32px 28px; background: var(--grad-card); color: var(--text); border-radius: var(--radius); box-shadow: var(--long-shadow); }
.compare > .legal { max-width: none; border-top: 5px solid var(--blue); }
.compare > .policy { border-top: 5px solid var(--purple); }
.compare h3 { margin-top: var(--s-2); color: var(--heading) !important; }
.compare h3::after { content: ""; display: block; width: 72px; height: 2px; margin-top: var(--s-3); background: var(--yellow); border-radius: 2px; }

.filters-bar { padding-block: var(--pad) var(--s-4); background: var(--bg); }
.filters-form { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; border: 0; }
.filters legend { width: 100%; margin-bottom: var(--s-4); padding: 0; color: var(--heading); font: 400 1.25rem/1.3 var(--display); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .5rem 1.1rem; background: #fff; color: var(--text); border-radius: 16px 0 16px 0; box-shadow: var(--soft-shadow); font-size: var(--fs-sm); font-weight: 500; cursor: pointer; transition: background-color .3s ease, color .3s ease; }
.chip span .icon { width: 1.05rem; height: 1.05rem; color: var(--purple); }
.chip span:hover { background: var(--broken); }
.chip input:checked + span { background: var(--grad-header); color: #fff; }
.chip input:checked + span .icon { color: var(--yellow); }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.results-count { margin: var(--s-4) 0 0; color: var(--muted); font-size: var(--fs-sm); }

.catalog { padding-bottom: calc(var(--pad) + var(--sl)); background: var(--bg); }
.entry { position: relative; padding-block: clamp(40px, 4vw, 64px); }
.entry[hidden] { display: none; }
.entry__inner { display: grid; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
@media (min-width: 900px) {
  .entry__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .entry__img { order: 2; }
  .entry:nth-child(even of :not([hidden])) .entry__img { order: -1; }
  .entry .more { grid-column: 1 / -1; order: 3; }
}
/* Bandas oscuras alternas con bordes diagonales (estilo «Servicios») */
.entry:nth-child(odd of :not([hidden])) { background: var(--text); color: #E8E8E8; clip-path: polygon(0 var(--sl), 100% 0, 100% calc(100% - var(--sl)), 0 100%); padding-block: calc(clamp(40px, 4vw, 64px) + var(--sl)); }
.entry:nth-child(odd of :not([hidden])) h2 { color: #fff; }
.entry:nth-child(odd of :not([hidden])) .entry__summary { color: #E0E0E0; }
.entry:nth-child(odd of :not([hidden])) .more > summary { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.entry:nth-child(odd of :not([hidden])) .more > summary:hover { background: #fff; color: var(--purple); }
.entry:nth-child(odd of :not([hidden])) .more__actions .src { color: #D6D6D6; }
.entry:nth-child(odd of :not([hidden])) .more__actions .src a { color: var(--yellow); }
.entry__img { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--long-shadow); background: var(--broken); }
.entry__img img { width: 100%; height: 100%; object-fit: cover; }
.entry__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--s-4); }
.entry h2 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); }
.entry h2::after { content: ""; display: block; width: 96px; height: 2px; margin-top: var(--s-4); background: var(--yellow); border-radius: 2px; }
.entry__summary { margin-bottom: var(--s-5); font-weight: 500; }
details.more > summary { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: 12px 28px; color: var(--purple); border-radius: var(--leaf); box-shadow: inset 0 0 0 2px var(--purple); font: 400 1rem/1.2 var(--display); cursor: pointer; list-style: none; transition: background-color .3s ease, color .3s ease; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary:hover { background: var(--purple); color: #fff; }
details.more > summary .icon { transition: transform .3s ease; }
details.more[open] > summary .icon { transform: rotate(180deg); }
.more__body { display: grid; gap: clamp(1rem, 1.6vw, 1.5rem); margin-top: var(--s-6); }
@media (min-width: 700px) { .more__body { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.more__body > div { padding: 28px 24px; background: var(--grad-card); color: var(--text); border-radius: var(--radius); box-shadow: var(--long-shadow); }
.more__body > div a:not(.btn) { color: var(--pink-text); }
.more__body h3 { font-size: 1.25rem; color: var(--heading) !important; }
.more__body h3::after { content: ""; display: block; width: 64px; height: 2px; margin-top: var(--s-3); background: var(--yellow); border-radius: 2px; }
.more__body p, .more__body li { font-size: var(--fs-sm); }
.more__body .more__full { grid-column: 1 / -1; border-left: 5px solid var(--yellow); }
.more__body .more__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); padding: 0; background: none; color: inherit; box-shadow: none; border-radius: 0; }
.more__actions .src { flex: 1 1 18rem; margin: 0; }
.entry:nth-child(odd of :not([hidden])) .more__actions .src a { color: var(--yellow); }

/* Seguros: términos, preguntas, documentos -------------------------------- */
.term-note { max-width: 52rem; margin: clamp(2rem, 3vw, 3rem) auto 0; color: #EDEDED; text-align: center; }
.qlist { display: grid; gap: var(--s-4); margin: 0 0 var(--s-6); padding: 0; list-style: none; counter-reset: q; }
.qlist > li { counter-increment: q; display: flex; gap: var(--s-4); align-items: center; margin: 0; padding: 18px 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--soft-shadow); }
.qlist > li::before { content: counter(q); flex: none; display: grid; place-items: center; width: 44px; height: 44px; background: var(--grad-dot); color: #fff; border-radius: 14px 0 14px 0; font: 400 1.25rem/1 var(--display); }
.qlist > li > span { min-width: 0; }
.examples { display: grid; gap: clamp(1.25rem, 2vw, 2rem); }
@media (min-width: 860px) { .examples { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.example { padding: 28px 24px; background: var(--grad-card); border-radius: var(--radius); box-shadow: var(--long-shadow); border-top: 5px solid var(--yellow); }
.example h4 { display: flex; align-items: center; gap: .5rem; font-size: 1.25rem; }
.example h4 .icon { color: var(--purple); }
.example p { font-size: var(--fs-sm); }

/* Mosaicos con texto que aparece al pasar el cursor (estilo «pilares») */
.pillars-wrap { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: stretch; }
@media (min-width: 1000px) { .pillars-wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); } }
.pillars-photo { min-height: 260px; height: 100%; border-radius: var(--radius-lg); box-shadow: var(--long-shadow); }
.pillars { display: grid; gap: clamp(1rem, 1.6vw, 1.5rem); margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pillar { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; margin: 0; padding: 24px 20px; overflow: hidden; background: var(--grad-dot); color: #fff; border-radius: var(--radius-lg); box-shadow: var(--long-shadow); cursor: default; }
.pillar:nth-child(3n+2) { background: radial-gradient(circle at 80% 10%, var(--purple), #4E0E5B); }
.pillar:nth-child(3n) { background: radial-gradient(circle at 20% 90%, var(--pink), #8E1E5C); }
.pillar:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.pillar__icon { position: absolute; top: 22px; left: 20px; width: 44px; height: 44px; color: var(--yellow); stroke-width: 1.5; }
.pillar__title { position: relative; margin: 0; color: #fff; font: 400 1.25rem/1.25 var(--display); }
.pillar__title::after { content: ""; display: block; width: 56px; height: 2px; margin-top: var(--s-3); background: var(--yellow); border-radius: 2px; }
.pillar__text { margin: var(--s-3) 0 0; font-size: var(--fs-sm); line-height: 1.55; }
@media (hover: hover) and (pointer: fine) {
  .pillar__text { max-height: 0; opacity: 0; transform: translateY(12px); transition: max-height .5s ease, opacity .4s ease, transform .4s ease; }
  .pillar:hover .pillar__text, .pillar:focus .pillar__text, .pillar:focus-within .pillar__text { max-height: 14rem; opacity: 1; transform: none; }
  .pillar__icon { transition: transform .5s ease; }
  .pillar:hover .pillar__icon, .pillar:focus .pillar__icon { transform: translateY(-6px) scale(.85); }
}
@media print { .pillar__text { max-height: none !important; opacity: 1 !important; } }

.errors { display: grid; gap: var(--s-4); margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .errors { grid-template-columns: repeat(2, minmax(0, 1fr)); } .errors > li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.errors > li { position: relative; margin: 0; padding: 20px 22px 20px 64px; background: #fff; border-radius: var(--radius); box-shadow: var(--soft-shadow); font-size: var(--fs-sm); }
.errors > li::before { content: ""; position: absolute; left: 20px; top: 20px; width: 28px; height: 28px; border-radius: 10px 0 10px 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / 16px no-repeat, var(--grad-dot); }
.errors strong { display: block; margin-bottom: .2rem; color: var(--heading); font: 400 1.0625rem/1.35 var(--display); }

.route { display: grid; gap: clamp(1rem, 1.6vw, 1.5rem); margin: 0 0 var(--s-6); padding: 0; list-style: none; counter-reset: r; }
@media (min-width: 900px) { .route { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.route > li { counter-increment: r; position: relative; margin: 0; padding: 28px 24px; background: var(--grad-card); color: var(--text); border-radius: var(--radius); box-shadow: var(--long-shadow); font-size: var(--fs-sm); }
.route > li::before { content: counter(r); display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: var(--s-4); background: var(--grad-dot); color: #fff; border-radius: 16px 0 16px 0; font: 400 1.375rem/1 var(--display); }
.route strong { display: block; margin-bottom: .3rem; color: var(--heading); font: 400 1.125rem/1.35 var(--display); }

.closing { display: grid; gap: var(--s-6); }

/* Cómo funciona: recorrido ------------------------------------------------ */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; counter-reset: tl; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 32px; bottom: 32px; width: 3px; background: var(--yellow); border-radius: 3px; }
.timeline > li { counter-increment: tl; position: relative; margin: 0 0 var(--s-5); padding-left: 96px; }
.timeline > li:last-child { margin-bottom: 0; }
.timeline > li::before { content: counter(tl); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 64px; height: 64px; background: var(--grad-dot); color: #fff; border-radius: 20px 0 20px 0; box-shadow: var(--long-shadow); font: 400 1.75rem/1 var(--display); }
.timeline__card { padding: 28px; background: var(--grad-card); border-radius: var(--radius); box-shadow: var(--long-shadow); }
.timeline h2 { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); }
.timeline h2::after { content: ""; display: block; width: 96px; height: 2px; margin-top: var(--s-3); background: var(--yellow); border-radius: 2px; }
.timeline p, .timeline li li { font-size: var(--fs-sm); }
@media (max-width: 560px) {
  .timeline::before { left: 23px; }
  .timeline > li { padding-left: 64px; }
  .timeline > li::before { width: 48px; height: 48px; font-size: 1.375rem; border-radius: 16px 0 16px 0; }
  .timeline__card { padding: 22px 18px; }
}

/* Comprobación (quiz) ---------------------------------------------------- */

.quiz-shell { max-width: 50rem; margin-inline: auto; }
.quiz { position: relative; padding: clamp(1.25rem, .6rem + 2.4vw, 2.75rem); background: #fff; color: var(--text); border-radius: var(--radius-lg); box-shadow: var(--long-shadow); border-top: 6px solid var(--yellow); }
.quiz h2, .quiz h3 { color: var(--heading) !important; }
.quiz__top { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); margin-bottom: var(--s-3); color: var(--muted); font-size: var(--fs-sm); font-weight: 600; }
.progress { height: 8px; margin-bottom: var(--s-6); overflow: hidden; background: var(--broken); border-radius: 8px; }
.progress__bar { width: 0; height: 100%; background: var(--grad-header); border-radius: 8px; transition: width .4s ease; }
.quiz fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.quiz legend { margin-bottom: var(--s-3); padding: 0; color: var(--heading); font: 400 clamp(1.5rem, 1.25rem + 1vw, 2rem)/1.2 var(--display); }
.quiz__help { margin-bottom: var(--s-5); color: var(--muted); font-size: var(--fs-sm); }
.options { display: grid; gap: var(--s-3); }
.options--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .options--2 { grid-template-columns: 1fr; } }
.option { position: relative; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option label { display: flex; align-items: center; gap: var(--s-4); min-height: 64px; padding: .85rem 1.1rem; background: var(--rose); border: 2px solid transparent; border-radius: var(--radius); cursor: pointer; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.option label:hover { background: #fff; border-color: var(--broken); box-shadow: var(--soft-shadow); }
.option .opt-icon { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; background: #fff; color: var(--purple); border-radius: 14px 0 14px 0; }
.option .opt-text strong { display: block; color: var(--heading); font-weight: 600; line-height: 1.35; }
.option .opt-text span { display: block; color: var(--muted); font-size: var(--fs-sm); line-height: 1.45; }
.option .opt-radio { flex: none; width: 1.5rem; height: 1.5rem; margin-left: auto; background: #fff; border: 2px solid #B9AEAF; border-radius: 50%; transition: border-color .2s ease, background .2s ease; }
.option input:checked + label { background: #fff; border-color: var(--purple); box-shadow: var(--long-shadow); }
.option input:checked + label .opt-icon { background: var(--grad-dot); color: #fff; }
.option input:checked + label .opt-radio { border-color: transparent; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / .85rem no-repeat, var(--grad-dot); }
.option input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 3px; }
.option--unsure label { background: transparent; border: 2px dashed #CDBFC1; }
.quiz__error { display: none; align-items: center; gap: .5rem; margin-top: var(--s-4); padding: .8rem 1rem; background: var(--no-bg); color: var(--no); border-radius: var(--radius); font-size: var(--fs-sm); font-weight: 600; }
.quiz__error.is-visible { display: flex; }
.quiz__nav { display: flex; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.quiz__nav .btn { min-width: 9.5rem; }
@media (max-width: 420px) { .quiz__nav .btn { flex: 1; min-width: 0; padding-inline: 1rem; } }
.quiz-intro h2 { margin-bottom: var(--s-4); }
.quiz-intro h2::after, .result h2::after { content: ""; display: block; width: 100%; max-width: 240px; height: 2px; margin-top: var(--s-4); background: var(--yellow); border-radius: 2px; }
.quiz-intro ul { margin: var(--s-5) 0 var(--s-6); }
.result__badge { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: var(--s-4); padding: .45rem 1rem; border-radius: 12px 12px 12px 0; font-size: var(--fs-sm); font-weight: 600; }
.result--fit .result__badge { background: var(--ok-bg); color: var(--ok); }
.result--info .result__badge { background: var(--warn-bg); color: var(--warn); }
.result--none .result__badge { background: var(--no-bg); color: var(--no); }
.result h2 { margin-bottom: var(--s-4); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); }
.result__grid { display: grid; gap: var(--s-4); margin: var(--s-6) 0; }
.result__block { padding: 24px; background: var(--grad-card); border-radius: var(--radius); box-shadow: var(--soft-shadow); }
.result__block h3 { display: flex; align-items: center; gap: .5rem; margin-bottom: var(--s-3); font-size: 1.25rem; }
.result__block h3 .icon { color: var(--purple); }
.result__block ul, .result__block p { font-size: var(--fs-sm); }
.result__block ul { margin-bottom: 0; }
.summary { margin: var(--s-5) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.summary li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-2) var(--s-4); margin: 0; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.summary .q { color: var(--muted); }
.summary .a { color: var(--heading); font-weight: 600; }
.summary button { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: 0 1rem; background: transparent; color: var(--purple); border: 0; border-radius: 14px 0 14px 0; box-shadow: inset 0 0 0 2px var(--purple); font: 500 .875rem/1 var(--body); cursor: pointer; }
.summary button:hover { background: var(--purple); color: #fff; }
.quiz-aside { margin-top: var(--s-6); color: var(--muted); font-size: var(--fs-sm); }
.quiz .callout { background: #F2F8FD; box-shadow: none; }
.quiz-band .src.center { color: #E0E0E0; }
.quiz-band .src.center a { color: var(--yellow); }

/* Contacto ---------------------------------------------------------------- */
.contact-band { padding-block: clamp(32px, 5vw, 96px); }
.contact-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.panel { padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); background: #fff; color: var(--text); border-radius: var(--radius-lg); box-shadow: var(--long-shadow); }
.panel .breadcrumb { text-align: center; }
.panel--form h1 { margin-bottom: var(--s-4); font-size: clamp(2.5rem, 1.8rem + 3vw, 4rem); text-align: center; text-transform: none; }
.panel--form h1::after { content: ""; display: block; width: 100%; max-width: 240px; height: 2px; margin: var(--s-4) auto 0; background: var(--yellow); border-radius: 2px; }
.panel--form .lead { font-size: 1rem; text-align: center; }
.form-title { margin-top: var(--s-6); font-size: 1.5rem; color: var(--heading) !important; }
.panel--info h3 { font-size: 1.375rem; color: var(--heading) !important; }
.panel--info h3::after { content: ""; display: block; width: 72px; height: 2px; margin-top: var(--s-3); background: var(--yellow); border-radius: 2px; }
.contact-list { margin: var(--s-5) 0 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: var(--s-4); align-items: flex-start; margin: 0; padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.contact-list li > .icon { width: 40px; height: 40px; padding: 9px; background: var(--grad-dot); color: #fff; border-radius: 14px 0 14px 0; }
.contact-list span { align-self: center; overflow-wrap: anywhere; }
.band-photo .panel a:not(.btn) { color: var(--pink-text); }
.band-photo .panel a:not(.btn):hover { color: var(--purple); }
.band-photo .panel .breadcrumb a { color: var(--purple); }

/* Formulario */
.form { display: grid; gap: var(--s-5); }
.field { display: grid; gap: .45rem; }
.field label { color: var(--heading); font-size: var(--fs-sm); font-weight: 500; }
.input, .textarea, .select { width: 100%; min-height: 50px; padding: .8rem 1rem; background: var(--rose); color: var(--heading); border: 2px solid transparent; border-radius: 8px; font: 400 1rem/1.4 var(--body); transition: border-color .2s ease, background-color .2s ease; }
.textarea { min-height: 9rem; resize: vertical; }
.select { appearance: none; padding-right: 2.75rem; background: var(--rose) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2387189D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 1rem center / 1.1rem no-repeat; }
.input:hover, .textarea:hover, .select:hover { border-color: var(--broken); }
.input:focus, .textarea:focus, .select:focus { outline: none; background-color: #fff; border-color: var(--purple); }
.hint { margin: 0; color: var(--muted); font-size: var(--fs-xs); font-weight: 400; }
.field-error { display: none; align-items: center; gap: .4rem; margin: 0; color: var(--no); font-size: var(--fs-xs); font-weight: 600; }
.field-error .icon { width: 1rem; height: 1rem; }
.has-error .field-error { display: flex; }
.has-error .input, .has-error .textarea, .has-error .select { border-color: var(--no); background-color: #FFF7F8; }
.btn--send { justify-self: start; background: var(--pink-text); color: #fff; border-radius: 8px; box-shadow: var(--long-shadow); }
.btn--send:hover { background: var(--purple); color: #fff; }
.form-status { margin: 0; padding: 1rem 1.1rem; background: #F2F8FD; color: var(--heading); border-left: 5px solid var(--blue); border-radius: 8px; font-size: var(--fs-sm); }
.form-status:focus { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Pie de página ----------------------------------------------------------- */
.site-footer { position: relative; z-index: 3; padding-top: clamp(48px, 5vw, 72px); background: radial-gradient(circle, var(--text), var(--dark-2)); color: #D9D9D9; font-size: var(--fs-sm); }
.footer-grid { display: grid; gap: var(--s-6) clamp(1.5rem, 3vw, 3rem); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.2fr .8fr .8fr 1.2fr; } }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand .logo { margin: 0; }
.footer-brand .logo__mark { width: 64px; height: 64px; border-color: var(--pink); }
.footer-brand .logo__mark .icon { width: 30px; height: 30px; }
.footer-brand .logo__word { font-size: 1.75rem; }
.footer-tagline { margin: var(--s-3) 0 0; color: #F28BA0; font: 400 1.5rem/1.2 var(--script); }
.footer-brand p:not(.footer-tagline) { margin-top: var(--s-4); }
.footer-heading { margin: 0; color: var(--yellow); font: 400 1.5rem/1.2 var(--display); }
.footer-heading::after { content: ""; display: block; width: 100px; height: 2px; margin: var(--s-4) 0; background: var(--pink); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-op { margin: 0; }
.footer-op dt { margin-bottom: .4rem; color: #fff; font-weight: 600; }
.footer-op dd { margin: 0 0 .35rem; overflow-wrap: anywhere; }
.footer-op dd a { display: inline-flex; align-items: center; min-height: 32px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3) var(--s-6); margin-top: clamp(2.5rem, 4vw, 3.5rem); padding-block: var(--s-5); border-top: 1px solid rgba(255, 255, 255, .14); color: #BDBDBD; font-size: var(--fs-xs); }
.footer-bottom p { margin: 0; }
.footer-bottom p:first-child { flex: 1 1 32rem; }

/* Impresión */
@media print {
  .site-header, .site-footer, .nav-toggle, .btn-row { display: none !important; }
  .slant, .slant-both, .entry { clip-path: none !important; margin: 0 !important; }
  .section--dark, .band-photo, .entry { background: #fff !important; color: #000 !important; }
  .section--dark *, .band-photo * { color: #000 !important; }
}

/* Utilidades de alineación */
.btn-row--center { justify-content: center; }
.read--center { margin-inline: auto; }

/* Las diagonales se solapan con la sección anterior: reservamos ese espacio */
.section:has(+ .slant), .section:has(+ .slant-both) { padding-bottom: calc(var(--pad) + var(--sl)); }
.toc-band + .slant { margin-top: 0; }
.quiz a:not(.btn) { color: var(--pink-text); }
.quiz a:not(.btn):hover { color: var(--purple); }
.logo { min-height: 44px; }

/* Catálogo: el botón «Ver detalles» queda bajo la columna de texto */
.catalog { padding-bottom: calc(var(--sl) + 8px); }
@media (min-width: 900px) {
  .entry__inner { row-gap: var(--s-5); }
  .entry__body { align-self: end; }
  .entry:nth-child(even of :not([hidden])) .more > summary { margin-left: calc(50% + clamp(1.5rem, 3vw, 3rem) / 2); }
}
.quiz [tabindex="-1"]:focus:not(:focus-visible), .quiz legend:focus:not(:focus-visible) { outline: none; }
.pillar__label { display: block; margin-bottom: .2rem; color: var(--yellow); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
@media (min-width: 680px) and (max-width: 999px) { .cards--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
