/* ============================================================
   FILE: css/booking.css
   Yatharth Tour and Travels — Mobile Booking Page
   MOBILE ONLY (360px – 430px). No desktop/tablet media queries.
   ============================================================ */

/* ===================== 1. TOKENS ===================== */
:root{
  --navy:    #0B2447;
  --teal:    #1E88A8;
  --orange:  #FF7A1A;
  --green:   #2E9E6B;
  --bg-soft: #F7F9FC;
  --border:  #E4E9F0;
  --text:    #1A2233;
  --muted:   #5A6577;
  --red:     #E53935;
  --wa:      #25D366;

  --radius:  16px;
  --shadow:  0 4px 16px rgba(11,36,71,.06);
  --shadow-lg: 0 -6px 20px rgba(11,36,71,.08);

  --font-head: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-hi:   'Noto Sans Devanagari', 'Inter', sans-serif;

  --ease: cubic-bezier(.4,0,.2,1);
}

/* ===================== 2. RESET / BASE ===================== */
*,*::before,*::after{ box-sizing:border-box; }
[hidden]{ display:none !important; }

html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-bottom:140px;   /* keeps focused inputs above the sticky CTA */
}

body{
  margin:0;
  background:#E8EDF4;            /* soft grey "phone frame" on desktop */
  color:var(--text);
  font-family:var(--font-body);
  font-size:15px;
  line-height:1.45;
  overflow-x:hidden;
  -webkit-tap-highlight-color:transparent;
}

/* Hindi font swap */
body.lang-hi{ font-family:var(--font-hi); }
body.lang-hi .hero-title,
body.lang-hi .card-title,
body.lang-hi .app-title,
body.lang-hi .success-title,
body.lang-hi .btn-primary,
body.lang-hi .tour-name{ font-family:var(--font-hi); }

/* The phone frame */
.app{
  max-width:430px;
  margin:0 auto;
  background:#fff;
  min-height:100dvh;
  position:relative;
  overflow-x:hidden;
  box-shadow:0 0 0 1px rgba(11,36,71,.05), 0 18px 50px rgba(11,36,71,.10);
}

.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

/* ===================== 3. HEADER (sticky 56px) ===================== */
.app-header{
  position:sticky; top:0; z-index:60;
  height:56px;
  display:flex; align-items:center; justify-content:space-between;
  gap:6px;
  padding:0 8px;
  background:#fff;
  border-bottom:1px solid var(--border);
  transition:box-shadow .2s var(--ease);
}
.app-header.scrolled{ box-shadow:0 4px 16px rgba(11,36,71,.08); }

.icon-btn{
  width:44px; height:44px; flex:0 0 44px;
  display:grid; place-items:center;
  border:0; border-radius:12px; background:transparent;
  color:var(--navy); text-decoration:none;
  transition:background .2s, transform .12s;
}
.icon-btn:active{ background:var(--bg-soft); transform:scale(.94); }

