/* =========================================================
   DEVELO PROPTECH 2026 — SOLINA DIGITAL COMPETITOR DESIGN SYSTEM
   Dark Void (#07090D), Electric Blue (#1F6BFF), Signal Cyan (#63B3FF),
   Engineering HUD Overlays, Live Telemetry, Reticle Cursor,
   and Real-time Interactive CAD / KMZ / 3D Visualization.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Sora:wght@400;600;700;800&display=swap');

:root {
  /* Paleta Solina Digital */
  --negro: #07090D;
  --grafito: #10151D;
  --grafito-2: #171E29;
  --grafito-3: #1E2736;
  --abismo: #0A2550;
  --azul: #1F6BFF;
  --azul-2: #3D82FF;
  --senal: #63B3FF;
  --acero: #8A94A6;
  --niebla: #EEF2F8;
  --blanco: #FFFFFF;
  --linea: rgba(150, 180, 230, .12);
  --linea-2: rgba(150, 180, 230, .24);
  --mustard: #E5A910;
  --mustard-glow: rgba(229, 169, 16, 0.25);

  /* Estados de lote */
  --disp: #1F6BFF;
  --apar: #F59E0B;
  --vend: #28303E;
  --verde-live: #4BE38F;
  --rojo-rec: #FF4B4B;

  --f-display: "Sora", -apple-system, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --r: 14px;
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--negro);
  color: var(--niebla);
}

body {
  margin: 0;
  background: var(--negro);
  color: var(--niebla);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

::selection {
  background: var(--azul);
  color: #fff;
}

.mono {
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dim {
  color: var(--acero);
}

.container {
  width: min(1280px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.section-padding {
  padding: clamp(70px, 9vw, 110px) 0;
  position: relative;
}

.h2 {
  font: 600 clamp(2rem, 4.4vw, 3.6rem)/1.05 var(--f-display);
  letter-spacing: -.035em;
  margin: .3em 0 .4em;
  color: #FFFFFF;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .8em;
  color: var(--senal);
  margin: 0;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 600;
}

.eyebrow__line {
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 64px);
}

.section-head--row {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: end;
}

.section-head__lead {
  color: var(--acero);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 58ch;
  margin: 0;
}

/* =========================================================
   BOTONES SOLINA STYLE (LIGHT SWEEP & GLOW)
   ========================================================= */

.btn {
  --bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .95em 1.6em;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--bg);
  font: 600 .92rem/1 var(--f-body);
  letter-spacing: .01em;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease), border-color .3s, background .3s, box-shadow .4s;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateX(-110%);
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.3) 50%, transparent 80%);
  transition: transform .8s var(--ease);
}

.btn:hover::after {
  transform: translateX(110%);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  --bg: var(--azul);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(31,107,255,.75), inset 0 1px 0 rgba(255,255,255,.2);
}

.btn--primary:hover {
  box-shadow: 0 16px 44px -10px rgba(31,107,255,.95), inset 0 1px 0 rgba(255,255,255,.3);
}

.btn--ghost {
  border-color: var(--linea-2);
  color: var(--niebla);
  backdrop-filter: blur(8px);
  background: rgba(16,21,29,.55);
}

.btn--ghost:hover {
  border-color: var(--senal);
  background: rgba(31,107,255,.12);
  color: #fff;
}

.btn--sm {
  padding: .68em 1.15em;
  font-size: .84rem;
}

.btn--block {
  width: 100%;
}

.btn__arrow {
  transition: transform .4s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--linea-2);
  background: rgba(10,13,18,.8);
  backdrop-filter: blur(10px);
  display: inline-grid;
  place-items: center;
  font-size: 1rem;
  transition: border-color .3s, background .3s, color .3s;
  color: var(--niebla);
}

.icon-btn:hover {
  border-color: var(--senal);
  background: rgba(31,107,255,.2);
  color: #fff;
}

/* Status dots */
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--senal);
  vertical-align: middle;
}

.dot--live {
  background: var(--verde-live);
  box-shadow: 0 0 0 0 rgba(75,227,143,.6);
  animation: ping 1.8s infinite;
}

.dot--rec {
  background: var(--rojo-rec);
  animation: blink 1.2s steps(2) infinite;
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(75,227,143,.6); }
  70% { box-shadow: 0 0 0 10px rgba(75,227,143,0); }
  100% { box-shadow: 0 0 0 0 rgba(75,227,143,0); }
}

@keyframes blink {
  50% { opacity: .2; }
}

/* Lot status swatch */
.sw {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  vertical-align: -1px;
  margin-right: 6px;
}

.sw--disp {
  background: var(--disp);
  box-shadow: 0 0 10px rgba(31,107,255,.8);
}

.sw--apar {
  background: var(--apar);
  box-shadow: 0 0 10px rgba(245,158,11,.6);
}

