:root {
  --navy: #06131f;
  --navy-light: #0a2031;
  --navy-mid: #0c1b28;
  --navy-card: #0b2132;
  --blue: #138dff;
  --blue-dark: #0873d1;
  --blue-soft: rgba(19, 141, 255, 0.10);
  --white: #ffffff;
  --off-white: #081722;
  --text: #f4f8fc;
  --muted: #9eb0c2;
  --line: rgba(89, 155, 211, 0.23);
  --dark-line: rgba(255, 255, 255, 0.12);
  --radius: 12px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 84px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 12px;
  z-index: 2000;
  padding: 12px 18px;
  border-radius: 7px;
  color: white;
  background: var(--blue);
  font-size: 13px;
  font-weight: 700;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--navy-mid);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--navy);
}

.header-layout {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  display: block;
  width: auto;
  height: 55px;
  max-width: 290px;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-navigation > a:not(.button) {
  color: #c3d0db;
  font-size: 13px;
  font-weight: 650;
}

.primary-navigation > a:not(.button):hover {
  color: white;
}

.menu-toggle {
  display: none;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: white;
}

/* Buttons */

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid var(--blue);
  border-radius: 7px;
  color: white;
  background: var(--blue);
  font-weight: 750;
  cursor: pointer;
}

.button:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 12px;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--white);
  background: transparent;
}

.button-secondary:hover {
  border-color: var(--blue);
  color: white;
  background: var(--blue);
}

/* Shared */

.section {
  padding: 96px 0;
}

.section-light {
  border-block: 1px solid rgba(255, 255, 255, 0.045);
  background: var(--off-white);
}

.section-muted {
  border-block: 1px solid var(--line);
  background: var(--navy-light);
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

.section-heading h2,
.about-intro h2,
.contact-copy h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.section-heading > p:not(.eyebrow),
.contact-copy > p:not(.eyebrow) {
  color: var(--muted);
}

/* Hero */

.hero {
  padding: 90px 0;
  color: white;
  background: var(--navy);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 75px;
  align-items: center;
}

.hero-copy .eyebrow {
  color: #57b5ff;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(3rem, 6vw, 5.9rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero-summary {
  max-width: 710px;
  margin: 0 0 33px;
  color: #c1cfda;
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 33px;
}

.hero .button-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: white;
}

.hero .button-secondary:hover {
  border-color: white;
  color: var(--navy);
  background: white;
}

.hero-details {
  display: grid;
  gap: 8px;
  color: #95a8b8;
  font-size: 12px;
}

.hero-details span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-details span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: #4eaff9;
}

.hero-panel {
  padding: 28px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: var(--navy-light);
}

.panel-label {
  margin: 0 0 19px;
  color: #78c2fa;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-stat {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 18px;
  align-items: center;
  padding: 19px 0;
}

.hero-stat:not(:last-child) {
  border-bottom: 1px solid var(--dark-line);
}

.hero-stat strong {
  color: white;
  font-size: 2.35rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero-stat span {
  color: #a9bac8;
  font-size: 0.82rem;
}

/* Services */

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

.service-card {
  position: relative;
  min-height: 255px;
  overflow: hidden;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy-card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.service-number {
  display: block;
  margin-bottom: 30px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin: 0 0 13px;
  color: var(--white);
  font-size: 1.18rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-card::after {
  position: absolute;
  right: 24px;
  bottom: 0;
  left: 24px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.68;
}

/* About */

#about {
  background: var(--navy-mid);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 75px;
  align-items: start;
}

.about-intro h2 {
  margin-bottom: 0;
}

.about-content p {
  color: var(--muted);
}

.about-content .lead {
  color: #e7eef5;
  font-size: 1.13rem;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.credentials span {
  padding: 8px 11px;
  border: 1px solid rgba(19, 141, 255, 0.30);
  border-radius: 999px;
  color: #cce7ff;
  background: var(--blue-soft);
  font-size: 11px;
  font-weight: 700;
}

/* Experience */

.experience-list {
  display: grid;
  gap: 14px;
}

.experience-list article {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy-card);
}

.experience-value {
  color: var(--blue);
  font-size: 2.7rem;
  font-weight: 850;
  letter-spacing: -0.05em;
}

.experience-list h3 {
  margin: 0 0 6px;
  color: var(--white);
}

.experience-list p {
  margin: 0;
  color: var(--muted);
}

/* Contact */

.contact-section {
  color: white;
  background: var(--navy);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.contact-copy .eyebrow {
  color: #57b5ff;
}

.contact-copy h2 {
  color: white;
}

.contact-copy > p:not(.eyebrow) {
  color: #a9bac8;
}

.contact-form {
  display: grid;
  gap: 15px;
  padding: 27px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: var(--navy-light);
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form label > span {
  color: #c5d1db;
  font-size: 11px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid #365064;
  border-radius: 7px;
  outline: none;
  color: white;
  background: #071725;
}

.contact-form input,
.contact-form select {
  min-height: 47px;
  padding: 0 13px;
}

.contact-form textarea {
  padding: 12px 13px;
  resize: vertical;
}

.contact-form select option {
  color: var(--navy);
  background: white;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #70889b;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #4fb5ff;
}

.form-status {
  margin: 0;
  color: #71899d;
  font-size: 10px;
}

.form-status.success {
  color: #7bcaff;
  font-size: 12px;
}

/* Footer */

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--dark-line);
  color: white;
  background: #030c13;
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.footer-brand img {
  display: block;
  width: auto;
  height: 42px;
}

.footer-layout p,
.footer-layout > a:last-child {
  margin: 0;
  color: #74899a;
  font-size: 11px;
}

/* Responsive */

@media (max-width: 950px) {
  .menu-toggle {
    position: relative;
    z-index: 1002;
    display: block;
  }

  .primary-navigation {
    position: fixed;
    z-index: 1001;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    padding: 100px 28px 35px;
    background: var(--navy);
    opacity: 0;
    pointer-events: none;
  }

  .primary-navigation.open {
    opacity: 1;
    pointer-events: auto;
  }

  .primary-navigation > a:not(.button) {
    padding: 15px;
    border-bottom: 1px solid var(--dark-line);
    font-size: 1.08rem;
  }

  .primary-navigation .button {
    margin-top: 14px;
  }

  .hero-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 50px;
  }

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

@media (max-width: 620px) {
  .container {
    width: min(var(--container), calc(100% - 26px));
  }

  .header-layout {
    min-height: 76px;
  }

  .brand img {
    height: 46px;
    max-width: 230px;
  }

  .section,
  .hero {
    padding: 72px 0;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-stat {
    grid-template-columns: 90px 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .experience-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-form {
    padding: 21px;
  }

  .footer-layout {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand img {
    height: 38px;
  }
}
