/* ==========================================================================
   Restrudis Finance · estilos
   Paleta: azul marino #0B1F3A · beige #E8DCC8 · blanco #FFFFFF · negro #111111
   ========================================================================== */

:root {
  --navy: #0B1F3A;
  --beige: #E8DCC8;
  --white: #FFFFFF;
  --ink: #111111;

  /* Variaciones por opacidad de la paleta */
  --cream: #F7F3EC;                        /* beige al 35 % sobre blanco */
  --ink-soft: rgba(17, 17, 17, .72);
  --ink-mute: rgba(17, 17, 17, .64);
  --navy-08: rgba(11, 31, 58, .08);
  --navy-15: rgba(11, 31, 58, .15);
  --navy-50: rgba(11, 31, 58, .5);
  --beige-25: rgba(232, 220, 200, .25);
  --white-80: rgba(255, 255, 255, .82);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 2px;
  --gutter: 20px;
  --hh: 68px;                              /* altura del menú */
  --section: clamp(4.5rem, 3rem + 7vw, 9.5rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --hh: 84px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

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

[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 em, h2 em { font-style: italic; font-weight: 400; }
h2 { font-size: clamp(2.1rem, 1.35rem + 3.4vw, 3.9rem); line-height: 1.08; max-width: 17ch; }
h3 { font-size: 1.55rem; line-height: 1.2; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.section--navy :focus-visible, .mobile-menu :focus-visible { outline-color: var(--beige); }

[id] { scroll-margin-top: calc(var(--hh) + 12px); }

.container {
  width: min(1200px, 100% - var(--gutter) * 2);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* Datos pendientes: se ven a propósito para no publicarlos por error */
.dato {
  background: var(--beige);
  outline: 1px dashed var(--navy);
  padding: 0 .35em;
  font-size: .9em;
}

/* ---------- Tipografía auxiliar ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .5; }
.eyebrow--light { color: var(--beige); }

.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; max-width: 38ch; color: var(--ink); }
.fineprint { font-size: .8rem; color: var(--ink-mute); margin: 0; }
.center { text-align: center; }

/* ---------- Monograma RF ---------- */
.mono {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1;
  white-space: nowrap;
}
.mono__r { display: inline-block; transform: scaleX(-1); }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; text-align: center; line-height: 1.2;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: rgba(11, 31, 58, .88); box-shadow: 0 0 0 4px var(--beige); }
.btn--light { background: var(--beige); color: var(--navy); }
.btn--light:hover { background: var(--white); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy-50); }
.btn--ghost:hover { border-color: var(--navy); background: var(--navy-08); }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.section--navy .btn--primary { background: var(--beige); color: var(--navy); }
.section--navy .btn--primary:hover { background: var(--white); box-shadow: none; }
.section--navy .form-card .btn--primary { background: var(--navy); color: var(--white); }
.section--navy .form-card .btn--primary:hover { background: rgba(11, 31, 58, .88); box-shadow: 0 0 0 4px var(--beige); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; color: var(--navy);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
  text-decoration-color: var(--navy-50);
  min-height: 44px;
}
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover { text-decoration-color: var(--navy); }
.link-arrow:hover::after { transform: translateX(4px); }

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

/* ---------- Menú fijo ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--hh);
  transition: transform .45s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: var(--white);
  box-shadow: 0 6px 24px rgba(11, 31, 58, .07);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.site-header__inner {
  height: 100%;
  display: flex; align-items: center; gap: 24px;
  transition: transform .45s var(--ease);
}
/* Compacto: se sube un poco y se centra el contenido en la franja visible (solo transform) */
.site-header.is-compact { transform: translateY(-12px); }
.site-header.is-compact .site-header__inner { transform: translateY(6px); }
.site-header.is-compact::before { opacity: 1; }
@media (min-width: 768px) {
  .site-header.is-compact { transform: translateY(-18px); }
  .site-header.is-compact .site-header__inner { transform: translateY(9px); }
}
.site-header.is-hidden, .site-header.is-compact.is-hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand .mono { font-size: 1.85rem; transition: transform .45s var(--ease); transform-origin: left center; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; letter-spacing: .005em; }
.is-compact .brand .mono { transform: scale(.9); }

.nav { display: none; }
.nav__list { display: flex; gap: 32px; }
.nav__list a {
  text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding: 6px 0;
  transition: background-size .3s var(--ease);
}
.nav__list a:hover { background-size: 100% 1px; }

.lang { display: flex; gap: 6px; font-size: .85rem; font-weight: 600; }
.lang a { text-decoration: none; opacity: .6; }
.lang a[aria-current] { opacity: 1; }

.site-header__cta { display: none; }

.burger {
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px;
  position: relative; z-index: 2;
}
.burger span { width: 24px; height: 1.5px; background: var(--navy); transition: transform .35s var(--ease), background-color .35s; }
.burger[aria-expanded="true"] span { background: var(--beige); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

.site-header.is-menu-open { transform: none; }
.site-header.is-menu-open::before { opacity: 0; }
.site-header.is-menu-open .brand { color: var(--beige); }

@media (min-width: 1180px) {
  .nav { display: block; }
  .site-header__cta { display: inline-flex; min-height: 44px; padding: 10px 18px; font-size: .9rem; }
  .burger { display: none; }
}
/* Nada del menú se parte en dos líneas */
.brand__name, .nav__list a, .site-header__cta { white-space: nowrap; }
@media (min-width: 1180px) and (max-width: 1320px) { .nav__list { gap: 24px; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--navy); color: var(--white);
  padding: calc(var(--hh) + 32px) var(--gutter) 32px;
  overflow-y: auto;
  animation: fadeIn .35s var(--ease);
}
.mobile-menu ul { margin-bottom: 40px; }
.mobile-menu li { border-bottom: 1px solid var(--beige-25); }
.mobile-menu li a {
  display: block; padding: 18px 0;
  font-family: var(--serif); font-size: 2rem; line-height: 1.15;
  text-decoration: none; color: var(--white);
}
.mobile-menu__foot { margin-top: 16px; font-size: .9rem; color: var(--beige); text-align: center; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Secciones ---------- */
.section { position: relative; padding-block: var(--section); overflow: hidden; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy h2 em { color: var(--beige); }
.section--navy .lead { color: var(--white-80); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }

/* Capas decorativas (siempre por detrás del contenido y fuera del texto) */
.decor { position: absolute; left: var(--x); pointer-events: none; z-index: 0; display: none; }
.decor--line { top: 12%; height: 70%; width: 1px; background: linear-gradient(to bottom, transparent, var(--beige) 20%, var(--beige) 80%, transparent); }
.decor--block { top: 10%; width: 110px; height: 240px; background: var(--beige); opacity: .45; }
@media (min-width: 1280px) { .decor { display: block; } }

/* Marca de agua RF en secciones azules */
.watermark {
  position: absolute; top: 50%; right: -6vw; z-index: 0;
  translate: 0 -50%;
  color: var(--beige); opacity: .06;
  font-size: clamp(16rem, 52vw, 44rem);
  line-height: .8;
  pointer-events: none; user-select: none;
}
.watermark--left { right: auto; left: -8vw; }

/* ---------- Revelado de imágenes (máscara de abajo arriba) ---------- */
.reveal-img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--cream); }
.reveal-img__inner, .reveal-img img { width: 100%; height: 100%; }
.reveal-img img { object-fit: cover; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--hh) + 28px) 0 clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
  background: var(--white);
}
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero .eyebrow { margin-bottom: 1.1rem; }
.hero__title {
  font-size: clamp(2.55rem, 1.2rem + 5.6vw, 5.4rem);
  line-height: 1.04;
  max-width: 13ch;
  margin-bottom: .45em;
}
.hero__title em {
  color: var(--navy);
  font-family: "Cormorant Garamond", var(--serif);
  font-style: italic; font-weight: 600;
  font-size: 1.12em; letter-spacing: 0;
}
.hero__sub { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); max-width: 34ch; color: var(--ink-soft); margin-bottom: 1.8rem; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-bottom: 2rem; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .88rem; font-weight: 500; color: var(--ink-soft); }
.trust li { display: inline-flex; align-items: center; gap: 10px; }
.trust li::before { content: ""; width: 7px; height: 7px; background: var(--navy); }

.hero__media { position: relative; width: min(100%, 440px); margin-inline: auto; }
.hero__block { position: absolute; inset: 14% -7% -5% 18%; background: var(--beige); z-index: 0; }
.hero__photo { position: relative; z-index: 1; }
.hero__caption {
  margin: 14px 0 0; font-size: .82rem; color: var(--ink-mute);
  display: flex; flex-direction: column;
}
.hero__caption span { font-family: var(--serif); font-size: 1.05rem; color: var(--navy); }

@media (max-width: 767px) {
  .hero__ctas .btn { width: 100%; }
}
@media (min-width: 960px) {
  .hero { min-height: 100svh; display: flex; align-items: center; }
  .hero__grid { grid-template-columns: 1.2fr .8fr; gap: 72px; }
  .hero__media { width: 100%; margin: 0; }
}

/* ---------- El problema ---------- */
.problem__grid { display: grid; gap: 48px; align-items: center; }
.problem__text p:not(.eyebrow):not(.lead) { max-width: 40ch; color: var(--ink-soft); }
@media (min-width: 960px) { .problem__grid { grid-template-columns: 1fr 1fr; gap: 96px; } }

.example {
  margin: 0; background: var(--white);
  border: 1px solid var(--beige);
  padding: clamp(24px, 4vw, 44px);
}
.example__title { font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); line-height: 1.3; color: var(--navy); margin-bottom: 28px; }
.example__title strong { font-weight: 600; }
.bar { margin-bottom: 22px; }
.bar__label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: .9rem; color: var(--ink-soft); margin-bottom: 8px; }
.bar__label strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
.bar__track { height: 10px; background: var(--navy-08); overflow: hidden; }
.bar__fill { height: 100%; background: var(--navy); transform-origin: left center; transform: scaleX(var(--w)); }
.bar__fill--soft { background: var(--navy-50); }
.example__result { font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; color: var(--navy); border-top: 1px solid var(--beige); padding-top: 22px; margin: 28px 0 12px; }
.example__aside { font-size: .95rem; color: var(--ink-soft); }
.problem__good {
  font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); line-height: 1.35;
  color: var(--navy) !important; max-width: 26ch !important;
  border-left: 2px solid var(--navy); padding-left: 18px; margin-top: 1.8rem;
}

