*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --accent: #D1B4B6;
  --accent-dark: #B89598;
  --bg-light: #FAF8F5;
  --bg-warm: #F3EDE8;
  --bg-dark: #2C2A28;
  --bg-darker: #1E1D1B;
  --text-dark: #1A1918;
  --text-muted: #4A4643;
  --text-light: #FAF8F5;
  --icon-contrast: #3D6B5E;
  --border: #E0D6D0;
  --shadow: rgba(44, 42, 40, 0.08);
  --max-width: 1140px;
  --header-h: 72px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--bg-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-dark);
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section--light { background: var(--bg-light); color: var(--text-dark); }
.section--warm { background: var(--bg-warm); color: var(--text-dark); }
.section--accent { background: var(--accent); color: var(--text-dark); }
.section--dark { background: var(--bg-dark); color: var(--text-light); }
.section--darker { background: var(--bg-darker); color: var(--text-light); }

.section--dark a,
 
.section--dark a:hover,
.section--darker a:hover { color: var(--text-light); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--icon-contrast);
  margin-bottom: 0.75rem;
}

.section--dark .section-label,
.section--darker .section-label { color: var(--accent); }

.disclaimer-bar {
  background: var(--bg-darker);
  color: #C8C4C0;
  font-size: 0.78rem;
  text-align: center;
  padding: 0.5rem 1rem;
  line-height: 1.5;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  height: 40px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.main-nav a {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  border-bottom-color: var(--accent);
  color: var(--text-dark);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-dark);
  font-size: 1.5rem;
}

.menu-toggle i { pointer-events: none; }

body.has-disclaimer { padding-top: calc(var(--header-h) + 2.2rem); }
body.no-disclaimer { padding-top: var(--header-h); }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 29, 27, 0.55) 0%, rgba(30, 29, 27, 0.72) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  max-width: 780px;
  padding: 2rem 1.25rem;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2rem;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn--primary {
  background: var(--accent);
  color: var(--text-dark);
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-dark);
  color: var(--text-dark);
}

.btn--outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--text-light);
}

.btn--outline:hover {
  background: var(--text-light);
  color: var(--text-dark);
}

.btn--dark {
  background: var(--bg-dark);
  color: var(--text-light);
  border-color: var(--bg-dark);
}

.btn--dark:hover {
  background: var(--bg-darker);
  color: var(--text-light);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: box-shadow var(--transition);
}

.section--dark .card,
.section--darker .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-light);
}

.card:hover {
  box-shadow: 0 8px 24px var(--shadow);
}

.card-icon {
  font-size: 2rem;
  color: var(--icon-contrast);
  margin-bottom: 1rem;
  display: block;
}

.section--dark .card-icon,
.section--darker .card-icon { color: var(--accent); }

.image-block img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid var(--border);
}

.split-content h2 { margin-top: 0; }

.feature-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.section--dark .feature-list li { border-color: rgba(255,255,255,0.1); }

.feature-list i {
  color: var(--icon-contrast);
  font-size: 1.25rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.section--dark .feature-list i { color: var(--accent); }

.numbered-list {
  counter-reset: item;
}

.numbered-list li {
  counter-increment: item;
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.numbered-list li::before {
  content: counter(item, decimal-leading-zero);
  font-family: Georgia, serif;
  font-size: 1.5rem;
  color: var(--accent-dark);
  min-width: 2.5rem;
  line-height: 1;
}

.timeline {
  border-left: 2px solid var(--accent);
  padding-left: 2rem;
  margin-left: 0.5rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.55rem;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  background: var(--icon-contrast);
  border-radius: 50%;
}

.section--dark .timeline { border-color: var(--accent); }
.section--dark .timeline-item::before { background: var(--accent); }

.faq-list details {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.section--dark .faq-list details { border-color: rgba(255,255,255,0.12); }

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: inherit;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--icon-contrast);
  flex-shrink: 0;
}

.faq-list details[open] summary::after { content: "−"; }

.faq-list .faq-answer {
  padding-top: 0.75rem;
  color: var(--text-muted);
}

.section--dark .faq-list .faq-answer { color: #C8C4C0; }

.events-table {
  width: 100%;
  border-collapse: collapse;
}

.events-table th,
.events-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.section--dark .events-table th,
.section--dark .events-table td { border-color: rgba(255,255,255,0.12); }

.events-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--icon-contrast);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.safety-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--border);
}

.section--dark .safety-item {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}

.safety-item i {
  font-size: 1.5rem;
  color: var(--icon-contrast);
  flex-shrink: 0;
}

.section--dark .safety-item i { color: var(--accent); }

.page-hero {
  padding: 8rem 0 4rem;
  text-align: center;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { margin-bottom: 1rem; }
.page-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-info-item i {
  font-size: 1.4rem;
  color: var(--icon-contrast);
  margin-top: 0.15rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  background: var(--bg-light);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-dark);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.checkbox-group {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.88rem;
  line-height: 1.5;
}

.checkbox-group input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid var(--border);
  background: var(--bg-light);
  accent-color: var(--icon-contrast);
  cursor: pointer;
}

