:root {
  --color-primary: #39550e;
  --color-primary-dark: #243608;
  --color-primary-soft: #4d6f14;
  --color-ink: #0f1408;
  --color-paper: #f7f4ec;
  --color-paper-warm: #efe8d8;
  --color-contrast: #fffdf8;
  --color-accent: #c9a227;
  --color-muted: #5c6348;
  --font-serif: "Cormorant Garamond", "Georgia", serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --shadow-soft: 0 18px 45px rgba(15, 20, 8, 0.18);
  --radius: 14px;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-paper);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-primary-dark);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.22;
  color: var(--color-primary-dark);
  margin: 0 0 0.55em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.45rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--color-contrast);
  color: var(--color-ink);
  padding: 0.65rem 1rem;
  z-index: 10000;
  border-radius: 8px;
}

.skip-link:focus {
  left: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(247, 244, 236, 0.96);
  border-bottom: 1px solid rgba(57, 85, 14, 0.12);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.65rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--color-primary-dark);
}

.brand img {
  width: 48px;
  height: 48px;
}

.brand span {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(57, 85, 14, 0.35);
  background: var(--color-contrast);
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
  color: var(--color-primary-dark);
}

.nav-toggle i {
  font-size: 1.55rem;
  vertical-align: middle;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

.site-nav a {
  font-size: 0.98rem;
  color: var(--color-ink);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 1.5rem) 1.25rem 3rem;
  color: var(--color-contrast);
  background-color: var(--color-primary-dark);
  background-image: linear-gradient(120deg, rgba(15, 20, 8, 0.82), rgba(57, 85, 14, 0.55)),
    url("../image/picture7.jpg");
  background-size: cover;
  background-position: center;
}

.hero-inner {
  max-width: 720px;
}

.hero h1,
.hero h2,
.hero h3,
.hero h4 {
  color: #ffffff;
}

.hero .lead a {
  color: #f0f5d0;
  text-decoration-color: rgba(240, 245, 208, 0.55);
}

.hero .lead a:hover {
  color: #ffffff;
}

.hero p.lead {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  max-width: 420px;
  margin: 0 auto;
}

.hero-form input[type="email"] {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 253, 248, 0.35);
  background: rgba(15, 20, 8, 0.45);
  color: var(--color-contrast);
  font-size: 1rem;
}

.hero-form input::placeholder {
  color: rgba(255, 253, 248, 0.65);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  color: var(--color-ink);
}

.btn-outline {
  background: transparent;
  color: var(--color-contrast);
  border: 1px solid rgba(255, 253, 248, 0.55);
}

.btn-outline:hover {
  background: rgba(255, 253, 248, 0.08);
}

.disclaimer {
  background: var(--color-primary-dark);
  color: var(--color-contrast);
  padding: 0.85rem 1.1rem;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 253, 248, 0.12);
}

.disclaimer-inner {
  max-width: 1160px;
  margin: 0 auto;
  line-height: 1.45;
}

.form-consent {
  margin: 0.5rem 0 0;
  max-width: 36rem;
  font-size: 0.84rem;
  line-height: 1.45;
  opacity: 0.9;
}

.form-consent a {
  text-decoration: underline;
}

.layout {
  max-width: 1160px;
  margin: 0 auto;
  padding: 2.5rem 1.1rem 3.5rem;
}

.section {
  margin-bottom: 3rem;
  padding: 20px!important;
}

.section-tight {
  margin-bottom: 2rem;
}

.surface {
  background: var(--color-paper-warm);
  color: var(--color-ink);
  border-radius: var(--radius);
  padding: 2rem 1.35rem;
  box-shadow: var(--shadow-soft);
}

.surface-dark {
  background: linear-gradient(145deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-contrast);
}

.surface-dark h2,
.surface-dark h3 {
  color: var(--color-contrast);
}

.surface-dark a {
  color: #f0e6b8;
}

.surface-dark a:hover {
  color: #fff;
}

.surface-muted {
  background: #e3dcc8;
  color: var(--color-ink);
}

.grid-2 {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .hero-form {
    flex-direction: row;
    max-width: none;
    justify-content: center;
  }

  .hero-form input[type="email"] {
    flex: 1;
    max-width: 320px;
  }
}

