:root {
  --ink: #101725;
  --muted: #637083;
  --paper: #eef3f8;
  --white: #ffffff;
  --line: #d7e1ed;
  --navy: #07111f;
  --deep: #0b1322;
  --blue: #1368d8;
  --cyan: #18c7d8;
  --gold: #f5bd3d;
  --green: #11a36a;
  --violet: #6d5dfc;
  --shadow: 0 24px 70px rgba(7, 17, 31, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(24, 199, 216, 0.12), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(19, 104, 216, 0.12), transparent 28%),
    var(--paper);
}

a {
  color: inherit;
}

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

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  z-index: 99;
  width: auto;
  height: auto;
  clip: auto;
  left: 16px;
  top: 16px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--navy);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(221, 227, 236, 0.9);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.site-header:not(.scrolled) {
  background: rgba(248, 251, 255, 0.78);
  border-color: rgba(215, 225, 237, 0.55);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1200px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand img {
  width: 185px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(7, 17, 31, 0.12));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-menu a {
  text-decoration: none;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: rgba(15, 23, 42, 0.82);
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: rgba(22, 93, 186, 0.1);
  color: var(--blue);
}

.nav-menu .nav-contact {
  color: var(--white);
  background: var(--blue);
}

.nav-menu .nav-contact:hover,
.nav-menu .nav-contact:focus-visible {
  color: var(--white);
  background: #0d4fa4;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 96vh;
  padding: 128px 0 72px;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 26%, rgba(24, 199, 216, 0.18), transparent 28%),
    radial-gradient(circle at 16% 82%, rgba(19, 104, 216, 0.1), transparent 30%),
    linear-gradient(135deg, #f8fbff 0%, #eef5fb 54%, #f7fafc 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.24) 58%, rgba(255, 255, 255, 0.62)),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.86), transparent 34%);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(19, 104, 216, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(19, 104, 216, 0.055) 1px, transparent 1px);
  background-size: 86px 86px;
  opacity: 0.62;
  animation: gridFlow 16s linear infinite;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-aurora {
  position: absolute;
  inset: auto -20% -34% -20%;
  height: 65%;
  background:
    radial-gradient(circle at 30% 40%, rgba(24, 199, 216, 0.16), transparent 32%),
    radial-gradient(circle at 65% 35%, rgba(19, 104, 216, 0.13), transparent 36%),
    radial-gradient(circle at 48% 70%, rgba(245, 189, 61, 0.1), transparent 28%);
  filter: blur(36px);
  animation: auroraDrift 12s ease-in-out infinite alternate;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 56px;
  align-items: center;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 740px;
  color: var(--navy);
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.05rem;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: #334155;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 34px rgba(24, 199, 216, 0.24);
}

.button.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(10px);
}

.button.dark {
  color: var(--white);
  background: var(--navy);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 650px;
  margin-top: 42px;
}

.hero-proof div {
  padding: 16px;
  border: 1px solid rgba(19, 104, 216, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 38px rgba(7, 17, 31, 0.08);
}

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

.hero-proof strong {
  color: var(--navy);
  font-size: 1.45rem;
}

.hero-proof span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.hero-panel {
  position: relative;
}

.infra-console {
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: var(--deep);
  box-shadow: 0 34px 90px rgba(7, 17, 31, 0.22);
}

.infra-console img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  opacity: 0.82;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.02);
}

.console-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  background:
    linear-gradient(to top, rgba(7, 17, 31, 0.92), rgba(7, 17, 31, 0.22) 58%, rgba(7, 17, 31, 0.54)),
    linear-gradient(135deg, rgba(24, 199, 216, 0.08), transparent 42%);
}

.console-lines {
  display: grid;
  gap: 10px;
  max-width: 360px;
  margin-bottom: 26px;
}

.console-lines span {
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(24, 199, 216, 0.95), rgba(245, 189, 61, 0.72), rgba(255, 255, 255, 0.2));
  box-shadow: 0 0 18px rgba(24, 199, 216, 0.24);
  animation: pulseLine 2.6s ease-in-out infinite;
}

.console-lines span:nth-child(2) {
  width: 78%;
  animation-delay: 0.25s;
}

.console-lines span:nth-child(3) {
  width: 92%;
  animation-delay: 0.5s;
}

.console-lines span:nth-child(4) {
  width: 64%;
  animation-delay: 0.75s;
}

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack-pills span {
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  font-size: 0.86rem;
  font-weight: 800;
}

.status-card,
.device-frame {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: rgba(15, 23, 42, 0.92);
}

.status-card {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(7, 17, 31, 0.78);
  backdrop-filter: blur(18px);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(17, 163, 106, 0.16);
}

