.hero-visual--left {
  position: fixed !important;
  left: 1cm !important;
  right: auto !important;
  top: calc(96px + 1cm) !important;
  transform: none !important;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 400;
  display: none !important; /* ocultar imagen lateral izquierda */
}

@media (min-width: 769px) {
  .logo-img {
    transform: scale(3);
    transform-origin: left center;
  }
}

nav {
  margin-left: auto;
}

.nav-links > li > a,
.nav-toggle-sub,
.nav-caret {
  color: #0b0c0f;
}

.nav-item-has-sub {
  position: relative;
}

.nav-toggle-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

.nav-caret {
  font-size: 12px;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.35);
  padding: 10px;
  min-width: 200px;
  display: none;
  z-index: 12;
}

.nav-item-has-sub.open .nav-submenu {
  display: block;
}

.nav-submenu a,
.nav-submenu button {
  width: 100%;
  text-align: left;
  display: block;
  padding: 10px 12px;
  background: transparent;
  border: none;
  color: #fff !important;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.nav-submenu a:hover,
.nav-submenu button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.card-flat {
  box-shadow: none;
  border: none;
  padding: 0;
  background: transparent;
}

.hero-visual--left img {
  width: calc(300px - 1.5cm);
  max-width: calc(340px - 1.5cm);
  max-height: calc(100vh - (96px + 1cm) - 16px);
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: contain;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  animation: none;
  cursor: default;
}
/* Diseño global para ISP multipágina */
:root {
  --bg-1: #f6f8ff;
  --bg-2: #eef2ff;
  --deep-blue: #dfe8ff;
  --electric-blue: #3b82f6; /* azul base */
  --turquoise: #22d3ee; /* acento frío */
  --violet: #7dd3fc; /* brillo suave */
  --light-gray: #0c0f18;
  --mid-gray: #9fb2d4;
  --text-dark: #0c0f18;
  --card-shadow: 0 18px 46px rgba(15, 23, 42, 0.14);
  --border: rgba(15, 23, 42, 0.10);
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --radius-lg: 18px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  background:
    radial-gradient(900px at 20% 20%, rgba(59, 130, 246, 0.10), transparent 42%),
    radial-gradient(760px at 80% 10%, rgba(34, 211, 238, 0.08), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(240, 245, 255, 0.86)),
    url('internet-safety-tips-img-23.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 16, 0.75);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open::after {
  opacity: 1;
  pointer-events: auto;
}

main {
  flex: 1;
  padding-bottom: 80px; /* espacio extra antes del footer */
}

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

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 0 0 64px;
  color: var(--text-dark);
}

header {
  background: rgba(96, 165, 255, 0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.22);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 18px 0;
  position: relative;
}

.navbar .brand {
  margin-right: auto;
}

.brand {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #ffffff;
  letter-spacing: 0.6px;
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.brand-sub {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--electric-blue);
  text-transform: uppercase;
  text-align: center;
}

.nav-links {
  display: flex;
  gap: 12px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-links a {
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  color: #0b0c0f;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.nav-links a:hover,
.nav-links a.active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(34, 211, 238, 0.25));
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transform: translateY(-2px);
}

.nav-cta {
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--electric-blue), var(--turquoise));
  color: #0a0b0e;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(59, 130, 246, 0.45);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 18px 36px rgba(59, 130, 246, 0.55);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  cursor: pointer;
  padding: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.lang-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 0;
}

.lang-dropdown {
  position: relative;
}

.lang-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lang-dropdown-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.lang-dropdown-flag {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
}

