/* NAV */
nav { background: rgba(13,13,13,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(236,37,42,0.18); padding: 0 5%; height: 70px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 200; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-brand { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1rem; color: var(--white); line-height: 1.1; }
.nav-brand span { display: block; color: var(--red); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 0.88rem; padding: 6px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--red); background: var(--red-light); }
.nav-cta { background: var(--red) !important; color: white !important; border-radius: 50px !important; padding: 8px 18px !important; transition: background .2s, transform .2s !important; }
.nav-cta:hover { background: var(--red-dark) !important; transform: translateY(-1px); }

/* HAMBURGER */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; border-radius: 8px; transition: background .2s; }
.nav-hamburger:hover { background: rgba(255,255,255,0.06); }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; transform-origin: center; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE MENU */
.nav-mobile { position: fixed; inset: 70px 0 0 0; background: rgba(13,13,13,0.98); backdrop-filter: blur(16px); z-index: 190; display: flex; flex-direction: column; justify-content: center; padding: 2rem 8%; opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity .25s, transform .25s; }
.nav-mobile.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.nav-mobile ul a { display: block; color: var(--text); text-decoration: none; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.4rem; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); transition: color .2s; }
.nav-mobile ul a:hover, .nav-mobile ul a.active { color: var(--red); }
.nav-mobile .mobile-cta { display: flex !important; align-items: center; gap: 10px; color: white !important; background: var(--red); border-radius: 14px; padding: 14px 20px !important; margin-top: 1rem; border-bottom: none !important; font-size: 1.1rem !important; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* HERO */
.cobertura-hero { background: linear-gradient(180deg, var(--night2) 0%, var(--night) 100%); border-bottom: 1px solid rgba(236,37,42,0.1); padding: 4rem 5% 3rem; text-align: center; }
.cobertura-hero .tag { display: inline-block; background: var(--red-light); border: 1px solid var(--red-border); color: var(--red); border-radius: 50px; padding: 4px 16px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.2rem; }
.cobertura-hero h1 { font-family: 'Sora', sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; max-width: 900px; margin-left: auto; margin-right: auto; }
.cobertura-hero h1 em { font-style: normal; color: var(--red); }
.cobertura-hero p { color: var(--muted); font-size: 1.05rem; max-width: 720px; margin: 0 auto 1.8rem; line-height: 1.6; }
.cobertura-stats { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.stat { text-align: center; }
.stat-num { font-family: 'Sora', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--red); line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: .4rem; font-weight: 700; }
.hero-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: white; padding: 14px 28px; border-radius: 50px; text-decoration: none; font-weight: 800; font-size: 0.95rem; margin-top: 1.5rem; transition: all .2s; box-shadow: 0 8px 24px rgba(236,37,42,0.3); }
.hero-cta:hover { background: var(--red-dark); transform: translateY(-2px); }

