:root{

--primary: #1FA2D6;
--primary-2: #0B5FAE;

--accent: #1E6FB6;

--gray-1: #4A4A4A;
--gray-2: #B9BDC4;

--bg: #0b0f1a;
--surface: rgba(255,255,255,0.06);

--text: #eaf0ff;
--muted: rgba(234,240,255,0.72);

--radius: 18px;
--shadow: 0 20px 60px rgba(0,0,0,0.35);
--container: 1180px;

}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 700px at 10% -10%, rgba(31,162,214,0.25), transparent 60%),
            radial-gradient(900px 600px at 90% 10%, rgba(11,95,174,0.22), transparent 55%),
            var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 1000;
  transition: 220ms ease;
  background: rgba(11,16,32,0.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 18px 0;
  transition: 220ms ease;
}
.header.shrink .header-inner{
  padding: 10px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  color: var(--text);
}
.brand-logo{
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.35));
}
.brand-text{ display:flex; flex-direction:column; line-height:1.05; }
.brand-name{ font-weight: 800; letter-spacing: 0.6px; }
.brand-sub{ font-size: 12px; color: var(--muted); }

.nav{
  display:flex;
  gap: 18px;
  align-items:center;
}
.nav-link{
  color: var(--muted);
  text-decoration:none;
  font-weight:600;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  transition: 180ms ease;
}
.nav-link:hover{
  color: var(--text);
  background: rgba(255,255,255,0.07);
}
.nav-link.active{
  color: white;
  background: linear-gradient(135deg, rgba(31,162,214,0.35), rgba(11,95,174,0.35));
  border: 1px solid rgba(255,255,255,0.10);
}

/* Mobile nav */
.nav-toggle{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  height: 2px;
  width: 18px;
  background: var(--text);
  margin: 5px auto;
  border-radius: 2px;
  opacity: 0.9;
}

/* Sections */
.section{
  padding: 120px 0;
  scroll-margin-top: 90px;
}
.section-head{
  text-align:center;
  margin-bottom: 44px;
}
.section-head h2{
  margin: 0 0 10px 0;
  font-size: 34px;
  letter-spacing:-0.6px;
}
.section-head p{
  margin: 0;
  color: var(--muted);
}

/* Hero */
.hero{
  padding-top: 130px;
  position: relative;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items:center;
}
.pill{
  display:inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--muted);
  font-size: 13px;
}
.hero h1{
  margin: 16px 0 12px 0;
  font-size: 52px;
  letter-spacing: -1.2px;
  line-height: 1.05;
}
.lead{
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 22px 0;
  max-width: 58ch;
}
.hero-cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration:none;
  transition: 180ms ease;
  border: 1px solid rgba(255,255,255,0.10);
}
.btn-primary{
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 18px 40px rgba(74,163,255,0.18);
}
.btn-primary:hover{ transform: translateY(-1px); filter: brightness(1.05); }
.btn-ghost{
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover{ background: rgba(255,255,255,0.06); transform: translateY(-1px); }
.w-100{ width: 100%; }

.trust{
  display:flex;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.trust-item{
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 12px 14px;
  min-width: 180px;
}
.trust-num{
  font-weight: 900;
  letter-spacing: 0.8px;
}
.trust-text{
  display:block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

/* Hero card / glass */
.hero-card .glass{
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  box-shadow: none;
  overflow:hidden;
  transform: translateZ(0);
}
.glass-top{
  display:flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.dot{
  width: 10px; height:10px;
  border-radius:50%;
  background: rgba(255,255,255,0.18);
}
.glass-body{ padding: 18px 18px 16px 18px; }
.metric{
  display:flex;
  justify-content:space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.metric-label{ color: var(--muted); }
.metric-value{ font-weight: 800; }
.mini-chart{
  height: 90px;
  border-radius: 14px;
  margin: 14px 0 10px 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
}
.mini-note{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* Cards */
.grid{
  display:grid;
  gap: 18px;
}
.cards{
  grid-template-columns: repeat(4, 1fr);
}
.card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 18px 18px 16px 18px;
  transition: 200ms ease;
  box-shadow: 0 14px 40px rgba(0,0,0,0.20);
}
.card:hover{
  transform: translateY(-4px);
  background: rgba(255,255,255,0.08);
}
.icon{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, rgba(31,162,214,0.25), rgba(11,95,174,0.25));
  border: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 12px;
}
.icon svg{
  width: 24px; height: 24px;
  fill: rgba(255,255,255,0.92);
}
.card h3{ margin: 0 0 8px 0; }
.card p{ margin: 0; color: var(--muted); line-height:1.55; }

/* Plans */
.section-muted{
  background: radial-gradient(800px 500px at 50% 0%, rgba(255,255,255,0.05), transparent 60%);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.plans{
  grid-template-columns: repeat(3, 1fr);
}
.plan{
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.22);
}
.plan-top h3{ margin: 0 0 6px 0; }
.plan-desc{ margin: 0 0 14px 0; color: var(--muted); }
.plan-list{
  margin: 0 0 16px 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  line-height: 1.9;
}
.plan-featured{
border-color: rgba(31,162,214,0.35);
background: linear-gradient(180deg, rgba(31,162,214,0.18), rgba(255,255,255,0.06));
}
.badge{
  position:absolute;
  top: 14px; right: 14px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(34,197,94,0.18);
  border: 1px solid rgba(34,197,94,0.30);
  color: #b8ffd0;
}
.note{
  margin-top: 18px;
  text-align:center;
  color: var(--muted);
}


/* About blocks */
.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.panel{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 18px;
}
.panel h3{ margin: 0 0 10px 0; }
.panel p{ margin: 0; color: var(--muted); line-height:1.7; }
.center{ text-align:center; }
.small{ font-size: 13px; }

/* Contact */
.section-dark{
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
}
.contact-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items:start;
}
.form{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 18px;
}
.form label{
  display:block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}
.form input, .form textarea{
  width: 100%;
  margin-top: 8px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.20);
  color: var(--text);
  outline: none;
}
.form input:focus, .form textarea:focus{
  border-color: rgba(74,163,255,0.45);
  box-shadow: 0 0 0 4px rgba(74,163,255,0.12);
}
.contact-card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 18px;
}
.contact-card .divider{
  height: 1px;
  background: rgba(255,255,255,0.10);
  margin: 14px 0;
}
.muted{ color: var(--muted); }


/* Footer */
.footer{
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  background: rgba(0,0,0,0.10);
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* WhatsApp floating */
.wa-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  text-decoration:none;
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  transition: 180ms ease;
}
.wa-float:hover{ transform: translateY(-2px); filter: brightness(1.03); }
.wa-dot{
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.15);
}

