/* MOMDEL · estilos: negro y blanco, sin color de acento; el logo pone la única nota. */

:root {
  --brand: #15172E;
  --brand-deep: #0B0C18;
  --brand-glow: #8A86A8;
  --ink: #0B0C18;
  --ink-2: #15172E;
  --ink-3: #252847;
  --paper: #F4F3F7;
  --paper-2: #E8E6EE;
  --ice: #CFCBDD;
  --accent: #FFFFFF;
  --accent-deep: #E4E1EC;
  --muted: #4B4660;
  --muted-dark: #BDB7D3;
  --soft: #DDD8E8;        /* texto secundario sobre fondo oscuro */
  --line: #D6D3DF;
  --white: #FFFFFF;

  --display: "Anybody", "Arial Narrow", sans-serif;
  --text: "Schibsted Grotesk", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --r-lg: 24px;
  --r-md: 14px;
  --r-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 1.125rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 750; font-stretch: 112%; line-height: 1.05; letter-spacing: -0.012em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--brand-glow); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.narrow h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 18px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 72px; }
.two h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 20px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.big { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.4; max-width: 34em; }
.muted { color: var(--muted); max-width: 36em; }
.more { margin-top: 28px; font-weight: 600; }
.more a { text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 1.05rem 1.7rem; border-radius: 999px; border: 1.5px solid transparent; font: 700 1.05rem/1 var(--text); text-decoration: none; cursor: pointer; transition: background-color .2s, transform .2s cubic-bezier(.2,.7,.2,1), border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: var(--ink); box-shadow: 0 8px 24px -10px rgba(255,255,255,.25); }
.btn--accent:hover { background: var(--accent-deep); box-shadow: 0 14px 30px -10px rgba(255,255,255,.35); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--small { padding: .7rem 1.1rem; font-size: .95rem; }
.btn--big { padding: 1.15rem 1.9rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.section:not(.section--ink):not(.section--brand) .btn--ghost { color: var(--ink); border-color: var(--ink); }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--white); transition: box-shadow .2s, background-color .2s; }
.nav.is-scrolled { background: rgba(11,12,24,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 10px 30px rgba(9,12,42,.35); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--display); font-weight: 800; font-stretch: 140%; font-size: 1.45rem; letter-spacing: -0.02em; }
.logo img { height: 36px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 1.6rem; }
.nav__menu a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 1.02rem; opacity: .88; background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 0 2px; transition: background-size .25s, opacity .15s; padding-bottom: 3px; }
.nav__menu a:not(.btn):hover { opacity: 1; background-size: 100% 2px; }
.nav__toggle { display: none; }
@media (max-width: 1020px) {
  .nav__toggle { display: inline-flex; background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.5); border-radius: 999px; padding: .55rem 1rem; font: 600 .95rem var(--text); cursor: pointer; }
  .nav__menu { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); padding: 8px var(--gutter) 24px; border-top: 1px solid rgba(255,255,255,.12); display: none; }
  .nav__menu.is-open { display: flex; }
  .nav__menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1.1rem; }
  .nav__menu .btn { margin-top: 18px; }
}

/* Cabecera de la portada */
.hero { position: relative; background: var(--ink); color: var(--white); padding: clamp(48px, 7vw, 104px) 0 clamp(56px, 7vw, 104px); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(900px 600px at 85% 20%, rgba(120,112,175,.35), transparent 60%),
  radial-gradient(700px 500px at 10% 100%, rgba(60,56,110,.6), transparent 60%),
  var(--ink); }
.hero__bg::before { content: ""; position: absolute; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; left: 40%; top: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.10), transparent 60%); filter: blur(20px); animation: drift 16s ease-in-out infinite alternate; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-18%, 22%) scale(1.15); } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__title { font-size: clamp(2.6rem, 5.4vw, 5rem); font-weight: 800; font-stretch: 118%; line-height: .98; letter-spacing: -0.025em; max-width: 14ch; }
.hero__title .w { display: inline-block; }
.hero__lede { margin-top: 28px; font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.55; color: #ECEBF2; max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; color: var(--ice); font-size: 1.05rem; }
.hero__facts li { padding-left: 18px; position: relative; }
.hero__facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 4px; border-radius: 2px; background: var(--accent); }
.hero__facts strong { color: var(--white); }