.sw--vend {
  background: var(--vend);
  border: 1px solid #5A6475;
}

/* =========================================================
   HUD RETICLE CURSOR
   ========================================================= */

.reticle {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 900;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}

.reticle__ring {
  position: absolute;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(99,179,255,.7);
  border-radius: 50%;
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s;
}

.reticle__ring::before, .reticle__ring::after {
  content: "";
  position: absolute;
  background: var(--senal);
}

.reticle__ring::before {
  left: 50%;
  top: -6px;
  bottom: -6px;
  width: 1px;
  transform: translateX(-.5px);
  opacity: .45;
}

.reticle__ring::after {
  top: 50%;
  left: -6px;
  right: -6px;
  height: 1px;
  transform: translateY(-.5px);
  opacity: .45;
}

.reticle__tag {
  position: absolute;
  left: 22px;
  top: 14px;
  font-size: .6rem;
  color: var(--senal);
  white-space: nowrap;
  opacity: .8;
}

.reticle.is-hover .reticle__ring {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  background: rgba(31,107,255,.15);
  border-color: var(--senal);
}

@media (pointer: fine) {
  .reticle.is-on { opacity: 1; }
}

/* =========================================================
   HUD CORNER BRACKETS
   ========================================================= */

.hud__corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: rgba(99,179,255,.5);
  border-style: solid;
  border-width: 0;
  pointer-events: none;
}

.hud__corner.tl { left: 0; top: 0; border-top-width: 1px; border-left-width: 1px; }
.hud__corner.tr { right: 0; top: 0; border-top-width: 1px; border-right-width: 1px; }
.hud__corner.bl { left: 0; bottom: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hud__corner.br { right: 0; bottom: 0; border-bottom-width: 1px; border-right-width: 1px; }

/* =========================================================
   NAV
   ========================================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(7,9,13,.78);
  backdrop-filter: blur(16px) saturate(1.3);
  padding-block: 12px;
  border-color: var(--linea);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__mark {
  width: 36px;
  height: 36px;
}

.nav__word {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  gap: 28px;
  font-size: .88rem;
  font-weight: 500;
  color: #B9C2D2;
}

.nav__links a {
  position: relative;
  padding: 4px 0;
  transition: color .3s;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--senal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}

.nav__links a:hover {
  color: #fff;
}

.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__pres {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
}

.nav__pres::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 7px solid var(--senal);
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
}

/* =========================================================
   HERO (SOLINA DIGITAL HIGH-TECH HUD)
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: var(--negro);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: contrast(1.15) brightness(0.85);
  transform: scale(1.05);
  animation: heroPan 25s ease-in-out infinite alternate;
}

@keyframes heroPan {
  0% { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.12) translate(-2%, -2%); }
}

.hero__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 70% 40%, transparent 25%, rgba(7,9,13,.7) 75%),
    linear-gradient(90deg, rgba(7,9,13,.95) 0%, rgba(7,9,13,.65) 45%, transparent 75%),
    linear-gradient(0deg, var(--negro) 0%, transparent 35%);
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--linea) 1px, transparent 1px),
    linear-gradient(90deg, var(--linea) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 80%);
}

.hero__container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero__content {
  max-width: 680px;
}

.hero__title {
  font: 700 clamp(2.4rem, 5.2vw, 4.4rem)/1.02 var(--f-display);
  letter-spacing: -.04em;
  margin: .35em 0 .4em;
  color: #FFFFFF;
}

.hero__title .line {
  display: block;
}

.hero__title .accent {
  background: linear-gradient(90deg, var(--azul-2), var(--senal) 60%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: #AEB8C8;
  line-height: 1.65;
  margin: 0 0 28px;
}

.hero__lead strong {
  color: #FFFFFF;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero__chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding-top: 24px;
  border-top: 1px solid var(--linea);
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--acero);
}

.hero__chip b {
  color: #FFFFFF;
}

/* HUD Live Visual Box */
.hero__hud-box {
  position: relative;
  background: rgba(16, 21, 29, 0.75);
  border: 1px solid var(--linea-2);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(31, 107, 255, 0.15);
  backdrop-filter: blur(12px);
  padding: 24px;
}

.hero__hud-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--acero);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--linea);
}

.hero__hud-top b {
  color: var(--senal);
}

.hero__hud-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--linea);
}

.hero__hud-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__hud-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border: 1px dashed rgba(99, 179, 255, 0.6);
  border-radius: 50%;
  pointer-events: none;
}

.hero__hud-crosshair::before,
.hero__hud-crosshair::after {
  content: "";
  position: absolute;
  background: var(--senal);
}

.hero__hud-crosshair::before {
  top: 50%;
  left: -8px;
  right: -8px;
  height: 1px;
}

.hero__hud-crosshair::after {
  left: 50%;
  top: -8px;
  bottom: -8px;
  width: 1px;
}

