:root {
  --bg: #08080c;
  --panel: #111118;
  --panel-2: #181822;
  --line: rgba(255, 255, 255, 0.13);
  --text: #f4f2ee;
  --muted: #a6a6b6;
  --g1: #8b5cff;
  --g2: #2f7bff;
  --g3: #19e3c2;
  --grad: linear-gradient(100deg, var(--g1), var(--g2) 55%, var(--g3));
  --danger: #ff8a8a;
  --radius: 20px;
  --gutter: clamp(20px, 5vw, 80px);
  --display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 0.98; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
::selection { background: var(--g1); color: #fff; }

/* Reveal on scroll (only when JS runs) */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.1, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.1, 1); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.js .w > span { display: inline-block; transform: translateY(110%); transition: transform 0.95s cubic-bezier(0.2, 0.8, 0.1, 1); transition-delay: var(--d, 0s); }
.js .split.in .w > span { transform: none; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(8, 8, 12, 0.72); backdrop-filter: blur(14px); border-bottom-color: var(--line); padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: baseline; gap: 7px; font-weight: 700; font-size: 21px; letter-spacing: -0.03em; text-decoration: none; }
.brand span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.nav a { font-size: 16px; text-decoration: none; }
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .nav-optional { display: none; }
@media (min-width: 760px) { .nav .nav-optional { display: inline; } }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border: 1px solid var(--text); border-radius: 999px;
  background: var(--text); color: #08080c;
  font: 600 17px/1 var(--display); text-decoration: none; cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.1, 1), box-shadow 0.3s ease;
}
.btn::after { content: "\2192"; transition: transform 0.25s ease; }
.btn:hover { box-shadow: 0 0 0 6px rgba(139, 92, 255, 0.25), 0 12px 40px rgba(47, 123, 255, 0.45); }
.btn:hover::after { transform: translateX(5px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--g3); outline-offset: 3px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn.small { padding: 11px 18px; font-size: 15px; }
.btn.small::after { content: none; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.text-link { font-weight: 600; text-underline-offset: 6px; }

/* Hero */
.hero { position: relative; display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; min-height: 100svh; padding: clamp(110px, 14vh, 150px) var(--gutter) clamp(56px, 8vw, 96px); overflow: hidden; }
@media (min-width: 1020px) { .hero { grid-template-columns: 1.15fr 1fr; } }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; pointer-events: none; will-change: transform; }
.orb.a { width: 46vw; height: 46vw; min-width: 340px; min-height: 340px; left: -12vw; top: -14vw; background: radial-gradient(circle, var(--g1), transparent 65%); animation: drift 16s ease-in-out infinite alternate; }
.orb.b { width: 40vw; height: 40vw; min-width: 300px; min-height: 300px; right: -10vw; bottom: -16vw; background: radial-gradient(circle, var(--g2), transparent 65%); animation: drift 20s ease-in-out infinite alternate-reverse; }
.orb.c { width: 26vw; height: 26vw; min-width: 220px; min-height: 220px; right: 22vw; top: 8vh; background: radial-gradient(circle, var(--g3), transparent 65%); opacity: 0.28; animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(7vw, 5vw, 0) scale(1.18); } }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 72%); opacity: 0.35; pointer-events: none; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(44px, 6.2vw, 100px); margin-top: 22px; }
.hero .lede { max-width: 32em; margin-top: 30px; font-size: clamp(18px, 1.5vw, 22px); color: var(--muted); }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 38px; }

.stage { position: relative; z-index: 1; height: clamp(380px, 46vw, 560px); --mx: 0; --my: 0; }
.float { position: absolute; transform: translate3d(calc(var(--mx) * var(--k, 10) * 1px), calc(var(--my) * var(--k, 10) * 1px), 0); transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.1, 1); }
.float > * { animation: bob 7s ease-in-out infinite alternate; animation-delay: var(--bd, 0s); }
@keyframes bob { from { transform: translateY(-10px) rotate(var(--r, 0deg)); } to { transform: translateY(12px) rotate(var(--r, 0deg)); } }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, rgba(30, 30, 44, 0.92), rgba(14, 14, 22, 0.92)); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); backdrop-filter: blur(6px); }
.f-code { left: 0; top: 6%; width: min(78%, 420px); --k: 14; }
.f-phone { right: 2%; top: 0; width: min(38%, 200px); --k: 26; --bd: -2s; }
.f-chart { right: 8%; bottom: 2%; width: min(62%, 320px); --k: 20; --bd: -4s; }
.f-code > * { --r: -3deg; } .f-phone > * { --r: 5deg; } .f-chart > * { --r: 2deg; }

