/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #070b1a;
  --bg-2: #0c1228;
  --panel: #111936;
  --panel-2: #172045;
  --line: rgba(190, 205, 255, .13);
  --text: #eef1fb;
  --muted: #9aa5c7;
  --accent: #c8ff3e;
  --accent-ink: #0a1002;
  --blue: #4f6bff;
  --brand: #2a9dff;

  --display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1.15rem, 5vw, 4.5rem);
  --radius: 22px;
  --radius-lg: 34px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; line-height: 1.02; letter-spacing: -0.03em; font-family: var(--display); font-weight: 700; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--accent); color: var(--accent-ink); border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.scroll-bar { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-bar span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

.section { padding: clamp(4.5rem, 11vw, 9rem) var(--gutter); position: relative; }
.section-head { max-width: 62rem; margin-bottom: clamp(2.2rem, 5vw, 4rem); }
.section-note { color: var(--muted); margin-top: 1rem; }

/* =============================================================
   4. Typography
   ============================================================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.2rem;
}
h2 { font-size: clamp(2.1rem, 6.4vw, 4.6rem); }
h2 i, h1 i { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; color: var(--accent); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); letter-spacing: -.02em; line-height: 1.12; }
.lead { font-size: clamp(1.05rem, 1.9vw, 1.3rem); color: var(--muted); margin-top: 1.2rem; max-width: 34rem; }

.link-arrow {
  position: relative; font-weight: 600; color: var(--text); padding-bottom: 3px;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1.5px no-repeat;
  transition: background-size .5s var(--ease-out), color .3s;
}
.link-arrow:hover { background-size: 0 1.5px; background-position: 100% 100%; color: var(--accent); }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: .95rem 1.5rem; border-radius: 999px; overflow: hidden; isolation: isolate;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; letter-spacing: -.01em;
  transition: transform .5s var(--ease-out), box-shadow .4s var(--ease-out);
  box-shadow: 0 0 0 0 rgba(200, 255, 62, .5);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #fff;
  transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 14px 44px -10px rgba(200, 255, 62, .55); }
.btn:active { scale: .97; }
.btn svg { transition: transform .5s var(--ease-out); }
.btn:hover svg { transform: translateX(5px); }
.btn-sm { padding: .68rem 1.15rem; font-size: .92rem; }
.btn-lg { padding: 1.15rem 1.9rem; font-size: 1.06rem; }
.btn-block { width: 100%; padding-inline: 1rem; white-space: nowrap; font-size: clamp(.95rem, 4.2vw, 1.06rem); }
.btn-dark { background: var(--bg); color: var(--text); }
.btn-dark::before { background: var(--panel-2); }
.btn-dark:hover { box-shadow: 0 14px 40px -12px rgba(7, 11, 26, .7); }

/* AI strip */
.ai-strip { margin-top: 1rem; padding: clamp(1.5rem, 3.4vw, 2.4rem); border-radius: var(--radius-lg); border: 1px solid rgba(79, 107, 255, .45); background: linear-gradient(120deg, rgba(79, 107, 255, .22), var(--panel) 55%); display: grid; gap: 1.4rem; align-items: center; overflow: hidden; }
.ai-strip h3 { margin: .7rem 0 .6rem; font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
.ai-strip p { color: var(--muted); max-width: 40rem; }
.ai-strip .btn { justify-self: start; }
.ai-tag { display: inline-block; padding: .3rem .75rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ai-orb, .chat-av { flex: none; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: conic-gradient(from 0deg, var(--accent), var(--blue), #9db0ff, var(--accent)); animation: spin 7s linear infinite; box-shadow: 0 0 34px rgba(79, 107, 255, .6); }

/* Chat */
html:not(.js) .chat-fab, html:not(.js) .chat { display: none; }
.chat-fab { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 110; display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.25rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .95rem; white-space: nowrap; box-shadow: 0 16px 44px -10px rgba(200, 255, 62, .55), 0 6px 20px rgba(0, 0, 0, .4); transition: transform .5s var(--ease-bounce), opacity .3s; animation: fabIn .9s var(--ease-bounce) 1.6s both; }
.chat-fab:hover { transform: translateY(-3px) scale(1.04); }
.chat-fab.is-off, .nav.is-open ~ .chat-fab { opacity: 0; pointer-events: none; transform: scale(.6); }
.chat { position: fixed; z-index: 130; inset: 0; display: flex; flex-direction: column; background: #0b1126; opacity: 0; visibility: hidden; transform: translateY(24px) scale(.97); transform-origin: 100% 100%; transition: opacity .35s var(--ease-out), transform .5s var(--ease-out), visibility 0s .5s; }
.chat.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease-out), transform .5s var(--ease-out), visibility 0s; }
.chat-head { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.1rem; background: linear-gradient(120deg, #1a2766, #111936); border-bottom: 1px solid var(--line); }
.chat-head .chat-av { width: 2.5rem; height: 2.5rem; box-shadow: none; }
.chat-head div { flex: 1; display: grid; line-height: 1.25; }
.chat-head b { font-family: var(--display); font-size: 1.05rem; letter-spacing: -.02em; }
.chat-head small { display: flex; align-items: center; gap: .4rem; font-size: .76rem; color: var(--muted); }
.chat-head small i { width: .45rem; height: .45rem; border-radius: 50%; background: var(--accent); }
.chat-head button { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background .3s, transform .5s var(--ease-out); }
.chat-head button:hover { background: var(--panel-2); transform: rotate(90deg); }
.chat-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1.1rem; display: flex; flex-direction: column; gap: .6rem; scrollbar-width: thin; scrollbar-color: var(--panel-2) transparent; }
.msg { max-width: 86%; padding: .75rem 1rem; border-radius: 18px; font-size: .95rem; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; animation: fadeUp .45s var(--ease-out); }
.msg-bot { align-self: flex-start; background: var(--panel-2); border-bottom-left-radius: 6px; }
.msg-user { align-self: flex-end; background: var(--accent); color: var(--accent-ink); font-weight: 600; border-bottom-right-radius: 6px; }
.msg-typing { display: flex; gap: .3rem; padding: 1rem; }
.msg-typing i { width: .45rem; height: .45rem; border-radius: 50%; background: var(--muted); animation: typing 1.1s infinite; }
.msg-typing i:nth-child(2) { animation-delay: .15s; }
.msg-typing i:nth-child(3) { animation-delay: .3s; }
.chat-chips { display: flex; gap: .45rem; padding: 0 1.1rem .8rem; overflow-x: auto; scrollbar-width: none; }
.chat-chips::-webkit-scrollbar { display: none; }
.chat-chips[hidden] { display: none; }
.chat-chips button { flex: none; padding: .5rem .85rem; border-radius: 999px; border: 1px solid var(--line); font-size: .82rem; font-weight: 600; white-space: nowrap; transition: border-color .3s, color .3s; }
.chat-chips button:hover { border-color: var(--accent); color: var(--accent); }
.chat-form { display: flex; gap: .5rem; padding: 0 1.1rem; }
.chat-form input { flex: 1; min-width: 0; padding: .9rem 1.1rem; border-radius: 999px; font: inherit; font-size: 1rem; color: var(--text); background: rgba(7, 11, 26, .7); border: 1.5px solid var(--line); transition: border-color .3s; }
.chat-form input:focus { outline: none; border-color: var(--accent); }
.chat-form button { flex: none; width: 3.1rem; height: 3.1rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); transition: transform .4s var(--ease-bounce); }
.chat-form button:hover { transform: scale(1.08); }
.chat-form button:disabled { opacity: .5; }
.chat-note { padding: .7rem 1.1rem max(.9rem, env(safe-area-inset-bottom)); font-size: .72rem; color: var(--muted); text-align: center; }
.chat-note a { color: var(--text); text-decoration: underline; }

/* Image placeholders */
.ph {
  position: relative; display: grid; place-items: center; overflow: hidden;
  border-radius: var(--radius); border: 1px dashed rgba(190, 205, 255, .28);
  background:
    repeating-linear-gradient(135deg, rgba(190, 205, 255, .05) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--panel-2), var(--bg-2));
}
.ph span {
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  padding: .45rem .8rem; border-radius: 999px; background: rgba(7, 11, 26, .7); border: 1px solid var(--line);
}

/* Spotlight on cards */
[data-spot] { position: relative; }
[data-spot]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 255, 62, .13), transparent 62%);
  transition: opacity .4s;
}
[data-spot]:hover::after { opacity: 1; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem var(--gutter);
  transition: transform .6s var(--ease-out), background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck { background: rgba(7, 11, 26, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.04em; z-index: 2; }
.logo-mark { width: 3.1rem; aspect-ratio: 2 / 1; background: url("assets/img/logo.webp") 50.4% 36.9% / 250.8% auto no-repeat; transition: transform .6s var(--ease-bounce); }
.logo:hover .logo-mark { transform: scale(1.12) rotate(-4deg); }
.logo-text { font-size: 1.12rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.logo-text em { font-style: normal; color: var(--brand); }
.footer-logo { width: min(420px, 82%); aspect-ratio: 960 / 490; margin: 0 auto 1rem; background: url("assets/img/logo.webp") 51% 48.4% / 130.6% auto no-repeat; }
.nav-cta { display: none; }
.burger { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-content: center; gap: 6px; z-index: 2; background: rgba(17, 25, 54, .6); }
.burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; 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); }
.nav-links {
  position: fixed; inset: 0; height: 100dvh; padding: 6.5rem var(--gutter) 2.5rem;
  display: flex; flex-direction: column; gap: .2rem;
  background: var(--bg); clip-path: circle(0 at calc(100% - 3rem) 2.4rem); visibility: hidden;
  transition: clip-path .8s var(--ease-out), visibility 0s .8s;
}
.nav.is-open .nav-links { clip-path: circle(150% at calc(100% - 3rem) 2.4rem); visibility: visible; transition: clip-path .8s var(--ease-out), visibility 0s; }
.nav-links { overflow-y: auto; }
.nav-links a:not(.btn) { font-family: var(--display); font-size: clamp(1.55rem, 7vw, 2.5rem); font-weight: 700; letter-spacing: -.03em; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.nav-cta-mobile { margin-top: auto; padding: 1.1rem; font-size: 1.05rem; }

/* =============================================================
   6. Sections
   ============================================================= */
/* ---- Hero ---- */
.hero {
  position: relative; min-height: 100svh; overflow: clip;
  padding: clamp(6.5rem, 16vw, 9rem) var(--gutter) 0;
  display: grid; gap: 2.5rem; align-content: start;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero-glow-a { width: 70vw; height: 70vw; max-width: 760px; max-height: 760px; right: -20%; top: -10%; background: radial-gradient(circle, rgba(79, 107, 255, .55), transparent 65%); animation: drift 16s ease-in-out infinite alternate; }
.hero-glow-b { width: 50vw; height: 50vw; max-width: 520px; max-height: 520px; left: -18%; bottom: 8%; background: radial-gradient(circle, rgba(200, 255, 62, .2), transparent 65%); animation: drift 20s ease-in-out infinite alternate-reverse; }
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000, transparent 75%);
}
.hero-copy { position: relative; z-index: 2; }
.pulse { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(200, 255, 62, .7); animation: pulse 2.2s infinite; }
.hero-title { font-size: clamp(2.9rem, 13.2vw, 8.4rem); font-weight: 800; line-height: .92; letter-spacing: -.045em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: inline-block; animation: lineUp 1.1s var(--ease-out) both; animation-delay: calc(var(--d) * 90ms + 100ms); }
.hero-title b { color: var(--accent); }
.hero-in { animation: fadeUp 1s var(--ease-out) both; animation-delay: calc(var(--d) * 90ms + 200ms); }
.hero-sub { font-size: clamp(1.05rem, 2.1vw, 1.3rem); color: var(--muted); max-width: 35rem; margin-top: 1.6rem; }
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; margin-top: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; margin-top: 1.8rem; font-size: .86rem; color: var(--muted); }
.hero-trust li { display: flex; align-items: center; gap: .45rem; }
.hero-trust li::before { content: ""; width: 1rem; height: 1rem; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.2 4.7-5' fill='none' stroke='%230a1002' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain; }

.hero-stage { position: relative; z-index: 1; height: 400px; margin-top: .5rem; animation: fadeUp 1.3s var(--ease-out) .5s both; }
.hero-stage [data-depth] { transition: transform .9s var(--ease-out); }
.phone {
  position: absolute; left: 50%; top: 0; width: 210px; aspect-ratio: 9 / 18.5; margin-left: -80px;
  padding: 9px; border-radius: 38px; background: linear-gradient(160deg, #26315f, #0d1430);
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .12);
  transform: translate(var(--tx, 0), var(--ty, 0)) rotate(7deg);
}
.phone-notch { position: absolute; top: 16px; left: 50%; width: 64px; height: 18px; margin-left: -32px; border-radius: 999px; background: #050814; z-index: 2; }
.phone-screen { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: #0b1024; container-type: inline-size; }
.phone-screen > img { position: absolute; inset: 0; width: 100%; height: 62%; object-fit: cover; }
.phone-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 26, .55) 0, transparent 22%, transparent 34%, #0b1024 62%); }
.ps-top { position: absolute; z-index: 1; top: 15cqw; left: 8cqw; right: 8cqw; display: flex; justify-content: space-between; align-items: center; font-family: var(--display); font-weight: 800; font-size: 7cqw; letter-spacing: -.03em; color: #fff; }
.ps-top i { width: 8cqw; height: 5cqw; border-block: .8cqw solid #fff; }
.ps-body { position: absolute; z-index: 1; left: 8cqw; right: 8cqw; bottom: 8cqw; display: grid; gap: 4cqw; }
.ps-body small { font-size: 4.6cqw; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.ps-body strong { font-family: var(--display); font-weight: 800; font-size: 11.5cqw; line-height: .98; letter-spacing: -.04em; color: #fff; }
.ps-btn { justify-self: start; padding: 3.6cqw 7cqw; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 5.2cqw; }
.ps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqw; margin-top: 2cqw; }
.ps-row i { aspect-ratio: 1; border-radius: 5cqw; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); }
.float-card {
  position: absolute; padding: .85rem 1rem; border-radius: 18px; font-size: .82rem;
  background: rgba(17, 25, 54, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .7);
}
.fc-search { left: 0; top: 54px; width: 215px; display: grid; gap: .45rem; transform: translate(var(--tx, 0), var(--ty, 0)) rotate(-5deg); }
.fc-label { font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fc-query { padding: .5rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .07); font-weight: 600; white-space: nowrap; }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--accent); animation: blink 1s steps(2) infinite; }
.fc-result { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--accent); }
.fc-result b { width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); }
.fc-insta { right: 0; bottom: 48px; max-width: 230px; display: flex; gap: .7rem; align-items: center; transform: translate(var(--tx, 0), var(--ty, 0)) rotate(4deg); }
.fc-insta b { display: block; }
.fc-insta small { color: var(--muted); font-size: .76rem; line-height: 1.3; display: block; }
.fc-avatar { flex: none; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: conic-gradient(from 200deg, var(--accent), var(--blue), var(--accent)); }
.float-badge { position: absolute; left: 4%; bottom: 0; width: 104px; height: 104px; display: grid; place-items: center; transform: translate(var(--tx, 0), var(--ty, 0)); }
.float-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.float-badge text { font: 700 10.4px var(--sans); letter-spacing: .14em; fill: var(--text); }
.float-badge span { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; }

