/* =========================================================
   CÓRDOBA SEGURIDAD — Hoja de estilos principal
   Paleta de marca: azul #1284c6 · azul profundo #1a478f · verde #2de9c6
   ========================================================= */
:root {
  --navy: #061428;
  --navy-2: #0a1f45;
  --ink: #0f1f3a;
  --blue: #1284c6;
  --deep: #1a478f;
  --green: #2de9c6;
  --green-d: #14a58a;
  --cyan: #4ab2e8;
  --amber: #ffb84d;
  --red: #ff4d5e;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --line: #e3e9f2;
  --text: #1d2433;
  --muted: #505050;
  --grad: linear-gradient(135deg, var(--blue) 0%, var(--deep) 100%); /* manual: #1284C6 → #1A478F */
  --grad-brand: linear-gradient(120deg, var(--deep) 0%, var(--blue) 55%, var(--green) 130%);
  --grad-cta: linear-gradient(135deg, #1284c6 0%, #2de9c6 100%); /* manual: #1284C6 → #2DE9C6 */
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px -12px rgba(15, 40, 80, .25);
  --shadow-lg: 0 30px 60px -20px rgba(6, 20, 40, .45);
  --container: 1220px;
  --header-h: 78px;
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg);
  line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- Botones ---------- */
.btn {
  --b: var(--grad); display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.6em;
  border-radius: 999px; border: 0; font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  letter-spacing: .01em; background: var(--b); color: #fff; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease; box-shadow: 0 10px 24px -10px rgba(18, 132, 198, .7);
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 1.15em; height: 1.15em; }
.btn-cta { --b: var(--grad-cta); box-shadow: 0 10px 24px -10px rgba(20, 165, 138, .8); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-line { background: transparent; color: var(--deep); box-shadow: inset 0 0 0 1.5px var(--deep); }
.btn-line:hover { background: var(--deep); color: #fff; }
.btn-wa { --b: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 10px 24px -10px rgba(18, 140, 126, .8); }
.btn-sm { padding: .65em 1.2em; font-size: .85rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; font-family: var(--font-head); color: var(--blue); font-size: .92rem; }
.link-arrow svg { width: 1em; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; line-height: 1; }
.brand-mark { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none; background: #fff; box-shadow: 0 0 0 2px #fff; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.86) translateY(19%); }
.brand-text { display: flex; flex-direction: column; font-family: var(--font-head); font-weight: 800; font-style: italic; letter-spacing: -.01em; }
.brand-text b { font-size: 1.08rem; }
.brand-text b + b { font-style: normal; font-weight: 700; }
.brand-text small { font-size: .52rem; font-weight: 500; letter-spacing: .06em; margin-top: 3px; font-style: italic; opacity: .85; }
.brand-text small strong { font-weight: 800; }

/* ---------- Topbar + Header ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.75); font-size: .8rem; position: relative; z-index: 60; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 20px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; }
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h); color: #fff;
  transition: background .35s, box-shadow .35s, color .35s; margin-bottom: calc(var(--header-h) * -1);
}
.site-header.is-scrolled, .header-solid .site-header {
  background: rgba(255,255,255,.92); color: var(--text); backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 6px 30px -12px rgba(10, 30, 60, .25);
}
.header-solid .site-header { margin-bottom: 0; }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a, .main-nav button {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; background: none; border: 0;
  color: inherit; font-family: var(--font-head); font-weight: 600; font-size: .9rem; transition: background .2s;
}
.main-nav a:hover, .main-nav button:hover { background: rgba(127,160,200,.16); }
.main-nav a[aria-current="page"] { color: var(--green); }
.has-sub { position: relative; }
.has-sub button svg { width: 12px; transition: transform .25s; }
.sub {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px); width: 560px;
  background: #fff; color: var(--text); border-radius: 20px; padding: 14px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; opacity: 0; visibility: hidden; transition: .25s;
}
.sub::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-sub:hover .sub, .has-sub.open .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-sub:hover button svg, .has-sub.open button svg { transform: rotate(180deg); }
.sub a { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 14px; white-space: normal; }
.sub a:hover { background: var(--bg); }
.sub .ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.sub .ico svg { width: 22px; height: 22px; }
.sub strong { display: block; font-size: .92rem; }
.sub span { display: block; font-family: var(--font-body); font-weight: 400; font-size: .8rem; color: var(--muted); line-height: 1.35; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(127,160,200,.18); color: inherit; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; content: ''; transition: .3s;
}
.nav-toggle span { top: 21px; } .nav-toggle span::before { top: -7px; left: 0; right: 0; } .nav-toggle span::after { top: 7px; left: 0; right: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Secciones genéricas ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-dark { background: var(--navy); color: #fff; }
.section-dark .lead, .section-dark p { color: rgba(255,255,255,.75); }
.section-white { background: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .16em; color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--green)); border-radius: 2px; }
.section-dark .eyebrow, .on-dark .eyebrow { color: var(--cyan); }
.h1 { font-size: clamp(2.3rem, 5.4vw, 4.3rem); font-weight: 800; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; }
.h3 { font-size: 1.25rem; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.grad-text { background: linear-gradient(90deg, var(--cyan), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-d { background: linear-gradient(90deg, var(--blue), var(--green-d)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head.center .eyebrow::after { content: ''; width: 28px; height: 2px; background: linear-gradient(90deg, var(--green), var(--blue)); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

canvas.fx { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.noise::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   DISEÑO 1 — Slider "Centro de Comando"
   ========================================================= */
.hero1 { position: relative; height: max(720px, 100svh); min-height: 640px; background: var(--navy); color: #fff; overflow: hidden; }
.hero1 .slider-viewport { position: absolute; inset: 0; }
.hero1 .slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.hero1 .slide.is-active { opacity: 1; visibility: visible; }
.hero1 .slide-inner {
  position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px;
  padding-top: calc(var(--header-h) + 20px); padding-bottom: 130px;
}
.hero1 .copy > * { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.hero1 .slide.is-active .copy > * { opacity: 1; transform: none; }
.hero1 .slide.is-active .copy > :nth-child(2) { transition-delay: .12s; }
.hero1 .slide.is-active .copy > :nth-child(3) { transition-delay: .24s; }
.hero1 .slide.is-active .copy > :nth-child(4) { transition-delay: .36s; }
.hero1 .slide.is-active .copy > :nth-child(5) { transition-delay: .48s; }
.hero1 .visual { position: relative; height: 100%; max-height: 560px; display: grid; place-items: center; opacity: 0; transform: scale(.94) translateX(30px); transition: 1.1s cubic-bezier(.2,.7,.2,1) .2s; }
.hero1 .slide.is-active .visual { opacity: 1; transform: none; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); backdrop-filter: blur(8px);
  font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .04em; margin-bottom: 22px;
}
.kicker i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-cta); font-style: normal; }
.kicker i svg { width: 14px; height: 14px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255,77,94,.6); animation: live 1.6s infinite; display: inline-block; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(255,77,94,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,94,0); } }
.hero1 h1, .hero1 .h1 { margin-bottom: 20px; }
.hero1 .lead { color: rgba(255,255,255,.8); margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-bullets { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; font-size: .9rem; color: rgba(255,255,255,.8); }
.hero-bullets li { display: inline-flex; align-items: center; gap: 8px; }
.hero-bullets svg { width: 18px; height: 18px; color: var(--green); }

.slider-tabs {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(0deg, rgba(3,10,22,.85), rgba(3,10,22,.35)); backdrop-filter: blur(10px);
}
.slider-tabs .container { display: grid; grid-template-columns: repeat(5, 1fr); }
.slider-tabs button {
  position: relative; background: none; border: 0; color: rgba(255,255,255,.55); text-align: left; padding: 22px 18px 24px;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem; display: flex; gap: 12px; align-items: center; transition: color .3s;
}
.slider-tabs button + button { border-left: 1px solid rgba(255,255,255,.08); }
.slider-tabs button small { display: block; font-weight: 500; font-size: .72rem; opacity: .7; letter-spacing: .08em; }
.slider-tabs button svg { width: 26px; height: 26px; flex: none; }
.slider-tabs button.is-active, .slider-tabs button:hover { color: #fff; }
.slider-tabs button::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: rgba(255,255,255,.08); }
.slider-tabs button::after {
  content: ''; position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: linear-gradient(90deg, var(--cyan), var(--green));
}
.slider-tabs button.is-active::after { width: 100%; }
.slider-tabs button.run::after { width: 0; animation: prog var(--delay, 7s) linear forwards; }
.slider-tabs button.paused::after { animation-play-state: paused; }
@keyframes prog { to { width: 100%; } }
.slider-arrows { position: absolute; z-index: 6; right: 24px; top: 50%; display: flex; flex-direction: column; gap: 10px; transform: translateY(-50%); }
.slider-arrows button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); transition: .25s; }
.slider-arrows button:hover { background: #fff; color: var(--navy); }
.slider-arrows svg { width: 18px; }
.scroll-hint { position: absolute; z-index: 5; left: 50%; bottom: 96px; width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255,255,255,.4); transform: translateX(-50%); display: none; }

