:root {
  --ink: #17324a;
  --ink-soft: #4b6274;
  --green: #138a4f;
  --green-dark: #0d6b3f;
  --amber: #d69a3b;
  --clay: #b7663e;
  --paper: #fbfaf6;
  --paper-strong: #fffdf8;
  --sage: #eaf3ea;
  --concrete: #f6f4ed;
  --line: #dfe5dc;
  --white: #ffffff;
  --shadow: 0 22px 56px rgba(23, 50, 74, 0.15);
  --shadow-soft: 0 10px 28px rgba(23, 50, 74, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(180deg, var(--paper-strong) 0%, var(--paper) 46%, var(--white) 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 226, 220, 0.85);
  background: rgba(255, 253, 248, 0.95);
  backdrop-filter: blur(12px);
  transition: box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 10px 28px rgba(23, 50, 74, 0.08);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 74px;
  height: 48px;
  object-fit: contain;
  border: 1px solid rgba(223, 229, 220, 0.9);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(23, 50, 74, 0.08);
}

.brand span {
  font-size: 0.74rem;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 1px;
  background: currentColor;
  content: "";
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(5px);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--green-dark);
  background: #eaf6ef;
  transform: translateY(-1px);
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(23, 50, 74, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--button-x, 50%) var(--button-y, 50%), rgba(255, 255, 255, 0.34), transparent 32%);
  opacity: 0;
  transition: opacity 180ms ease;
  content: "";
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(23, 50, 74, 0.14);
}

.button:hover::after {
  opacity: 1;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.button-primary:hover {
  background: var(--green-dark);
}

.button-secondary {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 253, 248, 0.94);
}

.button-outline {
  color: var(--green-dark);
  border-color: var(--green);
  background: var(--white);
}

.hero {
  min-height: 640px;
  display: flex;
  align-items: stretch;
  color: var(--white);
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg, rgba(14, 32, 48, 0.88), rgba(28, 59, 55, 0.6), rgba(180, 101, 54, 0.16)),
    linear-gradient(0deg, rgba(14, 32, 48, 0.3), transparent 42%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  align-items: end;
  padding: 104px 0 54px;
}

.hero-content {
  max-width: 780px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.22);
}

.eyebrow {
  margin-bottom: 14px;
  color: #d8ead8;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section .eyebrow {
  color: var(--green-dark);
}

.hero h1,
.page-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 680px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
}

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

.hero-strip {
  width: min(1180px, calc(100% - 32px));
  margin: -44px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: var(--shadow);
}

.strip-item {
  position: relative;
  min-height: 112px;
  padding: 24px;
  border-right: 1px solid var(--line);
  transition: background-color 180ms ease, transform 180ms ease;
}

.strip-item::before {
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--amber);
  opacity: 0.85;
  content: "";
}

.strip-item:hover {
  background: var(--sage);
  transform: translateY(-2px);
}

.strip-item:last-child {
  border-right: 0;
}

.strip-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.1;
}

.strip-item span {
  color: var(--ink-soft);
  font-weight: 700;
}

.section {
  padding: 86px 0;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0)),
    var(--concrete);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.03;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

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

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

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

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

.card {
  position: relative;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.card::before {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--green), var(--amber));
  opacity: 0;
  transition: opacity 220ms ease;
  content: "";
}

.card:hover {
  border-color: rgba(19, 138, 79, 0.28);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.26rem;
}

.card p,
.card li {
  color: var(--ink-soft);
}

.card ul,
.check-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.card li,
.check-list li {
  position: relative;
  padding-left: 22px;
  margin-top: 10px;
}

.card li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(19, 138, 79, 0.1);
  content: "";
}

.image-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.image-band img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 400ms ease, box-shadow 400ms ease;
}

.image-band img:hover {
  box-shadow: 0 28px 64px rgba(23, 50, 74, 0.18);
  transform: scale(1.015);
}

.quote-block {
  padding: 36px;
  border-left: 6px solid var(--green);
  border-radius: 0 8px 8px 0;
  background: var(--paper-strong);
  box-shadow: var(--shadow-soft);
}

.quote-block p {
  font-size: 1.45rem;
  line-height: 1.25;
}

.page-hero {
  min-height: 430px;
  display: flex;
  align-items: end;
  color: var(--white);
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg, rgba(14, 32, 48, 0.86), rgba(26, 55, 54, 0.58), rgba(180, 101, 54, 0.14)),
    linear-gradient(0deg, rgba(14, 32, 48, 0.28), transparent 48%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.page-hero .container {
  padding: 98px 0 58px;
}

.split-list {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.numbered {
  display: grid;
  gap: 14px;
  counter-reset: steps;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.step:hover {
  border-color: rgba(19, 138, 79, 0.28);
  box-shadow: var(--shadow-soft);
  transform: translateX(4px);
}

.step::before {
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 6px;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), var(--green-dark));
  font-weight: 800;
}

.step h3 {
  margin-bottom: 4px;
}

.step p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  min-width: 170px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), #23465f);
}

td {
  color: var(--ink-soft);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.contact-card {
  padding: 34px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(19, 138, 79, 0.22), transparent 38%),
    var(--ink);
  box-shadow: var(--shadow);
}

.contact-card a {
  color: #bfe3cd;
  font-weight: 800;
}

.form-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow-soft);
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.field label {
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 0;
  border-color: rgba(19, 138, 79, 0.75);
  box-shadow: 0 0 0 4px rgba(19, 138, 79, 0.12);
}

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

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.legal-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.legal-item:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.legal-item strong {
  display: block;
  margin-bottom: 6px;
}

.cta-band {
  padding: 54px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(214, 154, 59, 0.34), transparent 42%),
    linear-gradient(135deg, var(--green-dark), #174c44);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.cta-band p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer {
  padding: 42px 0;
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(135deg, rgba(19, 138, 79, 0.12), transparent 36%),
    var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 26px;
}

.footer-grid h2,
.footer-grid h3 {
  color: var(--white);
}

.footer-grid a {
  color: #bfe3cd;
}

.footer-logo {
  width: 92px;
  height: auto;
  margin-bottom: 16px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
  }
}

.fineprint {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.9rem;
}

@media (max-width: 920px) {
  .nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero {
    min-height: 590px;
  }

  .hero-strip,
  .grid-3,
  .grid-2,
  .service-grid,
  .image-band,
  .split-list,
  .contact-panel,
  .legal-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    margin-top: 0;
    border-radius: 0;
    width: 100%;
  }

  .strip-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .image-band img {
    height: 340px;
  }

  .cta-band {
    padding: 34px;
  }
}

@media (max-width: 560px) {
  .brand span {
    display: none;
  }

  .section {
    padding: 62px 0;
  }

  .hero-inner {
    padding-top: 88px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .card,
  .form-card,
  .contact-card,
  .quote-block {
    padding: 22px;
  }
}
