:root {
  --navy: #073f72;
  --deep: #03182d;
  --blue: #087fc1;
  --cyan: #10a6d6;
  --orange: #ff7900;
  --orange-deep: #e95f00;
  --ink: #102033;
  --muted: #5d6d7f;
  --line: #dbe6ef;
  --paper: #ffffff;
  --soft: #eaf5fa;
  --shadow: 0 20px 50px rgba(7, 63, 114, 0.14);
  --glow: 0 24px 70px rgba(16, 166, 214, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(180deg, rgba(247, 251, 253, 0.98), rgba(234, 245, 250, 0.98)),
    radial-gradient(circle at 20% 10%, rgba(16, 166, 214, 0.16), transparent 28%),
    radial-gradient(circle at 90% 0%, rgba(255, 121, 0, 0.12), transparent 26%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(8, 127, 193, 0.16);
  box-shadow: 0 14px 40px rgba(7, 63, 114, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(280px, 46vw);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--blue);
  border-color: var(--orange);
  outline: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  padding: clamp(42px, 7vw, 90px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(3, 24, 45, 0.88) 0%, rgba(7, 63, 114, 0.62) 45%, rgba(3, 24, 45, 0.14) 100%),
    linear-gradient(180deg, rgba(3, 24, 45, 0.18), rgba(3, 24, 45, 0.7)),
    url("mediaxcomm-banner-web.jpg") center / cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, rgba(247, 251, 253, 0.96));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(650px, 100%);
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(3, 24, 45, 0.36);
  box-shadow: 0 26px 80px rgba(3, 24, 45, 0.26);
  backdrop-filter: blur(6px);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero h1 {
  color: #fff;
  text-shadow: 0 10px 34px rgba(3, 24, 45, 0.44);
}

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

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-copy {
  width: min(570px, 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions,
.contact-band {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(8, 127, 193, 0.42);
  box-shadow: 0 14px 28px rgba(7, 63, 114, 0.14);
  outline: none;
}

.primary {
  color: #fff;
  border-color: var(--navy);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 16px 34px rgba(8, 127, 193, 0.22);
}

.secondary,
.card-button {
  color: var(--navy);
  background: #fff;
}

.hero .secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(16, 166, 214, 0.18);
  font-size: 0.86rem;
  font-weight: 800;
}

.section {
  scroll-margin-top: 112px;
  padding: clamp(52px, 7vw, 92px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  background: var(--paper);
}

.intro p,
.about p,
.services-list p,
.media-card p,
.contact-band p,
.site-footer {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(238, 247, 251, 0.86), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at 75% 15%, rgba(16, 166, 214, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(7, 63, 114, 0.06), rgba(255, 121, 0, 0.08));
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-visual {
  margin: 0;
  min-height: 390px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(8, 127, 193, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 247, 251, 0.9)),
    linear-gradient(180deg, rgba(16, 166, 214, 0.12), rgba(255, 121, 0, 0.1));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about-visual svg {
  width: min(100%, 680px);
  height: auto;
  display: block;
}

.screen {
  fill: #ffffff;
  stroke: rgba(7, 63, 114, 0.28);
  stroke-width: 4;
  filter: drop-shadow(0 16px 26px rgba(7, 63, 114, 0.16));
}

.main-screen {
  fill: #f7fcff;
}

.side-screen {
  fill: #ffffff;
}

.tablet {
  fill: #f4fbff;
}

.signal {
  fill: none;
  stroke-linecap: round;
  stroke-width: 14;
}

.blue-line {
  stroke: var(--blue);
  opacity: 0.86;
}

.orange-line {
  stroke: var(--orange);
  opacity: 0.9;
}

.orbit {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
}

.orbit-one {
  stroke: var(--cyan);
}

.orbit-two {
  stroke: var(--orange);
}

.node {
  stroke: #fff;
  stroke-width: 8;
}

.node-blue {
  fill: var(--navy);
}

.node-orange {
  fill: var(--orange);
}

.node-cyan {
  fill: var(--cyan);
}

.megaphone path {
  fill: var(--navy);
}

.megaphone path:first-child {
  fill: var(--orange);
}

.bars rect {
  fill: var(--blue);
}

.bars rect:nth-child(2) {
  fill: var(--cyan);
}

.bars rect:nth-child(3) {
  fill: var(--orange);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 28px;
}

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

.media-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid rgba(8, 127, 193, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff, #f8fcff);
  box-shadow: var(--glow);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.media-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 121, 0, 0.32);
  box-shadow: 0 26px 70px rgba(7, 63, 114, 0.18);
}

.media-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: 8px;
  background: #062f56;
  border: 1px solid rgba(8, 127, 193, 0.18);
}

.media-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.media-thumb:hover img,
.media-thumb:focus-visible img {
  transform: scale(1.04);
}

.media-card p {
  flex: 1;
}

.card-button {
  width: 100%;
}

.muted {
  color: var(--muted);
  cursor: default;
  background: #f8fbfd;
}

.muted:hover,
.muted:focus-visible {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}

.services {
  background:
    linear-gradient(180deg, var(--soft), #f7fbfd),
    radial-gradient(circle at 20% 20%, rgba(16, 166, 214, 0.2), transparent 25%);
}

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

.services-list div {
  padding: 24px 20px;
  border: 1px solid rgba(8, 127, 193, 0.14);
  border-top: 3px solid var(--orange);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(7, 63, 114, 0.08);
}

.contact-band {
  scroll-margin-top: 112px;
  justify-content: space-between;
  padding: clamp(38px, 6vw, 70px) clamp(20px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(3, 24, 45, 0.94), rgba(7, 63, 114, 0.9)),
    url("mediaxcomm-banner-web.jpg") center / cover no-repeat;
}

.contact-band div {
  width: min(760px, 100%);
}

.contact-band h2,
.contact-band p {
  color: #fff;
}

.contact-band .section-kicker {
  color: #ffae58;
}

.contact-band .primary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
}

.email-link {
  margin-top: 4px;
  color: #fff;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.42);
  text-underline-offset: 5px;
}

.contact-links {
  display: grid;
  gap: 6px;
  align-items: start;
  margin-top: 4px;
}

.phone-link {
  color: #fff;
  font-size: clamp(1.05rem, 2vw, 1.18rem);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.36);
  text-underline-offset: 5px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(135deg, #03182d, #062f56 58%, #073f72);
  border-top: 4px solid var(--orange);
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  font-weight: 800;
}

.footer-contact {
  text-align: right;
}

.footer-contact a {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header,
  .intro,
  .contact-band,
  .site-footer {
    align-items: flex-start;
  }

  .site-header {
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(3, 24, 45, 0.76), rgba(3, 24, 45, 0.86)),
      url("mediaxcomm-banner-web.jpg") center / cover no-repeat;
    padding-block: 54px;
  }

  .hero-content {
    width: 100%;
  }

  .intro,
  .about,
  .media-grid,
  .services-list {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .nav-links {
    gap: 8px;
    font-size: 0.9rem;
  }

  .button {
    width: 100%;
  }

  .media-card {
    min-height: 0;
  }

  .media-thumb {
    aspect-ratio: 4 / 3;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-contact {
    text-align: left;
  }
}