.lang-dropdown-chevron {
  width: 10px;
  height: 10px;
  border-left: 2px solid #dfe8ff;
  border-bottom: 2px solid #dfe8ff;
  transform: rotate(-45deg);
  margin-top: 2px;
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: auto;
  left: 0;
  background: rgba(8, 10, 15, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  display: none;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 150px;
}

.lang-dropdown.open .lang-dropdown-menu {
  display: flex;
}

.lang-flags {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-flag {
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lang-flag:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.lang-flag.active {
  border-color: var(--turquoise);
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.35);
}

.lang-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.lang-inline label {
  font-weight: 600;
  color: #dfe8ff;
  font-size: 14px;
}

.lang-select {
  background: #0c1020;
  color: #dfe8ff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 6px 10px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  padding: 96px 0 64px;
  position: relative;
  overflow: visible;
}

.hero .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero-visual {
  position: fixed;
  right: calc(-80px + 3.5cm);
  top: calc(96px + clamp(8px, 1vw, 16px));
  transform: none;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  z-index: 1;
  display: none !important; /* ocultar imagen lateral derecha */
}

.hero-visual img {
  width: calc(340px - 2cm);
  max-width: calc(460px - 2cm);
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  animation: none;
}

/* Ajuste para pantallas de escritorio medianas: reducir y alinear las imágenes bajo el header */
@media (max-width: 1280px) and (min-width: 769px) {
  .hero-visual--left {
    left: clamp(10px, 2vw, 18px) !important;
    top: calc(96px + clamp(6px, 0.8vw, 14px)) !important;
    transform: none !important;
  }
  .hero-visual--left img {
    width: clamp(200px, 24vw, 300px);
    max-height: calc(100vh - (96px + clamp(6px, 0.8vw, 14px)) - 16px);
    object-fit: contain;
  }
  .hero-visual {
    right: clamp(10px, 2vw, 22px);
    top: calc(96px + clamp(6px, 0.8vw, 14px));
    transform: none;
  }
  .hero-visual img {
    width: clamp(220px, 26vw, 360px);
    max-width: 100%;
    max-height: calc(100vh - (96px + clamp(6px, 0.8vw, 14px)) - 16px);
    object-fit: contain;
  }
}

@media (max-width: 1024px) {
  .hero-visual {
    position: fixed;
    right: calc(-80px + 3.5cm);
    top: calc(96px + clamp(6px, 0.8vw, 14px));
    transform: none;
    margin-top: 12px;
    pointer-events: auto;
  }
  .hero-visual--left {
    position: fixed !important;
    left: 1cm !important;
    right: auto !important;
    top: calc(96px + 1cm) !important;
    transform: none !important;
    display: flex;
  }
  .hero-visual img {
    width: 100%;
    max-width: calc(300px - 2cm);
    animation: hero-float 6s ease-in-out infinite alternate;
  }
}

@keyframes hero-float {
  0% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(8px);
  }
  100% {
    transform: translateY(-6px);
  }
}

@keyframes card-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-title {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.05;
  color: var(--text-dark);
  margin: 0 0 18px;
  letter-spacing: -0.3px;
}

.hero-sub {
  font-size: 18px;
  color: #475569;
  margin: 0 0 28px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-trust {
  margin: 14px 0 0;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
  transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--electric-blue), var(--turquoise));
  color: #0a0b0e;
  box-shadow: 0 16px 30px rgba(59, 130, 246, 0.30), 0 0 0 1px rgba(255, 255, 255, 0.22) inset;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(59, 130, 246, 0.38);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-dark);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.14);
}

.section {
  padding: 32px 0 0;
}

.section h2 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 28px;
  margin: 0 0 12px;
  color: var(--text-dark);
  letter-spacing: -0.2px;
}

.section .subtitle {
  color: #475569;
  margin-bottom: 24px;
}


.grid {
  display: grid;
  gap: 18px;
}

.grid.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background-color: var(--panel);
  background-image: var(--card-gradient, linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.84)));
  background-size: 200% 200%;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-dark);
  transition: transform 0.25s ease, box-shadow 0.3s ease, background-position 0.6s ease;
}

/* Temas de color para tarjetas generales en grillas de 3 columnas (no afecta a .plan-card) */
.grid.cols-3 > .card:nth-child(1):not(.plan-card) {
  --card-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(219, 234, 254, 0.82));
}
.grid.cols-3 > .card:nth-child(2):not(.plan-card) {
  --card-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(224, 231, 255, 0.82));
}
.grid.cols-3 > .card:nth-child(3):not(.plan-card) {
  --card-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(207, 250, 254, 0.78));
}

