/* ==========================================================================
   INVERNOVAK - LAYOUT & RESPONSIVE BREAKPOINTS (MOBILE, TABLET & DESKTOP)
   ========================================================================== */

/* Layout Sections & Bands */
section {
  padding-block: 52px;
  scroll-margin-top: 64px;
}

#automatizaciones {
  padding-block: 36px 44px;
}

#canales {
  padding-block: 28px 56px;
}

.band {
  background: linear-gradient(180deg, rgba(7, 18, 42, 0.85), rgba(3, 8, 23, 0.6));
  margin-inline: -20px;
  padding-inline: 20px;
  border-block: 1px solid rgba(20, 48, 82, 0.5);
}

.sec-head {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 44px;
}

.sec-head .lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 62ch;
}

/* Scroll Reveal */
.rv {
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.8s;
}

.rv.pre {
  transform: translateY(34px);
  opacity: 0.3;
}

/* Header & Sticky Nav Bar */
header.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: rgba(3, 8, 23, 0.85);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--line);
  margin-inline: -20px;
  padding-inline: 20px;
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 14px;
}

@media (min-width: 1121px) {
  .logo { order: 1; }
  .nav-links { order: 2; flex: 1; display: flex; justify-content: center; }
  .nav-desktop-ctas { order: 3; }
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1rem;
}

.logo svg {
  width: 26px;
  height: 26px;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-fb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
}

.logo-fb svg {
  width: 34px !important;
  height: 34px !important;
}

.logo-fb[hidden] {
  display: none;
}

.nav-links {
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}

.nav-links-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  position: relative;
  padding-block: 4px;
  transition: color 0.2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.nav-links a.on, .nav-links a:hover {
  color: var(--cyan);
}

.nav-links a.on::after, .nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  flex: none;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-desktop-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-desktop-ctas a {
  font: 600 0.85rem var(--f);
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  transition: box-shadow 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.nav-desktop-ctas a.exp {
  border-color: var(--cyan);
  color: var(--cyan);
}

.nav-desktop-ctas a.exp:hover {
  box-shadow: var(--glow-cyan);
}

.mobile-menu-ctas {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(20, 48, 82, 0.5);
}

.mobile-menu-ctas .btn {
  width: 100%;
  justify-content: center;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: 40px;
  align-items: start;
  padding-block: 32px 96px;
  position: relative;
}

.hero > .hero-copy, .hero > .hero-phone {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: grid;
  justify-items: start;
  text-align: left;
  gap: 22px;
  min-width: 0;
  padding-top: 28px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.1vw, 3.7rem);
}

.hero .hero-ctas .btn {
  padding: 13px 20px;
  font-size: 0.9rem;
}

.hero-copy .hero-ctas, .hero-copy .stats {
  justify-content: flex-start;
}

.hero-phone {
  display: grid;
  justify-items: center;
  gap: 18px;
  min-width: 0;
}

