:root {
  --primary: #7A942C;
  --primary-dark: #5c7220;
  --primary-light: #a8c45a;
  --accent: #d4e8a0;
  --text-dark: #1a1f0e;
  --text-light: #f8faf2;
  --text-muted: #3d4528;
  --section-alt: #eef4dc;
  --section-warm: #f5f0e4;
  --section-cool: #e4edd0;
  --section-deep: #2a3310;
  --section-cream: #faf8f2;
  --shadow: 0 8px 32px rgba(42, 51, 16, 0.15);
  --radius: 12px;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--section-cream);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary);
  text-decoration: underline;
}

ul, ol {
  padding-left: 1.4rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.disclaimer-bar {
  background: var(--section-deep);
  color: var(--text-light);
  font-size: 0.78rem;
  padding: 0.55rem 1rem;
  text-align: center;
  line-height: 1.45;
  border-bottom: 2px solid var(--primary);
}

.trust-panel {
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.trust-panel h2 {
  color: var(--primary-dark);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.trust-panel p {
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.trust-panel ul {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(42, 51, 16, 0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.logo-link:hover {
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  color: var(--primary-dark);
  font-size: 1.4rem;
  line-height: 1;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
}

.main-nav a {
  color: var(--text-dark);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.35rem 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-dark);
  border-bottom-color: var(--primary);
  text-decoration: none;
}

.hero-fullscreen {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--section-deep) url('../image/picture.jpg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(42, 51, 16, 0.88) 0%, rgba(92, 114, 32, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.25rem;
  max-width: 820px;
}

.hero-content h1 {
  color: var(--text-light);
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-content p {
  color: var(--accent);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--text-light);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.hero-cta:hover {
  background: var(--primary-light);
  color: var(--text-dark);
  text-decoration: none;
  transform: translateY(-2px);
}

.hero-cta .bi {
  color: var(--text-light);
}

.hero-cta:hover .bi {
  color: var(--text-dark);
}

.page-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  background: var(--section-deep) center/cover no-repeat;
}

.page-hero .hero-overlay {
  background: linear-gradient(to top, rgba(42, 51, 16, 0.92) 0%, rgba(42, 51, 16, 0.5) 100%);
}

.page-hero .hero-content {
  text-align: left;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section-bg-alt {
  background: var(--section-alt);
  color: var(--text-dark);
}

.section-bg-warm {
  background: var(--section-warm);
  color: var(--text-dark);
}

.section-bg-cool {
  background: var(--section-cool);
  color: var(--text-dark);
}

.section-bg-deep {
  background: var(--section-deep);
  color: var(--text-light);
}

.section-bg-deep a {
  color: var(--accent);
}

.section-bg-deep .section-title,
.section-bg-deep h2,
.section-bg-deep h3 {
  color: var(--text-light);
}

.section-bg-deep p,
.section-bg-deep li {
  color: var(--accent);
}

.section-bg-white {
  background: #fff;
  color: var(--text-dark);
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--primary-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.section-bg-deep .section-title {
  color: var(--text-light);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 780px;
}

.section-bg-deep .section-lead {
  color: var(--accent);
}

.card-icon {
  color: var(--primary);
  margin-right: 0.35rem;
}

.section-bg-deep .card-icon {
  color: var(--primary-light);
}

.broken-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

.offset-left { margin-left: 1.5rem; }
.offset-right { margin-right: 1.5rem; }

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--accent);
}

.section-bg-deep .card {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  color: var(--text-light);
}

.section-bg-deep .card p {
  color: var(--accent);
}

.card h3 {
  color: var(--primary-dark);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.section-bg-deep .card h3 {
  color: var(--primary-light);
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  padding: 0.4rem 0 0.4rem 1.75rem;
  position: relative;
}

.check-list li::before {
  content: '\F26E';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.numbered-steps {
  list-style: none;
  padding: 0;
  counter-reset: steps;
}

.numbered-steps li {
  counter-increment: steps;
  padding: 0.75rem 0 0.75rem 2.5rem;
  position: relative;
  border-bottom: 1px solid var(--accent);
}

.numbered-steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--primary);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.img-text-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.img-text-split.reverse {
  direction: rtl;
}

.img-text-split.reverse > * {
  direction: ltr;
}

.section-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}

.tilt-left {
  transform: rotate(-2deg);
}

.tilt-right {
  transform: rotate(2deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--text-light);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-light);
  text-decoration: none;
}

.btn-reject {
  background: #fff;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
  font-weight: 600;
}

.btn-reject:hover {
  background: var(--section-alt);
  color: var(--text-dark);
  text-decoration: none;
}

.btn-manage {
  background: #fff;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
  font-weight: 600;
}

.btn-manage:hover {
  background: var(--section-alt);
  color: var(--primary-dark);
  text-decoration: none;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-dark);
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--accent);
}

.faq-list details p {
  padding: 1rem 1.25rem;
  color: var(--text-muted);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.event-card {
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.event-date {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.event-card h4 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.feature-list li {
  background: #fff;
  border-left: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}

.feature-list strong {
  display: block;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.stat-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  background: var(--section-deep);
  color: var(--text-light);
  padding: 1.25rem;
  border-radius: var(--radius);
}

.stat-item strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary-light);
}

.editorial-note {
  background: rgba(122, 148, 44, 0.12);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-compact-section {
  padding: 2rem 0;
}

.footer-legal-strip p {
  line-height: 1.55;
}

.footer-policy-links {
  font-size: 0.82rem;
  margin-top: 0.35rem;
}

.footer-policy-links a {
  color: var(--primary-light);
  margin: 0 0.25rem;
}

.site-footer {
  background: var(--section-deep);
  color: var(--accent);
  padding: 3rem 1.25rem 0;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-grid h4 {
  color: var(--text-light);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: var(--accent);
  font-size: 0.9rem;
}

.footer-legal-strip {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0;
  border-top: 1px solid rgba(168, 196, 90, 0.3);
  font-size: 0.82rem;
  text-align: center;
}

.footer-legal-strip a {
  color: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  padding: 1rem;
  font-size: 0.82rem;
  border-top: 1px solid rgba(168, 196, 90, 0.2);
  color: var(--accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info-block {
  background: var(--section-alt);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
}

.contact-info-block h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.contact-info-block p {
  margin-bottom: 0.75rem;
}

.contact-info-block .bi {
  color: var(--primary);
  margin-right: 0.5rem;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
}

.map-wrap iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
}

.checkbox-group input {
  width: auto;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.policy-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.policy-content h1 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.policy-content .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.policy-content h2 {
  color: var(--primary-dark);
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
}

.policy-content p,
.policy-content li {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.success-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.25rem;
}

.success-box {
  max-width: 520px;
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid var(--primary);
}

.success-box .bi {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.success-box h1 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 3px solid var(--primary);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  padding: 1.25rem;
  transform: translateY(110%);
  transition: transform 0.35s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.cookie-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  align-items: stretch;
}

.cookie-buttons .btn {
  min-width: 8.5rem;
  justify-content: center;
  text-align: center;
}

.cookie-settings-panel {
  display: none;
  border-top: 1px solid var(--accent);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.cookie-settings-panel.visible {
  display: block;
}

.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--accent);
  gap: 1rem;
}

.cookie-category label {
  font-weight: 600;
  color: var(--text-dark);
}

.cookie-category small {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 26px;
  cursor: pointer;
  transition: background 0.2s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.7;
  cursor: not-allowed;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  border: 1px solid var(--accent);
  padding: 0.65rem 0.85rem;
  text-align: left;
}

.data-table th {
  background: var(--section-alt);
  color: var(--primary-dark);
}

@media (max-width: 992px) {
  .broken-grid > [class*="span-"] {
    grid-column: span 12;
  }

  .offset-left,
  .offset-right {
    margin: 0;
  }

  .img-text-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .img-text-split.reverse {
    direction: ltr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid var(--primary);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--accent);
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .section {
    padding: 2.5rem 0;
  }

  .hero-fullscreen {
    min-height: 85vh;
  }

  .tilt-left,
  .tilt-right {
    transform: none;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 0.75rem;
  }

  .header-inner {
    padding: 0.6rem 0.75rem;
  }

  .hero-content {
    padding: 1.5rem 0.75rem;
  }

  .card {
    padding: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
