:root {
  --navy-950: #051020;
  --navy-900: #071a33;
  --navy-800: #0b2850;
  --blue-700: #0755c9;
  --blue-600: #0b68ed;
  --cyan-400: #38bdf8;
  --ink-950: #0b1220;
  --ink-800: #1e293b;
  --ink-600: #475569;
  --ink-500: #64748b;
  --line: #dbe3ee;
  --surface: #f5f8fc;
  --white: #ffffff;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Outfit", "Plus Jakarta Sans", sans-serif;
  --shadow: 0 18px 50px rgba(7, 26, 51, 0.09);
  --radius-lg: 22px;
  --radius-md: 15px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 78px; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink-950);
  background: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
p, h1, h2, h3 { margin-top: 0; }

.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 104px 0; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy-950);
  font-weight: 700;
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(203, 213, 225, 0.8);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}
.header-inner { display: flex; min-height: 78px; align-items: center; gap: 28px; }
.brand { display: inline-flex; min-width: 0; align-items: center; gap: 11px; }
.brand img { width: 116px; height: auto; }
.brand span {
  padding-left: 11px;
  border-left: 1px solid #cbd5e1;
  color: var(--blue-700);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.primary-nav { display: flex; margin-left: auto; align-items: center; gap: 28px; }
.primary-nav a { color: var(--ink-600); font-size: 13px; font-weight: 700; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--blue-700); }
.header-action {
  padding: 11px 17px;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-950), #08234c);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity .35s ease;
}
.hero-video.is-ready { opacity: 1; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(3, 13, 29, .92) 0%, rgba(4, 18, 42, .82) 44%, rgba(5, 24, 52, .48) 72%, rgba(5, 20, 43, .34) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 36%;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(3, 13, 29, .42));
}
.hero-layout { position: relative; z-index: 1; display: grid; min-height: 620px; grid-template-columns: minmax(0, 720px) 1fr; align-items: center; gap: 70px; }
.hero-copy { max-width: 680px; padding: 86px 0; }
.kicker {
  margin-bottom: 17px;
  color: var(--blue-700);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.kicker.light { color: var(--cyan-400); }
.hero h1 {
  margin-bottom: 25px;
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}
.hero h1 span { color: #75d4fa; }
.hero-copy > p:not(.kicker) { max-width: 640px; margin-bottom: 31px; color: #d4deec; font-size: 18px; line-height: 1.72; }
.hero-actions { display: flex; align-items: center; gap: 25px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 21px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.button-primary { background: var(--blue-600); color: var(--white); box-shadow: 0 12px 30px rgba(11, 104, 237, 0.32); }
.button-primary:hover { background: #2178f2; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; }
.light-link { color: #e6edf7; }

.companies { padding: 58px 0 64px; background: var(--surface); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 28px; }
.section-heading h2, .contact h2, .featured-service h2, .catalogue-hero h1, .service-group h2 {
  margin-bottom: 0;
  font-family: var(--font-display);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.section-heading h2, .contact h2, .featured-service h2 { font-size: clamp(30px, 2.6vw, 42px); line-height: 1.08; }
.catalogue-hero h1, .service-group h2 { font-size: clamp(36px, 4.2vw, 57px); }
.section-heading > p { max-width: 460px; margin-bottom: 4px; color: var(--ink-600); font-size: 15px; line-height: 1.7; }
.company-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.company-choice { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 8px 30px rgba(7,26,51,.05); }
.company-choice-content { min-width: 0; display: flex; flex: 1; flex-direction: column; padding: 22px; }
.company-meta { display: flex; min-height: 25px; align-items: center; justify-content: space-between; gap: 12px; }
.company-number { color: var(--blue-700); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.company-status { padding: 5px 8px; border-radius: 999px; font-size: 8.5px; font-weight: 800; white-space: nowrap; }
.company-status.available { color: #047857; background: #d1fae5; }
.company-status.inquiry { color: #0755c9; background: #dbeafe; }
.company-status.planned { color: #64748b; background: #eef2f7; }
.company-choice h3 { margin: 9px 0 8px; font-family: var(--font-display); font-size: 24px; line-height: 1.13; letter-spacing: -.025em; }
.company-choice-content > p { min-height: 66px; margin-bottom: 14px; color: var(--ink-600); font-size: 12.5px; line-height: 1.52; }
.destination-list { display: grid; gap: 8px; margin-bottom: 24px; }
.destination-list a { position: relative; min-width: 0; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; }
.destination-list strong { min-width: 0; color: var(--ink-950); font-size: 12.5px; }
.destination-list span { min-width: 0; grid-column: 1; color: var(--ink-500); font-size: 10.5px; line-height: 1.45; overflow-wrap: anywhere; }
.destination-list b { grid-row: 1 / 3; grid-column: 2; align-self: center; color: var(--blue-700); }
.destination-list a:hover { border-color: #9ac4fb; background: #f2f7ff; }
.official-sites { margin-bottom: 14px; }
.official-sites h4 { margin: 0 0 6px; color: var(--ink-500); font-size: 8.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.official-site-list { display: grid; gap: 5px; }
.official-site-list > a, .official-site-list > div { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; background: #f8fafc; }
.official-site-list > a:hover { border-color: #9ac4fb; background: #f2f7ff; }
.official-site-list > * > span { min-width: 0; }
.official-site-list strong, .official-site-list code { display: block; min-width: 0; overflow-wrap: anywhere; }
.official-site-list strong { color: var(--ink-950); font-family: var(--font-body); font-size: 10.5px; line-height: 1.25; }
.official-site-list strong small { color: var(--ink-500); font-size: 8px; font-weight: 600; }
.official-site-list code { margin-top: 1px; color: var(--ink-500); font-family: var(--font-body); font-size: 8.5px; }
.site-state { padding: 3px 6px; border-radius: 999px; font-size: 7.5px; font-style: normal; font-weight: 800; white-space: nowrap; }
.site-state.live { color: #047857; background: #d1fae5; }
.site-state.coming { color: #64748b; background: #e9eef5; }
.official-sites-empty { padding: 10px; border: 1px dashed #cbd5e1; border-radius: 9px; background: #f8fafc; }
.official-sites-empty h4 { margin-bottom: 6px; }
.official-sites-empty p { margin: 0; color: var(--ink-500); font-size: 10.5px; }
.company-actions { display: grid; gap: 9px; margin-top: auto; }
.company-primary { display: inline-flex; min-height: 40px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 13px; border-radius: 10px; color: var(--white); background: var(--blue-700); font-size: 11px; font-weight: 800; }
.company-primary:hover { background: var(--blue-600); }
.company-secondary { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--blue-700); font-size: 11px; font-weight: 800; }
.company-choice > img { order: 2; width: 100%; height: 108px; object-fit: cover; border-top: 1px solid var(--line); }

.featured-service { color: var(--white); background: linear-gradient(125deg, var(--navy-950), #0a3673); }
.featured-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 76px; }
.featured-copy h2 { max-width: 540px; margin-bottom: 22px; }
.featured-copy > p:not(.kicker) { max-width: 580px; margin-bottom: 27px; color: #cbd8ea; font-size: 15px; line-height: 1.75; }
.button-light { color: var(--navy-950); background: var(--white); }
.featured-points { display: grid; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.16); list-style: none; }
.featured-points li { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 19px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.featured-points > li > span { color: var(--cyan-400); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.featured-points strong, .featured-points small { display: block; }
.featured-points strong { margin-bottom: 5px; font-size: 14px; }
.featured-points small { color: #aebfd5; font-size: 11.5px; line-height: 1.55; }

.contact { background: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 80px; }
.contact-layout > div:first-child > p:last-child { max-width: 570px; margin: 22px 0 0; color: var(--ink-600); font-size: 15px; line-height: 1.75; }
.contact-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.contact-card > span { display: block; margin-bottom: 16px; color: var(--blue-700); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.contact-card a { display: flex; min-width: 0; justify-content: space-between; gap: 15px; padding-bottom: 21px; border-bottom: 1px solid var(--line); color: var(--navy-900); font-family: var(--font-display); font-size: clamp(19px, 3vw, 30px); font-weight: 700; overflow-wrap: anywhere; }
.contact-card p { margin: 18px 0 0; color: var(--ink-500); font-size: 12px; }

.site-footer { color: #d7e1ee; background: var(--navy-950); }
.footer-main { display: grid; grid-template-columns: .85fr .55fr 2fr; gap: 48px; padding-top: 72px; padding-bottom: 55px; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 17px; color: var(--white); font-family: var(--font-display); font-size: 24px; font-weight: 800; }
.footer-brand span { color: var(--cyan-400); font-family: var(--font-body); font-size: 9px; letter-spacing: .16em; }
.footer-about p { color: #8fa2bb; font-size: 12.5px; line-height: 1.7; }
.footer-about > a:last-child { color: #91dafa; font-size: 12px; font-weight: 800; }
.footer-links h2, .website-directory h2 { margin-bottom: 16px; color: var(--white); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; }
.footer-links a { margin-bottom: 11px; color: #aebed1; font-size: 12px; }
.footer-directory-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.footer-directory-heading span { color: #6f849f; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.1); border-left: 1px solid rgba(255,255,255,.1); }
.directory-grid > * { min-width: 0; display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; padding: 12px; border-right: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.directory-grid strong { min-width: 0; color: #e4ecf6; font-size: 10.5px; overflow-wrap: anywhere; }
.directory-grid small { grid-column: 1; color: #6f849f; font-size: 9.5px; overflow-wrap: anywhere; }
.status { grid-row: 1 / 3; grid-column: 2; align-self: center; padding: 3px 6px; border-radius: 999px; font-size: 8px; font-weight: 800; white-space: nowrap; }
.status.live { color: #6ee7b7; background: rgba(16,185,129,.12); }
.status.planned { color: #a9bbd0; background: rgba(148,163,184,.1); }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding: 23px 0; border-top: 1px solid rgba(255,255,255,.1); color: #6f849f; font-size: 10.5px; }

/* Services catalogue */
.catalogue-hero { padding: 84px 0 66px; color: var(--white); background: linear-gradient(130deg, var(--navy-950), #0a3673); }
.catalogue-hero .kicker { color: var(--cyan-400); }
.catalogue-hero h1 { max-width: 760px; margin-bottom: 20px; }
.catalogue-hero p { max-width: 720px; margin: 0; color: #cbd8ea; line-height: 1.7; }
.service-groups { padding: 78px 0 100px; background: var(--surface); }
.service-group { scroll-margin-top: 100px; }
.service-group + .service-group { margin-top: 78px; padding-top: 78px; border-top: 1px solid var(--line); }
.service-group-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.service-group h2 { font-size: clamp(30px, 4vw, 45px); }
.service-group-head > p { max-width: 520px; margin-bottom: 3px; color: var(--ink-600); font-size: 13px; line-height: 1.65; }
.service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-item { min-width: 0; display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.service-item-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.service-item-num { color: var(--blue-700); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.service-state { padding: 5px 8px; border-radius: 999px; font-size: 8.5px; font-weight: 800; }
.service-state.open { color: #047857; background: #d1fae5; }
.service-state.development { color: #0755c9; background: #dbeafe; }
.service-state.planned { color: #64748b; background: #eef2f7; }
.service-item h3 { margin-bottom: 10px; font-size: 17px; line-height: 1.35; }
.service-item p { margin-bottom: 18px; color: var(--ink-600); font-size: 12.5px; line-height: 1.65; }
.service-item a { margin-top: auto; color: var(--blue-700); font-size: 11.5px; font-weight: 800; }

@media (max-width: 1040px) {
  .primary-nav { gap: 17px; }
  .header-action { display: none; }
  .hero-layout { grid-template-columns: minmax(0, 650px) 1fr; gap: 35px; }
  .company-grid { grid-template-columns: 1fr; }
  .company-choice { display: grid; grid-template-columns: 1fr 300px; }
  .company-choice > img { order: initial; width: 100%; height: 100%; min-height: 250px; border-top: 0; border-left: 1px solid var(--line); }
  .company-choice-content > p { min-height: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .website-directory { grid-column: 1 / -1; }
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  section[id] { scroll-margin-top: 68px; }
  .wrap { width: min(100% - 32px, 620px); }
  .section { padding: 70px 0; }
  .header-inner { min-height: 68px; gap: 16px; }
  .brand img { width: 101px; }
  .brand span { font-size: 8.5px; }
  .menu-button {
    display: flex;
    width: 40px;
    height: 40px;
    margin-left: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
  }
  .menu-button span { width: 18px; height: 2px; border-radius: 2px; background: var(--navy-900); }
  .primary-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    padding: 19px 16px 23px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 15px 35px rgba(7,26,51,.12);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 12px 8px; font-size: 14px; }
  .hero { min-height: auto; }
  .hero-video { object-position: 58% center; }
  .hero::before { background: linear-gradient(90deg, rgba(3, 13, 29, .9), rgba(4, 18, 42, .7)); }
  .hero-layout { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 76px 0 70px; }
  .hero h1 { font-size: clamp(45px, 14vw, 62px); }
  .hero-copy > p:not(.kicker) { font-size: 15px; line-height: 1.7; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; }
  .button { width: 100%; }
  .section-heading, .service-group-head { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 29px; }
  .section-heading h2, .contact h2, .featured-service h2 { font-size: 30px; }
  .company-grid { gap: 17px; }
  .company-choice { display: flex; }
  .company-choice-content { order: 1; padding: 22px 20px; }
  .company-choice > img { order: 2; height: 120px; min-height: 0; border-top: 1px solid var(--line); border-left: 0; }
  .company-choice h3 { font-size: 23px; }
  .company-choice-content > p { margin-bottom: 18px; font-size: 13px; }
  .destination-list { margin-bottom: 20px; }
  .destination-list a { padding: 12px; }
  .official-sites { margin-bottom: 20px; }
  .official-site-list > a, .official-site-list > div { padding: 10px 11px; }
  .featured-layout, .contact-layout { grid-template-columns: 1fr; gap: 42px; }
  .featured-points li { grid-template-columns: 31px 1fr; gap: 12px; }
  .contact-card { min-width: 0; padding: 23px 20px; }
  .contact-card a { font-size: 20px; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; padding-top: 55px; }
  .website-directory { grid-column: auto; }
  .directory-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .catalogue-hero { padding: 64px 0 52px; }
  .service-groups { padding: 60px 0 78px; }
  .service-list { grid-template-columns: 1fr; }
  .service-group + .service-group { margin-top: 58px; padding-top: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none; }
}

@media (max-width: 390px) {
  .wrap { width: calc(100% - 24px); }
  .hero h1 { font-size: 43px; }
  .company-choice-content { padding: 20px 16px; }
  .destination-list strong { font-size: 12px; }
  .directory-grid > * { padding: 11px 9px; }
}
