/* ==========================================================================
   RCM3 — Hoja de estilos (misma base que next.renovetec.com)
   Colores tomados del logotipo: rojo y granate de la banda, plata de la esfera.
   ========================================================================== */

@font-face { font-family: "Outfit"; src: url("../fonts/outfit-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #23252b;
  --ink-2: #3a3d45;
  --text: #4a4d55;
  --muted: #6d717b;
  --line: #e2e4e9;
  --line-2: #eef0f3;
  --bg: #ffffff;
  --panel: #f4f5f8;
  --panel-2: #f6e3e4;
  --brand: #a31d22;
  --brand-2: #7d1418;
  --dark: #2a1215;
  --accent: #c8232a;
  --accent-2: #a31d22;
  --accent-soft: #fbeced;
  --danger: #c8232a;
  --danger-soft: #fbeced;
  --silver: #a7adb9;
  --grad: linear-gradient(120deg, #6e0b0e 0%, #b01e23 55%, #df4a4f 100%);
  --ok: #a31d22;

  --f-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-display: "Outfit", "Inter", system-ui, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --sh-sm: 0 1px 2px rgba(35, 37, 43, .04), 0 4px 14px rgba(35, 37, 43, .05);
  --sh: 0 18px 40px -18px rgba(35, 37, 43, .25);
  --sh-lg: 0 40px 80px -30px rgba(35, 37, 43, .38);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --container: 1200px;
  --wide: 1400px;
  --gutter: clamp(16px, 3.5vw, 32px);
  --section: clamp(64px, 8vw, 112px);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 72px); }
body { margin: 0; font-family: var(--f-sans); font-size: 1rem; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); margin: 0; font-weight: 400; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0 0 1em; } p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.icon { width: 1.2em; height: 1.2em; flex: none; }
.icon--sm { width: 1em; height: 1em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.wide { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: clamp(12px, 2vw, 24px); }

/* ---------- Tipografía ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 5px 12px; border-radius: 999px; background: var(--panel-2); color: var(--brand); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.eyebrow--light { background: rgba(255, 255, 255, .1); color: #fff; }
.eyebrow--white { background: #fff; }
.display { font-size: clamp(2.3rem, 4.4vw, 3.8rem); font-weight: 300; letter-spacing: -.025em; line-height: 1.06; }
.h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); font-weight: 300; letter-spacing: -.015em; }
.h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 400; }
.lead { font-size: clamp(1.05rem, 1.2vw, 1.15rem); line-height: 1.65; color: var(--muted); }
.text-gradient { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.small { font-size: .875rem; color: var(--muted); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 1px solid transparent; background: var(--brand); color: #fff; font-weight: 500; font-size: .9688rem; line-height: 1.2; white-space: nowrap; transition: background .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.btn .icon { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--primary:hover { background: var(--brand-2); box-shadow: 0 12px 24px -12px rgba(163, 29, 34, .7); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(35, 37, 43, .22); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(35, 37, 43, .04); }
.btn--outline-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { background: #fff; color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--panel); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .9063rem; }
.btn--lg { min-height: 54px; padding: 14px 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--play .icon:first-child { width: 30px; height: 30px; padding: 8px; margin-left: -12px; border-radius: 50%; background: var(--accent); color: #fff; }
.btn--play:hover .icon:first-child { transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--brand); }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--accent-2); }
.link-arrow:hover .icon { transform: translateX(4px); }
.linklike { text-decoration: underline; color: inherit; font-size: inherit; }

/* ---------- Topbar + cabecera ---------- */
.topbar { background: var(--panel); color: var(--muted); font-size: .8125rem; border-bottom: 1px solid var(--line-2); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; }
.topbar__claim { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar__claim a { text-decoration: underline; text-underline-offset: 2px; }
.topbar__claim a:hover { color: var(--ink); }
.topbar__links { display: flex; gap: 22px; }
.topbar__links a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar__links a:hover { color: var(--ink); }
.topbar__links .icon { width: 14px; height: 14px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(35, 37, 43, .4); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { flex: none; }
.brand__logo { width: 132px; height: auto; }
.nav { margin-left: auto; min-width: 0; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px; font-size: .9375rem; color: var(--ink); white-space: nowrap; transition: background .2s, color .2s; }
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--panel); }
.nav__item.is-current > .nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav__link .icon { width: 15px; height: 15px; transition: transform .25s; }
.nav__item.is-open > .nav__link .icon { transform: rotate(180deg); }
.nav__mobile-cta { display: none; }

.mega { position: absolute; top: calc(100% + 12px); left: 50%; width: 600px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega__link { display: flex; gap: 14px; padding: 14px; border-radius: var(--r); transition: background .2s; }
.mega__link:hover { background: var(--panel); }
.mega__link strong { display: block; font-weight: 500; font-size: .9688rem; }
.mega__link small { display: block; color: var(--muted); font-size: .8438rem; line-height: 1.45; margin-top: 2px; }
.mega__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--panel-2); color: var(--brand); transition: background .25s, color .25s; }
.mega__link:hover .mega__icon { background: var(--brand); color: #fff; }
.mega__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding: 14px 16px; border-radius: var(--r); background: var(--panel); color: var(--ink); font-size: .9063rem; font-weight: 500; transition: background .2s; }
.mega__foot:hover { background: var(--panel-2); }
.mega__foot .icon { color: var(--accent); }

