@charset "UTF-8";
/* =============================================================
   ADRIANWEBDESIGN — Diseño web y análisis para negocios
   Archetype: dark studio / iridescent accent (Syne + Inter)
   Signature: browser frames that auto-scroll the whole website
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
:root {
  --bg:     #0b0c14;
  --bg-2:   #11131e;
  --bg-3:   #181b29;
  --ink:    #eef0f7;
  --ink-2:  #b9bdd0;
  --mute:   #7b8098;
  --a1:     #8b7bff;   /* violet */
  --a2:     #45d1ff;   /* sky */
  --grad:   linear-gradient(100deg, var(--a1), var(--a2));
  --line:   rgba(238, 240, 247, 0.1);
  --line-2: rgba(238, 240, 247, 0.2);

  --display: "Syne", "Arial Black", system-ui, sans-serif;
  --sans:    "Inter", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --nav-h: 76px;
  --r: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Reset & base ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); background: var(--bg); }
body { font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1; letter-spacing: -0.03em; text-wrap: balance; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
::selection { background: var(--a1); color: #fff; }
:focus-visible { outline: 2px solid var(--a2); outline-offset: 3px; border-radius: 6px; }

/* Ambient glow behind everything */
.glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.glow i { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .28; }
.glow i:nth-child(1) { width: 46vw; height: 46vw; left: -10vw; top: -12vw; background: var(--a1); animation: g1 28s ease-in-out infinite; }
.glow i:nth-child(2) { width: 38vw; height: 38vw; right: -10vw; top: 30vh; background: var(--a2); opacity: .18; animation: g2 34s ease-in-out infinite; }
@keyframes g1 { 50% { transform: translate(12vw, 14vh); } }
@keyframes g2 { 50% { transform: translate(-10vw, -8vh); } }

/* 3. Utilities ------------------------------------------------- */
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 999; padding: .6rem 1rem; background: var(--ink); color: var(--bg); border-radius: 10px; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 140px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.lead { font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: var(--ink-2); max-width: 52ch; }
.mute { color: var(--mute); }
.head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 60px); }
.head h2 { font-size: clamp(2.4rem, 6vw, 5rem); max-width: 18ch; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); }
.head-row h2 { font-size: clamp(2.4rem, 6vw, 5rem); margin-top: 12px; max-width: 16ch; }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 15.5px; background: var(--ink); color: var(--bg); overflow: hidden; isolation: isolate; transition: color .35s, transform .5s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad); opacity: 0; transition: opacity .35s; }
.btn:hover::before, .btn:focus-visible::before { opacity: 1; }
.btn:hover { color: #0b0c14; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { box-shadow: none; }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 14.5px; }
.btn .ar { transition: transform .4s var(--ease); }
.btn:hover .ar { transform: translateX(4px); }
.link { position: relative; font-weight: 600; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; background: var(--grad); transform-origin: right; transform: scaleX(0); transition: transform .45s var(--ease); }
.link:hover::after { transform-origin: left; transform: scaleX(1); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(238,240,247,.07); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }

/* 4. Nav ------------------------------------------------------- */
.nav { position: fixed; left: 0; right: 0; top: 0; z-index: 50; height: var(--nav-h); transition: background .4s, box-shadow .4s; }
.nav.is-scrolled { background: rgba(11, 12, 20, .86); box-shadow: 0 1px 0 var(--line); }
@supports (backdrop-filter: blur(10px)) { .nav.is-scrolled { background: rgba(11,12,20,.62); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); } }
.nav-inner { height: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.logo-mark { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 0 10px rgba(8, 212, 248, .35)); }
.logo span b { font-weight: 700; }
.logo span { font-weight: 600; }

