:root {
  --primary: #BC5F41;
  --primary-dark: #9a4a32;
  --primary-light: #d4836a;
  --dark: #1a1a1a;
  --dark-soft: #2d2d2d;
  --light: #f8f6f4;
  --light-alt: #efe9e5;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #4a4a4a;
  --text-on-dark: #f8f6f4;
  --shadow: 0 8px 32px rgba(26, 26, 26, 0.12);
  --radius: 8px;
  --transition: 0.3s ease;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--light);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  padding-left: 1.25rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.disclaimer-bar {
  background: var(--dark);
  color: var(--text-on-dark);
  font-size: 0.8125rem;
  text-align: center;
  padding: 0.5rem 1rem;
  line-height: 1.5;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(188, 95, 65, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 0;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--dark);
  font-weight: 700;
  font-size: 1rem;
}

.logo-link img {
  width: 42px;
  height: 42px;
}

.logo-text {
  max-width: 180px;
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 1.5rem;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  border-radius: var(--radius);
  line-height: 1;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  padding: 0;
}

.main-nav a {
  color: var(--dark);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2rem;
  background: var(--dark);
  color: var(--text-on-dark);
}

.hero-content-inner {
  max-width: 560px;
  margin-left: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.hero-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.0625rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.btn-dark:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--dark);
  color: var(--text-on-dark);
}

.section-alt h2,
.section-alt h3 {
  color: var(--white);
}

.section-warm {
  background: var(--primary);
  color: var(--white);
}

.section-warm h2,
.section-warm h3,
.section-warm .section-title,
.section-warm a {
  color: var(--white);
}