.hero__hud-lot-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(7, 9, 13, 0.88);
  border: 1px solid var(--azul);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: #fff;
  backdrop-filter: blur(6px);
}

.hero__hud-lot-pill em {
  font-style: normal;
  color: var(--verde-live);
  font-weight: 700;
}

.hero__hud-bottom-telemetry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
}

.hud-stat-cell {
  background: rgba(7, 9, 13, 0.5);
  border: 1px solid var(--linea);
  padding: 8px 12px;
  border-radius: 6px;
}

.hud-stat-cell span {
  display: block;
  font-size: 0.65rem;
  color: var(--acero);
}

.hud-stat-cell b {
  font-size: 1.05rem;
  color: #FFFFFF;
}

/* =========================================================
   ATAJOS / GATES (3 RECUADROS SOLINA)
   ========================================================= */

.gates {
  position: relative;
  padding: 40px 0 70px 0;
}

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

.card {
  position: relative;
  background: var(--grafito);
  border: 1px solid var(--linea);
  border-radius: var(--r);
  padding: 32px 28px;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--senal);
  box-shadow: 0 16px 40px -10px rgba(0,0,0,.6), 0 0 24px rgba(31,107,255,.2);
}

.gate__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.gate__num {
  font-size: .8rem;
  color: var(--senal);
  font-weight: 600;
}

.card__icon {
  width: 44px;
  height: 44px;
  color: var(--senal);
}

.card__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.ico-accent {
  stroke: var(--senal);
}

.ico-fill {
  fill: var(--senal);
}

.gate h3 {
  font: 600 1.35rem/1.2 var(--f-display);
  margin-bottom: 12px;
}

.gate h3 a:hover {
  color: var(--senal);
}

.gate p {
  color: var(--acero);
  font-size: .95rem;
  line-height: 1.55;
  margin-bottom: 24px;
}

.gate__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.gate__chips a {
  background: rgba(150, 180, 230, .08);
  border: 1px solid var(--linea);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: .68rem;
  color: #CFE3FF;
  transition: border-color .3s, background .3s;
}

.gate__chips a:hover {
  border-color: var(--senal);
  background: rgba(31,107,255,.2);
}

.gate__price {
  font-family: var(--f-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.gate__price small {
  display: block;
  font-size: .68rem;
  color: var(--acero);
}

.gate__price span {
  font-size: .75rem;
  color: var(--acero);
  margin-left: 8px;
  font-weight: 400;
}

.gate__steps {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  gap: 8px;
}

.gate__steps li {
  background: rgba(150, 180, 230, .08);
  border: 1px solid var(--linea);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: .68rem;
  color: #fff;
}

.gate__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--senal);
  font-size: .78rem;
  font-weight: 600;
}

.gate:hover .gate__go i {
  transform: translateX(4px);
}

.gate__go i {
  font-style: normal;
  transition: transform .3s var(--ease);
}

/* =========================================================
   TICKER (SOLINA STYLE MARQUEE)
   ========================================================= */

.ticker {
  background: #0B0E14;
  border-block: 1px solid var(--linea);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: .78rem;
  color: var(--acero);
  animation: tickerSlide 35s linear infinite;
}

.ticker__track span {
  color: #D6E2F5;
  font-weight: 500;
}

.ticker__track i {
  color: var(--azul);
  font-style: normal;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================================
   MAPAS 360 CON DRON
   ========================================================= */

.m360 {
  position: relative;
}

.m360__tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.m360__tabs button {
  background: var(--grafito);
  border: 1px solid var(--linea-2);
  padding: 8px 18px;
  border-radius: 999px;
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.m360__tabs button.is-on {
  border-color: var(--azul);
  background: rgba(31,107,255,.16);
}

.new-pill {
  background: var(--azul);
  color: #fff;
  font-size: .62rem;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 700;
}

.m360__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 480px;
  background: #000;
  border: 1px solid var(--linea-2);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.7);
}

.m360__img-view {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease-out;
  cursor: grab;
}

.m360__img-view:active {
  cursor: grabbing;
}

.m360__hud {
  position: absolute;
  inset: 18px;
  pointer-events: none;
  z-index: 2;
}

.m360__rec {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: .72rem;
  color: #fff;
  background: rgba(7,9,13,.75);
  padding: 5px 12px;
  border-radius: 4px;
  border: 1px solid var(--linea);
  backdrop-filter: blur(4px);
}

.m360__cross {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 1px dashed rgba(255,255,255,.3);
  border-radius: 50%;
}

.m360__hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 5;
}

.hotspot__pin {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(31, 107, 255, 0.4);
  border: 2px solid #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 0 15px var(--azul);
  transition: transform .3s;
}

.hotspot__pin::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.m360__hotspot:hover .hotspot__pin {
  transform: scale(1.25);
  background: var(--azul);
}