/* Feed animado: tareas que se completan solas */
.feed { background: var(--ink); border-radius: var(--r-lg); padding: 22px; box-shadow: 0 40px 90px -30px rgba(3,5,30,.8), 0 0 0 1px rgba(255,255,255,.06); }
.feed__head { display: flex; align-items: center; gap: 10px; color: var(--muted-dark); font-size: .9rem; padding-bottom: 16px; border-bottom: 1px solid var(--ink-3); }
.feed__dot { width: 10px; height: 10px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.feed__list { display: grid; gap: 8px; min-height: 324px; padding: 14px 0; align-content: start; }
.feed__item { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: start; padding: 11px 12px; border-radius: 10px; background: var(--ink-2); animation: feedin .45s cubic-bezier(.2,.7,.2,1) both; }
.feed__icon { width: 24px; height: 24px; border-radius: 50%; background: var(--ink-3); display: grid; place-items: center; font-size: .75rem; font-weight: 800; color: var(--ink); transition: background-color .25s; }
.feed__icon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--muted-dark); border-top-color: transparent; animation: spin .8s linear infinite; }
.feed__item.is-done .feed__icon { background: #3DDC84; animation: pop .35s cubic-bezier(.2,.7,.2,1.4); }
@keyframes pop { 50% { transform: scale(1.35); } }
.feed__item.is-done .feed__icon::before { content: "✓"; width: auto; height: auto; border: 0; border-radius: 0; animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.feed__what { font-size: 1rem; color: var(--white); line-height: 1.35; }
.feed__what small { display: block; color: var(--muted-dark); font-size: .88rem; margin-top: 2px; }
.feed__time { font-family: var(--display); font-stretch: 120%; font-weight: 700; color: var(--accent); font-size: .9rem; white-space: nowrap; opacity: 0; transition: opacity .3s; }
.feed__item.is-done .feed__time { opacity: 1; }
@keyframes feedin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.feed__foot { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--ink-3); color: var(--muted-dark); font-size: .95rem; }
.feed__foot strong { white-space: nowrap; font-family: var(--display); font-weight: 850; font-stretch: 135%; font-size: 1.8rem; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.feed__note { margin-top: 8px; font-size: .82rem; color: #8F8BAE; }
@media (max-width: 920px) { .hero__grid { grid-template-columns: 1fr; } .feed__list { min-height: 0; } }

/* Programas */
.tools { background: var(--ink); color: var(--ice); padding: 22px 0; border-top: 1px solid var(--ink-3); overflow: hidden; }
.tools__inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; }
.tools__lead { color: var(--muted-dark); font-size: 1rem; flex: none; }
.tools__list { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.tools__list li, .tools__track span { font-family: var(--display); font-weight: 650; font-stretch: 112%; font-size: 1.1rem; color: var(--white); opacity: .82; white-space: nowrap; }
/* Con JS la lista se duplica y desfila en bucle */
.tools.is-marquee .tools__inner { flex-wrap: nowrap; }
.tools.is-marquee .tools__list { flex: 1; min-width: 0; flex-wrap: nowrap; gap: 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tools__track { opacity: 1 !important; display: flex; gap: 36px; padding-right: 36px; flex: none; animation: marquee 32s linear infinite; }
.tools.is-marquee:hover .tools__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (max-width: 700px) { .tools.is-marquee .tools__lead { display: none; } }

/* Secciones y cabeceras de página */
.section { padding: clamp(64px, 8vw, 120px) 0; }
.section--first { padding-top: clamp(48px, 6vw, 88px); }
.section--flush { padding-top: 0; }
.section--ink { background: var(--ink); color: var(--white); }
.section--brand { background: var(--brand); color: var(--white); }
.section--paper2 { background: var(--paper-2); }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.head h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 800; font-stretch: 116%; letter-spacing: -0.02em; }
.head p { color: var(--muted); font-size: 1.2rem; max-width: 34rem; line-height: 1.55; }
.section--ink .head p { color: var(--soft); }
.section--brand .head p { color: var(--soft); }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }

.pagehead { background: var(--ink); color: var(--white); padding: clamp(40px, 6vw, 80px) 0; }
.pagehead--brand { background: var(--brand); }
.pagehead h1 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); font-weight: 800; font-stretch: 118%; letter-spacing: -0.025em; max-width: 16ch; }
.pagehead__lede { margin-top: 22px; font-size: clamp(1.2rem, 1.6vw, 1.4rem); color: var(--soft); max-width: 36rem; line-height: 1.55; }
.pagehead__lede a { text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.crumbs { font-size: .9rem; color: var(--muted-dark); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pagehead__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px 64px; align-items: start; }
.pagehead .hero__actions { margin-top: 28px; }
@media (max-width: 900px) { .pagehead__grid { grid-template-columns: 1fr; } }

.pricecard { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: 28px; box-shadow: 0 30px 60px -30px rgba(3,5,30,.6); }
.pricecard__label { font-size: .9rem; color: var(--muted); }
.pricecard__price { font-family: var(--display); font-weight: 850; font-stretch: 135%; font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -0.03em; color: var(--brand); line-height: 1; margin-top: 6px; }
.pricecard__cuota { color: var(--muted); margin-top: 6px; }
.pricecard dl { margin: 22px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.pricecard dl div { display: flex; justify-content: space-between; gap: 16px; font-size: .95rem; }
.pricecard dt { color: var(--muted); }
.pricecard dd { margin: 0; font-weight: 700; text-align: right; }
.pricecard__note { margin-top: 18px; font-size: .85rem; color: var(--muted); }

/* Calculadora */
.calc { background: var(--ink-2); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 56px); box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.calc__intro { margin-bottom: clamp(28px, 4vw, 44px); max-width: 44rem; }
.calc__intro h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 800; font-stretch: 122%; letter-spacing: -0.025em; }
.calc__intro p { color: #CFC8DA; margin-top: 12px; font-size: 1.08rem; }
.calc__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.calc__inputs { display: grid; gap: 26px; }
.range { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: baseline; }
.range__label { font-size: .98rem; color: #CFC8DA; }
.range__value { font-family: var(--display); font-weight: 750; font-stretch: 130%; font-size: 1.35rem; color: var(--white); font-variant-numeric: tabular-nums; }
.range input { grid-column: 1 / -1; width: 100%; margin: 0; height: 28px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; --fill: 50%; }
.range input::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--accent) var(--fill), var(--ink-3) var(--fill)); }
.range input::-moz-range-track { height: 6px; border-radius: 3px; background: var(--ink-3); }
.range input::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--accent); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--white); border: 4px solid var(--accent); }
.range input::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 4px solid var(--accent); }
.range input:focus-visible { outline: none; }
.range input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(255,255,255,.35); }
.calc__result { border-left: 1px solid var(--ink-3); padding-left: clamp(24px, 4vw, 56px); min-width: 0; }
.calc__money { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .35em; color: var(--accent); font-family: var(--display); font-variant-numeric: tabular-nums; line-height: .86; }
.calc__money [data-result="money"] { font-size: clamp(3rem, 7.2vw, 6.8rem); font-weight: 850; font-stretch: 138%; letter-spacing: -0.035em; text-shadow: 0 0 40px rgba(255,255,255,.22); }
.calc__unit { font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 700; font-stretch: 125%; color: var(--white); }
.calc__detail { margin: 20px 0 28px; color: #CFC8DA; font-size: 1.08rem; max-width: 34rem; }
.calc__detail strong { color: var(--white); }
.calc__note { margin-top: 18px; font-size: .88rem; color: var(--muted-dark); max-width: 34rem; }
@media (max-width: 860px) { .calc__grid { grid-template-columns: 1fr; } .calc__result { border-left: 0; padding-left: 0; border-top: 1px solid var(--ink-3); padding-top: 28px; } }

/* Antes / después */
.swap__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.swap__tabs button { font: 600 .98rem var(--text); color: var(--ink); background: transparent; border: 1.5px solid var(--line); border-radius: 999px; padding: .7rem 1.15rem; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.swap__tabs button:hover { border-color: var(--ink); }
.swap__tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.swap__panel { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; }
.swap__panel[hidden] { display: none; }
.swap__col { padding: clamp(26px, 4vw, 52px); min-height: 250px; }
.swap__col h3 { font-size: 1.1rem; font-stretch: 120%; margin-bottom: 18px; }
.swap__col p { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.45; max-width: 30ch; }
.swap__col--before { background: var(--paper-2); color: var(--muted); }
.swap__col--after { background: var(--brand); color: var(--white); }
.swap__col--after h3 { color: var(--accent); }
.swap__metric { grid-column: 1 / -1; background: var(--ink); color: #CFC8DA; padding: 22px clamp(26px, 4vw, 52px); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; font-size: 1.05rem; }
.swap__metric span { color: var(--muted-dark); margin-right: 10px; }
.swap__metric strong { font-family: var(--display); font-stretch: 125%; font-weight: 750; font-size: 1.25rem; color: var(--white); }
.swap__metric strong:nth-of-type(2) { color: var(--accent); }
.swap__metric a { margin-left: auto; color: var(--white); font-weight: 600; text-decoration-color: var(--accent); text-underline-offset: 4px; }
@media (max-width: 760px) { .swap__panel { grid-template-columns: 1fr; } .swap__col { min-height: 0; } .swap__metric a { margin-left: 0; width: 100%; } }

/* Áreas de servicio en la portada */
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.areacard { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); border: 1.5px solid var(--line); transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s; }
.areacard:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 24px 50px -30px rgba(0,0,0,.35); }
.areacard h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-stretch: 120%; }
.areacard > p { color: var(--muted); margin: 8px 0 20px; }
.areacard li a { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 700; transition: color .15s; }
.areacard li a:hover { color: var(--brand); }
.areacard li em { font-style: normal; font-family: var(--display); font-weight: 700; font-stretch: 115%; color: var(--brand); white-space: nowrap; font-size: .95rem; }
@media (max-width: 760px) { .areas { grid-template-columns: 1fr; } }

