:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #1b2722;
  background: #fbfcfa;
  --green: #214f3c;
  --muted: #475d51;
  --line: #d7e2da;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid #b46a22; outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.top { border-bottom: 1px solid var(--line); }
.header { min-height: 5.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-size: 1.04rem; font-weight: 750; line-height: 1.13; }
.mark { display: block; width: 2.1rem; height: 2.1rem; border: 2px solid var(--green); border-radius: 3px; position: relative; flex: none; }
.mark::before, .mark::after { content: ""; position: absolute; background: var(--green); }
.mark::before { inset: 0 auto 0 calc(50% - 1px); width: 2px; }
.mark::after { inset: calc(50% - 1px) 0 auto; height: 2px; }
nav { display: flex; flex-wrap: wrap; gap: clamp(.65rem, 3vw, 2rem); }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.header-phone { font-weight: 700; color: var(--green); white-space: nowrap; }
.intro { background: #eaf2ec; }
.hero { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.8rem, 7vw, 6.6rem); }
h1, h2, h3 { line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.85rem, 6.5vw, 6.15rem); letter-spacing: -.065em; font-weight: 760; }
h1 em { display: block; font-family: Georgia, serif; color: var(--green); font-weight: 400; letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.15rem); letter-spacing: -.04em; }
h3 { font-size: 1.25rem; }
p { margin: .85rem 0 0; }
.hero-copy p { max-width: 34rem; margin-block: 1.55rem 1.85rem; color: var(--muted); font-size: clamp(1.04rem, 2vw, 1.2rem); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; border-radius: .45rem; padding: .75rem 1.15rem; color: #fff; background: var(--green); font-weight: 700; text-align: center; text-decoration: none; }
.button:hover { background: #173b2c; }
.hero-image { display: block; width: 100%; aspect-ratio: 6 / 5; object-fit: cover; border-radius: .85rem; background: #d3dfd7; }
.services { padding-block: clamp(3rem, 7vw, 5.8rem); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.35rem; margin-top: 2rem; }
.service-grid article { border-top: 2px solid #769486; padding: 1.15rem 0 .25rem; }
.service-grid p { color: var(--muted); }
.contact { background: var(--green); color: #fff; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: clamp(2.7rem, 6vw, 4.8rem); }
.contact-inner p { max-width: 40rem; color: #e2eee6; }
.contact-links { display: grid; justify-items: start; gap: .7rem; }
.contact-links .button { background: #f3f8f3; color: #173b2c; }
.contact-links .button:hover { background: #dcecdf; }
.footer { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.3rem; color: var(--muted); }

@media (max-width: 55rem) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 42rem) {
  .wrap { width: calc(100% - 2rem); }
  .header { min-height: 4.5rem; gap: .75rem; }
  .header-phone { display: none; }
  .brand { font-size: .88rem; gap: .4rem; }
  nav a { font-size: .94rem; }
  .hero { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero-image { aspect-ratio: 4 / 3; }
  .contact-inner { align-items: start; flex-direction: column; }
}

@media (max-width: 30rem) {
  .service-grid { grid-template-columns: 1fr; }
}
