:root {
  --ink: #102033;
  --muted: #607084;
  --line: #d9e2ec;
  --paper: #f7f9fb;
  --white: #ffffff;
  --blue: #0d4e8f;
  --blue-dark: #0a2f55;
  --gold: #b68a35;
  --green: #326c60;
  --shadow: 0 20px 55px rgba(15, 31, 52, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: rgba(7, 29, 53, 0.72);
  box-shadow: 0 12px 34px rgba(7, 29, 53, 0.18);
  backdrop-filter: blur(14px);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(11, 34, 61, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 142px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(7, 29, 53, 0.22);
}

.brand img {
  width: 148px;
  max-height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.34));
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.7vw, 38px);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a,
.header-call {
  position: relative;
}

.site-nav a::after,
.header-call::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: currentColor;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.header-call:hover::after {
  transform: scaleX(1);
}

.header-call {
  justify-self: end;
  font-weight: 800;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: currentColor;
  padding: 0;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  min-height: 92vh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-dark);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 26, 48, 0.92), rgba(6, 26, 48, 0.56) 47%, rgba(6, 26, 48, 0.18)),
    linear-gradient(0deg, rgba(6, 26, 48, 0.78), rgba(6, 26, 48, 0.02) 45%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(28px, 7vw, 84px) clamp(18px, 7vw, 92px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.service-content h2,
.contact h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(2rem, 5.4vw, 5.2rem);
}

.hero-lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 850;
}

.button-primary {
  color: var(--blue-dark);
  background: var(--white);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 44px 0 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
}

.hero-stats dt {
  font-size: 1.55rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.section {
  padding: clamp(68px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.service-content h2,
.contact h2 {
  color: var(--blue-dark);
  font-size: clamp(2rem, 4.7vw, 4.4rem);
}

.section-heading p:last-child {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}

.offer-card {
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.offer-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.offer-body {
  padding: 22px;
}

.pill {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 10px;
  color: var(--white);
  background: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pill-muted {
  background: var(--blue);
}

.offer-card h3,
.timeline h3,
.profile h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 1.25rem;
}

.offer-card p,
.timeline p,
.profile p,
.contact p {
  color: var(--muted);
  line-height: 1.65;
}

.offer-card strong {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-size: 1.18rem;
}

.service-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  background: var(--white);
}

.service-media img {
  width: min(460px, 100%);
  margin: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #edf3f8;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.service-list span {
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: #fbfcfe;
  color: var(--ink);
  font-weight: 750;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.timeline article {
  padding: 28px 24px 0;
  border-left: 1px solid var(--line);
}

.timeline article:last-child {
  border-right: 1px solid var(--line);
}

.timeline span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 950;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.gallery-strip img {
  width: 100%;
  height: clamp(230px, 28vw, 430px);
  object-fit: cover;
}

.team {
  background: var(--white);
}

.profile {
  display: grid;
  grid-template-columns: 250px minmax(0, 560px);
  gap: 34px;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fbfcfe;
}

.profile img {
  width: 250px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.profile-links a {
  padding: 10px 14px;
  color: var(--blue-dark);
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 800;
}

.contact {
  padding: clamp(68px, 9vw, 118px) clamp(18px, 5vw, 72px);
  background: var(--blue-dark);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: center;
  max-width: 1050px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  background: var(--white);
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-lines a,
.contact-lines span {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--blue-dark);
  font-weight: 800;
}

.contact-panel img {
  width: 320px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: #071d35;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 18px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .header-call {
    display: none;
  }

  .site-header.is-open .site-nav {
    position: fixed;
    inset: 78px 14px auto;
    display: grid;
    gap: 0;
    padding: 12px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav a {
    padding: 17px 10px;
    border-bottom: 1px solid var(--line);
  }

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

  .service-band,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel img {
    width: 100%;
    max-height: 520px;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 100vh;
  }

  .hero-media::after {
    background: linear-gradient(0deg, rgba(6, 26, 48, 0.92), rgba(6, 26, 48, 0.28));
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px 28px;
  }

  .hero-stats,
  .offer-grid,
  .service-list,
  .timeline,
  .gallery-strip,
  .profile {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 8px;
  }

  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .timeline {
    border-top: 0;
  }

  .timeline article,
  .timeline article:last-child {
    border: 1px solid var(--line);
    padding: 22px;
    background: var(--white);
  }

  .timeline span {
    margin-bottom: 18px;
  }

  .profile {
    padding: 18px;
  }

  .profile img {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