.marquee { position: relative; z-index: 2; margin: 1.5rem calc(var(--gutter) * -1) 0; padding: 1.1rem 0; border-block: 1px solid var(--line); overflow: hidden; background: rgba(7, 11, 26, .5); }
.marquee-track { display: flex; align-items: center; gap: 2rem; width: max-content; animation: marquee 34s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 3vw, 1.9rem); letter-spacing: -.03em; white-space: nowrap; }
.marquee-track span:nth-of-type(even) { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--muted); }
.marquee-track i { font-style: normal; color: var(--accent); }

/* ---- Problema ---- */
.problem-grid { display: grid; gap: 1rem; }
.problem-card { padding: clamp(1.5rem, 3.4vw, 2.4rem); border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); transition: transform .6s var(--ease-out), border-color .4s; }
.problem-card:hover { transform: translateY(-6px); border-color: rgba(200, 255, 62, .4); }
.problem-card h3 { margin-bottom: .7rem; }
.problem-card p { color: var(--muted); }
.pc-big { background: linear-gradient(180deg, rgba(7, 11, 26, .5), rgba(12, 18, 40, .93) 62%), url("assets/img/bar-noche.webp") center / cover; min-height: 26rem; display: flex; flex-direction: column; justify-content: flex-end; }
.problem-num { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(5.5rem, 24vw, 12rem); line-height: .82; letter-spacing: -.06em; color: var(--accent); margin-bottom: 1rem; font-variant-numeric: tabular-nums; }
.problem-tag { display: inline-block; margin-bottom: 2.5rem; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--line); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.problem-out { margin-top: clamp(2.2rem, 5vw, 4rem); max-width: 46rem; margin-left: auto; font-family: var(--display); font-size: clamp(1.3rem, 3.2vw, 2.1rem); line-height: 1.22; letter-spacing: -.025em; color: var(--muted); }
.problem-out strong { color: var(--text); font-weight: 700; }

