/* =============================================================
   Tercerizar Sueldos · styles.css
   1. Tokens · 2. Base · 3. Utilidades · 4. Componentes
   5. Secciones · 6. Animaciones · 7. Responsive · 8. Movimiento reducido
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --navy: #0f2b5b;
  --navy-2: #1b3f7a;
  --navy-deep: #0a1f44;
  --orange: #f26b21;
  --orange-2: #e0581a;
  --orange-soft: #fde6d6;
  --cream: #fbf8f3;
  --cream-2: #f5efe6;
  --white: #ffffff;
  --sky: #eaf1fb;
  --sky-2: #f3f6fb;
  --ink: #0f2b5b;
  --muted: #5b6b86;
  --line: rgba(15, 43, 91, .12);
  --line-strong: rgba(15, 43, 91, .2);

  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", "Segoe Script", cursive;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(15,43,91,.06), 0 4px 14px rgba(15,43,91,.06);
  --shadow: 0 2px 6px rgba(15,43,91,.05), 0 18px 48px -12px rgba(15,43,91,.18);
  --shadow-lg: 0 4px 10px rgba(15,43,91,.06), 0 40px 80px -24px rgba(15,43,91,.28);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(84px, 11vw, 150px);
  --nav-h: 76px;
}

/* =============================================================
   2. Base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
strong, b { font-weight: 700; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; font-weight: 800; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 999;
  padding: .7rem 1.1rem; background: var(--navy); color: #fff; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilidades
   ============================================================= */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section); }
.accent { color: var(--orange); font-style: normal; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--navy); }

.ic {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

.caps {
  font-size: .72rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--navy);
  display: inline-flex; align-items: center; gap: .8em;
}
.caps .ic { width: 1.5em; height: 1.5em; color: var(--orange); stroke-width: 1.5; }
.caps--light { color: rgba(255,255,255,.82); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .9rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 1.4rem;
}
.eyebrow-line { width: 34px; height: 2px; background: var(--orange); border-radius: 2px; display: inline-block; }
.eyebrow--light { color: #ffb48a; }
.eyebrow--light .eyebrow-line { background: #ffb48a; }
.eyebrow--center { justify-content: center; }

.h2 { font-size: clamp(2.2rem, 5.2vw, 4rem); color: var(--navy); }
.h2--light { color: #fff; }

.hand {
  font-family: var(--hand); font-weight: 600; color: var(--navy);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.05; transform: rotate(-4deg); transform-origin: left center;
}
.hand::after { content: ""; display: block; width: 72px; height: 3px; margin-top: .45rem; border-radius: 3px; background: var(--orange); transform: rotate(2deg); }
.hand--light { color: #fff; }

/* Subrayado tipo pincel debajo de la palabra naranja */
.swash { position: relative; isolation: isolate; white-space: nowrap; }
.swash::after {
  content: ""; position: absolute; z-index: -1;
  left: -3%; right: -3%; bottom: -.02em; height: .34em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 30' preserveAspectRatio='none'%3E%3Cpath d='M3 19C60 9 140 6 297 12c-70 2-160 5-250 14' fill='none' stroke='%23f26b21' stroke-opacity='.28' stroke-width='12' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s var(--ease-out) .35s;
}
html:not(.js) .swash::after,
.is-in .swash::after, .is-in.swash::after,
.is-loaded .hero .swash::after { clip-path: inset(0 0 0 0); }
.is-loaded .hero .swash::after { transition-delay: 1.05s; }

/* Etiquetas de contenido de ejemplo */
.tag-ejemplo {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-2); background: var(--orange-soft); border-radius: 999px; padding: .32em .8em;
  white-space: nowrap; vertical-align: middle;
}
.tag-ejemplo::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
/* Agregá ?ejemplos a la URL para resaltar todo lo que hay que reemplazar */
html.show-ejemplos [data-ejemplo] { outline: 2px dashed var(--orange); outline-offset: 6px; }

/* Círculo celeste de íconos (como en las publicaciones) */
.ic-circle {
  width: 64px; height: 64px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--sky); color: var(--navy);
  transition: transform .5s var(--ease-out), background .4s var(--ease-out);
}
.ic-circle .ic { width: 30px; height: 30px; stroke-width: 1.5; }
.ic-circle--lg { width: 76px; height: 76px; }
.ic-circle--lg .ic { width: 36px; height: 36px; }

/* Arcos naranjas decorativos */
.arc { position: absolute; pointer-events: none; fill: none; stroke: var(--orange); stroke-width: 2; z-index: 0; }

/* =============================================================
   4. Componentes
   ============================================================= */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  padding: .95rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .98rem; letter-spacing: -.005em;
  background: var(--bg); color: var(--fg); position: relative; overflow: hidden; isolation: isolate;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background .3s;
  box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--bg) 80%, transparent);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px color-mix(in srgb, var(--bg) 85%, transparent); }
.btn:hover::before { transform: translateX(120%); }
.btn .ic { width: 1.2em; height: 1.2em; }
.btn-orange { --bg: var(--orange); }
.btn-navy { --bg: var(--navy); }
.btn-sm { padding: .62rem 1.1rem; font-size: .88rem; }
.btn-lg { padding: 1.1rem 1.7rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--navy);
  padding-block: .4rem; position: relative;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 1.9em; bottom: 0; height: 2px; background: var(--orange);
  transform: scaleX(.3); transform-origin: left; transition: transform .5s var(--ease-out);
}
.link-arrow .ic { color: var(--orange); transition: transform .5s var(--ease-out); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow:hover .ic { transform: translateX(5px); }

.ticks { display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.6rem; font-size: .95rem; color: var(--navy); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .48em; width: 14px; height: 8px;
  border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg);
}

