/* ==========================================================================
   alberttnd.com · Albert Pernia, nutricionista deportivo
   Paleta de marca AlberttND: azul marino + blanco + gris azulado + un solo acento lima.
   Tipografias de marca alojadas en /assets/fonts (sin Google Fonts, por el RGPD):
   Barlow Condensed para titulares y logo, Inter para el texto.
   Los nombres de variable (--forest, --mint...) se mantienen de la v1 para no
   tocar el resto de reglas; ahora son tonos azules.
   ========================================================================== */

@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("/assets/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;

  /* color */
  --ink: #0e1b2c;          /* azul marino de marca: fondos oscuros y texto principal */
  --ink-2: #15263b;
  --ink-3: #1e3450;
  --forest: #2b4c73;       /* azul medio: detalles sobre fondo claro */
  --mint: #e7edf5;         /* azul muy claro: fondos de apoyo */
  --mint-2: #d4deea;
  --lime: #c6f432;         /* acento de marca: botones y detalles, nunca texto sobre claro */
  --lime-2: #b3e01c;
  --cream: #f2f4f7;
  --paper: #ffffff;
  --text: #0e1b2c;
  --muted: #4a5a70;
  --muted-on-dark: #9fb0c6; /* gris azulado de marca */
  --line: #dce2ea;
  --line-dark: rgba(255, 255, 255, .12);

  /* forma */
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --shadow: 0 1px 2px rgba(14, 27, 44, .06), 0 18px 40px -24px rgba(14, 27, 44, .35);
  --shadow-lg: 0 2px 4px rgba(14, 27, 44, .08), 0 40px 80px -40px rgba(14, 27, 44, .55);

  /* tipo */
  --f-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", "Segoe UI", sans-serif;
  --f-body: "Inter", "Segoe UI Variable Text", "SF Pro Text", -apple-system, BlinkMacSystemFont,
            "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --section-y: clamp(72px, 10vw, 128px);
}

