:root {
  color-scheme: light;
  --bg: #f7faf5;
  --bg-soft: #eef5ee;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #111917;
  --muted: #5a6a66;
  --line: rgba(17, 25, 23, 0.12);
  --accent: #00a38f;
  --accent-2: #69c843;
  --accent-3: #ffb03a;
  --accent-4: #ef476f;
  --shadow: 0 18px 60px rgba(28, 50, 43, 0.16);
  --shadow-soft: 0 10px 30px rgba(28, 50, 43, 0.1);
  --radius: 8px;
  --container: min(1120px, calc(100% - 40px));
  --header-height: 76px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07110f;
  --bg-soft: #101916;
  --surface: rgba(15, 25, 22, 0.78);
  --surface-strong: #101916;
  --text: #effbf5;
  --muted: #a3b6b0;
  --line: rgba(239, 251, 245, 0.14);
  --accent: #21d4bd;
  --accent-2: #8ee85b;
  --accent-3: #ffc857;
  --accent-4: #ff6b8a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.26);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, var(--bg), var(--bg-soft) 45%, var(--bg));
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 74%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  min-height: var(--header-height);
  padding: 0 max(20px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.site-header[data-elevated="true"] {
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-weight: 900;
  min-width: max-content;
}

.brand-logo {
  width: 54px;
  height: 54px;
  padding: 4px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.brand-text {
  font-size: 1.05rem;
}

.main-nav {
  grid-column: 2;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 750;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 11%, transparent);
  transform: translateY(-1px);
}

.subscriber-portal {
  position: relative;
  isolation: isolate;
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 72%, #fff);
  border-radius: 999px;
  color: #031411;
  background:
    linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 56%, #bafff1 100%);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 26%, transparent),
    0 12px 34px color-mix(in srgb, var(--accent) 28%, transparent);
  font-size: 0.9rem;
  font-weight: 950;
  white-space: nowrap;
  transform: translateZ(0);
  animation: subscriberGlow 2.1s ease-in-out infinite;
}

.subscriber-portal::before {
  content: "";
  position: absolute;
  inset: -42% -28%;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.72) 44%, transparent 60%);
  transform: translateX(-72%) rotate(8deg);
  animation: subscriberShine 4.2s ease-in-out infinite;
}

.subscriber-portal::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -2;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.52), transparent 42%);
}

.subscriber-portal:hover,
.subscriber-portal:focus-visible {
  color: #031411;
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 38%, transparent),
    0 16px 42px color-mix(in srgb, var(--accent) 42%, transparent);
}

.subscriber-portal-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--accent);
  background: #031411;
  font-size: 1rem;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  animation: subscriberIconPulse 2.1s ease-in-out infinite;
}

.theme-toggle,
.icon-button {
  appearance: none;
  border: 0;
  cursor: pointer;
}

.theme-toggle {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.toggle-track {
  position: relative;
  width: 42px;
  height: 22px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 24%, var(--bg-soft));
  box-shadow: inset 0 0 0 1px var(--line);
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.22s ease,
    background 0.22s ease;
}

:root[data-theme="dark"] .toggle-thumb {
  transform: translateX(20px);
  background: var(--accent);
}

.nav-toggle {
  display: none;
  grid-column: 4;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  content: "";
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.hamburger::before {
  transform: translateY(-6px);
}

.hamburger::after {
  transform: translateY(4px);
}

.nav-toggle[aria-expanded="true"] .hamburger {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(90deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  opacity: 0;
}

.section-band {
  position: relative;
  padding: 92px 0;
}

.hero {
  display: grid;
  align-items: center;
  min-height: clamp(560px, 74svh, 720px);
  padding: 42px 0 72px;
  overflow: hidden;
  isolation: isolate;
}

.plans-section {
  padding-top: 72px;
}

.fiber-scene {
  position: absolute;
  inset: 0;
  z-index: -3;
  min-height: 100%;
}

.fiber-scene canvas {
  width: 100%;
  height: 100%;
}

.hero-glass {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 88%, transparent), transparent 74%),
    linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--bg) 78%, transparent) 100%);
}