/* ---------- Visuales de los banners ---------- */
/* Tótem */
.totem-vis { position: relative; width: min(330px, 70%); aspect-ratio: 330/560; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); animation: float 7s ease-in-out infinite; }
.totem-vis .body {
  position: absolute; inset: 0; border-radius: 26px 26px 10px 10px; background: linear-gradient(160deg, #1d2b42, #0b1424 60%, #050a14);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.12), inset 8px 0 20px rgba(255,255,255,.05);
}
.totem-vis .cam { position: absolute; top: 3.5%; left: 50%; width: 22%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3c5f8f, #0b1424 55%, #000 70%); box-shadow: 0 0 0 4px #0e1a2e, 0 0 0 5px rgba(255,255,255,.1); }
.totem-vis .cam::after { content: ''; position: absolute; inset: 36%; border-radius: 50%; background: radial-gradient(circle, var(--cyan), #0a3a6a); box-shadow: 0 0 18px var(--cyan); animation: blink 3s infinite; }
@keyframes blink { 0%, 90%, 100% { opacity: 1; } 95% { opacity: .3; } }
.totem-vis .screen { position: absolute; top: 15%; left: 9%; right: 9%; height: 52%; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 0 0 3px #04080f, 0 0 40px rgba(74,178,232,.25); }
.totem-vis .screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: saturate(1.2) contrast(1.05); }
.totem-vis .screen::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 3px), linear-gradient(180deg, transparent 60%, rgba(6,20,40,.7)); }
.totem-vis .screen .tag { position: absolute; z-index: 2; left: 8px; top: 8px; display: flex; align-items: center; gap: 6px; font: 700 .62rem var(--font-head); background: rgba(0,0,0,.55); padding: 4px 8px; border-radius: 6px; letter-spacing: .06em; }
.totem-vis .screen .talk { position: absolute; z-index: 2; left: 8px; right: 8px; bottom: 8px; display: flex; gap: 3px; align-items: flex-end; height: 22px; }
.totem-vis .screen .talk span { flex: 1; background: var(--green); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.totem-vis .screen .talk span:nth-child(2n) { animation-delay: -.3s; } .totem-vis .screen .talk span:nth-child(3n) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 20%; } 50% { height: 100%; } }
.totem-vis .grill { position: absolute; left: 30%; right: 30%; top: 71%; height: 7%; background: radial-gradient(circle, rgba(255,255,255,.25) 1.2px, transparent 1.6px) 0 0/8px 8px; border-radius: 6px; }
.totem-vis .btnsos { position: absolute; left: 50%; top: 81%; transform: translateX(-50%); width: 18%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #ff7a86, #c3142a); box-shadow: 0 0 0 4px #0e1a2e, 0 0 24px rgba(255,77,94,.6); font: 800 .6rem var(--font-head); display: grid; place-items: center; }
.totem-vis .led { position: absolute; top: 8%; bottom: 8%; right: -2px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, transparent, var(--cyan), transparent); background-size: 100% 200%; animation: ledrun 3s linear infinite; box-shadow: 0 0 14px var(--cyan); }
@keyframes ledrun { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
.totem-vis .base { position: absolute; left: -12%; right: -12%; bottom: -6%; height: 10%; border-radius: 50%; background: radial-gradient(ellipse, rgba(74,178,232,.35), transparent 70%); filter: blur(6px); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.chip-float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; color: #fff;
  background: rgba(10, 30, 60, .55); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 20px 40px -20px rgba(0,0,0,.7);
  font-size: .8rem; line-height: 1.25; animation: float 6s ease-in-out infinite; white-space: nowrap;
}
.chip-float b { display: block; font-family: var(--font-head); font-size: .88rem; }
.chip-float .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-cta); flex: none; }
.chip-float .ic.blue { background: var(--grad); } .chip-float .ic.red { background: linear-gradient(135deg, #ff7a86, #c3142a); } .chip-float .ic.amber { background: linear-gradient(135deg, #ffd27a, #e98a16); }
.chip-float .ic svg { width: 18px; height: 18px; }

/* Hub Ajax */
.hub-vis { position: relative; width: min(460px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
.hub-vis .ring { position: absolute; inset: 18%; border-radius: 50%; border: 1.5px solid rgba(45,233,198,.5); animation: ring 3s ease-out infinite; }
.hub-vis .ring:nth-child(2) { animation-delay: 1s; } .hub-vis .ring:nth-child(3) { animation-delay: 2s; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.45); opacity: 0; } }
.hub-device {
  position: relative; width: 44%; aspect-ratio: 1; border-radius: 22%; background: linear-gradient(150deg, #ffffff, #dfe6ef);
  box-shadow: 0 40px 60px -20px rgba(0,0,0,.7), inset 0 -6px 14px rgba(0,0,0,.08), inset 0 2px 0 #fff; display: grid; place-items: center;
  animation: float 7s ease-in-out infinite;
}
.hub-device::before { content: ''; position: absolute; inset: 9%; border-radius: 18%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.hub-device .logo-dot { width: 26%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.hub-device .logo-dot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.86) translateY(19%); }
.hub-device .led2 { position: absolute; bottom: 16%; width: 10%; height: 3%; border-radius: 4px; background: var(--green); box-shadow: 0 0 12px var(--green); animation: blink 2s infinite; }
.sensor { position: absolute; border-radius: 14px; background: linear-gradient(150deg, #fff, #dde4ee); box-shadow: 0 20px 30px -14px rgba(0,0,0,.7); }
.sensor.s1 { width: 16%; height: 24%; left: 2%; top: 14%; animation: float 6s ease-in-out infinite -1s; }
.sensor.s1::after { content: ''; position: absolute; left: 25%; right: 25%; top: 16%; height: 30%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #444, #111); }
.sensor.s2 { width: 22%; height: 10%; right: 0; top: 22%; animation: float 5s ease-in-out infinite -2s; }
.sensor.s2::after { content: ''; position: absolute; right: 12%; top: 38%; width: 8%; aspect-ratio: 1; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.sensor.s3 { width: 13%; aspect-ratio: 1; height: auto; left: 12%; bottom: 8%; border-radius: 50%; animation: float 8s ease-in-out infinite -3s; }
.sensor.s3::after { content: ''; position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(circle, #ff7a86, #c3142a); }

/* Dashboard monitoreo */
.dash {
  position: relative; width: min(560px, 100%); border-radius: 22px; padding: 14px; background: rgba(6, 18, 38, .72);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), var(--shadow-lg); backdrop-filter: blur(14px);
  transform: perspective(1200px) rotateY(-10deg) rotateX(4deg); animation: float 8s ease-in-out infinite;
}
.dash-top { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 12px; font: 700 .75rem var(--font-head); letter-spacing: .06em; color: rgba(255,255,255,.8); }
.dash-top span { display: inline-flex; align-items: center; gap: 8px; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.feed { position: relative; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; background: #000; }
.feed img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.85); }
.feed::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 3px); }
.feed .lbl { position: absolute; z-index: 2; left: 6px; top: 6px; font: 700 .58rem var(--font-head); background: rgba(0,0,0,.6); padding: 2px 6px; border-radius: 4px; }
.bbox { position: absolute; z-index: 2; border: 1.5px solid var(--cyan); border-radius: 3px; animation: track 6s ease-in-out infinite alternate; }
.bbox::before { content: attr(data-l); position: absolute; left: -1.5px; top: -16px; font: 700 .5rem var(--font-head); background: var(--cyan); color: #00172e; padding: 1px 4px; border-radius: 3px 3px 0 0; white-space: nowrap; }
.bbox.g { border-color: var(--green); } .bbox.g::before { background: var(--green); }
.bbox.r { border-color: var(--red); animation-name: track, alarm; animation-duration: 6s, 1s; animation-iteration-count: infinite; } .bbox.r::before { background: var(--red); color: #fff; }
@keyframes track { from { transform: translateX(0); } to { transform: translateX(28px); } }
@keyframes alarm { 50% { box-shadow: 0 0 0 4px rgba(255,77,94,.35); } }
.events { margin-top: 10px; display: grid; gap: 6px; }
.events li { list-style: none; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.05); font-size: .72rem; color: rgba(255,255,255,.85); }
.events { padding: 0; margin-bottom: 0; }
.events li b { font-family: var(--font-head); }
.events li time { margin-left: auto; opacity: .55; }
.events .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.events .dot.r { background: var(--red); } .events .dot.c { background: var(--cyan); }

/* Proyectos */
.proj-vis { position: relative; width: min(540px, 100%); aspect-ratio: 1.1; }
.proj-vis .photo { position: absolute; right: 0; top: 6%; width: 78%; aspect-ratio: 1.5; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); transform: perspective(1000px) rotateY(-12deg); }
.proj-vis .photo img { width: 100%; height: 100%; object-fit: cover; }
.proj-vis .photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 40%, rgba(11,58,122,.75)); }
.proj-vis .chip-float.c1 { left: 0; top: 2%; } .proj-vis .chip-float.c2 { right: 6%; bottom: 14%; animation-delay: -2s; } .proj-vis .chip-float.c3 { left: 4%; bottom: 30%; animation-delay: -4s; }

/* Solar */
.solar-vis { position: relative; width: min(500px, 100%); aspect-ratio: 1.1; }
.battery {
  position: absolute; left: 6%; bottom: 8%; width: 46%; padding: 18px; border-radius: 22px; background: rgba(6, 18, 38, .6); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), var(--shadow-lg); animation: float 7s ease-in-out infinite;
}
.battery h4 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; opacity: .75; margin-bottom: 8px; }
.battery .pct { font: 800 2.4rem var(--font-head); line-height: 1; }
.battery .bar { margin-top: 12px; height: 12px; border-radius: 8px; background: rgba(255,255,255,.1); overflow: hidden; }
.battery .bar i { display: block; height: 100%; width: 87%; border-radius: 8px; background: linear-gradient(90deg, var(--green), #9ff5e4); background-size: 200% 100%; animation: charge 2s linear infinite; }
@keyframes charge { from { background-position: 200% 0; } to { background-position: 0 0; } }
.battery p { font-size: .75rem; margin: 10px 0 0; opacity: .75; }
.solar-vis .chip-float.c1 { right: 0; top: 40%; } .solar-vis .chip-float.c2 { right: 10%; bottom: 4%; animation-delay: -3s; }

/* =========================================================
   DISEÑO 2 — "Hogar inteligente" claro (inspirado en Verisure)
   ========================================================= */
.hero2 { position: relative; padding: calc(var(--header-h) + 40px) 0 60px; background: radial-gradient(1200px 600px at 85% -10%, rgba(18,132,198,.18), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(45,233,198,.18), transparent 60%), #f6f9fd; overflow: hidden; }
.v2 .site-header { color: var(--text); }
.hero2-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.hero2 h1 { color: var(--ink); }
.hero2 .lead { margin-bottom: 26px; }
.svc-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.svc-pills button {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 0; background: #fff; color: var(--text);
  font: 600 .85rem var(--font-head); box-shadow: 0 0 0 1px var(--line), 0 6px 14px -10px rgba(10,30,60,.3); transition: .25s; position: relative; overflow: hidden;
}
.svc-pills button svg { width: 18px; height: 18px; color: var(--blue); }
.svc-pills button.is-active { background: var(--deep); color: #fff; box-shadow: 0 10px 20px -10px rgba(26,71,143,.8); }
.svc-pills button.is-active svg { color: var(--green); }
.svc-pills button::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--green); }
.svc-pills button.run::after { animation: prog var(--delay, 7s) linear forwards; }
.svc-pills button.paused::after { animation-play-state: paused; }
.stage { position: relative; aspect-ratio: 1.08; border-radius: 36px; overflow: hidden; background: var(--navy); color: #fff; box-shadow: 0 50px 80px -30px rgba(6,20,40,.55); }
.stage .slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(1.04); transition: opacity .9s, transform 1.2s cubic-bezier(.2,.7,.2,1), visibility .9s; }
.stage .slide.is-active { opacity: 1; visibility: visible; transform: none; }
.stage .slide .vis-wrap { position: absolute; inset: 0; display: grid; place-items: center; padding: 8% 8% 22%; }
.stage .cap { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 3; padding: 18px 20px; border-radius: 20px; background: rgba(255,255,255,.94); color: var(--text); display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow); }
.stage .cap h3 { margin: 0 0 2px; font-size: 1.08rem; }
.stage .cap p { margin: 0; font-size: .85rem; color: var(--muted); line-height: 1.4; }
.stage .cap .btn { margin-left: auto; flex: none; }
.stage .shape { position: absolute; z-index: 1; }
.hero2 .blob { position: absolute; width: 520px; height: 520px; right: -140px; top: 60px; border-radius: 50%; background: conic-gradient(from 0deg, var(--blue), var(--green), var(--deep), var(--blue)); filter: blur(90px); opacity: .25; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; color: var(--muted); font-size: .85rem; }
.trust-row strong { color: var(--ink); font-family: var(--font-head); font-size: 1.4rem; display: block; line-height: 1; }
.trust-row img { height: 38px; width: auto; }
.v2 .hero-bullets { color: var(--muted); }

/* =========================================================
   DISEÑO 3 — Mosaico "Bento" (inspirado en Prosegur / Genetec)
   ========================================================= */
.hero3 { position: relative; background: var(--navy); color: #fff; padding: calc(var(--header-h) + 50px) 0 70px; overflow: hidden; }
.hero3 > canvas.fx { opacity: .6; }
.hero3 .head { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.hero3 .head .lead { color: rgba(255,255,255,.75); margin: 0; }
.bento { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 280px 280px; gap: 16px; }
.tile {
  position: relative; border-radius: 26px; overflow: hidden; isolation: isolate; color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .4s;
  transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0));
}
.tile canvas.fx { z-index: -2; transition: transform 1s; }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,10,22,0) 30%, rgba(3,10,22,.85)); }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(74,178,232,.18), transparent 50%); opacity: 0; transition: opacity .3s; }
.tile:hover::after { opacity: 1; }
.tile:hover { box-shadow: inset 0 0 0 1px rgba(74,178,232,.5), 0 30px 60px -30px rgba(74,178,232,.5); }
.tile:hover canvas.fx { transform: scale(1.06); }
.tile.big { grid-column: span 2; grid-row: span 2; padding: 36px; }
.tile.wide { grid-column: span 2; }
.tile .num { position: absolute; top: 22px; left: 26px; font: 700 .75rem var(--font-head); letter-spacing: .14em; opacity: .7; }
.tile .go { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); backdrop-filter: blur(6px); transition: .3s; }
.tile .go svg { width: 18px; transform: rotate(-45deg); transition: .3s; }
.tile:hover .go { background: var(--green); }
.tile:hover .go svg { transform: none; }
.tile h3 { font-size: 1.35rem; margin-bottom: 6px; }
.tile.big h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.tile p { margin: 0; color: rgba(255,255,255,.78); font-size: .9rem; max-width: 46ch; }
.tile.big p { font-size: 1.02rem; }
.tile .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tile .tags span { font-size: .72rem; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.tile .mini-totem { position: absolute; right: 30px; top: 60px; width: 150px; z-index: -1; }
.marquee { position: relative; z-index: 2; margin-top: 50px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .track { display: flex; gap: 50px; width: max-content; animation: marq 32s linear infinite; font: 800 clamp(1.4rem, 3vw, 2.2rem) var(--font-head); color: rgba(255,255,255,.14); white-space: nowrap; }
.marquee .track span { display: inline-flex; align-items: center; gap: 50px; }
.marquee .track span::after { content: '✦'; color: var(--green); opacity: .7; font-size: .6em; }
@keyframes marq { to { transform: translateX(-50%); } }

/* =========================================================
   Secciones compartidas del index
   ========================================================= */
.stats-band { position: relative; z-index: 3; margin-top: -1px; background: #fff; border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font: 800 clamp(2rem, 3.4vw, 2.8rem) var(--font-head); line-height: 1; background: linear-gradient(90deg, var(--blue), var(--green-d)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: .88rem; color: var(--muted); }

.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.svc-card {
  grid-column: span 2; position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -28px rgba(10,30,60,.35); transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s;
}
.svc-card:nth-child(4), .svc-card:nth-child(5) { grid-column: span 3; }
.svc-card:hover { transform: translateY(-8px); box-shadow: 0 0 0 1px rgba(18,132,198,.35), 0 30px 60px -30px rgba(10,30,60,.5); }
.svc-card .media { position: relative; height: 210px; overflow: hidden; background: var(--navy); }
.svc-card .media canvas.fx { transition: transform .8s; }
.svc-card .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: .35; transition: transform .8s, opacity .5s; }
.svc-card:hover .media img { transform: scale(1.06); opacity: .5; }
.svc-card .media .ico { position: absolute; left: 22px; bottom: -26px; z-index: 2; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 12px 24px -10px rgba(18,132,198,.8); }
.svc-card .media .ico svg { width: 30px; height: 30px; }
.svc-card .media .badge { position: absolute; right: 16px; top: 16px; z-index: 2; font: 700 .7rem var(--font-head); letter-spacing: .08em; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); }
.svc-card .body { padding: 44px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { font-size: 1.3rem; }
.svc-card p { color: var(--muted); font-size: .95rem; }
.svc-card ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; font-size: .9rem; }
.svc-card li { display: flex; gap: 8px; align-items: flex-start; }
.svc-card li svg { width: 18px; height: 18px; color: var(--green-d); flex: none; margin-top: 3px; }
.svc-card .link-arrow { margin-top: auto; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-media .main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3.4; box-shadow: var(--shadow-lg); }
.about-media .main img { width: 100%; height: 100%; object-fit: cover; }
.about-media .float-card { position: absolute; right: -20px; bottom: -30px; width: 240px; padding: 20px; border-radius: 22px; background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-lg); }
.about-media .float-card b { display: block; font: 800 3rem var(--font-head); line-height: 1; }
.about-media .float-card span { font-size: .9rem; opacity: .9; }
.about-media .years { position: absolute; left: -18px; top: 30px; padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center; font-size: .82rem; line-height: 1.3; }
.about-media .years img { width: 120px; }
.checks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.checks svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(45,233,198,.18); color: var(--green-d); }
.section-dark .checks svg { background: rgba(45,233,198,.2); color: var(--green); }

