/* Poniente Live — hoja de estilos
   Estética "sala de realización": fondo nocturno, rojo de emisión y luz de atardecer del Poniente. */

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../fonts/sora-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #06080d;
  --bg-2: #0b0f18;
  --surface: #111827;
  --surface-2: #161f31;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef2f8;
  --muted: #a3aec2;
  --faint: #6f7b92;
  --live: #ff3b3b;
  --live-deep: #d11f2e;
  --sun: #ff9f1c;
  --sun-soft: #ffd166;
  --cyan: #3dd6f5;
  --ok: #2ee59d;
  --grad: linear-gradient(120deg, #ff3b3b 0%, #ff6a2b 45%, #ff9f1c 100%);
  --grad-soft: linear-gradient(120deg, rgba(255, 59, 59, 0.16), rgba(255, 159, 28, 0.12));
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --glow: 0 10px 40px -8px rgba(255, 80, 40, 0.55);
  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 12% -10%, rgba(255, 122, 40, 0.14), transparent 60%),
    radial-gradient(900px 500px at 100% 20%, rgba(255, 59, 59, 0.1), transparent 60%),
    radial-gradient(900px 700px at 50% 120%, rgba(61, 214, 245, 0.06), transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--sun);
  color: #111;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

.container {
  width: min(var(--container), 100% - 32px);
  margin-inline: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  font-weight: 650;
}

p {
  margin: 0 0 1em;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sun-soft);
  margin-bottom: 18px;
}