.hero-content {
  width: var(--container);
  margin: 0 auto;
  max-width: 760px;
  justify-self: start;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-brand-title {
  display: inline-grid;
  width: fit-content;
  max-width: 100%;
  gap: 8px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.05rem, 9.4vw, 7.2rem);
  line-height: 0.9;
  font-weight: 950;
  white-space: nowrap;
}

.hero-brand-subtitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  color: var(--accent);
  font-size: clamp(1.35rem, 3.8vw, 2.8rem);
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-brand-subtitle span {
  display: block;
  min-width: 0;
  line-height: 1;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.3vw, 1.28rem);
  overflow-wrap: break-word;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  min-width: 148px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 850;
  border: 1px solid var(--line);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #07110f;
  background:
    linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  box-shadow: 0 16px 34px color-mix(in srgb, var(--accent) 32%, transparent);
}

.btn-ghost {
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.btn-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: color-mix(in srgb, #fff 28%, transparent);
  font-weight: 950;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 700px;
  margin-top: 34px;
}

.signal-strip div {
  min-height: 84px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  font-size: clamp(0.92rem, 1.7vw, 1.05rem);
}

.signal-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 6px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  animation: scrollDot 1.7s ease-in-out infinite;
}

.section-heading {
  width: var(--container);
  max-width: 740px;
  margin: 0 auto 36px;
}

.section-heading h2,
.coverage h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.02;
}

.section-heading p:not(.eyebrow),
.coverage-content p,
.contact-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.plan-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  perspective: 1200px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 94%, transparent), var(--surface));
  box-shadow: var(--shadow-soft);
  transform-style: preserve-3d;
  transition:
    transform 0.18s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.plan-card.featured::before {
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: calc(var(--radius) + 2px);
  content: "";
  background:
    linear-gradient(120deg, transparent 0 24%, rgba(255, 255, 255, 0.72) 34%, transparent 46%),
    linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  background-size: 260% 100%, 100% 100%;
  opacity: 0.78;
  filter: blur(0.5px);
  animation:
    featuredGlow 2.6s ease-in-out infinite,
    featuredShine 3.4s linear infinite;
}

.plan-card:hover {
  border-color: color-mix(in srgb, var(--accent) 48%, var(--line));
  box-shadow: var(--shadow);
}

.plan-card::after {
  position: absolute;
  inset: 12px;
  z-index: -1;
  border-radius: var(--radius);
  content: "";
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), color-mix(in srgb, var(--accent-3) 12%, transparent));
  opacity: 0;
  filter: blur(24px);
  transition: opacity 0.2s ease;
}

.plan-card:hover::after,
.plan-card.featured::after {
  opacity: 1;
}

.plan-card.featured {
  border-color: color-mix(in srgb, var(--accent) 58%, var(--line));
  box-shadow:
    0 18px 46px color-mix(in srgb, var(--accent) 26%, transparent),
    0 0 0 1px color-mix(in srgb, var(--accent-2) 34%, transparent);
  animation: featuredPulse 2.6s ease-in-out infinite;
}

.plan-card.featured .plan-badge {
  color: #07110f;
  background:
    linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 20px color-mix(in srgb, var(--accent) 36%, transparent);
}

.plan-badge {
  align-self: flex-start;
  padding: 6px 9px;
  border-radius: 999px;
  color: color-mix(in srgb, var(--accent) 72%, var(--text));
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  font-size: 0.78rem;
  font-weight: 900;
}

.plan-card h3 {
  margin: 28px 0 12px;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 0.95;
}

.plan-card p {
  margin: 0;
  color: var(--muted);
}

.plan-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
}

.plan-card li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-2);
  content: "";
  transform: translateY(-50%);
}

