/* =====================================================================
   India Travels Hub — Core Stylesheet (mobile-first)
   Layout enhancements for larger screens live in responsive.css
   ---------------------------------------------------------------------
   1. Tokens          8.  Cards (destination / package / vendor)
   2. Base & utils    9.  Modals, sheets, toasts, lightbox
   3. Buttons         10. Search results & filters
   4. Badges & chips  11. Package details
   5. Forms           12. Vendor profile
   6. Header / nav    13. Registration, pricing
   7. Hero & home     14. Dashboard
                      15. Footer & bottom nav
   ===================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  --primary: #1554d1;
  --primary-dark: #0e3b9c;
  --primary-50: #eef4ff;
  --primary-100: #dbe7ff;
  --navy: #0b1b3f;
  --accent: #ff7a1a;
  --accent-dark: #e5620a;
  --gold: #f2a900;
  --gold-50: #fff7e0;
  --success: #15803d;
  --success-50: #e9f8ef;
  --wa: #179c4b;
  --wa-dark: #11803c;
  --danger: #dc2626;
  --danger-50: #fdecec;
  --warning: #b45309;
  --warning-50: #fff4e5;

  --bg: #f4f6fa;
  --surface: #ffffff;
  --border: #e4e8f0;
  --border-strong: #cfd6e3;
  --text: #0f172a;
  --text-2: #3d4758;
  --muted: #667085;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, .08), 0 2px 6px rgba(15, 23, 42, .04);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .16);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 64px;
  --bottom-nav-h: 64px;
  --container: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--text);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
}
body.no-bottom-nav { padding-bottom: 0; }
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; color: var(--text); }
h1 { font-size: 1.75rem; } h2 { font-size: 1.4rem; } h3 { font-size: 1.1rem; } h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 16px; }
:focus-visible { outline: 3px solid rgba(21, 84, 209, .35); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.section { padding: 40px 0; }
.section-sm { padding: 24px 0; }
.section-white { background: var(--surface); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 6px; }
.link-arrow { font-weight: 700; font-size: .9rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(3px); }
.text-muted { color: var(--muted); } .text-success { color: var(--success); } .text-danger { color: var(--danger); } .text-gold { color: var(--gold); }
.fw-700 { font-weight: 700; } .fs-sm { font-size: .85rem; } .fs-xs { font-size: .75rem; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.d-flex { display: flex; } .align-center { align-items: center; } .justify-between { justify-content: space-between; } .gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .flex-wrap { flex-wrap: wrap; }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--border); margin: 16px 0; border: 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); }
.card-body { padding: 20px; }
.card-title { font-size: 1.05rem; font-weight: 800; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.card-title i { color: var(--primary); }

/* Breadcrumbs */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .8rem; color: var(--muted); padding: 14px 0 0; }
.breadcrumb a { color: var(--muted); } .breadcrumb a:hover { color: var(--primary); }
.breadcrumb i { font-size: .6rem; opacity: .6; }

/* ---------- 3. BUTTONS ---------- */
.btn {
  --btn-bg: var(--surface); --btn-color: var(--text); --btn-border: var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; min-height: 44px; border-radius: 10px; border: 1.5px solid var(--btn-border);
  background: var(--btn-bg); color: var(--btn-color); font-weight: 700; font-size: .92rem; line-height: 1.1;
  transition: transform .15s var(--ease), box-shadow .2s, background .2s, border-color .2s, color .2s; white-space: nowrap; text-decoration: none; position: relative;
}
.btn:hover { color: var(--btn-color); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled], .btn.is-disabled { opacity: .6; pointer-events: none; }
.btn-primary { --btn-bg: var(--primary); --btn-color: #fff; --btn-border: var(--primary); }
.btn-primary:hover { --btn-bg: var(--primary-dark); --btn-border: var(--primary-dark); }
.btn-accent { --btn-bg: var(--accent); --btn-color: #fff; --btn-border: var(--accent); }
.btn-accent:hover { --btn-bg: var(--accent-dark); --btn-border: var(--accent-dark); }
.btn-outline { --btn-bg: transparent; --btn-color: var(--primary); --btn-border: var(--primary); }
.btn-outline:hover { --btn-bg: var(--primary-50); }
.btn-ghost { --btn-bg: transparent; --btn-border: transparent; --btn-color: var(--text-2); }
.btn-ghost:hover { --btn-bg: var(--bg); box-shadow: none; }
.btn-light { --btn-bg: var(--primary-50); --btn-color: var(--primary); --btn-border: transparent; }
.btn-white { --btn-bg: #fff; --btn-color: var(--navy); --btn-border: #fff; }
.btn-wa { --btn-bg: var(--wa); --btn-color: #fff; --btn-border: var(--wa); }
.btn-wa:hover { --btn-bg: var(--wa-dark); --btn-border: var(--wa-dark); }
.btn-call { --btn-bg: var(--navy); --btn-color: #fff; --btn-border: var(--navy); }
.btn-danger { --btn-bg: var(--danger); --btn-color: #fff; --btn-border: var(--danger); }
.btn-sm { padding: 7px 12px; min-height: 36px; font-size: .82rem; border-radius: 8px; }
.btn-lg { padding: 14px 24px; min-height: 52px; font-size: 1rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-icon { width: 44px; padding: 0; }
.btn-icon.btn-sm { width: 36px; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .7s linear infinite;
}
.btn-outline.is-loading::after, .btn-light.is-loading::after, .btn-white.is-loading::after { border-color: rgba(21, 84, 209, .25); border-top-color: var(--primary); }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--text-2); display: inline-grid; place-items: center; font-size: 1.05rem; position: relative; transition: background .2s; }
.icon-btn:hover { background: var(--bg); }

/* ---------- 4. BADGES & CHIPS ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: .7rem; font-weight: 700; line-height: 1.4; white-space: nowrap; letter-spacing: .01em; }
.badge i { font-size: .68rem; }
.badge-verified { background: #e6f0ff; color: var(--primary); }
.badge-premium { background: linear-gradient(135deg, #ffd666, #f2a900); color: #4a3300; box-shadow: 0 1px 0 rgba(0, 0, 0, .05); }
.badge-business { background: linear-gradient(135deg, #0b1b3f, #23408e); color: #ffd666; }
.badge-free { background: #eef0f4; color: #5b6475; }
.badge-featured { background: var(--accent); color: #fff; }
.badge-success { background: var(--success-50); color: var(--success); }
.badge-warning { background: var(--warning-50); color: var(--warning); }
.badge-danger { background: var(--danger-50); color: var(--danger); }
.badge-soft { background: rgba(255, 255, 255, .92); color: var(--text); backdrop-filter: blur(6px); }
.badge-discount { background: var(--success); color: #fff; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-size: .84rem; font-weight: 600; color: var(--text-2);
  transition: all .2s; cursor: pointer; white-space: nowrap;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip-sm { padding: 4px 10px; font-size: .76rem; }
.chip-dest { background: var(--primary-50); border-color: transparent; color: var(--primary); cursor: default; }
.chip-remove { background: var(--primary-50); color: var(--primary); border-color: transparent; }
.chip-remove i { font-size: .7rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .85rem; color: var(--text); }
.rating .stars { color: var(--gold); letter-spacing: 1px; font-size: .78rem; }
.rating-pill { display: inline-flex; align-items: center; gap: 4px; background: var(--success); color: #fff; font-weight: 800; font-size: .76rem; padding: 2px 7px; border-radius: 6px; }
.rating-pill i { font-size: .62rem; }
.rating-count { color: var(--muted); font-weight: 500; font-size: .8rem; }

/* ---------- 5. FORMS ---------- */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-group.span-2 { grid-column: 1 / -1; }
.form-label { font-size: .82rem; font-weight: 700; color: var(--text-2); }
.form-label .req { color: var(--danger); }
.form-hint { font-size: .75rem; color: var(--muted); }
.form-control {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text); transition: border-color .2s, box-shadow .2s; font-size: .95rem;
}
textarea.form-control { min-height: 96px; resize: vertical; }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(21, 84, 209, .12); }
.form-control::placeholder { color: #98a2b3; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%23667085' stroke-width='1.8' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-control.is-invalid { border-color: var(--danger); background-color: #fffafa; }
.form-control.is-invalid:focus { box-shadow: 0 0 0 4px rgba(220, 38, 38, .12); }
.form-error { font-size: .75rem; color: var(--danger); font-weight: 600; display: none; }
.form-group.has-error .form-error { display: block; }
.input-icon { position: relative; }
.input-icon > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; font-size: .9rem; }
.input-icon .form-control { padding-left: 40px; }
.input-group { display: flex; }
.input-group .input-prefix { display: flex; align-items: center; padding: 0 12px; border: 1.5px solid var(--border); border-right: 0; border-radius: 10px 0 0 10px; background: var(--bg); font-weight: 700; color: var(--text-2); font-size: .9rem; }
.input-group .form-control { border-radius: 0 10px 10px 0; }
.input-suffix-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; color: var(--text-2); cursor: pointer; line-height: 1.4; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--primary); flex-shrink: 0; cursor: pointer; }
.check .count { margin-left: auto; color: var(--muted); font-size: .78rem; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--text-2); }
.switch input { position: absolute; opacity: 0; }
.switch .track { width: 40px; height: 22px; border-radius: 999px; background: #cfd6e3; position: relative; transition: background .2s; flex-shrink: 0; }
.switch .track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-xs); transition: transform .2s var(--ease); }
.switch input:checked + .track { background: var(--primary); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 3px solid rgba(21, 84, 209, .35); }