.hotspot__card {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(7,9,13,.9);
  border: 1px solid var(--senal);
  border-radius: 6px;
  padding: 8px 14px;
  white-space: nowrap;
  font-family: var(--f-mono);
  font-size: .72rem;
  color: #fff;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s, transform .25s;
  box-shadow: 0 10px 25px rgba(0,0,0,.6);
}

.m360__hotspot:hover .hotspot__card {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* =========================================================
   KMZ EN VIVO (THE SIGNATURE COMPETITOR SPREADSHEET ↔ MAP SYNC)
   ========================================================= */

.kmzv {
  position: relative;
  background-color: #0A0D14;
  border-block: 1px solid var(--linea);
}

.kmzv__grid {
  display: grid;
  grid-template-columns: 1fr auto 1.35fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 40px;
}

.kmzv__sheet {
  background: var(--grafito);
  border: 1px solid var(--linea-2);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}

.kmzv__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: #141B26;
  border-bottom: 1px solid var(--linea);
  font-size: .75rem;
}

.kmzv__doc {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #fff;
}

.kmzv__doc i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: #22C55E;
}

.kmzv__who {
  color: var(--senal);
}

.kmzv__sheet table {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
  font-family: var(--f-mono);
}

.kmzv__sheet th {
  text-align: left;
  padding: 10px 14px;
  background: #0E131C;
  color: var(--acero);
  font-weight: 600;
  border-bottom: 1px solid var(--linea);
}

.kmzv__sheet td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(150, 180, 230, .06);
  color: #D6E2F5;
}

.kmzv__sheet tr:hover td {
  background: rgba(31, 107, 255, 0.08);
}

.state-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s;
}

.state-badge:hover {
  transform: scale(1.06);
}

.state-disp {
  background: rgba(31, 107, 255, .2);
  color: var(--senal);
  border: 1px solid var(--azul);
}

.state-apar {
  background: rgba(245, 158, 11, .2);
  color: #FCD34D;
  border: 1px solid #F59E0B;
}

.state-vend {
  background: rgba(148, 163, 184, .15);
  color: #94A3B8;
  border: 1px solid #475569;
}

.kmzv__hint {
  padding: 10px 16px;
  margin: 0;
  background: #0E131C;
  font-size: .7rem;
  color: var(--acero);
  border-top: 1px solid var(--linea);
  text-align: center;
}

.kmzv__sync {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--senal);
  font-size: .72rem;
}

.kmzv__sync i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--linea-2);
  background: var(--grafito);
  display: grid;
  place-items: center;
  box-shadow: 0 0 20px rgba(31,107,255,.3);
  animation: pulseSync 2s infinite;
}

@keyframes pulseSync {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); border-color: var(--senal); }
}

.kmzv__earth {
  background: var(--grafito);
  border: 1px solid var(--linea-2);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}

.kmzv__map {
  position: relative;
  background: #06090E;
  padding: 20px;
}

.kmzv__svg-cad {
  width: 100%;
  height: 320px;
  display: block;
}

.kmzv-poly {
  cursor: pointer;
  transition: all .25s ease;
}

.kmzv-poly.disp { fill: rgba(31, 107, 255, 0.45); stroke: #1F6BFF; stroke-width: 1.5; }
.kmzv-poly.apar { fill: rgba(245, 158, 11, 0.55); stroke: #F59E0B; stroke-width: 1.5; }
.kmzv-poly.vend { fill: rgba(38, 45, 61, 0.8); stroke: #5A6475; stroke-width: 1.5; }

.kmzv-poly:hover {
  filter: brightness(1.3);
  stroke-width: 2.5;
}

.kmzv-lbl {
  fill: #FFFFFF;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  text-anchor: middle;
  pointer-events: none;
}

.kmzv__legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--linea);
  font-size: .72rem;
  color: var(--acero);
}

.kmzv__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.kmzv__steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.kmzv__steps b {
  color: var(--senal);
  font-size: 1.1rem;
}

.kmzv__steps span {
  font-size: .92rem;
  color: var(--acero);
  line-height: 1.5;
}

/* =========================================================
   MAQUETA 3D INTERACTIVA VIVA
   ========================================================= */

.tour__wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  margin-top: 32px;
}

