:root {
  --bg: #f8f6f1;
  --surface: #ffffff;
  --surface-soft: #edf5ef;
  --green: #0f5d46;
  --green-dark: #08382b;
  --gold: #c8a44d;
  --gold-soft: #f2d37b;
  --text: #26322d;
  --muted: #63736b;
  --border: rgba(200, 164, 77, .28);
  --shadow: 0 22px 55px rgba(15, 93, 70, .11);
  --radius: 8px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg), #fff 46%, var(--surface-soft));
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

.topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar a {
  color: var(--green);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 34px rgba(15, 93, 70, .06);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--green);
}

.brand img {
  width: 180px;
  height: auto;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 750;
}

.menu a {
  color: var(--text);
}

.menu a:hover {
  color: var(--gold);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #eef5f0;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.language-switch button {
  width: 38px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--green);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.language-switch button.active {
  background: var(--green);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--green);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 74px;
  background:
    linear-gradient(90deg, rgba(248, 246, 241, .98), rgba(255, 255, 255, .94) 48%, rgba(232, 244, 238, .8)),
    radial-gradient(circle at 85% 20%, rgba(200, 164, 77, .23), transparent 28%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -180px auto;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(200, 164, 77, .28);
  transform: rotate(18deg);
  border-radius: 42px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  gap: 50px;
  align-items: center;
}

.hero-grid > *,
.split > *,
.contact-grid > *,
.map-panel > * {
  min-width: 0;
}

.badge,
.kicker {
  color: #a57918;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  max-width: 100%;
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(200, 164, 77, .1);
  line-height: 1.35;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

h1 {
  max-width: 860px;
  margin: 18px 0 20px;
  color: var(--green);
  font-size: clamp(40px, 5.5vw, 74px);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin: 10px 0 12px;
  color: var(--green);
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 22px;
  line-height: 1.2;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions,
.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 13px 28px rgba(15, 93, 70, .2);
}

.button.secondary {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #251b06;
  box-shadow: 0 13px 30px rgba(200, 164, 77, .24);
}

.button.dark {
  border-color: var(--border);
}

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

.stats div {
  min-height: 110px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .76);
}

.stats strong {
  display: block;
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.hero-card,
.card,
.panel,
.ref,
.contact-box,
.map-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 32px;
}

.hero-card img {
  width: min(430px, 100%);
  margin: 0 auto 28px;
  border-radius: var(--radius);
}

.hero-card h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.hero-card p,
.card p,
.panel p,
.ref p,
.contact-box p,
.map-panel p {
  color: var(--muted);
}

.section {
  padding: 78px 0;
  background: #fff;
}

.section.tinted {
  background: var(--bg);
}

.section.dark {
  background: var(--green);
}

.section.dark h2,
.section.dark .kicker {
  color: #fff;
}

.section-title {
  max-width: 760px;
  margin-bottom: 34px;
}

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

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

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green), var(--gold));
  color: #fff;
  font-weight: 950;
}

.split,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: center;
}

.panel,
.contact-box {
  padding: 30px;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.checks li {
  position: relative;
  margin: 12px 0;
  padding-left: 30px;
  color: var(--muted);
}

.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 950;
}

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

.ref {
  min-height: 145px;
  padding: 22px;
}

.ref strong {
  color: var(--green);
  font-size: 18px;
}

.contact {
  background: var(--bg);
}

.contact-box a {
  color: var(--green);
  font-weight: 900;
}

.form label {
  display: block;
  margin-bottom: 12px;
}

.form label span {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid rgba(200, 164, 77, .38);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
  resize: vertical;
}

.form input:focus,
.form textarea:focus {
  outline: 3px solid rgba(200, 164, 77, .22);
  border-color: var(--gold);
}

.form button {
  width: 100%;
}

.map-wrap {
  margin-top: 32px;
}

.map-panel {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
  padding: 26px;
  align-items: center;
}

.map-panel iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.footer {
  padding: 34px 0;
  background: var(--green);
  color: #fff;
}

.footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .78);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gold-soft);
  font-weight: 850;
}

.legal-content {
  max-width: 860px;
}

.legal-content h1 {
  color: var(--green);
  font-size: clamp(34px, 5vw, 56px);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 28px;
}

.legal-content a {
  color: var(--green);
  font-weight: 850;
}

.legal-note {
  margin-top: 34px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: none;
  width: min(520px, calc(100% - 36px));
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.cookie-banner button {
  flex: 0 0 auto;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  padding: 10px 16px;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
    flex: 0 0 44px;
    margin-left: auto;
    background: var(--green);
  }

  .menu-toggle span { background: #fff; }

  .menu {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 92px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    padding: 12px 4px;
  }

  .language-switch {
    margin-top: 10px;
    align-self: flex-start;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .map-panel {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
  }

  header,
  main,
  footer,
  section,
  .hero,
  .nav,
  .topbar {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .container {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    margin-left: 14px;
    margin-right: 14px;
  }

  .hero-grid,
  .hero-copy,
  .hero-card,
  .section-title,
  .stats,
  .card,
  .panel,
  .contact-box,
  .map-panel {
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .topbar-inner {
    justify-content: center;
    text-align: center;
    padding: 8px 0;
    font-size: 13px;
  }

  .nav-inner {
    min-height: 76px;
  }

  .brand img {
    width: 145px;
    height: auto;
  }

  .hero {
    padding: 58px 0 54px;
  }

  h1 {
    max-width: 330px;
    font-size: 22px;
    line-height: 1.22;
  }

  .lead {
    max-width: 330px;
    font-size: 15px;
  }

  .badge {
    display: inline-block;
    font-size: 12px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-card,
  .panel,
  .contact-box,
  .map-panel {
    padding: 22px;
  }

  .stats,
  .cards,
  .references {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .cookie-banner.show {
    display: block;
  }

  .cookie-banner button {
    margin-top: 12px;
  }
}
