:root {
  --bg: #020617;
  --bg-2: #0b1220;
  --bg-3: #111827;
  --card: rgba(15, 23, 42, 0.92);
  --cyan: #22d3ee;
  --blue: #38bdf8;
  --indigo: #818cf8;
  --text: #f8fafc;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.16);
  --glow: 0 18px 50px rgba(34, 211, 238, 0.16);
  --radius: 1.15rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.boot-msg { text-align: center; padding: 4rem; color: var(--cyan); }
.container { width: min(1140px, calc(100% - 2rem)); margin: 0 auto; }
.section { padding: 5.2rem 0; position: relative; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem;
  font-weight: 700; color: var(--cyan); margin: 0 0 0.8rem;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.12; margin: 0 0 1rem; font-weight: 800;
}
.text-accent {
  background: linear-gradient(90deg, var(--cyan), var(--indigo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-text { color: var(--muted); font-size: 1.05rem; max-width: 56ch; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  border-radius: 999px; padding: 0.9rem 1.3rem; font-weight: 700; border: 1px solid transparent;
  transition: 0.25s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--cyan), #6366f1);
  color: #04101d; box-shadow: var(--glow);
}
.btn--primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn--ghost { border-color: rgba(56,189,248,0.35); color: var(--blue); }
.btn--ghost:hover { background: rgba(56,189,248,0.1); }
.btn--full { width: 100%; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(2,6,23,0.78);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(2,6,23,0.94);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.nav__brand { display: flex; align-items: center; gap: 0.7rem; font-weight: 800; }
.nav__logo { width: 42px; height: 42px; border-radius: 12px; }
.nav__name { font-size: 0.95rem; line-height: 1.1; }
.nav__name small { display: block; color: var(--muted); font-size: 0.68rem; letter-spacing: 0.12em; }
.nav__links { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav__links a { color: var(--muted); font-weight: 600; font-size: 0.92rem; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--indigo));
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--blue); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta {
  background: linear-gradient(135deg, var(--cyan), #6366f1) !important;
  color: #04101d !important; padding: 0.55rem 1rem; border-radius: 999px;
}
.nav__cta::after { display: none !important; }
.nav__toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; }
.nav__toggle span { display: block; height: 2px; background: #fff; margin: 6px 8px; }

.hero {
  position: relative; min-height: 100vh; display: grid; align-items: center;
  padding: 8rem 0 4rem; overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(34,211,238,0.18), transparent 35%),
    radial-gradient(circle at 85% 15%, rgba(99,102,241,0.22), transparent 35%),
    linear-gradient(180deg, #020617, #0b1220 60%, #020617);
}
.hero__orb {
  position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.45;
  animation: floatOrb 8s ease-in-out infinite;
}
.hero__orb--1 { width: 280px; height: 280px; background: #22d3ee; top: 12%; left: 8%; }
.hero__orb--2 { width: 340px; height: 340px; background: #6366f1; top: 30%; right: 5%; animation-delay: -3s; }
@keyframes floatOrb {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
.hero__content { position: relative; z-index: 1; max-width: 760px; }
.hero__title {
  font-size: clamp(2.3rem, 5.5vw, 4.2rem);
  line-height: 1.05; margin: 0 0 1rem; font-weight: 800;
}
.hero__lead { color: var(--muted); font-size: 1.12rem; max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }

.stats { margin-top: -2rem; position: relative; z-index: 2; padding: 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-card, .service-card, .step-card, .progress-item, .cat-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.stat-card { padding: 1.3rem; border-top: 3px solid var(--cyan); }
.stat-card:hover, .service-card:hover, .step-card:hover, .progress-item:hover, .cat-panel:hover {
  transform: translateY(-8px);
  box-shadow: var(--glow);
  border-color: rgba(34,211,238,0.35);
}
.stat-card__value, .stat-card__suffix {
  font-size: 2rem; font-weight: 800; color: var(--cyan);
}
.stat-card__label { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.92rem; }

.categories { display: grid; gap: 1.2rem; margin-top: 2rem; }
.cat-panel { padding: 1.3rem; overflow: hidden; }
.cat-panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem;
}
.cat-panel__head h3 { margin: 0; font-size: 1.25rem; }
.cat-panel__badge {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(34,211,238,0.18), rgba(99,102,241,0.18));
  color: var(--cyan); font-weight: 800; border: 1px solid rgba(34,211,238,0.25);
}
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem;
}
.service-card {
  padding: 1rem;
  display: grid; gap: 0.45rem;
}
.service-card__top {
  display: flex; justify-content: space-between; gap: 0.8rem; align-items: start;
}
.service-card h4 { margin: 0; font-size: 0.98rem; }
.service-card__price {
  color: var(--cyan); font-weight: 800; white-space: nowrap;
}
.service-card__wait { color: var(--muted); font-size: 0.85rem; }
.service-card__btn {
  margin-top: 0.35rem;
  justify-self: start;
  padding: 0.55rem 0.9rem;
  font-size: 0.82rem;
}

.proceso {
  background:
    radial-gradient(circle at 20% 20%, rgba(34,211,238,0.12), transparent 40%),
    linear-gradient(165deg, #020617, #111827 50%, #020617);
}
.proceso__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.step-card { padding: 1.3rem; }
.step-card__num {
  width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cyan), #6366f1); color: #04101d; font-weight: 800; margin-bottom: 0.8rem;
}
.step-card h3 { margin: 0 0 0.4rem; }
.step-card p { margin: 0; color: var(--muted); }

.experience__grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 2rem; align-items: center;
}
.progress-list { display: grid; gap: 1rem; }
.progress-item { padding: 1rem 1.1rem; }
.progress-item__head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.55rem; font-weight: 700; }
.progress-item__head strong { color: var(--cyan); }
.progress-item__bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.progress-item__bar span {
  display: block; height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, #22d3ee, #818cf8, #38bdf8);
  box-shadow: 0 0 16px rgba(34,211,238,0.4);
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.cta-band { padding: 0 0 5rem; }
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  background: linear-gradient(120deg, #0b1220, #1e1b4b 55%, #0e7490);
  border: 1px solid rgba(34,211,238,0.22); border-radius: 1.4rem; padding: 1.6rem 1.8rem;
}
.cta-band__inner h2 { margin: 0 0 0.3rem; }
.cta-band__inner p { margin: 0; color: #cbd5e1; }

.contact-box {
  background: var(--card); border: 1px solid var(--line); border-radius: 1.3rem;
  padding: 1.5rem; box-shadow: var(--glow);
}
.contact-box ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.contact-box li { padding: 0.45rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.contact-box strong { color: #fff; }

.footer {
  background: #01040d; border-top: 1px solid var(--line); padding: 2rem 0; color: var(--muted);
}
.footer__inner { display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; }
.footer__brand { display: flex; gap: 0.8rem; align-items: center; }
.footer__logo { width: 40px; height: 40px; border-radius: 10px; }

.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff; box-shadow: 0 12px 30px rgba(18,140,126,0.4);
  animation: waPulse 2.2s ease-in-out infinite;
}
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
@keyframes waPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

.reveal { opacity: 0; transform: translateY(28px); filter: blur(4px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1), filter 0.75s ease; }
.reveal-up { transform: translateY(36px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: translateY(18px) scale(0.94); }
.reveal.visible { opacity: 1; transform: none; filter: blur(0); }
.title-draw.visible::after {
  content: ""; display: block; width: min(120px, 40%); height: 3px; margin-top: 0.75rem;
  border-radius: 999px; background: linear-gradient(90deg, var(--cyan), transparent);
  animation: drawLine 0.9s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes drawLine { from { width: 0; opacity: 0; } to { width: min(120px, 40%); opacity: 1; } }

@media (max-width: 980px) {
  .stats__grid, .services-grid, .proceso__grid { grid-template-columns: 1fr; }
  .experience__grid { grid-template-columns: 1fr; }
  .nav__toggle { display: block; }
  .nav__links {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: #0b1220; flex-direction: column; padding: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__links.open { display: flex; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .wa-float, .hero__orb { animation: none !important; transition: none !important; transform: none !important; filter: none !important; opacity: 1 !important; }
}