/* Listado de servicios (página) */
.area { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 56px; padding: 40px 0 44px; border-top: 2px solid var(--ink); }
.area:last-child { border-bottom: 2px solid var(--ink); }
.area__side h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-stretch: 120%; }
.area__side p { color: var(--muted); margin-top: 10px; max-width: 24rem; }
.svcrow { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: color .15s; }
.svcrow:hover .svcrow__name { color: var(--brand); }
.svcrow__name { font-weight: 700; font-size: 1.2rem; }
.svcrow__text { grid-column: 1; color: var(--muted); font-size: .98rem; max-width: 40rem; }
.svcrow__meta { grid-column: 2; grid-row: 1 / 3; text-align: right; }
.svcrow__meta strong { display: block; font-family: var(--display); font-weight: 750; font-stretch: 118%; color: var(--brand); white-space: nowrap; }
.svcrow__meta em { font-style: normal; color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .area { grid-template-columns: 1fr; } .svcrow { grid-template-columns: 1fr; } .svcrow__meta { grid-column: 1; grid-row: auto; text-align: left; } }

/* Pasos (portada) */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink-3); position: relative; }
.steps::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.2,.7,.2,1) .2s; }
.steps.is-in::before { transform: scaleX(1); }
.step { padding: 36px clamp(20px, 3vw, 40px) 8px 0; display: flex; flex-direction: column; gap: 14px; }
.step + .step { padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid var(--ink-3); }
.step__n { font-family: var(--display); font-weight: 850; font-stretch: 150%; font-size: clamp(3.5rem, 6vw, 5.5rem); line-height: .8; color: var(--accent); }
.step h3 { font-size: 1.7rem; font-stretch: 120%; margin-top: 10px; }
.step p { color: var(--soft); font-size: 1.08rem; }
.step__price { margin-top: auto; padding-top: 18px; font-family: var(--display); font-weight: 750; font-stretch: 125%; font-size: 1.35rem; color: var(--white) !important; }
.step__price span { display: block; font-family: var(--text); font-stretch: 100%; font-weight: 400; font-size: .92rem; color: var(--muted-dark); margin-top: 4px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step, .step + .step { padding: 32px 0; border-left: 0; } .step + .step { border-top: 1px solid var(--ink-3); } }