/* ====== Scroll animations ====== */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: 600ms cubic-bezier(.2,.8,.2,1);
  will-change: transform, opacity;
}
.reveal.in{
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; scroll-behavior:auto !important; }
  .reveal{ opacity:1; transform:none; }
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr 1fr; }
  .plans{ grid-template-columns: 1fr; }
  .two-col{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .nav-toggle{ display:block; }
  .nav{
    position: absolute;
    top: 64px;
    right: 20px;
    left: 20px;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(11,16,32,0.92);
    border: 1px solid rgba(255,255,255,0.10);
    display: none;
  }
  .nav.open{ display:flex; }
  .cards{ grid-template-columns: 1fr; }
  .hero h1{ font-size: 40px; }
}

/* HERO animated background */

.hero-canvas{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
z-index:-1;
opacity:0.6;
}

/* Light mode */

body.light{

--bg: #f7f9fc;
--text: #1b1f24;
--muted: #5b6472;
--surface: rgba(0,0,0,0.05);

background:
radial-gradient(1200px 700px at 10% -10%, rgba(31,162,214,0.10), transparent 60%),
radial-gradient(900px 600px at 90% 10%, rgba(11,95,174,0.08), transparent 55%),
var(--bg);

}

body.light .header{
background: rgba(255,255,255,0.55);
backdrop-filter: blur(14px);
border-bottom: 1px solid rgba(0,0,0,0.08);
}