.section {
  padding: clamp(56px, 7vw, 96px) 0;
  position: relative;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head p {
  color: var(--muted);
  font-size: 1.12rem;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--glow);
}
.btn-primary:hover {
  box-shadow: 0 14px 50px -6px rgba(255, 80, 40, 0.75);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn-wa {
  background: #25d366;
  color: #04220f;
}
.btn-wa:hover {
  box-shadow: 0 12px 40px -10px rgba(37, 211, 102, 0.7);
}
.btn-sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.92rem;
}
.btn-block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.link-arrow {
  color: var(--sun-soft);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.link-arrow:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(6, 8, 13, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  border-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.logo svg {
  width: 36px;
  height: 36px;
}
.logo b {
  color: var(--live);
  font-weight: 700;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 550;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}
.nav-open .nav-toggle span {
  background: transparent;
}
.nav-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}
.nav-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--header-h) + clamp(40px, 7vw, 90px)) 0 clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: rgba(255, 59, 59, 0.12);
  border: 1px solid rgba(255, 59, 59, 0.35);
  color: #ffd9d9;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.dot-live {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.7);
  animation: pulse 1.8s infinite;
  flex: none;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 59, 59, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 59, 59, 0);
  }
}
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5.4rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}
.hero-lead {
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.hero-wa {
  color: var(--muted);
  font-size: 0.95rem;
}
.hero-wa a {
  color: #7ff0ab;
  font-weight: 600;
}
.trust {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 0.92rem;
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust svg {
  width: 18px;
  height: 18px;
  color: var(--ok);
}

/* ---------- Mesa de realización (visual del hero) ---------- */
.switcher {
  position: relative;
  border-radius: 26px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow), 0 0 120px -40px rgba(255, 100, 40, 0.45);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transform-origin: left center;
}
.switcher::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 26px;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255, 120, 60, 0.6), transparent 40%, transparent 70%, rgba(61, 214, 245, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.monitor {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
.monitor .scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
}
.monitor .scene.is-active {
  opacity: 1;
}
.scene svg {
  width: 100%;
  height: 100%;
}
.hud {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hud-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--live);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  border-radius: 6px;
}
.badge-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: blink 1.2s steps(2, start) infinite;
}
@keyframes blink {
  to {
    visibility: hidden;
  }
}
.timecode {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  background: rgba(0, 0, 0, 0.55);
  color: #e8ecf3;
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: 0.06em;
}
.lower-third {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  align-items: stretch;
  max-width: 78%;
  animation: lt-in 0.6s ease both;
}
.lower-third::before {
  content: "";
  width: 6px;
  background: var(--grad);
  border-radius: 3px 0 0 3px;
}
.lower-third div {
  background: rgba(8, 10, 16, 0.86);
  backdrop-filter: blur(6px);
  padding: 8px 14px;
  border-radius: 0 8px 8px 0;
}
.lower-third strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 1.3vw, 0.98rem);
  line-height: 1.25;
}
.lower-third span {
  display: block;
  font-size: clamp(0.66rem, 1vw, 0.78rem);
  color: var(--muted);
}
@keyframes lt-in {
  from {
    transform: translateX(-12px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.cams {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.cam {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  background: #000;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.cam:hover {
  transform: translateY(-2px);
}
.cam .scene {
  position: absolute;
  inset: 0;
}
.cam-label {
  position: absolute;
  left: 6px;
  top: 6px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.6);
}
.cam.is-program {
  border-color: var(--live);
  box-shadow: 0 0 0 1px var(--live), 0 0 24px -4px rgba(255, 59, 59, 0.7);
}
.cam.is-program .cam-label {
  background: var(--live);
}
.cam.is-preview {
  border-color: var(--ok);
}
.switcher-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 0.74rem;
  color: var(--faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.04em;
}
.switcher-bar .rec {
  color: var(--live);
  font-weight: 700;
}
.signal {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  margin-right: 6px;
}
.signal i {
  width: 3px;
  background: var(--ok);
  border-radius: 1px;
  animation: sig 1.6s ease-in-out infinite;
}
.signal i:nth-child(1) {
  height: 40%;
}
.signal i:nth-child(2) {
  height: 65%;
  animation-delay: 0.2s;
}
.signal i:nth-child(3) {
  height: 85%;
  animation-delay: 0.4s;
}
.signal i:nth-child(4) {
  height: 100%;
  animation-delay: 0.6s;
}
@keyframes sig {
  50% {
    opacity: 0.45;
  }
}
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(14, 19, 32, 0.92);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  backdrop-filter: blur(10px);
  animation: bob 6s ease-in-out infinite;
}
.float-card strong {
  display: block;
  font-size: 0.95rem;
  font-family: var(--font-display);
}
.float-card small {
  color: var(--muted);
}
.float-card .ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  color: var(--sun-soft);
}
.float-card .ico svg {
  width: 18px;
  height: 18px;
}
.float-a {
  left: -34px;
  top: 22%;
}
.float-b {
  right: -26px;
  top: 46%;
  animation-delay: -3s;
}
@keyframes bob {
  50% {
    transform: translateY(-8px);
  }
}

/* ---------- Marquesina ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 600;
  color: rgba(238, 242, 248, 0.55);
  white-space: nowrap;
}
.marquee span::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Tarjetas genéricas ---------- */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.card:hover {
  border-color: var(--line-strong);
}

/* Sectores */
.sectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sector {
  overflow: hidden;
}
.sector:hover {
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}
.sector .ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid rgba(255, 140, 60, 0.25);
  color: var(--sun-soft);
  margin-bottom: 20px;
}
.sector .ico svg {
  width: 26px;
  height: 26px;
}
.sector p {
  color: var(--muted);
  margin-bottom: 14px;
}
.sector .tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--sun-soft);
  background: rgba(255, 159, 28, 0.1);
  border-radius: 999px;
  padding: 4px 12px;
}
.sector.featured {
  grid-row: span 1;
  background:
    radial-gradient(500px 200px at 100% 0%, rgba(255, 110, 40, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 140, 60, 0.3);
}
.note-line {
  margin-top: 22px;
  color: var(--muted);
  text-align: center;
}

/* Paquetes */
.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pkg {
  display: flex;
  flex-direction: column;
}
.pkg.is-featured {
  border-color: rgba(255, 90, 50, 0.55);
  background:
    radial-gradient(400px 220px at 50% -10%, rgba(255, 90, 50, 0.2), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 30px 80px -40px rgba(255, 80, 40, 0.6);
}
.pkg-badge {
  position: absolute;
  top: -12px;
  right: 22px;
  background: var(--grad);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.pkg h3 {
  margin-bottom: 6px;
}
.pkg-ideal {
  color: var(--faint);
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
}
.price small {
  color: var(--muted);
  font-size: 0.85rem;
}
.price strong {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
  flex: 1;
}
.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #d6dde9;
  font-size: 0.95rem;
}
.checks li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306080d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 12px no-repeat,
    var(--ok);
}
.extras-line {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.88rem;
  color: #d6dde9;
}
.chip b {
  color: var(--text);
}

/* ---------- Calculadora ---------- */
.calc {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 24px;
  align-items: start;
}
.calc-form {
  display: grid;
  gap: 18px;
}
.step {
  padding: 24px;
}
.step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.08rem;
}
.step-num {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}
.opt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.opt-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.opt {
  position: relative;
}
.opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.opt label {
  display: block;
  height: 100%;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.opt label:hover {
  border-color: rgba(255, 159, 28, 0.5);
}
.opt label strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.3;
  margin-bottom: 4px;
}
.opt label small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}
.opt label .opt-price {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--sun-soft);
}
.opt input:checked + label {
  border-color: var(--sun);
  background: rgba(255, 159, 28, 0.08);
  box-shadow: 0 0 0 1px var(--sun) inset;
}
.opt input:focus-visible + label {
  outline: 2px solid var(--sun);
  outline-offset: 2px;
}
.steppers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
}
.stepper span {
  font-size: 0.92rem;
  line-height: 1.3;
}
.stepper small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}
.stepper-ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stepper-ctrl button {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}
.stepper-ctrl button:hover {
  background: rgba(255, 255, 255, 0.12);
}
.stepper-ctrl output {
  min-width: 20px;
  text-align: center;
  font-weight: 700;
}
.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  font-size: 0.92rem;
  color: #d6dde9;
}
.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--sun);
  flex: none;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #d6dde9;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field select option {
  background: var(--surface);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sun);
  background: rgba(255, 255, 255, 0.07);
}
.field input[type="date"] {
  color-scheme: dark;
}
.fields-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.avail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted);
  min-height: 22px;
}
.avail.is-free {
  color: var(--ok);
}
.avail.is-busy {
  color: #ff8a8a;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.quote {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 28px;
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(255, 110, 40, 0.16), transparent 70%),
    linear-gradient(180deg, #121a2b, #0d1320);
  border: 1px solid rgba(255, 140, 60, 0.28);
  box-shadow: var(--shadow);
}
.quote-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.quote-head h3 {
  margin: 0;
}
.quote-lines {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 10px;
}
.quote-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.95rem;
  color: #d6dde9;
}
.quote-lines li span:last-child {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.quote-sums {
  border-top: 1px dashed var(--line-strong);
  padding-top: 14px;
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--muted);
}
.quote-sums div {
  display: flex;
  justify-content: space-between;
}
.quote-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 16px 0 6px;
}
.quote-total span {
  color: var(--muted);
}
.quote-total strong {
  font-family: var(--font-display);
  font-size: 2.3rem;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.quote-deposit {
  font-size: 0.9rem;
  color: var(--sun-soft);
  margin-bottom: 18px;
}
.quote-warn {
  font-size: 0.85rem;
  color: #ffcf8a;
  background: rgba(255, 159, 28, 0.08);
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 14px;
}
.quote-warn:empty {
  display: none;
}
.quote-actions {
  display: grid;
  gap: 10px;
}
.quote-fine {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--faint);
}
.center-text {
  text-align: center;
}
.lead-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.lead-form[hidden] {
  display: none;
}
.form-msg {
  font-size: 0.9rem;
  border-radius: 10px;
  padding: 10px 12px;
}
.form-msg:empty {
  display: none;
}
.form-msg.ok {
  background: rgba(46, 229, 157, 0.1);
  color: #9ff5cf;
}
.form-msg.err {
  background: rgba(255, 59, 59, 0.1);
  color: #ffb3b3;
}

