:root {
  --ink: #18212b;
  --muted: #65717a;
  --line: #e2e6ea;
  --paper: #ffffff;
  --soft: #f6f8f9;
  --accent: #2f7d73;
  --accent-dark: #245f58;
  --accent-soft: #dcefeb;
  --navy: #334852;
  --warm: #f8f7f3;
  --sage: #edf5f2;
  --shadow-soft: 0 16px 42px rgba(31, 47, 55, 0.12);
  --shadow-card: 0 10px 28px rgba(31, 47, 55, 0.09);
  --shadow-lift: 0 18px 44px rgba(31, 47, 55, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--warm);
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(31, 47, 55, 0.06);
  backdrop-filter: blur(12px);
}

.site-header,
.section,
.hero,
.trust-strip div,
.footer {
  padding-left: max(clamp(18px, 4vw, 56px), env(safe-area-inset-left));
  padding-right: max(clamp(18px, 4vw, 56px), env(safe-area-inset-right));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--accent);
  border-radius: 6px;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  max-width: 760px;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
}

.nav a {
  white-space: nowrap;
  padding: 8px 11px;
  border: 1px solid #d4dbe1;
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(24, 33, 43, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.nav a:hover {
  border-color: #98c8c0;
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: 0 8px 18px rgba(47, 125, 115, 0.14);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 72vh;
  display: grid;
  align-items: center;
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 56px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(31, 47, 55, 0.88) 0%, rgba(43, 72, 74, 0.72) 36%, rgba(47, 125, 115, 0.18) 70%),
    url("assets/hero-consultation.png") center/cover;
}

.hero::after {
  position: absolute;
  right: -12%;
  bottom: -22%;
  width: 46%;
  height: 52%;
  content: "";
  background: radial-gradient(circle, rgba(47, 125, 115, 0.2), rgba(47, 125, 115, 0));
  pointer-events: none;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.12) 42%, rgba(255, 255, 255, 0) 58%),
    radial-gradient(circle at 16% 24%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 26%);
  mix-blend-mode: screen;
  opacity: 0.75;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d7f2ed;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 64px;
  line-height: 1.03;
}

h2 {
  margin-bottom: 14px;
  font-size: 40px;
  line-height: 1.15;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.lead {
  max-width: 700px;
  color: #eef3f6;
  font-size: 21px;
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #f4f7f8;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  font-size: 14px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(31, 47, 55, 0.1);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

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

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

.button.secondary {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
}

.section {
  padding: clamp(52px, 8vw, 88px) clamp(18px, 4vw, 56px);
  background: var(--paper);
}

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

.trust-strip div {
  padding: 22px clamp(18px, 4vw, 56px);
  background: #fff;
  transition: background 180ms ease;
}

.trust-strip div:hover {
  background: #f8fbfa;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 4px;
}

.trust-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading p,
.form-copy p,
.product-card p,
.steps p,
.contact p,
.legal p,
.form-note {
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  scroll-margin-top: 110px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  border-color: #b8d9d2;
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}

.product-card span {
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 700;
}

.product-card a {
  margin-top: auto;
  color: var(--accent-dark);
  font-weight: 700;
}

.product-card small {
  display: block;
  margin: 6px 0 18px;
  color: #5d6972;
  font-weight: 700;
}

.muted {
  background: var(--sage);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 24px;
  border-left: 4px solid var(--accent);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.steps li:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

.steps span {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
  font-weight: 700;
}

.steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.form-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 34px;
  align-items: start;
}

.example-box {
  margin-top: 24px;
  padding: 18px;
  border-left: 4px solid var(--accent);
  background: var(--soft);
  box-shadow: inset 0 0 0 1px rgba(47, 125, 115, 0.08);
}

.contact-methods {
  display: inline-flex;
  margin: 4px 0 18px;
  padding: 10px 13px;
  border: 1px solid #b8d9d2;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 14px;
  font-weight: 700;
}

.example-box p {
  margin: 8px 0 0;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.lead-form label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
}

.lead-form input,
.lead-form select {
  max-width: 100%;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #c8d0d8;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 2px solid rgba(47, 125, 115, 0.22);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(47, 125, 115, 0.08);
  background: #fbfefd;
}

.check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 400;
}

.check input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.hp {
  position: absolute;
  left: -9999px;
}

.submit {
  width: 100%;
  border: 0;
}

.form-note {
  margin: 0;
  font-size: 13px;
}

.form-done {
  margin: 0;
  padding: 12px;
  border: 1px solid #8fbf9a;
  border-radius: 6px;
  color: #1f5e2f;
  background: #eef8f0;
  font-weight: 700;
}

.legal {
  background: var(--navy);
  color: #fff;
}

.legal .eyebrow,
.legal a {
  color: #d7f2ed;
}

.legal p {
  max-width: 940px;
  color: #e7edf2;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.contact-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.contact-box a {
  display: block;
  margin-top: 10px;
  color: var(--accent-dark);
  font-weight: 700;
}

.footer {
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

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

  .nav {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
  }

  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 34px;
  }

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

  .form-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site-header {
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .nav a {
    flex: 0 0 auto;
    background: #f3f5f6;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 58px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 29px;
  }

  .lead {
    font-size: 18px;
  }

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

  .hero-points {
    gap: 8px;
  }

  .hero-points span {
    font-size: 13px;
  }

  .product-grid,
  .trust-strip,
  .steps,
  .contact {
    grid-template-columns: 1fr;
  }

  .product-card,
  .lead-form,
  .contact-box {
    padding: 20px;
  }
}

@media (max-width: 420px) {
  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small,
  .nav {
    font-size: 13px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

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

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