:root {
  --bg: #f4f7f9;
  --surface: #ffffff;
  --surface-soft: #edf3f7;
  --text: #101820;
  --muted: #5d6b75;
  --line: rgba(16, 24, 32, 0.12);
  --line-strong: rgba(16, 24, 32, 0.22);
  --accent: #0b86c5;
  --accent-deep: #06577f;
  --accent-warm: #f29f05;
  --dark: #15252f;
  --dark-2: #213946;
  --shadow: 0 18px 50px rgba(21, 37, 47, 0.12);
  --radius-lg: 18px;
  --radius-md: 12px;
  --content: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  font-family: "IBM Plex Sans", Arial, sans-serif;
}

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

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 28px), var(--content));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
  backdrop-filter: blur(14px);
}

.header-row,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.header-row {
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand img {
  width: 44px;
  height: 44px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a {
  text-decoration: none;
}

.section {
  padding: 62px 0;
}

.kicker {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
.stat-box span {
  margin: 0;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h1 {
  max-width: 13ch;
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.98;
}

h2 {
  max-width: 17ch;
  font-size: clamp(1.8rem, 4.2vw, 3.1rem);
  line-height: 1.04;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.08rem;
}

p {
  margin: 0;
  overflow-wrap: anywhere;
}

.intro,
.section-header p,
.card p,
.contact-copy p,
.legal-card p,
.media-card p,
.stat-box p,
.service-card li {
  color: var(--muted);
  line-height: 1.72;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  text-align: center;
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 78px));
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 74px 0 88px;
  background: var(--dark);
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 20, 28, 0.82) 0%, rgba(10, 20, 28, 0.54) 46%, rgba(10, 20, 28, 0.12) 100%),
    linear-gradient(0deg, rgba(10, 20, 28, 0.62) 0%, rgba(10, 20, 28, 0) 48%);
}

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

.hero-layout {
  position: relative;
  z-index: 2;
}

.hero-copy {
  display: grid;
  max-width: 680px;
}

.hero-copy .kicker,
.section-header.light .kicker {
  color: #9edcff;
}

.intro {
  margin-top: 22px;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

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

.compact-strip {
  padding-top: 24px;
}

.stats-grid,
.cards.three,
.cards.two {
  display: grid;
  gap: 16px;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.stat-box,
.card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stat-box,
.card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.stat-box span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-deep);
  font-size: 1.55rem;
  font-weight: 800;
}

.section-header {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
  justify-items: center;
  text-align: center;
}

.section-header p {
  max-width: 66ch;
}

.service-grid {
  display: grid;
  gap: 18px;
}

.service-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 240px;
  height: 190px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.dark-band {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: start;
}

.section-header.light h2 {
  color: #fff;
}

.section-header.light p {
  color: rgba(255, 255, 255, 0.76);
}

.cards.stack {
  display: grid;
  gap: 14px;
}

.card.dark {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.card.dark h3 {
  color: #fff;
}

.card.dark p {
  color: rgba(255, 255, 255, 0.76);
}

.media-section {
  background: var(--surface-soft);
}

.media-grid {
  display: grid;
  gap: 18px;
}

.media-card {
  display: grid;
  grid-template-columns: minmax(260px, 430px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.media-card.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
}

.media-card.reverse img {
  order: 2;
}

.media-card img,
.contact-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.media-card div {
  display: grid;
  gap: 14px;
}

.contact-section {
  background: #ffffff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 360px);
  gap: 28px;
  align-items: center;
}

.contact-copy {
  display: grid;
  gap: 18px;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-links a,
.legal-card a {
  color: var(--accent-deep);
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.legal-section {
  background: var(--bg);
}

.legal-card {
  display: grid;
  gap: 16px;
}

.site-footer {
  padding: 0 0 30px;
  background: var(--bg);
}

.footer-row {
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.footer-row p,
.footer-row a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 920px) {
  .stats-grid,
  .cards.two,
  .feature-layout,
  .contact-layout,
  .media-card,
  .media-card.reverse {
    grid-template-columns: 1fr;
  }

  .media-card.reverse img {
    order: 0;
  }

  .service-card {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .service-card img {
    width: 180px;
    height: 180px;
  }
}

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

  .header-row {
    min-height: auto;
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .main-nav {
    width: 100%;
    gap: 10px;
    justify-content: space-between;
    font-size: 0.86rem;
  }

  .section {
    padding: 44px 0;
  }

  .hero {
    min-height: 640px;
    padding: 58px 0 58px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 10vw, 3.2rem);
    line-height: 1.02;
  }

  h2 {
    max-width: 100%;
    font-size: clamp(1.6rem, 7.5vw, 2.35rem);
    line-height: 1.08;
  }

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

  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .footer-row {
    justify-content: center;
    text-align: center;
  }
}
