:root {
  --ink: #111820;
  --muted: #65707a;
  --line: #dde2e7;
  --surface: #ffffff;
  --soft: #f4f6f8;
  --red: #e50914;
  --red-dark: #b70610;
  --graphite: #233242;
  --black: #07090c;
  --shadow: 0 24px 70px rgba(7, 9, 12, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #07090c;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.site-loader img {
  display: block;
  width: min(360px, 72vw);
  height: auto;
  animation: loaderLogoGlow 1.35s ease-in-out infinite;
  filter: brightness(1.08) drop-shadow(0 0 12px rgba(229, 9, 20, 0.58));
}

body.is-loaded .site-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes loaderLogoGlow {
  0%,
  100% {
    transform: scale(0.98);
    filter: brightness(1.03) drop-shadow(0 0 10px rgba(229, 9, 20, 0.5));
  }

  45% {
    transform: scale(1.03);
    filter: brightness(1.38) drop-shadow(0 0 22px rgba(255, 255, 255, 0.7)) drop-shadow(0 0 40px rgba(229, 9, 20, 0.9));
  }
}

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

.site-header {
  min-height: 92vh;
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 18%, rgba(229, 9, 20, 0.34), transparent 32%),
    linear-gradient(90deg, rgba(5, 7, 10, 0.97) 0%, rgba(10, 14, 19, 0.86) 43%, rgba(10, 14, 19, 0.32) 78%),
    url("assets/hero-fibra-optica.png") center right / cover no-repeat;
}

.page-header {
  color: #ffffff;
  background:
    radial-gradient(circle at 16% 16%, rgba(229, 9, 20, 0.38), transparent 34%),
    linear-gradient(135deg, rgba(5, 7, 10, 0.98) 0%, rgba(20, 29, 39, 0.96) 68%, rgba(67, 14, 20, 0.92) 100%);
}

.nav {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  width: 230px;
  min-width: 185px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  animation: logoReveal 1.1s ease-out both, logoGlow 1.7s ease-in-out 1.1s infinite;
  filter: brightness(1.08) drop-shadow(0 0 10px rgba(229, 9, 20, 0.55));
}

.brand {
  position: relative;
  overflow: visible;
}

@keyframes logoReveal {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
    filter: drop-shadow(0 0 0 rgba(229, 9, 20, 0));
  }

  55% {
    opacity: 1;
    transform: translateY(0) scale(1.02);
    filter: drop-shadow(0 0 18px rgba(229, 9, 20, 0.62));
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 10px rgba(229, 9, 20, 0.36));
  }
}

@keyframes logoGlow {
  0%,
  100% {
    filter: brightness(1) drop-shadow(0 0 8px rgba(229, 9, 20, 0.38));
  }

  45% {
    filter: brightness(1.38) drop-shadow(0 0 18px rgba(255, 255, 255, 0.72)) drop-shadow(0 0 34px rgba(229, 9, 20, 0.92));
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
  font-size: 0.92rem;
}

.nav-menu a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 8px;
}

.nav-menu .client-area-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--red);
}

.nav-menu .tv-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-menu .client-area-link:hover {
  text-decoration: none;
}

.nav-menu .tv-link:hover {
  text-decoration: none;
  border-color: rgba(229, 9, 20, 0.72);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #ffffff;
}