.win-bar { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3b3b4d; }
.win-bar i:first-child { background: var(--g1); } .win-bar i:nth-child(2) { background: var(--g2); } .win-bar i:nth-child(3) { background: var(--g3); }
.code { margin: 0; padding: 18px; font: 13px/1.75 var(--mono); color: #c9c9da; white-space: pre-wrap; }
.code .k { color: #b79cff; } .code .s { color: #5ff0d3; } .code .c { color: #6f6f85; } .code .f { color: #7fb0ff; }
.caret { display: inline-block; width: 8px; height: 1.1em; background: var(--g3); vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.phone { padding: 12px; border-radius: 30px; }
.phone .screen { display: grid; gap: 10px; padding: 16px 12px; border-radius: 20px; background: #0b0b12; }
.sk { height: 10px; border-radius: 6px; background: #2a2a3a; }
.sk.w60 { width: 60%; } .sk.w40 { width: 40%; }
.sk.hero-sk { height: 74px; border-radius: 14px; background: var(--grad); background-size: 200% 200%; animation: sheen 5s ease infinite alternate; }
@keyframes sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.sk.pill { height: 30px; border-radius: 999px; background: var(--text); width: 70%; }

.chart { padding: 18px; }
.chart .row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; }
.bars i { flex: 1; height: 100%; border-radius: 6px 6px 0 0; background: var(--grad); transform-origin: bottom; animation: grow 3.4s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.45s); }
@keyframes grow { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; }
.marquee .track { display: flex; width: max-content; gap: 56px; animation: slide 36s linear infinite; }
.marquee span { font-size: clamp(26px, 3.4vw, 46px); font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; }
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.55); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
.section { position: relative; padding: clamp(72px, 10vw, 150px) var(--gutter); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 72px); }
@media (min-width: 980px) { .section-head { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.section-head h2 { font-size: clamp(40px, 6.4vw, 104px); margin-top: 14px; }
.section-head p.sub { color: var(--muted); max-width: 30em; }

.svc-list { border-top: 1px solid var(--line); }
.svc { position: relative; display: grid; gap: 8px 32px; padding: clamp(22px, 2.6vw, 38px) 0; border-bottom: 1px solid var(--line); overflow: hidden; }
@media (min-width: 900px) { .svc { grid-template-columns: 4em 1.1fr 1.2fr; align-items: center; } }
.svc::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transform: translateY(101%); transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.1, 1), opacity 0.3s ease; z-index: 0; }
.svc > * { position: relative; z-index: 1; transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.1, 1), color 0.3s ease; }
.svc h3 { font-size: clamp(28px, 3.8vw, 58px); }
.svc p { color: var(--muted); max-width: 30em; }
@media (hover: hover) {
  .svc:hover::before { opacity: 1; transform: none; }
  .svc:hover > * { transform: translateX(22px); }
  .svc:hover p, .svc:hover .mono { color: #fff; }
}

/* Bento visuals */
.bento { display: grid; gap: 18px; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(6, 1fr); } .t-wide { grid-column: span 4; } .t-narrow { grid-column: span 2; } .t-half { grid-column: span 3; } }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; padding: 26px; border: 1px solid var(--line); border-radius: 28px; background: var(--panel); overflow: hidden; transition: border-color 0.3s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.1, 1); }
.tile:hover { border-color: rgba(255, 255, 255, 0.4); transform: translateY(-6px); }
.tile h3 { font-size: clamp(24px, 2.4vw, 34px); position: relative; z-index: 2; }
.tile p { color: var(--muted); margin-top: 8px; max-width: 26em; position: relative; z-index: 2; }
.art { position: absolute; inset: 0 0 110px 0; display: grid; place-items: center; }
.art::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(transparent, var(--panel)); pointer-events: none; }
.glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 255, 0.5), transparent 65%); filter: blur(40px); }
.glow.blue { background: radial-gradient(circle, rgba(47, 123, 255, 0.5), transparent 65%); }
.glow.teal { background: radial-gradient(circle, rgba(25, 227, 194, 0.38), transparent 65%); }

