/* =========================
   RESET
========================= */
* { margin:0; padding:0; box-sizing:border-box; }

/* =========================
   VARIABLES
========================= */
:root {
  --azul: #009eff;
  --azul-hover: #007fd1;
  --oscuro: #12171f;
  --gris: #f4f6f9;
  --texto: #333;
  --blanco: #ffffff;
}

/* =========================
   SCROLLBAR BRAND COLOR (ESTILO IOS)
========================= */

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 158, 255, 0.4) transparent;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 6px; /* Un poco más fino para mayor elegancia */
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 158, 255, 0.4); /* El azul de tu marca con transparencia */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 158, 255, 0.7); /* Se oscurece al pasar el mouse */
}

/* =========================
   BASE
========================= */
body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  background: var(--blanco);
  color: var(--texto);
}

/* Titulos, menú y elementos fuertes */
h1, h2, h3, nav a, .btn, .logo {
  font-family: 'Archivo Black', sans-serif;
}

a { text-decoration:none; color:inherit; }

.container {
  max-width: 1200px;
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  margin: auto;
}

/* =========================
   TOP BAR
========================= */
.topbar {
  background:var(--azul);
  color:var(--blanco);
  font-size:13px;
  padding:6px 0;
}

.topbar .container {
  display:flex;
  justify-content:space-between;
}

.topbar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar i {
  font-size: 13px;
  opacity: 0.9;
}

.topbar span {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400; /* Archivo Black ya es gruesa */
}

/* =========================
   HEADER
========================= */
header {
  background: var(--blanco);
  border-bottom: 1px solid #e2e6ec;
  position: relative;
  z-index: 10;
  overflow-x: clip;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between; /* CLAVE */
  padding: 12px 0;
  min-width: 0;
}

/* =========================
   LOGO – BRILLO ELEGANTE AUTOMÁTICO
========================= */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 32px;
}

.logo a {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.logo img {
  max-height: 60px;
  width: auto;
  display: block;
  transition: transform 0.4s ease;
}

/* EFECTO BRILLO SUAVE Y PERIÓDICO */
.logo a::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-20deg);
  animation: logoShineAuto 3s linear infinite;
}

/* Micro feedback al hover (muy sutil) */
.logo a:hover img {
  transform: scale(1.03);
}

@keyframes logoShineAuto {
  0% {
    left: -120%;
  }

  70% {
    left: 140%;
  }

  100% {
    left: 140%;
  }
}

/* NAV */
nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  min-width: 0;
}

/* LINKS */
nav a {
  font-size: 15.5px;
  font-weight: 700;
  position: relative;
  padding: 14px 0; /* 👈 iguala la altura visual del dropdown */
  white-space: nowrap;
}

/* BOTÓN */
nav .btn {
  flex-shrink: 0;
  margin-left: 16px; /* un poquito más elegante */
}

.btn i {
  margin-right: 8px;
}

/* =========================
   MENÚ DESPLEGABLE
========================= */

.nav-item {
  position:relative;
}

.dropdown {
  position:absolute;
  top:100%;
  left:0;
  background:var(--blanco);
  border:1px solid #e6e9ef;
  min-width:260px;
  display:none;
  flex-direction:column;
  z-index:1000;
}

/* =========================
   ICONOS EN DROPDOWN
========================= */
.dropdown a i {
  margin-right: 8px;
  font-size: 15px;
  color: var(--azul);
  vertical-align: middle;
}

.dropdown a i {
  position: relative;
  top: -1px;
}

/* MISMA TIPOGRAFÍA QUE EL MENÚ */
.dropdown a {
  padding:14px 18px;
  font-size:15.5px;   /* igual al menú */
  font-weight:700;
  color:var(--texto);
  position:relative;
}

.dropdown a:hover {
  background:#f2f4f8;
}

/* Mostrar dropdown */
.nav-item:hover .dropdown {
  display:flex;
}
/* =========================
   BOTONES – EFECTO PREMIUM GLOBAL
========================= */

.btn{
  padding:10px 18px;
  background:var(--azul);
  color:var(--blanco);
  border-radius:4px;
  font-size:14px;
  font-weight:600;

  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  flex-shrink:0;

  border:none;
  cursor:pointer;

  position:relative;
  overflow:hidden;

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

/* brillo animado */
.btn::after{
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:120%;
  height:100%;
  background:linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.45),
    transparent
  );
  transition:0.6s;
}

