/* =========================================
   GONZALO TV — ESTILOS GENERALES
   ========================================= */

:root {
  --bg: #07101f;
  --bg-soft: #0b1830;
  --panel: #101f39;
  --panel-light: #142846;
  --blue: #168cff;
  --blue-light: #54b7ff;
  --cyan: #61e0ff;
  --text: #f4f8ff;
  --muted: #a9bad2;
  --green: #21c77a;
  --border: rgba(110, 174, 255, 0.2);
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(22, 140, 255, 0.12), transparent 40%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body,
button,
input {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

img {
  max-width: 100%;
}

span {
  color: var(--blue-light);
}

p {
  color: var(--muted);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
strong,
b {
  color: var(--text);
}

section {
  scroll-margin-top: 85px;
}

/* =========================================
   ENCABEZADO Y NAVEGACIÓN
   ========================================= */

header {
  min-height: 76px;
  padding: 15px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: rgba(5, 13, 27, 0.92);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
  white-space: nowrap;
}

.logo span {
  color: var(--blue-light);
}

header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

header nav a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

header nav a:hover {
  color: var(--blue-light);
}

/* =========================================
   BOTONES
   ========================================= */

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 45px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: linear-gradient(135deg, #087bfa, #24a8ff);
  color: white;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 7px 25px rgba(22, 140, 255, 0.18);
  transition: transform 0.2s ease, filter 0.2s ease;
}

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

.btn.green {
  background: var(--green);
  box-shadow: 0 7px 22px rgba(33, 199, 122, 0.15);
}

.btn.outline {
  background: transparent;
  border-color: rgba(84, 183, 255, 0.5);
  box-shadow: none;
}

.btn.full {
  display: flex;
  width: 100%;
  margin-top: 20px;
}

/* =========================================
   PORTADA
   ========================================= */

.hero {
  min-height: 510px;
  padding: 80px 8%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 55px;
  overflow: hidden;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
}

.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 65px);
  line-height: 1.08;
  letter-spacing: -2px;
}

.hero h1 span {
  color: var(--blue-light);
  text-shadow: 0 0 35px rgba(22, 140, 255, 0.28);
}

.lead {
  max-width: 550px;
  margin-bottom: 27px;
  font-size: 17px;
}

.hero .btn {
  margin: 0 8px 10px 0;
}

.ticks {
  margin-top: 18px;
  font-size: 12px;
}

.art {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tv {
  width: min(100%, 390px);
  min-height: 255px;
  padding: 28px;
  border: 2px solid rgba(84, 183, 255, 0.75);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 35%, rgba(22, 140, 255, 0.35), transparent 45%),
    linear-gradient(145deg, #142b4b, #07101f);
  box-shadow:
    0 0 35px rgba(22, 140, 255, 0.18),
    inset 0 0 30px rgba(22, 140, 255, 0.07);
  text-align: center;
  transform: perspective(900px) rotateY(-7deg) rotateX(3deg);
}

.tv small {
  display: block;
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: 3px;
}

.play {
  width: 76px;
  height: 76px;
  margin: 25px auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #35b7ff, #087bfa);
  color: white;
  font-size: 28px;
  box-shadow: 0 0 35px rgba(22, 140, 255, 0.45);
}

.tv b {
  font-size: 16px;
  letter-spacing: 1px;
}

.tv p {
  margin: 10px 0 0;
  font-size: 12px;
}

.tag {
  position: absolute;
  right: -4px;
  bottom: 18px;
  padding: 13px 18px;
  border: 1px solid rgba(84, 183, 255, 0.45);
  border-radius: 12px;
  background: #10233d;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
  transform: rotate(4deg);
}

.tag b {
  color: var(--cyan);
  font-size: 13px;
}

/* =========================================
   FRANJA DE BENEFICIOS
   ========================================= */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 25px 8%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(12, 28, 51, 0.65);
}

.features > div {
  display: grid;
  grid-template-columns: 35px 1fr;
  align-items: center;
  color: var(--blue-light);
  font-size: 22px;
}

.features b {
  font-size: 13px;
}

.features small {
  grid-column: 2;
  color: var(--muted);
  font-size: 11px;
}

/* =========================================
   SERVICIOS Y PLANES
   ========================================= */

.section {
  padding: 85px 8%;
}

.heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 35px;
}

