:root {
  --primary-blue: #0a2647;        /* Azul marino profundo */
  --accent-blue: #0077c8;         /* Azul corporativo principal */
  --tech-cyan: #5ac8fa;           /* Azul celeste eléctrico de acento */
  --bg-light-blue: #eaf4fb;       /* Fondo claro e iluminado */
  --blue-dark-card: #0d3b66;      /* Tarjetas sobre fondo oscuro */
  --gray-dark: #334155;
  --gray-mid: #64748b;
  --gray-light: #f8fafc;
  --white: #ffffff;
  --nav-h: 70px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--primary-blue);
  background: linear-gradient(180deg, #d6ecfb 0%, #eef7fd 22%, #ffffff 55%);
  background-attachment: fixed;
  overflow-x: hidden;
  /* Habilita separación silábica automática para un justificado estético */
  -webkit-hyphens: manual;
  -ms-hyphens: manual;
  hyphens: manual;
}

/* ── REGLA GLOBAL DE JUSTIFICADO PARA PÁRRAFOS Y DESCRIPCIONES ── */
.hero p,
.section-sub,
.about-grid p,
.why-card p,
.service-body p,
.internet-feat-text p,
.support-ch p,
.legal-card p,
.legal-hero-sub,
.hosting-lead,
.hosting-feature-item {
  text-align: justify;
  text-justify: inter-word;
}

/* Excepciones que deben permanecer alineadas a la izquierda */
h1, h2, h3, h4, 
.about-list li, 
.legal-list li, 
.nav-links a,
.dropdown a,
.mobile-menu a {
  text-align: left;
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 2px solid var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 4px 20px rgba(10, 38, 71, 0.08); }

.nav-logo {
  font-family: inherit;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo span { color: var(--accent-blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  font-family: inherit;
  font-weight: 600;
  font-size: .85rem;
  text-decoration: none;
  color: var(--gray-dark);
  padding: 6px 14px;
  border-radius: 6px;
  transition: background .2s, color .2s;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.nav-links a:hover { background: var(--bg-light-blue); color: var(--accent-blue); }

.nav-links .has-dropdown { position: relative; }
.nav-links .has-dropdown > a::after {
  content: ' ▾';
  font-size: .7rem;
  opacity: .6;
}
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1.5px solid var(--accent-blue);
  border-radius: 10px;
  padding: 8px 0;
  min-width: 230px;
  box-shadow: 0 12px 40px rgba(10, 38, 71, 0.1);
  z-index: 999;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: .85rem;
  border-radius: 0;
  color: var(--gray-dark);
  font-weight: 500;
}
.dropdown a:hover { background: var(--bg-light-blue); color: var(--accent-blue); }

.nav-cta {
  background: var(--accent-blue) !important;
  color: var(--white) !important;
  border-radius: 8px !important;
  padding: 8px 20px !important;
  font-weight: 700 !important;
  transition: background .2s, transform .2s !important;
}
.nav-cta:hover { background: #0d6fc4 !important; transform: translateY(-1px); }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--primary-blue);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* mobile drawer */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 38, 71, 0.45);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: min(84vw, 340px);
  height: 100%;
  background: var(--white);
  border-right: 2px solid var(--accent-blue);
  z-index: 999;
  padding: calc(var(--nav-h) + 12px) 24px 30px;
  box-shadow: 12px 0 40px rgba(10, 38, 71, 0.18);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .38s cubic-bezier(.32, .72, .35, 1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: none;
  background: var(--bg-light-blue);
  border-radius: 50%;
  color: var(--primary-blue);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.mobile-menu ul { list-style: none; }
.mobile-menu > ul > li { border-bottom: 1px solid #e2e8f0; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-family: inherit;
  font-weight: 600;
  font-size: .95rem;
  color: var(--primary-blue);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.mobile-menu a:hover { color: var(--accent-blue); }
.mobile-submenu { display: none; padding-left: 16px; }
.mobile-submenu.open { display: block; }
.mobile-submenu a {
  font-weight: 400;
  font-size: .88rem;
  text-transform: none;
  padding: 10px 0;
  color: var(--gray-mid);
  border-bottom: none;
}
.mobile-toggle-btn {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 14px 0;
  font-family: inherit;
  font-weight: 600;
  font-size: .95rem;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.mobile-toggle-btn .arr { transition: transform .3s; font-size: .75rem; }
.mobile-toggle-btn.open .arr { transform: rotate(180deg); }
.mobile-menu-cta {
  margin-top: 20px;
  display: block;
  background: var(--accent-blue);
  color: var(--white);
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

/* ── HERO CON FONDO DE TELECOMUNICACIONES Y MONTERREY ── */
.hero {
  margin-top: var(--nav-h);
  min-height: calc(36vh - var(--nav-h));
  background: linear-gradient(135deg, rgba(5, 25, 51, 0.92) 0%, rgba(10, 38, 71, 0.88) 60%, rgba(13, 59, 102, 0.94) 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  overflow: hidden;
  position: relative;
}

.hero-static-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: url('../images/telecom-mty.jpg') center/cover no-repeat;
  mix-blend-mode: normal;
  opacity: 1; 
  filter: brightness(1.08) contrast(1.05);
}

.hero-static-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(10, 38, 71, 0.78) 0%, rgba(10, 38, 71, 0.4) 45%, transparent 75%),
    linear-gradient(0deg, rgba(10, 38, 71, 0.6) 0%, transparent 40%);
  pointer-events: none;
}

.tech-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(90, 200, 250, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 200, 250, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 85%);
  pointer-events: none;
  z-index: 1;
}

.tech-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.tech-glow.glow-1 {
  top: -10%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: rgba(90, 200, 250, 0.18);
}
.tech-glow.glow-2 {
  bottom: -20%;
  left: 5%;
  width: 500px;
  height: 500px;
  background: rgba(0, 119, 200, 0.25);
}

.static-network-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 10px 40px 10px 80px;
}
.hero-badge {
  display: inline-block;
  background: rgba(90, 200, 250, 0.15);
  color: var(--tech-cyan);
  border: 1px solid rgba(90, 200, 250, 0.3);
  font-family: inherit;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--tech-cyan);
  text-shadow: 0 0 20px rgba(90, 200, 250, 0.3);
}
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent-blue);
  color: var(--white);
  font-family: inherit;
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(0, 119, 200, 0.3);
}
.btn-primary:hover { background: #0d6fc4; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 119, 200, 0.4); }
.btn-outline {
  background: transparent;
  color: var(--white);
  font-family: inherit;
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,.3);
  display: inline-block;
  transition: border-color .2s, background .2s, transform .2s;
}
.btn-outline:hover { border-color: var(--tech-cyan); background: rgba(90, 200, 250, 0.1); transform: translateY(-2px); }

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 60px 10px 20px;
}