/* ---------------------------------------------------------------- base --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--f-display);
  line-height: .95;
  letter-spacing: .005em;
  margin: 0;
  text-wrap: balance;
}
/* titulares en mayusculas condensadas, como el logo */
h2 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: .01em; line-height: 1.1; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.section:not(.process):not(.cta) :focus-visible { outline-color: var(--forest); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 99px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico--lg { width: 26px; height: 26px; }

/* ------------------------------------------------------------- buttons --- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--f-body); letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn .ico { transition: transform .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--lime); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(198, 244, 50, .7); }
.btn--primary:hover { background: var(--lime-2); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: rgba(255, 255, 255, .07); }
.btn--ghost:hover .ico:first-child { transform: none; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; box-shadow: none; }

/* -------------------------------------------------------------- header --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 27, 44, .86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  color: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); background: rgba(14, 27, 44, .94); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

/* logo "Pulso": la A con linea de latido + LBERTT + ND en lima */
.brand { display: inline-flex; align-items: flex-end; gap: 3px; text-decoration: none; margin-right: auto; color: var(--paper); }
.brand__a { width: 31px; height: 30px; flex: none; }
.brand__a .a-stroke { stroke: currentColor; }
.brand__a .a-pulse { stroke: var(--lime); }
.brand__word { font: 800 2.15rem/.82 var(--f-display); letter-spacing: .03em; white-space: nowrap; }
.brand__word b { font-weight: 800; color: var(--lime); margin-left: .12em; }
/* icono suelto (comparativa, 404) */
.brand__icon {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%; background: var(--ink);
}
.brand__icon svg { width: 60%; height: 60%; }
.brand__icon .a-stroke { stroke: #fff; }
.brand__icon .a-pulse { stroke: var(--lime); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__links { display: flex; gap: 26px; }
.site-nav__links a {
  position: relative; text-decoration: none; font-weight: 600; font-size: .96rem;
  color: var(--muted-on-dark); transition: color .15s ease;
}
.site-nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--lime); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.site-nav__links a:hover { color: var(--cream); }
.site-nav__links a:hover::after { transform: scaleX(1); }

.langs { display: flex; padding: 3px; border-radius: 99px; background: rgba(255, 255, 255, .07); }
.langs a {
  padding: 6px 10px; border-radius: 99px; text-decoration: none;
  font: 700 .75rem/1 var(--f-body); letter-spacing: .06em; color: var(--muted-on-dark);
}
.langs a:hover { color: var(--cream); }
.langs a[aria-current="true"] { background: var(--cream); color: var(--ink); }

.nav-toggle {
  display: none; place-items: center; width: 44px; height: 44px; margin-right: -8px;
  border: 0; border-radius: 12px; background: transparent; color: var(--cream); cursor: pointer;
}
.nav-toggle .ico { width: 26px; height: 26px; }
.nav-toggle__close { display: none; }

@media (max-width: 920px) {
  .js .nav-toggle { display: grid; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 20px var(--gutter) 28px;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .5);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .js .site-header.is-open .site-nav {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .js .site-header.is-open .nav-toggle__open { display: none; }
  .js .site-header.is-open .nav-toggle__close { display: block; }
  .site-nav__links { flex-direction: column; gap: 0; }
  .site-nav__links a { display: block; padding: 14px 0; font-size: 1.15rem; color: var(--cream); border-bottom: 1px solid var(--line-dark); }
  .site-nav__links a::after { display: none; }
  .langs { align-self: flex-start; }
  .site-nav .btn { width: 100%; min-height: 52px; }
  /* sin JS: el menu se muestra debajo, sin desplegable */
  .no-js .site-header__inner { flex-wrap: wrap; padding-block: 12px; }
  .no-js .site-nav { width: 100%; flex-wrap: wrap; gap: 14px; }
  .no-js .site-nav__links { flex-direction: row; flex-wrap: wrap; gap: 4px 18px; }
  .no-js .site-nav__links a { border: 0; padding: 4px 0; font-size: 1rem; }
}

/* ---------------------------------------------------------------- hero --- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(43, 76, 115, .55), transparent 60%),
    radial-gradient(600px 400px at -10% 110%, rgba(198, 244, 50, .10), transparent 60%),
    var(--ink);
  color: var(--cream);
  padding-block: clamp(48px, 7vw, 96px) clamp(72px, 10vw, 128px);
}
.hero__grid {
  display: grid; align-items: center; gap: clamp(48px, 6vw, 80px);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px; margin-bottom: 26px;
  border-radius: 99px; background: rgba(198, 244, 50, .12); color: var(--lime);
  font: 700 .8rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(3.2rem, 7.8vw, 6.4rem); font-weight: 800; letter-spacing: .005em; line-height: .9;
  text-transform: uppercase; max-width: 12ch;
}
.hero h1 em {
  font-style: normal; color: var(--lime); white-space: nowrap;
  background: linear-gradient(transparent 78%, rgba(198, 244, 50, .28) 78%, rgba(198, 244, 50, .28) 94%, transparent 94%);
}
.hero__sub { margin: 26px 0 34px; max-width: 54ch; font-size: clamp(1.06rem, 1.4vw, 1.2rem); color: var(--muted-on-dark); }
.hero__note { margin-top: 16px; font-size: .92rem; color: var(--muted-on-dark); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line-dark); max-width: 560px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .94rem; font-weight: 600; color: var(--cream); }
.trust .ico { color: var(--lime); }

/* visual: tarjeta de plan */
.hero__visual { position: relative; min-height: 460px; padding-block: 60px; display: grid; place-items: center; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.blob--a {
  width: 78%; aspect-ratio: 1; right: -6%; top: 2%;
  background: radial-gradient(circle at 35% 35%, #3a6596, var(--forest) 55%, transparent 72%);
  opacity: .9;
}
.blob--b {
  width: 38%; aspect-ratio: 1; left: 2%; bottom: 4%;
  background: radial-gradient(circle at 40% 40%, var(--lime), transparent 70%);
  opacity: .35;
}
.plan {
  position: relative; width: min(100%, 380px);
  padding: 24px; border-radius: var(--r-lg);
  background: var(--paper); color: var(--ink);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2.5deg);
}
.plan__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.plan__title { font: 800 1.45rem/1 var(--f-display); letter-spacing: .02em; text-transform: uppercase; }
.plan__tag {
  font: 700 .66rem/1 var(--f-body); letter-spacing: .07em; text-transform: uppercase;
  padding: 6px 9px; border-radius: 99px; background: var(--mint); color: var(--forest); white-space: nowrap;
}
.plan__list { position: relative; display: grid; gap: 4px; }
.plan__list::before {
  content: ""; position: absolute; left: 61px; top: 14px; bottom: 14px; width: 2px;
  background: repeating-linear-gradient(var(--mint-2) 0 6px, transparent 6px 11px);
}
.plan__list li { position: relative; display: grid; grid-template-columns: 46px 12px 1fr; gap: 10px; align-items: center; padding: 9px 0; }
.plan__time { font: 700 .8rem/1 var(--f-body); color: var(--muted); font-variant-numeric: tabular-nums; }
.plan__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 3px solid var(--forest); z-index: 1; }
.plan__list li:nth-child(2) .plan__dot, .plan__list li:nth-child(3) .plan__dot { background: var(--lime); border-color: var(--ink); }
.plan__body { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--cream); }
.plan__list li:nth-child(2) .plan__body, .plan__list li:nth-child(3) .plan__body { background: var(--mint); }
.plan__body b { font-size: .95rem; letter-spacing: -.01em; }
.plan__body span { font-size: .82rem; color: var(--muted); line-height: 1.35; }
.plan__bar { margin-top: 18px; height: 8px; border-radius: 99px; background: var(--mint); overflow: hidden; }
.plan__bar i { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, var(--forest), var(--lime)); }

.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-radius: 99px;
  font: 700 .9rem/1 var(--f-body); white-space: nowrap;
  box-shadow: var(--shadow-lg);
}
.chip--a { top: 4px; left: 2%; background: var(--lime); color: var(--ink); transform: rotate(-5deg); }
.chip--b { bottom: 8px; right: 0; background: var(--paper); color: var(--ink); transform: rotate(4deg); }
.chip--b .ico { color: var(--forest); }