.heading h2,
.device h2 {
  margin-bottom: 0;
  font-size: clamp(29px, 4vw, 42px);
  line-height: 1.2;
}

.heading > p {
  max-width: 360px;
  margin-bottom: 5px;
  font-size: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}

.card {
  padding: 27px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(18, 37, 64, 0.98), rgba(8, 19, 36, 0.98));
  box-shadow: var(--shadow);
}

.card.featured {
  border-color: rgba(40, 160, 255, 0.75);
  box-shadow: 0 0 35px rgba(22, 140, 255, 0.1), var(--shadow);
}

.card label {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
}

.card h3 {
  margin: 10px 0;
  font-size: 26px;
}

.card > p {
  min-height: 60px;
  font-size: 13px;
}

.card ul {
  min-height: 105px;
  padding-left: 19px;
  color: var(--muted);
  font-size: 12px;
}

.card li {
  margin: 7px 0;
  line-height: 1.5;
}

/* CAJAS DE LOS PLANES */

.plans {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.plans > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  padding: 11px 12px;
  border: 1px solid rgba(110, 174, 255, 0.13);
  border-radius: 9px;
  background: rgba(5, 15, 30, 0.6);
  color: var(--muted);
  font-size: 12px;
}

.plans b {
  color: white;
  font-size: 15px;
}

.plans small {
  width: 100%;
  color: var(--cyan);
  font-size: 10px;
}

/* PRECIOS: ANTERIOR TACHADO Y PRECIO FINAL */

.plans > .plan-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: initial;
  gap: 4px 8px;
  padding: 11px 12px;
}

.plans .plan-row > span {
  color: var(--muted);
  font-size: 12px;
}

.plans .plan-price {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
  white-space: nowrap;
}

.plans .plan-price del {
  color: #8293ad;
  font-size: 11px;
  font-weight: 500;
  text-decoration: line-through;
}

.plans .plan-price b {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

/* AHORROS EN AMARILLO/NARANJA */

.plans .plan-row .saving {
  grid-column: 1 / -1;
  display: inline-block;
  width: fit-content;
  margin-top: 2px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 177, 40, 0.5);
  border-radius: 6px;
  background: rgba(255, 177, 40, 0.15);
  color: #ffc247;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.25px;
  line-height: 1.4;
}

.fine {
  margin-top: 25px;
  font-size: 11px;
  text-align: center;
}

/* DESCRIPCIÓN COMPLEMENTARIA DE LOS SERVICIOS */

.service-note {
  margin: 12px 0;
  padding: 10px 12px;
  border-left: 3px solid #38bdf8;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.08);
  font-size: 13px;
  line-height: 1.5;
}

/* =========================================
   DISPOSITIVOS
   ========================================= */

.device {
  padding: 75px 8%;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 65px;
  background: linear-gradient(110deg, #0d2039, #091426);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.device-art {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(84, 183, 255, 0.4);
  border-radius: 25px;
  background: radial-gradient(circle, rgba(22, 140, 255, 0.18), transparent 70%);
  color: var(--cyan);
  font-size: 35px;
  font-weight: 900;
  letter-spacing: 4px;
}

.device-art strong {
  color: white;
  font-size: 65px;
  text-shadow: 0 0 30px rgba(22, 140, 255, 0.65);
}

.device-art small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
}

.device > div:last-child > p:not(.eyebrow) {
  max-width: 540px;
}

/* =========================================
   SECCIÓN DEL ASISTENTE
   ========================================= */

.assistant-info {
  text-align: center;
}

.assistant-info .heading {
  display: block;
  margin-bottom: 25px;
}

.assistant-info .heading > p {
  max-width: 580px;
  margin: 15px auto 0;
}

.assistant-open-inline {
  margin: 0 auto;
}

/* =========================================
   PIE DE PÁGINA
   ========================================= */

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 45px 6% 25px;
  border-top: 1px solid var(--border);
  background: #050c18;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 13px;
}

footer > a:not(.logo) {
  color: var(--cyan);
  font-size: 13px;
}

