:root {
  --primary: #32A2AE;
  --primary-dark: #268a94;
  --dark: #1a3d42;
  --dark-alt: #0f2a2e;
  --light: #f4f9fa;
  --white: #ffffff;
  --text: #1e2e30;
  --text-muted: #3d5558;
  --text-on-dark: #f0fafa;
  --accent-contrast: #e8f6f7;
  --shadow: 0 4px 24px rgba(26, 61, 66, 0.12);
  --radius: 8px;
  --max-width: 1140px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--dark);
}

h1, h2, h3, h4 {
  line-height: 1.25;
  color: var(--dark);
  font-weight: 600;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; }

ul, ol {
  margin: 0 0 1rem 1.25rem;
}

li { margin-bottom: 0.4rem; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 2px solid var(--primary);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img {
  height: 40px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--dark);
  color: var(--dark);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  border-radius: var(--radius);
  font-size: 1.25rem;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--primary-dark);
  border-bottom-color: var(--primary);
}

.disclaimer-bar {
  background: var(--dark-alt);
  color: var(--text-on-dark);
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  text-align: center;
  margin-top: var(--header-h);
}

.disclaimer-bar p {
  margin: 0;
  max-width: 900px;
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-color: var(--dark);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 42, 46, 0.88) 0%, rgba(50, 162, 174, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.25rem;
  max-width: 820px;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero-content p {
  color: var(--text-on-dark);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.hero-inner .btn,
.hero-content .btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--primary);
  transition: background 0.2s, color 0.2s;
}

.hero-content .btn:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

section {
  padding: 4rem 0;
}

.section-light {
  background: var(--light);
  color: var(--text);
}

.section-dark {
  background: var(--dark);
  color: var(--text-on-dark);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-primary {
  background: var(--primary);
  color: var(--white);
}

.section-primary h2,
.section-primary h3 {
  color: var(--white);
}

.section-primary a {
  color: var(--accent-contrast);
}

.section-accent {
  background: var(--accent-contrast);
  color: var(--text);
}

.section-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .section-grid-2 { grid-template-columns: 1fr 1fr; }
  .section-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .section-grid-asym { grid-template-columns: 1.1fr 0.9fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  color: var(--text);
}

.section-dark .card {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.section-dark .card h3 {
  color: var(--white);
}

.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.section-dark .icon-wrap,
.section-primary .icon-wrap {
  background: var(--dark-alt);
  color: var(--white);
}

.section-primary .icon-wrap {
  background: var(--dark);
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  padding: 0.75rem;
  background: rgba(50, 162, 174, 0.08);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.section-dark .feature-list li {
  background: rgba(255, 255, 255, 0.06);
}

.feature-list i {
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.section-dark .feature-list i,
.section-primary .feature-list i {
  color: var(--accent-contrast);
}

.numbered-steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.numbered-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.25rem;
}

.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.9rem;
}

.image-block {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-block img {
  width: 100%;
  object-fit: cover;
  min-height: 220px;
}

.image-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.section-dark .image-caption {
  color: rgba(240, 250, 250, 0.75);
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--primary);
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.section-dark .btn-outline {
  color: var(--white);
  border-color: var(--white);
}

.section-dark .btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

.faq-item {
  border: 1px solid rgba(26, 61, 66, 0.15);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--dark);
  background: var(--white);
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item[open] summary {
  background: var(--primary);
  color: var(--white);
}

.faq-answer {
  padding: 1rem 1.25rem;
  background: var(--light);
  color: var(--text);
}

.events-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.events-table th,
.events-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(26, 61, 66, 0.12);
}

.events-table th {
  background: var(--dark);
  color: var(--white);
}

.events-table tr:nth-child(even) {
  background: rgba(50, 162, 174, 0.08);
}

.timeline {
  border-left: 3px solid var(--primary);
  padding-left: 1.5rem;
  margin-left: 0.5rem;
}

.timeline-item {
  margin-bottom: 1.5rem;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.72rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--white);
}

.quote-block {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  font-style: italic;
  background: rgba(50, 162, 174, 0.1);
  margin: 1.5rem 0;
  color: var(--text);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.tag-list li {
  margin: 0;
  background: var(--primary);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 2px solid rgba(26, 61, 66, 0.2);
  border-radius: var(--radius);
  font: inherit;
  margin-bottom: 1rem;
  color: var(--text);
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.checkbox-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-row input {
  width: auto;
  margin-top: 0.35rem;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  min-height: 300px;
  border: 0;
}

.site-footer {
  background: var(--dark-alt);
  color: var(--text-on-dark);
  padding: 2.5rem 0 1.5rem;
}

.site-footer a {
  color: var(--accent-contrast);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li { margin-bottom: 0.5rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  color: rgba(240, 250, 250, 0.85);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--dark);
  color: var(--text-on-dark);
  padding: 1.25rem;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner a {
  color: var(--accent-contrast);
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.cookie-actions .btn {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

.btn-reject {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--text-on-dark);
}

.btn-reject:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-modal.is-visible {
  display: flex;
}

.cookie-modal-panel {
  background: var(--white);
  color: var(--text);
  max-width: 480px;
  width: 100%;
  border-radius: var(--radius);
  padding: 1.5rem;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(26, 61, 66, 0.1);
}

.cookie-toggle label {
  font-weight: 500;
}

.cookie-toggle input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--primary);
}

.cookie-toggle input:disabled {
  opacity: 0.7;
}

.success-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 6rem 1rem 4rem;
}

.policy-content h2 {
  margin-top: 2rem;
}

.policy-content h3 {
  margin-top: 1.25rem;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--primary);
    padding: 1rem;
    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.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid rgba(26, 61, 66, 0.08);
  }

  .main-nav a {
    display: block;
    padding: 0.85rem 0;
  }

  section {
    padding: 2.5rem 0;
  }

  .events-table {
    font-size: 0.8rem;
  }

  .events-table th,
  .events-table td {
    padding: 0.5rem;
  }
}

@media (max-width: 320px) {
  body { font-size: 0.9rem; }
  .container { padding: 0 0.75rem; }
  .header-inner { padding: 0 0.75rem; }
  .cookie-actions { flex-direction: column; }
  .cookie-actions .btn { width: 100%; text-align: center; }
}