.calc-sticky {
  display: none;
}

/* ---------- Proceso ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: s;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, var(--live), var(--sun), rgba(255, 159, 28, 0.1));
  opacity: 0.6;
}
.steps li {
  position: relative;
  padding-top: 76px;
}
.steps li::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 6px var(--bg);
}
.steps li:first-child::before {
  background: var(--grad);
  border: none;
}
.steps h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.steps p {
  color: var(--muted);
  font-size: 0.93rem;
}

/* ---------- Ventajas ---------- */
.why {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.why-item .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: rgba(61, 214, 245, 0.1);
  color: var(--cyan);
}
.why-item .ico svg {
  width: 22px;
  height: 22px;
}
.why-item p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}
.big-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 650;
}

/* ---------- Cobertura ---------- */
.coverage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.map-card {
  padding: 18px;
  overflow: hidden;
}
.map-card svg {
  width: 100%;
  height: auto;
}
.map-label {
  font-family: var(--font);
  font-size: 13px;
  fill: #cfd6e3;
}
.map-label.base {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  fill: #fff;
}
.map-zone-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  fill: rgba(255, 209, 102, 0.75);
}
.zones {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.zones li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
}
.zone-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--font-display);
  background: rgba(255, 255, 255, 0.06);
}
.zones li:first-child .zone-num {
  background: var(--grad);
}
.zones strong {
  display: block;
  font-size: 0.98rem;
}
.zones small {
  color: var(--muted);
  font-size: 0.84rem;
}
.zone-price {
  font-weight: 700;
  white-space: nowrap;
  color: var(--sun-soft);
}

