/* ════════════════════════════════════════
   AXIA WEB DEVELOPMENT — styles.css v4
   Navy #0B1226 · Blue #2F4BFF · Lilac #A6B3F0
   Space Grotesk (titulares) + Inter (body)
════════════════════════════════════════ */

/* ── Variables ─────────────────────── */
:root {
  --navy:      #0B1226;
  --navy-2:    #111a38;
  --navy-3:    #18234a;
  --blue:      #2F4BFF;
  --blue-d:    #1c38f0;
  --lilac:     #A6B3F0;
  --lilac-f:   #dce4ff;
  --bg:        #F7F8FC;
  --bg-2:      #edf0f9;
  --white:     #ffffff;
  --ink:       #0B1226;
  --ink-2:     #3c4670;
  --ink-3:     #8b93b0;
  --bdr:       rgba(11,18,38,.09);
  --bdr-i:     rgba(255,255,255,.09);

  --fd:        'Space Grotesk', system-ui, sans-serif;
  --fb:        'Inter', system-ui, sans-serif;
  --ease:      cubic-bezier(.22,1,.36,1);
  --ease-in:   cubic-bezier(.4,0,1,1);

  --nav-h:     68px;
  --max:       1140px;
  --px:        clamp(1.25rem, 5vw, 2.5rem);
}

/* ── Reset ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  color: var(--ink);
  background: var(--navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img   { display: block; max-width: 100%; }
svg   { display: block; flex-shrink: 0; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--px); }

/* ── Scroll progress bar ───────────── */
.progress-bar {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 2px; width: 0;
  background: var(--blue);
  pointer-events: none;
}

/* ── Buttons ────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .82rem 1.65rem; border-radius: 8px;
  font-family: var(--fd); font-size: .88rem; font-weight: 600; line-height: 1;
  white-space: nowrap; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, box-shadow .22s, transform .2s var(--ease);
}
.btn--block  { width: 100%; justify-content: center; }
.btn--lg     { padding: .95rem 2rem; font-size: .95rem; }

.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-d); box-shadow: 0 8px 28px rgba(47,75,255,.35); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.22); }
.btn--ghost:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); transform: translateY(-2px); }

.btn--outline { background: transparent; color: var(--ink); border: 1.5px solid var(--bdr); }
.btn--outline:hover { border-color: var(--ink); background: var(--bg-2); transform: translateY(-2px); }

.btn--white { background: var(--white); color: var(--blue); font-weight: 700; }
.btn--white:hover { background: var(--lilac-f); transform: translateY(-2px); }

.btn--white-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.28); }
.btn--white-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); transform: translateY(-2px); }

/* ── Section base ───────────────────── */
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section--dark  { background: var(--navy); }
.section--light { background: var(--bg); }

.s-eye {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .85rem; display: block;
}
.section--dark .s-eye { color: var(--lilac); }

.s-h2 {
  font-family: var(--fd);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -.025em;
  color: var(--ink);
}
/* Con JS: la máscara se anima; sin JS el título es visible de inmediato */
.js .s-h2 {
  clip-path: inset(0 0 100% 0);
  will-change: clip-path;
}
.s-h2--light { color: var(--white); }

/* El título no usa el fade genérico de .reveal: GSAP lo revela con máscara */
.js .reveal > .s-h2 { opacity: 1; transform: none; }

.s-desc  { font-size: 1.02rem; color: var(--ink-2); line-height: 1.7; margin-top: .85rem; max-width: 52ch; }
.section--dark .s-desc { color: rgba(255,255,255,.65); }

