:root {
  --ink: #151719;
  --muted: #5c646b;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #d8ddd8;
  --green: #146b52;
  --green-2: #0f4b3e;
  --coral: #d65f4a;
  --sky: #e7f1f4;
  --yellow: #f4c95d;
  --shadow: 0 18px 44px rgba(20, 32, 26, 0.12);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

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

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

p {
  margin: 0 0 1rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: .65rem .85rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, .92);
  border-bottom: 1px solid rgba(21, 23, 25, .08);
  backdrop-filter: blur(18px);
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-text {
  display: grid;
  gap: 0;
}

.brand-text strong {
  font-size: .98rem;
  line-height: 1.15;
}

.brand-text span {
  color: var(--muted);
  font-size: .78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .35rem;
  color: #30363a;
  font-size: .94rem;
}

.nav-links a {
  padding: .6rem .75rem;
  border-radius: 8px;
}

.nav-links a:hover {
  background: #eef2ee;
}

.nav-toggle {
  display: none;
  min-width: 66px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 800;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .82rem 1rem;
  border-radius: 8px;
  font-weight: 750;
  line-height: 1;
}

.button {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 24px rgba(20, 107, 82, .2);
}

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

.button-secondary {
  color: var(--green-2);
  border: 1px solid var(--line);
  background: var(--surface);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1rem;
  color: var(--green-2);
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--coral);
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: 4.5rem 0 3.25rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero h1,
.page-hero h1 {
  max-width: 780px;
  margin: 0 0 1.2rem;
  font-size: clamp(2.85rem, 8vw, 6.9rem);
  line-height: .92;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 7vw, 5.3rem);
}

.hero .lead,
.page-hero .lead {
  max-width: 690px;
  color: #394146;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin: 1.6rem 0 1.8rem;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .7rem;
  max-width: 680px;
}

.trust-item {
  border-top: 1px solid var(--line);
  padding-top: .75rem;
}

.trust-item strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
}

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

.hero-visual {
  position: relative;
}

.hero-image {
  overflow: hidden;
  border: 1px solid rgba(21, 23, 25, .1);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

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

.metric-strip div {
  background: #fff;
  padding: 1rem;
}

.metric-strip strong {
  display: block;
  color: var(--green-2);
  font-size: 1.35rem;
}

.metric-strip span {
  color: var(--muted);
  font-size: .8rem;
}

.floating-note {
  position: absolute;
  right: -10px;
  bottom: 42px;
  width: min(250px, 55%);
  padding: 1rem;
  border-radius: 8px;
  background: var(--yellow);
  color: #2d2200;
  box-shadow: 0 18px 32px rgba(90, 68, 0, .16);
  font-size: .9rem;
  font-weight: 700;
}

.section {
  padding: 5rem 0;
}

.section.alt {
  background: var(--sky);
}

.section.dark {
  background: #18201d;
  color: #fff;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-head h2,
.article h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-head p {
  max-width: 520px;
  color: var(--muted);
}

.dark .section-head p {
  color: #c8d2cc;
}

.grid-3,
.grid-2,
.blog-grid {
  display: grid;
  gap: 1rem;
}

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

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

.service-card,
.case-card,
.blog-card,
.info-card,
.area-card,
.price-card,
.map-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1.2rem;
}

.dark .service-card,
.dark .info-card {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}

.service-card h3,
.case-card h3,
.blog-card h3,
.info-card h3,
.area-card h3,
.price-card h3 {
  margin: 0 0 .65rem;
  font-size: 1.1rem;
  line-height: 1.2;
}

.service-card p,
.case-card p,
.blog-card p,
.info-card p,
.area-card p,
.price-card p,
.article p,
.article li {
  color: var(--muted);
}

.dark .service-card p,
.dark .info-card p {
  color: #d3ddd7;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.pill-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: .4rem .65rem;
  color: #394146;
  font-size: .86rem;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
}

.area-card {
  min-height: 134px;
}

.price-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
}

.price-card strong {
  display: block;
  margin: .4rem 0 .85rem;
  color: var(--green-2);
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 1;
}

.price-card.featured {
  border-color: color-mix(in srgb, var(--green) 35%, var(--line));
  box-shadow: var(--shadow);
}

.map-card {
  overflow: hidden;
  padding: 0;
}

.map-card iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 320px;
  gap: 3rem;
  align-items: start;
}

.result-band {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 2rem;
  align-items: center;
}

.result-list {
  display: grid;
  gap: .8rem;
}

.result-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.16);
  padding: .95rem 0;
}

.result-row strong {
  color: var(--yellow);
  font-size: 1.6rem;
}

.result-row span {
  color: #d3ddd7;
}

.cta-band {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.16);
  padding-top: 2rem;
}

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

.blog-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
}

.blog-card .tag {
  width: fit-content;
  margin-bottom: 1rem;
  color: #7b321f;
  background: #f8ddd5;
  border-radius: 999px;
  padding: .3rem .6rem;
  font-size: .78rem;
  font-weight: 800;
}

.blog-card a:last-child {
  margin-top: auto;
  color: var(--green-2);
  font-weight: 800;
}

.page-hero {
  padding: 5rem 0 3rem;
  background: linear-gradient(180deg, #f5f2ec 0%, var(--paper) 100%);
}

.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 760px) 320px;
  gap: 3rem;
  align-items: start;
  padding: 4rem 0;
}

.article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.2rem, 4vw, 2.2rem);
}

.article h2 {
  margin-top: 2rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.article h3 {
  margin-top: 1.6rem;
  font-size: 1.3rem;
}

.article a,
.text-link {
  color: var(--green-2);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1rem;
}

.site-footer {
  background: #111614;
  color: #fff;
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, .7fr);
  gap: 2rem;
}

.footer-grid p,
.footer-grid a {
  color: #cbd5d0;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 1rem;
}

.footer-links {
  display: grid;
  gap: .5rem;
}

.small {
  color: #9ca8a1;
  font-size: .88rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

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

  .nav-links[data-open="true"] {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  .hero-grid,
  .result-band,
  .cta-band,
  .article-wrap,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-2,
  .blog-grid,
  .area-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

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

  .floating-note {
    position: static;
    width: auto;
    margin-top: .8rem;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 540px) {
  .wrap {
    width: min(100% - 24px, 1160px);
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.55rem, 15vw, 4.4rem);
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .result-row {
    grid-template-columns: 1fr;
  }
}
