:root {
  --ink: #1e2b39;
  --muted: #5e6875;
  --line: #dfe5e8;
  --teal: #047c73;
  --teal-2: #0b9488;
  --amber: #ff9f16;
  --paper: #ffffff;
  --soft: #f5f8f7;
  --shadow: 0 20px 50px rgba(30, 43, 57, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: 92px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 229, 232, 0.8);
  backdrop-filter: blur(14px);
}

.brand img {
  display: block;
  width: auto;
  height: clamp(62px, 7vw, 82px);
  max-width: min(100%, 360px);
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 34px);
  margin-left: auto;
  font-size: 16px;
  font-weight: 600;
  color: #344050;
}

.nav a {
  position: relative;
  padding: 10px 0;
}

.nav a:first-child,
.nav a:hover {
  color: var(--teal);
}

.nav a:first-child::after,
.nav a:hover::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  content: "";
  background: var(--teal);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta {
  gap: 10px;
  color: #fff;
  background: var(--amber);
  box-shadow: 0 12px 26px rgba(255, 159, 22, 0.22);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(520px, 0.92fr) minmax(520px, 1.08fr);
  min-height: min(640px, calc(100vh - 132px));
  overflow: hidden;
}

.hero-copy {
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 70px) clamp(24px, 4.5vw, 72px);
  background: linear-gradient(90deg, #fff 0%, #fff 70%, rgba(255, 255, 255, 0.9) 88%, rgba(255, 255, 255, 0) 100%);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 4.6vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 900;
}

.hero h1::after {
  display: block;
  width: 56px;
  height: 3px;
  margin: 24px 0 0;
  content: "";
  background: var(--teal);
}

.hero h1::first-line {
  color: var(--ink);
}

.hero-copy h1 {
  color: var(--teal);
}

.hero p {
  max-width: 560px;
  margin: 22px 0 0;
  color: #4d5866;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.28;
}

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

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  box-shadow: 0 14px 30px rgba(4, 124, 115, 0.24);
}

.button.secondary {
  color: var(--teal);
  background: #fff;
  border: 1px solid var(--line);
}

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

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

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 720px;
  margin-top: 38px;
}

.trust-row div {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 12px;
  align-items: center;
}

.trust-row svg,
.service-grid svg {
  width: 44px;
  height: 44px;
  color: var(--teal);
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-row span {
  display: block;
  font-size: 17px;
  font-weight: 850;
}

.trust-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.25;
}

.services {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(560px, 1.7fr);
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(58px, 8vw, 96px) clamp(24px, 6vw, 88px);
  background: #fff;
}

.section-title h2,
.about h2,
.contact h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-title h2 {
  color: var(--teal);
}

.section-title h2::first-line {
  color: var(--ink);
}

.section-title p,
.about p,
.contact p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-grid article {
  min-height: 230px;
  padding: 10px clamp(18px, 2vw, 32px);
  border-left: 1px solid var(--line);
}

.service-grid h3 {
  margin: 20px 0 10px;
  font-size: 21px;
  line-height: 1.12;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  padding: clamp(58px, 8vw, 96px) clamp(24px, 6vw, 88px);
  background: var(--soft);
}

.about-panel {
  align-self: start;
  padding: 34px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-panel h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 26px;
}

.about-panel ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0 0 0 20px;
  color: #d9e2e8;
  line-height: 1.55;
}

.contact {
  padding: clamp(58px, 8vw, 90px) clamp(24px, 6vw, 88px);
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #0b5f5a);
}

.contact p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.contact .button.secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.36);
}

.site-footer {
  padding: 22px clamp(24px, 6vw, 88px);
  color: #d9e2e8;
  background: var(--ink);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

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

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

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

  .hero-media {
    inset: 0;
    opacity: 0.22;
  }

  .hero-copy {
    min-height: min(680px, calc(100vh - 134px));
    background: rgba(255, 255, 255, 0.88);
  }

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

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 18px;
    min-height: 82px;
    padding: 12px 18px;
  }

  .brand img {
    height: 62px;
    max-width: min(100%, 286px);
  }

  .header-cta {
    width: 100%;
  }

  .nav {
    gap: 18px;
    justify-content: flex-start;
    font-size: 14px;
  }

  .hero-copy {
    min-height: auto;
    padding: 54px 20px 44px;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }

  .hero h1 {
    font-size: clamp(38px, 12.5vw, 54px);
  }

  .hero p {
    max-width: 100%;
    font-size: 19px;
    overflow-wrap: break-word;
  }

  .trust-row,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .trust-row {
    gap: 18px;
  }

  .service-grid article {
    min-height: auto;
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .about-panel {
    padding: 26px;
  }
}