/* Calculadora de inflación */
.calc__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-bottom: 14px; }
.calc__label { font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); line-height: 1.3; color: var(--navy); }
.calc__amount { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); line-height: 1; color: var(--navy); white-space: nowrap; }
.calc__range {
  --p: 9.09%;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer;
}
.calc__range::-webkit-slider-runnable-track {
  height: 6px;
  background: linear-gradient(var(--navy), var(--navy)) 0 0 / var(--p) 100% no-repeat, var(--navy-15);
}
.calc__range::-moz-range-track { height: 6px; background: var(--navy-15); }
.calc__range::-moz-range-progress { height: 6px; background: var(--navy); }
.calc__range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; margin-top: -10px; border-radius: 50%;
  background: var(--navy); border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--navy), 0 4px 12px rgba(11, 31, 58, .25);
}
.calc__range::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy); border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--navy);
}
.calc__range:focus-visible { outline: none; }
.calc__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px var(--navy), 0 0 0 6px var(--beige); }
.calc__range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 1px var(--navy), 0 0 0 6px var(--beige); }
.calc__scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--ink-mute); margin: -4px 0 26px; }
.calc .example__result { margin-bottom: 22px; }
.calc__note { margin-top: 14px; }

/* ---------- Cómo trabajo ---------- */
.steps__list { display: grid; gap: 40px; }
.step { position: relative; }
.step strong { color: var(--ink); font-weight: 600; }
.step__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 16px; }
.step__meta li { font-size: .8rem; font-weight: 600; color: var(--navy); background: var(--cream); border: 1px solid var(--beige); padding: 4px 10px; }