/* Hover */
.btn:hover{
  background:var(--azul);
  transform:translateY(-3px) scale(1.04);
  box-shadow:0 0 22px rgba(0,158,255,0.85);
}

/* barrido */
.btn:hover::after{
  left:120%;
}

/* Click */
.btn:active{
  transform:scale(0.96);
  box-shadow:0 0 12px rgba(0,158,255,0.7);
}

/* Iconos */
.btn i{
  margin-right:8px;
}

/* =========================
   EFECTO SUBRAYADO ANIMADO
========================= */

nav a::after,
.dropdown a::after {
  content:"";
  position:absolute;
  left:50%;
  bottom:8px;
  width:0;
  height:2px;
  background:var(--azul);
  transition:all .25s ease;
  transform:translateX(-50%);
}

/* Hover y focus (clic) */
nav a:hover::after,
nav a:focus::after,
.dropdown a:hover::after,
.dropdown a:focus::after {
  width:100%;
}

nav a.btn::after {
  display:none;
}

nav a.btn::after{
  display:block !important;
}

/* =========================
   BARRIDO LIMPIO SOLO AL HOVER
========================= */

nav a,
.dropdown a{
  position:relative;
  overflow:hidden;
}

/* capa de brillo */
nav a span,
.dropdown a span{
  position:relative;
  z-index:2;
}

/* línea de barrido */
nav a::before,
.dropdown a::before{
  content:"";
  position:absolute;
  top:0;
  left:-150%;
  width:50%;
  height:100%;
  background:linear-gradient(
    120deg,
    transparent,
    rgba(0,158,255,0.6),
    transparent
  );
  opacity:0;
}

/* solo aparece en hover */
nav a:hover::before,
.dropdown a:hover::before{
  animation:textSweep 0.6s ease forwards;
  opacity:1;
}

@keyframes textSweep{
  from{ left:-150%; }
  to{ left:150%; }
}

/* =========================
   HERO
========================= */
.hero {
  background: var(--azul);
  color: var(--blanco);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero h1 {
  font-size:16px;
  margin-bottom:16px;
}

.hero-text {
  margin-top:18px;
  font-size:16.5px;
  max-width:720px;
  margin-left:auto;
  margin-right:auto;
  opacity:0.95;
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  letter-spacing: 0.4px;
}

.hero-text strong {
  color: var(--oscuro);
}

/* =========================
   BUSCADOR DOMINIO
========================= */

.domain-search-block{
  text-align:center;
  max-width:1000px;
  margin:auto;
  position:relative;
}

.domain-search-block h2{
  color:var(--blanco);
  font-size:26px;
  margin-bottom:20px;
  font-family:'Archivo Black', sans-serif;
}

.domain-search-block p{
  color:#bbb;
  margin-top:20px;
  font-size:15px;
  font-family:'Archivo Black', sans-serif;
}

/* =========================
   FORM EN FILA
========================= */

.domain-search-block form{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

/* =========================
   INPUT
========================= */

.domain-input-wrap{
  position:relative;
  flex:1;
  max-width:420px;
}

.domain-input-wrap i{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  color:#009eff;
  font-size:14px;
  pointer-events:none;
}

.domain-input-wrap input{
  width:100%;
  padding:12px 14px 12px 38px;
  border-radius:4px;
  border:none;
  outline:none;
  font-size:14px;
  color:var(--oscuro);
  font-family:'Archivo Black', sans-serif;
}

.domain-input-wrap input::placeholder{
  color:#888;
}

/* =========================
   BOTONES BUSCAR / TRANSFERIR
========================= */

.domain-buttons{
  display:flex;
  gap:10px;
}

.domain-search-block .btn{
  background:var(--blanco);
  color:var(--oscuro);
  border:none !important;
  box-shadow:none !important;
}

.domain-search-block .btn i{
  color:var(--oscuro);
}

.domain-search-block .btn:hover{
  background:#d6dde8;
}

.domain-search-block .btn:focus,
.domain-search-block .btn:active{
  outline:none;
  box-shadow:none;
}

/* =========================
   TLDs
========================= */

.domain-tlds{
  margin-top:22px;
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}

.domain-tlds span{
  padding:10px 18px;
  border-radius:6px;
  background:#009eff;
  color:#fff;
  font-size:13px;
  font-weight:600;
  border:1px solid rgba(255,255,255,0.15);
  cursor:pointer;
  transition:all .25s ease;
  box-shadow:0 6px 18px rgba(0,158,255,0.45);
  position:relative;
  overflow:hidden;
}

.domain-tlds span::after{
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:120%;
  height:100%;
  background:linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.5),
    transparent
  );
  transition:.6s;
}