.art .editor { position: relative; width: min(88%, 560px); }
.art svg { position: relative; width: min(88%, 420px); height: auto; overflow: visible; }
.flow path { fill: none; stroke: url(#lg); stroke-width: 2; stroke-dasharray: 6 8; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.flow circle { fill: #0b0b12; stroke: url(#lg); stroke-width: 2; }
.flow .core { fill: url(#lg); stroke: none; transform-origin: 210px 110px; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.18); } }
.flow text { fill: #d9d9e6; font: 11px var(--mono); text-anchor: middle; }

.chain { position: relative; display: flex; align-items: center; gap: 0; }
.block { width: clamp(54px, 7vw, 84px); aspect-ratio: 1; border-radius: 16px; border: 1px solid var(--line); background: var(--panel-2); display: grid; place-items: center; font: 11px var(--mono); color: var(--muted); animation: lit 4s ease-in-out infinite; animation-delay: calc(var(--i) * 1s); }
.link { width: clamp(14px, 2.4vw, 30px); height: 2px; background: var(--line); }
@keyframes lit { 0%, 30%, 100% { border-color: var(--line); box-shadow: none; color: var(--muted); } 12% { border-color: var(--g3); box-shadow: 0 0 34px rgba(25, 227, 194, 0.55); color: #fff; } }

.scene { perspective: 900px; }
.cube { position: relative; width: 130px; height: 130px; transform-style: preserve-3d; animation: spin 14s linear infinite; }
.cube i { position: absolute; inset: 0; border: 1.5px solid rgba(255, 255, 255, 0.75); background: linear-gradient(135deg, rgba(139, 92, 255, 0.28), rgba(25, 227, 194, 0.14)); }
.cube i:nth-child(1) { transform: translateZ(65px); } .cube i:nth-child(2) { transform: rotateY(180deg) translateZ(65px); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(65px); } .cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(65px); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(65px); } .cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(65px); }
@keyframes spin { from { transform: rotateX(-24deg) rotateY(0); } to { transform: rotateX(-24deg) rotateY(360deg); } }

.orbit { position: relative; width: 250px; height: 250px; }
.orbit .ring { position: absolute; inset: 0; border: 1px dashed var(--line); border-radius: 50%; animation: turn 26s linear infinite; }
.orbit .ring.in { inset: 52px; animation-duration: 18s; animation-direction: reverse; }
.orbit .hub { position: absolute; inset: 92px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font: 600 12px var(--mono); color: #08080c; }
.orbit b { position: absolute; left: 50%; top: 0; translate: -50% -50%; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel-2); font: 500 11px var(--mono); }
.orbit b:nth-child(2) { top: 100%; } .orbit b:nth-child(3) { left: 0; top: 50%; } .orbit b:nth-child(4) { left: 100%; top: 50%; }
@keyframes turn { to { transform: rotate(360deg); } }

.app-mock { position: relative; display: flex; gap: 16px; align-items: flex-end; }
.app-mock .phone { width: 150px; }
.app-mock .phone:nth-child(2) { transform: translateY(26px); }

/* Process */
.steps { position: relative; display: grid; gap: 30px; counter-reset: step; --p: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); padding-top: 44px; }
  .steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); }
  .steps::after { background: var(--grad); transform: scaleX(var(--p)); transform-origin: left; transition: transform 0.2s linear; } }
.step::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 18px; font: 500 14px var(--mono); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 12px; }
.step p { color: var(--muted); }

