:root {
  --leaf: #285a3c;
  --leaf-dark: #173526;
  --mint: #dcebdd;
  --clay: #b56b3f;
  --soil: #3c3128;
  --paper: #fbfaf5;
  --line: #d8d4c7;
  --ink: #1d261f;
  --muted: #5f695f;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(29, 38, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 245, 0.94);
  border-bottom: 1px solid rgba(216, 212, 199, 0.85);
  backdrop-filter: blur(12px);
}

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

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 6px 12px rgba(29, 38, 31, 0.16));
}

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

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2.5vw, 28px);
  flex: 1;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a,
.site-footer a {
  text-decoration: none;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--leaf);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.header-action,
.button.primary {
  background: var(--leaf);
  color: var(--white);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--leaf-dark);
}

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(23, 31, 26, 0.74) 0%, rgba(23, 31, 26, 0.48) 42%, rgba(23, 31, 26, 0.08) 100%),
    linear-gradient(0deg, rgba(23, 31, 26, 0.18), rgba(23, 31, 26, 0.18));
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 88px 0 130px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--clay);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero .eyebrow {
  color: #f3c59a;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 7vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
}

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

.quick-facts {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1120px, calc(100% - 36px));
  margin: -74px auto 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-facts article {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.quick-facts article:last-child {
  border-right: 0;
}

.quick-facts span,
.price-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.quick-facts strong {
  display: block;
  color: var(--leaf-dark);
  font-size: 1.8rem;
  line-height: 1.1;
}

.quick-facts p,
.service-card p,
.steps p,
.price-card p,
.solidarity-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.84fr) minmax(320px, 1.16fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.split > div:first-child p:not(.section-kicker),
.proof-copy p,
.pricing-header p,
.subscription-copy p,
.area p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

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

.service-card,
.photo-card,
.price-card,
.steps article,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card {
  min-height: 190px;
  padding: 24px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--leaf);
  font-weight: 800;
}

.proof {
  display: block;
  padding-top: 24px;
}

.proof-copy {
  max-width: 760px;
  margin-bottom: 30px;
}

.photo-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.photo-card {
  grid-column: span 3;
  position: relative;
  overflow: hidden;
  margin: 0;
  box-shadow: 0 12px 34px rgba(29, 38, 31, 0.08);
}

.photo-card.wide {
  grid-column: span 6;
}