/* ÍNDICE RÁPIDO */
.indice { background: var(--night2); padding: 2rem 5%; border-bottom: 1px solid rgba(255,255,255,0.05); }
.indice-wrap { max-width: 1200px; margin: 0 auto; }
.indice h2 { font-family: 'Sora', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.indice-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.indice-tag { background: var(--card); border: 1px solid rgba(255,255,255,0.08); color: var(--text); padding: 6px 14px; border-radius: 50px; font-size: 0.82rem; font-weight: 700; text-decoration: none; transition: all .2s; }
.indice-tag:hover { background: var(--red-light); border-color: var(--red-border); color: var(--red); }

/* SECTORES */
.sectores { padding: 3rem 5%; max-width: 1200px; margin: 0 auto; }
.sector-card { background: var(--card); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 2rem 1.8rem; margin-bottom: 1.5rem; transition: all .25s; scroll-margin-top: 90px; }
.sector-card:hover { border-color: var(--red-border); transform: translateY(-2px); }
.sector-card.featured { background: linear-gradient(135deg, var(--card) 0%, rgba(236,37,42,0.08) 100%); border-color: var(--red-border); }
.sector-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.2rem; }
.sector-title { display: flex; align-items: center; gap: 12px; }
.sector-pin { width: 38px; height: 38px; background: var(--red-light); border: 1px solid var(--red-border); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--red); flex-shrink: 0; }
.sector-card h2 { font-family: 'Sora', sans-serif; font-size: 1.35rem; font-weight: 800; line-height: 1.2; }
.sector-card h2 .small { display: block; font-size: 0.75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 2px; }
.tech-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.tech-badge { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 50px; }
.tech-fibra { background: var(--red); color: white; }
.tech-inalambrica { background: rgba(255,255,255,0.08); color: var(--text); border: 1px solid rgba(255,255,255,0.15); }
.sector-card p { color: var(--text); line-height: 1.65; font-size: 0.95rem; margin-bottom: 1rem; }
.sector-card p.muted { color: var(--muted); font-size: 0.88rem; }
.sector-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.8rem; margin: 1.2rem 0; padding: 1rem; background: rgba(255,255,255,0.02); border-radius: 10px; border: 1px solid rgba(255,255,255,0.04); }
.sector-info-item { font-size: 0.82rem; }
.sector-info-item strong { display: block; color: var(--red); font-size: 0.72rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.sector-cta { display: inline-flex; align-items: center; gap: 8px; background: rgba(236,37,42,0.1); border: 1px solid var(--red-border); color: var(--red); padding: 10px 20px; border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 0.88rem; transition: all .2s; margin-top: .5rem; }
.sector-cta:hover { background: var(--red); color: white; }

/* CTA GLOBAL */
.cta-global { background: linear-gradient(135deg, rgba(236,37,42,0.12) 0%, rgba(236,37,42,0.05) 100%); border: 1px solid rgba(236,37,42,0.2); padding: 3rem 5%; text-align: center; margin: 3rem 0 0; }
.cta-global h2 { font-family: 'Sora', sans-serif; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 1rem; color: white; }
.cta-global p { color: rgba(255,255,255,0.9); font-size: 1.05rem; margin-bottom: 1.5rem; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.5; }
.cta-global a { display: inline-flex; align-items: center; gap: 10px; background: white; color: var(--red); padding: 14px 32px; border-radius: 50px; text-decoration: none; font-weight: 800; transition: all .2s; box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.cta-global a:hover { transform: translateY(-2px); }

/* FAQ */
.faq-section { padding: 3rem 5%; max-width: 800px; margin: 0 auto; }
.faq-section h2 { font-family: 'Sora', sans-serif; font-size: 1.8rem; font-weight: 800; text-align: center; margin-bottom: 2rem; }
.faq-section h2 em { color: var(--red); font-style: normal; }
details { background: var(--card); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 1.2rem 1.5rem; margin-bottom: .8rem; cursor: pointer; }
details[open] { border-color: var(--red-border); }
summary { font-weight: 700; font-size: 1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--red); font-size: 1.4rem; font-weight: 300; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin-top: 1rem; line-height: 1.6; font-size: 0.95rem; }

/* FOOTER */
footer { background: var(--night2); border-top: 1px solid rgba(255,255,255,0.05); padding: 2.5rem 5% 5rem; }
.footer-main { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.footer-brand p { color: var(--muted); font-size: 0.88rem; line-height: 1.55; margin: .8rem 0; }
footer h4 { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; color: var(--red); }
footer ul { list-style: none; }
footer ul li { margin-bottom: .5rem; }
footer ul a { color: var(--muted); text-decoration: none; font-size: 0.88rem; transition: color .2s; }
footer ul a:hover { color: var(--red); }
.footer-bottom { max-width: 1200px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; color: var(--muted); font-size: 0.8rem; }
.footer-bottom a { color: var(--muted); text-decoration: none; margin: 0 .6rem; }
.footer-bottom a:hover { color: var(--red); }

/* WhatsApp floating */
.whatsapp-btn { position: fixed; bottom: 22px; right: 22px; background: #25d366; color: white; padding: 14px 22px; border-radius: 50px; text-decoration: none; font-weight: 800; display: flex; align-items: center; gap: 10px; box-shadow: 0 8px 24px rgba(37,211,102,0.4); z-index: 100; transition: transform .2s; }
.whatsapp-btn:hover { transform: scale(1.05); }

@media (max-width: 768px) {
  .footer-main { grid-template-columns: 1fr; }
  .cobertura-stats { gap: 1.5rem; }
  .stat-num { font-size: 1.8rem; }
  .sector-card { padding: 1.5rem 1.2rem; }
  .whatsapp-btn span { display: none; }
}