/* Hover sutil solo para tarjetas generales */
.card:hover:not(.plan-card) {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.92) inset;
  background-position: 100% 50%;
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: linear-gradient(120deg, rgba(59, 130, 246, 0.22), rgba(34, 211, 238, 0.18));
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.plan-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  position: relative;
  background-color: var(--panel-strong);
  background-image: var(--plan-gradient, linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(219, 234, 254, 0.84)));
  background-size: 200% 200%;
  transition: transform 0.25s ease, box-shadow 0.3s ease, background-position 0.6s ease;
  overflow: hidden;
}

.plan-card.recommended {
  border: 1px solid rgba(59, 130, 246, 0.42);
  box-shadow: 0 26px 56px rgba(59, 130, 246, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.82) inset;
}

.travel-country {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.travel-flag {
  width: 44px;
  height: 30px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.travel-country-name {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.4px;
  color: var(--text-dark);
}

.device-thumb {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: 8px;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* Temas de color por tarjeta (dentro del grid con 3 columnas de planes) */
.grid.cols-3 > .plan-card:nth-child(1) {
  --plan-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(219, 234, 254, 0.86));
}
.grid.cols-3 > .plan-card:nth-child(2) {
  --plan-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(191, 219, 254, 0.88), rgba(224, 242, 254, 0.78));
}
.grid.cols-3 > .plan-card:nth-child(3) {
  --plan-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(224, 231, 255, 0.82));
}

/* Interacción sutil */
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.92) inset;
  background-position: 100% 50%;
}

.plan-price {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 12px 0 6px;
}

.plan-meta {
  color: #475569;
  margin-bottom: 14px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  color: var(--text-dark);
}

.plan-features li {
  padding: 6px 0;
  display: flex;
  gap: 8px;
  align-items: center;
}

.tag {
  padding: 4px 10px;
  background: linear-gradient(120deg, rgba(59, 130, 246, 0.18), rgba(34, 211, 238, 0.18));
  color: #0b0f1c;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  margin-left: auto;
  margin-top: 12px;
}

.table-wrapper {
  overflow: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  background: var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  color: var(--text-dark);
}

.table-wrapper thead {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(34, 211, 238, 0.14));
  color: var(--text-dark);
}

.table-wrapper thead th {
  text-align: left;
  padding: 14px;
  font-weight: 700;
}

.table-wrapper tbody td {
  padding: 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text-dark);
}

.table-wrapper tbody tr:nth-child(even) {
  background: rgba(59, 130, 246, 0.05);
}

.table-wrapper tbody tr:hover {
  background: rgba(34, 211, 238, 0.10);
}

.faq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.faq .card h4 {
  margin: 0 0 8px;
  color: var(--text-dark);
}

.highlight {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.90), rgba(219, 234, 254, 0.80));
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.cta-panel {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.highlight-title {
  margin: 0 0 6px;
  color: var(--text-dark);
}

.highlight-title.accent {
  color: var(--deep-blue);
}

.subtitle-compact {
  margin-top: 0;
  margin-bottom: 12px;
}

.subtitle-tight {
  margin: 0;
}

.text-tight {
  margin: 0;
}

.whatsapp-consent-text {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin: 0;
}

.form-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.field-spaced {
  margin-top: 12px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.consent-checkbox {
  margin-top: 3px;
}

.form-feedback {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-dark);
}

.form-feedback.is-success {
  color: #15803d;
}

.form-feedback.is-error {
  color: #b91c1c;
}

.hero-actions-gap {
  margin-top: 16px;
}

.highlight-compact {
  margin-top: 18px;
}

.highlight-compact h4 {
  margin-top: 0;
  color: var(--text-dark);
}

.grid-stack {
  margin-bottom: 22px;
}

.section-heading {
  margin-bottom: 8px;
}

.promo-banner {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
}


.footer {
  background: #05070d;
  color: #dfe8ff;
  padding: 0; /* sin espacio extra dentro de la franja */
  height: auto; /* se adapta al alto de los logos */
  overflow: visible;
  margin-top: 12px; /* baja el inicio del pie sin engrosar la franja */
  border-top: 1px solid var(--border);
}

.footer a {
  color: #dfe8ff;
}

.footer .columns {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
  flex-direction: row;
  transform: none;
}

.rights {
  text-align: center;
  transform: translateY(0); /* sube ~1cm respecto al estado anterior */
  margin-left: 5cm; /* +1cm hacia la derecha */
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 3cm; /* separación mayor entre logos */
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  margin-bottom: 0;
  transform: translateY(36px); /* ~1cm más abajo */
}

.footer-logos img {
  height: 72px;
  width: auto;
  display: block;
  border-radius: 6px;
  background: transparent;
  padding: 2px;
  box-shadow: none;
}

.footer-logo-primary {
  height: 120px;
  width: auto;
  display: block;
  transform: scale(2.5);
  transform-origin: center;
}

.footer-logos img:nth-of-type(3) {
  height: 72px;
  transform: scale(3);
  transform-origin: center;
}

/* Solo el último logo de la fila, al doble de tamaño */
.footer-logos > img:last-of-type {
  height: 100px;
}

.footer-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
}

