:root {
  --accent: #F3C301;
  --accent-dark: #c9a001;
  --dark: #1a1a2e;
  --dark-mid: #2d2d44;
  --light: #f8f8fa;
  --light-alt: #ececf0;
  --section-yellow: #fff8d6;
  --section-dark: #1a1a2e;
  --text: #1a1a2e;
  --text-light: #f8f8fa;
  --text-muted: #4a4a5e;
  --shadow: 0 4px 20px rgba(26, 26, 46, 0.1);
  --radius: 8px;
  --max-width: 1200px;
  --transition: 0.25s ease;
}

*,
*::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(--light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--dark-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-dark);
}

h1, h2, h3, h4 {
  line-height: 1.25;
  color: var(--dark);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.35rem, 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: 0 0 1rem 1.25rem; }
li { margin-bottom: 0.5rem; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.disclaimer-bar {
  background: var(--dark);
  color: var(--text-light);
  font-size: 0.78rem;
  padding: 0.5rem 1rem;
  text-align: center;
}

.disclaimer-bar p {
  margin: 0;
  max-width: 960px;
  margin-inline: auto;
}

.disclaimer-bar a {
  color: var(--accent);
}

.disclaimer-bar a:hover {
  color: var(--text-light);
}

.site-header {
  background: var(--light);
  border-bottom: 3px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img {
  height: 40px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: var(--dark);
  color: var(--accent);
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--dark);
  border-bottom-color: var(--accent);
}

.hero-full {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--dark) url("../image/picture.jpg") center / cover no-repeat;
}

.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.72);
}

.hero-full .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem 1.25rem;
}

.hero-full h1 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.hero-full p {
  color: var(--light-alt);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 1.5rem;
}

.hero-page {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--dark) url("../image/picture.jpg") center / cover no-repeat;
}

.hero-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.75);
}

.hero-page .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 2.5rem 1.25rem;
}

.hero-page h1 {
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.hero-page p {
  color: var(--light-alt);
  margin-bottom: 0;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--accent);
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--dark);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  margin-left: 0.5rem;
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--dark);
}

.section {
  padding: 3.5rem 0;
}

.section-light {
  background: var(--light);
  color: var(--text);
}

.section-alt {
  background: var(--section-yellow);
  color: var(--text);
}

.section-dark {
  background: var(--section-dark);
  color: var(--text-light);
}

.section-dark h2,
.section-dark h3 {
  color: var(--accent);
}

.section-dark a {
  color: var(--accent);
}

.section-dark p,
.section-dark li {
  color: var(--light-alt);
}

.section-grey {
  background: var(--light-alt);
  color: var(--text);
}

.icon-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.icon-heading i {
  font-size: 2rem;
  color: var(--accent);
}

.section-dark .icon-heading i {
  color: var(--accent);
}

.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split-block.reverse {
  direction: rtl;
}

.split-block.reverse > * {
  direction: ltr;
}

.image-block {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-block img {
  width: 100%;
  object-fit: cover;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--light);
  border: 2px solid var(--light-alt);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition);
}

.card:hover {
  border-color: var(--accent);
}

.card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}

.section-dark .card {
  background: var(--dark-mid);
  border-color: var(--dark-mid);
  color: var(--text-light);
}

.section-dark .card h3 {
  color: var(--accent);
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.feature-list i {
  color: var(--accent);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.section-dark .feature-list li {
  background: var(--dark-mid);
}

.numbered-steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.numbered-steps li {
  counter-increment: step;
  position: relative;
  padding: 1rem 1rem 1rem 3.5rem;
  margin-bottom: 1rem;
  background: var(--light);
  border-radius: var(--radius);
}

.numbered-steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  background: var(--accent);
  color: var(--dark);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.checklist-box {
  background: var(--light);
  border: 2px dashed var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.checklist-box h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checklist-box h3 i {
  color: var(--accent);
}

.checklist-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist-box li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.checklist-box li::before {
  content: "□";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.timeline {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin-left: 0.5rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.85rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--light);
}

.timeline-item h3 {
  color: var(--dark);
}

.faq-item {
  border: 2px solid var(--light-alt);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.section-dark .faq-item {
  border-color: var(--dark-mid);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--light);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--text);
}

.section-dark .faq-question {
  background: var(--dark-mid);
  color: var(--text-light);
}

.faq-question i {
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.25rem 1rem;
  margin: 0;
}

.events-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.events-table th,
.events-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--light-alt);
}

.section-dark .events-table th,
.section-dark .events-table td {
  border-color: var(--dark-mid);
}

.events-table th {
  background: var(--accent);
  color: var(--dark);
  font-weight: 600;
}

.section-dark .events-table th {
  background: var(--accent);
}

.events-table tr:hover td {
  background: rgba(243, 195, 1, 0.1);
}

.stats-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: var(--dark-mid);
  border-radius: var(--radius);
  border-top: 4px solid var(--accent);
}

.stat-box .stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.stat-box .stat-label {
  font-size: 0.85rem;
  color: var(--light-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  margin-top: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 2px solid var(--light-alt);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--light);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form .btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.checkbox-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1.25rem 0;
}

