* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  text-underline-offset: 0.18em;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: #fff;
  color: #08072f;
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.app-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 9px 20px;
  border-bottom: 1px solid rgba(57, 197, 223, 0.62);
  background: #08072f;
  color: #fff;
  font-size: 0.82rem;
  text-align: center;
}

.app-banner strong {
  color: #f3c85a;
}

.app-banner span {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.app-banner a {
  border-radius: 7px;
  background: #f3c85a;
  color: #08072f !important;
  padding: 4px 10px;
  font-weight: 800;
  text-decoration: none;
}

.home-header {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 82px;
  padding: 14px max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid rgba(57, 197, 223, 0.62);
  background: #08072f;
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: #fff !important;
  text-decoration: none;
}

.home-brand > strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.home-brand > span {
  display: grid;
  gap: 1px;
  padding-left: 12px;
  border-left: 1px solid rgba(57, 197, 223, 0.62);
}

.home-brand b {
  color: #39c5df;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-brand small {
  color: #c2cbea;
  font-size: 0.72rem;
}

.home-menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  min-height: 46px;
  border: 1px solid #39c5df;
  border-radius: 12px;
  background: #131654;
  color: #fff;
  padding: 0 14px;
  font: inherit;
  font-weight: 800;
}

.home-menu-toggle svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.home-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin-left: auto;
}

.home-nav a {
  border: 1px solid transparent;
  border-radius: 10px;
  color: #f7fbff !important;
  padding: 9px 10px;
  font-size: 0.83rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.home-nav a:hover,
.home-nav a:focus-visible {
  border-color: rgba(57, 197, 223, 0.75);
  background: #131654;
}

.home-nav a.active {
  border-color: #39c5df;
  background: #131654;
  box-shadow: inset 0 -3px 0 #e6b84c;
}

main {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 46px;
}

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(91, 107, 201, 0.78);
  border-radius: 26px;
  background:
    radial-gradient(circle at 85% 18%, rgba(57, 197, 223, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(19, 22, 84, 0.99), rgba(12, 15, 70, 0.96));
  box-shadow: 0 24px 56px rgba(2, 3, 24, 0.42);
}

.home-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(111, 225, 245, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 225, 245, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 82%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(34px, 6vw, 76px);
}

.eyebrow {
  margin: 0 0 12px;
  color: #6fe1f5 !important;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.35rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 710px;
  margin: 24px 0 28px;
  color: #dbe3ff !important;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  line-height: 1.55;
}

.hero-guide {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #39c5df;
  border-radius: 999px;
  background: #39c5df;
  color: #071537 !important;
  padding: 12px 18px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(57, 197, 223, 0.2);
}

.hero-guide svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-guide:hover,
.hero-guide:focus-visible {
  background: #81e9fa;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 420px;
  overflow: hidden;
  border-left: 1px solid rgba(57, 197, 223, 0.28);
  background: #10144c;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19, 22, 84, 0.62) 0%, transparent 30%), linear-gradient(0deg, rgba(8, 7, 47, 0.6), transparent 42%);
  content: "";
  pointer-events: none;
}

.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: contain;
  object-position: center;
}

.hero-photo-label {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  left: 20px;
  border: 1px solid rgba(111, 225, 245, 0.62);
  border-radius: 999px;
  background: rgba(8, 7, 47, 0.86);
  color: #fff;
  padding: 9px 14px;
  font-size: 0.83rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-align: center;
  backdrop-filter: blur(8px);
}

.choice-section {
  padding: 54px 0 24px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
  column-gap: 44px;
  align-items: end;
  margin-bottom: 24px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2,
.quick-links h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.section-heading > p:last-child {
  margin: 0;
  color: #c2cbea !important;
  font-size: 1rem;
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 475px;
  overflow: hidden;
  border: 1px solid rgba(110, 123, 210, 0.84);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(25, 30, 104, 0.98), rgba(19, 22, 84, 0.98));
  color: #fff !important;
  padding: 0;
  text-decoration: none;
  box-shadow: 0 15px 34px rgba(2, 3, 24, 0.3);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.service-card::after {
  position: absolute;
  right: -42px;
  bottom: -56px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(57, 197, 223, 0.07);
  content: "";
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-4px);
  border-color: #39c5df;
  outline: none;
  box-shadow: 0 20px 44px rgba(2, 3, 24, 0.42), 0 0 0 2px rgba(57, 197, 223, 0.18);
}

.service-photo {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid rgba(57, 197, 223, 0.48);
  background: #10144c;
}

.service-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 82%, rgba(8, 7, 47, 0.18));
  content: "";
  pointer-events: none;
}

.service-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.service-card:hover .service-photo img,
.service-card:focus-visible .service-photo img {
  transform: none;
}

.service-number {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  border: 1px solid rgba(111, 225, 245, 0.72);
  border-radius: 999px;
  background: rgba(8, 7, 47, 0.82);
  color: #fff;
  padding: 5px 9px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  backdrop-filter: blur(8px);
}

