/* =========================================================
   LeonTech Solutions · Sistema de diseño
   Paleta tomada del logotipo (navy profundo → azul → cian)
   ========================================================= */
:root {
  --navy-950: #020b1f;
  --navy-900: #041633;
  --navy-800: #0a2550;
  --navy-700: #0d3470;
  --blue-600: #1265b4;
  --blue-500: #1e88e5;
  --cyan-400: #29b6f6;
  --cyan-300: #7dd3fc;
  --cyan-100: #e0f4fe;
  --ink: #0b1b33;
  --body: #34465f;
  --muted: #64748b;
  --line: #e3eaf3;
  --bg: #ffffff;
  --bg-soft: #f4f8fc;
  --success: #10b981;
  --danger: #ef4444;
  --wa: #25d366;

  --grad-brand: linear-gradient(135deg, #1265b4 0%, #1e88e5 45%, #29b6f6 100%);
  --grad-text: linear-gradient(100deg, #7dd3fc 0%, #29b6f6 40%, #1e88e5 100%);

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(4, 22, 51, .06), 0 2px 8px rgba(4, 22, 51, .05);
  --shadow: 0 10px 30px -10px rgba(4, 22, 51, .18);
  --shadow-lg: 0 30px 60px -20px rgba(4, 22, 51, .35);
  --glow: 0 0 0 1px rgba(41, 182, 246, .25), 0 10px 40px -8px rgba(41, 182, 246, .45);

  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-500); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; border-radius: 6px; }
[data-lucide], .lucide { width: 1.15em; height: 1.15em; stroke-width: 2; flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.text-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Botones ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px; border: 1px solid transparent;
  background: var(--b-bg); color: var(--b-fg);
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap; position: relative; isolation: isolate;
}
.btn:hover { color: var(--b-fg); transform: translateY(-2px); }
.btn-primary { background: var(--grad-brand); box-shadow: 0 8px 24px -8px rgba(30, 136, 229, .7); }
.btn-primary:hover { box-shadow: 0 14px 32px -8px rgba(41, 182, 246, .8); }
.btn-ghost { --b-bg: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.btn-ghost:hover { --b-bg: rgba(255, 255, 255, .12); }
.btn-outline { --b-bg: transparent; --b-fg: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue-500); --b-fg: var(--blue-600); }
.btn-whatsapp { --b-bg: var(--wa); --b-fg: #04381b; box-shadow: 0 8px 24px -10px rgba(37, 211, 102, .8); }
.btn-sm { padding: .65em 1.15em; font-size: .88rem; }
.btn-lg { padding: 1.05em 1.8em; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .3s, box-shadow .3s, height .3s;
}
.site-header.is-scrolled {
  background: rgba(4, 22, 51, .82); backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px -15px rgba(0, 0, 0, .5);
  height: 66px;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: #fff; box-shadow: 0 0 0 1px rgba(125, 211, 252, .4), 0 6px 20px -6px rgba(41, 182, 246, .7);
  overflow: hidden;
}
.brand-mark img { width: 40px; height: 40px; object-fit: contain; }
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; line-height: 1; display: flex; flex-direction: column; }
.brand-text b { color: var(--cyan-400); font-weight: 800; }
.brand-text small { font-size: .62rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; opacity: .7; margin-top: 4px; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 999px; color: rgba(255, 255, 255, .78);
  font-weight: 500; font-size: .95rem; position: relative;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.main-nav a.is-active { color: #fff; }
.main-nav a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 3px; border-radius: 3px;
  transform: translateX(-50%); background: var(--cyan-400); box-shadow: 0 0 12px var(--cyan-400);
}
.nav-mobile-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .85); font-weight: 600; font-size: .92rem; }
.header-phone:hover { color: var(--cyan-300); }
.header-phone [data-lucide], .header-phone svg { color: var(--cyan-400); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05); border-radius: 12px; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Fondos oscuros ---------- */
.dark {
  background: radial-gradient(1200px 600px at 80% -10%, rgba(30, 136, 229, .35), transparent 60%),
              radial-gradient(900px 500px at -10% 110%, rgba(41, 182, 246, .18), transparent 60%),
              var(--navy-950);
  color: rgba(226, 238, 252, .78);
  position: relative; overflow: hidden;
}
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(125, 211, 252, .07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(125, 211, 252, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}

/* ---------- Hero ---------- */
.hero { padding: calc(var(--header-h) + 72px) 0 110px; min-height: min(100vh, 940px); display: flex; align-items: center; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(41, 182, 246, .1); border: 1px solid rgba(41, 182, 246, .28); color: var(--cyan-300);
  font-size: .85rem; font-weight: 600; margin-bottom: 26px;
}
.eyebrow .pill { background: var(--cyan-400); color: var(--navy-950); border-radius: 999px; padding: 3px 10px; font-size: .74rem; font-weight: 700; }
.eyebrow.light { background: var(--cyan-100); border-color: rgba(30, 136, 229, .2); color: var(--blue-600); padding: 6px 14px; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; margin-bottom: 22px; letter-spacing: -.035em; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 580px; margin-bottom: 34px; color: rgba(226, 238, 252, .8); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .9rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust [data-lucide], .hero-trust svg { color: var(--cyan-400); }

.typed { color: var(--cyan-400); display: inline-block; min-width: 1ch; position: relative; }
.typed::after { content: ""; position: absolute; right: -6px; top: 10%; bottom: 10%; width: 3px; background: var(--cyan-400); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(125, 211, 252, .25); animation: spin 40s linear infinite; }
.orbit.o2 { inset: 12%; border-style: solid; border-color: rgba(41, 182, 246, .15); animation-duration: 28s; animation-direction: reverse; }
.orbit.o3 { inset: 24%; border-color: rgba(41, 182, 246, .3); animation-duration: 18s; }
.orbit::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 16px 4px rgba(41, 182, 246, .7); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-logo {
  position: absolute; inset: 22%; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #fff 0%, #eaf6ff 62%, #cfe9fb 100%);
  box-shadow: 0 0 0 10px rgba(41, 182, 246, .08), 0 0 80px 10px rgba(41, 182, 246, .35), inset 0 -10px 30px rgba(18, 101, 180, .15);
  animation: float 7s ease-in-out infinite;
}
.hero-logo img { width: 82%; height: auto; }
@keyframes float { 50% { transform: translateY(-12px); } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
  background: rgba(10, 37, 80, .62); border: 1px solid rgba(125, 211, 252, .22); backdrop-filter: blur(14px);
  color: #fff; font-size: .85rem; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite;
}
.float-card small { display: block; color: rgba(226, 238, 252, .65); font-size: .74rem; }
.float-card .fc-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--grad-brand); }
.float-card.fc-1 { top: 6%; left: -8%; animation-delay: -1s; }
.float-card.fc-2 { bottom: 14%; right: -10%; animation-delay: -3s; }
.float-card.fc-3 { bottom: -2%; left: 4%; animation-delay: -4.5s; }
.rec { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 0 rgba(239, 68, 68, .7); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.bars i { width: 5px; border-radius: 2px; background: var(--cyan-400); animation: bars 1.4s ease-in-out infinite; }
.bars i:nth-child(1) { height: 40%; } .bars i:nth-child(2) { height: 70%; animation-delay: .2s; } .bars i:nth-child(3) { height: 55%; animation-delay: .4s; } .bars i:nth-child(4) { height: 90%; animation-delay: .6s; }
@keyframes bars { 50% { transform: scaleY(.5); } }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2; color: rgba(226, 238, 252, .5); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-hint::after { content: ""; width: 1px; height: 36px; background: linear-gradient(var(--cyan-400), transparent); animation: drop 2s infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--navy-900); border-block: 1px solid rgba(125, 211, 252, .12); padding: 18px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 14px; color: rgba(226, 238, 252, .72); font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.marquee span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--cyan-400); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: 110px 0; position: relative; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.dark .section-head p { color: rgba(226, 238, 252, .7); }
.kicker { display: inline-block; font-family: var(--font-head); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--blue-500); margin-bottom: 14px; }
.dark .kicker { color: var(--cyan-400); }