.footer-brand-mark img {
  height: 72px;
  width: auto;
  padding: 2px;
  background: transparent;
  box-shadow: none;
}

.footer-brand-text {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.2px;
  color: #e6edf7; /* blanco plata */
  transform: translateX(-1cm);
}

.footer .rights {
  margin: 0;
  font-size: 12px;
  color: var(--mid-gray);
  text-align: right;
  flex: 0 0 auto;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #dfe8ff;
}

.footer-links a {
  color: #dfe8ff;
  font-weight: 600;
}

.dot-sep {
  color: #94a3b8;
}

@media (max-width: 768px) {
  main {
    padding-bottom: 24px;
  }
  .container {
    padding-bottom: 32px;
  }
  .footer .columns {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .footer-logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    align-items: center;
    gap: 14px 16px;
    transform: none;
    margin-bottom: 12px;
  }
  .footer-logos img {
    height: 72px;
    transform: none;
  }
  .footer .rights {
    text-align: center;
    margin-left: 0;
  }
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  align-items: start;
}

.split-contact {
  justify-items: stretch;
  justify-content: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: min(1200px, 96vw);
  margin: 0 auto;
}

.split-contact .card,
.split-contact .card-location,
.split-contact .card-form {
  width: 100%;
  max-width: none;
}

.split-contact .card:not(.card-form),
.split-contact .card-location {
  padding: 16px 18px;
}

.split-contact .card:not(.card-form) .highlight-compact {
  margin-top: 8px;
}

.split-contact .card,
.split-contact .card-location {
  display: flex;
  flex-direction: column;
}

.split-contact .card-form {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .split-contact {
    grid-template-columns: 1fr;
  }
}

.map-embed {
  margin-top: 12px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  flex: 1 1 240px;
  min-height: 240px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: 0;
  display: block;
}

.card-form {
  grid-column: 1 / -1;
  max-width: 760px;
  width: 100%;
  justify-self: center;
}

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

form label {
  font-weight: 600;
  color: var(--text-dark);
}

form input,
form select,
form textarea {
  border: 1px solid rgba(12, 15, 24, 0.18);
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.92);
  color: #000;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

form textarea {
  min-height: 120px;
  resize: vertical;
}

.notice {
  font-size: 14px;
  color: #475569;
  margin-top: 8px;
}

.promo-backdrop,
.promo-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1300;
  padding: 18px;
}

.promo-backdrop.open,
.promo-modal-backdrop.open {
  display: flex;
}

.promo-image-wrap {
  position: relative;
  width: fit-content;
  max-width: min(92vw, 720px);
  line-height: 0;
}

.promo-image-button {
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  display: block;
  width: 100%;
}

.promo-image-button img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 86vh;
  object-fit: contain;
}

.promo-image-cta {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: min(78%, 430px);
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(3px);
  color: #39ff14;
  font-size: clamp(16px, 3.8vw, 28px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.05em;
  text-align: center;
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.95), 0 0 18px rgba(57, 255, 20, 0.75), 0 0 28px rgba(34, 211, 238, 0.55);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24), 0 0 18px rgba(57, 255, 20, 0.18);
}

.promo-image-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 8px;
  background: #dc2626;
  color: #ffffff;
  cursor: pointer;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  z-index: 1;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.promo-image-close:hover {
  background: #b91c1c;
}