.segments { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.segment { position: relative; padding: 26px 22px; border-radius: 22px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: .35s; overflow: hidden; }
.segment::before { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(74,178,232,.18), transparent 60%); opacity: 0; transition: .35s; }
.segment:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(74,178,232,.45); }
.segment:hover::before { opacity: 1; }
.segment svg { width: 40px; height: 40px; color: var(--cyan); margin-bottom: 18px; position: relative; }
.segment h3 { font-size: 1.05rem; position: relative; }
.segment p { font-size: .85rem; margin: 0; position: relative; }

.brands { padding: 46px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brands .row { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.brands h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0; max-width: 140px; }
.logos-strip { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-strip .track { display: flex; width: max-content; animation: marq 40s linear infinite; }
.logos-strip img { height: 72px; width: auto; max-width: none; margin-right: 40px; filter: grayscale(1); opacity: .8; }
.brands .ajax-badge { height: 64px; width: auto; }

.clients { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.client { aspect-ratio: 1.6; border-radius: 18px; background: #fff; display: grid; place-items: center; padding: 18px; box-shadow: 0 0 0 1px var(--line); transition: .3s; text-align: center; }
.client img { max-height: 64px; width: auto; filter: grayscale(1); opacity: .75; transition: .3s; }
.client span { font: 700 .92rem var(--font-head); color: var(--deep); line-height: 1.2; }
.client small { display: block; font: 500 .72rem var(--font-body); color: var(--muted); }
.client:hover { box-shadow: 0 0 0 1px var(--blue), var(--shadow); transform: translateY(-4px); }
.client:hover img { filter: none; opacity: 1; }

/* ---------- Contacto (maqueta: "Agendemos un asesoramiento gratuito") ---------- */
.contact-wrap { display: grid; grid-template-columns: .85fr 1.15fr; border-radius: 34px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -40px rgba(6,20,40,.45); }
.contact-side { position: relative; padding: clamp(32px, 4vw, 54px); color: #fff; background: var(--navy); overflow: hidden; display: flex; flex-direction: column; }
.contact-side > *:not(canvas) { position: relative; z-index: 2; }
.contact-side h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.contact-side p { color: rgba(255,255,255,.78); }
.contact-side .logo-big { width: 130px; margin: 18px 0 26px; background: #fff; border-radius: 22px; padding: 12px; }
.slashes { display: flex; gap: 10px; margin-top: auto; }
.slashes i { width: 26px; height: 70px; transform: skewX(-24deg); border-radius: 4px; background: linear-gradient(180deg, var(--green), var(--green-d)); }
.slashes i + i { background: linear-gradient(180deg, var(--cyan), var(--blue)); }
.contact-lines { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; font-size: .92rem; }
.contact-lines li { display: flex; gap: 12px; align-items: center; }
.contact-lines svg { width: 20px; height: 20px; color: var(--green); flex: none; }
.contact-form { padding: clamp(28px, 4vw, 54px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 600 .82rem var(--font-head); color: var(--ink); }
.field label i { color: var(--red); font-style: normal; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); color: var(--text);
  transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(18,132,198,.14); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; margin-top: 4px; }
.form-foot small { color: var(--muted); font-size: .78rem; max-width: 40ch; }
.form-ok { grid-column: 1 / -1; padding: 12px 16px; border-radius: 12px; background: rgba(45,233,198,.15); color: var(--green-d); font-weight: 600; font-size: .9rem; }
.hp { position: absolute; left: -9999px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: 34px; overflow: hidden; padding: clamp(36px, 5vw, 64px); color: #fff; background: var(--navy); display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; }
.cta-band > *:not(canvas) { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 10px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.78); }
.cta-band .hero-actions { justify-content: flex-end; }

/* ---------- Footer ---------- */
.site-footer { background: #040d1c; color: rgba(255,255,255,.7); padding: 80px 0 30px; font-size: .92rem; position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact svg { width: 18px; height: 18px; flex: none; color: var(--green); margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); transition: .25s; }
.socials a:hover { background: var(--blue); }
.socials svg { width: 18px; height: 18px; }
.foot-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .8rem; }
.foot-word { position: absolute; right: -20px; bottom: -40px; font: 900 clamp(5rem, 14vw, 13rem) var(--font-head); font-style: italic; color: rgba(255,255,255,.025); white-space: nowrap; pointer-events: none; line-height: 1; }

/* ---------- Widget WhatsApp (maqueta: "Hola 👋") ---------- */
.wa-widget { position: fixed; right: 22px; bottom: 22px; z-index: 80; }
.wa-fab { width: 62px; height: 62px; border-radius: 50%; border: 0; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(18,140,126,.9); position: relative; transition: transform .25s; }
.wa-fab:hover { transform: scale(1.06); }
.wa-fab svg { width: 32px; height: 32px; }
.wa-fab::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s ease-out infinite; }
.wa-card { position: absolute; right: 0; bottom: 78px; width: 310px; border-radius: 20px; overflow: hidden; background: #e5ddd5; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(14px) scale(.96); transform-origin: bottom right; transition: .3s; }
.wa-widget.open .wa-card, .wa-widget.peek .wa-card { opacity: 1; visibility: visible; transform: none; }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #075e54; color: #fff; }
.wa-head .brand-mark { width: 40px; height: 40px; }
.wa-head b { display: block; font-family: var(--font-head); font-size: .92rem; }
.wa-head small { opacity: .8; font-size: .75rem; }
.wa-close { margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.3rem; line-height: 1; padding: 4px; }
.wa-body { padding: 18px 16px; }
.wa-bubble { background: #fff; border-radius: 0 12px 12px 12px; padding: 10px 12px; font-size: .88rem; color: #222; box-shadow: 0 1px 1px rgba(0,0,0,.1); max-width: 90%; }
.wa-bubble small { display: block; color: #8a8a8a; font-size: .68rem; text-align: right; margin-top: 4px; }
.wa-card .btn { width: calc(100% - 32px); margin: 0 16px 16px; justify-content: center; }

/* ---------- Selector de diseños (solo presentación) ---------- */
.design-switch { position: fixed; left: 22px; bottom: 22px; z-index: 80; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(6,20,40,.85); backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); }
.design-switch span { color: rgba(255,255,255,.6); font: 600 .72rem var(--font-head); padding: 8px 6px 8px 12px; align-self: center; }
.design-switch a { color: #fff; font: 700 .78rem var(--font-head); padding: 8px 14px; border-radius: 999px; }
.design-switch a.on { background: var(--grad-cta); }

/* =========================================================
   LANDINGS
   ========================================================= */
.lp-hero { position: relative; min-height: max(640px, 92svh); background: var(--navy); color: #fff; overflow: hidden; display: flex; align-items: center; }
.lp-hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: calc(var(--header-h) + 50px); padding-bottom: 80px; }
.lp-hero .lead { color: rgba(255,255,255,.8); margin-bottom: 30px; }
.lp-hero .visual { display: grid; place-items: center; position: relative; min-height: 460px; }
.crumbs { display: flex; gap: 8px; font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.crumbs a:hover { color: #fff; }
.lp-hero .copy > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.lp-hero .copy > :nth-child(2) { animation-delay: .1s; } .lp-hero .copy > :nth-child(3) { animation-delay: .2s; } .lp-hero .copy > :nth-child(4) { animation-delay: .3s; } .lp-hero .copy > :nth-child(5) { animation-delay: .4s; } .lp-hero .copy > :nth-child(6) { animation-delay: .5s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { padding: 30px 26px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: .35s; position: relative; overflow: hidden; }
.benefit::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--green)); transform: scaleX(0); transform-origin: left; transition: transform .45s; }
.benefit:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(18,132,198,.25), var(--shadow); }
.benefit:hover::after { transform: scaleX(1); }
.benefit .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(18,132,198,.12), rgba(45,233,198,.16)); color: var(--blue); margin-bottom: 18px; }
.benefit .ico svg { width: 28px; height: 28px; }
.benefit h3 { font-size: 1.12rem; }
.benefit p { color: var(--muted); font-size: .93rem; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: st; position: relative; }
.steps::before { content: ''; position: absolute; left: 6%; right: 6%; top: 34px; height: 2px; background: repeating-linear-gradient(90deg, rgba(74,178,232,.4) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step::before { counter-increment: st; content: counter(st, decimal-leading-zero); display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 2px var(--cyan), 0 0 30px rgba(74,178,232,.35); font: 800 1.1rem var(--font-head); color: #fff; position: relative; }
.step h3 { font-size: 1.05rem; }
.step p { font-size: .9rem; margin: 0; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(60px, 8vw, 110px); }
.feature.rev .feature-media { order: 2; }
.feature-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-lg); background: var(--navy); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-media .chip-float { left: 18px; bottom: 18px; }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: #fff; font-size: .93rem; }
.compare th, .compare td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy); color: #fff; font-family: var(--font-head); }
.compare thead th:last-child { background: linear-gradient(135deg, var(--deep), var(--green-d)); }
.compare tbody th { font-family: var(--font-head); width: 20%; color: var(--deep); }
.compare tbody td:last-child { background: rgba(45,233,198,.07); }
.compare tr:last-child > * { border-bottom: 0; }

.pack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pack .item { padding: 22px; border-radius: 20px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.pack .item svg { width: 30px; height: 30px; color: var(--green); margin-bottom: 12px; }
.pack .item h3 { font-size: 1rem; margin-bottom: 6px; }
.pack .item p { font-size: .85rem; margin: 0; }

.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font: 700 1rem var(--font-head); display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--blue); font-size: 1.3rem; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

.tags-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tags-row span { padding: 9px 16px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: .88rem; font-weight: 500; }
.section-dark .tags-row span { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; isolation: isolate; }
.case img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s; }
.case::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(4,13,28,.92)); }
.case:hover img { transform: scale(1.06); }
.case small { font: 700 .72rem var(--font-head); letter-spacing: .12em; color: var(--green); text-transform: uppercase; }
.case h3 { font-size: 1.3rem; margin: 6px 0 4px; }
.case p { font-size: .88rem; margin: 0; color: rgba(255,255,255,.78); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); background: #fff; color: var(--text); padding: 100px 20px 30px; transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.7,.2,1); overflow-y: auto; box-shadow: var(--shadow-lg); z-index: -1; }
  .nav-open .main-nav { transform: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; }
  .main-nav a, .main-nav button { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 1rem; }
  .sub { position: static; width: auto; transform: none; opacity: 1; visibility: visible; box-shadow: none; display: none; grid-template-columns: 1fr; padding: 4px 0 8px; }
  .has-sub:hover .sub { transform: none; }
  .has-sub.open .sub { display: grid; transform: none; }
  .nav-toggle { display: block; }
  .header-cta .btn-hide { display: none; }
  .segments { grid-template-columns: repeat(3, 1fr); }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .pack { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .topbar-links a:not(:first-child) { display: none; }
  .hero1 { height: auto; min-height: 0; }
  .hero1 .slider-viewport { position: relative; height: 920px; }
  .hero1 .slide-inner { grid-template-columns: 1fr; gap: 10px; align-content: start; padding-top: calc(var(--header-h) + 40px); padding-bottom: 40px; }
  .hero1 .visual { max-height: 400px; height: 400px; }
  .slider-tabs { position: relative; }
  .slider-tabs .container { grid-template-columns: repeat(5, 1fr); padding: 0; }
  .slider-tabs button { justify-content: center; padding: 16px 6px; }
  .slider-tabs button .t { display: none; }
  .slider-arrows { display: none; }
  .hero2-grid, .hero3 .head, .about, .feature, .lp-hero .container, .contact-wrap, .cta-band { grid-template-columns: 1fr; }
  .feature.rev .feature-media { order: 0; }
  .lp-hero .visual { min-height: 380px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .tile { min-height: 240px; }
  .tile.big { grid-column: span 2; grid-row: auto; min-height: 380px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-card, .svc-card:nth-child(4), .svc-card:nth-child(5) { grid-column: span 1; }
  .svc-card:nth-child(5) { grid-column: 1 / -1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .benefits, .cases { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .brands .row { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .brands h4 { max-width: none; }
  .brands .ajax-badge { margin: 0 auto; }
  .cta-band .hero-actions { justify-content: flex-start; }
  .about-media .float-card { right: 10px; }
  .about-media .years { left: 10px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .topbar { display: none; }
  .header-cta .btn { display: none; }
  .brand-text small { display: none; }
  .hero1 .slider-viewport { height: 860px; }
  .hero1 .visual { height: 340px; }
  .bento, .svc-grid, .benefits, .cases, .segments, .clients, .checks, .contact-form, .foot-grid, .pack { grid-template-columns: 1fr; }
  .tile.big, .tile.wide, .svc-card:nth-child(5) { grid-column: auto; }
  .clients { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stage { aspect-ratio: .82; border-radius: 26px; }
  .stage .cap { flex-direction: column; align-items: flex-start; }
  .stage .cap .btn { margin-left: 0; }
  .compare { font-size: .82rem; }
  .compare th, .compare td { padding: 12px; }
  .chip-float { font-size: .72rem; }
  .design-switch span { display: none; }
  .design-switch { left: 12px; bottom: 12px; }
  .wa-widget { right: 14px; bottom: 14px; }
  .wa-card { width: calc(100vw - 28px); }
  .dash { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Ajustes de legibilidad y layout ---------- */
.hero1 { height: max(680px, calc(100svh - 36px)); }
.hero1 .slide::after, .lp-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(3,10,22,.88) 0%, rgba(3,10,22,.6) 38%, rgba(3,10,22,0) 68%);
}
.lp-hero::before { z-index: 1; }
.design-switch { left: auto; right: 96px; bottom: 30px; }
@media (max-width: 900px) {
  .hero1 { height: auto; }
  .hero1 .slide::after, .lp-hero::before { background: linear-gradient(180deg, rgba(3,10,22,.8) 0%, rgba(3,10,22,.55) 55%, rgba(3,10,22,.2) 100%); }
}
@media (max-width: 600px) { .design-switch { right: 88px; bottom: 22px; left: auto; } }

/* ---------- Sección Clientes (submenú) y teléfonos ---------- */
.sub.sub-sm { width: 330px; grid-template-columns: 1fr; }
.foot-contact a small, .contact-lines a small { display: block; font-size: .72rem; opacity: .65; letter-spacing: .02em; }
@media (max-width: 1100px) { .sub.sub-sm { width: auto; } }

/* ---------- Slider de inicio: transiciones rápidas para la rotación cada 3 s ---------- */
.hero1 .slide { transition: opacity .55s ease, visibility .55s; }
.hero1 .copy > * { transition: opacity .45s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.hero1 .slide.is-active .copy > :nth-child(2) { transition-delay: .06s; }
.hero1 .slide.is-active .copy > :nth-child(3) { transition-delay: .12s; }
.hero1 .slide.is-active .copy > :nth-child(4) { transition-delay: .18s; }
.hero1 .slide.is-active .copy > :nth-child(5) { transition-delay: .24s; }
.hero1 .visual { transition: .7s cubic-bezier(.2,.7,.2,1) .1s; }

/* ---------- Imágenes Ajax ---------- */
.photo-vis { position: relative; width: min(480px, 92%); aspect-ratio: 1; animation: float 7s ease-in-out infinite; }
.photo-vis .frame { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 50px 80px -30px rgba(0,0,0,.8), 0 0 80px -20px rgba(45,233,198,.35); }
.photo-vis .frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-vis .chip-float { z-index: 2; }
.svc-card .media.photo img { mix-blend-mode: normal; opacity: 1; object-position: 50% 42%; }
.svc-card:hover .media.photo img { opacity: 1; }
.svc-card .media.photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6,20,40,.55)); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gallery figure { position: relative; margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 1.25; box-shadow: var(--shadow); isolation: isolate; }
.gallery figure.g-wide { grid-column: 1 / -1; aspect-ratio: 16 / 6; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 24px 20px; color: #fff; font: 700 1.1rem var(--font-head); background: linear-gradient(180deg, transparent, rgba(4,13,28,.85)); }
.gallery figcaption small { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 4px; }
@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery figure.g-wide { aspect-ratio: 16 / 9; }
  .photo-vis .chip-float { display: none; }
}

/* ---------- Datos de Ajax Systems ---------- */
.ajax-about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.ajax-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ajax-stats > div { padding: 26px 24px; border-radius: 18px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: .3s; }
.ajax-stats > div:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(45,233,198,.5); }
.ajax-stats b { display: block; font: 700 clamp(2rem, 3.6vw, 2.9rem) var(--font-head); line-height: 1.05; color: #fff; }
.ajax-stats span { color: rgba(255,255,255,.65); font-size: .92rem; }
@media (max-width: 900px) { .ajax-about { grid-template-columns: 1fr; } .ajax-about > :last-child { order: -1; } }

/* ---------- Chat de WhatsApp: abierto 6 s y luego burbuja compacta ---------- */
.wa-widget .wa-card { transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1), visibility .45s; }
.wa-widget.mini .wa-card { opacity: 0; visibility: hidden; transform: translateY(20px) scale(.5); }
.wa-mini {
  position: absolute; right: 72px; bottom: 7px; display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px;
  border: 0; border-radius: 999px; background: #fff; color: #222; text-align: left; white-space: nowrap;
  font: 400 .72rem/1.2 var(--font-body); box-shadow: 0 10px 26px -10px rgba(6,20,40,.5), 0 0 0 1px rgba(0,0,0,.05);
  opacity: 0; visibility: hidden; transform: translateX(14px) scale(.9); transform-origin: right center; transition: .4s cubic-bezier(.2,.7,.2,1);
}
.wa-mini b { display: block; font: 700 .8rem var(--font-head); color: #075e54; }
.wa-mini .brand-mark { width: 34px; height: 34px; box-shadow: none; }
.wa-widget.mini .wa-mini { opacity: 1; visibility: visible; transform: none; animation: waNudge 6s ease-in-out 1s infinite; }
@keyframes waNudge { 0%, 88%, 100% { transform: none; } 92% { transform: translateY(-4px); } 96% { transform: translateY(0); } }
.wa-mini:hover { box-shadow: 0 12px 30px -10px rgba(6,20,40,.6), 0 0 0 2px #25d366; }
@media (max-width: 600px) { .wa-mini { right: 68px; bottom: 9px; } .wa-mini span:last-child { font-size: .68rem; } }

/* ---------- Carrusel de clientes ---------- */
.clients-carousel { overflow: hidden; padding: 10px 0 20px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients-carousel .track { display: flex; gap: 18px; width: max-content; animation: marq 38s linear infinite; }
.clients-carousel:hover .track { animation-play-state: paused; }
.clients-carousel .client { flex: none; width: 210px; aspect-ratio: 1.6; }
.clients-carousel .client img { max-height: 64px; max-width: 160px; height: auto; width: auto; object-fit: contain; }
@media (max-width: 600px) { .clients-carousel .client { width: 160px; } .clients-carousel .client img { max-height: 52px; max-width: 120px; } }
.clients-carousel .client img { filter: none; opacity: 1; }

/* ---------- Tótem: foto real ---------- */
.totem-photo { position: relative; width: min(300px, 62%); aspect-ratio: 400 / 1032; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 40px 50px rgba(0,0,0,.6)); }
.totem-photo img { position: absolute; width: 213.25%; max-width: none; height: auto; left: -56.5%; top: -12.02%; }
.totem-photo .glow { position: absolute; left: -15%; right: -15%; bottom: -5%; height: 8%; border-radius: 50%; background: radial-gradient(ellipse, rgba(74,178,232,.45), transparent 70%); filter: blur(8px); z-index: -1; }
.hero1 .visual .totem-photo { width: auto; height: 94%; max-height: 540px; }
.photo-vis.portrait { aspect-ratio: 1130 / 1256; width: min(440px, 88%); }

/* ---------- Landing Tótem: UCC, tabs tecnológicos y proceso ---------- */
.ucc { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.ventajas { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ventajas > div { padding: 26px 22px; border-radius: 22px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
.ventajas > div:first-child { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow); }
.ventajas b { display: block; font: 800 2.4rem var(--font-head); line-height: 1; margin-bottom: 8px; background: linear-gradient(90deg, var(--blue), var(--green-d)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ventajas > div:first-child b { color: #fff; background: none; -webkit-background-clip: border-box; }
.ventajas span { font-size: .9rem; color: var(--muted); }
.ventajas > div:first-child span { color: rgba(255,255,255,.85); }
.tech-tabs .tt-nav { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); margin-bottom: 26px; }
.tech-tabs .tt-nav button { display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 10px 18px; border-radius: 999px; background: none; color: rgba(255,255,255,.7); font: 700 .88rem var(--font-head); transition: .25s; }
.tech-tabs .tt-nav button svg { width: 18px; height: 18px; }
.tech-tabs .tt-nav button.is-active { background: var(--grad-cta); color: #fff; }
.tt-panel { display: none; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: center; }
.tt-panel.is-active { display: grid; animation: rise .6s cubic-bezier(.2,.7,.2,1); }
.tt-media { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow-lg); }
.tt-media img { width: 100%; height: 100%; object-fit: cover; }
.tt-media.contain { background: #143c55; }
.tt-media.contain img { object-fit: contain; }
.pin { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; animation: rise .6s both; animation-delay: var(--d); }
.pin i { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #0d2a4d; color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 0 0 7px rgba(74,178,232,.35); font-style: normal; }
.pin i::after { content: ''; position: absolute; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--cyan); animation: ring 2.4s ease-out infinite; animation-delay: var(--d); }
.pin i svg { width: 18px; height: 18px; }
.pin em { font: 700 .74rem var(--font-head); font-style: normal; color: var(--ink); background: rgba(255,255,255,.95); padding: 6px 10px; border-radius: 10px; white-space: nowrap; box-shadow: 0 8px 20px -10px rgba(0,0,0,.6); }
.tt-copy h3 { font-size: 1.6rem; color: #fff; }
.tt-copy p { margin-bottom: 22px; }
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.process > div { position: relative; padding: 30px 26px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.process .n { position: absolute; right: 20px; top: 12px; font: 800 3.2rem var(--font-head); color: rgba(18,132,198,.08); }
.process .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 16px; }
.process .ico svg { width: 26px; height: 26px; }
.process h3 { font-size: 1.1rem; }
.process p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Clientes: dos filas ---------- */
.clients-carousel + .clients-carousel { margin-top: 6px; }
.clients-carousel.rev .track { animation-direction: reverse; animation-duration: 46s; }
.clients-carousel .client { width: auto; min-width: 190px; height: 124px; aspect-ratio: auto; padding: 16px 26px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; }
.clients-carousel .client img { max-height: 60px; max-width: 230px; }
.clients-carousel .client > small { font-size: .7rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.clients-carousel .client.txt { min-width: 220px; background: linear-gradient(160deg, #fff, #f2f7fc); }
.clients-carousel .client.txt span { font-size: 1.05rem; }
@media (max-width: 900px) {
  .ucc, .tt-panel.is-active { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .pin em { display: none; }
}
@media (max-width: 600px) { .ventajas { grid-template-columns: 1fr; } .clients-carousel .client { min-width: 150px; height: 104px; } .clients-carousel .client img { max-width: 160px; max-height: 46px; } }
.pin { transform: translate(-19px, -50%); }
.pin.l { flex-direction: row-reverse; transform: translate(calc(-100% + 19px), -50%); }

/* ---------- Portería Inteligente ---------- */
.photo-vis.wide-ish { aspect-ratio: 1.07; width: min(500px, 92%); }
.photo-vis .frame.dark { background: #0b0f17; }
.photo-vis .frame.light { background: #fff; }
.photo-vis .frame.light img { object-fit: contain; }
.diagram { margin: 0 0 40px; padding: 24px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.diagram img { width: 100%; height: auto; }
.diagram figcaption { display: grid; grid-template-columns: 1fr 1fr; text-align: center; font: 700 .9rem var(--font-head); color: var(--deep); margin-top: 8px; }
.brands3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.brands3 > div { padding: 28px 26px; border-radius: 24px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.brands3 h3 { font-size: 1.6rem; color: #fff; margin-bottom: 4px; }
.brands3 .tag { display: inline-block; font: 700 .72rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.brands3 p { font-size: .92rem; }
.brands3 b { color: #fff; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.proscons > div { padding: 30px 28px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.proscons h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.proscons h3 svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; }
.pros h3 svg { background: rgba(45,233,198,.18); color: var(--green-d); }
.cons h3 svg { background: rgba(255,184,77,.22); color: #c07a12; }
.proscons ul { margin: 0; padding-left: 18px; display: grid; gap: 10px; color: var(--muted); font-size: .94rem; }
.proscons b { color: var(--ink); }
.case-study { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.case-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.case-stats > div { padding: 26px 22px; border-radius: 20px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.case-stats b { display: block; font: 800 2.4rem var(--font-head); line-height: 1; color: #fff; margin-bottom: 6px; }
.case-stats span { font-size: .88rem; color: rgba(255,255,255,.7); }
/* 6 servicios: grilla pareja y 6 pestañas en el slider */
.svc-card:nth-child(4), .svc-card:nth-child(5) { grid-column: span 2; }
.slider-tabs .container { grid-template-columns: repeat(6, 1fr); }
.slider-tabs button { padding-left: 14px; padding-right: 10px; font-size: .84rem; }
@media (max-width: 900px) {
  .brands3, .proscons, .case-study { grid-template-columns: 1fr; }
  .svc-card:nth-child(4), .svc-card:nth-child(5) { grid-column: span 1; }
  .slider-tabs .container { grid-template-columns: repeat(6, 1fr); }
}

/* ---------- Banner destacado Portería (index) ---------- */
.promo-band { position: relative; overflow: hidden; border-radius: 34px; background: var(--navy); color: #fff; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 30px; padding: clamp(32px, 5vw, 60px); box-shadow: var(--shadow-lg); }
.promo-band > *:not(canvas) { position: relative; z-index: 2; }
.promo-band::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(3,10,22,.85), rgba(3,10,22,.3) 70%); }
.promo-band p { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 52ch; }
.promo-band .hero-bullets { margin: 0 0 26px; }
.pb-media img { width: 100%; max-width: 460px; margin-left: auto; border-radius: 24px; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 70px -30px rgba(0,0,0,.8); animation: float 7s ease-in-out infinite; }
@media (max-width: 900px) { .promo-band { grid-template-columns: 1fr; } .pb-media img { margin: 0 auto; } }

/* ---------- Logo oficial (manual de marca) ---------- */
:root { --gray-brand: #505050; }
.brand img { height: 48px; width: auto; }
.brand .logo-color { display: none; }
.site-header.is-scrolled .brand .logo-white, .header-solid .site-header .brand .logo-white { display: none; }
.site-header.is-scrolled .brand .logo-color, .header-solid .site-header .brand .logo-color { display: block; }
.site-footer .brand img { height: 56px; }
.brand-mark img, .hub-device .logo-dot img { transform: none; object-fit: contain; }
.contact-side .logo-big { width: 150px; padding: 16px; }
.btn-cta { text-shadow: 0 1px 2px rgba(6, 40, 80, .35); box-shadow: 0 10px 24px -10px rgba(18, 132, 198, .8); }
.h1, .h2, h1, h2, h3 { color: inherit; }
.section-white .h2, .section .h2 { }
@media (max-width: 600px) { .brand img { height: 40px; } }