.device-frame {
  padding: 18px;
  min-height: 430px;
  color: var(--white);
}

.device-top {
  display: flex;
  gap: 7px;
  padding-bottom: 28px;
}

.device-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #64748b;
}

.diagnostic {
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.diagnostic small,
.diagnostic strong {
  display: block;
}

.diagnostic small {
  color: #9fb3ca;
}

.diagnostic strong {
  margin-top: 5px;
  font-size: 1.05rem;
}

.meter {
  height: 8px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}

.section {
  padding: 96px 0;
}

.split,
.location-grid,
.contact-grid,
.hotspot-grid,
.insights-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.body-copy p,
.hotspot-band p,
.tech-section p,
.insights-section p,
.contact p,
.location p,
address {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

address {
  font-style: normal;
  margin-top: 22px;
}

.services,
.contact {
  background: var(--white);
}

.media-section {
  padding-top: 0;
  background: linear-gradient(180deg, var(--paper), #ffffff);
}

.media-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.media-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 18px;
  color: var(--white);
  background: var(--deep);
  box-shadow: var(--shadow);
}

.media-card.wide {
  grid-row: span 2;
  min-height: 660px;
}

.media-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 400ms ease, opacity 400ms ease;
}

.media-card:hover img {
  opacity: 0.88;
  transform: scale(1.04);
}

.media-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 26px;
  background: linear-gradient(to top, rgba(7, 17, 31, 0.94), transparent);
}

.media-card span,
.media-card strong {
  display: block;
}

.media-card span {
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.media-card strong {
  max-width: 560px;
  font-size: clamp(1.2rem, 2vw, 2rem);
  line-height: 1.18;
}

.managed-section {
  background:
    linear-gradient(180deg, #ffffff, #f4f8fc),
    radial-gradient(circle at top right, rgba(24, 199, 216, 0.14), transparent 40%);
}

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

.managed-card {
  min-height: 390px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(7, 17, 31, 0.08);
}

.managed-card.featured {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.98), rgba(17, 80, 148, 0.92)),
    radial-gradient(circle at 80% 10%, rgba(24, 199, 216, 0.32), transparent 34%);
}

.managed-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 900;
}

.managed-card h3 {
  font-size: 1.35rem;
}

.managed-card.featured h3,
.managed-card.featured p,
.managed-card.featured li {
  color: var(--white);
}

.managed-card p,
.managed-card li {
  color: var(--muted);
  line-height: 1.65;
}

.managed-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 18px;
}

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

.service-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 28px;
}

.filter {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.filter.active {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

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

.service-card {
  min-height: 238px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 252, 0.96)),
    radial-gradient(circle at top right, rgba(24, 199, 216, 0.14), transparent 42%);
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
}

.service-card.is-hidden {
  display: none;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  color: var(--blue);
  background: rgba(22, 93, 186, 0.1);
  font-weight: 900;
}

.service-card p,
.timeline-item p,
.footer p,
.footer span {
  color: var(--muted);
  line-height: 1.65;
}

.hotspot-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(16, 88, 154, 0.86)),
    url("assets/server-rack.jpg") center / cover;
}

.hotspot-band h2,
.hotspot-band .eyebrow,
.hotspot-band p {
  color: var(--white);
}

.tech-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.97), rgba(9, 25, 45, 0.94)),
    radial-gradient(circle at 14% 16%, rgba(24, 199, 216, 0.22), transparent 28%),
    radial-gradient(circle at 84% 70%, rgba(109, 93, 252, 0.2), transparent 32%);
}

.tech-section h2,
.tech-section .eyebrow {
  color: var(--white);
}

.tech-section p {
  color: rgba(232, 241, 252, 0.78);
}

.tech-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: center;
}

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

.tech-wall article {
  position: relative;
  min-height: 126px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.tech-wall article::after {
  content: "";
  position: absolute;
  inset: auto 16px 14px auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 199, 216, 0.9), rgba(19, 104, 216, 0.08) 64%);
  filter: blur(1px);
}

.tech-wall small,
.tech-wall strong {
  position: relative;
  z-index: 1;
  display: block;
}

.tech-wall small {
  color: rgba(232, 241, 252, 0.62);
  font-weight: 800;
}

.tech-wall strong {
  margin-top: 12px;
  color: var(--white);
  font-size: 1.22rem;
}

.clients-section {
  background: #f8fbff;
}

.client-strip {
  display: flex;
  gap: 12px;
  overflow: hidden;
  margin: 32px 0 20px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.client-strip span {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--navy);
  background: #eef4fb;
  font-weight: 800;
}

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