/* Línea que une los pasos: vertical en móvil, horizontal en escritorio */
.steps__track { position: relative; padding-left: 30px; }
.steps__line { position: absolute; left: 4px; top: 27px; bottom: 0; width: 1px; background: var(--navy-15); pointer-events: none; }
.steps__line span { display: block; width: 100%; height: 100%; background: var(--navy); transform-origin: top center; }
.step::before { content: ""; position: absolute; left: -30px; top: 23px; width: 9px; height: 9px; background: var(--navy); }
.step__num { display: block; font-family: var(--serif); font-style: italic; font-size: 3.4rem; line-height: 1; color: var(--navy); margin-bottom: 18px; }
.step p { color: var(--ink-soft); max-width: 36ch; }
.steps .center { margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 960px) {
  .steps__list { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .steps__track { padding-left: 0; }
  .steps__line { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; }
  .steps__line span { transform-origin: left center; }
  .step { padding-top: 36px; }
  .step::before { left: 0; top: -4px; }
}

/* ---------- Soluciones ---------- */
.cards { display: grid; gap: 20px; }
.card {
  background: var(--white);
  border: 1px solid var(--beige);
  padding: clamp(28px, 3.5vw, 40px);
  display: flex; flex-direction: column;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { border-color: var(--navy-50); box-shadow: 0 18px 40px -24px rgba(11, 31, 58, .25); }
.card__icon { width: 46px; height: 46px; fill: none; stroke: var(--navy); stroke-width: 1.2; margin-bottom: 28px; }
.card p { color: var(--ink-soft); }
.card h3 { margin-bottom: .3em; }
.card__kind { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute) !important; margin-bottom: 1.1rem; }
.card__cta { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--beige); width: 100%; justify-content: space-between; text-decoration: none; }
.card__cta:hover { text-decoration: underline; text-underline-offset: 6px; }
.solutions__risk { text-align: center; font-size: .92rem; color: var(--ink-soft); max-width: 44ch; margin: clamp(1.8rem, 3vw, 2.4rem) auto 0; }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.solutions__foot { margin-top: clamp(2rem, 4vw, 3rem); text-align: center; }
.solutions__foot p { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); line-height: 1.4; color: var(--navy); max-width: 38ch; margin: 0 auto 1.6rem; }

/* ---------- Por qué independiente ---------- */
.independent__grid { display: grid; gap: 48px; align-items: end; }
.independent h2 { max-width: 15ch; }
.compare { display: grid; gap: 12px; }
.compare__item { border: 1px solid var(--beige-25); padding: 22px 24px; }
.compare__item p { margin: 0; }
.compare__who { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--beige); margin-bottom: 6px !important; }
.compare__item--hl { background: var(--beige); color: var(--navy); border-color: var(--beige); }
.compare__item--hl .compare__who { color: var(--navy); }
.compare__item--hl p:last-child { font-family: var(--serif); font-size: 1.2rem; line-height: 1.35; }