.tour__panel {
  background: var(--grafito);
  border: 1px solid var(--linea-2);
  border-radius: var(--r);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tour__cat {
  color: var(--senal);
  font-size: .72rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.tour__title {
  font: 600 1.5rem/1.2 var(--f-display);
  margin-bottom: 14px;
}

.tour__text {
  color: var(--acero);
  font-size: .92rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.tour__stage {
  position: relative;
  background: #000;
  border: 1px solid var(--linea-2);
  border-radius: var(--r);
  overflow: hidden;
  min-height: 520px;
}

.tour__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.tour__topbar {
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
}

.chips {
  display: flex;
  gap: 8px;
}

.chip {
  background: rgba(7,9,13,.8);
  border: 1px solid var(--linea-2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .72rem;
  color: #fff;
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  transition: all .2s;
}

.chip.is-on {
  border-color: var(--azul);
}

.tour__ctrl {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 6px;
  z-index: 5;
}

/* =========================================================
   PLATAFORMA & DASHBOARD COBRANZA
   ========================================================= */

.dash {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.dash__kpis {
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.kpi {
  background: var(--grafito);
  border: 1px solid var(--linea);
  border-radius: var(--r);
  padding: 20px 22px;
}

.kpi span {
  display: block;
  font-size: .72rem;
  color: var(--acero);
  margin-bottom: 6px;
}

.kpi b {
  font-family: var(--f-display);
  font-size: 1.85rem;
  color: #fff;
  line-height: 1.1;
  display: block;
  margin-bottom: 6px;
}

.kpi small {
  font-size: .75rem;
  color: var(--acero);
}

.kpi small.up {
  color: var(--verde-live);
}

.dash__chart {
  background: var(--grafito);
  border: 1px solid var(--linea);
  border-radius: var(--r);
  padding: 24px;
}

.dash__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: .75rem;
}

.chat {
  background: var(--grafito);
  border: 1px solid var(--linea);
  border-radius: var(--r);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.chat__body {
  flex: 1;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  margin-bottom: 16px;
}

.c-msg {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: .85rem;
  line-height: 1.45;
  max-width: 82%;
}

.c-msg.in {
  align-self: flex-start;
  background: #192230;
  color: #fff;
}

.c-msg.out {
  align-self: flex-end;
  background: var(--azul);
  color: #fff;
}

.chat__input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0B0E14;
  border: 1px solid var(--linea-2);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: .78rem;
  color: var(--acero);
}

.chat__input i {
  color: var(--senal);
  font-style: normal;
  cursor: pointer;
}

/* =========================================================
   COTIZADOR AL INSTANTE (SOLINA CALCULATOR SLIDER)
   ========================================================= */

.quote {
  background: var(--grafito);
  border: 1px solid var(--linea-2);
  border-radius: var(--r);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  margin-top: 48px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}

.quote__tag {
  color: var(--senal);
  font-weight: 600;
  margin-bottom: 10px;
}

.quote h4 {
  font: 600 1.7rem/1.2 var(--f-display);
  margin-bottom: 14px;
}

.quote p {
  color: var(--acero);
  font-size: .95rem;
  line-height: 1.55;
  margin-bottom: 24px;
}

.quote__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quote__opts button {
  background: rgba(150, 180, 230, .08);
  border: 1px solid var(--linea-2);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: .75rem;
  font-weight: 600;
  color: #CFE3FF;
  transition: all .2s;
}

.quote__opts button.is-on {
  border-color: var(--azul);
  background: var(--azul);
  color: #fff;
  box-shadow: 0 4px 15px rgba(31,107,255,.5);
}

.quote__calc {
  background: #090D13;
  border: 1px solid var(--linea);
  border-radius: 10px;
  padding: 28px;
}

.quote__lots {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  color: var(--acero);
  font-size: .78rem;
}

.quote__num {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quote__num input {
  width: 80px;
  background: transparent;
  border: 1px solid var(--linea-2);
  border-radius: 6px;
  padding: 6px 10px;
  color: #fff;
  font-family: var(--f-mono);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--azul);
  margin-bottom: 24px;
}

.quote__break {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  font-size: .75rem;
}

.quote__break div {
  display: flex;
  justify-content: space-between;
  color: var(--acero);
}

.quote__break dd {
  margin: 0;
  color: #fff;
  font-weight: 600;
}

.quote__total {
  padding-top: 18px;
  border-top: 1px solid var(--linea);
  margin-bottom: 24px;
}

.quote__total small {
  display: block;
  font-size: .7rem;
  color: var(--acero);
}

.quote__total b {
  font-family: var(--f-display);
  font-size: 2.4rem;
  color: #FFFFFF;
}

/* =========================================================
   FACTURACIÓN BANNER & SERVICIOS
   ========================================================= */

.factura {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: rgba(31, 107, 255, 0.08);
  border: 1px solid rgba(99, 179, 255, 0.25);
  border-radius: var(--r);
  margin-bottom: 36px;
}

.factura__ico {
  color: var(--senal);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.factura p {
  margin: 0;
  font-size: .92rem;
  color: #D6E2F5;
}

.cards--4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.price {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-top: 20px;
}

.price small {
  display: block;
  font-size: .68rem;
  color: var(--acero);
  font-family: var(--f-mono);
  font-weight: 400;
}

.price__mes {
  display: block;
  font-size: .75rem;
  color: var(--senal);
  font-family: var(--f-mono);
  font-weight: 500;
  margin-top: 4px;
}

/* =========================================================
   PROCESO EN 4 PASOS
   ========================================================= */

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.process__card {
  background: var(--grafito);
  border: 1px solid var(--linea);
  border-radius: var(--r);
  padding: 28px 24px;
  position: relative;
}

.process__num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--senal);
  margin-bottom: 14px;
  font-family: var(--f-display);
}

.process__card h3 {
  font: 600 1.25rem/1.2 var(--f-display);
  margin-bottom: 10px;
  color: #fff;
}

.process__card p {
  color: var(--acero);
  font-size: .88rem;
  line-height: 1.55;
}

/* =========================================================
   CONTACTO & WA FLOAT
   ========================================================= */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.contact__list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact__list li {
  display: flex;
  gap: 20px;
  font-size: .92rem;
}

.contact__list span.mono {
  width: 90px;
  color: var(--acero);
}

.contact__list a {
  color: var(--senal);
  font-weight: 600;
}

.form {
  background: var(--grafito);
  border: 1px solid var(--linea-2);
  border-radius: var(--r);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form label span {
  font-size: .72rem;
  color: var(--acero);
}

.form input, .form select, .form textarea {
  background: #0A0E15;
  border: 1px solid var(--linea-2);
  border-radius: 8px;
  padding: 12px 16px;
  color: #fff;
  font-family: inherit;
  font-size: .95rem;
  outline: none;
  transition: border-color .3s;
}

.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--azul);
}

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 800;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  padding: 12px 20px 12px 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: .88rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: transform .3s, box-shadow .3s;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.6);
}

.wa-float svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  border-top: 1px solid var(--linea);
  padding: 48px 0;
  background: #05070B;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__links {
  display: flex;
  gap: 24px;
  font-size: .75rem;
  color: var(--acero);
}

