/* ===== Siglo XXI — Internet y Televisión Rural ===== */

:root {
  --navy: #0f0c1f;
  --navy-soft: #171331;
  --navy-card: #1b1735;
  --lime: #c3fe34;
  --lime-dark: #a3d824;
  --text: #f4f5ef;
  --text-muted: #b9b8c9;
  --border: rgba(244, 245, 239, 0.1);
  --radius: 18px;
  --max-width: 1160px;
  --font-head: "Poppins", "Arial Black", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--lime);
  color: var(--navy);
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 16px; top: 16px; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

p { margin: 0 0 16px; color: var(--text-muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--lime);
  color: var(--navy);
}
.btn-primary:hover { background: var(--lime-dark); }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }

.btn-small { padding: 10px 20px; font-size: 13px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 12, 31, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand-logo { height: 34px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}
.main-nav a:hover { color: var(--lime); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  display: block;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 100px;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to left, rgba(15, 12, 31, 0.9) 0%, rgba(15, 12, 31, 0.78) 34%, rgba(15, 12, 31, 0.5) 58%, rgba(15, 12, 31, 0.12) 82%, rgba(15, 12, 31, 0) 100%),
    linear-gradient(0deg, rgba(15, 12, 31, 0.55) 0%, rgba(15, 12, 31, 0) 22%, rgba(15, 12, 31, 0) 75%, rgba(15, 12, 31, 0.35) 100%),
    radial-gradient(circle at 15% 10%, rgba(195, 254, 52, 0.1), transparent 45%),
    url('images/hero-cobertura.jpg');
  background-size: cover, cover, cover, cover;
  /* El último valor (60%) controla qué parte vertical de la foto se ve: 0% = arriba, 100% = abajo */
  background-position: center, center, center, center 60%;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-inner { position: relative; z-index: 1; max-width: 760px; margin-left: auto; }

.eyebrow, .section-eyebrow {
  font-family: var(--font-head);
  color: var(--lime);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  text-shadow: 0 2px 24px rgba(15, 12, 31, 0.7);
}

.hero-sub {
  font-size: 17px;
  max-width: 560px;
  text-shadow: 0 1px 12px rgba(15, 12, 31, 0.6);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0 40px;
}

.hero-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--navy-soft); }

.section-title { font-size: clamp(26px, 3.4vw, 38px); max-width: 640px; }
.section-lead { font-size: 17px; max-width: 560px; }

/* ===== Combo card ===== */
.combo-card {
  margin-top: 40px;
  background: var(--lime);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  overflow: hidden;
}

.combo-media {
  background: var(--navy);
  overflow: hidden;
}
.combo-icon { width: 70%; max-width: 220px; }
.combo-photo {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.combo-body { padding: 44px; color: var(--navy); }

.combo-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--navy);
  color: var(--lime);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.combo-body h3 {
  color: var(--navy);
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 14px;
}

.combo-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.price-now {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
}
.price-before {
  font-size: 17px;
  color: rgba(15, 12, 31, 0.55);
  text-decoration: line-through;
}

.combo-desc { color: rgba(15, 12, 31, 0.8); }

.combo-promo {
  background: rgba(15, 12, 31, 0.08);
  border: 1px solid rgba(15, 12, 31, 0.18);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--navy);
  font-size: 14.5px;
  margin-bottom: 18px;
}

.combo-note {
  font-size: 12.5px;
  color: rgba(15, 12, 31, 0.6);
  margin-bottom: 24px;
}

.combo-card .btn-primary {
  background: var(--navy);
  color: var(--lime);
}
.combo-card .btn-primary:hover { background: #221c40; }

.disclaimer {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ===== Cobertura ===== */
.cobertura-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.cobertura-visual {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cobertura-icon { width: 65%; }

/* ===== Autogestión ===== */
.autogestion-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--navy-card);
  border: 1px solid rgba(195, 254, 52, 0.35);
  border-radius: var(--radius);
  padding: 48px;
}

.autogestion-text { max-width: 620px; }
.autogestion-text .section-title,
.autogestion-text .section-lead { margin-bottom: 18px; }

.autogestion-badge {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
}
.autogestion-icon { width: 100%; }

/* ===== Features ===== */
.features-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.feature-icon { font-size: 26px; display: block; margin-bottom: 14px; }

.feature-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  text-transform: none;
}

.feature-card p { font-size: 14px; margin: 0; }

/* ===== Contacto ===== */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 18px;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.contact-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lime);
}

.contact-list a { font-size: 17px; font-weight: 600; }
.contact-list a:hover { color: var(--lime); }
.contact-list span:not(.contact-label) { font-size: 16px; }

.map-wrap {
  height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ===== QR contacto ===== */
.qr-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.qr-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.qr-img {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
}

.qr-info { min-width: 0; }
.qr-info .contact-label { display: block; margin-bottom: 4px; }
.qr-info > a:first-of-type { font-size: 17px; font-weight: 600; display: inline-block; }
.qr-info > a:first-of-type:hover { color: var(--lime); }

.qr-hint {
  font-size: 13px;
  margin: 8px 0 10px;
}

.qr-save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--lime);
  border-bottom: 1px solid rgba(195, 254, 52, 0.4);
}
.qr-save:hover { border-color: var(--lime); }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner { text-align: center; }
.footer-logo { height: 28px; margin: 0 auto 16px; }
.footer-inner p { margin: 0 0 6px; font-size: 14px; }
.footer-copy { font-size: 12.5px; color: rgba(185, 184, 201, 0.6); }

/* ===== WhatsApp float ===== */
.wsp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 150;
  transition: transform 0.15s ease;
}
.wsp-float:hover { transform: scale(1.08); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .combo-card { grid-template-columns: 1fr; }
  .combo-media { padding: 30px; }
  .combo-icon { max-width: 160px; }
  .cobertura-grid { grid-template-columns: 1fr; }
  .cobertura-visual { order: -1; }
  .autogestion-card { flex-direction: column; text-align: center; padding: 36px; }
  .autogestion-text { max-width: 100%; }
  .contacto-grid { grid-template-columns: 1fr; }
  .map-wrap { height: 280px; }
  .qr-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 26px;
    gap: 18px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav .btn { width: 100%; text-align: center; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 60px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .combo-body { padding: 30px; }
}