.split-feature {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .split-feature {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
  }
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.pill-list li {
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(57, 85, 14, 0.12);
  color: var(--color-primary-dark);
  font-size: 0.92rem;
}

.surface-dark .pill-list li {
  background: rgba(255, 253, 248, 0.12);
  color: var(--color-contrast);
}

.icon-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.icon-row i {
  font-size: 1.35rem;
  color: var(--color-accent);
}

.surface-dark .icon-row i {
  color: #ffe08a;
}

.figure-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(57, 85, 14, 0.15);
}

.figure-wrap img {
  width: 100%;
}

.callout {
  border-left: 4px solid var(--color-accent);
  padding-left: 1rem;
  margin: 1.25rem 0;
  font-style: italic;
  color: var(--color-muted);
}

.surface-dark .callout {
  color: rgba(255, 253, 248, 0.88);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
}

.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 700;
}

.surface-dark .checklist li::before {
  color: #ffe08a;
}

.numbered-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.numbered-steps li {
  counter-increment: step;
  position: relative;
  padding: 1rem 1rem 1rem 3.25rem;
  margin-bottom: 0.75rem;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 12px;
}

.numbered-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-contrast);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.surface-dark .numbered-steps li {
  background: rgba(0, 0, 0, 0.18);
}

.table-scroll {
  overflow-x: auto;
  margin: 1rem 0;
}

table.simple {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 0.95rem;
}

table.simple th,
table.simple td {
  border: 1px solid rgba(57, 85, 14, 0.2);
  padding: 0.65rem 0.75rem;
  text-align: left;
}

table.simple th {
  background: rgba(57, 85, 14, 0.12);
}

.faq-item {
  border-bottom: 1px solid rgba(57, 85, 14, 0.15);
  padding: 0.85rem 0;
}

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.events-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.events-list li {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed rgba(57, 85, 14, 0.25);
}

.events-list strong {
  color: var(--color-primary-dark);
}

.site-footer {
  background: var(--color-primary-dark);
  color: var(--color-contrast);
  padding: 2rem 1.1rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-links a {
  color: #f0e6b8;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-stack label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-primary-dark);
}

.form-stack input,
.form-stack textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(57, 85, 14, 0.25);
  font: inherit;
  margin-bottom: 1rem;
  background: #fff;
}

.form-stack textarea {
  min-height: 160px;
  resize: vertical;
}

.checkbox-line {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.map-wrap iframe {
  width: 100%;
  max-width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--radius);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  background: #0f1408;
  color: var(--color-contrast);
  padding: 1rem 1rem 1.25rem;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-actions .btn {
  font-size: 0.92rem;
}

.cookie-panel {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 8, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 960;
  padding: 1rem;
}

.cookie-panel.is-open {
  display: flex;
}

.cookie-dialog {
  background: var(--color-paper);
  color: var(--color-ink);
  max-width: 520px;
  width: 100%;
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(57, 85, 14, 0.15);
}

.toggle-row small {
  display: block;
  color: var(--color-muted);
  font-weight: 400;
}

.switch {
  position: relative;
  width: 46px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #b9b09a;
  border-radius: 999px;
  transition: 0.2s;
}

.slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.2s;
}

.switch input:checked + .slider {
  background: var(--color-primary);
}

.switch input:checked + .slider::before {
  transform: translateX(20px);
}

.switch input:disabled + .slider {
  opacity: 0.55;
  cursor: not-allowed;
}

.policy-page h2 {
  margin-top: 2rem;
}

.policy-page h3 {
  margin-top: 1.25rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--color-paper);
    border-bottom: 1px solid rgba(57, 85, 14, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
  }

  .site-nav.is-open {
    max-height: 480px;
  }

  .site-nav ul {
    flex-direction: column;
    padding: 0.75rem 1.1rem 1.1rem;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(57, 85, 14, 0.08);
  }
}

@media (max-width: 320px) {
  .brand span {
    font-size: 0.95rem;
    max-width: 11rem;
    line-height: 1.15;
    display: -webkit-box;
 
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .header-inner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .cookie-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}