/* ---------- Servicios (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card {
  --mx: 50%; --my: 50%;
  position: relative; padding: 30px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; isolation: isolate;
  display: flex; flex-direction: column;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(41, 182, 246, .14), transparent 45%);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(41, 182, 246, .45); }
.svc-card:hover::before { opacity: 1; }
.svc-card.wide { grid-column: span 2; }
.svc-card.feature { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); border-color: transparent; color: rgba(226, 238, 252, .78); }
.svc-card.feature h3 { color: #fff; }
.svc-ico {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--cyan-100); color: var(--blue-600); transition: transform .35s var(--ease), background .35s, color .35s;
}
.svc-ico [data-lucide], .svc-ico svg { width: 26px; height: 26px; }
.svc-card:hover .svc-ico { transform: rotate(-8deg) scale(1.08); background: var(--grad-brand); color: #fff; }
.svc-card.feature .svc-ico { background: rgba(41, 182, 246, .15); color: var(--cyan-300); }
.svc-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.svc-card p { font-size: .95rem; margin-bottom: 18px; }
.svc-card .svc-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; }
.svc-card .svc-link svg { transition: transform .25s; }
.svc-card:hover .svc-link svg { transform: translateX(4px); }
.svc-card.feature .svc-link { color: var(--cyan-300); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.tag-list li { padding: 5px 12px; border-radius: 999px; font-size: .8rem; background: rgba(125, 211, 252, .1); border: 1px solid rgba(125, 211, 252, .2); color: var(--cyan-300); }

/* ---------- Cotizador interactivo ---------- */
.quote-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.quote-panel {
  background: rgba(10, 37, 80, .55); border: 1px solid rgba(125, 211, 252, .18); border-radius: var(--radius-lg);
  padding: 34px; backdrop-filter: blur(10px); box-shadow: var(--shadow-lg);
}
.q-step { margin-bottom: 26px; }
.q-step > label, .q-step > .q-label { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-head); font-weight: 600; margin-bottom: 12px; }
.q-num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; background: var(--grad-brand); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; font-size: .9rem; font-weight: 500;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(125, 211, 252, .22); color: rgba(226, 238, 252, .85);
  transition: all .2s var(--ease); user-select: none;
}
.chip:hover { border-color: var(--cyan-400); color: #fff; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { background: var(--grad-brand); border-color: transparent; color: #fff; box-shadow: 0 6px 20px -6px rgba(41, 182, 246, .7); }
.chip:has(input:focus-visible) { outline: 3px solid var(--cyan-400); outline-offset: 2px; }
.q-preview {
  margin: 4px 0 22px; padding: 16px 18px; border-radius: 14px; background: rgba(2, 11, 31, .55); border: 1px dashed rgba(125, 211, 252, .25);
  font-size: .92rem; color: rgba(226, 238, 252, .85); min-height: 70px;
}
.q-preview b { color: var(--cyan-300); font-weight: 600; }
.q-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.q-actions .btn { flex: 1 1 200px; }
.quote-copy ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.quote-copy li { display: flex; gap: 14px; align-items: flex-start; }
.quote-copy li .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(41, 182, 246, .12); color: var(--cyan-400); flex-shrink: 0; }
.quote-copy li b { color: #fff; display: block; font-family: var(--font-head); }

/* ---------- Estadísticas ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  text-align: center; padding: 34px 18px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.stat-num { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1; margin-bottom: 8px; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { margin: 0; color: var(--muted); font-weight: 500; }

/* ---------- Proceso ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan-400), var(--blue-500), transparent); opacity: .5; }
.step { text-align: center; position: relative; }
.step-ico {
  width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 22px; display: grid; place-items: center; position: relative;
  background: #fff; border: 1px solid var(--line); color: var(--blue-600); box-shadow: var(--shadow);
}
.step-ico [data-lucide], .step-ico svg { width: 28px; height: 28px; }
.step-ico::after {
  counter-increment: step; content: counter(step); position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad-brand); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; font-family: var(--font-head);
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: .94rem; color: var(--muted); }

/* ---------- Nosotros / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media {
  position: relative; border-radius: var(--radius-lg); aspect-ratio: 5/4; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.split-media::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(125, 211, 252, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(125, 211, 252, .08) 1px, transparent 1px); background-size: 40px 40px; }
.split-media .logo-disc { width: 58%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 80px rgba(41, 182, 246, .45); position: relative; }
.split-media .logo-disc img { width: 84%; }
.badge-float { position: absolute; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--ink); font-weight: 600; }
.badge-float [data-lucide], .badge-float svg { color: var(--blue-500); }
.badge-float.b1 { top: 22px; left: 22px; } .badge-float.b2 { bottom: 22px; right: 22px; }
.checklist { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--grad-brand) center/12px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"), var(--grad-brand);
}
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sector { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink); transition: .25s var(--ease); }
.sector:hover { border-color: var(--cyan-400); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.sector [data-lucide], .sector svg { color: var(--blue-500); width: 22px; height: 22px; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { padding: 30px; border-radius: var(--radius-lg); background: rgba(10, 37, 80, .5); border: 1px solid rgba(125, 211, 252, .15); }
.value-card .svc-ico { background: rgba(41, 182, 246, .14); color: var(--cyan-300); }
.value-card p { margin: 0; }

/* ---------- Blog ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; background: linear-gradient(135deg, var(--navy-800), var(--blue-600)); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .9); }
.post-thumb .ph::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(125, 211, 252, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(125, 211, 252, .12) 1px, transparent 1px); background-size: 28px 28px; }
.post-thumb .ph svg { width: 54px; height: 54px; position: relative; opacity: .85; }
.post-badge { position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: rgba(255, 255, 255, .92); color: var(--blue-600); backdrop-filter: blur(6px); z-index: 1; }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.post-meta span { display: inline-flex; align-items: center; gap: 5px; }
.post-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card h3 a:hover { color: var(--blue-600); }
.post-card p { font-size: .94rem; color: var(--muted); margin-bottom: 16px; }
.post-card .read-more { margin-top: auto; font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; color: var(--blue-600); }

.post-featured { display: grid; grid-template-columns: 1.15fr 1fr; margin-bottom: 40px; }
.post-featured .post-thumb { aspect-ratio: auto; min-height: 340px; }
.post-featured .post-body { padding: 40px; justify-content: center; }
.post-featured h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

.blog-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 40px; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-tabs a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--body); font-weight: 500; font-size: .9rem; background: #fff; }
.filter-tabs a:hover { border-color: var(--blue-500); color: var(--blue-600); }
.filter-tabs a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.search-box { position: relative; min-width: 260px; }
.search-box input { width: 100%; padding: 11px 16px 11px 42px; border-radius: 999px; border: 1px solid var(--line); font: inherit; background: #fff; }
.search-box input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(30, 136, 229, .12); }
.search-box svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); color: var(--body); font-weight: 600; }
.pagination .is-current { background: var(--grad-brand); color: #fff; border-color: transparent; }
.empty-state { text-align: center; padding: 70px 20px; border: 1px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }
.empty-state svg { width: 46px; height: 46px; margin: 0 auto 14px; color: var(--blue-500); }

/* ---------- Página de artículo ---------- */
.page-hero { padding: calc(var(--header-h) + 70px) 0 80px; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; max-width: 880px; }
.page-hero p.lead { font-size: 1.15rem; max-width: 680px; color: rgba(226, 238, 252, .75); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; margin-bottom: 20px; color: rgba(226, 238, 252, .6); }
.breadcrumbs a { color: var(--cyan-300); }
.article-hero .post-meta { color: rgba(226, 238, 252, .7); font-size: .92rem; margin-top: 18px; }
.article-cover { margin-top: -50px; position: relative; z-index: 3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 21/9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; padding: 60px 0 100px; }
.prose { font-size: 1.08rem; line-height: 1.8; color: var(--body); }
.prose h2 { font-size: 1.65rem; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.prose img { border-radius: var(--radius); margin: 1.6em auto; height: auto; }
.prose blockquote { margin: 1.8em 0; padding: 22px 26px; border-left: 4px solid var(--cyan-400); background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.12rem; color: var(--ink); font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .5em; }
.prose pre { background: var(--navy-950); color: #e2eefc; padding: 20px; border-radius: var(--radius); overflow-x: auto; font-size: .9rem; }
.prose iframe, .prose .ql-video { width: 100%; aspect-ratio: 16/9; height: auto; border-radius: var(--radius); border: 0; margin: 1.6em 0; }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; } .prose .ql-align-justify { text-align: justify; }
.prose .ql-size-small { font-size: .85em; } .prose .ql-size-large { font-size: 1.4em; } .prose .ql-size-huge { font-size: 2em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); }
.share b { color: var(--ink); margin-right: 6px; }
.share a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--body); }
.share a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.sidebar { display: grid; gap: 24px; align-content: start; position: sticky; top: 100px; }
.side-card { padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.side-card h3 { font-size: 1.05rem; }
.side-card.cta { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: rgba(226, 238, 252, .8); border: 0; }
.side-card.cta h3 { color: #fff; font-size: 1.25rem; }
.side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.side-list a { color: var(--ink); font-weight: 600; font-size: .94rem; line-height: 1.4; display: block; }
.side-list a:hover { color: var(--blue-600); }
.side-list small { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: rgba(41, 182, 246, .5); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--cyan-100); color: var(--blue-600); font-size: 1.3rem; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--grad-brand); color: #fff; }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); color: var(--ink); transition: .3s var(--ease); }
.contact-card:hover { border-color: var(--cyan-400); transform: translateX(6px); box-shadow: var(--shadow-sm); color: var(--ink); }
.contact-card .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; flex-shrink: 0; }
.contact-card .ic.wa { background: var(--wa); color: #04381b; }
.contact-card small { display: block; color: var(--muted); font-size: .82rem; }
.contact-card b { font-family: var(--font-head); font-size: 1.05rem; word-break: break-word; }
.form-card { padding: 38px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(30, 136, 229, .12); }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; display: flex; gap: 10px; align-items: flex-start; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(226, 238, 252, .65); position: relative; overflow: hidden; padding-top: 90px; }
.footer-glow { position: absolute; top: -200px; left: 50%; width: 900px; height: 400px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(30, 136, 229, .35), transparent); pointer-events: none; }
.site-footer .container { position: relative; }
.footer-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
  padding: 44px 48px; border-radius: 28px; margin-bottom: 70px;
  background: linear-gradient(120deg, rgba(18, 101, 180, .45), rgba(41, 182, 246, .2)); border: 1px solid rgba(125, 211, 252, .25);
}
.footer-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 8px; }
.footer-cta p { margin: 0; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer-grid h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: rgba(226, 238, 252, .65); }
.footer-grid a:hover { color: var(--cyan-300); }
.footer-brand p { margin-top: 18px; font-size: .94rem; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact svg { color: var(--cyan-400); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 24px 0 30px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; }
.footer-bottom p { margin: 0; }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; align-items: center; gap: 10px;
  height: 60px; padding: 0 16px; border-radius: 999px; background: var(--wa); color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7); transition: transform .3s var(--ease);
}
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }
.wa-float-label { font-family: var(--font-head); font-weight: 600; font-size: .92rem; }

