:root {
  --green-950: #163f3c;
  --green-900: #1d514b;
  --green-800: #28665d;
  --green-700: #3f7c70;
  --gold: #c7aa48;
  --gold-light: #eadb95;
  --ink: #203432;
  --muted: #5b6b69;
  --paper: #f6f8f6;
  --soft: #e7edeb;
  --white: #ffffff;
  --line: rgba(29, 81, 75, 0.16);
  --shadow: 0 16px 42px rgba(22, 63, 60, 0.12);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: var(--green-800); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-950); }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 50;
  padding: .65rem 1rem;
  border-radius: 6px;
  background: var(--gold-light);
  color: var(--green-950);
}

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

.site-header {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.topbar {
  background: var(--green-950);
  color: #edf4ee;
  font-size: .86rem;
}

.topbar-inner, .header-inner, .container {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
}

.topbar a { color: #f4f7e9; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 94px;
  padding: .85rem 0;
}

.brand img { width: 340px; height: 70px; object-fit: contain; }

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--green-950);
  padding: .55rem .8rem;
  font: inherit;
  font-weight: 700;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .25rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: .6rem .75rem;
  color: var(--green-950);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
}

.main-nav a:hover { color: var(--green-700); }

.hero {
  position: relative;
  overflow: hidden;
  background: var(--green-950);
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 63, 60, .98) 0%, rgba(22, 63, 60, .8) 38%, rgba(22, 63, 60, .18) 74%, rgba(22, 63, 60, .25) 100%);
  content: "";
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: 3rem;
  min-height: 540px;
  padding: 4.5rem 0;
}

.hero-copy { max-width: 560px; }

.eyebrow, .section-kicker {
  margin: 0 0 .8rem;
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0 0 1rem; color: var(--green-950); line-height: 1.16; }

h1 { color: var(--white); font-size: clamp(2.5rem, 5vw, 4.8rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: 1.35rem; }

.hero h1 span { display: block; color: var(--gold-light); }

.hero-lead { max-width: 510px; margin: 1.25rem 0 0; color: #e2edeb; font-size: 1.13rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--gold);
  color: var(--green-950);
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease;
}

.button:hover { transform: translateY(-2px); background: var(--gold-light); color: var(--green-950); }
.button.secondary { border-color: rgba(255,255,255,.45); background: transparent; color: var(--white); }
.button.secondary:hover { background: rgba(255,255,255,.1); color: var(--white); }

.hero-image {
  width: 100%;
  aspect-ratio: 840 / 440;
  border: 8px solid rgba(255,255,255,.72);
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 24px 55px rgba(0,0,0,.22);
}

.section { padding: 6rem 0; }
.section.alt { background: var(--soft); }
.section-heading { max-width: 700px; margin-bottom: 2.5rem; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.08rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

.card {
  height: 100%;
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(22, 63, 60, .05);
}

.card p:last-child { margin-bottom: 0; }
.card-icon { margin-bottom: 1.3rem; color: var(--green-700); font-size: 1.4rem; font-weight: 700; }
.card h3 { margin-bottom: .6rem; }
.card p { margin-top: 0; color: var(--muted); }

.free-card { border-top: 4px solid var(--gold); }
.price { margin: 1rem 0 .7rem; color: var(--green-950); font-size: 2.3rem; font-weight: 700; line-height: 1; }
.price small { color: var(--muted); font-size: .86rem; font-weight: 400; }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.about-panel { padding: 2rem; border-left: 4px solid var(--gold); background: var(--white); }
.about-panel p { margin-top: 0; }
.about-panel p:last-child { margin-bottom: 0; }

.reference-card { text-align: center; }
.reference-card strong { display: block; color: var(--green-950); font-size: 1.1rem; }
.reference-card span { color: var(--muted); font-size: .9rem; }

.faq-list { max-width: 900px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; color: var(--green-950); font-size: 1.1rem; font-weight: 700; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { position: absolute; right: .25rem; top: 1rem; color: var(--green-700); content: "+"; font-size: 1.5rem; font-weight: 400; }
details[open] summary::after { content: "-"; }
details p { max-width: 760px; margin: 0 0 1.25rem; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1.25rem; }
.contact-card { padding: 2rem; border-radius: var(--radius); background: var(--green-950); color: #e6efec; }
.contact-card h2, .contact-card h3 { color: var(--white); }
.contact-card a { color: var(--gold-light); }
.contact-card address { margin: 1.5rem 0; font-style: normal; }
.contact-card p { margin: .35rem 0; }
.contact-card .button { margin-top: 1.25rem; }
.contact-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.fact { padding: 1.5rem; border-radius: var(--radius); background: var(--white); }
.fact h3 { font-size: 1rem; }
.fact p { margin: 0; color: var(--muted); }

.legal-main { min-height: calc(100vh - 270px); padding: 5rem 0; }
.legal-copy { max-width: 760px; }
.legal-copy p { color: var(--muted); }
.legal-copy address { font-style: normal; }
.section-space { margin-top: 1.2rem; }
.error-kicker { margin-top: 4rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.site-footer { padding: 2rem 0; background: var(--green-950); color: #d7e3df; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer a { color: var(--gold-light); }

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  width: min(720px, calc(100% - 2rem));
  padding: 1rem 1.2rem;
  border: 1px solid rgba(234,219,149,.35);
  border-radius: 14px;
  background: rgba(22, 63, 60, .98);
  color: #eef5f0;
  box-shadow: var(--shadow);
}

.cookie-banner[hidden]{display:none !important}
.cookie-banner p { margin: 0; font-size: .9rem; }
.cookie-banner a { color: var(--gold-light); }
.cookie-actions { display: flex; gap: .55rem; align-items: center; }
.cookie-actions button { cursor: pointer; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: .55rem .8rem; background: transparent; color: var(--white); font: inherit; font-weight: 700; }
.cookie-actions .accept { border-color: var(--gold); background: var(--gold); color: var(--green-950); }

@media (max-width: 900px) {
  .header-inner { min-height: 78px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .header-inner { flex-wrap: wrap; gap: .75rem; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: .5rem 0 0; }
  .main-nav a { border-top: 1px solid var(--line); padding: .75rem .25rem; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding: 4rem 0; }
  .hero-image { max-width: 680px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .topbar-inner { flex-direction: column; gap: 0; }
  .topbar-inner span:last-child { display: none; }
  .topbar { font-size: .78rem; }
  .topbar-inner, .header-inner, .container { width: min(100% - 1.5rem, 1140px); }
  .brand img { width: min(280px, 78vw); height: auto; }
  .section { padding: 4rem 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-inner { padding: 3rem 0; }
  h1 { font-size: clamp(2.35rem, 13vw, 3.5rem); }
  .hero-actions, .footer-inner { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .contact-facts { grid-template-columns: 1fr; }
  .cookie-banner { grid-template-columns: 1fr; }
  .cookie-actions { justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