.stats { display: grid; gap: 0; margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--beige-25); }
.stats li { padding: 24px 0; border-bottom: 1px solid var(--beige-25); display: flex; flex-direction: column; gap: 4px; }
.stats strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem); line-height: 1.1; color: var(--beige); }
.stats span { color: var(--white-80); font-size: .95rem; }
@media (min-width: 960px) {
  .independent__grid { grid-template-columns: 1.25fr .75fr; gap: 96px; }
  .stats { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--beige-25); }
  .stats li { border-bottom: 0; padding: 32px 32px 32px 0; }
  .stats li + li { border-left: 1px solid var(--beige-25); padding-left: 32px; }
}

/* ---------- Sobre mí ---------- */
.about__grid { display: grid; gap: 56px; align-items: center; }
.about__media { position: relative; width: min(100%, 460px); }
.about__block { position: absolute; inset: -6% 22% 12% -6%; background: var(--cream); z-index: 0; }
.about__media .reveal-img { z-index: 1; }
.about__text p:not(.eyebrow):not(.lead):not(.signature) { color: var(--ink-soft); max-width: 40ch; }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--navy); margin: 1.4rem 0 1.8rem; }
@media (min-width: 960px) {
  .about__grid { grid-template-columns: .9fr 1.1fr; gap: 112px; }
  .about__media { width: 100%; }
}

/* ---------- Testimonios ---------- */
.quote { margin: 0; }
.quote blockquote { margin: 0 0 20px; font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; color: var(--navy); }
.quote figcaption { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Preguntas ---------- */
.faq__grid { display: grid; gap: 40px; }
.section-head--left p:not(.eyebrow) { color: var(--ink-soft); max-width: 32ch; }
.accordion { border-top: 1px solid var(--navy-15); }
.accordion details { border-bottom: 1px solid var(--navy-15); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; min-height: 44px;
  font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.3; color: var(--navy);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; flex: none;
  width: 32px; height: 32px; display: grid; place-items: center;
  border: 1px solid var(--navy-15); border-radius: 50%;
  font-family: var(--sans); font-size: 1.1rem; line-height: 1;
  transition: background-color .25s, color .25s;
}
.accordion details[open] summary::after { content: "−"; background: var(--navy); color: var(--white); border-color: var(--navy); }
.accordion__body { padding: 0 48px 22px 0; color: var(--ink-soft); }
.accordion__body p { margin: 0; }
.accordion details[open] .accordion__body { animation: faqIn .4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (min-width: 960px) { .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 96px; } }

/* ---------- Formulario ---------- */
.booking__grid { display: grid; gap: 48px; align-items: start; }
.booking h2 { max-width: 12ch; }
.checks { display: grid; gap: 14px; margin-top: 8px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--white); }
.checks li::before {
  content: ""; flex: none; width: 20px; height: 11px; margin-top: 6px;
  border-left: 1.5px solid var(--beige); border-bottom: 1.5px solid var(--beige);
  transform: rotate(-45deg) scale(.8);
}
@media (min-width: 960px) {
  .booking__grid { grid-template-columns: .85fr 1.15fr; gap: 96px; }
  .booking__intro { position: sticky; top: calc(var(--hh) + 32px); }
}

.form-card { background: var(--white); color: var(--ink); padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; margin: 0; min-width: 0; }
fieldset.field { border: 0; padding: 0; }
.field label, .field legend { font-size: .9rem; font-weight: 600; color: var(--ink); padding: 0; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 520px) { .field-row { grid-template-columns: .7fr 1.3fr; } }

.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid rgba(17, 17, 17, .5); border-radius: var(--radius);
  background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 16px;               /* 16px evita el zoom en iPhone */
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: var(--ink-mute); }
.field select {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B1F3A' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input:hover, .field select:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px var(--beige); }
.field [aria-invalid="true"] { border: 2px solid var(--ink) !important; }
.field__error { margin: 0; font-size: .85rem; font-weight: 700; color: var(--ink); display: flex; gap: 8px; align-items: center; }
.field__error::before { content: "!"; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-size: .72rem; }
.field__hint { margin: 4px 0 0; font-size: .85rem; background: var(--cream); padding: 10px 12px; border-left: 2px solid var(--navy); }

.radios { display: flex; gap: 12px; }
.radio {
  flex: 1; display: flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 0 16px; cursor: pointer;
  border: 1px solid rgba(17, 17, 17, .5); border-radius: var(--radius);
  font-weight: 500 !important;
}
.radio:has(input:checked) { border-color: var(--navy); background: var(--cream); }
.radio:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--beige); border-color: var(--navy); }
input[type="radio"], input[type="checkbox"] { accent-color: var(--navy); width: 20px; height: 20px; margin: 0; flex: none; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; font-weight: 500 !important; cursor: pointer; }
.check input { margin-top: 2px; }
.check--disabled { cursor: default; opacity: .8; }
.legal-first { margin: 8px 0 0; font-size: .76rem; line-height: 1.5; color: var(--ink-mute); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; padding: 12px 14px; background: var(--cream); border-left: 2px solid var(--navy); font-size: .92rem; }
.form button[disabled] { opacity: .7; cursor: progress; }

