:root {
  --blanco: #FAF7F6; --arena: #F3EEEC; --rojo: #D92B1F; --rojo-hover: #A8150E; --rojo-claro: #FF5347; --rosa: #FFE3E0;
  --tinta: #1B1718; --grafito: #55504E; --gris: #6E6869; --gris-2: #5E5859; --gris-claro: #C9C4C2;
  --f-titular: 'Space Grotesk', sans-serif; --f-cuerpo: Manrope, system-ui, sans-serif; --f-serif: 'Instrument Serif', serif; --f-mono: 'JetBrains Mono', monospace;
  --pad-x: clamp(20px, 5vw, 72px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--blanco); color: var(--tinta); -webkit-font-smoothing: antialiased; }
body { font-family: var(--f-cuerpo); overflow-x: clip; }
a { color: var(--rojo); text-decoration: none; }
a:hover { color: var(--rojo-hover); }
input, textarea, button { font-family: inherit; }
::placeholder { color: #8A8483; }

.wrap { max-width: 1180px; margin: 0 auto; }
.section { padding: clamp(100px, 12vw, 170px) var(--pad-x); }
.bg-dark { background: var(--tinta); color: var(--blanco); }
.bg-red { background: var(--rojo); color: #fff; }
.bg-light { background: var(--blanco); }
.bg-sand { background: var(--arena); }
.label { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rojo); }
.bg-dark .label { color: var(--rojo-claro); }
.bg-red .label { color: #fff; }
.h2 { margin: 18px 0 0; font-family: var(--f-titular); font-weight: 500; font-size: clamp(34px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: pretty; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.acc-red { color: var(--rojo); }
.acc-red-l { color: var(--rojo-claro); }

/* Nav */
.nav { position: fixed; top: 14px; left: clamp(12px, 3vw, 40px); right: clamp(12px, 3vw, 40px); z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 10px 10px 24px; border-radius: 999px; background: rgba(250,247,246,0.78); border: 1px solid rgba(27,23,24,0.10); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: background .5s ease, border-color .5s ease; }
.nav * { transition: color .5s ease, background .5s ease; }
.nav-logo { display: flex; align-items: baseline; gap: 9px; }
.nav-jo { font-family: var(--f-titular); font-weight: 700; font-size: 21px; letter-spacing: -0.03em; color: var(--grafito); }
.nav-lu { font-family: var(--f-serif); font-style: italic; font-size: 25px; line-height: 1; color: var(--rojo); margin-left: -7px; }
.nav-st { font-weight: 300; font-size: 10.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gris); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.nav-link { font-size: 14px; color: #2E2829; }
.nav-cta { padding: 11px 20px; border-radius: 999px; background: var(--rojo); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav-cta:hover { color: #fff; }
.nav[data-theme="red"] { background: rgba(190,32,22,0.55); border-color: rgba(255,255,255,0.30); }
.nav[data-theme="red"] .nav-jo, .nav[data-theme="red"] .nav-st, .nav[data-theme="red"] .nav-link { color: #fff; }
.nav[data-theme="red"] .nav-lu { color: var(--rosa); }
.nav[data-theme="red"] .nav-cta { background: #fff; color: #C4231A; }
.nav[data-theme="dark"] { background: rgba(27,23,24,0.72); border-color: rgba(255,255,255,0.12); }
.nav[data-theme="dark"] .nav-jo { color: var(--gris-claro); }
.nav[data-theme="dark"] .nav-lu { color: var(--rojo-claro); }
.nav[data-theme="dark"] .nav-st { color: #A39C99; }
.nav[data-theme="dark"] .nav-link { color: #E9E4E2; }
@media (max-width: 780px) { .nav-link { display: none; } }

/* Hero */
.hero { position: relative; height: 420vh; }
.stage { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--blanco); }
.hero-msg-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }
.hero-msg-text { margin: 16px 0 0; font-family: var(--f-titular); font-weight: 500; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -0.02em; text-wrap: pretty; }
.anim { will-change: transform, opacity; }
.jo-pos { position: absolute; right: 3vw; top: 50%; transform: translateY(-54%); }
.jo-word { font-family: var(--f-titular); font-weight: 700; font-size: clamp(200px, 40vw, 640px); line-height: 0.8; letter-spacing: -0.07em; color: var(--grafito); }
.jo-msg { position: absolute; left: clamp(20px, 5vw, 80px); bottom: 14vh; max-width: 400px; }
.jo-msg .hero-msg-label { color: var(--rojo); }
.lu-pos { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.lu-word { font-family: var(--f-serif); font-style: italic; font-size: clamp(240px, 46vw, 760px); line-height: 0.8; letter-spacing: -0.02em; color: var(--blanco); padding-right: 0.08em; opacity: 0; }
.lu-msg { position: absolute; left: 0; right: 0; bottom: 11vh; display: flex; flex-direction: column; align-items: center; padding: 0 24px; text-align: center; opacity: 0; color: #fff; }
.lu-msg .hero-msg-text { max-width: 560px; margin-top: 14px; }
.st-pos { position: absolute; left: 3vw; top: 50%; transform: translateY(-60%); pointer-events: none; }
.st-word { font-weight: 200; font-size: clamp(64px, 15vw, 250px); line-height: 1; letter-spacing: 0.08em; color: var(--blanco); opacity: 0; }
.st-msg { position: absolute; right: clamp(20px, 5vw, 80px); bottom: 14vh; max-width: 400px; opacity: 0; color: var(--blanco); }
.st-msg .hero-msg-label { color: var(--rojo-claro); }
.fin { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 24px; text-align: center; opacity: 0; pointer-events: none; }
.fin-logo { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 0 clamp(12px, 1.6vw, 24px); }
.fin-jo { font-family: var(--f-titular); font-weight: 700; font-size: clamp(84px, 15vw, 230px); line-height: 0.9; letter-spacing: -0.055em; color: var(--grafito); }
.fin-lu { font-family: var(--f-serif); font-style: italic; font-size: clamp(94px, 16.5vw, 252px); line-height: 0.9; color: var(--rojo); margin-left: -0.06em; }
.fin-st { font-weight: 300; font-size: clamp(16px, 2.2vw, 32px); letter-spacing: 0.46em; text-transform: uppercase; color: var(--gris); }
.fin-tag { margin: clamp(24px, 3.5vw, 44px) 0 0; max-width: 620px; font-family: var(--f-titular); font-weight: 500; font-size: clamp(20px, 2vw, 28px); line-height: 1.25; letter-spacing: -0.02em; text-wrap: pretty; }
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 34px 0 0; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 17px 30px; border-radius: 999px; font-size: 16px; }
.btn-primary { background: var(--rojo); color: #fff; font-weight: 700; box-shadow: 0 14px 38px rgba(217,43,31,0.3); }
.btn-primary:hover { background: var(--rojo-hover); color: #fff; }
.btn-ghost { border: 1px solid rgba(27,23,24,0.2); color: var(--tinta); font-weight: 500; }
.btn-ghost:hover { color: var(--tinta); border-color: var(--tinta); }
.hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gris); }
.hint span { width: 1px; height: 36px; background: linear-gradient(var(--gris), transparent); }

/* Visión */
.vision { padding-top: clamp(110px, 14vw, 200px); padding-bottom: clamp(110px, 14vw, 200px); }
.vision-words { display: flex; flex-wrap: wrap; column-gap: 0.26em; row-gap: 0.04em; margin: 28px 0 0; font-family: var(--f-titular); font-weight: 500; font-size: clamp(38px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -0.035em; }
.vision-words .hl { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--rojo-claro); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(40px, 6vw, 96px); }
.vision-grid { margin: clamp(80px, 10vw, 140px) 0 0; padding-top: 48px; border-top: 1px solid rgba(250,247,246,0.14); }
.mision { margin: 22px 0 0; font-family: var(--f-titular); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; letter-spacing: -0.02em; text-wrap: pretty; }
.body-dark { margin: 22px 0 0; font-size: 17px; line-height: 1.7; color: var(--gris-claro); text-wrap: pretty; }

/* Servicios */
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.head-row .h2 { max-width: 720px; }
.head-note { max-width: 320px; margin: 0; font-size: 16px; line-height: 1.6; color: var(--gris); }
.services { margin: clamp(56px, 7vw, 90px) 0 0; border-bottom: 1px solid rgba(27,23,24,0.14); }
.service { display: flex; flex-wrap: wrap; align-items: center; gap: 16px clamp(20px, 4vw, 56px); padding: clamp(28px, 3.4vw, 44px) clamp(16px, 2.4vw, 32px); border-top: 1px solid rgba(27,23,24,0.14); transition: background .35s ease; }
.service * { transition: color .35s ease, transform .35s ease; }
.service-idx { flex: none; width: 48px; font-family: var(--f-mono); font-size: 13px; color: var(--rojo); }
.service h3 { flex: 1 1 300px; margin: 0; font-family: var(--f-titular); font-weight: 500; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -0.03em; }
.service p { flex: 1 1 280px; margin: 0; max-width: 400px; font-size: 16px; line-height: 1.6; color: var(--gris-2); }
.service-arrow { flex: none; font-family: var(--f-titular); font-size: 28px; transform: rotate(-45deg); }
.service:hover { background: var(--rojo); }
.service:hover * { color: #fff; }
.service:hover .service-arrow { transform: rotate(0deg); }

/* Por qué */
.why-h { margin: 26px 0 0; font-family: var(--f-titular); font-weight: 500; font-size: clamp(42px, 7.4vw, 112px); line-height: 0.98; letter-spacing: -0.045em; text-wrap: balance; }
.why-sub { margin: 10px 0 0; max-width: 1000px; font-family: var(--f-serif); font-style: italic; font-size: clamp(40px, 6.6vw, 100px); line-height: 1; letter-spacing: -0.01em; text-wrap: balance; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin: clamp(72px, 9vw, 120px) 0 0; border-top: 1px solid rgba(255,255,255,0.35); }
.why-grid > div { padding: 32px 32px 8px 0; }
.why-t { font-family: var(--f-titular); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.why-grid p { margin: 12px 0 0; font-size: 16px; line-height: 1.6; }

/* Proceso */
.proc { position: relative; margin: clamp(64px, 8vw, 100px) 0 0; }
.proc-track, .proc-fill { position: absolute; left: 0; top: 8px; height: 2px; }
.proc-track { right: 0; background: rgba(27,23,24,0.12); }
.proc-fill { width: 0%; background: var(--rojo); }
.proc-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px 28px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--tinta); background: var(--arena); transition: background .4s ease, border-color .4s ease; }
.step-dot.on { background: var(--rojo); border-color: var(--rojo); }
.step-n { margin-top: 14px; font-family: var(--f-mono); font-size: 12.5px; color: var(--rojo); }
.step h3 { margin: 0; font-family: var(--f-titular); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; }
.step p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--gris-2); }

/* Soporte */
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(48px, 6vw, 96px); align-items: center; }
.support-list { display: flex; flex-direction: column; border-top: 1px solid rgba(250,247,246,0.14); }
.support-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(250,247,246,0.14); font-size: 17px; }
.support-list span:last-child { font-family: var(--f-mono); font-size: 12.5px; color: var(--rojo-claro); }

/* Contacto */
.contact-grid { align-items: start; }
.contact-h { font-size: clamp(36px, 5.4vw, 74px); line-height: 1; letter-spacing: -0.04em; }
.contact-p { margin: 26px 0 0; max-width: 440px; font-size: 17px; line-height: 1.65; color: var(--gris-2); }
.contact-mail { margin: 28px 0 0; font-family: var(--f-mono); font-size: 14px; }
.form { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: #fff; border: 1px solid rgba(27,23,24,0.10); box-shadow: 0 24px 60px rgba(27,23,24,0.08); }
.form input, .form textarea { padding: 15px 16px; border: 1px solid rgba(27,23,24,0.14); border-radius: 12px; background: var(--blanco); color: var(--tinta); font-size: 15px; line-height: 1.5; outline: none; }
.form input:focus, .form textarea:focus { border-color: var(--rojo); }
.form textarea { resize: vertical; }
.form button { margin-top: 6px; padding: 17px; border: none; border-radius: 999px; background: var(--rojo); color: #fff; font-weight: 700; font-size: 15.5px; cursor: pointer; }
.form button:hover { background: var(--rojo-hover); }
.form small { font-size: 13px; color: var(--gris); text-align: center; }

/* Footer */
.footer { padding: clamp(64px, 8vw, 110px) var(--pad-x) 32px; overflow: hidden; }
.footer-slogan { margin: 0; max-width: 640px; font-family: var(--f-titular); font-weight: 500; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
.footer-logo { display: flex; align-items: baseline; margin: clamp(48px, 7vw, 90px) 0 0; }
.footer-jo { font-family: var(--f-titular); font-weight: 700; font-size: clamp(120px, 27vw, 400px); line-height: 0.8; letter-spacing: -0.065em; }
.footer-lu { font-family: var(--f-serif); font-style: italic; font-size: clamp(132px, 30vw, 440px); line-height: 0.8; color: var(--rosa); margin-left: -0.05em; }
.footer-st { margin-left: clamp(10px, 2vw, 28px); font-weight: 300; font-size: clamp(14px, 2vw, 28px); letter-spacing: 0.46em; text-transform: uppercase; }
.footer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin: 48px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.35); font-size: 14px; }
.footer-bar .mono { font-family: var(--f-mono); font-size: 13px; }
.footer-bar nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-bar a, .footer-bar a:hover { color: #fff; }

/* Aparición */
.reveal { opacity: 0; transform: translateY(56px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
