:root {
  --accent: #D58E26;
  --accent-dark: #b8771e;
  --dark: #1a1a2e;
  --dark-alt: #16213e;
  --light: #f8f9fa;
  --light-alt: #eef0f3;
  --text: #1a1a2e;
  --text-light: #f8f9fa;
  --text-muted: #4a4a5a;
  --border: #d0d4da;
  --shadow: 0 4px 20px rgba(26, 26, 46, 0.1);
  --radius: 8px;
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-dark);
}

ul, ol {
  padding-left: 1.4rem;
}

h1, h2, h3, h4 {
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); }

p { margin-bottom: 1rem; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.trust-bar {
  background: var(--light-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  align-items: center;
}

.trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-bar .bi {
  color: var(--accent);
}

.trust-bar a {
  color: var(--accent);
  font-weight: 500;
}

.disclaimer-bar {
  background: var(--dark);
  color: var(--text-light);
  font-size: 0.8rem;
  text-align: center;
  padding: 0.5rem 1rem;
  line-height: 1.4;
}

.research-note {
  background: rgba(213, 142, 38, 0.1);
  border-left: 3px solid var(--accent);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 1rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.section-dark .research-note {
  background: rgba(213, 142, 38, 0.15);
  color: rgba(255, 255, 255, 0.85);
}

  background: var(--dark);
  color: var(--text-light);
  font-size: 0.8rem;
  text-align: center;
  padding: 0.5rem 1rem;
  line-height: 1.4;
}

.site-header {
  background: #fff;
  border-bottom: 2px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-link img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 1.5rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  line-height: 1;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  padding: 0;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--dark);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2rem;
  background: var(--dark);
  color: var(--text-light);
}

.hero-content h1 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 1.5rem;
}

.hero-image {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
}

.btn-light:hover {
  background: var(--light);
  color: var(--dark);
}

.section {
  padding: 4rem 0;
}

.section-dark {
  background: var(--dark);
  color: var(--text-light);
}

.section-dark h2,
.section-dark h3 {
  color: var(--text-light);
}

.section-accent {
  background: var(--accent);
  color: #fff;
}

.section-accent h2,
.section-accent h3 {
  color: #fff;
}

.section-light {
  background: var(--light);
}