.form-success { text-align: center; padding: clamp(24px, 5vw, 48px) 0; outline: none; }
.mono--sm { font-size: 2.6rem; color: var(--navy); display: inline-block; margin-bottom: 20px; }
.form-success__title { font-family: var(--serif); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); line-height: 1.3; color: var(--navy); max-width: 22ch; margin: 0 auto 12px; }
.form-success p:last-child { font-family: var(--serif); font-style: italic; color: var(--ink-soft); }

.zoho-embed { width: 100%; min-height: 900px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--beige); padding: clamp(3rem, 6vw, 5rem) 0 2rem; font-size: .95rem; }
.footer__grid { display: grid; gap: 36px; }
.footer__brand p { color: var(--ink-soft); max-width: 30ch; margin-top: 16px; }
.footer__contact { font-style: normal; display: flex; flex-direction: column; gap: 8px; }
.footer__contact a { text-decoration: none; font-weight: 600; color: var(--navy); }
.footer__contact a:hover { text-decoration: underline; }
.footer__social { display: flex; flex-direction: column; gap: 10px; }
.footer__social a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 32px; }
.footer__social a:hover span { text-decoration: underline; }
.footer__social svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 1.5; }
.footer__social svg .fill { fill: var(--navy); stroke: none; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--navy-15); font-size: .8rem; color: var(--ink-mute); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 16px; }
.footer__legal a, .footer__legal .linklike { color: var(--ink); font-size: .85rem; min-height: 32px; display: inline-flex; align-items: center; }
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { text-decoration: underline; }
.disclaimer { max-width: 80ch; }
.copyright { margin: 0; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; z-index: 40;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; border: 1px solid #25D366;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(11, 31, 58, .45);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); background: #1EBE5A; }
.wa-float svg { width: 28px; height: 28px; }
.wa-float .stroke { fill: none; stroke: var(--white); stroke-width: 1.6; }
.wa-float .fill { fill: var(--white); }
.has-cookie-banner .wa-float { opacity: 0; pointer-events: none; }

/* ---------- Cookies ---------- */
.cookie {
  position: fixed; z-index: 60;
  left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  max-width: 540px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--beige);
  box-shadow: 0 20px 50px -20px rgba(11, 31, 58, .35);
  padding: 20px;
  font-size: .9rem; line-height: 1.5;
  animation: fadeIn .4s var(--ease);
}
.cookie__title { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); margin-bottom: 6px; }
.cookie__prefs { display: grid; gap: 10px; margin: 0 0 16px; padding: 14px; background: var(--cream); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie__actions .btn { flex: 1 1 auto; min-height: 44px; padding: 10px 14px; font-size: .88rem; }
@media (min-width: 768px) { .cookie { left: 24px; bottom: 24px; padding: 24px; } }

/* ---------- Red de seguridad del hero ----------
   Mientras carga, el hero se oculta para que la entrada no parpadee.
   main.js quita la clase "motion" en cuanto toma el control; si no llega a
   cargar, el contenido aparece solo a los 2,5 s. */
.motion .hero__text > *, .motion .hero__block, .motion [data-hero-img] {
  opacity: 0;
  animation: rfFallback .6s ease 2.5s forwards;
}
@keyframes rfFallback { to { opacity: 1; } }

/* ---------- Partición de titulares en líneas (la hace main.js) ---------- */
.split-line { display: block; will-change: transform, opacity; }

/* ---------- Movimiento reducido: todo estático ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .site-header, .site-header__inner, .brand .mono { transition: none; }
}

/* ---------- Páginas legales ---------- */
.legal-header { border-bottom: 1px solid var(--beige); }
.legal-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.legal { max-width: 760px; padding-block: clamp(3rem, 6vw, 5rem); }
.legal h1 { font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3.2rem); line-height: 1.1; }
.legal h2 { font-size: 1.35rem; max-width: none; margin-top: 2.4rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1.1em; }
.legal li { margin-bottom: .4em; }
.legal__date { font-size: .85rem; }
.legal__table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-bottom: 1.2em; display: block; overflow-x: auto; }
.legal__table th, .legal__table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--beige); vertical-align: top; }
.legal__table th { color: var(--navy); }
.legal-foot { border-top: 1px solid var(--beige); padding-block: 24px 40px; font-size: .85rem; }

/* Cifras de la calculadora: números de altura uniforme, más fáciles de leer */
.calc__amount, .bar__label strong, .example__result strong { font-variant-numeric: lining-nums tabular-nums; }