.header__actions { flex: none; display: flex; align-items: center; gap: 12px; }
.header__phone { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--panel); color: var(--ink); transition: background .25s, color .25s; }
.header__phone:hover { background: var(--brand); color: #fff; }
.header__phone .icon { width: 18px; height: 18px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; background: var(--panel); }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--brand); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 21.5px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Secciones ---------- */
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--flush-top { padding-top: 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .lead { margin-top: 14px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.section-head--split > div { max-width: 680px; }

/* Panel: bloque redondeado en tono claro de la marca */
.section--panel { padding-block: clamp(24px, 3vw, 40px); }
.section--panel > .container { max-width: var(--wide); background: var(--panel); border-radius: var(--r-xl); padding: clamp(36px, 5vw, 72px) clamp(20px, 5vw, 72px); position: relative; overflow: hidden; isolation: isolate; }
.section--panel > .container > * { max-width: calc(var(--container) - 2 * var(--gutter)); margin-inline: auto; }

/* Banda oscura (única en cada página) */
.band { padding-block: clamp(24px, 3vw, 40px); }
.band__box { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 6vw, 88px) clamp(20px, 5vw, 72px); border-radius: var(--r-xl); background: var(--dark); color: #dccfd0; }
.band__box h2 { color: #fff; }
.band__box .lead { color: #bdabad; }

/* ---------- Cristal ---------- */
.glass { background: rgba(255, 255, 255, .8); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 20px 50px -24px rgba(35, 37, 43, .35); }

/* ---------- Símbolo de marca (X del logotipo) ---------- */
.mark { position: absolute; z-index: -1; pointer-events: none; display: block; aspect-ratio: 400 / 355; background-color: currentColor; color: #9a9fa9; opacity: .12;
  -webkit-mask: url("../img/mark-rcm.png") no-repeat center / contain; mask: url("../img/mark-rcm.png") no-repeat center / contain; }

/* ==========================================================================
   Portada
   ========================================================================== */
.hero { padding-top: clamp(12px, 1.6vw, 20px); }
.hero__panel { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(28px, 4vw, 64px); padding: clamp(36px, 5vw, 80px) clamp(20px, 4vw, 64px); border-radius: var(--r-xl); background: var(--panel); }
.hero__panel .mark { left: -60px; bottom: -70px; width: 360px; color: var(--brand); opacity: .05; }
.hero__copy .display { margin-bottom: 20px; }
.hero__copy .lead { color: var(--text); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__note { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 26px; font-size: .875rem; color: var(--muted); }
.hero__note li { display: inline-flex; align-items: center; gap: 6px; }
.hero__note .icon { width: 16px; height: 16px; color: var(--ok); }
.hero__visual { position: relative; }
.hero__shot { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 4 / 3; background: #22303d; }
.hero__shot img { width: 100%; height: 100%; object-fit: cover; }
.chip-ui { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; font-size: .8438rem; line-height: 1.35; color: var(--text); animation: float 6s ease-in-out infinite; }
.chip-ui strong { display: block; font-size: .875rem; }
.chip-ui__icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--brand); color: #fff; }
.chip-ui__icon .icon { width: 18px; height: 18px; }
.chip-ui__icon--ok { background: var(--accent-soft); color: var(--ok); }
.chip-ui__icon--red { background: var(--danger-soft); color: var(--danger); }
.chip-ui--a { left: -28px; top: 12%; }
.chip-ui--b { right: -18px; bottom: 16%; animation-delay: -2s; }
.chip-ui--c { left: 8%; bottom: -22px; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Hechos bajo el hero */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.fact { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: var(--r-lg); background: var(--panel); font-size: .9063rem; color: var(--muted); line-height: 1.4; }
.fact strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; color: var(--ink); }
.fact .icon { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: #fff; color: var(--accent-2); }

/* ---------- Tarjetas de módulo ---------- */
.mods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mod { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
a.mod:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: transparent; }
.mod__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--panel); color: var(--brand); margin-bottom: 20px; transition: background .3s, color .3s; }
.mod__icon .icon { width: 22px; height: 22px; }
a.mod:hover .mod__icon { background: var(--brand); color: #fff; }
.mod h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 8px; }
.mod p { color: var(--muted); font-size: .9375rem; margin: 0; }
.mod__go { position: absolute; top: 24px; right: 24px; color: var(--muted); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease), color .3s; }
.mod__go .icon { width: 18px; height: 18px; }
a.mod:hover .mod__go { opacity: 1; transform: none; color: var(--accent-2); }
.mod--cta { background: var(--dark); border-color: var(--dark); color: #dccfd0; overflow: hidden; isolation: isolate; justify-content: space-between; }
.mod--cta h3 { color: #fff; font-size: 1.3rem; font-weight: 300; }
.mod--cta p { color: #bdabad; }
.mod--cta .link-arrow { color: #fff; margin-top: 18px; }
.mod--cta .mark { right: -30px; bottom: -40px; width: 170px; opacity: .14; }
.section--panel .mod { border-color: transparent; }

/* ---------- Pestañas (flujo de trabajo) ---------- */
.tabs__list { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; margin-bottom: 40px; box-shadow: var(--sh-sm); }
.tabs__btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; font-size: .9375rem; color: var(--muted); transition: background .3s, color .3s; }
.tabs__btn span { font-family: var(--f-display); font-size: .8125rem; color: var(--accent-2); }
.tabs__btn[aria-selected="true"] { background: var(--brand); color: #fff; }
.tabs__btn[aria-selected="true"] span { color: #ffb3b5; }
.tabs__btn:hover:not([aria-selected="true"]) { color: var(--ink); }
.tabs__panel { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.tabs__panel[hidden] { display: none; }
.tabs__panel.is-in { animation: fadeUp .6s var(--ease); }
.tabs__panel h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 300; margin-bottom: 14px; }
.tabs__media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); }
.tabs__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Listas con check */
.checklist { display: grid; gap: 12px; margin-top: 22px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--accent-soft); color: var(--ok); margin-top: 1px; }
.checklist--2 { grid-template-columns: 1fr 1fr; gap: 12px 24px; }

/* ---------- Cifras (banda oscura) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 1; }
.stat { padding: 8px clamp(16px, 2.4vw, 32px); border-left: 1px solid rgba(255, 255, 255, .12); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { display: flex; align-items: baseline; gap: 4px; font-family: var(--f-display); font-weight: 200; font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -.03em; color: #fff; }
.stat__num small { font-size: .55em; font-weight: 300; color: #ff8a8f; }
.stat__label { margin-top: 12px; font-size: .9375rem; color: #ad9a9c; line-height: 1.5; max-width: 240px; }
.band__box .mark { right: 3%; bottom: -60px; width: min(32vw, 420px); color: #fff; opacity: .06; }
.band__head { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.band__head > div { max-width: 640px; }

/* ---------- Precios ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.plan--featured { border: 0; box-shadow: var(--sh-lg); }
.plan--featured::before { content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan__tag { position: absolute; top: -13px; left: 32px; padding: 4px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .04em; }
.plan__name { font-size: 1.25rem; font-weight: 500; margin-bottom: 6px; }
.plan__desc { font-size: .9375rem; color: var(--muted); min-height: 3.2em; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 4px; font-family: var(--f-display); color: var(--ink); }
.plan__price strong { font-weight: 300; font-size: clamp(2.4rem, 3.6vw, 3rem); letter-spacing: -.03em; line-height: 1; }
.plan__price span { font-size: 1rem; color: var(--muted); }
.plan__tax { font-size: .8125rem; color: var(--muted); margin-bottom: 18px; }
.plan .checklist { margin: 4px 0 26px; font-size: .9375rem; }
.plan .btn { margin-top: auto; }
.section--panel .plan { border-color: transparent; }
.price-note { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 26px; font-size: .9375rem; color: var(--muted); text-align: center; }
.price-note li { display: inline-flex; align-items: center; gap: 8px; }
.price-note .icon { color: var(--ok); width: 18px; height: 18px; }

/* Calculadora de coste */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); }
.calc__controls { display: grid; gap: 26px; }
.calc label { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.calc output { font-family: var(--f-display); font-size: 1.15rem; }
.calc input[type="range"] { width: 100%; accent-color: var(--ink); }
.calc__check { display: flex !important; justify-content: flex-start !important; align-items: center; gap: 10px !important; font-weight: 400 !important; color: var(--text) !important; cursor: pointer; }
.calc__check input { width: 18px; height: 18px; accent-color: var(--ink); }
.calc__result { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--panel); }
.calc__row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.calc__row:last-of-type { border-bottom: 0; }
.calc__row strong { font-family: var(--f-display); font-weight: 400; font-size: 1.05rem; }
.calc__big { margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.calc__big span { display: block; font-size: .875rem; color: var(--muted); }
.calc__big strong { display: block; font-family: var(--f-display); font-weight: 300; font-size: clamp(2.2rem, 3.6vw, 3rem); letter-spacing: -.03em; line-height: 1.1; }

/* Comparativa */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9688rem; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.compare thead th { font-family: var(--f-display); font-weight: 500; color: var(--ink); background: var(--panel); font-size: 1rem; }
.compare thead th.is-next { background: var(--brand); color: #fff; }
.compare tbody th { font-weight: 500; color: var(--ink); width: 30%; }
.compare td.is-next { background: #fafafb; color: var(--ink); font-weight: 500; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .icon { display: inline-block; vertical-align: -3px; width: 18px; height: 18px; margin-right: 6px; }
.compare .is-yes .icon, .compare .is-next .icon { color: var(--ok); }
.compare .is-no .icon { color: var(--accent-2); }
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); }

/* ---------- Split / media ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media { position: relative; }
.split__media > img { width: 100%; border-radius: var(--r-lg); object-fit: cover; aspect-ratio: 4 / 3; }
.split__badge { position: absolute; left: 20px; bottom: 20px; padding: 18px 22px; border-radius: var(--r); max-width: 260px; }
.split__badge strong { display: block; font-family: var(--f-display); font-weight: 300; font-size: 2.2rem; line-height: 1; color: var(--ink); }
.split__badge span { display: block; margin-top: 6px; font-size: .875rem; color: var(--text); line-height: 1.4; }

/* ---------- Móvil (maqueta de la app hecha en CSS) ---------- */
.phone-stage { position: relative; display: grid; place-items: center; padding: clamp(24px, 4vw, 48px) 0; }
.phone-stage::before { content: ""; position: absolute; width: min(420px, 90%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, 0) 70%); }
.phone { position: relative; width: 280px; aspect-ratio: 9 / 18.5; padding: 10px; border-radius: 42px; background: #111820; box-shadow: 0 50px 80px -30px rgba(35, 37, 43, .55), inset 0 0 0 2px #2a3440; }
.phone__screen { position: relative; height: 100%; border-radius: 33px; overflow: hidden; background: #f3f6f8; display: flex; flex-direction: column; font-size: 11px; color: #34404c; }
.phone__notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 999px; background: #111820; z-index: 2; }
.phone__bar { padding: 40px 16px 14px; background: #2e3e4e; color: #fff; }
.phone__bar img { width: 74px; }
.phone__bar p { margin: 10px 0 0; font-size: 15px; font-family: var(--f-display); }
.phone__body { flex: 1; padding: 12px; display: grid; gap: 8px; align-content: start; }
.phone__card { padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.phone__card b { display: block; font-size: 11.5px; color: #1b2733; font-weight: 600; }
.phone__card span { color: #78858f; font-size: 10px; }
.phone__pill { float: right; padding: 2px 8px; border-radius: 999px; font-size: 9px; font-weight: 600; background: var(--accent-soft); color: var(--accent-2); }
.phone__pill--wait { background: #fff4d6; color: #8a5a00; }
.phone__pill--new { background: var(--danger-soft); color: var(--danger); }
.phone__scan { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 12px 14px; padding: 12px; border-radius: 14px; background: #1b2733; color: #fff; font-weight: 600; font-size: 12px; }
.phone__scan .icon { width: 18px; height: 18px; }
.phone-chip { position: absolute; }
.phone-chip--a { left: 0; top: 18%; }
.phone-chip--b { right: 0; bottom: 20%; animation-delay: -3s; }

/* ---------- Cabecera de páginas interiores ---------- */
.page-hero { padding-top: clamp(12px, 1.6vw, 20px); }
.page-hero__panel { position: relative; min-height: clamp(420px, 56vh, 540px); display: flex; align-items: flex-end; padding: clamp(16px, 4vw, 56px); border-radius: var(--r-xl); overflow: hidden; isolation: isolate; background: var(--panel); }
.page-hero__panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: heroZoom 9s var(--ease) both; }
.page-hero__panel.has-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(35, 37, 43, .32), rgba(35, 37, 43, 0) 65%); }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.page-hero__panel:not(.has-image) { min-height: 0; padding-top: clamp(48px, 6vw, 88px); }
.page-hero__panel:not(.has-image) .mark { right: 5%; bottom: -60px; width: min(36vw, 420px); color: var(--brand); opacity: .06; }
.page-hero__card { position: relative; width: min(720px, 100%); padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-lg); }
.page-hero__panel:not(.has-image) .page-hero__card { padding: 0; }
.page-hero h1 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 16px; }
.page-hero .lead { color: var(--text); max-width: 620px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8438rem; color: var(--muted); margin-bottom: 18px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #a9adb6; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }

/* Sub-navegación */
.subnav { position: sticky; top: var(--header-h); z-index: 40; padding-block: 10px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.subnav__list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 5px; border-radius: 999px; background: var(--panel); width: max-content; max-width: 100%; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list a { display: inline-block; white-space: nowrap; padding: 8px 16px; border-radius: 999px; font-size: .9063rem; color: var(--muted); transition: background .25s, color .25s, box-shadow .25s; }
.subnav__list a:hover { color: var(--ink); }
.subnav__list a.is-active { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }

/* Bloque con columna lateral fija */
.block { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 80px); padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.block:first-child { border-top: 0; }
.block__aside { position: sticky; top: calc(var(--header-h) + 90px); align-self: start; }
.block__num { font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--accent-2); text-transform: uppercase; }
.block__aside h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 300; margin: 10px 0 14px; }
.block__aside p { color: var(--muted); }
.block__body { display: grid; gap: 16px; }

/* Ficha de módulo dentro de funcionalidades */
.feature { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--panel); scroll-margin-top: calc(var(--header-h) + 80px); }
.feature__head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.feature__head .mod__icon { margin: 0; background: #fff; }
.feature h3 { font-size: 1.3rem; font-weight: 400; }
.feature > p { color: var(--text); }
.feature .checklist { margin-top: 16px; }
.feature .checklist .icon { background: #fff; }
.feature__foot { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.video-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); font-size: .9375rem; }
.video-link .icon { width: 30px; height: 30px; padding: 8px; border-radius: 50%; background: var(--accent); color: #fff; transition: transform .3s var(--ease); }
.video-link:hover .icon { transform: scale(1.08); }

/* Tarjetas genéricas */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: transparent; }
.card h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .9375rem; }
.card .link-arrow { margin-top: auto; padding-top: 18px; font-size: .9375rem; }
.card .tags { margin-top: 16px; }
.section--panel .card { border-color: transparent; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 4px 11px; border-radius: 999px; background: var(--panel); font-size: .8125rem; color: var(--ink); }
.section--panel .tags li { background: var(--panel); }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: st; }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.steps li { counter-increment: st; padding-top: 18px; border-top: 1px solid var(--line); }
.steps li::before { content: "0" counter(st); display: block; font-family: var(--f-display); font-size: .875rem; color: var(--accent-2); margin-bottom: 10px; }
.steps strong { display: block; font-family: var(--f-display); font-size: 1.1rem; font-weight: 500; margin-bottom: 4px; }
.steps span { display: block; font-size: .9375rem; color: var(--muted); }

/* Sectores (fila) */
.sector-row { display: flex; align-items: center; gap: 24px; margin-top: clamp(32px, 4vw, 48px); padding: 20px 24px; border-radius: var(--r-lg); background: #fff; }
.sector-row__label { margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); flex: none; }
.sector-row ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.sector-row li { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; color: var(--text); }
.sector-row .icon { width: 17px; height: 17px; color: var(--accent-2); }
.sector-row .link-arrow { margin-left: auto; flex: none; font-size: .9375rem; }

/* Beneficios */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.benefit { padding: 28px; border-radius: var(--r-lg); background: #fff; }
.benefit .icon { width: 28px; height: 28px; color: var(--accent-2); margin-bottom: 18px; }
.benefit h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: .9375rem; }

/* ---------- Vídeos ---------- */
.videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.video { display: flex; flex-direction: column; text-align: left; }
.video__thumb { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--panel); margin-bottom: 16px; }
.video__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.video__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35, 37, 43, 0) 50%, rgba(35, 37, 43, .45)); }
.video__play { position: absolute; z-index: 1; left: 18px; bottom: 18px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--accent); transition: transform .3s var(--ease), background .3s, color .3s; }
.video__play .icon { width: 18px; height: 18px; margin-left: 3px; fill: currentColor; }
.video:hover .video__thumb img { transform: scale(1.05); }
.video:hover .video__play { background: var(--accent); color: #fff; transform: scale(1.06); }
.video__n { position: absolute; z-index: 1; top: 16px; left: 16px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .88); font-size: .75rem; font-weight: 600; color: var(--ink); }
.video__title { font-family: var(--f-display); font-size: 1.1rem; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.video__text { font-size: .9063rem; color: var(--muted); }
.video-group + .video-group { margin-top: clamp(44px, 6vw, 64px); }
.video-group__title { display: flex; align-items: center; gap: 12px; font-size: 1.45rem; font-weight: 300; margin-bottom: 22px; }
.video-group__title .icon { color: var(--accent-2); }

/* Lightbox de vídeo */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(20, 12, 13, .86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lightbox__box { width: min(1100px, 100%); }
.lightbox__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; }
.lightbox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; color: #dccfd0; font-size: .875rem; }
.lightbox__bar a { text-decoration: underline; }
.lightbox__close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); }
.lightbox__close .icon { width: 20px; height: 20px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--sh-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; font-family: var(--f-display); font-size: 1.1rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--panel); color: var(--ink); transition: transform .35s var(--ease), background .3s, color .3s; }
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq__a { padding: 0 24px 22px; color: var(--muted); }
.faq__a a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.section--panel .faq details { border-color: transparent; }
.faq-group + .faq-group { margin-top: clamp(40px, 5vw, 56px); }
.faq-group__title { display: flex; align-items: center; gap: 12px; font-size: 1.4rem; font-weight: 300; margin-bottom: 18px; }
.faq-group__title .icon { color: var(--accent-2); }

