:root {
  --primary: #9DB1DD;
  --primary-dark: #7a94c8;
  --bg-dark: #1a2744;
  --bg-darker: #121a2e;
  --bg-light: #eef2fa;
  --bg-white: #ffffff;
  --text-dark: #1a2744;
  --text-light: #f5f7fc;
  --text-muted: #4a5568;
  --accent: #2d4a7a;
  --border: #c5d0ea;
  --shadow: 0 4px 24px rgba(26, 39, 68, 0.12);
  --radius: 8px;
  --max-width: 1200px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--bg-light);
  min-width: 320px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.25;
  color: var(--text-dark);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; }

ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }

li { margin-bottom: 0.4rem; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 0.5rem 1rem;
}

.skip-link:focus {
  left: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-white);
  border-bottom: 2px solid var(--primary);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-link img {
  height: 40px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: var(--bg-dark);
  color: var(--text-light);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.nav-toggle:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.main-nav .nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  padding: 0;
  margin: 0;
}

.main-nav .nav-list a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.main-nav .nav-list a:hover,
.main-nav .nav-list a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--primary);
}

.disclaimer-bar {
  background: var(--bg-darker);
  color: var(--text-light);
  font-size: 0.8rem;
  padding: 0.5rem 0;
  text-align: center;
}

.disclaimer-bar p {
  margin: 0;
  max-width: 900px;
  margin-inline: auto;
}

.hero-collage {
  position: relative;
  min-height: 420px;
  background: var(--bg-dark);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 4px;
  padding: 4px;
}

.hero-collage .hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 180px;
}

.hero-collage .hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-collage .hero-panel-main {
  grid-column: 1 / -1;
  min-height: 220px;
}

.hero-collage .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 39, 68, 0.85) 0%, rgba(157, 177, 221, 0.35) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  color: var(--text-light);
}

.hero-collage .hero-overlay h1 {
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.hero-collage .hero-overlay p {
  max-width: 560px;
  font-size: 1.05rem;
}

.hero-collage .hero-accent {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  min-height: 180px;
}

.hero-collage .hero-accent > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-collage .hero-accent-overlay {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(26, 39, 68, 0.82) 0%, rgba(157, 177, 221, 0.55) 100%);
  color: var(--text-light);
  font-weight: 700;
  text-align: center;
  font-size: 1.05rem;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-alt h2,
.section-alt h3,
.section-alt h1 {
  color: var(--text-light);
}

.section-alt a {
  color: var(--primary);
}

.section-primary {
  background: var(--primary);
  color: var(--text-dark);
}

.section-primary h2,
.section-primary h3 {
  color: var(--text-dark);
}

.section-white {
  background: var(--bg-white);
}

.section-light {
  background: var(--bg-light);
}

.section-header {
  margin-bottom: 2rem;
  max-width: 720px;
}

.section-header .icon-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-header .icon-title i {
  font-size: 2rem;
  color: var(--primary-dark);
}

.section-alt .icon-title i {
  color: var(--primary);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  color: var(--text-dark);
}

.section-alt .card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(157, 177, 221, 0.4);
  color: var(--text-light);
}

.card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card i {
  color: var(--accent);
  font-size: 1.5rem;
}

.section-alt .card i {
  color: var(--primary);
}

.image-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.image-block img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat-item {
  flex: 1 1 140px;
  background: var(--bg-white);
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
  border-left: 4px solid var(--primary);
}

.stat-item strong {
  display: block;
  font-size: 1.5rem;
  color: var(--accent);
}

.timeline {
  list-style: none;
  padding: 0;
  border-left: 3px solid var(--primary);
  margin-left: 0.5rem;
}

.timeline li {
  padding: 0 0 1.5rem 1.5rem;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--bg-white);
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  padding-left: 1.75rem;
  position: relative;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.section-alt .check-list li::before {
  color: var(--primary);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--bg-dark);
  color: var(--text-light);
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  border: 2px solid var(--bg-dark);
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: var(--primary);
  color: var(--text-dark);
  border-color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
}

.btn-outline:hover {
  background: var(--text-light);
  color: var(--bg-dark);
}

.section-primary .btn {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
}

