/* =========================================================
   LucaBot · portada
   Las tipografías Montserrat e Inter se declaran en footer.css.
   ========================================================= */
@font-face {
  /* Montserrat estática (sin contornos superpuestos): necesaria para el trazo del neón. */
  font-family: "Montserrat Neon";
  src: url("fonts/montserrat-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --navy: #0B2236;
  --navy-deep: #061524;
  --cyan: #3CCBF4;
  --cyan-light: #7FE3FF;
  --cyan-text: #076A93;
  --ice: #E7EEF4;
  --text-soft: #3A5266;
  --on-dark: #CFE0EC;
  --gutter: clamp(20px, 4vw, 48px);
  --head-h: 86px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--navy-deep); scroll-padding-top: 110px; }
body {
  background: var(--ice);
  color: var(--navy);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--cyan-text); }
a:hover { color: var(--navy); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.h { font-family: Montserrat, system-ui, sans-serif; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Clases de efecto (de la maqueta) ---------- */
.chrome {
  background: linear-gradient(180deg, #FFFFFF 0%, #E4F1FA 44%, #8FB8D3 50%, #D9ECF8 62%, #FFFFFF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 14px rgba(60, 203, 244, .35));
}
.glass {
  background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.32));
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(160,190,210,.35), 0 30px 60px -24px rgba(11,34,54,.35);
}
.glass-d {
  background:
    linear-gradient(145deg, rgba(20,52,80,.84), rgba(6,20,34,.7)) padding-box,
    linear-gradient(135deg, rgba(60,203,244,.95), rgba(60,203,244,.06) 34%, rgba(255,255,255,.04) 66%, rgba(60,203,244,.75)) border-box;
  border: 1.5px solid transparent;
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 0 60px rgba(60,203,244,.2), 0 40px 80px -30px rgba(0,0,0,.65);
}
.sheen { position: relative; overflow: hidden; }
.sheen::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(115deg, transparent 28%, rgba(255,255,255,.28) 42%, rgba(255,255,255,.06) 50%, transparent 58%);
  pointer-events: none;
}
.btn {
  display: inline-block;
  background: linear-gradient(180deg, #A6EEFF 0%, var(--cyan) 50%, #139FD0 100%);
  color: #062033;
  font-weight: 800;
  text-decoration: none; text-align: center;
  border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -3px 8px rgba(0,60,100,.25), 0 0 30px rgba(60,203,244,.55), 0 10px 22px -8px rgba(10,100,150,.7);
  transition: filter .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn:hover { color: #062033; filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -3px 8px rgba(0,60,100,.25), 0 0 42px rgba(60,203,244,.75), 0 12px 24px -8px rgba(10,100,150,.7); }
.btn:active { transform: scale(.98); }
.btn-g {
  display: inline-block;
  color: #FFFFFF; font-weight: 600; text-decoration: none; text-align: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
  transition: background .2s ease, border-color .2s ease;
}
.btn-g:hover { color: #FFFFFF; background: linear-gradient(135deg, rgba(255,255,255,.32), rgba(255,255,255,.12)); border-color: rgba(255,255,255,.8); }
.cube {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: linear-gradient(145deg, #2A5A82 0%, var(--navy) 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -8px 14px rgba(0,0,0,.4), 0 0 0 1px rgba(60,203,244,.6), 0 0 22px rgba(60,203,244,.35), 0 14px 24px -10px rgba(11,34,54,.7);
}
.floor {
  position: absolute; left: -30%; right: -30%; bottom: -4%; height: 62%;
  background-image: linear-gradient(rgba(60,203,244,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(60,203,244,.5) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(700px) rotateX(64deg); transform-origin: bottom;
  -webkit-mask-image: linear-gradient(to top, #000 5%, transparent 80%); mask-image: linear-gradient(to top, #000 5%, transparent 80%);
  pointer-events: none;
}
.floor.lite { background-image: linear-gradient(rgba(11,90,140,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(11,90,140,.16) 1px, transparent 1px); }
.field {
  font: inherit; font-weight: 400; font-size: 16px;
  padding: 15px 16px; border-radius: 14px;
  color: var(--navy);
  background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(240,247,252,.55));
  border: 1px solid rgba(150,185,210,.7);
  box-shadow: inset 0 2px 4px rgba(11,34,54,.08), 0 1px 0 #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field::placeholder { color: #5E7487; }
.field:focus { outline: none; border-color: #139FD0; box-shadow: inset 0 2px 4px rgba(11,34,54,.08), 0 0 0 3px rgba(60,203,244,.35); }
.tilt-l { transform: perspective(1400px) rotateY(12deg) rotateX(4deg); }
.tilt-r { transform: perspective(1400px) rotateY(-12deg) rotateX(4deg); }
.reflect { -webkit-box-reflect: below 10px linear-gradient(transparent 70%, rgba(255,255,255,.22)); }

/* Etiquetas de sección (píldoras). */
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan-text);
  padding: 7px 13px; border-radius: 999px;
  /* Fondo casi blanco: el texto mantiene 4.5:1 aunque caiga sobre los brillos cian. */
  background: rgba(255,255,255,.62); border: 1px solid rgba(7,106,147,.3);
}
.eyebrow--dark { color: var(--cyan-light); background: rgba(60,203,244,.12); border-color: rgba(60,203,244,.4); }
.dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--cyan-light);
  box-shadow: 0 0 0 4px rgba(60,203,244,.25), 0 0 14px var(--cyan);
}
.h2 {
  margin-top: 18px;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; font-weight: 900; letter-spacing: -.015em;
  text-wrap: balance;
}
.grad-text { background: linear-gradient(90deg, #0A86B8, #19B6E8); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Huecos que rellena el dueño de la web. */
.ph { font-style: normal; }

/* ---------- Cabecera fija de cristal ---------- */
.site-head {
  position: fixed; z-index: 50;
  top: 20px; left: 32px; right: 32px;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px 16px 14px 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #FFFFFF; }
.brand:hover { color: #FFFFFF; }
.brand .cube { width: 38px; height: 38px; border-radius: 11px; }
.brand__name { font-family: Montserrat, system-ui, sans-serif; font-weight: 800; font-size: 21px; letter-spacing: .02em; }
.site-nav ul {
  list-style: none;
  display: flex; gap: 6px;
  font-size: 15px; font-weight: 500;
  padding: 5px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
}
.site-nav a {
  display: block;
  color: #D9E7F1; text-decoration: none;
  padding: 9px 16px; border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.site-nav a:hover { color: #FFFFFF; background: rgba(255,255,255,.08); }
.site-nav a[aria-current="true"] { color: #FFFFFF; background: rgba(60,203,244,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.site-head__cta { font-size: 15px; font-weight: 700; padding: 13px 24px; }
.site-head__toggle {
  display: none;
  width: 46px; height: 46px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #FFFFFF; cursor: pointer;
  align-items: center; justify-content: center;
}
.site-head__toggle svg { width: 22px; height: 22px; }
.site-head__toggle .i-close { display: none; }
.site-head.is-open .site-head__toggle .i-open { display: none; }
.site-head.is-open .site-head__toggle .i-close { display: block; }

/* =========================================================
   CABECERA CON VÍDEO DE SCROLL
   ========================================================= */
/* La altura de esta sección define cuánto hay que bajar para recorrer el vídeo. */
.hero { position: relative; height: 600vh; background: #000; }
.hero__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: #000 url("poster.jpg") center / cover no-repeat;
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
/* Sube un poco la luz del vídeo y de la imagen final. */
.hero__video, .hero__end { filter: brightness(1.12) contrast(1.02); }
.hero__video.is-priming { opacity: 0; }

/* Imagen final del vídeo (WEBS): aparece encima del último fotograma al terminar. */
.hero__end {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}
/* Fundido del suelo del cartel hacia la sección siguiente. */
.hero__floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 22%;
  background: linear-gradient(to bottom, rgba(226, 235, 242, 0), #E2EBF2);
  opacity: 0;
  pointer-events: none;
}
/* Oscurecido lateral para que el panel se lea; se desvanece al bajar. */
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,18,32,.78) 0%, rgba(5,18,32,.35) 48%, rgba(5,18,32,0) 70%);
  pointer-events: none;
  will-change: opacity;
}
/* Hilo de neón inferior. */
.hero__line {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 3;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 18px var(--cyan);
  pointer-events: none;
}

/* Texto neón «Personalizadas» bajo WEBS: caja con la misma proporción que la imagen final. */
.hero__stage {
  position: absolute; left: 50%; top: 50%;
  width: max(100vw, calc(100vh * 2474 / 1038));
  width: max(100vw, calc(100svh * 2474 / 1038));
  aspect-ratio: 2474 / 1038;
  transform: translate(-50%, -50%);
  container-type: size;
  pointer-events: none;
}
.neon {
  position: absolute; left: 50%; top: 77%;
  transform: translate(-50%, -50%);
  font-family: "Montserrat Neon", Montserrat, system-ui, sans-serif;
  font-weight: 600;
  font-size: min(3.9cqw, 7vw);
  letter-spacing: .07em; line-height: 1;
  white-space: nowrap; text-transform: uppercase;
  color: rgba(170, 184, 200, .35);
  -webkit-text-stroke: .13em #7d8896;
  paint-order: stroke fill;
  filter: drop-shadow(0 .035em .03em rgba(20, 30, 45, .45));
  opacity: 0; visibility: hidden;
}
.neon::before, .neon::after {
  content: attr(data-text);
  content: attr(data-text) / "";
  position: absolute; inset: 0;
  color: transparent;
}
.neon::before { -webkit-text-stroke: .085em #e4e9ef; }
.neon::after {
  -webkit-text-stroke: .026em #dff7ff;
  filter: drop-shadow(0 0 .02em #8fdcff) drop-shadow(0 0 .07em rgba(47, 168, 255, .85)) drop-shadow(0 0 .2em rgba(47, 168, 255, .35));
}
.neon.is-on { visibility: visible; animation: neon-on 1.1s steps(1, end) forwards; }
.neon.is-on::after { animation: neon-glow 1.1s ease-out forwards; }
@keyframes neon-on {
  0% { opacity: 0; } 8% { opacity: .9; } 14% { opacity: .15; } 22% { opacity: 1; }
  30% { opacity: .35; } 40% { opacity: 1; } 52% { opacity: .7; } 60%, 100% { opacity: 1; }
}
@keyframes neon-glow { from { opacity: .4; } to { opacity: 1; } }

/* Interfaz encima del vídeo: panel del titular + módulos flotantes. */
.hero__ui {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: calc(var(--head-h) + 40px) 72px 90px;
  pointer-events: none;
  will-change: opacity, transform;
}
.hero__ui > * { pointer-events: auto; }
.hero__panel { max-width: 640px; border-radius: 28px; padding: 44px 48px; color: #FFFFFF; }
.corner { position: absolute; width: 22px; height: 22px; border: 0 solid var(--cyan); }
.corner--tl { top: 14px; left: 14px; border-top-width: 2px; border-left-width: 2px; border-radius: 6px 0 0 0; }
.corner--br { bottom: 14px; right: 14px; border-bottom-width: 2px; border-right-width: 2px; border-radius: 0 0 6px 0; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan-light);
  padding: 8px 14px; border-radius: 999px;
  background: rgba(60,203,244,.12); border: 1px solid rgba(60,203,244,.4);
}
.hero__title {
  margin-top: 22px;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: clamp(36px, 4.3vw, 62px); line-height: 1.02; font-weight: 900; letter-spacing: -.02em;
  text-wrap: balance;
}
.hero__lead { margin-top: 20px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: var(--on-dark); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero__actions .btn { font-size: 16px; padding: 17px 30px; }
.hero__actions .btn-g { font-size: 16px; padding: 16px 28px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; list-style: none; font-size: 14px; color: var(--on-dark); }
.chips li { padding: 7px 12px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }

.hero__mods { display: flex; flex-direction: column; gap: 16px; width: 300px; flex: none; margin-top: 120px; }
.mod { border-radius: 18px; padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.mod:nth-child(2) { margin-left: 36px; }
.mod .cube { width: 42px; height: 42px; border-radius: 12px; }
.mod__kicker { font-size: 12px; letter-spacing: .12em; color: var(--cyan-light); font-weight: 600; }
.mod__name { font-family: Montserrat, system-ui, sans-serif; color: #FFFFFF; font-weight: 700; font-size: 16px; }
.mod__led { margin-left: auto; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

/* Indicador de scroll (ratón). */
.hero__mouse {
  position: absolute; left: 50%; bottom: 26px; z-index: 2;
  transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,.6);
  display: flex; justify-content: center; padding-top: 8px;
  transition: opacity .4s;
  pointer-events: none;
}
.hero__mouse span {
  width: 4px; height: 9px; border-radius: 2px;
  background: var(--cyan-light); box-shadow: 0 0 8px var(--cyan);
  animation: mouse 1.8s ease-in-out infinite;
}
@keyframes mouse { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(10px); opacity: .2; } }

/* Indicador de carga del vídeo. */
.hero__loader {
  position: absolute; left: 50%; top: calc(var(--head-h) + 34px); transform: translateX(-50%);
  z-index: 3;
  display: grid; gap: 8px; justify-items: center;
  padding: 10px 18px 12px;
  border-radius: 14px;
  background: rgba(10, 20, 32, .55);
  border: 1px solid rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #eef3fa; font-size: 13px;
  pointer-events: none;
}
.hero__loader[hidden] { display: none; }
.hero__loader b { font-weight: 600; font-variant-numeric: tabular-nums; }
.hero__loader i { display: block; width: 160px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.hero__loader em {
  display: block; height: 100%;
  background: var(--cyan-light); box-shadow: 0 0 8px rgba(127, 214, 255, .8);
  transform: scaleX(0); transform-origin: left;
  transition: transform .2s linear;
}

/* Fondo ambiental para pantallas verticales: el fotograma actual ampliado y difuminado. */
.hero__ambient {
  display: none;
  position: absolute; left: -10%; top: -10%;
  width: 120%; height: 120%;
  filter: blur(28px) saturate(1.1);
  pointer-events: none;
}
@media (max-aspect-ratio: 4/5) {
  .hero__sticky { background: #b9c2cc url("poster.jpg") center / 100% auto no-repeat; }
  .hero__ambient { display: block; }
  .hero__video, .hero__end {
    object-fit: contain;
    /* El vídeo mide 100vw × 42.9vw: fundimos sus bordes con el fondo. */
    -webkit-mask-image: linear-gradient(to bottom, transparent calc(50% - 21.5vw), #000 calc(50% - 17vw), #000 calc(50% + 17vw), transparent calc(50% + 21.5vw));
            mask-image: linear-gradient(to bottom, transparent calc(50% - 21.5vw), #000 calc(50% - 17vw), #000 calc(50% + 17vw), transparent calc(50% + 21.5vw));
  }
  .hero__stage { width: 100vw; }
  .neon { font-size: 4.4cqw; }
}

/* =========================================================
   SECCIONES
   ========================================================= */
.section { position: relative; padding: 110px 48px; overflow: hidden; }
.wrap { position: relative; max-width: 1200px; margin: 0 auto; }

/* ---------- Por qué LucaBot ---------- */
.intro {
  padding-bottom: 100px;
  background: radial-gradient(circle at 85% 20%, rgba(60,203,244,.22), transparent 40%), linear-gradient(180deg, #E2EBF2, #E2EBF2 2%, #F2F7FB 30%, #E2EBF2);
}
.intro__grid { display: flex; gap: 64px; flex-wrap: wrap; align-items: center; }
.intro__text { flex: 1 1 420px; }
.intro__text p:not(.eyebrow) { margin-top: 22px; font-size: 18px; line-height: 1.65; color: var(--text-soft); max-width: 56ch; }
.features { flex: 1 1 480px; display: flex; flex-direction: column; gap: 18px; list-style: none; }
.feature { display: flex; gap: 20px; align-items: center; border-radius: 22px; padding: 24px 26px; }
.feature:nth-child(2) { margin-left: 32px; }
.feature .cube { width: 58px; height: 58px; border-radius: 16px; }
.feature h3 { font-family: Montserrat, system-ui, sans-serif; font-weight: 800; font-size: 19px; }
.feature p { margin-top: 6px; font-size: 16px; line-height: 1.55; color: var(--text-soft); }

/* ---------- Servicios y precios ---------- */
.services {
  padding-top: 100px; padding-bottom: 120px;
  background: radial-gradient(ellipse at 50% 0%, #17426A 0%, var(--navy) 45%, var(--navy-deep) 100%);
}
.services__cables {
  position: absolute; top: 0; height: 100%; left: 50%; width: 220px; margin-left: -110px;
  background: url("fondo-cables.jpg") center / cover no-repeat;
  opacity: .16;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); mask-image: linear-gradient(to bottom, #000, transparent 70%);
  pointer-events: none;
}
.services__head { text-align: center; }
.pricing {
  margin-top: 72px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch;
  list-style: none;
}
.plan { border-radius: 26px; padding: 36px 32px; display: flex; flex-direction: column; color: #FFFFFF; }
.plan .cube { width: 54px; height: 54px; border-radius: 15px; }
.plan__kicker { margin-top: 22px; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--cyan-light); text-transform: uppercase; }
.plan__name { margin-top: 8px; font-family: Montserrat, system-ui, sans-serif; font-size: 26px; font-weight: 800; }
.plan__desc { margin-top: 12px; font-size: 16px; line-height: 1.55; color: #BFD3E2; }
.plan__list {
  margin-top: 22px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  list-style: none; display: flex; flex-direction: column; gap: 12px;
  font-size: 16px; color: #E6F0F7;
}
.plan__list li { display: flex; gap: 10px; }
.plan__list li::before { content: "◆"; color: var(--cyan-light); flex: none; }
.plan__foot { margin-top: auto; padding-top: 30px; }
.plan__from { font-size: 14px; color: #9FB8CB; }
.plan__price { font-family: Montserrat, system-ui, sans-serif; font-size: 32px; font-weight: 900; }
.plan__price small { font-size: 16px; font-weight: 600; color: #9FB8CB; }
.plan__cta { display: block; margin-top: 18px; padding: 15px; }
.plan__more { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--cyan-light); text-underline-offset: 3px; }
.plan__more:hover { color: #FFFFFF; }

.plan--featured {
  padding: 40px 32px;
  color: var(--navy);
  transform: translateY(-28px) scale(1.04);
  background:
    linear-gradient(160deg, rgba(255,255,255,.95), rgba(220,242,252,.82)) padding-box,
    linear-gradient(135deg, #FFFFFF, var(--cyan) 40%, #FFFFFF 60%, var(--cyan)) border-box;
  border: 2px solid transparent;
  box-shadow: inset 0 1px 0 #FFFFFF, 0 0 0 8px rgba(60,203,244,.12), 0 0 80px rgba(60,203,244,.55), 0 50px 90px -30px rgba(0,0,0,.7);
}
.plan--featured .plan__kicker { color: var(--cyan-text); }
.plan--featured .plan__name { font-size: 28px; font-weight: 900; }
.plan--featured .plan__desc, .plan--featured .plan__from { color: var(--text-soft); }
.plan--featured .plan__list { border-top-color: rgba(11,34,54,.12); color: var(--navy); }
.plan--featured .plan__list li::before { color: #139FD0; }
.plan--featured .plan__price { font-size: 34px; }
.plan--featured .plan__cta { padding: 16px; }
.plan__flag { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 800; letter-spacing: .12em; padding: 7px 12px; }
.plan__pending { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: #8A4B00; background: #FFF1D6; border: 1px dashed #C77E1A; padding: 4px 10px; border-radius: 8px; }

/* ---------- Proyectos ---------- */
.projects {
  padding-bottom: 120px;
  background: radial-gradient(circle at 15% 30%, rgba(60,203,244,.2), transparent 35%), radial-gradient(circle at 90% 80%, rgba(60,203,244,.16), transparent 35%), linear-gradient(180deg, #E2EBF2, #F2F7FB);
}
.projects__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.projects__all { text-decoration: none; font-weight: 700; font-size: 15px; padding: 13px 22px; border-radius: 999px; color: var(--navy); }
.proj-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; }
.proj__frame {
  border-radius: 20px; padding: 10px;
  background: linear-gradient(150deg, #F7FBFE, #B9CCDA 50%, #EEF4F8);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 0 0 1px rgba(60,203,244,.5), 0 0 36px rgba(60,203,244,.25), 0 30px 50px -20px rgba(11,34,54,.5);
}
.proj__screen {
  height: 220px; border-radius: 12px;
  background: linear-gradient(160deg, #0E2C47, #081A2B);
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.proj__dots { display: flex; gap: 6px; }
.proj__dots span { width: 8px; height: 8px; border-radius: 50%; background: #3D5970; }
.proj__dots span:first-child { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.proj__bar { height: 10px; width: 60%; border-radius: 5px; background: rgba(127,227,255,.55); }
.proj__bar--2 { height: 8px; width: 80%; border-radius: 4px; background: rgba(255,255,255,.14); }
.proj__shot {
  flex-grow: 1; border-radius: 8px; border: 1px dashed rgba(127,227,255,.45);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #BFD3E2; font-size: 14px; font-weight: 500;
}
.projects__sub { margin-top: 12px; font-size: 17px; color: var(--text-soft); }
.proj__link { display: block; color: inherit; text-decoration: none; border-radius: 22px; }
.proj__link:hover { color: inherit; }
.proj__img {
  flex-grow: 1; min-height: 0; width: 100%;
  border-radius: 8px; object-fit: cover; object-position: center top;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.proj__screen { overflow: hidden; }
.proj__demo { display: block; margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--cyan-text); }
@media (hover: hover) {
  .proj__link:hover .proj__img { transform: scale(1.04); }
  .proj__link:hover .proj__demo { text-decoration: underline; text-underline-offset: 3px; }
}
.proj__info { margin-top: 40px; border-radius: 18px; padding: 20px 22px; }
.proj__sector { font-size: 12px; font-weight: 700; color: var(--cyan-text); letter-spacing: .12em; text-transform: uppercase; }
.proj__client { margin-top: 6px; font-family: Montserrat, system-ui, sans-serif; font-size: 20px; font-weight: 800; }
.proj__result {
  margin-top: 12px; display: inline-block;
  background: linear-gradient(180deg, #DDF6FF, #BFEAFA);
  color: var(--navy); font-weight: 700; font-size: 14px;
  padding: 7px 12px; border-radius: 9px;
  box-shadow: inset 0 1px 0 #FFFFFF, 0 0 0 1px rgba(60,203,244,.5);
}

/* ---------- Contacto ---------- */
.contact {
  background: radial-gradient(circle at 25% 60%, rgba(60,203,244,.35), transparent 38%), radial-gradient(circle at 80% 20%, rgba(130,170,220,.35), transparent 40%), linear-gradient(180deg, #D3E1EC, #BFD1DF);
}
.contact__grid { display: flex; gap: 56px; flex-wrap: wrap; align-items: center; }
.contact__intro { flex: 1 1 420px; display: flex; flex-direction: column; align-items: flex-start; }
.contact__intro .eyebrow { background: rgba(255,255,255,.5); }
.contact__intro p:not(.eyebrow) { margin-top: 16px; font-size: 18px; line-height: 1.6; color: #2E465A; max-width: 46ch; }
.contact__direct { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  /* Verde oscurecido respecto a la maqueta para que el texto blanco pase 4.5:1. */
  background: linear-gradient(180deg, #1E874A, #12763A 55%, #0E6431);
  color: #FFFFFF; font-weight: 700; font-size: 16px;
  padding: 16px 26px; border-radius: 999px; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 0 26px rgba(31,168,85,.45), 0 10px 22px -8px rgba(15,90,45,.7);
  transition: filter .2s ease;
}
.btn-wa:hover { color: #FFFFFF; filter: brightness(1.08); }
.btn-wa svg { width: 20px; height: 20px; flex: none; }
.contact__phone { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; font-size: 16px; padding: 15px 24px; border-radius: 999px; text-decoration: none; }
.contact__phone svg { width: 18px; height: 18px; }
.contact__drone { position: relative; margin-top: 36px; width: 100%; max-width: 410px; }
.contact__drone::before {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -14px; height: 40px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(60,203,244,.7), transparent 70%);
  filter: blur(6px);
}
/* Ventana del dron: muestra la imagen del 13 % al 77 % de su altura (dron + pantalla enteros). */
.drone {
  position: relative; overflow: hidden;
  aspect-ratio: 941 / 1070;
  border-radius: 24px;
  container-type: inline-size;
  background: #DCE6EE;
  box-shadow: 0 0 0 1px rgba(255,255,255,.8), 0 0 50px rgba(60,203,244,.45), 0 30px 60px -20px rgba(11,34,54,.5);
}
.drone__img { position: absolute; left: 0; top: -20.3%; width: 100%; height: auto; display: block; }
/* Pantalla colgante (medida sobre el original 941×1672 y pasada a la ventana). */
.drone__screen {
  position: absolute; left: 16.5%; right: 16.5%; top: 57.2%; height: 28.75%;
  display: grid; place-items: center; text-align: center;
}
.drone__msg {
  grid-area: 1 / 1;
  display: flex; flex-direction: column; align-items: center; gap: 1.8cqw;
  transition: opacity .35s ease, transform .35s ease;
}
/* Mismo neón de acero que «Personalizadas» en la cabecera. */
.drone__title {
  position: relative;
  font-family: "Montserrat Neon", Montserrat, system-ui, sans-serif;
  font-weight: 600; font-size: 9cqw; line-height: 1.1;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(170, 184, 200, .35);
  -webkit-text-stroke: .13em #7d8896;
  paint-order: stroke fill;
  filter: drop-shadow(0 .035em .03em rgba(20, 30, 45, .4));
}
.drone__title::before, .drone__title::after {
  content: attr(data-text);
  content: attr(data-text) / "";
  position: absolute; inset: 0; color: transparent;
}
.drone__title::before { -webkit-text-stroke: .085em #e4e9ef; }
.drone__title::after {
  -webkit-text-stroke: .026em #dff7ff;
  filter: drop-shadow(0 0 .02em #8fdcff) drop-shadow(0 0 .07em rgba(47, 168, 255, .85)) drop-shadow(0 0 .2em rgba(47, 168, 255, .35));
}
.drone__sub { font-size: max(12px, 3.1cqw); font-weight: 600; color: #0B2A42; }
.drone__check { width: 8cqw; height: 8cqw; color: #139FD0; filter: drop-shadow(0 0 .6cqw rgba(47, 184, 255, .9)); }
.drone__msg--sent { opacity: 0; visibility: hidden; }
.drone.is-sent .drone__msg--idle { opacity: 0; transform: scale(.96); }
.drone.is-sent .drone__msg--sent { visibility: visible; animation: neon-on 1.1s steps(1, end) .2s forwards; }
.drone.is-sending .drone__msg--idle { animation: screen-pulse .9s ease-in-out infinite; }
@keyframes screen-pulse { 50% { opacity: .35; } }

.form { flex: 1 1 480px; border-radius: 30px; padding: 42px; display: flex; flex-direction: column; gap: 18px; }
.form__kicker { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--cyan-text); text-transform: uppercase; }
.form__kicker .dot { background: var(--cyan); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lbl { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; }
.lbl small { font-size: 15px; font-weight: 400; color: #4F6577; }
.lbl textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.need { border: 0; display: flex; flex-direction: column; gap: 8px; }
.need legend { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.need__opts { display: flex; gap: 10px; flex-wrap: wrap; }
.need__opt { position: relative; cursor: pointer; }
.need__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.need__opt span {
  display: block;
  font-weight: 600; font-size: 14px;
  padding: 10px 18px; border-radius: 999px;
}
.need__opt input:checked + span {
  background: linear-gradient(180deg, #A6EEFF 0%, var(--cyan) 50%, #139FD0 100%);
  color: #062033; border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -3px 8px rgba(0,60,100,.25), 0 0 22px rgba(60,203,244,.5);
}
.need__opt input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.need__opt:hover input:not(:checked) + span { border-color: #139FD0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: #139FD0; }
.form__send { font: inherit; font-weight: 800; font-size: 17px; padding: 18px; }
.form__send:disabled { opacity: .65; cursor: progress; }
.form__status { min-height: 1.4em; font-size: 15px; font-weight: 600; color: #075A7D; }
.form__status.is-error { color: #A1192B; }
.form.is-sent .form__status { padding: 12px 16px; border-radius: 12px; background: rgba(60,203,244,.16); border: 1px solid rgba(7,106,147,.3); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- WhatsApp flotante y barra móvil ---------- */
.wa-float {
  position: fixed; right: 28px; bottom: 28px; z-index: 40;
  width: 62px; height: 62px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #4CD98A, #1FA855 55%, #168A45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 0 0 6px rgba(31,168,85,.18), 0 0 30px rgba(31,168,85,.5), 0 12px 30px rgba(0,0,0,.3);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }
.mbar { display: none; }

/* =========================================================
   ADAPTACIÓN
   ========================================================= */
@media (max-width: 1180px) {
  .hero__mods { display: none; }
  .hero__ui { padding-left: var(--gutter); padding-right: var(--gutter); }
}
@media (max-width: 1080px) {
  .site-head { left: 16px; right: 16px; top: 12px; padding: 10px 10px 10px 18px; gap: 12px; }
  .site-head__toggle { display: inline-flex; }
  .site-head__cta { margin-left: auto; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    display: none;
    padding: 10px; border-radius: 20px;
    background: #0A1F33;
    border: 1px solid rgba(60,203,244,.45);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  }
  .site-head.is-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 4px; border-radius: 14px; background: none; border: 0; padding: 0; font-size: 17px; }
  .site-nav a { padding: 14px 16px; border-radius: 12px; }
}
@media (max-width: 900px) {
  .section { padding: 84px var(--gutter); }
  .pricing { grid-template-columns: 1fr; max-width: 520px; margin: 56px auto 0; gap: 24px; }
  .plan--featured { transform: none; order: -1; }
  .proj-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; gap: 40px; }
  .tilt-l, .tilt-r { transform: none; }
  .feature:nth-child(2) { margin-left: 0; }
  .intro__grid, .contact__grid { gap: 40px; }
}
@media (max-width: 760px) {
  :root { --head-h: 70px; }
  /* Cristal más ligero en móvil y sin reflejos. */
  .glass { -webkit-backdrop-filter: blur(10px) saturate(150%); backdrop-filter: blur(10px) saturate(150%); }
  .glass-d { -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%); }
  .reflect { -webkit-box-reflect: none; }
  .brand .cube { width: 34px; height: 34px; }
  .brand__name { font-size: 19px; }

  .hero__shade { background: linear-gradient(to top, rgba(5,18,32,.75), rgba(5,18,32,.25) 55%, rgba(5,18,32,0) 75%); }
  .hero__ui { align-items: flex-end; padding: calc(var(--head-h) + 24px) 14px 96px; }
  .hero__panel { padding: 26px 22px 24px; border-radius: 24px; }
  .corner { width: 16px; height: 16px; }
  .corner--tl { top: 10px; left: 10px; } .corner--br { bottom: 10px; right: 10px; }
  .hero__badge { font-size: 11px; padding: 7px 12px; letter-spacing: .12em; }
  .hero__title { margin-top: 16px; font-size: clamp(32px, 9vw, 40px); }
  .hero__lead { margin-top: 14px; font-size: 16px; }
  .hero__actions { margin-top: 22px; gap: 10px; }
  .hero__actions .btn, .hero__actions .btn-g { flex: 1 1 100%; font-size: 16px; padding: 15px 20px; }
  .chips { margin-top: 18px; gap: 8px; font-size: 13px; }
  .chips li { padding: 6px 10px; }
  .hero__mouse { display: none; }

  .intro__text p:not(.eyebrow) { font-size: 17px; }
  .feature { padding: 20px; gap: 16px; align-items: flex-start; }
  .feature .cube { width: 50px; height: 50px; border-radius: 14px; }
  .plan { padding: 30px 24px; }
  .proj__screen { height: 190px; }
  .proj__info { margin-top: 16px; }
  .form { padding: 26px 20px; border-radius: 24px; }
  .form__row { grid-template-columns: 1fr; }
  .contact__drone { max-width: 360px; align-self: center; }
  .contact__direct > a { flex: 1 1 auto; justify-content: center; }

  /* Barra inferior: WhatsApp + Llamar. */
  .wa-float { display: none; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(6, 21, 36, .9);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(60,203,244,.45);
  }
  .mbar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; border-radius: 999px;
    font-weight: 700; font-size: 16px; text-decoration: none;
  }
  .mbar svg { width: 20px; height: 20px; flex: none; }
  .mbar__call { padding: 0 12px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}
/* Móvil en vertical: el vídeo es una franja en el centro (100vw × ~43vw).
   El panel va pequeño, justo debajo de esa franja, sin taparla. */
@media (max-width: 760px) and (max-aspect-ratio: 4/5) {
  .hero__shade { display: none; }
  .hero__ui {
    top: calc(50% + 21vw);
    bottom: calc(68px + env(safe-area-inset-bottom)); /* encima de la barra WhatsApp/Llamar */
    align-items: center; justify-content: center;
    padding: 10px 14px;
  }
  .hero__panel { width: 100%; padding: 16px; border-radius: 18px; }
  .corner { width: 12px; height: 12px; }
  .corner--tl { top: 7px; left: 7px; } .corner--br { bottom: 7px; right: 7px; }
  .hero__badge { font-size: 10px; padding: 5px 10px; gap: 8px; }
  .hero__title { margin-top: 10px; font-size: clamp(21px, 6.4vw, 27px); line-height: 1.08; }
  .hero__lead { margin-top: 6px; font-size: 13.5px; line-height: 1.4; }
  .hero__actions { margin-top: 12px; gap: 8px; flex-wrap: nowrap; }
  .hero__actions .btn, .hero__actions .btn-g { flex: 1 1 auto; min-width: 0; font-size: 13px; padding: 11px 8px; white-space: nowrap; text-align: center; }
  .hero__actions .btn { flex-grow: 2; }
  .chips { display: none; }
}
/* Móviles bajos: no hay sitio para la frase de apoyo debajo del vídeo. */
@media (max-width: 760px) and (max-aspect-ratio: 4/5) and (max-height: 720px) {
  .hero__lead { display: none; }
  .hero__ui { padding-top: 4px; padding-bottom: 4px; }
  .hero__title { margin-top: 8px; }
  .hero__actions { margin-top: 10px; }
}
/* Móviles muy estrechos (≤ 359 px): no caben dos botones; se queda el principal. */
@media (max-width: 359px) and (max-aspect-ratio: 4/5) {
  .hero__actions .btn-g { display: none; }
}
@media (max-width: 420px) {
  .site-head__cta { display: none; }
  .site-head__toggle { margin-left: auto; }
}

/* Movimiento reducido: sin animaciones ni inclinaciones. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .tilt-l, .tilt-r { transform: none; }
  .plan--featured { transform: none; }
  .neon.is-on { opacity: 1; }
  .drone.is-sent .drone__msg--sent { opacity: 1; }
  html { scroll-behavior: auto; }
}