/* ---------- Asistente (sección) ---------- */
.ai-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 28px;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(255, 90, 50, 0.22), transparent 65%),
    radial-gradient(600px 300px at 100% 100%, rgba(61, 214, 245, 0.14), transparent 65%),
    linear-gradient(180deg, #111827, #0b101b);
  border: 1px solid var(--line-strong);
}
.ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.ai-chips button {
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 16px;
  font-size: 0.9rem;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.ai-chips button:hover {
  background: rgba(255, 159, 28, 0.12);
  border-color: rgba(255, 159, 28, 0.5);
}
.demo-chat {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(6, 8, 13, 0.6);
  border: 1px solid var(--line);
}
.demo-chat .caption {
  font-size: 0.78rem;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 880px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faq details[open] {
  border-color: rgba(255, 159, 28, 0.35);
  background: rgba(255, 255, 255, 0.045);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-weight: 650;
  font-size: 1.04rem;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--sun-soft);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq details p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--muted);
}

/* ---------- Contacto ---------- */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}
.contact-cards {
  display: grid;
  gap: 14px;
}
.contact-card {
  display: flex;
  gap: 16px;
  align-items: center;
  text-decoration: none;
}
.contact-card:hover {
  transform: translateY(-3px);
}
.contact-card .ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
  background: rgba(255, 255, 255, 0.06);
}
.contact-card .ico svg {
  width: 26px;
  height: 26px;
}
.contact-card.wa .ico {
  background: #25d366;
  color: #04220f;
}
.contact-card small {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}
.contact-card strong {
  font-size: 1.05rem;
}
.contact-form {
  display: grid;
  gap: 14px;
}

/* ---------- CTA final y pie ---------- */
.final-cta {
  text-align: center;
  padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 60px);
  border-radius: 28px;
  background:
    radial-gradient(700px 300px at 50% 120%, rgba(255, 90, 40, 0.45), transparent 70%),
    linear-gradient(180deg, #121a2b, #0a0e17);
  border: 1px solid rgba(255, 140, 60, 0.3);
  overflow: hidden;
  position: relative;
}
.final-cta h2 {
  max-width: 780px;
  margin-inline: auto;
}
.final-cta p {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 28px;
}
.final-cta .hero-actions {
  justify-content: center;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 110px;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.footer-grid h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 14px;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer-grid a {
  text-decoration: none;
}
.footer-grid a:hover {
  color: var(--text);
}
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--faint);
}

