:root {
  --bg: #FFF9F6;
  --surface: #FFFFFF;
  --text: #45271F;
  --muted: #A68A82;
  --primary: #E2725B;
  --secondary: #F4A460;
  --accent: #708238;
  --border: rgba(69, 39, 31, 0.1);
  --ui-skeuomorphism: enabled;
  --ui-realistic-shadow: 0 8px 24px rgba(69, 39, 31, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  --ui-tactile-press: inset 0 3px 8px rgba(69, 39, 31, 0.18);
  --ui-depth-layer: 0 4px 14px rgba(69, 39, 31, 0.12);
  --ui-material-feel: linear-gradient(165deg, #fff 0%, #FFF5F0 100%);
  --nav-bg: #2A1812;
  --shadow-soft: 0 4px 14px rgba(69, 39, 31, 0.12), 0 1px 3px rgba(69, 39, 31, 0.08);
  --shadow-raised: 0 8px 24px rgba(69, 39, 31, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  --shadow-pressed: inset 0 3px 8px rgba(69, 39, 31, 0.18), 0 1px 2px rgba(69, 39, 31, 0.06);
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(226, 114, 91, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, rgba(244, 164, 96, 0.06) 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 85% 75%, rgba(112, 130, 56, 0.04) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.disclosure-banner {
  background: rgba(255, 249, 246, 0.95);
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 16px;
  width: 100%;
  position: relative;
  z-index: 100;
}

.site-header {
  background: var(--nav-bg);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.nav-desktop {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-desktop a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 12px;
  position: relative;
  transition: color 0.2s;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 3px;
  background: var(--accent);
  width: 0;
  transition: width 0.3s ease;
}

.nav-desktop a:hover,
.nav-desktop a:focus {
  color: #fff;
}

.nav-desktop a:hover::after,
.nav-desktop a:focus::after {
  width: calc(100% - 24px);
}

.burger-btn {
  display: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 1px;
  transition: transform 0.3s;
}

.nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, #3A2218 0%, var(--nav-bg) 100%);
  z-index: 200;
  padding: 80px 24px 24px;
  transition: right 0.35s ease;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
}

.nav-drawer.open {
  right: 0;
}

.nav-drawer ul {
  list-style: none;
}

.nav-drawer a {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 14px 16px;
  font-size: 15px;
  border-left: 3px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.nav-drawer a:hover,
.nav-drawer a.active {
  border-left-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 199;
}

.drawer-overlay.open {
  display: block;
}

.site-footer {
  background: linear-gradient(180deg, #3A2218 0%, var(--nav-bg) 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 24px 32px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin-top: auto;
}

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

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

.footer-logo img {
  height: 40px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

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

.footer-badges a,
.footer-badges span {
  display: block;
}

.footer-badges img {
  height: 48px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s;
}

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

.footer-nz-disclosure {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nz-disclosure a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-copy {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 20px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 24, 18, 0.75);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.hidden {
  display: none;
}

.modal-card {
  background: linear-gradient(165deg, #fff 0%, #FFF5F0 100%);
  border-radius: 16px;
  padding: 36px 32px;
  max-width: 440px;
  width: 100%;
  box-shadow:
    0 20px 60px rgba(69, 39, 31, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -2px 6px rgba(69, 39, 31, 0.06);
  text-align: center;
}

.modal-card h2 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text);
}

.modal-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary {
  background: linear-gradient(180deg, var(--primary) 0%, #C85A45 100%);
  color: #fff;
  box-shadow: var(--shadow-raised);
}

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

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: var(--shadow-pressed);
}

.btn-secondary {
  background: linear-gradient(180deg, #f0ebe8 0%, #e8e0dc 100%);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:active {
  box-shadow: var(--shadow-pressed);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #FFF5F0 100%);
  padding: 20px 24px;
  z-index: 500;
  box-shadow: 0 -8px 32px rgba(69, 39, 31, 0.15), inset 0 1px 0 rgba(255, 255, 255, 1);
  border-top: 1px solid var(--border);
}

.cookie-banner.hidden {
  display: none;
}

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

.cookie-inner p {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
  min-width: 240px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  position: relative;
  z-index: 1;
}

.legal-content h1 {
  font-size: 32px;
  margin-bottom: 24px;
  color: var(--text);
}

.legal-content h2 {
  font-size: 20px;
  margin: 28px 0 12px;
  color: var(--text);
}

.legal-content h3 {
  font-size: 17px;
  margin: 20px 0 10px;
}

.legal-content p {
  margin-bottom: 14px;
  color: var(--text);
}

.legal-content ul {
  margin: 12px 0 16px 24px;
}

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

.contact-form {
  margin-top: 32px;
  padding: 28px;
  background: linear-gradient(165deg, var(--surface) 0%, rgba(255, 249, 246, 0.8) 100%);
  border-radius: 14px;
  box-shadow: var(--shadow-raised);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: linear-gradient(180deg, #fff 0%, #FFF9F6 100%);
  box-shadow: inset 0 2px 4px rgba(69, 39, 31, 0.06);
  color: var(--text);
}

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

.form-error {
  color: #C0392B;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

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

.form-success {
  padding: 32px;
  text-align: center;
  background: linear-gradient(165deg, rgba(112, 130, 56, 0.08) 0%, var(--surface) 100%);
  border-radius: 14px;
  border: 1px solid rgba(112, 130, 56, 0.2);
}

.form-success h3 {
  color: var(--accent);
  margin-bottom: 8px;
}

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

  .burger-btn {
    display: block;
  }

  .nav-drawer {
    display: block;
  }
}