.section-primary .btn-outline {
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.section-primary .btn-outline:hover {
  background: var(--bg-dark);
  color: var(--text-light);
}

.faq-list details {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  padding: 0;
}

.faq-list summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary i {
  color: var(--accent);
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-list .faq-answer {
  padding: 1rem 1.25rem;
  color: var(--text-muted);
}

.events-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.events-table th,
.events-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
}

.events-table th {
  background: var(--bg-dark);
  color: var(--text-light);
}

.events-table tr:last-child td {
  border-bottom: none;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.interactive-section .interactive-intro {
  max-width: 820px;
  margin-bottom: 2rem;
}

.interactive-panel {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.section-alt .interactive-panel {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(157, 177, 221, 0.4);
}

.interactive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.interactive-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.interactive-checklist li {
  margin-bottom: 0.65rem;
}

.interactive-checklist label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-dark);
}

.interactive-checklist label > span {
  display: block;
  flex: 1;
}

.section-alt .interactive-checklist label {
  color: var(--text-light);
}

.interactive-checklist input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.interactive-checklist small {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 0.2rem;
  font-size: 0.88rem;
}

.section-alt .interactive-checklist small {
  color: rgba(245, 247, 252, 0.75);
}

.progress-wrap {
  margin: 1.25rem 0;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.section-alt .progress-label {
  color: var(--text-light);
}

.progress-bar {
  height: 14px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 999px;
  transition: width 0.4s ease;
}

.interactive-result {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  background: var(--bg-light);
  color: var(--text-dark);
}

.section-alt .interactive-result {
  background: rgba(26, 39, 68, 0.5);
  color: var(--text-light);
}

.section-alt .interactive-result a,
.section-alt .interactive-panel a {
  color: var(--primary);
}

.interactive-result h3 {
  margin-bottom: 0.5rem;
}

.calc-field {
  margin-bottom: 1.25rem;
}

.calc-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.section-alt .calc-field label,
.section-alt .interactive-panel p {
  color: var(--text-light);
}

.section-alt .calc-value {
  color: var(--primary);
}

.calc-field input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.calc-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 0.25rem;
}

.interactive-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.tab-btn {
  padding: 0.5rem 1rem;
  border: 2px solid var(--border);
  background: var(--bg-white);
  color: var(--text-dark);
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

.tab-btn.is-active {
  background: var(--bg-dark);
  color: var(--text-light);
  border-color: var(--bg-dark);
}

.section-alt .tab-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border-color: rgba(157, 177, 221, 0.5);
}

.section-alt .tab-btn.is-active {
  background: var(--primary);
  color: var(--text-dark);
  border-color: var(--primary);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

@media (max-width: 900px) {
  .interactive-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  background: var(--bg-darker);
  color: var(--text-light);
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer a {
  color: var(--primary);
}

.site-footer h3 {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-bottom {
  border-top: 1px solid rgba(157, 177, 221, 0.3);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(245, 247, 252, 0.85);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info-list {
  list-style: none;
  padding: 0;
}

.contact-info-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.contact-info-list i {
  font-size: 1.35rem;
  color: var(--accent);
  margin-top: 0.15rem;
}

.section-alt .contact-info-list i {
  color: var(--primary);
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1rem;
  background: var(--bg-white);
  color: var(--text-dark);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid var(--primary);
  border-color: var(--primary-dark);
}

.contact-form .checkbox-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-form .checkbox-row input {
  width: auto;
  margin-top: 0.25rem;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 350px;
  border: 0;
  display: block;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h2 {
  margin-top: 2rem;
}

.policy-content h3 {
  margin-top: 1.25rem;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

.policy-table th,
.policy-table td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
  color: var(--text-dark);
}

.policy-table th {
  background: var(--bg-light);
  font-weight: 600;
}

.policy-content code {
  background: var(--bg-light);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}

.trust-banner {
  background: var(--bg-light);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.trust-banner p {
  margin-bottom: 0.5rem;
}

.trust-banner p:last-child {
  margin-bottom: 0;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.5rem;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
}

.trust-list i {
  color: var(--accent);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.content-notice {
  background: #fff8e6;
  border-left: 4px solid #c9a227;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.content-notice p {
  margin: 0;
}

.source-list {
  list-style: none;
  padding: 0;
}

.source-list li {
  margin-bottom: 0.5rem;
}

.footer-contact-line {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.footer-contact-line a {
  color: var(--primary);
}

.site-footer strong {
  color: var(--text-light);
}

.success-box {
  text-align: center;
  padding: 4rem 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.success-box i {
  font-size: 4rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--bg-white);
  border-top: 3px solid var(--primary);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  padding: 1.25rem;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.cookie-banner p {
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-settings {
  display: none;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.cookie-settings.is-open {
  display: block;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
}

.cookie-toggle label {
  font-weight: 600;
}

.cookie-toggle input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}

.cookie-toggle input:disabled {
  opacity: 0.6;
}

.cookie-toggle small {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .image-block,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-collage {
    grid-template-columns: 1fr;
  }

  .hero-collage .hero-panel:not(.hero-panel-main) {
    min-height: 120px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 2px solid var(--primary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    max-height: 80vh;
    overflow-y: auto;
  }

  .main-nav .nav-list {
    flex-direction: column;
    padding: 1rem;
    gap: 0;
  }

  .main-nav .nav-list li {
    border-bottom: 1px solid var(--border);
  }

  .main-nav .nav-list a {
    display: block;
    padding: 0.85rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 2.5rem 0;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-actions .btn {
    width: 100%;
    text-align: center;
  }

  .events-table {
    font-size: 0.85rem;
  }

  .events-table th,
  .events-table td {
    padding: 0.5rem;
  }
}