footer small {
  margin-top: 15px;
  color: #8194af;
  font-size: 10px;
}

/* =========================================
   BOTÓN FLOTANTE DEL CHAT
   ========================================= */

.chat-float-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1999;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: linear-gradient(145deg, #29a8ff, #0869ed);
  color: white;
  box-shadow: 0 8px 35px rgba(0, 117, 255, 0.4);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-float-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 117, 255, 0.55);
}

.chat-float-icon {
  color: white;
  font-size: 30px;
  line-height: 1;
}

.chat-float-button.is-open {
  background: #172943;
}

/* =========================================
   CHAT A PANTALLA COMPLETA
   ========================================= */

.chat-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(22, 140, 255, 0.12), transparent 45%),
    #07101f;
  color: var(--text);
  box-shadow: none;
}

.chat-popup[hidden] {
  display: none !important;
}

/* ENCABEZADO DEL CHAT */

.chat-popup-header {
  flex: 0 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px clamp(15px, 4vw, 35px);
  border-bottom: 1px solid var(--border);
  background: rgba(8, 20, 38, 0.97);
}

.chat-avatar {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(84, 183, 255, 0.55);
  border-radius: 50%;
  background: linear-gradient(145deg, #123e72, #071b35);
  color: var(--cyan);
  font-size: 23px;
  box-shadow: 0 0 20px rgba(22, 140, 255, 0.15);
}

.chat-header-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.chat-header-text strong {
  font-size: 15px;
  line-height: 1.35;
}

.chat-header-text small {
  color: #a6b8d0;
  font-size: 11px;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border-radius: 50%;
  background: #32d583;
  box-shadow: 0 0 9px rgba(50, 213, 131, 0.5);
}

.chat-header-whatsapp {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(33, 199, 122, 0.4);
  border-radius: 50%;
  background: rgba(33, 199, 122, 0.12);
  color: #40df93;
  font-size: 23px;
  transition: background 0.2s ease;
}

.chat-header-whatsapp:hover {
  background: rgba(33, 199, 122, 0.25);
}

.chat-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: white;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* BIENVENIDA */

.chat-welcome {
  flex: 0 0 auto;
  padding: 10px 15px 8px;
  text-align: center;
}

.chat-welcome-symbol {
  display: none;
}

.chat-robot {
  display: block;
  width: 115px;
  height: 115px;
  max-width: 115px;
  max-height: 115px;
  margin: 0 auto 5px;
  object-fit: contain;
}

.chat-welcome h3 {
  margin: 0 0 3px;
  font-size: clamp(21px, 3vw, 27px);
}

.chat-welcome p {
  margin: 0 0 3px;
  font-size: 14px;
}

.chat-welcome small {
  color: #91a8c6;
  font-size: 11px;
}

.chat-popup.has-conversation .chat-welcome {
  display: none;
}

/* ÁREA DE MENSAJES */

.messages {
  width: 100%;
  max-width: 920px;
  flex: 1 1 0;
  min-height: 0;
  margin: 0 auto;
  padding: 18px clamp(15px, 5vw, 45px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #284c76 transparent;
}

.messages p {
  width: fit-content;
  max-width: min(80%, 680px);
  margin: 0 0 14px;
  padding: 13px 16px;
  border: 1px solid rgba(110, 174, 255, 0.16);
  border-radius: 16px 16px 16px 5px;
  background: #10213a;
  color: #e9f2ff;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.messages p.user {
  margin-left: auto;
  border-color: rgba(84, 183, 255, 0.3);
  border-radius: 16px 16px 5px 16px;
  background: linear-gradient(135deg, #075ebd, #087ee8);
  color: white;
}

.messages p.bot {
  margin-right: auto;
}

.chat-link {
  color: #71d5ff;
  text-decoration: underline;
  text-decoration-color: rgba(113, 213, 255, 0.6);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.chat-link:hover {
  color: white;
}

/* PREGUNTAS RÁPIDAS */

.quick {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  padding: 12px clamp(12px, 4vw, 30px);
  border-top: 1px solid rgba(110, 174, 255, 0.1);
  background: rgba(7, 16, 31, 0.96);
}

.quick button {
  max-width: 100%;
  padding: 9px 13px;
  border: 1px solid rgba(84, 183, 255, 0.35);
  border-radius: 20px;
  background: rgba(22, 140, 255, 0.08);
  color: #bfe7ff;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.quick button:hover {
  border-color: var(--blue-light);
  background: rgba(22, 140, 255, 0.2);
}

/* CAMPO DE MENSAJE */

.chat-form {
  width: 100%;
  max-width: 920px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  padding: 12px clamp(12px, 4vw, 30px);
  background: #07101f;
}

.chat-form input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 17px;
  border: 1px solid rgba(110, 174, 255, 0.27);
  border-radius: 15px;
  outline: none;
  background: #10213a;
  color: white;
  font-size: 14px;
}

.chat-form input::placeholder {
  color: #849ab8;
}

.chat-form input:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(22, 140, 255, 0.1);
}

.chat-form button {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(145deg, #29a8ff, #0869ed);
  color: white;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 5px 18px rgba(22, 140, 255, 0.2);
}

.chat-form button:hover {
  filter: brightness(1.12);
}

/* PIE DEL CHAT */

.chat-popup-footer {
  flex: 0 0 auto;
  padding: 0 15px 12px;
  background: #07101f;
  text-align: center;
}

.chat-popup-footer small {
  display: block;
  color: #788da9;
  font-size: 10px;
}

/* =========================================
   ACCESIBILIDAD
   ========================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* =========================================
   TABLETS
   ========================================= */

@media (max-width: 900px) {
  .hero {
    padding: 65px 6%;
    gap: 25px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card:last-child {
    grid-column: 1 / -1;
  }

  .card:last-child ul,
  .card:last-child > p {
    min-height: 0;
  }

  .device {
    gap: 35px;
  }

  header {
    padding-right: 4%;
    padding-left: 4%;
  }

  header nav {
    gap: 15px;
  }
}

/* =========================================
   CELULARES
   ========================================= */

@media (max-width: 600px) {
  html {
    scroll-padding-top: 70px;
  }

  header {
    min-height: 65px;
    padding: 11px 15px;
    gap: 10px;
  }

  .logo {
    font-size: 16px;
  }

  header nav {
    display: none;
  }

  header > .btn {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 12px;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 55px 22px 35px;
    gap: 15px;
  }

  .hero h1 {
    font-size: clamp(37px, 11vw, 52px);
    letter-spacing: -1.5px;
  }

  .lead {
    font-size: 15px;
  }

  .hero .btn {
    margin-right: 4px;
    padding: 11px 14px;
    font-size: 12px;
  }

  .art {
    min-height: 265px;
    margin-top: 5px;
  }

  .tv {
    width: 85%;
    min-height: 220px;
    padding: 23px 15px;
  }

  .tag {
    right: 0;
    bottom: 2px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 23px;
  }

  .section {
    padding: 58px 18px;
  }

  .heading {
    display: block;
    margin-bottom: 25px;
  }

  .heading > p {
    margin-top: 14px;
  }

  .heading h2,
  .device h2 {
    font-size: 31px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .card,
  .card:last-child {
    grid-column: auto;
    padding: 23px;
  }

  .card > p,
  .card ul {
    min-height: 0;
  }

  .device {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 48px 22px;
  }

  .device-art {
    min-height: 180px;
  }

  .assistant-info .heading {
    display: block;
  }

  footer {
    padding: 35px 20px 22px;
  }

  .chat-float-button {
    right: 17px;
    bottom: 17px;
    width: 58px;
    height: 58px;
  }

  .chat-popup-header {
    min-height: 68px;
    gap: 9px;
    padding: 9px 12px;
  }

  .chat-avatar {
    width: 38px;
    height: 38px;
  }

  .chat-header-text strong {
    font-size: 13px;
  }

  .chat-header-text small {
    font-size: 10px;
  }

  .chat-header-whatsapp,
  .chat-close {
    width: 38px;
    height: 38px;
  }

  .chat-welcome {
    padding: 4px 10px 5px;
  }

  .chat-robot {
    width: 75px;
    height: 75px;
    max-width: 75px;
    max-height: 75px;
    margin: 0 auto 3px;
  }

  .chat-welcome h3 {
    font-size: 18px;
    margin: 0 0 2px;
  }

  .chat-welcome p {
    font-size: 11px;
    margin: 0 0 2px;
  }

  .chat-welcome small {
    font-size: 9px;
  }

  .messages {
    padding: 12px 13px;
  }

  .messages p {
    max-width: 90%;
    padding: 11px 13px;
    font-size: 13px;
  }

  .quick {
    justify-content: flex-start;
    gap: 7px;
    padding: 9px 12px;
  }

  .quick button {
    padding: 8px 11px;
    font-size: 11px;
  }

  .chat-form {
    gap: 8px;
    padding: 9px 12px;
  }

  .chat-form input {
    height: 46px;
    padding: 0 13px;
    font-size: 13px;
  }

  .chat-form button {
    width: 46px;
    height: 46px;
  }

  .chat-popup-footer {
    padding: 0 10px 8px;
  }

  .chat-popup-footer small {
    font-size: 9px;
    line-height: 1.4;
  }

  .plans > .plan-row {
    gap: 4px 6px;
    padding: 10px;
  }

  .plans .plan-price {
    gap: 5px;
  }

  .plans .plan-price del {
    font-size: 10px;
  }

  .plans .plan-price b {
    font-size: 14px;
  }
}

/* PANTALLAS CON POCA ALTURA */

@media (max-height: 650px) {
  .chat-welcome {
    padding-top: 8px;
    padding-bottom: 6px;
  }

  .chat-welcome-symbol {
    display: none;
  }

  .chat-welcome h3 {
    font-size: 19px;
  }

  .chat-welcome p {
    margin-bottom: 0;
  }

  .chat-welcome small {
    display: none;
  }

  .quick {
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .chat-form {
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .chat-popup-footer {
    padding-bottom: 5px;
  }
}

/* =========================================
   PRECIOS: VALOR ANTERIOR + PRECIO FINAL
   ========================================= */

.plans > .plan-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: initial;
  gap: 4px 8px;
  padding: 11px 12px;
}

.plans .plan-row > span {
  color: var(--muted);
  font-size: 12px;
}

.plans .plan-price {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
  white-space: nowrap;
}

.plans .plan-price del {
  color: #8293ad;
  font-size: 11px;
  font-weight: 500;
  text-decoration: line-through;
}

.plans .plan-price b {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

/* AHORROS EN AMARILLO/NARANJA */

.plans .plan-row .saving {
  grid-column: 1 / -1;
  display: inline-block;
  width: fit-content;
  margin-top: 2px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 177, 40, 0.5);
  border-radius: 6px;
  background: rgba(255, 177, 40, 0.15);
  color: #ffc247;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.25px;
  line-height: 1.4;
}

/* =========================================
   CARRUSEL DE EXPERIENCIAS DE CLIENTES
   ========================================= */

.testimonials {
  padding-top: 72px;
  padding-bottom: 78px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(22, 140, 255, 0.09), transparent 55%),
    var(--bg);
}

.testimonials .heading {
  align-items: end;
}

.testimonials .heading h2 {
  max-width: 700px;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
}

.testimonial-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid rgba(84, 183, 255, 0.45);
  border-radius: 50%;
  background: rgba(22, 140, 255, 0.12);
  color: white;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.testimonial-arrow:hover {
  transform: translateY(-2px);
  background: rgba(22, 140, 255, 0.28);
}

.testimonial-track {
  display: grid;
  grid-auto-columns: minmax(220px, 28%);
  grid-auto-flow: column;
  gap: 18px;
  padding: 5px 2px 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #284c76 transparent;
}

.testimonial-slide {
  min-width: 0;
  margin: 0;
  padding: 10px;
  scroll-snap-align: start;
  border: 1px solid rgba(84, 183, 255, 0.3);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(18, 37, 64, 0.95), rgba(5, 13, 27, 0.98));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.testimonial-slide:hover {
  transform: translateY(-3px);
  border-color: rgba(84, 183, 255, 0.75);
}

.testimonial-slide img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: contain;
  border-radius: 10px;
  background: #050c18;
}

@media (max-width: 900px) {
  .testimonial-track {
    grid-auto-columns: minmax(220px, 42%);
  }
}

/* =========================================
   CARRUSEL CORREGIDO PARA CELULARES
   ========================================= */

@media (max-width: 600px) {
  .testimonials {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 52px 0 58px 18px;
  }

  .testimonials .heading {
    padding-right: 18px;
  }

  .testimonial-controls {
    justify-content: flex-start;
    padding-right: 18px;
  }

  .testimonial-track {
    display: grid;
    width: calc(100vw - 18px);
    max-width: calc(100vw - 18px);
    min-width: 0;
    grid-template-columns: none;
    grid-auto-columns: 78vw;
    grid-auto-flow: column;
    gap: 13px;
    padding: 5px 18px 18px 0;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  .testimonial-slide {
    width: 100%;
    min-width: 0;
    margin: 0;
    box-sizing: border-box;
    padding: 8px;
    scroll-snap-align: start;
  }

  .testimonial-slide img {
    display: block;
    width: 100%;
    height: 470px;
    max-height: 70vh;
    aspect-ratio: 9 / 16;
    object-fit: contain;
    border-radius: 10px;
    background: #050c18;
  }
}

/* =========================================
   CAMBIOS PORTADA: VIDEO Y LOGOS DE SERVICIOS
   ========================================= */
.hero-video-wrap {
  width: 100%;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transform: none;
}
.hero-video {
  display: block;
  width: min(100%, 520px);
  max-height: 390px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: 1px solid rgba(84, 183, 255, 0.65);
  border-radius: 18px;
  background: #030914;
  box-shadow: 0 0 32px rgba(22, 140, 255, 0.2);
}
.video-audio-note {
  max-width: 520px;
  margin: 0;
  color: #a9bad2;
  font-size: 11px;
  text-align: center;
}
.video-audio-note[hidden] { display: none; }
.service-logo {
  display: block;
  width: 100%;
  height: 125px;
  margin: 0 auto 18px;
  object-fit: contain;
  border: 1px solid rgba(84, 183, 255, 0.2);
  border-radius: 12px;
  background: rgba(3, 10, 22, 0.7);
}
.service-logo-future { object-position: center; }
.service-logo-titanio { object-position: center; }
.service-logo-max { object-position: center; }
@media (max-width: 600px) {
  .hero-video-wrap { padding: 0; }
  .hero-video { width: 100%; max-height: 260px; border-radius: 14px; }
  .service-logo { height: 115px; margin-bottom: 15px; }
}


/* BOTONES DE ACCIÓN DE CADA SERVICIO */
.service-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 10px;
  margin-top: 20px;
}
.service-actions .btn {
  width: 100%;
  min-width: 0;
  margin-top: 0;
  padding: 12px 10px;
  font-size: 13px;
}

/* REPRODUCTOR MODAL DE LOS SERVICIOS */
.service-video-modal[hidden] { display: none !important; }
.service-video-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 22px;
}
.service-video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 7, 18, 0.88);
  backdrop-filter: blur(7px);
}
.service-video-dialog {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  padding: 16px;
  border: 1px solid rgba(52, 174, 255, 0.65);
  border-radius: 20px;
  background: #0b1830;
  box-shadow: 0 0 45px rgba(0, 145, 255, 0.22);
}
.service-video-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.service-video-heading h2 { margin: 0; color: #f5f9ff; font-size: clamp(18px, 3vw, 25px); }
.service-video-close {
  flex: 0 0 auto; width: 40px; height: 40px;
  border: 1px solid rgba(84, 183, 255, 0.55); border-radius: 50%;
  background: #10233e; color: #fff; font-size: 26px; cursor: pointer;
}
#serviceVideoPlayer { display: block; width: 100%; max-height: min(72vh, 650px); border-radius: 12px; background: #000; }
body.service-video-open { overflow: hidden; }

@media (max-width: 600px) {
  .service-actions { grid-template-columns: 1fr; gap: 8px; }
  .service-actions .btn { min-height: 43px; }
  .service-video-modal { padding: 12px; }
  .service-video-dialog { padding: 10px; border-radius: 15px; }
  #serviceVideoPlayer { max-height: 68vh; }
}