/* ---------- Animación de aparición ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal-d1 {
  transition-delay: 0.08s;
}
.reveal-d2 {
  transition-delay: 0.16s;
}
.reveal-d3 {
  transition-delay: 0.24s;
}

/* ---------- Widget de chat ---------- */
.chat-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 0 8px;
  height: 60px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, #1a2336, #0f1522);
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 90, 50, 0.25);
  cursor: pointer;
  font-weight: 650;
  transition: transform 0.2s ease;
}
.chat-launcher:hover {
  transform: translateY(-3px);
}
.chat-launcher .avatar {
  width: 44px;
  height: 44px;
}
.chat-launcher .dot-live {
  position: absolute;
  top: 8px;
  left: 40px;
  width: 11px;
  height: 11px;
  border: 2px solid #0f1522;
}
.chat-teaser {
  position: fixed;
  right: 20px;
  bottom: 92px;
  z-index: 60;
  max-width: 260px;
  padding: 14px 38px 14px 16px;
  border-radius: 16px 16px 4px 16px;
  background: #f5f7fb;
  color: #0b0f18;
  font-size: 0.92rem;
  font-weight: 550;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7);
  cursor: pointer;
  animation: teaser-in 0.4s ease both;
}
.chat-teaser button {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #4a5568;
  font-size: 1.1rem;
  border-radius: 50%;
}
@keyframes teaser-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
}
.avatar {
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  flex: none;
}
.avatar svg {
  width: 60%;
  height: 60%;
}
.chat-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  width: min(410px, calc(100vw - 24px));
  height: min(660px, calc(100dvh - 40px));
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: #0c111c;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 90, 50, 0.15);
  transform-origin: bottom right;
  animation: panel-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.chat-panel[hidden] {
  display: none;
}
@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  background:
    radial-gradient(300px 120px at 0% 0%, rgba(255, 90, 50, 0.28), transparent 70%),
    #111827;
  border-bottom: 1px solid var(--line);
}
.chat-head .avatar {
  width: 40px;
  height: 40px;
}
.chat-head-text {
  flex: 1;
  min-width: 0;
}
.chat-head-text strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.2;
}
.chat-head-text small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.8rem;
}
.chat-head-text small i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  cursor: pointer;
  text-decoration: none;
  flex: none;
}
.icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
}
.icon-btn.wa {
  background: #25d366;
  border-color: #25d366;
  color: #04220f;
}
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}
.msg {
  max-width: 88%;
  padding: 11px 14px;
  border-radius: 18px;
  font-size: 0.94rem;
  line-height: 1.5;
  word-wrap: break-word;
  animation: msg-in 0.22s ease both;
}
@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.msg p {
  margin: 0 0 0.5em;
}
.msg p:last-child {
  margin: 0;
}
.msg ul {
  margin: 0.3em 0 0.5em;
  padding-left: 1.2em;
}
.msg a {
  color: var(--sun-soft);
}
.msg.bot {
  align-self: flex-start;
  background: #182033;
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
}
.msg.user {
  align-self: flex-end;
  background: var(--grad);
  color: #fff;
  border-bottom-right-radius: 6px;
}
.msg.status {
  align-self: flex-start;
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 2px 6px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.typing {
  display: inline-flex;
  gap: 4px;
}
.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing 1.2s infinite ease-in-out;
}
.typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes typing {
  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
.chat-card {
  align-self: stretch;
  border-radius: 16px;
  padding: 14px;
  background: linear-gradient(180deg, #1a2336, #131a29);
  border: 1px solid rgba(255, 140, 60, 0.3);
  font-size: 0.9rem;
  animation: msg-in 0.22s ease both;
}
.chat-card h4 {
  font-size: 0.95rem;
  margin: 0 0 8px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.chat-card h4 span {
  color: var(--muted);
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.8rem;
}
.chat-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: grid;
  gap: 4px;
  color: #cfd6e3;
}
.chat-card li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.chat-card .tot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px dashed var(--line-strong);
  padding-top: 8px;
  margin-bottom: 10px;
}
.chat-card .tot strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.chat-card .tot small {
  color: var(--muted);
}
.chat-card .row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chat-card.ok {
  border-color: rgba(46, 229, 157, 0.4);
}
.quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: stretch;
}
.quick button {
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid rgba(255, 159, 28, 0.45);
  background: rgba(255, 159, 28, 0.08);
  color: #ffe2b8;
  padding: 7px 13px;
  font-size: 0.85rem;
  transition: background 0.15s ease;
}
.quick button:hover {
  background: rgba(255, 159, 28, 0.2);
}
.chat-foot {
  border-top: 1px solid var(--line);
  padding: 10px 12px 12px;
  background: #0e1420;
}
.chat-input {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.chat-input textarea {
  flex: 1;
  resize: none;
  min-height: 46px;
  max-height: 120px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  line-height: 1.4;
  font-size: 0.95rem;
}
.chat-input textarea:focus {
  outline: none;
  border-color: var(--sun);
}
.chat-send {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: none;
  background: var(--grad);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex: none;
  color: #fff;
}
.chat-send[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.chat-send svg {
  width: 20px;
  height: 20px;
}
.chat-legal {
  margin: 8px 2px 0;
  font-size: 0.72rem;
  color: var(--faint);
  line-height: 1.4;
}
.chat-legal a {
  color: var(--muted);
}

/* ---------- Páginas legales ---------- */
.legal-page {
  padding: calc(var(--header-h) + 50px) 0 80px;
}
.legal-page .container {
  max-width: 820px;
}
.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}
.legal-page h2 {
  font-size: 1.35rem;
  margin-top: 1.8em;
}
.legal-page p,
.legal-page li {
  color: #cfd6e3;
}
.pending {
  background: rgba(255, 159, 28, 0.12);
  color: #ffd79a;
  padding: 0 6px;
  border-radius: 4px;
}
.notice {
  border: 1px solid rgba(255, 159, 28, 0.4);
  background: rgba(255, 159, 28, 0.08);
  border-radius: 14px;
  padding: 14px 18px;
  color: #ffe2b8;
  font-size: 0.95rem;
}

/* ---------- Admin ---------- */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.admin-table th,
.admin-table td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.admin-table th {
  color: var(--muted);
  font-weight: 600;
}
.table-wrap {
  overflow-x: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-open .nav {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    background: rgba(6, 8, 13, 0.97);
    border-bottom: 1px solid var(--line);
  }
  .nav-open .nav a {
    padding: 14px 12px;
    font-size: 1.05rem;
  }
  .nav-open .site-header {
    background: rgba(6, 8, 13, 0.97);
  }
  .hero-grid,
  .calc,
  .why,
  .coverage,
  .ai-band,
  .contact {
    grid-template-columns: 1fr;
  }
  .switcher {
    transform: none;
    max-width: 680px;
  }
  .quote {
    position: static;
  }
  .calc-sticky {
    display: flex;
    position: sticky;
    bottom: 12px;
    z-index: 5;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 10px 10px 18px;
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.94);
    border: 1px solid rgba(255, 140, 60, 0.4);
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
  }
  .calc-sticky strong {
    font-family: var(--font-display);
    font-size: 1.2rem;
  }
  .calc-sticky small {
    color: var(--muted);
  }
  .sectors,
  .packages {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }
  .steps::before {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }
  .header-cta .btn-primary {
    display: none;
  }
  .sectors,
  .packages,
  .why-list,
  .steps {
    grid-template-columns: 1fr;
  }
  .opt-grid {
    grid-template-columns: 1fr 1fr;
  }
  .opt-grid.cols-2,
  .steppers,
  .fields-2 {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .float-a {
    left: -6px;
    top: 18%;
  }
  .float-b {
    right: -6px;
    top: 44%;
  }
  .float-card {
    display: none;
  }
  .calc-sticky {
    margin-right: 72px;
  }
  .card {
    padding: 22px;
  }
  .step {
    padding: 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .chat-launcher .label {
    display: none;
  }
  .chat-launcher {
    padding: 0 8px;
  }
  .chat-panel {
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .marquee-track {
    animation: none;
  }
}

.section-tight {
  margin-top: 24px;
}