/* ── Formulario transparente sobre el fondo ── */
.hero-form-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0;
}
.hero-form-sub {
  font-size: .74rem;
  color: rgba(255,255,255,.65);
  line-height: 1.3;
  margin-bottom: 0;
}

/* ── SERVICES BAR ── */
.services-bar {
  background: linear-gradient(90deg, var(--accent-blue) 0%, #1e88e5 100%);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.services-bar-inner {
  display: flex;
  gap: 0;
}
.sbar-item {
  flex: 1;
  padding: 18px 20px;
  text-align: center;
  font-family: inherit;
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,.15);
  text-decoration: none;
  transition: background .2s, color .2s;
  cursor: pointer;
}
.sbar-item:last-child { border-right: none; }
.sbar-item:hover { background: rgba(255,255,255,.12); color: var(--tech-cyan); }

/* ── SECTION COMMONS ── */
section { 
  padding: 25px 0; 
  scroll-margin-top: 85px; 
}

[id] {
  scroll-margin-top: 85px; 
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

.section-label {
  font-family: inherit;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 12px;
}
.section-title {
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--primary-blue);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem;
  color: var(--gray-mid);
  line-height: 1.7;
  max-width: 560px;
}

/* ── WHY US ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 60px;
}
.why-card {
  background: var(--white);
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.why-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 8px 40px rgba(0, 119, 200, 0.08);
  transform: translateY(-4px);
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.why-card:hover::before { transform: scaleX(1); }
.why-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-light-blue);
  color: var(--accent-blue);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.why-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-blue);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.why-card p { font-size: .9rem; color: var(--gray-mid); line-height: 1.65; }

/* ── SERVICES SECTION ── */
#servicios { background: var(--gray-light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 60px;
}
.service-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10, 38, 71, 0.04);
  transition: box-shadow .3s, transform .3s, border-color .3s;
  text-decoration: none;
  display: block;
  color: inherit;
  border: 1px solid transparent;
}
.service-card:hover {
  box-shadow: 0 16px 50px rgba(10, 38, 71, 0.1);
  transform: translateY(-6px);
  border-color: rgba(0, 119, 200, 0.2);
}
.service-img-wrap {
  position: relative;
  overflow: hidden;
}
.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}
.service-card:hover .service-img { transform: scale(1.04); }
.service-body { padding: 28px; }
.service-tag {
  display: inline-block;
  background: var(--bg-light-blue);
  color: var(--accent-blue);
  font-family: 'Syne', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.service-body h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary-blue);
  margin-bottom: 10px;
}
.service-body p { font-size: .9rem; color: var(--gray-mid); line-height: 1.65; margin-bottom: 20px; }
.service-link {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  color: var(--accent-blue);
  text-decoration: none;
  letter-spacing: .04em;
}
.service-link::after { content: ' →'; }