/* Marca */
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-globe { width: 44px; height: 44px; object-fit: contain; transition: transform 1.2s var(--ease-out); }
.brand:hover .brand-globe { transform: rotate(-25deg); }
.brand-word { display: grid; line-height: 1; font-weight: 800; letter-spacing: .04em; font-size: 1.02rem; }
.brand-word span:first-child { color: var(--navy); }
.brand-word span:last-child { color: var(--orange); margin-top: .18em; }
.brand--light .brand-word span:first-child { color: #fff; }

/* Placeholders de imágenes */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sky); }
.media > img { width: 100%; height: 100%; object-fit: cover; }
.ph { isolation: isolate; }
.ph-label {
  position: absolute; left: 16px; bottom: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy);
  background: rgba(255,255,255,.82); border: 1px dashed rgba(15,43,91,.3);
  padding: .5em .85em; border-radius: 999px;
}
.ph-label .ic { width: 1.3em; height: 1.3em; color: var(--orange); }
.ph-icon { position: absolute; inset: 0; margin: auto; width: 34%; height: 34%; fill: none; stroke: rgba(15,43,91,.22); stroke-width: 1; }

/* Placeholder "escritorio": evoca la foto con formas desenfocadas */
.ph--desk {
  background:
    radial-gradient(60% 50% at 20% 20%, rgba(255,255,255,.95), transparent 70%),
    linear-gradient(170deg, #f7f3ec 0%, #eef2f7 55%, #e2e8f1 100%);
}
.ph--desk::before { /* notebook desenfocada */
  content: ""; position: absolute; z-index: 0; right: -8%; top: 14%; width: 62%; height: 42%;
  border-radius: 18px; background: linear-gradient(160deg, #3d4757, #232a35);
  filter: blur(14px); opacity: .55; transform: rotate(-6deg);
}
.ph--desk::after { /* superficie del escritorio */
  content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 36%;
  background: linear-gradient(180deg, rgba(255,255,255,0), #f4efe7 30%, #efe8dd);
}
.ph-blob { position: absolute; border-radius: 50%; filter: blur(26px); z-index: 0; }
.ph-blob--plant { width: 46%; height: 40%; left: 30%; top: 2%; background: radial-gradient(circle, #6f9a6a 0%, #8db384 45%, transparent 70%); opacity: .55; }
.ph-blob--light { width: 50%; height: 40%; left: -10%; top: -6%; background: #fff; opacity: .9; }
.ph-mug {
  position: absolute; z-index: 2; right: 16%; bottom: 20%; width: 30%; aspect-ratio: .86;
  background: linear-gradient(90deg, #f1f1ef, #fff 45%, #ececea); border-radius: 10px 10px 22px 22px;
  box-shadow: 0 30px 40px -24px rgba(15,43,91,.35);
  display: grid; place-items: center; text-align: center;
}
.ph-mug::after {
  content: ""; position: absolute; right: -24%; top: 22%; width: 34%; height: 44%;
  border: 9px solid #f3f3f1; border-left: 0; border-radius: 0 40px 40px 0;
}
.ph-mug span { font-size: clamp(.5rem, .9vw, .68rem); font-weight: 800; letter-spacing: .02em; line-height: 1.25; color: var(--navy); text-transform: uppercase; }
.ph-mug span::after { content: ""; display: block; width: 22px; height: 2px; margin: .5em auto 0; background: var(--orange); }

.ph--portrait {
  background:
    radial-gradient(70% 60% at 50% 30%, #fff, transparent 70%),
    linear-gradient(180deg, #eef3fa, #e3eaf4);
}

/* =============================================================
   5. Secciones
   ============================================================= */

/* ---------- Barra de progreso ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out), height .4s var(--ease-out);
}
.nav.is-scrolled {
  --nav-h: 66px;
  background: rgba(251, 248, 243, .92);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(15,43,91,.3);
}
@supports (backdrop-filter: blur(12px)) {
  .nav.is-scrolled { background: rgba(251, 248, 243, .78); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); }
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.nav .brand { margin-right: auto; position: relative; z-index: 2; }
.nav .brand-globe { width: 40px; height: 40px; }
.nav-links { display: none; }
.nav-cta { display: none; }

.burger { position: relative; z-index: 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-content: center; gap: 6px; background: var(--white); box-shadow: var(--shadow-sm); }
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .45s var(--ease-out); }
.nav.is-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Menú móvil */
@media (max-width: 959px) {
  .nav-links {
    display: flex; flex-direction: column; justify-content: center; gap: .3rem;
    position: fixed; inset: 0; z-index: 1; padding: 100px var(--gutter) 40px;
    background: var(--cream);
    clip-path: circle(0% at calc(100% - 46px) 38px);
    transition: clip-path .7s var(--ease-out);
    visibility: hidden;
  }
  .nav.is-open .nav-links { clip-path: circle(150% at calc(100% - 46px) 38px); visibility: visible; }
  .nav-links a { font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; padding-block: .25rem; opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .6s var(--ease-out); }
  .nav.is-open .nav-links a { opacity: 1; transform: none; }
  .nav.is-open .nav-links a:nth-child(1) { transition-delay: .12s; }
  .nav.is-open .nav-links a:nth-child(2) { transition-delay: .17s; }
  .nav.is-open .nav-links a:nth-child(3) { transition-delay: .22s; }
  .nav.is-open .nav-links a:nth-child(4) { transition-delay: .27s; }
  .nav.is-open .nav-links a:nth-child(5) { transition-delay: .32s; }
  .nav.is-open .nav-links a:nth-child(6) { transition-delay: .37s; }
  .nav-links .nav-links-cta { margin-top: 1.4rem; display: inline-flex; align-items: center; gap: .6rem; color: var(--orange); font-size: 1.3rem; }
  html.menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  padding-top: calc(var(--nav-h) + clamp(28px, 6vw, 70px));
  padding-bottom: 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(234,241,251,.9), transparent 70%),
    linear-gradient(180deg, #fdfbf8, var(--cream));
}
.arc-hero-tr { width: min(70vw, 720px); right: -18vw; top: -24vw; opacity: .9; }
.arc-hero-bl { width: min(50vw, 480px); left: -14vw; bottom: -16vw; stroke-width: 1.5; opacity: .6; }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(56px, 8vw, 80px); align-items: center; }
.hero .swash { white-space: normal; }
.hero-title { font-size: clamp(2.3rem, 10.2vw, 4.6rem); color: var(--navy); letter-spacing: -.035em; line-height: 1.0; margin-bottom: 1.6rem; }
.hero-title .ln { display: block; overflow: hidden; padding: 0 .15em .1em 0; margin-bottom: -.1em; }
.hero-title .ln > span { display: inline-block; }
.hero-lead { font-size: clamp(1.04rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 34rem; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; margin-bottom: 2.2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 600; color: var(--navy); }
.hero-trust .ic { color: var(--orange); stroke-width: 2.2; width: 1.05em; height: 1.05em; }

.hero-visual { position: relative; margin-inline: 4% 2%; margin-bottom: 40px; }
.media-hero { aspect-ratio: 3 / 2; border-radius: 28px; box-shadow: var(--shadow-lg); }
.media-hero .ph-label { top: 16px; bottom: auto; }
.media-hero > img { object-position: 60% 50%; }

.receipt {
  position: absolute; z-index: 4; left: -8%; top: 82%; width: clamp(230px, 54%, 260px);
  background: #fff; border-radius: 18px; padding: 18px 18px 16px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  animation: bob 7s ease-in-out infinite;
}
.receipt-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line-strong); }
.receipt-title { font-weight: 800; font-size: .88rem; color: var(--navy); white-space: nowrap; }
.receipt-chip { white-space: nowrap; }
.receipt-chip { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: var(--sky); padding: .3em .7em; border-radius: 999px; }
.receipt-rows { display: grid; gap: 9px; }
.receipt-rows li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font-size: .74rem; color: var(--muted); }
.receipt-rows i { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--sky), #d9e4f4); transform-origin: left; }
.receipt-rows b { width: 18px; height: 18px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; }
.receipt-rows b .ic { width: 11px; height: 11px; stroke-width: 3; }
.receipt-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.receipt-stamp {
  font-size: .66rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--orange);
  border: 2px solid var(--orange); border-radius: 8px; padding: .3em .7em; transform: rotate(-6deg);
}
.receipt-sign { width: 70px; height: 2px; background: var(--line-strong); }

.float-chip {
  position: absolute; z-index: 4; right: -4%; top: 9%;
  display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem .7rem .7rem;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line);
  animation: bob 8s ease-in-out -3s infinite;
}
.float-chip-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--sky); display: grid; place-items: center; color: var(--navy); }
.float-chip-ic .ic { width: 22px; height: 22px; }
.float-chip b { display: block; font-size: .92rem; line-height: 1.1; }
.float-chip small { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; }

.hand-note {
  position: absolute; z-index: 4; right: 2%; bottom: -14%;
  font-family: var(--hand); font-weight: 600; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1; color: var(--navy);
  transform: rotate(-6deg); text-align: right;
}
.hand-arrow { position: absolute; width: 64px; right: 102%; top: -30%; transform: scaleX(-1) rotate(10deg); fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }

.hero-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 28px; margin-top: 40px; }
.hero-foot::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--line); }
.hero-foot .caps:first-child { display: none; }
.caps-link:hover .ic { transform: translateY(3px) rotate(90deg); }
.caps-link .ic { transition: transform .5s var(--ease-out); transform: rotate(90deg); }