.promo-modal {
  width: min(500px, 94vw);
  background: radial-gradient(circle at top left, rgba(55, 200, 255, 0.18), transparent 36%), linear-gradient(145deg, #09111f, #111827 55%, #050816);
  color: #e5edff;
  border-radius: 28px;
  border: 1px solid rgba(55, 200, 255, 0.22);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 36px rgba(55, 200, 255, 0.16);
  overflow: hidden;
  position: relative;
}

.promo-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 26px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.promo-modal-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.promo-modal-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.25;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(55, 200, 255, 0.28);
}

.promo-modal-subtitle {
  margin: 10px 0 0;
  color: #b8c7e6;
  font-size: 14px;
  line-height: 1.5;
}

.promo-modal-close {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #ffffff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.promo-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 26px 28px;
}

.promo-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.promo-field label {
  color: #cbd5f5;
  font-size: 14px;
  font-weight: 700;
}

.promo-field input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(55, 200, 255, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.promo-field input::placeholder {
  color: rgba(226, 232, 240, 0.55);
}

.promo-field input:focus {
  border-color: #37c8ff;
  box-shadow: 0 0 0 4px rgba(55, 200, 255, 0.15);
}

.promo-consents {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  padding: 14px;
  border: 1px solid rgba(55, 200, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.promo-check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: flex-start;
  color: #dbeafe;
  font-size: 13px;
  line-height: 1.35;
  cursor: pointer;
}

.promo-check input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #37c8ff;
  cursor: pointer;
}

.promo-submit {
  margin-top: 10px;
  width: 100%;
  justify-content: center;
  min-height: 54px;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.06em;
  box-shadow: 0 18px 36px rgba(59, 130, 246, 0.32);
}

.promo-success-modal {
  width: min(430px, 94vw);
  padding: 34px 28px;
  text-align: center;
  color: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  background: radial-gradient(circle at top, rgba(34, 197, 94, 0.24), transparent 42%), linear-gradient(145deg, #07131f, #0f172a);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.62), 0 0 36px rgba(34, 197, 94, 0.18);
}

.promo-success-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #14b8a6);
  color: #ffffff;
  font-size: 44px;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(34, 197, 94, 0.32);
}

.promo-success-modal h4 {
  margin: 0;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 900;
}

.promo-success-modal p {
  margin: 12px 0 24px;
  color: #cbd5e1;
  line-height: 1.55;
}

.promo-success-close {
  width: 100%;
  justify-content: center;
}

.promo-terms-modal,
.promo-duplicate-modal {
  width: min(410px, 94vw);
  padding: 30px 26px;
  text-align: center;
  color: #ffffff;
  border-radius: 26px;
  border: 1px solid rgba(248, 113, 113, 0.3);
  background: radial-gradient(circle at top, rgba(248, 113, 113, 0.22), transparent 42%), linear-gradient(145deg, #160b12, #111827);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.62), 0 0 36px rgba(248, 113, 113, 0.16);
}

.promo-terms-modal h4,
.promo-duplicate-modal h4 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
}

.promo-terms-modal p,
.promo-duplicate-modal p {
  margin: 12px 0 22px;
  color: #fecaca;
  line-height: 1.5;
}

.promo-terms-close,
.promo-duplicate-close {
  width: 100%;
  justify-content: center;
}

/* Speedtest modal */
.speedtest-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  padding: 16px;
}

.speedtest-backdrop.open {
  display: flex;
}