/* ===== Simulador de WhatsApp + CRM (celular del hero y demo interactiva) ===== */
.scen { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.tab { font: 600 0.9rem var(--f); color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: 999px; padding: 10px 20px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: all 0.2s; }
.tab[aria-selected="true"] { background: var(--cyan); color: #021021; box-shadow: 0 0 20px rgba(0, 174, 239, 0.4); }
.tab:not([aria-selected="true"]):hover { color: var(--fg); border-color: var(--line); }
.demo { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 40px; align-items: start; justify-content: center; }

.phone { background: #01040C; border: 1px solid #1d3a5f; border-radius: 44px; padding: 12px; width: 100%; max-width: 400px; justify-self: center; box-shadow: 0 0 0 6px #050b18, 0 0 70px rgba(0, 174, 239, 0.22); animation: float 6s ease-in-out infinite; position: relative; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 96px; height: 24px; border-radius: 14px; background: #01040C; z-index: 3; }
.phone:hover, .phone:focus-within { animation-play-state: paused; }
@keyframes float { 50% { transform: translateY(-10px); } }

.screen { background: #0A1426; border-radius: 34px; overflow: hidden; display: flex; flex-direction: column; height: 640px; max-height: 78vh; min-height: 520px; }
.status { display: flex; justify-content: space-between; padding: 14px 26px 6px; font-size: 0.75rem; font-weight: 600; }
.status .sig { display: flex; gap: 5px; align-items: center; }
.status .sig i { display: inline-block; width: 3px; background: #fff; border-radius: 1px; }
.chat-top { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #0F1D36; border-bottom: 1px solid var(--line); }
.chat-top .back { color: var(--cyan); font-size: 1.2rem; line-height: 1; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--cyan); display: grid; place-items: center; font-weight: 800; color: #021021; flex: none; }
.chat-top b { display: block; font-size: 0.88rem; font-weight: 700; line-height: 1.2; }
.chat-top small { font-size: 0.72rem; color: var(--ok); display: flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.msgs { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 7px; padding: 14px 12px; font-size: 0.85rem; line-height: 1.45; font-weight: 400; scrollbar-width: thin; scrollbar-color: var(--line) transparent; background-image: radial-gradient(rgba(0, 174, 239, 0.05) 1px, transparent 1px); background-size: 18px 18px; }
.m { max-width: 84%; padding: 8px 11px 5px; border-radius: 14px; background: #15243F; animation: pop 0.28s ease-out; word-wrap: break-word; }
.m.out { align-self: flex-end; background: #063A52; border-bottom-right-radius: 4px; }
.m.in { border-bottom-left-radius: 4px; }
.m.agent { background: #2A2150; }
.m .who { display: block; font-size: 0.68rem; font-weight: 700; color: #C8B6FF; margin-bottom: 2px; }
.m .t { display: block; text-align: right; font-size: 0.63rem; color: var(--muted); margin-top: 2px; }
.m .t .ticks { color: var(--cyan); margin-left: 3px; }
.m .file { display: flex; gap: 8px; align-items: center; background: rgba(0, 0, 0, 0.25); border-radius: 8px; padding: 8px; margin-top: 6px; font-size: 0.78rem; font-weight: 600; }
.m .file i { width: 26px; height: 30px; border-radius: 4px; background: #E5484D; display: grid; place-items: center; font-style: normal; font-size: 0.55rem; font-weight: 800; }
.m .paylink { display: block; margin-top: 6px; text-align: center; background: var(--cyan); color: #021021; border-radius: 8px; padding: 7px; font-weight: 700; font-size: 0.8rem; }
.sys { align-self: center; font-size: 0.66rem; font-weight: 600; color: var(--cyan); background: rgba(0, 174, 239, 0.08); border: 1px dashed rgba(0, 174, 239, 0.4); border-radius: 8px; padding: 4px 10px; text-align: center; max-width: 92%; animation: pop 0.28s ease-out; }
.typing { align-self: flex-start; background: #15243F; border-radius: 14px; padding: 10px 14px; display: flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: tp 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes tp { 30% { transform: translateY(-4px); background: var(--cyan); } }
@keyframes pop { from { transform: translateY(6px) scale(0.97); opacity: 0.4; } to { transform: none; opacity: 1; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 4px; justify-content: flex-end; min-height: 10px; }
.chip { font: 600 0.76rem var(--f); color: var(--cyan); background: rgba(0, 174, 239, 0.08); border: 1px solid rgba(0, 174, 239, 0.5); border-radius: 999px; padding: 7px 12px; cursor: pointer; animation: pop 0.3s ease-out; transition: background 0.15s; }
.chip:hover { background: var(--cyan); color: #021021; }
.chip.slot { border-radius: 8px; }
.compose { display: flex; gap: 8px; padding: 8px 10px 14px; align-items: center; }
.compose input { flex: 1; min-width: 0; font: 400 0.85rem var(--f); color: var(--fg); background: #15243F; border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; }
.compose button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ok); display: grid; place-items: center; cursor: pointer; flex: none; }
.compose button svg { width: 18px; height: 18px; fill: #fff; }

.crm { display: grid; gap: 18px; padding: 26px; }
.crm-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.live { display: inline-flex; gap: 8px; align-items: center; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ok); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulse 1.6s infinite; }
.contact { display: flex; gap: 14px; align-items: center; }
.contact .av { width: 48px; height: 48px; border-radius: 50%; background: var(--card-2); border: 1px solid var(--cyan); display: grid; place-items: center; font-weight: 700; color: var(--cyan); flex: none; }
.contact b { display: block; font-weight: 700; font-size: 1.05rem; }
.contact small { color: var(--muted); font-size: 0.82rem; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kv div { background: rgba(3, 8, 23, 0.5); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.kv small { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.kv span { font-weight: 600; font-size: 0.86rem; transition: color 0.3s; }
.kv span.flash { color: var(--cyan); }
.pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pipe div { position: relative; font-size: 0.7rem; font-weight: 600; text-align: center; padding: 9px 4px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); transition: all 0.4s; line-height: 1.25; }
.pipe div.done { border-color: rgba(0, 174, 239, 0.4); color: var(--fg); background: rgba(0, 174, 239, 0.08); }
.pipe div.now { background: var(--cyan); border-color: var(--cyan); color: #021021; box-shadow: 0 0 20px rgba(0, 174, 239, 0.45); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; min-height: 26px; }
.tags span { font-size: 0.72rem; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; animation: pop 0.3s ease-out; }
.log-h { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.log { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-height: 260px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.log li { display: grid; grid-template-columns: 70px 14px 1fr; gap: 8px; font-size: 0.84rem; padding: 7px 0; border-bottom: 1px solid rgba(20, 48, 82, 0.6); animation: pop 0.35s ease-out; }
.log li time { font-size: 0.72rem; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 2px; }
.log li i { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); margin-top: 6px; box-shadow: 0 0 8px var(--cyan); }
.log li.h i { background: #A78BFA; box-shadow: 0 0 8px #A78BFA; }
.log li.w i { background: var(--warn); box-shadow: 0 0 8px var(--warn); }
.demo-note { font-size: 0.82rem; color: var(--muted); text-align: center; margin-top: 26px; }
.reset { font: 600 0.78rem var(--f); background: transparent; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.reset:hover { color: var(--fg); border-color: var(--cyan); }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } .phone { animation: none; } }
@media (max-width: 480px) { .kv { grid-template-columns: 1fr 1fr; } .pipe { grid-template-columns: 1fr 1fr; } .phone { border-radius: 34px; padding: 8px; } .screen { border-radius: 28px; height: 580px; } }

/* subpágina de demo */
.subpage { position: fixed; inset: 0; z-index: 60; overflow-y: auto; background: rgba(3, 8, 23, 0.97); backdrop-filter: var(--glass-blur); padding-inline: 20px; animation: subIn 0.35s ease-out; }
@keyframes subIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.sub-bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: calc(12px + env(safe-area-inset-top, 0px)) 0 12px; margin-inline: -20px; padding-inline: 20px; background: rgba(3, 8, 23, 0.9); border-bottom: 1px solid var(--line); }
.sub-bar .btn { padding: 9px 16px; font-size: 0.85rem; }
.sub-in { max-width: 1320px; margin-inline: auto; }
.sub-body { padding-block: 14px 10px; }
body.locked { overflow: hidden; }
.sub-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 18px; }
.sub-head > div:first-child { display: grid; gap: 6px; justify-items: start; }
.sub-head h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); text-wrap: nowrap; }
@media (max-width: 1100px) { .sub-head h2 { text-wrap: balance; } }
.sub-head .lead { color: var(--muted); font-size: 0.95rem; }
.sub-head .scen { margin: 0; justify-content: flex-end; }
.sub-head .tab { padding: 8px 16px; font-size: 0.85rem; }
.subpage .demo { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.subpage .phone { animation: none; max-width: 360px; border-radius: 38px; padding: 10px; }
.subpage .screen { height: clamp(420px, calc(100vh - 250px), 600px); min-height: 0; max-height: none; border-radius: 30px; }
.subpage .crm { padding: 20px 22px; gap: 12px; align-content: start; overflow: hidden; display: flex; flex-direction: column; }
.subpage .kv div { padding: 8px 10px; }
.subpage .pipe div { padding: 7px 4px; }
.subpage .crm > div:last-child { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.subpage .log { max-height: none; flex: 1; min-height: 80px; overflow-y: auto; }
.subpage .demo-note { margin-top: 12px; font-size: 0.78rem; }
.sub-right { display: grid; gap: 14px; justify-items: end; }
.sub-cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding: 0; }
.sub-cta .btn { padding: 11px 20px; font-size: 0.88rem; }
@media (max-width: 900px) { .sub-right { justify-items: start; } .sub-cta { justify-content: flex-start; } .sub-head { grid-template-columns: 1fr; } .sub-head .scen { justify-content: flex-start; } .subpage .demo { grid-template-columns: 1fr; } .subpage .screen { height: 540px; } }
@media (max-width: 480px) { .sub-bar .logo .c { display: none; } }

.phone.mini {
  max-width: 320px;
  width: 100%;
  cursor: pointer;
}

.phone.mini .screen {
  height: 500px;
  min-height: 0;
  max-height: none;
}

.phone.mini .msgs {
  overflow: hidden;
  justify-content: flex-end;
}

.phone.mini:hover {
  box-shadow: 0 0 0 6px #050b18, 0 0 90px rgba(0, 174, 239, 0.4);
}

.try {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--cyan);
  border: 1px solid rgba(0, 174, 239, 0.4);
  background: var(--cyan-soft);
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
}

.try .pl {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cyan);
  color: #021021;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  box-shadow: 0 0 14px var(--cyan);
}

.try:hover {
  box-shadow: 0 0 20px rgba(0, 174, 239, 0.35);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 -20px;
  background: radial-gradient(45% 60% at 75% 45%, rgba(0, 174, 239, 0.14), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 -20px;
  background-image: linear-gradient(rgba(0, 174, 239, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 174, 239, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent 75%);
  pointer-events: none;
  z-index: -1;
}

.hero .sub {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  min-height: 1.6em;
}

.rot {
  position: relative;
  display: inline-block;
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(0, 174, 239, 0.5);
}

.rot::before {
  content: attr(data-t);
  position: absolute;
  inset: 0;
  color: transparent;
  background: linear-gradient(100deg, transparent 30%, #fff 50%, transparent 70%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: sweep 3.2s ease-in-out infinite;
  text-shadow: none;
}

.rot::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  border-radius: 3px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan), 0 0 24px var(--cyan);
  transform-origin: left;
  animation: line 3.2s ease-in-out infinite;
}

@keyframes sweep {
  0%, 15% { background-position: 150% 0; }
  55%, 100% { background-position: -60% 0; }
}

@keyframes line {
  0% { transform: scaleX(0); opacity: 1; }
  35% { transform: scaleX(1); opacity: 1; }
  80% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

.hero .lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 60ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.stats span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  background: rgba(11, 23, 48, 0.6);
}

/* Marquee Carousel */
.clients {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding-block: 4px 8px;
  margin-top: -56px;
}

.cl-h {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.marq {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  border-block: 1px solid rgba(20, 48, 82, 0.6);
  padding-block: 16px;
}

.marq-in {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
  flex: none;
  animation: marq 30s linear infinite;
}

.marq:hover .marq-in {
  animation-play-state: paused;
}

@keyframes marq {
  to { transform: translateX(-100%); }
}

.lg {
  display: inline-flex;
  align-items: center;
  height: 44px;
  flex: none;
}

.lg img {
  height: 100%;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
}

.lg:hover img {
  opacity: 1;
  transform: scale(1.1);
}

.lg b {
  display: none;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: #fff;
  opacity: 0.7;
  white-space: nowrap;
}

.lg.txt b { display: inline; }

#caminos { padding-block: 44px 28px !important; }
#fugas { padding-block: 28px 44px; }

/* Grid Grids */
.paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.path {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
  align-content: start;
}

.path h3 { font-size: 1.45rem; }
.path p { color: var(--muted); }

.leaks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  row-gap: 0;
}

.leaks > .leak { margin-bottom: 16px; }

.leak {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.lk-p, .lk-s {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
  padding: 22px 20px;
}

.lk-p {
  background: linear-gradient(180deg, rgba(255, 92, 108, 0.08), transparent);
  border-bottom: 1px dashed var(--line);
}

.lk-p p { font-weight: 700; font-size: 1rem; line-height: 1.35; }
.lk-s p { color: #CFE3F5; font-size: 0.93rem; font-weight: 400; }
.lk-s { background: linear-gradient(180deg, rgba(0, 174, 239, 0.07), transparent); }

.mk {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1;
  transition: transform 0.25s;
}

.mk.x {
  color: #FF5C6C;
  background: rgba(255, 92, 108, 0.12);
  border: 1px solid rgba(255, 92, 108, 0.55);
  box-shadow: 0 0 12px rgba(255, 92, 108, 0.25);
}

.mk.ok {
  color: #021021;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(0, 174, 239, 0.55);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.auto {
  display: grid;
  gap: 12px;
  align-content: start;
}

.auto .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.auto .stage {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0, 174, 239, 0.35);
  border-radius: 999px;
  padding: 4px 10px;
}

.auto p { color: var(--muted); font-size: 0.93rem; }
.auto.star { border-color: rgba(0, 174, 239, 0.6); box-shadow: 0 0 30px rgba(0, 174, 239, 0.12); }

/* Orbit Channel Vis */
.agent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.agent > * { min-width: 0; }
.agent-copy { display: grid; gap: 22px; min-width: 0; }
.agent-copy .lead { color: var(--muted); font-size: 1.05rem; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--muted); }
.checks li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--cyan-soft) no-repeat center/10px;
  border: 1px solid var(--cyan);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 5.2l2.2 2.2 4.8-5' fill='none' stroke='%2300AEEF' stroke-width='1.6'/%3E%3C/svg%3E");
}
.checks b { color: var(--fg); font-weight: 600; }

.orbit-wrap { display: grid; justify-items: center; gap: 18px; min-width: 0; overflow: hidden; padding-block: 10px; }
.orbit { position: relative; width: min(460px, 100%); aspect-ratio: 1; }
.orbit canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit .core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--cyan);
  color: #021021;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 800;
  font-size: clamp(0.8rem, 2.4vw, 1.05rem);
  line-height: 1.1;
  padding: 8px;
  box-shadow: 0 0 0 10px rgba(0, 174, 239, 0.15), 0 0 60px rgba(0, 174, 239, 0.5);
  transition: box-shadow 0.3s, transform 0.3s;
  z-index: 2;
}

.orbit .core small { display: block; font-weight: 600; font-size: 0.62em; margin-top: 4px; }
.orbit .core.hit { box-shadow: 0 0 0 18px rgba(0, 174, 239, 0.22), 0 0 90px rgba(0, 174, 239, 0.8); transform: translate(-50%, -50%) scale(1.05); }

.node { position: absolute; left: 0; top: 0; display: grid; justify-items: center; gap: 5px; will-change: transform; z-index: 3; }
.node .ic {
  width: clamp(38px, 9vw, 50px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0B1730;
  border: 1.5px solid var(--bc);
  box-shadow: 0 0 16px color-mix(in srgb, var(--bc) 45%, transparent);
  transition: transform 0.25s, box-shadow 0.25s;
}

.node .ic svg { width: 48%; height: 48%; fill: var(--bc); }
.node .ic svg.st { fill: none; stroke: var(--bc); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.node b { font-size: clamp(0.58rem, 1.6vw, 0.7rem); font-weight: 600; white-space: nowrap; color: var(--muted); }

/* Pricing Grid */
#paquetes { padding-block: 26px 36px; }
#paquetes .sec-head { margin-bottom: 28px; gap: 10px; }

.pk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.pk { display: flex; flex-direction: column; gap: 12px; padding: 24px 26px; }
.pk.mid { border-color: var(--cyan); box-shadow: 0 0 40px rgba(0, 174, 239, 0.18); }
.pk .pk-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pk .badge { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; background: var(--cyan); color: #021021; padding: 4px 10px; border-radius: 999px; }
.pk h3 { font-size: 1.4rem; }
.pk .for { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.pk ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 0.9rem; line-height: 1.45; }
.pk li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.pk li::before { content: "✓"; color: var(--cyan); font-weight: 700; }
.pk .foot { margin-top: auto; display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.pk .price { font-size: 0.82rem; font-weight: 600; color: var(--muted); }

/* Custom & Process Timeline */
#a-la-medida { padding-block: 44px 52px; }
.custom { display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px; align-items: center; }
.custom-intro { display: grid; gap: 16px; align-content: start; }
.custom-intro h2 { font-size: clamp(1.8rem, 3.3vw, 2.6rem); }
.custom-intro .lead { color: var(--muted); font-size: 1rem; }
.closer { font-size: clamp(1.15rem, 1.9vw, 1.4rem); font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.examples { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.ex { padding: 18px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.ex b { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.ex span { color: var(--muted); font-size: 0.85rem; line-height: 1.5; }

.tl { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.tl-line { position: absolute; top: 17px; left: 12.5%; right: 12.5%; height: 2px; background: var(--line); border-radius: 2px; }
.tl-fill { position: absolute; inset: 0; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform 2.4s cubic-bezier(0.5, 0, 0.2, 1); }
.tl-run { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px #fff, 0 0 24px var(--cyan); opacity: 0; }
.tl.run .tl-fill { transform: scaleX(1); }
.tl.run .tl-run { animation: runner 3.2s 2.6s linear infinite; }
@keyframes runner { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

.st { position: relative; display: grid; justify-items: center; align-content: start; text-align: center; gap: 8px; }
.st .n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; background: var(--bg); border: 1.5px solid var(--line); color: var(--muted); transition: all 0.5s; }
.st h3 { font-size: 1.05rem; }
.st p { color: var(--muted); font-size: 0.86rem; max-width: 26ch; }
.tl.run .st .n { background: var(--cyan); border-color: var(--cyan); color: #021021; box-shadow: 0 0 0 6px rgba(0, 174, 239, 0.15), 0 0 20px var(--cyan); }

/* Audit Wizard */
#auditoria { padding-block: 22px 30px; }
.audit-head { display: grid; gap: 6px; justify-items: center; text-align: center; max-width: 860px; margin: 0 auto 14px; }
.audit-head h2 { font-size: clamp(1.4rem, 2.3vw, 1.95rem); }
.audit-head .lead { font-size: 0.9rem; color: var(--muted); }

.audit { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 22px; align-items: stretch; }
.wiz { display: grid; gap: 12px; align-content: start; padding: 20px 24px; min-height: 0; }
.wiz-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.wiz-back { font: 600 0.8rem var(--f); letter-spacing: 0; text-transform: none; color: var(--muted); background: none; border: 0; cursor: pointer; }
.wiz-back:hover { color: var(--fg); }
.wiz-bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.wiz-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), #5EEAD4); box-shadow: 0 0 12px var(--cyan); transition: width 0.5s; }
.wiz-body { display: grid; gap: 12px; }
.wiz-body.in { animation: wizIn 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes wizIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }

.wiz-q { font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 800; line-height: 1.25; letter-spacing: -0.015em; }
.wiz-opts { display: grid; gap: 8px; }
.opt { display: grid; grid-template-columns: 30px 1fr auto; gap: 14px; align-items: center; text-align: left; font: 500 0.93rem var(--f); color: var(--fg); background: rgba(3, 8, 23, 0.55); border: 1px solid var(--line); border-radius: 12px; padding: 9px 14px; cursor: pointer; transition: all 0.2s; }
.opt .k { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 0.78rem; color: var(--cyan); border: 1px solid rgba(0, 174, 239, 0.4); background: var(--cyan-soft); transition: all 0.2s; }
.opt .go { color: var(--cyan); opacity: 0; transform: translateX(-6px); transition: all 0.2s; }
.opt:hover { border-color: rgba(0, 174, 239, 0.6); background: rgba(0, 174, 239, 0.07); transform: translateX(4px); }
.opt:hover .go { opacity: 1; transform: none; }
.opt.sel { border-color: var(--cyan); background: rgba(0, 174, 239, 0.14); box-shadow: 0 0 22px rgba(0, 174, 239, 0.25); }
.opt.sel .k { background: var(--cyan); color: #021021; }

.wiz-done { display: grid; gap: 14px; justify-items: start; }
.wiz-done .big { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; line-height: 1.2; color: var(--fg); }
.wiz-done p { color: var(--muted); }
.rec-h { font-weight: 600; color: var(--fg) !important; }
.wiz-done .recs { grid-template-columns: 1fr 1fr; }
.wiz-done .row { display: flex; gap: 10px; flex-wrap: wrap; }

.result { display: grid; gap: 8px; justify-items: center; text-align: center; align-content: start; border-color: rgba(0, 174, 239, 0.5); padding: 18px; }
.gauge { position: relative; width: 118px; aspect-ratio: 1; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.g-bg { fill: none; stroke: var(--line); stroke-width: 10; }
.g-fg { fill: none; stroke: var(--gc, var(--cyan)); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; transition: stroke-dashoffset 0.8s cubic-bezier(0.3, 0.8, 0.3, 1), stroke 0.4s; filter: drop-shadow(0 0 6px var(--gc, var(--cyan))); }
.g-num { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; }
.g-num b { font-size: 2.1rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(0, 174, 239, 0.5); }
.g-num small { color: var(--muted); font-size: 0.85rem; font-weight: 600; }

.lvl { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.lvl.lo { color: #FF7A86; border-color: rgba(255, 92, 108, 0.5); background: rgba(255, 92, 108, 0.08); }
.lvl.mid { color: var(--warn); border-color: rgba(245, 185, 66, 0.5); background: rgba(245, 185, 66, 0.08); }
.lvl.hi { color: var(--cyan); border-color: rgba(0, 174, 239, 0.5); background: var(--cyan-soft); }
.verdict { color: var(--muted); font-size: 0.9rem; }
.recs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; width: 100%; text-align: left; }
.recs li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 0.84rem; background: rgba(3, 8, 23, 0.5); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; animation: pop 0.35s ease-out; }
.recs li::before { content: "✓"; color: var(--cyan); font-weight: 700; }
.result .btn { width: 100%; margin-top: 4px; padding: 11px 18px; }

/* Security & Contact */
#datos { padding-block: 28px 32px; }
#datos .sec-2 { gap: 40px; }
#datos .sec-copy { gap: 10px; }
#datos .sec-copy h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
#datos .sec-copy .lead { font-size: 0.93rem; }
#datos .shield-vis { width: min(260px, 100%); }
#datos .row-i { padding: 12px 14px; }
#datos .row-i span { font-size: 0.82rem; line-height: 1.45; }

.sec-2 { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.sec-copy { display: grid; gap: 16px; align-content: start; min-width: 0; }
.sec-copy h2 { font-size: clamp(1.8rem, 3.3vw, 2.6rem); }
.sec-copy .lead { color: var(--muted); font-size: 1rem; }
#datos, #nosotros, #contacto { padding-block: 56px; }

.shield-vis { position: relative; width: min(340px, 100%); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.shield-svg { width: 62%; filter: drop-shadow(0 0 24px rgba(0, 174, 239, 0.45)); animation: float 6s ease-in-out infinite; position: relative; z-index: 1; }
.scan { animation: scan 3.2s ease-in-out infinite; }
.scan-l { animation: scanl 3.2s ease-in-out infinite; }
@keyframes scan { 0% { transform: translateY(-30px); } 50% { transform: translateY(220px); } 100% { transform: translateY(-30px); } }
@keyframes scanl { 0% { transform: translateY(-4px); } 50% { transform: translateY(246px); } 100% { transform: translateY(-4px); } }

.pr { position: absolute; inset: 14%; border-radius: 50%; border: 1px solid rgba(0, 174, 239, 0.35); animation: ring 3.6s ease-out infinite; }
.pr.p2 { animation-delay: 1.2s; }
.pr.p3 { animation-delay: 2.4s; }
@keyframes ring { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.25); opacity: 0; } }

.rows { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 6px; }
.row-i { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(11, 23, 48, 0.6); transition: border-color 0.25s, transform 0.25s; }
.row-i:hover { border-color: rgba(0, 174, 239, 0.55); transform: translateY(-2px); }
.row-i b, .pil b { display: block; font-weight: 700; font-size: 0.93rem; margin-bottom: 3px; }
.row-i span, .pil span { color: var(--muted); font-size: 0.84rem; line-height: 1.5; }

.sec-2.hum { grid-template-columns: 1fr 1fr; }
.big-h { font-size: clamp(2.2rem, 4.8vw, 3.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; }
#pct { font-variant-numeric: tabular-nums; }

.hum-vis { display: grid; gap: 16px; min-width: 0; }
.split { display: grid; grid-template-columns: 0fr 0fr; height: 86px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); transition: grid-template-columns 1.6s cubic-bezier(0.3, 0.8, 0.3, 1); }
.split.on { grid-template-columns: 80fr 20fr; }
.split > div { display: grid; align-content: center; padding: 0 16px; min-width: 0; overflow: hidden; white-space: nowrap; }
.split b { font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.split span { font-size: 0.78rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.sp-h { background: linear-gradient(90deg, #0295C3, var(--cyan)); color: #021021; box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.15); }
.sp-t { background: var(--card-2); color: var(--muted); }
.pillars { display: grid; gap: 10px; }
.pil { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 14px 16px; }

/* Contact Section & Form */
#contacto { padding-block: 26px 30px; }
#contacto .sec-copy { gap: 10px; }
#contacto .sec-copy h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
#contacto .sec-copy .lead { font-size: 0.93rem; }
#contacto .next { gap: 6px; }
#contacto .next ol { gap: 6px; }
#contacto .next li { font-size: 0.84rem; grid-template-columns: 28px 1fr; }
#contacto .next li > span { width: 28px; height: 28px; }
#contacto .next ol::before { left: 13px; }
#contacto .direct-row { margin-top: 2px; }
#contacto .social { margin-top: 6px; gap: 8px; }
#contacto .soc { width: 38px; height: 38px; }
#contacto .form { padding: 20px 24px; gap: 10px 14px; }
#contacto .form-h { font-size: 1.05rem; }
#contacto .field input, #contacto .field select, #contacto .field textarea { padding: 9px 12px; }
#contacto .field textarea { min-height: 64px; }
#contacto .form .btn { padding: 12px 20px; }

.contact-2 { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.next { display: grid; gap: 10px; margin-top: 4px; }
.next-h { font-weight: 700; font-size: 0.95rem; }
.next ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; }
.next ol::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: linear-gradient(var(--cyan), rgba(0, 174, 239, 0.1)); }
.next li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; font-size: 0.9rem; color: var(--muted); position: relative; }
.next li > span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.8rem; background: var(--bg); border: 1.5px solid var(--cyan); color: var(--cyan); box-shadow: 0 0 12px rgba(0, 174, 239, 0.3); }
.next li b { display: block; color: var(--fg); font-weight: 600; font-size: 0.93rem; }

.direct-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.dc { display: inline-flex; align-items: center; gap: 8px; font-size: 0.84rem; font-weight: 500; border: 1px solid var(--line); background: rgba(11, 23, 48, 0.7); border-radius: 999px; padding: 7px 12px; }
.dc svg { width: 15px; height: 15px; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 26px 28px; border-color: rgba(0, 174, 239, 0.35); box-shadow: 0 0 50px rgba(0, 174, 239, 0.1); }
.form-h { grid-column: 1 / -1; font-weight: 800; font-size: 1.2rem; }
.form .btn { grid-column: 1 / -1; }
.form .btn[disabled] { opacity: 0.4; cursor: not-allowed; box-shadow: none; transform: none; }
.form-msg { grid-column: 1 / -1; font-size: 0.88rem; color: var(--cyan); }
.form > iframe, .form .ep-iFrameContainer { grid-column: 1 / -1; width: 100%; }

.social { display: grid; gap: 10px; margin-top: 18px; }
.soc-h { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
.soc-row { display: flex; gap: 10px; flex-wrap: wrap; }
.soc { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #A9B4C8; border: 1px solid var(--line); background: rgba(11, 23, 48, 0.6); transition: all 0.25s; }
.soc svg { width: 20px; height: 20px; }
.soc:hover { color: #fff; border-color: var(--cyan); background: var(--cyan-soft); box-shadow: 0 0 18px rgba(0, 174, 239, 0.4); transform: translateY(-3px); }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 56px 0; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; font-size: 0.9rem; position: relative; z-index: 1; }
footer h3 { margin: 0 0 12px; font-size: 0.95rem; font-weight: 700; letter-spacing: normal; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); }
footer a { text-decoration: none; }
footer a:hover { color: var(--cyan); }
footer .legal { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 0.8rem; border-top: 1px solid var(--line); padding-top: 22px; text-align: right; }

.giant { grid-column: 1 / -1; height: clamp(110px, 15vw, 240px); margin-top: 4px; user-select: none; cursor: crosshair; }
.giant svg { width: 100%; height: 100%; display: block; }
.gt { font-family: var(--f); font-weight: 700; font-size: 60px; fill: transparent; stroke-width: 0.3; }
.g1 { stroke: #E5E5E5; opacity: 0.1; }
.g2 { stroke: #00AEEF; stroke-dasharray: 1000; stroke-dashoffset: 1000; filter: drop-shadow(0 0 2px rgba(0, 174, 239, 0.6)); }
.giant.draw .g2 { animation: gdraw 4s ease-in-out forwards; }
@keyframes gdraw { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
.g3 { stroke: url(#gGrad); stroke-width: 0.45; opacity: 0; transition: opacity 0.3s; }
.giant.lit .g3 { opacity: 1; }

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (TABLETS & MOBILE SMARTPHONES)
   ========================================================================== */

/* Large Desktop Adjustments */
@media (min-width: 1100px) {
  #catalog { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  #catalog .auto { padding: 14px 18px !important; column-gap: 14px; row-gap: 4px; grid-template-columns: 42px 1fr; align-content: start; }
  #catalog .auto .top { grid-row: span 2; display: block; }
  #catalog .auto .ico { width: 42px; height: 42px; }
  #catalog .auto .stage { display: none; }
  #catalog .auto.star .stage { display: inline-block; position: absolute; top: -10px; right: 14px; background: var(--cyan); color: #021021; border-color: var(--cyan); font-size: 0.58rem; padding: 3px 8px; }
  #catalog .auto p { font-size: 0.86rem; line-height: 1.5; }
  #catalog h3 { font-size: 1rem; }
  #automatizaciones .sec-head { margin-bottom: 16px; gap: 8px; }
  #automatizaciones .sec-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
  #automatizaciones .sec-head .lead { font-size: 0.95rem; }
  #automatizaciones .tabs { margin-bottom: 16px; }
  #automatizaciones .tab { padding: 7px 16px; }
}

/* Tablet & Mobile Menu Breakpoint (< 1120px) */
@media (max-width: 1120px) {
  .nav-toggle { display: flex; }
  .nav-desktop-ctas { display: none; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    background: rgba(7, 18, 42, 0.95);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border-bright);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--glow-cyan);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 50;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
  }

  .nav-links-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .mobile-menu-ctas { display: flex; }

  .nav-links a {
    font-size: 1.05rem;
    padding-block: 8px;
    border-bottom: 1px solid rgba(20, 48, 82, 0.5);
  }

  .nav-links a::after { display: none; }
}

@media (max-width: 1050px) {
  .leaks { grid-template-columns: repeat(2, 1fr); }
  .leak:last-child { grid-column: span 2; }
}

/* Tablets (Medium Screens < 960px) */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { justify-items: center; text-align: center; }
  .hero-copy .hero-ctas, .hero-copy .stats { justify-content: center; }
}

@media (max-width: 950px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .pk-grid { grid-template-columns: 1fr; }
  .custom { grid-template-columns: 1fr; }
  .audit { grid-template-columns: 1fr; }
  .wiz { min-height: 0; }
}

@media (max-width: 900px) {
  .paths { grid-template-columns: 1fr; }
  .demo { grid-template-columns: 1fr; }
  .phone { animation: none; }
  .agent { grid-template-columns: 1fr; }
  .sec-2 { grid-template-columns: 1fr; gap: 28px; }
  .shield-vis { width: min(240px, 70%); }
  .sec-2.hum { grid-template-columns: 1fr; }
  .contact-2 { grid-template-columns: 1fr; }
  .sub-right { justify-items: start; }
  .sub-cta { justify-content: flex-start; }
  .sub-head { grid-template-columns: 1fr; }
  .sub-head .scen { justify-content: flex-start; }
  .subpage .demo { grid-template-columns: 1fr; }
  .subpage .screen { height: 540px; }
}

@media (max-width: 860px) {
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .tl { grid-template-columns: 1fr; row-gap: 28px; }
  .tl-line { display: none; }
}

/* Smartphones (< 600px) */
@media (max-width: 600px) {
  section { padding-block: 44px; }
  .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .logo { font-size: 0.9rem; }
  .cl-h { white-space: normal; text-align: center; font-size: 0.7rem; }
  .marq-in { gap: 40px; padding-right: 40px; }
  .lg { height: 34px; }
  .leak { grid-row: auto; grid-template-rows: auto auto; }
  .leaks { grid-template-columns: 1fr; }
  .leak:last-child { grid-column: auto; }
  .examples { grid-template-columns: 1fr; }
  .wiz-done .recs { grid-template-columns: 1fr; }
  .rows { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 20px; }
  .sub-bar .logo .c { display: none; }
}

@media (max-width: 480px) {
  .phone.mini .screen { height: 480px; }
  .kv { grid-template-columns: 1fr 1fr; }
  .pipe { grid-template-columns: 1fr 1fr; }
  .phone { border-radius: 34px; padding: 8px; }
  .screen { border-radius: 28px; height: 560px; }
  .ticker span { white-space: normal; }
  .ticker { border-radius: 14px; font-size: 0.78rem; }
  .btn { width: 100%; justify-content: center; }
  .hero-ctas { width: 100%; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .rv.pre { transform: none; opacity: 1; }
  .tl .st .n { background: var(--cyan); color: #021021; }
  .tl-fill { transform: none; }
  .g2 { stroke-dashoffset: 0; }
}
