
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:     #0047AB;
  --primary-dk:  #002f7a;
  --accent:      #00B4D8;
  --accent-glow: rgba(0,180,216,0.25);
  --gold:        #D4AF37;
  --gold-glow:   rgba(212,175,55,0.25);
  --bg:          #08111f;
  --surface:     rgba(255,255,255,0.04);
  --surface2:    rgba(255,255,255,0.07);
  --border:      rgba(255,255,255,0.10);
  --border-hi:   rgba(255,255,255,0.18);
  --text:        #eef2ff;
  --text-muted:  rgba(238,242,255,0.50);
  --radius:      18px;
  --radius-sm:   11px;
  --shadow:      0 32px 80px rgba(0,0,0,0.7);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  /*background:
    radial-gradient(ellipse 100% 55% at 15% 0%,   rgba(0,71,171,0.40) 0%, transparent 60%),
    radial-gradient(ellipse 70%  80% at 85% 100%,  rgba(0,180,216,0.18) 0%, transparent 60%),
    #08111f;*/
  background-image: url(../images/hp.png), linear-gradient(to bottom, #e4b66f 0%,#ffddb1 100%);
  background-position: center top, left top;
  background-repeat: repeat-x, no-repeat;
  background-size: auto 550px, 100% 100%;
}

/* ── Layout ─────────────────────────────────── */
#app {
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* ═══════════════════════════════════════════════
   GLOBAL LOGO – fixed, always on top
═══════════════════════════════════════════════ */
#global-logo {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 28px;
  display: flex;
  align-items: center;  /* don't block clicks below */
}

/* ── Logo styling ───────────────────────────── */
.ls-logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  object-fit: contain;
}
.ls-logo-fallback {
  display: none;
  align-items: center;
  gap: 10px;
}
.ls-logo-badge {
  width: 40px; height: 40px;
  background: var(--gold); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; color: #1a0e00; letter-spacing: -0.5px;
}
.ls-logo-txt {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: #fff; line-height: 1.4;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

/* On form slides the logo needs a dark backdrop so it's readable */
#global-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,12,28,0.55) 0%, transparent 100%);
  z-index: -1;
}

/* ═══════════════════════════════════════════════
   LANG SCREEN – full-screen photo hero (separate from GSAP slides)
═══════════════════════════════════════════════ */
#lang-screen {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* ── Card wrapper ───────────────────────────── */
.card-wrapper {
  position: relative;
  z-index: 5;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 84px 14px 40px;  /* top = global logo height */
}

.card {
  width: 100%;
  max-width: 540px;
  background: rgba(10, 18, 38, 0.88);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border: 1px solid var(--border);
  border-top: 1px solid var(--border-hi);
  border-radius: 24px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(0,71,171,0.15);
  overflow: hidden;
}

/* ── Background images ──────────────────────── */
.ls-bg {
  position: absolute; inset: 0; z-index: 0;
  background: #001a3d;
  overflow: hidden;   /* clip slides during x-transform */
}
.ls-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: translateX(100%);
  /* no CSS transition – GSAP drives x & opacity */
  user-select: none;
  -webkit-user-select: none;
}
.ls-img-active {
  opacity: 1;
  transform: translateX(0%);
}

.ls-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5,12,28,0.55)  0%,
    rgba(5,12,28,0.20) 35%,
    rgba(5,12,28,0.45) 65%,
    rgba(5,12,28,0.92) 100%
  );
}

/* ── Top spacer (reserves space for fixed global logo) ── */
.ls-top-spacer {
  height: 84px;   /* matches #global-logo padding + logo height */
  flex-shrink: 0;
}

/* ── Middle: tagline ────────────────────────── */
.ls-middle {
  position: relative; z-index: 2;
  padding: 0 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 16px;
}
.ls-tagline-main {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  margin-bottom: 10px;
}
@media (min-width: 400px) { .ls-tagline-main { font-size: 36px; } }

.ls-tagline-sub {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}


/* ── Bottom: lang cards + button ────────────── */
.ls-bottom {
  position: relative; z-index: 2;
  padding: 0 20px 36px;
  display: flex;
  flex-direction: row;
  gap: 12px;
}
@media (max-width: 480px) { .ls-bottom { flex-direction: column; } }