/* ---------- Cifras ---------- */
.stats { background: var(--white); border-block: 1px solid var(--line); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 34px 8px 34px 0; }
.stat:nth-child(odd) { padding-right: 18px; border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 18px; }
.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.stat-num { font-size: clamp(2.5rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; margin-bottom: .55rem; }
.stat-num sup { color: var(--orange); font-size: .55em; vertical-align: .55em; margin-left: .05em; }
.stat-label { font-size: .88rem; color: var(--muted); max-width: 16rem; line-height: 1.45; }
.stats-tag { position: absolute; right: var(--gutter); top: -11px; }

/* ---------- Qué es ---------- */
.about { background: var(--cream); }
.about-grid { display: grid; gap: 40px; margin-bottom: clamp(60px, 8vw, 100px); }
.about-head .h2 { margin-bottom: 1.6rem; }
.hand-about { margin-top: .4rem; }
.about-body > p { margin-bottom: 1.2rem; }
.about-body > p:not(.lead) { color: var(--muted); font-size: 1.05rem; }
.about-body em { font-style: normal; color: var(--orange); font-weight: 700; }
.principles { margin-top: 2.2rem; border-top: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.principle-n { font-size: .8rem; font-weight: 800; color: var(--orange); letter-spacing: .08em; padding-top: .3rem; }
.principles h3 { font-size: 1.22rem; margin-bottom: .35rem; }
.principles p { color: var(--muted); font-size: .98rem; }

.equation {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  background: var(--white); border-radius: 28px; padding: clamp(16px, 3vw, 36px); box-shadow: var(--shadow);
}
.eq-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .8rem; padding: 14px 2px; border-radius: 20px; min-width: 0; }
.eq-item p { font-size: .62rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; line-height: 1.3; color: var(--navy); }
.eq-op { display: none; }
.eq-item--result { grid-column: 1 / -1; background: var(--navy); flex-direction: row; justify-content: center; gap: 1.1rem; text-align: left; }
.eq-item--result p { color: #fff; font-size: .95rem; }
.eq-item--result .ic-circle { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- Por qué ---------- */
.why { background: var(--white); overflow: hidden; }
.arc-why { width: min(60vw, 560px); right: -22vw; top: -10vw; opacity: .5; }
.why-grid { position: relative; z-index: 1; display: grid; gap: 48px; }
.why-head .h2 { margin-bottom: 1.4rem; }
.why-head .muted { font-size: 1.05rem; max-width: 30rem; margin-bottom: 1.6rem; }
.why-list { display: grid; gap: 16px; }
.benefit {
  display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; align-items: start;
  padding: 26px; border-radius: var(--radius); background: var(--cream); border: 1px solid transparent;
  transition: background .5s var(--ease-out), border-color .5s var(--ease-out), box-shadow .5s var(--ease-out), transform .6s var(--ease-out);
}
.benefit:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow); transform: translateY(-3px); }
.benefit:hover .ic-circle { transform: scale(1.06) rotate(-6deg); background: var(--orange-soft); }
.benefit-n { font-size: .74rem; font-weight: 800; letter-spacing: .2em; color: var(--orange); margin-bottom: .35rem; }
.benefit h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: .5rem; }
.benefit p:not(.benefit-n) { color: var(--muted); }