.s-head  { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ── Reveal (IntersectionObserver) ──────
   Con .js: oculto por defecto, visible al hacer scroll.
   Sin .js (fallo de script): visible de inmediato (progressive enhancement).
─────────────────────────────────────── */
.js .reveal > *,
.js .reveal-item {
  opacity: 0; transform: translateY(22px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.js .reveal.vis > *,
.js .reveal-item.vis { opacity: 1; transform: translateY(0); }

/* Stagger hijos de .reveal */
.js .reveal.vis > *:nth-child(1) { transition-delay: 0ms; }
.js .reveal.vis > *:nth-child(2) { transition-delay: 90ms; }
.js .reveal.vis > *:nth-child(3) { transition-delay: 180ms; }
.js .reveal.vis > *:nth-child(4) { transition-delay: 270ms; }

/* Stagger de .reveal-item cuando están en un mismo padre */
.js [data-stagger] .reveal-item:nth-child(1) { transition-delay: 0ms; }
.js [data-stagger] .reveal-item:nth-child(2) { transition-delay: 110ms; }
.js [data-stagger] .reveal-item:nth-child(3) { transition-delay: 220ms; }

@media (prefers-reduced-motion: reduce) {
  /* Eliminar todas las animaciones/transiciones de contenido */
  .js .reveal > *, .js .reveal-item {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .js .s-h2 { clip-path: none !important; }
  /* Barra de progreso: ocultarla (es decorativa) */
  .progress-bar { opacity: 0 !important; pointer-events: none; }
  /* Hero: las animaciones CSS también se eliminan */
  .hero__eyebrow, .hero__h1, .hero__sub, .hero__btns, .hero__stats {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
  .hero__dot { animation: none !important; }
}

/* ════════════════════════════════════════
   NAV
════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
}
.nav.scrolled {
  background: rgba(11,18,38,.93);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 1px 0 rgba(255,255,255,.07);
}
.nav__wrap {
  height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--px);
  display: flex; align-items: center; gap: 1rem;
}

/* Brand: logo-bg + wordmark */
.nav__brand { display: flex; align-items: center; gap: .65rem; }

.nav__logo-bg {
  background: var(--white);
  border-radius: 10px;
  padding: 5px 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav__logo-img { height: 28px; width: auto; display: block; }
.nav__logo-svg { width: 34px; height: 28px; }

.nav__wordmark {
  font-family: var(--fd); font-weight: 700; font-size: 1.15rem;
  color: var(--white); letter-spacing: -.02em;
}

/* CTA nav */
.nav__cta {
  margin-left: auto;
  display: inline-flex; align-items: center;
  padding: .58rem 1.25rem;
  background: var(--blue); color: var(--white);
  border-radius: 8px; font-family: var(--fd); font-size: .86rem; font-weight: 600;
  transition: background .18s, box-shadow .22s, transform .2s var(--ease);
  flex-shrink: 0;
}
.nav__cta:hover { background: var(--blue-d); box-shadow: 0 6px 20px rgba(47,75,255,.35); transform: translateY(-1px); }

/* Burger */
.nav__burger {
  display: none; flex-direction: column; gap: 5px; padding: .5rem;
  margin-left: .5rem;
}
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav dropdown */
.nav__mobile {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(11,18,38,.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--bdr-i);
  padding: 1.5rem var(--px) 2rem;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.nav__mobile.open { opacity: 1; transform: none; pointer-events: all; }
.nav__mobile-cta {
  display: flex; align-items: center; justify-content: center;
  padding: .9rem 1.5rem;
  background: var(--blue); color: var(--white);
  border-radius: 8px; font-family: var(--fd); font-size: 1rem; font-weight: 600;
  transition: background .18s;
}
.nav__mobile-cta:hover { background: var(--blue-d); }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100svh;
  background: var(--navy); overflow: hidden;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
}

/* Cuadrícula de fondo */
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 100% at 0% 50%, black 20%, transparent 100%);
}

/* Tres paneles decorativos (derecha) */
.hero__panels { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero__panel {
  position: absolute; border-radius: 20px; will-change: transform;
}
.hero__panel--navy {
  width: clamp(230px, 28vw, 450px); aspect-ratio: 3/4;
  background: var(--navy-3);
  right: 4%; top: 10%;
  transform: rotate(-7deg);
  box-shadow: 0 40px 100px rgba(0,0,0,.45);
}
.hero__panel--blue {
  width: clamp(210px, 25vw, 410px); aspect-ratio: 3/4;
  background: var(--blue);
  right: 14%; top: 18%;
  transform: rotate(-1.5deg);
  opacity: .9;
  box-shadow: 0 36px 90px rgba(47,75,255,.3);
}
.hero__panel--lilac {
  width: clamp(180px, 21vw, 360px); aspect-ratio: 3/4;
  background: var(--lilac);
  right: 24%; top: 28%;
  transform: rotate(4deg);
  opacity: .4;
  box-shadow: 0 30px 80px rgba(166,179,240,.18);
}

/* Hero content — izquierda */
.hero .container { position: relative; z-index: 2; }
.hero__content {
  max-width: 580px;
  padding-block: clamp(3rem, 8vh, 6.5rem);
}

.hero__eyebrow {
  display: flex; align-items: center; gap: .6rem;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--lilac); margin-bottom: 1.75rem;
  opacity: 0; transform: translateY(14px);
  animation: fadeUp .8s .05s var(--ease) forwards;
}
.hero__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
}

.hero__h1 {
  font-family: var(--fd);
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 700; line-height: 1.04; letter-spacing: -.03em;
  color: var(--white); margin-bottom: 1.5rem;
  opacity: 0; transform: translateY(26px);
  animation: fadeUp .9s .15s var(--ease) forwards;
}
.hero__em {
  font-style: normal;
  background: linear-gradient(125deg, var(--blue) 0%, var(--lilac) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero__sub {
  font-size: clamp(.92rem, 1.4vw, 1.06rem);
  color: rgba(255,255,255,.5); line-height: 1.75;
  margin-bottom: 2.25rem; max-width: 44ch;
  opacity: 0; transform: translateY(22px);
  animation: fadeUp .9s .28s var(--ease) forwards;
}

.hero__btns {
  display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.75rem;
  opacity: 0; transform: translateY(18px);
  animation: fadeUp .8s .4s var(--ease) forwards;
}

/* Stats */
.hero__stats {
  display: flex; align-items: center; gap: 1.4rem;
  opacity: 0; transform: translateY(14px);
  animation: fadeUp .8s .55s var(--ease) forwards;
}
.hero__stat-num {
  display: block; font-family: var(--fd);
  font-size: 1.75rem; font-weight: 700; color: var(--white);
  line-height: 1; margin-bottom: .2rem; font-style: normal;
}
.hero__stat-lbl {
  font-size: .64rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.hero__stat-div { width: 1px; height: 38px; background: rgba(255,255,255,.1); flex-shrink: 0; }

/* ════════════════════════════════════════
   SERVICIOS
════════════════════════════════════════ */
.cards3 {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--white); border-radius: 16px;
  border: 1.5px solid var(--bdr);
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: .9rem;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 50px rgba(11,18,38,.1); border-color: var(--lilac-f); }

.card__icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background .2s;
}
.card__icon--navy  { background: rgba(11,18,38,.06); color: var(--navy); }
.card__icon--blue  { background: rgba(47,75,255,.08); color: var(--blue); }
.card__icon--lilac { background: rgba(166,179,240,.15); color: var(--ink-2); }
.card:hover .card__icon--navy  { background: rgba(11,18,38,.1); }
.card:hover .card__icon--blue  { background: rgba(47,75,255,.14); }
.card:hover .card__icon--lilac { background: rgba(166,179,240,.25); }

.card h3 { font-family: var(--fd); font-size: 1.06rem; font-weight: 600; color: var(--ink); }
.card p  { font-size: .875rem; color: var(--ink-2); line-height: 1.65; }

/* ════════════════════════════════════════
   POR QUÉ AXIA — comparativa
════════════════════════════════════════ */
.compare {
  display: grid; grid-template-columns: 1fr 1.08fr 1fr;
  gap: 1.25rem;
}
.cmp {
  background: var(--navy-2); border-radius: 16px;
  border: 1px solid var(--bdr-i); padding: 2rem 1.75rem;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.cmp:hover { transform: translateY(-4px); }

.cmp__hd { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
.cmp__hd h3 { font-family: var(--fd); font-size: .96rem; font-weight: 600; color: rgba(255,255,255,.65); }
.cmp__badge {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px; font-size: .78rem; font-weight: 700; flex-shrink: 0;
}
.cmp__badge--no   { background: rgba(220,38,38,.12); color: #f87171; }
.cmp__badge--euro { background: rgba(245,158,11,.1); color: #fbbf24; }

.cmp__list { display: flex; flex-direction: column; gap: .8rem; }
.cmp__list li {
  font-size: .86rem; color: rgba(255,255,255,.42); line-height: 1.55;
  padding-left: 1.1rem; position: relative;
}
.cmp__list li::before { content: '–'; position: absolute; left: 0; color: rgba(255,255,255,.2); }

/* Axia column — highlighted */
.cmp--axia {
  background: linear-gradient(155deg, var(--navy-3) 0%, var(--navy) 100%);
  border-color: rgba(47,75,255,.4);
  box-shadow: 0 0 0 1px rgba(47,75,255,.15), 0 24px 60px rgba(0,0,0,.3);
}
.cmp--axia:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(47,75,255,.3), 0 32px 80px rgba(0,0,0,.4); }
.cmp--axia .cmp__hd h3 { color: var(--white); }
.cmp__list--pro li { color: rgba(255,255,255,.75); padding-left: 1.4rem; }
.cmp__list--pro li::before { content: '✓'; color: var(--blue); font-weight: 700; }

/* ════════════════════════════════════════
   QUIÉN SOY
════════════════════════════════════════ */
.quien__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3.5rem 4rem;
  align-items: start;
}
.quien__text {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.quien__text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.62);
  line-height: 1.82;
}
.quien__contact {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 2rem 1.75rem;
}
.quien__contact-label {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--lilac); margin-bottom: 1.5rem; display: block;
}
.quien__contact-items { display: flex; flex-direction: column; gap: 1rem; }
.quien__contact-row {
  display: flex; align-items: center; gap: .85rem;
  color: rgba(255,255,255,.72);
  font-size: .9rem; line-height: 1.4;
  text-decoration: none;
  transition: color .2s;
}
a.quien__contact-row:hover { color: var(--lilac); }
.quien__contact-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: rgba(47,75,255,.14);
  color: var(--blue);
  transition: background .2s;
}
a.quien__contact-row:hover .quien__contact-icon { background: rgba(47,75,255,.24); }

/* ════════════════════════════════════════
   PROCESO
════════════════════════════════════════ */
.steps {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0; align-items: stretch;
}
.step {
  background: var(--white); border-radius: 16px;
  border: 1.5px solid var(--bdr);
  padding: 1.75rem 1.6rem;
  display: flex; flex-direction: column; gap: .8rem;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 16px 50px rgba(11,18,38,.1); }

.step__marker {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  font-family: var(--fd); font-size: .78rem; font-weight: 700; letter-spacing: .05em;
}
.step--navy  .step__marker { background: rgba(11,18,38,.07); color: var(--navy-2); border: 1.5px solid rgba(11,18,38,.1); }
.step--blue  .step__marker { background: rgba(47,75,255,.1); color: var(--blue); }
.step--lilac .step__marker { background: rgba(166,179,240,.18); color: var(--ink-2); }

.step__days { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.step h3 { font-family: var(--fd); font-size: 1rem; font-weight: 600; color: var(--ink); }
.step p  { font-size: .86rem; color: var(--ink-2); line-height: 1.65; }

/* Flecha conectora */
.step__arrow { display: flex; align-items: flex-start; padding-top: 2.8rem; padding-inline: .4rem; width: 64px; }
.step__arrow svg { width: 100%; }

/* ════════════════════════════════════════
   NUESTRO TRABAJO (portfolio sin webs reales)
════════════════════════════════════════ */
.work-cta {
  background: var(--navy);
  padding-block: clamp(5rem, 10vw, 8rem);
  position: relative; overflow: hidden;
}
.work-cta__inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.work-cta__text {
  font-size: 1.05rem; color: rgba(255,255,255,.55); line-height: 1.75;
  max-width: 52ch; margin-block: 1.5rem 2.25rem;
}
.work-cta__also {
  margin-top: 1.25rem; font-size: .82rem; color: rgba(255,255,255,.35);
}
.work-cta__also a { color: var(--lilac); }
.work-cta__also a:hover { text-decoration: underline; }

/* Detalle decorativo: tres paneles pequeños de fondo */
.work-cta__deco { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.wd {
  position: absolute; border-radius: 14px; opacity: .06;
}
.wd--1 { width: 320px; height: 420px; background: var(--blue);   top: -60px; right: -80px; transform: rotate(12deg); }
.wd--2 { width: 260px; height: 350px; background: var(--lilac);  top: 40px;  right: 80px;  transform: rotate(4deg); }
.wd--3 { width: 200px; height: 270px; background: var(--navy-3); top: -20px; left: 60px;   transform: rotate(-8deg); }

/* ════════════════════════════════════════
   PRECIOS
════════════════════════════════════════ */
.prices {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; max-width: 820px; margin-inline: auto;
}

.price-card {
  background: var(--white); border-radius: 20px;
  border: 1.5px solid var(--bdr); padding: 2.25rem 2rem;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.price-card:hover { transform: translateY(-5px); box-shadow: 0 20px 60px rgba(11,18,38,.12); border-color: var(--lilac-f); }

.price-card__name { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .85rem; }

.price-card__amt { display: flex; align-items: baseline; gap: .1rem; margin-bottom: 1.85rem; flex-wrap: wrap; }
.price-card__n { font-family: var(--fd); font-size: 3.2rem; font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -.04em; }
.price-card__c { font-family: var(--fd); font-size: 2rem; font-weight: 700; color: var(--ink); }
.price-card__t { font-size: .82rem; color: var(--ink-3); margin-left: .2rem; }

.price-card__list { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 2rem; flex: 1; }
.price-card__list li {
  font-size: .875rem; color: var(--ink-2); line-height: 1.5;
  padding-left: 1.3rem; position: relative;
}
.price-card__list li::before {
  content: ''; position: absolute; left: 0; top: .35em;
  width: 5px; height: 8px;
  border-right: 1.5px solid var(--blue); border-bottom: 1.5px solid var(--blue);
  transform: rotate(45deg);
}

.price-card__note { text-align: center; margin-top: .9rem; font-size: .73rem; color: var(--ink-2); }

.prices__extra {
  text-align: center; margin-top: 2.25rem;
  font-size: .88rem; color: var(--ink-3); line-height: 1.7;
  max-width: 820px; margin-inline: auto;
}
.prices__extra a { color: var(--blue); font-weight: 600; }
.prices__extra a:hover { text-decoration: underline; }

/* ════════════════════════════════════════
   CTA FINAL
════════════════════════════════════════ */
.cta-final {
  background: var(--blue);
  padding-block: clamp(5rem, 10vw, 8rem);
  position: relative; overflow: hidden;
}
.cta-final::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 75% at 88% 50%, rgba(0,0,0,.16) 0%, transparent 70%),
    radial-gradient(ellipse 35% 55% at 8% 85%, rgba(255,255,255,.06) 0%, transparent 60%);
}
.cta-final__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.cta-final__h2 {
  font-family: var(--fd);
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -.03em;
  color: var(--white); margin-bottom: .9rem;
}
.cta-final__sub {
  font-size: 1.02rem; color: rgba(255,255,255,.68); line-height: 1.7;
  max-width: 44ch; margin-bottom: 2.25rem;
}
.cta-final__btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 1.5rem; }
.cta-final__sub2 { font-size: .76rem; color: rgba(255,255,255,.38); letter-spacing: .04em; }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer { background: #070d1c; border-top: 1px solid rgba(255,255,255,.05); }

.footer__top {
  display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem;
  padding-block: 2.25rem; border-bottom: 1px solid rgba(255,255,255,.05);
}
.footer__brand { display: flex; align-items: center; gap: .65rem; }
.footer__logo-bg {
  background: rgba(255,255,255,.08); border-radius: 8px;
  padding: 4px 6px; display: flex; align-items: center;
}
.footer__logo-img { height: 24px; width: auto; }
.footer__logo-bg svg { width: 30px; height: 24px; }
.footer__name { font-family: var(--fd); font-weight: 700; font-size: .95rem; color: rgba(255,255,255,.6); }

.footer__contact { display: flex; flex-direction: column; gap: .3rem; margin-left: auto; }
.footer__contact a { font-size: .8rem; color: rgba(255,255,255,.35); transition: color .2s; }
.footer__contact a:hover { color: var(--lilac); }

.footer__copy {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  padding-block: 1.4rem;
}
.footer__copy span { font-size: .72rem; color: rgba(255,255,255,.18); }

/* ════════════════════════════════════════
   BOTÓN FLOTANTE WHATSAPP
════════════════════════════════════════ */
.wa-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.38), 0 2px 8px rgba(0,0,0,.18);
  text-decoration: none;
  transition: transform .22s var(--ease), box-shadow .22s;
}
.wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,.5), 0 3px 12px rgba(0,0,0,.2);
}
.wa-btn svg { display: block; flex-shrink: 0; }

