:root{
  --bg:#1a1a1a;          /* fondo gris oscuro */
  --panel:#242424;       /* panel gris */
  --panel2:#2e2e2e;      /* panel secundario */
  --text:#e8ecf1;
  --muted:#9ca3af;
  --line:rgba(255,255,255,.10);
  --brand:#2563eb;       /* azul profesional */
  --brand2:#22c55e;      /* verde whatsapp */
  --accent:#f59e0b;      /* mostaza energía */
  --shadow: 0 18px 45px rgba(0,0,0,.35);
  --radius: 18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth; overflow-x:hidden}
body{
  margin:0;
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(37,99,235,.12), transparent 60%),
              radial-gradient(1000px 600px at 80% 0%, rgba(16,185,129,.08), transparent 55%),
              var(--bg);
  color:var(--text);
}

a{color:inherit; text-decoration:none}
.container{width:min(1120px, 92%); margin:0 auto}
h1, h2, h3{font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; letter-spacing:.04em}

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(26,26,26,.80);
  border-bottom: 1px solid var(--line);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand{display:flex; align-items:center; gap:12px}
.brand__mark{
  width:44px; height:44px; display:grid; place-items:center;
  border-radius:14px;
  background: linear-gradient(135deg, rgba(37,99,235,1), rgba(16,185,129,1));
  font-weight:800;
}
.brand__text strong{display:block; line-height:1.05}
.brand__text small{display:block; color:var(--muted); margin-top:2px; font-weight:600}

.nav{display:flex; gap:18px; align-items:center}
.nav a{color:var(--muted); font-weight:600}
.nav a:hover{color:var(--text)}

.topbar__cta{display:flex; align-items:center; gap:6px; flex-shrink:0}
.topbar__cta .btn{font-size:.82rem; padding:10px 12px; white-space:nowrap}
.hamb{
  display:none;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color:var(--text);
  padding:10px 12px;
  border-radius:14px;
  cursor:pointer;
}

/* Mobile menu */
.mobilemenu{
  display:none;
  padding:14px 0 18px;
  border-top:1px solid var(--line);
}
.mobilemenu a{
  display:block;
  padding:10px 0;
  color:var(--muted);
  font-weight:600;
}
.mobilemenu a:hover{color:var(--text)}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  font-weight:700;
  border:1px solid transparent;
  transition: .2s transform, .2s opacity, .2s background, .2s border-color;
  cursor:pointer;
}
.btn:active{transform: translateY(1px)}
.btn--primary{
  background: rgba(37,99,235,1);
  box-shadow: 0 12px 30px rgba(37,99,235,.25);
}
.btn--primary:hover{opacity:.92}
.btn--ghost{
  background: rgba(255,255,255,.04);
  border-color: var(--line);
}
.btn--ghost:hover{background: rgba(255,255,255,.07)}
.btn--wa{
  background: rgba(34,197,94,1);
  box-shadow: 0 12px 30px rgba(34,197,94,.16);
}
.btn--wa:hover{opacity:.92}
.btn--block{width:100%}