/* ---------- Simuladores ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sims__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.sims__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.sims__tabs button {
  min-height: 52px; padding: 10px 14px; cursor: pointer;
  background: transparent; color: var(--white);
  border: 1px solid var(--beige-25); border-radius: var(--radius);
  font-family: var(--sans); font-weight: 600; font-size: .92rem; line-height: 1.25;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.sims__tabs button:hover { border-color: var(--beige); }
.sims__tabs button[aria-selected="true"] { background: var(--beige); color: var(--navy); border-color: var(--beige); }
@media (min-width: 768px) { .sims__tabs { grid-template-columns: repeat(4, 1fr); } }

.sim {
  background: var(--white); color: var(--ink);
  padding: clamp(22px, 4vw, 48px);
  display: grid; gap: 28px; border-radius: var(--radius);
}
.sim + .sim { margin-top: 16px; }
@media (min-width: 960px) { .sim { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.sim__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); margin-bottom: .25em; }
.sim__intro { color: var(--ink-soft); margin-bottom: 1.6rem; }

.sim-field { margin-bottom: 14px; }
.sim-field__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sim-field__top label { font-size: .92rem; font-weight: 600; }
.sim-field__top output { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--navy); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }

.sim-seg { border: 0; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 520px) { .sim-seg { grid-template-columns: repeat(4, 1fr); } }
.sim-seg legend { font-size: .92rem; font-weight: 600; padding: 0; margin-bottom: 8px; }
.sim-seg label { position: relative; cursor: pointer; }
.sim-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sim-seg label span {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 56px; padding: 8px 6px; text-align: center;
  border: 1px solid rgba(17, 17, 17, .35); border-radius: var(--radius);
  font-size: .88rem; font-weight: 600; line-height: 1.2;
  transition: background-color .2s, color .2s, border-color .2s;
}
.sim-seg small { font-size: .75rem; font-weight: 500; opacity: .8; margin-top: 2px; }
.sim-seg label:hover span { border-color: var(--navy); }
.sim-seg input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.sim-seg input:focus-visible + span { box-shadow: 0 0 0 3px var(--beige); }
.sim__hint { font-size: .82rem; color: var(--ink-mute); margin: 12px 0 0; }

.sim__result { background: var(--cream); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; }
.sim__result .bar { margin-bottom: 18px; }
.sim-bar { height: 100%; background: var(--navy); transform-origin: left center; transform: scaleX(var(--r)); transition: transform .6s var(--ease); }
.sim-bar--soft { background: var(--navy-50); }
.sim__small { font-size: .85rem; color: var(--ink-soft); margin: 6px 0 0; }
.sim__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; margin: 0; border-bottom: 1px solid var(--beige); font-size: .95rem; color: var(--ink-soft); }
.sim__row strong { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--navy); white-space: nowrap; }
.sim__big { font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); line-height: 1.35; color: var(--navy); margin: 18px 0 20px; }
.sim__big strong { font-weight: 600; }
.sim__ok { font-family: var(--serif); font-size: 1.2rem; line-height: 1.4; color: var(--navy); margin-bottom: 20px; }
.sim__result .btn { margin-top: auto; }
.sim strong, .sim .bar__label strong { font-variant-numeric: lining-nums tabular-nums; }
.sims__legal { font-size: .8rem; line-height: 1.55; color: var(--white-80); max-width: 90ch; margin: 20px 0 0; }
/* Dentro de la tarjeta blanca del simulador, los colores vuelven a los de fondo claro */
.section--navy .sim h3 { color: var(--navy); }
.section--navy .sim .btn--primary { background: var(--navy); color: var(--white); }
.section--navy .sim .btn--primary:hover { background: rgba(11, 31, 58, .88); box-shadow: 0 0 0 4px var(--beige); }
.section--navy .sim :focus-visible { outline-color: var(--navy); }

.step__tag { font-family: "Cormorant Garamond", var(--serif); font-style: italic; font-weight: 600; font-size: 1.05em; white-space: nowrap; }

/* ---------- Menú en azul difuminado ---------- */
.site-header::before {
  opacity: 1;
  background: rgba(11, 31, 58, .82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(232, 220, 200, .12);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-compact::before { background: rgba(11, 31, 58, .9); box-shadow: 0 8px 28px rgba(11, 31, 58, .22); }
.site-header .brand { color: var(--beige); }
.site-header .nav__list a { color: rgba(255, 255, 255, .88); }
.site-header .nav__list a:hover { color: var(--white); }
.site-header .site-header__cta { background: var(--beige); color: var(--navy); }
.site-header .site-header__cta:hover { background: var(--white); box-shadow: none; }
.site-header .burger span { background: var(--beige); }
.site-header :focus-visible { outline-color: var(--beige); }
/* Sin soporte de difuminado: azul casi opaco para que el texto siempre se lea */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header::before { background: rgba(11, 31, 58, .96); }
}

/* Aviso regulatorio del pie: pequeño y discreto, pero legible (contraste suficiente) */
.disclaimer--regulatory { font-size: .74rem; line-height: 1.55; color: rgba(17, 17, 17, .58); max-width: 110ch; margin-top: -.4rem; }

/* Cómo te ayudo: seis objetivos */
@media (min-width: 640px) and (max-width: 959px) { .cards--six { grid-template-columns: repeat(2, 1fr); } }
.card__actions { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--beige); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__actions .card__cta { margin: 0; padding: 0; border: 0; width: auto; }
.card__link { font-size: .9rem; font-weight: 600; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--beige); min-height: 44px; display: inline-flex; align-items: center; }
.card__link:hover { color: var(--navy); text-decoration-color: var(--navy); }

