/* AISCOMDS – Ultra premium + Network Canvas (v2: mantiene estructura original en Servicios/Soluciones) */
:root{
  --bg:#ffffff;
  --text:#0b1220;
  --muted:#6b7280;
  --line:#e5e7eb;

  --red:#e11d48;
  --red2:#c2412d;
  --blue:#0077c8;
  --sand:#f6f1ee;

  --shadow: 0 18px 50px rgba(17,24,39,.08);

  --radius: 18px;
  --max: 1140px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:linear-gradient(180deg, var(--bg) 0%, var(--sand) 120%);
}

a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(229,231,235,.7);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  height:72px;
  gap:14px;
}
.brand{display:flex; align-items:center; gap:10px}
.brand__logo{height:28px; width:auto; display:block}
.brand__logo--sm{height:24px}

.nav__links{display:flex; align-items:center; gap:18px}
.nav__links a{font-weight:700; font-size:14px; color:#111827cc}
.nav__links a:hover{color:var(--text)}

.nav__toggle{
  display:none; background:transparent; border:0; padding:10px; cursor:pointer;
}
.nav__toggle span{
  display:block; width:22px; height:2px; background:#111827; margin:5px 0; border-radius:999px;
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:800;
  font-size:14px;
  transition:.2s ease;
  user-select:none;
}
.btn--primary{
  background:linear-gradient(135deg, var(--red), var(--red2));
  color:white;
  box-shadow: 0 14px 30px rgba(225,29,72,.18);
}
.btn--primary:hover{transform:translateY(-1px); filter:saturate(1.02)}
.btn--ghost{
  background:rgba(255,255,255,.7);
  border-color:rgba(17,24,39,.12);
}
.btn--ghost:hover{transform:translateY(-1px); background:rgba(255,255,255,.92)}
.btn--block{width:100%}

/* Hero */
.hero{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.netCanvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
  pointer-events:none;
}
.hero__veil{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 72% 45%, rgba(0,119,200,.08), rgba(0,0,0,0) 60%),
    radial-gradient(820px 520px at 28% 24%, rgba(225,29,72,.07), rgba(0,0,0,0) 60%);
  z-index:1;
  pointer-events:none;
}
.hero__grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:30px;
  padding:64px 0 36px;
  align-items:center;
}
.pill{
  display:inline-flex;
  padding:8px 12px;
  border:1px solid rgba(225,29,72,.18);
  background:rgba(255,255,255,.74);
  border-radius:999px;
  font-weight:800;
  color:#111827cc;
  font-size:12px;
}
h1{
  font-size:46px;
  line-height:1.05;
  margin:14px 0 14px;
  letter-spacing:-.02em;
}
.accent{
  background:linear-gradient(135deg, var(--red), var(--red2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.accentText{
  color: var(--red);
  font-weight:800;
}
.lead{
  color:var(--muted);
  font-size:16px;
  line-height:1.65;
  max-width: 54ch;
}
.hero__cta{display:flex; gap:12px; margin-top:18px; flex-wrap:wrap}
.hero__visual{display:flex; justify-content:center; align-items:center; min-height: 420px}
.hero__divider{
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(225,29,72,.22), transparent);
}

/* Orb (light, premium) */
.orb{position:relative; width:420px; height:420px;}
.orb__core{
  position:absolute; inset:0; margin:auto;
  width: 280px; height: 280px; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 34%),
    radial-gradient(circle at 70% 60%, rgba(225,29,72,.16) 0%, rgba(225,29,72,0) 48%),
    radial-gradient(circle at 40% 80%, rgba(0,119,200,.14) 0%, rgba(0,119,200,0) 46%),
    radial-gradient(circle at 50% 55%, #fff 0%, rgba(246,241,238,.9) 56%, rgba(17,24,39,.06) 100%);
  box-shadow: 0 44px 120px rgba(17,24,39,.12);
  animation: float 6.5s ease-in-out infinite;
}
.orb__ring{
  position:absolute; left:50%; top:50%;
  transform: translate(-50%,-50%);
  border-radius: 999px;
  border:1px dashed rgba(225,29,72,.22);
  opacity:.55;
  animation: spin 18s linear infinite;
}
.orb__ring--1{ width: 340px; height: 340px; }
.orb__ring--2{ width: 420px; height: 420px; opacity:.35; animation-duration: 26s; }
.orb__ring--3{ width: 520px; height: 520px; opacity:.22; animation-duration: 34s; }
.orb__spark{
  position:absolute;
  width:10px; height:10px; border-radius:50%;
  filter: blur(.2px);
  box-shadow: 0 12px 30px rgba(225,29,72,.18);
  background: radial-gradient(circle, rgba(225,29,72,.75), rgba(225,29,72,0));
  animation: spark 4.6s ease-in-out infinite;
}
.orb__spark--a{left:72px; top:110px; animation-delay:.2s}
.orb__spark--b{right:84px; bottom:120px; background: radial-gradient(circle, rgba(0,119,200,.65), rgba(0,119,200,0)); animation-delay:1.4s}

@keyframes spin{to{transform: translate(-50%,-50%) rotate(360deg)}}
@keyframes float{0%,100%{transform: translateY(0)} 50%{transform: translateY(-8px)}}
@keyframes spark{0%,100%{transform: translateY(0); opacity:.65} 50%{transform: translateY(-10px); opacity:1}}

/* Sections */
.section{padding:68px 0}
.section--alt{background: rgba(255,255,255,.58); border-top:1px solid rgba(229,231,235,.8); border-bottom:1px solid rgba(229,231,235,.8)}
.section__head{display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:18px}
.section__head h2{margin:0; font-size:28px; letter-spacing:-.02em}
.section__head p{margin:0; color:var(--muted); max-width: 60ch}
.kicker{font-weight:900; font-size:12px; letter-spacing:.18em; color:rgba(11,18,32,.55); margin-bottom:8px}

/* Cards (original structure) */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.card{
  background:rgba(255,255,255,.88);
  border:1px solid rgba(229,231,235,.9);
  border-radius: var(--radius);
  padding:18px 18px 16px;
  box-shadow: var(--shadow);
}
.card h3{margin:0 0 8px; letter-spacing:-.01em}
.card p{margin:0 0 12px; color:var(--muted); line-height:1.6}
.check{margin:0; padding-left:18px; color:#111827cc}
.check li{margin:8px 0; line-height:1.55}

/* Split (original structure) */
.split{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:start;
}
.lead2{color:var(--muted); line-height:1.7; margin-top:10px}

.bullets{margin-top:18px; display:grid; gap:14px}
.bullet{display:flex; gap:12px; align-items:flex-start}
.bullet__dot{
  width:10px; height:10px; border-radius:50%;
  margin-top:8px;
  background:linear-gradient(135deg, var(--red), var(--red2));
  box-shadow: 0 10px 24px rgba(225,29,72,.16);
}
.bullet h4{margin:0 0 4px}
.bullet p{margin:0; color:var(--muted); line-height:1.55}

.panel{
  background:rgba(255,255,255,.88);
  border:1px solid rgba(229,231,235,.9);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
  position:sticky;
  top:92px;
}
.price{
  display:grid;
  grid-template-columns: auto auto 1fr;
  gap:6px 8px;
  align-items:end;
  margin:12px 0;
}
.price__tag{grid-column:1/-1; color:var(--muted); font-weight:800; font-size:12px}
.price__num{font-weight:900; font-size:18px}
.price__big{font-weight:900; font-size:34px; letter-spacing:-.03em}
.price__note{grid-column:1/-1; color:var(--muted); font-size:12px; font-weight:800}

.muted{color:var(--muted); font-weight:700}
.small{font-size:12px}

/* Nosotros */
.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}
.quote{
  background:rgba(255,255,255,.88);
  border:1px solid rgba(229,231,235,.9);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.quote p{margin:0 0 14px; font-size:18px; line-height:1.5}
.quote__meta{display:flex; gap:10px; align-items:center}
.avatar{
  width:40px; height:40px; border-radius:50%;
  background:linear-gradient(135deg, rgba(225,29,72,.18), rgba(0,119,200,.14));
  border:1px solid rgba(229,231,235,.9);
}
.quote__name{font-weight:900}
.quote__role{color:var(--muted); font-size:12px; font-weight:700}

.metrics{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.metric{
  background:rgba(255,255,255,.88);
  border:1px solid rgba(229,231,235,.9);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
}
.metric__k{font-weight:900; font-size:22px}
.metric__v{color:var(--muted); margin-top:6px; font-weight:700}

/* Contact */
.contact{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
  align-items:start;
}
.form{
  background:rgba(255,255,255,.88);
  border:1px solid rgba(229,231,235,.9);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.form label{display:block; font-weight:900; font-size:13px; margin-bottom:10px}
input, textarea{
  width:100%;
  margin-top:8px;
  padding:12px 12px;
  border-radius: 12px;
  border:1px solid rgba(17,24,39,.14);
  outline:none;
  font:inherit;
  background:rgba(255,255,255,.95);
}
input:focus, textarea:focus{
  border-color: rgba(225,29,72,.45);
  box-shadow: 0 0 0 4px rgba(225,29,72,.10);
}
.form__row{display:grid; grid-template-columns: 1fr 1fr; gap:12px}
.form__actions{display:flex; gap:14px; align-items:center; margin-top:8px; flex-wrap:wrap}

.contact__info .infoCard{
  background:rgba(255,255,255,.88);
  border:1px solid rgba(229,231,235,.9);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.infoLine{display:flex; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px dashed rgba(229,231,235,.9); font-weight:700}
.infoLine:last-child{border-bottom:0}
.infoLine span{color:var(--muted); font-weight:900}
.divider{height:1px; background:rgba(229,231,235,.9); margin:14px 0}

/* Footer */
.footer{
  padding:26px 0 30px;
  border-top:1px solid rgba(229,231,235,.8);
  background:rgba(255,255,255,.84);
}
.footer__grid{display:flex; justify-content:space-between; gap:18px; align-items:center; flex-wrap:wrap}
.footer__links{display:flex; gap:14px; flex-wrap:wrap; color:#111827cc; font-weight:800; font-size:13px}

/* Responsive */
@media (max-width: 960px){
  .hero__grid{grid-template-columns: 1fr; padding-top:44px}
  .hero__visual{min-height: 340px}
  .cards{grid-template-columns: 1fr}
  .split{grid-template-columns: 1fr}
  .grid-2{grid-template-columns: 1fr}
  .contact{grid-template-columns: 1fr}
  .panel{position:relative; top:auto}
}
@media (max-width: 720px){
  h1{font-size:36px}
  .nav__toggle{display:block}
  .nav__links{
    position:fixed;
    right:18px; top:78px;
    background:rgba(255,255,255,.96);
    border:1px solid rgba(229,231,235,.9);
    border-radius: 16px;
    padding:12px;
    box-shadow: var(--shadow);
    display:none;
    flex-direction:column;
    align-items:stretch;
    min-width: 220px;
  }
  .nav__links a{padding:10px 10px}
  .nav__links.is-open{display:flex}
  .form__row{grid-template-columns: 1fr}
  .orb{width: 340px; height: 340px}
  .orb__core{width: 230px; height: 230px}
  .orb__ring--1{width: 280px; height: 280px}
  .orb__ring--2{width: 340px; height: 340px}
  .orb__ring--3{width: 420px; height: 420px}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .orb__core, .orb__ring, .orb__spark{ animation:none !important; }
}