/* Tooltip */
.wa-btn::before {
  content: 'Escríbenos por WhatsApp';
  position: absolute;
  right: calc(100% + 14px);
  top: 50%; transform: translateY(-50%);
  background: rgba(11,18,38,.93);
  color: #fff;
  font-family: var(--fb); font-size: .73rem; font-weight: 500;
  white-space: nowrap;
  padding: .45rem .85rem;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0; transition: opacity .18s;
}
.wa-btn::after {
  content: '';
  position: absolute;
  right: calc(100% + 8px);
  top: 50%; transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: rgba(11,18,38,.93);
  pointer-events: none;
  opacity: 0; transition: opacity .18s;
}
.wa-btn:hover::before,
.wa-btn:hover::after { opacity: 1; }

/* ════════════════════════════════════════
   DEMO: WEB CONSTRUYÉNDOSE EN TIEMPO REAL
════════════════════════════════════════ */
.demo .s-head { max-width: 560px; }

.demo__wrap {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
  margin-top: 3rem;
}

/* Badge de estado */
.demo__status {
  position: absolute;
  top: -16px; right: 4px;
  z-index: 10;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .28rem .75rem;
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  font-family: var(--fb); font-size: .68rem; font-weight: 600;
  color: rgba(255,255,255,.6);
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  pointer-events: none;
  user-select: none;
}
.demo__status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #fbbf24; flex-shrink: 0;
  animation: statusPulse 1.5s ease-in-out infinite;
}
.demo__status--done .demo__status-dot {
  background: #22c55e; animation: none;
}
@keyframes statusPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(251,191,36,.55); }
  50%      { box-shadow: 0 0 0 5px rgba(251,191,36,0); }
}