.domain-tlds span:hover{
  transform:translateY(-4px) scale(1.05);
  box-shadow:0 0 25px rgba(0,158,255,0.95);
}

.domain-tlds span:hover::after{
  left:120%;
}

.domain-tlds span:active{
  transform:scale(.96);
}

/* =========================
   DETALLE DECORATIVO
========================= */

.domain-search-block::after{
  content:"";
  display:block;
  width:120px;
  height:3px;
  margin:25px auto 0;
  background:#009eff;
  box-shadow:0 0 12px #009eff;
}

.domain-search-block::before{
  content:"";
  position:absolute;
  width:520px;
  height:520px;
  background:radial-gradient(circle, rgba(0,158,255,.28), transparent 70%);
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  filter:blur(60px);
  z-index:-1;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:600px){
  .domain-search-block form{
    flex-direction:column;
  }

  .domain-input-wrap{
    max-width:100%;
  }

  .domain-buttons{
    justify-content:center;
    margin-top:14px;
  }
}

/* =========================
   CORTE DIAGONAL GLOBAL
========================= */

section,
footer{
  position:relative;
  clip-path:polygon(0 0,100% 3%,100% 97%,0 100%);
  margin-bottom:-2px;
}

section:nth-of-type(even){
  clip-path:polygon(0 3%,100% 0,100% 100%,0 97%);
}

/* Mobile */

@media(max-width:768px){
  section,
  footer,
  section:nth-of-type(even){
    clip-path:polygon(0 0,100% 1.5%,100% 98.5%,0 100%);
  }
}

/* =========================
   HERO BACKGROUND ANIMADO
========================= */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.15) 0px,
      rgba(255,255,255,0.15) 1px,
      transparent 2px,
      transparent 5px
    );
  animation: heroLines 18s linear infinite;
  pointer-events: none;
  z-index: 0; /* CLAVE */
}

@keyframes heroLines {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 400px 400px;
  }
}

#heroParticles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero canvas {
  display: block;
}

/* =========================
   BACKGROUND ANIMADO – BLOQUES OSCUROS
========================= */
.dark-section,
footer {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.dark-section::before,
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.08) 0px,
      rgba(255,255,255,0.08) 1px,
      transparent 1px,
      transparent 5px
    );
  animation: heroLines 18s linear infinite;
  pointer-events: none;
  z-index: 0;
}

/* Asegura contenido visible arriba */
.dark-section > *,
footer > * {
  position: relative;
  z-index: 1;
}

/* Asegura que el contenido quede arriba */
.animated-bg > * {
  position: relative;
  z-index: 1;
}

/* =========================
   SECCIÓN
========================= */
.section {
  background:var(--blanco);
  padding:70px 0;
}

.section h2 {
  text-align:center;
  font-size:26px;
  margin-bottom:50px;
}

/* =========================
   TITULO PRINCIPAL SECCION
========================= */

.section h2{
  position:relative;
  text-align:center;
  font-size:32px;
  margin-bottom:60px;
  color:#111;
  font-family:'Archivo Black', sans-serif;
}

/* Subrayado elegante */
.section h2::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-18px;
  width:120px;
  height:3px;
  background:#009eff;
  transform:translateX(-50%);
  border-radius:2px;
}

/* =========================
   GRID SERVICIOS
========================= */

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}

/* =========================
   CARD PRO CON PRESENCIA
========================= */

.card{
  background:#ffffff;
  border:1px solid rgba(0,158,255,0.35);
  border-radius:10px;
  padding:38px 32px;
  text-align:center;
  position:relative;
  overflow:hidden;

  box-shadow:
    0 10px 26px rgba(0,0,0,0.10),
    0 0 0 1px rgba(0,158,255,0.15);
}