/* Override lang-cards for compact hero style */
#lang-screen .lang-cards {
  margin-bottom: 0;
  gap: 10px;
}
#lang-screen .lang-card label {
  padding: 11px 16px;
  flex-direction: row;
  justify-content: flex-start;
  /*gap: 10px;*/
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.20);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
#lang-screen .lang-card label:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(212,175,55,0.5);
}
#lang-screen .lang-card input[type="radio"]:checked + label {
  background: rgba(212,175,55,0.20);
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 4px 16px rgba(212,175,55,0.2);
}
#lang-screen .lang-flag  { font-size: 20px; }
#lang-screen .lang-name  { font-size: 14px; font-weight: 600; flex: 1; color: #fff; }
#lang-screen .lang-tick  {
  width: 18px; height: 18px;
  font-size: 9px;
  border-color: rgba(255,255,255,0.3);
}
#lang-screen .lang-card input[type="radio"]:checked + label .lang-name { color: var(--gold); }
#lang-screen .lang-card input[type="radio"]:checked + label .lang-tick {
  background: var(--gold); border-color: var(--gold); color: #1a0e00;
}

/* ── Button on lang screen ──────────────────── */
#lang-screen .btn-gold {
  box-shadow: 0 8px 28px rgba(212,175,55,0.4);
}

/* ── Slides Engine ──────────────────────────── */
.slides-track {
  position: relative;
  overflow: hidden;
}
.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  padding: 32px 24px 28px;
  opacity: 0;
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
}
.slide.slide-active {
  opacity: 1;
  pointer-events: auto;
  clip-path: inset(0 0 0% 0);
  position: relative;
}
@media (min-width: 480px) {
  .slide { padding: 40px 34px 32px; }
}

/* ── Progress bar ───────────────────────────── */
.progress-wrap {
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 8px;
}
.prog-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background .4s, transform .4s;
}
.prog-dot.done   { background: var(--accent); }
.prog-dot.active {
  background: var(--gold); transform: scale(1.4);
  box-shadow: 0 0 8px var(--gold-glow);
}
.prog-line {
  flex: 1; height: 2px;
  background: var(--border); border-radius: 2px; overflow: hidden;
}
.prog-line .fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transition: width .6s cubic-bezier(.4,0,.2,1);
}
.prog-line.filled .fill { width: 100%; }

/* ── Slide headings ─────────────────────────── */
.slide-eyebrow {
  font-size: 10px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px;
}
.slide-title {
  font-size: 22px; font-weight: 800;
  color: var(--text); line-height: 1.15; margin-bottom: 10px;
}
@media (min-width: 480px) { .slide-title { font-size: 26px; } }
.slide-select_area{
  font-size: 12px; font-weight: 800;
  color: var(--text); margin-bottom: 14px;
}
@media (min-width: 480px) { .slide-select_area { font-size: 14px; } }
/* ── Language slide ─────────────────────────── */
.lang-hero-text {
  text-align: center; margin-bottom: 30px; padding-top: 6px;
}
.lang-hero-text .main {
  font-size: 20px; font-weight: 800;
  color: var(--text); margin-bottom: 8px; line-height: 1.2;
}
@media (min-width: 480px) { .lang-hero-text .main { font-size: 23px; } }
.lang-hero-text .sub {
  font-size: 13px; font-weight: 400;
  color: var(--text-muted); line-height: 1.65;
}

.lang-cards { display: flex; gap: 14px; margin-bottom: 30px; }
.lang-card  { flex: 1; position: relative; }
.lang-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.lang-card label {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  padding: 22px 16px;
  border: 2px solid var(--border); border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .25s, background .25s, box-shadow .25s;
  background: var(--surface); user-select: none;
}
.lang-card label:hover {
  border-color: rgba(212,175,55,0.4);
  background: rgba(212,175,55,0.05);
}
.lang-card input[type="radio"]:checked + label {
  border-color: var(--gold);
  background: rgba(212,175,55,0.10);
  box-shadow: 0 0 0 1px var(--gold), 0 8px 28px var(--gold-glow);
}
.lang-flag { font-size: 30px; }
.lang-name { font-size: 14px; font-weight: 700; color: var(--text-muted); transition: color .25s; }
.lang-card input[type="radio"]:checked + label .lang-name { color: var(--gold); }
.lang-tick {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; transition: all .25s;
}
.lang-card input[type="radio"]:checked + label .lang-tick {
  background: var(--gold); border-color: var(--gold); color: #1a0e00;
}