/* Cómo funciona (página de servicio) */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.flow__step { background: var(--ink-2); border-radius: var(--r-md); padding: 26px; }
.flow__n { font-family: var(--display); font-weight: 850; font-stretch: 140%; font-size: 2.4rem; line-height: 1; color: var(--accent); }
.flow__step h3 { font-size: 1.25rem; font-stretch: 115%; margin: 14px 0 10px; }
.flow__step p { color: #CFC8DA; font-size: .98rem; }
@media (max-width: 980px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

.ticks { display: grid; gap: 12px; }
.ticks li { padding-left: 32px; position: relative; font-size: 1.08rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: var(--white); font-size: .8rem; font-weight: 800; display: grid; place-items: center; }
.facts { display: grid; gap: 12px; margin: 0 0 18px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-family: var(--display); font-weight: 750; font-stretch: 118%; color: var(--brand); text-align: right; }

.table th, .table td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-size: .85rem; color: var(--muted); font-weight: 600; }
.table tbody th { font-weight: 700; }
.table tbody th a { text-decoration: none; }
.table tbody th a:hover { color: var(--brand); text-decoration: underline; }
.table td:nth-child(2) { font-family: var(--display); font-weight: 750; font-stretch: 118%; color: var(--brand); white-space: nowrap; }
.table td small { display: block; font-family: var(--text); font-weight: 400; color: var(--muted); font-size: .85rem; }
.table td:last-child { color: var(--muted); font-size: .95rem; }
@media (max-width: 600px) { .table td:last-child { display: none; } }

.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.relcard { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 24px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.relcard:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(0,0,0,.35); }
.relcard h3 { font-size: 1.25rem; font-stretch: 115%; }
.relcard p { color: var(--muted); font-size: .95rem; }
.relcard strong { margin-top: auto; font-family: var(--display); font-weight: 750; font-stretch: 118%; color: var(--brand); }

/* Procesos por sector */
.procs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.proc { background: var(--white); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); border: 1.5px solid var(--line); text-decoration: none; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.proc:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(0,0,0,.35); }
.proc h3 { font-size: 1.4rem; font-stretch: 118%; }
.proc p { color: var(--muted); }
.proc span { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--brand); font-size: .95rem; }
@media (max-width: 700px) { .procs { grid-template-columns: 1fr; } }