.checkbox-group label {
  display: block;
  flex: 1;
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-dark);
  cursor: pointer;
}

.checkbox-group label a {
  color: var(--icon-contrast);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkbox-group label a:hover {
  color: var(--accent-dark);
}

.map-wrap {
  margin-top: 2rem;
  border: 1px solid var(--border);
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 400px;
  display: block;
}

.site-footer {
  background: var(--bg-darker);
  color: #B8B4B0;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-grid h4 {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
  color: #B8B4B0;
  font-size: 0.9rem;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-darker);
  color: var(--text-light);
  padding: 1.25rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.cookie-text {
  flex: 1;
  min-width: 200px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.cookie-text a { color: var(--accent); }

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: stretch;
}

.cookie-actions .btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.82rem;
  min-width: 8.5rem;
  flex: 1 1 auto;
}

.cookie-text strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-light);
}

#cookie-reject.btn--outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(250, 248, 245, 0.85);
}

#cookie-reject.btn--outline:hover {
  background: rgba(250, 248, 245, 0.12);
  color: var(--text-light);
}

.footer-legal {
  width: 100%;
  text-align: center;
  margin-top: 0.25rem;
}

.footer-legal a {
  color: #B8B4B0;
  font-size: 0.82rem;
}

.footer-legal a:hover {
  color: var(--accent);
}

.link-button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.link-button:hover {
  color: var(--accent);
}

.site-footer .link-button {
  color: #B8B4B0;
  font-size: 0.9rem;
}

.site-footer .footer-links .link-button {
  display: block;
  text-align: left;
  text-decoration: none;
}

.site-footer .footer-links .link-button:hover {
  color: var(--accent);
}

.map-consent-wrap {
  position: relative;
  min-height: 280px;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 280px;
  padding: 2rem;
  text-align: center;
  background: var(--bg-warm);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.map-placeholder p {
  max-width: 36rem;
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.map-consent-wrap iframe[hidden] {
  display: none;
}

.footer-company {
  font-size: 0.82rem;
  color: #B8B4B0;
}

.cookie-settings-panel {
  display: none;
  width: 100%;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.cookie-settings-panel.open { 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.06);
  gap: 1rem;
}

.cookie-category label {
  font-size: 0.85rem;
  cursor: pointer;
}

.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: #555;
  border-radius: 24px;
  cursor: pointer;
  transition: background var(--transition);
}

.toggle-slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform var(--transition);
}

.toggle-switch input:checked + .toggle-slider { background: var(--icon-contrast); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle-switch input:disabled + .toggle-slider { opacity: 0.5; cursor: not-allowed; }

.success-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.25rem 4rem;
}

.success-icon {
  font-size: 4rem;
  color: var(--icon-contrast);
  margin-bottom: 1.5rem;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 6rem 1.25rem 4rem;
}

.policy-content h1 { margin-bottom: 0.5rem; }
.policy-content .updated { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }
.policy-content h2 { margin-top: 2rem; font-size: 1.4rem; }
.policy-content ul { list-style: disc; margin: 0 0 1rem 1.5rem; }
.policy-content li { margin-bottom: 0.5rem; }
.policy-content code {
  font-size: 0.88em;
  background: var(--bg-warm);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}
.policy-content .events-table { font-size: 0.9rem; }
.policy-content .events-table td { vertical-align: top; }

.cta-block {
  text-align: center;
  padding: 3rem 2rem;
}

.cta-block h2 { margin-bottom: 0.75rem; }
.cta-block p {
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

.stat-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.stat-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid var(--border);
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  font-family: Georgia, serif;
  color: var(--icon-contrast);
  margin-bottom: 0.25rem;
}

.section--dark .stat-item strong { color: var(--accent); }

.quote-block {
  border-left: 3px solid var(--accent);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-muted);
  background: rgba(209, 180, 182, 0.15);
}

.section--dark .quote-block {
  background: rgba(209, 180, 182, 0.08);
  color: #C8C4C0;
}

.exercise-steps ol {
  list-style: none;
  counter-reset: steps;
}

.exercise-steps ol li {
  counter-increment: steps;
  padding: 1rem 0 1rem 3rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.exercise-steps ol li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 1rem;
  width: 2rem;
  height: 2rem;
  background: var(--accent);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .contact-grid,
  .footer-grid,
  .safety-grid { grid-template-columns: 1fr; }

  .grid-2.reverse-mobile .image-block { order: -1; }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    box-shadow: 0 8px 20px var(--shadow);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0 1.25rem;
  }

  .main-nav li { width: 100%; }

  .main-nav a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
  }

  .menu-toggle { display: block; }

  .section { padding: 3rem 0; }

  .hero { min-height: 85vh; }

  .stat-row { flex-direction: column; }

  .cookie-inner { flex-direction: column; align-items: stretch; }

  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; text-align: center; }

  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 320px) {
  html { font-size: 14px; }

  .container { padding: 0 0.75rem; }

  .btn { padding: 0.75rem 1.25rem; font-size: 0.8rem; }

  .card { padding: 1.25rem; }

  .hero-content { padding: 1.5rem 0.75rem; }
}