.plan-action {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: auto;
  color: var(--accent);
  font-weight: 900;
}

.dedicated {
  overflow: hidden;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent 46%),
    color-mix(in srgb, var(--surface-strong) 38%, transparent);
}

.dedicated-layout {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

.dedicated-panel {
  position: relative;
  min-height: 440px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface-strong) 90%, transparent), color-mix(in srgb, var(--accent) 10%, transparent));
  box-shadow: var(--shadow);
}

.dedicated-panel h3 {
  position: relative;
  z-index: 2;
  max-width: 420px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.dedicated-panel p {
  position: relative;
  z-index: 2;
  max-width: 440px;
  margin: 18px 0 0;
  color: var(--muted);
}

.panel-orbit {
  position: absolute;
  inset: 36px;
  transform: perspective(700px) rotateX(62deg) rotateZ(-16deg);
  transform-style: preserve-3d;
}

.panel-orbit span {
  position: absolute;
  inset: 0;
  border: 2px solid color-mix(in srgb, var(--accent) 44%, transparent);
  border-radius: 50%;
  animation: orbitSpin 14s linear infinite;
}

.panel-orbit span:nth-child(2) {
  inset: 34px;
  border-color: color-mix(in srgb, var(--accent-2) 46%, transparent);
  animation-duration: 18s;
}

.panel-orbit span:nth-child(3) {
  inset: 68px;
  border-color: color-mix(in srgb, var(--accent-3) 42%, transparent);
  animation-duration: 22s;
}

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

.speed-chip {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 136px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.speed-chip::before {
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background:
    linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent-4));
  content: "";
}

.speed-chip:hover,
.speed-chip:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
  transform: translateY(-4px) rotateX(3deg);
}

.speed-chip span {
  display: block;
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  line-height: 0.9;
  font-weight: 950;
}

.features {
  background: color-mix(in srgb, var(--bg-soft) 72%, transparent);
}

.feature-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-item {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  transform: perspective(160px) rotateX(18deg) rotateY(-22deg);
}

.feature-icon::before,
.feature-icon::after {
  position: absolute;
  content: "";
  background: var(--accent-2);
}

.feature-icon::before {
  top: 11px;
  left: 11px;
  width: 26px;
  height: 3px;
}

.feature-icon::after {
  top: 25px;
  left: 11px;
  width: 18px;
  height: 3px;
}

.feature-icon.pulse {
  border-radius: 50%;
}

.feature-icon.pulse::before {
  inset: 14px;
  width: auto;
  height: auto;
  border-radius: 50%;
  background: var(--accent-4);
  animation: pulseCore 1.8s ease-in-out infinite;
}

.feature-icon.pulse::after {
  display: none;
}

.feature-icon.stack::before,
.feature-icon.stack::after {
  left: 8px;
  width: 32px;
  height: 8px;
  border-radius: 999px;
}

.feature-icon.stack::after {
  top: 27px;
  background: var(--accent-3);
}

.feature-item h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
}

.coverage {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.coverage-content {
  max-width: 560px;
}

.coverage-map {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 13%, transparent), color-mix(in srgb, var(--accent-3) 10%, transparent)),
    var(--surface);
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateX(8deg) rotateY(-8deg);
}

.coverage-map::before {
  position: absolute;
  inset: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  content: "";
  background-image:
    linear-gradient(90deg, transparent 48%, color-mix(in srgb, var(--accent) 40%, transparent) 49%, transparent 50%),
    linear-gradient(0deg, transparent 48%, color-mix(in srgb, var(--accent-2) 34%, transparent) 49%, transparent 50%);
  background-size: 84px 84px;
}

.coverage-map span {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent-3) 16%, transparent);
  animation: mapPulse 2s ease-in-out infinite;
}

.coverage-map span:nth-child(1) {
  top: 22%;
  left: 24%;
}