/* ── Form controls ──────────────────────────── */
.fgroup { margin-bottom: 17px; }
.flabel {
  display: block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 8px;
}
.flabel .req { color: var(--accent); margin-left: 3px; }
.flabel .opt { color: var(--text-muted); font-weight: 400; font-size: 10px; margin-left: 3px; }

.finput {
  width: 100%; padding: 14px 16px;
  background: var(--surface2);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-size: 15px; font-family: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none;
}
.finput::placeholder { color: var(--text-muted); }
.finput:focus {
  border-color: var(--accent);
  background: rgba(0,180,216,0.05);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.13);
}
.finput.has-error {
  border-color: #ff4d6a;
  box-shadow: 0 0 0 3px rgba(255,77,106,0.13);
}

.ferror { font-size: 12px; color: #ff4d6a; margin-top: 6px; display: none; }
.ferror.show { display: block; }

/* ── Terminal switch ────────────────────────── */
.terminal-switch-wrap {
  margin-bottom: 4px;
}
.terminal-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.ts-btn {
  display: flex;
  flex-direction: row;
  gap: 5px;
  padding: 13px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  transition: all .2s;
  text-align: left;
  width: 100%;
  user-select: none;
}
.ts-btn:hover {
  border-color: rgba(0,180,216,0.35);
  background: rgba(0,180,216,0.04);
}
.ts-btn.active {
  border-color: var(--accent);
  background: rgba(0,180,216,0.09);
  box-shadow: 0 0 0 1px var(--accent), 0 4px 14px rgba(0,180,216,0.13);
}
.ts-icon { font-size: 20px; line-height: 1; }
.area-icon-svg { 
  width: 28px; 
  height: 28px; 
  object-fit: contain; 
  display: block; filter: brightness(0) invert(1); 
  opacity: 0.85; 
  flex-shrink: 0; 
}
.ts-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}
.ts-num {
  color: var(--text);
}
.ts-btn.active .ts-num { opacity: 1; }
.ts-btn.active .area-icon-svg { opacity: 1; filter: brightness(0) saturate(100%) invert(58%) sepia(77%) saturate(400%) hue-rotate(160deg) brightness(100%); }

.area-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

/* ── Area grid ──────────────────────────────── */
.area-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 9px; margin-bottom: 26px;
}
.area-item { position: relative; }
.area-item input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.area-item label {
  display: flex; flex-direction: row; gap: 5px;
  padding: 13px 12px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  cursor: pointer; transition: all .2s;
  background: var(--surface); height: 100%; user-select: none;
  align-items: center;
}
.area-item label:hover {
  border-color: rgba(0,180,216,0.35);
  background: rgba(0,180,216,0.04);
}
.area-item input[type="radio"]:checked + label {
  border-color: var(--accent);
  background: rgba(0,180,216,0.09);
  box-shadow: 0 0 0 1px var(--accent), 0 4px 14px rgba(0,180,216,0.13);
}
.area-icon { font-size: 20px; line-height: 1; }
.area-item input[type="radio"]:checked + label .area-icon-svg { opacity: 1; filter: brightness(0) saturate(100%) invert(58%) sepia(77%) saturate(400%) hue-rotate(160deg) brightness(100%); }
.area-name { font-size: 12px; font-weight: 600; color: var(--text); line-height: 1.25; }
#area-restrooms + label .area-icon-svg,
#area-fnb       + label .area-icon-svg { height: 50px; }

/* ── Check-in sub options ───────────────────── */
.ci-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.ci-item { position: relative; }
.ci-item input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.ci-item label {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  cursor: pointer; background: var(--surface);
  transition: all .2s; user-select: none;
}
.ci-item label:hover {
  border-color: rgba(0,180,216,0.35);
  background: rgba(0,180,216,0.04);
}
.ci-item input[type="radio"]:checked + label {
  border-color: var(--accent);
  background: rgba(0,180,216,0.09);
  box-shadow: 0 0 0 1px var(--accent), 0 4px 16px rgba(0,180,216,0.13);
}
.ci-icon { font-size: 26px; flex-shrink: 0; }
.ci-item input[type="radio"]:checked + label .area-icon-svg { opacity: 1; filter: brightness(0) saturate(100%) invert(58%) sepia(77%) saturate(400%) hue-rotate(160deg) brightness(100%); }
.ci-text { flex: 1; }
.ci-main { font-size: 15px; font-weight: 600; color: var(--text); }
.ci-sub  { font-size: 11px; color: var(--text-muted); margin-top: 2px; line-height: 1.3; }
.ci-dot  {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--border); flex-shrink: 0;
  transition: all .2s;
  display: flex; align-items: center; justify-content: center;
  display: none;
}
.ci-item input[type="radio"]:checked + label .ci-dot {
  background: var(--accent); border-color: var(--accent);
}
.ci-item input[type="radio"]:checked + label .ci-dot::after {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: #fff;
}

