:root {
  --accent: #fcd5ce;
  --accent-dark: #f4a698;
  --primary: #5d4037;
  --primary-light: #8d6e63;
  --surface: #ffffff;
  --surface-alt: #fff5f3;
  --surface-dark: #3e2723;
  --text: #1a1a2e;
  --text-light: #ffffff;
  --text-muted: #4a4a68;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --radius: 8px;
  --max-width: 1200px;
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  min-width: 320px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

.disclaimer-bar {
  background: var(--surface-dark);
  color: var(--text-light);
  font-size: 0.8rem;
  padding: 10px 16px;
  text-align: center;
  line-height: 1.45;
}

@media (max-width: 480px) {
  .disclaimer-bar {
    font-size: 0.72rem;
    padding: 8px 10px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--surface);
  box-shadow: var(--shadow);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 12px;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  height: 40px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--primary);
}

.nav-toggle .material-icons {
  font-size: 28px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: center;
}

.main-nav a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 4px 0;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 2px solid var(--accent-dark);
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  background: var(--surface-dark);
  min-height: 520px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  opacity: 0.85;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px;
  background: linear-gradient(transparent, rgba(62, 39, 35, 0.92));
  color: var(--text-light);
}

.carousel-caption h1,
.carousel-caption h2 {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 500;
  margin-bottom: 8px;
}

.carousel-caption p {
  font-size: 1rem;
  max-width: 600px;
  opacity: 0.95;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 10;
  color: var(--primary);
}

.carousel-btn:hover {
  background: var(--accent);
}

.carousel-btn.prev {
  left: 12px;
}

.carousel-btn.next {
  right: 12px;
}

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--text-light);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.carousel-dots button.active {
  background: var(--accent);
  border-color: var(--accent);
}

section {
  padding: 56px 0;
}

.section-alt {
  background: var(--accent);
  color: var(--text);
}

.section-dark {
  background: var(--surface-dark);
  color: var(--text-light);
}

.section-muted {
  background: var(--surface-alt);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  margin-bottom: 20px;
  color: inherit;
}

.section-dark .section-title {
  color: var(--accent);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 720px;
}

.section-dark .section-intro {
  color: rgba(255, 255, 255, 0.85);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: box-shadow 0.25s;
}

.section-alt .card,
.section-muted .card {
  background: var(--surface);
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

.card .material-icons {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-dark .card {
  background: rgba(255, 255, 255, 0.08);
}

.section-dark .card h3 {
  color: var(--accent);
}

.section-dark .card p {
  color: rgba(255, 255, 255, 0.88);
}

.section-dark .card .material-icons {
  color: var(--accent);
}

.media-block {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.media-block img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.content-block p {
  margin-bottom: 14px;
}

.content-block ul,
.content-block ol {
  margin: 12px 0 16px 24px;
}

.content-block li {
  margin-bottom: 8px;
}

.tip-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tip-list li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.tip-list .material-icons {
  color: var(--primary);
  flex-shrink: 0;
}

.numbered-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.numbered-steps li {
  counter-increment: step;
  padding: 16px 16px 16px 56px;
  position: relative;
  margin-bottom: 12px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text);
}

.numbered-steps li strong {
  color: var(--text);
  font-weight: 500;
}

.section-dark .numbered-steps li {
  background: var(--surface);
  color: var(--text);
}

.section-dark .numbered-steps li strong {
  color: var(--text);
}

.numbered-steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 0.9rem;
}

.quote-block {
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  background: var(--surface-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
  font-style: italic;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--text-light);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.btn:hover {
  background: var(--primary-light);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--text);
}

.btn-accent {
  background: var(--accent-dark);
  color: var(--text);
}

.faq-list details {
  background: var(--surface);
  border-radius: var(--radius);
  margin-bottom: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-list summary {
  padding: 16px 20px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary .material-icons {
  color: var(--primary);
}

.faq-list details[open] summary .material-icons {
  transform: rotate(180deg);
}

.faq-list .faq-answer {
  padding: 0 20px 16px 46px;
  color: var(--text-muted);
}

.events-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.events-table th,
.events-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.events-table th {
  background: var(--primary);
  color: var(--text-light);
  font-weight: 500;
}

.events-table tr:last-child td {
  border-bottom: none;
}

.guidelines-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.guideline-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text);
}

.guideline-item strong {
  color: var(--text);
  font-weight: 500;
}

.guideline-item p {
  color: var(--text-muted);
  margin: 0;
}

.section-dark .guideline-item {
  background: var(--surface);
  color: var(--text);
}

.section-dark .guideline-item strong {
  color: var(--text);
}

.section-dark .guideline-item p {
  color: var(--text-muted);
}

.guideline-item .material-icons {
  color: #c62828;
}

.cta-banner {
  text-align: center;
  padding: 48px 24px;
}

.cta-banner .btn {
  margin-top: 16px;
}

.site-footer {
  background: var(--surface-dark);
  color: var(--text-light);
  padding: 40px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h4 {
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.85);
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-grid a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent-dark);
  border-color: var(--primary);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.checkbox-row input {
  width: auto;
  margin-top: 4px;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-wrap iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

.contact-info-list {
  list-style: none;
  padding: 0;
}

.contact-info-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.contact-info-list .material-icons {
  color: var(--primary);
}

.policy-content {
  max-width: 800px;
}

.policy-content h2 {
  font-size: 1.3rem;
  margin: 28px 0 12px;
  color: var(--primary);
}

.policy-content h3 {
  font-size: 1.1rem;
  margin: 20px 0 10px;
}

.policy-content p,
.policy-content li {
  margin-bottom: 12px;
  color: var(--text-muted);
}

.policy-content ul {
  margin-left: 24px;
}

.success-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 16px;
}

.success-page .material-icons {
  font-size: 72px;
  color: var(--primary);
  margin-bottom: 20px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface-dark);
  color: var(--text-light);
  padding: 20px;
  z-index: 2000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.cookie-inner p {
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-actions .btn {
  font-size: 0.85rem;
  padding: 10px 18px;
}

.cookie-settings-panel {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-settings-panel.open {
  display: block;
}

.cookie-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-toggle-row label {
  font-size: 0.9rem;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: #666;
  border-radius: 26px;
  cursor: pointer;
  transition: 0.3s;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--accent-dark);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--primary);
  color: var(--text-light);
  border-radius: 20px;
  font-size: 0.85rem;
}

.split-highlight {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.split-highlight .material-icons {
  font-size: 48px;
  color: var(--primary);
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .contact-layout,
  .footer-grid,
  .guidelines-grid,
  .split-highlight {
    grid-template-columns: 1fr;
  }

  .split-highlight {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .carousel-slide img {
    height: 380px;
  }

  .hero-carousel {
    min-height: 380px;
  }

  section {
    padding: 40px 0;
  }

  .events-table {
    font-size: 0.85rem;
  }

  .events-table th,
  .events-table td {
    padding: 10px 8px;
  }
}

@media (max-width: 480px) {
  .cookie-actions {
    flex-direction: column;
  }

  .cookie-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .carousel-caption {
    padding: 20px 16px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 320px) {
  body {
    font-size: 14px;
  }

  .container {
    padding: 0 10px;
  }

  .main-nav a {
    font-size: 0.82rem;
  }

  .logo-link img {
    height: 32px;
  }
}
