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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, "Times New Roman", Times, serif;
  background: #1c1917;
  color: #fafaf9;
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

a {
  color: #65a30d;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #ca8a04;
}

.disclosure-banner {
  width: 100%;
  padding: 8px 16px;
  text-align: center;
  font-size: 12px;
  color: #a8a29e;
  border-bottom: 1px solid rgba(250, 250, 249, 0.12);
  line-height: 1.5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1c1917;
}

.info-bar {
  background: #141210;
  height: 32px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(250, 250, 249, 0.06);
}

.info-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #a8a29e;
}

.info-bar a {
  color: #a8a29e;
}

.info-bar a:hover {
  color: #65a30d;
}

.badge-18 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fafaf9;
  border: 1px solid rgba(250, 250, 249, 0.2);
  padding: 2px 8px;
}

.main-nav {
  height: 56px;
  border-bottom: 1px solid rgba(250, 250, 249, 0.08);
  background: #1c1917;
}

.main-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link img {
  height: 36px;
  width: auto;
}

.nav-toggle {
  display: none;
}

.burger-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.burger-label span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fafaf9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  color: #fafaf9;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

.nav-links a:hover {
  color: #65a30d;
}

.site-footer {
  margin-top: auto;
  background: #141210;
  border-top: 1px solid rgba(250, 250, 249, 0.08);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 40px;
  width: auto;
  opacity: 0.9;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.footer-badges a {
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-badges a:hover {
  opacity: 1;
}

.footer-badges img {
  height: 48px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  list-style: none;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(250, 250, 249, 0.08);
}

.footer-links a {
  color: #a8a29e;
  font-size: 13px;
}

.footer-links a:hover {
  color: #65a30d;
}

.footer-disclosure {
  font-size: 11px;
  color: #a8a29e;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.footer-disclosure p + p {
  margin-top: 12px;
}

.footer-copy {
  text-align: center;
  font-size: 12px;
  color: #78716c;
  margin-top: 24px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #292524;
  border-top: 1px solid rgba(250, 250, 249, 0.12);
  padding: 20px 24px;
  z-index: 200;
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-banner p {
  font-size: 13px;
  color: #a8a29e;
  flex: 1;
  min-width: 240px;
}

.cookie-banner a {
  color: #65a30d;
  text-decoration: underline;
}

.cookie-accept-label {
  display: inline-block;
  background: #92400e;
  color: #fafaf9;
  padding: 10px 24px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  border: none;
  letter-spacing: 0.03em;
  transition: background 0.2s ease;
}

.cookie-accept-label:hover {
  background: #ca8a04;
  color: #1c1917;
}

#cookie-accept:checked ~ .cookie-banner {
  transform: translateY(100%);
  pointer-events: none;
}

.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.page-content h1 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  color: #fafaf9;
}

.page-content h2 {
  font-size: 20px;
  font-weight: 400;
  margin: 32px 0 16px;
  color: #fafaf9;
}

.page-content h3 {
  font-size: 17px;
  font-weight: 400;
  margin: 24px 0 12px;
  color: #fafaf9;
}

.page-content p {
  margin-bottom: 16px;
  color: #d6d3d1;
  max-width: 72ch;
}

.page-content ul {
  margin: 0 0 16px 24px;
  color: #d6d3d1;
}

.page-content li {
  margin-bottom: 8px;
}

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

.contact-form {
  margin-top: 40px;
  max-width: 520px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  color: #a8a29e;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: #292524;
  border: 1px solid rgba(250, 250, 249, 0.12);
  color: #fafaf9;
  font-family: inherit;
  font-size: 15px;
  margin-bottom: 20px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #92400e;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  background: #92400e;
  color: #fafaf9;
  border: none;
  padding: 14px 32px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.2s ease;
}

.contact-form button:hover {
  background: #ca8a04;
  color: #1c1917;
}

.form-error {
  display: none;
  color: #ca8a04;
  font-size: 13px;
  margin-top: -14px;
  margin-bottom: 16px;
}

.form-error.visible {
  display: block;
}

.form-success {
  display: none;
  padding: 32px;
  background: #292524;
  border: 1px solid rgba(101, 163, 13, 0.3);
  margin-top: 40px;
  max-width: 520px;
}

.form-success.visible {
  display: block;
}

.form-success p {
  color: #fafaf9;
  font-size: 16px;
}

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

.error-page h1 {
  font-size: 72px;
  font-weight: 400;
  color: #92400e;
  margin-bottom: 16px;
}

.error-page p {
  color: #a8a29e;
  margin-bottom: 32px;
  font-size: 18px;
}

.error-page a {
  display: inline-block;
  padding: 14px 32px;
  background: #92400e;
  color: #fafaf9;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.error-page a:hover {
  background: #ca8a04;
  color: #1c1917;
}

@media (max-width: 900px) {
  .info-bar {
    display: none;
  }

  .burger-label {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: #292524;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 1px solid rgba(250, 250, 249, 0.08);
    overflow-y: auto;
  }

  .nav-toggle:checked ~ .nav-links {
    transform: translateX(0);
  }

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

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

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