/* ---------- Equipo ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.person { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: var(--r-lg); background: #fff; }
.person__img { flex: none; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--panel-2); color: var(--brand); font-family: var(--f-display); font-size: 1.3rem; }
.person__img img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { font-size: 1.05rem; font-weight: 500; }
.person p { margin: 2px 0 0; color: var(--muted); font-size: .9063rem; }
.quote { position: relative; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--panel); }
.quote__text { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.3rem, 2.1vw, 1.7rem); line-height: 1.38; color: var(--ink); margin: 0; }
.quote__by { margin-top: 18px; color: var(--muted); font-size: .9375rem; }

/* ---------- Contacto ---------- */
.contact-topic { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 10px 18px; border-radius: 999px; background: var(--panel); color: var(--text); font-size: .9375rem; }
.contact-topic .icon { color: var(--accent-2); }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.topics a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .9063rem; color: var(--ink); transition: background .2s, border-color .2s, color .2s; }
.topics a:hover { border-color: var(--ink); }
.topics a.is-on { background: var(--brand); border-color: var(--ink); color: #fff; }
.contact-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-way { display: flex; flex-direction: column; padding: 30px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.contact-way:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: transparent; }
.contact-way__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--panel); color: var(--accent-2); margin-bottom: 22px; transition: background .3s, color .3s; }
.contact-way__icon .icon { width: 24px; height: 24px; }
.contact-way:hover .contact-way__icon { background: var(--brand); color: #fff; }
.contact-way__label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-way__value { margin-top: 6px; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--ink); word-break: break-word; }
.contact-way__note { margin: 8px 0 20px; font-size: .9063rem; color: var(--muted); }
.contact-way .link-arrow { margin-top: auto; }
.contact-help { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; margin-top: 24px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: var(--panel); }
.contact-help .h3 { margin-bottom: 4px; }
.contact-help__quote { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: 1.25rem; line-height: 1.45; color: var(--ink); }
.contact-office { display: grid; gap: 14px; margin: 22px 0 6px; }
.contact-office li { display: flex; gap: 12px; align-items: flex-start; }
.contact-office .icon { color: var(--accent-2); margin-top: 3px; }
.contact-office a { text-decoration: underline; text-underline-offset: 3px; }
.map-card { position: relative; display: flex; align-items: flex-end; min-height: 260px; padding: 28px; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; background: #fff; }
.map-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 42%, rgba(200, 35, 42, .14), transparent 40%), repeating-radial-gradient(circle at 50% 42%, rgba(35, 37, 43, .05) 0 1px, transparent 1px 26px); }
.map-card__pin { position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 0 0 10px rgba(200, 35, 42, .16); }
.map-card__pin .icon { width: 26px; height: 26px; }
.map-card strong { display: block; font-family: var(--f-display); font-size: 1.3rem; font-weight: 400; }
.map-card span span { color: var(--muted); }

