@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/inter-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --navy: #000333;
  --blue: #0a2fff;
  --link: #0014cc;
  --blue-light: #e0ebff;
  --green: #45e4b6;
  --text-muted: #4d5358;
  --white: #fff;
  --divider: rgb(0 3 51 / 12%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
abbr[title] { text-decoration: none; }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }

main {
  background:
    radial-gradient(ellipse 520px 520px at 85% 19%, rgb(10 47 255 / 90%), transparent 100%),
    radial-gradient(ellipse 420px 420px at 57% 34%, rgb(69 228 182 / 65%), transparent 100%),
    radial-gradient(ellipse 700px 700px at 25% 74%, rgb(10 47 255 / 90%), transparent 100%);
}
.hero {
  min-height: 716px;
  padding: 80px 0 32px;
  display: flex;
  align-items: center;
  text-align: center;
}
.hero__inner { display: flex; flex-direction: column; align-items: center; }
h1 {
  font-size: 88px;
  font-weight: 800;
  line-height: 92px;
  letter-spacing: -.035em;
}
.hero__first-line { display: flex; align-items: baseline; justify-content: center; gap: 20px; }
.hero__first-line img { display: block; width: 471px; height: auto; }
.hero__last-line { display: block; }
.hero__text { max-width: 856px; font-size: 20px; line-height: 30px; margin-top: 32px; }
.section-nav { display: flex; justify-content: center; gap: 12px; margin-top: 72px; }
.section-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 51px;
  padding: 12px 20px;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 999px;
  background: rgb(255 255 255 / 7%);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s, border-color .18s, transform .18s;
}
.section-nav a span { color: var(--green); }
.section-nav a:hover { background: rgb(255 255 255 / 15%); border-color: var(--white); transform: translateY(-2px); }
.section-nav a:active, .button:active { transform: translateY(1px); }

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-block: 96px;
}
.services, .service-panel { scroll-margin-top: 24px; }
.service-panel {
  min-width: 0;
  padding: 40px;
  border-radius: 32px;
  color: var(--navy);
  color-scheme: light;
}
h2 { font-size: 28px; font-weight: 700; line-height: 34px; letter-spacing: -.015em; }
h3 { font-size: 18px; font-weight: 700; line-height: 26px; }
.service-panel p { font-size: 14px; line-height: 22px; }
.service-panel--it { min-height: 520px; background: var(--blue); color: var(--white); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.panel-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tag { display: inline-block; max-width: 100%; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 16px; }
.tag--light { background: rgb(0 3 51 / 25%); color: var(--white); }
.tag--dark { background: var(--navy); color: var(--white); }
.phone-label { margin-top: 12px; font-size: 16px; font-weight: 500; line-height: 24px; }
.service-panel .phone { font-size: 48px; font-weight: 800; letter-spacing: -.03em; line-height: 54px; margin-top: 12px; white-space: nowrap; }
.phone-note { margin-top: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  text-decoration: none;
  transition: transform .18s, background .18s;
}
.button:hover { transform: translateY(-2px); }
.button--white { background: var(--white); color: var(--link); }
.button--white:hover { background: var(--blue-light); }
.button--outline { border-color: var(--white); color: var(--white); }
.button--outline:hover { background: rgb(255 255 255 / 12%); }
.button--dark { background: var(--navy); color: var(--white); }
.button--dark:hover { background: #000050; }
.it-details { padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 30%); display: grid; gap: 12px; }
.it-details strong { font-weight: 600; }
.service-panel--health { min-height: 520px; background: var(--green); }
.health-heading .tag { margin-top: 8px; }
.health-services { margin-top: 40px; display: grid; gap: 20px; }
.health-service { border-top: 1px solid rgb(0 3 51 / 20%); padding-top: 16px; }
.health-service h3 { font-size: 20px; }
.health-service p { margin-top: 4px; }
.hours { font-weight: 600; }
.health-service .button { margin-top: 12px; }

.service-panel--facilities { background: var(--blue-light); }
.service-panel--av { background: var(--white); }
.service-panel--facilities, .service-panel--av { min-height: 592px; }
.service-list { margin-top: 8px; }
.service-item { border-top: 1px solid var(--divider); padding-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.service-item p { color: var(--text-muted); }
.service-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  color: var(--link);
  text-decoration: none;
}
.service-link span[aria-hidden] { transition: transform .18s; }
.service-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.service-link:hover span[aria-hidden] { transform: translateX(3px); }
.closing { text-align: center; padding: 50px 0 150px; }
.closing p { font-size: 28px; font-weight: 700; line-height: 34px; }
.footer { background: var(--navy); padding-block: 32px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer strong { font-size: 22px; font-weight: 800; }
.footer small { color: #a4a8b0; font-size: 12px; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
.service-panel:not(.service-panel--it) :focus-visible { outline-color: var(--navy); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 20px; border-radius: 8px; background: var(--white); color: var(--navy); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (max-width: 1199px) {
  main {
    background:
      radial-gradient(ellipse 300px 350px at 85% 19%, rgb(10 47 255 / 90%), transparent),
      radial-gradient(ellipse 240px 240px at 57% 26%, rgb(69 228 182 / 65%), transparent),
      radial-gradient(ellipse 400px 500px at 25% 74%, rgb(10 47 255 / 90%), transparent);
  }
  h1 { font-size: 56px; line-height: 60px; }
  .hero__first-line { gap: 14px; }
  .hero__first-line img { width: 300px; }
  .hero { min-height: 0; padding: 80px 0 48px; }
  .hero__text { font-size: 18px; line-height: 28px; margin-top: 24px; }
  .desktop-break { display: none; }
  .section-nav { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin-top: 32px; }
  .section-nav a { min-height: 48px; padding-block: 10px; }
  .services { gap: 20px; padding-block: 32px 48px; }
  .service-panel { padding: 24px; border-radius: 28px; }
  .service-panel--it, .service-panel--health, .service-panel--facilities, .service-panel--av { min-height: 0; }
  h2 { font-size: 24px; line-height: 30px; }
  .service-panel p, .service-link, .button { font-size: 16px; line-height: 24px; }
  .panel-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .service-panel .phone { font-size: 30px; line-height: 36px; }
  .actions { gap: 8px; }
  .button { padding-inline: 18px; }
  .health-services { margin-top: 24px; }
  .service-item { padding-block: 16px; }
  .closing { padding-block: 48px 72px; }
  .closing p { font-size: 24px; line-height: 32px; }
  .footer { padding-block: 24px; }
}

@media (max-width: 639px) {
  .container { width: calc(100% - 40px); }
  main {
    background:
      radial-gradient(ellipse 300px 400px at 110% 8%, rgb(10 47 255 / 75%), transparent),
      radial-gradient(ellipse 240px 300px at 60% 18%, rgb(69 228 182 / 40%), transparent),
      radial-gradient(ellipse 300px 600px at -30% 50%, rgb(10 47 255 / 80%), transparent);
  }
  .hero { padding-block: 64px 40px; }
  h1 { font-size: clamp(32px, 10.25vw, 40px); line-height: 1.1; }
  .hero__first-line { display: contents; }
  .hero__first-line img { width: min(258px, 100%); margin: 0 auto 16px; }
  .hero__last-line { display: inline; }
  .hero__text { font-size: 16px; line-height: 24px; }
  .section-nav { grid-template-columns: 1fr; }
  .section-nav a { font-size: 15px; }
  .services { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 16px 32px; }
  .service-panel { border-radius: 24px; }
  .service-panel--it { gap: 32px; }
  .phone-note { text-wrap: balance; }
  .closing { padding-block: 40px 56px; }
  .closing p { font-size: 20px; line-height: 28px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 359px) {
  .service-panel { padding: 20px; }
  .service-panel .phone { font-size: 26px; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .service-link { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