.photo-card.portrait {
  grid-column: span 3;
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-card.portrait img {
  aspect-ratio: 3 / 4;
}

.photo-card figcaption {
  min-height: 78px;
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.photo-card:nth-child(n + 5) {
  grid-column: span 3;
}

.photo-card:nth-child(n + 5) img {
  aspect-ratio: 1 / 1;
}

.photo-card:nth-child(7n + 5),
.photo-card:nth-child(9n + 8) {
  grid-column: span 4;
}

.photo-card:nth-child(7n + 5) img,
.photo-card:nth-child(9n + 8) img {
  aspect-ratio: 4 / 3;
}

.photo-card:nth-child(n + 5) figcaption {
  position: absolute;
  inset: auto 0 0;
  min-height: 0;
  padding: 38px 14px 12px;
  background: linear-gradient(0deg, rgba(23, 31, 26, 0.78), rgba(23, 31, 26, 0));
  color: var(--white);
  font-size: 0.82rem;
  line-height: 1.35;
}

.subscription-band {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: 92px clamp(18px, 6vw, 80px);
  background: var(--leaf-dark);
  color: var(--white);
}

.subscription-copy {
  max-width: 620px;
}

.subscription-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.steps article {
  min-height: 220px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.steps strong {
  display: inline-block;
  margin-bottom: 28px;
  color: #f3c59a;
}

.steps p {
  color: rgba(255, 255, 255, 0.76);
}

.pricing-header {
  max-width: 760px;
  margin-bottom: 28px;
}

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

.price-card {
  padding: 28px;
  min-height: 210px;
}

.price-card strong {
  display: block;
  margin-bottom: 16px;
  color: var(--leaf-dark);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
}

.price-card.highlighted {
  border-color: rgba(40, 90, 60, 0.4);
  background: var(--mint);
}

.price-card.support {
  border-color: rgba(181, 107, 63, 0.42);
  background: #fff5ed;
}

.solidarity-note {
  margin-top: 16px;
  padding: 22px 24px;
  border-left: 5px solid var(--clay);
  background: var(--white);
  border-radius: 0 8px 8px 0;
}

.solidarity-note p + p {
  margin-top: 12px;
}

.area {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.contact-form {
  padding: 24px;
}

.municipality-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.municipality-list li {
  padding: 8px 11px;
  border: 1px solid rgba(40, 90, 60, 0.18);
  border-radius: 999px;
  background: var(--white);
  color: var(--leaf-dark);
  font-weight: 700;
  font-size: 0.9rem;
}

.region-map {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.region-map-image {
  display: block;
  width: 100%;
  height: auto;
  padding: 10px;
}

.map-caption {
  margin: 0;
  padding: 13px 16px 15px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--soil);
  font-size: 0.88rem;
}

label {
  display: grid;
  gap: 8px;
  color: var(--soil);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(340px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding-top: 48px;
}

address {
  margin-top: 28px;
  color: var(--soil);
  font-style: normal;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.hidden-field {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-action {
    margin-left: auto;
  }

  .hero {
    min-height: 610px;
  }

  .quick-facts,
  .split,
  .proof,
  .subscription-band,
  .area,
  .contact {
    grid-template-columns: 1fr;
  }

  .quick-facts {
    margin-top: 0;
    border-radius: 0;
    width: 100%;
  }

  .quick-facts article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .steps,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .proof-copy {
    position: static;
  }

  .photo-card,
  .photo-card.wide,
  .photo-card.portrait {
    grid-column: span 6;
  }

  .photo-card:nth-child(n + 5) {
    grid-column: span 3;
  }

}

@media (max-width: 560px) {
  body {
    max-width: 100vw;
  }

  .site-header {
    min-height: 0;
    padding: 10px 14px;
    gap: 10px 14px;
  }

  .brand {
    min-width: 0;
    max-width: 100%;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .header-action {
    display: none;
  }

  .nav {
    gap: 14px;
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin: 0 14px;
    padding: 56px 0 82px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2rem, 12vw, 2.75rem);
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: clamp(1.72rem, 8.8vw, 2.28rem);
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  p,
  li,
  figcaption,
  .quick-facts strong,
  .price-card strong {
    max-width: calc(100vw - 72px);
    overflow-wrap: break-word;
  }

  .quick-facts p,
  .service-card p,
  .price-card p,
  .steps p {
    max-width: calc(100vw - 96px);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

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

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

  .photo-card,
  .photo-card.wide,
  .photo-card.portrait {
    grid-column: auto;
  }

  .quick-facts,
  .quick-facts article,
  .section,
  .section > *,
  .service-grid,
  .service-card,
  .steps,
  .price-grid,
  .price-card,
  .contact,
  .contact-form {
    min-width: 0;
    max-width: 100%;
  }

  .photo-card:nth-child(n + 5) figcaption {
    position: static;
    padding: 14px 16px 16px;
    background: transparent;
    color: var(--muted);
    font-size: 0.94rem;
  }

  .photo-card figcaption {
    min-height: 0;
  }

  .section {
    width: 100%;
    padding: 64px 18px;
  }

  .quick-facts article,
  .service-card,
  .price-card,
  .steps li,
  .contact-form {
    padding-right: 28px;
  }

  .subscription-band {
    padding: 64px 18px;
  }

  .region-map-image {
    padding: 4px;
  }

  .map-caption {
    padding: 12px 14px;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 10px;
  }
}