.hero {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0 44px;
  display: grid;
  grid-template-columns: minmax(0, 650px) 1fr;
  gap: 36px;
  align-items: end;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.hero .eyebrow {
  color: #ffffff;
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-left: 4px solid var(--red);
  background: rgba(229, 9, 20, 0.16);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(3.1rem, 8vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: 0;
  max-width: 9ch;
  overflow-wrap: anywhere;
}

.rotating-headline {
  display: inline-block;
  transition: opacity 0.26s ease, transform 0.26s ease;
}

.rotating-headline.is-changing {
  opacity: 0;
  transform: translateY(10px);
}

.page-hero {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 92px;
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(2.6rem, 6vw, 5.1rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.18rem;
  line-height: 1.7;
}

.page-hero .tv-hosting-note {
  max-width: 680px;
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  font-size: 1.2rem;
}

.hero-text {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(229, 9, 20, 0.3);
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.button.speedtest-button {
  color: #ffffff;
  border-color: rgba(229, 9, 20, 0.62);
  background: rgba(229, 9, 20, 0.18);
}

.button.dark {
  color: #ffffff;
  background: var(--graphite);
}

.hero-panel {
  display: grid;
  gap: 12px;
  justify-self: end;
  width: min(100%, 310px);
}

.hero-panel div {
  padding: 18px;
  border: 1px solid rgba(229, 9, 20, 0.28);
  border-radius: 8px;
  background: rgba(7, 9, 12, 0.54);
  backdrop-filter: blur(14px);
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  font-size: 1.45rem;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.74);
  margin-top: 4px;
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.compact {
  max-width: 680px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.service-grid,
.plans-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.plan,
.trust-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.service-card {
  padding: 28px;
  border-top: 4px solid var(--red);
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  background: #fff0f1;
  color: var(--red-dark);
  font-size: 1.35rem;
  font-weight: 800;
}

.service-card p,
.plan li,
.trust-grid p,
.contact-copy p,
.footer p {
  color: var(--muted);
  line-height: 1.65;
}

.wifi6-feature {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 32px;
  align-items: center;
  padding: clamp(30px, 5vw, 56px);
  border-radius: 8px;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 18%, rgba(229, 9, 20, 0.36), transparent 28%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(135deg, #07090c 0%, #17212d 58%, #56070d 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.wifi6-feature-page {
  margin-top: 78px;
  margin-bottom: 0;
}

.wifi6-page-hero h1 {
  max-width: 960px;
}

.wifi6-details {
  padding-top: 62px;
}

.wifi6-copy,
.wifi6-art {
  min-width: 0;
}

.wifi6-copy .eyebrow {
  color: #ffffff;
}

.wifi6-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.wifi6-copy p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.7;
}

.wifi6-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 28px;
}

.wifi6-benefits span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.wifi6-art {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28);
}

.wifi6-art img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.plans {
  width: 100%;
  max-width: none;
  padding: 86px max(20px, calc((100% - 1160px) / 2));
  background: linear-gradient(180deg, #f7f8fa 0%, #eef1f4 100%);
}

.plans-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.plan {
  padding: 20px;
  box-shadow: 0 12px 34px rgba(20, 32, 38, 0.06);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.plan:hover {
  border-color: rgba(229, 9, 20, 0.72);
  box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.16), 0 18px 42px rgba(229, 9, 20, 0.24);
  transform: translateY(-3px);
}

.plan.featured {
  border-color: var(--red);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.plan.featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--red);
}

.plan-label {
  color: var(--red-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.speed {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 800;
  color: var(--graphite);
}

.plan ul {
  padding-left: 18px;
  margin: 16px 0;
  font-size: 0.92rem;
}

.plan li + li {
  margin-top: 7px;
}

.plan a {
  color: var(--red-dark);
  font-weight: 800;
}

.promotions {
  padding-top: 78px;
}

.promo-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 8px;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.18), transparent 28%),
    radial-gradient(circle at 10% 90%, rgba(229, 9, 20, 0.42), transparent 34%),
    linear-gradient(135deg, #07090c 0%, #1d2936 58%, #7b0b12 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.promo-banner .eyebrow {
  color: #ffffff;
}

.promo-banner-copy h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 5vw, 4.3rem);
}

.promo-banner-copy,
.promo-banner-offer {
  min-width: 0;
}

.promo-banner-copy p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
  line-height: 1.7;
}

.promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.promo-highlights {
  position: relative;
  margin-top: 22px;
  min-height: 116px;
}

