html, body {
  overflow-x: hidden;
  height: 100%;
}
body{
  overflow-y: auto;           /* sigue existiendo scroll */
  -ms-overflow-style: none;   /* IE/Edge viejo */
  scrollbar-width: none;      /* Firefox */
}

/* Chrome, Edge, Safari */
body::-webkit-scrollbar{
  width: 0;
  height: 0;
}
:root{
  --bg: #0b0f1a;
  --surface: #10182b;
  --text: #eaf0ff;
  --muted: #a9b7d6;
  --brand: #29a8ff;
  --brand2: #6ee7ff;
  --border: rgba(255,255,255,.10);
  --shadow: 0 20px 60px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1100px;
}

@media (prefers-color-scheme: light){
  :root{
    --bg: #f6f8ff;
    --surface: #ffffff;
    --text: #0b1020;
    --muted: #465270;
    --border: rgba(11,16,32,.12);
    --shadow: 0 18px 50px rgba(15,20,35,.10);
  }
}

*{ box-sizing:border-box }
html,body{ height:100% }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% 10%, rgba(41,168,255,.25), transparent 60%),
              radial-gradient(900px 500px at 80% 0%, rgba(110,231,255,.18), transparent 55%),
              var(--bg);
  color: var(--text);
  line-height:1.55;
}

a{ color:inherit; text-decoration:none }
.container{
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 28px);
}

.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: color-mix(in oklab, var(--bg) 75%, transparent);
  border-bottom: 1px solid var(--border);
}

.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px; font-weight:800;
  letter-spacing:.2px;
}
.brand img{
  height: 48px;     /* tamaño real de marca */
  width: auto;
}
.menu{ display:flex; gap:16px; align-items:center; font-weight:600; color:var(--muted) }
.menu a{ padding:8px 10px; border-radius:12px }
.menu a:hover{ background: color-mix(in oklab, var(--surface) 70%, transparent); color:var(--text) }

.hero{
  padding:64px 0 36px;
}
.hero-grid{
  display:grid; gap:22px;
  grid-template-columns: 1.25fr .75fr;
  align-items:stretch;
}
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
}
.card{
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-main{ padding:28px }
.kicker{
  display:inline-flex; gap:10px; align-items:center;
  padding:7px 12px; border-radius:999px;
  border:1px solid var(--border);
  color: var(--muted);
  font-weight:700;
}
.h1{
  margin:14px 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height:1.1;
  letter-spacing:-.8px;
}
.lead{ color:var(--muted); font-size: 1.05rem; max-width: 60ch }
.cta{
  margin-top:18px; display:flex; gap:12px; flex-wrap:wrap
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius: 14px;
  font-weight:800;
  border:1px solid var(--border);
  transition: transform .06s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn.primary{
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #071225;
  border-color: transparent;
}
.btn.ghost{ background: color-mix(in oklab, var(--surface) 70%, transparent); color: var(--text) }

.hero-side{ padding:22px }
.badge{
  padding:12px; border-radius: 16px;
  border:1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 65%, transparent);
  margin-bottom:12px;
}
.badge b{ display:block; margin-bottom:4px }
.badge span{ color: var(--muted) }

.section{ padding:28px 0 }
.grid3{
  display:grid; gap:14px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px){ .grid3{ grid-template-columns: 1fr } }

.item{ padding:18px }
.item h3{ margin:0 0 8px }
.item p{ margin:0; color:var(--muted) }

.footer{
  margin-top:34px;
  border-top:1px solid var(--border);
  color:var(--muted);
  padding:22px 0;
  font-size:.95rem;
}

.form{
  display:grid; gap:12px;
}
.input{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  color: var(--text);
}
.live-fade {
  transition: opacity .6s ease, transform .6s ease;
}

.live-hidden {
  opacity: 0;
  transform: translateY(6px);
}

.live-progress{
  margin-top: 14px;
  height: 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  overflow: hidden;
}

.live-progress span{
  display:block;
  height:100%;
  width:100%;
  transform: scaleX(0);
  transform-origin: left center;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  will-change: transform;
}

.nav-toggle{
  display:none;
  border:1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  color: var(--text);
  border-radius: 14px;
  padding:10px 12px;
  font-weight:800;
}

@media (max-width: 720px){
  .menu{ display:none; }
  .nav-toggle{ display:inline-flex; align-items:center; gap:8px; }
}


/* respeta accesibilidad */
@media (prefers-reduced-motion: reduce){
  .live-fade{ transition: none !important; }
  .live-progress span{ transition: none !important; }
}
.input::placeholder{ color: color-mix(in oklab, var(--muted) 80%, transparent) }
.small{ font-size:.9rem; color: var(--muted) }
.mobile-menu{
  position: absolute;
  right: 18px;
  top: 64px;
  padding: 12px;
  width: min(320px, calc(100vw - 36px));
  gap: 8px;

  /* oculto por defecto */
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;

  display: none; /* desktop: nunca */
}

.mobile-menu a{
  padding: 12px 12px;
  border-radius: 14px;
  color: var(--text);
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  border: 1px solid var(--border);
}

.mobile-menu a:hover{
  background: color-mix(in oklab, var(--surface) 85%, transparent);
}
/* Por defecto: el panel mobile NO existe visualmente en desktop */
.mobile-menu{
  display: none;
}

@media (max-width: 720px){
  .mobile-menu{
    display: grid; /* recién en mobile puede aparecer */
  }
}
@media (max-width: 720px){
  .menu{ display:none; }
  .nav-toggle{ display:inline-flex; align-items:center; gap:8px; }

  .mobile-menu{ display:grid; }
  .mobile-menu.open{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity .15s ease, transform .15s ease;
  }
}
*, *::before, *::after{
  box-sizing: border-box;
}
.card{
  min-width: 0;
}
.hero-grid,
.grid3{
  min-width: 0;
}
.btn.whatsapp{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.icon-whatsapp{
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.about-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 22px;
}

.about-item{
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.about-icon{
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--brand);
  opacity: .95;
}

.about-item h3{
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.about-item p{
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 720px){
  .about-grid{
    grid-template-columns: 1fr;
  }
}
.about .card::after{
  content:"";
  display:block;
  margin-top: 22px;
  height:1px;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in oklab, var(--border) 60%, transparent),
    transparent
  );
  opacity:.6;
}
.services-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 22px;
}

.service-item{
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.service-icon{
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--brand);
  opacity: .95;
}

.service-item h3{
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.service-item p{
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.services .card::after{
  content:"";
  display:block;
  margin-top: 22px;
  height:1px;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in oklab, var(--border) 60%, transparent),
    transparent
  );
  opacity:.6;
}
@media (max-width: 720px){
  .services-grid{
    grid-template-columns: 1fr;
  }
}
.hp{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}
.btn.is-loading{
  opacity: .7;
  cursor: not-allowed;
}

.btn.is-loading::after{
  content: '';
  width: 16px;
  height: 16px;
  margin-left: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5);
  border-top-color: #fff;
  animation: spin .8s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes spin{
  to { transform: rotate(360deg); }
}