/* Enlace de descarga con icono */
.card__link--download::before {
  content: ""; width: 14px; height: 14px; margin-right: 6px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Gráficos de los simuladores ---------- */
.sim-chart { margin: 4px 0 6px; min-height: 190px; }
.sim-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.sim-chart__grid { stroke: rgba(11, 31, 58, .1); stroke-width: 1; }
.sim-chart__label { font: 500 11px var(--sans); fill: rgba(17, 17, 17, .6); }
.sim-chart__goal { stroke: #0B1F3A; stroke-width: 1.25; stroke-dasharray: 4 4; opacity: .7; }
.sim-chart__goal-label { font: 700 11px var(--sans); fill: #0B1F3A; }
.sim-chart__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 0; font-size: .78rem; color: var(--ink-soft); }
.sim-chart__legend li { display: inline-flex; align-items: center; gap: 6px; }
.sim-chart__legend span { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }

/* ---------- Selector de idioma ---------- */
.lang { gap: 6px; align-items: center; font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
.site-header .lang { color: rgba(255, 255, 255, .5); }
.site-header .lang a { color: rgba(255, 255, 255, .7); text-decoration: none; padding: 10px 2px; min-height: 44px; display: inline-flex; align-items: center; }
.site-header .lang a:hover { color: var(--white); }
.site-header .lang a[aria-current] { color: var(--beige); }
@media (max-width: 1179px) { .site-header .lang { margin-right: 4px; } }

/* ---------- Pasos dinámicos ---------- */
.step__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.step__top .step__num { margin: 0; }
.step__icon { width: 40px; height: 40px; fill: none; stroke: var(--navy); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.steps--dynamic .step > * { opacity: .38; transition: opacity .6s var(--ease); }
.steps--dynamic .step > .step__top { opacity: 1; }
.steps--dynamic .step__num { color: var(--navy-50); transition: color .6s var(--ease); }
.steps--dynamic .step::before { background: var(--navy-15); transition: background-color .6s var(--ease), box-shadow .6s var(--ease); }
.steps--dynamic .step__icon path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease); }
.steps--dynamic .step.is-on > * { opacity: 1; }
.steps--dynamic .step.is-on .step__num { color: var(--navy); }
.steps--dynamic .step.is-on::before { background: var(--navy); }
.steps--dynamic .step.is-current::before { box-shadow: 0 0 0 5px var(--beige); }
.steps--dynamic .step.is-on .step__icon path { stroke-dashoffset: 0; }

/* ---------- Comunidad WhatsApp ---------- */
.community { padding-block: clamp(3.5rem, 3rem + 3vw, 6rem); }
.community__card {
  display: grid; gap: 1.5rem; align-items: center;
  background: var(--white); border: 1px solid var(--beige);
  border-radius: calc(var(--radius) * 2);
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
}
.community__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(37, 211, 102, .18);
}
.community__icon svg { width: 32px; height: 32px; }
.community__icon .stroke { fill: none; stroke: var(--white); stroke-width: 1.6; }
.community__icon .fill { fill: var(--white); }
.community__text .eyebrow { margin-bottom: .8rem; }
.community__text h2 { margin: 0 0 .6rem; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.community__text p:not(.eyebrow) { color: var(--ink-soft); max-width: 46ch; margin: 0; }
.community__cta { display: grid; gap: .8rem; }
.community__cta .fineprint { max-width: 34ch; }
@media (max-width: 767px) { .community__cta .btn { width: 100%; } }
@media (min-width: 960px) {
  .community__card { grid-template-columns: auto 1fr auto; gap: 2.5rem; }
}

/* ---------- Testimonio destacado ---------- */
.quote--featured {
  position: relative; max-width: 760px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--beige);
  padding: clamp(2.2rem, 1.5rem + 3vw, 3.5rem) clamp(1.5rem, 1rem + 3vw, 3.5rem);
}
.quote__mark {
  position: absolute; top: -.35em; left: clamp(1rem, .5rem + 2vw, 2.5rem);
  font-family: var(--serif); font-size: 6rem; line-height: 1; color: var(--beige);
}
.quote--featured blockquote { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); }
.quote--featured blockquote p { margin: 0 0 .9em; }
.quote--featured blockquote p:last-child { margin-bottom: 0; }
.quote--featured figcaption strong { color: var(--navy); }
.quote__note { display: block; margin-top: .3rem; font-size: .78rem; color: var(--ink-mute); }
html[lang="ca"] .quote__note--es, html:not([lang="ca"]) .quote__note--ca { display: none; }