/* Hero */
.hero{position:relative; padding:64px 0 22px}
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:28px;
  align-items:stretch;
}
.hero__bg{
  position:absolute; inset:-120px 0 auto 0;
  height:420px;
  background: radial-gradient(700px 260px at 30% 10%, rgba(37,99,235,.30), transparent 65%),
              radial-gradient(640px 260px at 75% 5%, rgba(16,185,129,.15), transparent 60%);
  pointer-events:none;
  filter: blur(0px);
}
.pill{
  display:inline-flex;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  background: rgba(255,255,255,.04);
  font-weight:700;
  margin-bottom:16px;
}
h1{
  font-size: clamp(34px, 4vw, 56px);
  line-height:1.02;
  margin:0 0 14px;
  letter-spacing:-.02em;
}
.grad{
  background: linear-gradient(90deg, rgba(37,99,235,1), rgba(16,185,129,1));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lead{
  margin:0 0 22px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height:1.6;
}
.hero__actions{display:flex; gap:12px; flex-wrap:wrap; margin-bottom:18px}

.trust{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
  margin-top:16px;
}
.trust__item{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: 16px;
  padding:12px 14px;
}
.trust__title{display:block; font-weight:800}
.trust__desc{display:block; color:var(--muted); margin-top:2px}

/* Card */
.card{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card__top{
  display:flex; gap:12px; align-items:center;
  padding:18px;
  border-bottom: 1px solid var(--line);
}
.avatar{
  width:44px; height:44px; border-radius:16px;
  display:grid; place-items:center;
  background: rgba(37,99,235,.20);
  border:1px solid rgba(37,99,235,.35);
  font-weight:900;
}
.card__title{font-weight:900}
.card__subtitle{color:var(--muted); font-weight:600; margin-top:2px}
.card__content{padding:18px}
.stat{
  display:flex; align-items:center; justify-content:space-between;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding:12px 14px;
  border-radius: 16px;
  margin-bottom:14px;
}
.stat__k{color:var(--muted); font-weight:700}
.stat__v{font-weight:900}

.checklist{margin:0 0 14px; padding:0; list-style:none}
.checklist li{
  padding-left:26px;
  margin:10px 0;
  position:relative;
  color: var(--muted);
  font-weight:600;
}
.checklist li::before{
  content:"✓";
  position:absolute; left:0; top:0;
  width:18px; height:18px; display:grid; place-items:center;
  border-radius:6px;
  background: rgba(16,185,129,.18);
  border:1px solid rgba(16,185,129,.32);
  color: rgba(209,250,229,1);
  font-weight:900;
}
.note{color:var(--muted)}

/* Sections */
.section{padding:52px 0}
.section--alt{
  background: rgba(255,255,255,.02);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section__head{margin-bottom:22px}
.section__head h2{
  margin:0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
}
.section__head p{margin:0; color:var(--muted); line-height:1.6}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.grid2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
}
.tile, .callout{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: 18px;
  padding:18px;
}
.tile h3, .callout h3{margin:0 0 8px}
.tile p, .callout p{margin:0; color:var(--muted); line-height:1.65}

/* Steps */
.steps{display:grid; gap:12px}
.step{
  display:flex; gap:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: 18px;
  padding:16px;
}
.step__n{
  width:40px; height:40px;
  border-radius: 16px;
  display:grid; place-items:center;
  background: rgba(37,99,235,.18);
  border:1px solid rgba(37,99,235,.34);
  font-weight:900;
}
.step__b h3{margin:0 0 6px}
.step__b p{margin:0; color:var(--muted); line-height:1.6}

/* Banner */
.banner{
  margin-top:18px;
  border:1px solid rgba(245,158,11,.25);
  background: radial-gradient(800px 220px at 20% 20%, rgba(245,158,11,.12), transparent 60%),
              rgba(255,255,255,.02);
  border-radius: 22px;
  padding:18px;
  display:flex; align-items:center; justify-content:space-between;
  gap:14px;
}
.banner h3{margin:0 0 6px}
.banner p{margin:0; color:var(--muted)}

/* Contact */
.contact{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  align-items:start;
}
.form{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: 18px;
  padding:18px;
}
label{display:block; font-weight:800; margin-bottom:10px}
input, textarea{
  width:100%;
  margin-top:8px;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(26,26,26,.65);
  color: var(--text);
  outline:none;
}
input:focus, textarea:focus{border-color: rgba(37,99,235,.7)}
.row{display:grid; grid-template-columns: 1fr 1fr; gap:12px}
.form__actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:12px}
#copyStatus{display:block; margin-top:10px}

.side__card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: 18px;
  padding:18px;
}
.muted{color:var(--muted)}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace}
.side__line{
  display:flex; gap:10px; align-items:flex-start;
  margin:14px 0;
}
.dot{
  width:12px; height:12px; border-radius:50%;
  margin-top:5px;
  background: rgba(37,99,235,1);
  box-shadow: 0 0 0 6px rgba(37,99,235,.18);
}

/* Footer */
.footer{padding:22px 0 34px}
.footer__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
  color: var(--muted);
}
.footer__sub{margin-top:6px; font-size:.92rem}
.footer__link{color:var(--muted); font-weight:700}
.footer__link:hover{color:var(--text)}

/* Floating WA */
.fab{
  position:fixed;
  right:16px; bottom:16px;
  width:54px; height:54px;
  border-radius: 18px;
  display:grid; place-items:center;
  background: rgba(34,197,94,1);
  color:#06240f;
  font-weight:1000;
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.18);
  z-index:100;
}

/* Images */
.hero__img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius: var(--radius) var(--radius) 0 0;
  display:block;
}
.tile__img{
  width:100%;
  height:160px;
  object-fit:cover;
  border-radius: 12px;
  margin-bottom:14px;
  display:block;
}
.section__img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius: var(--radius);
  margin-bottom:22px;
  display:block;
  border:1px solid var(--line);
}

/* Responsive */
@media (max-width: 920px){
  .nav{display:none}
  .hamb{display:inline-flex}
  .hero__grid{grid-template-columns: 1fr; gap:16px}
  .grid3{grid-template-columns: 1fr}
  .grid2{grid-template-columns: 1fr}
  .contact{grid-template-columns: 1fr}
  .banner{flex-direction:column; align-items:flex-start}
  .fab{display:none}
}