.footer__links a:hover {
  color: #fff;
}

/* =========================================================
   RESPONSIVE QUERIES
   ========================================================= */

@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
  }
  .gates__grid, .cards--4, .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .kmzv__grid {
    grid-template-columns: 1fr;
  }
  .quote {
    grid-template-columns: 1fr;
  }
  .dash {
    grid-template-columns: 1fr;
  }
  .dash__kpis {
    grid-column: span 1;
    grid-template-columns: repeat(2, 1fr);
  }
  .tour__wrap {
    grid-template-columns: 1fr;
  }
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .cdemo__grid {
    grid-template-columns: 1fr;
  }
  .sat__specs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }
  .gates__grid, .cards--4, .process__grid {
    grid-template-columns: 1fr;
  }
  .section-head--row {
    grid-template-columns: 1fr;
  }
  .kmzv__steps {
    grid-template-columns: 1fr;
  }
  .hero__title {
    font-size: 2.4rem;
  }
  .quote {
    padding: 24px;
  }
  .hide-mobile {
    display: none !important;
  }
  .cdemo__terms {
    grid-template-columns: 1fr;
  }
  .sheet__grid {
    grid-template-columns: 1fr;
  }
  .sheet__header {
    flex-direction: column;
    gap: 12px;
  }
  .sheet__meta {
    text-align: left;
  }
  .sat__specs {
    grid-template-columns: 1fr;
  }
  .sat__bar {
    flex-direction: column;
    align-items: stretch;
  }
}

/* =========================================================
   MAQUETA 3D WEBGL (THREE.JS ENGINE)
   ========================================================= */