/* ---- Servicios ---- */
.services { background: linear-gradient(180deg, transparent, var(--bg-2) 18%, var(--bg-2) 82%, transparent); }
.services-grid { display: grid; gap: 1rem; }
.service { position: relative; overflow: hidden; padding: clamp(1.6rem, 3.4vw, 2.6rem); border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1.1rem; transition: transform .6s var(--ease-out), border-color .4s; }
.service:hover { transform: translateY(-6px); border-color: rgba(200, 255, 62, .4); }
.service-idx { font-family: var(--serif); font-style: italic; font-size: 3.2rem; line-height: 1; color: var(--accent); }
.service h3 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.service > p { color: var(--muted); max-width: 30rem; }
.ticks { display: grid; gap: .55rem; }
.ticks li { display: flex; align-items: center; gap: .7rem; font-weight: 600; }
.ticks li::before { content: ""; flex: none; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: rgba(200, 255, 62, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.2 4.7-5' fill='none' stroke='%23c8ff3e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.shot { margin-top: auto; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.shot-tall { aspect-ratio: 4 / 3; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.service:hover .shot img { transform: scale(1.07); }
.s-pack { background: var(--accent); color: var(--accent-ink); border-color: transparent; gap: 1.8rem; }
.s-pack:hover { border-color: transparent; }
.s-pack h3 { font-size: clamp(2.1rem, 6vw, 3.8rem); margin: .9rem 0; }
.s-pack p { color: rgba(10, 16, 2, .78); font-weight: 500; max-width: 30rem; }
.pack-tag { display: inline-block; padding: .35rem .8rem; border-radius: 999px; background: var(--accent-ink); color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pack-list { display: grid; gap: 0; border-top: 1.5px solid rgba(10, 16, 2, .2); }
.pack-list li { display: flex; gap: 1rem; align-items: baseline; padding: .75rem 0; border-bottom: 1.5px solid rgba(10, 16, 2, .2); font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }
.pack-list b { font-family: var(--sans); font-size: .72rem; opacity: .6; }
.s-pack .btn { align-self: flex-start; }

/* ---- Instaladores de energía ---- */
.energy { padding-block: clamp(1rem, 3vw, 2rem); }
.energy-card { position: relative; overflow: hidden; display: grid; gap: 1.8rem; padding: clamp(1.6rem, 5vw, 4rem); border-radius: clamp(26px, 4vw, 48px); border: 1px solid rgba(42, 157, 255, .4); background: linear-gradient(140deg, #14235e, var(--panel) 60%); }
.energy-glow { position: absolute; width: 460px; height: 460px; right: -140px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 255, 62, .3), rgba(42, 157, 255, .18) 45%, transparent 68%); filter: blur(30px); pointer-events: none; }
.energy-head, .energy-body { position: relative; }
.energy h2 { font-size: clamp(2rem, 5.6vw, 3.9rem); }
.energy-sub { margin-top: 1.1rem; font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 2.2vw, 1.45rem); line-height: 1.25; letter-spacing: -.02em; max-width: 26rem; }
.energy-body > p { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.12rem); max-width: 36rem; }
.energy-note { margin-top: 1rem; padding-left: 1rem; border-left: 2px solid var(--accent); color: var(--text) !important; font-size: .95rem !important; }
.energy-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.btn-soon { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line); cursor: default; }
.btn-soon::before { display: none; }
.btn-soon:hover { box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-soon:active { scale: 1; }

/* ---- Asistente de WhatsApp ---- */
.wa-strip h3 { margin: 0; font-size: clamp(1.25rem, 2.6vw, 1.7rem); }
.wa-strip-icon { flex: none; width: 3.4rem; height: 3.4rem; border-radius: 50%; display: grid; place-items: center; background: rgba(37, 211, 102, .16); border: 1px solid rgba(37, 211, 102, .5); }
.wa-strip-icon svg, .wa-icon { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wa-strip-icon svg { width: 1.7rem; height: 1.7rem; color: #4be08a; }
.wa-label { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.wa h4 { font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.15; letter-spacing: -.02em; }
.wa-cards { display: grid; gap: 1rem; }
.wa-card { padding: clamp(1.4rem, 2.6vw, 1.9rem); border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); display: grid; gap: .8rem; align-content: start; transition: transform .6s var(--ease-out), border-color .4s; }
.wa-card:hover { transform: translateY(-6px); border-color: rgba(200, 255, 62, .4); }
.wa-card p { color: var(--muted); font-size: .96rem; }
.wa-icon { width: 2.9rem; height: 2.9rem; padding: .65rem; border-radius: 14px; background: rgba(200, 255, 62, .12); color: var(--accent); }
.wa-split { display: grid; gap: 3rem; margin-top: clamp(3rem, 6vw, 5rem); }
.wa-steps { counter-reset: wa; display: grid; }
.wa-steps li { counter-increment: wa; display: grid; grid-template-columns: 3rem 1fr; gap: 1.1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.wa-steps li:last-child { border-bottom: 1px solid var(--line); }
.wa-steps li::before { content: counter(wa); width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-family: var(--display); font-weight: 800; font-size: 1.15rem; }
.wa-steps h4 { font-size: clamp(1.3rem, 2.8vw, 1.7rem); margin-bottom: .45rem; }
.wa-steps p { color: var(--muted); max-width: 30rem; }
.wa-demo { justify-self: center; width: min(100%, 22rem); }
.wa-demo figcaption { margin-top: .9rem; text-align: center; font-size: .8rem; color: var(--muted); }
.wa-phone { padding: 9px; border-radius: 38px; background: linear-gradient(160deg, #26315f, #0d1430); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.wa-bar { display: flex; align-items: center; gap: .7rem; padding: 1.1rem 1rem .8rem; border-radius: 30px 30px 0 0; background: #075e54; color: #fff; }
.wa-bar b { display: block; font-size: .95rem; line-height: 1.2; }
.wa-bar small { font-size: .74rem; opacity: .8; }
.wa-avatar { flex: none; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: #d9fdd3 radial-gradient(circle at 50% 38%, #075e54 0 22%, transparent 23%), radial-gradient(circle at 50% 105%, #075e54 0 42%, transparent 43%); background-color: #d9fdd3; }
.wa-chat { display: flex; flex-direction: column; gap: .5rem; padding: 1rem .8rem 1.3rem; border-radius: 0 0 30px 30px; background: #efe7dd; }
.wa-msg { position: relative; max-width: 86%; padding: .55rem .75rem 1.25rem; border-radius: 12px; font-size: .9rem; line-height: 1.4; color: #111b21; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); }
.wa-msg time { position: absolute; right: .6rem; bottom: .3rem; font-size: .66rem; color: #667781; }
.wa-out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 3px; }
.wa-in { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }
.wa-mini { margin-top: auto; display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem .9rem; border-radius: var(--radius); background: #efe7dd; }
.service .link-arrow { align-self: flex-start; }
.wa-who { margin-top: clamp(3rem, 6vw, 5rem); }
.wa-who ul { display: flex; flex-wrap: wrap; gap: .6rem; }
.wa-who li { padding: .7rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(17, 25, 54, .55); font-weight: 600; font-size: .95rem; }
.wa-who li:last-child { border-color: rgba(200, 255, 62, .5); color: var(--accent); }
.wa-price { margin-top: clamp(3rem, 6vw, 5rem); padding: clamp(1.6rem, 5vw, 3.5rem); border-radius: clamp(26px, 4vw, 44px); border: 1px solid rgba(200, 255, 62, .45); background: linear-gradient(150deg, #16225a, var(--panel) 60%); display: grid; gap: 1.4rem; justify-items: start; }
.wa-price .wa-label { margin: 0; color: var(--accent); }
.wa-price-title { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 5.4vw, 3.6rem); line-height: 1; letter-spacing: -.04em; max-width: 16ch; text-wrap: balance; }
.wa-price-intro { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.12rem); max-width: 40rem; }
.wa-price-cols { display: grid; gap: 1rem; width: 100%; }
.wa-price-cols > div { padding: 1.3rem; border-radius: var(--radius); background: rgba(7, 11, 26, .45); border: 1px solid var(--line); display: grid; gap: .5rem; align-content: start; }
.wa-price-cols h4, .wa-incl { font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.wa-amount { font-family: var(--display); font-weight: 700; font-size: clamp(1.35rem, 2.6vw, 1.7rem); letter-spacing: -.02em; color: var(--accent); }
.wa-small { font-size: .86rem; color: var(--muted); max-width: 44rem; }
.wa-ticks { width: 100%; }
.wa-ticks li { align-items: flex-start; font-weight: 500; font-size: .96rem; line-height: 1.4; }
.wa-faq { margin-top: clamp(3rem, 6vw, 5rem); max-width: 56rem; }
.wa-final { margin-top: 2.5rem; }

/* ---- Precios ---- */
.pricing-grid { display: grid; gap: 1rem; align-items: start; }
.plan { position: relative; overflow: hidden; padding: clamp(1.6rem, 3vw, 2.3rem); border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1.4rem; transition: transform .6s var(--ease-out), border-color .4s; }
.plan:hover { transform: translateY(-6px); border-color: rgba(200, 255, 62, .4); }
.plan-idx { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--accent); margin-bottom: .8rem; }
.plan h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; margin-top: 1.1rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.plan-price small { width: 100%; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.plan-price b { font-family: var(--display); font-weight: 800; font-size: clamp(3.2rem, 7vw, 4.4rem); line-height: .95; letter-spacing: -.05em; white-space: nowrap; }
.plan-price span { font-weight: 600; color: var(--muted); }
.plan-price .plan-plus { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: var(--text); white-space: nowrap; }
.plan .ticks li { align-items: flex-start; font-weight: 500; font-size: .96rem; line-height: 1.4; }
.plan .ticks li::before { margin-top: .05rem; }
.plan-note { font-size: .84rem; color: var(--muted); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost::before { background: var(--accent); }
.btn-ghost:hover { color: var(--accent-ink); box-shadow: 0 14px 44px -10px rgba(200, 255, 62, .55); }
.tiers { display: grid; gap: .8rem; }
.tier { padding: 1.1rem; border-radius: var(--radius); background: rgba(7, 11, 26, .45); border: 1px solid var(--line); }
.tier-name { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .8rem; }
.tier-name b { font-family: var(--display); font-size: 1.15rem; letter-spacing: -.02em; }
.tier-name span { font-weight: 700; color: var(--accent); white-space: nowrap; }
.plan-pack { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.plan-pack:hover { border-color: transparent; }
.plan-pack h3 { margin-top: 1rem; }
.plan-pack .plan-price { border-color: rgba(10, 16, 2, .2); }
.plan-pack .plan-price span { color: rgba(10, 16, 2, .75); font-weight: 800; font-size: 1.15rem; }
.plan-pack .ticks li { font-weight: 600; }
.plan-pack .ticks li::before { background-color: var(--accent-ink); }
.plan-save { padding: .8rem 1rem; border-radius: 14px; background: rgba(10, 16, 2, .1); font-weight: 800; font-size: .95rem; }

.launch-tag { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.4rem; padding: .55rem 1.1rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 10px 34px -10px rgba(200, 255, 62, .6); }
.launch-tag::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent-ink); }
.section-head .launch-tag + .eyebrow { display: flex; }
.price-title { font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.pricing-grid + .price-duo, .price-duo { margin-top: clamp(2.2rem, 4vw, 3.2rem); }
.price-duo { display: grid; gap: 2.2rem 1rem; }
.plan-name { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.1; letter-spacing: -.02em; }
.plan-pack .plan-name { margin-top: 1rem; }
.plan .ticks a { text-decoration: underline; text-underline-offset: 3px; }
.price-incl { margin-bottom: clamp(2rem, 4vw, 3rem); padding: clamp(1.3rem, 2.6vw, 1.8rem); border-radius: var(--radius-lg); border: 1px solid rgba(200, 255, 62, .45); background: rgba(200, 255, 62, .07); display: grid; gap: 1rem; }
.price-incl > p { font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.4rem); letter-spacing: -.02em; }
.price-incl .ticks li { align-items: flex-start; font-weight: 500; font-size: .96rem; line-height: 1.4; }
.price-small { margin-top: 1.6rem; font-size: .86rem; color: var(--muted); max-width: 52rem; }
.price-small + .price-small { margin-top: .5rem; }
.price-small a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.price-final { margin-top: 2rem; }
.lang { display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: rgba(17, 25, 54, .6); font-size: .78rem; font-weight: 800; letter-spacing: .06em; z-index: 2; margin-left: auto; }
.lang a { padding: .38rem .62rem; border-radius: 999px; color: var(--muted); transition: color .3s, background .3s; }
.lang a:hover { color: var(--text); }
.lang a[aria-current] { background: var(--accent); color: var(--accent-ink); }
.plan-for { margin-top: .5rem; font-size: .86rem; color: var(--muted); }
.service-aside { font-size: .9rem; color: var(--muted); }
.service-aside a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.plan-wide { position: relative; margin-top: 1rem; padding: clamp(1.6rem, 3vw, 2.3rem); border-radius: var(--radius-lg); border: 1px solid rgba(42, 157, 255, .4); background: linear-gradient(140deg, #14235e, var(--panel) 60%); display: grid; gap: 1.6rem; }
.plan-wide h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: .7rem; }
.plan-wide > div > p { color: var(--muted); font-size: .96rem; max-width: 26rem; }
.plan-wide .ticks li { align-items: flex-start; font-weight: 500; font-size: .96rem; line-height: 1.4; }
.plan-wide-end { display: grid; gap: 1rem; justify-items: start; align-content: start; }
.plan-wide-price b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 2.8rem); line-height: 1; letter-spacing: -.04em; }
.plan-wide-price span { font-weight: 600; color: var(--muted); font-size: .92rem; }
.plan-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.after { margin-top: clamp(2.5rem, 5vw, 4rem); scroll-margin-top: 6rem; }
.after-title { font-size: clamp(1.5rem, 3.2vw, 2.2rem); margin-bottom: 1.4rem; }
.after-grid { display: grid; gap: 1rem; }
.after-card { padding: clamp(1.4rem, 2.6vw, 2rem); border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(17, 25, 54, .55); display: flex; flex-direction: column; gap: 1.1rem; }
.after-card > p, .after-card .ticks li { color: var(--muted); font-size: .96rem; }
.after-card .ticks li { align-items: flex-start; font-weight: 500; line-height: 1.4; }
.after-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .3rem 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.after-head b { font-family: var(--display); font-size: 1.35rem; letter-spacing: -.02em; color: var(--text); }
.after-head span { font-size: .84rem; font-weight: 700; color: var(--accent); }
.after-foot { font-size: .86rem !important; margin-top: auto; }

/* ---- Proceso ---- */
.steps { position: relative; display: grid; gap: 0; max-width: 60rem; margin-left: auto; }
.steps-line { position: absolute; left: 1.55rem; top: 1.6rem; bottom: 1.6rem; width: 2px; background: var(--line); }
.steps-line span { display: block; width: 100%; height: 100%; background: var(--accent); transform-origin: 50% 0; transform: scaleY(0); }
.step { position: relative; display: grid; grid-template-columns: 3.2rem 1fr; gap: 1.2rem; padding: 1.4rem 0; }
.step-n { position: relative; z-index: 1; width: 3.2rem; height: 3.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--line); font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--muted); transition: background .5s, color .5s, border-color .5s, transform .6s var(--ease-bounce); }
.step.is-active .step-n { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: scale(1.08); }
.step h3 { margin: .55rem 0 .5rem; font-size: clamp(1.45rem, 3.4vw, 2.3rem); }
.step p { color: var(--muted); max-width: 32rem; }

/* ---- Local ---- */
.local { display: grid; gap: 2.5rem; }
.local-photo { position: relative; aspect-ratio: 4 / 3; margin-top: 2rem; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.local-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.local-photo:hover img { transform: scale(1.06); }
.local-photo figcaption { position: absolute; left: .8rem; bottom: .8rem; padding: .45rem .8rem; border-radius: 999px; background: rgba(7, 11, 26, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); font-size: .74rem; font-weight: 700; letter-spacing: .04em; }
.local-list li { display: grid; grid-template-columns: 2.6rem 1fr; gap: .8rem; padding: 1.5rem 0; border-top: 1px solid var(--line); transition: padding .5s var(--ease-out); }
.local-list li:last-child { border-bottom: 1px solid var(--line); }
.local-list li > span { font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--accent); padding-top: .45rem; }
.local-list h3 { font-size: clamp(1.5rem, 3.6vw, 2.4rem); transition: color .3s; }
.local-list p { color: var(--muted); margin-top: .45rem; max-width: 30rem; }
@media (hover: hover) {
  .local-list li:hover { padding-left: 1rem; }
  .local-list li:hover h3 { color: var(--accent); }
}

/* ---- Portfolio ---- */
.work-grid { display: grid; gap: 2rem 1.2rem; }
.ba { position: relative; container-type: inline-size; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; --pos: 50%; transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out); }
.project:hover .ba { transform: scale(.985); box-shadow: 0 0 0 1px rgba(200, 255, 62, .5), 0 30px 70px -30px rgba(200, 255, 62, .35); }
.mock { position: absolute; inset: 0; overflow: hidden; }
.ba-before { z-index: 2; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-tag { position: absolute; bottom: 3.2cqw; font-style: normal; font-family: var(--sans); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .4rem .75rem; border-radius: 999px; background: rgba(7, 11, 26, .82); border: 1px solid var(--line); color: var(--muted); }
.mock-old .ba-tag { left: 3.2cqw; }
.mock-new .ba-tag { right: 3.2cqw; color: var(--accent); }
.mock-new > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.project:hover .mock-new > img { transform: scale(1.05); }
.mock-new::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(7, 11, 26, .2), rgba(7, 11, 26, .82)); }
.mock-new > div, .mock-new > em { z-index: 1; }
.mock-top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 2cqw; padding: 3.6cqw 4.5cqw; color: #fff; font-size: 2.3cqw; font-weight: 600; }
.mock-top b { font-family: var(--display); font-weight: 800; font-size: 3.6cqw; letter-spacing: -.03em; }
.mock-hero { position: absolute; right: 4.5cqw; bottom: 13cqw; width: 44%; display: grid; justify-items: end; gap: 2cqw; text-align: right; color: #fff; }
.mock-hero small { font-size: 2.2cqw; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.mock-hero strong { font-family: var(--display); font-weight: 800; font-size: 6.2cqw; line-height: .98; letter-spacing: -.04em; }
.mock-hero i { font-style: normal; padding: 1.7cqw 3.4cqw; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 2.5cqw; font-weight: 800; }
.mock-old { background: #e8e4d4; color: #111; font-family: "Times New Roman", Times, serif; }
.old-head { background: #1b2a8c; color: #ffec3d; font-weight: 700; font-size: 3.6cqw; padding: 3cqw 3.5cqw; white-space: nowrap; }
.old-nav { background: #c3c3c3; border-bottom: .5cqw solid #808080; color: #0000ee; text-decoration: underline; font-size: 2.9cqw; padding: 1.4cqw 3.5cqw; white-space: nowrap; }
.old-body { display: flex; gap: 3cqw; padding: 4cqw 3.5cqw; font-size: 3.1cqw; line-height: 1.35; width: 100cqw; }
.old-body img { flex: none; width: 27cqw; height: 21cqw; object-fit: cover; border: .7cqw ridge #9a9a9a; filter: saturate(.35) contrast(.85) blur(.3px); }
.old-body u { color: #0000ee; }
.ba-handle { z-index: 3; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--accent); pointer-events: none; }
.ba-handle i { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5' fill='none' stroke='%230a1002' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); transition: transform .5s var(--ease-bounce); }
.project:hover .ba-handle i { transform: scale(1.14); }
.ba input { z-index: 4; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }
.project-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem .3rem 0; }
.project-meta span { font-size: .84rem; color: var(--muted); text-align: right; }

/* ---- Testimonios ---- */
.voices-grid { display: grid; gap: 1rem; }
.voice { padding: clamp(1.5rem, 3vw, 2.4rem); border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1.6rem; transition: transform .6s var(--ease-out); }
.voice:hover { transform: translateY(-6px) rotate(-.4deg); }
.voice blockquote { font-family: var(--display); font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.voice figcaption { margin-top: auto; display: flex; align-items: center; gap: .8rem; }
.voice-av { width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 1px dashed rgba(190, 205, 255, .35); background: var(--panel-2); }
.voice small { display: block; color: var(--muted); }
.voice-k { font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--accent); }
.voice h3 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.voice > p { color: var(--muted); max-width: 28rem; }
.v-3 .voice-k { color: var(--accent-ink); opacity: .65; }
.v-3 > p { color: rgba(10, 16, 2, .78); font-weight: 500; }
.v-1 { background: linear-gradient(150deg, #1b2a6b, var(--panel)); }
.v-3 { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.v-3 small { color: rgba(10, 16, 2, .7); }
.v-3 .voice-av { background: rgba(10, 16, 2, .12); border-color: rgba(10, 16, 2, .4); }
.v-3[data-spot]::after { display: none; }

/* ---- FAQ ---- */
.faq { display: grid; gap: 2.5rem; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { 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-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 2.8vw, 1.7rem); letter-spacing: -.025em; transition: color .3s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--line); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%23eef1fb' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 50% no-repeat; transition: transform .5s var(--ease-out), background-color .3s; }
.faq-list summary:hover { color: var(--accent); }
.faq-list details[open] summary::after { transform: rotate(135deg); background-color: var(--panel-2); }
.faq-list details > div { padding: 0 3.5rem 1.6rem 0; color: var(--muted); animation: fadeUp .5s var(--ease-out); }
.faq-list details strong { color: var(--text); }

/* ---- Contacto ---- */
.contact { padding-bottom: clamp(3rem, 6vw, 5rem); }
.contact-card { position: relative; overflow: hidden; display: grid; gap: 2.5rem; padding: clamp(1.6rem, 5vw, 4.5rem); border-radius: clamp(26px, 4vw, 48px); background: linear-gradient(150deg, #16225a, var(--panel) 55%); border: 1px solid var(--line); }
.contact-glow { position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 255, 62, .25), transparent 65%); filter: blur(40px); pointer-events: none; }
.contact-copy, .form { position: relative; }
.contact-mail { display: inline-block; margin-top: 2rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 4.6vw, 2.2rem); letter-spacing: -.03em; overflow-wrap: anywhere; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 2px no-repeat; padding-bottom: 4px; transition: color .3s; }
.contact-mail:hover { color: var(--accent); }
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field > span, .chips legend { font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.field small { font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 1rem 1.1rem; border-radius: 16px; font: inherit; font-size: 1rem; color: var(--text);
  background: rgba(7, 11, 26, .55); border: 1.5px solid var(--line); resize: vertical;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field input::placeholder, .field textarea::placeholder { color: #6f7a9c; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(200, 255, 62, .16); background: rgba(7, 11, 26, .8); }
.chips { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { margin-bottom: .55rem; padding: 0; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: block; padding: .7rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .94rem; transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease-bounce); }
.chips label:hover span { border-color: var(--accent); }
.chips input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: scale(1.04); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: .78rem; color: var(--muted); text-align: center; }
.form-legal a, .footer-row a { text-decoration: underline; text-underline-offset: 3px; }
.form .btn[disabled] { opacity: .6; pointer-events: none; }
.form-msg { font-size: .92rem; min-height: 1.4em; }

/* Página legal y 404 */
.doc { max-width: 46rem; margin: 0 auto; padding: clamp(7rem, 14vw, 10rem) var(--gutter) 5rem; }
.doc h1 { font-size: clamp(2.4rem, 7vw, 4rem); margin-bottom: 1rem; }
.doc h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin: 3rem 0 1rem; scroll-margin-top: 6rem; }
.doc h3 { font-size: 1.1rem; margin: 1.6rem 0 .5rem; }
.doc p, .doc li { color: var(--muted); margin-bottom: .8rem; }
.doc ul { list-style: disc; padding-left: 1.3rem; }
.doc strong { color: var(--text); }
.doc a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.doc mark { background: rgba(200, 255, 62, .18); color: var(--accent); padding: .05em .35em; border-radius: 6px; }
.doc-center { min-height: 100svh; display: grid; place-content: center; justify-items: start; gap: 1rem; padding-block: 6rem; }
.doc-center .big { font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 28vw, 14rem); line-height: .8; letter-spacing: -.06em; color: var(--accent); }
.form-msg.is-ok { color: var(--accent); }
.form-msg.is-error { color: #ff9d8a; }

/* ---- Footer ---- */
.footer { padding: 0 var(--gutter) 2rem; overflow: hidden; }
.footer-big { font-family: var(--display); font-weight: 800; font-size: clamp(4.5rem, 24vw, 22rem); line-height: .8; letter-spacing: -.06em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(190, 205, 255, .22); user-select: none; margin-bottom: 2rem; }
.footer-row { display: flex; flex-direction: column; gap: .6rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.footer-row a:hover { color: var(--accent); }

/* =============================================================
   7. Effects
   ============================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .voice[data-reveal].is-in, .js .problem-card[data-reveal].is-in, .js .service[data-reveal].is-in { transition-delay: 0s; }

@keyframes lineUp { from { transform: translateY(110%) rotate(4deg); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(200, 255, 62, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 255, 62, 0); } }
@keyframes fabIn { from { opacity: 0; transform: translateY(30px) scale(.7); } }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes drift { to { transform: translate(6%, 9%) scale(1.12); } }

/* =============================================================
   8. Responsive (mobile-first)
   ============================================================= */
@media (min-width: 540px) {
  .chat { inset: auto 1.2rem 1.2rem auto; width: 390px; height: min(600px, calc(100dvh - 2.4rem)); border-radius: 26px; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .8); }
  .hero-stage { height: 460px; }
  .phone { width: 240px; margin-left: -90px; }
  .fc-search { left: 6%; }
  .fc-insta { right: 6%; }
  .work-grid, .voices-grid { grid-template-columns: 1fr 1fr; }
  .project:nth-child(even), .voice:nth-child(even) { margin-top: 3rem; }
  .footer-row { flex-direction: row; justify-content: space-between; flex-wrap: wrap; }
}

@media (min-width: 720px) {
  .after-grid { grid-template-columns: 1fr 1.15fr; }
  .price-duo { grid-template-columns: 1fr 1fr; align-items: start; }
  .wa-cards { grid-template-columns: 1fr 1fr; }
  .wa-price-cols { grid-template-columns: 1fr 1fr; }
  .wa-ticks { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .ai-strip { grid-template-columns: auto 1fr auto; column-gap: 1.8rem; }
  .ai-strip .btn { justify-self: end; }
  .problem-grid { grid-template-columns: 1.25fr 1fr; }
  .pc-big { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; }
  .pc-offset { transform: translateX(-2.5rem); }
  .js .pc-offset[data-reveal] { transform: translate(-2.5rem, 34px); }
  .js .pc-offset[data-reveal].is-in { transform: translateX(-2.5rem); }
  .pc-offset:hover, .js .pc-offset[data-reveal].is-in:hover { transform: translate(-2.5rem, -6px); }
  .services-grid { grid-template-columns: 1.2fr 1fr; }
  .s-social { margin-top: 4.5rem; }
  .s-pack { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; column-gap: 3rem; }
  .s-pack .btn { grid-column: 1; justify-self: start; }
  .pack-list { grid-row: 1 / span 2; grid-column: 2; }
  .step { grid-template-columns: 3.2rem 1fr 1fr; align-items: start; padding: 2rem 0; }
  .step > div { display: contents; }
  .step h3 { margin-top: .55rem; }
  .step p { margin-top: .75rem; }
}

@media (min-width: 960px) {
  .burger, .nav-cta-mobile { display: none; }
  .nav-cta { display: inline-flex; }
  .nav-links { position: static; height: auto; padding: 0; flex-direction: row; gap: 2rem; background: none; clip-path: none; visibility: visible; transition: none; }
  .nav-links a:not(.btn) { font-family: var(--sans); font-size: .93rem; font-weight: 600; letter-spacing: 0; padding: .3rem 0; border: 0; color: var(--muted); background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1.5px no-repeat; transition: color .3s, background-size .5s var(--ease-out); }
  .nav-links a:not(.btn):hover { color: var(--text); background-size: 100% 1.5px; }

  .wa-cards { grid-template-columns: repeat(4, 1fr); }
  .wa-split { grid-template-columns: 1.15fr 1fr; column-gap: clamp(3rem, 7vw, 7rem); align-items: start; }
  .wa-demo { justify-self: end; }
  .nav-links { overflow: visible; }
  .nav-links a[href="#local"], .nav-links a[href="#proyectos"], .nav-links a[href="#proceso"] { display: none; }
  .energy-card { grid-template-columns: 1fr 1.1fr; column-gap: clamp(2.5rem, 6vw, 6rem); align-items: end; }
  .nav-links { gap: clamp(.9rem, 1.8vw, 2rem) !important; }
  .nav-links a, .nav-cta { white-space: nowrap; }
  .lang { margin-left: 0; }
  .nav-links a:not(.btn) { font-size: clamp(.84rem, 1.02vw, .93rem) !important; }
  .nav .logo-text { font-size: 1rem; }
  .nav-links a[href="#faq"] { display: none; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .plan-wide { grid-template-columns: 1fr 1.1fr auto; column-gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
  .plan-pack { box-shadow: 0 40px 90px -40px rgba(200, 255, 62, .55); }
  .hero { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: 2rem; align-items: center; }
  .hero-title { font-size: clamp(3.8rem, 7.3vw, 8.4rem); }
  .hero-stage { height: 620px; margin-top: 0; }
  .phone { width: 290px; margin-left: -120px; top: 20px; }
  .fc-search { left: -12%; top: 110px; width: 240px; font-size: .9rem; }
  .fc-insta { right: -2%; bottom: 80px; }
  .float-badge { left: 0; bottom: 30px; width: 124px; height: 124px; }
  .marquee { grid-column: 1 / -1; }

  .local { grid-template-columns: 1fr 1.15fr; column-gap: clamp(3rem, 7vw, 7rem); align-items: start; }
  .local-left { position: sticky; top: 6.5rem; }
  .local-photo { aspect-ratio: 5 / 4; max-width: 27rem; transform: rotate(-2.5deg); }
  .js .local-photo[data-reveal] { transform: translateY(34px) rotate(-2.5deg); }
  .js .local-photo[data-reveal].is-in { transform: rotate(-2.5deg); }

  .work-grid { grid-template-columns: repeat(12, 1fr); gap: 3.5rem 1.6rem; }
  .project { margin-top: 0 !important; }
  .p-1 { grid-column: 1 / span 7; }
  .p-2 { grid-column: 8 / span 5; margin-top: 6rem !important; }
  .p-2 .ba, .p-3 .ba { aspect-ratio: 4 / 4.2; }
  .p-3 { grid-column: 2 / span 5; }
  .p-4 { grid-column: 7 / span 6; margin-top: 5rem !important; }

  .voices-grid { grid-template-columns: repeat(12, 1fr); gap: 1.4rem; }
  .voice { margin-top: 0 !important; }
  .v-1 { grid-column: 1 / span 7; }
  .v-2 { grid-column: 8 / span 5; margin-top: 4rem !important; }
  .v-3 { grid-column: 2 / span 5; }
  .v-4 { grid-column: 7 / span 6; margin-top: 3rem !important; }

  .faq { grid-template-columns: 1fr 1.3fr; column-gap: clamp(3rem, 7vw, 7rem); align-items: start; }
  .faq-head { position: sticky; top: 6.5rem; }
  .contact-card { grid-template-columns: 1fr 1fr; column-gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
}

@media (min-width: 1280px) {
  .nav-links a[href="#proyectos"], .nav-links a[href="#proceso"] { display: inline; }
  .problem-grid { grid-template-columns: 1.3fr 1fr; max-width: 80rem; }
  .hero-stage { height: 680px; }
  .phone { width: 320px; }
}

@media (min-width: 1600px) {
  .nav-links a[href="#faq"], .nav-links a[href="#local"] { display: inline; }
}

/* =============================================================
   9. Reduced motion (solo lo intrusivo)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .float-badge svg, .hero-glow, .ai-orb, .chat-av { animation: none; }
}
