*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0D110E;
  --surface: #141B15;
  --text: #E6F0E9;
  --muted: #7A9482;
  --primary: #A3B18A;
  --secondary: #588157;
  --accent: #3A5A40;
  --border: rgba(163, 177, 138, 0.15);
  --max-w: 1200px;
  --radius-pill: 999px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-nav: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.35);
  --glow-line: linear-gradient(90deg, transparent, var(--primary), transparent);
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(58, 90, 64, 0.25), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(88, 129, 87, 0.12), transparent 55%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main {
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--secondary);
}

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

.offer-card__logo {
  max-width: none;
  height: 100%;
}

h1,
h2,
h3 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-glow h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin-top: 12px;
  border-radius: var(--radius-pill);
  background: var(--glow-line);
  box-shadow: 0 0 12px rgba(163, 177, 138, 0.4);
}

.disclosure-wrap {
  width: 100%;
  background: #E8EDE9;
  position: relative;
  z-index: 10;
}

.disclosure-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.disclosure-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.disclosure-text {
  font-size: 12px;
  line-height: 1.45;
  color: #2A3D30;
  text-align: left;
}

.navbar {
  position: sticky;
  top: 12px;
  z-index: 100;
  margin: 0 5% 0 10%;
  width: 85%;
  max-width: none;
}

.navbar__shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-nav);
  height: 54px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo img {
  height: 32px;
  width: auto;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.nav-burger {
  display: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--accent);
  border: 1px solid var(--border);
}

.nav-burger__lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.nav-burger__lines span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.25s;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  transition: background 0.2s, border-color 0.2s;
}

.nav-links a:hover {
  background: rgba(163, 177, 138, 0.12);
  color: var(--primary);
  border-color: rgba(163, 177, 138, 0.35);
}

@media (max-width: 900px) {
  .navbar {
    margin: 0;
    width: 100%;
    top: 0;
  }

  .navbar__shell {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .nav-burger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(13, 17, 14, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 200;
  }

  .nav-links a {
    font-size: 15px;
    padding: 12px 28px;
  }

  .nav-burger:has(.nav-toggle:checked) ~ .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-burger:has(.nav-toggle:checked) .nav-burger__lines span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-burger:has(.nav-toggle:checked) .nav-burger__lines span:nth-child(2) {
    opacity: 0;
  }

  .nav-burger:has(.nav-toggle:checked) .nav-burger__lines span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.footer__brand img {
  height: 36px;
  margin-bottom: 12px;
}

.footer__brand p {
  font-size: 13px;
  color: var(--muted);
  max-width: 340px;
}

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__legal a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.footer__legal a:hover {
  color: var(--primary);
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.footer__badges a,
.footer__badges span {
  display: block;
  opacity: 0.92;
  transition: opacity 0.2s, transform 0.2s;
}

.footer__badges a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer__badges img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.footer__at {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.footer__copy {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--text);
  margin-bottom: 16px;
}

.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin: 32px 0 12px;
}

.legal-content h3 {
  font-size: 1rem;
  color: var(--secondary);
  margin: 20px 0 10px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-content a {
  text-decoration: underline;
}

.contact-wrap {
  max-width: 560px;
  margin: 32px 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form__label {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.contact-form__field input,
.contact-form__field textarea {
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  width: 100%;
}

.contact-form__field textarea {
  min-height: 140px;
  resize: vertical;
  border-radius: var(--radius-md);
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.contact-form__error {
  display: none;
  font-size: 13px;
  color: #C97A7A;
  font-weight: 600;
}

.contact-form__field input:invalid:not(:placeholder-shown) ~ .contact-form__error {
  display: block;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--secondary);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s, background 0.2s;
  align-self: flex-start;
}

.btn-pill:hover {
  transform: scale(1.02);
  background: var(--accent);
}

.contact-success {
  display: none;
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  text-align: center;
  border: 1px solid var(--border);
}

.contact-success:target {
  display: block;
}

.contact-wrap:has(.contact-success:target) .contact-form {
  display: none;
}

.contact-success h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.contact-success p {
  color: var(--muted);
  font-size: 15px;
}

.error-page {
  text-align: center;
  padding: 80px 24px;
}

.error-page h1 {
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--primary);
  margin-bottom: 16px;
}

.error-page p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cookie-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
}

.cookie-banner p {
  font-size: 13px;
  color: var(--muted);
  max-width: 640px;
  text-align: center;
}

.cookie-banner a {
  text-decoration: underline;
}

.cookie-knob {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: var(--secondary);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: inherit;
}

.cookie-check:checked ~ .cookie-banner {
  display: none;
}

.navbar--sub .nav-links {
  display: none;
}
