/* ============================================================
   GIGACOM NETWORKS — HOJA DE ESTILOS
   Organizada por bloques. Busca "BLOQUE:" para saltar a cada seccion.
   ============================================================ */

/* ============================================================
   VARIABLES — cambia aqui los colores de marca en un solo lugar
   ============================================================ */
:root {
  --azul:        #0b2a4a;   /* azul principal   */
  --azul-claro:  #1f6fb2;   /* acento / botones */
  --cian:        #28c2d1;   /* detalle          */
  --naranja:     #ff7a00;   /* acento energetico (precios, destacados) */
  --gris-bg:     #f5f7fa;   /* fondo secciones  */
  --texto:       #222;
  --texto-claro: #5a6b7b;
  --blanco:      #ffffff;
  --fuente-titulo: 'Caudex', Georgia, serif;
  --fuente-texto:  Arial, Helvetica, sans-serif;
}

/* ============================================================
   BASE / RESET
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--fuente-texto); color: var(--texto); line-height: 1.6; }
h1, h2, h3 { font-family: var(--fuente-titulo); font-weight: 700; line-height: 1.2; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ============================================================
   UTILIDADES
   ============================================================ */
.contenedor { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.seccion { padding: 80px 0; }
.seccion-titulo { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--azul); text-align: center; margin-bottom: 12px; }
.seccion-intro { text-align: center; max-width: 720px; margin: 0 auto 48px; color: var(--texto-claro); font-size: 1.1rem; }