.section-light {
  background: var(--light-alt);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-alt .section-title {
  color: var(--white);
}

.section-intro {
  max-width: 720px;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.section-alt .section-intro {
  color: rgba(248, 246, 244, 0.85);
}

.overlap-block {
  position: relative;
  margin-top: 2rem;
  z-index: 2;
}

.overlap-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.section-alt .overlap-card {
  background: var(--dark-soft);
  color: var(--text-on-dark);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split-layout.reverse {
  direction: rtl;
}

.split-layout.reverse > * {
  direction: ltr;
}

.image-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.icon-list {
  list-style: none;
  padding: 0;
}

.icon-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.icon-list i {
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.section-alt .icon-list i,
.section-warm .icon-list i {
  color: var(--white);
}

.section-warm .feature-card h3 {
  color: var(--dark);
}

.section-warm .feature-card p {
  color: var(--text-muted);
}

.section-warm .feature-card .bi {
  color: var(--primary);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--primary);
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.section-alt .feature-card {
  background: var(--dark-soft);
}

.section-alt .feature-card h3 {
  color: var(--white);
}

.section-alt .feature-card p {
  color: rgba(248, 246, 244, 0.85);
}

.wheel-section {
  text-align: center;
}

.wheel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.wheel-display {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: conic-gradient(
    var(--primary) 0deg 60deg,
    var(--primary-dark) 60deg 120deg,
    var(--primary-light) 120deg 180deg,
    var(--primary) 180deg 240deg,
    var(--primary-dark) 240deg 300deg,
    var(--primary-light) 300deg 360deg
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  position: relative;
}

.wheel-inner {
  width: 160px;
  height: 160px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.wheel-result {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--dark);
  line-height: 1.4;
}

.story-block {
  background: var(--light-alt);
  padding: 2rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary);
}

.section-alt .story-block {
  background: var(--dark-soft);
}

.story-block h3 {
  margin-bottom: 0.75rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.section-alt .faq-item {
  background: var(--dark-soft);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.125rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.section-alt .faq-question {
  color: var(--white);
}

.faq-answer {
  padding: 0 1.25rem 1.125rem;
  color: var(--text-muted);
}

.section-alt .faq-answer {
  color: rgba(248, 246, 244, 0.85);
}

.events-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: var(--text);
}

.events-table th,
.events-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--white);
  color: var(--text);
}

.events-table th {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
}

.events-table td a {
  color: var(--primary-dark);
  font-weight: 600;
}

.events-table td a:hover {
  color: var(--primary);
}

.events-table tbody tr:nth-child(even) td {
  background: var(--light);
}

.events-table tr:last-child td {
  border-bottom: none;
}

.section-warm .events-table,
.section-warm .events-table th,
.section-warm .events-table td,
.section-alt .events-table,
.section-alt .events-table td {
  color: var(--text);
}

.section-warm .events-table th {
  color: var(--white);
  background: var(--primary-dark);
}

.section-warm .events-table td a,
.section-alt .events-table td a {
  color: var(--primary-dark);
}

.guidelines-box {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.guidelines-box ul {
  margin-top: 1rem;
}

.guidelines-box li {
  margin-bottom: 0.75rem;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition);
}

.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.75rem;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-top: 0.35rem;
}

.checkbox-group label {
  font-weight: 400;
  font-size: 0.9375rem;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

.contact-info-list {
  list-style: none;
  padding: 0;
}

.contact-info-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-info-list i {
  font-size: 1.25rem;
  color: var(--primary);
}

.site-footer {
  background: var(--dark);
  color: var(--text-on-dark);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid a {
  color: var(--primary-light);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.875rem;
  text-align: center;
  color: rgba(248, 246, 244, 0.7);
}

.footer-legal {
  margin-bottom: 0.5rem;
}

.footer-legal a {
  color: rgba(248, 246, 244, 0.85);
}

.footer-cookie-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: rgba(248, 246, 244, 0.85);
  text-decoration: underline;
  cursor: pointer;
}

.footer-cookie-link:hover {
  color: var(--white);
}

.page-hero {
  background: var(--dark);
  color: var(--text-on-dark);
  padding: 3rem 0;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  max-width: 640px;
  opacity: 0.9;
}

.legal-content {
  max-width: 800px;
}

.legal-content h2 {
  font-size: 1.375rem;
  margin: 2rem 0 0.75rem;
  color: var(--primary-dark);
}

.legal-content code {
  background: var(--light-alt);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-size: 0.875em;
}

.legal-content table {
  font-size: 0.9375rem;
}

.legal-content p,
.legal-content li {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.success-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.success-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.numbered-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.numbered-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
}

.numbered-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--text-on-dark);
  padding: 1.25rem;
  z-index: 9999;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform var(--transition);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-text {
  flex: 1 1 300px;
  font-size: 0.9375rem;
}

.cookie-text a {
  color: var(--primary-light);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-actions .btn {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-modal.visible {
  display: flex;
}

.cookie-modal-content {
  background: var(--white);
  color: var(--text);
  max-width: 520px;
  width: 100%;
  padding: 2rem;
  border-radius: var(--radius);
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-modal-content h3 {
  margin-bottom: 1rem;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  gap: 1rem;
}

.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: var(--transition);
}

.toggle-slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}

.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.6;
  cursor: not-allowed;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.two-col-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.highlight-stat {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.section-warm .highlight-stat {
  color: var(--white);
}

@media (max-width: 992px) {
  .hero-split,
  .split-layout,
  .feature-grid,
  .footer-grid,
  .two-col-cards {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 2.5rem 1.25rem;
  }

  .hero-content-inner {
    margin-left: 0;
    padding-left: 0;
  }

  .split-layout.reverse {
    direction: ltr;
  }

  .overlap-block {
    margin-top: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid rgba(188, 95, 65, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }

  .main-nav.open {
    max-height: 400px;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 1rem 1.25rem;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .main-nav a {
    display: block;
    padding: 0.875rem 0;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .header-inner {
    position: relative;
  }

  section {
    padding: 2.5rem 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 320px) {
  body {
    font-size: 0.9375rem;
  }

  .container {
    padding: 0 0.875rem;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .logo-text {
    font-size: 0.8125rem;
    max-width: 140px;
  }

  .wheel-display {
    width: 180px;
    height: 180px;
  }

  .wheel-inner {
    width: 130px;
    height: 130px;
  }

  .events-table th,
  .events-table td {
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
  }
}