.tour__three-canvas {
  width: 100%;
  height: 100%;
  min-height: 540px;
  display: block;
  cursor: grab;
  outline: none;
}
.tour__three-canvas:active {
  cursor: grabbing;
}
.tour__hud-bottom {
  position: absolute;
  bottom: 18px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 5;
}
.hud-status {
  background: rgba(7, 9, 13, 0.88);
  border: 1px solid var(--linea-2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  color: #fff;
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hud-hint {
  background: rgba(7, 9, 13, 0.8);
  border: 1px solid var(--linea);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  color: var(--acero);
  backdrop-filter: blur(8px);
}

/* =========================================================
   CARTOGRAFÍA SATELITAL & GOOGLE MAPS
   ========================================================= */

.sat__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  margin-bottom: 16px;
  background: var(--grafito);
  border: 1px solid var(--linea-2);
  border-radius: var(--r);
  padding: 14px 18px;
}
.sat__search {
  position: relative;
  flex: 1 1 240px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--negro);
  border: 1px solid var(--linea-2);
  border-radius: 8px;
  padding: 8px 14px;
}
.sat__search i {
  color: var(--acero);
  font-size: 0.85rem;
}
.sat__search input {
  background: transparent;
  border: none;
  color: #fff;
  font: 400 0.85rem var(--f-body);
  width: 100%;
  outline: none;
}
.sat__filters, .sat__layers {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.sat-filter, .sat-layer {
  background: var(--negro);
  border: 1px solid var(--linea-2);
  color: var(--acero);
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  transition: all 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sat-filter:hover, .sat-layer:hover {
  border-color: var(--senal);
  color: #fff;
}
.sat-filter.is-on, .sat-layer.is-on {
  border-color: var(--azul);
  background: rgba(31, 107, 255, 0.16);
  color: #fff;
  font-weight: 600;
}
.sat__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sat__stage {
  position: relative;
  background: #000;
  border: 1px solid var(--linea-2);
  border-radius: var(--r);
  overflow: hidden;
  height: 520px;
}
.sat__map {
  width: 100%;
  height: 100%;
  z-index: 1;
}
.sat__hud {
  position: absolute;
  bottom: 16px;
  left: 20px;
  background: rgba(7, 9, 13, 0.88);
  border: 1px solid var(--linea-2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  color: var(--acero);
  backdrop-filter: blur(8px);
  z-index: 1000;
  pointer-events: none;
}
.sat__specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
  padding: 16px 20px;
  background: var(--grafito);
  border: 1px solid var(--linea-2);
  border-radius: var(--r);
  font-size: 0.75rem;
  color: var(--acero);
}
.sat__specs b {
  color: #fff;
}

/* Leaflet Dark Customization */
.leaflet-container {
  background: #07090D !important;
  font-family: var(--f-body) !important;
}
.leaflet-popup-content-wrapper {
  background: rgba(16, 21, 29, 0.96) !important;
  border: 1px solid var(--linea-2) !important;
  border-radius: 12px !important;
  color: #fff !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(12px) !important;
}
.leaflet-popup-tip {
  background: rgba(16, 21, 29, 0.96) !important;
}
.leaflet-popup-content {
  margin: 14px 16px !important;
  line-height: 1.5 !important;
}
.sat-popup__title {
  font: 700 1rem var(--f-display);
  margin-bottom: 4px;
  color: #fff;
}
.sat-popup__meta {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--acero);
  margin-bottom: 8px;
}
.sat-popup__price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--senal);
  margin-bottom: 10px;
}
.sat-popup__btn {
  display: inline-block;
  background: var(--azul);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

/* =========================================================
   COTIZADOR FINANCIERO DEMO PARA CLIENTES
   ========================================================= */

.cdemo__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.cdemo__card {
  background: var(--grafito);
  border: 1px solid var(--linea-2);
  border-radius: var(--r);
  padding: 32px;
}
.cdemo__group {
  margin-bottom: 24px;
}
.cdemo__group:last-child {
  margin-bottom: 0;
}
.cdemo__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: var(--acero);
  margin-bottom: 10px;
}
.cdemo__label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.cdemo__val {
  color: var(--senal);
  font-weight: 600;
}
.cdemo__badge {
  background: rgba(31, 107, 255, 0.15);
  border: 1px solid var(--azul);
  color: var(--senal);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
}
.cdemo__select {
  width: 100%;
  background: var(--negro);
  border: 1px solid var(--linea-2);
  color: #fff;
  padding: 12px 14px;
  border-radius: 8px;
  font: 500 0.9rem var(--f-body);
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.cdemo__select:focus {
  border-color: var(--azul);
}
.cdemo__range {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--grafito-3);
  outline: none;
  accent-color: var(--azul);
  cursor: pointer;
}
.cdemo__pills {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.cdemo-pill {
  flex: 1;
  background: var(--negro);
  border: 1px solid var(--linea-2);
  color: var(--acero);
  padding: 6px;
  border-radius: 6px;
  font-size: 0.75rem;
  text-align: center;
  transition: all 0.2s;
}
.cdemo-pill:hover, .cdemo-pill.is-on {
  border-color: var(--azul);
  color: #fff;
  background: rgba(31, 107, 255, 0.14);
}
.cdemo__terms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.cdemo-term {
  background: var(--negro);
  border: 1px solid var(--linea-2);
  border-radius: 8px;
  padding: 12px 8px;
  text-align: center;
  transition: all 0.2s var(--ease);
}
.cdemo-term:hover {
  border-color: var(--senal);
}
.cdemo-term.is-on {
  border-color: var(--azul);
  background: rgba(31, 107, 255, 0.16);
}
.term-name {
  font: 600 0.9rem var(--f-display);
  color: #fff;
  margin-bottom: 4px;
}
.term-tag {
  font-size: 0.68rem;
  color: var(--acero);
}
.cdemo__card--summary {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, var(--grafito) 0%, rgba(10, 37, 80, 0.3) 100%);
  border-color: rgba(99, 179, 255, 0.35);
}
.cdemo__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--linea);
}
.cdemo__highlight {
  background: rgba(7, 9, 13, 0.65);
  border: 1px solid var(--linea-2);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin: 18px 0;
}
.cdemo__amount {
  font: 700 2.2rem/1.2 var(--f-display);
  color: var(--senal);
  margin: 8px 0 4px;
}

