:root {
  color-scheme: light;
  --ink: #11121a;
  --muted: #59616d;
  --line: #dce6e5;
  --paper: #f7fbfa;
  --white: #ffffff;
  --teal: #008b78;
  --mint: #1dc8b5;
  --blue: #2436ad;
  --navy: #171923;
  --shadow: 0 22px 60px rgba(17, 18, 26, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(247, 251, 250, 0.92);
  border-bottom: 1px solid rgba(220, 230, 229, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 164px;
}

.brand img {
  width: 100%;
  height: 48px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  font-weight: 700;
  color: #242936;
}

.nav a,
.header-action,
.button {
  text-decoration: none;
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 800;
}

.header-action {
  color: var(--white);
  background: var(--navy);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 570px);
  min-height: calc(100vh - 76px);
  overflow: hidden;
  background: var(--navy);
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 25, 35, 0.45), rgba(23, 25, 35, 0.85)),
    linear-gradient(0deg, rgba(0, 139, 120, 0.23), transparent 46%);
}

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

.hero-content {
  position: relative;
  grid-column: 2;
  align-self: center;
  width: min(100%, 570px);
  padding: clamp(48px, 8vw, 88px) clamp(22px, 5vw, 60px);
  color: var(--white);
}

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

.hero .eyebrow {
  color: var(--mint);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-content > p:not(.eyebrow),
.section-heading p,
.feature-copy p,
.about-copy p,
.contact-section p {
  color: inherit;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
}

.hero-content > p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
}

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

.button.primary {
  color: var(--white);
  background: linear-gradient(90deg, var(--teal), var(--mint));
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.intro > div {
  padding: clamp(22px, 4vw, 38px);
  background: var(--white);
}

.stat {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
}

.intro p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(58px, 8vw, 112px) clamp(18px, 4vw, 56px);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 42px;
}

.section-heading p:last-child,
.feature-copy p,
.about-copy p,
.contact-section p {
  margin: 0;
  color: var(--muted);
}

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

.service-card {
  display: grid;
  grid-template-rows: 214px 1fr;
  overflow: hidden;
  min-height: 420px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 26px rgba(17, 18, 26, 0.06);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card div {
  padding: 22px;
}

.service-card p,
.values p {
  margin: 12px 0 0;
  color: var(--muted);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  padding: clamp(58px, 8vw, 106px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(36, 54, 173, 0.82), rgba(0, 139, 120, 0.9)),
    var(--navy);
}

.feature-copy {
  max-width: 570px;
}

.feature-copy .eyebrow {
  color: #bff7ee;
}

.feature-copy p {
  margin: 18px 0 28px;
  color: rgba(255, 255, 255, 0.84);
}

.feature-images {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 16px;
  align-items: stretch;
}

.feature-images img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-images img:nth-child(2) {
  height: 350px;
  align-self: end;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
}

.values {
  display: grid;
  gap: 14px;
}

.values div {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--teal);
  border-radius: 8px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(24px, 6vw, 88px);
  align-items: center;
  padding: clamp(56px, 7vw, 94px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--navy);
}

.contact-section .eyebrow {
  color: var(--mint);
}

.contact-section p {
  max-width: 680px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.contact-card p {
  display: grid;
  gap: 5px;
  max-width: none;
  margin: 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-card strong {
  color: var(--mint);
}

.contact-card a,
.contact-card span {
  color: var(--white);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: #eef7f6;
  background: #0d0f15;
}

.site-footer a {
  color: #9df2e6;
  text-decoration: none;
}

@media (max-width: 980px) {
  .site-header {
    position: relative;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 720px;
  }

  .hero-content {
    grid-column: 1;
    align-self: end;
    padding-top: 180px;
  }

  .intro,
  .service-grid,
  .section-heading,
  .feature-band,
  .about,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-grid {
    max-width: 720px;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
  }

  .brand {
    width: 142px;
  }

  .header-action {
    min-height: 40px;
    padding-inline: 14px;
  }

  .nav {
    justify-content: flex-start;
    gap: 8px 16px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: 650px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .service-card {
    grid-template-rows: 190px 1fr;
    min-height: auto;
  }

  .feature-images {
    grid-template-columns: 1fr;
  }

  .feature-images img,
  .feature-images img:nth-child(2) {
    height: 290px;
  }
}