/* ── CLICK HINT BADGE ── */
.service-card { position: relative; }
.service-click-hint {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 119, 200, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 9px 17px 9px 13px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.55);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35), 0 0 0 4px rgba(0,119,200,0.18);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
  pointer-events: none;
  animation: hintBreathe 2.4s ease-in-out infinite;
}
.service-click-hint i {
  font-size: .82rem;
  animation: hintTap 1.8s ease-in-out infinite;
}
.service-click-hint::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 2px solid rgba(120,200,255,0.75);
  opacity: 0;
  animation: hintPulse 2s ease-out infinite;
}
@keyframes hintPulse {
  0%   { opacity: .8; transform: scale(1); }
  70%  { opacity: 0;  transform: scale(1.28); }
  100% { opacity: 0;  transform: scale(1.28); }
}
@keyframes hintTap {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(2px) scale(0.92); }
}
@keyframes hintBreathe {
  0%, 100% { box-shadow: 0 6px 20px rgba(0,0,0,0.35), 0 0 0 4px rgba(0,119,200,0.18); }
  50%      { box-shadow: 0 6px 24px rgba(0,0,0,0.4), 0 0 0 8px rgba(0,119,200,0.05); }
}
.service-card:hover .service-click-hint {
  background: var(--accent-blue);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 12px 28px rgba(0,119,200,0.5), 0 0 0 6px rgba(0,119,200,0.22);
}
@media (max-width: 480px) {
  .service-click-hint { bottom: 12px; right: 12px; font-size: .66rem; padding: 8px 15px 8px 11px; }
}

/* ── INTERNET DEDICADO FEATURE ── */
.internet-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.internet-img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(10, 38, 71, 0.08);
}
.internet-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}
.internet-badge-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--accent-blue);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 119, 200, 0.3);
}
.internet-features { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.internet-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.internet-feat-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-light-blue);
  color: var(--accent-blue);
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.internet-feat-text h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--primary-blue);
  margin-bottom: 4px;
}
.internet-feat-text p { font-size: .88rem; color: var(--gray-mid); line-height: 1.6; }

/* ── SUPPORT SECTION ── */
.support-section {
  background: var(--bg-light-blue);
  position: relative;
  overflow: hidden;
}
.support-section::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  background: rgba(0, 119, 200, 0.04);
  border-radius: 50%;
}
.support-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.support-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(10, 38, 71, 0.1);
}
.support-channels { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.support-ch {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 4px 12px rgba(10, 38, 71, 0.03);
  transition: transform .2s;
}
.support-ch:hover { transform: translateX(5px); }
.support-ch-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-light-blue);
  color: var(--accent-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.support-ch h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--primary-blue);
  margin-bottom: 2px;
}
.support-ch p { font-size: .82rem; color: var(--gray-mid); }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(10, 38, 71, 0.06);
}
.about-list { list-style: none; margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  color: var(--gray-dark);
  line-height: 1.5;
}
.about-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(0, 119, 200, 0.1);
  color: var(--accent-blue);
  border-radius: 50%;
  font-weight: 700;
  font-size: .7rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(90deg, #0d6fc4 0%, var(--accent-blue) 100%);
  padding: 20px 0;
}
.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-banner h2 {
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  line-height: 1.2;
  max-width: 580px;
}
.btn-dark {
  background: var(--primary-blue);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: 16px 36px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, transform .2s, box-shadow .2s;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.btn-dark:hover { background: #0d3b66; transform: translateY(-2px); }

/* ── CONTACT ── */
#contacto { background: var(--gray-light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  color: var(--accent-blue);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.contact-item h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 4px;
  color: var(--primary-blue);
}
.contact-item p, .contact-item a {
  font-size: .9rem;
  color: var(--gray-mid);
  text-decoration: none;
  line-height: 1.6;
}
.contact-item a:hover { color: var(--accent-blue); }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(90, 200, 250, 0.25);
  border-radius: 18px;
  padding: 16px 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(10, 38, 71, 0.3);
}
.form-group { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.form-group label {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: rgba(255,255,255,.75);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  box-sizing: border-box;
  padding: 7px 11px;
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem;
  color: var(--white);
  background: rgba(255,255,255,0.07);
  transition: border-color .2s, box-shadow .2s, background .2s;
  outline: none;
  resize: vertical;
  min-width: 0;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,.4); }
