:root {
  --blue: #0060b7;
  --blue-deep: #004a8f;
  --blue-bright: #2b8be8;
  --navy: #071325;
  --navy-2: #0c1f3a;
  --navy-3: #143056;
  --ink: #122033;
  --muted: #5c6d80;
  --paper: #f3f6fb;
  --white: #ffffff;
  --line: rgba(18, 32, 51, 0.1);
  --gold: #c9a24a;
  --radius: 18px;
  --shadow: 0 22px 50px rgba(7, 19, 37, 0.14);
  --header: 76px;
  --max: 1160px;
  --font: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

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

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 12px;
  top: 12px;
  background: var(--white);
  padding: 8px 12px;
  z-index: 80;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(7, 19, 37, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 42px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  color: #e8eef6;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a {
  position: relative;
  opacity: 0.88;
}

.nav a:hover,
.nav a.is-active {
  opacity: 1;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: var(--blue-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.header-phone {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.header-phone:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.lang {
  display: flex;
  gap: 2px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.lang a {
  color: #c5d0de;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 8px;
  border-radius: 999px;
}

.lang a[aria-current="page"] {
  background: var(--blue);
  color: #fff;
}

.menu-btn {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  position: relative;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before {
  top: -7px;
}

.menu-btn span::after {
  top: 7px;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(calc(100vh - var(--header)), 820px);
  color: #fff;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy) center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 19, 37, 0.25) 0%, rgba(7, 19, 37, 0.55) 42%, rgba(7, 19, 37, 0.92) 100%),
    linear-gradient(90deg, rgba(7, 19, 37, 0.55), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px 0 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d5e6f8;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  max-width: 16ch;
  margin: 18px 0 16px;
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.hero-lead {
  max-width: 42rem;
  font-size: 1.15rem;
  color: #d5deea;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-deep);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 48px 0 0;
}

.stat {
  background: rgba(7, 19, 37, 0.55);
  padding: 22px 24px;
}

.stat b {
  display: block;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.stat span {
  color: #b9c6d6;
  font-size: 0.92rem;
}

/* Sections */
section {
  padding: 88px 0;
}

section[id],
#top {
  scroll-margin-top: calc(var(--header) + 10px);
}

.section-kicker {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2 {
  margin: 8px 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.lead {
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.service-card {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  box-shadow: var(--shadow);
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 19, 37, 0.1) 10%, rgba(7, 19, 37, 0.88) 78%);
}

.service-card > div {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.service-card p {
  margin: 0 0 16px;
  color: #d5deea;
}

.service-card .more {
  color: #fff;
  font-weight: 600;
}

.service-card .more span {
  display: inline-block;
  transition: transform 0.2s;
}

.service-card:hover .more span {
  transform: translateX(5px);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split.reverse .copy {
  order: -1;
}

.photo {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.checklist li {
  position: relative;
  padding: 10px 0 10px 34px;
  border-bottom: 1px solid var(--line);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid #d5e2f0;
}

.timeline li {
  position: relative;
  padding: 0 0 26px 26px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px #e7eef7;
}

.timeline strong {
  display: block;
  color: var(--blue);
  font-size: 0.92rem;
}

.certs {
  background: var(--navy);
  color: #fff;
}

.certs .lead,
.certs .section-kicker {
  color: #b9c6d6;
}

.certs h2 {
  color: #fff;
}

.cert-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 36px;
}

.cert-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  color: var(--ink);
  display: block;
  box-shadow: var(--shadow);
}

.cert-card img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  background: #f7f9fc;
  padding: 12px;
}

.cert-card figcaption {
  padding: 14px 16px 16px;
  font-size: 0.92rem;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-card {
  background: var(--paper);
  border-radius: 20px;
  padding: 28px;
}

.contact-card h3 {
  margin: 0 0 18px;
}

.vlist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vlist li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.vlist span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.vlist a {
  color: var(--blue);
  font-weight: 600;
}

.vlist a:hover {
  text-decoration: underline;
}

.form {
  display: grid;
  gap: 12px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid #d3dde8;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--blue);
  border-color: var(--blue);
}

.form textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
}

.map {
  margin-top: 28px;
  border: 0;
  border-radius: 20px;
  width: 100%;
  min-height: 320px;
  filter: grayscale(0.35) contrast(1.05);
}

.footer {
  background: var(--navy-2);
  color: #c5d0de;
  padding: 42px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .brand img {
  height: 36px;
  margin-bottom: 12px;
}

.footer a:hover {
  color: #fff;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  font-size: 0.85rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 19, 37, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(920px, 100%);
  max-height: 90vh;
  background: #fff;
  border-radius: 8px;
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 1.4rem;
}

@media (max-width: 960px) {
  .nav,
  .header-phone {
    display: none;
  }

  .menu-btn {
    display: grid;
    place-items: center;
  }

  body.nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 20px 24px 28px;
    gap: 16px;
  }

  body.nav-open .header-phone {
    display: inline-flex;
    margin-top: 8px;
  }

  .services-grid,
  .split,
  .split.reverse,
  .about-grid,
  .cert-grid,
  .contact-grid,
  .footer-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .split.reverse .copy {
    order: 0;
  }

  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  section {
    padding: 64px 0;
  }

  .lang a {
    padding: 6px 7px;
  }
}
