/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: black;
  color: white;
}

body.modal-open {
  overflow: hidden;
}

/* ─── HAMBURGER ──────────────────────────────────────────────────── */
.hamburger {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 30px;
  cursor: pointer;
  z-index: 200;
}

.hamburger span {
  display: block;
  height: 3px;
  background: white;
  margin: 6px 0;
  transition: background 0.2s;
}

/* ─── SIDEBAR OVERLAY ────────────────────────────────────────────── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 150;
}

.sidebar-overlay.active {
  display: block;
}

/* ─── SIDEBAR ────────────────────────────────────────────────────── */
.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background: #111;
  padding-top: 80px;
  transition: left 0.3s ease;
  z-index: 160;
}

.sidebar.active {
  left: 0;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
}

.sidebar a {
  display: block;
  padding: 15px 30px;
  text-decoration: none;
  color: white;
  font-size: 18px;
  transition: background 0.2s;
}

.sidebar a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ─── HERO ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 60px;
  letter-spacing: 3px;
}

.hero-content > p {
  margin-top: 10px;
  opacity: 0.8;
}

/* ─── HERO LANGUAGE BUTTONS ──────────────────────────────────────── */
.hero-lang {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}

.lang-btn {
  padding: 16px 32px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: white;
  font-size: 15px;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.lang-btn:hover {
  background: white;
  color: black;
  border-color: white;
}

/* ─── SECTIONS ───────────────────────────────────────────────────── */
.section {
  padding: 80px 20px;
  max-width: 700px;
  margin: auto;
  text-align: center;
}

.dark-full {
  background: #111;
}

/* ─── MODAL BACKDROP ─────────────────────────────────────────────── */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 300;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-backdrop.active {
  display: flex;
}

/* ─── MODAL BOX ──────────────────────────────────────────────────── */
.modal {
  position: relative;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 0 44px 36px;
}

/* ─── MODAL CLOSE ────────────────────────────────────────────────── */
/* ─── MODAL HEADER ───────────────────────────────────────────────── */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: #1a1a1a;
  padding: 16px 0 10px;
  margin: 0 0 10px;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
  /* Large tap target */
  padding: 4px 0 4px 16px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.modal-close:hover {
  opacity: 1;
}

/* ─── PROGRESS BAR ───────────────────────────────────────────────── */
.progress-wrap {
  margin-bottom: 20px;
}

.progress-bar-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: white;
  border-radius: 2px;
  transition: width 0.4s ease;
  width: 0%;
}

.progress-label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.4;
  white-space: nowrap;
}

/* ─── STEP HEADER ────────────────────────────────────────────────── */
.step-header {
  margin-bottom: 24px;
}

.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.step-subtitle {
  font-size: 13px;
  opacity: 0.55;
}

/* ─── QUESTIONS ──────────────────────────────────────────────────── */
.step-questions {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.question-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.question-label {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.4;
}

/* ─── RADIO & CHECKBOX OPTIONS ───────────────────────────────────── */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.option-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}

.option-item:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.option-item input[type="radio"],
.option-item input[type="checkbox"] {
  accent-color: white;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  cursor: pointer;
}

.option-text {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.3;
}

/* Highlight selected options */
.option-item:has(input:checked) {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.07);
}

.option-item:has(input:checked) .option-text {
  opacity: 1;
}

/* ─── TEXT INPUTS ────────────────────────────────────────────────── */
.text-input {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: border-color 0.2s;
  outline: none;
}

.text-input::placeholder {
  opacity: 0.35;
}

.text-input:focus {
  border-color: rgba(255, 255, 255, 0.5);
}

.text-input.input-error {
  border-color: #e05555;
}

.textarea-input {
  min-height: 90px;
  resize: vertical;
}

/* ─── STEP NAVIGATION ────────────────────────────────────────────── */
.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-btn {
  padding: 11px 28px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  letter-spacing: 0.3px;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

.next-btn {
  background: white;
  color: black;
  border-color: white;
  font-weight: 500;
}

.next-btn:hover {
  background: rgba(255, 255, 255, 0.88);
}

.next-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.back-btn {
  opacity: 0.6;
}

.back-btn:hover {
  opacity: 1;
}

/* ─── SUCCESS SCREEN ─────────────────────────────────────────────── */
.success-msg {
  text-align: center;
  padding: 20px 0 10px;
}

.success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.success-msg h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  margin-bottom: 10px;
}

.success-msg p {
  font-size: 15px;
  opacity: 0.65;
  line-height: 1.6;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 42px;
    letter-spacing: 2px;
  }

  .lang-btn {
    padding: 14px 24px;
    font-size: 14px;
  }
}

/* Mobile */
@media (max-width: 600px) {

  /* HERO */
  .hero-content {
    padding: 0 24px;
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 32px;
    letter-spacing: 1.5px;
    line-height: 1.2;
  }

  .hero-content > p {
    font-size: 14px;
    margin-top: 8px;
  }

  /* Stack language buttons vertically */
  .hero-lang {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 280px;
    margin-top: 28px;
  }

  .lang-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
  }

  /* SIDEBAR narrower on small screens */
  .sidebar {
    width: 80vw;
    left: -80vw;
  }

  /* MODAL full screen on mobile */
  .modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }

  .modal {
    max-width: 100%;
    max-height: 92vh;
    padding: 16px 20px 24px;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
  }

  /* Slightly smaller text in survey */
  .step-title {
    font-size: 18px;
  }

  .step-subtitle {
    font-size: 12px;
  }

  .question-label {
    font-size: 13px;
  }

  .option-text {
    font-size: 13px;
  }

  /* Nav buttons full width on mobile */
  .step-nav {
    gap: 10px;
  }

  .nav-btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 13px;
    text-align: center;
  }
}

/* ─── COOKIE BANNER ──────────────────────────────────────────────── */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111;
  border-top: 1px solid rgba(255,255,255,0.12);
  z-index: 500;
  padding: 16px 24px;
}

.cookie-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-content p {
  font-size: 13px;
  opacity: 0.8;
  margin: 0;
  flex: 1;
  min-width: 240px;
  line-height: 1.5;
}

.cookie-content a {
  color: white;
  opacity: 0.7;
}

.cookie-content a:hover {
  opacity: 1;
}

.cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 9px 20px;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: white;
  transition: background 0.2s, border-color 0.2s;
}

.cookie-accept {
  background: white;
  color: black;
  border-color: white;
}

.cookie-accept:hover {
  background: rgba(255,255,255,0.88);
}

.cookie-decline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}

/* ─── GDPR CONSENT CHECKBOX ──────────────────────────────────────── */
.consent-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  line-height: 1.4;
}

.consent-item input[type="checkbox"] {
  accent-color: white;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.consent-text {
  font-size: 12px;
  opacity: 0.75;
}

.consent-error {
  font-size: 12px;
  color: #e05555;
  margin-top: 6px;
}

.consent-item:has(input:checked) {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.04);
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */
.site-footer {
  text-align: center;
  padding: 24px 20px 40px;
  font-size: 12px;
  opacity: 0.4;
}

.site-footer a {
  color: white;
  text-decoration: none;
}

.site-footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-sep {
  margin: 0 10px;
}