.form-group select { color: var(--white); }
.form-group select option { color: var(--primary-blue); background: var(--white); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--tech-cyan);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(90, 200, 250, 0.18);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-width: 0; }

/* ── FOOTER ── */
footer {
  background: var(--primary-blue);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 16px;
  display: block;
}
.footer-brand .logo span { color: var(--tech-cyan); }
.footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: .9rem;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.social-links a:hover { background: var(--accent-blue); border-color: var(--accent-blue); color: var(--white); transform: translateY(-2px); }
.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: .88rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color .2s;
}
.footer-col a:hover { color: var(--tech-cyan); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.4); }

/* whatsapp float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 998;
  text-decoration: none;
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .nav-links { gap: 4px; }
  .nav-links a { font-size: .78rem; padding: 6px 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 60px 24px 20px; }
  .hero-visual { padding: 20px 24px 50px; }
  .contact-form { max-width: 100%; padding: 26px; }

  .services-bar-inner { flex-wrap: wrap; }
  .sbar-item { flex: 0 0 50%; font-size: .72rem; padding: 14px 10px; border-bottom: 1px solid rgba(255,255,255,0.1); }

  .internet-section, .support-inner, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .internet-img-wrap img, .support-img, .about-img { height: 280px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .container { padding: 0 20px; }
  section { padding: 18px 0; }

  .cta-banner .container { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .sbar-item { flex: 0 0 100%; }
  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
    text-align: center;
}
.scroll-indicator i {
    font-size: 28px;
    color: rgba(255,255,255,0.65);
    animation: bounce 2s infinite;
    display: block;
    transition: color 0.3s;
}
.scroll-indicator:hover i { color: var(--tech-cyan); }
.scroll-indicator span {
    font-size: 10px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    display: block;
    margin-top: 6px;
}
@keyframes bounce {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}  

/* ===== HOSTING MODAL ===== */
.hosting-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 12, 26, 0.2);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.hosting-overlay.open { display: flex; }

.hosting-modal {
  position: relative;
  width: 90vw;
  height: 90vh;
  max-width: 1100px;
  background:
    radial-gradient(circle at 15% 10%, rgba(90,200,250,0.22), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(0,119,200,0.3), transparent 50%),
    linear-gradient(160deg, rgba(10,38,71,0.91) 0%, rgba(13,59,102,0.89) 45%, rgba(10,38,71,0.93) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(90,200,250,0.35);
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(90,200,250,0.08), 0 25px 80px rgba(0,0,0,0.55), 0 0 60px rgba(90,200,250,0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: hostingModalIn 0.35s cubic-bezier(.2,.8,.25,1);
}

@keyframes hostingModalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.hosting-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(90,200,250,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90,200,250,0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 85%);
}

.hosting-modal::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(90,200,250,0.35), transparent 70%);
  pointer-events: none;
}

.hosting-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(90,200,250,0.4);
  background: rgba(10,38,71,0.6);
  color: var(--tech-cyan);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.hosting-modal-close:hover {
  background: var(--tech-cyan);
  color: var(--primary-blue);
  box-shadow: 0 0 18px rgba(90,200,250,0.6);
}

.hosting-modal-scroll {
  position: relative;
  z-index: 1;
  overflow-y: auto;
  padding: 42px 44px 36px;
  color: var(--white);
}
.hosting-modal-scroll::-webkit-scrollbar { width: 8px; }
.hosting-modal-scroll::-webkit-scrollbar-track { background: transparent; }
.hosting-modal-scroll::-webkit-scrollbar-thumb { background: rgba(90,200,250,0.4); border-radius: 8px; }

.hosting-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tech-cyan);
  border: 1px solid rgba(90,200,250,0.4);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(90,200,250,0.08);
}
.hosting-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tech-cyan);
  box-shadow: 0 0 8px var(--tech-cyan);
}

.hosting-modal h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3.2vw, 36px);
  margin: 18px 0 6px;
  color: var(--white);
}
.hosting-modal h2 span { color: var(--tech-cyan); }

.hosting-modal > .hosting-modal-scroll > p.hosting-lead {
  color: #cfe6f7;
  font-size: 15px;
  max-width: 720px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hosting-datacenter-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, rgba(90,200,250,0.15), rgba(0,119,200,0.05));
  border: 1px solid rgba(90,200,250,0.3);
  border-left: 3px solid var(--tech-cyan);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13.5px;
  color: #e4f3fc;
  margin-bottom: 30px;
}
.hosting-datacenter-banner i { color: var(--tech-cyan); font-size: 18px; }