/* ---------- Legales ---------- */
.legal-hero { padding: clamp(48px, 6vw, 80px) 0 32px; }
.legal-hero h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 300; }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.45rem; font-weight: 400; margin: 2em 0 .6em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .9375rem; }
.prose th, .prose td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); background: var(--panel); font-weight: 500; }
.pending { background: #fff4c2; padding: 0 4px; border-radius: 4px; }

/* ---------- CTA final ---------- */
.cta-band { padding-block: clamp(24px, 3vw, 40px) clamp(48px, 6vw, 80px); }
.cta-band__box { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding: clamp(36px, 5vw, 72px); border-radius: var(--r-xl); background: var(--panel); }
.cta-band__box .mark { right: 3%; bottom: -50px; width: min(30vw, 360px); color: var(--brand); opacity: .07; }
.cta-band__title { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 300; letter-spacing: -.015em; margin-bottom: 14px; }
.cta-band__text { font-size: 1.05rem; max-width: 560px; color: var(--muted); }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; justify-self: end; width: 100%; max-width: 340px; }

/* ---------- Footer ---------- */
.footer { background: var(--panel); color: var(--muted); font-size: .9375rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 44px; padding-block: 64px 48px; }
.footer__brand img { width: 150px; height: auto; }
.footer__brand p { margin: 20px 0 22px; max-width: 330px; }
.footer__title { font-family: var(--f-sans); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { transition: color .2s; }
.footer__col a:hover { color: var(--ink); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .icon { width: 17px; height: 17px; color: var(--accent-2); margin-top: 4px; }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); transition: background .25s, color .25s; }
.social a:hover { background: var(--brand); color: #fff; }
.social .icon { width: 17px; height: 17px; }
.footer__bottom { border-top: 1px solid var(--line); font-size: .8438rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; }
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--ink); }