.section-alt {
  background: var(--light-alt);
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header .icon-accent {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}

.section-dark .icon-accent {
  color: var(--accent);
}

.section-accent .icon-accent {
  color: #fff;
}

.f-shape {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.f-shape-reverse {
  grid-template-columns: 1fr 2fr;
}

.f-shape .main-col p {
  max-width: 65ch;
}

.side-col {
  background: #fff;
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-dark .side-col {
  background: var(--dark-alt);
  color: var(--text-light);
}

.section-dark .side-col h3 {
  color: var(--text-light);
}

.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split-block img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.split-block img.img-contain {
  object-fit: contain;
  aspect-ratio: auto;
  height: auto;
  max-height: 480px;
  background: var(--light-alt);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
}

.section-dark .card {
  background: var(--dark-alt);
  color: var(--text-light);
}

.section-dark .card h3 {
  color: var(--text-light);
}

.card .bi {
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.info-list {
  list-style: none;
  padding: 0;
}

.info-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list .bi {
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.section-dark .info-list li {
  border-color: rgba(255,255,255,0.15);
}

.numbered-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.numbered-steps li {
  counter-increment: step;
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  position: relative;
  margin-bottom: 1rem;
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.numbered-steps li strong {
  color: var(--dark);
}

.section-dark .numbered-steps li {
  background: var(--dark-alt);
  color: var(--text-light);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-dark .numbered-steps li strong {
  color: var(--text-light);
}

.section-accent .numbered-steps li {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.section-accent .numbered-steps li strong {
  color: #fff;
}

.numbered-steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.25rem;
  width: 2rem;
  height: 2rem;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.highlight-box {
  background: rgba(213, 142, 38, 0.12);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

.section-dark .highlight-box {
  background: rgba(213, 142, 38, 0.2);
}

.calculator-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  max-width: 500px;
}

.section-dark .calculator-box {
  background: var(--dark-alt);
}

.calculator-box label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.calculator-box input[type="number"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  margin-bottom: 1rem;
  background: #fff;
  color: var(--text);
}

.calculator-results {
  margin-top: 1.5rem;
  display: none;
}

.calculator-results.visible {
  display: block;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.result-item:last-child {
  border-bottom: none;
}

.result-value {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
  white-space: nowrap;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section-dark .faq-item {
  background: var(--dark-alt);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.section-dark .faq-question {
  color: var(--text-light);
}

.faq-question .bi {
  color: var(--accent);
  transition: transform var(--transition);
}

.faq-item.open .faq-question .bi-chevron-down {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
}

.section-dark .faq-answer {
  color: rgba(255,255,255,0.8);
}

.faq-item.open .faq-answer {
  display: block;
}

.event-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.25rem;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  align-items: center;
}

.section-dark .event-card {
  background: var(--dark-alt);
}

.event-date {
  background: var(--accent);
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  padding: 0.75rem 0.5rem;
}

.event-date .day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.event-date .month {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.safety-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-dark .safety-item {
  background: var(--dark-alt);
}

.safety-item .bi {
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-info-item .bi {
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 1rem;
  background: #fff;
  color: var(--text);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.checkbox-group input {
  width: auto;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.checkbox-group label {
  font-weight: 400;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrapper iframe {
  width: 100%;
  height: 350px;
  border: 0;
  display: block;
}

.map-consent {
  background: var(--light-alt);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}

.map-consent p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

.footer-legal-links a,
.footer-legal-links button {
  color: rgba(255, 255, 255, 0.65);
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.footer-legal-links a:hover,
.footer-legal-links button:hover {
  color: var(--accent);
}

.site-footer [data-cookie-settings] {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  padding: 0;
  text-align: left;
  text-decoration: none;
}

.site-footer [data-cookie-settings]:hover {
  color: var(--accent);
}

.site-footer {
  background: var(--dark);
  color: var(--text-light);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h4 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.site-footer a {
  color: rgba(255,255,255,0.8);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--text-light);
  padding: 1.25rem;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.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;
  min-width: 240px;
  font-size: 0.9rem;
}

.cookie-text a {
  color: var(--accent);
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-cookie-accept,
.btn-cookie-reject {
  min-width: 140px;
  font-weight: 600;
}

.btn-cookie-reject {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-cookie-reject:hover {
  background: #fff;
  color: var(--dark);
}

.btn-cookie-settings {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  padding: 0.5rem;
}

.btn-cookie-settings:hover {
  color: #fff;
}

.cookie-banner-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.cookie-settings {
  display: none;
  width: 100%;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.cookie-settings.visible {
  display: block;
}

.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  gap: 1rem;
}

.cookie-category label {
  font-size: 0.9rem;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #555;
  border-radius: 26px;
  transition: var(--transition);
}

.toggle-slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--accent);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.success-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
}

.success-icon {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.policy-content h2 {
  margin-top: 2rem;
  font-size: 1.4rem;
}

.policy-content h3 {
  margin-top: 1.5rem;
  font-size: 1.15rem;
}

.policy-content ul {
  margin-bottom: 1rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.tag-list li {
  background: rgba(213, 142, 38, 0.15);
  color: var(--dark);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.section-dark .tag-list li {
  background: rgba(213, 142, 38, 0.25);
  color: var(--text-light);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat-box {
  text-align: center;
  padding: 1.25rem;
  background: rgba(213, 142, 38, 0.12);
  border-radius: var(--radius);
}

.stat-box .stat-num {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.section-accent .stat-box {
  background: rgba(255,255,255,0.15);
}

.section-accent .stat-box .stat-num {
  color: #fff;
}

.two-col-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .hero-split,
  .f-shape,
  .f-shape-reverse,
  .split-block,
  .contact-grid,
  .two-col-list {
    grid-template-columns: 1fr;
  }

  .f-shape-reverse .side-col {
    order: -1;
  }

  .hero-content {
    padding: 2rem 1.5rem;
  }

  .hero-image {
    min-height: 240px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 2px solid var(--accent);
    box-shadow: var(--shadow);
    padding: 1rem;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid var(--border);
  }

  .main-nav a {
    display: block;
    padding: 0.85rem 0.5rem;
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    position: relative;
  }

  .section {
    padding: 2.5rem 0;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons {
    justify-content: stretch;
  }

  .cookie-buttons .btn {
    flex: 1;
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .logo-text {
    font-size: 0.8rem;
    max-width: 140px;
  }

  .hero-content {
    padding: 1.5rem 1rem;
  }

  .card {
    padding: 1.25rem;
  }

  .event-card {
    grid-template-columns: 60px 1fr;
  }

  .result-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .map-wrapper iframe {
    height: 250px;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 0.75rem;
  }

  .btn {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-buttons .btn {
    width: 100%;
  }

  .logo-text {
    display: none;
  }
}