/* Ventana del navegador */
.demo__browser {
  border-radius: 11px; overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.07),
    0 28px 90px rgba(0,0,0,.6),
    0 6px 24px rgba(0,0,0,.3);
}

/* Barra superior (chrome) */
.db-bar {
  background: #dde0e7;
  padding: .5rem .9rem;
  display: flex; align-items: center; gap: .7rem;
  border-bottom: 1px solid #c8ccda;
}
.db-bar__circles { display: flex; gap: .38rem; }
.db-circle { width: 10px; height: 10px; border-radius: 50%; }
.db-circle--red    { background: #ff5f57; }
.db-circle--yellow { background: #febc2e; }
.db-circle--green  { background: #28c840; }
.db-bar__url {
  flex: 1; max-width: 260px; margin-inline: auto;
  background: #fff; border-radius: 5px;
  padding: .2rem .65rem;
  display: flex; align-items: center; gap: .38rem;
  font-family: var(--fb); font-size: .62rem; color: #555;
}
.db-url-dot { width: 5px; height: 5px; border-radius: 50%; background: #22c55e; flex-shrink: 0; }

/* Área de contenido de la web */
.db-content { background: #F7F8FC; will-change: opacity; }

/* ── Nav del mockup ── */
.db-nav {
  background: #fff;
  padding: .6rem 1rem;
  display: flex; align-items: center; gap: .9rem;
  border-bottom: 1px solid #f0f2f8;
  opacity: 0; will-change: opacity, transform;
}
.db-nav__logo  { width: 44px; height: 15px; background: #2F4BFF; border-radius: 4px; flex-shrink: 0; }
.db-nav__links { display: flex; gap: .5rem; flex: 1; }
.db-nav__links span { display: block; height: 7px; background: #E8EBF5; border-radius: 3px; }
.db-nav__links span:nth-child(1) { width: 34px; }
.db-nav__links span:nth-child(2) { width: 42px; }
.db-nav__links span:nth-child(3) { width: 36px; }
.db-nav__cta   { width: 54px; height: 22px; background: #2F4BFF; border-radius: 5px; flex-shrink: 0; }

/* ── Hero del mockup ── */
.db-hero {
  padding: 1.25rem 1rem .9rem;
  display: flex; align-items: flex-start; gap: 1rem;
  background: #F7F8FC;
}
.db-hero__text { flex: 1; display: flex; flex-direction: column; gap: .48rem; }
.db-hero__img  {
  width: 40%; aspect-ratio: 4/3; border-radius: 7px;
  background: linear-gradient(135deg, #A6B3F0 0%, #2F4BFF 100%);
  flex-shrink: 0;
  opacity: 0; will-change: opacity, transform;
}

/* Líneas de texto placeholder */
.db-line {
  border-radius: 4px;
  transform-origin: left center; transform: scaleX(0);
  will-change: transform;
}
.db-line--h   { height: 12px; background: #0B1226; }
.db-line--sm  { height: 8px;  background: #C8CEDF; }
.db-line--xs  { height: 6px;  background: #E8EBF5; }
.db-line--inv { background: rgba(255,255,255,.28); }
.db-line--dim { background: rgba(255,255,255,.13); }
.db-line--full { width: 100%; }
.db-line--w90  { width: 90%; } .db-line--w85  { width: 85%; }
.db-line--w80  { width: 80%; } .db-line--w75  { width: 75%; }
.db-line--w70  { width: 70%; } .db-line--w65  { width: 65%; }
.db-line--w60  { width: 60%; } .db-line--w55  { width: 55%; }
.db-line--w50  { width: 50%; }

/* Botón CTA del mockup */
.db-cta-btn {
  width: 74px; height: 24px;
  background: #2F4BFF; border-radius: 5px;
  margin-top: .28rem;
  opacity: 0; will-change: opacity, transform;
}

/* ── Tarjetas de servicios del mockup ── */
.db-services {
  padding: .65rem 1rem;
  display: grid; grid-template-columns: repeat(3,1fr); gap: .6rem;
  background: #fff;
}
.db-card {
  padding: .6rem; border-radius: 6px;
  border: 1px solid #F0F2F8; background: #fff;
  box-shadow: 0 2px 6px rgba(11,18,38,.04);
  display: flex; flex-direction: column; gap: .32rem;
  opacity: 0; will-change: opacity, transform;
}
.db-card__icon { width: 24px; height: 24px; border-radius: 6px; background: rgba(47,75,255,.1); margin-bottom: .12rem; }

/* ── Sección proceso (bloque oscuro) ── */
.db-process {
  background: #0B1226;
  padding: .8rem 1rem;
  display: grid; grid-template-columns: repeat(3,1fr); gap: .6rem;
}
.db-process__item { display: flex; flex-direction: column; gap: .28rem; opacity: 0; will-change: opacity, transform; }
.db-process__num  { font-family: var(--fd); font-size: .78rem; font-weight: 700; color: #2F4BFF; margin-bottom: .08rem; }

/* ── Footer del mockup ── */
.db-footer {
  background: #070d1c;
  padding: .55rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
  will-change: opacity, transform;
}
.db-footer__logo  { width: 40px; height: 12px; background: rgba(255,255,255,.18); border-radius: 3px; }
.db-footer__links { display: flex; gap: .4rem; }
.db-footer__links span { display: block; width: 24px; height: 6px; background: rgba(255,255,255,.1); border-radius: 3px; }

/* Responsive: simplificar el mockup en pantallas pequeñas */
@media (max-width: 600px) {
  .db-services, .db-process { display: none; }
  .db-hero__img { display: none; }
  .demo__status { font-size: .62rem; padding: .24rem .6rem; }
}

/* ════════════════════════════════════════
   KEYFRAMES
════════════════════════════════════════ */
@keyframes fadeUp  { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse   { 0%,100% { box-shadow: 0 0 0 0 rgba(47,75,255,.5); } 50% { box-shadow: 0 0 0 7px rgba(47,75,255,0); } }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
/* ── Mínimo touch target para botones ── */
.btn { min-height: 44px; }

@media (max-width: 1024px) {
  .cards3      { grid-template-columns: 1fr; }
  .compare     { grid-template-columns: 1fr; }
  .cmp--axia   { order: -1; }
  .steps       { grid-template-columns: 1fr; gap: 1.5rem; }
  .step__arrow { display: none; }
  .prices      { grid-template-columns: 1fr; max-width: 480px; }
  .quien__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  /* Nav mobile */
  .nav__cta    { display: none; }
  .nav__burger { display: flex; }

  /* Hero panels smaller + faded */
  .hero__panel--navy  { right: -15%; top: 45%; width: 75vw; opacity: .15; }
  .hero__panel--blue  { right: -5%;  top: 55%; width: 60vw; opacity: .12; }
  .hero__panel--lilac { display: none; }

  .hero__btns { flex-direction: column; }
  .hero__btns .btn { width: 100%; justify-content: center; }
  .hero__stats { flex-wrap: wrap; gap: 1rem; }
  .hero__stat-num { font-size: 1.45rem; }

  .cta-final__btns { flex-direction: column; align-items: stretch; }
  .cta-final__btns .btn { justify-content: center; }

  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__contact { margin-left: 0; }
  .footer__copy { flex-direction: column; }

  /* Quién soy: columna única en móvil */
  .quien__grid { grid-template-columns: 1fr; }
  .quien__text p { font-size: .96rem; }

  /* WhatsApp btn: más pequeño en móvil */
  .wa-btn { width: 48px; height: 48px; bottom: 20px; right: 20px; }
  .wa-btn svg { width: 26px; height: 26px; }
  /* Oculta tooltip en móvil (sin hover real en táctil) */
  .wa-btn::before, .wa-btn::after { display: none; }
}

@media (max-width: 480px) {
  .hero__h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .s-h2     { font-size: clamp(1.75rem, 7vw, 2.3rem); }
  .price-card__n { font-size: 2.7rem; }
  .quien__contact { padding: 1.5rem 1.25rem; }
}

/* ════════════════════════════════════════
   FORMULARIO DE CONTACTO (#contacto)
════════════════════════════════════════ */
.contact-form {
  width: 100%; max-width: 540px;
  margin: 2.5rem auto 0;
  display: flex; flex-direction: column; gap: 1rem;
  text-align: left;
}
.contact-form__row { display: flex; flex-direction: column; gap: .4rem; }
.contact-form__label {
  font-size: .78rem; font-weight: 600;
  color: rgba(255,255,255,.78); letter-spacing: .02em;
}
.contact-form__input {
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 8px; padding: .75rem 1rem;
  font-family: var(--fb); font-size: .9rem; color: var(--white);
  width: 100%;
  transition: border-color .18s, background .18s;
  -webkit-appearance: none; appearance: none;
}
.contact-form__input::placeholder { color: rgba(255,255,255,.32); }
.contact-form__input:focus {
  outline: none;
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.16);
}
.contact-form__select { cursor: pointer; }
.contact-form__select option { background: var(--navy); color: var(--white); }
.contact-form__textarea { resize: vertical; min-height: 110px; }
.contact-form__check {
  display: flex; align-items: flex-start; gap: .65rem; cursor: pointer;
  font-size: .82rem; color: rgba(255,255,255,.65); line-height: 1.5;
}
.contact-form__check input[type="checkbox"] {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: .15em;
  accent-color: var(--white); cursor: pointer;
}
.contact-form__link { color: rgba(255,255,255,.9); text-decoration: underline; }
.contact-form__link:hover { color: var(--white); }
/* Grid 2 columnas (nombre/empresa, email/teléfono) */
.contact-form__cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
@media (max-width: 600px) {
  .contact-form__cols { grid-template-columns: 1fr; }
}

/* Error inline bajo el campo */
.contact-form__error {
  font-size: .74rem; color: #fca5a5;
  min-height: 1em; display: block; margin-top: .25rem;
}
.contact-form__input--error {
  border-color: rgba(239,68,68,.7) !important;
  background: rgba(239,68,68,.08) !important;
}

/* Feedback de resultado */
.contact-form__ok {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px; padding: 1rem 1.25rem;
  text-align: center; color: var(--white);
  font-size: .92rem; font-weight: 500; line-height: 1.5;
  margin-top: .5rem;
}
.contact-form__ok--error {
  background: rgba(239,68,68,.15); border-color: rgba(239,68,68,.35);
}

/* ════════════════════════════════════════
   WHATSAPP — ocultar cuando #contacto visible (mobile)
════════════════════════════════════════ */
.wa-btn { transition: transform .22s var(--ease), box-shadow .22s, opacity .22s; }
@media (max-width: 768px) {
  .wa-btn.wa-btn--hidden {
    opacity: 0; pointer-events: none; transform: scale(0.8);
  }
}

/* ════════════════════════════════════════
   FOOTER — enlaces legales
════════════════════════════════════════ */
.footer__legal { display: flex; gap: 1.25rem; }
.footer__legal a {
  font-size: .72rem; color: rgba(255,255,255,.28);
  transition: color .2s; white-space: nowrap;
}
.footer__legal a:hover { color: rgba(255,255,255,.55); }