/* ---------- Móvil y cookies ---------- */
.mobile-bar { display: none; }
.cookie { position: fixed; z-index: 90; left: 20px; bottom: 20px; max-width: 420px; padding: 22px 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-lg); font-size: .9375rem; }
.cookie__title { font-family: var(--f-display); font-size: 1.15rem; color: var(--ink); margin-bottom: 6px; }
.cookie a { text-decoration: underline; }
.cookie__actions { display: flex; gap: 10px; margin-top: 16px; justify-content: flex-end; }

/* ---------- 404 ---------- */
.notfound { min-height: 56vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notfound__code { font-family: var(--f-display); font-weight: 200; font-size: clamp(6rem, 16vw, 11rem); line-height: 1; letter-spacing: -.04em; }
.notfound h1 { font-size: 2rem; font-weight: 300; margin: 10px 0 12px; }

/* ---------- Animación de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > :nth-child(2) { transition-delay: .07s; }
.js .reveal-stagger.is-visible > :nth-child(3) { transition-delay: .14s; }
.js .reveal-stagger.is-visible > :nth-child(4) { transition-delay: .21s; }
.js .reveal-stagger.is-visible > :nth-child(5) { transition-delay: .28s; }
.js .reveal-stagger.is-visible > :nth-child(n+6) { transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__link { padding: 10px 10px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .mods { grid-template-columns: repeat(3, 1fr); }
  .videos { grid-template-columns: repeat(3, 1fr); }
  .chip-ui--a { left: -10px; }
  .chip-ui--b { right: -6px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .topbar__claim { display: none; }
  .topbar__inner { justify-content: center; }
  .burger { display: block; }
  .header__cta { display: none; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; margin: 0; background: #fff; overflow-y: auto; padding: 8px var(--gutter) 40px; transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line-2); }
  .nav__link { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 1.15rem; font-family: var(--f-display); border-radius: 0; }
  .nav__link:hover, .nav__item.is-open > .nav__link { background: transparent; }
  .nav__item.is-current > .nav__link::after { display: none; }
  .mega { position: static; width: auto; transform: none; opacity: 1; visibility: visible; display: none; padding: 0 0 12px; border: 0; box-shadow: none; }
  .mega::before { display: none; }
  .nav__item.is-open .mega { display: block; transform: none; }
  .mega__grid { grid-template-columns: 1fr; }
  .mega__link { padding: 10px 4px; }
  .nav__mobile-cta { display: grid; gap: 10px; margin-top: 24px; }
  body.nav-open { overflow: hidden; }

  .hero__panel, .split, .tabs__panel, .cta-band__box, .calc, .contact-help { grid-template-columns: 1fr; }
  .hero__visual { max-width: 680px; }
  .split--reverse > :first-child { order: 0; }
  .cta-band__actions { justify-self: start; }
  .facts, .benefits, .steps, .steps--5, .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .block { grid-template-columns: 1fr; gap: 20px; }
  .block__aside { position: static; }
  .contact-ways { grid-template-columns: 1fr; }
  .sector-row { flex-direction: column; align-items: flex-start; }
  .sector-row .link-arrow { margin-left: 0; }
}
@media (max-width: 760px) {
  .mods, .videos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  body { padding-bottom: 68px; }
  .topbar { display: none; }
  .brand__logo { width: 112px; }
  .hero__panel { padding: 28px 18px 40px; border-radius: var(--r-lg); }
  .hero__copy .display { font-size: 2.15rem; }
  .hero__actions .btn, .page-hero__actions .btn { width: 100%; }
  .chip-ui { font-size: .78rem; padding: 9px 12px 9px 9px; }
  .chip-ui__icon { width: 32px; height: 32px; }
  .chip-ui--a { left: -6px; top: -18px; }
  .chip-ui--b { right: -6px; bottom: 20%; }
  .chip-ui--c { display: none; }
  .facts, .benefits, .steps, .steps--5, .cards, .cards--2, .cards--4, .mods, .videos, .checklist--2 { grid-template-columns: 1fr; }
  .stat__num { font-size: 2.5rem; }
  .section--panel > .container, .band__box, .cta-band__box { border-radius: var(--r-lg); }
  .tabs__list { display: flex; border-radius: var(--r-lg); }
  .tabs__btn { flex: 1 1 40%; justify-content: center; padding: 9px 10px; font-size: .875rem; }
  .page-hero__panel.has-image { display: block; min-height: 0; padding: 0; }
  .page-hero__panel.has-image > img { position: relative; height: 230px; animation: none; }
  .page-hero__panel.has-image::before { display: none; }
  .page-hero__panel.has-image .page-hero__card { margin: -36px 10px 10px; width: auto; }
  .page-hero__panel:not(.has-image) { padding: 36px 20px; }
  .page-hero h1 { font-size: 1.95rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 36px; }
  .cta-band__actions { max-width: none; }
  .compare th, .compare td { padding: 12px 14px; }
  .compare { min-width: 600px; }
  .phone { width: 240px; }
  .phone-chip { display: none; }
  .mobile-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px; border-radius: 14px; color: var(--ink); font-size: .75rem; font-weight: 500; }
  .mobile-bar .icon { width: 20px; height: 20px; }
  .mobile-bar a.is-primary { background: var(--brand); color: #fff; }
  .cookie { left: 12px; right: 12px; bottom: 80px; max-width: none; }
}

/* ---------- Ajustes ---------- */
.topbar__claim { display: block; }
.hero__panel .mark { left: -40px; bottom: -50px; width: 240px; opacity: .045; }
.h2 + .lead, .h2 + p { margin-top: 14px; }
.btn--play .icon:first-child polygon, .video__play polygon { fill: currentColor; }
.phone-chip--a { left: 0; top: 44%; }
.phone-chip--b { right: 0; bottom: 12%; }
.mods--3, .benefits--3 { grid-template-columns: repeat(3, 1fr); }
.card--panel, .benefit--panel, .person--panel { background: var(--panel); border-color: transparent; }
.card--panel .mod__icon { background: #fff; }
.card--dark { background: var(--dark); border-color: var(--dark); color: #dccfd0; }
.card--dark h3, .card--dark .link-arrow { color: #fff; }
.card--dark p { color: #bdabad; }
.card--dark .mod__icon { background: rgba(255, 255, 255, .08); color: #fff; }
.card .checklist { margin: 18px 0 6px; }
.card .mod__icon { margin-bottom: 18px; }
@media (max-width: 1024px) { .mods--3, .benefits--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .mods--3, .benefits--3 { grid-template-columns: 1fr; } }
.sector-row--panel { background: var(--panel); }
.calc__big { border-top: 0; margin-top: 4px; }
@media (max-width: 1024px) { .header__actions { margin-left: auto; } }
@media (max-width: 680px) {
  .mod { padding: 18px 20px; }
  .mod__icon { width: 38px; height: 38px; margin-bottom: 12px; }
  .mod p { font-size: .9063rem; }
  .facts .fact { padding: 14px 18px; }
}
.phone-chip--a { left: 0; top: 64%; bottom: auto; }
.phone-chip--b { right: 0; top: 13%; bottom: auto; }
.page-hero__panel:not(.has-image) .mark { width: min(28vw, 320px); bottom: -40px; opacity: .04; }
.cta-band__box .mark { width: min(24vw, 280px); bottom: -40px; opacity: .045; }
.phone-chip--a { top: 76%; }
.opt-price { display: flex; flex-direction: column; gap: 2px; margin: 18px 0 20px; padding: 14px 18px; border-radius: var(--r); background: #fff; }
.opt-price strong { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; }
.opt-price span { font-size: .8438rem; color: var(--muted); }
.opt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: auto; }
.price-note a { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   RCM3: cadena del análisis, ficha de ejemplo y vídeos 16:9
   ========================================================================== */
.video__thumb { aspect-ratio: 16 / 9; }
.videos--3 { grid-template-columns: repeat(3, 1fr); }

.chain { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; counter-reset: ch; }
.chain li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 22px 10px 18px; border-radius: var(--r-lg); background: var(--panel); }
.chain li:not(:last-child)::after { content: ""; position: absolute; z-index: 1; top: 50%; right: -9px; width: 8px; height: 8px; border-top: 2px solid var(--silver); border-right: 2px solid var(--silver); transform: translateY(-50%) rotate(45deg); }
.chain__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 50%; background: #fff; color: var(--brand); box-shadow: var(--sh-sm); }
.chain__icon .icon { width: 22px; height: 22px; }
.chain strong { font-family: var(--f-display); font-weight: 500; font-size: 1.02rem; line-height: 1.2; }
.chain small { font-size: .8125rem; color: var(--muted); }
.chain .is-result { background: var(--dark); }
.chain .is-result strong { color: #fff; }
.chain .is-result small { color: #bdabad; }
.chain .is-result .chain__icon { background: var(--brand); color: #fff; }

.sheet { border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-lg); overflow: hidden; }
.sheet__head { padding: 18px 24px; background: var(--dark); color: #fff; }
.sheet__head span { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #ffb3b5; font-weight: 600; }
.sheet__head strong { color: #fff; font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; }
.sheet__rows { margin: 0; }
.sheet__rows > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 24px; border-bottom: 1px solid var(--line-2); font-size: .9375rem; }
.sheet__rows dt { color: var(--muted); font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding-top: 2px; }
.sheet__rows dd { margin: 0; color: var(--ink); }
.sheet__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 3px 10px; border-radius: 999px; background: var(--panel); font-size: .8125rem; color: var(--ink); }
.tag--high { background: var(--brand); color: #fff; }
.tag--mid { background: var(--accent-soft); color: var(--brand); }
.sheet__list li { padding: 2px 0; }
.sheet__list b { display: inline-block; min-width: 108px; font-weight: 600; font-size: .8125rem; color: var(--brand); }
.sheet__foot { display: flex; align-items: center; gap: 10px; padding: 14px 24px; background: var(--panel); font-size: .9063rem; color: var(--ink); }
.sheet__foot .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--brand); color: #fff; }

@media (max-width: 1180px) { .chain { grid-template-columns: repeat(4, 1fr); } .chain li::after { display: none; } }
@media (max-width: 1024px) { .videos--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .chain { grid-template-columns: repeat(2, 1fr); }
  .videos--3 { grid-template-columns: 1fr; }
  .sheet__rows > div { grid-template-columns: 1fr; gap: 4px; padding: 12px 18px; }
}
.phase__text { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.15rem, 1.5vw, 1.32rem); line-height: 1.5; color: var(--ink) !important; margin: 0; }
.phase__soft { display: flex; align-items: center; gap: 12px; margin-right: auto; font-size: .9375rem; color: var(--text); }
.phase__soft .icon { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: #fff; color: var(--brand); }
.block .feature__foot { align-items: center; }
.video__play { left: 50%; top: 50%; bottom: auto; width: 56px; height: 56px; transform: translate(-50%, -50%); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .5); }
.video:hover .video__play { transform: translate(-50%, -50%) scale(1.06); }
.video__thumb::after { background: rgba(20, 12, 13, .08); }
.video:hover .video__thumb::after { background: rgba(20, 12, 13, 0); }

/* Móvil/tableta: sin desenfoque en la cabecera. backdrop-filter convierte la cabecera en el contenedor
   del menú fijo y el panel quedaba encerrado en 64 px de alto (no se veía al desplegarlo). */
@media (max-width: 1024px) {
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav { height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); z-index: 60; }
}