/* Statement */
.statement { font-size: clamp(30px, 4.6vw, 72px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; max-width: 20em; margin-top: 22px; }
.js .statement .sw { opacity: 0.2; transition: opacity 0.4s ease; }
.js .statement .sw.on { opacity: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 0; padding: 0; list-style: none; }
.chips li { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font: 13px var(--mono); transition: background 0.3s ease, color 0.3s ease; }
.chips li:hover { background: var(--text); color: #08080c; }

/* CTA */
.cta { position: relative; margin: 0 var(--gutter) clamp(40px, 6vw, 90px); padding: clamp(56px, 9vw, 130px) clamp(24px, 5vw, 80px); border-radius: 36px; overflow: hidden; background: var(--grad); background-size: 220% 220%; animation: sheen 9s ease infinite alternate; color: #08080c; display: grid; gap: 28px; justify-items: start; }
.cta h2 { font-size: clamp(42px, 7.4vw, 124px); max-width: 11em; }
.cta p { max-width: 30em; font-size: 20px; font-weight: 500; }
.cta .mono { color: #08080c; }
.cta .btn { background: #08080c; color: var(--text); border-color: #08080c; }
.cta .btn:hover { box-shadow: 0 14px 44px rgba(8, 8, 12, 0.5); }

/* Footer */
.site-footer { display: grid; gap: 28px; padding: 48px var(--gutter) 56px; font-size: 16px; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .site-footer { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.site-footer a { text-underline-offset: 4px; overflow-wrap: anywhere; }
.site-footer .fine { color: var(--muted); margin-top: 10px; max-width: 26em; }

/* Contact page */
.contact { position: relative; display: grid; gap: clamp(32px, 6vw, 88px); min-height: 100svh; padding: clamp(120px, 16vh, 170px) var(--gutter) clamp(56px, 8vw, 110px); overflow: hidden; }
@media (min-width: 980px) { .contact { grid-template-columns: 1fr 1.05fr; align-items: start; } }
.contact > * { min-width: 0; position: relative; z-index: 1; }
.contact > .orb, .contact > .grid-bg { position: absolute; z-index: 0; }
.contact h1 { font-size: clamp(44px, 6.4vw, 100px); margin-top: 20px; }
.contact .lede { margin-top: 26px; color: var(--muted); max-width: 30em; font-size: 20px; }
.contact-list { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list a { overflow-wrap: anywhere; }
.contact-list .mono { padding-top: 4px; }

.form-card { padding: clamp(22px, 3vw, 44px); border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(160deg, rgba(30, 30, 44, 0.9), rgba(14, 14, 22, 0.94)); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px); }
.form-card form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 15px; font-weight: 600; padding: 0; }
.field .req { color: var(--g3); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"],
.field input[type="number"], .field input[type="date"], .field input[type="time"], .field input[type="datetime-local"],
.field input[type="password"], .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px;
  background: #0b0b12; color: var(--text); font: 400 17px/1.4 var(--display); color-scheme: dark;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--g2); box-shadow: 0 0 0 4px rgba(47, 123, 255, 0.22); outline: none; }
.field textarea { min-height: 150px; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.field .choice { display: flex; align-items: center; gap: 10px; font-weight: 400; font-size: 17px; }
.field .choice input { width: 18px; height: 18px; accent-color: var(--g2); }
.field .help { font-size: 14px; color: var(--muted); }
.field .err, .form-error { font-size: 14px; color: var(--danger); }
.field .err:empty, .form-error:empty { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { color: var(--muted); }
.thanks h2 { font-size: 34px; margin-bottom: 12px; }
.thanks p { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .w > span { opacity: 1; transform: none; }
  .js .statement .sw { opacity: 1; }
}

/* Logo */
.brand img { display: block; height: 34px; width: auto; }
.site-footer .brand img { height: 40px; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Consultorías */
.page-top { position: relative; min-height: 100svh; padding: clamp(120px, 16vh, 170px) var(--gutter) clamp(64px, 9vw, 130px); overflow: hidden; }
.page-top > * { position: relative; z-index: 1; }
.page-top > .orb, .page-top > .grid-bg { position: absolute; z-index: 0; }
.page-head h1, .plan-detail h1 { font-size: clamp(42px, 6.2vw, 100px); margin-top: 20px; max-width: 13em; }
.page-head .lede, .plan-detail .lede { margin-top: 26px; color: var(--muted); max-width: 32em; font-size: 20px; }
.plans { display: grid; gap: 18px; margin-top: clamp(40px, 6vw, 80px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(160deg, rgba(30, 30, 44, 0.9), rgba(14, 14, 22, 0.94)); backdrop-filter: blur(8px); transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.1, 1), border-color 0.3s ease, box-shadow 0.4s ease; animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.1, 1) both; animation-delay: var(--d, 0s); }
.plan:hover { transform: translateY(-8px); border-color: rgba(255, 255, 255, 0.45); box-shadow: 0 30px 80px rgba(47, 123, 255, 0.22); }
@keyframes rise { from { opacity: 0; transform: translateY(36px); } }
.plan h2 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.05; }
.plan h2 a { text-decoration: none; }
.plan-price { font-size: clamp(40px, 4vw, 56px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.plan-price.big { font-size: clamp(52px, 6vw, 88px); margin-top: 28px; }
.plan-price small { font: 13px var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.plan-fee { font-size: 15px; color: var(--muted); }
.plan-desc { color: var(--muted); }
.plan-perks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.plan-perks li { padding-left: 22px; position: relative; }
.plan-perks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); }
.plan-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: auto; padding-top: 10px; }
.plan-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.plan-detail { max-width: 900px; }
.plan-detail .plan-actions { margin-top: 26px; }
.plan-detail .plan-perks, .plan-detail .plan-img { margin-top: 30px; }
.plan-detail .mono a { text-underline-offset: 4px; }
.plan-terms { margin-top: 30px; white-space: pre-wrap; font-size: 15px; color: var(--muted); }

/* Home band */
.band { display: grid; gap: 22px; align-items: center; padding: clamp(28px, 4vw, 52px); margin: 0 var(--gutter) clamp(48px, 7vw, 100px); border: 1px solid var(--line); border-radius: 28px; background: var(--panel); }
@media (min-width: 860px) { .band { grid-template-columns: 1fr auto; } }
.band h2 { font-size: clamp(30px, 4vw, 56px); }
.band p { color: var(--muted); margin-top: 12px; max-width: 34em; }

/* Menu */
[hidden] { display: none !important; }
.menu-btn { position: relative; z-index: 40; width: 52px; height: 52px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: rgba(8, 8, 12, 0.5); backdrop-filter: blur(10px); cursor: pointer; display: grid; place-items: center; transition: border-color 0.3s ease, transform 0.3s ease; }
.menu-btn:hover { border-color: var(--text); transform: scale(1.06); }
.menu-btn:focus-visible { outline: 3px solid var(--g3); outline-offset: 3px; }
.menu-btn span { position: absolute; width: 22px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.1, 1); }
.menu-btn span:first-child { transform: translateY(-4px); }
.menu-btn span:last-child { transform: translateY(4px); }
.menu-open .menu-btn span:first-child { transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 15; display: flex; flex-direction: column; justify-content: center; gap: clamp(2px, 1vh, 10px); padding: 110px var(--gutter) 48px; background: rgba(8, 8, 12, 0.96); backdrop-filter: blur(18px); visibility: hidden; opacity: 0; transition: opacity 0.4s ease, visibility 0s linear 0.4s; overflow-y: auto; counter-reset: m; }
.menu::before { content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; bottom: -30vw; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 255, 0.45), transparent 65%); filter: blur(80px); pointer-events: none; }
.menu-open .menu { visibility: visible; opacity: 1; transition: opacity 0.4s ease; }
.menu a { position: relative; width: fit-content; font-size: clamp(32px, 6.4vh, 76px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; text-decoration: none; opacity: 0; transform: translateY(30px); transition: opacity 0.3s ease, transform 0.3s ease; counter-increment: m; }
.menu a::before { content: "0" counter(m); margin-right: 18px; font: 13px var(--mono); letter-spacing: 0.06em; color: var(--muted); vertical-align: middle; }
.menu-open .menu a { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.1, 1); transition-delay: calc(var(--i) * 0.05s + 0.12s); }
.menu a:hover, .menu a:focus-visible { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.menu-open { overflow: hidden; }
.site-header { z-index: 30; }

/* Testimonios */
.reviews { columns: 3 300px; column-gap: 18px; transition: opacity 0.3s ease; }
.reviews.dim { opacity: 0.5; }
.review { break-inside: avoid; display: grid; gap: 14px; margin: 0 0 18px; padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); transition: border-color 0.3s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.1, 1); animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.1, 1) both; animation-delay: var(--d, 0s); }
.review:hover { border-color: rgba(255, 255, 255, 0.4); transform: translateY(-4px); }
.stars { width: fit-content; font-size: 17px; letter-spacing: 4px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.review blockquote { margin: 0; white-space: pre-line; font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
.review figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.review .who { font-weight: 600; }
.reviews-more { margin-top: 26px; text-align: center; }

/* Cita de exploración */
.cita { display: grid; gap: 12px; margin-top: 36px; padding: 26px; border: 1px solid transparent; border-radius: 24px; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; }
.cita:empty { display: none; }
.cita h2 { font-size: clamp(26px, 2.6vw, 36px); }
.cita p { color: var(--muted); }
.cita .mono { color: var(--text); }
.page-head .lede a { color: var(--text); text-underline-offset: 5px; }

/* Proyectos */
.projects { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); transition: opacity 0.3s ease; }
.projects.dim { opacity: 0.5; }
.page-top .projects { margin-top: 28px; }
.project { display: grid; gap: 14px; align-content: start; padding: 12px 12px 18px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); text-decoration: none; transition: border-color 0.3s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.1, 1), box-shadow 0.4s ease; animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.1, 1) both; animation-delay: var(--d, 0s); }
a.project:hover { border-color: rgba(255, 255, 255, 0.45); transform: translateY(-6px); box-shadow: 0 30px 80px rgba(47, 123, 255, 0.2); }
.project-img { display: block; aspect-ratio: 5 / 3; border-radius: 14px; overflow: hidden; background: var(--panel-2); }
.project-img.empty { background: var(--grad); opacity: 0.3; }
.project-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.1, 1); }
a.project:hover .project-img img { transform: scale(1.06); }
.project-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 14px; padding: 0 8px; }
.project-title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
a.project .project-title::after { content: " \2197"; color: var(--muted); }
.chips-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(32px, 5vw, 56px); }
.chip { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text); font: 13px var(--mono); cursor: pointer; transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
.chip:hover { border-color: var(--text); }
.chip:focus-visible { outline: 3px solid var(--g3); outline-offset: 3px; }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #08080c; }