/* ---------- Autodiagnóstico ---------- */
.signals { background: var(--navy); color: #fff; overflow: hidden; }
.signals::before { content: ""; position: absolute; width: 640px; height: 640px; right: -260px; bottom: -320px; border-radius: 50%; border: 2px solid rgba(242,107,33,.5); }
.signals-grid { position: relative; display: grid; gap: 40px; }
.signals-sub { color: rgba(255,255,255,.72); margin: 1.2rem 0 1.8rem; max-width: 28rem; }
.signals-result { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .4rem 1.2rem; padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.signals-count { font-size: 3.2rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--orange); font-variant-numeric: tabular-nums; }
.signals-count small { font-size: .4em; color: rgba(255,255,255,.5); }
.signals-msg { color: rgba(255,255,255,.88); font-weight: 600; line-height: 1.4; }
.signals-result .btn { grid-column: 1 / -1; justify-self: start; margin-top: .8rem; }
/* Consulta rápida (arma el mensaje de WhatsApp) */
.quiz-preview { padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.quiz-preview-label { display: flex; align-items: center; gap: .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: .8rem; }
.quiz-preview-label .ic { width: 16px; height: 16px; color: #4fd18b; }
.quiz-bubble { position: relative; background: #fff; color: var(--navy); font-weight: 500; line-height: 1.5; font-size: .98rem; padding: 14px 16px; border-radius: 16px 16px 16px 4px; margin-bottom: 1.2rem; transition: background .3s; }
.quiz-bubble.is-updated { animation: bubblePop .45s var(--ease-out); }
@keyframes bubblePop { 0% { transform: scale(.98); } 60% { transform: scale(1.01); } 100% { transform: none; } }
.quiz { display: grid; gap: 16px; }
.quiz-step { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); border-radius: 18px; padding: 20px; margin: 0; min-width: 0; }
.quiz-step legend small { display: block; margin-top: .15rem; }
.quiz-step legend { float: left; width: 100%; display: flex; align-items: flex-start; gap: .7rem; line-height: 1.35; font-weight: 700; font-size: 1.04rem; color: #fff; margin-bottom: 14px; padding: 0; }
.quiz-step legend small { font-weight: 500; font-size: .8rem; color: rgba(255,255,255,.55); }
.quiz-num { width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: .85rem; font-weight: 800; flex: none; }
.quiz-chips { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.quiz-chips button {
  padding: .6em 1.05em; border-radius: 999px; font-size: .92rem; font-weight: 600; color: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.22); background: transparent;
  transition: background .3s var(--ease-out), border-color .3s, color .3s, transform .3s var(--ease-out);
}
.quiz-chips button:hover { border-color: rgba(255,255,255,.5); transform: translateY(-2px); }
.quiz-chips button[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.signals-list { display: grid; gap: 12px; }
.signals-list button {
  width: 100%; display: flex; align-items: center; gap: 1rem; text-align: left;
  padding: 18px 20px; border-radius: 16px; font-size: 1.02rem; font-weight: 500; line-height: 1.4; color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14);
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out), transform .4s var(--ease-out);
}
.signals-list button:hover { background: rgba(255,255,255,.08); transform: translateX(4px); }
.signals-list .box { width: 26px; height: 26px; border-radius: 8px; flex: none; border: 1.5px solid rgba(255,255,255,.45); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .4s var(--ease-out); }
.signals-list .box .ic { width: 16px; height: 16px; stroke-width: 3; color: #fff; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .45s var(--ease-out); }
.signals-list button[aria-pressed="true"] { background: rgba(242,107,33,.14); border-color: rgba(242,107,33,.65); color: #fff; }
.signals-list button[aria-pressed="true"] .box { background: var(--orange); border-color: var(--orange); transform: rotate(-8deg); }
.signals-list button[aria-pressed="true"] .box .ic { opacity: 1; transform: scale(1); }

/* ---------- Servicios ---------- */
.services { background: var(--cream); padding-bottom: 0; }
.section-head { margin-bottom: clamp(44px, 6vw, 72px); }
.section-head--split { display: grid; gap: 24px; align-items: end; }
.section-head-aside { max-width: 30rem; }
.section-head-aside .hand { margin-bottom: 1.6rem; }
.section-head--center { text-align: center; max-width: 46rem; margin-inline: auto; }
.section-head--center .h2 { margin-bottom: 1.1rem; }
.section-head--center .muted { font-size: 1.05rem; }

.services-grid { display: grid; gap: 18px; }
.service {
  position: relative; background: #fff; border-radius: 26px; padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out), border-color .5s;
}
.service::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -110px; top: -110px; border-radius: 50%;
  border: 2px solid var(--orange); opacity: 0; transform: scale(.6);
  transition: opacity .6s var(--ease-out), transform .9s var(--ease-out);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service:hover::after { opacity: .7; transform: scale(1); }
.service:hover .ic-circle { background: var(--orange-soft); transform: rotate(-8deg); }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.6rem; }
.service-n { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.2px var(--line-strong); }
.service h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); margin-bottom: .7rem; }
.service > p { color: var(--muted); margin-bottom: 1.4rem; }
.service .ticks { padding-top: 1.3rem; border-top: 1px solid var(--line); }

/* Marquee de convenios */
.marquee { padding-block: clamp(60px, 8vw, 96px); overflow: hidden; }
.marquee-title { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; color: var(--muted); }
.marquee-track { display: flex; width: max-content; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-row { display: flex; flex: none; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-row { animation-play-state: paused; }
.marquee-row li {
  display: inline-flex; align-items: baseline; gap: .6rem; white-space: nowrap;
  font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -.02em; color: var(--navy);
  padding-inline: clamp(1.2rem, 2.5vw, 2rem);
}
.marquee-row li::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); margin-left: clamp(1.2rem, 2.5vw, 2rem); align-self: center; }
.marquee-row small { font-size: .5em; font-weight: 600; letter-spacing: .08em; color: var(--muted); }

/* ---------- Equipo ---------- */
.team { background: var(--white); }
.team-grid { display: grid; gap: clamp(48px, 6vw, 40px); max-width: 1080px; margin-inline: auto; }
.member { position: relative; }
.media-member { aspect-ratio: 4 / 4.4; border-radius: 26px; }
.member:hover .media-member > img { transform: scale(1.04); }
.media-member > img { transition: transform 1.2s var(--ease-out); }
.member-years {
  position: absolute; right: 18px; top: calc((100% - 0px) * 0); margin-top: 18px;
  width: 104px; height: 104px; border-radius: 50%; background: var(--orange); color: #fff;
  display: grid; place-content: center; text-align: center; box-shadow: 0 16px 30px -12px rgba(242,107,33,.6);
}
.member-years i { font-style: normal; font-size: .6em; vertical-align: .35em; margin-right: .04em; }
.member-years > span { font-size: 2.2rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.member-years small { font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
.member-body { padding: 28px 4px 0; }
.member-body .tag-ejemplo { margin-bottom: .9rem; }
.member-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .35rem; }
.member-role { font-weight: 700; color: var(--orange); font-size: .95rem; margin-bottom: 1rem; }
.member-body > p:not(.member-role) { color: var(--muted); }
.member-gives { margin-top: 1.4rem; padding: 18px 20px; border-left: 3px solid var(--orange); background: var(--cream); border-radius: 0 14px 14px 0; }
.member-gives .caps { font-size: .64rem; margin-bottom: .4rem; color: var(--orange); }
.member-gives p:last-child { color: var(--navy); font-weight: 600; }

/* ---------- Proceso ---------- */
.process { background: var(--sky-2); overflow: hidden; }
.steps { position: relative; display: grid; gap: 0; counter-reset: s; }
.steps-line { display: none; }
.step { position: relative; padding: 0 0 36px 76px; }
.step::before { /* línea vertical en móvil */
  content: ""; position: absolute; left: 27px; top: 58px; bottom: 4px; width: 2px; background: linear-gradient(var(--orange), rgba(242,107,33,.15));
  transform-origin: top; transform: scaleY(var(--line-s, 1));
}
.step:last-child::before { display: none; }
.step-dot {
  position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%;
  background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.step-dot .ic { width: 26px; height: 26px; }
.step-n { font-size: .72rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); margin-bottom: .4rem; padding-top: .2rem; }
.step h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.step p:not(.step-n) { color: var(--muted); font-size: .97rem; }

.month { margin-top: clamp(48px, 7vw, 90px); background: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.month-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 28px; }
.month-head h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: .2rem; }
.month-track { display: grid; gap: 0; }
.month-track li { position: relative; padding: 0 0 22px 28px; }
.month-track li::before { content: ""; position: absolute; left: 0; top: .45em; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2.5px solid var(--orange); }
.month-track li::after { content: ""; position: absolute; left: 5px; top: 1.4em; bottom: 0; width: 1.5px; background: var(--line-strong); }
.month-track li:last-child::after { display: none; }
.month-when { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); margin-bottom: .2rem; }
.month-track li p:last-child { color: var(--muted); font-size: .94rem; line-height: 1.5; }

/* ---------- Clientes ---------- */
.clients { background: var(--white); }
.logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.logos li { height: 96px; border-radius: 16px; display: grid; place-items: center; padding: 18px 22px; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.logos li img { max-height: 100%; width: auto; filter: grayscale(1); opacity: .7; transition: filter .4s, opacity .4s; }
.logos li:hover img { filter: none; opacity: 1; }
.logo-ph { background: var(--cream); border: 1px dashed var(--line-strong); }
.logo-ph span { font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(15,43,91,.4); }
.logos li:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.logo-name { background: var(--cream); border: 1px solid var(--line); text-align: center; }
.logo-name span { font-size: .92rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; color: var(--navy); text-wrap: balance; }
.logos li.logo-name:hover { border-color: var(--orange); }

/* ---------- Reseñas ---------- */
.reviews { background: var(--cream); overflow: hidden; }
.reviews-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 380px); gap: 16px;
  overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; padding: 6px 2px 24px;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.reviews-grid::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start; position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: 26px; padding: 30px 28px; border: 1px solid var(--line);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.review .tag-ejemplo { align-self: flex-start; margin-bottom: 1.2rem; }
.review-quote { width: 38px; height: 38px; color: var(--orange); margin-bottom: 1rem; }
.review blockquote { font-size: 1.08rem; line-height: 1.6; color: var(--navy); font-weight: 500; flex: 1; margin-bottom: 1.6rem; }
.review figcaption { display: flex; align-items: center; gap: .9rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.review-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: var(--navy); font-weight: 800; font-size: .85rem; letter-spacing: .04em; flex: none; }
.review-avatar .ic { width: 22px; height: 22px; }
.review figcaption b { display: block; font-size: .98rem; line-height: 1.2; }
.review figcaption small { color: var(--muted); font-size: .82rem; }
.review--accent { background: var(--navy); border-color: var(--navy); }
.review--accent blockquote, .review--accent figcaption b { color: #fff; }
.review--accent figcaption small { color: rgba(255,255,255,.65); }
.review--accent figcaption { border-color: rgba(255,255,255,.14); }
.review--accent .review-avatar { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- Confidencialidad ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); padding-block: clamp(56px, 7vw, 84px); }
.trust-inner { display: grid; gap: 28px; }
.trust-title { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.trust-list { display: grid; gap: 20px; }
.trust-list li { display: flex; gap: 1rem; align-items: flex-start; }
.trust-list .ic-circle { width: 54px; height: 54px; }
.trust-list .ic-circle .ic { width: 26px; height: 26px; }
.trust-list p { color: var(--muted); font-size: .94rem; line-height: 1.5; }
.trust-list b { display: block; color: var(--navy); font-size: 1.02rem; margin-bottom: .15rem; }

/* ---------- Preguntas frecuentes ---------- */
.faq { background: var(--white); }
.faq-grid { display: grid; gap: 40px; }
.faq-head .h2 { margin-bottom: 1.2rem; }
.faq-head .muted { margin-bottom: 1.8rem; max-width: 26rem; font-size: 1.05rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.2rem;
  padding: 1.5rem 0; font-size: clamp(1.04rem, 1.6vw, 1.2rem); font-weight: 700; color: var(--navy); letter-spacing: -.01em;
  transition: color .3s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--orange-2); }
.faq-ic { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--sky); color: var(--navy); transition: transform .5s var(--ease-out), background .3s, color .3s; }
.faq-ic .ic { width: 18px; height: 18px; stroke-width: 2; }
.faq-list details[open] .faq-ic { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq-a { overflow: hidden; }
.faq-a p { color: var(--muted); padding: 0 3.4rem 1.6rem 0; max-width: 44rem; }

/* ---------- CTA final ---------- */
.cta {
  position: relative; overflow: hidden; background: var(--navy); color: #fff;
  padding-top: var(--section); padding-bottom: 28px;
}
.arc-cta { width: min(80vw, 760px); right: -26vw; top: -22vw; opacity: .7; }
.cta-disc { position: absolute; left: -120px; bottom: -150px; width: 340px; height: 340px; border-radius: 50%; background: var(--orange); }
.cta-grid { position: relative; z-index: 1; display: grid; gap: 52px; align-items: center; }
.cta-title { font-size: clamp(3rem, 9vw, 6.6rem); letter-spacing: -.045em; line-height: .96; margin-bottom: 1.6rem; }
.cta-title .swash::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 30' preserveAspectRatio='none'%3E%3Cpath d='M3 19C60 9 140 6 297 12c-70 2-160 5-250 14' fill='none' stroke='%23f26b21' stroke-opacity='.45' stroke-width='12' stroke-linecap='round'/%3E%3C/svg%3E"); }
.cta-lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.78); max-width: 32rem; margin-bottom: 2.2rem; }