.hosting-section-label {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tech-cyan);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hosting-section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(90,200,250,0.5), transparent);
}

.hosting-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin-bottom: 34px;
}
.hosting-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(90,200,250,0.18);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13.5px;
  color: #e4f3fc;
  transition: all 0.2s ease;
}
.hosting-feature-item:hover {
  border-color: rgba(90,200,250,0.55);
  background: rgba(90,200,250,0.08);
  transform: translateY(-2px);
}
.hosting-feature-item i {
  color: var(--tech-cyan);
  font-size: 15px;
  margin-top: 1px;
  flex-shrink: 0;
}

.hosting-modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(90,200,250,0.2);
  padding-top: 24px;
  margin-top: 6px;
}
.hosting-modal-footer p {
  color: #cfe6f7;
  font-size: 13.5px;
  margin: 0;
}
.hosting-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, var(--accent-blue), var(--tech-cyan));
  color: var(--primary-blue);
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 0 22px rgba(90,200,250,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.hosting-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(90,200,250,0.65);
}

@media (max-width: 640px) {
  .hosting-modal { width: 90vw; height: 90vh; border-radius: 14px; }
  .hosting-modal-scroll { padding: 34px 20px 24px; }
  .hosting-features-grid { grid-template-columns: 1fr; }
  .hosting-modal-footer { flex-direction: column; align-items: flex-start; }
  .hosting-cta-btn { width: 100%; justify-content: center; }
}

/* ===== DESIGN MODAL ===== */
.design-modal {
  --tech-cyan: #ff6ec7;
  --accent-blue: #7b2ff7;
  background:
    radial-gradient(circle at 15% 15%, rgba(255,110,199,0.4), transparent 42%),
    radial-gradient(circle at 85% 10%, rgba(255,183,3,0.32), transparent 45%),
    radial-gradient(circle at 25% 90%, rgba(58,134,255,0.35), transparent 48%),
    radial-gradient(circle at 90% 85%, rgba(123,47,247,0.35), transparent 45%),
    linear-gradient(160deg, rgba(26,11,46,0.91) 0%, rgba(43,18,80,0.88) 45%, rgba(21,10,38,0.93) 100%);
  border-color: rgba(255,110,199,0.35);
}
.design-modal::before {
  background-image: none;
  background:
    radial-gradient(circle at 12% 82%, rgba(255,110,199,0.22), transparent 40%),
    radial-gradient(circle at 88% 70%, rgba(58,134,255,0.22), transparent 40%),
    radial-gradient(circle at 60% 20%, rgba(255,183,3,0.18), transparent 35%);
  mask-image: none;
  -webkit-mask-image: none;
  filter: blur(2px);
}
.design-modal::after {
  background: radial-gradient(circle, rgba(255,183,3,0.45), transparent 70%);
}
.design-modal .hosting-modal-close {
  border-color: rgba(255,110,199,0.45);
}
.design-modal .hosting-modal-close:hover {
  box-shadow: 0 0 18px rgba(255,110,199,0.6);
}
.design-modal .hosting-eyebrow {
  background: rgba(255,110,199,0.12);
}
.design-modal .hosting-datacenter-banner {
  background: linear-gradient(90deg, rgba(255,110,199,0.18), rgba(123,47,247,0.08));
  border-color: rgba(255,110,199,0.3);
}
.design-modal .hosting-cta-btn {
  background: linear-gradient(90deg, #ff6ec7, #ffb703);
  box-shadow: 0 0 22px rgba(255,110,199,0.4);
}
.design-modal .hosting-cta-btn:hover {
  box-shadow: 0 0 32px rgba(255,110,199,0.65);
}

/* ===== DOMAIN MODAL ===== */
.domain-modal {
  --tech-cyan: #00e6a0;
  --accent-blue: #0a9f6e;
  background:
    radial-gradient(circle at 15% 10%, rgba(0,230,160,0.2), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(10,159,110,0.28), transparent 50%),
    linear-gradient(160deg, rgba(6,32,28,0.92) 0%, rgba(8,46,40,0.89) 45%, rgba(6,32,28,0.93) 100%);
  border-color: rgba(0,230,160,0.35);
}
.domain-modal::before {
  background-image:
    linear-gradient(rgba(0,230,160,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,230,160,0.08) 1px, transparent 1px);
}
.domain-modal::after {
  background: radial-gradient(circle, rgba(0,230,160,0.35), transparent 70%);
}
.domain-modal .hosting-modal-close:hover {
  box-shadow: 0 0 18px rgba(0,230,160,0.6);
}
.domain-tld-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
  margin-bottom: 34px;
}
.domain-tld-chip {
  text-align: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #d6fff0;
  background: rgba(0,230,160,0.08);
  border: 1px solid rgba(0,230,160,0.3);
  border-radius: 10px;
  padding: 14px 8px;
  font-size: 14px;
  transition: all 0.2s ease;
}
.domain-tld-chip:hover {
  border-color: rgba(0,230,160,0.7);
  background: rgba(0,230,160,0.16);
  transform: translateY(-2px);
}