/* Letters that light up */
@property --lit { syntax: "<percentage>"; inherits: false; initial-value: 125%; }
.js .split .w { overflow: visible; padding-bottom: 0; margin-bottom: 0; }
.js .split .w > span { transform: none; transition: none; --lit: -20%; -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--lit) - 14%), rgba(0, 0, 0, 0.13) var(--lit)); mask-image: linear-gradient(90deg, #000 calc(var(--lit) - 14%), rgba(0, 0, 0, 0.13) var(--lit)); }
.js .split.in .w > span { animation: light var(--t, 0.4s) linear var(--d, 0s) both; }
.js .split.in .w > span.grad { background-size: 240% 100%; animation: light var(--t, 0.4s) linear var(--d, 0s) both, flow 7s ease-in-out infinite alternate; }
@keyframes light { from { --lit: -6%; } to { --lit: 125%; } }
@keyframes flow { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* Scroll progress, pointer light, tilt, sheen */
.progress { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 3px; background: var(--grad); transform: scaleX(var(--sp, 0)); transform-origin: left; pointer-events: none; }
.pointer-light { position: fixed; left: 0; top: 0; z-index: 2; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, rgba(120, 130, 255, 0.16), transparent 62%); pointer-events: none; opacity: 0; transition: opacity 0.6s ease; will-change: transform; mix-blend-mode: screen; }
.pointer-light.on { opacity: 1; }
.orb { translate: 0 calc(var(--sy, 0) * 1px); }
.tilt { transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.1, 1), border-color 0.3s ease, box-shadow 0.4s ease; transform-style: preserve-3d; }
.btn { overflow: hidden; }
.btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(139, 92, 255, 0.35) 50%, transparent 65%); transform: translateX(-120%); transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.1, 1); pointer-events: none; }
.btn:hover::before { transform: translateX(120%); }
.svc .mono { transition: letter-spacing 0.4s ease, color 0.3s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.1, 1); }
.svc:hover .mono { letter-spacing: 0.3em; }
.chips li { animation: none; }
.js .chips[data-reveal].in li { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.1, 1) both; }
.js .chips[data-reveal].in li:nth-child(2) { animation-delay: 0.06s; } .js .chips[data-reveal].in li:nth-child(3) { animation-delay: 0.12s; }
.js .chips[data-reveal].in li:nth-child(4) { animation-delay: 0.18s; } .js .chips[data-reveal].in li:nth-child(5) { animation-delay: 0.24s; }
.js .chips[data-reveal].in li:nth-child(6) { animation-delay: 0.3s; } .js .chips[data-reveal].in li:nth-child(7) { animation-delay: 0.36s; }
.js .svc[data-reveal] { transform: translateX(-40px); }
.js .svc[data-reveal].in { transform: none; }
.js .tile[data-reveal] { transform: translateY(60px) scale(0.94); }
.js .tile[data-reveal].in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .split .w > span { -webkit-mask-image: none; mask-image: none; }
  .pointer-light, .progress { display: none; }
  .js .svc[data-reveal], .js .tile[data-reveal] { transform: none; }
}