.btn {
  display: inline-block;
  background: var(--azul-claro);
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  letter-spacing: .5px;
  transition: background .2s;
  cursor: pointer;
  border: none;
}
.btn:hover { background: var(--azul); }
.btn-cian { background: var(--cian); color: var(--azul); }
.btn-cian:hover { background: #1fa6b4; }
.btn-naranja { background: var(--naranja); color: #fff; }
.btn-naranja:hover { background: #e66d00; }
.btn-outline { background: transparent; color: var(--azul-claro); border: 2px solid var(--azul-claro); }
.btn-outline:hover { background: var(--azul-claro); color: #fff; }

.block-img { width: 100%; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.ph-label { font-size: .75rem; color: #999; text-align: center; margin-top: 6px; }

/* ============================================================
   BLOQUE: NAV / ENCABEZADO
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--blanco);
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-family: var(--fuente-titulo); font-size: 1.6rem; font-weight: 700; color: var(--azul); }
.logo span { color: var(--cian); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-weight: bold; color: var(--azul); font-size: .95rem; text-transform: uppercase; letter-spacing: .5px; }
.nav-links a:hover { color: var(--azul-claro); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.8rem; color: var(--azul); cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    box-shadow: 0 8px 12px rgba(0,0,0,.08);
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav-links.abierto { max-height: 320px; }
  .nav-links li { border-top: 1px solid #eee; }
  .nav-links a { display: block; padding: 16px 24px; }
}

/* ============================================================
   BLOQUE: HERO (Inicio)
   La imagen de fondo se define en index.html con style="--hero-img:url(...)"
   o cambia images/hero.jpg directamente.
   ============================================================ */
/* Version energetica: fondo claro, 2 columnas (texto + ilustracion). */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #e9f5fc 0%, #ffffff 62%); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(rgba(31,111,178,.08) 1.5px, transparent 1.6px) 0 0 / 24px 24px;
}
.hero .contenedor {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  min-height: 560px; padding-top: 60px; padding-bottom: 60px;
}
.hero-txt { text-align: left; }
.hero-kicker {
  display: inline-block; font-weight: bold; letter-spacing: 2px; font-size: .78rem;
  color: #fff; background: var(--cian); padding: 7px 16px; border-radius: 30px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); color: var(--azul); margin-bottom: 18px; line-height: 1.12; }
.hero-precio { font-weight: bold; color: var(--texto-claro); font-size: clamp(1rem, 2.2vw, 1.3rem); margin-bottom: 6px; }
.hero-precio b {
  font-family: var(--fuente-titulo); color: var(--naranja); line-height: 1;
  font-size: clamp(2.6rem, 7vw, 4.3rem); vertical-align: middle; margin: 0 4px;
}
.hero-precio small { font-size: .85rem; color: var(--texto-claro); font-weight: normal; }
.hero-sub { color: var(--texto-claro); font-size: 1.08rem; max-width: 470px; margin: 14px 0 28px; }
.hero-botones { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; display: block; }
.hero-art .float { animation: flotar 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hero-art .d1 { animation-delay: .5s; } .hero-art .d2 { animation-delay: 1s; }
.hero-art .d3 { animation-delay: 1.5s; } .hero-art .d4 { animation-delay: 2s; } .hero-art .d5 { animation-delay: 2.5s; }
@keyframes flotar { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (max-width: 860px) {
  .hero .contenedor { grid-template-columns: 1fr; text-align: center; min-height: 0; padding-top: 44px; padding-bottom: 44px; }
  .hero-txt { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-botones { justify-content: center; }
  .hero-art { order: -1; max-width: 340px; margin: 0 auto 10px; }
}
@media (prefers-reduced-motion: reduce) { .hero-art .float { animation: none; } }

/* ============================================================
   BLOQUE: PAQUETES (Servicios)
   ============================================================ */
#servicios { background: var(--gris-bg); }
.grupo-paquete { margin-bottom: 56px; }
.grupo-titulo { text-align: center; color: var(--azul-claro); font-size: 1.6rem; margin-bottom: 8px; }
.grupo-desc { text-align: center; color: var(--texto-claro); max-width: 640px; margin: 0 auto 28px; }
.tarjetas { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; align-items: stretch; padding-top: 14px; }

/* Tarjeta de plan: banda de color arriba + cuerpo blanco + boton naranja */
.plan {
  position: relative;
  width: 280px; background: #fff; border-radius: 20px;
  border: 2px solid #e6eef5;
  box-shadow: 0 10px 30px rgba(11,42,74,.10);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.plan:hover { transform: translateY(-8px); box-shadow: 0 20px 44px rgba(11,42,74,.18); }

.plan-top {
  background: linear-gradient(135deg, var(--azul-claro) 0%, var(--cian) 100%);
  color: #fff; text-align: center; padding: 30px 20px 24px;
  border-radius: 18px 18px 0 0;
}
.plan-velocidad { font-size: 3.2rem; font-weight: 800; line-height: 1; letter-spacing: -1px; text-shadow: 0 3px 12px rgba(0,0,0,.20); }
.plan-velocidad span { font-size: 1.4rem; font-weight: 700; }
.plan-vel-label { font-size: .78rem; letter-spacing: 2px; font-weight: bold; opacity: .95; margin-top: 8px; }

.plan-body { padding: 30px 24px; text-align: center; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.plan-precio { font-family: var(--fuente-titulo); font-size: 3rem; color: var(--azul); line-height: 1; font-weight: 700; }
.plan-precio .moneda { font-size: 1.6rem; vertical-align: 18px; margin-right: 2px; }
.plan-precio .periodo { font-family: var(--fuente-texto); font-size: .9rem; color: var(--texto-claro); font-weight: normal; }
.plan .btn { align-self: center; }

/* Plan destacado ("Mas popular") */
.plan.destacado { border-color: var(--naranja); box-shadow: 0 16px 40px rgba(255,122,0,.22); }
.plan.destacado .plan-top { background: linear-gradient(135deg, #ff7a00 0%, #ff9e2c 100%); }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--naranja); color: #fff; font-size: .72rem; font-weight: bold; letter-spacing: 1px;
  padding: 6px 18px; border-radius: 20px; white-space: nowrap; box-shadow: 0 4px 10px rgba(255,122,0,.35);
}
@media (min-width: 861px) { .plan.destacado { transform: scale(1.05); } .plan.destacado:hover { transform: scale(1.05) translateY(-8px); } }

/* ============================================================
   BLOQUE: PROMO (banda destacada)
   ============================================================ */
.promo {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,122,0,.28), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(40,194,209,.25), transparent 45%),
    linear-gradient(135deg, #0b2a4a 0%, #123f68 55%, #09203c 100%);
}
.promo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(rgba(255,255,255,.06) 1.5px, transparent 1.6px) 0 0 / 22px 22px;
}
.promo-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: center;
}
.promo-art svg { width: 100%; height: auto; display: block; }
.promo h2 { font-size: clamp(2rem, 5vw, 3.1rem); color: #fff; line-height: 1; letter-spacing: 1px; }
.promo .gratis {
  display: block; color: var(--naranja);
  font-size: clamp(3.2rem, 9vw, 5.6rem); line-height: .95; letter-spacing: -1px;
  text-shadow: 0 4px 24px rgba(255,122,0,.45);
}
.promo-sub { font-size: 1.1rem; opacity: .9; margin-top: 10px; }
.promo-lista {
  list-style: none; margin: 26px 0 20px;
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px;
}
.promo-lista li {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px; padding: 13px 16px; font-weight: bold; font-size: 1.02rem;
}
.promo-lista li::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: #22c55e url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 L9 17 L4 12'/></svg>") center/15px no-repeat;
}
.promo .fine { font-size: .85rem; opacity: .75; max-width: 680px; }

@media (max-width: 860px) {
  .promo-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .promo-art { max-width: 170px; margin: 0 auto; }
  .promo-lista { grid-template-columns: 1fr; text-align: left; }
  .promo .fine { margin: 0 auto; }
}

/* ============================================================
   BLOQUE: POR QUE ELEGIRNOS (features con iconos)
   ============================================================ */
.features { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; }
.feature {
  flex: 1 1 220px; max-width: 260px; text-align: center;
  background: #fff; border-radius: 14px; padding: 36px 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,.07);
  transition: transform .2s;
}
.feature:hover { transform: translateY(-6px); }
.feature-icon {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--azul-claro), var(--cian));
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 34px; height: 34px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { color: var(--azul); font-size: 1.2rem; margin-bottom: 8px; }
.feature p { color: var(--texto-claro); font-size: .95rem; }

/* ============================================================
   BLOQUE: SPLIT (imagen + texto) — usado por Cobertura, Nosotros
   ============================================================ */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.split .col { flex: 1 1 340px; }
.split h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); color: var(--azul); margin-bottom: 16px; }
.split p { color: var(--texto-claro); margin-bottom: 16px; }

/* ============================================================
   BLOQUE: COMO FUNCIONA (pasos)
   ============================================================ */
#como-funciona { background: var(--gris-bg); }
.pasos { position: relative; display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; }
/* linea punteada que conecta los pasos (solo escritorio) */
@media (min-width: 981px) {
  .pasos::before {
    content: ""; position: absolute; top: 40px; left: 12%; right: 12%;
    border-top: 3px dashed #cfe0ee; z-index: 0;
  }
}
.paso { position: relative; z-index: 1; flex: 1 1 200px; max-width: 250px; text-align: center; }
.paso .num {
  width: 80px; height: 80px; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--azul-claro), var(--cian)); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--fuente-titulo); font-size: 2rem; font-weight: 700;
  box-shadow: 0 10px 24px rgba(31,111,178,.30);
  border: 5px solid var(--gris-bg);
  transition: transform .2s;
}
.paso:hover .num { transform: translateY(-6px) scale(1.05); }
.paso:nth-child(4) .num { background: linear-gradient(135deg, #ff9e2c, var(--naranja)); box-shadow: 0 10px 24px rgba(255,122,0,.32); }
.paso h3 { color: var(--azul); margin-bottom: 8px; font-size: 1.2rem; }
.paso p { color: var(--texto-claro); font-size: .95rem; }

/* ============================================================
   BLOQUE: COBERTURA (lista de zonas)
   ============================================================ */
.zonas { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 26px; }
.zonas li {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 2px solid #e6eef5; border-radius: 30px;
  padding: 9px 18px 9px 14px; font-size: .92rem; font-weight: 600; color: var(--azul);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.zonas li:hover { border-color: var(--cian); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(31,111,178,.12); }
.zonas li::before {
  content: ""; flex: none; width: 18px; height: 18px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6fb2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21s7-6 7-11a7 7 0 1 0-14 0c0 5 7 11 7 11z'/><circle cx='12' cy='10' r='2.6'/></svg>") center/contain no-repeat;
}
.cobertura-cta {
  background: #eef6fb; border-left: 5px solid var(--cian);
  padding: 16px 20px; border-radius: 10px; color: var(--azul); font-size: .95rem;
}
.cobertura-cta a { color: var(--azul-claro); font-weight: bold; text-decoration: underline; }

/* ============================================================
   BLOQUE: NOSOTROS
   ============================================================ */
#nosotros { background: var(--gris-bg); }
/* marco decorativo detras de la imagen */
.img-marco { position: relative; }
.img-marco::before {
  content: ""; position: absolute; inset: -14px -14px 14px 14px; border-radius: 18px;
  background: linear-gradient(135deg, var(--cian), var(--azul-claro)); opacity: .22; z-index: 0;
}
.img-marco img { position: relative; z-index: 1; }
/* chips de valores */
.valores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; list-style: none; }
.valores li {
  background: #fff; border: 2px solid #e6eef5; border-radius: 30px;
  padding: 8px 16px; font-size: .88rem; font-weight: bold; color: var(--azul-claro);
}

/* ============================================================
   BLOQUE: SOPORTE TECNICO
   ============================================================ */
.soporte-centro { max-width: 900px; text-align: center; }
.soporte-opciones { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-bottom: 26px; }
.soporte-card {
  flex: 1 1 240px; max-width: 300px;
  background: #fff; border: 2px solid #e6eef5; border-radius: 16px; padding: 26px 20px;
  box-shadow: 0 8px 22px rgba(11,42,74,.07);
  transition: transform .2s, border-color .2s;
}
.soporte-card:hover { transform: translateY(-5px); border-color: var(--cian); }
.soporte-card .ic {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--azul-claro), var(--cian));
  display: flex; align-items: center; justify-content: center;
}
.soporte-card .ic svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.soporte-card h3 { color: var(--azul); font-size: 1.1rem; margin-bottom: 6px; }
.soporte-card p { color: var(--texto-claro); font-size: .92rem; }
.aviso {
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: #fff4e5; border: 2px solid #ffd79e; border-left: 6px solid #f0a020;
  padding: 18px 22px; border-radius: 12px; margin: 0 0 26px;
  color: #8a5a00; font-weight: bold;
}
.aviso::before {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: #f0a020 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round'><path d='M12 8v5'/><path d='M12 17h.01'/></svg>") center/20px no-repeat;
}

/* ============================================================
   BLOQUE: CONTACTO / PAGO EN LINEA
   ============================================================ */
#contacto {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background:
    radial-gradient(circle at 15% 15%, rgba(40,194,209,.26), transparent 45%),
    radial-gradient(circle at 88% 85%, rgba(255,122,0,.22), transparent 45%),
    linear-gradient(135deg, #0b2a4a 0%, #123f68 55%, #09203c 100%);
}
#contacto::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(rgba(255,255,255,.06) 1.5px, transparent 1.6px) 0 0 / 22px 22px;
}
#contacto .contenedor { position: relative; z-index: 1; }
#contacto h2 { color: #fff; }
#contacto .seccion-intro { color: #cfe0f0; }

.contacto-datos {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px; margin: 36px 0 32px; text-align: center;
}
.contacto-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px; padding: 28px 18px;
  transition: transform .2s, background .2s, border-color .2s;
}
.contacto-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.13); border-color: var(--cian); }
.contacto-card .ic {
  width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--azul-claro), var(--cian));
  display: flex; align-items: center; justify-content: center;
}
.contacto-card .ic svg { width: 25px; height: 25px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contacto-card strong { display: block; color: var(--cian); font-size: .78rem; letter-spacing: 1.5px; margin-bottom: 6px; }
.contacto-card span { font-size: 1.02rem; font-weight: bold; word-break: break-word; }
.contacto-botones { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   BLOQUE: FOOTER
   ============================================================ */
.site-footer { background: #07203b; color: #9fb3c8; padding: 56px 0 24px; font-size: .9rem; }
.site-footer .logo { color: #fff; display: inline-block; margin-bottom: 12px; }
.site-footer .logo span { color: var(--cian); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 44px; text-align: left; }
.footer-col h4 { color: #fff; font-family: var(--fuente-titulo); font-size: 1.1rem; margin-bottom: 16px; }
.footer-col p { line-height: 1.6; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--cian); }
.footer-contacto { list-style: none; }
.footer-contacto li { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 13px; line-height: 1.5; }
.footer-contacto svg { flex: none; width: 18px; height: 18px; margin-top: 2px; stroke: var(--cian); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px;
  text-align: center; font-size: .85rem;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-contacto li { justify-content: center; }
}