/* ===== COUBICACIÓN MODAL ===== */
.colo-modal {
  --tech-cyan: #ffb938;
  --accent-blue: #f08a00;
  background:
    radial-gradient(circle at 15% 10%, rgba(255,185,56,0.24), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(240,138,0,0.28), transparent 50%),
    linear-gradient(160deg, rgba(38,24,6,0.92) 0%, rgba(58,36,8,0.89) 45%, rgba(34,21,5,0.93) 100%);
  border-color: rgba(255,185,56,0.38);
}
.colo-modal::before {
  background-image:
    linear-gradient(rgba(255,185,56,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,185,56,0.08) 1px, transparent 1px);
}
.colo-modal::after {
  background: radial-gradient(circle, rgba(255,185,56,0.38), transparent 70%);
}
.colo-modal .hosting-modal-close {
  border-color: rgba(255,185,56,0.45);
}
.colo-modal .hosting-modal-close:hover {
  box-shadow: 0 0 18px rgba(255,185,56,0.6);
}
.colo-modal .hosting-eyebrow {
  background: rgba(255,185,56,0.12);
}
.colo-modal .hosting-datacenter-banner {
  background: linear-gradient(90deg, rgba(255,185,56,0.18), rgba(240,138,0,0.06));
  border-color: rgba(255,185,56,0.32);
}
.colo-modal .hosting-feature-item {
  border-color: rgba(255,185,56,0.22);
}
.colo-modal .hosting-feature-item:hover {
  border-color: rgba(255,185,56,0.6);
  background: rgba(255,185,56,0.1);
}
.colo-modal .hosting-cta-btn {
  background: linear-gradient(90deg, #ffb938, #f08a00);
  color: #2a1900;
  box-shadow: 0 0 22px rgba(255,185,56,0.4);
}
.colo-modal .hosting-cta-btn:hover {
  box-shadow: 0 0 32px rgba(255,185,56,0.65);
}

/* ── SECCIÓN MAPA DE COBERTURA ── */
#cobertura { background: var(--white); padding: 60px 0; }
.map-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}
.mexico-map-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}
.mexico-map-container svg {
  width: 100%;
  height: auto;
  display: block;
}
.mexico-map-container svg path {
  fill: #cbd5e1; 
  stroke: #ffffff;
  stroke-width: 1.5;
  transition: fill .25s ease, transform .2s ease;
  cursor: pointer;
}
.mexico-map-container svg path:hover {
  fill: var(--tech-cyan);
}
.mexico-map-container svg path.is-covered {
  fill: var(--accent-blue); 
}
.mexico-map-container svg path.is-selected {
  fill: var(--primary-blue);
  stroke: var(--tech-cyan);
  stroke-width: 2.5;
}

.coverage-panel {
  background: var(--bg-light-blue);
  border: 1.5px solid rgba(0, 119, 200, 0.2);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 12px 30px rgba(10, 38, 71, 0.05);
}
.coverage-panel h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary-blue);
  margin-bottom: 12px;
}
.coverage-panel p {
  font-size: .95rem;
  color: var(--gray-mid);
  line-height: 1.6;
  margin-bottom: 20px;
}
.municipios-list {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  max-height: 200px;
  overflow-y: auto;
}
.municipios-list.is-visible { display: flex; }
.municipios-list li {
  background: var(--white);
  color: var(--primary-blue);
  font-size: .85rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

@media (max-width: 860px) {
  .map-wrapper { grid-template-columns: 1fr; gap: 30px; }
}
.internet-map-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

/* ── NUESTROS CLIENTES (GRID 6x6) ── */
#nuestros-clientes {
  background: var(--white);
  padding: 60px 0;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 40px;
  align-items: center;
}
.client-logo-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.client-logo-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent-blue);
  box-shadow: 0 8px 20px rgba(0, 119, 200, 0.08);
}
.client-logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter .25s ease, opacity .25s ease;
}
.client-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 1024px) {
  .clients-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .clients-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .client-logo-item { height: 75px; padding: 12px 8px; }
}
@media (max-width: 480px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* Utilidades adicionales */
.mt-36 { margin-top: 36px; }
body.no-scroll { overflow: hidden; }

.hp-field { display: none !important; visibility: hidden !important; }
.recaptcha-wrap { text-align: center; margin: 8px 0; }
.g-recaptcha { display: inline-block; }
.btn-primary.btn-submit {
  border: none;
  cursor: pointer;
  font-size: .85rem;
  padding: 10px 32px;
  width: 100%;
}
.btn-primary.btn-self-start { align-self: flex-start; }

.map-header-text { margin-bottom: 20px; }
.map-header-text .section-label { margin-bottom: 6px; }
.map-header-desc { font-size: .88rem; color: var(--gray-mid); line-height: 1.5; }
.coverage-panel { margin-top: 20px; }
.map-error { color: var(--gray-mid); text-align: center; }

.contact-map-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10, 38, 71, 0.06);
}
.contact-map-iframe { border: 0; display: block; min-height: 340px; }