body.light .card,
body.light .panel,
body.light .plan,
body.light .form{
background: rgba(255,255,255,0.65);
border:1px solid rgba(0,0,0,0.08);
backdrop-filter: blur(8px);
box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.theme-toggle{
margin-left:10px;
border-radius:10px;
border:1px solid rgba(255,255,255,0.2);
background:rgba(255,255,255,0.08);
color:white;
padding:6px 10px;
cursor:pointer;
font-size:14px;
}

body.light .theme-toggle{
color:#111;
background:#f0f2f5;
}

.hero::after{
content:"";
position:absolute;
inset:0;
background:radial-gradient(circle at 30% 30%, rgba(31,162,214,0.15), transparent 40%),
           radial-gradient(circle at 70% 20%, rgba(11,95,174,0.12), transparent 45%);
z-index:-2;
}

/* Badge fix for light mode */

body.light .badge{
background: rgba(34,197,94,0.15);
border: 1px solid rgba(34,197,94,0.35);
color: #15803d;
}

/* Hero small cards (SLA / TI / Cloud) */

body.light .trust-item{
background: transparent;
border: 1px solid rgba(31,162,214,0.25);
box-shadow: 0 0 0 0.5px rgba(31,162,214,0.10);
}

/* pill label arriba del hero */

body.light .pill{
background: transparent;
border: 1px solid rgba(31,162,214,0.25);
color: #334155;
}

/* botón secundario */

body.light .btn-ghost{
background: transparent;
border: 1px solid rgba(31,162,214,0.25);
color: #1b1f24;
}

body.light .btn-ghost:hover{
background: rgba(31,162,214,0.06);
}

/* hero glass card */

body.light .hero-card .glass{
background: transparent;
border: 1px solid rgba(31,162,214,0.25);
box-shadow: none;
}

/* Contact card fix for light mode */



body.light .contact-card .divider{
background:#e6e9ef;
}

body.light .section-dark{
background:#f7f9fc;
}

.form-status{
  margin: 10px 0 0 0;
  font-size: 13px;
  min-height: 20px;
  color: #7ee2a8;
}
.form-status.is-loading{ color: #9ac8ff; }
.form-status.is-error{ color: #ffb4b4; }
.form-status.is-success{ color: #7ee2a8; }

.hp-field{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
body.light .form-status{
  color: #15803d;
}
body.light .form-status.is-loading{ color: #0b5fae; }
body.light .form-status.is-error{ color: #b42318; }
body.light .form-status.is-success{ color: #15803d; }

/* ====== Light-mode missing overrides ====== */

/* Nav links */
body.light .nav-link{
color: #5b6472;
}
body.light .nav-link:hover{
color: #1b1f24;
background: rgba(0,0,0,0.05);
}
body.light .nav-link.active{
color: #fff;
background: linear-gradient(135deg, var(--primary), var(--primary-2));
border-color: transparent;
}

/* Nav toggle (mobile) */
body.light .nav-toggle{
border: 1px solid rgba(0,0,0,0.12);
background: rgba(0,0,0,0.04);
color: #1b1f24;
}
body.light .nav-toggle span{
background: #1b1f24;
}

/* Mobile nav dropdown */
@media (max-width: 720px){
body.light .nav{
background: rgba(255,255,255,0.88);
border: 1px solid rgba(0,0,0,0.08);
backdrop-filter: blur(14px);
box-shadow: 0 12px 40px rgba(0,0,0,0.10);
}
}

/* Glass card (hero) */
body.light .glass-top{
border-bottom: 1px solid rgba(31,162,214,0.20);
}
body.light .dot{
background: rgba(31,162,214,0.30);
}
body.light .metric{
border-bottom: 1px solid rgba(31,162,214,0.15);
}
body.light .metric-label{
color: #5b6472;
}
body.light .mini-chart{
background: transparent;
border: 1px solid rgba(31,162,214,0.25);
}
body.light .mini-note{
color: #5b6472;
}

/* Icon boxes */
body.light .icon{
background: linear-gradient(135deg, rgba(31,162,214,0.12), rgba(11,95,174,0.12));
border: 1px solid rgba(31,162,214,0.20);
}
body.light .icon svg{
fill: var(--primary);
}

/* Plan featured */
body.light .plan-featured{
border-color: rgba(31,162,214,0.30);
background: linear-gradient(180deg, rgba(31,162,214,0.08), rgba(255,255,255,0.65));
}

/* Footer */
body.light .footer{
border-top: 1px solid rgba(0,0,0,0.08);
background: rgba(0,0,0,0.02);
}

/* Card hover */
body.light .card:hover{
background: rgba(255,255,255,0.85);
}

/* Brand */
body.light .brand-sub{
color: #5b6472;
}

/* Contact card (already exists but ensure consistency) */
body.light .contact-card{
background: rgba(255,255,255,0.65);
border: 1px solid rgba(0,0,0,0.08);
backdrop-filter: blur(8px);
box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

/* Form inputs refinement */
body.light .form input,
body.light .form textarea{
background: rgba(255,255,255,0.8);
border: 1px solid rgba(0,0,0,0.10);
color: #1b1f24;
}
body.light .form input:focus,
body.light .form textarea:focus{
border-color: var(--primary);
box-shadow: 0 0 0 4px rgba(31,162,214,0.12);
}

/* Section muted transparency */
body.light .section-muted{
background: rgba(0,0,0,0.02);
border-top: 1px solid rgba(0,0,0,0.06);
border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Hero ::after for light */
body.light .hero::after{
background: radial-gradient(circle at 30% 30%, rgba(31,162,214,0.08), transparent 40%),
           radial-gradient(circle at 70% 20%, rgba(11,95,174,0.06), transparent 45%);
}