.app-title{
  flex:1; margin:0; text-align:center;
  font-family:var(--font-head);
  font-size:15px; font-weight:600;
  color:var(--navy);
  letter-spacing:.1px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

.lang-pill{
  flex:0 0 auto;
  min-width:56px; height:40px;
  padding:0 12px;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--border);
  border-radius:999px;
  background:var(--bg-soft);
  color:var(--navy);
  font:600 12px/1 var(--font-body);
  letter-spacing:.5px;
  transition:transform .12s, background .2s;
}
.lang-pill:active{ transform:scale(.94); background:#EDF2F9; }

/* ===================== 4. HERO ===================== */
.hero{
  position:relative;
  overflow:hidden;
  padding:20px 20px 18px;
  min-height:180px;
  color:#fff;
  background:
    radial-gradient(140px 140px at 92% 6%, rgba(255,122,26,.50), transparent 70%),
    linear-gradient(135deg, #0B2447 0%, #143A66 55%, #1E88A8 100%);
}
.hero-blob{ position:absolute; border-radius:50%; pointer-events:none; }
.hero-blob.b1{ width:160px; height:160px; right:-46px; top:-56px;
  background:radial-gradient(circle, rgba(255,122,26,.38), transparent 70%); }
.hero-blob.b2{ width:96px; height:96px; right:26px; bottom:-34px;
  border:1px solid rgba(255,255,255,.18); }
.hero-blob.b3{ width:48px; height:48px; left:-14px; bottom:22px;
  border:1px solid rgba(255,255,255,.14); }

.hero-eyebrow{
  position:relative; margin:0 0 6px;
  font:600 10px/1 var(--font-body);
  letter-spacing:1.7px;
  color:#FFC08A;
}
.hero-title{
  position:relative; margin:0 0 6px;
  font-family:var(--font-head);
  font-size:26px; font-weight:700; line-height:1.15;
  letter-spacing:-.4px;
}
.hero-sub{
  position:relative; margin:0 0 12px;
  max-width:300px;
  font-size:12.5px; line-height:1.45;
  color:rgba(255,255,255,.82);
}
.trust-chips{
  position:relative;
  list-style:none; margin:0; padding:0;
  display:flex; flex-wrap:wrap; gap:6px;
}
.trust-chips li{
  padding:6px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  color:#EAF3FF;
  font:500 10px/1 var(--font-body);
  white-space:nowrap;
}

/* ===================== 5. PROGRESS (sticky under header) ===================== */
.progress{
  position:sticky; top:56px; z-index:55;
  display:flex; gap:6px;
  padding:8px 16px;
  background:rgba(255,255,255,.97);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--border);
}
.progress-seg{
  flex:1; height:4px;
  border-radius:99px;
  background:var(--border);
  overflow:hidden;
}
.progress-fill{
  display:block; height:100%; width:0;
  border-radius:99px;
  background:linear-gradient(90deg,#FF9A45,var(--orange));
  transition:width .3s var(--ease);
}
.progress-fill.done{ width:100%; }

/* ===================== 6. CARDS ===================== */
.card{
  margin:16px;
  padding:20px;
  background:#fff;
  border:1px solid rgba(228,233,240,.9);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.card-head{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px; margin-bottom:16px;
}
.card-title{
  margin:0;
  font-family:var(--font-head);
  font-size:16px; font-weight:600;
  color:var(--navy);
  letter-spacing:-.1px;
}
.step-pill{
  flex:0 0 auto;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(255,122,26,.10);
  color:var(--orange);
  font:600 10px/1 var(--font-body);
  white-space:nowrap;
}

/* ===================== 7. FIELDS ===================== */
.field{ margin-bottom:16px; }
.field:last-child{ margin-bottom:0; }

.control{ position:relative; }

.input{
  width:100%;
  height:52px;
  padding:0 16px;
  font-family:var(--font-body);
  font-size:16px;            /* >=16px prevents iOS zoom */
  color:var(--text);
  background:#fff;
  border:1.5px solid var(--border);
  border-radius:12px;
  outline:none;
  transition:border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  -webkit-appearance:none; appearance:none;
}
.input::placeholder{ color:#9AA6B8; }
.input:focus{
  border-color:var(--teal);
  box-shadow:0 0 0 3px rgba(30,136,168,.12);
}
.input[aria-invalid="true"]{
  border-color:var(--red);
  box-shadow:0 0 0 3px rgba(229,57,53,.10);
}
.input:disabled{
  background:#F1F4F9; color:var(--muted); cursor:not-allowed;
}
.input[type="date"]{
  -webkit-appearance:auto; appearance:auto;
  padding-right:12px;
}

.textarea{
  height:auto; min-height:98px;
  padding:14px 16px 22px;
  line-height:1.5;
  resize:none;
}

/* ---- Prefix inside input (+91 / ₹) ---- */
.prefix{
  position:absolute; left:0; top:0; bottom:0;
  display:flex; align-items:center; gap:4px;
  padding:0 10px 0 14px;
  border-right:1px solid var(--border);
  font:600 14px/1 var(--font-body);
  color:var(--navy);
  pointer-events:none;
}
.has-prefix{ padding-left:78px; }
.prefix-sm{ padding:0 0 0 14px; border-right:0; font-size:16px; }
.has-prefix-sm{ padding-left:34px; }

/* ---- Floating label ---- */
.float-label{
  position:absolute; left:16px; top:50%;
  transform:translateY(-50%);
  padding:0 4px;
  background:#fff;
  border-radius:4px;
  font-size:15px; color:var(--muted);
  pointer-events:none;
  transition:top .2s var(--ease), font-size .2s var(--ease),
             color .2s var(--ease), left .2s var(--ease);
}
.input:focus ~ .float-label,
.input:not(:placeholder-shown) ~ .float-label{
  top:0;
  font-size:11.5px; font-weight:600;
  letter-spacing:.2px;
  color:var(--teal);
}
.has-prefix ~ .float-label{ left:78px; }
.has-prefix:focus ~ .float-label,
.has-prefix:not(:placeholder-shown) ~ .float-label{ left:16px; }

/* ---- Green success tick ---- */
.tick{
  position:absolute; right:14px; top:50%;
  width:20px; height:20px; border-radius:50%;
  display:grid; place-items:center;
  background:var(--green); color:#fff;
  font-size:11px; font-weight:700;
  opacity:0; transform:translateY(-50%) scale(.4);
  transition:opacity .2s var(--ease), transform .2s var(--ease);
  pointer-events:none;
}
.tick.show{ opacity:1; transform:translateY(-50%) scale(1); }

/* ---- Static labels (accordion) ---- */
.lbl{
  display:block;
  margin:0 0 8px;
  font-size:12.5px; font-weight:600;
  color:var(--navy);
  letter-spacing:.1px;
}
.sub-lbl{
  display:block;
  margin:12px 0 6px;
  font-size:11.5px; font-weight:600;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.6px;
}

/* ---- Hints / errors ---- */
.hint{
  margin:6px 0 0;
  font-size:11.5px; color:var(--muted);
}
.hint-green{
  margin:14px 0 0;
  font-size:12px; font-weight:600;
  color:var(--green);
}
.err-text{
  margin:6px 0 0;
  font-size:12px; font-weight:500;
  color:var(--red);
  line-height:1.35;
}

/* ---- Character counter ---- */
.char-count{
  display:block;
  margin-top:6px;
  text-align:right;
  font-size:11px; color:var(--muted);
}

/* ===================== 8. TOUR GRID ===================== */
.tour-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:0; padding:0;
  border:0;
  min-inline-size:0;
}
.tour-card{
  position:relative;
  min-height:100px;
  padding:12px;
  display:flex; flex-direction:column; gap:3px;
  background:#fff;
  border:1.5px solid var(--border);
  border-radius:14px;
  cursor:pointer;
  overflow:hidden;
  transition:border-color .2s var(--ease), background .2s var(--ease),
             transform .12s var(--ease), box-shadow .2s var(--ease);
}
.tour-card.wide{
  grid-column:1 / -1;
  align-items:center;
  text-align:center;
}
.tour-card:active{ transform:scale(.97); }
.tour-card.is-selected{
  border-color:var(--orange);
  background:rgba(255,122,26,.06);
  box-shadow:inset 0 0 0 1.5px var(--orange);
}
.tour-emoji{ font-size:22px; line-height:1; }
.tour-name{
  font-family:var(--font-head);
  font-size:13.5px; font-weight:600;
  color:var(--text);
}
.tour-desc{
  font-size:11px; line-height:1.3;
  color:var(--muted);
  display:-webkit-box;
  line-clamp:2;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.tour-tick{
  position:absolute; top:8px; right:8px;
  width:18px; height:18px; border-radius:50%;
  display:grid; place-items:center;
  background:var(--orange); color:#fff;
  font-size:10px; font-weight:700;
  opacity:0; transform:scale(.5);
  transition:opacity .2s var(--ease), transform .2s var(--ease);
}
.tour-card.is-selected .tour-tick{ opacity:1; transform:scale(1); }

/* ===================== 9. ACCORDION ===================== */
.acc-card{ margin:16px; }

.acc-toggle{
  width:100%;
  min-height:56px;
  display:flex; align-items:center; gap:10px;
  padding:14px 16px;
  background:rgba(30,136,168,.05);
  border:1.5px dashed rgba(30,136,168,.5);
  border-radius:14px;
  color:var(--teal);
  font:600 13.5px/1.2 var(--font-body);
  text-align:left;
  transition:background .2s var(--ease), border-color .2s var(--ease);
}
.acc-toggle:active{ background:rgba(30,136,168,.10); }
.acc-sign{
  flex:0 0 auto;
  width:18px;
  font-size:18px; font-weight:600; line-height:1;
  text-align:center;
}
.acc-text{ flex:1; }
.acc-chev{
  flex:0 0 auto;
  font-size:20px; line-height:1;
  transition:transform .25s var(--ease);
}
.acc-card.is-open .acc-chev{ transform:rotate(90deg); }

.acc-body{
  max-height:0;
  overflow:hidden;
  opacity:0;
  transition:max-height .25s var(--ease), opacity .25s var(--ease);
}
.acc-card.is-open .acc-body{ opacity:1; }
.acc-inner{
  margin-top:12px;
  padding:18px 16px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

/* ---- Destination chips ---- */
.chips{
  display:flex; flex-wrap:wrap; gap:8px;
  margin-top:8px;
}
.chip{
  min-height:36px;
  padding:0 13px;
  border:1px solid var(--border);
  border-radius:999px;
  background:var(--bg-soft);
  color:var(--navy);
  font:500 12px/1 var(--font-body);
  transition:transform .12s var(--ease), background .2s;
}
.chip:active{ transform:scale(.96); background:rgba(30,136,168,.10); }

/* ---- Toggle switch ---- */
.toggle-row{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px; margin-bottom:10px;
}
.switch{
  display:inline-flex; align-items:center; gap:8px;
  min-height:44px;
  cursor:pointer;
}
.switch input{
  position:absolute; opacity:0; width:0; height:0;
}
.switch-track{
  position:relative;
  width:40px; height:24px;
  border-radius:99px;
  background:var(--border);
  transition:background .2s var(--ease);
  flex:0 0 auto;
}
.switch-track::after{
  content:"";
  position:absolute; top:3px; left:3px;
  width:18px; height:18px; border-radius:50%;
  background:#fff;
  box-shadow:0 1px 3px rgba(0,0,0,.22);
  transition:transform .2s var(--ease);
}
.switch input:checked + .switch-track{ background:var(--green); }
.switch input:checked + .switch-track::after{ transform:translateX(16px); }
.switch-text{ font-size:11.5px; font-weight:500; color:var(--muted); }

/* ===================== 10. LIVE SUMMARY ===================== */
.summary-card{
  margin:16px;
  padding:18px 16px;
  background:var(--bg-soft);
  border:1px solid var(--border);
  border-radius:var(--radius);
  animation:fadeUp .3s var(--ease) both;
}
.summary-head{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px; margin-bottom:10px;
}
.summary-head h3{
  margin:0;
  font-family:var(--font-head);
  font-size:14px; font-weight:600; color:var(--navy);
}
.saved-tick{
  font-size:10.5px; font-weight:600;
  color:var(--green);
  white-space:nowrap;
}
.summary-rows{ margin:0; padding:0; }
.sum-row{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:14px;
  padding:6px 0;
  font-size:13px;
}
.sum-row dt{ color:var(--muted); flex:0 0 auto; }
.sum-row dd{
  margin:0; text-align:right;
  font-weight:600; color:var(--text);
  word-break:break-word;
}
.summary-total{
  margin-top:10px; padding-top:12px;
  border-top:1px dashed rgba(11,36,71,.14);
}
.total-row{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px;
  font-size:14px;
}
.total-row span{ color:var(--muted); font-weight:500; }
.total-row strong{
  font-family:var(--font-head);
  font-size:17px; color:var(--navy);
}
.total-note{
  margin:4px 0 0; text-align:right;
  font-size:10.5px; color:var(--muted);
}

/* ===================== 11. STICKY CTA BAR ===================== */
.cta-bar{
  position:fixed; bottom:0; left:50%;
  transform:translateX(-50%);
  width:100%; max-width:430px;
  z-index:70;
  padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  background:#fff;
  border-top:1px solid var(--border);
  box-shadow:var(--shadow-lg);
}
body.is-success .cta-bar{ display:none; }

.cta-row{ display:flex; align-items:center; gap:12px; }

.btn-primary{
  position:relative;
  flex:1 1 auto;
  height:52px;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:0 20px;
  border:0; border-radius:999px;
  background:linear-gradient(135deg,#FF9A45 0%, var(--orange) 100%);
  color:#fff;
  font-family:var(--font-head);
  font-size:16px; font-weight:700;
  letter-spacing:.3px;
  box-shadow:0 8px 20px rgba(255,122,26,.28);
  transition:transform .12s var(--ease), opacity .2s, box-shadow .2s;
  overflow:hidden;
}
.btn-primary:active:not(:disabled){ transform:scale(.97); }
.btn-primary:disabled{
  opacity:.5; box-shadow:none; cursor:not-allowed;
}
.btn-arrow{ font-size:17px; line-height:1; }
.btn-primary.pulse{ animation:pulseOnce .45s var(--ease); }

.spinner{
  display:none;
  width:18px; height:18px;
  border:2px solid rgba(255,255,255,.35);
  border-top-color:#fff;
  border-radius:50%;
  animation:spin .7s linear infinite;
}
.btn-primary.loading .btn-label,
.btn-primary.loading .btn-arrow{ display:none; }
.btn-primary.loading .spinner{ display:block; }

.btn-wa{
  flex:0 0 52px;
  width:52px; height:52px;
  display:grid; place-items:center;
  border-radius:50%;
  background:var(--wa);
  color:#fff;
  text-decoration:none;
  box-shadow:0 8px 18px rgba(37,211,102,.30);
  transition:transform .12s var(--ease);
  overflow:hidden;
}
.btn-wa:active{ transform:scale(.94); }

.cta-note{
  margin:8px 0 0;
  text-align:center;
  font-size:10.5px; color:var(--muted);
}

/* Spacer so the fixed bar never hides the last content */
.cta-spacer{ height:100px; }

/* ===================== 12. SUCCESS SCREEN ===================== */
.success-screen{
  position:fixed; inset:0; left:0; right:0;
  max-width:430px; margin:0 auto;
  z-index:100;
  display:flex; align-items:center; justify-content:center;
  padding:36px 20px calc(36px + env(safe-area-inset-bottom));
  background:linear-gradient(180deg,#F0FBF5 0%,#FFFFFF 58%);
  overflow-y:auto;
  animation:fadeIn .3s var(--ease) both;
  outline:none;
}
.success-inner{
  width:100%;
  display:flex; flex-direction:column; align-items:center;
  text-align:center;
}
.success-badge{
  width:96px; height:96px;
  border-radius:50%;
  display:grid; place-items:center;
  background:radial-gradient(circle at 32% 30%, #56C795, var(--green));
  box-shadow:0 16px 40px rgba(46,158,107,.34);
  animation:popIn .4s cubic-bezier(.2,.9,.3,1.3) both;
}
.success-title{
  margin:22px 0 8px;
  font-family:var(--font-head);
  font-size:26px; font-weight:700;
  color:var(--navy);
  letter-spacing:-.4px;
}
.success-sub{
  margin:0 0 18px;
  max-width:320px;
  font-size:14px; line-height:1.5;
  color:var(--muted);
}
.success-recap{
  width:100%;
  margin-bottom:22px;
  padding:14px 16px;
  border-radius:14px;
  background:var(--bg-soft);
  border:1px solid var(--border);
  font-size:13px; font-weight:600;
  color:var(--navy);
  line-height:1.5;
}
.btn-wa-full{
  width:100%; height:52px;
  display:flex; align-items:center; justify-content:center; gap:10px;
  border-radius:999px;
  background:var(--wa);
  color:#fff; text-decoration:none;
  font-family:var(--font-head);
  font-size:15px; font-weight:700;
  box-shadow:0 8px 20px rgba(37,211,102,.28);
  transition:transform .12s var(--ease);
  overflow:hidden;
}
.btn-wa-full:active{ transform:scale(.97); }

.btn-outline{
  width:100%; height:48px;
  margin-top:12px;
  border:1.5px solid var(--border);
  border-radius:999px;
  background:#fff;
  color:var(--navy);
  font:600 14px/1 var(--font-body);
  transition:transform .12s var(--ease), background .2s;
  overflow:hidden;
}
.btn-outline:active{ transform:scale(.97); background:var(--bg-soft); }

.link-tertiary{
  margin-top:18px;
  font-size:13px; font-weight:600;
  color:var(--teal);
  text-decoration:none;
  padding:10px;
}
.link-tertiary:active{ opacity:.7; }

/* ---- Confetti (CSS only, 1.5s) ---- */
.confetti{
  position:absolute; inset:0;
  overflow:hidden; pointer-events:none;
}
.confetti span{
  position:absolute; top:16%;
  width:7px; height:7px; border-radius:2px;
  opacity:0;
  animation:confetti 1.5s ease-out forwards;
}
.confetti span:nth-child(1){ left:14%; background:#FF7A1A; --dx:-26px; animation-delay:.05s; }
.confetti span:nth-child(2){ left:24%; background:#2E9E6B; --dx:18px;  animation-delay:.15s; }
.confetti span:nth-child(3){ left:34%; background:#1E88A8; --dx:-14px; animation-delay:.1s;  }
.confetti span:nth-child(4){ left:44%; background:#FFB562; --dx:24px;  animation-delay:.2s;  }
.confetti span:nth-child(5){ left:54%; background:#2E9E6B; --dx:-20px; animation-delay:.08s; }
.confetti span:nth-child(6){ left:64%; background:#FF7A1A; --dx:16px;  animation-delay:.18s; }
.confetti span:nth-child(7){ left:72%; background:#1E88A8; --dx:-22px; animation-delay:.12s; }
.confetti span:nth-child(8){ left:80%; background:#FFB562; --dx:20px;  animation-delay:.22s; }
.confetti span:nth-child(9){ left:88%; background:#2E9E6B; --dx:-16px; animation-delay:.16s; }
.confetti span:nth-child(10){ left:18%; background:#FF7A1A; --dx:28px; animation-delay:.26s; }

/* ===================== 13. LANGUAGE SHEET ===================== */
.sheet-backdrop{
  position:fixed; inset:0;
  z-index:110;
  background:rgba(11,36,71,.45);
  opacity:0;
  transition:opacity .25s var(--ease);
}
.sheet-backdrop.show{ opacity:1; }

.lang-sheet{
  position:fixed; bottom:0; left:50%;
  transform:translate(-50%,100%);
  width:100%; max-width:430px;
  z-index:120;
  padding:10px 16px calc(20px + env(safe-area-inset-bottom));
  background:#fff;
  border-radius:20px 20px 0 0;
  box-shadow:0 -8px 30px rgba(11,36,71,.18);
  transition:transform .25s var(--ease);
}
.lang-sheet.show{ transform:translate(-50%,0); }

.sheet-grab{
  width:40px; height:4px;
  margin:2px auto 14px;
  border-radius:99px;
  background:var(--border);
}
.lang-sheet h3{
  margin:0 0 10px 4px;
  font-family:var(--font-head);
  font-size:13px; font-weight:600;
  color:var(--muted);
}
.lang-opt{
  width:100%; min-height:56px;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 16px;
  margin-bottom:8px;
  border:1.5px solid var(--border);
  border-radius:14px;
  background:#fff;
  color:var(--text);
  font:500 15px/1 var(--font-body);
  transition:border-color .2s, background .2s, transform .12s;
}
.lang-opt:active{ transform:scale(.98); }
.lang-opt.is-active{
  border-color:var(--orange);
  background:rgba(255,122,26,.06);
  font-weight:600;
  color:var(--navy);
}
.lang-ok{ opacity:0; color:var(--orange); font-weight:700; }
.lang-opt.is-active .lang-ok{ opacity:1; }

/* ===================== 14. TOAST ===================== */
.toast{
  position:fixed; top:64px; left:50%;
  transform:translate(-50%,-10px);
  z-index:130;
  width:calc(100% - 32px); max-width:398px;
  padding:12px 14px;
  border-radius:12px;
  background:#2A1620;
  color:#fff;
  font-size:12.5px; font-weight:500;
  text-align:center;
  line-height:1.4;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s var(--ease), transform .2s var(--ease);
  box-shadow:0 10px 26px rgba(0,0,0,.22);
}
.toast.show{ opacity:1; transform:translate(-50%,0); }

/* ===================== 15. FOOTER ===================== */
.app-footer{
  padding:8px 16px 120px;   /* clears the sticky CTA */
  text-align:center;
}
.foot-card{
  margin-bottom:20px;
  padding:14px;
  background:var(--bg-soft);
  border:1px solid var(--border);
  border-radius:14px;
}
.foot-addr{
  margin:0 0 10px;
  font-size:11.5px; line-height:1.45;
  color:var(--muted);
}
.foot-phones{
  display:flex; flex-wrap:wrap; gap:6px; justify-content:center;
}
.foot-phone{
  display:inline-flex; align-items:center; gap:5px;
  padding:7px 10px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--border);
  font-size:10.5px; font-weight:600;
  color:var(--navy);
  text-decoration:none;
}
.foot-phone span{ color:var(--muted); font-weight:500; }

.foot-brand{ margin-bottom:14px; }
.foot-logo{
  display:block;
  width:40px; height:40px;
  margin-bottom:8px;
  object-fit:contain;
}
.foot-name{
  margin:0 0 2px;
  font-family:var(--font-head);
  font-size:13px; font-weight:600; color:var(--navy);
}
.foot-tag{
  margin:0;
  font-size:11px; color:var(--muted);
}
.foot-links{
  margin:14px 0 8px;
  font-size:11.5px;
  color:var(--muted);
}
.foot-links a{
  color:var(--muted);
  text-decoration:none;
  padding:6px 4px;
}
.foot-links a:active{ color:var(--teal); }
.foot-copy{
  margin:0;
  font-size:10.5px;
  color:#9AA6B8;
}

/* ===================== 16. RIPPLE + ANIMATIONS ===================== */
.ripple{ position:relative; overflow:hidden; }
.ripple::after{
  content:"";
  position:absolute; inset:0;
  background:radial-gradient(circle at 50% 50%, rgba(255,255,255,.55), transparent 62%);
  opacity:0;
  transform:scale(.2);
  pointer-events:none;
}
.ripple.is-rippling::after{
  animation:ripple .4s ease-out;
}
.tour-card.ripple::after,
.chip.ripple::after{
  background:radial-gradient(circle at 50% 50%, rgba(255,122,26,.28), transparent 62%);
}

@keyframes ripple{
  from{ opacity:.65; transform:scale(.2); }
  to{ opacity:0; transform:scale(1.5); }
}
@keyframes spin{ to{ transform:rotate(360deg); } }

@keyframes shake{
  0%,100%{ transform:translateX(0); }
  25%{ transform:translateX(-4px); }
  75%{ transform:translateX(4px); }
}
.shake{ animation:shake .3s var(--ease); }

@keyframes fadeIn{ from{ opacity:0; } to{ opacity:1; } }
@keyframes fadeUp{
  from{ opacity:0; transform:translateY(8px); }
  to{ opacity:1; transform:translateY(0); }
}
@keyframes popIn{
  from{ opacity:0; transform:scale(.4); }
  to{ opacity:1; transform:scale(1); }
}
@keyframes pulseOnce{
  0%{ box-shadow:0 8px 20px rgba(255,122,26,.28), 0 0 0 0 rgba(255,122,26,.45); }
  100%{ box-shadow:0 8px 20px rgba(255,122,26,.28), 0 0 0 14px rgba(255,122,26,0); }
}
@keyframes confetti{
  0%{ opacity:0; transform:translate3d(0,0,0) scale(.6) rotate(0deg); }
  15%{ opacity:1; }
  100%{ opacity:0; transform:translate3d(var(--dx,0),140px,0) scale(1) rotate(220deg); }
}

/* ===================== 17. A11Y ===================== */
:focus-visible{
  outline:2px solid var(--teal);
  outline-offset:2px;
}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
}