/* ---------- Animaciones de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; } .reveal[data-delay="2"] { transition-delay: .16s; } .reveal[data-delay="3"] { transition-delay: .24s; } .reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- Servicios detalle ---------- */
.svc-detail { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 34px; padding: 44px 0; border-bottom: 1px solid var(--line); align-items: start; scroll-margin-top: 100px; }
.svc-detail:last-child { border-bottom: 0; }
.svc-detail .svc-ico { width: 72px; height: 72px; border-radius: 22px; background: var(--grad-brand); color: #fff; }
.svc-detail h2 { font-size: 1.6rem; }
.svc-detail .checklist { margin: 0; }

.legal { max-width: 820px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-phone span { display: none; }
}
@media (max-width: 960px) {
  .hero .container, .quote-wrap, .split, .contact-grid, .article-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-bottom: 90px; }
  .hero-visual { max-width: 400px; margin-top: 20px; }
  .float-card.fc-1 { left: -2%; } .float-card.fc-2 { right: -2%; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .process::before { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .post-featured { grid-template-columns: 1fr; }
  .post-featured .post-thumb { min-height: 240px; }
  .values { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .svc-detail { grid-template-columns: 72px 1fr; }
  .svc-detail > :last-child { grid-column: 2; }
  .scroll-hint { display: none; }

  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: var(--navy-900); padding: 96px 24px 30px;
    transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: -20px 0 60px rgba(0, 0, 0, .4);
    display: flex; flex-direction: column; overflow-y: auto;
  }
  .nav-open .main-nav { transform: none; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .main-nav a.is-active { background: rgba(41, 182, 246, .12); }
  .main-nav a.is-active::after { display: none; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: auto; padding-top: 30px; }
  .header-actions { margin-left: auto; position: relative; z-index: 2; }
  .main-nav { z-index: 1; }
  .nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(2, 11, 31, .6); z-index: 99; }
  .nav-open .site-header { z-index: 101; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 76px 0; }
  .bento, .posts-grid, .sectors, .form-grid { grid-template-columns: 1fr; }
  .svc-card.wide { grid-column: auto; }
  .stats { gap: 12px; }
  .stat { padding: 24px 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cta { padding: 30px 24px; }
  .form-card, .quote-panel { padding: 24px 20px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .float-card { font-size: .76rem; padding: 9px 12px; }
  .float-card .fc-ico { width: 30px; height: 30px; }
  .float-card.fc-3 { display: none; }
  .wa-float-label { display: none; }
  .wa-float { width: 58px; height: 58px; padding: 0; justify-content: center; }
  .brand-text { font-size: 1.1rem; }
  .search-box { min-width: 100%; }
  .article-cover { aspect-ratio: 16/10; }
  .svc-detail { grid-template-columns: 1fr; }
  .svc-detail > :last-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.footer-login { display: inline-flex; align-items: center; gap: 5px; color: rgba(226, 238, 252, .65); }
.footer-login:hover { color: var(--cyan-300); }
.footer-login svg { width: 14px; height: 14px; }