/* Halo celeste interno SUAVE */
.card::after{
  content:"";
  position:absolute;
  inset:-25%;
  background:
    radial-gradient(circle at center,
      rgba(0,158,255,0.22),
      transparent 65%);
  z-index:0;
}

/* Texto descripción dentro de cards */
.card p{
  font-family:'Archivo Black', sans-serif;
  font-weight:400;
  color:#1a1a1a;
  line-height:1.6;
}

/* =========================
   ICONO SERVICIO
========================= */

.service-icon{
  width:64px;
  height:auto;
  margin-bottom:18px;
  object-fit:contain;
}

/* Línea superior decorativa */
.card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:3px;
  background:#009eff;
  z-index:1;
}

/* Elevar contenido sobre glow */
.card *{
  position:relative;
  z-index:2;
}

/* =========================
   TITULO SERVICIO
========================= */

.card h3{
  color:#111;
  font-size:18px;
  margin-bottom:18px;
  position:relative;
}

/* Subrayado del servicio */
.card h3::after{
  content:"";
  display:block;
  width:136px;
  height:2px;
  background:#009eff;
  margin:10px auto 0;
}

/* =========================
   BOTON
========================= */

.card .btn{
  margin-top:22px;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:900px){
  .cards{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:520px){
  .cards{
    grid-template-columns:1fr;
  }

  .section h2{
    font-size:26px;
  }
}

/* =========================
   BLOQUE OSCURO DESTACADO
========================= */
.dark-section {
  background:var(--oscuro);
  color:var(--blanco);
  padding:80px 0;
}

/* =========================
   CTA CLARO
========================= */
.cta {
  background:var(--blanco);
  color:var(--texto);
  padding:50px 0;
  border-top:1px solid #e6e9ef;
  border-bottom:1px solid #e6e9ef;
}

.cta .container {
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* =========================
   FOOTER OSCURO FINAL
========================= */
footer {
  background:var(--oscuro);
  color:#bbb;
  padding:60px 0 30px;
}

.footer-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  margin-bottom:40px;
}

/* =========================
   TITULOS DEL FOOTER
========================= */
.footer-grid h4 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 18px;
  font-weight: 400; /* Archivo Black ya es gruesa */
  color: var(--blanco); /* blanco real */
  margin-bottom: 14px;
  letter-spacing: 0.4px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width:900px) {
  .cards {
    grid-template-columns:repeat(2,1fr);
  }

  .cta .container {
    flex-direction:column;
    gap:20px;
    text-align:center;
  }
}

@media (max-width:600px) {
  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 15px 0;
    gap: 10px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 0;
  }

  .cards {
    grid-template-columns:1fr;
  }

  .hero h1 {
    font-size:16px;
  }

  /* 👇 ESTO VIENE DEL BLOQUE HERO QUE BORRAMOS */
  .hero-text {
    font-size:15px;
  }
}

/* =========================
   EFECTO CURSOR ESCRITURA
========================= */
.cursor {
  display:inline-block;
  margin-left:2px;
  animation:blink 1s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity:1; }
  25%, 75% { opacity:0; }
}

/* =========================
   BOTÓN VOLVER ARRIBA
========================= */

#backToTop{
  position:fixed;
  bottom:26px;
  right:26px;

  width:48px;
  height:48px;
  border-radius:50%;

  background:#009eff;
  color:#ffffff;
  border:none;
  cursor:pointer;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:18px;

  box-shadow:
    0 0 18px rgba(0,158,255,0.6);

  opacity:0;
  visibility:hidden;
  transform:translateY(20px);

  transition:all .35s ease;
  z-index:9999;
}

/* Visible */
#backToTop.show{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

/* Hover */
#backToTop:hover{
  transform:translateY(-4px) scale(1.05);
  box-shadow:
    0 0 28px rgba(0,158,255,0.9);
}

/* =========================
   BLOQUE DESTACADO – LUZ ANIMADA FUNCIONAL
========================= */

.dark-section {
  position: relative;
  overflow: hidden;
}

/* Halo celeste animado */
.dark-section::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(0,158,255,0.25),
      rgba(0,158,255,0.12) 35%,
      transparent 65%
    );

  /* CLAVE: tamaño mayor al contenedor */
  background-size: 200% 200%;

  animation: luzMovimientoReal 12s linear infinite;

  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