.promo-highlights article {
  position: absolute;
  inset: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.promo-highlights article.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.promo-highlights strong,
.promo-highlights span {
  display: block;
}

.promo-highlights strong {
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 1.05rem;
}

.promo-highlights span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

.promo-banner-offer {
  min-height: 290px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.promo-banner-offer span,
.promo-banner-offer small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.promo-banner-offer strong {
  display: block;
  color: #ffffff;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.92;
}

.promo-banner-offer p {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
}

.coverage-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
  padding: 76px max(20px, calc((100% - 1160px) / 2));
  color: #ffffff;
  background: linear-gradient(135deg, #080b0f 0%, #1d2936 64%, #3b1115 100%);
}

.coverage-band .eyebrow {
  color: #ff3b43;
}

.coverage-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.coverage-map-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(229, 9, 20, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.honduras-map {
  min-height: 260px;
  display: grid;
  place-items: center;
}

.honduras-map svg {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
}

.map-country {
  fill: rgba(255, 255, 255, 0.18);
  stroke: rgba(255, 255, 255, 0.78);
  stroke-width: 4;
}

.map-bay {
  fill: rgba(255, 255, 255, 0.22);
  stroke: rgba(255, 255, 255, 0.68);
  stroke-width: 2;
}

.map-zone {
  fill: #e50914;
  stroke: #ffffff;
  stroke-width: 3;
  filter: drop-shadow(0 8px 18px rgba(229, 9, 20, 0.46));
}

.map-zone.santa-barbara {
  fill: #ff3b43;
}

.map-node {
  fill: #ffffff;
  stroke: var(--red);
  stroke-width: 3;
}

.map-label {
  fill: rgba(255, 255, 255, 0.82);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0;
  text-anchor: middle;
}

.map-zone-label {
  fill: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-anchor: middle;
  paint-order: stroke;
  stroke: rgba(7, 9, 12, 0.58);
  stroke-width: 3px;
}

.map-legend {
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.76);
}

.map-legend strong {
  color: #ffffff;
}

.map-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.18);
}

.coverage-map-fallback {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(229, 9, 20, 0.18);
  font-weight: 800;
}

.coverage-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.coverage-list span {
  padding: 15px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(229, 9, 20, 0.3);
  font-weight: 700;
}

.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-grid div {
  padding: 28px;
}

.trust-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: var(--graphite);
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
  padding: 86px max(20px, calc((100% - 1160px) / 2));
  background: linear-gradient(90deg, #ffffff 0%, #f3f4f6 52%, #fff0f1 100%);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--graphite);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #ffffff;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(229, 9, 20, 0.16);
  border-color: var(--red);
}

.footer {
  padding: 28px max(20px, calc((100% - 1160px) / 2));
  color: #ffffff;
  background: var(--black);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 42px;
  align-items: start;
  padding: 34px 0 42px;
}

.footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.64);
}

.footer h3 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 1rem;
}

.footer-brand p {
  max-width: 430px;
}

.footer-logo {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: fit-content;
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--red);
  font-weight: 800;
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.footer-links .policy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  margin-top: 8px;
  padding: 0 14px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--red);
}

.footer-links .download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  margin-top: 8px;
  padding: 0 14px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--red);
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: #ffffff;
}

.policy-page {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0;
}

.policies-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.policies-grid article {
  min-height: 220px;
  padding: 26px;
  border-radius: 8px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(20, 32, 38, 0.06);
}

.policies-grid h3 {
  margin-bottom: 10px;
  color: var(--graphite);
}

.policies-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.speedtest-page {
  background: #f4f6f8;
}

.speedtest-wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0;
}

.speedtest-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.speedtest-frame iframe {
  display: block;
  width: 100%;
  border: 0;
}

.speedtest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.speedtest-popup .page-header,
.speedtest-popup .footer,
.speedtest-popup .speedtest-actions {
  display: none;
}

.speedtest-popup .speedtest-wrap {
  width: 100%;
  padding: 0;
}

.speedtest-popup .speedtest-frame {
  min-height: 100vh;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.speedtest-popup .speedtest-frame iframe {
  height: 100vh;
}

.client-system {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0;
}

.compact-client-system {
  width: min(900px, calc(100% - 40px));
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.client-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(20, 32, 38, 0.06);
}

.client-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--red);
  font-weight: 800;
}

.client-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.client-cta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: 28px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #07090c 0%, #1d2936 70%, #3b1115 100%);
}