/* ── HERO: marca y título del formulario (reemplazan <font> y &nbsp;) ── */
.hero .hero-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  max-width: none;
  margin-bottom: 14px;
}
.hero .form-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  max-width: none;
  margin-bottom: 4px;
}

/* ── FORMULARIO: estado de envío y consentimiento ── */
.form-status { font-size: .82rem; line-height: 1.4; border-radius: 8px; padding: 0; }
.form-status.is-success,
.form-status.is-error { padding: 10px 12px; }
.form-status.is-success {
  background: rgba(0, 230, 160, .15);
  color: #b9ffe6;
  border: 1px solid rgba(0, 230, 160, .4);
}
.form-status.is-error {
  background: rgba(255, 90, 90, .15);
  color: #ffd0d0;
  border: 1px solid rgba(255, 90, 90, .4);
}
.form-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: .72rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, .75);
}
.form-consent input { width: auto; margin-top: 2px; flex-shrink: 0; }
.form-consent a { color: var(--tech-cyan); }

/* ── FOOTER: enlace al aviso de privacidad ── */
.footer-bottom a { color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: var(--tech-cyan); }


/* ═══════════════════════════════════════════════
   AVISO DE PRIVACIDAD (aviso-de-privacidad.html)
   ═══════════════════════════════════════════════ */
.legal-hero {
  margin-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  padding: 56px 0 76px;
  background: linear-gradient(135deg, rgba(5, 25, 51, 0.60) 0%, rgba(10, 38, 71, 0.40) 100%),
              url('../images/privacy-banner.jpg') center/cover no-repeat;
  color: var(--white);
}
.legal-hero::before {
display: none !important;
}
.legal-hero::after {
content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(90, 200, 250, 0.18), transparent 70%);
  pointer-events: none;
}
.legal-hero .container { position: relative; z-index: 1; }
.legal-hero .section-label { color: var(--tech-cyan); }
.legal-hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
}
.legal-hero-sub {
  max-width: 640px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .8);
}
.legal-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.legal-hero-actions .btn-outline { cursor: pointer; font-size: .88rem; padding: 11px 22px; }
.legal-hero-actions .btn-outline i { margin-right: 6px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--tech-cyan); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Datos clave (tarjetas que "cabalgan" sobre el encabezado) */
.legal-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -38px;
  position: relative;
  z-index: 2;
}
.legal-fact {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 12px 30px rgba(10, 38, 71, 0.08);
}
.legal-fact > i {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bg-light-blue);
  color: var(--accent-blue);
  font-size: 1.1rem;
}
.legal-fact h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 3px;
}
.legal-fact p, .legal-fact a {
  font-size: .88rem;
  line-height: 1.45;
  color: var(--gray-dark);
  text-decoration: none;
}
.legal-fact a:hover { color: var(--accent-blue); }

/* Distribución: índice + contenido */
.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin: 48px 0 70px;
}
.legal-toc {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 14px;
  box-shadow: 0 4px 20px rgba(10, 38, 71, 0.04);
}
.legal-toc-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent-blue);
  padding: 0 10px;
  margin-bottom: 10px;
}
.legal-toc ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.legal-toc a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 10px;
  border-left: 3px solid transparent;
  border-radius: 8px;
  font-size: .85rem;
  line-height: 1.35;
  color: var(--gray-dark);
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.legal-toc a b {
  font-family: 'Syne', sans-serif;
  font-size: .78rem;
  color: var(--accent-blue);
  min-width: 14px;
}
.legal-toc a:hover,
.legal-toc a.is-active {
  background: var(--bg-light-blue);
  border-left-color: var(--accent-blue);
  color: var(--primary-blue);
}