/* Tienda exprés */
.shop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.item { background: var(--white); color: var(--ink); border-radius: var(--r-md); padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.item:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(9,12,42,.5); }
.item h2, .item h3 { font-size: 1.3rem; font-stretch: 112%; font-weight: 750; }
.item > p { color: var(--muted); }
.item__meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.item__meta strong { font-family: var(--display); font-weight: 850; font-stretch: 140%; font-size: 2rem; letter-spacing: -0.02em; }
.item__meta span { color: var(--muted); font-size: .95rem; }
.item__btn { margin-top: 6px; display: block; text-align: center; padding: .85rem 1rem; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 700; text-decoration: none; transition: background-color .15s; }
.item__btn:hover { background: var(--brand-deep); }
@media (max-width: 980px) { .shop { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .shop { grid-template-columns: 1fr; } }

/* Precios */
.pricebands { display: grid; gap: 48px; }
.band h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-stretch: 120%; margin-bottom: 8px; }
.band .table th:first-child { width: 48%; }

.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.pack { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 24px; background: var(--white); display: flex; flex-direction: column; gap: 10px; }
.pack h3 { font-size: 1.3rem; font-stretch: 115%; }
.pack__price { font-family: var(--display); font-weight: 800; font-stretch: 108%; font-size: 1.2rem; line-height: 1.2; color: var(--brand); font-variant-numeric: tabular-nums; }
.pack > p:not(.pack__price) { color: var(--muted); }
.pack__links { margin-top: auto; padding-top: 10px; display: grid; gap: 4px; font-size: .88rem; }
.pack__links a { color: var(--muted); }
.pack--lead { grid-column: 1 / -1; background: var(--ink); color: var(--white); border-color: var(--ink); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 16px 48px; align-items: center; }
.pack--lead h3 { font-size: clamp(2rem, 3.4vw, 3rem); font-stretch: 125%; }
.pack--lead .pack__price { color: var(--accent); font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-stretch: 125%; letter-spacing: -0.02em; white-space: nowrap; grid-row: 2; }
.pack--lead p:not(.pack__price) { color: #CFC8DA; font-size: 1.1rem; grid-column: 2; grid-row: 1 / 3; max-width: 30rem; }
.pack--lead .btn { grid-column: 3; grid-row: 1 / 3; }
@media (max-width: 900px) { .pack--lead { grid-template-columns: 1fr; } .pack--lead .pack__price, .pack--lead p:not(.pack__price), .pack--lead .btn { grid-column: 1; grid-row: auto; } .pack--lead .btn { justify-self: start; margin-top: 8px; } }

/* Sectores */
.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sector { background: var(--white); border-radius: var(--r-md); padding: 26px; border-top: 5px solid var(--brand); text-decoration: none; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 0 var(--line); transition: transform .15s, box-shadow .15s; }
.sector:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(0,0,0,.35); }
.sector span::after, .proc span::after { content: " →"; display: inline-block; transition: transform .2s; }
.sector:hover span::after, .proc:hover span::after { transform: translateX(4px); }
.sector h2, .sector h3 { font-size: 1.3rem; font-stretch: 115%; }
.sector p { color: var(--muted); }
.sector span { margin-top: auto; padding-top: 10px; color: var(--brand); font-weight: 700; font-size: .95rem; }
@media (max-width: 980px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sectors { grid-template-columns: 1fr; } }

