:root {
  --ink: #14252a;
  --muted: #617176;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --line: #d9dfda;
  --forest: #1f4d46;
  --accent: #e67c36;
  --accent-dark: #b85218;
  --footer: #102e2c;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(20, 37, 42, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

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

a:hover {
  color: var(--accent-dark);
}

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

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 6vw, 5.3rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.7vw, 3.3rem);
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

p {
  margin-bottom: 18px;
}

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

.eyebrow {
  margin-bottom: 13px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lead {
  max-width: 680px;
  color: #405256;
  font-size: 1.12rem;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 245, 239, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--forest);
  font-size: 1.23rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand span {
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.88rem;
  font-weight: 800;
}

.main-nav a[aria-current="page"] {
  color: var(--accent-dark);
}

.hero {
  padding: 62px 0 74px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.03fr;
  align-items: center;
  gap: 55px;
}

.hero-copy {
  padding: 32px 0;
}

.hero-copy .lead {
  margin-bottom: 30px;
}

.hero-media {
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-media img {
  height: 420px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
}

.button:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
}

.button--ghost {
  background: transparent;
  color: var(--forest);
}

.button--ghost:hover {
  background: var(--forest);
  color: #fff;
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

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

.trust-item {
  min-height: 128px;
  padding: 28px 28px 25px;
  border-right: 1px solid var(--line);
}

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

.trust-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--forest);
  font-size: 1.08rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 90px 0;
}

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

.section--tint {
  background: #e9f0eb;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading .lead {
  margin-bottom: 0;
}

.story-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.story-media {
  height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
}

.story-media img {
  height: 360px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.service-card a {
  margin-top: auto;
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

.topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.topic-media {
  height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
}

.topic-media img {
  height: 340px;
}

.check-list {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0 0 12px 27px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--accent-dark);
  content: "✓";
  font-weight: 900;
}

.quote-block {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--forest);
  color: #edf4ef;
}

.quote-block p {
  margin-bottom: 18px;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1.45;
}

.quote-block cite {
  color: #b9d1c4;
  font-size: 0.9rem;
  font-style: normal;
}

.page-hero {
  padding: 78px 0 56px;
  background: #e9f0eb;
}

.page-hero .lead {
  margin-bottom: 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.content-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.content-card p:last-child {
  margin-bottom: 0;
}

.page-media {
  height: 360px;
  margin-bottom: 46px;
  border-radius: var(--radius);
  overflow: hidden;
}

.page-media img {
  height: 360px;
}

.price-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.price-item {
  display: grid;
  grid-template-columns: 1.1fr 2fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.price-item:last-child {
  border-bottom: 0;
}

.price-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.price {
  color: var(--accent-dark);
  font-size: 1.06rem;
  font-weight: 900;
  white-space: nowrap;
}

.advice {
  padding: 34px;
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #fff4e8;
}

.advice p:last-child {
  margin-bottom: 0;
}

.contact-details {
  display: grid;
  gap: 17px;
}

.contact-detail {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-detail strong {
  display: block;
  margin-bottom: 3px;
  color: var(--forest);
}

.contact-photo {
  height: 310px;
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-photo img {
  height: 310px;
}

.contact-form {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  margin-bottom: 16px;
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 13px;
  border: 1px solid #bdcac1;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

.legal-copy {
  max-width: 850px;
}

.legal-copy h2 {
  margin-top: 42px;
  font-size: 1.6rem;
}

.site-footer {
  padding: 62px 0 24px;
  background: var(--footer);
  color: #dce8df;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1.15fr 1.1fr;
  gap: 34px;
  padding-bottom: 44px;
}

.site-footer .brand {
  color: #fff;
}

.footer-title {
  margin-bottom: 13px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer li,
.site-footer address {
  margin: 0;
  color: #aac2b4;
  font-size: 0.9rem;
  font-style: normal;
}

.footer-links {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(220, 232, 223, 0.2);
  color: #aac2b4;
  font-size: 0.82rem;
}

.footer-legal {
  display: flex;
  gap: 18px;
}

@media (max-width: 860px) {
  .header-inner {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero-grid,
  .story-grid,
  .topic-grid,
  .contact-grid,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

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

@media (max-width: 580px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero,
  .section {
    padding: 56px 0;
  }

  .hero-media,
  .hero-media img {
    min-height: 0;
    height: 285px;
  }

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

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

  .trust-item:last-child {
    border-bottom: 0;
  }

  .price-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