/* Tarjetas de cada inciso */
.legal-content { display: flex; flex-direction: column; gap: 22px; }
.legal-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 30px 34px;
  box-shadow: 0 4px 20px rgba(10, 38, 71, 0.04);
}
.legal-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.legal-letter {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-blue);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
}
.legal-card h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--primary-blue);
}
.legal-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.4;
  color: var(--primary-blue);
  margin: 22px 0 12px;
}
.legal-card p {
  font-size: .95rem;
  line-height: 1.75;
  color: var(--gray-dark);
  margin-bottom: 14px;
}
.legal-card p:last-child { margin-bottom: 0; }
.legal-card a { color: var(--accent-blue); font-weight: 600; text-decoration: none; }
.legal-card a:hover { text-decoration: underline; }

.legal-list {
  list-style: none;
  counter-reset: item;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 4px 0 16px;
}
.legal-list:last-child { margin-bottom: 0; }
.legal-list li {
  counter-increment: item;
  position: relative;
  padding-left: 38px;
  font-size: .95rem;
  line-height: 1.7;
  color: var(--gray-dark);
}
.legal-list li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  top: 2px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-light-blue);
  color: var(--accent-blue);
  font-weight: 700;
  font-size: .75rem;
  line-height: 1;
}
.legal-list.roman li { padding-left: 48px; }
.legal-list.roman li::before {
  content: "(" counter(item, lower-roman) ")";
  width: auto;
  min-width: 34px;
  height: 24px;
  padding: 0 7px;
  border-radius: 8px;
}

/* Tarjeta final de contacto */
.legal-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary-blue), var(--blue-dark-card));
  color: var(--white);
  box-shadow: 0 16px 40px rgba(10, 38, 71, 0.18);
}
.legal-cta h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.legal-cta p { font-size: .92rem; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.legal-cta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  font-size: .88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .88);
}
.legal-cta-list i { width: 20px; color: var(--tech-cyan); }

@media (max-width: 1024px) {
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc { position: static; padding: 16px; }
  .legal-toc ul { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .legal-toc a { border: 1px solid #e2e8f0; border-radius: 999px; padding: 6px 12px; font-size: .8rem; }
  .legal-toc a:hover, .legal-toc a.is-active { border-color: var(--accent-blue); }
}
@media (max-width: 860px) {
  .legal-hero { padding: 40px 0 64px; }
  .legal-facts { grid-template-columns: 1fr; gap: 12px; margin-top: -30px; }
  .legal-card { padding: 24px 20px; }
  .legal-card-head { align-items: flex-start; }
  .legal-cta { grid-template-columns: 1fr; padding: 26px 22px; }
  .legal-cta .btn-primary { text-align: center; }
}

/* Impresión / guardar como PDF */
@media print {
  nav, .mobile-menu, .mobile-menu-overlay, .whatsapp-float, .legal-toc,
  .legal-hero-actions, .legal-hero::before, .legal-hero::after, .legal-cta .btn-primary { display: none !important; }
  body { background: #fff; }
  .legal-hero { margin-top: 0; padding: 20px 0; background: none; color: var(--primary-blue); }
  .legal-hero h1, .legal-hero-sub, .breadcrumb, .legal-hero .section-label { color: var(--primary-blue); }
  .legal-facts { margin-top: 10px; }
  .legal-layout { display: block; margin: 20px 0; }
  .legal-card, .legal-fact, .legal-cta { box-shadow: none; break-inside: avoid; }
  .legal-cta { background: none; color: var(--primary-blue); border: 1px solid #e2e8f0; }
  .legal-cta p, .legal-cta-list { color: var(--gray-dark); }
}


/* ── FOOTER COMPLETO: logo, CTA y contacto ── */
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { display: block; height: auto; filter: brightness(0) invert(1); }
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--tech-cyan);
  text-decoration: none;
  transition: gap .2s, color .2s;
}
.footer-cta:hover { gap: 12px; color: var(--white); }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; }
.footer-contact li > i {
  color: var(--tech-cyan);
  width: 16px;
  margin-top: 4px;
  text-align: center;
  flex-shrink: 0;
}
.footer-contact li a, .footer-contact li span { line-height: 1.6; }
.footer-col a:focus-visible, .footer-cta:focus-visible, .footer-bottom a:focus-visible {
  outline: 2px solid var(--tech-cyan);
  outline-offset: 3px;
  border-radius: 2px;
}
@media (max-width: 860px) {
  footer { padding: 48px 0 20px; }
  .footer-brand p { max-width: none; }
}