/* Nosotros */
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 72px; align-items: center; }
.about--page { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.about__text h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 800; font-stretch: 122%; letter-spacing: -0.025em; margin-bottom: 24px; max-width: 14ch; }
.about--page .about__text h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0 0 20px; max-width: none; }
.about--page .about__text .promises + h2, .about--page .about__text p + h2 { margin-top: 40px; }
.about--page .about__text p { color: var(--ink); }
.about--page .about__text p.muted { color: var(--muted); }
.about__text p { color: #CFC8DA; font-size: 1.15rem; max-width: 36rem; }
.about__text p + p { margin-top: 16px; }
.about__text .btn { margin-top: 10px; }
.about__people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about--page .about__people { grid-template-columns: 1fr; gap: 28px; }
.person { margin: 0; }
.person__photo { aspect-ratio: 4 / 5; border-radius: var(--r-md); background: var(--brand); display: grid; place-items: center; font-family: var(--display); font-weight: 850; font-stretch: 150%; font-size: 5rem; color: var(--white); }
.person__photo--accent { background: var(--accent); color: var(--ink); }
.person figcaption { margin-top: 12px; color: var(--muted-dark); font-size: .95rem; }
.section:not(.section--ink) .person figcaption { color: var(--muted); }
.person figcaption strong { display: block; color: var(--white); font-size: 1.05rem; margin-bottom: 4px; }
.section:not(.section--ink) .person figcaption strong { color: var(--ink); }
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.promises--list { grid-template-columns: 1fr; gap: 16px; }
.promises li { border-top: 2px solid var(--ink); padding-top: 14px; color: var(--muted); }
.promises strong { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 2px; }
@media (max-width: 920px) { .about, .about--page { grid-template-columns: 1fr; } .about--page .about__people { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .about--page .about__people { grid-template-columns: 1fr; } }

/* Preguntas */
.faq h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-stretch: 120%; margin: 48px 0 8px; }
.faq .head h2 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.6rem); }
.faq > h2:first-child { margin-top: 0; }
.faq__list { border-top: 2px solid var(--ink); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--brand); flex: none; transition: transform .2s; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list summary:hover { color: var(--brand); }
.faq__list details p { padding: 0 0 24px; color: var(--muted); max-width: 46rem; font-size: 1.1rem; }
.faq__list details[open] p { animation: rise .35s cubic-bezier(.2,.7,.2,1) both; }
.faq .head p a { color: var(--brand); }