@media (prefers-reduced-motion: no-preference) {
  .plan { animation: float 7s ease-in-out infinite; }
  .chip--a { animation: float 6s ease-in-out -2s infinite; }
  .chip--b { animation: float 8s ease-in-out -4s infinite; }
  @keyframes float { 50% { translate: 0 -10px; } }
}

/* visual con foto (sin la tarjeta del plan) */
.hero__visual--photo { padding-block: 36px; }
.hero__photo {
  position: relative; width: min(86%, 400px); height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); transform: rotate(2deg);
  outline: 6px solid rgba(255, 255, 255, .06); outline-offset: -1px;
}
.hero__visual--photo .chip--a { top: 14px; left: 0; }
.hero__visual--photo .chip--b { bottom: 14%; right: auto; left: 0; }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 400px; margin-inline: auto; width: min(100%, 460px); }
}
@media (max-width: 560px) {
  .hero__visual { min-height: 0; padding: 52px 0 48px; }
  .chip--a { top: 0; left: 0; }
  .chip--b { bottom: 0; right: 0; }
  .actions .btn { width: 100%; }
}

/* ------------------------------------------------------------ sections --- */
.section { padding-block: var(--section-y); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__lead { margin-top: 20px; font-size: clamp(1.06rem, 1.3vw, 1.18rem); color: var(--muted); max-width: 62ch; }

/* problema */
.problem { background: var(--cream); }
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pain {
  padding: 30px 28px 32px; border-radius: var(--r);
  background: var(--paper); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pain:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pain .ico {
  box-sizing: content-box; padding: 12px; margin-bottom: 22px;
  border-radius: 16px; background: var(--ink); color: var(--lime);
}
.pain h3 { margin-bottom: 10px; }
.pain p { color: var(--muted); font-size: 1rem; }
.problem__close {
  margin-top: clamp(40px, 5vw, 64px); max-width: 30ch;
  font: 700 clamp(1.8rem, 3.6vw, 2.7rem)/1.1 var(--f-display); letter-spacing: .005em;
}
@media (max-width: 860px) { .pains { grid-template-columns: 1fr; } }

/* comparativa */
.compare { background: var(--paper); }
.versus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.versus { padding: clamp(28px, 4vw, 40px); border-radius: var(--r-lg); }
.versus h3 { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; margin-bottom: 24px; }
.versus h3 .brand__icon { width: 38px; height: 38px; background: var(--ink-3); }
.versus ul { display: grid; gap: 4px; }
.versus li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; line-height: 1.4; }
.versus li + li { border-top: 1px solid var(--line); }
.versus .ico { margin-top: .1em; box-sizing: content-box; padding: 3px; border-radius: 50%; width: 16px; height: 16px; }
.versus--generic { background: var(--cream); border: 1px solid var(--line); color: var(--muted); }
.versus--generic h3 { color: var(--muted); }
.versus--generic .ico { background: var(--line); color: var(--muted); }
.versus--generic span { text-decoration: line-through; text-decoration-color: rgba(74, 90, 112, .35); }
.versus--mine { background: var(--ink); color: var(--cream); box-shadow: var(--shadow-lg); }
.versus--mine li + li { border-top-color: var(--line-dark); }
.versus--mine .ico { background: var(--lime); color: var(--ink); }
.versus--mine span { font-weight: 600; }
@media (max-width: 760px) { .versus-grid { grid-template-columns: 1fr; } }

/* para quien */
.audience { background: var(--mint); }
.audience__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.whos { display: grid; gap: 16px; }
.who {
  position: relative; padding: 30px 30px 30px 96px; border-radius: var(--r);
  background: var(--paper); box-shadow: var(--shadow);
}
.who__n {
  position: absolute; left: 28px; top: 28px;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--lime); font: 800 1rem/1 var(--f-display); color: var(--ink);
}
.who h3 { margin-bottom: 8px; }
.who p { color: var(--muted); }
@media (max-width: 860px) {
  .audience__grid { grid-template-columns: 1fr; }
  .who { padding: 84px 24px 26px; }
  .who__n { left: 24px; top: 24px; }
}