.logo span i { font-style: normal; color: var(--mute); font-weight: 600; }
.nav-links { display: none; gap: 30px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--ink-2); transition: color .3s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-right .btn { display: none; }
.burger { width: 48px; height: 48px; border-radius: 50%; display: grid; place-content: center; gap: 6px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.burger span { width: 20px; height: 2px; background: var(--ink); transition: transform .4s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 49; background: var(--bg); padding: calc(var(--nav-h) + 24px) var(--gutter) 30px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
.menu a.big { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 11vw, 3.4rem); letter-spacing: -.03em; line-height: 1.05; }
.menu a.big:hover { color: var(--a2); }

/* 5. HERO ------------------------------------------------------ */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 90px)); padding-bottom: clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(3rem, 8.2vw, 7.4rem); line-height: .95; letter-spacing: -.045em; margin: 20px 0 24px; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .ln > span { display: block; }
.js .hero h1 .ln > span { transform: translateY(105%); transition: transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.js .is-loaded .hero h1 .ln > span { transform: none; }
.hero .lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; font-size: 14.5px; color: var(--ink-2); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--a2); }

/* Fan of browsers (hero visual) */
.fan { position: relative; aspect-ratio: 1 / .82; perspective: 1400px; }
.fan .browser { position: absolute; width: 74%; transition: transform .9s var(--ease); will-change: transform; }
.fan .b1 { left: 0; top: 16%; transform: rotateY(18deg) rotateZ(-4deg) translateZ(-60px); z-index: 1; }
.fan .b2 { right: 0; top: 0; transform: rotateY(-16deg) rotateZ(3deg) translateZ(-30px); z-index: 2; }
.fan .b3 { left: 13%; bottom: 0; transform: rotateY(4deg) translateZ(40px); z-index: 3; }
.js .fan .browser { opacity: 0; }
.js .is-loaded .fan .browser { opacity: 1; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .is-loaded .fan .b1 { transition-delay: .35s; } .js .is-loaded .fan .b2 { transition-delay: .5s; } .js .is-loaded .fan .b3 { transition-delay: .65s; }

/* Browser frame (reused) */
.browser { border-radius: 12px; overflow: hidden; background: var(--bg-3); box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -30px rgba(0,0,0,.8); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #1d2031; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3e55; }
.browser-bar i:nth-child(1) { background: #ff6b6b; } .browser-bar i:nth-child(2) { background: #ffc85a; } .browser-bar i:nth-child(3) { background: #55d98a; }
.browser-bar span { margin-left: 10px; flex: 1; height: 18px; border-radius: 6px; background: rgba(238,240,247,.06); font-size: 10.5px; line-height: 18px; padding: 0 8px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser .view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.browser .view img { width: 100%; }

/* Marquee */
.marquee { overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); padding: 18px 0; }
.marquee-track { display: inline-flex; gap: 42px; animation: mq 38s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.3rem); letter-spacing: -.03em; color: var(--ink-2); display: inline-flex; align-items: center; gap: 42px; }
.marquee-track span::after { content: "\2726"; font-size: .6em; color: var(--a1); }
@keyframes mq { to { transform: translateX(-50%); } }

/* 6. Signature: work cards with auto-scrolling screenshot ------ */
.works { display: grid; gap: clamp(28px, 4vw, 44px); }
.work { display: grid; gap: 16px; }
.work .browser .view { aspect-ratio: 16 / 10; }
.work .shot { position: absolute; left: 0; top: 0; width: 100%; transform: translate3d(0, 0, 0); transition: transform 1.2s var(--ease); will-change: transform; }
.work:hover .shot, .work.is-auto .shot, .work:focus-within .shot { transform: translate3d(0, var(--shift, 0px), 0); transition: transform var(--dur, 8s) cubic-bezier(.45, .05, .55, .95); }
.work .hint { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgba(11,12,20,.8); color: #fff; font-size: 12px; font-weight: 600; opacity: 1; transition: opacity .4s; pointer-events: none; }
.work:hover .hint, .work.is-auto .hint { opacity: 0; }
.work .phone { position: absolute; z-index: 3; right: -3%; bottom: 6%; width: 21%; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 4px #1d2031, 0 0 0 5px var(--line-2), 0 30px 60px -20px rgba(0,0,0,.9); display: none; }
.work .frame-wrap { position: relative; }
.work-info { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.work-info h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.work-info p { color: var(--ink-2); font-size: 15px; margin-top: 6px; max-width: 46ch; }
.work-info .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.work-info .go { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 20px; transition: background .3s, color .3s, transform .5s var(--ease); }
.work-info .go:hover { background: var(--ink); color: var(--bg); transform: rotate(-45deg); }
.demo-note { margin-top: 26px; font-size: 14px; color: var(--mute); max-width: 70ch; }

/* 7. Services ------------------------------------------------- */
.services { display: grid; gap: 16px; }
.svc { position: relative; padding: 28px; border-radius: var(--r); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 14px; overflow: hidden; transition: transform .6s var(--ease), box-shadow .4s; }
.svc::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; }
.svc:hover { transform: translateY(-6px); }
.svc:hover::before { opacity: 1; }
.svc .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(139,123,255,.14); color: var(--a2); }
.svc .ic svg { width: 26px; height: 26px; }
.svc h3 { font-size: 1.6rem; }
.svc p { color: var(--ink-2); font-size: 15.5px; }
.svc .foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14.5px; }
.svc .foot b { font-family: var(--display); font-size: 1.2rem; }
.svc.main { background: linear-gradient(160deg, rgba(139,123,255,.18), rgba(69,209,255,.06) 60%), var(--bg-2); }

/* 8. Process / honesty --------------------------------------- */
.steps { display: grid; gap: 16px; counter-reset: s; }
.step { counter-increment: s; padding: 26px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.step::before { content: "0" counter(s); display: block; font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; margin-bottom: 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 1.35rem; margin-bottom: 8px; letter-spacing: -.02em; }
.step p { color: var(--ink-2); font-size: 15px; }
.honest { display: grid; gap: 28px; padding: clamp(28px, 5vw, 56px); border-radius: calc(var(--r) * 1.4); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); align-items: center; }
.honest h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin: 12px 0 16px; }
.honest p { color: var(--ink-2); }
.honest ul { display: grid; gap: 12px; }
.honest li { display: flex; gap: 12px; align-items: flex-start; }
.honest li svg { width: 22px; height: 22px; flex: none; color: var(--a2); margin-top: 1px; }

/* 9. Pricing ------------------------------------------------- */
.plans { display: grid; gap: 16px; }
.plan { position: relative; padding: 30px; border-radius: var(--r); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 16px; }
.plan.hot { box-shadow: inset 0 0 0 1.5px var(--a1); background: linear-gradient(180deg, rgba(139,123,255,.14), transparent 55%), var(--bg-2); }
.plan .badge { position: absolute; top: -12px; left: 28px; padding: 5px 12px; border-radius: 999px; background: var(--grad); color: #0b0c14; font-size: 12px; font-weight: 700; }
.plan h3 { font-size: 1.5rem; }
.plan .price { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -.04em; }
.plan .price small { font-family: var(--sans); font-weight: 500; font-size: 14px; color: var(--mute); letter-spacing: 0; margin-left: 4px; }
.plan .price s { font-size: .45em; color: var(--mute); font-weight: 600; margin-right: 8px; }
.plan > p { color: var(--ink-2); font-size: 15px; }
.plan ul { display: grid; gap: 9px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "\2713"; color: var(--a2); font-weight: 700; }
.plan .btn { margin-top: auto; }
.price-note { margin-top: 18px; font-size: 14px; color: var(--mute); }

/* Analyses (servicios page) */
.analysis { display: grid; gap: 30px; padding-block: clamp(48px, 7vw, 90px); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.analysis h2 { font-size: clamp(2.2rem, 5vw, 4rem); margin: 12px 0 16px; max-width: 18ch; }
.analysis .quote { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; color: var(--ink-2); }
.checklist li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px; background: var(--grad); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12l4.5 4.5L19 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 16px no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.checklist.no li::before { background: var(--mute); }
.phases { display: grid; gap: 10px; }
.phase { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.phase b { font-family: var(--display); font-size: 1.5rem; line-height: 1.1; }
.phase h4 { font-family: var(--display); font-size: 1.1rem; letter-spacing: -.01em; }
.phase p { font-size: 14.5px; color: var(--ink-2); }
.mini-plans { display: grid; gap: 10px; }
.mini-plan { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 18px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.mini-plan.hot { box-shadow: inset 0 0 0 1.5px var(--a1); }
.mini-plan b { font-family: var(--display); font-size: 1.1rem; display: block; }
.mini-plan small { color: var(--mute); font-size: 13.5px; }
.mini-plan .p { font-family: var(--display); font-weight: 700; font-size: 1.5rem; white-space: nowrap; }
.sub-nav { position: sticky; top: var(--nav-h); z-index: 20; display: flex; gap: 8px; overflow-x: auto; overflow-y: visible; scrollbar-width: none; padding: 12px 0; background: rgba(11,12,20,.9); }
.sub-nav::-webkit-scrollbar { display: none; }
.sub-nav a { flex: none; padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: all .3s; }
.sub-nav a:hover, .sub-nav a.is-active { background: var(--ink); color: var(--bg); box-shadow: none; }

/* FAQ */
.faq { max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.35rem); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--a2); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding-bottom: 22px; color: var(--ink-2); max-width: 70ch; }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: calc(var(--r) * 1.6); padding: clamp(40px, 8vw, 100px) clamp(24px, 5vw, 72px); text-align: center; display: grid; justify-items: center; gap: 18px; background: radial-gradient(ellipse at 50% 120%, rgba(69,209,255,.35), transparent 60%), radial-gradient(ellipse at 10% -20%, rgba(139,123,255,.5), transparent 55%), var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.cta h2 { font-size: clamp(2.6rem, 7.4vw, 6.4rem); letter-spacing: -.045em; max-width: 14ch; }
.cta p { color: var(--ink-2); max-width: 48ch; }

/* 10. Page head ---------------------------------------------- */
.page-head { padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 110px)); padding-bottom: clamp(28px, 5vw, 60px); }
.page-head h1 { font-size: clamp(3rem, 9vw, 7.6rem); letter-spacing: -.045em; line-height: .95; margin: 18px 0 20px; max-width: 14ch; }

/* 11. Contact ------------------------------------------------ */
.contact { display: grid; gap: 30px; align-items: start; }
.form-card { padding: clamp(22px, 4vw, 40px); border-radius: var(--r); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.form { display: grid; gap: 20px; }
.form[hidden] { display: none; }
.form-row { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field > label, .field legend { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 12px 16px; border-radius: 12px; border: 0; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; -webkit-appearance: none; appearance: none; transition: box-shadow .25s; }
.field select { padding-right: 44px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23eef0f7' stroke-width='1.6'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { background: var(--bg-3); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--a1); }
.field.is-invalid input, .field.is-invalid textarea { box-shadow: inset 0 0 0 2px #ff6b6b; }
.field .err { font-size: 13px; color: #ff8a8a; min-height: 1em; }
fieldset.field { border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chips label { padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14.5px; font-weight: 500; cursor: pointer; transition: all .25s; color: var(--ink-2); }
.chips label:hover { color: var(--ink); }
.chips input:checked + label { background: var(--grad); color: #0b0c14; box-shadow: none; }
.chips input:focus-visible + label { outline: 2px solid var(--a2); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { width: 20px; height: 20px; accent-color: var(--a1); margin-top: 2px; flex: none; }
.form .btn { justify-self: start; }
.form.is-sending .btn { opacity: .6; pointer-events: none; }
.form-msg { font-size: 14.5px; min-height: 1.2em; }
.form-msg.bad { color: #ff8a8a; }
.success { display: none; gap: 14px; }
.success.is-visible { display: grid; }
.success h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.info { display: grid; gap: 14px; }
.info-card { padding: 24px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.info-card h2 { font-size: 1.2rem; margin-bottom: 10px; letter-spacing: -.01em; }
.info-card p, .info-card li { color: var(--ink-2); font-size: 15.5px; }
.info-card a:hover { color: var(--a2); }

/* 12. Footer ------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding-top: clamp(56px, 8vw, 110px); margin-top: clamp(40px, 6vw, 80px); }
.foot-big { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 9vw, 8.4rem); line-height: .9; letter-spacing: -.05em; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; padding-block: 44px; }
.foot-grid h3 { font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.foot-grid li, .foot-grid p { font-size: 15px; color: var(--ink-2); overflow-wrap: anywhere; }
.foot-grid li + li { margin-top: 5px; }
.foot-grid a:hover { color: var(--ink); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 18px 0 30px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }

/* 13. Reveal ------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.reveal-all [data-reveal], .reveal-all .hero h1 .ln > span, .reveal-all .fan .browser { opacity: 1 !important; transform: none !important; }
.reveal[data-split] { opacity: 1; transform: none; }
@view-transition { navigation: auto; }

/* 14. Responsive --------------------------------------------- */
@media (min-width: 540px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .works { grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 3vw, 40px); row-gap: clamp(40px, 6vw, 80px); }
  .works .work:nth-child(even) { transform: translateY(70px); }
  .work .phone { display: block; }
  .services { grid-template-columns: 1fr 1fr; }
  .services .svc.main { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-links { display: flex; }
  .nav-right .btn { display: inline-flex; }
  .burger, .menu { display: none; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 40px; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .services .svc.main { grid-column: span 2; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .honest { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .analysis { grid-template-columns: 1fr 1fr; gap: 64px; }
  .contact { grid-template-columns: 1.5fr 1fr; gap: 40px; }
  .info { position: sticky; top: calc(var(--nav-h) + 24px); }
}

/* 15. Reduced motion — only intrusive bits ------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .glow i { animation: none; }
  .marquee-track { animation-duration: 90s; }
}

/* 16. Promoción de apertura ---------------------------------- */
:root { --promo-h: 40px; }
body { padding-top: var(--promo-h); }
html { scroll-padding-top: calc(var(--nav-h) + var(--promo-h) + 16px); }
.nav { top: var(--promo-h); }
.menu { padding-top: calc(var(--nav-h) + var(--promo-h) + 24px); }
.sub-nav { top: calc(var(--nav-h) + var(--promo-h)); }
.promo-bar { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--promo-h); display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 12px; background: var(--grad); color: #0b0c14; font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; }
.promo-bar > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; }
.promo-bar b { font-weight: 700; }
.promo-bar .promo-pill { background: #0b0c14; color: #fff; }
.promo-go { display: none; font-weight: 700; }
.promo-long { display: none; }
@media (min-width: 720px) { .promo-long, .promo-go { display: inline; } }
.promo-pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--grad); color: #0b0c14; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; flex: none; }
.hero-promo { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(238,240,247,.06); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; color: var(--ink-2); transition: box-shadow .3s; }
.hero-promo:hover { box-shadow: inset 0 0 0 1px var(--a1); }
.hero-promo b { color: var(--ink); }
s { text-decoration-thickness: 1.5px; color: var(--mute); font-weight: 500; }
.promo { display: grid; gap: 30px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: calc(var(--r) * 1.4); background: radial-gradient(ellipse at 0% 0%, rgba(139,123,255,.35), transparent 55%), radial-gradient(ellipse at 100% 100%, rgba(69,209,255,.22), transparent 55%), var(--bg-2); box-shadow: inset 0 0 0 1px rgba(139,123,255,.45); }
.promo h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); margin: 16px 0 14px; max-width: 16ch; }
.promo p { color: var(--ink-2); margin-bottom: 24px; max-width: 48ch; }
.promo p b { color: var(--ink); }
.promo-list { display: grid; }
.promo-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.promo-list li:last-child { border-bottom: 0; }
.promo-list li > span:first-child { color: var(--ink-2); }
.promo-list b { font-family: var(--display); font-size: 1.35rem; margin-left: 8px; }
.off-tag { position: absolute; top: 18px; right: 18px; padding: 4px 10px; border-radius: 999px; background: var(--grad); color: #0b0c14; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.svc .foot b small { font-family: var(--sans); font-size: 12.5px; font-weight: 500; color: var(--mute); }
.svc .foot b s { font-size: .8em; margin: 0 4px; }
.plan .badge.soft { background: var(--bg-3); color: var(--ink); box-shadow: inset 0 0 0 1px var(--a1); }
.plan .price s { display: block; font-size: .42em; margin: 0 0 6px; }
.mini-plan .p s { font-size: .62em; margin-right: 8px; }
@media (min-width: 960px) { .promo { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.hero-promo { white-space: nowrap; }
.hp-long { display: none; }
@media (min-width: 540px) { .hp-long { display: inline; } }
@media (min-width: 720px) { .promo-short { display: none; } }

/* Legales */
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-legal a:hover, .foot-legal a:focus-visible { color: var(--ink); }
.form-legal { font-size: 12.5px; line-height: 1.55; color: var(--mute); }
.form-legal b { color: var(--ink-2); font-weight: 600; }
.legal-head h1 { max-width: none; font-size: clamp(2.6rem, 7vw, 5.6rem); }
.legal-wrap { display: grid; gap: 28px; padding-bottom: clamp(60px, 9vw, 120px); }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; align-self: start; }
.legal-tabs a { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); transition: color .3s, background .3s; }
.legal-tabs a:hover { color: var(--ink); }
.legal-tabs a[aria-current="page"] { background: var(--ink); color: #0b0c14; box-shadow: none; }
.legal { max-width: 74ch; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.legal h2 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); color: var(--ink); letter-spacing: -.02em; margin: 44px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal b { color: var(--ink); font-weight: 600; }
.legal-list { display: grid; gap: 10px; padding-left: 20px; list-style: disc; }
.legal-list li::marker { color: var(--a2); }
.legal-data { display: grid; margin: 16px 0; border-radius: var(--r); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.legal-data li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 12px 18px; color: var(--ink); overflow-wrap: anywhere; }
.legal-data li + li { border-top: 1px solid var(--line); }
.legal-data span { color: var(--mute); font-size: 14px; }
@media (max-width: 520px) { .legal-data li { grid-template-columns: 1fr; gap: 2px; } }
@media (min-width: 960px) {
  .legal-wrap { grid-template-columns: 200px minmax(0, 1fr); gap: 60px; }
  .legal-tabs { flex-direction: column; position: sticky; top: calc(var(--nav-h) + var(--promo-h) + 30px); }
  .legal-tabs a { text-align: left; }
}

/* WhatsApp flotante (solo móvil y tablet) */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 45; display: none; align-items: center; gap: 8px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 700; font-size: 15px; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .55), 0 4px 12px rgba(0, 0, 0, .35); animation: wa-in .6s cubic-bezier(.2, .9, .3, 1.3) 1.2s both; -webkit-tap-highlight-color: transparent; }
.wa-float svg { width: 28px; height: 28px; flex: none; }
.wa-float:active { transform: scale(.95); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: wa-ping 2.4s ease-out 2s 3; pointer-events: none; }
@keyframes wa-in { from { opacity: 0; transform: translateY(20px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes wa-ping { to { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
@media (max-width: 959px) {
  .wa-float { display: inline-flex; }
  .footer { padding-bottom: 80px; }
}
@media (max-width: 400px) {
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
}