.speedtest-modal {
  background: #0b1220;
  color: #e5edff;
  width: min(640px, 96vw);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.speedtest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.speedtest-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.speedtest-close {
  background: transparent;
  border: none;
  color: #e5edff;
  font-size: 20px;
  cursor: pointer;
}

.speedtest-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.speedtest-actions {
  display: flex;
  justify-content: flex-start;
}

.speedtest-actions .btn {
  padding: 10px 14px;
  font-size: 14px;
}

.speedometer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 60px 20px 18px;
  position: relative;
  background: radial-gradient(circle at 50% 40%, rgba(255, 45, 85, 0.16), rgba(10, 12, 20, 0.96) 55%, rgba(3, 4, 8, 0.98));
  border-radius: 18px;
  border: 1px solid rgba(255, 45, 85, 0.3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(255, 45, 85, 0.35);
}

.speedometer-face {
  width: 380px;
  height: 300px;
  filter: drop-shadow(0 12px 28px rgba(55, 200, 255, 0.32));
}

.speedometer-needle {
  transform-origin: 160px 160px;
  transition: transform 0.5s ease;
  filter: drop-shadow(0 0 14px rgba(255, 45, 85, 0.8));
}

.speedometer-wifi {
  stroke: #ff2d55;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px rgba(255, 45, 85, 0.55));
}

.speedometer-wifi-dot {
  fill: #ff2d55;
  filter: drop-shadow(0 0 8px rgba(255, 45, 85, 0.7));
}

.speedometer-tick {
  fill: #fefce8;
  font-size: 14px;
  font-weight: 900;
  text-shadow: 0 0 12px rgba(255, 45, 85, 0.45);
}

.speedometer-labels {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  width: 100%;
  font-size: 11px;
  color: #cbd5f5;
}

.speedometer-value {
  font-weight: 700;
  color: #7af7ff;
  font-size: 20px;
  margin-bottom: 4px;
  text-shadow: 0 0 12px rgba(122, 247, 255, 0.8);
  position: absolute;
  top: 8px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gauge-left {
  color: #7af7ff;
}

.gauge-right {
  color: #ffbf40;
  text-shadow: 0 0 10px rgba(255, 45, 85, 0.7);
}

.speedtest-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.meter {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  height: 10px;
}

.meter-bar {
  height: 100%;
  background: linear-gradient(90deg, #22d3ee, #3b82f6);
  width: 0;
  transition: width 0.35s ease;
}

.speedtest-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #cbd5f5;
}

.speedtest-status {
  font-size: 13px;
  color: #9fb2d4;
}

.icon-bullet {
  width: 10px;
  height: 10px;
  background: var(--turquoise);
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}

@media (max-width: 768px) {
  .promo-modal {
    width: min(420px, 94vw);
    border-radius: 22px;
  }

  .promo-modal-head {
    padding: 18px 18px 14px;
  }

  .promo-modal-badge {
    margin-bottom: 7px;
    padding: 5px 9px;
    font-size: 10px;
  }

  .promo-modal-title {
    font-size: 20px;
  }

  .promo-modal-subtitle {
    margin-top: 6px;
    font-size: 12px;
  }

  .promo-modal-close {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .promo-form {
    gap: 10px;
    padding: 16px 18px 18px;
  }

  .promo-field {
    gap: 6px;
  }

  .promo-field label {
    font-size: 12px;
  }

  .promo-field input {
    min-height: 44px;
    border-radius: 13px;
    font-size: 14px;
  }

  .promo-consents {
    gap: 7px;
    padding: 10px;
    border-radius: 14px;
  }

  .promo-check {
    grid-template-columns: 22px 1fr;
    gap: 10px;
    font-size: 10px;
    line-height: 1.2;
  }

  .promo-check input {
    width: 16px;
    height: 16px;
    margin-top: 0;
  }

  .promo-submit {
    min-height: 46px;
    border-radius: 14px;
    font-size: 14px;
  }

  header {
    position: sticky;
  }
  .navbar {
    flex-wrap: nowrap;
    gap: 8px;
    z-index: 10;
    align-items: center;
    padding: 8px 0;
  }
  .navbar .brand {
    order: 2;
    width: auto;
    flex: 1;
    justify-content: center;
  }
  .logo-img {
    height: auto;
    width: min(70vw, 220px);
    max-height: 22vh;
    display: block;
    padding: 6px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
  }
  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
    order: 1;
    align-self: center;
  }
  nav {
    order: 4;
    margin-left: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    position: relative;
    width: 100%;
  }
  .nav-links {
    width: min(92vw, 320px);
    flex-direction: column;
    gap: 16px;
    background: rgba(8, 10, 15, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 18px;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    display: flex;
    box-shadow: 0 32px 60px rgba(15, 23, 42, 0.3);
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-links a,
  .nav-cta {
    width: 100%;
    text-align: left;
    padding: 16px 18px;
    border-radius: 14px;
  }
  .nav-links a {
    color: #ffffff;
  }
  .lang-inline {
    order: 3;
    width: auto;
    justify-content: flex-end;
    margin-top: 0;
  }
  .hero {
    padding-top: 72px;
  }
  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero-visual,
  .hero-visual--left {
    display: none !important;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