/* servicios */
.services { background: var(--cream); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service {
  display: flex; flex-direction: column;
  padding: 32px 28px 28px; border-radius: var(--r-lg);
  background: var(--paper); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service:nth-child(2) { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.service__tag {
  align-self: flex-start; margin-bottom: 18px; padding: 6px 12px; border-radius: 99px;
  background: var(--mint); color: var(--forest);
  font: 700 .75rem/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase;
}
.service:nth-child(2) .service__tag { background: rgba(198, 244, 50, .14); color: var(--lime); }
.service h3 { font-size: 2rem; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; margin-bottom: 12px; }
.service > p { color: var(--muted); }
.service:nth-child(2) > p { color: var(--muted-on-dark); }
.ticks { display: grid; gap: 10px; margin: 24px 0 28px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; line-height: 1.45; }
.ticks .ico { margin-top: .12em; color: var(--forest); }
.service:nth-child(2) .ticks .ico { color: var(--lime); }
.service__ideal {
  display: flex; gap: 10px; align-items: flex-start; margin: -8px 0 24px;
  padding: 12px 14px; border-radius: var(--r-sm);
  background: var(--cream); font-size: .92rem; font-weight: 600; line-height: 1.4;
}
.service__ideal .ico { margin-top: .1em; color: var(--forest); }
.service:nth-child(2) .service__ideal { background: rgba(255, 255, 255, .06); }
.service:nth-child(2) .service__ideal .ico { color: var(--lime); }
.service__foot {
  margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px;
}
.service:nth-child(2) .service__foot { border-top-color: var(--line-dark); }
.service__price { font-size: .95rem; color: var(--muted); font-weight: 700; }
.service__amount { font: 800 2.6rem/1 var(--f-display); letter-spacing: .01em; color: var(--text); }
.service__amount small { font: 600 .95rem/1 var(--f-body); color: var(--muted); margin-left: 4px; }
.service:nth-child(2) .service__amount { color: var(--lime); }
.service:nth-child(2) .service__amount small { color: var(--muted-on-dark); }
.service__pricebox { display: flex; flex-direction: column; gap: 6px; flex: 1 1 150px; }
.service__note { font-size: .85rem; line-height: 1.35; color: var(--muted); }
.service:nth-child(2) .service__note { color: var(--muted-on-dark); }
.eyebrow--light { background: var(--ink); }
.service:nth-child(2) .service__price { color: var(--muted-on-dark); }
.service__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; text-decoration: none; color: var(--forest);
}
.service:nth-child(2) .service__link { color: var(--lime); }
.service__link .ico { transition: transform .18s ease; }
.service__link:hover .ico { transform: translateX(3px); }
@media (max-width: 960px) { .service-grid { grid-template-columns: 1fr; max-width: 560px; } }

/* proceso */
.process { background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.process::before {
  content: ""; position: absolute; width: 700px; height: 700px; right: -260px; top: -260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(43, 76, 115, .6), transparent 65%);
  pointer-events: none;
}
.process__grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.process__head { position: sticky; top: calc(var(--header-h) + 40px); margin-bottom: 0; }
.process .section__lead { color: var(--muted-on-dark); }
.steps { position: relative; display: grid; gap: 14px; counter-reset: s; }
.steps::before {
  content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px;
  background: linear-gradient(var(--lime), rgba(198, 244, 50, .1));
}
.step {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start;
  padding: 22px 24px 22px 0;
}
.step__n {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink-2); border: 2px solid var(--lime); color: var(--lime);
  font: 800 1.2rem/1 var(--f-display);
}
.step h3 { margin: 6px 0 8px; font-size: 1.7rem; text-transform: uppercase; }
.step p { color: var(--muted-on-dark); }
@media (max-width: 860px) {
  .process__grid { grid-template-columns: 1fr; }
  .process__head { position: static; }
}

/* sobre mi */
.about { background: var(--cream); }
.about__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.portrait { position: relative; max-width: 460px; }
.portrait::before {
  content: ""; position: absolute; inset: 8% -6% -6% 8%; border-radius: var(--r-lg);
  background: var(--lime); transform: rotate(4deg);
}
.portrait__img, .portrait__ph {
  position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
}
.portrait__ph {
  display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(circle at 70% 25%, rgba(198, 244, 50, .35), transparent 45%),
    linear-gradient(160deg, var(--forest), var(--ink));
}
.portrait__ph span {
  font: 800 clamp(5rem, 14vw, 9rem)/1 var(--f-display); letter-spacing: .01em;
  color: rgba(255, 255, 255, .92);
}
.about__copy h2 { margin-bottom: 16px; }
.about__lead { font: 600 clamp(1.1rem, 1.6vw, 1.3rem)/1.45 var(--f-body); letter-spacing: -.01em; color: var(--forest); margin-bottom: 22px; }
.about__copy > p:not(.about__lead) { color: var(--muted); margin-bottom: 16px; max-width: 62ch; }
.about__copy > p:last-of-type { color: var(--text); font-weight: 600; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 30px 0 0; }
.facts div { padding: 16px 18px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); }
.facts dt { font: 700 .72rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--forest); margin-bottom: 8px; }
.facts dd { margin: 0; font-weight: 600; font-size: .95rem; line-height: 1.35; }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .portrait { width: 82%; margin-inline: auto 12%; }
  .facts { grid-template-columns: 1fr; }
}