.case-card {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(7, 17, 31, 0.08);
}

.case-card small,
.news-card small {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
}

.case-card h3 {
  margin-top: 18px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.case-card p {
  color: var(--muted);
  line-height: 1.65;
}

.insights-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(11, 19, 34, 0.94)),
    url("assets/network-board.jpg") center / cover;
}

.insights-section h2,
.insights-section .eyebrow {
  color: var(--white);
}

.insights-section p {
  color: rgba(232, 241, 252, 0.78);
}

.news-board {
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.news-ticker {
  display: flex;
  gap: 12px;
  width: max-content;
  margin-bottom: 18px;
  animation: tickerMove 22s linear infinite;
}

.news-ticker span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
  white-space: nowrap;
}

.news-cards {
  display: grid;
}

.news-card {
  display: none;
  min-height: 290px;
  padding: 28px;
  border-radius: 18px;
  background: rgba(7, 17, 31, 0.76);
}

.news-card.active {
  display: block;
}

.news-card h3 {
  margin-top: 18px;
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.08;
}

.news-controls {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.news-dot {
  width: 42px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.news-dot.active {
  background: var(--cyan);
}

.process {
  background: #eef4f9;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.timeline-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.timeline-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-weight: 900;
}

.faq-section {
  background: #ffffff;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
}

.faq-list summary {
  padding: 18px 20px;
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.7;
}

.map-card {
  position: relative;
  min-height: 320px;
  padding: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, #165dba, #18a5b8);
  box-shadow: var(--shadow);
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 42px 42px;
}

.map-grid span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
}

.map-grid span:nth-child(1) { left: 20%; top: 26%; }
.map-grid span:nth-child(2) { left: 58%; top: 44%; }
.map-grid span:nth-child(3) { left: 36%; top: 68%; }
.map-grid span:nth-child(4) { left: 78%; top: 20%; }

.map-card strong,
.map-card small {
  position: relative;
  z-index: 1;
}

.map-card strong {
  font-size: 1.55rem;
}

.map-card small {
  margin-top: 8px;
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.social-links a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.contact-form label:has(textarea),
.contact-form label:has(select),
.contact-form button,
.contact-form .form-note {
  grid-column: 1 / -1;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--green);
  font-weight: 700;
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.footer img {
  width: 170px;
  margin-bottom: 12px;
}

.footer strong,
.footer span {
  display: block;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 15;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 520ms ease, transform 520ms ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
}

.js .hero .reveal {
  opacity: 1;
  transform: none;
}

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

@keyframes gridFlow {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 86px 86px, 86px 86px;
  }
}

@keyframes auroraDrift {
  from {
    transform: translate3d(-2%, 0, 0) scale(1);
  }

  to {
    transform: translate3d(2%, -6%, 0) scale(1.08);
  }
}

@keyframes pulseLine {
  0%,
  100% {
    opacity: 0.45;
    transform: scaleX(0.76);
    transform-origin: left center;
  }

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

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    padding: 14px;
  }

  .site-header:not(.scrolled) .nav-menu a {
    color: rgba(15, 23, 42, 0.82);
    text-shadow: none;
  }

  .site-header:not(.scrolled) .nav-menu .nav-contact {
    color: var(--white);
  }

  .hero-grid,
  .split,
  .location-grid,
  .contact-grid,
  .hotspot-grid,
  .tech-grid,
  .insights-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel,
  .infra-console {
    max-width: 560px;
  }

  .service-grid,
  .timeline,
  .media-grid,
  .managed-grid,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-card.wide {
    grid-row: auto;
    grid-column: span 2;
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand img {
    width: 150px;
  }

  .brand {
    padding: 8px 0;
  }

  .hero {
    padding-top: 110px;
    background:
      radial-gradient(circle at 80% 20%, rgba(24, 199, 216, 0.16), transparent 28%),
      linear-gradient(135deg, #f8fbff 0%, #eef5fb 58%, #ffffff 100%);
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-proof,
  .service-grid,
  .timeline,
  .media-grid,
  .managed-grid,
  .case-grid,
  .tech-wall,
  .contact-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-form label:has(textarea),
  .contact-form label:has(select),
  .contact-form button,
  .contact-form .form-note {
    grid-column: auto;
  }

  .media-card.wide {
    grid-column: auto;
    min-height: 360px;
  }

  .media-card,
  .infra-console,
  .infra-console img {
    min-height: 340px;
  }

  .section {
    padding: 72px 0;
  }

  .status-card {
    left: 12px;
    right: 12px;
  }

  .device-frame {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-actions .button,
  .hotspot-actions .button,
  .contact-form .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