/* Séptimo objetivo: tarjeta ancha en la última fila */
@media (min-width: 640px) {
  .card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 28px; align-items: start; }
  .card--wide .card__icon { grid-row: 1 / span 3; margin: 0; }
  .card--wide h3, .card--wide p, .card--wide .card__actions { grid-column: 2; }
  .card--wide p { max-width: 62ch; }
}

/* Reserva directa en el calendario */
.booking__alt { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--beige-25); }
.booking__alt p { color: var(--beige); margin: 0 0 .8rem; font-weight: 600; }
.booking__alt .btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
@media (max-width: 639px) { .booking__alt .btn { width: 100%; } }

/* El problema sobre fondo azul */
.section--navy.problem .problem__text p:not(.eyebrow):not(.lead) { color: var(--white-80); }
.section--navy.problem .problem__good { color: var(--beige) !important; border-left-color: var(--beige); }
.section--navy.problem .example { border-color: transparent; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.section--navy.problem .calc .btn--primary { background: var(--navy); color: var(--white); }
.section--navy.problem .calc .btn--primary:hover { background: rgba(11, 31, 58, .88); box-shadow: 0 0 0 4px var(--beige); }
.section--navy.problem .calc :focus-visible { outline-color: var(--navy); }

/* Varios testimonios */
.quotes { display: grid; gap: 40px; }
.quotes .quote--featured { max-width: none; margin: 0; }
@media (min-width: 960px) { .quotes { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; } }

/* Testimonios más compactos */
.quotes { max-width: 980px; margin-inline: auto; }
.quotes .quote--featured { padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem) clamp(1.3rem, 1rem + 1.5vw, 2rem); }
.quotes .quote--featured blockquote { font-size: clamp(1rem, .95rem + .25vw, 1.1rem); line-height: 1.5; margin-bottom: 16px; }
.quotes .quote--featured blockquote p { margin-bottom: .7em; }
.quotes .quote__mark { font-size: 4.2rem; }
.quotes .quote--featured figcaption { font-size: .85rem; }
/* Tres testimonios en fila en pantallas grandes */

@media (min-width: 960px) { .quotes > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: calc(50% - 16px) !important; } }
@media (min-width: 960px) { .quotes { align-items: stretch; } }

/* Testimonios: tarjetas pequeñas (3 por fila en ordenador, carrusel en móvil) */
.quotes { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; max-width: 1180px; }
.quotes .quote--featured {
  flex: 0 1 calc((100% - 40px) / 3); max-width: none !important;
  padding: 1.4rem 1.3rem 1.2rem;
}
.quotes .quote--featured blockquote { font-size: .95rem; line-height: 1.5; margin-bottom: 12px; }
.quotes .quote--featured blockquote p { margin-bottom: .6em; }
.quotes .quote__mark { font-size: 3.2rem; top: -.3em; }
.quotes .quote--featured figcaption { font-size: .8rem; }
.quotes > :last-child:nth-child(odd) { grid-column: auto; max-width: none !important; }
@media (min-width: 640px) and (max-width: 959px) { .quotes .quote--featured { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 639px) {
  .quotes {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -16px; padding: 18px 16px 12px; scrollbar-width: none;
  }
  .quotes::-webkit-scrollbar { display: none; }
  .quotes .quote--featured { flex: 0 0 85%; scroll-snap-align: center; }
}

/* Testimonios: cinta horizontal */
.quotes--marquee {
  display: block; max-width: none; overflow: hidden;
  width: 100vw; margin-left: calc(50% - 50vw); margin-right: 0; padding: 22px 0 8px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  cursor: grab; touch-action: pan-y; user-select: none;
}
.quotes--marquee.is-dragging { cursor: grabbing; }
.quotes__track { display: flex; gap: 20px; width: max-content; will-change: transform; align-items: flex-start; }
.quotes--marquee .quote--featured { flex: 0 0 clamp(270px, 28vw, 360px) !important; margin: 0; }
/* Movimiento reducido: fila que se desliza a mano */
.quotes--scroll {
  flex-wrap: nowrap !important; justify-content: flex-start !important; overflow-x: auto; scroll-snap-type: x mandatory;
  max-width: none; padding: 18px 4px 12px;
}
.quotes--scroll .quote--featured { flex: 0 0 clamp(270px, 28vw, 360px) !important; scroll-snap-align: start; }

/* ¿Te suena? */
.suena__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; max-width: 1040px; margin-inline: auto; }
@media (min-width: 768px) { .suena__grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.suena__item {
  display: flex; align-items: center; gap: 18px;
  background: var(--white); border: 1px solid var(--beige);
  padding: 22px 24px; font-size: clamp(1rem, .95rem + .25vw, 1.1rem); line-height: 1.45; color: var(--ink);
}
.suena__check { flex: none; position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--beige); }
.suena__check::after {
  content: ""; position: absolute; left: 13px; top: 12px; width: 12px; height: 7px;
  border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg);
}