/* testimonios */
.testimonials { background: var(--mint); }
.testimonials h2 { margin-bottom: 40px; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.quote { padding: 28px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.quote blockquote { margin: 0 0 18px; font-size: 1.08rem; }
.quote__who { font-size: .92rem; color: var(--muted); }

/* rodaje: la herramienta gratuita, en banda oscura */
.rodaje { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.rodaje::before {
  content: ""; position: absolute; width: 640px; height: 640px; left: -240px; bottom: -300px;
  border-radius: 50%; background: radial-gradient(circle, rgba(198, 244, 50, .12), transparent 65%);
  pointer-events: none;
}
.rodaje__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.rodaje .eyebrow { margin-bottom: 20px; }
.rodaje h2 { margin-bottom: 18px; }
.rodaje h2 b { color: var(--lime); font-weight: 800; }
.rodaje__text { color: var(--muted-on-dark); max-width: 54ch; font-size: 1.08rem; }
.rodaje .ticks { margin: 26px 0 30px; }
.rodaje .ticks .ico { color: var(--lime); }
.rodaje__note { margin-top: 16px; font-size: .9rem; color: var(--muted-on-dark); }
.route {
  display: grid; gap: 12px; padding: 22px; border-radius: var(--r-lg);
  background: var(--ink-2); border: 1px solid var(--line-dark); box-shadow: var(--shadow-lg);
}
.route__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.route__title { font: 800 1.5rem/1 var(--f-display); letter-spacing: .03em; text-transform: uppercase; }
.route__meta { font-size: .8rem; color: var(--muted-on-dark); white-space: nowrap; }
.leg { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: var(--r-sm); background: var(--ink-3); }
.leg__k { font: 800 1.15rem/1 var(--f-display); letter-spacing: .04em; text-transform: uppercase; color: var(--lime); }
.leg b { display: block; font-size: .95rem; }
.leg span { font-size: .84rem; color: var(--muted-on-dark); line-height: 1.4; }
.route__pulse { height: 34px; margin-top: 4px; }
.route__pulse polyline { stroke: var(--lime); }
@media (max-width: 860px) { .rodaje__grid { grid-template-columns: 1fr; } }

/* faq */
.faq { background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.qas { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font: 600 1.06rem/1.4 var(--f-body); letter-spacing: -.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__ico {
  box-sizing: content-box; padding: 8px; border-radius: 50%;
  background: var(--mint); color: var(--forest);
  transition: transform .25s ease, background-color .2s ease;
}
.qa summary:hover .qa__ico { background: var(--mint-2); }
.qa[open] .qa__ico { transform: rotate(45deg); background: var(--lime); color: var(--ink); }
.qa__a { padding: 0 56px 26px 0; color: var(--muted); }
@media (max-width: 860px) {
  .faq__grid { grid-template-columns: 1fr; }
  .qa__a { padding-right: 0; }
}

/* cta final */
.cta { background: var(--paper); padding-top: 0; }
.cta__box {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px;
  padding: clamp(36px, 6vw, 72px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(198, 244, 50, .22), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(43, 76, 115, .8), transparent 60%),
    var(--ink);
  color: var(--cream);
}
.cta__box h2 { font-size: clamp(3rem, 6.6vw, 4.8rem); margin-bottom: 14px; }
.cta__box p { color: var(--muted-on-dark); max-width: 46ch; font-size: 1.1rem; }

/* footer */
.site-footer { background: var(--ink); color: var(--cream); padding-top: clamp(56px, 7vw, 80px); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-bottom: 48px; }
.brand--footer { margin-bottom: 18px; }
.site-footer__tag { color: var(--muted-on-dark); margin-bottom: 10px; }
.site-footer__loc { display: flex; align-items: center; gap: 8px; color: var(--muted-on-dark); font-size: .95rem; }
.site-footer__h { font: 700 .78rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--lime); margin-bottom: 18px; }
.site-footer__links { display: grid; gap: 12px; }
.site-footer__links a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); font-weight: 600; word-break: break-all; }
.site-footer__links a:hover { color: var(--lime); }
.site-footer__links .ico { color: var(--muted-on-dark); }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 22px 96px; border-top: 1px solid var(--line-dark);
  font-size: .88rem; color: var(--muted-on-dark);
}
.site-footer__base a { color: var(--muted-on-dark); }
.site-footer__base a:hover { color: var(--cream); }
@media (max-width: 700px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* boton flotante */
.floater {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  height: 60px; min-width: 60px; padding: 0 18px;
  border-radius: 99px; background: var(--lime); color: var(--ink);
  text-decoration: none; font-weight: 700;
  box-shadow: 0 16px 40px -14px rgba(14, 27, 44, .6), 0 0 0 4px rgba(14, 27, 44, .08);
  transition: transform .2s ease, opacity .25s ease, visibility .25s;
}
.floater .ico { width: 26px; height: 26px; }
.floater:hover { transform: translateY(-3px); }
.floater__label { display: none; }
.js .floater { opacity: 0; visibility: hidden; transform: translateY(12px); }
.js .floater.is-visible { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 921px) { .floater__label { display: inline; } }

/* aparicion al hacer scroll (solo con JS y sin preferencia de movimiento reducido) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .pains .reveal:nth-child(2), .js .service-grid .reveal:nth-child(2) { transition-delay: .08s; }
  .js .pains .reveal:nth-child(3), .js .service-grid .reveal:nth-child(3) { transition-delay: .16s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* 404 */
.nf { min-height: 100vh; display: grid; place-items: center; background: var(--ink); color: var(--cream); padding: 24px; }
.nf__box { text-align: center; display: grid; justify-items: center; gap: 18px; }
.nf h1 { font-size: clamp(2.6rem, 6vw, 3.8rem); text-transform: uppercase; }
.nf .brand__icon { width: 72px; height: 72px; background: var(--ink-3); }
.nf p { color: var(--muted-on-dark); }

/* pie: enlaces de la linea final (textos legales, volver arriba) */
.site-footer__meta { display: flex; flex-wrap: wrap; gap: 0 24px; }
/* zona de toque de al menos 44 px de alto en el movil */
.site-footer__meta a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------------------------------------------------- textos legales --- */
.legal-nav { display: flex; align-items: center; gap: 20px; }
.legal-nav__back { color: var(--muted-on-dark); font-weight: 600; font-size: .95rem; text-decoration: none; }
.legal-nav__back:hover { color: var(--cream); }
.legal { padding-block: clamp(40px, 7vw, 88px) var(--section-y); }
.legal__in { max-width: 800px; }
.legal h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); font-weight: 800; text-transform: uppercase; }
.legal__updated { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.legal__toc a {
  padding: 9px 18px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line);
  font-weight: 600; font-size: .95rem; text-decoration: none;
}
.legal__toc a:hover { border-color: var(--ink); }
.legal__sec { margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--line); }
.legal h2 { font-size: clamp(2rem, 4.6vw, 2.9rem); margin-bottom: 20px; }
.legal h3 { font: 700 1.08rem/1.3 var(--f-body); letter-spacing: 0; margin: 30px 0 8px; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 1.3em; margin-top: 12px; display: grid; gap: 8px; }
.legal ul li::marker { color: var(--forest); }
.legal__sec a { color: var(--forest); font-weight: 600; text-underline-offset: 3px; word-break: break-word; }
.legal :focus-visible { outline-color: var(--forest); }
.legal__facts {
  display: grid; grid-template-columns: max-content 1fr; gap: 12px 28px; margin: 20px 0 4px;
  padding: 22px 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
}
.legal__facts dt { font-weight: 700; }
.legal__facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .legal-nav__back { display: none; }
  .legal__facts { grid-template-columns: 1fr; gap: 2px; padding: 18px 20px; }
  .legal__facts dd { margin-bottom: 12px; }
  .legal__facts dd:last-child { margin-bottom: 0; }
}