.counter { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; min-height: 46px; }
.counter button { width: 42px; align-self: stretch; border: 0; background: var(--bg); font-size: 1rem; color: var(--text-2); }
.counter input { flex: 1; border: 0; text-align: center; font-weight: 700; width: 40px; min-width: 0; background: transparent; }
.counter input:focus { outline: none; }

.segmented { display: inline-flex; background: var(--bg); border-radius: 12px; padding: 4px; gap: 4px; }
.segmented button { border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; font-weight: 700; font-size: .84rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.segmented button.is-active { background: #fff; color: var(--primary); box-shadow: var(--shadow-xs); }

.alert { display: flex; gap: 12px; padding: 12px 14px; border-radius: 12px; font-size: .86rem; line-height: 1.45; align-items: flex-start; }
.alert i { margin-top: 2px; }
.alert-info { background: var(--primary-50); color: #1d3f8a; }
.alert-success { background: var(--success-50); color: #14532d; }
.alert-warning { background: var(--warning-50); color: #7c3d06; }
.alert-danger { background: var(--danger-50); color: #7f1d1d; }

/* ---------- 6. HEADER / NAV ---------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .78); font-size: .78rem; display: none; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 18px; align-items: center; }
.topbar-links i { margin-right: 5px; color: var(--gold); }

.site-header { position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.22rem; color: var(--navy); letter-spacing: -.02em; flex-shrink: 0; }
.logo:hover { color: var(--navy); }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; display: block; flex-shrink: 0; box-shadow: 0 6px 14px rgba(21, 84, 209, .28); }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; white-space: nowrap; }
.logo-text small { font-size: .52rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.logo span b, .dash-brand span b { color: #ff6a00; font-weight: 800; }
.drawer-head .logo-text small { display: none; }
.footer-brand .logo-text small { color: rgba(255, 255, 255, .6); }
.main-nav { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.loc-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 700; font-size: .8rem; color: var(--text); max-width: 150px; transition: border-color .2s; }
.loc-chip:hover { border-color: var(--primary); }
.loc-chip i.fa-location-dot { color: var(--accent); }
.loc-chip .loc-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loc-chip .fa-chevron-down { font-size: .6rem; color: var(--muted); }
.header-login { display: none; }
.user-pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--primary-50); font-weight: 700; font-size: .84rem; color: var(--primary); border: 0; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .8rem; flex-shrink: 0; }
.menu-toggle { display: inline-grid; }

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(11, 27, 63, .45); z-index: 1100; opacity: 0; visibility: hidden; transition: opacity .25s; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(86vw, 340px); background: #fff; z-index: 1101; transform: translateX(-100%); transition: transform .3s var(--ease); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.drawer.is-open { transform: none; }
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer-head { padding: 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.drawer-user { margin: 16px; padding: 16px; border-radius: var(--radius); background: linear-gradient(135deg, var(--primary), #3b82f6); color: #fff; }
.drawer-user p { margin: 2px 0 12px; font-size: .82rem; opacity: .9; }
.drawer-nav { padding: 4px 8px; overflow-y: auto; flex: 1; }
.drawer-nav a { display: flex; align-items: center; gap: 14px; padding: 12px 12px; border-radius: 10px; color: var(--text); font-weight: 600; }
.drawer-nav a i { width: 20px; text-align: center; color: var(--muted); }
.drawer-nav a.is-active, .drawer-nav a:hover { background: var(--primary-50); color: var(--primary); }
.drawer-nav a.is-active i { color: var(--primary); }
.drawer-nav .nav-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: 14px 12px 6px; }

/* ---------- 7. HERO & HOME ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease, transform 8s linear; transform: scale(1.06); }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 20, 50, .55) 0%, rgba(8, 20, 50, .35) 45%, rgba(8, 20, 50, .8) 100%); }
.hero-inner { position: relative; z-index: 2; padding-top: 36px; padding-bottom: 28px; }
.hero h1 { color: #fff; font-size: 1.9rem; line-height: 1.12; margin-bottom: 10px; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: #ffc46b; }
.hero-sub { font-size: 1rem; color: rgba(255, 255, 255, .9); max-width: 560px; margin-bottom: 22px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: .8rem; color: rgba(255, 255, 255, .9); font-weight: 600; }
.hero-trust i { color: #ffc46b; margin-right: 6px; }

.search-box { background: #fff; border-radius: var(--radius-lg); padding: 12px; box-shadow: var(--shadow-lg); color: var(--text); }
.search-tabs { display: flex; gap: 4px; margin-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.search-tabs::-webkit-scrollbar { display: none; }
.search-tab { border: 0; background: transparent; padding: 8px 12px; border-radius: 9px; font-weight: 700; font-size: .84rem; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.search-tab.is-active { background: var(--primary-50); color: var(--primary); }
.search-fields { display: grid; gap: 8px; }
.search-field { position: relative; display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--border); border-radius: 12px; padding: 0 14px; min-height: 52px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.search-field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(21, 84, 209, .1); }
.search-field > i { color: var(--primary); }
.search-field input { border: 0; outline: 0; flex: 1; min-width: 0; font-weight: 600; color: var(--text); background: transparent; height: 48px; }
.search-field .field-label { font-size: .68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.search-loc-btn { border: 0; background: transparent; text-align: left; flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 6px 0; min-width: 0; }
.search-loc-btn span:last-child { font-weight: 700; font-size: .95rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-btn { min-height: 52px; font-size: 1rem; }
.popular-searches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.popular-searches > span { font-size: .8rem; font-weight: 700; color: rgba(255, 255, 255, .85); margin-right: 2px; }
.popular-searches .chip { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .28); color: #fff; backdrop-filter: blur(4px); padding: 5px 12px; font-size: .8rem; }
.popular-searches .chip:hover { background: #fff; color: var(--primary); }

/* Autocomplete suggestions */
.suggest { position: absolute; left: -2px; right: -2px; top: calc(100% + 6px); background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); z-index: 60; max-height: 360px; overflow-y: auto; padding: 6px; display: none; }
.suggest.is-open { display: block; }
.suggest-group { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: 10px 10px 4px; }
.suggest-item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; cursor: pointer; color: var(--text); }
.suggest-item:hover, .suggest-item.is-hl { background: var(--primary-50); }
.suggest-item img, .suggest-item .s-icon { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; flex-shrink: 0; }
.suggest-item .s-icon { display: grid; place-items: center; background: var(--bg); color: var(--primary); }
.suggest-item b { display: block; font-size: .9rem; }
.suggest-item small { color: var(--muted); font-size: .76rem; }
.suggest-item mark { background: none; color: var(--primary); font-weight: 800; }

/* Category strip */
.cat-strip { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-item { flex: 0 0 auto; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 84px; padding: 12px 6px; border-radius: 14px; background: #fff; border: 1px solid var(--border); color: var(--text); font-size: .76rem; font-weight: 700; text-align: center; transition: all .2s; }
.cat-item .cat-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem; background: var(--primary-50); color: var(--primary); transition: all .2s; }
.cat-item:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cat-item:hover .cat-ic { background: var(--primary); color: #fff; }
.cat-item:nth-child(3n+2) .cat-ic { background: #fff1e6; color: var(--accent-dark); }
.cat-item:nth-child(3n) .cat-ic { background: #e9f8ef; color: var(--success); }

/* Horizontal scroller (mobile carousels) */
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 12px; margin: 0 -16px; scrollbar-width: none; overscroll-behavior-x: contain; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; }
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.grid-2 { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }

/* Steps / how it works */
.steps { display: grid; gap: 14px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; display: flex; gap: 16px; align-items: flex-start; position: relative; }
.step-num { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; background: var(--primary-50); color: var(--primary); }
.step h3 { margin: 2px 0 4px; font-size: 1rem; }
.step p { margin: 0; color: var(--muted); font-size: .88rem; }

/* CTA banner */
.cta-banner { border-radius: var(--radius-xl); background: radial-gradient(circle at 85% 20%, rgba(255, 122, 26, .45), transparent 45%), linear-gradient(135deg, #0b1b3f 0%, #1554d1 100%); color: #fff; padding: 28px 22px; position: relative; overflow: hidden; display: grid; gap: 22px; }
.cta-banner h2 { color: #fff; font-size: 1.5rem; }
.cta-banner p { color: rgba(255, 255, 255, .85); }
.cta-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; font-size: .86rem; font-weight: 600; }
.cta-list li { display: flex; gap: 8px; align-items: flex-start; }
.cta-list i { color: #ffc46b; margin-top: 3px; }
.cta-stat-row { display: flex; gap: 18px; flex-wrap: wrap; }
.cta-stat b { display: block; font-size: 1.5rem; color: #fff; }
.cta-stat span { font-size: .78rem; color: rgba(255, 255, 255, .75); }

/* Testimonials */
.testimonial { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 12px; height: 100%; }
.testimonial p { color: var(--text-2); font-size: .9rem; margin: 0; flex: 1; }
.testimonial .t-quote { color: var(--primary-100); font-size: 1.8rem; line-height: 1; }
.person { display: flex; align-items: center; gap: 10px; }
.person b { display: block; font-size: .9rem; }
.person small { color: var(--muted); font-size: .76rem; }

/* Partner logo strip */
.partner-strip { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.partner-strip::-webkit-scrollbar { display: none; }
.partner-chip { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 10px 16px 10px 10px; font-weight: 700; font-size: .85rem; color: var(--text); }
.partner-chip:hover { border-color: var(--gold); color: var(--text); box-shadow: var(--shadow-sm); }

/* SEO link cloud */
.seo-links { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; }
.seo-links a { color: var(--muted); }
.seo-links a:hover { color: var(--primary); }

/* ---------- 8. CARDS ---------- */
/* Company logo (generated monogram) */
.vlogo { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; flex-shrink: 0; position: relative; box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .12); }
.vlogo.sm { width: 36px; height: 36px; border-radius: 10px; font-size: .75rem; }
.vlogo.xs { width: 28px; height: 28px; border-radius: 8px; font-size: .62rem; }
.vlogo.lg { width: 96px; height: 96px; border-radius: 22px; font-size: 1.7rem; border: 4px solid #fff; box-shadow: var(--shadow-md); }
.vlogo.is-free { background: #eef0f4 !important; color: #5b6475; box-shadow: none; border: 1px dashed #cfd6e3; }

/* Destination card */
.dest-card { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: #ccd; color: #fff; isolation: isolate; box-shadow: var(--shadow-sm); }
.dest-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); z-index: -1; }
.dest-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(5, 15, 40, .85) 100%); z-index: -1; }
.dest-card:hover { color: #fff; }
.dest-card:hover img { transform: scale(1.07); }
.dest-card .dest-top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; }
.dest-card .dest-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; }
.dest-card h3 { color: #fff; font-size: 1.25rem; margin: 0 0 2px; }
.dest-card .dest-meta { font-size: .82rem; opacity: .92; }
.dest-card .dest-cta { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); transition: background .2s; }
.dest-card:hover .dest-cta { background: #fff; color: var(--primary); }
.dest-card.wide { aspect-ratio: 16 / 10; }

/* Package card */
.pkg-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; position: relative; height: 100%; }
.pkg-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pkg-card.is-premium { border-color: #f5d27a; }
.pkg-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #dde3ee; }
.pkg-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pkg-card:hover .pkg-media img { transform: scale(1.05); }
.pkg-media .pkg-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.pkg-media .pkg-duration { position: absolute; left: 10px; bottom: 10px; }
.pkg-fav { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--text-2); display: grid; place-items: center; font-size: .95rem; transition: transform .2s; }
.pkg-fav:hover { transform: scale(1.1); }
.pkg-fav.is-active { color: #e11d48; }
.pkg-compare { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .92); border-radius: 999px; padding: 4px 10px; font-size: .72rem; font-weight: 700; color: var(--text-2); cursor: pointer; }
.pkg-compare input { accent-color: var(--primary); width: 14px; height: 14px; margin: 0; }
.pkg-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pkg-loc { font-size: .78rem; color: var(--muted); font-weight: 600; display: flex; gap: 6px; align-items: center; }
.pkg-loc i { color: var(--accent); }
.pkg-title { font-size: 1.02rem; font-weight: 800; margin: 0; line-height: 1.3; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pkg-title a { color: inherit; }
.pkg-title a:hover { color: var(--primary); }
.pkg-includes { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 10px; font-size: .78rem; color: var(--text-2); }
.pkg-includes li { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pkg-includes i { color: var(--success); font-size: .7rem; }
.pkg-vendor { display: flex; align-items: center; gap: 8px; padding: 10px 0 0; border-top: 1px dashed var(--border); margin-top: auto; font-size: .8rem; }
.pkg-vendor .v-name { font-weight: 700; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pkg-vendor .v-name:hover { color: var(--primary); }
.pkg-vendor .v-badges { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 2px; }
.pkg-price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.price-block small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; }
.price { font-size: 1.3rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.price s { font-size: .82rem; color: var(--muted); font-weight: 500; margin-left: 4px; }
.price .per { font-size: .74rem; color: var(--muted); font-weight: 600; }
.pkg-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* Package card — list layout (search results) */
.pkg-card.is-list .pkg-media { aspect-ratio: 16 / 9; }

/* Vendor card */
.vendor-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 16px; display: flex; flex-direction: column; gap: 12px; position: relative; transition: box-shadow .25s, transform .25s var(--ease); height: 100%; }
.vendor-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.vendor-card.is-paid { border: 1.5px solid #f2cf73; background: linear-gradient(180deg, #fffbef 0, #fff 90px); }
.vendor-card.is-business { border: 1.5px solid #9fb6ea; background: linear-gradient(180deg, #eef3ff 0, #fff 90px); }
.vendor-ribbon { position: absolute; top: 14px; right: -1px; font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px 4px 12px; border-radius: 6px 0 0 6px; background: linear-gradient(135deg, #ffd666, #f2a900); color: #4a3300; }
.vendor-card.is-business .vendor-ribbon { background: linear-gradient(135deg, #0b1b3f, #23408e); color: #ffd666; }
.vendor-head { display: flex; gap: 12px; align-items: flex-start; padding-right: 64px; }
.vendor-head h3 { font-size: 1rem; margin: 0 0 4px; line-height: 1.25; }
.vendor-head h3 a { color: var(--text); }
.vendor-head h3 a:hover { color: var(--primary); }
.vendor-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .78rem; color: var(--muted); }
.vendor-meta i { margin-right: 4px; color: #98a2b3; }
.vendor-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: var(--bg); border-radius: 12px; padding: 10px; text-align: center; }
.vendor-facts b { display: block; font-size: .95rem; }
.vendor-facts span { font-size: .7rem; color: var(--muted); font-weight: 600; }
.vendor-response { font-size: .8rem; font-weight: 600; color: var(--success); display: flex; align-items: center; gap: 6px; }
.vendor-response.slow { color: var(--muted); }
.vendor-dests { display: flex; flex-wrap: wrap; gap: 6px; }
.vendor-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.vendor-actions .full { grid-column: 1 / -1; }
.number-reveal { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1.5px dashed var(--border-strong); border-radius: 10px; padding: 6px 6px 6px 12px; font-weight: 700; font-size: .9rem; color: var(--text); }
.number-reveal > span:first-child { white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.number-reveal .btn { flex-shrink: 0; white-space: nowrap; }
.number-reveal .masked { letter-spacing: .02em; }
.number-reveal i { color: var(--success); margin-right: 6px; }
.distance-tag { font-size: .72rem; font-weight: 700; color: var(--primary); background: var(--primary-50); padding: 2px 8px; border-radius: 999px; }

/* Skeletons */
.skeleton { background: linear-gradient(90deg, #eceff4 25%, #f6f7fa 37%, #eceff4 63%); background-size: 400% 100%; animation: shimmer 1.3s ease infinite; border-radius: 8px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.sk-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.sk-card .sk-img { aspect-ratio: 16 / 10; border-radius: 0; }
.sk-card .sk-lines { padding: 16px; display: grid; gap: 10px; }
.sk-line { height: 12px; } .sk-line.w-60 { width: 60%; } .sk-line.w-40 { width: 40%; } .sk-line.w-80 { width: 80%; } .sk-line.h-20 { height: 20px; }

/* Empty state */
.empty-state { text-align: center; padding: 48px 20px; background: #fff; border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); }
.empty-state .empty-ic { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); font-size: 1.8rem; }
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { color: var(--muted); max-width: 420px; margin: 0 auto 18px; font-size: .9rem; }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 0; background: transparent; padding: 12px 14px; font-weight: 700; font-size: .9rem; color: var(--muted); border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.tab .count { background: #e4e8f0; color: var(--text-2); border-radius: 999px; padding: 1px 8px; font-size: .74rem; }
.tab.is-active { color: var(--primary); border-bottom-color: var(--primary); }
.tab.is-active .count { background: var(--primary); color: #fff; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .3s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Accordion */
.accordion { display: grid; gap: 10px; }
.acc-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.acc-head { width: 100%; border: 0; background: transparent; padding: 15px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; font-weight: 700; font-size: .93rem; color: var(--text); }
.acc-head i.acc-caret { transition: transform .25s; color: var(--muted); font-size: .8rem; }
.acc-item.is-open .acc-head i.acc-caret { transform: rotate(180deg); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.acc-body > div { overflow: hidden; }
.acc-body .acc-inner { padding: 0 16px 16px; color: var(--text-2); font-size: .9rem; }
.acc-item.is-open .acc-body { grid-template-rows: 1fr; }

/* ---------- 9. MODALS / TOASTS / LIGHTBOX ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 2000; background: rgba(11, 27, 63, .55); backdrop-filter: blur(3px); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .25s; }
.modal-backdrop.is-open { opacity: 1; }
.modal { background: #fff; width: 100%; max-height: 92vh; border-radius: 22px 22px 0 0; display: flex; flex-direction: column; transform: translateY(40px); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg); overflow: hidden; }
.modal-backdrop.is-open .modal { transform: none; }
.modal::before { content: ''; width: 40px; height: 4px; border-radius: 4px; background: #d5dae3; margin: 8px auto 0; flex-shrink: 0; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 20px 12px; border-bottom: 1px solid var(--border); }
.modal-head h3 { margin: 0; font-size: 1.1rem; }
.modal-head p { margin: 4px 0 0; color: var(--muted); font-size: .85rem; }
.modal-body { padding: 18px 20px 22px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.modal-foot { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; background: #fafbfd; }
.modal-close { flex-shrink: 0; }

.lead-context { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: var(--bg); margin-bottom: 16px; }
.lead-context img { width: 64px; height: 50px; border-radius: 8px; object-fit: cover; }
.lead-context b { display: block; font-size: .88rem; line-height: 1.3; }
.lead-context small { color: var(--muted); font-size: .76rem; }

/* Lead result screens */
.result-hero { text-align: center; padding: 6px 0 16px; }
.result-ic { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font-size: 1.8rem; background: var(--success-50); color: var(--success); animation: pop .45s var(--ease); }
.result-ic.is-info { background: var(--primary-50); color: var(--primary); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.result-hero h3 { font-size: 1.25rem; margin-bottom: 6px; }
.result-hero p { color: var(--muted); margin: 0 auto; max-width: 440px; font-size: .9rem; }
.contact-card { border: 1.5px solid #f2cf73; background: linear-gradient(180deg, #fffbef, #fff); border-radius: 16px; padding: 16px; }
.contact-card .cc-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.contact-card .cc-head b { font-size: 1rem; display: block; }
.contact-rows { display: grid; gap: 8px; margin-bottom: 14px; }
.contact-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #fff; border: 1px solid var(--border); border-radius: 10px; font-size: .9rem; }
.contact-row i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); flex-shrink: 0; }
.contact-row .fa-whatsapp { background: #e6f7ec; color: var(--wa); }
.contact-row small { display: block; font-size: .7rem; color: var(--muted); }
.contact-row b { font-size: .95rem; }
.contact-row .copy-btn { margin-left: auto; }
.cc-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cc-actions .btn { padding-left: 8px; padding-right: 8px; }

.matching { display: grid; gap: 10px; padding: 8px 0; }
.match-step { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); font-weight: 600; opacity: .5; transition: opacity .3s; }
.match-step.is-done, .match-step.is-active { opacity: 1; color: var(--text); }
.match-step .ms-ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font-size: .75rem; }
.match-step.is-active .ms-ic { background: var(--primary-50); color: var(--primary); }
.match-step.is-done .ms-ic { background: var(--success); color: #fff; }
.partner-list { display: grid; gap: 10px; }
.partner-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1.5px solid #f2cf73; border-radius: 14px; background: #fffdf6; animation: fadeUp .4s var(--ease) both; }
.partner-item:nth-child(2) { animation-delay: .1s; } .partner-item:nth-child(3) { animation-delay: .2s; }
.partner-item .p-rank { width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }
.partner-item .p-main { flex: 1; min-width: 0; }
.partner-item .p-main b { font-size: .95rem; }
.partner-item .p-meta { font-size: .76rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 3px 0 8px; }
.partner-item .p-actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* Toasts */
.toast-stack { position: fixed; left: 12px; right: 12px; bottom: calc(var(--bottom-nav-h) + 12px + env(safe-area-inset-bottom)); z-index: 3000; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: .88rem; font-weight: 600; max-width: 440px; width: 100%; animation: toastIn .3s var(--ease); }
.toast.is-leaving { animation: toastOut .25s ease forwards; }
.toast i { font-size: 1.05rem; }
.toast-success i { color: #4ade80; } .toast-error i { color: #f87171; } .toast-info i { color: #93c5fd; } .toast-warning i { color: #fbbf24; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(12px); } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2500; background: rgba(5, 10, 25, .94); display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 94vw; max-height: 80vh; border-radius: 10px; object-fit: contain; }
.lightbox .lb-btn { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.1rem; }
.lightbox .lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .8); font-size: .85rem; font-weight: 600; }

/* Location prompt */
.loc-prompt { position: fixed; z-index: 1900; left: 12px; right: 12px; bottom: calc(var(--bottom-nav-h) + 12px); background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 20px; border: 1px solid var(--border); transform: translateY(20px); opacity: 0; transition: all .35s var(--ease); }
.loc-prompt.is-open { transform: none; opacity: 1; }
.loc-prompt .lp-ic { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--primary), #3b82f6); color: #fff; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 12px; position: relative; }
.loc-prompt .lp-ic::after { content: ''; position: absolute; inset: -6px; border-radius: 20px; border: 2px solid rgba(21, 84, 209, .25); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.loc-prompt h3 { font-size: 1.1rem; margin-bottom: 4px; }
.loc-prompt p { color: var(--muted); font-size: .88rem; margin-bottom: 16px; }
.loc-prompt .lp-actions { display: grid; gap: 8px; }
.loc-prompt .lp-dismiss { position: absolute; top: 10px; right: 10px; }
.loc-list { display: grid; gap: 4px; margin-top: 12px; }
.loc-option { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid transparent; background: transparent; text-align: left; width: 100%; color: var(--text); font-weight: 600; font-size: .92rem; }
.loc-option:hover { background: var(--bg); }
.loc-option.is-selected { border-color: var(--primary); background: var(--primary-50); color: var(--primary); }
.loc-option .lo-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--bg); color: var(--muted); flex-shrink: 0; }
.loc-option.is-current .lo-ic { background: var(--primary); color: #fff; }
.loc-option small { display: block; color: var(--muted); font-weight: 500; font-size: .76rem; }
.loc-option .fa-check { margin-left: auto; }
.loc-group-title { font-size: .7rem; font-weight: 700; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin: 14px 4px 4px; }

/* Compare tray */
.compare-tray { position: fixed; left: 12px; right: 12px; bottom: calc(var(--bottom-nav-h) + 10px + env(safe-area-inset-bottom)); z-index: 950; background: var(--navy); color: #fff; border-radius: 16px; padding: 10px 10px 10px 14px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .35s var(--ease); }
.compare-tray.is-open { transform: none; }
.compare-tray .ct-thumbs { display: flex; gap: 6px; flex: 1; min-width: 0; }
.compare-tray .ct-thumb { width: 42px; height: 42px; border-radius: 10px; overflow: hidden; position: relative; border: 2px solid rgba(255, 255, 255, .3); flex-shrink: 0; }
.compare-tray .ct-thumb img { width: 100%; height: 100%; object-fit: cover; }
.compare-tray .ct-slot { width: 42px; height: 42px; border-radius: 10px; border: 2px dashed rgba(255, 255, 255, .25); flex-shrink: 0; }
.compare-tray .ct-label { font-size: .8rem; font-weight: 700; white-space: nowrap; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .85rem; min-width: 560px; }
.compare-table th, .compare-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.compare-table th { width: 130px; color: var(--muted); font-weight: 700; font-size: .78rem; background: #fafbfd; position: sticky; left: 0; }
.compare-table img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; }
.compare-table .best { color: var(--success); font-weight: 800; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- 10. SEARCH RESULTS ---------- */
.search-top { background: #fff; border-bottom: 1px solid var(--border); padding: 12px 0; }
.search-inline { display: flex; gap: 8px; }
.search-inline .search-field { flex: 1; min-height: 46px; }
.search-inline .search-field input { height: 44px; }
.search-inline .loc-select { display: none; }
.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; padding: 18px 0 12px; }
.results-head h1 { font-size: 1.35rem; margin: 0; }
.results-head p { margin: 4px 0 0; color: var(--muted); font-size: .86rem; }
.results-toolbar { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 12px 0; flex-wrap: wrap; }
.sort-select { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; color: var(--muted); }
.sort-select select { min-height: 38px; padding: 6px 34px 6px 12px; font-size: .86rem; font-weight: 700; border-radius: 9px; width: auto; }
.filter-toggle { position: relative; }
.filter-toggle .fcount { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .7rem; display: grid; place-items: center; padding: 0 5px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-bottom: 8px; }
.active-filters:empty { display: none; }
.search-layout { display: grid; gap: 20px; padding-bottom: 40px; }
.results-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.results-section-title { display: flex; align-items: center; justify-content: space-between; margin: 26px 0 12px; }
.results-section-title h2 { font-size: 1.15rem; margin: 0; }
.load-more-wrap { text-align: center; margin-top: 22px; }

/* Filters panel — bottom sheet on mobile */
.filters { position: fixed; inset: auto 0 0 0; z-index: 2100; background: #fff; border-radius: 22px 22px 0 0; max-height: 88vh; display: flex; flex-direction: column; transform: translateY(105%); transition: transform .32s var(--ease); box-shadow: var(--shadow-lg); }
.filters.is-open { transform: none; }
.filters-backdrop { position: fixed; inset: 0; background: rgba(11, 27, 63, .5); z-index: 2090; opacity: 0; visibility: hidden; transition: opacity .25s; }
.filters-backdrop.is-open { opacity: 1; visibility: visible; }
.filters-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.filters-head h3 { margin: 0; font-size: 1.05rem; }
.filters-body { overflow-y: auto; padding: 4px 18px 18px; flex: 1; }
.filters-foot { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }
.filter-group { padding: 16px 0; border-bottom: 1px solid var(--border); }
.filter-group:last-child { border-bottom: 0; }
.filter-group h4 { font-size: .85rem; margin: 0 0 12px; display: flex; justify-content: space-between; align-items: center; }
.filter-group h4 button { border: 0; background: none; color: var(--primary); font-size: .76rem; font-weight: 700; }
.filter-options { display: grid; gap: 10px; }
.filter-options.scroll { max-height: 210px; overflow-y: auto; padding-right: 4px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chips .chip { padding: 6px 12px; font-size: .78rem; }
.filter-note { font-size: .74rem; color: var(--muted); margin-top: 8px; }

/* Requirement banner */
.req-banner { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, #fff7e6, #fff); border: 1px solid #fde2b3; margin: 8px 0 18px; flex-wrap: wrap; }
.req-banner .rb-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 1.15rem; flex-shrink: 0; }
.req-banner .rb-text { flex: 1; min-width: 200px; }
.req-banner b { display: block; font-size: .95rem; }
.req-banner .rb-text > span { font-size: .82rem; color: var(--muted); }
.req-banner #reqBannerDest { font-size: inherit; color: inherit; }

/* Page banners (destinations / agents) */
.page-banner { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-banner .container { position: relative; padding-top: 34px; padding-bottom: 34px; }
.page-banner h1 { color: #fff; font-size: 1.7rem; }
.page-banner p { color: rgba(255, 255, 255, .88); max-width: 620px; margin: 0; }
.page-banner .breadcrumb, .page-banner .breadcrumb a { color: rgba(255, 255, 255, .75); padding: 0 0 10px; }

/* ---------- 11. PACKAGE DETAILS ---------- */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 6px; border-radius: var(--radius-lg); overflow: hidden; position: relative; margin-top: 14px; }
.gallery-grid .g-item { position: relative; overflow: hidden; cursor: zoom-in; background: #dde3ee; }
.gallery-grid .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-grid .g-item:hover img { transform: scale(1.04); }
.gallery-grid .g-item:first-child { aspect-ratio: 16 / 10; }
.gallery-grid .g-item:not(:first-child) { display: none; }
.gallery-grid .g-more { position: absolute; right: 12px; bottom: 12px; }
.pd-head { padding: 18px 0 8px; }
.pd-head h1 { font-size: 1.5rem; margin-bottom: 8px; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: .86rem; color: var(--text-2); }
.pd-meta i { color: var(--muted); margin-right: 5px; }
.pd-layout { display: grid; gap: 20px; padding-bottom: 40px; }
.pd-tabs { position: sticky; top: var(--header-h); z-index: 50; background: var(--bg); margin: 0 -16px; padding: 0 16px; }
.pd-section { padding: 22px 0; border-bottom: 1px solid var(--border); }
.pd-section:last-child { border-bottom: 0; }
.pd-section h2 { font-size: 1.15rem; margin-bottom: 14px; }
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.highlight { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; font-size: .82rem; font-weight: 600; }
.highlight i { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); flex-shrink: 0; }
.highlight small { display: block; color: var(--muted); font-weight: 500; font-size: .72rem; }
.timeline { position: relative; display: grid; gap: 10px; }
.timeline .acc-item { position: relative; margin-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 16px; bottom: 16px; width: 2px; background: repeating-linear-gradient(to bottom, var(--primary-100) 0 6px, transparent 6px 10px); }
.timeline .day-dot { position: absolute; left: -30px; top: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; font-size: .65rem; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 4px var(--bg); }
.day-tag { font-size: .7rem; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: .06em; display: block; }
.inc-grid { display: grid; gap: 14px; }
.inc-list { display: grid; gap: 8px; }
.inc-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
.inc-list .fa-circle-check { color: var(--success); margin-top: 3px; }
.inc-list .fa-circle-xmark { color: var(--danger); margin-top: 3px; }
.hotel-row { display: flex; gap: 12px; align-items: center; padding: 12px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.hotel-row img { width: 80px; height: 64px; border-radius: 10px; object-fit: cover; }
.hotel-row b { display: block; font-size: .92rem; }
.hotel-row small { color: var(--muted); font-size: .78rem; }
.hotel-stars { color: var(--gold); font-size: .7rem; }
.price-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); }
.price-box .price { font-size: 1.8rem; }
.price-box .save { font-size: .78rem; color: var(--success); font-weight: 700; }
.price-box .pb-actions { display: grid; gap: 10px; margin: 16px 0 12px; }
.trust-list { display: grid; gap: 8px; font-size: .8rem; color: var(--text-2); }
.trust-list i { color: var(--success); width: 18px; }
.vendor-mini { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; margin-top: 14px; }
.vendor-mini.is-paid { border-color: #f2cf73; background: linear-gradient(180deg, #fffbef, #fff 70px); }
.vendor-mini .vm-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.vendor-mini .vm-head b { display: block; font-size: .95rem; }
.vm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; font-size: .72rem; color: var(--muted); margin-bottom: 12px; }
.vm-stats b { display: block; color: var(--text); font-size: .9rem; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); z-index: 940; background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(15, 23, 42, .08); padding: 10px 12px; display: flex; gap: 8px; align-items: center; }
.sticky-cta .sc-price { flex: 1; min-width: 0; line-height: 1.15; }
.sticky-cta .sc-price small { font-size: .68rem; color: var(--muted); font-weight: 600; display: block; }
.sticky-cta .sc-price b { font-size: 1.12rem; }
.sticky-cta .btn { min-height: 44px; padding: 10px 14px; }
body.has-sticky-cta { padding-bottom: calc(var(--bottom-nav-h) + 66px + env(safe-area-inset-bottom)); }
body.has-sticky-cta .toast-stack, body.has-sticky-cta .compare-tray { bottom: calc(var(--bottom-nav-h) + 76px + env(safe-area-inset-bottom)); }

/* ---------- 12. VENDOR PROFILE ---------- */
.profile-cover { height: 170px; background: linear-gradient(135deg, #0b1b3f, #1554d1); position: relative; overflow: hidden; }
.profile-cover img { width: 100%; height: 100%; object-fit: cover; }
.profile-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .45)); }
.profile-cover.is-free { background: repeating-linear-gradient(135deg, #e9edf4 0 14px, #f1f4f8 14px 28px); }
.profile-cover.is-free::after { display: none; }
.profile-head { position: relative; background: #fff; border-radius: var(--radius-xl); margin-top: -48px; z-index: 2; padding: 0 16px 18px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.profile-head .vlogo.lg { margin-top: -40px; }
.profile-head h1 { font-size: 1.4rem; margin: 12px 0 6px; }
.profile-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .84rem; color: var(--text-2); margin-bottom: 14px; }
.profile-meta i { color: var(--muted); margin-right: 5px; }
.profile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.profile-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
.pstat { background: var(--bg); border-radius: 12px; padding: 12px; }
.pstat b { display: block; font-size: 1.1rem; }
.pstat span { font-size: .74rem; color: var(--muted); font-weight: 600; }
.profile-nav { position: sticky; top: var(--header-h); z-index: 60; background: rgba(244, 246, 250, .97); backdrop-filter: blur(6px); margin-top: 16px; }
.profile-layout { display: grid; gap: 18px; padding: 16px 0 40px; }
.profile-section { scroll-margin-top: calc(var(--header-h) + 60px); }
.info-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.info-table th, .info-table td { padding: 10px 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { color: var(--muted); font-weight: 600; width: 40%; padding-right: 12px; }
.info-table td { font-weight: 700; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.service-item { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; font-size: .84rem; font-weight: 700; background: #fff; }
.service-item i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff1e6; color: var(--accent-dark); flex-shrink: 0; }
.photo-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.photo-gallery .ph { border-radius: 12px; overflow: hidden; aspect-ratio: 1; cursor: zoom-in; background: #dde3ee; position: relative; }
.photo-gallery .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.photo-gallery .ph:hover img { transform: scale(1.06); }
.photo-gallery .ph:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
.review-summary { display: grid; gap: 16px; align-items: center; padding: 16px; background: var(--bg); border-radius: 14px; margin-bottom: 16px; }
.review-score { text-align: center; }
.review-score .big { font-size: 2.6rem; font-weight: 800; line-height: 1; }
.review-bars { display: grid; gap: 6px; }
.rbar { display: grid; grid-template-columns: 28px 1fr 34px; gap: 8px; align-items: center; font-size: .78rem; color: var(--muted); font-weight: 600; }
.rbar .track { height: 8px; background: #e2e7ef; border-radius: 99px; overflow: hidden; }
.rbar .fill { height: 100%; background: var(--gold); border-radius: 99px; }
.review { padding: 16px 0; border-bottom: 1px solid var(--border); }
.review:last-child { border-bottom: 0; }
.review-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.review h4 { font-size: .92rem; margin: 6px 0 4px; }
.review p { font-size: .88rem; color: var(--text-2); margin: 0; }
.review .trip-tag { font-size: .72rem; color: var(--muted); }
.free-notice { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: #f8fafc; border: 1px dashed var(--border-strong); font-size: .85rem; color: var(--text-2); }
.free-notice i { color: var(--muted); margin-top: 3px; }
.sticky-side { position: static; }

/* ---------- 13. REGISTRATION & PRICING ---------- */
.auth-wrap { display: grid; min-height: calc(100vh - var(--header-h)); }
.auth-aside { position: relative; color: #fff; padding: 32px 20px; background: linear-gradient(160deg, rgba(11, 27, 63, .93), rgba(21, 84, 209, .88)), url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1400&q=70') center/cover; overflow: hidden; }
.auth-aside h1 { color: #fff; font-size: 1.7rem; }
.auth-aside p { color: rgba(255, 255, 255, .85); }
.benefit-list { display: grid; gap: 12px; margin: 22px 0; }
.benefit-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: .92rem; }
.benefit-list i { width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: grid; place-items: center; color: #ffc46b; font-size: .8rem; flex-shrink: 0; }
.benefit-list small { display: block; font-weight: 500; color: rgba(255, 255, 255, .72); font-size: .8rem; }
.auth-quote { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; padding: 16px; font-size: .88rem; backdrop-filter: blur(6px); }
.auth-main { padding: 24px 16px 40px; }
.auth-card { background: #fff; border-radius: var(--radius-xl); border: 1px solid var(--border); padding: 22px 18px; box-shadow: var(--shadow-sm); max-width: 720px; margin: 0 auto; }
.form-section-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--muted); margin: 22px 0 12px; display: flex; align-items: center; gap: 10px; }
.form-section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.multi-select { border: 1.5px solid var(--border); border-radius: 12px; padding: 10px; }
.multi-select .ms-search { border: 0; border-bottom: 1px solid var(--border); border-radius: 0; min-height: 38px; padding: 6px 4px; margin-bottom: 10px; }
.multi-select .ms-search:focus { box-shadow: none; }
.multi-select .ms-options { display: flex; flex-wrap: wrap; gap: 6px; max-height: 170px; overflow-y: auto; }
.multi-select .ms-count { font-size: .75rem; color: var(--primary); font-weight: 700; margin-top: 8px; }
.pw-meter { height: 5px; border-radius: 99px; background: var(--border); overflow: hidden; margin-top: 2px; }
.pw-meter span { display: block; height: 100%; width: 0; transition: width .3s, background .3s; }
.otp-inputs { display: flex; gap: 10px; justify-content: center; margin: 18px 0; }
.otp-inputs input { width: 52px; height: 58px; text-align: center; font-size: 1.4rem; font-weight: 800; border: 1.5px solid var(--border); border-radius: 12px; }
.otp-inputs input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(21, 84, 209, .12); }

.pricing-hero { background: radial-gradient(circle at 20% 0%, rgba(255, 122, 26, .25), transparent 40%), linear-gradient(135deg, #0b1b3f, #173a8a); color: #fff; padding: 40px 0 120px; text-align: center; }
.pricing-hero h1 { color: #fff; font-size: 1.8rem; }
.pricing-hero p { color: rgba(255, 255, 255, .85); max-width: 620px; margin: 0 auto; }
.pricing-grid { display: grid; gap: 18px; margin-top: -90px; position: relative; z-index: 2; }
.plan-card { background: #fff; border-radius: var(--radius-xl); border: 1px solid var(--border); padding: 24px 20px; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow-md); }
.plan-card.is-popular { border: 2px solid var(--primary); }
.plan-card.is-gold { background: linear-gradient(180deg, #0b1b3f 0%, #152e6b 100%); color: #fff; border: 0; }
.plan-card.is-gold h3, .plan-card.is-gold .plan-price { color: #fff; }
.plan-card.is-gold .plan-tagline, .plan-card.is-gold .plan-price small { color: rgba(255, 255, 255, .7); }
.plan-card.is-gold .plan-features li { color: rgba(255, 255, 255, .9); }
.plan-card.is-gold .plan-features .fa-check { background: rgba(255, 214, 102, .18); color: #ffd666; }
.plan-ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: .72rem; font-weight: 800; padding: 5px 14px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.plan-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 14px; background: var(--bg); color: var(--muted); }
.plan-card.is-popular .plan-icon { background: var(--primary-50); color: var(--primary); }
.plan-card.is-gold .plan-icon { background: rgba(255, 214, 102, .15); color: #ffd666; }
.plan-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.plan-tagline { color: var(--muted); font-size: .86rem; margin-bottom: 16px; }
.plan-price { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 18px; }
.plan-price small { font-size: .9rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.plan-features { display: grid; gap: 10px; margin-bottom: 22px; flex: 1; }
.plan-features li { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--text-2); }
.plan-features i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .62rem; flex-shrink: 0; margin-top: 1px; }
.plan-features .fa-check { background: var(--success-50); color: var(--success); }
.plan-features .fa-xmark { background: #f1f3f7; color: #98a2b3; }
.plan-features li.is-missing { color: #98a2b3; }
.feature-table { width: 100%; border-collapse: collapse; background: #fff; font-size: .88rem; min-width: 560px; }
.feature-table th, .feature-table td { padding: 13px 14px; border-bottom: 1px solid var(--border); text-align: center; }
.feature-table th:first-child, .feature-table td:first-child { text-align: left; font-weight: 600; }
.feature-table thead th { background: #fafbfd; font-size: .9rem; }
.feature-table .fa-check { color: var(--success); } .feature-table .fa-minus { color: #c3cad6; }
.routing-diagram { display: grid; gap: 12px; align-items: center; }
.rd-node { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px; text-align: center; font-size: .85rem; font-weight: 700; }
.rd-node i { display: block; font-size: 1.3rem; margin-bottom: 6px; color: var(--primary); }
.rd-node.gold { border-color: #f2cf73; background: #fffbef; }
.rd-node.gold i { color: var(--gold); }
.rd-arrow { text-align: center; color: var(--muted); transform: rotate(90deg); }
.pay-methods { display: grid; gap: 8px; }
.pay-method { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 12px; font-weight: 700; font-size: .9rem; color: var(--muted); background: #fafbfd; }
.pay-method i { font-size: 1.1rem; width: 22px; text-align: center; }
.pay-method .soon { margin-left: auto; }
.summary-rows { display: grid; gap: 8px; font-size: .9rem; }
.summary-rows div { display: flex; justify-content: space-between; }
.summary-rows .total { font-weight: 800; font-size: 1.05rem; border-top: 1px dashed var(--border-strong); padding-top: 10px; margin-top: 4px; }

/* ---------- 14. DASHBOARD ---------- */
body.dash-body { background: #f3f5f9; }
.dash-shell { display: block; min-height: 100vh; }
.dash-sidebar { position: fixed; top: 0; bottom: 0; left: 0; width: 264px; background: var(--navy); color: rgba(255, 255, 255, .78); z-index: 1200; transform: translateX(-100%); transition: transform .3s var(--ease); display: flex; flex-direction: column; }
.dash-sidebar.is-open { transform: none; }
.dash-brand { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; color: #fff; font-weight: 800; font-size: 1.12rem; }
.dash-brand:hover { color: #fff; }
.dash-brand small { display: block; font-size: .68rem; font-weight: 600; color: rgba(255, 255, 255, .55); letter-spacing: .04em; }
.dash-vendor { margin: 4px 14px 12px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); display: flex; gap: 10px; align-items: center; }
.dash-vendor b { color: #fff; font-size: .86rem; display: block; line-height: 1.25; }
.dash-nav { flex: 1; overflow-y: auto; padding: 4px 10px 12px; }
.dash-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: rgba(255, 255, 255, .72); font-weight: 600; font-size: .9rem; margin-bottom: 2px; }
.dash-nav a i { width: 18px; text-align: center; font-size: .92rem; }
.dash-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.dash-nav a.is-active { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(21, 84, 209, .4); }
.dash-nav .nav-pill { margin-left: auto; background: var(--accent); color: #fff; border-radius: 999px; font-size: .68rem; padding: 1px 7px; font-weight: 800; }
.dash-upgrade { margin: 12px; padding: 16px; border-radius: 14px; background: linear-gradient(135deg, #ffd666, #f2a900); color: #3a2800; }
.dash-upgrade b { display: block; font-size: .92rem; margin-bottom: 4px; }
.dash-upgrade p { font-size: .78rem; margin-bottom: 10px; }
.dash-main { min-width: 0; }
.dash-topbar { position: sticky; top: 0; z-index: 800; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); height: 62px; display: flex; align-items: center; gap: 10px; padding: 0 12px; }
.dash-topbar .dt-search { display: none; }
.dash-topbar .dt-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.dash-content { padding: 18px 14px 30px; }
.dash-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.dash-title h1 { font-size: 1.35rem; margin: 0; }
.dash-title p { margin: 4px 0 0; color: var(--muted); font-size: .88rem; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.stat-card .sc-top { display: flex; justify-content: space-between; align-items: center; }
.stat-card .sc-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: .95rem; background: var(--primary-50); color: var(--primary); }
.stat-card .sc-val { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.stat-card .sc-label { font-size: .78rem; color: var(--muted); font-weight: 600; }
/* Customer account (my-account.html) */
.account-stats { grid-template-columns: repeat(3, 1fr) !important; }
.account-stats .stat-card { color: inherit; transition: border-color .2s, box-shadow .2s; }
.account-stats .stat-card:hover { border-color: var(--primary); box-shadow: var(--shadow-xs); }
.account-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 16px; }
.account-card h2 { font-size: 1.2rem; margin: 12px 0 2px; }
.avatar-xl { width: 76px; height: 76px; font-size: 1.6rem; }
.account-links { padding: 8px; }
@media (max-width: 575.98px) { .account-stats .stat-card { padding: 12px 10px; } .account-stats .sc-label { font-size: .72rem; } }
.trend { font-size: .72rem; font-weight: 800; display: inline-flex; align-items: center; gap: 3px; }
.trend.up { color: var(--success); } .trend.down { color: var(--danger); }
.dash-grid { display: grid; gap: 16px; }
.panel { background: #fff; border: 1px solid var(--border); border-radius: 16px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.panel-head h3 { margin: 0; font-size: 1rem; }
.panel-body { padding: 16px; }
.data-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.data-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 10px 14px; background: #fafbfd; border-bottom: 1px solid var(--border); white-space: nowrap; }
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tbody tr { cursor: pointer; transition: background .15s; }
.data-table tbody tr:hover { background: #f8faff; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.cust-cell { display: flex; align-items: center; gap: 10px; }
.cust-cell b { display: block; font-size: .88rem; }
.cust-cell small { color: var(--muted); font-size: .74rem; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-new { background: #e8f0ff; color: var(--primary); }
.status-contacted { background: #fff4e5; color: #b45309; }
.status-quoted { background: #f3e8ff; color: #7e22ce; }
.status-converted { background: var(--success-50); color: var(--success); }
.status-closed { background: #eef0f4; color: #5b6475; }
.status-active { background: var(--success-50); color: var(--success); }
.status-draft { background: #eef0f4; color: #5b6475; }
.masked-blur { filter: blur(4px); user-select: none; }

/* Mobile: tables become cards */
.table-cards thead { display: none; }
.table-cards, .table-cards tbody, .table-cards tr, .table-cards td { display: block; width: 100%; }
.table-cards tr { padding: 12px 14px; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; }
.table-cards td { padding: 0; border: 0; font-size: .8rem; color: var(--text-2); }
.table-cards td[data-label]::before { content: attr(data-label) ': '; color: var(--muted); font-weight: 600; }
.table-cards td.tc-main { grid-column: 1 / -1; }
.table-cards td.tc-main::before { display: none; }
.table-cards td.tc-status { grid-column: 2; grid-row: 1; justify-self: end; }
.table-cards td.tc-status::before { display: none; }

/* Chart */
.chart-wrap { position: relative; }
.chart-wrap svg { width: 100%; height: 220px; display: block; overflow: visible; }
.chart-wrap .bar { fill: var(--primary); transition: opacity .15s; }
.chart-wrap .bar-hit { fill: transparent; cursor: pointer; }
.chart-wrap .grid-line { stroke: #e9edf3; stroke-width: 1; }
.chart-wrap .axis-label { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.chart-wrap.is-hovering .bar { opacity: .35; }
.chart-wrap.is-hovering .bar.is-hl { opacity: 1; }
.chart-tip { position: absolute; pointer-events: none; background: var(--navy); color: #fff; font-size: .76rem; padding: 6px 10px; border-radius: 8px; white-space: nowrap; transform: translate(-50%, -110%); opacity: 0; transition: opacity .12s; font-weight: 600; }
.chart-tip b { font-size: .9rem; }
.chart-tip.is-visible { opacity: 1; }
.chart-summary { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; }
.chart-summary b { font-size: 1.3rem; display: block; }
.chart-summary span { font-size: .76rem; color: var(--muted); font-weight: 600; }

.funnel { display: grid; gap: 10px; }
.funnel-row { display: grid; grid-template-columns: 90px 1fr 44px; gap: 10px; align-items: center; font-size: .8rem; font-weight: 600; color: var(--text-2); }
.funnel-row .track { height: 10px; background: #edf1f6; border-radius: 99px; overflow: hidden; }
.funnel-row .fill { height: 100%; border-radius: 99px; background: var(--primary); }
.funnel-row b { text-align: right; }

.plan-banner { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.plan-banner.is-premium { background: linear-gradient(135deg, #0b1b3f, #1554d1); color: #fff; }
.plan-banner.is-free { background: linear-gradient(135deg, #fff7e0, #ffedc2); color: #4a3300; border: 1px solid #f5d27a; }
.plan-banner .pb-text { flex: 1; min-width: 200px; }
.plan-banner b { display: block; font-size: .95rem; }
.plan-banner span { font-size: .82rem; opacity: .85; }
.demo-switch { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 700; color: var(--muted); background: var(--bg); padding: 4px 4px 4px 10px; border-radius: 999px; }
.demo-switch .segmented { padding: 2px; }
.demo-switch .segmented button { padding: 4px 10px; font-size: .74rem; }

.dash-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(100%, 440px); background: #fff; z-index: 2100; transform: translateX(100%); transition: transform .3s var(--ease); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.dash-drawer.is-open { transform: none; }
.dash-drawer .dd-head { padding: 16px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.dash-drawer .dd-body { padding: 18px; overflow-y: auto; flex: 1; }
.dash-drawer .dd-foot { padding: 12px 18px; border-top: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kv div small { display: block; color: var(--muted); font-size: .72rem; font-weight: 600; }
.kv div b { font-size: .9rem; }

.dropdown { position: relative; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); min-width: 260px; padding: 6px; z-index: 900; display: none; }
.dropdown.is-open .dropdown-menu { display: block; animation: fadeUp .2s var(--ease); }
.dropdown-menu a, .dropdown-menu button.dm-item { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 9px; font-size: .86rem; color: var(--text); font-weight: 600; width: 100%; border: 0; background: none; text-align: left; }
.dropdown-menu a:hover, .dropdown-menu button.dm-item:hover { background: var(--bg); }
.dropdown-menu a i, .dropdown-menu button.dm-item i { width: 18px; color: var(--muted); }
.notif { display: flex; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: .82rem; }
.notif:hover { background: var(--bg); }
.notif .n-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); flex-shrink: 0; font-size: .8rem; }
.notif small { display: block; color: var(--muted); font-size: .72rem; }
.dot-badge { position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; }

.completeness { display: flex; align-items: center; gap: 14px; }
.ring { --p: 70; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--primary) calc(var(--p) * 1%), #e5eaf2 0); display: grid; place-items: center; flex-shrink: 0; }
.ring span { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; font-size: .88rem; }

/* Upload */
.dropzone { border: 2px dashed var(--border-strong); border-radius: 16px; padding: 26px 16px; text-align: center; background: #fafbfd; transition: all .2s; cursor: pointer; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--primary); background: var(--primary-50); }
.dropzone i { font-size: 1.8rem; color: var(--primary); margin-bottom: 8px; }
.dropzone b { display: block; }
.dropzone small { color: var(--muted); }
.upload-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.upload-thumb { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #dde3ee; }
.upload-thumb img { width: 100%; height: 100%; object-fit: cover; }
.upload-thumb .ut-remove { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: .72rem; }
.upload-thumb .ut-cover { position: absolute; left: 6px; bottom: 6px; }
.upload-thumb.is-add { display: grid; place-items: center; border: 2px dashed var(--border-strong); background: #fafbfd; color: var(--muted); cursor: pointer; font-size: 1.2rem; }

.builder-row { border: 1px solid var(--border); border-radius: 14px; padding: 14px; background: #fcfdff; position: relative; }
.builder-row + .builder-row { margin-top: 10px; }
.builder-row .br-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.builder-row .br-head b { font-size: .88rem; display: flex; align-items: center; gap: 8px; }
.tag-input { display: flex; flex-wrap: wrap; gap: 6px; border: 1.5px solid var(--border); border-radius: 12px; padding: 8px; min-height: 48px; align-items: center; background: #fff; }
.tag-input:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(21, 84, 209, .12); }
.tag-input input { border: 0; outline: 0; flex: 1; min-width: 140px; font-size: .9rem; padding: 4px; }
.tag { display: inline-flex; align-items: center; gap: 6px; background: var(--primary-50); color: var(--primary); font-weight: 700; font-size: .78rem; padding: 4px 6px 4px 10px; border-radius: 8px; }
.tag.is-red { background: var(--danger-50); color: var(--danger); }
.tag button { border: 0; background: transparent; color: inherit; font-size: .7rem; padding: 2px 4px; }
.check-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip input { position: absolute; opacity: 0; pointer-events: none; }
.check-chip span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--border); font-size: .82rem; font-weight: 600; cursor: pointer; background: #fff; color: var(--text-2); transition: all .15s; }
.check-chip input:checked + span { background: var(--primary-50); border-color: var(--primary); color: var(--primary); }
.check-chip input:focus-visible + span { outline: 3px solid rgba(21, 84, 209, .3); }
.form-actions-bar { position: sticky; bottom: 0; z-index: 30; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--border); padding: 12px 14px; display: flex; gap: 8px; justify-content: flex-end; margin: 0 -14px -30px; backdrop-filter: blur(6px); }
.preview-sticky { position: static; }

.gallery-manage { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

/* ---------- 15. FOOTER & BOTTOM NAV ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 40px 0 20px; font-size: .88rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { max-width: 380px; font-size: .86rem; }
.site-footer h4 { color: #fff; font-size: .9rem; margin-bottom: 14px; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer a { color: rgba(255, 255, 255, .7); }
.site-footer a:hover { color: #fff; }
.social { display: flex; gap: 8px; margin-top: 14px; }
.social a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.social a:hover { background: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 30px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .8rem; }
.app-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.app-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); color: #fff !important; font-size: .74rem; line-height: 1.1; }
.app-badge i { font-size: 1.2rem; }
.app-badge b { display: block; font-size: .86rem; }

.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255, 255, 255, .98); backdrop-filter: blur(10px); border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(5, 1fr); box-shadow: 0 -4px 20px rgba(15, 23, 42, .06); }
.bn-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #8a94a6; font-size: .68rem; font-weight: 700; border: 0; background: none; position: relative; }
.bn-item i { font-size: 1.15rem; transition: transform .2s; }
.bn-item.is-active { color: var(--primary); }
.bn-item.is-active::before { content: ''; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 4px 4px; background: var(--primary); }
.bn-item:active i { transform: scale(.88); }
.bn-item .bn-badge { position: absolute; top: 8px; left: calc(50% + 6px); min-width: 16px; height: 16px; border-radius: 99px; background: var(--accent); color: #fff; font-size: .6rem; display: grid; place-items: center; padding: 0 4px; }
.bn-fab { display: flex; align-items: center; justify-content: center; }
.bn-fab span { width: 50px; height: 50px; border-radius: 16px; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 1.2rem; box-shadow: 0 8px 18px rgba(21, 84, 209, .4); margin-top: -18px; }

/* Mobile search overlay */
.search-overlay { position: fixed; inset: 0; background: #fff; z-index: 2200; display: flex; flex-direction: column; transform: translateY(100%); transition: transform .3s var(--ease); }
.search-overlay.is-open { transform: none; }
.search-overlay .so-head { display: flex; gap: 8px; align-items: center; padding: 12px; border-bottom: 1px solid var(--border); }
.search-overlay .so-head .search-field { flex: 1; min-height: 46px; }
.search-overlay .so-body { padding: 16px; overflow-y: auto; flex: 1; }
.search-overlay .so-body h4 { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 8px 0 12px; }
.search-overlay .suggest { position: static; box-shadow: none; border: 0; padding: 0; max-height: none; }

/* Page loader */
.page-loader { display: grid; place-items: center; padding: 80px 0; color: var(--muted); gap: 12px; font-weight: 600; }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--primary-100); border-top-color: var(--primary); animation: spin .8s linear infinite; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Late additions ---------- */
.grid-dest { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.hide-xs { display: none; }
@media (min-width: 576px) { .hide-xs { display: inline; } }
.pd-tabs .tab, .profile-nav .tab { text-decoration: none; }
.search-overlay .suggest:empty { display: none; }
.pd-meta .rating-pill i { color: #fff; margin: 0; }
.compare-tray { transition: transform .35s var(--ease), opacity .25s, visibility .25s; }
.compare-tray:not(.is-open) { opacity: 0; visibility: hidden; pointer-events: none; }
/* Grid children must be allowed to shrink below their content width (scrolling tab bars, tables) */
.pd-layout > *, .profile-layout > *, .search-layout > *, .dash-grid > *, .auth-wrap > * { min-width: 0; }
/* Compact mobile header */
.site-header .container { gap: 8px; }
.header-actions { min-width: 0; }
.loc-chip { min-width: 0; max-width: 34vw; padding: 7px 10px; }
@media (max-width: 575.98px) {
  .logo { font-size: 1.08rem; gap: 7px; }
  .logo-mark { width: 32px; height: 32px; }
  .site-header .logo-text small { display: none; }
  .menu-toggle { width: 36px; height: 36px; }
}
/* Ribbon sits in the card corner so it never overlaps the company name */
.vendor-ribbon { top: -1px; right: -1px; border-radius: 0 var(--radius-lg) 0 12px; padding: 5px 12px; }
.vendor-card.is-paid .vendor-head { padding-top: 12px; padding-right: 0; }
.vendor-head { padding-right: 0; }
/* Compact destination cards in the 2-column phone grid */
@media (max-width: 575.98px) {
  .dest-card .dest-body { padding: 12px; }
  .dest-card h3 { font-size: 1.08rem; }
  .dest-card .dest-meta { font-size: .72rem; }
  .dest-card .dest-cta { font-size: .68rem; padding: 4px 9px; white-space: nowrap; margin-top: 8px; gap: 4px; }
  .dest-card .dest-top .badge { font-size: .62rem; }
  .section-head { flex-wrap: wrap; }
}

/* ---------- Compact enquiry / lead popup ---------- */
.modal-lead .modal-head { padding: 12px 18px 10px; }
.modal-lead .modal-head h3 { font-size: 1rem; }
.modal-lead .modal-head p { font-size: .76rem; margin-top: 2px; }
.modal-lead .modal-close { width: 34px; height: 34px; font-size: .95rem; }
.modal-lead .modal-body { padding: 12px 18px 16px; }
.modal-lead .lead-context { padding: 6px 8px; margin-bottom: 10px; gap: 10px; border-radius: 10px; }
.modal-lead .lead-context img { width: 46px; height: 36px; border-radius: 6px; }
.modal-lead .lead-context .vlogo.sm { width: 32px; height: 32px; font-size: .7rem; }
.modal-lead .lead-context b { font-size: .8rem; }
.modal-lead .lead-context small { font-size: .7rem; }
.modal-lead .form-grid { grid-template-columns: 1fr 1fr; gap: 8px 10px; }
.modal-lead .form-group { gap: 3px; }
.modal-lead .form-label { font-size: .72rem; }
.modal-lead .form-control { min-height: 38px; padding: 7px 10px; font-size: .88rem; border-radius: 8px; }
.modal-lead select.form-control { padding-right: 28px; background-position: right 10px center; }
.modal-lead textarea.form-control { min-height: 54px; }
.modal-lead .input-group .input-prefix { padding: 0 8px; font-size: .8rem; border-radius: 8px 0 0 8px; }
.modal-lead .input-group .form-control { border-radius: 0 8px 8px 0; }
.modal-lead .counter { min-height: 38px; border-radius: 8px; }
.modal-lead .counter button { width: 32px; }
.modal-lead .check { font-size: .74rem; gap: 8px; }
.modal-lead .check input { width: 15px; height: 15px; }
.modal-lead .form-error { font-size: .66rem; }
.modal-lead #leadForm .btn-lg { min-height: 44px; padding: 10px 16px; font-size: .92rem; margin-top: 12px; }
.modal-lead #leadForm > p { font-size: .68rem; }
.modal-lead .result-ic { width: 56px; height: 56px; font-size: 1.4rem; margin-bottom: 10px; }
.modal-lead .result-hero h3 { font-size: 1.08rem; }
.modal-lead .result-hero p { font-size: .84rem; }
.modal-lead .alert { font-size: .8rem; padding: 10px 12px; }
@media (min-width: 768px) { .modal.modal-lead { max-width: 500px; } }
/* iOS zooms into inputs below 16px — keep 16px on touch-size screens */
@media (max-width: 767.98px) { .modal-lead .form-control { font-size: 16px; } .modal { max-height: 88vh; } }

/* ---------- Slim scrollbars ---------- */
* { scrollbar-width: thin; scrollbar-color: #c7cfdc transparent; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c7cfdc; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #98a2b3; }
.dash-sidebar, .dash-sidebar * { scrollbar-color: rgba(255, 255, 255, .22) transparent; }