/* Contacto */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 72px; align-items: start; }
.contact__intro h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; font-stretch: 122%; letter-spacing: -0.025em; margin-bottom: 22px; }
.contact__intro p { color: var(--soft); font-size: 1.15rem; max-width: 30rem; }
.contact__points { margin-top: 24px; display: grid; gap: 10px; color: var(--soft); }
.contact__points li { padding-left: 18px; position: relative; }
.contact__points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 4px; border-radius: 2px; background: var(--accent); }
.contact__calc { margin-top: 26px; padding: 18px 20px; border-radius: var(--r-md); background: var(--brand-deep); color: var(--white) !important; font-size: 1rem !important; }
.contact__calc strong { color: var(--accent); font-family: var(--display); font-stretch: 125%; }
.form, .form__done--js { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 40px); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; font-weight: 600; font-size: .95rem; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input:not([type="checkbox"]), .form select, .form textarea { width: 100%; font: 400 1rem var(--text); color: var(--ink); background: var(--paper); border: 1.5px solid transparent; border-radius: var(--r-sm); padding: .85rem .9rem; transition: border-color .15s, background-color .15s; }
.form textarea { resize: vertical; min-height: 96px; }
.form input:not([type="checkbox"]):focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); background: var(--white); }
.form [aria-invalid="true"] { border-color: #C62828 !important; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.form__hint { background: #FFF4E0; border-radius: var(--r-sm); padding: 12px 14px; font-size: .95rem; }
.form__error { color: #B3261E; font-weight: 600; }
.form__done h2, .form__done h3 { font-size: 2rem; font-stretch: 125%; margin-bottom: 8px; }
.form__done p { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 920px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } .btn { white-space: normal; text-align: center; line-height: 1.2; } }

/* Llamada final y pie */
.cta { background: var(--brand); color: var(--white); padding: clamp(56px, 7vw, 96px) 0; }
.cta__inner { text-align: center; max-width: 52rem; }
.cta h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 800; font-stretch: 122%; letter-spacing: -0.025em; }
.cta p { margin-top: 16px; color: var(--soft); font-size: 1.2rem; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.foot { background: var(--ink); color: var(--muted-dark); padding: 56px 0 40px; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 40px 48px; }
.foot__brand p { margin-top: 16px; max-width: 30rem; font-size: .95rem; }
.foot__brand a { color: var(--white); }
.foot__legal { font-size: .85rem !important; opacity: .75; }
.foot .logo { color: var(--white); }
.foot__col { display: grid; gap: 8px; align-content: start; }
.foot__col h3 { color: var(--white); font-size: 1rem; font-stretch: 120%; margin-bottom: 4px; }
.foot__col a + h3 { margin-top: 18px; }
.foot__col a { text-decoration: none; font-size: .95rem; }
.foot__col a:hover { color: var(--white); text-decoration: underline; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr; } }

/* Páginas legales */
.legal h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 28px; }
.legal p { max-width: 44rem; margin-bottom: 14px; }

/* Entrada de la portada: el titular sale palabra a palabra, luego el resto; y
   los bloques aparecen al llegar a ellos (solo con JS: html.js-reveal) */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .home .hero__title .w { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 70ms); }
  .home .hero__lede { animation: rise .7s .45s cubic-bezier(.2,.7,.2,1) both; }
  .home .hero__actions { animation: rise .7s .6s cubic-bezier(.2,.7,.2,1) both; }
  .home .hero__facts { animation: rise .7s .75s cubic-bezier(.2,.7,.2,1) both; }
  .home .feed { animation: rise .9s .5s cubic-bezier(.2,.7,.2,1) both; }
  .pagehead h1, .pagehead__lede, .pagehead .hero__actions, .pricecard { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .pagehead__lede { animation-delay: .15s; } .pagehead .hero__actions { animation-delay: .3s; } .pricecard { animation-delay: .25s; }
  .js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 80ms); }
  .js-reveal .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Equipo (sin fotos) */
.leads { display: grid; gap: 22px; }
.lead { border-top: 2px solid var(--ink); padding-top: 16px; }
.lead strong { display: block; font-family: var(--display); font-weight: 750; font-stretch: 112%; font-size: 1.35rem; }
.lead span { display: block; color: var(--muted); font-weight: 600; font-size: .95rem; margin: 2px 0 10px; }
.lead p { color: var(--muted); }
.roles { display: grid; gap: 12px; margin-top: 18px; }
.roles li { padding-left: 30px; position: relative; color: var(--muted); }
.roles li::before { content: ""; position: absolute; left: 0; top: .5em; width: 18px; height: 4px; border-radius: 2px; background: var(--ink); }
.roles strong { color: var(--ink); }
.soft { color: var(--soft); font-size: 1.1rem; }
.soft + .soft { margin-top: 14px; }
.soft a { text-decoration-thickness: 2px; text-underline-offset: 4px; }
.promises--dark li { border-top-color: rgba(255,255,255,.3); color: var(--soft); }
.promises--dark strong { color: var(--white); }
.section--ink .two h2 { margin-bottom: 20px; }
.teamfacts { display: grid; gap: 10px; min-width: 0; }
.teamfacts li { display: grid; grid-template-columns: minmax(150px, auto) 1fr; gap: 6px 18px; align-items: baseline; background: var(--ink-2); border-radius: var(--r-md); padding: 18px 22px; color: var(--soft); font-size: 1rem; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.teamfacts strong { font-family: var(--display); font-weight: 850; font-stretch: 118%; font-size: clamp(1.4rem, 2vw, 1.8rem); color: var(--white); letter-spacing: -0.02em; white-space: nowrap; }
@media (max-width: 520px) { .teamfacts li { grid-template-columns: 1fr; } }