.ig-card {
  display: grid; gap: 22px; padding: clamp(22px, 3vw, 32px); border-radius: 28px;
  background: #fff; color: var(--navy); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5);
  transform: rotate(-1.5deg); transition: transform .8s var(--ease-out);
  max-width: 460px; width: 100%; justify-self: center;
}
.ig-card:hover { transform: rotate(0) translateY(-6px); }
.ig-card-top { display: flex; align-items: center; gap: .9rem; }
.ig-avatar { width: 58px; height: 58px; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, var(--orange), #ffb27c, var(--navy-2), var(--orange)); flex: none; }
.ig-avatar img { width: 100%; height: 100%; border-radius: 50%; background: #fff; padding: 3px; }
.ig-id b { display: block; font-size: 1.05rem; }
.ig-id small { color: var(--muted); font-size: .82rem; }
.ig-msg { display: block; padding: 18px; background: var(--cream); border-radius: 18px; }
.ig-bubble { display: inline-block; background: var(--sky); border-radius: 18px 18px 18px 4px; padding: .8rem 1rem; font-size: .95rem; line-height: 1.45; }
.ig-card .btn .ic:last-child { transition: transform .5s var(--ease-out); }
.ig-card:hover .btn .ic:last-child { transform: translateX(5px); }
.ig-note { text-align: center; color: var(--muted); font-size: .8rem; }
.contact-list { display: grid; gap: 10px; }
.contact-list a {
  display: flex; align-items: center; gap: .9rem; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line);
  transition: border-color .4s var(--ease-out), background .4s var(--ease-out), transform .5s var(--ease-out);
}
.contact-list a:hover { border-color: var(--orange); background: var(--cream); transform: translateX(4px); }
.contact-list .ic-circle { width: 44px; height: 44px; }
.contact-list .ic-circle .ic { width: 22px; height: 22px; }
.contact-list a > span:last-child { min-width: 0; }
.contact-list small { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cta-wa span { white-space: nowrap; }
.contact-list b { display: block; font-size: .86rem; line-height: 1.3; color: var(--navy); overflow-wrap: anywhere; }
.mail-row { padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); }
.mail-info { display: flex; align-items: center; gap: .9rem; }
.mail-info > span:last-child { min-width: 0; }
.mail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mail-btn {
  flex: 1 1 auto; text-align: center; padding: .55em 1em; border-radius: 999px; font-size: .82rem; font-weight: 700;
  color: var(--navy); border: 1px solid var(--line-strong); background: #fff;
  transition: border-color .3s, background .3s, color .3s;
}
.mail-btn:hover { border-color: var(--orange); color: var(--orange); }
.mail-btn.is-copied, .footer-ig.is-copied { color: #1e9e5a; border-color: #1e9e5a; }
button.footer-ig { font: inherit; font-weight: 700; text-align: left; padding: 0; background: none; border: 0; cursor: pointer; }
.footer-social { display: grid; gap: .6rem; align-content: start; }
.footer-social .caps { margin-bottom: .2rem; }
.footer-ig { overflow-wrap: anywhere; }

.cta-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 1rem; margin-top: clamp(64px, 9vw, 110px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.cta-foot .caps:first-child { font-size: .62rem; max-width: 12rem; line-height: 1.9; }
.cta-foot .caps .ic { color: #ffb48a; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding-top: 64px; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 44px; }
.footer-brand p { margin-top: 1rem; font-family: var(--hand); font-size: 1.5rem; color: #fff; }
.footer-nav { display: grid; gap: .55rem; }
.footer-nav a { width: fit-content; transition: color .3s; }
.footer-nav a:hover, .footer-ig:hover { color: var(--orange); }
.footer-social .caps { margin-bottom: .8rem; }
.footer-ig { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; color: #fff; transition: color .3s; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 22px 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: rgba(255,255,255,.5); }

/* ---------- Botón flotante ---------- */
.fab {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: #fff; box-shadow: 0 14px 30px -10px rgba(242,107,33,.7);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.fab .ic { width: 26px; height: 26px; }
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* =============================================================
   6. Animaciones
   ============================================================= */
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-6deg) scale(1.8); } 100% { opacity: 1; transform: rotate(-6deg) scale(1); } }

/* Trazos que se dibujan */
.draw { fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease-out) .2s; }
.draw-slow { transition-duration: 2.4s; }
html:not(.js) .draw, .is-in .draw, .is-loaded .hero .draw { stroke-dashoffset: 0; }
.is-loaded .hero .hand-arrow .draw { transition-delay: 1.6s; }
.is-loaded .hero .hand-arrow .draw + .draw { transition-delay: 2.2s; }

/* Aparición al hacer scroll (solo si hay JS: sin JS todo se ve) */
/* Se usa "translate" (no "transform") para no pisar los efectos hover */
.js [data-reveal] {
  opacity: 0; translate: 0 28px;
  transition: opacity .9s var(--ease-out) var(--d, 0s), translate 1.1s var(--ease-out) var(--d, 0s),
              transform .7s var(--ease-out), box-shadow .7s var(--ease-out), background .5s var(--ease-out), border-color .5s var(--ease-out);
}
.js [data-reveal].is-in { opacity: 1; translate: none; }

/* Contenedores cuyos hijos aparecen escalonados */
.js .steps[data-reveal], .js .month[data-reveal] { opacity: 1; translate: none; }
.js .steps .step { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out) var(--d), transform 1s var(--ease-out) var(--d); }
.js .steps.is-in .step { opacity: 1; transform: none; }
.js .steps .step::before { --line-s: 0; transition: transform 1.2s var(--ease-out) calc(var(--d) + .3s); }
.js .steps.is-in .step::before { --line-s: 1; }
.js .month { transition: none; }
.js .month .month-track li { opacity: 0; transform: translateX(-14px); transition: opacity .7s var(--ease-out) var(--d), transform .9s var(--ease-out) var(--d); }
.js .month.is-in .month-track li { opacity: 1; transform: none; }
.js .equation[data-reveal] { opacity: 1; translate: none; }
.js .equation .eq-item, .js .equation .eq-op { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.js .equation.is-in .eq-item, .js .equation.is-in .eq-op { opacity: 1; transform: none; }
.equation > :nth-child(2) { transition-delay: .1s !important; }
.equation > :nth-child(3) { transition-delay: .2s !important; }
.equation > :nth-child(4) { transition-delay: .3s !important; }
.equation > :nth-child(5) { transition-delay: .4s !important; }
.equation > :nth-child(6) { transition-delay: .5s !important; }
.equation > :nth-child(7) { transition-delay: .7s !important; }
.js .logos[data-reveal] { opacity: 1; translate: none; }
.js .logos li { opacity: 0; translate: 0 16px; transition: opacity .7s var(--ease-out), translate .9s var(--ease-out), transform .5s var(--ease-out), box-shadow .5s; }
.js .logos.is-in li { opacity: 1; translate: none; }
.logos li:nth-child(2) { transition-delay: .05s; } .logos li:nth-child(3) { transition-delay: .1s; } .logos li:nth-child(4) { transition-delay: .15s; }
.logos li:nth-child(5) { transition-delay: .2s; } .logos li:nth-child(6) { transition-delay: .25s; } .logos li:nth-child(7) { transition-delay: .3s; } .logos li:nth-child(8) { transition-delay: .35s; }
.js .logos.is-in li:hover { transition-delay: 0s; }

/* Hero: entrada al cargar */
.js .hero-in { opacity: 0; transform: translateY(24px); }
.js .hero-title .hero-in { opacity: 1; transform: translateY(108%); }
.is-loaded .hero-in, .js.is-loaded .hero-title .hero-in {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: calc(var(--i, 0) * .1s + .1s);
}
.js .hero-visual.hero-in { transform: translateY(40px) scale(.98); }
.is-loaded .hero-visual.hero-in { transform: none; transition-duration: 1.4s; }

/* Recibo: filas que se completan */
.js .receipt-rows i { transform: scaleX(0); }
.js .receipt-rows b { transform: scale(0); }
.js .receipt-stamp { opacity: 0; }
.is-loaded .receipt-rows i { transform: scaleX(1); transition: transform .9s var(--ease-out); transition-delay: calc(1s + var(--r) * .28s); }
.is-loaded .receipt-rows b { animation: pop .5s var(--ease-out) forwards; animation-delay: calc(1.5s + var(--r) * .28s); }
.is-loaded .receipt-stamp { animation: stamp .55s var(--ease-out) 2.8s forwards; }

/* =============================================================
   7. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .logos { grid-template-columns: repeat(3, 1fr); }
  .hero-foot .caps:first-child { display: inline-flex; }
  .eq-item p { font-size: .76rem; letter-spacing: .06em; }
}

@media (min-width: 720px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat, .stat:nth-child(odd), .stat:nth-child(even) { padding: 44px 24px; border-bottom: 0; border-right: 1px solid var(--line); }
  .stat:first-child { padding-left: 0; }
  .stat:nth-child(4) { border-right: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid .member:nth-child(2) { margin-top: 80px; }
  .logos { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .logos li { height: 112px; }
  .trust-list { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .section-head--split { grid-template-columns: 1.2fr 1fr; }
  .section-head--split > .section-head-aside { justify-self: end; }
  .month-track { grid-template-columns: repeat(5, 1fr); gap: 18px; }
  .month-track li { padding: 30px 0 0; }
  .month-track li::before { top: 0; }
  .month-track li::after { left: 16px; right: -18px; top: 5px; bottom: auto; width: auto; height: 1.5px; }
  .equation { grid-template-columns: 1fr auto 1fr auto 1fr auto 1.2fr; align-items: center; gap: 6px; }
  .eq-op { display: block; font-size: 2rem; font-weight: 300; color: var(--orange); text-align: center; padding-inline: 4px; }
  .eq-item--result { grid-column: auto; flex-direction: column; text-align: center; padding: 22px 12px; }
  .eq-item--result p { font-size: .82rem; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; align-items: center; gap: 2rem; }
  .nav-links a { position: relative; font-size: .92rem; font-weight: 600; color: var(--navy); padding-block: .4rem; }
  .nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
  .nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
  .nav-links .nav-links-cta { display: none; }
  .nav-cta { display: inline-flex; }
  .burger { display: none; }

  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .hero-title { font-size: clamp(3.2rem, 4.9vw, 4.4rem); }
  .hero-visual { margin: 0 0 150px 2%; }
  .media-hero { aspect-ratio: 4 / 3.3; }

  .about-grid { grid-template-columns: .9fr 1.1fr; gap: 80px; }
  .why-grid { grid-template-columns: .95fr 1.05fr; gap: 80px; }
  .why-sticky { position: sticky; top: calc(var(--nav-h) + 48px); }
  .benefit { padding: 34px; }
  .signals-grid { grid-template-columns: .9fr 1.1fr; gap: 32px 80px; align-items: start; }
  .signals-head { grid-column: 1; grid-row: 1; }
  .quiz { grid-column: 2; grid-row: 1 / span 2; }
  .quiz-preview { grid-column: 1; grid-row: 2; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 80px; }
  .faq-head { position: sticky; top: calc(var(--nav-h) + 48px); align-self: start; }
  .cta-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 56px; }
  .cta-title { font-size: clamp(3.4rem, 6.2vw, 6rem); }
  .cta-disc { width: 420px; height: 420px; left: -150px; bottom: -200px; }
  .trust-inner { grid-template-columns: .7fr 2fr; align-items: center; gap: 48px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .reviews-grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }

  /* Pasos en horizontal */
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps-line { display: block; position: absolute; left: 28px; right: 12%; top: 19px; width: calc(100% - 28px - 12%); height: 20px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-dasharray: 1; overflow: visible; }
  .steps-line .draw { stroke-dasharray: 1; }
  .step { padding: 84px 0 0; }
  .step::before { display: none; }
  .step-dot { width: 58px; height: 58px; }
  .fab { display: none; }
}

@media (min-width: 1280px) {
  .services-grid { gap: 24px; }
  .service { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-content: start; }
  .service-top, .service h3, .service > p { grid-column: 1; }
  .service .ticks { grid-column: 2; grid-row: 1 / span 3; align-self: end; border-top: 0; padding-top: 0; padding-left: 28px; border-left: 1px solid var(--line); }
}

/* Celulares chicos */
@media (max-width: 539px) {
  .hero-visual { margin-inline: 0; margin-bottom: 120px; }
  .media-hero { aspect-ratio: 4 / 3.2; }
  .receipt { left: 2%; top: 92%; width: 200px; padding: 12px; }
  .receipt-rows { gap: 7px; }
  .receipt-rows li:nth-child(n+3) { display: none; }
  .receipt-rows li { font-size: .64rem; gap: 7px; }
  .receipt-title { font-size: .8rem; }
  .float-chip { right: 3%; top: -24px; padding: .55rem .8rem .55rem .55rem; }
  .float-chip-ic { width: 34px; height: 34px; }
  .media-hero .ph-label { top: 46px; }
  .hand-note { display: none; }
  .ph-mug { right: 5%; bottom: 30%; width: 28%; }
  .hero-actions .btn { width: 100%; }
  .benefit { grid-template-columns: 1fr; padding: 24px; }
  .signals-list button { padding: 16px; font-size: .97rem; }
  .faq-a p { padding-right: 0; }
  .member-years { width: 88px; height: 88px; }
  .member-years > span { font-size: 1.9rem; }
}

/* =============================================================
   8. Movimiento reducido: solo se frenan los efectos continuos
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .receipt, .float-chip { animation: none; }
  .marquee-row { animation-duration: 120s; }
}