/* =========================================================
   MODALES (FICHA PDF & STRIPE CHECKOUT)
   ========================================================= */

.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 13, 0.88);
  backdrop-filter: blur(12px);
}
.modal__card {
  position: relative;
  z-index: 2;
  width: min(780px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--r);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
}
.modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--acero);
  z-index: 10;
  cursor: pointer;
  transition: color 0.2s;
  background: transparent;
  border: none;
}
.modal__close:hover {
  color: #07090D;
}
.stripe-box .modal__close:hover {
  color: #fff;
}

/* Formal Architectural PDF Sheet */
.quote-sheet {
  background: #FFFFFF;
  color: #07090D;
  padding: 40px;
  border: 1px solid #E2E8F0;
  font-family: var(--f-body);
}
.sheet__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 2px solid #07090D;
}
.sheet__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sheet__brand h3 {
  font: 800 1.25rem var(--f-display);
  letter-spacing: -0.01em;
  color: #07090D;
}
.sheet__brand small {
  color: #64748B;
  font-size: 0.72rem;
}
.sheet__meta {
  text-align: right;
  font-size: 0.75rem;
  color: #475569;
  line-height: 1.5;
}
.sheet__title-row {
  margin: 24px 0 20px;
}
.sheet__title-row h2 {
  font: 800 1.35rem var(--f-display);
  letter-spacing: -0.02em;
  color: #07090D;
  margin-bottom: 4px;
}
.sheet__title-row p {
  color: #475569;
  font-size: 0.88rem;
}
.sheet__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  margin-bottom: 20px;
}
.sheet__box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 18px;
}
.sheet__box h4 {
  font-size: 0.76rem;
  color: #1F6BFF;
  margin-bottom: 12px;
  font-weight: 700;
}
.sheet__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}
.sheet__table td {
  padding: 6px 0;
  border-bottom: 1px solid #EDF2F7;
  color: #334155;
}
.sheet__table td:last-child {
  text-align: right;
  font-weight: 600;
  color: #0F172A;
}
.sheet__tr-highlight td {
  border-top: 1.5px solid #CBD5E1;
  padding-top: 10px;
}
.sheet__legal {
  background: #F1F5F9;
  border-left: 3px solid #1F6BFF;
  padding: 12px 16px;
  font-size: 0.7rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 24px;
}
.sheet__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #E2E8F0;
}
.sheet__seal {
  display: flex;
  align-items: center;
  font-size: 0.7rem;
  color: #475569;
}
.sheet__seal small {
  display: block;
  color: #94A3B8;
  font-size: 0.65rem;
}
.sheet__actions {
  display: flex;
  gap: 10px;
}

/* Stripe Checkout Box */
.stripe-box {
  background: var(--grafito);
  border: 1px solid var(--linea-2);
  padding: 36px 32px;
  max-width: 480px;
  color: #fff;
}
.stripe-box__header {
  text-align: center;
  margin-bottom: 24px;
}
.stripe-box__form label {
  display: block;
  margin-bottom: 14px;
  font-size: 0.76rem;
  color: var(--acero);
}
.stripe-box__form span {
  display: block;
  margin-bottom: 6px;
}
.stripe-box__form input {
  width: 100%;
  background: var(--negro);
  border: 1px solid var(--linea-2);
  color: #fff;
  padding: 12px 14px;
  border-radius: 8px;
  font: 500 0.9rem var(--f-body);
  outline: none;
}
.stripe-box__form input:focus {
  border-color: #635BFF;
}

/* Chat Prompts */
.chat__prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 18px;
  background: var(--grafito);
  border-top: 1px solid var(--linea);
}
.chat-prompt-pill {
  background: var(--negro);
  border: 1px solid var(--linea-2);
  color: var(--acero);
  font-size: 0.68rem;
  padding: 4px 10px;
  border-radius: 999px;
  transition: all 0.2s;
  cursor: pointer;
}
.chat-prompt-pill:hover {
  border-color: var(--verde-live);
  color: #fff;
}
.chat__input input {
  background: transparent;
  border: none;
  color: #fff;
  font: 400 0.85rem var(--f-body);
  width: 100%;
  outline: none;
}
.chat__input button {
  color: var(--verde-live);
  font-size: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* Print CSS for PDF Formal Sheet */
@media print {
  body * {
    visibility: hidden;
  }
  .quote-sheet, .quote-sheet * {
    visibility: visible;
  }
  .quote-sheet {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
    box-shadow: none;
    border: none;
  }
  .modal__close, .sheet__actions {
    display: none !important;
  }
}