/* Movimiento real */
@keyframes luzMovimientoReal {
  0% {
    background-position: 0% 0%;
  }
  25% {
    background-position: 100% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

/* Contenido arriba del fondo */
.dark-section > .container {
  position: relative;
  z-index: 1;
}

/* Mobile: más sutil */
@media (max-width: 768px) {
  .dark-section::after {
    opacity: 0.6;
    animation-duration: 28s;
  }
}

/* =========================
   BLOQUE DESTACADO – TÍTULO
========================= */

.bloque-destacado-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 60px;
  color: var(--blanco);
  font-family: 'Archivo Black', sans-serif;
  position: relative;
}

/* Subrayado pro centrado */
.bloque-destacado-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  width: 280px;
  height: 3px;
  background: var(--azul);
  border-radius: 3px;
}

/* =========================
   CARDS – AJUSTES GENERALES
========================= */

.recurso-card {
  position: relative;
  overflow: visible;      /* necesario para ribbons */
  padding-top: 54px;      /* espacio para sticker */
}

/* =========================
   RIBBONS / STICKERS PRO (GRADIENTES DINÁMICOS)
========================= */
.ribbon {
  position: absolute;
  top: 18px;
  right: -45px;
  padding: 8px 50px;
  font-family: 'Archivo Black', sans-serif;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  transform: rotate(45deg);
  z-index: 5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  font-weight: 900 !important;
}