/* Reservas */
.booking { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 1000px) { .booking { grid-template-columns: 1fr 1.05fr; } }
.booking > * { min-width: 0; }
.svc-info h1 { font-size: clamp(40px, 5.4vw, 84px); margin-top: 20px; }
.svc-info .lede { margin-top: 22px; color: var(--muted); font-size: 20px; max-width: 30em; }
.svc-info .mono a { text-underline-offset: 4px; }
.svc-info .plan-img { margin-top: 28px; max-height: 280px; }
.svc-desc { margin-top: 22px; color: var(--muted); max-width: 34em; }
.svc-desc p { margin: 0 0 12px; }
.plan-price s { font-size: 0.5em; color: var(--muted); }
.bk { display: grid; gap: 18px; padding: clamp(20px, 3vw, 40px); border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(160deg, rgba(30, 30, 44, 0.9), rgba(14, 14, 22, 0.94)); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px); animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.1, 1) both; }
.bk [data-flow] { display: grid; gap: 16px; }
.bk-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bk-week, .bk-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip:disabled { opacity: 0.35; cursor: default; }
.bk-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.day { flex: 0 0 auto; padding: 12px 16px; border: 1px solid var(--line); border-radius: 16px; background: transparent; color: var(--text); font: 500 15px var(--display); cursor: pointer; transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease; }
.day:hover { border-color: var(--text); transform: translateY(-2px); }
.day[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #08080c; }
.bk-slots { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.bk-slots .form-status { grid-column: 1 / -1; }
.slot { padding: 12px 8px; border: 1px solid var(--line); border-radius: 12px; background: #0b0b12; color: var(--text); font: 14px var(--mono); cursor: pointer; transition: border-color 0.2s ease, background 0.25s ease, color 0.25s ease, transform 0.2s ease; animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.1, 1) both; }
.slot:hover:not(:disabled) { border-color: var(--g3); transform: translateY(-2px); }
.slot:disabled { opacity: 0.3; cursor: default; text-decoration: line-through; }
.slot[aria-pressed="true"] { background: var(--grad); border-color: transparent; color: #08080c; font-weight: 500; }
.day:focus-visible, .slot:focus-visible, .link-btn:focus-visible { outline: 3px solid var(--g3); outline-offset: 3px; }
.bk-picked { font-weight: 600; }
.bk-picked:empty { display: none; }
.bk form { display: grid; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.bk-fields { display: grid; gap: 14px; }
.link-btn { padding: 0; border: 0; background: none; color: var(--text); font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.page-top, .hero, .contact { overflow: clip; }

/* WhatsApp */
.wa { position: fixed; right: clamp(16px, 2.5vw, 28px); bottom: clamp(16px, 2.5vw, 28px); z-index: 12; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 16px; border-radius: 999px; background: #12893f; color: #fff; font: 600 16px/1 var(--display); text-decoration: none; box-shadow: 0 12px 36px rgba(18, 137, 63, 0.5); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.1, 1), box-shadow 0.3s ease; animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.1, 1) 1s both; }
.wa svg { width: 28px; height: 28px; flex: none; }
.wa::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #1fbf5c; animation: ring 2.6s ease-out infinite; pointer-events: none; }
.wa:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 18px 46px rgba(18, 137, 63, 0.7); }
.wa:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@keyframes ring { from { opacity: 0.8; transform: scale(1); } to { opacity: 0; transform: scale(1.3, 1.6); } }
@media (max-width: 560px) {
  .wa { width: 56px; padding: 0; justify-content: center; }
  .wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wa::before { animation-name: ring-round; }
}
@keyframes ring-round { from { opacity: 0.8; transform: scale(1); } to { opacity: 0; transform: scale(1.5); } }

/* Descenders */
.split .w,
.split .w > span { padding-bottom: .24em; margin-bottom: -.24em; }

/* 3D con three.js */
.art .three { position: absolute; inset: 0; }
.art .three canvas { display: block; width: 100%; height: 100%; }
.art.has-three .scene { display: none; }
