:root {
  color-scheme: dark;
  --background: #080b11;
  --surface: #101722;
  --line: #315569;
  --cyan: #09d9f8;
  --text: #f4f9ff;
  --muted: #b1bfd0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  color: var(--text);
  background: var(--background);
}
.network-background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  object-fit: cover;
  opacity: .55;
}
.network-map { display: block; width: 100%; height: auto; }
.network-routes {
  fill: none;
  stroke: #58b6ff;
  stroke-width: 4;
  opacity: .45;
}
.network-pulses {
  fill: none;
  stroke: #8aeaff;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 5 125;
  stroke-dashoffset: 6;
  filter: drop-shadow(0 0 5px #19aaff);
}
.network-pulses use {
  animation: network-signal var(--duration, 4.8s) linear var(--delay) infinite;
}
@keyframes network-signal {
  70%, 100% { stroke-dashoffset: -106; }
}
.network-origin { fill: #9ff4ff; stroke: #129cf5; stroke-width: 7; filter: drop-shadow(0 0 12px #1ac7ff); }
.network-label { fill: #fff; stroke: #06111e; stroke-width: 10; paint-order: stroke; font-size: 46px; font-weight: 700; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.top, .brand, nav, .actions, .button, .floating { display: flex; align-items: center; }
.top { min-height: 104px; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 12px; }
.brand { gap: 12px; font-size: clamp(1.25rem, 2.35vw, 1.8rem); line-height: 1.1; letter-spacing: -.035em; font-weight: 750; }
.brand img { width: 88px; height: 88px; flex: none; }
.brand strong { color: var(--cyan); }
nav { gap: 24px; color: var(--muted); font-size: .93rem; }
nav a:hover, .footer a:hover { color: var(--cyan); }
.account { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); }
.hero { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; min-height: 565px; gap: 36px; padding-block: 48px; }
.eyebrow { color: var(--cyan); letter-spacing: .15em; font-size: .76rem; font-weight: 750; }
.eyebrow span { display: inline-block; background: var(--cyan); width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; box-shadow: 0 0 13px var(--cyan); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(3rem, 7.1vw, 6.5rem); line-height: .96; letter-spacing: -.083em; }
h1 em { color: var(--cyan); font-style: normal; }
h2 { font-size: clamp(2.05rem, 5vw, 3.65rem); line-height: 1.02; letter-spacing: -.06em; margin-bottom: 22px; }
h3 { font-size: 1.42rem; letter-spacing: -.035em; }
.intro, .card p { color: var(--muted); line-height: 1.65; }
.intro { max-width: 42ch; font-size: 1.12rem; margin-bottom: 28px; }
.actions { gap: 12px; flex-wrap: wrap; }
.button { min-height: 46px; width: fit-content; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 9px; padding: 10px 15px; font-weight: 730; cursor: pointer; }
.primary { background: var(--cyan); color: #021019; }
.primary:hover { background: #72efff; }
.secondary { background: #101b28; border-color: #344c60; color: var(--text); }
.secondary:hover { border-color: var(--cyan); }
.signal { position: relative; overflow: hidden; border: 1px solid #61daff60; border-radius: 10px 38px; background: #050b16; }
.signal-logo {
  filter: drop-shadow(0 0 22px #04c8ee6b);
  animation: logo-arrival 850ms cubic-bezier(.2,.75,.25,1) both,
             logo-pulse 2.8s ease-in-out 850ms 2;
}
@keyframes logo-arrival {
  from { opacity: 0; transform: translateY(14px) scale(.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes logo-pulse {
  50% { filter: drop-shadow(0 0 35px #04c8eeb0); }
}
.signal-tag { position: absolute; bottom: 10px; left: 12px; margin: 0; font-size: clamp(.72rem, 1.2vw, .88rem); font-weight: 650; color: #d6efff; letter-spacing: .03em; }
.signal-tag b { color: var(--cyan); }
.section { padding-block: 52px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { border: 1px solid var(--line); border-radius: 8px 26px; padding: clamp(18px,3vw,32px); background: linear-gradient(120deg,#0d1825f5,#101c2cef); box-shadow: inset 0 1px #7be5ff28; }
.fiber { background: linear-gradient(90deg,#081423 28%,#081423e8 63%,#0814238c), url('./fibra-optica.jpg') center right / cover; }
.satellite { background: linear-gradient(90deg,#081423 28%,#081423e8 63%,#0814238c), url('./satelite.jpg') center right / cover; }
.coverage, .balance { background: linear-gradient(100deg,#081423f7,#081423e6), url('./red-global.jpg') center / cover; }
.symbol { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid #26546a; border-radius: 10px; color: var(--cyan); margin-bottom: 17px; font-size: 1.4rem; }
.coverage, .balance { display: grid; grid-template-columns: 1fr minmax(250px,.68fr); gap: 24px; align-items: center; }
.coverage form { display: grid; gap: 10px; }
.coverage label { font-weight: 650; }
select { width: 100%; min-height: 46px; padding: 8px 11px; background: var(--background); border: 1px solid #3c5167; color: var(--text); border-radius: 8px; }
.balance .eyebrow { color: var(--cyan); }
.balance .button { justify-self: end; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; padding-block: 26px 110px; border-top: 1px solid var(--line); color: var(--muted); gap: 12px 24px; }
.legal-copy { max-width: 76ch; line-height: 1.65; }
.legal-copy h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.legal-copy h2 { font-size: 1.6rem; margin: 1.5em 0 .5em; }
.legal-copy a, .service-form p a { color: var(--cyan); text-decoration: underline; }
.floating { position: fixed; z-index: 2; bottom: max(16px,env(safe-area-inset-bottom)); right: 17px; gap: 9px; }
.whatsapp { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #042c15; box-shadow: 0 6px 28px #0008; }
.assistant-open { min-height: 48px; display: flex; align-items: center; gap: 7px; background: #142335; color: var(--text); border: 1px solid #326477; padding: 7px 11px; border-radius: 28px; font-weight: 700; }
.avatar { color: var(--cyan); font-size: 1.2rem; }
.chat { position: fixed; bottom: max(82px,calc(env(safe-area-inset-bottom) + 72px)); right: 17px; width: min(365px,calc(100% - 34px)); max-height: calc(100dvh - 100px); overflow: auto; z-index: 3; box-shadow: 0 8px 42px #000b; padding: 17px; background: linear-gradient(120deg,#0a1524fa,#102436f5), url('./red-global.jpg') center / cover; }
.chat-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.chat-heading small { color: var(--muted); display: block; }
.chat-heading button, .topics button { color: var(--text); background: #162638; border: 1px solid #344c60; border-radius: 7px; min-height: 38px; padding: 5px 9px; }
.topics { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.service-dialog {
  width: min(560px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: clamp(16px, 4vw, 30px);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.service-dialog::backdrop { background: #020811bb; }
.service-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.service-heading h2 { margin: 0; font-size: clamp(1.5rem, 6vw, 2rem); }
.service-close { flex: 0 0 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 9px; background: var(--background); color: var(--text); font-size: 1.4rem; }
.service-form, .service-form label { display: grid; gap: 10px; }
.service-form label { gap: 5px; }
.service-form input { width: 100%; min-height: 46px; padding: 8px 11px; background: var(--background); border: 1px solid #3c5167; color: var(--text); border-radius: 8px; font: inherit; }
.service-form p { color: var(--muted); margin: 0; }
.service-form p:empty { display: none; }
[hidden] { display: none !important; }
@media (max-width: 740px) {
  .wrap { width: calc(100% - 32px); }
  .top { min-height: 80px; }
  .brand { gap: 8px; }
  .brand img { width: 58px; height: 58px; }
  .top .account { flex-shrink: 0; padding-inline: 8px; }
  nav { gap: 12px; }
  nav a:not(.account) { display: none; }
  .hero, .plans, .coverage, .balance { grid-template-columns: 1fr; }
  .hero { min-height: auto; gap: 26px; padding-block: 34px; }
  .section { padding-block: 33px; }
  .balance .button { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .signal-logo { animation: none; }
  .network-pulses { display: none; }
}