.checkbox-row input {
  width: auto;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.checkbox-row label {
  margin: 0;
  font-weight: 400;
  font-size: 0.9rem;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 1rem;
}

.map-wrap iframe {
  width: 100%;
  min-height: 300px;
}

.site-footer {
  background: var(--dark);
  color: #ffffff;
  padding: 3rem 0 1.75rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1.35fr) repeat(3, minmax(130px, 1fr));
  gap: 2rem 2rem;
  margin-bottom: 2rem;
  align-items: start;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand h3 {
  word-break: break-word;
  line-height: 1.35;
}

.footer-contact .footer-small {
  margin-bottom: 0.35rem;
}

.footer-contact .footer-small:last-child {
  margin-bottom: 0;
}

.site-footer h3 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.site-footer li:last-child {
  margin-bottom: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: color var(--transition);
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 1.25rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.footer-bottom p {
  max-width: 920px;
  margin: 0 auto;
}

.site-footer .footer-small {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.site-footer .footer-small a {
  word-break: break-word;
}

.footer-small {
  font-size: 0.85rem;
  color: var(--text-muted);
}

  background: var(--section-yellow);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
  color: var(--text);
}

.trust-panel p,
.trust-panel li,
.trust-panel strong {
  color: var(--text);
}

.trust-panel a {
  color: var(--accent-dark);
}

.trust-panel a:hover {
  color: var(--dark);
}

.section-dark .trust-panel {
  background: var(--section-yellow);
  color: var(--text);
}

.section-dark .trust-panel p,
.section-dark .trust-panel li,
.section-dark .trust-panel strong {
  color: var(--text);
}

.section-dark .trust-panel a {
  color: var(--accent-dark);
}

.trust-panel p {
  margin-bottom: 0.75rem;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-dark);
  font-weight: 700;
}

.not-list li::before {
  content: "✕";
  color: var(--dark-mid);
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.policy-content h1 {
  margin-bottom: 1rem;
}

.policy-content h2 {
  margin-top: 2rem;
}

.success-box {
  text-align: center;
  padding: 4rem 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

.success-box i {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--text-light);
  padding: 1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  z-index: 1000;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.28);
  transform: translateY(100%);
  transition: transform var(--transition);
  max-height: 92vh;
  overflow-y: auto;
}

body.cookie-banner-open {
  padding-bottom: 12rem;
}

body.cookie-banner-open.cookie-settings-open {
  padding-bottom: 22rem;
}

.cookie-banner h3 {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.cookie-banner p {
  color: rgba(248, 248, 250, 0.92);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.cookie-banner a:not(.btn) {
  color: var(--accent);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cookie-actions .btn {
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
  flex: 1 1 140px;
  text-align: center;
  font-family: inherit;
}

.cookie-actions .btn-reject {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.cookie-actions .btn-reject:hover {
  background: var(--dark-mid);
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.55);
}

.cookie-banner .btn-outline {
  color: var(--accent);
  border-color: var(--accent);
  margin-left: 0;
}

.cookie-banner .btn-outline:hover {
  background: var(--accent);
  color: var(--dark);
}

.cookie-settings-panel {
  margin-top: 0.25rem;
  padding: 1rem;
  background: var(--dark-mid);
  border-radius: var(--radius);
}

.cookie-settings-panel #cookie-save-settings {
  margin-top: 0.75rem;
  width: 100%;
  font-family: inherit;
}

.cookie-settings-panel[hidden] {
  display: none;
}

.cookie-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-toggle-row span {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(248, 248, 250, 0.92);
}

.cookie-toggle-row .toggle-switch {
  flex-shrink: 0;
}

.cookie-toggle-row:last-child {
  border-bottom: none;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--dark);
  border-radius: 26px;
  transition: var(--transition);
}

.toggle-slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--light);
  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;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: var(--accent);
  color: var(--dark);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.quote-block {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  background: var(--light-alt);
  margin: 1.5rem 0;
  font-style: italic;
}

.section-dark .quote-block {
  background: var(--dark-mid);
  color: var(--light-alt);
}

.two-col-list {
  columns: 2;
  column-gap: 2rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--light);
    border-bottom: 3px solid var(--accent);
    box-shadow: var(--shadow);
    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;
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    position: relative;
  }

  .split-block,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split-block.reverse {
    direction: ltr;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 0.75rem;
  }

  .two-col-list {
    columns: 1;
  }

  .events-table {
    font-size: 0.85rem;
  }

  .events-table th,
  .events-table td {
    padding: 0.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }

  body.cookie-banner-open {
    padding-bottom: 16rem;
  }

  body.cookie-banner-open.cookie-settings-open {
    padding-bottom: 26rem;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-actions .btn {
    width: 100%;
    flex: none;
  }
}

@media (max-width: 320px) {
  body {
    font-size: 0.9rem;
  }

  .section {
    padding: 2rem 0;
  }

  .container {
    padding: 0 0.75rem;
  }

  .hero-full .hero-inner,
  .hero-page .hero-inner {
    padding: 1.5rem 0.75rem;
  }

  .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .cookie-actions .btn {
    width: 100%;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