.coverage-map span:nth-child(2) {
  top: 42%;
  left: 62%;
  background: var(--accent);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 18%, transparent);
  animation-delay: 0.35s;
}

.coverage-map span:nth-child(3) {
  top: 68%;
  left: 36%;
  background: var(--accent-2);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent-2) 18%, transparent);
  animation-delay: 0.7s;
}

.coverage-map span:nth-child(4) {
  top: 64%;
  left: 76%;
  background: var(--accent-4);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent-4) 18%, transparent);
  animation-delay: 1.05s;
}

.contact {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.contact-note {
  display: grid;
  gap: 4px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.contact-note span {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface-strong) 86%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}

.contact-form .btn {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-helper {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: var(--container);
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.footer-brand strong {
  color: var(--text);
  font-weight: 900;
}

.footer-certification {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

.footer-certification img {
  width: clamp(158px, 19vw, 210px);
  height: auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.door-video-float {
  position: fixed;
  left: clamp(14px, 3vw, 28px);
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 18px));
  z-index: 78;
  width: clamp(84px, 8vw, 118px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line));
  border-radius: var(--radius);
  background: rgba(3, 12, 10, 0.72);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.36),
    0 0 28px color-mix(in srgb, var(--accent) 18%, transparent);
  backdrop-filter: blur(10px);
}

.door-video-float video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
}

.door-video-sound {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  min-height: 30px;
  padding: 0 8px;
  color: #07110f;
  background:
    linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.door-video-sound[hidden] {
  display: none;
}

.whatsapp-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 18px));
  z-index: 80;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: #fff;
  background: #25d366;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    0 0 0 8px rgba(37, 211, 102, 0.13);
  animation: whatsappFloat 4.2s ease-in-out infinite;
  transition:
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.whatsapp-float::before {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(37, 211, 102, 0.28);
  border-radius: 50%;
  content: "";
  animation: whatsappPulse 2.2s ease-in-out infinite;
}

.whatsapp-float svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.whatsapp-float span {
  position: absolute;
  right: calc(100% + 12px);
  width: max-content;
  max-width: 180px;
  padding: 8px 10px;
  color: var(--text);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  font-size: 0.88rem;
  font-weight: 850;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #20c35d;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.42),
    0 0 0 10px rgba(37, 211, 102, 0.16);
}

.whatsapp-float:hover span,
.whatsapp-float:focus-visible span {
  opacity: 1;
  transform: translateX(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scrollDot {
  0%,
  100% {
    transform: translateY(-8px);
    opacity: 0.55;
  }

  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

@keyframes orbitSpin {
  to {
    transform: rotateZ(360deg);
  }
}

@keyframes pulseCore {
  0%,
  100% {
    transform: scale(0.7);
    opacity: 0.65;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes mapPulse {
  0%,
  100% {
    transform: scale(0.86);
  }

  50% {
    transform: scale(1.08);
  }
}

@keyframes featuredPulse {
  0%,
  100% {
    box-shadow:
      0 18px 46px color-mix(in srgb, var(--accent) 22%, transparent),
      0 0 0 1px color-mix(in srgb, var(--accent-2) 30%, transparent);
  }

  50% {
    box-shadow:
      0 26px 70px color-mix(in srgb, var(--accent) 42%, transparent),
      0 0 0 2px color-mix(in srgb, var(--accent-2) 58%, transparent),
      0 0 38px color-mix(in srgb, var(--accent-3) 30%, transparent);
  }
}

@keyframes featuredGlow {
  0%,
  100% {
    opacity: 0.58;
  }

  50% {
    opacity: 0.96;
  }
}

@keyframes featuredShine {
  from {
    background-position: 180% 0, 0 0;
  }

  to {
    background-position: -80% 0, 0 0;
  }
}

@keyframes whatsappPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.94);
  }

  50% {
    opacity: 0.08;
    transform: scale(1.18);
  }
}

@keyframes whatsappFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes subscriberGlow {
  0% {
    box-shadow:
      0 0 0 0 color-mix(in srgb, var(--accent) 34%, transparent),
      0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent),
      0 12px 34px color-mix(in srgb, var(--accent) 25%, transparent);
  }

  50% {
    box-shadow:
      0 0 0 10px color-mix(in srgb, var(--accent) 13%, transparent),
      0 0 0 1px color-mix(in srgb, var(--accent) 44%, transparent),
      0 14px 46px color-mix(in srgb, var(--accent) 45%, transparent);
  }

  100% {
    box-shadow:
      0 0 0 18px transparent,
      0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent),
      0 12px 34px color-mix(in srgb, var(--accent) 25%, transparent);
  }
}