/* ── Textarea ───────────────────────────────── */
.ftextarea {
  width: 100%; padding: 15px 16px;
  background: var(--surface2);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-size: 15px; font-family: inherit;
  outline: none; resize: vertical; min-height: 130px;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.ftextarea::placeholder { color: var(--text-muted); }
.ftextarea:focus {
  border-color: var(--accent);
  background: rgba(0,180,216,0.05);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.13);
}
.ftextarea.has-error {
  border-color: #ff4d6a;
  box-shadow: 0 0 0 3px rgba(255,77,106,0.13);
}

/* ── Selected-area badge ─────────────────────── */
.area-badge {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  margin-bottom: 18px;
}
.area-badge-lbl {
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600;
}
.area-badge-val { font-size: 14px; font-weight: 600; color: var(--accent); }

/* ── Buttons ────────────────────────────────── */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 16px 24px;
  border: none; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 16px; font-weight: 700; letter-spacing: 0.3px;
  cursor: pointer; outline: none; position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0); transition: background .15s;
}
.btn:active::after { background: rgba(255,255,255,0.07); }

.btn-primary {
  background: linear-gradient(130deg, var(--primary) 0%, #0077be 50%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 8px 28px rgba(0,71,171,0.40);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,71,171,0.50); }
.btn-primary:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(130deg, #9a7800 0%, var(--gold) 50%, #e8d060 100%);
  color: #1a0e00;
  box-shadow: 0 8px 28px rgba(212,175,55,0.38);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(212,175,55,0.48); }
.btn-gold:active { transform: translateY(0); }

.btn-spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: #fff; border-radius: 50%;
  animation: spin .65s linear infinite;
  position: absolute;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn.loading .btn-label  { opacity: 0; }
.btn.loading .btn-spinner { display: block; }

/* ── Button row (Back + Next side by side) ──── */
.btn-row {
  display: flex;
  gap: 10px;
}
.btn-row .btn-back    { flex: 0 0 auto; width: auto; padding: 16px 20px; }
.btn-row .btn-primary { flex: 1; }
.btn-row .btn-gold    { flex: 1; }

.btn-back {
  background: var(--surface2);
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  box-shadow: none;
  font-size: 15px;
}
.btn-back:hover {
  background: var(--surface);
  border-color: var(--border-hi);
  color: var(--text);
  transform: translateY(-1px);
  box-shadow: none;
}
.btn-back:active { transform: translateY(0); }

/* ── End screens ────────────────────────────── */
.end-screen { display: none; padding: 52px 28px 44px; text-align: center; }
.end-screen.show { display: block; }


.end-icon-wrap {
  width: 84px; height: 84px; border-radius: 50%;
  margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center; font-size: 38px;
}
.end-icon-wrap.success {
  background: linear-gradient(135deg, #004cb3, var(--accent));
  box-shadow: 0 14px 44px rgba(0,180,216,0.4);
}
.end-icon-wrap.already {
  background: rgba(212,175,55,0.15);
  border: 2px solid rgba(212,175,55,0.4);
}
.end-title { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.end-sub   { font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 300px; margin: 0 auto; }

/* ── Footer ─────────────────────────────────── */
.card-footer {
  border-top: 1px solid var(--border);
  padding: 13px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-brand { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }
.footer-stars  { color: var(--gold); font-size: 12px; letter-spacing: 3px; }

/* ── Scrollbar ──────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ── Hide reCAPTCHA badge (Google allows this if attribution shown in UI) ── */
.grecaptcha-badge { visibility: hidden !important; }

/* ── reCAPTCHA attribution text in footer ── */
.recaptcha-note { font-size: 10px; color: var(--text-muted); opacity: 0.6; }
.recaptcha-note a { color: var(--text-muted); text-decoration: underline; }