.client-cta h2 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.client-cta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.client-query {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
  margin-top: 28px;
  padding: 28px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.client-query > * {
  min-width: 0;
}

.query-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.client-query-form {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.client-query-form input {
  width: 100%;
  min-width: 0;
}

.client-result {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8fa;
  overflow: hidden;
}

.client-result.is-empty {
  display: none;
}

.client-result p:last-child {
  margin-bottom: 0;
}

.result-summary {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
}

.result-summary h3 {
  margin-bottom: 6px;
}

.payment-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.payment-button {
  min-height: 46px;
}

.paypal-button {
  background: #0070ba;
  border-color: #0070ba;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 112, 186, 0.24);
}

.paypal-button:hover {
  background: #005ea6;
  border-color: #005ea6;
}

.card-button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  color: #7b818c;
  background: #eef0f4;
  border-color: #d7dbe3;
  box-shadow: none;
}

.payment-note {
  color: var(--muted);
  font-weight: 700;
}

.payment-error {
  flex-basis: 100%;
  margin: 2px 0 0;
  color: var(--red);
  font-weight: 800;
}

.service-balances {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.service-balance-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.service-balance-card h4 {
  margin-bottom: 6px;
  color: var(--ink);
}

.service-balance-card p {
  margin: 0 0 4px;
  color: var(--muted);
}

.service-balance-amount {
  text-align: right;
}

.service-balance-amount span {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.82rem;
}

.service-balance-amount strong {
  color: var(--red);
  font-size: 1.2rem;
}

.service-balance-invoices {
  grid-column: 1 / -1;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.payment-return {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: #f5f6f8;
}

.payment-return-card {
  width: min(520px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  text-align: center;
}

.payment-return-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(280px, 92%);
  min-height: 118px;
  margin: 0 auto 24px;
  padding: 22px;
  border-radius: 8px;
  background: #07090c;
}

.payment-return-logo img {
  width: 220px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.payment-return-card h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 1.03;
  overflow-wrap: normal;
}

.payment-return-card p {
  margin-bottom: 22px;
  color: var(--muted);
}

.result-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.result-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #ffffff;
}

.result-table th,
.result-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.result-table th {
  color: var(--graphite);
  background: #fff0f1;
}

.live-tv-page {
  background: #f4f6f8;
}

.tv-layout {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.tv-player-panel,
.channel-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(20, 32, 38, 0.08);
}

.tv-player-panel {
  overflow: hidden;
}

.tv-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 72% 24%, rgba(229, 9, 20, 0.26), transparent 28%),
    linear-gradient(135deg, #07090c 0%, #16202b 100%);
}

.tv-player {
  display: none;
  width: 100%;
  height: 100%;
  background: #000000;
}

.tv-screen.is-playing .tv-player {
  display: block;
}

.tv-screen.is-playing .tv-placeholder {
  display: none;
}

.tv-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  color: #ffffff;
}

.tv-placeholder strong {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.tv-placeholder span {
  color: rgba(255, 255, 255, 0.68);
}

.tv-now {
  padding: 28px;
}

.tv-now h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.tv-now p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.tv-service-ad {
  margin: 0 28px 28px;
  padding: 22px;
  border: 1px solid rgba(229, 9, 20, 0.2);
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 18%, rgba(229, 9, 20, 0.14), transparent 30%),
    #f7f8fa;
}

