  :root{
    --navy-950:#0e1428;
    --navy-900:#1f2a4c;
    --navy-850:#25315a;

    --navy-800:#2b3968;
    --navy-700:#37457a;
    --teal-400:#9ee6e0;
    --teal-300:#c3f1ec;
    --teal-500:#5fc3ba;
    --teal-600:#3fa89f;
    --white:#f5f7fc;
    --muted:#aab4d1;
    --muted-2:#7c88ab;
    --danger:#ff8a8a;
    --radius:14px;
    --maxw:1180px;
    --font-display:'Space Grotesk', sans-serif;
    --font-body:'Inter', sans-serif;
    --font-mono:'JetBrains Mono', monospace;
  }

  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--navy-950);
    color:var(--white);
    font-family:var(--font-body);
    line-height:1.6;
    overflow-x:hidden;
  }
  a{color:inherit; text-decoration:none;}
  ul{list-style:none;}
  img{max-width:100%; display:block;}
  button{font-family:inherit; cursor:pointer;}

  ::selection{ background:var(--teal-400); color:var(--navy-950); }

  :focus-visible{
    outline: 2px solid var(--teal-400);
    outline-offset: 3px;
  }

  .wrap{
    max-width:var(--maxw);
    margin:0 auto;
    padding:0 28px;
  }

  .eyebrow{
    font-family:var(--font-mono);
    font-size:0.8rem;
    letter-spacing:0.06em;
    color:var(--teal-400);
    text-transform:lowercase;
    display:inline-flex;
    align-items:center;
    gap:8px;
  }
  .eyebrow::before{
    content:"";
    width:6px; height:6px;
    border-radius:50%;
    background:var(--teal-400);
    box-shadow:0 0 8px var(--teal-400);
  }

  h1,h2,h3,h4{
    font-family:var(--font-display);
    font-weight:600;
    letter-spacing:-0.01em;
    color:var(--white);
  }

  /* ---------- background texture ---------- */
  .bg-grid{
    position:fixed;
    inset:0;
    z-index:0;
    pointer-events:none;
    background-image:
      linear-gradient(rgba(158,230,224,0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(158,230,224,0.05) 1px, transparent 1px);
    background-size:64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 85%);
  }

  /* ---------- header ---------- */
  header{
    position:sticky;
    top:0;
    z-index:100;
    backdrop-filter: blur(14px);
    background:rgba(14,20,40,0.72);
    border-bottom:1px solid rgba(158,230,224,0.12);
  }
  .nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:16px 28px;
  }
  .brand{
    display:flex;
    align-items:center;
    gap:10px;
    font-family:var(--font-display);
    font-weight:700;
    font-size:1.15rem;
    color:var(--white);
  }
  .brand img{ width:34px; height:34px; border-radius:8px; }
  .brand .dual{ color:var(--muted); font-weight:500; }
  .brand .code{ color:var(--teal-400); }

  .nav-links{
    display:flex;
    gap:32px;
    font-size:0.94rem;
    color:var(--muted);
  }
  .nav-links a{ transition:color .2s ease; position:relative; }
  .nav-links a:hover{ color:var(--white); }

  .nav-cta{
    display:flex;
    align-items:center;
    gap:14px;
  }

  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:12px 22px;
    border-radius:10px;
    font-weight:600;
    font-size:0.92rem;
    border:1px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
    white-space:nowrap;
  }
  .btn-primary{
    background:var(--teal-400);
    color:var(--navy-950);
  }
  .btn-primary:hover{
    background:var(--teal-300);
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(158,230,224,0.25);
  }
  .btn-ghost{
    background:transparent;
    color:var(--white);
    border-color:rgba(245,247,252,0.22);
  }
  .btn-ghost:hover{
    border-color:var(--teal-400);
    color:var(--teal-300);
  }
  .btn-sm{ padding:9px 16px; font-size:0.85rem; }
  .btn-wsp{
    background:#25D366;
    color:#08360f;
  }
  .btn-wsp:hover{
    background:#3ee07c;
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(37,211,102,0.28);
  }
  .btn-block{ width:100%; }

  .menu-toggle{
    display:none;
    background:none;
    border:none;
    color:var(--white);
    font-size:1.5rem;
  }

  /* ---------- hero ---------- */
  .hero{
    position:relative;
    z-index:1;
    padding:96px 0 80px;
  }
  .hero-grid{
    display:grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap:56px;
    align-items:center;
  }
  .hero h1{
    font-size:clamp(2.3rem, 4vw, 3.4rem);
    line-height:1.08;
    margin:18px 0 20px;
  }
  .hero h1 .accent{ color:var(--teal-400); }
  .hero p.lead{
    color:var(--muted);
    font-size:1.08rem;
    max-width:52ch;
    margin-bottom:32px;
  }
  .hero-actions{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    margin-bottom:36px;
  }
  .hero-stats{
    display:flex;
    gap:36px;
    flex-wrap:wrap;
  }
  .hero-stat b{
    font-family:var(--font-display);
    font-size:1.5rem;
    display:block;
    color:var(--white);
  }
  .hero-stat span{
    font-size:0.82rem;
    color:var(--muted-2);
  }

  /* terminal signature element */
  .terminal{
    background: linear-gradient(180deg, var(--navy-850), var(--navy-900));
    border:1px solid rgba(158,230,224,0.18);
    border-radius:16px;
    overflow:hidden;
    box-shadow: 0 30px 70px -20px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.02) inset;
  }
  .terminal-bar{
    display:flex;
    align-items:center;
    gap:8px;
    padding:12px 16px;
    background:rgba(255,255,255,0.03);
    border-bottom:1px solid rgba(158,230,224,0.1);
  }
  .terminal-dot{ width:11px; height:11px; border-radius:50%; }
  .terminal-dot.r{ background:#ff5f56; }
  .terminal-dot.y{ background:#ffbd2e; }
  .terminal-dot.g{ background:#27c93f; }
  .terminal-title{
    margin-left:8px;
    font-family:var(--font-mono);
    font-size:0.78rem;
    color:var(--muted-2);
  }
  .terminal-body{
    padding:22px 22px 26px;
    font-family:var(--font-mono);
    font-size:0.88rem;
    min-height:270px;
  }
  .term-line{
    display:flex;
    gap:10px;
    margin-bottom:10px;
    opacity:0;
    transform:translateY(4px);
  }
  .term-line.show{
    animation: termIn .35s ease forwards;
  }
  @keyframes termIn{ to{ opacity:1; transform:translateY(0);} }
  .term-prompt{ color:var(--teal-400); flex-shrink:0; }
  .term-text{ color:var(--muted); }
  .term-text.ok{ color:#7ee787; }
  .term-text.file{ color:var(--white); }
  .cursor{
    display:inline-block;
    width:8px; height:15px;
    background:var(--teal-400);
    margin-left:2px;
    animation: blink 1s step-end infinite;
    vertical-align:middle;
  }
  @keyframes blink{ 50%{ opacity:0; } }
  .term-progress{
    height:6px;
    border-radius:4px;
    background:rgba(255,255,255,0.08);
    margin:14px 0 4px;
    overflow:hidden;
  }
  .term-progress-fill{
    height:100%;
    width:0%;
    background:linear-gradient(90deg, var(--teal-600), var(--teal-400));
    border-radius:4px;
    transition:width 1.8s cubic-bezier(.2,.8,.2,1);
  }

  /* ---------- section shell ---------- */
  section{ position:relative; z-index:1; padding:90px 0; }
  .section-head{
    max-width:640px;
    margin-bottom:52px;
  }
  .section-head h2{
    font-size:clamp(1.8rem, 2.6vw, 2.4rem);
    margin-top:14px;
  }
  .section-head p{
    color:var(--muted);
    margin-top:14px;
    font-size:1.02rem;
  }
  .center{ text-align:center; margin-left:auto; margin-right:auto; }

  /* ---------- planes / servicios ---------- */
  .plans{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:22px;
    align-items:stretch;
  }
  .plan{
    background:var(--navy-900);
    border:1px solid rgba(158,230,224,0.12);
    border-radius:var(--radius);
    padding:30px 26px 28px;
    display:flex;
    flex-direction:column;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  }
  .plan:hover{
    transform:translateY(-6px);
    border-color:rgba(158,230,224,0.35);
    box-shadow:0 24px 50px -20px rgba(0,0,0,0.5);
  }
  .plan.featured{
    background:linear-gradient(180deg, var(--navy-850), var(--navy-900));
    border-color:var(--teal-400);
    position:relative;
  }
  .plan-tag{
    font-family:var(--font-mono);
    font-size:0.75rem;
    color:var(--teal-400);
    background:rgba(158,230,224,0.1);
    border:1px solid rgba(158,230,224,0.25);
    padding:4px 10px;
    border-radius:20px;
    display:inline-block;
    width:fit-content;
    margin-bottom:16px;
  }
  .plan-badge{
    position:absolute;
    top:-13px;
    right:24px;
    background:var(--teal-400);
    color:var(--navy-950);
    font-size:0.72rem;
    font-weight:700;
    padding:5px 12px;
    border-radius:20px;
    font-family:var(--font-mono);
  }
  .plan h3{
    font-size:1.3rem;
    margin-bottom:6px;
  }
  .plan .plan-desc{
    color:var(--muted);
    font-size:0.92rem;
    margin-bottom:20px;
    min-height:44px;
  }
  .plan-price{
    font-family:var(--font-display);
    font-size:2rem;
    color:var(--white);
    margin-bottom:2px;
  }
  .plan-price small{
    font-size:0.85rem;
    color:var(--muted-2);
    font-family:var(--font-body);
    font-weight:400;
  }
  .plan-price-note{
    font-size:0.8rem;
    color:var(--muted-2);
    margin-bottom:22px;
  }
  .plan-features{
    flex:1;
    margin-bottom:24px;
  }
  .plan-features li{
    display:flex;
    align-items:flex-start;
    gap:10px;
    font-size:0.9rem;
    color:var(--muted);
    padding:8px 0;
    border-top:1px solid rgba(255,255,255,0.06);
  }
  .plan-features li:first-child{ border-top:none; }
  .plan-features li svg{ flex-shrink:0; margin-top:2px; }
  .plan-features li.off{ color:var(--muted-2); opacity:0.55; }
  .plan-features li svg.chk{ color:var(--teal-400); }
  .plan-features li.off svg.chk{ color:var(--muted-2); }

  .plans-note{
    margin-top:28px;
    color:var(--muted-2);
    font-size:0.88rem;
    text-align:center;
  }

  /* ---------- por qué / features ---------- */
  .features{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:20px;
  }
  .feature{
    padding:26px 22px;
    border-radius:var(--radius);
    background:var(--navy-900);
    border:1px solid rgba(255,255,255,0.06);
  }
  .feature-icon{
    width:42px; height:42px;
    border-radius:10px;
    background:rgba(158,230,224,0.12);
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:16px;
    color:var(--teal-400);
  }
  .feature h4{
    font-size:1.02rem;
    margin-bottom:8px;
  }
  .feature p{
    color:var(--muted);
    font-size:0.88rem;
  }

  /* ---------- proceso ---------- */
  .process{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:0;
    position:relative;
  }
  .process::before{
    content:"";
    position:absolute;
    top:23px;
    left:6%;
    right:6%;
    height:1px;
    background:repeating-linear-gradient(90deg, rgba(158,230,224,0.35) 0 8px, transparent 8px 16px);
    z-index:0;
  }
  .process-step{
    position:relative;
    z-index:1;
    padding:0 16px;
  }
  .process-num{
    width:46px; height:46px;
    border-radius:50%;
    background:var(--navy-950);
    border:1px solid var(--teal-400);
    color:var(--teal-400);
    display:flex;
    align-items:center;
    justify-content:center;
    font-family:var(--font-mono);
    font-weight:600;
    margin-bottom:18px;
  }
  .process-step h4{ font-size:1rem; margin-bottom:8px; }
  .process-step p{ color:var(--muted); font-size:0.86rem; }

  /* ---------- contacto ---------- */
  .contact-grid{
    display:grid;
    grid-template-columns:0.85fr 1.15fr;
    gap:48px;
    align-items:start;
  }
  .contact-info h2{
    font-size:clamp(1.8rem,2.4vw,2.2rem);
    margin-bottom:16px;
  }
  .contact-info p{ color:var(--muted); margin-bottom:28px; }
  .contact-item{
    display:flex;
    gap:14px;
    align-items:flex-start;
    margin-bottom:20px;
  }
  .contact-item .ic{
    width:38px; height:38px;
    border-radius:9px;
    background:rgba(158,230,224,0.1);
    color:var(--teal-400);
    display:flex; align-items:center; justify-content:center;
    flex-shrink:0;
  }
  .contact-item b{ display:block; font-size:0.92rem; }
  .contact-item span{ color:var(--muted-2); font-size:0.86rem; }

  .form-card{
    background:var(--navy-900);
    border:1px solid rgba(158,230,224,0.14);
    border-radius:var(--radius);
    padding:32px;
  }
  .form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
  }
  .field{ margin-bottom:18px; }
  .field label{
    display:block;
    font-size:0.85rem;
    color:var(--muted);
    margin-bottom:7px;
  }
  .field input,
  .field select,
  .field textarea{
    width:100%;
    background:var(--navy-950);
    border:1px solid rgba(255,255,255,0.12);
    border-radius:9px;
    padding:12px 14px;
    color:var(--white);
    font-family:var(--font-body);
    font-size:0.94rem;
    transition:border-color .18s ease;
  }
  .field textarea{ resize:vertical; min-height:100px; }
  .field input:focus,
  .field select:focus,
  .field textarea:focus{
    border-color:var(--teal-400);
    outline:none;
  }
  .field.error input,
  .field.error select,
  .field.error textarea{
    border-color:var(--danger);
  }
  .field-error{
    color:var(--danger);
    font-size:0.78rem;
    margin-top:6px;
    display:none;
  }
  .field.error .field-error{ display:block; }

  .form-foot{
    display:flex;
    align-items:center;
    gap:14px;
    margin-top:6px;
  }
  .form-note{
    color:var(--muted-2);
    font-size:0.78rem;
  }

  .form-success{
    display:none;
    text-align:center;
    padding:30px 10px;
  }
  .form-success.show{ display:block; }
  .form-success .check{
    width:56px; height:56px;
    border-radius:50%;
    background:rgba(158,230,224,0.15);
    color:var(--teal-400);
    display:flex; align-items:center; justify-content:center;
    margin:0 auto 18px;
  }
  .form-success h3{ margin-bottom:8px; }
  .form-success p{ color:var(--muted); font-size:0.92rem; }

  /* ---------- footer ---------- */
  footer{
    border-top:1px solid rgba(255,255,255,0.08);
    padding:40px 0;
    position:relative; z-index:1;
  }
  .footer-grid{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:16px;
  }
  .footer-brand{
    display:flex; align-items:center; gap:10px;
    font-family:var(--font-display);
    font-weight:600;
  }
  .footer-brand img{ width:26px; height:26px; border-radius:6px; }
  .footer-links{ display:flex; gap:22px; font-size:0.86rem; color:var(--muted-2); }
  .footer-links a:hover{ color:var(--teal-400); }
  .footer-copy{ color:var(--muted-2); font-size:0.8rem; }

  /* ---------- whatsapp float ---------- */
  .wsp-float{
    position:fixed;
    bottom:24px;
    right:24px;
    z-index:200;
    width:60px; height:60px;
    border-radius:50%;
    background:#25D366;
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 10px 30px rgba(37,211,102,0.4);
    animation: floatPulse 2.6s ease-in-out infinite;
    transition:transform .2s ease;
  }
  .wsp-float:hover{ transform:scale(1.08); }
  @keyframes floatPulse{
    0%,100%{ box-shadow:0 10px 30px rgba(37,211,102,0.4); }
    50%{ box-shadow:0 10px 30px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.08); }
  }

  /* ---------- reveal on scroll ---------- */
  .reveal{
    opacity:0;
    transform:translateY(18px);
    transition:opacity .6s ease, transform .6s ease;
  }
  .reveal.visible{ opacity:1; transform:translateY(0); }

  @media (prefers-reduced-motion: reduce){
    *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
  }

  /* ---------- responsive ---------- */
  @media (max-width: 980px){
    .hero-grid{ grid-template-columns:1fr; }
    .plans{ grid-template-columns:1fr; }
    .features{ grid-template-columns:repeat(2,1fr); }
    .process{ grid-template-columns:repeat(2,1fr); gap:32px 0; }
    .process::before{ display:none; }
    .contact-grid{ grid-template-columns:1fr; }
  }
  @media (max-width: 720px){
    .nav-links{ display:none; }
    .menu-toggle{ display:block; }
    .form-row{ grid-template-columns:1fr; }
    .footer-grid{ flex-direction:column; text-align:center; }
  }

.planTres{
  display: none;
}