@keyframes subscriberIconPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.16);
  }
}

@keyframes subscriberShine {
  0%,
  42% {
    transform: translateX(-72%) rotate(8deg);
  }

  62%,
  100% {
    transform: translateX(72%) rotate(8deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .brand-text {
    font-size: 0.98rem;
  }

  .nav-toggle {
    display: grid;
    grid-column: 3;
    justify-self: end;
  }

  .subscriber-portal {
    grid-column: 2;
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .subscriber-portal-icon {
    width: 19px;
    height: 19px;
    font-size: 0.88rem;
  }

  .main-nav {
    position: fixed;
    top: calc(var(--header-height) + 8px);
    right: 20px;
    display: grid;
    justify-content: stretch;
    width: min(320px, calc(100vw - 40px));
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    justify-content: flex-start;
    min-height: 46px;
  }

  .hero-content,
  .section-heading,
  .plan-grid,
  .dedicated-layout,
  .feature-grid,
  .coverage,
  .contact,
  .site-footer {
    width: min(calc(100vw - 28px), 720px);
  }

  .signal-strip,
  .plan-grid,
  .feature-grid,
  .dedicated-layout,
  .coverage,
  .contact {
    grid-template-columns: 1fr;
  }

  .plan-card {
    min-height: auto;
  }

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

  .contact-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
    padding: 3px;
  }

  .subscriber-portal {
    gap: 7px;
    padding: 0 10px;
  }

  .hero {
    min-height: clamp(690px, 82svh, 740px);
    padding-top: 28px;
    padding-bottom: 64px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15.2vw, 3.7rem);
  }

  .hero-brand-title {
    gap: 6px;
  }

  .hero-brand-subtitle {
    font-size: clamp(1.26rem, 7.2vw, 1.72rem);
  }

  .hero-copy {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-actions,
  .signal-strip {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .section-band {
    padding: 70px 0;
  }

  .plans-section {
    padding-top: 20px;
  }

  .signal-strip div {
    min-width: 0;
    min-height: 82px;
    padding: 12px;
  }

  .signal-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  .signal-strip strong {
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .signal-strip span {
    font-size: 0.78rem;
  }

  .scroll-cue {
    display: none;
  }

  .speed-grid {
    grid-template-columns: 1fr;
  }

  .dedicated-panel,
  .coverage-map {
    min-height: 320px;
  }

  .contact-form {
    padding: 18px;
  }

  .site-footer {
    align-items: flex-start;
    padding-bottom: 150px;
  }

  .footer-brand {
    flex-wrap: wrap;
    gap: 8px;
  }

  .footer-certification {
    align-self: flex-end;
  }

  .whatsapp-float {
    width: 58px;
    height: 58px;
    right: 16px;
  }

  .door-video-float {
    width: 78px;
    bottom: max(18px, calc(env(safe-area-inset-bottom) + 18px));
  }

  .door-video-float video {
    max-height: 128px;
  }

  .whatsapp-float span {
    display: none;
  }
}

@media (max-width: 420px) {
  .brand-text {
    display: none;
  }

  .subscriber-portal {
    font-size: 0.74rem;
  }
}