/* Azul Profundo con Brillo (RadioCaster) */
.ribbon-usado {
  background: linear-gradient(135deg, #004a99, #001a33) !important;
}

/* Rojo Sangre con Oro (RadioBoss) */
.ribbon-recomendado {
  background: linear-gradient(135deg, #b22222, #d4af37) !important;
}

/* Verde Bosque con Brillo Lima (ZaraRadio) */
.ribbon-clasico {
  background: linear-gradient(135deg, #1e5631, #a4eb5d) !important;
}

/* Subtítulo interno bien gordito */
.desc-subtitle {
  display: block;
  font-family: 'Archivo Black', sans-serif;
  color: var(--azul);
  font-size: 0.9rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-weight: 900;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .ribbon {
    font-size: 10px;
    padding: 6px 44px;
    right: -42px;
  }

  .bloque-destacado-title {
    font-size: 28px;
  }
}

/* =========================
   TOPBAR - REDES SOCIALES (PRO)
========================= */

.topbar-social{
  display:flex;
  align-items:center;
  gap:16px;
}

/* link contenedor */
.topbar-social a{
  color:#ffffff;
  opacity:0.9;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:opacity .25s ease;
}

/* iconos */
.topbar-social a i{
  font-size:16px;
  transition:
    transform .25s ease,
    filter .25s ease;
}

/* hover */
.topbar-social a:hover{
  opacity:1;
}

.topbar-social a:hover i{
  transform:scale(1.25);
  filter:
    drop-shadow(0 0 6px rgba(0,158,255,0.6))
    drop-shadow(0 0 12px rgba(0,158,255,0.35));
}

/* mobile: MISMO TAMAÑO */
@media(max-width:768px){
  .topbar-social{
    gap:14px;
  }

  .topbar-social a i{
    font-size:16px;
  }
}

/* =========================
   MODAL IFRAME PREMIUM (REVISADO)
========================= */
.ios-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ios-modal-content {
    position: relative;
    width: 90%; /* Margen en PC */
    max-width: 1200px;
    height: 85vh;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 158, 255, 0.3); /* Glow azul de tu marca */
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ios-modal-overlay.active { display: flex; opacity: 1; }
.ios-modal-overlay.active .ios-modal-content { transform: scale(1); }

/* BOTÓN CERRAR CON TU ESTILO CORPORATIVO */
.close-modal-btn {
    position: absolute;
    top: 15px; 
    right: 15px;
    width: 45px; 
    height: 45px;
    background: var(--azul); /* Tu azul corporativo */
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100000;
    font-size: 20px;
    box-shadow: 0 0 15px rgba(0, 158, 255, 0.6); /* Tu efecto de brillo */
    transition: all 0.3s ease;
}

.close-modal-btn:hover {
    background: var(--oscuro);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 25px rgba(0, 158, 255, 0.9);
}

.ios-modal-content iframe { width: 100%; height: 100%; border: none; }

/* AJUSTE RESPONSIVE MÓVIL (Ventana flotante) */
@media (max-width: 768px) {
    .ios-modal-content {
        width: 92%; /* Aquí logramos que se vea el fondo en móvil */
        height: 80vh; /* Un poco más corta para ver el fondo arriba y abajo */
        border-radius: 15px;
    }
    
    .close-modal-btn {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}

/* =========================
   CONTENEDORES ULTRA-TRASLÚCIDOS
========================= */
.status-hero-wrapper, .hero-text-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 20;
}

.status-hero-wrapper { margin-bottom: 15px; }
.hero-text-wrapper { margin-top: 20px; }

.glass-panel {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(2px) !important;
  -webkit-backdrop-filter: blur(2px) !important;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.status-badge {
  padding: 8px 22px; 
  gap: 12px;
}

.text-panel {
  padding: 22px 40px;
  max-width: 850px;
  text-align: center;
}

/* =========================
   PUNTO RADAR
========================= */
.status-dot {
  width: 9px;
  height: 9px;
  background-color: var(--blanco);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.status-dot::before,
.status-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: radarWaves 2.5s infinite;
}

.status-dot::after { animation-delay: 1.2s; }

@keyframes radarWaves {
  0% { width: 100%; height: 100%; opacity: 0.8; }
  100% { width: 450%; height: 450%; opacity: 0; }
}

/* =========================
   TEXTOS (MARCA EN AZUL PROFUNDO)
========================= */
.status-msg {
  color: var(--blanco) !important;
  font-family: 'Archivo Black', sans-serif;
  font-size: 14.5px; 
  font-weight: 700;
  text-transform: none !important; 
  letter-spacing: 0.3px; 
}

.status-msg span {
  color: var(--blanco) !important;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4); 
}

.hero-text-content {
  color: var(--blanco) !important;
  margin: 0;
  font-family: 'Archivo Black', sans-serif;
  font-size: 15.5px; 
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.4px;
}

.brand-highlight {
  /* Usamos tu variable de azul oscuro para máxima prolijidad */
  color: var(--oscuro) !important; 
  font-family: 'Archivo Black', sans-serif;
  font-size: 15.5px; 
  font-weight: 700;
  display: inline-block;
  text-transform: uppercase;
  margin-right: 2px;
  text-shadow: none !important;
}

.services-section {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

#servicesParticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

/* =========================
   FAQ STYLES FINAL
========================= */
.faq-light {
  position: relative;
  background: #fff;
  padding: 120px 0;
  overflow: hidden;
}

.bloque-destacado-title.dark {
  color: var(--oscuro);
  text-align: center;
  margin-bottom: 70px;
  position: relative;
  z-index: 2;
}

/* =========================
   FONDO RED TECNOLÓGICA (INTENSO)
========================= */
.faq-network-bg {
  position: absolute;
  inset: 0;
  background:
    /* NODOS GRANDES */
    radial-gradient(circle at 10% 20%, rgba(0,0,0,0.35) 3px, transparent 4px),
    radial-gradient(circle at 25% 75%, rgba(0,0,0,0.3) 3px, transparent 4px),
    radial-gradient(circle at 40% 40%, rgba(0,0,0,0.32) 3px, transparent 4px),
    radial-gradient(circle at 60% 15%, rgba(0,0,0,0.28) 3px, transparent 4px),
    radial-gradient(circle at 75% 65%, rgba(0,0,0,0.34) 3px, transparent 4px),
    radial-gradient(circle at 90% 30%, rgba(0,0,0,0.3) 3px, transparent 4px),

    /* MICRO NODOS (relleno) */
    radial-gradient(circle, rgba(0,0,0,0.15) 1px, transparent 2px);

  background-size:
    280px 280px,
    300px 300px,
    260px 260px,
    320px 320px,
    290px 290px,
    310px 310px,
    40px 40px;

  animation: networkMoveStrong 30s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes networkMoveStrong {
  from {
    background-position:
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0;
  }
  to {
    background-position:
      500px -500px,
      -400px 400px,
      600px 200px,
      -300px -300px,
      450px -150px,
      -200px 350px,
      200px 200px;
  }
}

/* =========================
   HALO CELESTE SUAVE – FAQ
========================= */
.faq-item {
  position: relative;
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.08),
    0 0 0 2px rgba(0, 158, 255, 0.35),
    0 0 28px rgba(0, 158, 255, 0.25);
  transition: box-shadow 0.3s ease, transform 0.25s ease;
}

/* Micro realce al hover */
.faq-item:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.12),
    0 0 0 2px rgba(0, 158, 255, 0.55),
    0 0 42px rgba(0, 158, 255, 0.45);
}

/* =========================
   LISTA
========================= */
.faq-list {
  max-width: 900px;
  margin: auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* =========================
   CARD
========================= */
.faq-item {
  background: rgba(255,255,255,0.94);
  border: 3px solid var(--oscuro);
  border-radius: 8px;
  overflow: hidden;
  transition:
    box-shadow .25s ease,
    transform .25s ease,
    border-color .25s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  border-color: var(--azul);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.faq-item.active {
  border-left: 6px solid var(--azul);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

/* =========================
   BOTÓN
========================= */
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 26px 30px;
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-family: 'Archivo Black', sans-serif;
  font-size: 17px;
  color: var(--oscuro);
}

.faq-question i {
  color: var(--azul);
  font-size: 20px;
  transition: transform .3s ease, color .3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--oscuro);
}

/* =========================
   RESPUESTA
========================= */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-answer p {
  padding: 0 30px 26px;
  font-family: 'Archivo Black', sans-serif;
  font-size: 14.8px;
  color: #444;
  line-height: 1.7;
}

/* =========================
   FOOTER PRO STYLES
========================= */
.footer-pro{
  background:var(--oscuro);
  color:#bbb;
  padding:80px 0 30px;
  position:relative;
  overflow:hidden;
}

/* GRID */
.footer-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
  margin-bottom:40px;
}

/* LOGO CON BRILLO */
.footer-logo{
  position:relative;
  display:inline-block;
  overflow:hidden;
  margin-bottom:20px;
}

.footer-logo img{
  max-width:230px;
}

.footer-logo::after{
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:60%;
  height:100%;
  background:linear-gradient(
    120deg,
    transparent,
    rgba(0,158,255,0.55),
    transparent
  );
  transform:skewX(-20deg);
  animation:logoShineAuto 3.5s linear infinite;
}

/* TITULOS */
.footer-title{
  font-family:'Archivo Black',sans-serif;
  font-size:18px;
  color:#fff;
  margin-bottom:18px;
  position:relative;
}

.footer-title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:60px;
  height:2px;
  background:var(--azul);
}

/* TEXTOS */
.footer-text{
  font-family:'Archivo Black',sans-serif;
  font-size:14px;
  line-height:1.7;
  color:#ccc;
}

/* LISTAS */
.footer-links{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-links li{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
  font-family:'Archivo Black',sans-serif;
  font-size:14px;
  color:#ddd;
}

.footer-links i{
  color:var(--azul);
}

/* BOTON */
.footer-btn{
  margin-top:18px;
}

/* BOTTOM */
.footer-bottom{
  text-align:center;
  font-family:'Archivo Black',sans-serif;
  font-size:14px;
  font-weight:400;
  color:#aaa;
  border-top:1px solid rgba(255,255,255,0.1);
  padding-top:18px;
  letter-spacing:0.5px;
}

/* RESPONSIVE */
@media(max-width:900px){
  .footer-grid{
    grid-template-columns:1fr;
    text-align:center;
  }

  .footer-title::after{
    left:50%;
    transform:translateX(-50%);
  }

  .footer-links li{
    justify-content:center;
  }
}

/* FORMAS DE PAGO */
.footer-pay-title{
  margin-top:28px;
}

.footer-payments{
  display:flex;
  align-items:center;
  gap:18px;
  margin-top:14px;
}

.footer-payments img{
  height:44px;
  opacity:0.85;
  transition:transform 0.3s ease, opacity 0.3s ease;
}

.footer-payments img:hover{
  transform:scale(1.08);
  opacity:1;
}

/* CENTRADO EN MOBILE */
@media(max-width:900px){
  .footer-payments{
    justify-content:center;
  }
}