.service-card h3 {
  max-width: 15ch;
  margin: 22px 26px 12px;
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.service-card p {
  margin: 0 26px 24px;
  color: #cbd3f1 !important;
  font-size: 0.98rem;
}

.card-action {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: auto 26px 0;
  padding: 16px 0 24px;
  border-top: 1px solid rgba(110, 123, 210, 0.5);
  color: #6fe1f5;
  font-weight: 850;
}

.card-action b {
  font-size: 1.25rem;
}

.quick-links {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: 36px;
  align-items: start;
  margin: 32px 0 20px;
  border: 1px solid rgba(110, 123, 210, 0.82);
  border-radius: 20px;
  background: rgba(19, 22, 84, 0.97);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 18px 42px rgba(2, 3, 24, 0.32);
}

.quick-links nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quick-links nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  border: 1px solid rgba(110, 123, 210, 0.7);
  border-radius: 13px;
  background: #191e68;
  color: #eef3ff !important;
  padding: 13px 15px;
  font-weight: 750;
  text-decoration: none;
}

.quick-links nav a:hover,
.quick-links nav a:focus-visible {
  border-color: #39c5df;
  color: #6fe1f5 !important;
}

.access-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
  border: 1px solid rgba(230, 184, 76, 0.76);
  border-left: 5px solid #e6b84c;
  border-radius: 16px;
  background: rgba(19, 22, 84, 0.97);
  padding: 20px 22px;
}

.access-note strong {
  color: #f3c85a;
  font-size: 1.05rem;
}

.access-note p {
  margin: 4px 0 0;
  color: #cbd3f1 !important;
}

.access-note > a {
  flex: 0 0 auto;
  border-radius: 10px;
  background: #e6b84c;
  color: #08072f !important;
  padding: 11px 16px;
  font-weight: 850;
  text-decoration: none;
}

.home-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 28px;
  padding: 28px max(24px, calc((100vw - 1240px) / 2));
  border-top: 1px solid rgba(57, 197, 223, 0.38);
  background: #060520;
  color: #c2cbea;
}

.home-footer > span {
  color: #fff;
  font-weight: 750;
}

.home-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.home-footer a {
  color: #6fe1f5 !important;
}

.home-footer small {
  grid-column: 1 / -1;
  max-width: 960px;
  color: #9eacd5;
}

@media (max-width: 1060px) {
  .home-header {
    flex-wrap: wrap;
  }

  .home-menu-toggle {
    display: inline-flex;
  }

  .home-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top: 4px;
  }

  .js .home-nav {
    display: none;
  }

  .js .home-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-nav a {
    text-align: left;
  }

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

@media (max-width: 780px) {
  .app-banner {
    flex-direction: column;
    gap: 6px;
    padding: 9px 12px;
  }

  .home-header {
    min-height: 72px;
    padding: 12px 16px;
  }

  .home-brand > span {
    display: none;
  }

  main {
    width: min(100% - 24px, 680px);
    padding-top: 18px;
  }

  .home-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    padding: 34px 25px 20px;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .hero-visual {
    min-height: 0;
    aspect-ratio: 1 / 1;
    border-top: 1px solid rgba(57, 197, 223, 0.28);
    border-left: 0;
  }

  .hero-photo {
    min-height: 0;
    max-height: none;
    object-position: center;
  }

  .choice-section {
    padding-top: 42px;
  }

  .section-heading,
  .quick-links {
    grid-template-columns: 1fr;
  }

  .section-heading > p:last-child {
    margin-top: 12px;
  }

  .service-grid,
  .quick-links nav {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 450px;
  }

  .service-photo { aspect-ratio: 4 / 3; }

  .access-note {
    align-items: stretch;
    flex-direction: column;
  }

  .access-note > a {
    text-align: center;
  }

  .home-footer {
    grid-template-columns: 1fr;
    padding: 25px 18px calc(25px + env(safe-area-inset-bottom));
  }

  .home-footer nav {
    justify-content: flex-start;
  }

  .home-footer small {
    grid-column: auto;
  }
}

@media (max-width: 470px) {
  .js .home-nav.is-open {
    grid-template-columns: 1fr;
  }

  .home-menu-toggle {
    min-height: 44px;
    padding: 0 12px;
  }

  .hero-guide {
    width: 100%;
    justify-content: center;
  }

  .service-card {
    min-height: 430px;
  }

  .service-photo { aspect-ratio: 4 / 3; }

  .service-card h3 {
    margin-right: 23px;
    margin-left: 23px;
  }

  .service-card p {
    margin-right: 23px;
    margin-left: 23px;
  }

  .card-action {
    margin-right: 23px;
    margin-left: 23px;
  }
}

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

  .service-card {
    transition: none;
  }

  .service-photo img {
    transition: none;
  }
}