.tv-service-ad h3 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.tv-service-ad p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.tv-ad-title,
.tv-ad-text {
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.tv-ad-title.is-changing,
.tv-ad-text.is-changing {
  opacity: 0;
  transform: translateY(6px);
}

.channel-panel {
  padding: 22px;
}

.channel-heading {
  margin-bottom: 18px;
}

.channel-heading h2 {
  margin-bottom: 6px;
  font-size: 1.6rem;
}

.channel-heading p {
  color: var(--muted);
}

.channel-list {
  display: grid;
  gap: 10px;
}

.channel-card {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.channel-card:hover,
.channel-card.active {
  border-color: rgba(229, 9, 20, 0.46);
  background: #fff5f5;
}

.channel-card span {
  font-weight: 800;
}

.channel-card small {
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    min-height: auto;
    background:
      radial-gradient(circle at 22% 14%, rgba(229, 9, 20, 0.32), transparent 36%),
      linear-gradient(180deg, rgba(5, 7, 10, 0.97) 0%, rgba(10, 14, 19, 0.91) 52%, rgba(10, 14, 19, 0.58) 100%),
      url("assets/hero-fibra-optica.png") center / cover no-repeat;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: relative;
  }

  .nav-menu {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 8px;
    background: rgba(7, 9, 12, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: flex;
  }

  .hero,
  .coverage-band,
  .contact,
  .tv-layout,
  .wifi6-feature {
    grid-template-columns: 1fr;
  }

  .coverage-map-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 10px 0 32px;
  }

  .hero-panel {
    justify-self: start;
  }

  .service-grid,
  .trust-grid,
  .policies-grid,
  .client-grid,
  .promo-banner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plans-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .nav,
  .hero,
  .section,
  .wifi6-feature,
  .page-hero,
  .policy-page,
  .tv-layout,
  .client-system,
  .speedtest-wrap {
    width: min(100% - 28px, 1160px);
  }


  .brand {
    width: 178px;
    min-width: 0;
  }

  h1 {
    font-size: clamp(2.45rem, 14vw, 4.1rem);
  }

  .page-hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
    line-height: 1;
  }

  .hero-actions,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .whatsapp,
  .footer-links .policy-link,
  .footer-links .download-link {
    width: 100%;
  }

  .service-grid,
  .plans-grid,
  .trust-grid,
  .coverage-list,
  .policies-grid,
  .client-grid,
  .promo-banner,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .promo-highlights {
    min-height: 0;
  }

  .promo-banner {
    gap: 20px;
    padding: 22px;
  }

  .promo-banner-copy h2 {
    margin-bottom: 14px;
    font-size: clamp(1.85rem, 9vw, 2.7rem);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .promo-banner-copy p:not(.eyebrow) {
    font-size: 0.98rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .promo-highlights article {
    position: relative;
    display: none;
    inset: auto;
    min-height: 126px;
  }

  .promo-highlights article.is-active {
    display: block;
  }

  .promo-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .promo-banner-offer {
    min-height: auto;
    padding: 20px;
  }

  .promo-banner-offer strong {
    font-size: clamp(2.35rem, 16vw, 3.7rem);
    line-height: 0.96;
    overflow-wrap: anywhere;
  }

  .promo-banner-offer p {
    font-size: 1rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .client-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .client-query {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 18px;
    overflow: hidden;
  }

  .client-result {
    padding: 18px;
  }

  .result-summary h3,
  .result-summary p,
  .payment-note,
  .payment-error {
    overflow-wrap: anywhere;
  }

  .result-table {
    min-width: 0;
    table-layout: fixed;
    font-size: 0.88rem;
  }

  .result-table th,
  .result-table td {
    padding: 10px 8px;
    overflow-wrap: anywhere;
  }

  .payment-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .service-balance-card {
    grid-template-columns: 1fr;
  }

  .service-balance-amount {
    text-align: left;
  }

  .payment-button {
    width: 100%;
    justify-content: center;
  }

  .payment-return {
    align-items: start;
    padding: 104px 16px 36px;
  }

  .payment-return-card {
    padding: 28px 20px;
  }

  .payment-return-logo {
    width: 100%;
    min-height: 110px;
    padding: 18px;
  }

  .payment-return-logo img {
    width: 210px;
  }

  .payment-return-card h1 {
    font-size: clamp(2.15rem, 11vw, 3rem);
    line-height: 1.05;
    word-break: normal;
  }

  .footer-main {
    gap: 28px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .section,
  .plans,
  .contact,
  .wifi6-feature {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .wifi6-feature {
    padding: 24px;
  }

  .wifi6-copy h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
    line-height: 1.02;
  }

  .wifi6-copy p:not(.eyebrow) {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .wifi6-benefits {
    grid-template-columns: 1fr;
  }

  .wifi6-art {
    min-height: 220px;
  }

  .wifi6-art img {
    min-height: 220px;
    object-position: 58% center;
  }

  .service-card,
  .plan,
  .trust-grid div,
  .contact-form,
  .coverage-map-card {
    padding: 22px;
  }
}
