/* ============================================================
   PANA.PH — Total Rebrand 2026: Travel Skills Marketplace
   Inspired by skillsmp.com/app-design catalog: clean, searchable, skill-card focused,
   occupation filters, stats, premium app polish (Linear minimal + glass effects + modern sans).
   Total change across all pages incl. blog. Consistent "skill" cards for destinations, hotels,
   tours, blog posts, AI capabilities. Preserve fixed gold BrainPanel exactly.
   ============================================================ */

:root {
  /* Brand — Premium Palette */
  --navy:         #0a1628;  /* dark navy (hero/footer primary) */
  --navy-mid:     #122040;  /* mid navy */
  --navy-soft:    rgba(10,22,40,.85);
  --gold:         #c9973a;  /* premium gold (CTA accent) */
  --gold-light:   #e8b96a;
  --gold-pale:    rgba(201,151,58,.12);
  --cream:        #faf9f6;  /* page background */
  --cream-warm:   #f5f0e8;

  /* Legacy aliases — keep all existing rules working */
  --ocean:        #0096c7;
  --ocean-deep:   #0077b6;
  --ocean-darker: #0a1628;  /* mapped to navy */
  --ocean-light:  rgba(0,150,199,.3);
  --ocean-pale:   rgba(0,150,199,.08);
  --aqua:         #48cae4;
  --palm:         #2a9d8f;
  --palm-deep:    #1d7d6e;
  --palm-pale:    rgba(42,157,143,.08);
  --mango:        #c9973a;  /* mapped to gold */
  --mango-deep:   #b07a25;
  --coral:        #c9973a;  /* mapped to gold */
  --sand:         #faf9f6;
  --error:        #c0392b;
  --error-light:  rgba(229,62,62,.12);

  /* Neutrals */
  --ink:      #0a1628;       /* dark navy */
  --body:     #2d3748;
  --muted:    #64748b;
  --line:     #e8e4dc;
  --border:   #e8e4dc;
  --bg:       #faf9f6;       /* cream */
  --surface:  #ffffff;
  --surface-light: #f8f7f4;

  /* Effects */
  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --radius-xs: 4px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(10,22,40,.06), 0 1px 3px rgba(10,22,40,.08);
  --shadow:    0 4px 12px rgba(10,22,40,.08), 0 12px 32px rgba(10,22,40,.10);
  --shadow-md: 0 8px 24px rgba(10,22,40,.12), 0 16px 40px rgba(10,22,40,.10);
  --shadow-lg: 0 20px 60px rgba(10,22,40,.22);
  --shadow-brand: 0 12px 30px rgba(201,151,58,.30);
  --shadow-navy:  0 8px 32px rgba(10,22,40,.30);
  --ease: cubic-bezier(.4,0,.2,1);
  --nav-height: 64px;

  /* Fonts — single DM Sans on critical path (PageSpeed); headings reuse body stack */
  --font-poppins: var(--font-inter-next, "DM Sans"), system-ui, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-body: var(--font-inter-next, "DM Sans"), system-ui, -apple-system, sans-serif;

  /* Spacing scale (8px base) */
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem;
  --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4rem;

  --maxw: 1140px;

  /* Typography scale */
  --text-xs:   .75rem;
  --text-sm:   .875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  /* Line heights */
  --leading-tight:   1.1;
  --leading-snug:    1.35;
  --leading-normal:  1.6;
  --leading-relaxed: 1.75;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 8px);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--body);
  background: var(--cream);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p { margin-bottom: var(--s4); }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-poppins);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 800;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Button + link base enhancements */
button { font-family: inherit; }
button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }

/* Text selection color */
::selection { background: rgba(212,168,67,.25); color: var(--navy,#0a1628); }

/* Scrollbar premium styling */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(10,22,40,.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(10,22,40,.35); }

/* Image lazy-load placeholder */
img[loading="lazy"] {
  background: linear-gradient(135deg, var(--surface-light,#f8f7f4), var(--line,#e8e4dc));
}

/* ============================================================
   NAV + HERO — PREMIUM STICKY NAV
   ============================================================ */

/* Sticky nav wrapper — transparent over hero, solid after scroll */
.nav-sticky-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 150;
  /* Subtle gradient at the top so nav links stay readable over any hero. */
  background: linear-gradient(to bottom, rgba(8,18,34,.55) 0%, rgba(8,18,34,0) 100%);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.nav-sticky-wrap.scrolled {
  background: rgba(10,22,40,.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0,0,0,.22);
}

nav {
  display: flex; align-items: center; gap: var(--s5);
  padding: .55rem var(--s6);
  max-width: var(--maxw); margin: 0 auto;
  position: relative; z-index: 100;
  flex-wrap: nowrap;
}
/* Logo pinned left, links take the middle, actions pinned right. */
.nav-sticky-wrap nav > .logo { margin-right: auto; flex-shrink: 0; }
.logo, a.logo {
  font-family: var(--font-poppins, 'Poppins'), sans-serif;
  font-weight: 900; font-size: 1.6rem; letter-spacing: -.03em;
  color: #fff; display: inline-flex; align-items: center; gap: .1rem;
}
.logo span { color: var(--gold); }
.nav-sticky-wrap.scrolled .logo { text-shadow: none; }
.nav-sticky-wrap .nav-links, header .nav-links { display: flex; align-items: center; gap: .25rem; flex-wrap: nowrap; }
.nav-sticky-wrap .nav-links a, header .nav-links a {
  font-weight: 600; font-size: .92rem; color: rgba(255,255,255,.9);
  position: relative; padding: .5rem .7rem; border-radius: 8px;
  transition: color .18s var(--ease), background .18s var(--ease);
  display: inline-flex; align-items: center; white-space: nowrap;
}
.nav-sticky-wrap .nav-links a::after, header .nav-links a::after { display: none; } /* drop legacy underline */
.nav-sticky-wrap .nav-links a:hover, header .nav-links a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav-sticky-wrap .nav-links a.nav-active, header .nav-links a.nav-active { color: var(--gold) !important; background: rgba(201,151,58,.14); }
/* Plan a trip — primary pill, sits at the right with the currency switcher. */
.nav-plan-trip {
  background: linear-gradient(135deg, var(--gold), #e8a73a) !important; color: var(--navy) !important;
  padding: .55rem 1.25rem !important; border-radius: var(--radius-pill) !important;
  font-weight: 800 !important; margin-left: .4rem !important;
  box-shadow: 0 4px 14px -3px rgba(201,151,58,.55) !important;
  transition: transform .15s, box-shadow .15s, filter .15s !important;
}
.nav-plan-trip:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 6px 18px -3px rgba(201,151,58,.7) !important; background: linear-gradient(135deg, var(--gold), #e8a73a) !important; }
.nav-plan-trip:hover { transform: translateY(-2px) !important; box-shadow: 0 6px 20px rgba(212,168,67,.4) !important; }
.nav-plan-trip::after { display: none !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: var(--s2);
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle-bar {
  width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: all .25s ease;
  display: block;
}
@media(max-width:820px) { .nav-toggle { display: flex; } }
/* Narrow phones (<=420px): the right cluster (currency + Sign in + hamburger)
   overflowed past the viewport edge, clipping "Sign in" off-screen (was right
   ~408px at vw 390). Tighten nav padding + gap and shrink the sign-in pill so
   everything fits. */
@media(max-width:420px) {
  nav { gap: .5rem; padding-left: .7rem; padding-right: .7rem; }
  .acct-signin { padding: .35rem .6rem; font-size: .8rem; }
}

/* Rebrand polish: occupation chips inside the sticky nav (dark overlay / scrolled solid) */
.nav-sticky-wrap .occupation-chips {
  background: transparent;
  border-top-color: rgba(255,255,255,.1);
}
.nav-sticky-wrap.scrolled .occupation-chips {
  background: rgba(10,22,40,.96);
  border-top-color: rgba(255,255,255,.08);
}
.nav-sticky-wrap .occupation-chips .occupation-chip {
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
}
.nav-sticky-wrap .occupation-chips .occupation-chip:hover,
.nav-sticky-wrap .occupation-chips .occupation-chip.active {
  background: var(--gold-pale);
  color: var(--navy);
  border-color: var(--gold);
}

.hero-content {
  text-align: center; max-width: 760px; margin: 0 auto;
  padding: var(--s5) var(--s4) var(--s4);
  position: relative; z-index: 2;
}
.hero-content h1 {
  color: #fff; font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 800;
  text-shadow: 0 2px 30px rgba(0,0,0,.25); margin-bottom: var(--s4);
}
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(255,255,255,.92);
  max-width: 560px; margin: 0 auto;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: var(--s6);
  background: linear-gradient(135deg, var(--gold), var(--coral));
  color: #fff; font-weight: 800; font-size: 1.05rem;
  padding: var(--s4) var(--s6); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.hero-cta:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 24px 50px rgba(255,107,91,.4); }

/* Search card (legacy — kept for compat, not used on homepage any more) */
.hero-search-wrap {
  max-width: 920px; margin: 0 auto; padding: var(--s5) var(--s5) 0;
  position: relative; z-index: 3;
}
.search-card {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: var(--s5);
}
.search-card .search-form { box-shadow: none; border: 0; padding: 0; margin: 0; background: transparent; }
.search-card .search-tabs { margin-bottom: var(--s4); }

/* Compact hero for secondary pages */
.hero-sm {
  padding-bottom: var(--s4);
  background-attachment: scroll;
  position: relative;
  z-index: 1; /* below fixed sticky nav (z-index 150) */
  height: auto;
  min-height: 0;
  display: block;
}
.hero-sm .hero-content { padding: var(--s5) var(--s4) var(--s4); position: relative; z-index: 2; }
.hero-sm .hero-content h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: var(--s2); }
.hero-sm .hero-content p { margin: 0 auto; max-width: 640px; }

/* InnerHero breadcrumb */
.inner-hero-breadcrumb { font-size: .8rem; color: rgba(255,255,255,.55); margin-bottom: var(--s3); display: flex; align-items: center; gap: var(--s2); }
.inner-hero-breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.inner-hero-breadcrumb a:hover { color: var(--gold); }
.inner-hero-breadcrumb span:last-child { color: rgba(255,255,255,.9); }
.hero.hero-sm .hero-content p { font-size: 1.1rem; opacity: .88; max-width: 580px; }

/* ============================================================
   MARKETPLACE DYNAMIC DESIGN — SkillsMP-inspired catalog feel
   Clean cards, stats, filters, dynamic discovery for travel "skills"
   ============================================================ */

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--s5);
}

.market-card {
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), border-color .15s;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.market-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.market-card img {
  transition: transform .3s var(--ease);
}
.market-card:hover img {
  transform: scale(1.03);
}

.market-card .meta {
  font-size: .8rem;
  color: var(--muted);
}
.market-card .ai-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(201,151,58,.9);
  color: #111;
  font-size: .65rem;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.market-card .card-body {
  padding: 14px 16px;
}

.market-card .title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.market-card .subtitle {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.market-card .price {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.05rem;
}

.market-card .rating {
  font-size: .8rem;
  color: var(--gold);
}

/* Full marketplace polish for dynamic catalog feel (skillsmp-inspired: clean cards, good meta, hovers, filters) */
.market-card {
  box-shadow: var(--shadow-sm);
}
.market-card:hover {
  box-shadow: var(--shadow-md);
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.stat-pill .num { color: #8a5a00; font-weight: 800; font-size: 1rem; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  align-items: center;
  margin-bottom: var(--s5);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--line);
}
.filter-chip {
  padding: 6px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-pill);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .1s var(--ease);
}
.filter-chip.active, .filter-chip:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
  color: var(--navy);
  box-shadow: 0 2px 6px rgba(201,151,58,.2);
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: var(--s4) 0;
}
.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .9rem;
  color: var(--body);
  transition: all .12s var(--ease);
  white-space: nowrap;
}
.category-chip:hover {
  border-color: var(--gold);
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(201,151,58,.15);
  transform: translateY(-1px);
}
.category-chip.active {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
}
.category-chip .count { font-size: .75rem; opacity: .6; font-weight: 500; }

/* Additional marketplace polish: better section headers, subtle animations, card meta */
.market-section-header {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--s3);
  color: var(--ink);
}

.market-card .meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
}

.premium-section {
  background: var(--gold-pale);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: var(--s4);
}

/* Dynamic marketplace polish */
.search-input {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 1rem;
  transition: border .15s, box-shadow .15s;
}
.search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-pale);
  outline: none;
}

.premium-cta {
  background: linear-gradient(135deg, var(--gold), #e8b96a);
  color: #111;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-brand);
  transition: transform .15s, box-shadow .15s;
}
.premium-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,151,58,.4);
}

/* ============================================================
   TOTAL REBRAND 2026 — Skills Catalog App (skillsmp.com/app-design + premium patterns)
   Unified .skill-card for everything (destinations = skills, blog posts = intelligence skills, etc.)
   Occupation chips = categories
   Live filter/search ready
   Glass + clean meta rows + strong AI gold treatment (BrainPanel inner box preserved exactly)
   ============================================================ */

:root {
  /* Fresh app catalog accents (travel + precise minimal) */
  --skill-accent: #0ea5e9; /* vibrant travel teal */
  --skill-gold: #c9973a;
}

.skill-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: all 0.12s var(--ease);
  color: inherit;
  text-decoration: none;
}
.skill-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  border-color: var(--skill-gold);
}
.skill-card img {
  width: 100%;
  height: 162px;
  object-fit: cover;
  display: block;
}
.skill-card .card-body {
  padding: 13px 15px 15px;
}
.skill-card .skill-title {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 3px;
}
.skill-card .skill-subtitle {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.3;
}
.skill-card .skill-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  align-items: center;
}
.skill-card .skill-price {
  font-weight: 800;
  color: var(--navy);
}
.skill-card .skill-rating {
  color: #8a5a00;
}
.skill-card .skill-ai-score {
  background: rgba(15,23,42,0.85);
  color: var(--skill-gold);
  font-size: 0.6rem;
  padding: 1px 5px;
  border-radius: 2px;
  font-weight: 600;
}
.skill-card .skill-real {
  color: #15803d;
  font-size: 0.7rem;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.occupation-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.occupation-chip {
  padding: 5px 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--body);
  cursor: pointer;
  transition: all 0.1s;
}
.occupation-chip:hover {
  border-color: var(--skill-gold);
}
.occupation-chip.active,
.occupation-chip[aria-pressed="true"] {
  background: var(--skill-gold);
  color: #111;
  border-color: var(--skill-gold);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  margin: 8px 0;
}
.filter-chip {
  padding: 4px 10px;
  font-size: 0.76rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  font-weight: 600;
}
.filter-chip.active {
  background: var(--skill-gold);
  color: #111;
  border-color: var(--skill-gold);
}

/* Blog posts as intelligence skills — clean catalog reading */
.blog-skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.blog-skill-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--surface);
  transition: all 0.1s;
  text-decoration: none;
  color: inherit;
}
.blog-skill-card:hover {
  border-color: var(--skill-gold);
}
.blog-skill-card .title {
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.25;
  margin-bottom: 4px;
  color: var(--ink);
}
.blog-skill-card .excerpt {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
  margin-bottom: 6px;
}
.blog-skill-card .meta {
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  gap: 8px;
}
.blog-skill-meta { /* used in catalog index + related skills on detail for clean layout */
  display: block;
}

/* Intelligence Skill Detail page — premium clean reading + catalog elements (skillsmp.com style polish, glass/polished cards, consistent filters/chips)
   Large readable prose via existing .post-body (1.12rem, 1.8 lh). Tags as occupation chips. Related as .blog-skill-card grid.
   Gold Brain teaser preserved exactly. Live mastery toggle. */
.skill-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(201,151,58,0.12); color: var(--gold);
  padding: 2px 9px; border-radius: 999px; border: 1px solid var(--gold);
}
.skill-use-cta {
  max-width: var(--post-measure); margin: var(--s6) auto;
  padding: var(--s5); background: var(--surface); border: 1px solid var(--gold);
  border-radius: var(--radius); text-align: center;
}
.skill-use-cta h3 { margin: 0 0 var(--s2); color: var(--ink); font-size: 1.15rem; }
.skill-use-cta .muted { margin-bottom: var(--s4); }
.mastery-bar {
  display: flex; align-items: center; gap: var(--s3); margin: var(--s4) 0 var(--s5); font-size: .85rem; flex-wrap: wrap;
}
.mastery-btn {
  padding: 7px 16px; border-radius: 999px; background: var(--gold); color: #111; font-weight: 700;
  border: none; cursor: pointer; font-size: .82rem; transition: all .1s;
}
.mastery-btn.mastered { background: #111; color: var(--gold); border: 1px solid var(--gold); }
.mastery-count { color: var(--muted); }
.related-skills { max-width: var(--post-measure); margin: var(--s7) auto 0; }
.related-skills h2 { font-size: 1.15rem; margin-bottom: var(--s4); color: var(--ink); }

/* Keep Brain gold box exactly as fixed (inner styles in BrainPanel.js) */
.premium-section,
.premium-ai-section {
  background: var(--gold-pale);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: var(--s4);
}

/* Search input for catalog pages */
.catalog-search {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.92rem;
  width: 100%;
  max-width: 340px;
}
.catalog-search:focus {
  border-color: var(--skill-gold);
  outline: none;
}

/* TOTAL REBRAND 2026 POLISH (minimal, targeted)
   Gaps addressed: mobile chips (occupation/filter/category), card extensions for
   plan skill-like previews + guide/dest/activity skill-cards (unification),
   slight generosity hover/glass lift on .skill-card + market-grid (home/generous pages via shared catalog feel).
   Extends .skill-card / .occupation-chip / .market-grid. Zero change to premium/gold Brain rules or legacy rb-card.
   Keeps all pages (home, lists, blog, plan, guides, dests, activities) consistent with skills catalog. */
@media (max-width: 640px) {
  .occupation-chips,
  .category-chips,
  .filter-bar { gap: 4px; }
  .occupation-chip,
  .filter-chip,
  .category-chip {
    font-size: 0.72rem;
    padding: 4px 9px;
  }
  .skill-card .card-body { padding: 11px 13px 13px; }
  .skill-card img { height: 148px; }
  .blog-skill-grid { gap: 10px; }
}

/* Unify extensions for plan/guide/dest skill-like cards (used in /plan previews, /guides index, /destinations catalog, /activities) */
.skill-card.dest-skill-card,
.skill-card.activity-skill-card,
.market-grid .skill-card {
  border-radius: var(--radius);
}
.skill-card.dest-skill-card:hover,
.skill-card.activity-skill-card:hover,
.market-grid .skill-card:hover {
  border-color: var(--skill-gold);
  box-shadow: var(--shadow-md);
}

/* Extra hover/glass generosity for catalog consistency (applies to skill cards on home previews/plan/guides without touching legacy .dest-card etc) */
.skill-card {
  transition: transform .12s var(--ease), box-shadow .12s var(--ease), border-color .12s var(--ease);
}

/* ============================================================
   INNER HERO V2 — Unique image + gradient per section
   Skill applied: frontend-design + ui-ux-pro-max
   ============================================================ */
.inner-hero-v2 {
  position: relative;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-height) + 40px);
  overflow: hidden;
}

/* Noise texture for depth — skill: backgrounds create atmosphere */
.inner-hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .5;
  pointer-events: none;
  z-index: 1;
}

/* Bottom fade — smooth transition to page content */
.inner-hero-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--cream));
  pointer-events: none;
  z-index: 2;
}

.inner-hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--s6) var(--s5) var(--s7);
  width: 100%;
}

/* Breadcrumb */
.inner-hero-content .inner-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  margin-bottom: var(--s3);
  letter-spacing: .03em;
}
.inner-hero-content .inner-hero-breadcrumb a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .15s;
}
.inner-hero-content .inner-hero-breadcrumb a:hover { color: var(--gold); }
.inner-hero-content .inner-hero-breadcrumb span { color: rgba(255,255,255,.9); }

/* Eyebrow */
.inner-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s3);
}
.inner-eyebrow-text {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-poppins);
}
.inner-hero-badge {
  background: rgba(201,151,58,.2);
  border: 1px solid rgba(201,151,58,.4);
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: .04em;
}

/* Title — skill: distinctive display font, bold impact */
.inner-hero-title {
  /* Editorial Tropical: display serif, lighter weight, tighter optical sizing */
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  font-weight: 600;
  color: #fff;
  line-height: .98;
  letter-spacing: -.02em;
  margin-bottom: var(--s3);
  text-shadow: 0 2px 24px rgba(0,0,0,.4), 0 1px 4px rgba(0,0,0,.5);
}

/* Subtitle */
.inner-hero-sub {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,.82);
  max-width: 560px;
  line-height: 1.65;
  margin: 0;
  font-weight: 400;
}

/* Accent line — asymmetric design element */
.inner-hero-accent {
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: var(--s4);
  /* Slight diagonal via transform */
  transform: skewX(-8deg);
}

/* Ensure inner pages start below hero correctly */
.inner-hero-v2 + main,
.inner-hero-v2 + * + main,
.inner-hero-v2 ~ main { margin-top: 0; }

@media (max-width: 640px) {
  .inner-hero-v2 { min-height: 360px; padding-top: calc(var(--nav-height) + 20px); }
  .inner-hero-title { font-size: clamp(2rem, 8vw, 3rem); }
}

/* ============================================================
   LAYOUT
   ============================================================ */
main {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s5) var(--s8);
  position: relative; z-index: 1;
}
/* Full-screen hero — content starts naturally after 100svh */
.hero + main { margin-top: 0; }
/* Inner pages — no pull-up */
.hero-sm + main { margin-top: 0; }
/* Home main: no extra padding needed, hero ends at viewport bottom */
.home-main { padding-top: var(--s6); }
section { margin-top: var(--s8); }
section:first-child { margin-top: 0; }
section > h2 {
  font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: var(--s2);
  color: var(--ink);
}
section > h2 + .muted { margin-bottom: var(--s5); }
section > .muted { color: var(--muted); }

/* Section heading accent underline */
section > h2 { position: relative; display: inline-block; }
section > h2::after {
  content: ""; position: absolute; left: 0; bottom: -8px; width: 48px; height: 4px;
  background: linear-gradient(90deg, var(--ocean), var(--aqua));
  border-radius: 2px;
}

/* ============================================================
   CARDS
   ============================================================ */
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--s5); margin-top: var(--s5);
}
.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card img {
  width: 100%; height: 190px; object-fit: cover; background: #e8eef3;
  transition: transform .5s var(--ease);
}
.card:hover img { transform: scale(1.06); }
.card-body { padding: var(--s4); display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.1rem; margin-bottom: var(--s1); color: var(--ink); }

.muted { color: var(--muted); font-size: .9rem; }
.row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; padding-top: var(--s3);
}
.price { font-weight: 800; color: var(--ocean-deep); font-size: 1.1rem; font-family: "Poppins", sans-serif; }
.price small { font-weight: 500; }
.rating {
  background: linear-gradient(135deg, #fff3d6, #ffe9b0); color: #9a6b00;
  padding: .2rem .55rem; border-radius: var(--radius-pill);
  font-size: .8rem; font-weight: 700; white-space: nowrap;
}
.tag {
  display: inline-block; align-self: flex-start; background: #cce8f5; color: #004e7a;
  font-size: .7rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: var(--radius-pill); margin-bottom: var(--s2);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.book-btn, a.book-btn {
  margin-top: var(--s4); width: 100%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--ocean), var(--aqua));
  color: #fff; font-weight: 700; font-size: .95rem;
  padding: var(--s3); border-radius: var(--radius-sm);
  text-align: center; display: inline-block;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
}
.book-btn:hover, a.book-btn:hover {
  filter: brightness(1.05); box-shadow: var(--shadow-brand); transform: translateY(-1px);
}
.book-btn:active { transform: translateY(0); }
.book-btn-outline, a.book-btn-outline {
  background: transparent;
  color: var(--ocean-deep);
  border: 1.5px solid var(--ocean);
  margin-top: var(--s4);
}
.book-btn-outline:hover, a.book-btn-outline:hover {
  background: rgba(0,150,199,.06);
  border-color: var(--ocean-deep);
  filter: none;
  box-shadow: none;
}

/* Accessibility: ensure min touch target size */
button:disabled { opacity: 0.6; cursor: not-allowed; }

/* ============================================================
   SEARCH (tabs + forms)
   ============================================================ */
.hide { display: none !important; }
.search-tabs { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s4); }
.search-tabs button {
  border: 1px solid var(--line); background: var(--surface); color: var(--body);
  padding: var(--s2) var(--s4); border-radius: var(--radius-pill);
  font-weight: 600; font-size: .9rem; cursor: pointer;
  transition: all .2s var(--ease);
}
.search-tabs button:hover { border-color: var(--ocean); color: var(--ocean); }
.search-tabs button.active {
  background: linear-gradient(135deg, var(--ocean-deep), var(--ocean));
  color: #fff; border-color: transparent; box-shadow: var(--shadow-brand);
}
.search-form {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--s4); align-items: end; background: var(--surface); padding: var(--s5);
  border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line);
  margin-bottom: var(--s5);
}
.search-form label {
  display: flex; flex-direction: column; font-size: .78rem; font-weight: 700;
  gap: var(--s1); color: var(--muted); text-transform: uppercase; letter-spacing: .03em;
}
.search-form input {
  padding: var(--s3) var(--s3); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 1rem; font-family: inherit; color: var(--ink); background: #fbfcfe;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.search-form input:focus {
  outline: none; border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(0,119,182,.12); background: #fff;
}
.search-form button[type="submit"] {
  border: 0; cursor: pointer; background: linear-gradient(135deg, var(--ocean), var(--aqua));
  color: #fff; font-weight: 700; font-size: .95rem; padding: var(--s3) var(--s4);
  border-radius: var(--radius-sm); transition: filter .2s var(--ease), box-shadow .2s var(--ease);
}
.search-form button[type="submit"]:hover { filter: brightness(1.05); box-shadow: var(--shadow-brand); }

.card.result img { display: none; }
.card.result .card-body { padding: var(--s5); }

/* ============================================================
   WIDGETS / PACKAGING / MODAL
   ============================================================ */
.tp-widget {
  margin: var(--s4) 0 var(--s5); min-height: 60px;
  background: var(--surface); border-radius: var(--radius); padding: var(--s4);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.quick-search { margin-top: var(--s4); }
.quick-search summary {
  cursor: pointer; font-weight: 700; color: var(--ocean-deep); padding: var(--s2) 0;
  list-style: none;
}
.quick-search summary::-webkit-details-marker { display: none; }
.quick-search summary:hover { color: var(--ocean); }

.package { margin-top: var(--s5); }
.pkg-card {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: var(--s6); border: 1px solid var(--line);
}
.pkg-card h3 { color: var(--ink); margin-bottom: var(--s4); font-size: 1.4rem; }
.pkg-row {
  display: grid; grid-template-columns: 2.5rem 1fr auto auto; gap: var(--s4);
  align-items: center; padding: var(--s4) 0; border-bottom: 1px solid var(--line);
}
.pkg-row:last-of-type { border-bottom: 0; }
.pkg-icon { font-size: 1.5rem; text-align: center; }
.pkg-info strong { color: var(--ink); font-weight: 700; }
.pkg-price { font-weight: 800; color: var(--ocean-deep); font-family: "Poppins", sans-serif; }
.pkg-row .book-btn { width: auto; margin: 0; padding: var(--s2) var(--s4); }
.pkg-note { margin-top: var(--s4); font-size: .82rem; color: var(--muted); }

/* Modal — z-index 300 ensures it appears above nav-sticky (200) */
.modal {
  position: fixed; inset: 0; background: rgba(2,8,20,.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: var(--s4); z-index: 300;
  animation: fade .2s var(--ease);
}
.modal.open { display: flex; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal-box {
  background: var(--surface); border-radius: var(--radius); width: 100%; max-width: 440px;
  padding: var(--s6); position: relative; box-shadow: var(--shadow-lg);
  animation: pop .25s var(--ease);
}
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-box.centered { text-align: center; }
.modal-box h3 { color: var(--ink); margin-bottom: var(--s1); font-size: 1.3rem; }
.modal-close {
  position: absolute; top: var(--s3); right: var(--s4); border: 0; background: none;
  font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted);
  transition: color .2s var(--ease);
  width: 44px; height: 44px; padding: var(--s2);
  display: inline-flex; align-items: center; justify-content: center;
}
.modal-close:hover { color: var(--ink); }
#booking-form { display: flex; flex-direction: column; gap: var(--s3); margin-top: var(--s4); }
#booking-form label {
  display: flex; flex-direction: column; font-size: .78rem; font-weight: 700;
  color: var(--muted); gap: var(--s1); text-transform: uppercase; letter-spacing: .03em;
}
#booking-form input {
  padding: var(--s3); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 1rem; font-family: inherit; background: #fbfcfe;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
#booking-form input:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(0,119,182,.12); background: #fff; }
#booking-form button[type="submit"] {
  margin-top: var(--s2); border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--ocean), var(--aqua));
  color: #fff; font-weight: 700; padding: var(--s4); border-radius: var(--radius-sm);
  transition: filter .2s var(--ease);
}
#booking-form button[type="submit"]:hover { filter: brightness(1.05); }
#booking-form button[type="submit"]:disabled { opacity: .55; cursor: default; }
.booking-msg { font-size: .9rem; min-height: 1.2em; color: var(--body); }
.date-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.stay-total { font-size: .95rem; color: var(--body); min-height: 1.2em; }
.stay-total strong { color: var(--ocean-deep); font-family: "Poppins", sans-serif; }
.stay-total.bad { color: #c0392b; }

/* Banca (paraw) loader — a tiny outrigger boat bobbing on waves. Pure CSS,
   replaces the old spinner (same .spinner class so existing markup works). */
.spinner {
  width: 72px; height: 56px; margin: 0 auto var(--s4); position: relative;
}
.spinner::before { /* the boat */
  content: "⛵"; font-size: 34px; line-height: 1; position: absolute;
  left: 50%; top: 2px; transform: translateX(-50%);
  animation: boat-bob 1.6s ease-in-out infinite;
}
.spinner::after { /* the wave */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 0, var(--aqua), var(--ocean));
  opacity: .5; animation: wave-shimmer 1.6s ease-in-out infinite;
}
@keyframes boat-bob {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(-7deg); }
  50%      { transform: translateX(-50%) translateY(-6px) rotate(7deg); }
}
@keyframes wave-shimmer {
  0%, 100% { transform: scaleX(.85); opacity: .4; }
  50%      { transform: scaleX(1.05); opacity: .6; }
}
/* Reduced-motion: hold the boat still */
@media (prefers-reduced-motion: reduce) {
  .spinner::before, .spinner::after { animation: none; }
}

.plan-hint { margin: calc(-1 * var(--s2)) 0 var(--s5); }
.plan-hint code { background: #e6f4fb; padding: .1rem .4rem; border-radius: 5px; color: var(--ocean-deep); }

/* ============================================================
   POPULAR DESTINATIONS
   ============================================================ */
.dest-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--s4); margin-top: var(--s5);
}
.dest {
  position: relative; height: 180px; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; padding: var(--s4);
  background-image: linear-gradient(180deg, rgba(2,8,20,0) 35%, rgba(2,8,20,.75)), var(--img);
  background-size: cover; background-position: center;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.dest:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.dest span {
  color: #fff; font-family: "Poppins", sans-serif; font-weight: 800;
  font-size: 1.25rem; letter-spacing: -.01em; text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

/* ============================================================
   WHY PANA.PH
   ============================================================ */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--s5); margin-top: var(--s5);
}
.why-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s5); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem;
  background: linear-gradient(135deg, #e6f4fb, #d4f1f9); margin-bottom: var(--s3);
}
.why-card h3 { font-size: 1.05rem; margin-bottom: var(--s2); color: var(--ink); }
.why-card p { font-size: .9rem; }

/* ============================================================
   CTA BAND
   ============================================================ */
#cta-band {
  margin-top: var(--s8);
  background: linear-gradient(135deg, var(--ocean-deep), var(--aqua));
  border-radius: calc(var(--radius) * 1.5); overflow: hidden; position: relative;
}
#cta-band::after { content: ""; position: absolute; inset: 0; opacity: .12;
  background: url('/img/cta-texture-philippines-beach.webp') center/cover; }
.cta-inner { position: relative; z-index: 1; text-align: center; padding: var(--s8) var(--s5); color: #fff; }
.cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.cta-inner h2::after { display: none; }
.cta-inner p { color: rgba(255,255,255,.92); margin: var(--s3) 0 0; font-size: 1.1rem; }
.cta-inner .hero-cta { margin-top: var(--s5); }

/* Subtle Filipiniana weave texture (banig/inabel-inspired) for authentic
   sections — very low opacity so it reads as texture, not noise. */
#stays, #destinations {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M0 20h40M20 0v40M0 0l40 40M40 0L0 40' stroke='%232a9d8f' stroke-width='0.5' fill='none' opacity='0.05'/%3E%3C/svg%3E");
  background-size: 40px 40px;
  border-radius: var(--radius);
  padding: var(--s5);
  margin-left: calc(-1 * var(--s5));
  margin-right: calc(-1 * var(--s5));
}

/* ============================================================
   LOCAL STAYS — listing + detail
   ============================================================ */
.search-form select {
  padding: var(--s3); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 1rem; font-family: inherit; color: var(--ink); background: #fbfcfe; cursor: pointer;
}
.search-form select:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(0,119,182,.12); }
a.card.stay-card { color: inherit; }
.link-strong { color: var(--ocean-deep); font-weight: 700; }
.link-strong:hover { color: var(--ocean); }

.hero-min { padding-bottom: 0; position: relative; z-index: 1; }
.hero-min nav { position: relative; z-index: 100; }
.hero-min .hero-content { display: none; }
.back-link { display: inline-block; margin-bottom: var(--s4); font-weight: 600; color: var(--ocean-deep); }
.back-link:hover { color: var(--ocean); }

/* Gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: var(--s2); height: 420px; margin-bottom: var(--s6);
  border-radius: var(--radius-lg, var(--radius)); overflow: hidden; }
.gallery.one { grid-template-columns: 1fr; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g-main { height: 420px; border-radius: var(--radius-lg, var(--radius)) 0 0 var(--radius-lg, var(--radius)); }
.g-side { display: grid; grid-template-rows: 1fr 1fr; gap: var(--s2); }
.g-side img { height: 100%; }

/* Detail layout */
.stay-layout { display: grid; grid-template-columns: 1fr 340px; gap: var(--s6); align-items: start; }
.stay-header-row { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s1); }
.star-bar { color: var(--gold); font-size: 1.2rem; letter-spacing: 1px; }
.star-bar-box { color: var(--gold); font-size: 1.2rem; margin-bottom: var(--s2); }
.stay-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: var(--s2) 0; color: var(--navy); }
.stay-loc { font-size: 1rem; margin-bottom: var(--s4); }
.facts { display: flex; flex-wrap: wrap; gap: var(--s4); padding: var(--s4) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { font-weight: 600; color: var(--ink); }
.stay-block { margin-top: var(--s5); }
.stay-block h2 { font-size: 1.2rem; margin-bottom: var(--s3); }
.stay-block h2::after { display: none; }
.amenities { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 0; }
.amenities li { display: flex; align-items: center; gap: var(--s2); padding: var(--s2) 0; border-bottom: 1px solid var(--line); color: var(--body); }
.amenities li:last-child { border-bottom: none; }
.amenities li::before { content: '\2713'; color: var(--gold); font-weight: 800; flex-shrink: 0; }
.map { width: 100%; height: 320px; border: 0; border-radius: var(--radius); }
/* Room types list */
.rooms-list { display: flex; flex-direction: column; gap: var(--s2); }
.room-row { display: flex; justify-content: space-between; align-items: center; padding: var(--s3) var(--s4);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.room-name { font-weight: 600; color: var(--ink); }
.room-price { font-family: "Poppins", sans-serif; font-weight: 700; color: var(--ocean-deep); }
.room-price small { font-weight: 400; color: var(--muted); margin-left: 2px; }
.rooms-note { font-size: .83rem; color: var(--muted); margin-bottom: var(--s3); }
.claim-block { background: linear-gradient(135deg,#f0f9ff,#e0f2fe); border: 1.5px dashed var(--ocean); border-radius: var(--radius); padding: var(--s5) !important; }
.check-live-btn { display: inline-block; margin-top: var(--s3); padding: var(--s2) var(--s4);
  background: #f59e0b; color: #fff; font-weight: 700; border-radius: var(--radius-sm);
  text-decoration: none; font-size: .9rem; transition: background .2s; }
.check-live-btn:hover { background: #d97706; }

/* Booking box (sticky) */
.stay-book { position: sticky; top: calc(var(--nav-height) + var(--s4)); }
.book-box {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg, var(--radius));
  padding: var(--s5);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--nav-height) + var(--s4));
}
.book-price { font-size: 2rem; font-weight: 800; color: var(--navy); font-family: var(--font-serif); font-weight: 600; }
.book-box .book-btn {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  border-radius: var(--radius-sm) !important;
  padding: var(--s4) !important;
  margin-top: var(--s4) !important;
}
.book-box .book-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,151,58,.4) !important; }
.book-compare-title { color: var(--ink); font-size: 1.15rem; margin-bottom: var(--s1); }
.fx-est { font-size: .85rem; color: var(--palm-deep); font-weight: 600; margin-top: var(--s1); }
.book-note { font-size: .8rem; text-align: center; margin-top: var(--s3); }

@media (max-width: 840px) {
  .stay-layout { grid-template-columns: 1fr; }
  .stay-book { position: static; }
  .gallery { grid-template-columns: 1fr; height: auto; }
  .gallery .g-main { height: 260px; }
  .g-side { grid-template-rows: none; grid-template-columns: repeat(4,1fr); }
  .g-side img { height: 80px; }
}

/* ============================================================
   LEGAL / CONTENT PAGES
   ============================================================ */
.legal { max-width: 800px; }
.legal-nav { margin-bottom: var(--s5); font-weight: 600; color: var(--muted); }
.legal-nav a { color: var(--ocean-deep); }
.legal-block { margin-top: var(--s6); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--s6); box-shadow: var(--shadow-sm); }
.legal-block h2 { font-size: 1.5rem; margin-bottom: var(--s3); }
.legal-block h3 { font-size: 1.05rem; margin: var(--s4) 0 var(--s2); color: var(--ink); }
.legal-block p, .legal-block li { color: var(--body); margin-bottom: var(--s2); }
.legal-block ul { padding-left: var(--s5); }
.legal-block a { color: var(--ocean-deep); font-weight: 600; }

/* ============================================================
   DESTINATION PAGES (geo-index)
   ============================================================ */
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: var(--s3); }
.crumbs a { color: var(--ocean-deep); font-weight: 600; }
.crumbs span { color: var(--ink); }
.dest-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: var(--s1); }
.dest-region { margin-bottom: var(--s4); }
.dest-cta { margin: var(--s5) 0; padding: var(--s5); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.dest-cta h2 { font-size: 1.2rem; margin-bottom: var(--s4); } .dest-cta h2::after { display: none; }
.dest-chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip { background: #eef4f6; color: var(--body); padding: var(--s2) var(--s4); border-radius: var(--radius-pill); font-size: .9rem; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.chip-top { background: #d8f3ec; color: var(--palm-deep); }
a.chip-top:hover { background: var(--palm); color: #fff; }
a.chip:hover { background: var(--ocean); color: #fff; }
.region-block { margin-bottom: var(--s6); }
.region-block h2 { font-size: 1.15rem; margin-bottom: var(--s3); }
.related-list { list-style: none; display: flex; flex-direction: column; gap: var(--s2); }
.related-list a { color: var(--ocean-deep); font-weight: 600; }
.related-list a:hover { color: var(--ocean); }

/* Destination page: hero with photo */
.dest-hero { background-size: cover; background-position: center; position: relative; z-index: 1; }
.dest-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(2,62,138,.55) 0%, rgba(2,62,138,.3) 60%, rgba(2,62,138,.65) 100%); pointer-events: none; z-index: 0; }
.dest-hero nav { position: relative; z-index: 100; }
.dest-hero .hero-content { position: relative; z-index: 2; }
.dest-hero .hero-content h1 { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.dest-hero .hero-content p { color: rgba(255,255,255,.9); text-shadow: 0 1px 6px rgba(0,0,0,.4); }

/* Blurb: prominent lead text */
.dest-blurb { font-size: 1.2rem; line-height: 1.75; color: var(--ink); max-width: 72ch; margin-bottom: var(--s5); border-left: 4px solid var(--ocean); padding-left: var(--s4); background: rgba(0,150,199,.04); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: var(--s3) var(--s4); }

/* Getting there box */
.dest-getting-there { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4) var(--s5); margin-bottom: var(--s5); }
.dest-getting-there h2 { font-size: 1.1rem; margin-bottom: var(--s2); }
.dest-getting-there h2::after { display: none; }
.dest-getting-there p { color: var(--body); font-size: .97rem; margin: 0; }

/* Flights CTA button */
.book-btn-flights { background: linear-gradient(135deg, #0077b6, #0096c7) !important; color: #fff !important; }
.book-btn-flights:hover { background: linear-gradient(135deg, #023e8a, #0077b6) !important; }

/* Destinations index meta line */
.dest-hub-meta { margin-bottom: var(--s5); font-size: .97rem; }
.dest-hub-header { margin-bottom: var(--s6); }

/* ── Destinations Page: Modern Categorized Layout ── */
.destinations-page { max-width: 1200px; margin: 0 auto; padding: var(--s5) var(--s4); }
.dest-hub { padding: 0; }

.island-group-block { margin-bottom: var(--s8); }
.island-group-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: var(--s5);
  color: var(--navy);
  border-bottom: 3px solid var(--gold);
  padding-bottom: var(--s3);
  display: inline-block;
}

.regions-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
  gap: var(--s4); 
}

.region-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s4);
  transition: all .2s;
}
.region-card:hover {
  border-color: rgba(10,22,40,.2);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.region-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--s3);
  color: var(--navy);
}

.region-destinations { 
  display: flex; 
  flex-wrap: wrap; 
  gap: var(--s2); 
}

.dest-link { 
  background: var(--surface-light); 
  color: var(--body); 
  padding: .4rem .75rem; 
  border-radius: var(--radius-sm); 
  font-size: .88rem; 
  font-weight: 500; 
  border: 1px solid var(--line);
  transition: all .2s;
  text-decoration: none;
}
.dest-link:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-1px);
}

.dest-link-top { 
  background: linear-gradient(135deg, #d8f3ec, #c8e8e0); 
  color: var(--palm-deep); 
  border-color: var(--palm);
  font-weight: 600;
}
.dest-link-top:hover {
  background: linear-gradient(135deg, var(--navy), #1e3a5f);
  color: #fff;
  border-color: var(--navy);
}

.dest-star { 
  margin-right: .25em; 
  font-size: .9em; 
}

.region-hidden-dests {
  width: 100%;
  margin-top: var(--s2);
}

.region-expand-btn {
  background: var(--surface-light);
  border: 1px solid var(--line);
  color: var(--body);
  padding: .4rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  cursor: pointer;
  margin-top: var(--s2);
  transition: all .2s;
}

.region-expand-btn:hover {
  background: var(--ocean);
  color: #fff;
  border-color: var(--ocean);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .destinations-page { padding: var(--s4) var(--s3); }
  .regions-grid { grid-template-columns: 1fr; }
  .island-group-title { font-size: 1.5rem; }
}
.chip-top-legend { margin-left: var(--s3); color: var(--muted); }

/* Top chip with star highlight */
.chip-top-star { font-weight: 700; border: 1.5px solid var(--palm); }
.chip-star { margin-right: .25em; font-size: .85em; }

/* ============================================================
   DESTINATION GUIDES
   ============================================================ */
.tag-green { background: #c5ebe3; color: #0f5249; }
.mt-section { margin-top: var(--s7); }
.promo-card {
  background: linear-gradient(135deg, #fff4d6, #ffe9b0); border: 1px solid #ffd97a;
  border-radius: var(--radius-sm); padding: var(--s4); margin: var(--s4) 0;
  color: #8a5a00; font-size: .95rem;
}
.promo-code {
  background: #fff; border: 1px dashed var(--mango-deep); color: var(--mango-deep);
  padding: .1rem .5rem; border-radius: 6px; font-weight: 800; letter-spacing: .04em;
}
.apply-block { max-width: 560px; margin: var(--s6) auto 0; }
.stack-form { display: flex; flex-direction: column; gap: var(--s3); margin-top: var(--s4); }
.stack-form label { display: flex; flex-direction: column; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; gap: var(--s1); }
.stack-form input, .stack-form textarea { padding: var(--s3); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 1rem; font-family: inherit; background: #fbfcfe; }
.stack-form input:focus, .stack-form textarea:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(0,119,182,.12); background: #fff; }
.stack-form button[type="submit"] { margin-top: var(--s2); border: 0; cursor: pointer; background: linear-gradient(135deg, var(--gold), var(--coral)); color: #fff; font-weight: 800; padding: var(--s4); border-radius: var(--radius-sm); font-size: 1rem; }
.stack-form button:disabled { opacity: .55; }
.guide-hero {
  height: 340px; border-radius: var(--radius); overflow: hidden; position: relative;
  display: flex; align-items: flex-end; padding: var(--s6); margin-bottom: var(--s5);
  background-image: linear-gradient(180deg, rgba(2,8,20,0) 30%, rgba(2,8,20,.8)), var(--img);
  background-size: cover; background-position: center;
}
.guide-hero-text h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); margin: var(--s2) 0; }
.guide-hero-text p { color: rgba(255,255,255,.92); font-size: 1.1rem; }
.lead { font-size: 1.15rem; color: var(--body); }
.todo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: var(--s4); }
.todo-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--s4); }
.todo-item h3 { font-size: 1rem; margin-bottom: var(--s2); color: var(--ink); }
.guide-facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.guide-facts h3 { font-size: 1rem; color: var(--ink); margin-bottom: var(--s1); }
.guide-cta {
  margin-top: var(--s7); text-align: center; padding: var(--s7) var(--s5);
  background: linear-gradient(135deg, var(--ocean-deep), var(--aqua));
  border-radius: var(--radius); color: #fff;
}
.guide-cta h2 { color: #fff; } .guide-cta h2::after { display: none; }
.guide-cta p { color: rgba(255,255,255,.9); margin-bottom: var(--s5); }
.guide-cta-btns { display: flex; gap: var(--s4); justify-content: center; flex-wrap: wrap; }
.guide-cta-btns .book-btn { width: auto; padding: var(--s3) var(--s5); margin: 0; }
.book-btn-gold { background: linear-gradient(135deg, var(--gold), var(--coral)) !important; }
@media (max-width: 640px) { .guide-facts { grid-template-columns: 1fr; } }

/* ============================================================
   BLOG / ARTICLE
   ============================================================ */
/* Article reading widths.
   --post-measure: comfortable line length for body + CTAs (no-TOC fallback / wraps inside TOC column).
   --post-shell: outer width of the article (matches .post-with-toc) so header + TOC block stay aligned. */
:root { --post-measure: 760px; --post-shell: 980px; }
/* .post-back-link styled once below (search "Back to blog link") */
.post-cover { display: block; width: 100%; max-width: var(--post-shell); margin: 0 auto var(--s5); aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.post-title { max-width: var(--post-shell); margin: 0 auto var(--s3); font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.15; letter-spacing: -.015em; font-family: var(--font-serif); font-weight: 600; }
.post-meta { max-width: var(--post-shell); margin: 0 auto var(--s4); font-size: .9rem; }
.post-tags { display:flex; flex-wrap:wrap; gap:var(--s2); max-width: var(--post-shell); margin: 0 auto var(--s6); }
.post-tag-pill { display:inline-flex; align-items:center; padding:4px 11px; border-radius:var(--radius-pill); background:rgba(0,150,199,.08); color:var(--ocean-deep, var(--ocean)); font-size:.82rem; font-weight:600; text-decoration:none; border:1px solid rgba(0,150,199,.2); white-space:nowrap; transition:background .15s,color .15s,border-color .15s; }
.post-tag-pill:hover { background:var(--ocean); color:#fff; border-color:var(--ocean); }
.post-body { max-width: var(--post-measure); margin: 0 auto; font-size: 1.12rem; line-height: 1.8; color: var(--body); overflow-wrap: break-word; }
.post-body > *:first-child { margin-top: 0; }
.post-body h2 { font-size: clamp(1.45rem, 2.6vw, 1.7rem); line-height: 1.25; margin: var(--s7) 0 var(--s3); font-family: var(--font-poppins, "Poppins"), sans-serif; letter-spacing: -.01em; }
.post-body h3 { font-size: clamp(1.2rem, 2vw, 1.35rem); line-height: 1.3; margin: var(--s6) 0 var(--s2); font-family: var(--font-serif); font-weight: 600; }
.post-body p { margin: 0 0 var(--s4); }
.post-body ul, .post-body ol { margin: 0 0 var(--s4); padding-left: 1.4em; }
.post-body li { margin-bottom: var(--s2); padding-left: .2em; }
.post-body li::marker { color: var(--ocean); }
.post-body img { width: 100%; height: auto; border-radius: var(--radius); margin: var(--s5) 0; }
.post-body a { color: var(--ocean-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.post-body a:hover { text-decoration-thickness: 2px; }
.post-body hr { border: none; border-top: 1px solid var(--line); margin: var(--s6) 0; }
.post-cta {
  max-width: var(--post-measure); margin: var(--s7) auto 0;
  text-align: center; padding: var(--s6);
  background: linear-gradient(135deg, var(--palm), var(--ocean));
  border-radius: var(--radius); color: #fff;
}
.post-cta h3 { color: #fff; font-size: 1.3rem; } .post-cta p { color: rgba(255,255,255,.9); margin-bottom: var(--s4); }
.post-cta .guide-cta-btns { justify-content: center; flex-wrap: wrap; }
.post-cta .book-btn { width: auto; padding: var(--s3) var(--s5); margin: 0; }

/* Related posts */
.related-posts { max-width: var(--post-measure); margin: var(--s8) auto 0; border-top: 2px solid var(--border); padding-top: var(--s6); }
.related-posts__heading { font-size: 1.3rem; margin-bottom: var(--s5); color: var(--ink); }
.related-posts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
@media (max-width: 700px) { .related-posts__grid { grid-template-columns: 1fr; } }
@media (min-width: 701px) and (max-width: 1000px) { .related-posts__grid { grid-template-columns: repeat(2, 1fr); } }
.related-posts__card {
  display: flex; flex-direction: column; border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden; text-decoration: none;
  transition: box-shadow .2s, transform .2s; background: #fff;
}
.related-posts__card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.10); transform: translateY(-2px); }
.related-posts__card-img { width: 100%; height: 160px; object-fit: cover; display: block; }
.related-posts__card-body { padding: var(--s4); display: flex; flex-direction: column; gap: var(--s2); flex: 1; }
.related-posts__tag { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ocean-deep); }
.related-posts__card-title { font-size: .97rem; font-weight: 700; color: var(--ink); line-height: 1.4; margin: 0; }
.related-posts__card-excerpt { font-size: .84rem; color: var(--muted); line-height: 1.5; margin: 0; }

/* Share buttons */
.share-section { }
.share-btn {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: var(--s2) var(--s4); border-radius: var(--radius-pill);
  font-size: .9rem; font-weight: 600; cursor: pointer; text-decoration: none;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  transition: all .15s;
}
.share-btn:hover { background: var(--ocean); color: #fff; border-color: var(--ocean); }
.share-twitter:hover { background: #000; border-color: #000; }
.share-facebook:hover { background: #1877f2; border-color: #1877f2; }

/* ============================================================
   Blog post conversion sections (stays / tours / flight CTA)
   ============================================================ */
.post-conversion-section { max-width: var(--post-measure); margin: var(--s7) auto; padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.post-conversion-title { font-size: 1.2rem; margin-bottom: var(--s2); }
.post-conversion-sub { margin-bottom: var(--s4); }
.post-stays-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--s3); margin-bottom: var(--s4); }
.post-mini-card { display: flex; flex-direction: column; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--bg); text-decoration: none; color: var(--ink); transition: transform .2s,box-shadow .2s; }
.post-mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-mini-img { width: 100%; height: 160px; object-fit: cover; }
.post-mini-body { padding: var(--s3); display: flex; flex-direction: column; gap: var(--s1); }
.post-mini-body strong { font-size: .95rem; line-height: 1.3; }
.post-mini-body .muted { font-size: .82rem; }
.price-sm { font-size: .9rem; font-weight: 700; color: var(--palm-deep); }
.post-see-all { display: inline-block; font-size: .9rem; font-weight: 600; color: var(--ocean); text-decoration: none; }
.post-see-all:hover { text-decoration: underline; }
.post-flight-cta { max-width: var(--post-measure); background: var(--ocean-pale, rgba(0,150,199,.08)); border: 1px solid rgba(0,150,199,.2); border-radius: var(--radius-sm); padding: var(--s3) var(--s4); margin: var(--s5) auto; display: flex; align-items: center; flex-wrap: wrap; gap: var(--s3); font-weight: 600; }
@media(max-width: 640px) { .post-stays-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width: 400px) { .post-stays-grid { grid-template-columns: 1fr; } }

/* ============================================================
   404
   ============================================================ */
.notfound { text-align: center; }
.nf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: var(--s4); margin-top: var(--s5); }
.nf-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s5); font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: var(--s3); justify-content: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.nf-card span { font-size: 1.4rem; }
.nf-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ocean-deep); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: linear-gradient(135deg, var(--ocean-darker), var(--ocean-deep));
  color: rgba(255,255,255,.8); padding: var(--s8) var(--s5) var(--s5);
  font-size: .9rem; margin-top: var(--s8);
}
footer a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; }
footer a:hover { color: var(--gold); }
.foot-links { margin-bottom: var(--s4); line-height: 2.2; font-size: .9rem; }
.foot-links a { color: rgba(255,255,255,.9); }

/* Footer brand block */
.footer-brand {
  text-align: center;
  margin-bottom: var(--s7);
  padding-bottom: var(--s6);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo-text {
  font-family: var(--font-poppins, 'Poppins'), sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: #fff;
  margin-bottom: var(--s2);
  letter-spacing: -.03em;
}
.footer-tagline {
  color: rgba(255,255,255,.8);
  max-width: 320px;
  margin-bottom: 4px;
  line-height: 1.6;
  font-size: .95rem;
}
.footer-tagline-sub {
  color: rgba(255,255,255,.55);
  font-size: .85rem;
  max-width: 320px;
  margin-bottom: var(--s4);
}
.footer-contact-info {
  display: flex;
  gap: var(--s5);
  justify-content: center;
  flex-wrap: wrap;
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  margin-top: var(--s3);
}

/* Footer columns — 4-col grid */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s6);
  max-width: var(--maxw);
  margin: 0 auto var(--s7);
  text-align: left;
}
.footer-col-title {
  color: rgba(255,255,255,.45);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: var(--s4);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: var(--s2);
}
.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.footer-col-links a {
  color: rgba(255,255,255,.8);
  font-weight: 500;
  font-size: .9rem;
  transition: color .15s;
}
.footer-col-links a:hover { color: #fff; }

/* Newsletter column */
.footer-newsletter-desc {
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  margin-bottom: var(--s3);
  line-height: 1.5;
}
.footer-newsletter-form {
  display: flex;
  gap: var(--s2);
  margin-top: var(--s3);
  margin-bottom: var(--s2);
}
.footer-newsletter-input {
  flex: 1;
  padding: var(--s2) var(--s3);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: .9rem;
  font-family: inherit;
  transition: border-color .2s;
  min-width: 0;
}
.footer-newsletter-input::placeholder { color: rgba(255,255,255,.45); }
.footer-newsletter-input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,.12);
}
.footer-newsletter-btn {
  padding: var(--s3) var(--s4);
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: .88rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
}
.footer-newsletter-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212,168,67,.4); }
.footer-newsletter-note { font-size: .75rem; color: rgba(255,255,255,.5); }

/* Footer social */
.footer-social {
  display: flex;
  justify-content: center;
  margin-bottom: var(--s5);
  padding: var(--s4) 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-social-links {
  display: flex;
  gap: var(--s4);
  flex-wrap: wrap;
  justify-content: center;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  color: rgba(255,255,255,.8) !important;
  font-size: .9rem;
  font-weight: 600;
  padding: var(--s2) var(--s3);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.2);
  transition: background .2s, color .2s;
}
.footer-social-link:hover {
  background: rgba(255,255,255,.12);
  color: #fff !important;
}
.footer-social-icon {
  font-size: .9rem;
  opacity: .85;
}

/* Payment badges */
.footer-payments {
  display: flex;
  align-items: center;
  gap: var(--s4);
  justify-content: center;
  flex-wrap: wrap;
  margin: var(--s5) 0;
}
.footer-payments-label {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  font-weight: 600;
}
.footer-payment-badges { display: flex; gap: var(--s2); flex-wrap: wrap; }
.payment-badge {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  border-radius: var(--radius-sm);
  padding: 5px 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background .15s;
}
.payment-badge:hover { background: rgba(255,255,255,.2); }

/* Footer bottom row */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-bottom .foot-links { margin: 0; }

@media (max-width: 840px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-newsletter-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-contact-info { flex-direction: column; gap: var(--s2); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  nav { padding: var(--s3) var(--s4); }
  .nav-links { gap: var(--s3); }
  .nav-links a { font-size: .85rem; }
  main { padding: 0 var(--s4) var(--s7); }
  .hero { background-attachment: scroll; }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: var(--s2);
  min-width: 44px;
  min-height: 44px;
  line-height: 1;
}
@media (max-width: 820px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  /* Selectors here must match the specificity of the .nav-sticky-wrap .nav-links
     desktop rule above, otherwise the menu stays open on mobile. */
  .nav-sticky-wrap .nav-links, header .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ocean-darker, #014f86);
    flex-direction: column;
    gap: var(--s1);
    padding: var(--s4);
    display: none;
    z-index: 999;
    max-height: calc(100dvh - var(--nav-height));
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
  }
  .nav-sticky-wrap .nav-links.open, header .nav-links.open { display: flex; }
  .nav-links a { width: 100%; }
  nav { position: relative; }
}
@media (max-width: 360px) {
  .stats-band { grid-template-columns: repeat(2, 1fr) !important; }
  .grid { grid-template-columns: 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto; }
}

/* --- FAQ section (guide pages) --- */
.guide-faq { margin-top: var(--s6); }
.faq-list { display:flex; flex-direction:column; gap:var(--s2); }
.faq-item { border:1px solid var(--line); border-radius:var(--radius-sm); overflow:hidden; }
.faq-q { list-style:none; padding:var(--s4) var(--s5); font-weight:700; color:var(--ink); cursor:pointer; font-family:var(--font-poppins,sans-serif); font-size:1rem; }
.faq-q::-webkit-details-marker { display:none; }
.faq-q::after { content:'＋'; float:right; color:var(--ocean); font-weight:400; }
details[open] .faq-q::after { content:'－'; }
.faq-a { padding:0 var(--s5) var(--s4); line-height:1.7; }

/* ============================================================
   DESIGN 2027 — Animations, transitions & micro-interactions
   CSS-first, no layout shift, respects prefers-reduced-motion.
   ============================================================ */

/* --- Scroll-reveal base (JS adds .revealed via IntersectionObserver) --- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.reveal.revealed { opacity: 1; transform: translate3d(0, 0, 0); }
@keyframes spin { to { transform: rotate(360deg); } }
/* Inner pages — reveal immediately (no scroll needed) */
.page-main .reveal,
.about-intro-section .reveal,
.home-section .reveal,
.listing-main .reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
/* No-JS / reduced-motion */
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: translate3d(0, 0, 0); animation: none; } }

/* Stagger delays for grids/lists */
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }
.reveal:nth-child(6) { transition-delay: .40s; }

/* --- Hero headline animation (runs once on load) --- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translate3d(0, 32px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
/* Applied to hero-search-center children via stagger */
.hero-search-center h1 {
  animation: heroFadeUp .75s var(--ease) .1s both;
}
.hero-search-center > p, .hero-search-center .hero-currency-hint {
  animation: heroFadeUp .75s var(--ease) .25s both;
}
.search-card-glass {
  animation: heroFadeUp .75s var(--ease) .4s both;
}
/* Legacy compat */
.hero-content h1 { animation: heroFadeUp .75s var(--ease) .1s both; }
.hero-content p  { animation: heroFadeUp .75s var(--ease) .25s both; }

/* --- PREMIUM Full-screen hero --- */
.hero {
  background:
    linear-gradient(180deg, rgba(10,22,40,.72) 0%, rgba(10,22,40,.42) 50%, rgba(10,22,40,.82) 100%),
    url('/img/philippines-tropical-coast.webp') center/cover no-repeat;
  color: #fff;
  height: 100svh;
  min-height: 600px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 60;
  overflow: hidden;
}
/* legacy compat: hero on inner pages (hero-sm) keeps short height */
.hero-sm { height: auto; min-height: 0; display: block; }
/* Animated shimmer orb behind the hero */
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(72,202,228,.18) 0%, transparent 65%);
  animation: orbFloat 8s ease-in-out infinite alternate;
  pointer-events: none;
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,183,3,.10) 0%, transparent 65%);
  animation: orbFloat 10s ease-in-out infinite alternate-reverse;
  pointer-events: none;
  border-radius: 50%;
}
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(20px, -20px) scale(1.1); }
}

/* --- Card glassmorphism upgrade --- */
.card, .why-card, .stay-card {
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.6);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover, .why-card:hover, .stay-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 48px rgba(0,119,182,.16), 0 8px 16px rgba(0,150,199,.12);
  border-color: rgba(0,150,199,.2);
}

/* --- Button shimmer on primary CTAs --- */
@keyframes shimmer {
  from { background-position: -200% center; }
  to   { background-position: 200% center; }
}
.hero-cta, .book-btn-gold {
  position: relative;
  overflow: hidden;
  background-size: 200% auto;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.hero-cta::after, .book-btn-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.25) 50%, transparent 60%);
  background-size: 200% auto;
  animation: shimmer 2.5s linear infinite;
  pointer-events: none;
}
.hero-cta:hover, .book-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,183,3,.4);
}

/* --- Destination chip hover glow --- */
.dest { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.dest:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 32px rgba(0,150,199,.3);
}

/* --- Guide hero parallax-like depth --- */
.guide-hero {
  background-attachment: scroll; /* mobile safe */
  transition: filter .3s var(--ease);
}
.guide-hero:hover { filter: brightness(1.05); }

/* --- Todo grid items stagger --- */
.todo-item {
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  border-radius: var(--radius-sm);
  padding: var(--s4);
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
}
.todo-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.95);
}

/* --- FAQ smooth open/close --- */
details.faq-item {
  transition: box-shadow .2s var(--ease);
}
details.faq-item[open] {
  box-shadow: 0 4px 16px rgba(0,150,199,.12);
  border-color: rgba(0,150,199,.25);
}
.faq-q { transition: color .15s var(--ease); }
.faq-q:hover { color: var(--ocean); }

/* --- Nav link underline slide --- */
.nav-links a {
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width .25s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

/* --- Search card subtle float --- */
.search-card {
  animation: heroFadeUp .75s var(--ease) .4s both;
  transition: box-shadow .3s var(--ease);
}
.search-card:hover {
  box-shadow: 0 32px 80px rgba(0,119,182,.2);
}

/* --- Why-grid icons bounce --- */
@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.why-card:hover .why-ico {
  display: inline-block;
  animation: iconBounce .5s var(--ease);
}

/* --- Footer link hover --- */
footer a {
  transition: color .15s var(--ease), text-decoration-color .15s var(--ease);
  text-decoration: underline;
  text-decoration-color: transparent;
}
footer a:hover {
  color: #fff;
  text-decoration-color: var(--gold);
}

/* --- Page load transition (instant feel) --- */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body { animation: pageFadeIn .3s ease both; }

/* Smooth page slide-in for inner pages */
@keyframes pageSlideIn {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
.page-main, main {
  animation: pageSlideIn .4s ease both;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-content h1, .hero-content p,
  .hero-search-center h1, .hero-search-center p, .hero-search-center .hero-currency-hint,
  .search-card-glass, .hero-search-wrap,
  .search-card, body { animation: none !important; transition: none !important; }
  .hero::before, .hero::after { animation: none; }
  .hero-cta::after, .book-btn-gold::after { animation: none; }
  .hero-scroll-indicator { animation: none; }
}

/* --- Blog index grid --- */
.blog-grid { display:flex; flex-direction:column; gap:var(--s5); }
.blog-card {
  display:block; border-radius:var(--radius); overflow:hidden;
  background:var(--surface); border:1px solid var(--line);
  text-decoration:none; color:inherit;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease);
}
.blog-card:hover {
  transform:translateY(-5px);
  box-shadow:0 20px 48px rgba(0,119,182,.14);
}
.blog-card-img { width:100%; height:240px; object-fit:cover; display:block; }
.blog-card-body { padding:var(--s5); }
.blog-tags { display:flex; gap:var(--s2); flex-wrap:wrap; margin-bottom:var(--s3); }
.blog-card-title { font-size:1.35rem; font-family:var(--font-poppins,"Poppins"),sans-serif; color:var(--ink); margin-bottom:var(--s3); line-height:1.3; }
.blog-card-excerpt { font-size:.97rem; line-height:1.6; color:var(--muted); margin-bottom:var(--s4); }
.blog-read-more { color:var(--ocean-deep); font-weight:700; font-size:.95rem; }
.blog-card:hover .blog-read-more { text-decoration:underline; }

/* ============================================================
   HOME PAGE REDESIGN
   ============================================================ */
.home-main { max-width:var(--maxw); margin:0 auto; padding:0 var(--s5) var(--s8); }
.home-section { margin:var(--s7) 0; }
.section-head { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:var(--s5); gap:var(--s4); flex-wrap:wrap; }
.section-head h2 { margin-bottom:var(--s1); }
.section-center-title { text-align:center; margin-bottom:var(--s6); font-size:clamp(1.7rem,3.4vw,2.4rem); font-family:var(--font-serif); font-weight:600; letter-spacing:-.015em; }
.section-center-label { text-align:center; color:var(--muted); font-size:.95rem; margin-bottom:var(--s4); letter-spacing:.04em; text-transform:uppercase; }
.see-all-link { color:var(--ocean-deep); font-weight:700; font-size:.95rem; white-space:nowrap; transition:color .2s; }
.see-all-link:hover { color:var(--ocean); }

/* Empty/graceful fallbacks — BATCH 1 polish (replaces stark "No hotels yet") */
.rb-cards-grid > p.muted,
.home-section p.muted:only-child,
#hotels-promo .muted,
#stays-grid .muted {
  padding: var(--s6);
  background: var(--surface-light);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: .95rem;
  text-align: center;
}

/* Stats band */
.stats-band { display:grid; grid-template-columns:repeat(4,1fr); gap:0; background:linear-gradient(135deg,var(--ocean-darker),var(--ocean)); border-radius:var(--radius); margin:0 0 var(--s8); overflow:hidden; }
.stat-item { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:var(--s5) var(--s4); border-right:1px solid rgba(255,255,255,.15); text-align:center; }
.stat-item:last-child { border-right:none; }
.stat-ico { font-size:1.8rem; margin-bottom:var(--s2); }
.stat-n { font-size:2rem; font-weight:800; color:#fff; font-family:var(--font-poppins,"Poppins"),sans-serif; line-height:1; }
.stat-label { color:rgba(255,255,255,.75); font-size:.85rem; margin-top:var(--s1); }

/* Destination cards v2 */
.dest-grid-v2 { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--s4); }
.dest-card { border-radius:var(--radius); overflow:hidden; background:var(--surface); border:1px solid var(--line); text-decoration:none; transition:transform .25s var(--ease), box-shadow .25s var(--ease); display:block; }
.dest-card:hover { transform:translateY(-6px); box-shadow:0 20px 48px rgba(0,119,182,.15); }
.dest-card-img { height:180px; background-size:cover; background-position:center; transition:transform .4s var(--ease); }
.dest-card:hover .dest-card-img { transform:scale(1.04); }
.dest-card-body { padding:var(--s4); display:flex; flex-direction:column; gap:var(--s1); }
.dest-card-name { font-size:1.15rem; font-weight:800; color:var(--ink); font-family:var(--font-poppins,"Poppins"),sans-serif; }
.dest-card-sub { font-size:.85rem; color:var(--muted); }
.dest-card-price { font-size:.9rem; font-weight:700; color:var(--ocean-deep); margin-top:var(--s2); }

/* Numbers band */
.numbers-band { background:var(--bg); border:1px solid var(--line); border-radius:var(--radius); padding:var(--s6) var(--s7); margin:var(--s7) 0; }
.numbers-inner { display:grid; grid-template-columns:repeat(4,1fr); gap:var(--s4); text-align:center; }
.number-item { display:flex; flex-direction:column; align-items:center; gap:var(--s2); }
.number-ico { font-size:2rem; }
.number-n { font-size:2.2rem; font-weight:800; color:var(--ocean-deep); font-family:var(--font-poppins,"Poppins"),sans-serif; line-height:1; }
.number-label { color:#475569; font-size:.9rem; }

/* Blog preview */
.blog-preview-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--s4); }
.blog-preview-card { border-radius:var(--radius); overflow:hidden; background:var(--surface); border:1px solid var(--line); text-decoration:none; color:inherit; transition:transform .25s var(--ease), box-shadow .25s var(--ease); display:block; }
.blog-preview-card:hover { transform:translateY(-5px); box-shadow:0 16px 40px rgba(0,119,182,.14); }
.blog-preview-img { height:160px; background-size:cover; background-position:center; transition:transform .4s var(--ease); }
.blog-preview-card:hover .blog-preview-img { transform:scale(1.04); }
.blog-preview-body { padding:var(--s4); display:flex; flex-direction:column; gap:var(--s2); }
.blog-preview-body h3 { font-size:1rem; font-weight:700; color:var(--ink); line-height:1.4; }
.read-more-link { font-size:.9rem; font-weight:700; color:var(--ocean-deep); }

/* Testimonials */
.testimonial-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:var(--s4); }
.testimonial-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:var(--s5); display:flex; flex-direction:column; gap:var(--s3); transition:box-shadow .25s var(--ease); }
.testimonial-card:hover { box-shadow:var(--shadow); }
.stars { color:var(--mango); font-size:1.1rem; letter-spacing:2px; }
.testimonial-text { color:var(--body); font-size:.95rem; line-height:1.65; font-style:italic; flex:1; }
.testimonial-author { display:flex; flex-direction:column; gap:2px; }
.testimonial-name { font-weight:700; color:var(--ink); font-size:.95rem; }
.testimonial-loc { font-size:.8rem; color:var(--muted); }

/* Partners marquee */
.partners-strip { overflow:hidden; position:relative; padding:var(--s3) 0; }
.partners-strip::before, .partners-strip::after { content:""; position:absolute; top:0; bottom:0; width:60px; z-index:1; }
.partners-strip::before { left:0; background:linear-gradient(to right,var(--bg),transparent); }
.partners-strip::after  { right:0; background:linear-gradient(to left,var(--bg),transparent); }
.partners-track { display:flex; gap:var(--s5); align-items:center; animation:marquee 20s linear infinite; width:max-content; }
@keyframes marquee { from { transform:translateX(0); } to { transform:translateX(-50%); } }
.partner-chip { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-pill); padding:var(--s2) var(--s5); font-size:.9rem; font-weight:600; color:var(--muted); white-space:nowrap; transition:color .2s, border-color .2s; }
.partner-chip:hover { color:var(--ocean); border-color:var(--ocean); }

/* Double CTA band */
.cta-double-band { margin:var(--s8) 0 0; }
.cta-double-inner { display:grid; grid-template-columns:1fr 1fr; gap:var(--s5); }
.cta-box { background:linear-gradient(135deg,var(--ocean-darker),var(--ocean)); border-radius:var(--radius); padding:var(--s7) var(--s6); color:#fff; display:flex; flex-direction:column; align-items:flex-start; gap:var(--s3); }
.cta-box-gold { background:linear-gradient(135deg,#b45309,var(--mango-deep)); }
.cta-box-ico { font-size:2.5rem; }
.cta-box h3 { font-size:1.4rem; font-weight:800; color:#fff; font-family:var(--font-poppins,"Poppins"),sans-serif; }
.cta-box p  { color:rgba(255,255,255,.8); line-height:1.6; }
.hero-cta-outline { background:transparent; border:2px solid rgba(255,255,255,.8); color:#fff; }
.hero-cta-outline:hover { background:rgba(255,255,255,.15); }
.loading-placeholder { padding:var(--s5) 0; }

/* Responsive */
@media (max-width:840px) {
  .stats-band { grid-template-columns:repeat(2,1fr); }
  .dest-grid-v2 { grid-template-columns:repeat(2,1fr); }
  .numbers-inner { grid-template-columns:repeat(2,1fr); }
  .blog-preview-grid { grid-template-columns:1fr 1fr; }
  .testimonial-grid { grid-template-columns:1fr 1fr; }
  .cta-double-inner { grid-template-columns:1fr; }
  .section-head { flex-direction:column; align-items:flex-start; }
}
@media (max-width:640px) {
  .dest-grid-v2 { grid-template-columns:1fr; }
  .blog-preview-grid { grid-template-columns:1fr; }
  .testimonial-grid { grid-template-columns:1fr; }
  .numbers-inner { grid-template-columns:repeat(2,1fr); }
}

/* ============================================================
   FIRST-TIMERS SECTION (homepage)
   ============================================================ */
.first-timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
  margin-top: var(--s5);
}
.first-timer-card {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s5);
  text-decoration: none;
  color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  box-shadow: var(--shadow-sm);
}
.first-timer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,119,182,.14);
  border-color: rgba(0,150,199,.3);
}
.first-timer-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}
.first-timer-card p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.first-timer-icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: var(--s2);
  line-height: 1;
}
@media (max-width: 840px) {
  .first-timer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .first-timer-grid { grid-template-columns: 1fr; }
}

/* ── Hero currency hint ── */
.hero-currency-hint {
  font-size: .85rem;
  color: rgba(255,255,255,.92);
  margin-top: var(--s4);
  letter-spacing: .01em;
  display: inline-block;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.hero-currency-hint span { white-space: nowrap; }

/* ── Blog post reading time ── */
.post-read-time {
  font-weight: 600;
  color: var(--ocean-deep);
}

/* ── Guide "Updated 2026" tag ── */
.guide-updated-tag {
  background: rgba(255,183,3,.2);
  color: #7a4d00;
  margin-left: var(--s2);
  border: 1px solid rgba(255,183,3,.4);
}

/* ============================================================
   FLIGHTS PAGE
   ============================================================ */
.flights-main { max-width:var(--maxw); margin:0 auto; padding:0 var(--s5) var(--s8); }

/* ── Flight result cards ── */
/* Results section: clear the sticky navbar so the route header is never hidden under it. */
#flights-results-section { scroll-margin-top:calc(var(--nav-height) + var(--s4)); padding-top:var(--s4); }
.flights-results-header { margin-bottom:var(--s5); scroll-margin-top:calc(var(--nav-height) + var(--s4)); padding:var(--s4) 0 0; }
.flights-results-route { display:flex; align-items:center; gap:var(--s3); margin-bottom:var(--s2); flex-wrap:wrap; }
.fr-code { font-size:1.65rem; font-weight:900; color:var(--navy); font-family:var(--font-poppins,'Poppins'),sans-serif; letter-spacing:.5px; }
.fr-arrow { font-size:1.25rem; color:var(--gold); font-weight:900; }
.fr-longhaul { margin-left:var(--s3); font-size:.72rem; }
.fr-subline { font-size:.9rem; color:var(--muted); margin:0; }
.fr-subline em { color:var(--palm-deep,#0a7); font-style:normal; font-weight:600; }
.flight-results-list { display:flex; flex-direction:column; gap:var(--s4); }
.flight-result-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:var(--s5) var(--s6); display:flex; gap:var(--s5); align-items:center; transition:box-shadow .2s,transform .2s,border-color .2s; position:relative; box-shadow:0 1px 3px rgba(16,42,67,.04); }
.flight-result-card:hover { box-shadow:0 12px 32px -10px rgba(16,42,67,.22); transform:translateY(-2px); border-color:rgba(16,42,67,.18); }
.flight-result-best { border-color:var(--gold); border-width:2px; box-shadow:0 8px 28px -10px rgba(245,158,11,.45); background:linear-gradient(180deg,rgba(245,158,11,.05),var(--surface) 60%); }
.flight-result-best:hover { box-shadow:0 14px 36px -10px rgba(245,158,11,.5); }

/* ── Redesigned result card (.flrc) — grid: airline | timeline | price, meta below ── */
.flight-result-card.flrc {
  display:grid;
  grid-template-columns:minmax(160px,1.1fr) minmax(220px,2.2fr) minmax(190px,1fr);
  grid-template-areas:"airline timeline price" "meta meta price";
  column-gap:var(--s6); row-gap:var(--s3); align-items:center; padding:var(--s5) var(--s6);
}
.flrc-airline { grid-area:airline; display:flex; align-items:center; gap:var(--s3); min-width:0; }
.flrc-airline-info { min-width:0; display:flex; flex-direction:column; line-height:1.2; }
.flrc-airline-info strong { font-size:.98rem; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.flrc-fn { font-size:.76rem; color:var(--muted); }

/* Flight timeline */
.flrc-timeline { grid-area:timeline; display:flex; align-items:center; gap:var(--s3); }
.flrc-end { display:flex; flex-direction:column; align-items:flex-start; flex-shrink:0; }
.flrc-end-arr { align-items:flex-end; text-align:right; }
.flrc-code { font-size:1.45rem; font-weight:900; color:var(--navy); font-family:var(--font-poppins,'Poppins'),sans-serif; line-height:1; letter-spacing:.5px; }
.flrc-city { font-size:.74rem; color:var(--muted); margin-top:3px; white-space:nowrap; }
.flrc-path { flex:1; display:flex; flex-direction:column; align-items:center; gap:3px; min-width:90px; }
.flrc-dur { font-size:.72rem; font-weight:700; color:var(--muted); }
.flrc-line { position:relative; width:100%; height:14px; display:flex; align-items:center; }
.flrc-line::before { content:""; position:absolute; left:0; right:0; top:50%; height:2px; background:linear-gradient(90deg,var(--line),rgba(16,42,67,.25),var(--line)); border-radius:2px; }
.flrc-dot { width:7px; height:7px; border-radius:50%; background:var(--navy); position:relative; z-index:1; }
.flrc-dot:last-child { margin-left:auto; }
.flrc-plane { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); font-size:.95rem; color:var(--gold); background:var(--surface); padding:0 5px; z-index:2; }
.flight-result-best .flrc-plane { background:transparent; }
.flrc-stops { margin-top:1px; }

/* Meta strip */
.flrc-meta { grid-area:meta; display:flex; flex-wrap:wrap; gap:var(--s2) var(--s4); padding-top:var(--s3); border-top:1px dashed var(--line); }
.flrc-meta-item { font-size:.8rem; color:var(--muted); font-weight:600; display:inline-flex; align-items:center; gap:4px; }
.flrc-price-block { grid-area:price; }
.flrc-gate { font-size:.78rem; font-weight:700; color:var(--muted); }
.flrc-save { color:#059669; font-weight:800; }
.fl-best-badge { position:absolute; top:-11px; left:var(--s5); background:linear-gradient(135deg,var(--gold),#f6a609); color:var(--navy); font-size:.7rem; font-weight:900; letter-spacing:.3px; padding:4px 12px; border-radius:var(--radius-pill); box-shadow:0 3px 10px -2px rgba(245,158,11,.6); text-transform:uppercase; }
.fl-main { flex:1; min-width:0; display:flex; gap:var(--s5); align-items:center; flex-wrap:wrap; }
.fl-airline { display:flex; align-items:center; gap:var(--s3); min-width:140px; }
.fl-airline-logo { width:38px; height:38px; border-radius:50%; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:1rem; flex-shrink:0; }
.fl-airline-info { min-width:0; }
.fl-fn { font-size:.82rem; }
.fl-route { display:flex; align-items:center; gap:var(--s3); }
.fl-dep,.fl-arr { display:flex; flex-direction:column; align-items:center; gap:2px; }
.fl-iata { font-size:1.1rem; font-weight:800; color:var(--navy); }
.fl-time { font-size:.82rem; color:var(--muted); }
.fl-middle { display:flex; flex-direction:column; align-items:center; gap:4px; }
.fl-stops { font-size:.75rem; font-weight:700; padding:2px 8px; border-radius:var(--radius-pill); }
.fl-direct { background:rgba(6,214,160,.12); color:#059669; }
.fl-stop { background:rgba(245,158,11,.12); color:#d97706; }
.fl-line { width:60px; height:1px; background:var(--line); }
.fl-date-info { color:var(--muted); font-size:.82rem; white-space:nowrap; }
.fl-depart-date { color:var(--muted); font-size:.82rem; }
.fl-price-block { display:flex; flex-direction:column; align-items:flex-end; gap:var(--s2); flex-shrink:0; min-width:160px; padding-left:var(--s5); border-left:1px solid var(--line); }
.fl-price { font-size:1.75rem; font-weight:900; color:var(--navy); font-family:var(--font-poppins,'Poppins'),sans-serif; line-height:1; letter-spacing:-.5px; }
.flight-result-best .fl-price { color:#b45309; }
.fl-price-note { font-size:.72rem; color:var(--muted); text-transform:uppercase; letter-spacing:.5px; }
.fl-partners { display:flex; gap:var(--s2); flex-wrap:wrap; justify-content:flex-end; margin-top:var(--s2); }
.fl-partner-btn { border:1.5px solid currentColor; background:transparent; padding:.3rem .7rem; border-radius:var(--radius-pill); font-size:.78rem; font-weight:700; cursor:pointer; text-decoration:none; transition:all .15s; white-space:nowrap; }
.fl-partner-btn:hover { opacity:.75; }

/* International search — single Aviasales meta-search CTA */
.fl-intl-cta { display:flex; align-items:center; justify-content:space-between; gap:var(--s5); flex-wrap:wrap; background:linear-gradient(135deg,var(--navy),#1e3a5f); border-radius:var(--radius-lg); padding:var(--s6); color:#fff; }
.fl-intl-cta-text { flex:1; min-width:260px; }
.fl-intl-cta-text h3 { margin:0 0 var(--s2); font-size:1.25rem; color:#fff; }
.fl-intl-cta-text p { margin:0; color:rgba(255,255,255,.78); font-size:.92rem; max-width:560px; }
.fl-intl-cta-btn { background:linear-gradient(135deg,var(--gold),#f6a609); color:var(--navy); font-weight:800; padding:.9rem 2rem; border-radius:var(--radius-pill); text-decoration:none; font-size:1rem; white-space:nowrap; box-shadow:0 6px 18px -4px rgba(245,158,11,.55); transition:transform .15s,box-shadow .15s; }
.fl-intl-cta-btn:hover { transform:translateY(-2px); box-shadow:0 10px 24px -6px rgba(245,158,11,.7); }

/* Fallback partner grid */
.fl-no-data { padding:var(--s2) 0; }
.fl-partner-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:var(--s3); margin-top:var(--s3); }
.fl-partner-card { background:var(--surface); border:1.5px solid var(--line); border-radius:var(--radius); padding:var(--s4); text-decoration:none; transition:all .15s; display:flex; flex-direction:column; gap:var(--s2); }
.fl-partner-card:hover { border-color:var(--navy); box-shadow:var(--shadow-sm); transform:translateY(-2px); }
.fl-partner-card-name { font-weight:800; font-size:.95rem; }
.fl-partner-card-route { font-size:.82rem; color:var(--muted); }
.fl-partner-card-cta { font-size:.82rem; font-weight:700; color:var(--navy); margin-top:auto; }

/* Loading */
.fl-loading { display:flex; flex-direction:column; align-items:center; gap:var(--s4); padding:var(--s8) 0; }
.fl-loading-spinner { width:44px; height:44px; border:3px solid var(--line); border-top-color:var(--gold); border-radius:50%; animation:spin .8s linear infinite; }

/* Book button per partner */
.fl-book-btn { display:inline-block; margin-top:var(--s3); padding:.6rem 1.3rem; background:var(--navy); color:#fff; border-radius:var(--radius-pill); font-weight:800; font-size:.85rem; text-decoration:none; transition:background .15s,transform .15s,box-shadow .15s; white-space:nowrap; box-shadow:0 2px 8px -2px rgba(16,42,67,.3); }
.fl-book-btn:hover { background:var(--gold); color:var(--navy); transform:translateY(-1px); box-shadow:0 6px 16px -4px rgba(245,158,11,.5); }
.fl-book-btn-gold { background:linear-gradient(135deg,var(--gold),#f6a609); color:var(--navy); box-shadow:0 4px 14px -3px rgba(245,158,11,.55); }
.fl-book-btn-gold:hover { background:var(--navy); color:#fff; box-shadow:0 6px 18px -4px rgba(16,42,67,.5); }
.fl-gate-name { font-size:.78rem; font-weight:700; color:var(--muted); margin-bottom:2px; }
.fl-dur { font-size:.72rem; color:var(--muted); margin-top:2px; display:block; }

/* Calendar month nav */
.cal-month-nav { display:flex; gap:var(--s3); align-items:center; margin-bottom:var(--s3); }
.cal-nav-btn { background:var(--surface); border:1.5px solid var(--line); border-radius:var(--radius-sm); padding:var(--s2) var(--s4); font-weight:700; font-size:.88rem; cursor:pointer; transition:all .15s; }
.cal-nav-btn:hover { background:var(--navy); color:#fff; border-color:var(--navy); }

/* Cal grid: cells are now <a> tags */
.cal-grid a.cal-cell { text-decoration:none; }

@media (max-width:640px) {
  .flight-result-card { flex-direction:column; align-items:stretch; padding:var(--s5); gap:var(--s4); }
  .fl-price-block { align-items:flex-start; min-width:0; padding-left:0; border-left:0; border-top:1px solid var(--line); padding-top:var(--s4); width:100%; }
  .fl-book-btn { width:100%; text-align:center; }
  .fl-partners { justify-content:flex-start; }
  .fr-code { font-size:1.35rem; }

  /* Redesigned card stacks: airline, timeline, meta, price */
  .flight-result-card.flrc {
    grid-template-columns:1fr;
    grid-template-areas:"airline" "timeline" "meta" "price";
    column-gap:0; row-gap:var(--s4); padding:var(--s5);
  }
  .flrc-price-block { border-top:1px solid var(--line); padding-top:var(--s4); align-items:stretch; text-align:left; }
  .flrc-price-block .fl-price { font-size:1.6rem; }
  .flrc-timeline { justify-content:space-between; }
  .flrc-code { font-size:1.5rem; }
  .flrc-path { min-width:70px; }
}

/* Search card */
.flights-search-wrap { margin:calc(-1*var(--s6)) 0 var(--s7); }
.flights-search-card { background:var(--surface); border-radius:var(--radius); box-shadow:var(--shadow-lg); padding:var(--s6); border:1px solid var(--line); }
.flights-tabs { display:flex; gap:var(--s3); margin-bottom:var(--s4); }
.ftab { background:transparent; border:1.5px solid var(--line); border-radius:var(--radius-pill); padding:var(--s2) var(--s4); font-size:.9rem; font-weight:600; color:var(--muted); cursor:pointer; transition:all .2s; }
.ftab.active { background:var(--ocean); border-color:var(--ocean); color:#fff; }
.flights-form { display:grid; grid-template-columns:1fr 1fr 1fr auto; gap:var(--s3); align-items:end; }
.flights-search-btn { background:var(--ocean); color:#fff; border:none; border-radius:var(--radius-sm); padding:var(--s3) var(--s5); font-weight:700; font-size:1rem; cursor:pointer; transition:background .2s, transform .15s; white-space:nowrap; }
.flights-search-btn:hover { background:var(--ocean-deep); transform:translateY(-1px); }
.flights-hint { margin-top:var(--s4); font-size:.9rem; display:flex; align-items:center; gap:var(--s2); flex-wrap:wrap; }
.route-chip { background:rgba(0,150,199,.08); border:1px solid rgba(0,150,199,.25); border-radius:var(--radius-pill); padding:var(--s1) var(--s3); font-size:.85rem; font-weight:600; color:var(--ocean-deep); cursor:pointer; transition:all .2s; }
.route-chip:hover { background:var(--ocean); color:#fff; border-color:var(--ocean); }

/* Results */
.flights-results-head { margin-bottom:var(--s5); }
.flights-results-grid { display:flex; flex-direction:column; gap:var(--s3); }
.flight-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:var(--s4) var(--s5); display:grid; grid-template-columns:auto 1fr auto auto; align-items:center; gap:var(--s5); transition:box-shadow .2s; }
.flight-card:hover { box-shadow:var(--shadow); }
.flight-card-route { display:flex; align-items:center; gap:var(--s3); }
.flight-code { font-size:1.3rem; font-weight:800; color:var(--ink); font-family:var(--font-poppins,"Poppins"),sans-serif; }
.flight-arrow { color:var(--ocean); font-size:1.2rem; }
.flight-card-info { display:flex; flex-direction:column; gap:var(--s1); }
.flight-airline { font-weight:600; color:var(--ink); }
.flight-dur { font-size:.85rem; }
.flight-price { font-size:1.5rem; font-weight:800; color:var(--ocean-deep); font-family:var(--font-poppins,"Poppins"),sans-serif; white-space:nowrap; }
.flight-book-btn { white-space:nowrap; }
.flights-no-cache { text-align:center; padding:var(--s7) var(--s5); display:flex; flex-direction:column; align-items:center; gap:var(--s4); }

/* Section head */
.flights-section-head { margin-bottom:var(--s5); }
.flights-section-head h2 { margin-bottom:var(--s1); }

/* Popular routes grid */
.popular-routes-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:var(--s4); }
.route-card { border-radius:var(--radius); overflow:hidden; background:var(--surface); border:1px solid var(--line); text-decoration:none; display:block; transition:transform .25s var(--ease), box-shadow .25s var(--ease); }
.route-card:hover { transform:translateY(-5px); box-shadow:0 16px 40px rgba(0,119,182,.15); }
.route-card-img { height:130px; background-size:cover; background-position:center; transition:transform .4s var(--ease); }
.route-card:hover .route-card-img { transform:scale(1.05); }
.route-card-body { padding:var(--s4); display:flex; flex-direction:column; gap:var(--s2); }
.route-card-codes { display:flex; align-items:center; gap:var(--s2); }
.route-code { font-size:1.1rem; font-weight:800; color:var(--ink); font-family:var(--font-poppins,"Poppins"),sans-serif; }
.route-arrow { color:var(--ocean); font-size:1rem; }
.route-card-label { font-size:.95rem; font-weight:700; color:var(--ink); }
.route-card-note { font-size:.82rem; }
.route-card-cta { font-size:.85rem; font-weight:700; color:var(--ocean-deep); margin-top:var(--s1); }
.route-card:hover .route-card-cta { text-decoration:underline; }

/* Flight deal cards (from /api/flights/deals) */
.flight-deals-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:var(--s4); }
.flight-deal-card { border-radius:var(--radius); overflow:hidden; background:var(--surface); border:1px solid var(--line); display:flex; flex-direction:column; transition:transform .25s var(--ease), box-shadow .25s var(--ease); }
.flight-deal-card:hover { transform:translateY(-5px); box-shadow:0 16px 40px rgba(0,119,182,.14); }
.flight-deal-img { height:120px; background-size:cover; background-position:center; transition:transform .4s var(--ease); }
.flight-deal-card:hover .flight-deal-img { transform:scale(1.05); }
.flight-deal-body { padding:var(--s4); display:flex; flex-direction:column; gap:var(--s2); flex:1; }
.flight-deal-route { display:flex; align-items:center; gap:var(--s2); }
.flight-deal-label { font-size:.88rem; color:var(--body); font-weight:600; }
.flight-deal-meta { font-size:.82rem; }
.flight-deal-airline { font-weight:600; color:var(--ink); }
.flight-deal-price { font-size:1.5rem; font-weight:800; color:var(--ocean-deep); font-family:var(--font-poppins,"Poppins"),sans-serif; line-height:1; margin-top:auto; }
.flight-deal-btn { margin-top:var(--s3); font-size:.88rem; }
.flight-deal-tags { display:flex; gap:var(--s2); flex-wrap:wrap; margin:var(--s1) 0; }
.deal-tag { background:rgba(0,150,199,.1); color:var(--ocean-deep); font-size:.78rem; font-weight:600; padding:2px var(--s2); border-radius:var(--radius-pill); }
.deal-from-label { font-size:.75rem; font-weight:500; color:var(--muted); margin-left:4px; }
/* Provider comparison rows */
.deal-providers { margin-top:var(--s3); border-top:1px solid var(--line); padding-top:var(--s3); display:flex; flex-direction:column; gap:var(--s2); }
.deal-provider { display:grid; grid-template-columns:1fr auto auto auto; align-items:center; gap:var(--s3); padding:var(--s2) 0; border-bottom:1px solid var(--line); }
.deal-provider:last-child { border-bottom:none; }
.deal-provider-name { font-weight:700; color:var(--ink); font-size:.88rem; }
.deal-provider-date { font-size:.8rem; }
.deal-provider-price { font-weight:800; color:var(--ocean-deep); font-size:.95rem; white-space:nowrap; }
.deal-provider-btn { font-size:.8rem; padding:4px var(--s3); white-space:nowrap; }

@media (max-width:840px) {
  .flights-form { grid-template-columns:1fr 1fr; }
  .popular-routes-grid { grid-template-columns:repeat(2,1fr); }
  .flight-card { grid-template-columns:1fr 1fr; gap:var(--s3); }
  .variants-grid { grid-template-columns:1fr; }
  .flight-deals-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px) {
  .flights-form { grid-template-columns:1fr; }
  .popular-routes-grid { grid-template-columns:1fr 1fr; }
  .flight-card { grid-template-columns:1fr; }
}

/* ── Price variants (cheapest / medium / expensive) ── */
.variants-header { margin-bottom:var(--s5); }
.variants-header h3 { font-size:1.2rem; }
.variants-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--s4); }
.variant-card {
  border-radius:var(--radius); border:2px solid var(--line);
  padding:var(--s5); display:flex; flex-direction:column; gap:var(--s3);
  background:var(--surface); position:relative; overflow:hidden;
  transition:box-shadow .25s var(--ease), transform .25s var(--ease);
}
.variant-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.variant-cheapest { border-color:var(--palm); background:rgba(42,157,143,.04); }
.variant-expensive { border-color:rgba(251,133,0,.4); background:rgba(251,133,0,.03); }
.variant-badge {
  display:inline-flex; align-items:center;
  font-size:.82rem; font-weight:700; border-radius:var(--radius-pill);
  padding:var(--s1) var(--s3); width:fit-content;
}
.badge-green { background:rgba(42,157,143,.15); color:var(--palm-deep); }
.badge-blue  { background:rgba(0,150,199,.12); color:var(--ocean-deep); }
.badge-orange { background:rgba(251,133,0,.12); color:var(--mango-deep); }
.variant-route { display:flex; align-items:center; gap:var(--s3); }
.variant-code { font-size:1.5rem; font-weight:800; color:var(--ink); font-family:var(--font-poppins,"Poppins"),sans-serif; }
.variant-arrow { color:var(--muted); font-size:1.2rem; }
.variant-price { font-size:2.2rem; font-weight:800; color:var(--ocean-deep); font-family:var(--font-poppins,"Poppins"),sans-serif; line-height:1; }
.variant-cheapest .variant-price { color:var(--palm-deep); }
.variant-expensive .variant-price { color:var(--mango-deep); }
.variant-meta { display:flex; flex-direction:column; gap:2px; }
.variant-airline { font-weight:600; color:var(--ink); font-size:.95rem; }
.variant-date { font-size:.85rem; }
.variant-book { margin-top:auto; }
@media (max-width:840px) { .variants-grid { grid-template-columns:1fr; } }

/* ============================================================
   HOTELS PAGE
   ============================================================ */
.hotels-main,
.activities-main,
.stays-main,
.cars-main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--s5) var(--s8);
}

/* Search card */
.hotels-search-wrap { margin:calc(-1*var(--s6)) 0 var(--s7); }
.hotels-search-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 32px rgba(10,22,40,.12);
  padding: var(--s5) var(--s6);
  border: 1px solid var(--line);
  margin-bottom: var(--s2);
}
.hotels-search-form { display: grid; grid-template-columns: 2fr 1fr 1fr auto auto; gap: var(--s3); align-items: end; }
.hotels-field { display:flex; flex-direction:column; gap:var(--s1); }
.hotels-field-sm { max-width:100px; }
.hotels-field-label {
  font-size: .72rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); margin-bottom: var(--s1); display: block;
}
.hotels-input {
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--s3) var(--s4);
  font-size: 1rem; color: var(--ink);
  width: 100%; transition: border-color .2s, box-shadow .2s;
  background: var(--bg);
}
.hotels-input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10,22,40,.08); background: #fff; }
.hotels-search-btn {
  background: var(--navy); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: var(--s3) var(--s5);
  font-weight: 800; font-size: 1rem; cursor: pointer;
  white-space: nowrap; height: 100%;
  transition: background .2s, transform .15s;
}
.hotels-search-btn:hover { background: var(--gold); color: var(--navy); transform: translateY(-1px); }
.hotels-trust-bar {
  display: flex; gap: var(--s5); flex-wrap: wrap;
  padding: var(--s3) 0; font-size: .85rem;
  font-weight: 600; color: var(--muted);
  border-bottom: 1px solid var(--line); margin-bottom: var(--s5);
}
.hotels-trust-bar span { display: flex; align-items: center; gap: .3rem; }
.hotels-trust-bar span::before { content: '\2713'; color: var(--gold); font-weight: 800; }
.hotels-hint { margin-top:var(--s4); font-size:.9rem; display:flex; align-items:center; gap:var(--s2); flex-wrap:wrap; }
.dest-chip { background:rgba(0,150,199,.08); border:1px solid rgba(0,150,199,.25); border-radius:var(--radius-pill); padding:var(--s1) var(--s3); font-size:.85rem; font-weight:600; color:var(--ocean-deep); cursor:pointer; transition:all .2s; }
.dest-chip:hover { background:var(--ocean); color:#fff; border-color:var(--ocean); }

/* Results */
.hotels-results-head { margin-bottom:var(--s5); }
.hotels-results-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--s4); }
.hotel-result-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column; transition:transform .25s var(--ease), box-shadow .25s var(--ease); text-decoration:none; color:inherit; }
.hotel-result-card:hover { transform:translateY(-5px); box-shadow:0 16px 40px rgba(0,119,182,.14); }
.hotel-result-img-wrap { position:relative; overflow:hidden; }
.hotel-result-img { width:100%; height:200px; object-fit:cover; display:block; transition:transform .4s var(--ease); }
.hotel-result-card:hover .hotel-result-img { transform:scale(1.04); }
.hotel-badge { position:absolute; top:var(--s3); left:var(--s3); background:var(--mango); color:var(--ink); font-size:.78rem; font-weight:700; padding:3px var(--s3); border-radius:var(--radius-pill); }
.hotel-badge-green { background:var(--palm); color:#fff; }
.hotel-result-body { padding:var(--s4); display:flex; flex-direction:column; gap:var(--s3); flex:1; }
.hotel-result-top { display:flex; justify-content:space-between; align-items:flex-start; gap:var(--s3); }
.hotel-result-name { font-size:1rem; font-weight:700; color:var(--ink); line-height:1.35; }
.hotel-result-loc { font-size:.85rem; margin-top:2px; }
.hotel-stars { color:var(--mango); font-size:.9rem; white-space:nowrap; letter-spacing:1px; }
.hotel-result-rating { display:flex; align-items:center; gap:var(--s2); }
.rating-score { background:var(--ocean-deep); color:#fff; font-weight:800; font-size:.9rem; padding:3px var(--s3); border-radius:var(--radius-sm); }
.rating-label { font-size:.85rem; font-weight:600; color:var(--body); }
.hotel-result-footer { display:flex; justify-content:space-between; align-items:center; gap:var(--s3); margin-top:auto; }
.hotel-result-price { font-size:1.15rem; font-weight:800; color:var(--ocean-deep); font-family:var(--font-poppins,"Poppins"),sans-serif; }
.hotel-book-btn { white-space:nowrap; font-size:.9rem; }
.hotels-no-results { text-align:center; padding:var(--s7); }
.stay-card-link { text-decoration:none; }

/* Featured destinations */
.hotels-dest-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--s4); }
.hotel-dest-card { border-radius:var(--radius); overflow:hidden; background:var(--surface); border:1px solid var(--line); transition:transform .25s var(--ease), box-shadow .25s var(--ease); }
.hotel-dest-card:hover { transform:translateY(-5px); box-shadow:0 16px 40px rgba(0,119,182,.14); }
.hotel-dest-img { height:160px; background-size:cover; background-position:center; position:relative; transition:transform .4s var(--ease); display:flex; align-items:flex-start; padding:var(--s3); }
.hotel-dest-card:hover .hotel-dest-img { transform:scale(1.03); }
.hotel-dest-tag { background:rgba(0,0,0,.55); color:#fff; font-size:.78rem; font-weight:700; padding:3px var(--s3); border-radius:var(--radius-pill); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); }
.hotel-dest-body { padding:var(--s4); }
.hotel-dest-name { font-size:1.1rem; font-weight:800; color:var(--ink); font-family:var(--font-poppins,"Poppins"),sans-serif; }
.hotel-dest-from { font-size:.85rem; margin:2px 0 var(--s2); }
.hotel-dest-cta { font-size:.88rem; font-weight:700; color:var(--ocean-deep); }
.hotel-dest-card:hover .hotel-dest-cta { text-decoration:underline; }

@media (max-width:840px) {
  .hotels-search-form { grid-template-columns:1fr 1fr; }
  .hotels-results-grid { grid-template-columns:1fr 1fr; }
  .hotels-dest-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:640px) {
  .hotels-search-form { grid-template-columns:1fr; }
  .hotels-results-grid { grid-template-columns:1fr; }
  .hotels-dest-grid { grid-template-columns:1fr; }
}

/* ── Hotel filter bar ── */
.hotel-filters-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--s4);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: var(--s3) var(--s4);
  margin-bottom: var(--s5);
  animation: heroFadeUp .35s var(--ease) both;
}
.hf-group { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.hf-label {
  font-size: .78rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
}
.hf-btns { display: flex; gap: var(--s2); flex-wrap: wrap; }
.hf-btn {
  background: transparent; border: 1.5px solid var(--line);
  border-radius: var(--radius-pill); padding: .3rem .85rem;
  font-size: .85rem; font-weight: 600; color: var(--body);
  cursor: pointer; transition: all .2s var(--ease); white-space: nowrap;
}
.hf-btn:hover { border-color: var(--ocean); color: var(--ocean-deep); background: rgba(0,150,199,.05); }
.hf-btn-active { background: var(--ocean-deep) !important; color: #fff !important; border-color: var(--ocean-deep) !important; }
.hf-clear-btn {
  margin-left: auto; background: transparent; border: none;
  font-size: .82rem; font-weight: 700; color: var(--muted);
  cursor: pointer; padding: .3rem .6rem;
  transition: color .2s var(--ease);
}
.hf-clear-btn:hover { color: var(--ink); }
@media (max-width: 640px) {
  .hotel-filters-bar { flex-direction: column; align-items: flex-start; }
  .hf-clear-btn { margin-left: 0; }
}

/* ── First-timer info box (guide pages) ── */
.guide-first-timer { border-top: 2px solid var(--line); padding-top: var(--s5); }
.guide-first-timer-grid {
  display: flex; flex-direction: column; gap: 0;
  background: linear-gradient(135deg, rgba(0,150,199,.04), rgba(42,157,143,.04));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s4) var(--s5);
}
.first-timer-item {
  display: flex; align-items: flex-start; gap: var(--s3);
  padding: var(--s3) 0; border-bottom: 1px solid var(--line);
}
.first-timer-item:last-child { border-bottom: none; }
.first-timer-ico { font-size: 1.25rem; flex-shrink: 0; margin-top: 2px; line-height: 1.4; }
.first-timer-item strong { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 2px; }
.first-timer-item .muted { font-size: .9rem; line-height: 1.6; margin: 0; }

/* Singapore routing section (guides) */
.sg-routing-grid { display:grid; grid-template-columns:1fr 1fr; gap:var(--s4); margin-top:var(--s4); }
.sg-routing-card { background:rgba(0,150,199,.06); border:1px solid rgba(0,150,199,.2); border-radius:var(--radius); padding:var(--s4); display:flex; flex-direction:column; gap:var(--s3); }
.sg-routing-label { font-weight:800; color:var(--ocean-deep); font-size:.9rem; }
@media(max-width:640px){ .sg-routing-grid { grid-template-columns:1fr; } }

/* Klook promo banner (activities page) */
.klook-promo-banner { background:rgba(42,157,143,.1); border:1px solid rgba(42,157,143,.3); border-radius:var(--radius-sm); padding:var(--s3) var(--s4); margin-bottom:var(--s4); font-size:.95rem; }

/* ============================================================
   TRIP PLANNER PAGE — Multi-step wizard + result view
   ============================================================ */

/* Wrap */
/* ════════════════════════════════════════════════════════════════
   PLAN PAGE — premium hero + redesigned Step 1
   ════════════════════════════════════════════════════════════════ */
.plan-hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(10,22,40,.82) 0%, rgba(10,22,40,.72) 60%, rgba(10,22,40,.92) 100%),
    url('/img/el-nido-palawan-lagoons.webp') center/cover no-repeat;
  color: #fff;
  padding: calc(var(--nav-height) + var(--s8)) var(--s5) var(--s8);
  text-align: center;
  margin-bottom: calc(var(--s7) * -1);
}
.plan-hero-inner { max-width: 760px; margin: 0 auto; }
.plan-hero-eyebrow {
  display: inline-block; background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22); color: #fff; font-weight: 600;
  font-size: .82rem; padding: .4rem 1rem; border-radius: var(--radius-pill); margin-bottom: var(--s4);
}
.plan-hero-title {
  font-size: clamp(1.9rem, 5vw, 3.1rem); line-height: 1.08; margin: 0 0 var(--s4);
  font-family: "Poppins", sans-serif; font-weight: 800; color: #fff;
}
.plan-hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.18rem); line-height: 1.6; color: rgba(255,255,255,.9);
  max-width: 620px; margin: 0 auto var(--s5);
}
.plan-hero-trust { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; }
.plan-hero-trust-item {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: .88rem; font-weight: 600; padding: .5rem 1rem; border-radius: var(--radius-pill);
}

/* Lift the planner card up over the hero for a polished overlap */
#plan-main { max-width:var(--maxw); margin:0 auto; padding:0 var(--s5) var(--s8); position: relative; z-index: 2; }
#planner-wrap { max-width:860px; margin:0 auto; }
#planner-wrap > .planner-step:first-of-type,
#planner-progress { background: var(--surface); }
#planner-progress {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: var(--s5) var(--s6); box-shadow: var(--shadow-md); margin-top: var(--s5);
}

/* ── Origin Country → City selects ── */
.origin-selects { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.origin-select-wrap { position: relative; display: flex; align-items: center; }
.origin-select-icon {
  position: absolute; left: 14px; font-size: 1.1rem; pointer-events: none; z-index: 1;
}
.planner-select {
  width: 100%; padding: 14px 14px 14px 44px; font-size: 1rem; font-family: inherit;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink);
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.planner-select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,151,58,.15); }
.planner-select:disabled { opacity: .55; cursor: not-allowed; background-color: var(--bg, #f5f5f5); }

/* ── Date mode toggle + panels ── */
.date-mode-toggle {
  display: inline-flex; gap: 4px; background: var(--line); padding: 4px; border-radius: var(--radius-pill);
  margin-bottom: var(--s4);
}
.date-mode-btn {
  border: 0; background: transparent; padding: .55rem 1.1rem; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .9rem; color: var(--muted); cursor: pointer; transition: all .2s var(--ease);
}
.date-mode-btn.active { background: var(--surface); color: var(--navy); box-shadow: var(--shadow-sm); }
.date-range-row { display: flex; align-items: flex-end; gap: var(--s3); flex-wrap: wrap; }
.date-input-wrap { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 140px; }
.date-input-label { font-size: .8rem; font-weight: 600; color: var(--muted); }
.date-input { padding: 12px 14px; }
.date-range-arrow { font-size: 1.3rem; color: var(--muted); padding-bottom: 12px; }
.date-nights-context {
  margin-top: var(--s3); font-size: .92rem; font-weight: 600; color: var(--palm-deep, #0f766e);
}
.exp-count-hint { font-weight: 700; color: var(--gold); }

/* ── Currency picker in planner ── */
.step-header-with-cur { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }
.plan-currency-picker { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }
.plan-currency-label { font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.plan-currency-select {
  padding: 8px 32px 8px 12px; font-size: .95rem; font-weight: 600; font-family: inherit;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink);
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.plan-currency-select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,151,58,.15); }

@media (max-width: 560px) {
  .origin-selects { grid-template-columns: 1fr; }
  .plan-hero { padding-top: calc(var(--nav-height) + var(--s6)); }
}

/* ── Progress bar ── */
#planner-progress { margin-bottom:var(--s7); }
.progress-track {
  height:6px; background:var(--line); border-radius:3px; margin-bottom:var(--s4); overflow:hidden;
}
.progress-fill {
  height:100%; background:linear-gradient(90deg,var(--ocean),var(--aqua));
  border-radius:3px; transition:width .4s var(--ease);
}
.progress-steps { display:flex; gap:var(--s4); justify-content:space-between; }
.progress-step {
  display:flex; flex-direction:column; align-items:center; gap:var(--s1);
  font-size:.8rem; font-weight:600; color:var(--muted); transition:color .25s;
}
.step-dot {
  width:32px; height:32px; border-radius:50%; border:2px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  font-size:.85rem; font-weight:700; color:var(--muted);
  background:var(--surface); transition:all .25s var(--ease);
}
.progress-step.active .step-dot { background:var(--ocean); border-color:var(--ocean); color:#fff; }
.progress-step.active { color:var(--ocean-deep); }
.progress-step.done .step-dot { background:var(--palm); border-color:var(--palm); color:#fff; }
.progress-step.done { color:var(--palm-deep); }
.step-label { white-space:nowrap; }

/* ── Steps ── */
.planner-step { display:none; }
.planner-step.active { display:block; animation:heroFadeUp .4s var(--ease) both; }

.step-header { margin-bottom:var(--s6); }
.step-header h2 { font-size:clamp(1.4rem,3vw,1.9rem); margin-bottom:var(--s2); }

/* ── Fields ── */
.planner-fields { display:flex; flex-direction:column; gap:var(--s6); }
.field-group { display:flex; flex-direction:column; gap:var(--s2); }
.field-label { font-weight:700; color:var(--ink); font-size:1rem; font-family:"Poppins",sans-serif; }
.field-hint { font-size:.875rem; color:var(--muted); }

.planner-input {
  border:2px solid var(--line); border-radius:var(--radius-sm);
  padding:var(--s3) var(--s4); font-size:1.1rem; font-weight:700;
  color:var(--ink); background:var(--surface); width:100%; max-width:280px;
  text-transform:uppercase; letter-spacing:.04em;
  transition:border-color .2s, box-shadow .2s;
}
.planner-input:focus { outline:none; border-color:var(--ocean); box-shadow:0 0 0 3px rgba(0,150,199,.15); }

/* Origin quick-chips */
.quick-chips { display:flex; flex-wrap:wrap; gap:var(--s2); margin-top:var(--s2); }
.chip {
  background:var(--surface); border:1.5px solid var(--line);
  border-radius:var(--radius-pill); padding:var(--s1) var(--s4);
  font-size:.85rem; font-weight:700; color:var(--muted); cursor:pointer;
  transition:all .2s var(--ease);
}
.chip:hover, .chip.active { background:var(--ocean); border-color:var(--ocean); color:#fff; }

/* Days slider */
.slider-wrap { display:flex; align-items:center; gap:var(--s4); flex-wrap:wrap; }
.days-slider {
  flex:1; max-width:400px; height:6px; border-radius:3px;
  -webkit-appearance:none; appearance:none;
  background:linear-gradient(90deg, var(--ocean) 0%, var(--line) 0%);
  outline:none; cursor:pointer;
}
.days-slider::-webkit-slider-thumb {
  -webkit-appearance:none; width:22px; height:22px; border-radius:50%;
  background:var(--ocean); border:3px solid #fff; box-shadow:0 2px 8px rgba(0,119,182,.35);
  cursor:pointer;
}
.days-slider::-moz-range-thumb {
  width:22px; height:22px; border-radius:50%;
  background:var(--ocean); border:3px solid #fff; cursor:pointer;
}
.slider-display { display:flex; align-items:baseline; gap:.3rem; }
.days-number { font-size:2.5rem; font-weight:800; color:var(--ocean); font-family:"Poppins",sans-serif; line-height:1; }
.days-unit { font-size:1rem; color:var(--muted); font-weight:600; }
.days-context { font-size:.9rem; color:var(--palm-deep); font-weight:600; padding:var(--s2) var(--s3); background:rgba(42,157,143,.08); border-radius:var(--radius-sm); border-left:3px solid var(--palm); }

/* Month grid */
.month-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:var(--s2); max-width:480px; }
.month-btn {
  border:1.5px solid var(--line); border-radius:var(--radius-sm);
  padding:var(--s2) 0; font-size:.88rem; font-weight:600; color:var(--body);
  background:var(--surface); cursor:pointer; text-align:center;
  transition:all .18s var(--ease);
}
.month-btn:hover { border-color:var(--ocean); color:var(--ocean-deep); background:rgba(0,150,199,.05); }
.month-btn.selected { background:var(--ocean); border-color:var(--ocean); color:#fff; font-weight:700; }

/* Travelers control */
.travelers-control { display:flex; align-items:center; gap:var(--s3); }
.trav-btn {
  width:44px; height:44px; border-radius:50%; border:2px solid var(--line);
  background:var(--surface); font-size:1.3rem; font-weight:700; color:var(--ocean);
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:all .18s var(--ease);
}
.trav-btn:hover { background:var(--ocean); border-color:var(--ocean); color:#fff; }
.travelers-count { font-size:2rem; font-weight:800; color:var(--ink); font-family:"Poppins",sans-serif; min-width:2ch; text-align:center; }
.travelers-label { font-size:1rem; color:var(--muted); font-weight:600; }

/* ── Step actions ── */
.step-actions { display:flex; align-items:center; gap:var(--s4); margin-top:var(--s7); flex-wrap:wrap; }
.btn-primary {
  background:linear-gradient(135deg,var(--ocean),var(--aqua));
  color:#fff; border:0; border-radius:var(--radius-pill);
  padding:var(--s3) var(--s6); font-weight:700; font-size:1rem;
  cursor:pointer; transition:transform .15s var(--ease), box-shadow .2s;
  box-shadow:var(--shadow-brand);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 12px 30px rgba(0,150,199,.35); }
.btn-ghost {
  background:transparent; border:2px solid var(--line);
  border-radius:var(--radius-pill); padding:var(--s3) var(--s5);
  font-weight:600; font-size:.95rem; color:var(--body); cursor:pointer;
  transition:all .18s var(--ease);
}
.btn-ghost:hover { border-color:var(--ocean); color:var(--ocean-deep); background:rgba(0,150,199,.05); }
.btn-cta {
  background:linear-gradient(135deg,var(--mango),var(--coral));
  color:#fff; border:0; border-radius:var(--radius-pill);
  padding:var(--s4) var(--s7); font-weight:800; font-size:1.1rem;
  cursor:pointer; display:flex; align-items:center; gap:var(--s3);
  box-shadow:0 8px 24px rgba(255,183,3,.35);
  transition:transform .15s var(--ease), box-shadow .2s; position:relative; overflow:hidden;
}
.btn-cta:hover { transform:translateY(-3px) scale(1.02); box-shadow:0 16px 40px rgba(255,183,3,.45); }
.btn-cta::after {
  content:''; position:absolute; inset:0;
  background:linear-gradient(105deg,transparent 40%,rgba(255,255,255,.25) 50%,transparent 60%);
  background-size:200% auto; animation:shimmer 2s linear infinite; pointer-events:none;
}
.btn-arrow { font-size:1.2rem; }

/* ── Experience cards ── */
.experience-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:var(--s3); margin-bottom:var(--s6); }
.exp-card {
  display:flex; flex-direction:column; align-items:center; gap:var(--s2);
  padding:var(--s4) var(--s3); border-radius:var(--radius);
  border:2px solid var(--line); background:var(--surface);
  cursor:pointer; transition:all .2s var(--ease); position:relative; overflow:hidden;
  text-align:center;
}
.exp-card:hover { border-color:var(--ocean); box-shadow:0 8px 24px rgba(0,150,199,.15); transform:translateY(-3px); }
.exp-card.selected { border-color:var(--ocean); background:rgba(0,150,199,.07); box-shadow:0 4px 16px rgba(0,150,199,.2); }
.exp-icon { font-size:2rem; line-height:1; }
.exp-label { font-weight:700; color:var(--ink); font-size:.9rem; font-family:"Poppins",sans-serif; line-height:1.2; }
.exp-desc { font-size:.78rem; color:var(--muted); line-height:1.4; }
.exp-check {
  position:absolute; top:var(--s2); right:var(--s2);
  width:20px; height:20px; border-radius:50%; background:var(--ocean); color:#fff;
  font-size:.75rem; display:flex; align-items:center; justify-content:center;
  font-weight:800; opacity:0; transform:scale(.5); transition:all .18s var(--ease);
}
.exp-card.selected .exp-check { opacity:1; transform:scale(1); }

/* ── Budget cards ── */
.budget-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:var(--s4); margin-bottom:var(--s6); }
.budget-card {
  border:2px solid var(--line); border-radius:var(--radius);
  padding:var(--s5); background:var(--surface); cursor:pointer;
  transition:all .2s var(--ease); text-align:left; position:relative; overflow:hidden;
}
.budget-card:hover { border-color:var(--ocean); transform:translateY(-3px); box-shadow:var(--shadow); }
.budget-card.selected { border-color:var(--ocean); background:rgba(0,150,199,.06); box-shadow:0 4px 20px rgba(0,150,199,.18); }
.budget-card-top { display:flex; align-items:center; gap:var(--s3); margin-bottom:var(--s3); }
.budget-icon { font-size:1.8rem; flex-shrink:0; }
.budget-label { font-size:1.05rem; font-weight:800; color:var(--ink); font-family:"Poppins",sans-serif; display:block; }
.budget-php { font-size:1.1rem; font-weight:700; color:var(--ocean-deep); }
.budget-check {
  margin-left:auto; width:24px; height:24px; border-radius:50%;
  background:var(--ocean); color:#fff; font-size:.85rem;
  display:flex; align-items:center; justify-content:center;
  font-weight:800; opacity:0; transform:scale(.5); transition:all .18s;
}
.budget-card.selected .budget-check { opacity:1; transform:scale(1); }
.budget-tagline { font-size:.85rem; color:var(--muted); font-weight:600; margin-bottom:var(--s3); font-style:italic; }
.budget-includes { list-style:none; display:flex; flex-direction:column; gap:var(--s1); }
.budget-includes li { font-size:.82rem; color:var(--body); padding-left:var(--s3); position:relative; }
.budget-includes li::before { content:'✓'; position:absolute; left:0; color:var(--palm); font-weight:800; font-size:.75rem; }

/* ── Loading state ── */
#planner-loading {
  display:none; flex-direction:column; align-items:center;
  padding:var(--s8) var(--s5); gap:var(--s5);
}
.loading-banca { display:flex; flex-direction:column; align-items:center; gap:var(--s2); }
.banca-boat { font-size:3rem; animation:bancaRock 2s ease-in-out infinite; }
.banca-waves { font-size:1.5rem; color:var(--ocean); opacity:.6; animation:waveSlide 1.5s linear infinite; letter-spacing:4px; }
@keyframes bancaRock {
  0%,100% { transform:rotate(-5deg) translateX(-4px); }
  50% { transform:rotate(5deg) translateX(4px); }
}
@keyframes waveSlide {
  from { letter-spacing:4px; opacity:.4; }
  to { letter-spacing:8px; opacity:.8; }
}
.loading-title { font-size:1.3rem; font-weight:700; color:var(--ink); font-family:"Poppins",sans-serif; text-align:center; }
.loading-steps-list { display:flex; flex-direction:column; gap:var(--s2); max-width:380px; width:100%; }
.lstep {
  padding:var(--s3) var(--s4); border-radius:var(--radius-sm);
  font-size:.9rem; color:var(--muted); border:1px solid transparent;
  transition:all .3s var(--ease);
}
.lstep-active {
  color:var(--ocean-deep); font-weight:600;
  background:rgba(0,150,199,.08); border-color:rgba(0,150,199,.2);
}
.lstep-done {
  color:var(--palm-deep); font-weight:600;
  background:rgba(42,157,143,.06); border-color:rgba(42,157,143,.15);
}
.lstep-done::before { content:'✓ '; }

/* ── Result: hero header ── */
.result-header { margin-bottom:var(--s5); }
.result-hero {
  background:linear-gradient(135deg,var(--ocean-darker),var(--ocean));
  border-radius:var(--radius); padding:var(--s6); color:#fff;
  display:flex; justify-content:space-between; align-items:center; gap:var(--s5); flex-wrap:wrap;
}
.result-tag { font-size:.8rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:rgba(255,255,255,.7); margin-bottom:var(--s2); }
.result-title { font-size:clamp(1.4rem,3.5vw,2.2rem); color:#fff; font-family:"Poppins",sans-serif; margin-bottom:var(--s2); }
.result-subtitle { font-size:.95rem; color:rgba(255,255,255,.85); }
.confidence-badge {
  display:inline-flex; align-items:center; gap:var(--s2);
  padding:var(--s2) var(--s4); border-radius:var(--radius-pill);
  font-size:.85rem; font-weight:700; margin-top:var(--s3);
}
.confidence-high { background:rgba(42,157,143,.25); color:#a0f5e0; }
.confidence-med { background:rgba(255,183,3,.2); color:#ffe08a; }
.confidence-low { background:rgba(255,80,80,.2); color:#ffb3b3; }
.conf-dot {
  width:8px; height:8px; border-radius:50%; flex-shrink:0;
  background:currentColor; display:inline-block;
}
.total-cost-badge {
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25);
  border-radius:var(--radius); padding:var(--s4) var(--s5); text-align:center;
  -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
}
.tcb-label { font-size:.78rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:rgba(255,255,255,.7); margin-bottom:var(--s1); }
.tcb-amount { font-size:2.4rem; font-weight:800; color:#fff; font-family:"Poppins",sans-serif; line-height:1; }
.tcb-sub { font-size:.8rem; color:rgba(255,255,255,.7); margin-top:var(--s1); }

/* Result hero structural layout */
.result-hero-left { flex:1; min-width:0; }
.result-hero-right { text-align:center; flex-shrink:0; display:flex; flex-direction:column; gap:var(--s3); align-items:center; }

/* Daily cost badge (below total-cost-badge in hero right panel) */
.daily-cost-badge {
  background:rgba(255,255,255,.15); border-radius:var(--radius-sm);
  padding:var(--s3); text-align:center;
}
.dcb-label { font-size:.78rem; opacity:.8; margin-bottom:2px; color:rgba(255,255,255,.7); }
.dcb-amount { font-size:1.1rem; font-weight:800; color:#fff; }

/* ── Warnings ── */
#result-warnings { display:flex; flex-direction:column; gap:var(--s3); margin-bottom:var(--s5); }
.plan-warning {
  display:flex; gap:var(--s3); padding:var(--s4); border-radius:var(--radius-sm);
  border-left:4px solid; align-items:flex-start;
}
.plan-warning-high { background:rgba(255,80,80,.06); border-color:#ff5050; }
.plan-warning-medium { background:rgba(255,183,3,.07); border-color:var(--mango); }
.plan-warning-info { background:rgba(0,150,199,.06); border-color:var(--ocean); }
.warn-icon { font-size:1.3rem; flex-shrink:0; margin-top:2px; }
.warn-body { display:flex; flex-direction:column; gap:var(--s1); }
.warn-body strong { color:var(--ink); font-size:.95rem; }
.warn-body p { font-size:.9rem; color:var(--body); margin:0; }
.warn-tip { color:var(--muted) !important; font-size:.85rem !important; }

/* ── Result layout ── */
.result-layout { display:grid; grid-template-columns:1fr 320px; gap:var(--s6); align-items:start; margin-bottom:var(--s7); }

/* ── Day cards (itinerary) ── */
.result-itinerary { display:flex; flex-direction:column; gap:var(--s4); }
.day-card {
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow-sm); transition:box-shadow .2s var(--ease);
}
.day-card:hover { box-shadow:var(--shadow); }
.day-card-travel { border-left:4px solid var(--aqua); }
.day-card-arrival { border-left:4px solid var(--palm); }
.day-card-departure { border-left:4px solid var(--muted); }
.day-card-header {
  padding:var(--s4) var(--s5); background:linear-gradient(135deg,rgba(0,150,199,.04),rgba(72,202,228,.04));
  border-bottom:1px solid var(--line); display:flex; align-items:center; gap:var(--s4); flex-wrap:wrap;
}
.day-number {
  font-size:.8rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em;
  color:var(--ocean); background:rgba(0,150,199,.1); padding:var(--s1) var(--s3);
  border-radius:var(--radius-pill); white-space:nowrap;
}
.day-destination { font-weight:800; color:var(--ink); font-family:"Poppins",sans-serif; font-size:1.05rem; flex:1; }
.day-theme { font-size:.85rem; color:var(--muted); font-style:italic; }
.day-card-body { padding:var(--s4) var(--s5); display:flex; flex-direction:column; gap:var(--s3); }

/* Itinerary blocks (morning/afternoon/evening) */
.itinerary-block {
  display:grid; grid-template-columns:80px 1fr auto; gap:var(--s3); align-items:start;
  padding:var(--s3); border-radius:var(--radius-sm);
  border-left:3px solid var(--line); background:rgba(0,0,0,.01);
  transition:background .15s;
}
.itinerary-block:hover { background:rgba(0,150,199,.03); border-left-color:var(--aqua); }
.itinerary-block-transport { border-left-color:var(--ocean); }
.itinerary-block-diving { border-left-color:var(--ocean-deep); }
.itinerary-block-surf { border-left-color:#00b4d8; }
.itinerary-block-adventure { border-left-color:var(--palm); }
.itinerary-block-wildlife { border-left-color:#52b788; }
.itinerary-block-food { border-left-color:var(--mango); }
.itinerary-block-departure { border-left-color:var(--muted); }
.block-time { font-size:.78rem; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; padding-top:2px; }
.block-body { display:flex; flex-direction:column; gap:var(--s1); }
.block-activity { font-weight:600; color:var(--ink); font-size:.95rem; line-height:1.4; }
.block-note { font-size:.82rem; color:var(--muted); }
.block-meta { display:flex; flex-direction:column; align-items:flex-end; gap:var(--s1); flex-shrink:0; }
.block-cost { font-weight:800; color:var(--ocean-deep); font-size:.9rem; font-family:"Poppins",sans-serif; white-space:nowrap; }
.block-free { color:var(--palm-deep); }
.block-book-badge { background:rgba(255,183,3,.15); color:#9a6b00; font-size:.72rem; font-weight:700; padding:2px var(--s2); border-radius:var(--radius-pill); white-space:nowrap; }
.block-mustdo-badge { background:var(--ocean); color:#fff; font-size:.72rem; font-weight:700; padding:2px var(--s2); border-radius:var(--radius-pill); white-space:nowrap; }
.block-partner { background:rgba(0,0,0,.06); color:var(--body); font-size:.72rem; font-weight:600; padding:2px var(--s2); border-radius:var(--radius-pill); white-space:nowrap; }

/* Sleep line */
.itinerary-sleep {
  display:flex; align-items:center; gap:var(--s3); padding:var(--s3) var(--s4);
  background:rgba(42,157,143,.05); border:1px solid rgba(42,157,143,.15);
  border-radius:var(--radius-sm); margin-top:var(--s2);
}
.sleep-icon { font-size:1rem; }
.sleep-text { font-size:.88rem; font-weight:600; color:var(--ink); flex:1; }
.sleep-price { font-size:.85rem; font-weight:700; color:var(--palm-deep); white-space:nowrap; }

/* Tips list */
.itinerary-tips { list-style:none; display:flex; flex-direction:column; gap:var(--s1); padding:var(--s3) var(--s4); background:rgba(255,183,3,.05); border-radius:var(--radius-sm); border:1px solid rgba(255,183,3,.15); margin-top:var(--s2); }
.itinerary-tips li { font-size:.82rem; color:var(--body); padding-left:var(--s4); position:relative; }
.itinerary-tips li::before { content:'💡'; position:absolute; left:0; font-size:.75rem; }

/* ── Sidebar ── */
.result-sidebar { position:sticky; top:calc(var(--s7)); display:flex; flex-direction:column; gap:var(--s4); }
.sidebar-section { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:var(--s5); }
.sidebar-title { font-size:1rem; font-weight:800; color:var(--ink); font-family:"Poppins",sans-serif; margin-bottom:var(--s4); }
.sidebar-title small { font-weight:500; color:var(--muted); font-size:.78rem; }

/* Cost rows */
.cost-row { display:flex; align-items:center; gap:var(--s2); padding:var(--s2) 0; border-bottom:1px solid var(--line); }
.cost-row:last-of-type { border-bottom:none; }
.cost-icon { font-size:1rem; flex-shrink:0; }
.cost-label { flex:1; font-size:.9rem; color:var(--body); }
.cost-amount { font-weight:700; color:var(--ink); font-size:.9rem; font-family:"Poppins",sans-serif; white-space:nowrap; }
.cost-total-row { display:flex; align-items:center; justify-content:space-between; padding:var(--s3) 0; border-top:2px solid var(--ink); margin-top:var(--s2); font-weight:700; color:var(--ink); }
.cost-total-amount { font-size:1.3rem; font-weight:800; color:var(--ocean-deep); font-family:"Poppins",sans-serif; }
.cost-group { font-size:.88rem; color:var(--muted); margin-top:var(--s2); }
.cost-daily { font-size:.85rem; color:var(--palm-deep); font-weight:600; margin-top:var(--s2); }
.cost-disclaimer { font-size:.75rem; color:var(--muted); margin-top:var(--s3); line-height:1.5; }

/* Booking link buttons */
.sidebar-book { display:flex; flex-direction:column; gap:var(--s2); }
.booking-link-btn {
  display:flex; align-items:center; gap:var(--s3); padding:var(--s3) var(--s4);
  border:1.5px solid var(--line); border-radius:var(--radius-sm);
  text-decoration:none; color:var(--ink); background:var(--surface);
  transition:all .18s var(--ease);
}
.booking-link-btn:hover { border-color:var(--ocean); background:rgba(0,150,199,.05); transform:translateX(3px); }
.booking-link-flight { border-left:3px solid var(--ocean); }
.booking-link-hotel { border-left:3px solid var(--palm); }
.booking-link-activities { border-left:3px solid var(--mango); }
.booking-link-transport { border-left:3px solid var(--aqua); }
.bl-label { flex:1; font-size:.88rem; font-weight:600; }
.bl-partner { font-size:.75rem; color:var(--muted); }
.bl-arrow { color:var(--ocean); font-weight:800; }

/* Booking CTA buttons (in-body booking section, solid colored) */
.booking-cta-btn {
  display:flex; align-items:center; gap:var(--s3);
  padding:var(--s3) var(--s4); border-radius:var(--radius-sm);
  background:var(--btn-color, var(--ocean)); color:#fff;
  text-decoration:none; margin-bottom:var(--s2);
  transition:opacity .15s; border:none; cursor:pointer;
}
.booking-cta-btn:hover { opacity:.88; color:#fff; }
.bcta-label { font-weight:700; flex:1; }
.bcta-sub { font-size:.78rem; opacity:.85; }
.bcta-arrow { font-weight:700; }

/* Sidebar tips */
.sidebar-tips-list { list-style:none; display:flex; flex-direction:column; gap:var(--s2); }
.sidebar-tips-list li { font-size:.82rem; color:var(--body); padding-left:var(--s4); position:relative; line-height:1.4; }
.sidebar-tips-list li::before { content:'✓'; position:absolute; left:0; color:var(--palm); font-weight:800; }

/* ── Alternatives ── */
.alternatives-section { margin-top:var(--s7); }
.alternatives-section h3 { font-size:1.2rem; font-weight:800; color:var(--ink); margin-bottom:var(--s2); font-family:"Poppins",sans-serif; }
.alt-section-sub { color:var(--muted); margin-bottom:var(--s5); font-size:.95rem; }
.alternatives-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--s4); }

/* ── Real destination alternatives (clickable re-plan) ── */
.alt-dest-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--s4); }
.alt-dest-card {
  background:var(--surface); border:1.5px solid var(--line); border-radius:14px;
  padding:var(--s5); display:flex; flex-direction:column; gap:var(--s3);
  transition:border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.alt-dest-card:hover { border-color:var(--gold); box-shadow:var(--shadow); transform:translateY(-2px); }
.alt-dest-top { display:flex; align-items:center; justify-content:space-between; gap:var(--s2); }
.alt-dest-name { font-size:1.1rem; font-weight:800; color:var(--navy); font-family:"Poppins",sans-serif; margin:0; }
.alt-dest-badge { font-size:.7rem; font-weight:700; padding:.25rem .6rem; border-radius:var(--radius-pill); text-transform:uppercase; letter-spacing:.03em; }
.alt-dest-badge.in-season { background:rgba(15,118,110,.12); color:var(--palm-deep,#0f766e); }
.alt-dest-desc { color:var(--muted); font-size:.92rem; line-height:1.55; flex:1; margin:0; }
.alt-dest-season { font-size:.85rem; font-weight:600; color:var(--ink); }
.alt-dest-btn {
  margin-top:auto; background:var(--navy); color:#fff; border:0; border-radius:10px;
  padding:.7rem 1rem; font-weight:700; font-size:.9rem; cursor:pointer; font-family:inherit;
  transition:background .2s var(--ease);
}
.alt-dest-btn:hover { background:var(--gold); color:var(--navy); }
@media (max-width:760px){ .alt-dest-grid, .alternatives-grid { grid-template-columns:1fr; } }
.alt-card {
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:var(--s5); display:flex; flex-direction:column; gap:var(--s3);
  transition:box-shadow .2s var(--ease);
}
.alt-card:hover { box-shadow:var(--shadow); }
.alt-title { font-size:1rem; font-weight:800; color:var(--ink); font-family:"Poppins",sans-serif; }
.alt-desc { font-size:.88rem; color:var(--body); line-height:1.6; }
.alt-saving { font-size:.88rem; font-weight:700; color:var(--palm-deep); background:rgba(42,157,143,.08); padding:var(--s2) var(--s3); border-radius:var(--radius-sm); }
.alt-months { font-size:.85rem; color:var(--ocean-deep); font-weight:600; }
.alt-changes { list-style:none; display:flex; flex-direction:column; gap:var(--s1); }
.alt-changes li { font-size:.82rem; color:var(--body); padding-left:var(--s3); position:relative; }
.alt-changes li::before { content:'→'; position:absolute; left:0; color:var(--ocean); font-size:.8rem; }

/* ── Result footer actions ── */
.result-actions { display:flex; align-items:center; gap:var(--s4); margin-top:var(--s5); flex-wrap:wrap; }

/* ── Error ── */
.plan-error { background:rgba(255,80,80,.07); border:1px solid rgba(255,80,80,.3); border-radius:var(--radius-sm); padding:var(--s4); color:#c00; font-size:.9rem; margin-bottom:var(--s4); }

/* ============================================================
   UIUX AGENT — ROUND 2 IMPROVEMENTS (2026-05-30)
   Tasks: hero search card, stats counter, dest card hover,
   blog preview cards, guide hero, todo grid, FAQ accordion,
   SG routing cards, plan wizard polish.
   ============================================================ */

/* ── Task 2a: Hero search card — more prominent & cleaner ── */
.search-card {
  border-radius: calc(var(--radius) * 1.25);
  box-shadow: 0 32px 80px rgba(0,119,182,.22), 0 8px 24px rgba(0,0,0,.08);
  border: 1.5px solid rgba(255,255,255,.9);
  padding: var(--s6);
}
.search-tabs button {
  font-size: .88rem;
  padding: var(--s2) var(--s3);
}
.search-tabs button.active {
  box-shadow: 0 4px 14px rgba(0,119,182,.35);
  transform: translateY(-1px);
}
.search-form label {
  font-size: .76rem;
  gap: var(--s2);
}
.search-form input {
  padding: var(--s3) var(--s4);
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border-width: 1.5px;
}
.search-form button[type="submit"] {
  padding: var(--s3) var(--s5);
  font-size: 1rem;
  border-radius: var(--radius-sm);
  letter-spacing: .01em;
}

/* ── Task 2b: Stats band — bigger numbers, counter hook classes ── */
/* Solid white (on the dark blue band) — robust everywhere. The gradient
   background-clip:text was leaving gray boxes when paint/font glitched. */
.stat-n {
  font-size: 2.5rem;
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
  line-height: 1;
}
.number-n {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #fff 40%, rgba(255,230,120,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
/* .stat-n stays on dark bg so gradient looks great */
.number-n {
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--aqua) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.6rem;
}
.stat-ico { font-size: 2rem; margin-bottom: var(--s3); }
.stat-label { font-size: .9rem; font-weight: 600; letter-spacing: .02em; }
/* counter-up animation target — JS sets data-target, writes textContent */
[data-counter] { display: inline-block; }

/* ── Task 2c: Destination cards — richer hover ── */
.dest-card {
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.dest-card::after {
  content: 'Explore guide →';
  position: absolute;
  bottom: var(--s4);
  right: var(--s4);
  background: rgba(0,119,182,.88);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: .3rem .7rem;
  border-radius: var(--radius-pill);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  pointer-events: none;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.dest-card { position: relative; }
.dest-card:hover::after { opacity: 1; transform: translateY(0); }
.dest-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 24px 60px rgba(0,119,182,.2), 0 8px 20px rgba(0,0,0,.1);
}
.dest-card-img { height: 200px; }
.dest-card-name { font-size: 1.2rem; }
.dest-card-price {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: rgba(0,150,199,.08);
  border: 1px solid rgba(0,150,199,.2);
  border-radius: var(--radius-pill);
  padding: .2rem .6rem;
  font-size: .82rem;
  margin-top: var(--s2);
}

/* ── Task 2d: Blog preview cards — taller on desktop ── */
.blog-preview-img {
  height: 200px;
  transition: transform .5s var(--ease);
}
@media (min-width: 841px) {
  .blog-preview-img { height: 230px; }
  .blog-preview-body { padding: var(--s5); }
  .blog-preview-body h3 { font-size: 1.1rem; line-height: 1.35; }
}
.blog-preview-card:hover .blog-preview-img { transform: scale(1.06); }
.blog-preview-card {
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.blog-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 52px rgba(0,119,182,.16);
}

/* ── Task 3a: Guide hero — taller, overlay more legible ── */
.guide-hero {
  height: 420px;
  border-radius: calc(var(--radius) * 1.25);
  background-image:
    linear-gradient(
      180deg,
      rgba(1,42,99,.15) 0%,
      rgba(2,62,138,.35) 40%,
      rgba(0,0,0,.75) 80%,
      rgba(0,0,0,.88) 100%
    ),
    var(--img);
  margin-bottom: var(--s6);
  box-shadow: 0 16px 48px rgba(0,0,0,.22);
}
@media (min-width: 841px) { .guide-hero { height: 500px; } }
.guide-hero-text {
  padding: var(--s6) var(--s7);
}
.guide-hero-text h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -.02em;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
  margin-bottom: var(--s2);
}
.guide-hero-text p {
  font-size: 1.15rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
  color: rgba(255,255,255,.95);
}
@media (max-width: 640px) {
  .guide-hero { height: 300px; }
  .guide-hero-text { padding: var(--s4) var(--s4); }
}

/* ── Task 3b: Todo-items — more spacious, icon accent ── */
.todo-grid {
  gap: var(--s5);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.todo-item {
  padding: var(--s5) var(--s5);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.todo-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ocean), var(--aqua));
  border-radius: 0 0 2px 2px;
}
.todo-item h3 {
  font-size: 1.05rem;
  margin-bottom: var(--s2);
  color: var(--ink);
  padding-top: var(--s2);
}
.todo-item p {
  font-size: .9rem;
  line-height: 1.65;
}
.todo-item:hover {
  border-color: rgba(0,150,199,.3);
  box-shadow: 0 8px 28px rgba(0,119,182,.12);
  transform: translateY(-3px);
}

/* ── Task 3c: FAQ accordion — smooth height animation ── */
.faq-item {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .25s var(--ease);
}
.faq-item[open] {
  border-color: rgba(0,150,199,.35);
  box-shadow: 0 6px 20px rgba(0,119,182,.12);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s4) var(--s5);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  list-style: none;
  gap: var(--s4);
  background: var(--surface);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.faq-q::-webkit-details-marker { display: none; }
/* Animated chevron via ::after — no HTML changes needed */
.faq-q::after {
  content: '\25BE'; /* ▾ down-pointing small triangle */
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0,150,199,.1);
  color: var(--ocean);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  transition: transform .25s var(--ease), background .2s var(--ease), color .2s;
  float: none;
}
details.faq-item[open] .faq-q::after {
  transform: rotate(180deg);
  background: var(--ocean);
  color: #fff;
}
.faq-q:hover { background: rgba(0,150,199,.04); color: var(--ocean-deep); }
.faq-item[open] .faq-q { border-bottom: 1px solid var(--line); }
/* Smooth reveal of answer */
.faq-a {
  padding: var(--s4) var(--s5) var(--s5);
  line-height: 1.75;
  font-size: .97rem;
  color: var(--body);
  animation: faqSlideIn .25s var(--ease) both;
}
@keyframes faqSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

/* ── Task 3d: Singapore routing cards — more prominent ── */
.sg-routing-grid {
  gap: var(--s5);
  margin-top: var(--s5);
}
.sg-routing-card {
  background: linear-gradient(135deg, rgba(0,150,199,.08) 0%, rgba(72,202,228,.05) 100%);
  border: 1.5px solid rgba(0,150,199,.28);
  border-radius: var(--radius);
  padding: var(--s5) var(--s5);
  position: relative;
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.sg-routing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ocean-deep), var(--aqua));
}
.sg-routing-card:hover {
  border-color: rgba(0,150,199,.5);
  box-shadow: 0 12px 36px rgba(0,119,182,.18);
  transform: translateY(-3px);
}
.sg-routing-label {
  font-size: .8rem;
  font-weight: 800;
  color: var(--ocean);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: var(--s2);
  display: block;
}
.sg-routing-card p {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--body);
  margin-bottom: var(--s3);
}
.sg-routing-card .book-btn {
  margin-top: 0;
  padding: var(--s3) var(--s4);
  font-size: .9rem;
}

/* ── Task 4: Plan page — extra polish ── */

/* Step wizard progress dots — show checkmark when done */
.progress-step.done .step-dot::after {
  content: '\2713';
  font-size: .8rem;
}
/* Experience grid — 3 col on medium, 2 col on mobile */
@media (max-width: 720px) {
  .experience-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .experience-grid { grid-template-columns: repeat(2, 1fr); }
}
/* Budget card highlight ring on selected */
.budget-card.selected {
  outline: 3px solid var(--ocean);
  outline-offset: 2px;
}
/* Result cards — typography lift */
.day-card-header { gap: var(--s3); }
.day-destination { font-size: 1.1rem; }
.itinerary-block { padding: var(--s3) var(--s4); }
/* Loading banca boat — bigger & more fun */
.banca-boat { font-size: 4rem; }
.banca-waves { font-size: 2rem; letter-spacing: 6px; }
.loading-title { font-size: 1.5rem; }

/* ── Stats counter — reduced flicker on initial render ── */
.stat-n[data-counter],
.number-n[data-counter] {
  will-change: contents;
}

/* ── Global: share-guide button ── */
.guide-share-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  padding: var(--s2) var(--s4);
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .18s var(--ease);
  margin-top: var(--s4);
}
.guide-share-btn:hover {
  border-color: var(--ocean);
  color: var(--ocean-deep);
  background: rgba(0,150,199,.05);
}

/* ── Blog index cards on desktop — taller images ── */
@media (min-width: 841px) {
  .blog-card-img { height: 280px; }
  .blog-card { display: grid; grid-template-columns: 360px 1fr; }
  .blog-card-img { height: 100%; min-height: 200px; }
  .blog-card-body { padding: var(--s6); }
  .blog-card-title { font-size: 1.45rem; }
}

/* ── Reduced-motion: disable new animations ── */
@media (prefers-reduced-motion: reduce) {
  .faq-a { animation: none; }
  .sg-routing-card, .dest-card, .blog-preview-card,
  .todo-item, .guide-hero { transition: none; }
}

/* ── Responsive ── */
@media (max-width:840px) {
  .result-layout { grid-template-columns:1fr; }
  .result-sidebar { position:static; }
  .experience-grid { grid-template-columns:repeat(2,1fr); }
  .budget-grid { grid-template-columns:1fr; }
  .alternatives-grid { grid-template-columns:1fr 1fr; }
  .month-grid { grid-template-columns:repeat(4,1fr); }
  .itinerary-block { grid-template-columns:70px 1fr; }
  .block-meta { flex-direction:row; align-items:center; grid-column:2; }
}
@media (max-width:640px) {
  .experience-grid { grid-template-columns:repeat(2,1fr); }
  .alternatives-grid { grid-template-columns:1fr; }
  .month-grid { grid-template-columns:repeat(3,1fr); }
  .progress-steps { gap:var(--s2); }
  .step-label { font-size:.72rem; }
  .result-hero { flex-direction:column; }
  .itinerary-block { grid-template-columns:60px 1fr; }
  .day-card-header { flex-direction:column; align-items:flex-start; gap:var(--s2); }
}

/* ============================================================
   UIUX AGENT — ROUND 1 IMPROVEMENTS
   Added: mobile nav, active nav state, skip link, typography
   polish, footer columns, focus-visible, print, scroll-to-top,
   reading progress bar for guides/blog, form improvements.
   ============================================================ */

/* --- Skip to content (accessibility + SEO) --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--s4);
  z-index: 9999;
  background: var(--ocean-deep);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  padding: var(--s3) var(--s5);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* --- Global focus-visible (keyboard nav) --- */
*:focus-visible {
  outline: 3px solid var(--ocean);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
button:focus-visible,
a:focus-visible { outline-offset: 4px; }

/* --- (removed) .nav-hamburger system — was a second, conflicting mobile nav.
   Its JS was deleted; this dead CSS made .nav-links position:absolute up to
   720px (invisible, no toggle in the 641-720 band) and caused the navbar
   overlap. The single source of truth is the .nav-toggle block (~line 908),
   whose breakpoint is raised to 820px below. --- */

/* --- Active nav link (server-side class .nav-active) --- */
.nav-links a.nav-active {
  color: var(--gold) !important;
}
.nav-links a.nav-active::after {
  width: 100% !important;
}

/* --- Nav link font-size upgrade at desktop --- */
@media (min-width: 721px) {
  .nav-links a { font-size: 1rem; }
}

/* --- Typography polish --- */
/* Better h1 on inner pages */
.hero-sm .hero-content h1 {
  letter-spacing: -.025em;
  line-height: 1.1;
}

/* Prevent tables from breaking layout on mobile */
.post-body table {
  width: 100%;
  overflow-x: auto;
  display: block;
}

/* Better blockquote */
.post-body blockquote {
  border-left: 4px solid var(--ocean);
  padding: var(--s4) var(--s5);
  margin: var(--s6) 0;
  background: rgba(0,150,199,.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--ink);
}
.post-body blockquote p:last-child { margin-bottom: 0; }

/* Inline code */
.post-body code {
  background: rgba(0,150,199,.09);
  color: var(--ocean-darker);
  padding: .1em .4em;
  border-radius: 5px;
  font-size: .9em;
  font-family: 'Courier New', monospace;
}

/* Lead paragraph upgrade */
.lead {
  font-size: 1.18rem;
  line-height: 1.75;
  color: var(--body);
  max-width: 680px;
}

/* Section heading — prevent clipping of the underline gradient */
section > h2 {
  padding-bottom: 14px;
}

/* Stronger heading contrast */
h1 { letter-spacing: -.03em; }
h2 { letter-spacing: -.02em; }
h3 { letter-spacing: -.01em; }

/* --- Search form label-above-input pattern (more readable) --- */
.search-form label {
  position: relative;
}
.search-form label input,
.search-form label select {
  margin-top: 2px;
  background: #fff;
}

/* Focus ring on search inputs */
.search-form input:focus,
.search-form select:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(0,119,182,.14);
  background: #fff;
}

/* Hotels input focus upgrade */
.hotels-input:focus {
  box-shadow: 0 0 0 3px rgba(0,119,182,.14);
}

/* --- Error state for form inputs --- */
.input-error {
  border-color: #e53e3e !important;
  box-shadow: 0 0 0 3px rgba(229,62,62,.12) !important;
}
.input-error-msg {
  color: #c53030;
  font-size: .8rem;
  font-weight: 600;
  margin-top: var(--s1);
  display: flex;
  align-items: center;
  gap: var(--s1);
}
.input-error-msg::before { content: '!'; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; background: #c53030; color: #fff; border-radius: 50%; font-size: .7rem; font-weight: 800; flex-shrink: 0; }

/* Success state */
.input-success {
  border-color: var(--palm) !important;
  box-shadow: 0 0 0 3px rgba(42,157,143,.12) !important;
}

/* --- Reading progress bar — z-index 201: above nav-sticky (200), below modal (300) --- */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 201;
  background: transparent;
  pointer-events: none;
}
#reading-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--ocean), var(--aqua), var(--mango));
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* --- Scroll-to-top button --- */
#scroll-top {
  position: fixed;
  /* Sits directly above the theme toggle (which is at bottom:16px, h:46px). */
  bottom: 74px;
  right: 16px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ocean-deep);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(0,119,182,.35);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .2s;
  pointer-events: none;
  z-index: 90;
}
#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#scroll-top:hover { background: var(--ocean); }

/* --- Footer upgrade: 3-column layout --- */
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s6);
  max-width: var(--maxw);
  margin: 0 auto var(--s6);
  text-align: left;
}
.footer-col-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: var(--s3);
}
.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.footer-col-links a {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
}
.footer-col-links a:hover { color: #fff; }

.footer-logo-area {
  margin-bottom: var(--s5);
  max-width: var(--maxw);
  margin: 0 auto var(--s5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s4);
  flex-wrap: wrap;
}
.footer-logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: -.02em;
}
.footer-logo-text span { color: var(--gold); }
.footer-tagline {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  margin: var(--s2) auto var(--s5);
  max-width: var(--maxw);
}

@media (max-width: 640px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: var(--s4); }
}
@media (max-width: 400px) {
  .footer-cols { grid-template-columns: 1fr; }
}

/* --- Card image aspect ratio consistency --- */
/* NOTE: .blog-featured-img removed here — it conflicted with the 16/10 wrapper
   + height:100% rule below (over-constrained image). Featured img is sized by
   its wrapper's aspect-ratio. */
.card img,
.blog-card-v2-img {
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}
/* Override for specific fixed-height contexts */
.dest-card-img,
.hotel-dest-img,
.route-card-img,
.flight-deal-img { aspect-ratio: unset; }

/* --- Improved search tab active state --- */
.search-tabs button.active {
  background: linear-gradient(135deg, var(--ocean-deep), var(--ocean));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(0,119,182,.25);
  transform: translateY(-1px);
}
.search-tabs button {
  transition: all .18s var(--ease);
}
.search-tabs button:active {
  transform: translateY(0);
}

/* --- Blog featured card improvement --- */
.blog-featured {
  position: relative;
  overflow: hidden;
}
.blog-featured::before {
  content: 'Featured';
  position: absolute;
  top: var(--s4);
  left: var(--s4);
  background: var(--mango);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px var(--s3);
  border-radius: var(--radius-pill);
  z-index: 2;
}

/* --- Destination card text contrast fix --- */
.dest span {
  text-shadow: 0 2px 16px rgba(0,0,0,.6), 0 0 4px rgba(0,0,0,.3);
}

/* --- Stats band responsive fix --- */
@media (max-width: 480px) {
  .stats-band {
    grid-template-columns: repeat(2, 1fr);
    border-radius: var(--radius-sm);
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
  .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}

/* --- Testimonial card improvement --- */
.testimonial-card {
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: var(--s3);
  right: var(--s4);
  font-size: 4rem;
  line-height: 1;
  color: rgba(0,150,199,.08);
  font-family: Georgia, serif;
  pointer-events: none;
}

/* --- CTA band text shadow for readability --- */
.cta-inner h2,
.guide-cta h2 {
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}

/* --- Price tag upgrade --- */
.price {
  position: relative;
}

/* --- Loading placeholder shimmer ---
   Uses translateX (GPU-composited) instead of background-position
   to avoid Paint triggers inside @keyframes. */
.loading-placeholder {
  position: relative;
  overflow: hidden;
  background: #eef0f3;
  border-radius: var(--radius-sm);
  min-height: 120px;
}
.loading-placeholder::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.65) 50%, transparent 100%);
  animation: shimmerLoad 1.4s ease-in-out infinite;
  will-change: transform;
}
@keyframes shimmerLoad {
  from { transform: translateX(0); }
  to   { transform: translateX(267%); }
}

/* --- Trip planner wizard upgrade --- */
/* Step dots get a checkmark icon on done */
.progress-step.done .step-dot::before {
  content: '';
}
.progress-step.done .step-dot {
  font-size: 0;
}
.progress-step.done .step-dot::after {
  content: '\2713';
  font-size: .9rem;
  font-weight: 800;
  color: #fff;
}

/* Experience cards: larger icons, better padding at mobile */
@media (max-width: 480px) {
  .experience-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s2); }
  .exp-card { padding: var(--s3) var(--s2); }
  .exp-icon { font-size: 1.6rem; }
}

/* --- Booking link buttons subtle slide indicator --- */
.booking-link-btn::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--ocean);
  transition: width .2s var(--ease);
  margin-top: var(--s1);
}
.booking-link-btn:hover::after { width: 100%; }

/* --- Print styles --- */
@media print {
  .hero, footer, #scroll-top, .book-btn, .guide-cta, .post-cta, nav { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .post-body { max-width: 100%; font-size: 11pt; line-height: 1.6; }
  a::after { content: ' (' attr(href) ')'; font-size: .8em; color: #555; }
  h2, h3 { page-break-after: avoid; }
}

/* --- Smooth section transitions on mobile --- */
@media (max-width: 640px) {
  .home-section { margin: var(--s6) 0; }
  .stats-band { margin-bottom: var(--s6); }
  .dest-grid-v2 { gap: var(--s3); }
  .blog-preview-grid { gap: var(--s3); }
}

/* ============================================================
   GLOBAL HOTEL DESTINATION PAGES
   /hotels/[destination] — worldwide discovery system
   ============================================================ */

/* ── Philippines cross-sell banner ── */
.php-crossell-section {
  max-width: var(--maxw);
  margin: 1.5rem auto;
  padding: 0 var(--s5);
}
.php-crossell-inner {
  display: flex;
  align-items: center;
  gap: var(--s5);
  background: linear-gradient(135deg, rgba(0,150,199,.1) 0%, rgba(72,202,228,.15) 100%);
  border: 1.5px solid var(--aqua);
  border-radius: var(--radius);
  padding: var(--s5) var(--s6);
}
.php-crossell-flag { font-size: 2.5rem; flex-shrink: 0; }
.php-crossell-text { flex: 1; min-width: 0; }
.php-crossell-heading {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: var(--s2);
}
.php-crossell-body { font-size: .95rem; color: var(--body); line-height: 1.5; }
.php-crossell-actions {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  flex-shrink: 0;
}

/* ── Philippines bottom strip ── */
.php-strip {
  background: linear-gradient(135deg, var(--ocean-darker) 0%, var(--ocean-deep) 100%);
  color: #fff;
  margin-top: var(--s7);
}
.php-strip-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--s5) var(--s6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  flex-wrap: wrap;
}
.php-strip strong { font-family: "Poppins", sans-serif; font-size: 1.05rem; }
.php-strip .muted { color: rgba(255,255,255,.75); margin-left: var(--s2); }
.php-strip-actions { display: flex; gap: var(--s3); flex-wrap: wrap; }
.php-strip .book-btn { background: var(--mango); color: var(--ink); border: none; }
.php-strip .book-btn:hover { background: var(--mango-deep); }
.php-strip .book-btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
}
.php-strip .book-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ── Global destination card grid ── */
.global-dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--s4);
  margin-top: var(--s4);
}
.global-dest-card {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s4) var(--s5);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .18s var(--ease), transform .18s var(--ease), border-color .18s var(--ease);
}
.global-dest-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--aqua);
}
.global-dest-region-tag,
.global-dest-country {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ocean);
}
.global-dest-name {
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}
.global-dest-tagline {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.4;
  flex: 1;
}
.global-dest-cta {
  font-size: .82rem;
  font-weight: 700;
  color: var(--ocean);
  margin-top: var(--s2);
}
.global-dest-card:hover .global-dest-cta { color: var(--ocean-deep); }

/* ── Responsive ── */
@media (max-width: 860px) {
  .php-crossell-inner { flex-direction: column; align-items: flex-start; }
  .php-crossell-actions { flex-direction: row; width: 100%; }
  .php-strip-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .global-dest-grid { grid-template-columns: 1fr 1fr; }
  .php-crossell-actions { flex-direction: column; }
  .php-strip-actions { flex-direction: column; width: 100%; }
}

/* ============================================================
   BLOG INDEX 2026 — Categories, search, grid
   ============================================================ */
.blog-index-wrap { width: 100%; }

/* ── Toolbar: search + sort + categories grouped in one clean panel ── */
.blog-toolbar {
  position: sticky; top: calc(var(--nav-height) + 8px); z-index: 5;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: var(--s4); margin-bottom: var(--s6);
  display: flex; flex-direction: column; gap: var(--s4);
}
.blog-search-row { display:flex; gap:var(--s3); align-items:center; }
.blog-search-input { flex:1; min-width:0; padding:var(--s3) var(--s4); border:1.5px solid var(--line); border-radius:var(--radius-pill); font-size:.95rem; color:var(--ink); background:#fff; transition:border-color .2s, box-shadow .2s; }
.blog-search-input:focus { outline:none; border-color:var(--ocean); box-shadow:0 0 0 3px rgba(0,150,199,.15); }
.blog-sort-select { padding:var(--s3) var(--s4); border:1.5px solid var(--line); border-radius:var(--radius-pill); font-size:.9rem; color:var(--ink); background:#fff; cursor:pointer; min-width:150px; flex-shrink:0; }

/* Category bar */
.blog-category-bar { display:flex; gap:var(--s2); flex-wrap:wrap; }
.blog-cat-btn { display:inline-flex; align-items:center; gap:.4rem; min-height:38px; padding:.4rem var(--s4); border-radius:var(--radius-pill); border:1.5px solid var(--line); background:#fff; color:var(--ink); font-size:.85rem; font-weight:600; cursor:pointer; transition:background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease); white-space:nowrap; }
.blog-cat-btn:hover { border-color:var(--ocean); color:var(--ocean-deep); background:var(--ocean-pale); }
.blog-cat-btn.active { background:var(--ocean-deep); border-color:var(--ocean-deep); color:#fff; }
.blog-cat-icon { font-size:1.05rem; line-height:1; }
.blog-cat-label { font-size:.85rem; }

/* Tag pills row (kept for compatibility) */
.blog-tags-row { display:none; }
.blog-tag-filter { padding:.2rem .7rem; border-radius:var(--radius-pill); border:1px solid var(--line); background:transparent; color:var(--muted); font-size:.78rem; font-weight:600; cursor:pointer; transition:all .15s; }
.blog-tag-filter:hover,.blog-tag-filter.active { background:var(--ink); color:#fff; border-color:var(--ink); }
.blog-tag-pill { display:inline-block; padding:3px 10px; border-radius:var(--radius-pill); color:#fff; font-size:.7rem; font-weight:700; letter-spacing:.02em; white-space:nowrap; overflow:hidden; max-width:160px; text-overflow:ellipsis; box-shadow:0 1px 3px rgba(0,0,0,.18); }
/* Active tag banner */
.blog-active-tag-banner { display:flex; align-items:center; gap:var(--s3); flex-wrap:wrap; padding:var(--s3) var(--s4); background:rgba(0,150,199,.08); border:1px solid rgba(0,150,199,.25); border-radius:var(--radius-sm); margin-bottom:var(--s5); font-size:.9rem; }
.blog-active-tag-name { color:var(--ocean); font-weight:800; }
.blog-clear-tag { background:none; border:1.5px solid var(--line); border-radius:var(--radius-pill); padding:4px 12px; font-size:.82rem; font-weight:600; cursor:pointer; color:var(--muted); transition:all .15s; }
.blog-clear-tag:hover { background:var(--ink); color:#fff; border-color:var(--ink); }

/* Results count */
.blog-results-count { font-size:.88rem; color:var(--muted); margin-bottom:var(--s5); }

/* ── Featured card — full-width hero band above the grid ── */
.blog-featured-card { display:grid; grid-template-columns:1.15fr 1fr; border-radius:var(--radius); overflow:hidden; background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow-sm); text-decoration:none; color:inherit; margin-bottom:var(--s6); transition:transform .25s var(--ease),box-shadow .25s var(--ease); }
.blog-featured-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.blog-featured-img-wrap { position:relative; overflow:hidden; aspect-ratio:16/10; }
.blog-featured-img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s var(--ease); }
.blog-featured-card:hover .blog-featured-img { transform:scale(1.04); }
.blog-featured-img-bg { width:100%; height:100%; background:linear-gradient(135deg,var(--ocean-darker),var(--ocean)); }
.blog-featured-badge { position:absolute; top:var(--s3); left:var(--s3); background:var(--mango); color:var(--ink); font-size:.72rem; font-weight:800; padding:4px 11px; border-radius:var(--radius-pill); box-shadow:0 2px 8px rgba(0,0,0,.2); }
.blog-featured-content { padding:var(--s6); display:flex; flex-direction:column; justify-content:center; gap:var(--s3); }
.blog-featured-tags { display:flex; gap:.4rem; flex-wrap:wrap; }
.blog-featured-title { font-size:clamp(1.3rem,2.2vw,1.9rem); font-family:var(--font-poppins,"Poppins"),sans-serif; color:var(--ink); line-height:1.25; margin:0; }
.blog-featured-excerpt { font-size:.97rem; line-height:1.65; color:var(--muted); margin:0; display:-webkit-box; -webkit-line-clamp:3; line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.blog-featured-meta { display:flex; align-items:center; gap:.6rem; flex-wrap:wrap; font-size:.83rem; color:var(--muted); margin-top:auto; }
.blog-meta-dot { color:var(--line); }
.blog-meta-cta { color:var(--ocean-deep); font-weight:700; font-size:.95rem; margin-left:auto; }

/* ── Posts grid — responsive auto-fill, consistent card heights ── */
.blog-posts-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(290px, 1fr)); gap:var(--s5); }
.blog-post-card { display:flex; border-radius:var(--radius); overflow:hidden; background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow-sm); transition:transform .22s var(--ease),box-shadow .22s var(--ease); }
.blog-post-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.blog-post-card-link { text-decoration:none; color:inherit; display:flex; flex-direction:column; width:100%; height:100%; }
.blog-post-img-wrap { position:relative; overflow:hidden; aspect-ratio:16/9; }
.blog-post-img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s var(--ease); }
.blog-post-card:hover .blog-post-img { transform:scale(1.05); }
.blog-post-img-bg { width:100%; height:100%; background:linear-gradient(135deg,var(--ocean),var(--palm)); }
.blog-post-img-tag { position:absolute; top:var(--s2); left:var(--s2); }
.blog-post-body { padding:var(--s4) var(--s5) var(--s5); display:flex; flex-direction:column; flex:1; gap:var(--s2); }
.blog-post-title { font-size:1.08rem; font-weight:700; font-family:var(--font-poppins,"Poppins"),sans-serif; color:var(--ink); line-height:1.35; margin:0; display:-webkit-box; -webkit-line-clamp:2; line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.blog-post-excerpt { font-size:.88rem; line-height:1.55; color:var(--muted); margin:0; display:-webkit-box; -webkit-line-clamp:2; line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.blog-post-meta { display:flex; align-items:center; gap:.5rem; font-size:.8rem; color:var(--muted); margin-top:auto; padding-top:var(--s2); }
.blog-post-cta { color:var(--ocean-deep); font-weight:700; font-size:.88rem; }
.blog-post-card:hover .blog-post-cta { text-decoration:underline; }

/* ── Load more ── */
.blog-load-more-wrap { display:flex; flex-direction:column; align-items:center; gap:var(--s3); margin-top:var(--s7); }
.blog-load-more-btn { display:inline-flex; align-items:center; gap:var(--s2); min-height:48px; padding:var(--s3) var(--s7); border-radius:var(--radius-pill); border:1.5px solid var(--ocean); background:var(--surface); color:var(--ocean-deep); font-size:.95rem; font-weight:700; cursor:pointer; transition:background .18s var(--ease), box-shadow .18s var(--ease); }
.blog-load-more-btn:hover { background:var(--ocean-deep); border-color:var(--ocean-deep); color:#fff; box-shadow:var(--shadow-brand); }
.blog-load-more-hint { font-size:.82rem; color:var(--muted); }

/* Empty state */
.blog-empty-state { text-align:center; padding:var(--s8) 0; color:var(--muted); display:flex; flex-direction:column; align-items:center; gap:var(--s4); }

/* Responsive */
@media(max-width:900px){ .blog-featured-card { grid-template-columns:1fr; } .blog-featured-img-wrap { aspect-ratio:16/9; } }
@media(max-width:560px){
  .blog-toolbar { position:static; padding:var(--s3); }
  .blog-posts-grid { grid-template-columns:1fr; }
  .blog-category-bar { gap:var(--s1); flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch; padding-bottom:var(--s1); margin:0 calc(-1 * var(--s1)); }
  .blog-cat-btn { flex-shrink:0; }
  .blog-search-row { flex-direction:column; align-items:stretch; }
  .blog-sort-select { min-width:0; width:100%; }
}

/* ============================================================
   BLOG POST — Table of Contents (auto-injected by ui.js)
   ============================================================ */

/* Wrapper that places TOC beside the article on wide screens */
.post-with-toc {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--s7);
  align-items: start;
  max-width: var(--post-shell);
  margin: 0 auto;
}
/* Inside the TOC layout the body fills its column (left-aligned, not re-centered) */
.post-toc-article .post-body,
.post-toc-article .post-cta,
.post-toc-article .post-conversion-section,
.post-toc-article .post-flight-cta,
.post-toc-article .share-section { max-width: 100%; margin-left: 0; margin-right: 0; }

/* The TOC panel itself */
.post-toc {
  position: sticky;
  top: calc(var(--nav-height) + 16px);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s4) var(--s5);
  font-size: .85rem;
  line-height: 1.5;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.post-toc::-webkit-scrollbar { width: 4px; }
.post-toc::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
/* Firefox scrollbar styling */
@supports (scrollbar-width: thin) {
  .post-toc {
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
  }
}

.post-toc-title {
  font-family: "Poppins", sans-serif;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: var(--s3);
  padding-bottom: var(--s2);
  border-bottom: 1px solid var(--line);
}

.post-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}

/* Image Slideshow */
.slideshow {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
}

.slideshow-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--line);
}

.slideshow-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  display: block;
  transition: opacity 0.3s ease;
}

.slideshow-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10;
}

.slideshow-button:hover {
  background: rgba(0, 0, 0, 0.7);
}

.slideshow-button-prev {
  left: 10px;
}

.slideshow-button-next {
  right: 10px;
}

.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
}

.slideshow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s ease;
}

.slideshow-dot.active {
  background: white;
}

.slideshow-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.slideshow-playpause {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10;
}

.slideshow-playpause:hover {
  background: rgba(0, 0, 0, 0.7);
}

.post-toc a {
  display: block;
  color: var(--body);
  text-decoration: none;
  padding: var(--s1) var(--s2);
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: color .15s, border-color .15s, background .15s;
  font-size: .84rem;
  line-height: 1.4;
}
.post-toc a:hover {
  color: var(--ocean-deep);
  background: rgba(0,150,199,.06);
  border-left-color: var(--aqua);
}
.post-toc a.toc-active {
  color: var(--ocean-deep);
  font-weight: 700;
  border-left-color: var(--ocean);
  background: rgba(0,150,199,.08);
}

/* Mobile/tablet: TOC above article, collapsible */
@media (max-width: 860px) {
  .post-with-toc {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .post-toc {
    position: static;
    max-height: none;
    margin-bottom: var(--s5);
    border-radius: var(--radius-sm);
  }
  /* Hide TOC list by default on mobile; show toggle */
  .post-toc.collapsed .post-toc-list { display: none; }
  .post-toc-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
  }
  .post-toc-toggle-icon {
    font-size: .9rem;
    transition: transform .2s var(--ease);
  }
  .post-toc.collapsed .post-toc-toggle-icon { transform: rotate(-90deg); }
}
/* On wide screens, never show toggle affordance */
@media (min-width: 861px) {
  .post-toc-toggle { pointer-events: none; cursor: default; }
  .post-toc-toggle-icon { display: none; }
}

/* ============================================================
   AGENT UI/UX R5 — Sticky nav, Plan-a-trip CTA, footer social
   ============================================================ */

/* --- Sticky nav: frosted glass after scroll (class added by ui.js) --- */
nav.nav-sticky {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--maxw);  /* keep the row centered to the layout width */
  z-index: 200;
  background: rgba(2, 62, 138, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(0,0,0,.22);
  border-radius: 0 0 var(--radius) var(--radius);
  animation: navSlideDown .25s var(--ease) both;
}
@keyframes navSlideDown {
  from { transform: translateX(-50%) translateY(-100%); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0);     opacity: 1; }
}
/* Compensate ALL pages when navbar becomes sticky — not just .hero */
body.nav-is-sticky { padding-top: var(--nav-height); }
/* Remove double compensation on hero (it already accounts for the nav) */
body.nav-is-sticky .hero { padding-top: 0; }

/* --- "Plan a trip" nav link: gold pill CTA style --- */
.nav-links a.nav-plan-trip {
  background: linear-gradient(135deg, var(--gold), var(--mango-deep));
  color: var(--ink) !important;
  font-weight: 800;
  padding: .35rem .9rem;
  border-radius: var(--radius-pill);
  font-size: .88rem;
  margin-left: var(--s2);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s var(--ease);
  white-space: nowrap;
}
.nav-links a.nav-plan-trip:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255,183,3,.4);
  color: var(--ink) !important;
}
/* No underline pseudo-element on the CTA pill */
.nav-links a.nav-plan-trip::after { display: none !important; }

/* On mobile, nav-plan-trip stays a solid gold pill with readable navy text. */
@media (max-width: 820px) {
  .nav-links a.nav-plan-trip,
  .nav-sticky-wrap .nav-links a.nav-plan-trip,
  header .nav-links a.nav-plan-trip {
    display: block;
    width: 100%;
    margin: var(--s2) 0 0;
    padding: .85rem 1.25rem;
    border-radius: 12px;
    text-align: center;
    background: linear-gradient(135deg, var(--gold), #e8a73a) !important;
    color: var(--navy) !important;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 14px -3px rgba(201,151,58,.55);
  }
}

/* --- Footer: richer gradient (ocean-darker -> ink) --- */
footer {
  background: linear-gradient(160deg, var(--ocean-darker) 0%, #01203a 55%, var(--ink) 100%);
}

/* --- Footer social links --- */
.footer-social {
  max-width: var(--maxw);
  margin: 0 auto var(--s6);
  padding-top: var(--s5);
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.footer-social-label {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: var(--s3);
  font-weight: 600;
}
.footer-social-links {
  display: flex;
  justify-content: center;
  gap: var(--s4);
  flex-wrap: wrap;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-pill);
  padding: .45rem 1.1rem;
  font-size: .88rem;
  font-weight: 700;
  color: rgba(255,255,255,.85) !important;
  text-decoration: none !important;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.footer-social-link:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.3);
  color: #fff !important;
  transform: translateY(-2px);
  text-decoration: none !important;
}
.footer-social-icon {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: 1rem;
  width: 20px;
  text-align: center;
  color: var(--gold);
}

/* footer-cols: slight top spacing when social section is above */
.footer-cols { margin-top: 0; }

/* Wider nav-links gap at large desktop */
@media (min-width: 1100px) {
  .nav-links { gap: 2rem; }
}

/* ============================================================
   BLOG PAGE LAYOUT — 2-column with sidebar
   ============================================================ */
.blog-page-main { max-width: 1320px; margin: 0 auto; padding: var(--s6) var(--s5) var(--s8); }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s6); align-items: start; }
.blog-main-col { min-width: 0; }

/* Sidebar */
.blog-sidebar { position: sticky; top: calc(var(--nav-height) + 16px); margin-top: var(--s8); max-height: calc(100dvh - 100px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
@media (max-width: 820px) { .blog-sidebar { margin-top: var(--s5); } }
.blog-sidebar::-webkit-scrollbar { width: 4px; }
.blog-sidebar::-webkit-scrollbar-track { background: transparent; }
.blog-sidebar::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.blog-sidebar-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); margin-bottom: var(--s4); }
.blog-sidebar-title { font-size: .9rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: var(--s3); font-family: var(--font-serif); font-weight: 600; }

/* Tag cloud — single consistent chip system (shared look with .post-tag-pill) */
.blog-tag-cloud { display: flex; flex-wrap: wrap; gap: var(--s2); }
.blog-tag-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 11px; border-radius: var(--radius-pill);
  background: rgba(0,150,199,.08); color: var(--ocean-deep, var(--ocean));
  text-decoration: none; font-weight: 600; font-size: .82rem;
  border: 1px solid rgba(0,150,199,.2);
  transition: background .15s, color .15s, border-color .15s;
  line-height: 1.5; max-width: 100%; min-width: 0;
  /* long tags (e.g. "best time to visit Philippines from Canada", 42 chars)
     were overflowing the sidebar — truncate with ellipsis instead */
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* the count badge must not shrink/clip — only the label text truncates */
.blog-tag-chip .blog-tag-count { flex: 0 0 auto; }
.blog-tag-chip:hover { background: var(--ocean); color: #fff; border-color: var(--ocean); }
.blog-tag-count {
  font-size: .68rem; font-weight: 700; line-height: 1;
  padding: 2px 5px; border-radius: var(--radius-pill);
  background: rgba(0,150,199,.12); color: var(--ocean-deep, var(--ocean));
}
.blog-tag-chip:hover .blog-tag-count { background: rgba(255,255,255,.25); color: #fff; }

/* Popular guides widget */
.blog-sidebar-posts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s3); }
.blog-sidebar-post { display: flex; gap: var(--s3); align-items: center; text-decoration: none; color: var(--ink); }
.blog-sidebar-post-img { width: 56px; height: 56px; flex: 0 0 56px; object-fit: cover; border-radius: var(--radius-sm); display: block; }
.blog-sidebar-post-img--ph { background: linear-gradient(135deg, var(--ocean), var(--palm)); }
.blog-sidebar-post-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.blog-sidebar-post-title { font-size: .85rem; font-weight: 700; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .15s; }
.blog-sidebar-post:hover .blog-sidebar-post-title { color: var(--ocean-deep, var(--ocean)); }
.blog-sidebar-post-read { font-size: .72rem; color: var(--muted); font-weight: 600; }

/* Sidebar mini CTA */
.blog-sidebar-cta { text-align: center; background: linear-gradient(135deg, var(--ocean-pale, rgba(0,150,199,.07)), var(--surface)); }
.blog-sidebar-cta-icon { font-size: 1.8rem; display: block; margin-bottom: var(--s1); }
.blog-sidebar-cta-title { font-size: 1rem; font-weight: 800; color: var(--ink); margin: 0 0 var(--s1); font-family: var(--font-serif); font-weight: 600; }
.blog-sidebar-cta-text { font-size: .82rem; color: var(--muted); line-height: 1.5; margin: 0 0 var(--s3); }
.blog-sidebar-cta .book-btn { width: 100%; margin: 0; }

/* Sidebar nav links */
.blog-sidebar-nav { display: flex; flex-direction: column; gap: var(--s2); }
.blog-sidebar-nav a { display: flex; align-items: center; gap: var(--s2); color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 600; padding: var(--s2) var(--s3); border-radius: var(--radius-sm); transition: background .15s, color .15s; }
.blog-sidebar-nav a:hover { background: var(--ocean-pale, rgba(0,150,199,.08)); color: var(--ocean); }

/* Sidebar stats */
.blog-sidebar-stats { display: flex; gap: var(--s4); justify-content: center; }
.blog-stat-item { text-align: center; }
.blog-stat-num { display: block; font-size: 1.8rem; font-weight: 900; color: var(--ocean); font-family: var(--font-poppins, "Poppins"), sans-serif; line-height: 1; }
.blog-stat-label { font-size: .75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }

/* Responsive — collapse sidebar on mobile */
@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; max-height: none; }
  /* On mobile the CTA card is redundant (full CTAs appear in content) */
  .blog-sidebar-cta { display: none; }
}
@media (max-width: 640px) {
  .blog-page-main { padding: var(--s4) var(--s4) var(--s7); }
}

/* Blog total badge */
.blog-total-badge { display:flex; align-items:center; gap:var(--s3); margin-bottom:var(--s5); }
.blog-total-n { font-size:3rem; font-weight:800; color:var(--ocean-deep); font-family:var(--font-poppins,"Poppins"),sans-serif; line-height:1; }
.blog-total-label { font-size:1rem; color:var(--muted); font-weight:500; max-width:200px; line-height:1.3; }

/* Blog newsletter CTA */
.blog-newsletter-cta { background:linear-gradient(135deg,var(--ocean-darker),var(--ocean)); border-radius:var(--radius); padding:var(--s6); margin:var(--s7) 0; display:flex; justify-content:space-between; align-items:center; gap:var(--s5); flex-wrap:wrap; }
.blog-nl-content { display:flex; align-items:center; gap:var(--s4); flex:1; }
.blog-nl-icon { font-size:2.5rem; flex-shrink:0; }
.blog-nl-title { font-size:1.2rem; font-weight:800; color:#fff; font-family:var(--font-poppins,"Poppins"),sans-serif; margin-bottom:4px; }
.blog-nl-text { color:rgba(255,255,255,.8); font-size:.92rem; line-height:1.5; margin:0; }
.blog-nl-actions { display:flex; gap:var(--s3); flex-wrap:wrap; }
@media(max-width:640px){ .blog-newsletter-cta { flex-direction:column; align-items:flex-start; } }

/* ============================================================
   BLOG CONVERSION SECTIONS — stays, tours, CTA banner
   ============================================================ */
.blog-conversion-section { margin-top: var(--s8); padding-top: var(--s6); border-top: 1px solid var(--line); }
.blog-mini-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.blog-cta-banner { background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--palm-deep) 100%); border-radius: var(--radius); padding: var(--s8) var(--s6); margin-top: var(--s8); text-align: center; color: #fff; }
.blog-cta-inner h2 { color: #fff; font-size: 1.8rem; margin-bottom: var(--s3); }
.blog-cta-inner p { color: rgba(255,255,255,.85); margin-bottom: var(--s5); font-size: 1.05rem; }
.blog-cta-buttons { display: flex; gap: var(--s3); justify-content: center; flex-wrap: wrap; }
.hero-cta-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.hero-cta-outline:hover { background: rgba(255,255,255,.15); }

/* ============================================================
   BLOG VISUAL IMPROVEMENTS — cards, pills, CTAs, back link
   ============================================================ */

/* Blog category filter pills (generic — used alongside .blog-cat-btn) */
.blog-filter-pills { display:flex; gap:var(--s2); flex-wrap:wrap; margin-bottom:var(--s5); }
.blog-pill {
  padding:var(--s1) var(--s3); border-radius:var(--radius-pill);
  border:1.5px solid var(--line); background:var(--surface);
  font-size:.85rem; font-weight:600; cursor:pointer; color:var(--ink);
  transition:all .15s;
}
.blog-pill.active, .blog-pill:hover {
  background:var(--ocean); color:#fff; border-color:var(--ocean);
}

/* Inline conversion CTA box inside post body */
.inline-cta-box {
  display:flex; align-items:center; gap:var(--s4);
  background:rgba(0,150,199,.06);
  border:1px solid rgba(0,150,199,.2);
  border-left:4px solid var(--ocean);
  border-radius:0 var(--radius-sm) var(--radius-sm) 0;
  padding:var(--s4); margin:var(--s5) 0; flex-wrap:wrap;
}
.inline-cta-box p { margin:0; flex:1; min-width:200px; font-weight:600; }

/* Back to blog link — aligned to the centered article column */
.post-back-link {
  display:flex; align-items:center; gap:var(--s2);
  max-width: var(--post-shell); margin: 0 auto var(--s5); width:100%;
  color:var(--ocean-deep); font-size:.9rem; font-weight:600;
  text-decoration:none; min-height:44px;
}
.post-back-link:hover { text-decoration:underline; }

/* ============================================================
   FLIGHTS PAGE v2 — Calendar + Deal Cards
   ============================================================ */

/* Price calendar */
.price-calendar { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:var(--s5); }
.cal-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:var(--s4); flex-wrap:wrap; gap:var(--s3); }
.cal-route { font-size:1.3rem; font-weight:800; color:var(--ink); font-family:var(--font-poppins,"Poppins"),sans-serif; }
.cal-legend { display:flex; align-items:center; gap:var(--s3); font-size:.82rem; color:var(--muted); }
.cal-dot { width:10px; height:10px; border-radius:50%; display:inline-block; }
.cal-dot.cal-cheap { background:var(--palm); }
.cal-dot.cal-medium { background:var(--ocean); }
.cal-dot.cal-expensive { background:var(--mango-deep); }
.cal-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(90px,1fr)); gap:var(--s2); margin-bottom:var(--s4); }
.cal-cell { border:none; border-radius:var(--radius-sm); padding:var(--s2) var(--s3); cursor:pointer; display:flex; flex-direction:column; gap:2px; text-align:center; transition:transform .15s,box-shadow .15s; }
.cal-cell:hover { transform:translateY(-2px); box-shadow:var(--shadow); }
.cal-cell.cal-cheap { background:rgba(42,157,143,.12); border:1.5px solid rgba(42,157,143,.3); }
.cal-cell.cal-medium { background:rgba(0,150,199,.08); border:1.5px solid rgba(0,150,199,.2); }
.cal-cell.cal-expensive { background:rgba(251,133,0,.08); border:1.5px solid rgba(251,133,0,.25); }
.cal-cell-date { font-size:.72rem; font-weight:700; color:var(--muted); }
.cal-cell-price { font-size:.88rem; font-weight:800; color:var(--ink); font-family:var(--font-poppins,"Poppins"),sans-serif; }
.cal-cell.cal-cheap .cal-cell-price { color:var(--palm-deep); }
.cal-cell.cal-expensive .cal-cell-price { color:var(--mango-deep); }
.cal-cell-airline { font-size:.65rem; color:var(--muted); }
.cal-note { font-size:.82rem; }
.cal-month { font-weight:400; font-size:1rem; }
.cal-month-nav { display:flex; align-items:center; justify-content:space-between; gap:var(--s3); margin-bottom:var(--s4); flex-wrap:wrap; }
.cal-month-label { font-weight:700; font-size:1rem; color:var(--ink); }
.cal-nav-btn { background:var(--surface); border:1.5px solid var(--line); border-radius:var(--radius-sm); padding:var(--s2) var(--s4); font-size:.9rem; cursor:pointer; color:var(--palm-deep); font-weight:600; transition:background .15s,border-color .15s; }
.cal-nav-btn:hover { background:var(--palm-pale); border-color:var(--palm-deep); }

/* Deal cards v2 */
.deals-grid-v2 { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--s4); }
.deal-card-v2 { border-radius:var(--radius); overflow:hidden; background:var(--surface); border:1px solid var(--line); display:flex; flex-direction:column; transition:transform .25s var(--ease),box-shadow .25s var(--ease); }
.deal-card-v2:hover { transform:translateY(-4px); box-shadow:0 16px 40px rgba(0,119,182,.14); }
.deal-card-img { height:140px; background-size:cover; background-position:center; position:relative; }
.deal-card-stops { position:absolute; top:var(--s2); right:var(--s2); background:rgba(0,0,0,.6); color:#fff; font-size:.72rem; font-weight:700; padding:3px 8px; border-radius:var(--radius-pill); }
.deal-card-body { padding:var(--s4); display:flex; flex-direction:column; gap:var(--s2); flex:1; }
.deal-card-route { display:flex; align-items:center; gap:var(--s2); }
.deal-code { font-size:1.4rem; font-weight:800; color:var(--ink); font-family:var(--font-poppins,"Poppins"),sans-serif; line-height:1; }
.deal-arrow { color:var(--muted); font-size:1.1rem; }
.deal-dur { font-size:.78rem; margin-left:auto; }
.deal-card-label { font-size:.9rem; font-weight:600; color:var(--body); }
.deal-card-price-row { display:flex; align-items:baseline; gap:var(--s2); margin-top:auto; }
.deal-card-price { font-size:1.6rem; font-weight:800; color:var(--ocean-deep); font-family:var(--font-poppins,"Poppins"),sans-serif; line-height:1; }
.deal-card-gate { font-size:.8rem; }

@media(max-width:840px) {
  .deals-grid-v2 { grid-template-columns:repeat(2,1fr); }
  .cal-grid { grid-template-columns:repeat(auto-fill,minmax(75px,1fr)); }
}
@media(max-width:560px) {
  .deals-grid-v2 { grid-template-columns:1fr; }
  .cal-grid { grid-template-columns:repeat(auto-fill,minmax(65px,1fr)); }
}

/* ============================================================
   SEARCH PRO — Advanced search (homepage + flights)
   ============================================================ */

/* Ascunde "powered by Travelpayouts" din widgets */
.tp-powered-by, [class*="powered-by"], a[href*="travelpayouts.com"][class*="powered"],
iframe + div[style*="font-size:10px"], .tpwl-powered { display:none !important; }

/* Card container */
.search-card-pro {
  background: transparent;
  border-radius: 16px;
  padding: 0;
  border: none;
  box-shadow: none;
}
.search-card-pro-flights {
  margin: 0 0 24px;
}

/* Trip type radios */
.spf-trip-type {
  display: flex; gap: 24px; margin-bottom: 20px;
}
.spf-radio {
  display: flex; align-items: center; gap: 8px;
  font-size: .95rem; font-weight: 500; color: var(--body); cursor: pointer;
}
.spf-radio input { accent-color: var(--ocean); cursor: pointer; width: 18px; height: 18px; }

/* Tabs */
.search-tabs-pro {
  display: flex; gap: 8px; margin-bottom: 24px;
  border-bottom: 2px solid var(--line);
}
.stab {
  background: transparent; border: none; border-bottom: 3px solid transparent;
  padding: 12px 20px; font-size: .95rem; font-weight: 600;
  color: var(--muted); cursor: pointer; margin-bottom: -2px;
  transition: color .15s, border-color .15s, background .15s; white-space: nowrap;
  border-radius: 8px 8px 0 0;
}
.stab:hover { color: var(--ocean); background: rgba(0,150,199,.06); }
.stab.active { color: var(--ocean); border-bottom-color: var(--ocean); }

/* Form */
.search-pro-form { width: 100%; }

/* Fields row */
.spf-fields {
  display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap;
}
.spf-field {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1.5px solid var(--line);
  border-radius: 12px; padding: 12px 18px;
  flex: 1; min-width: 140px; transition: border-color .15s, box-shadow .15s;
  cursor: text;
  height: 64px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.spf-field:focus-within {
  border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(0,150,199,.15);
  background: var(--surface);
}
.spf-field-sm { flex: 0 0 160px; }
.spf-wide { flex: 2; min-width: 200px; }
.spf-from, .spf-to { flex: 1.5; min-width: 160px; }
.spf-icon { font-size: 1.4rem; flex-shrink: 0; opacity: .55; }
.spf-field-inner { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.spf-label {
  font-size: .78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; color: var(--muted); margin-bottom: 3px; white-space: nowrap;
}
.spf-input {
  border: none; background: transparent; font-size: 1rem; font-weight: 600;
  color: var(--ink); padding: 0; width: 100%; outline: none;
  font-family: inherit;
}
.spf-input::placeholder { color: var(--muted); font-weight: 400; font-size: .9rem; }
/* Date input styling */
.spf-input[type="date"] {
  min-width: 0;
  font-size: .9rem;
}
.spf-input option { font-weight: 500; }

/* Swap button */
.spf-swap {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); color: var(--muted); border: 1.5px solid var(--line); cursor: pointer;
  font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  transition: background .15s, transform .2s, border-color .15s; margin-bottom: 10px;
}
.spf-swap:hover { background: var(--line); border-color: var(--muted); transform: rotate(180deg); color: var(--body); }

/* Submit button */
.spf-submit {
  flex-shrink: 0; background: linear-gradient(135deg, var(--ocean), var(--ocean-deep));
  color: #fff; border: none; border-radius: 12px;
  padding: 0 32px; font-size: 1rem; font-weight: 700;
  cursor: pointer; white-space: nowrap; height: 64px;
  transition: filter .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 2px 12px rgba(0,150,199,.35);
}
.spf-submit:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,150,199,.4); }

/* Quick chips */
.spf-quick {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 20px; font-size: .88rem; color: var(--muted);
  padding-top: 16px; border-top: 1px solid var(--line);
}
.spf-chip {
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--radius-pill); padding: 7px 16px; font-size: .88rem;
  font-weight: 500; color: var(--body); cursor: pointer;
  transition: all .15s;
}
.spf-chip:hover { background: var(--ocean); color: #fff; border-color: var(--ocean); }

/* Advanced options toggle */
.spf-advanced-toggle { margin-top: var(--s3); text-align: left; }
.spf-toggle-btn { background: none; border: none; color: var(--ocean); font-size: .88rem; font-weight: 600; cursor: pointer; padding: 0; }
.spf-toggle-btn:hover { text-decoration: underline; color: var(--ocean-deep); }
.spf-advanced-options { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); }
.spf-advanced-grid { display: flex; flex-wrap: wrap; gap: var(--s3); }
.spf-checkbox { display: flex; align-items: center; gap: var(--s2); font-size: .88rem; color: var(--ink); cursor: pointer; -webkit-user-select: none; user-select: none; }
.spf-checkbox input[type="checkbox"] { accent-color: var(--ocean); width: 16px; height: 16px; cursor: pointer; }

/* Multi-city */
.multi-city-container { margin-top: 4px; }
.multi-city-segment { margin-bottom: 14px; }
.spf-remove-segment {
  flex-shrink: 0; background: transparent; border: 1.5px solid var(--line);
  color: var(--muted); border-radius: var(--radius-sm); padding: 0 18px;
  cursor: pointer; font-size: .9rem; height: 64px; font-weight: 600;
  transition: all .15s;
}
.spf-remove-segment:hover { background: #fee; border-color: #c00; color: #c00; }
.spf-add-flight {
  background: transparent; border: 1.5px dashed var(--line);
  color: var(--ocean); padding: 12px 24px; border-radius: var(--radius-sm);
  cursor: pointer; font-weight: 600; font-size: .9rem;
  transition: all .15s; margin-top: 4px; display: inline-block;
}
.spf-add-flight:hover { border-color: var(--ocean); background: rgba(0,150,199,.06); }

/* Responsive */
@media (max-width: 960px) {
  .spf-fields { flex-wrap: wrap; }
  .spf-field, .spf-from, .spf-to, .spf-wide { flex: 1 1 180px; }
  .spf-field-sm { flex: 1 1 140px; }
  .spf-submit { width: 100%; justify-content: center; margin-top: 8px; }
  .spf-swap { display: none; }
}
@media (max-width: 560px) {
  .search-card-pro { padding: 20px; }
  .spf-field { flex: 1 1 100%; }
  .spf-quick { gap: 8px; }
  .stab { font-size: .78rem; padding: var(--s2) var(--s3); }
  .search-card-pro-flights, .flight-search-card { padding: 16px; }
  .spf-chip, .route-chip { padding: 5px 12px; font-size: .82rem; }
}

/* Premium flights search form polish (added under SEARCH PRO; catalog reuse + modern spacing + legacy /flights.js compat) */
.flight-search-card,
.search-card-pro-flights {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: var(--s5);
}
.spf-field {
  border-radius: 14px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.spf-field .spf-input.catalog-search,
.spf-field .catalog-search {
  border-radius: 999px;
}
.spf-quick .spf-chip,
.route-chip {
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}
.spf-quick .spf-chip:hover,
.route-chip:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
/* subtle gold accents on focus/submit - no change to ocean theme or existing .spf-submit bg/gradient rules */
.spf-field:focus-within {
  box-shadow: 0 0 0 3px rgba(0,150,199,.15), 0 0 0 5px var(--gold-pale);
}
.spf-submit:focus {
  box-shadow: 0 0 0 3px var(--gold-pale), 0 2px 12px rgba(0,150,199,.35);
}

/* Currency Switcher */
.currency-switcher { position:relative; }
.currency-btn { display:flex; align-items:center; gap:4px; background:rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.3); border-radius:var(--radius-pill); padding:5px 10px; color:#fff; cursor:pointer; font-size:.82rem; font-weight:700; transition:background .15s; white-space:nowrap; }
.currency-btn:hover { background:rgba(255,255,255,.25); }
.currency-symbol { font-size:.95rem; }
.currency-arrow { font-size:.6rem; opacity:.7; }
.currency-dropdown { position:absolute; right:0; top:calc(100% + 8px); background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-lg); min-width:200px; z-index:1000; overflow:hidden; }
.currency-option { display:flex; align-items:center; gap:var(--s3); width:100%; padding:var(--s3) var(--s4); background:transparent; border:none; cursor:pointer; font-size:.88rem; text-align:left; transition:background .1s; }
.currency-option:hover { background:rgba(0,150,199,.08); }
.currency-option.active { background:rgba(0,150,199,.12); font-weight:700; color:var(--ocean-deep); }
.co-symbol { width:24px; font-weight:800; color:var(--ink); }
.co-code { font-weight:700; color:var(--ink); width:36px; }
.co-name { color:var(--muted); font-size:.82rem; }

/* ── Tour Detail Page ── */
.tour-detail-wrap { max-width: var(--maxw); margin: 0 auto; padding: var(--s5) var(--s4) var(--s8); }
.breadcrumb-nav { font-size:.85rem; color:var(--muted); margin-bottom:var(--s5); }
.breadcrumb-nav a { color:var(--ocean); text-decoration:none; }
.breadcrumb-nav a:hover { text-decoration:underline; }
.breadcrumb-nav span { margin: 0 var(--s2); }

/* Hero — gallery left, sidebar right */
.tour-detail-hero { display:grid; grid-template-columns:1fr 360px; gap:var(--s6); align-items:start; margin-bottom:var(--s7); }
@media(max-width:860px){ .tour-detail-hero { grid-template-columns:1fr; } }

.tour-detail-gallery { border-radius:var(--radius); overflow:hidden; }

/* Tour header */
.tour-header { margin-bottom: var(--s5); }
.tour-header h1 { color: var(--navy); font-size: clamp(1.8rem, 4vw, 2.8rem); }

/* Sidebar */
.tour-detail-sidebar {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg, var(--radius));
  padding: var(--s5);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--nav-height) + var(--s4));
}
.tour-cat-badge { display:inline-block; background:var(--palm); color:#fff; font-size:.75rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:3px 10px; border-radius:var(--radius-pill); margin-bottom:var(--s3); }
.tour-detail-title { font-size:1.4rem; font-weight:800; color:var(--navy); margin-bottom:var(--s2); line-height:1.3; }
.tour-detail-location { color:var(--muted); font-size:.9rem; margin-bottom:var(--s3); }
.tour-detail-meta { display:flex; flex-wrap:wrap; gap:var(--s2); margin-bottom:var(--s4); }
.tour-meta-chip { background:rgba(0,150,199,.08); color:var(--ocean-deep); font-size:.8rem; font-weight:600; padding:4px 10px; border-radius:var(--radius-pill); }
.tour-price-block { display:flex; align-items:baseline; gap:6px; margin-bottom:var(--s4); }
.tour-price-label { font-size:.85rem; color:var(--muted); }
.tour-price-amount { font-size:2rem; font-weight:900; color:var(--ink); }
.tour-price-per { font-size:.85rem; color:var(--muted); }
.tour-book-main { display:block; text-align:center; width:100%; padding:var(--s4) var(--s5); font-size:1.05rem; font-weight:800; margin-bottom:var(--s2); }
.book-btn-gold.tour-book-main { background: var(--gold) !important; color: var(--navy) !important; }
.book-btn-gold.tour-book-main:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,151,58,.4) !important; }
.tour-book-promo { font-size:.82rem; color:var(--muted); text-align:center; margin-bottom:var(--s4); }
.tour-alt-partners { border-top:1px solid var(--line); padding-top:var(--s3); }
.tour-partner-links { display:flex; gap:var(--s3); margin-top:var(--s2); }
.partner-link { font-size:.85rem; color:var(--ocean); text-decoration:none; font-weight:600; border:1px solid var(--ocean); padding:4px 12px; border-radius:var(--radius-pill); transition:background .15s, color .15s; }
.partner-link:hover { background:var(--ocean); color:#fff; }

/* Body content */
.tour-detail-body { max-width:740px; }
.tour-section { margin-bottom:var(--s7); }
.tour-section h2 { font-size:1.25rem; font-weight:800; color:var(--ink); margin-bottom:var(--s4); padding-bottom:var(--s2); border-bottom:2px solid var(--line); }
.tour-prose { color:var(--body); line-height:1.75; font-size:1rem; }
.tour-prose p { margin-bottom:var(--s4); }
.tour-prose strong { color:var(--ink); }
.tour-prose a { color:var(--ocean); }

/* Two-column highlights / included */
.tour-two-col { display:grid; grid-template-columns:1fr 1fr; gap:var(--s6); margin-bottom:var(--s7); }
@media(max-width:640px){ .tour-two-col { grid-template-columns:1fr; } }
.tour-checklist ul { list-style:none; display:flex; flex-direction:column; gap:var(--s3); }
.tour-checklist li { display:flex; gap:var(--s2); align-items:flex-start; font-size:.95rem; color:var(--body); line-height:1.5; }
.tour-checklist .check { color:var(--palm); font-weight:800; flex-shrink:0; }

/* FAQ */
.faq-list { display:flex; flex-direction:column; gap:var(--s3); }
.faq-item { border:1px solid var(--line); border-radius:var(--radius-sm); overflow:hidden; }
.faq-item summary { cursor:pointer; padding:var(--s3) var(--s4); font-weight:700; color:var(--ink); font-size:.95rem; list-style:none; display:flex; justify-content:space-between; align-items:center; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:'＋'; color:var(--ocean); font-size:1.1rem; }
.faq-item[open] summary::after { content:'－'; }
.faq-item p { padding:var(--s3) var(--s4) var(--s4); color:var(--body); line-height:1.65; font-size:.9rem; border-top:1px solid var(--line); background:var(--sand); }

/* CTA bottom */
.tour-cta-bottom { background:linear-gradient(135deg, rgba(0,150,199,.06), rgba(0,119,182,.10)); border:1px solid rgba(0,150,199,.2); border-radius:var(--radius); padding:var(--s5) var(--s6); text-align:center; }
.tour-cta-bottom h2 { border:none; padding:0; margin-bottom:var(--s2); }
.tour-cta-buttons { display:flex; justify-content:center; gap:var(--s4); flex-wrap:wrap; margin:var(--s4) 0; }
.book-btn-outline { background:transparent; color:var(--ocean); border:2px solid var(--ocean); }
.book-btn-outline:hover { background:var(--ocean); color:#fff; }

/* ── Tour Detail Page v2 (td-* classes) ── */
.td-wrap { max-width:1180px; margin:0 auto; padding:1.5rem 1.25rem 5rem; }
.td-breadcrumb { font-size:.82rem; color:#6b8290; margin-bottom:1.25rem; display:flex; align-items:center; gap:.35rem; flex-wrap:wrap; }
.td-breadcrumb a { color:#0096c7; text-decoration:none; }
.td-breadcrumb a:hover { text-decoration:underline; }
.td-breadcrumb-sep { color:#c8d8de; }
.td-title-row { margin-bottom:1rem; }
.td-category { display:inline-block; background:#2a9d8f; color:#fff; font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; padding:3px 10px; border-radius:999px; margin-bottom:.6rem; }
.td-title { font-family:var(--font-serif); font-size:2.1rem; font-weight:600; color:#103a4a; line-height:1.25; margin-bottom:.5rem; }
@media(max-width:640px){ .td-title { font-size:1.45rem; } }
.td-subtitle-row { display:flex; align-items:center; gap:1rem; flex-wrap:wrap; font-size:.9rem; color:#6b8290; }
.td-location { display:flex; align-items:center; gap:.3rem; font-weight:600; color:#3d5560; }
.td-rating-row { display:flex; align-items:center; gap:.4rem; }
.td-stars { color:#f4a907; font-size:1rem; letter-spacing:1px; }
.td-rating-num { font-weight:700; color:#103a4a; }
.td-review-count { color:#6b8290; }
.td-grid { display:grid; grid-template-columns:1fr 360px; gap:2.5rem; align-items:start; }
@media(max-width:960px){ .td-grid { grid-template-columns:1fr; } }
.td-gallery { border-radius:18px; overflow:hidden; background:#f0f4f5; margin-bottom:1.5rem; }
.td-chips { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:2rem; }
.td-chip { background:rgba(0,150,199,.08); color:#0077b6; font-size:.82rem; font-weight:600; padding:5px 12px; border-radius:999px; display:flex; align-items:center; gap:.3rem; }
.td-section { margin-bottom:2.25rem; padding-bottom:2.25rem; border-bottom:1px solid #e8f0f2; }
.td-section:last-child { border-bottom:none; }
.td-section-title { font-family:'Poppins',sans-serif; font-size:1.15rem; font-weight:800; color:#103a4a; margin-bottom:1rem; }
.td-prose { color:#3d5560; line-height:1.8; font-size:.97rem; }
.td-prose p { margin-bottom:.9rem; }
.td-prose p:last-child { margin-bottom:0; }
.td-prose strong { color:#103a4a; }
.td-two-col { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; }
@media(max-width:580px){ .td-two-col { grid-template-columns:1fr; } }
.td-list { list-style:none; display:flex; flex-direction:column; gap:.65rem; }
.td-list li { display:flex; align-items:flex-start; gap:.5rem; font-size:.92rem; color:#3d5560; line-height:1.5; }
.td-check { color:#2a9d8f; font-weight:900; flex-shrink:0; margin-top:1px; }
.td-check-inc { color:#0096c7; font-weight:900; flex-shrink:0; margin-top:1px; }
.td-area-box { background:linear-gradient(135deg,rgba(232,248,251,.7),rgba(240,250,248,.7)); border:1px solid rgba(178,232,240,.5); border-radius:14px; padding:1.25rem 1.5rem; font-size:.92rem; color:#3d5560; line-height:1.75; }
.td-area-box p { margin:0; }
.td-faq { display:flex; flex-direction:column; gap:.5rem; }
.td-faq-item { border:1px solid #e4eef0; border-radius:12px; overflow:hidden; }
.td-faq-item summary { padding:.9rem 1.1rem; font-weight:700; font-size:.93rem; color:#103a4a; cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; }
.td-faq-item summary::-webkit-details-marker { display:none; }
.td-faq-item summary::after { content:'+'; font-size:1.2rem; color:#0096c7; font-weight:400; }
.td-faq-item[open] summary::after { content:'−'; }
.td-faq-item[open] summary { background:rgba(0,150,199,.05); border-bottom:1px solid #e4eef0; }
.td-faq-body { padding:.9rem 1.1rem; font-size:.9rem; color:#3d5560; line-height:1.7; }
.td-sidebar { position:sticky; top:1.5rem; }
@media(max-width:960px){ .td-sidebar { position:static; } }
.td-card { background:#fff; border:1.5px solid #e4eef0; border-radius:20px; padding:1.5rem; box-shadow:0 8px 32px rgba(0,100,150,.08); }
.td-price-row { margin-bottom:1.25rem; }
.td-price-from { font-size:.78rem; color:#6b8290; text-transform:uppercase; letter-spacing:.05em; font-weight:700; }
.td-price-amount { font-family:'Poppins',sans-serif; font-size:2.1rem; font-weight:900; color:#103a4a; line-height:1; }
.td-price-per { font-size:.82rem; color:#6b8290; margin-left:.3rem; }
.td-book-btn { display:block; width:100%; text-align:center; background:linear-gradient(135deg,#f4a907 0%,#e07b00 100%); color:#fff; font-weight:800; font-size:1.05rem; padding:.9rem 1rem; border-radius:12px; text-decoration:none; margin-bottom:.75rem; transition:filter .2s,transform .15s; box-shadow:0 4px 16px rgba(244,169,7,.3); }
.td-book-btn:hover { filter:brightness(1.07); transform:translateY(-1px); }
.td-book-btn-outline { display:block; width:100%; text-align:center; border:2px solid #0096c7; color:#0096c7; font-weight:700; font-size:.9rem; padding:.65rem 1rem; border-radius:12px; text-decoration:none; margin-bottom:.5rem; transition:background .15s,color .15s; }
.td-book-btn-outline:hover { background:#0096c7; color:#fff; }
.td-book-btn-gyg { display:block; width:100%; text-align:center; background:#00B67A; color:#fff; font-weight:700; font-size:.9rem; padding:.65rem 1rem; border-radius:12px; text-decoration:none; margin-bottom:.5rem; transition:filter .2s,transform .15s; box-shadow:0 3px 12px rgba(0,182,122,.25); }
.td-book-btn-gyg:hover { filter:brightness(1.08); transform:translateY(-1px); }
.td-book-btn-viator { display:block; width:100%; text-align:center; background:#F47C20; color:#fff; font-weight:700; font-size:.9rem; padding:.65rem 1rem; border-radius:12px; text-decoration:none; margin-bottom:.5rem; transition:filter .2s,transform .15s; box-shadow:0 3px 12px rgba(244,124,32,.25); }
.td-book-btn-viator:hover { filter:brightness(1.08); transform:translateY(-1px); }
.td-bottom-btn-gyg { background:#00B67A; color:#fff; box-shadow:0 4px 14px rgba(0,182,122,.3); }
.td-bottom-btn-viator { background:#F47C20; color:#fff; box-shadow:0 4px 14px rgba(244,124,32,.3); }
.td-trust { display:flex; flex-direction:column; gap:.45rem; margin-top:1rem; padding-top:1rem; border-top:1px solid #e8f0f2; }
.td-trust-item { display:flex; align-items:center; gap:.5rem; font-size:.82rem; color:#3d5560; }
.td-trust-icon { color:#2a9d8f; font-size:1rem; }
.td-also { margin-top:1rem; padding-top:1rem; border-top:1px solid #e8f0f2; font-size:.8rem; color:#6b8290; }
.td-also-links { display:flex; gap:.5rem; margin-top:.4rem; flex-wrap:wrap; }
.td-also-link { color:#0096c7; font-size:.82rem; font-weight:600; text-decoration:none; border:1px solid rgba(0,150,199,.3); padding:3px 10px; border-radius:999px; transition:background .15s,color .15s; }
.td-also-link:hover { background:#0096c7; color:#fff; }
.td-related { margin-top:3rem; padding-top:2rem; border-top:2px solid #e8f0f2; }
.td-related-title { font-family:'Poppins',sans-serif; font-size:1.3rem; font-weight:800; color:#103a4a; margin-bottom:1.25rem; }
.td-related-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:1.25rem; }
.td-related-card { border:1px solid #e4eef0; border-radius:14px; overflow:hidden; text-decoration:none; color:inherit; transition:box-shadow .2s,transform .2s; display:flex; flex-direction:column; }
.td-related-card:hover { box-shadow:0 8px 24px rgba(0,100,150,.12); transform:translateY(-2px); }
.td-related-img { width:100%; aspect-ratio:16/9; object-fit:cover; background:#e8f0f2; }
.td-related-body { padding:.85rem 1rem; flex:1; display:flex; flex-direction:column; gap:.35rem; }
.td-related-name { font-weight:700; font-size:.9rem; color:#103a4a; line-height:1.35; }
.td-related-loc { font-size:.78rem; color:#6b8290; }
.td-related-price { font-size:.88rem; font-weight:800; color:#0077b6; margin-top:auto; }
.td-bottom-cta { margin-top:2.5rem; background:linear-gradient(135deg,rgba(0,150,199,.07),rgba(42,157,143,.07)); border:1px solid rgba(0,150,199,.2); border-radius:18px; padding:2rem; text-align:center; }
.td-bottom-cta h2 { font-family:'Poppins',sans-serif; font-size:1.3rem; font-weight:800; color:#103a4a; margin-bottom:.4rem; }
.td-bottom-cta p { color:#6b8290; font-size:.9rem; margin-bottom:1.25rem; }
.td-bottom-btns { display:flex; justify-content:center; gap:.75rem; flex-wrap:wrap; }
.td-bottom-btn { display:inline-flex; align-items:center; gap:.4rem; padding:.75rem 1.5rem; border-radius:12px; font-weight:800; font-size:.95rem; text-decoration:none; transition:filter .2s,transform .15s; }
.td-bottom-btn:hover { filter:brightness(1.07); transform:translateY(-1px); }
.td-bottom-btn-gold { background:linear-gradient(135deg,#f4a907,#e07b00); color:#fff; box-shadow:0 4px 14px rgba(244,169,7,.3); }
.td-bottom-btn-outline { border:2px solid #0096c7; color:#0096c7; }
.td-bottom-btn-outline:hover { background:#0096c7; color:#fff; }
.td-affiliate-note { margin-top:.75rem; font-size:.76rem; color:#9baab2; }

/* Activities page category filter */
.cat-filter { display:flex; flex-wrap:wrap; gap:var(--s2); margin-bottom:var(--s5); }
.cat-btn { background:var(--sand); border:1px solid var(--line); color:var(--body); font-size:.85rem; font-weight:600; padding:6px 14px; border-radius:var(--radius-pill); cursor:pointer; transition:background .15s, color .15s, border-color .15s; }
.cat-btn:hover,.cat-btn.active { background:var(--ocean); color:#fff; border-color:var(--ocean); }

/* ── Tour Card enhancements ── */
.tour-card { position:relative; }
.card-img-link { display:block; position:relative; overflow:hidden; border-radius:var(--radius) var(--radius) 0 0; }
.card-img-link img { width:100%; aspect-ratio:16/9; object-fit:cover; display:block; transition:transform .3s var(--ease); }
.card-img-link:hover img { transform:scale(1.04); }
.card-cat-badge { position:absolute; top:10px; left:10px; background:rgba(0,0,0,.55); color:#fff; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; padding:3px 9px; border-radius:var(--radius-pill); }
.card-location { font-size:.8rem; color:var(--muted); margin-bottom:4px; }
.card-desc { font-size:.88rem; -webkit-line-clamp:2; -webkit-box-orient:vertical; display:-webkit-box; overflow:hidden; margin-bottom:var(--s3); }
.card-meta-row { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:var(--s3); }
.card-chip { background:rgba(0,150,199,.08); color:var(--ocean-deep); font-size:.78rem; font-weight:600; padding:3px 8px; border-radius:var(--radius-pill); }

/* ── Guide conversion sections ── */
.guide-book-bar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:var(--s3); background:var(--ocean-pale,rgba(0,150,199,.08)); border:1px solid rgba(0,150,199,.2); border-radius:var(--radius); padding:var(--s4) var(--s5); margin:var(--s6) 0; font-weight:700; font-size:1.05rem; }
.guide-book-btns { display:flex; gap:var(--s3); flex-wrap:wrap; }

/* ── Plan page — trust stats & FAQ ── */
/* Centered, delimited "Why plan with PANA.PH" section */
.plan-why {
  max-width: var(--maxw); margin: 0 auto; padding: var(--s8) var(--s5) var(--s7);
  margin-top: var(--s8); border-top: 1px solid var(--line); text-align: center;
}
.plan-why-title { margin: 0 auto var(--s5); max-width: 720px; }
.plan-trust-stats { display:flex; gap:var(--s5); flex-wrap:wrap; margin:var(--s5) 0; justify-content:center; }
.plan-stat { text-align:center; min-width:120px; }
.plan-stat-num { font-size:1.6rem; font-weight:800; color:var(--ocean); display:block; }
.plan-why-chips { display:flex; flex-wrap:wrap; gap:var(--s3); margin-bottom:var(--s5); justify-content:center; }
.plan-why-intro { max-width:640px; margin:0 auto; line-height:1.7; }
.chip-trust { background:rgba(0,150,199,.1); color:var(--ocean-deep); font-size:.85rem; font-weight:600; padding:5px 14px; border-radius:var(--radius-pill); }
.plan-faq { max-width:var(--maxw); margin:var(--s8) auto 0; padding:var(--s8) var(--s5); border-top:1px solid var(--line); }
.plan-faq-title { text-align:center; margin:0 auto var(--s6); }
.plan-faq .faq-grid { max-width:760px; margin:0 auto; }
.faq-grid { display:flex; flex-direction:column; gap:var(--s3); }
.faq-item { border:1px solid var(--line); border-radius:var(--radius-sm); overflow:hidden; }
.faq-question { padding:var(--s4); font-weight:700; cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; }
.faq-question::-webkit-details-marker { display:none; }
.faq-question::after { content:'+'; font-size:1.2rem; color:var(--ocean); }
.faq-item[open] .faq-question::after { content:'−'; }
.faq-answer { padding:0 var(--s4) var(--s4); color:var(--body); line-height:1.7; }

/* ── Blog sidebar "Read in your language" (multilingual blog) ── */
.blog-lang-list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); padding: 0; margin: 0; }
.blog-lang-link { display: inline-flex; align-items: center; min-height: 36px; padding: var(--s1) var(--s3); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: .85rem; font-weight: 600; transition: background .15s, color .15s, border-color .15s; }
.blog-lang-link:hover { background: var(--ocean-pale, rgba(0,150,199,.08)); color: var(--ocean); border-color: var(--ocean); }
.blog-lang-link.is-active { background: var(--ocean); color: #fff; border-color: var(--ocean); cursor: default; }

/* ============================================================
   2026 BLOG MODERNIZATION (consolidated from 10-agent audit)
   ============================================================ */

/* --- Mobile fundamentals (Audit 3) --- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
* { -webkit-tap-highlight-color: transparent; }
/* iOS: inputs must be >=16px to prevent focus auto-zoom */
.blog-search-input, .blog-sort-select { font-size: 16px; }
/* Touch targets >=44px (WCAG 2.2 + iOS) */
.blog-cat-btn { min-height: 44px; }
.share-btn { min-height: 44px; display: inline-flex; align-items: center; }
.post-tag-pill, .blog-tag-chip, .blog-clear-tag { min-height: 32px; display: inline-flex; align-items: center; }
/* Dynamic viewport units for sticky panels (avoid mobile bar jump) */
.post-toc { max-height: calc(100dvh - 120px); }
.blog-sidebar { max-height: calc(100dvh - 100px); }

/* --- A11y (Audit 4) --- */
/* Tag pill text contrast: ensure readable on the colored backgrounds */
.blog-tag-pill { text-shadow: 0 1px 2px rgba(0,0,0,.35); }
/* focus-within parity with hover on cards (keyboard users) */
.blog-post-card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-featured-card:focus-within { box-shadow: var(--shadow-md); }
.blog-cat-btn:focus-visible { outline: 3px solid var(--ocean); outline-offset: 2px; }

/* --- Rendering polish (Audit 1 + 10) --- */
/* Featured title clamp (was unbounded -> could overflow) */
.blog-featured-title { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* post tag pills wrap gracefully instead of forcing horizontal scroll */
.post-tag-pill { white-space: normal; max-width: 100%; }
/* related card image fallback when post has no cover */
.related-posts__card-img-bg { display: block; height: 160px; background: linear-gradient(135deg, var(--ocean-darker), var(--ocean)); }
/* fill empty .share-section instead of relying on inline styles */
.share-section { max-width: var(--post-measure); margin: var(--s6) auto 0; padding-top: var(--s4); border-top: 1px solid var(--line); }

/* --- RTL support (Audit 7) — logical overrides for the few physical props on blog --- */
[dir="rtl"] .post-back-link { flex-direction: row-reverse; }
[dir="rtl"] .blog-featured-badge,
[dir="rtl"] .blog-post-img-tag { left: auto; right: var(--s3); }
/* Larger line-height for scripts with diacritics/ascenders */
:lang(ar) .post-body, :lang(hi) .post-body, :lang(th) .post-body { line-height: 1.95; }
:lang(ar) { text-align: start; }

/* --- Dark mode (Audit 1+2+5) — remap tokens; design already uses them --- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1721;
    --surface: #18222e;
    --surface-light: #1f2b38;
    --ink: #eaf2f6;
    --body: #c2d2dc;
    --muted: #93a7b4;
    --line: #2a3845;
    --border: #2a3845;
    --ocean-pale: rgba(72,202,228,.12);
  }
  /* Hardcoded #fff backgrounds that block theming */
  .blog-search-input, .blog-sort-select, .blog-cat-btn,
  .blog-post-card, .blog-featured-card, .related-posts__card,
  .blog-sidebar-section { background: var(--surface); color: var(--ink); }
  .post-cover, .blog-post-img, .blog-featured-img { filter: brightness(.9); }
}

/* --- P2: trust signals, byline E-E-A-T, real newsletter form --- */
.post-mini-rating { display:inline-block; font-size:.82rem; font-weight:700; color:var(--mango-deep); }
.post-byline { display:flex; align-items:center; gap:var(--s3); max-width:var(--post-shell); margin:0 auto var(--s4); }
.post-byline-avatar {
  flex:0 0 auto; width:42px; height:42px; border-radius:50%;
  background:linear-gradient(135deg,var(--ocean),var(--palm));
  color:#fff; font-weight:800; font-size:.85rem; letter-spacing:.02em;
  display:flex; align-items:center; justify-content:center;
}
.post-byline-meta { display:flex; flex-direction:column; gap:2px; }
.post-byline-author { font-size:.95rem; color:var(--ink); }
.post-byline .post-meta { margin:0; }

/* Newsletter real form */
.blog-nl-form { display:flex; gap:var(--s2); flex-wrap:wrap; align-items:center; }
.blog-nl-input {
  flex:1 1 220px; min-height:44px; font-size:16px;
  padding:0 var(--s4); border:1.5px solid var(--line); border-radius:var(--radius-sm);
  background:var(--surface); color:var(--ink);
}
.blog-nl-input:focus-visible { outline:3px solid var(--ocean); outline-offset:2px; border-color:var(--ocean); }
.blog-nl-success { font-weight:600; color:var(--palm-deep); padding:var(--s3) 0; }
.blog-nl-error { flex-basis:100%; color:var(--error); font-size:.85rem; }

/* --- P2-F: container queries + fluid type (Audit 1+10) --- */
/* Card grid responds to its OWN column width, not just the viewport, so the
   layout stays correct whether or not the sidebar is present. */
.blog-main-col { container-type: inline-size; container-name: bloglist; }
@container bloglist (max-width: 560px) {
  .blog-featured-card { grid-template-columns: 1fr; }
  .blog-posts-grid { grid-template-columns: 1fr; }
}
/* Fluid card titles (were fixed rem -> jumpy between breakpoints) */
.blog-post-title { font-size: clamp(1rem, 0.92rem + 0.4cqi, 1.18rem); }
.blog-featured-title { font-size: clamp(1.3rem, 1.05rem + 1.2cqi, 2rem); }

/* ============================================================
   2026 MOBILE PASS (consolidated from 10-agent mobile audit)
   ============================================================ */

/* --- Global form base: kills iOS focus-zoom + guarantees touch height --- */
input, select, textarea {
  font-size: 16px;           /* never <16px on mobile = no iOS auto-zoom */
  font-family: inherit;
}
@media (max-width: 768px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  select, textarea { min-height: 44px; }
  /* the one input the audit flagged as still <16px */
  .spf-input[type="date"] { font-size: 16px; }
}

/* --- Touch fundamentals --- */
a, button, summary, [role="button"], [role="option"], .stab, .cat-btn,
.spf-chip, .dest-chip, .hf-btn, .chip { touch-action: manipulation; }
.modal, .currency-dropdown, .nav-links.open, .post-toc, .blog-sidebar { overscroll-behavior: contain; }
/* Horizontal-overflow safety net (one wide child can't scroll the whole page) */
html, body { overflow-x: hidden; }

/* --- Sticky hover only on real pointer devices (no sticky hover on tap) --- */
@media (hover: none) {
  .card:hover, .dest:hover, .region-card:hover, .why-card:hover,
  .blog-post-card:hover, .stay-card:hover, .tour-card:hover { transform: none; }
}
/* Universal press feedback for touch */
button:active, .book-btn:active, .book-btn-outline:active, .dest-link:active,
.chip:active, .currency-btn:active, .stab:active { transform: scale(.97); }

/* --- Touch targets >=48px (Lighthouse mobile a11y) --- */
@media (max-width: 820px) {
  .logo, a.logo {
    min-height: 48px;
    min-width: 48px;
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
  }
  .skip-link:focus,
  .skip-link:focus-visible {
    min-height: 48px;
    padding: 12px 16px;
    line-height: 1.2;
  }
  .nav-toggle { min-width: 48px; min-height: 48px; padding: 12px; }
  .nav-group-btn { min-height: 48px; padding: 12px 14px; }
  .nav-mega-item { min-height: 48px; padding: 12px 14px; }
  .nav-trip-link, .nav-plan-trip { min-height: 48px; padding: 10px 14px; display: inline-flex; align-items: center; }
  .catalog-search { min-height: 48px; padding: 10px 14px !important; }
  .currency-btn { min-height: 48px; min-width: 48px; padding: 10px 14px; }
  .stab { min-height: 48px; padding: 10px 16px; }
  .spf-submit, .spf-swap, .spf-remove-segment, .spf-add-flight { min-height: 48px; }
  .spf-chip, .dest-chip { min-height: 48px; padding: 10px 14px; }
  .mbn-item { min-height: 48px; padding: 6px 4px; justify-content: center; }
  .footer-col-links a, .footer-social-link, .see-all-link {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
  }
  .modal-close { min-width: 48px; min-height: 48px; }
  .slideshow-button { width: 48px; height: 48px; }
  .slideshow-playpause { width: 48px; height: 48px; }
  .slideshow-dot { width: 12px; height: 12px; padding: 16px; background-clip: content-box; box-sizing: content-box; }
  .region-expand-btn { min-height: 48px; width: 100%; }
  .dest-link, .hf-btn, .cat-btn, .partner-link, .check-live-btn,
  .month-btn, .chip, .btn-ghost { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
  .crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
  .crumbs a, .crumbs span { padding: 6px 0; min-height: 48px; display: inline-flex; align-items: center; }
  .lang-switcher-list a { display: inline-flex; align-items: center; min-height: 48px; }
}

/* --- Safe-area (notch / home indicator) — viewportFit:cover is set --- */
@supports (padding: env(safe-area-inset-top)) {
  nav.nav-sticky { padding-top: max(var(--s3), env(safe-area-inset-top)); }
  footer { padding-bottom: calc(var(--s7) + env(safe-area-inset-bottom)); }
}

/* --- Search tabs: horizontal scroll on mobile --- */
@media (max-width: 640px) {
  .search-tabs-pro {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: var(--s2);
    padding-bottom: 4px;
  }
  .search-tabs-pro::-webkit-scrollbar { display: none; }
  .stab {
    scroll-snap-align: start;
    flex: 0 0 auto;
    min-height: 44px;
    font-size: .82rem;
    padding: .4rem .9rem;
    white-space: nowrap;
  }
  .spf-swap { display: inline-flex !important; align-self: center; margin: -4px auto; }
  /* On mobile inside glass card, stack fields vertically */
  .search-card-glass .spf-fields { flex-direction: column; }
  .search-card-glass .spf-field { width: 100%; min-width: 0; flex: none; }
  .search-card-glass .spf-submit { width: 100%; margin-top: var(--s3); }
}

/* --- Smaller phones: stack the grids that stayed 2-col down to 320px --- */
@media (max-width: 400px) {
  .footer-cols, .flight-card, .post-stays-grid { grid-template-columns: 1fr; }
  .stat-n { font-size: 1.6rem; }
}

/* --- Hero: lighter on mobile (was pushing search below the fold) --- */
@media (max-width: 640px) {
  .hero-content { padding: var(--s6) var(--s4) var(--s4); }
  .hero::before, .hero::after { animation: none; } /* stop infinite orb animation on mobile (INP) */
  .hero { background-attachment: scroll; }
  section { margin-top: var(--s7); } /* 48px instead of 64px between sections */
}

/* --- TPStickyBanner fixes (it ships its own inline <style>; override here) --- */
/* Reserve space so the fixed banner never covers the footer / last CTA */
body:has(.tp-sticky) { padding-bottom: 72px; }
/* Safe-area on the fixed banner (home indicator) */
.tp-sticky { padding-bottom: calc(1rem + env(safe-area-inset-bottom)) !important; }
@media (prefers-color-scheme: dark) {
  .tp-sticky { background: linear-gradient(135deg, var(--surface), var(--surface-light)) !important; }
  .tp-sticky, .tp-sticky-text, .tp-sticky * { color: var(--ink) !important; }
}

/* ── Recommended (verified partner) sections ── */
.rec-section { position: relative; }
.rec-badge-pill { display: inline-block; vertical-align: middle; margin-left: 8px; font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #0f7b3f; background: #dcfce7; border: 1px solid #86efac; padding: 3px 9px; border-radius: 999px; }
.rec-card-imgwrap { position: relative; }
.rec-card-imgwrap img { width: 100%; height: 190px; object-fit: cover; display: block; }
.rec-verified { position: absolute; top: 10px; left: 10px; background: rgba(15,123,63,.95); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.rec-card { transition: transform .15s, box-shadow .15s; }
.rec-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.12); }

/* ── Homepage partner CTA banner ── */
.partner-banner { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; padding: var(--s6); border-radius: 20px; background: linear-gradient(135deg, var(--ocean-deep, #023e8a), var(--ocean, #0096c7)); color: #fff; }
.partner-banner-eyebrow { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .85; margin-bottom: 6px; }
.partner-banner-text { flex: 1; min-width: 280px; }
.partner-banner-text h2 { color: #fff; font-size: 1.5rem; margin: 0 0 8px; }
.partner-banner-text p { color: rgba(255,255,255,.9); margin: 0; max-width: 560px; }
.partner-banner-cta { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.partner-banner-login { color: #fff; font-size: .85rem; opacity: .9; text-decoration: underline; }
@media (max-width: 640px) { .partner-banner { padding: var(--s4); } .partner-banner-cta { width: 100%; } .partner-banner-cta .book-btn { width: 100%; text-align: center; } }

/* ============================================================
   ABOUT / FEATURES SECTION
   ============================================================ */
.about-hero-text {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--s7);
}
.about-hero-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: var(--s4);
  display: block;
}
.about-hero-text h2::after { display: none; }
.about-lead {
  font-size: 1.1rem;
  color: var(--body);
  line-height: 1.7;
}
.section-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: var(--s3);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s6) var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.feature-ico {
  font-size: 2.5rem;
  display: block;
}
.feature-card h3 {
  font-size: 1.1rem;
  color: var(--ink);
  margin: 0;
}
@media (max-width: 840px) { .features-grid { grid-template-columns: 1fr; } }
@media (min-width: 480px) and (max-width: 840px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   PROMOTIONAL CTA BANNER
   ============================================================ */
.promo-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  flex-wrap: wrap;
  padding: var(--s7) var(--s6);
  border-radius: calc(var(--radius) * 1.5);
  background: linear-gradient(135deg, #b45309, var(--mango), var(--coral));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.promo-cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/img/cta-texture-philippines-beach.webp') center/cover;
  opacity: .06;
  pointer-events: none;
}
.promo-cta-text { position: relative; z-index: 1; flex: 1; min-width: 260px; }
.promo-cta-text h2 {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: var(--s2) 0 var(--s3);
}
.promo-cta-text h2::after { display: none; }
.promo-cta-text p { color: rgba(255,255,255,.92); max-width: 480px; line-height: 1.6; }
.promo-badge {
  display: inline-block;
  background: rgba(255,255,255,.25);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.promo-cta-action { position: relative; z-index: 1; }
.promo-cta-btn {
  background: #fff !important;
  color: #b45309 !important;
  font-size: 1rem;
  width: auto;
  padding: var(--s4) var(--s6);
  margin-top: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.2) !important;
}
.promo-cta-btn:hover {
  background: rgba(255,255,255,.92) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,.25) !important;
  filter: none !important;
}
@media (max-width: 640px) {
  .promo-cta-banner { padding: var(--s5) var(--s4); }
  .promo-cta-btn { width: 100%; text-align: center; }
}

/* ============================================================
   MOBILE APP SECTION
   ============================================================ */
.mobile-app-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s6);
  align-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,151,58,.28);
  border-radius: calc(var(--radius) * 1.5);
  padding: var(--s7) var(--s6);
  color: #fff;
  overflow: hidden;
  position: relative;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(10,22,40,.18);
}
.mobile-app-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: 15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(72,202,228,.15) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.mobile-app-text { position: relative; z-index: 1; }
.mobile-app-text h2 {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: var(--s2) 0 var(--s3);
}
.mobile-app-text h2::after { display: none; }
.mobile-app-text > p { color: rgba(255,255,255,.9); max-width: 520px; line-height: 1.65; }
.mobile-app-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  margin: var(--s4) 0 var(--s5);
}
.mobile-app-features li {
  color: rgba(255,255,255,.88);
  font-size: .95rem;
}
.mobile-app-btns {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
}
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: var(--radius-sm);
  padding: var(--s2) var(--s4);
  color: #fff;
  text-decoration: none;
  transition: background .2s var(--ease), border-color .2s var(--ease);
  min-width: 140px;
}
.app-store-btn:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.55);
}
.app-store-btn.app-store-soon { cursor: default; opacity: .6; }
.app-store-btn.app-store-soon:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }

/* "New" badge for listings without reviews yet (honest — no fake stars). */
.td-new-badge { display: inline-block; background: rgba(0,150,199,.12); color: #0077b6; font-weight: 700; font-size: .8rem; padding: 2px 10px; border-radius: 999px; }
.app-store-btn span:last-child {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.app-store-btn small { font-size: .72rem; opacity: .8; }
.app-store-btn strong { font-size: .95rem; font-family: var(--font-poppins, 'Poppins'), sans-serif; }
.app-store-icon { font-size: 1.4rem; }
.mobile-app-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-app-phone {
  width: 140px;
  height: 220px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.mobile-app-emoji { font-size: 4rem; }
@media (max-width: 640px) {
  .mobile-app-banner { grid-template-columns: 1fr; }
  .mobile-app-visual { display: none; }
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s5);
  margin-top: var(--s5);
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s6) var(--s4);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.team-avatar {
  font-size: 3rem;
  margin-bottom: var(--s3);
  display: block;
}
.team-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--s1);
}
.team-role { font-size: .88rem; }
@media (max-width: 840px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   NUMBERS BAND (performance metrics)
   ============================================================ */
.numbers-band-section .numbers-band {
  background: var(--surface-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s6) var(--s5);
  margin: 0;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro-section { margin-top: var(--s7); }
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s7);
  align-items: center;
}
.about-intro-text h2 { font-size: clamp(1.5rem,3vw,2rem); margin-bottom: var(--s4); display: block; }
.about-intro-text h2::after { display: none; }
.about-intro-text p { color: var(--body); line-height: 1.75; margin-bottom: var(--s3); }
.about-experience-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean-deep), var(--aqua));
  color: #fff;
  flex-shrink: 0;
}
.about-experience-badge strong { font-size: 2.8rem; font-weight: 800; font-family: var(--font-poppins,'Poppins'),sans-serif; line-height: 1; }
.about-experience-badge span { font-size: .85rem; opacity: .85; text-align: center; }
.about-stats-section { margin: var(--s7) 0; }
.team-social { display: flex; gap: var(--s2); justify-content: center; margin-top: var(--s3); }
.team-social-link { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-light); border: 1px solid var(--line); color: var(--body); font-size: .8rem; font-weight: 700; transition: all .2s; text-decoration: none; }
.team-social-link:hover { background: var(--ocean); color: #fff; border-color: var(--ocean); }
@media (max-width: 640px) { .about-intro-grid { grid-template-columns: 1fr; } .about-experience-badge { margin: 0 auto; } }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s7);
  align-items: start;
  margin-top: var(--s6);
}
.contact-info-col h2 { font-size: 1.5rem; margin-bottom: var(--s3); display: block; }
.contact-info-col h2::after { display: none; }
.contact-info-col > .muted { margin-bottom: var(--s5); }
.contact-info-cards { display: flex; flex-direction: column; gap: var(--s3); margin-bottom: var(--s5); }
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  padding: var(--s4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.contact-info-ico { font-size: 1.5rem; flex-shrink: 0; }
.contact-info-card strong { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 2px; }
.contact-info-card .muted { font-size: .9rem; margin: 0; }
.contact-social-btn {
  display: inline-flex;
  align-items: center;
  padding: var(--s2) var(--s4);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: .88rem;
  font-weight: 600;
  color: var(--body);
  text-decoration: none;
  transition: all .2s;
}
.contact-social-btn:hover { background: var(--ocean); color: #fff; border-color: var(--ocean); }
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s6);
  box-shadow: var(--shadow);
}
.contact-form-card h2 { font-size: 1.4rem; margin-bottom: var(--s2); display: block; }
.contact-form-card h2::after { display: none; }
.contact-form-card > .muted { margin-bottom: var(--s5); }
.contact-form { display: flex; flex-direction: column; gap: var(--s4); }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.contact-form-label { display: flex; flex-direction: column; gap: var(--s1); font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.contact-form-input {
  padding: var(--s3);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: #fbfcfe;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form-input:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(0,150,199,.1); background: #fff; }
.contact-form-textarea { resize: vertical; min-height: 120px; }
@media (max-width: 840px) { .contact-layout { grid-template-columns: 1fr; } .contact-form-row { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-page { max-width: 780px; margin: 0 auto; }
.faq-category-block { margin-bottom: var(--s7); }
.faq-category-title {
  font-size: 1.3rem;
  margin-bottom: var(--s4);
  color: var(--ocean-deep);
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.faq-category-title::after { display: none; }
.faq-cta-block {
  background: linear-gradient(135deg, var(--surface-light), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s6);
  text-align: center;
  margin-top: var(--s7);
}
.faq-cta-block h3 { font-size: 1.3rem; margin-bottom: var(--s2); }

/* ============================================================
   CARS PAGE
   ============================================================ */
.cars-main { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s5) var(--s8); }
.cars-search-wrap { margin: calc(-1*var(--s6)) 0 var(--s7); }
.cars-search-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: var(--s6); border: 1px solid var(--line); }
.cars-search-form { display: grid; grid-template-columns: 2fr 1fr 1fr auto auto; gap: var(--s3); align-items: end; }
.cars-field { display: flex; flex-direction: column; gap: var(--s1); }
.cars-field-sm { max-width: 110px; }
.cars-field-label { font-size: .82rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.cars-input {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--s3) var(--s4);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s;
  width: 100%;
  font-family: inherit;
}
.cars-input:focus { outline: none; border-color: var(--ocean); }
.cars-search-btn { background: var(--ocean); color: #fff; border: none; border-radius: var(--radius-sm); padding: var(--s3) var(--s5); font-weight: 700; font-size: 1rem; cursor: pointer; white-space: nowrap; transition: background .2s, transform .15s; }
.cars-search-btn:hover { background: var(--ocean-deep); transform: translateY(-1px); }
.cars-hint { margin-top: var(--s4); font-size: .9rem; display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.cars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-top: var(--s5); }
.car-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.car-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,119,182,.14); }
.car-card-img { height: 180px; background-size: cover; background-position: center; position: relative; }
.car-card-badge { position: absolute; top: var(--s3); left: var(--s3); background: var(--mango); color: var(--ink); font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-pill); }
.car-card-body { padding: var(--s4); }
.car-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s3); margin-bottom: var(--s3); }
.car-card-name { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.car-card-rating { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.car-specs { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s3); }
.car-spec { background: var(--surface-light); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 3px 10px; font-size: .8rem; color: var(--body); }
.car-card-footer { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); }
.car-price { display: flex; align-items: baseline; gap: 2px; }
@media (max-width: 840px) { .cars-search-form { grid-template-columns: 1fr 1fr; } .cars-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .cars-search-form { grid-template-columns: 1fr; } .cars-grid { grid-template-columns: 1fr; } .cars-field-sm { max-width: 100%; } }

/* ============================================================
   PREMIUM REDESIGN 2026 — New components & overrides
   ============================================================ */

/* ── Hero fullscreen layout ── */
.hero-fullscreen {
  height: 100svh;
  min-height: 600px;
  background:
    linear-gradient(180deg, rgba(10,22,40,.70) 0%, rgba(10,22,40,.38) 50%, rgba(10,22,40,.82) 100%),
    url('/img/philippines-tropical-coast.webp') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  position: relative;
  color: #fff;
  overflow: hidden;
}
.hero-search-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px var(--s5) var(--s8);
  text-align: center;
}
.hero-search-center h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  text-shadow: 0 2px 30px rgba(0,0,0,.3);
  margin-bottom: var(--s3);
  line-height: 1.1;
}
.hero-headline-gold {
  background: linear-gradient(135deg, var(--gold-light, #e8b96a), var(--gold, #c9973a));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-search-center p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.88);
  max-width: 560px;
  margin: 0 auto;
}

/* Glassmorphism search card */
.search-card-glass {
  background: rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 24px;
  padding: var(--s5);
  width: 100%;
  max-width: 920px;
  margin-top: var(--s6);
  box-shadow: 0 24px 64px rgba(0,0,0,.25);
}

/* Scroll indicator at bottom of hero */
.hero-scroll-indicator {
  position: absolute;
  bottom: var(--s5);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
.hero-scroll-indicator svg { width: 22px; height: 22px; }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Listing layout: sidebar left + grid right ── */
.listing-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--s6);
  align-items: start;
  margin-top: var(--s6);
}
.listing-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 16px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s5);
  box-shadow: var(--shadow-sm);
}
.listing-sidebar-title {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s4);
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--line);
}
.listing-filter-group {
  margin-bottom: var(--s4);
}
.listing-filter-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--s2);
  display: block;
}
.listing-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}
.listing-filter-chip {
  background: var(--surface-light);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  padding: .42rem .85rem;
  font-size: .84rem;
  font-weight: 600;
  color: var(--body);
  cursor: pointer;
  transition: all .15s var(--ease);
  white-space: nowrap;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.listing-filter-chip:hover {
  background: rgba(201,151,58,.12);
  border-color: rgba(201,151,58,.4);
  color: var(--ink);
}
.listing-filter-chip.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(201,151,58,.3);
}
.listing-main { min-width: 0; }
.sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s4);
  padding: var(--s3) var(--s4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  gap: var(--s3);
  flex-wrap: wrap;
}
.sort-bar-count {
  font-size: .9rem;
  color: var(--muted);
  font-weight: 500;
}
.sort-bar-select {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--s2) var(--s3);
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  font-family: inherit;
}
@media (max-width: 900px) {
  .listing-layout { grid-template-columns: 1fr; }
  .listing-sidebar { position: static; }
}

/* ── Mobile bottom tab bar ── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px));
  z-index: 200;
  grid-template-columns: repeat(5, 1fr);
  box-shadow: 0 -4px 20px rgba(10,22,40,.08);
}
.mbn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: var(--muted);
  font-size: .62rem;
  font-weight: 700;
  padding: 4px;
  border-radius: 8px;
  transition: color .15s var(--ease);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.mbn-item.active, .mbn-item:hover { color: var(--navy); }
.mbn-cta { color: var(--gold) !important; }
.mbn-cta:hover { color: var(--gold-light, #e8b96a) !important; }
.mbn-icon { font-size: 1.35rem; line-height: 1; }
@media (max-width: 820px) {
  .mobile-bottom-nav { display: grid; }
  body.mbn-ready { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

/* ── Premium card upgrades ── */
.card, .why-card {
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover, .why-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 48px rgba(10,22,40,.14), 0 6px 16px rgba(10,22,40,.08);
  border-color: rgba(201,151,58,.3);
}
.card img { transition: transform .45s var(--ease); }
.card:hover img { transform: scale(1.06); }

/* ── Premium CTA buttons with gold ── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light, #e8b96a));
  color: var(--navy);
  font-weight: 800;
  font-size: .95rem;
  padding: var(--s3) var(--s5);
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(201,151,58,.35);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201,151,58,.45);
  filter: brightness(1.05);
  color: var(--navy);
}

/* ── Footer premium dark ── */
footer {
  background: linear-gradient(160deg, var(--navy, #0a1628) 0%, var(--navy-mid, #122040) 100%);
}

/* ── Nav: push content down on all non-hero pages ── */
.inner-page-spacer {
  height: var(--nav-height);
  display: block;
}

/* ── Section headings — premium gold underline ── */
section > h2::after {
  background: linear-gradient(90deg, var(--gold), var(--gold-light, #e8b96a));
}

/* ── Stats band — navy premium ── */
.stats-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid, #122040));
}

/* ── CTA band ── */
#cta-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid, #122040));
}

/* ── Search tabs pill-shaped premium ── */
.search-tabs-pro {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s5);
}
.stab {
  border: 1.5px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.9);
  padding: .45rem 1.1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  transition: all .2s var(--ease);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.stab:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); }
.stab.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201,151,58,.4);
}

/* ── search-card-pro inside the glass card ── */
.search-card-pro { /* no extra bg needed — sits inside .search-card-glass */ }
.search-pro-form { /* inherits from existing .spf-* styles */ }

/* SPF submit button — gold premium */
.spf-submit {
  background: linear-gradient(135deg, var(--gold), var(--gold-light, #e8b96a)) !important;
  color: var(--navy) !important;
  font-weight: 800 !important;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(201,151,58,.35);
  transition: transform .15s var(--ease), box-shadow .2s var(--ease) !important;
}
.spf-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,151,58,.45) !important;
}

/* ── Why-grid icons — gold background ── */
.why-ico {
  background: linear-gradient(135deg, rgba(201,151,58,.15), rgba(232,185,106,.1));
  color: var(--gold);
}

/* ── Destination card hover — navy glow ── */
.dest-card:hover {
  box-shadow: 0 20px 48px rgba(10,22,40,.18);
}

/* Inner pages: compensate fixed nav */
.hero-sm + main,
.inner-hero-wrap + main {
  padding-top: var(--s5);
}

/* ── search-card-pro: make spf-fields work inside glass card ── */
.search-card-glass .spf-field {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-sm);
}
.search-card-glass .spf-input {
  background: transparent;
  color: #fff;
}
.search-card-glass .spf-input::placeholder { color: rgba(255,255,255,.65); }
.search-card-glass .spf-label { color: rgba(255,255,255,.75); }
.search-card-glass .spf-icon { color: rgba(255,255,255,.85); }
.search-card-glass .spf-radio { color: rgba(255,255,255,.85); }
.search-card-glass .spf-quick { color: rgba(255,255,255,.75); }
.search-card-glass .spf-chip {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
}
.search-card-glass .spf-chip:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

/* Reduced motion overrides for new elements */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-indicator { animation: none; }
  .btn-gold { transition: none; }
}

/* ============================================================
   PAGE MAIN — wrapper for pages using InnerHero
   ============================================================ */
.page-main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--s6) var(--s5) var(--s8);
}
.page-main .about-intro-section { margin-top: 0; }

/* ============================================================
   INNER HERO — premium dark navy compact header
   Used by hotels, stays, activities, about, contact, faq, etc.
   ============================================================ */
.hero.hero-sm {
  height: auto !important;
  min-height: 0 !important;
  padding-top: calc(var(--nav-height, 68px) + 32px) !important;
  padding-bottom: var(--s7) !important;
  background:
    linear-gradient(165deg, rgba(10,22,40,.95) 0%, rgba(10,22,40,.80) 60%, rgba(0,96,199,.55) 100%),
    url('/img/philippines-tropical-coast.webp') center/cover !important;
  position: relative;
}
.hero.hero-sm::before { display: none; }
.hero.hero-sm::after { display: none; }
.hero.hero-sm .hero-content { padding: 0 var(--s5); text-align: center; }
.hero.hero-sm .hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: var(--s3);
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero.hero-sm .hero-content p {
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 620px;
  margin: 0 auto;
}

/* Nav sticky wrap — premium */
.nav-sticky-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.nav-sticky-wrap nav {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-height);
  padding: 0 var(--s5);
}
.nav-sticky-wrap.scrolled {
  background: rgba(10,22,40,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 4px 24px rgba(0,0,0,.2);
}

/* ============================================================
   HERO EYEBROW + PREMIUM HEADLINE
   ============================================================ */
.hero-eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold);
  background: rgba(212,168,67,.12);
  border: 1px solid rgba(212,168,67,.3);
  padding: .4rem 1.1rem; border-radius: var(--radius-pill);
  margin-bottom: var(--s4);
}
.hero-search-center {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: calc(var(--nav-height) + 24px) var(--s5) var(--s8);
  text-align: center;
}
.hero-search-center h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 800; line-height: 1.05;
  text-shadow: 0 2px 40px rgba(0,0,0,.35);
  margin-bottom: var(--s3);
}
.hero-headline-gold {
  background: linear-gradient(135deg, var(--gold-light, #e8b96a), var(--gold, #c9973a), #f0c040);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.82);
  max-width: 540px; margin: 0 auto; line-height: 1.6;
}
.hero-scroll-indicator {
  position: absolute; bottom: var(--s5); left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: var(--s2);
  color: rgba(255,255,255,.55); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
.hero-scroll-indicator svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   MAIN PADDING FOR FIXED NAV (inner pages)
   ============================================================ */
.hotels-main,
.activities-main,
.stays-main,
.cars-main,
.flights-main,
.about-intro-section,
.faq-page,
.contact-layout {
  padding-top: var(--s5);
}

/* ============================================================
   BLOG PAGE — premium card grid
   ============================================================ */
.blog-grid { display: flex; flex-direction: column; gap: var(--s5); }
.blog-card {
  display: grid; grid-template-columns: 320px 1fr;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  box-shadow: var(--shadow-sm);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(212,168,67,.3); }
.blog-card-img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; display: block; }
.blog-card-body { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3); }
.blog-tags { display: flex; gap: var(--s2); flex-wrap: wrap; }
.blog-card-title {
  font-size: 1.25rem; font-family: var(--font-poppins, 'Poppins'), sans-serif;
  color: var(--ink); font-weight: 700; line-height: 1.3; margin: 0;
}
.blog-card-excerpt { font-size: .95rem; color: var(--muted); line-height: 1.6; flex: 1; }
.blog-read-more { color: var(--navy); font-weight: 700; font-size: .9rem; }
.blog-card:hover .blog-read-more { color: var(--gold); }
@media (max-width: 700px) { .blog-card { grid-template-columns: 1fr; } .blog-card-img { max-height: 200px; } }

/* ============================================================
   ABOUT PAGE — premium layout
   ============================================================ */
.about-intro-grid {
  display: grid; grid-template-columns: 1fr 200px;
  gap: var(--s7); align-items: center; margin-bottom: var(--s7);
}
.about-intro-text h2 { font-size: clamp(1.5rem,3vw,2.2rem); margin-bottom: var(--s4); }
.about-intro-text h2::after { display: none; }
.about-intro-text p { color: var(--body); line-height: 1.75; margin-bottom: var(--s3); font-size: 1.05rem; }
.about-experience-badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 160px; height: 160px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid, #122040));
  color: #fff; margin: 0 auto;
  box-shadow: var(--shadow-navy);
}
.about-experience-badge strong { font-size: 2.8rem; font-weight: 800; font-family: var(--font-poppins,'Poppins'),sans-serif; line-height: 1; color: var(--gold); }
.about-experience-badge span { font-size: .78rem; opacity: .8; text-align: center; margin-top: 4px; }
.about-mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-top: var(--s4); }
.about-mini-stats div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--s3); text-align: center; }
.about-mini-stats strong { display: block; font-size: 1.4rem; font-weight: 800; color: var(--navy); font-family: var(--font-poppins,'Poppins'),sans-serif; }
.about-mini-stats span { font-size: .78rem; color: var(--muted); }
.features-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s5); margin-top: var(--s6);
}
.feature-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--s6) var(--s5);
  text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .25s,box-shadow .25s,border-color .25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(212,168,67,.3); }
.feature-ico { font-size: 2.8rem; display: block; background: rgba(212,168,67,.1); border-radius: 16px; width: 68px; height: 68px; line-height: 68px; text-align: center; margin: 0 auto var(--s4); }
.feature-card h3 { font-size: 1.1rem; color: var(--ink); margin-bottom: var(--s2); }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s5); margin-top: var(--s5); }
.team-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--s6) var(--s4);
  text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  border-top: 3px solid transparent;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-top-color: var(--gold); }
.team-avatar { font-size: 3rem; display: block; margin-bottom: var(--s3); }
.team-name { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: var(--s1); }
.team-role { font-size: .85rem; color: var(--gold); font-weight: 600; }
.team-card .team-role.muted { color: #475569; font-weight: 600; }
.team-social { display: flex; gap: var(--s2); justify-content: center; margin-top: var(--s3); }
.team-social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface-light, #f8f7f4); border: 1px solid var(--line);
  color: var(--body); font-size: .8rem; font-weight: 700;
  transition: all .2s; text-decoration: none;
}
.team-social-link:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
@media (max-width: 840px) { .about-intro-grid { grid-template-columns: 1fr; } .features-grid { grid-template-columns: 1fr 1fr; } .team-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .features-grid { grid-template-columns: 1fr; } .team-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   CONTACT PAGE — premium layout
   ============================================================ */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: var(--s7); align-items: start;
}
.contact-info-col h2 { font-size: 1.6rem; margin-bottom: var(--s3); }
.contact-info-col h2::after { display: none; }
.contact-info-cards { display: flex; flex-direction: column; gap: var(--s3); margin: var(--s4) 0 var(--s5); }
.contact-info-card {
  display: flex; align-items: flex-start; gap: var(--s3);
  padding: var(--s4); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: box-shadow .2s;
}
.contact-info-card:hover { box-shadow: var(--shadow-sm); }
.contact-info-ico { font-size: 1.6rem; width: 48px; height: 48px; border-radius: 12px; background: var(--gold-pale,rgba(212,168,67,.1)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-card strong { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 2px; }
.contact-info-card .muted { font-size: .88rem; margin: 0; }
.contact-social-btn {
  display: inline-flex; align-items: center; padding: var(--s2) var(--s4);
  border: 1.5px solid var(--line); border-radius: var(--radius-pill);
  font-size: .88rem; font-weight: 600; color: var(--body);
  text-decoration: none; transition: all .2s;
}
.contact-social-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.contact-form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--s6); box-shadow: var(--shadow);
}
.contact-form-card h2 { font-size: 1.4rem; margin-bottom: var(--s2); }
.contact-form-card h2::after { display: none; }
.contact-form { display: flex; flex-direction: column; gap: var(--s4); margin-top: var(--s4); }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.contact-form-label { display: flex; flex-direction: column; gap: var(--s1); font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.contact-form-input {
  padding: var(--s3); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); font-size: 1rem; font-family: inherit;
  color: var(--ink); background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form-input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10,22,40,.08); background: #fff; }
.contact-form-textarea { resize: vertical; min-height: 120px; }
.contact-submit-btn { background: linear-gradient(135deg,var(--navy),#1e3a5f); color: #fff; border: none; border-radius: var(--radius-sm); padding: var(--s4); font-weight: 800; font-size: 1rem; cursor: pointer; width: 100%; transition: transform .15s,box-shadow .2s; letter-spacing: .02em; }
.contact-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10,22,40,.25); }
@media (max-width: 840px) { .contact-layout { grid-template-columns: 1fr; } .contact-form-row { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ PAGE — premium accordion
   ============================================================ */
.faq-page { max-width: 800px; margin: 0 auto; }
.faq-intro { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--s4) var(--s5); margin-bottom: var(--s6); display: flex; justify-content: space-between; align-items: center; }
.faq-intro .muted a { color: var(--navy); font-weight: 700; }
.faq-category-block { margin-bottom: var(--s7); }
.faq-category-title {
  font-size: 1.25rem; font-weight: 800; color: var(--navy);
  margin-bottom: var(--s4); padding-bottom: var(--s3);
  border-bottom: 2px solid var(--line); display: flex; align-items: center; gap: var(--s3);
}
.faq-cat-ico { font-size: 1.4rem; }
.faq-category-title::after { display: none; }
.faq-list { display: flex; flex-direction: column; gap: var(--s2); }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; transition: box-shadow .2s, border-color .2s;
}
.faq-item[open] { border-color: rgba(10,22,40,.2); box-shadow: var(--shadow-sm); }
.faq-q {
  list-style: none; padding: var(--s4) var(--s5);
  font-weight: 700; color: var(--ink); cursor: pointer;
  font-family: var(--font-poppins,'Poppins'),sans-serif;
  font-size: 1rem; transition: color .15s;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; color: var(--gold); font-weight: 400; font-size: 1.3rem; flex-shrink: 0; margin-left: var(--s3); }
.faq-item[open] .faq-q::after { content: '−'; }
.faq-q:hover { color: var(--navy); }
.faq-a { padding: 0 var(--s5) var(--s4); line-height: 1.7; color: var(--body); }
.faq-cta-block {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid, #122040));
  border-radius: var(--radius-lg); padding: var(--s6);
  text-align: center; margin-top: var(--s7); color: #fff;
}
.faq-cta-block h3 { font-size: 1.3rem; color: #fff; margin-bottom: var(--s2); }
.faq-cta-block .muted { color: rgba(255,255,255,.75); margin-bottom: var(--s5); display: block; }

/* ============================================================
   PLAN (Trip Wizard) — premium steps
   ============================================================ */
/* Progress bar — gold gradient */
.progress-fill { background: linear-gradient(90deg, var(--navy), var(--gold)) !important; }
.progress-step.active .step-dot { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.progress-step.active { color: var(--navy); }
.progress-step.done .step-dot { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Step cards — premium white */
.planner-step { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: var(--s6); box-shadow: var(--shadow-sm); }
.step-header h2 { color: var(--navy); }
.field-label { color: var(--navy); font-family: var(--font-poppins, 'Poppins'), sans-serif; }

/* Budget tier cards */
.budget-card { border: 2px solid var(--line); border-radius: 16px; padding: var(--s4); cursor: pointer; transition: all .2s; }
.budget-card:hover { border-color: var(--gold); box-shadow: 0 4px 16px rgba(201,151,58,.2); }
.budget-card.selected { border-color: var(--navy); background: rgba(10,22,40,.03); }

/* Misc overrides */
.planner-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,151,58,.15); }
.month-btn.selected { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip:hover, .chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ============================================================
   PARTNERS PAGE — premium
   ============================================================ */
/* CTA buttons — gold gradient */
.partner-hero-btn { background: linear-gradient(135deg, var(--gold), var(--gold-light, #e8b96a)); color: var(--navy); }
.partner-hero-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,151,58,.4); }

/* What can you list — cards with colored top border */
.partner-type-card { border-top: 4px solid var(--navy); transition: border-top-color .2s, box-shadow .2s, transform .2s; }
.partner-type-card:hover { border-top-color: var(--gold); }

/* How it works — numbered circles */
.how-step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-poppins, 'Poppins'), sans-serif;
  flex-shrink: 0; margin-bottom: var(--s3);
}

/* ============================================================
   CARS PAGE — premium grid
   ============================================================ */
.cars-main { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s5) var(--s8); }
.cars-search-wrap { margin: 0 0 var(--s7); }
.cars-search-card {
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: var(--s6); border: 1px solid var(--line);
}
.cars-search-form { display: grid; grid-template-columns: 2fr 1fr 1fr auto auto; gap: var(--s3); align-items: end; }
.cars-field { display: flex; flex-direction: column; gap: var(--s1); }
.cars-field-label { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.cars-input {
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: var(--s3) var(--s4); font-size: 1rem; color: var(--ink);
  background: #fff; font-family: inherit; width: 100%;
  transition: border-color .2s;
}
.cars-input:focus { outline: none; border-color: var(--navy); }
.cars-search-btn {
  background: var(--navy); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: var(--s3) var(--s5);
  font-weight: 700; font-size: 1rem; cursor: pointer; white-space: nowrap;
  transition: background .2s, transform .15s;
}
.cars-search-btn:hover { background: var(--gold); color: var(--navy); transform: translateY(-1px); }
.cars-hint { margin-top: var(--s4); font-size: .9rem; display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; color: var(--muted); }
.cars-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s5); margin-top: var(--s5); }
.car-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.car-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.car-card-img { height: 180px; background-size: cover; background-position: center; position: relative; }
.car-card-badge { position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--navy); font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: var(--radius-pill); }
.car-card-body { padding: var(--s4); }
.car-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s3); margin-bottom: var(--s3); }
.car-card-name { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.car-specs { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s3); }
.car-spec { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 3px 10px; font-size: .78rem; color: var(--body); }
.car-card-footer { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); }
.car-price { display: flex; align-items: baseline; gap: 2px; }
@media (max-width: 840px) { .cars-search-form { grid-template-columns: 1fr 1fr; } .cars-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .cars-search-form { grid-template-columns: 1fr; } .cars-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FLIGHTS — trust bar, best deal badge, popular routes eyebrow
   ============================================================ */
.flights-trust-bar { display:flex; justify-content:center; gap:var(--s5); flex-wrap:wrap; padding:var(--s4) var(--s5); font-size:.85rem; font-weight:600; color:var(--muted); background:var(--surface); border-bottom:1px solid var(--line); margin-bottom:var(--s6); max-width:1100px; margin-left:auto; margin-right:auto; }
.flights-trust-bar span { display:flex; align-items:center; justify-content:center; gap:.4rem; }
.deal-card-best { border:2px solid var(--gold) !important; box-shadow:0 4px 24px rgba(212,146,42,.18); }
.deal-card-best-badge { position:absolute; top:var(--s2); left:var(--s2); background:var(--gold); color:var(--navy); font-size:.72rem; font-weight:800; padding:3px 10px; border-radius:var(--radius-pill); letter-spacing:.03em; }
.section-eyebrow { font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--ocean-deep); margin:0 0 var(--s1); }

/* ============================================================
   CARS — rb-card style, specs row, bigger feature icons
   ============================================================ */
.car-rb-card { border-radius:var(--radius-lg); overflow:hidden; }
.car-rb-card .rb-card-img-wrap { position:relative; }
.car-rb-card .rb-card-img { border-radius:0; }
.car-rb-card .rb-card-body { padding:var(--s4); display:flex; flex-direction:column; gap:var(--s2); }
.car-rb-card .rb-card-top { display:flex; justify-content:space-between; align-items:flex-start; gap:var(--s3); }
.car-rb-card .rb-card-info { flex:1; min-width:0; }
.car-rb-card .rb-card-name { font-size:1rem; font-weight:700; color:var(--ink); margin:0 0 2px; }
.car-rb-card .rb-card-loc { font-size:.85rem; color:var(--muted); margin:0; }
.car-rb-card .rb-card-rating { display:flex; flex-direction:column; align-items:flex-end; gap:2px; flex-shrink:0; }
.car-rb-card .rb-rating-score { font-size:1.1rem; font-weight:800; color:var(--ocean-deep); line-height:1; }
.car-rb-card .rb-rating-label { font-size:.75rem; color:var(--muted); }
.car-rb-card .rb-card-footer { display:flex; justify-content:space-between; align-items:center; gap:var(--s3); padding-top:var(--s3); border-top:1px solid var(--line); margin-top:auto; }
.car-rb-card .rb-card-price { display:flex; align-items:baseline; gap:2px; }
.car-rb-card .rb-price { font-size:1.5rem; font-weight:800; color:var(--ocean-deep); font-family:var(--font-poppins,"Poppins"),sans-serif; line-height:1; }
.car-rb-card .rb-price-unit { font-size:.82rem; color:var(--muted); }
.car-rb-card .rb-card-btn { background:var(--navy); color:#fff; border:none; border-radius:var(--radius-sm); padding:var(--s2) var(--s4); font-size:.88rem; font-weight:700; text-decoration:none; white-space:nowrap; cursor:pointer; transition:background .2s,transform .15s; display:inline-block; }
.car-rb-card .rb-card-btn:hover { background:var(--gold); color:var(--navy); transform:translateY(-1px); }
.car-specs-row { display:flex; gap:var(--s3); flex-wrap:wrap; margin:var(--s2) 0 var(--s3); font-size:.82rem; color:var(--muted); font-weight:600; }
.feature-card .feature-ico { font-size:2.5rem; background:rgba(10,22,40,.06); border-radius:14px; width:60px; height:60px; display:flex; align-items:center; justify-content:center; margin:0 auto var(--s4); }

/* ============================================================
   PARTNER + HOST PAGES — premium forms
   ============================================================ */
.partner-hero-actions { display: flex; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s5); }
.partner-hero-actions .book-btn { width: auto; padding: var(--s3) var(--s6); font-size: 1rem; }

/* ============================================================
   SECTION HEADINGS — global premium
   ============================================================ */
section > h2 { position: relative; display: block; }
section > h2::after { display: none; }
.section-head h2::after { display: none; }
.home-section > h2::after,
.section-center-title::after { display: none; }

/* Gold underline accent on standalone h2s */
.home-section .section-head h2,
.home-section > h2 {
  position: relative; display: inline-block;
  /* Editorial Tropical: display serif section headlines */
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -.015em;
}
.home-section .section-head h2::after,
.home-section > h2:not(.section-center-title)::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 40px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light, #e8b96a));
  border-radius: 2px;
}

/* ============================================================
   PROMO CTA BANNER — premium
   ============================================================ */
.promo-cta-banner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s5); flex-wrap: wrap;
  padding: var(--s7) var(--s6);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #7c4a0a, var(--gold), #d4922a);
  color: #fff; position: relative; overflow: hidden;
}
.promo-cta-banner::after { content: ''; position: absolute; inset: 0; background: url('/img/cta-texture-philippines-beach.webp') center/cover; opacity: .05; pointer-events: none; }
.promo-cta-text { position: relative; z-index: 1; flex: 1; min-width: 260px; }
.promo-cta-text h2 { color: #fff; font-size: clamp(1.4rem,3vw,2rem); margin: var(--s2) 0 var(--s3); }
.promo-cta-text h2::after { display: none; }
.promo-cta-text p { color: rgba(255,255,255,.92); max-width: 480px; line-height: 1.6; }
.promo-badge { display: inline-block; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.4); border-radius: var(--radius-pill); padding: 4px 14px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.promo-cta-action { position: relative; z-index: 1; }
.promo-cta-btn { background: #fff !important; color: #7c4a0a !important; font-size: 1rem; width: auto; padding: var(--s3) var(--s6); margin-top: 0; }
.promo-cta-btn:hover { background: rgba(255,255,255,.92) !important; transform: translateY(-2px); filter: none !important; }

/* ============================================================
   MOBILE APP BANNER — premium dark
   ============================================================ */
.mobile-app-banner {
  display: grid; grid-template-columns: 1fr auto;
  gap: var(--s6); align-items: center;
  background: linear-gradient(165deg, var(--navy), var(--navy-mid, #122040));
  border-radius: var(--radius-lg); padding: var(--s7) var(--s6);
  color: #fff; overflow: hidden; position: relative;
  border: 1px solid rgba(255,255,255,.06);
}
.mobile-app-banner::before { content: ''; position: absolute; top: -30%; right: 15%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(0,180,216,.12) 0%, transparent 65%); border-radius: 50%; pointer-events: none; }
.mobile-app-text { position: relative; z-index: 1; }
.mobile-app-text h2 { color: #fff; font-size: clamp(1.4rem,3vw,2rem); margin: var(--s2) 0 var(--s3); }
.mobile-app-text h2::after { display: none; }
.mobile-app-text > p { color: rgba(255,255,255,.85); max-width: 520px; line-height: 1.65; }
.mobile-app-features { list-style: none; display: flex; flex-direction: column; gap: var(--s2); margin: var(--s4) 0 var(--s5); }
.mobile-app-features li { color: rgba(255,255,255,.85); font-size: .95rem; }
.mobile-app-btns { display: flex; gap: var(--s3); flex-wrap: wrap; }
.app-store-btn {
  display: inline-flex; align-items: center; gap: var(--s3);
  background: rgba(255,255,255,.10); border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius-sm); padding: var(--s2) var(--s4);
  color: #fff; text-decoration: none;
  transition: background .2s, border-color .2s; min-width: 140px;
}
.app-store-btn:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); }
.app-store-btn span:last-child { display: flex; flex-direction: column; gap: 1px; }
.app-store-btn small { font-size: .72rem; opacity: .8; }
.app-store-btn strong { font-size: .95rem; font-family: var(--font-poppins,'Poppins'),sans-serif; }
.app-store-icon { font-size: 1.4rem; }
.mobile-app-visual { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }
.mobile-app-phone { width: 140px; height: 220px; border: 3px solid rgba(255,255,255,.25); border-radius: 28px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.mobile-app-emoji { font-size: 4rem; }
@media (max-width: 640px) { .mobile-app-banner { grid-template-columns: 1fr; } .mobile-app-visual { display: none; } }

/* ============================================================
   NUMBERS BAND
   ============================================================ */
.numbers-band { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s6) var(--s5); box-shadow: var(--shadow-sm); }
.numbers-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s4); text-align: center; }
.number-item { display: flex; flex-direction: column; align-items: center; gap: var(--s2); }
.number-ico { font-size: 2rem; }
.number-n { font-size: 2.2rem; font-weight: 800; color: var(--navy); font-family: var(--font-poppins,'Poppins'),sans-serif; line-height: 1; }
.number-label { color: #475569; font-size: .88rem; }
@media (max-width: 640px) { .numbers-inner { grid-template-columns: repeat(2,1fr); } }

/* ============================================================
   SIDEBAR MOBILE — slide-in drawer
   ============================================================ */
.listing-sidebar-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--s4);
}
.listing-sidebar-close {
  display: none; background: none; border: none;
  font-size: 1.2rem; cursor: pointer; color: var(--muted);
  padding: 4px; line-height: 1;
}
.mobile-filter-toggle {
  display: none;
  background: var(--navy); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: var(--s3) var(--s5);
  font-weight: 700; font-size: .9rem; cursor: pointer;
  margin-bottom: var(--s4); width: 100%;
  transition: background .15s;
}
.mobile-filter-toggle:hover { background: var(--gold); color: var(--navy); }

@media (max-width: 900px) {
  .listing-layout { grid-template-columns: 1fr; }

  /* Sidebar hidden by default on mobile, slides in as overlay */
  .listing-sidebar {
    position: fixed !important;
    top: 0; left: -100%; bottom: 0;
    width: min(320px, 90vw);
    z-index: 250;
    overflow-y: auto;
    background: var(--surface);
    box-shadow: var(--shadow-xl);
    transition: left .3s var(--ease);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: var(--s6) var(--s5);
  }
  .listing-sidebar.open { left: 0; }
  .listing-sidebar-close { display: flex; }
  .mobile-filter-toggle { display: block; }

  /* Backdrop when sidebar open */
  .listing-sidebar-backdrop {
    display: none;
    position: fixed; inset: 0; background: rgba(0,0,0,.45);
    z-index: 249; backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
  .listing-sidebar-backdrop.open { display: block; }
}
@media (min-width: 901px) {
  .listing-sidebar-close { display: none; }
  .mobile-filter-toggle { display: none; }
}

/* ============================================================
   RESPONSIVE FINAL PASS
   ============================================================ */
@media (max-width: 840px) {
  .blog-card { grid-template-columns: 1fr; }
  .dest-grid-v2 { grid-template-columns: repeat(2,1fr); }
  .testimonial-grid { grid-template-columns: repeat(2,1fr); }
  .footer-cols { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .dest-grid-v2 { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .cta-double-inner { grid-template-columns: 1fr; }
  .footer-newsletter-form { flex-direction: column; }
  nav { padding: 0 var(--s4); }
  .hero-search-center { padding: calc(var(--nav-height) + 16px) var(--s4) var(--s6); }
  section { margin-top: var(--s6); }
}
@media (prefers-reduced-motion: reduce) {
  .rb-card { transition: none; }
  .rb-card-img { transition: none; }
  .hero-scroll-indicator { animation: none; }
  .hero::before { animation: none; }
}

/* ============================================================
   ROBOOKING-STYLE CARDS (rb-card system) — UI/UX REDESIGN BATCH 1
   Elevated: premium lift, gold accents, 16/9 modern ratio, stronger
   visual hierarchy for rating/price, touch 44px+, tropical premium feel.
   Preserves all existing functionality (wishlist, qv, compare, affiliate).
   ============================================================ */

.rb-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
  margin-top: var(--s5);
}

.rb-card {
  background: var(--surface);
  /* Editorial Tropical: signature cut corner (matches hero figure + deal cards) */
  border-radius: 4px 4px 18px 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(10,22,40,.06), 0 8px 24px rgba(10,22,40,.05);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.rb-card:hover {
  transform: translateY(-8px) scale(1.005);
  box-shadow: 0 20px 50px rgba(10,22,40,.16), 0 12px 32px rgba(201,151,58,.08);
  border-color: rgba(201,151,58,.45);
}

/* Image area */
.rb-card-img-wrap {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.rb-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto !important;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease);
}
.rb-card:hover .rb-card-img { transform: scale(1.06); }

/* Badge top-left — gold for recommended (tropical premium) */
.rb-card-badge {
  position: absolute;
  top: var(--s3);
  left: var(--s3);
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: .03em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.rb-badge-recommended {
  background: rgba(201,151,58,.95);
  color: var(--navy);
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
.rb-badge-tour {
  background: rgba(10,22,40,.85);
  color: #fff;
}
.rb-badge-verified {
  background: rgba(15,123,63,.95);
  color: #fff;
}

/* Heart wishlist top-right — larger for touch (44px area) */
.rb-card-heart {
  position: absolute;
  top: var(--s2);
  right: var(--s2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(10,22,40,.1);
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color .15s, background .15s, transform .15s, box-shadow .15s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.rb-card-heart:hover { color: #e63946; transform: scale(1.12); background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.rb-card-heart.saved, .rb-card-heart.is-saved { color: #e63946; }
/* legacy .card variant needs absolute positioning context */
.card-img-wrap, .stay-card .card-img-wrap { position: relative; }

/* Body */
.rb-card-body {
  padding: var(--s4);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--s3);
}

.rb-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s3);
}

.rb-card-info { flex: 1; min-width: 0; }
.rb-card-name {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rb-card-loc {
  font-size: .82rem;
  color: var(--muted);
  margin: 0;
}

/* Rating badge — elevated: gold ring on navy for premium pop */
.rb-card-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.rb-rating-score {
  background: var(--navy, #0a1628);
  color: #fff;
  font-weight: 800;
  font-size: .92rem;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-poppins, 'Poppins'), sans-serif;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(201,151,58,.25);
}
.rb-rating-label {
  font-size: .68rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

/* Footer row: price left, button right */
.rb-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s3);
  margin-top: auto;
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
}
.rb-card-price { display: flex; align-items: baseline; gap: 4px; }
.rb-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ocean-deep);
  font-family: var(--font-poppins, 'Poppins'), sans-serif;
}
.rb-price-unit { font-size: .78rem; color: var(--muted); }

.rb-card-btn {
  background: var(--navy, #0a1628);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: .42rem .95rem;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s;
  white-space: nowrap;
  text-decoration: none;
  min-height: 36px;
}
.rb-card-btn:hover { background: var(--gold); color: var(--navy); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(201,151,58,.35); }
.rb-card-btn-link {
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy, #0a1628);
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 900px) { .rb-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rb-cards-grid { grid-template-columns: 1fr; } }

/* Card image overlays — badge, compare, wishlist, quick-view (no overlap) */
.rb-card-img-wrap .rb-card-badge {
  max-width: calc(100% - 6.5rem);
  line-height: 1.25;
  z-index: 2;
  pointer-events: none;
}
.rb-card-img-wrap .cmp-btn {
  top: var(--s2);
  right: calc(var(--s2) + 2.75rem);
  left: auto;
  width: 2.25rem;
  height: 2.25rem;
  min-width: 36px;
  min-height: 36px;
  z-index: 4;
}
.rb-card-img-wrap .wishlist-btn,
.rb-card-img-wrap .rb-card-heart {
  top: var(--s2);
  right: var(--s2);
  z-index: 4;
}
.rb-card-img-wrap .qv-btn {
  bottom: var(--s2);
  right: var(--s2);
  left: auto;
  z-index: 3;
  max-width: calc(100% - 1rem);
}
.wishlist-btn {
  position: absolute;
  width: 2.25rem;
  height: 2.25rem;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(10,22,40,.1);
  background: rgba(255,255,255,.92);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
  line-height: 1;
  padding: 0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.wishlist-btn:hover { color: #e63946; transform: scale(1.08); }
.rb-card-img-wrap .eco-chip {
  position: absolute;
  bottom: var(--s2);
  left: var(--s2);
  z-index: 3;
  max-width: calc(100% - 5rem);
  border-radius: 8px;
  padding: .2rem .5rem;
  font-size: .72rem;
  line-height: 1.2;
}

.favorite-main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--s6) var(--s5) var(--s8);
}

/* Listing pages — consistent section rhythm inside sidebar layout */
.listing-main .home-section.rec-section {
  margin-top: 0;
  margin-bottom: var(--s6);
}
.listing-main .section-head {
  align-items: flex-start;
}

@media (max-width: 640px) {
  .hotels-main,
  .activities-main,
  .stays-main,
  .cars-main {
    padding-left: var(--s4);
    padding-right: var(--s4);
  }
  .listing-layout {
    gap: var(--s4);
    margin-top: var(--s4);
  }
  .rb-cards-grid {
    gap: var(--s4);
  }
  .rb-card-body {
    padding: var(--s3);
  }
  .rb-card-footer {
    flex-wrap: wrap;
    gap: var(--s2);
  }
  .rb-card-btn {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    justify-content: center;
  }
  .rb-card-img-wrap .qv-btn {
    font-size: 0;
    width: 2.25rem;
    height: 2.25rem;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
  }
  .rb-card-img-wrap .qv-btn::after {
    content: '\1F441';
    font-size: .9rem;
    line-height: 1;
  }
  .rec-badge-pill {
    display: inline-block;
    margin-top: .35rem;
  }
}

@media (max-width: 400px) {
  .rb-card-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .rb-card-btn {
    width: 100%;
  }
  .rb-card-img-wrap .cmp-btn {
    right: calc(var(--s2) + 2.5rem);
  }
}

/* ============================================================
   LISTING PAGES — force sidebar visible + nav height clearance
   ============================================================ */

/* Inner page main needs top padding for fixed nav */
.hotels-main,
.activities-main,
.stays-main,
.cars-main,
.flights-main {
  padding-top: calc(var(--nav-height, 64px) + var(--s4));
}

/* Ensure listing-layout is always grid 280px+1fr on desktop */
@media (min-width: 901px) {
  .listing-layout {
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
  }
  .listing-sidebar { display: block !important; }
}

/* Nav links: reduce gap on smaller desktop so all fit */
@media (max-width: 1100px) and (min-width: 821px) {
  .nav-links { gap: var(--s3); }
  .nav-links a { font-size: .85rem; }
}

/* ============================================================
   INNER HERO — compensate fixed nav
   ============================================================ */
.inner-hero-wrap nav,
.hero-sm nav {
  /* nav already inside header, no top padding needed */
}
.hero-sm + main { padding-top: var(--s6); }

/* ============================================================
   HERO CTA BUTTONS
   ============================================================ */
.hero-cta-row { display:flex; gap:var(--s3); justify-content:center; margin:var(--s4) 0 var(--s5); flex-wrap:wrap; }
.hero-btn-primary { background:var(--gold); color:var(--navy); font-weight:800; padding:.75rem 2rem; border-radius:var(--radius-pill); font-size:1rem; text-decoration:none; transition:transform .2s,box-shadow .2s; box-shadow:0 8px 24px rgba(212,168,67,.4); }
.hero-btn-primary:hover { transform:translateY(-3px); box-shadow:0 12px 32px rgba(212,168,67,.5); }
.hero-btn-secondary { background:rgba(255,255,255,.15); color:#fff; font-weight:700; padding:.75rem 2rem; border-radius:var(--radius-pill); font-size:1rem; text-decoration:none; border:2px solid rgba(255,255,255,.4); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); transition:background .2s,border-color .2s; }
.hero-btn-secondary:hover { background:rgba(255,255,255,.25); border-color:rgba(255,255,255,.7); }

/* ============================================================
   DESTINATION CARDS — full overlay image style
   ============================================================ */
.dest-card-overlay { position:relative; border-radius:var(--radius-lg); overflow:hidden; aspect-ratio:4/3; display:block; text-decoration:none; }
.dest-card-overlay-img { position:absolute; inset:0; background-size:cover; background-position:center; transition:transform .5s ease; }
.dest-card-overlay:hover .dest-card-overlay-img { transform:scale(1.08); }
.dest-card-overlay::after { content:''; position:absolute; inset:0; background:linear-gradient(0deg,rgba(10,22,40,.9) 0%,rgba(10,22,40,.3) 50%,transparent 100%); }
.dest-card-overlay-body { position:absolute; bottom:0; left:0; right:0; z-index:1; padding:var(--s5); }
.dest-card-overlay-body h3 { color:#fff; font-size:1.2rem; font-weight:800; margin-bottom:2px; }
.dest-card-overlay-body p { color:rgba(255,255,255,.75); font-size:.82rem; margin:0 0 4px; }
.dest-card-overlay-body span { color:var(--gold); font-size:.88rem; font-weight:700; }
@media(max-width:840px) { .dest-grid-v2 { grid-template-columns:repeat(2,1fr); } }
@media(max-width:480px) { .dest-grid-v2 { grid-template-columns:1fr 1fr; } }

/* ── Sort bar select styled ── */
.sort-bar-select {
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: var(--s2) var(--s3); font-size: .88rem; color: var(--body);
  background: var(--surface); cursor: pointer;
  transition: border-color .2s;
}
.sort-bar-select:focus { outline: none; border-color: var(--navy); }

/* ── Stays trust bar ── */
.stays-trust-bar { display:flex; gap:var(--s5); flex-wrap:wrap; padding:var(--s3) 0 var(--s4); font-size:.85rem; font-weight:600; color:var(--muted); border-bottom:1px solid var(--line); margin-bottom:var(--s5); }
.stays-trust-bar span::before { content:'\2713'; color:var(--gold); font-weight:800; margin-right:.3rem; }

/* ============================================================
   PARTNER DASHBOARD — premium stat cards + gold tab nav
   ============================================================ */
.dashboard-stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, var(--radius));
  padding: var(--s5);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--navy);
  transition: box-shadow .2s;
}
.dashboard-stat-card:hover { box-shadow: var(--shadow-md); }
.dashboard-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font-poppins, "Poppins"), sans-serif;
}
.partner-tab {
  border-bottom: 3px solid transparent;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  padding: var(--s3) var(--s4);
  transition: color .15s, border-color .15s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.partner-tab.active { color: var(--navy); border-bottom-color: var(--gold); }
.partner-tab:hover { color: var(--navy); }

/* ============================================================
   PARTNER REGISTER / LOGIN — auth card
   ============================================================ */
.auth-card {
  max-width: 480px;
  margin: var(--s8) auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, var(--radius));
  padding: var(--s7) var(--s6);
  box-shadow: var(--shadow-lg);
}
.auth-card h1 { font-size: 1.8rem; color: var(--navy); margin-bottom: var(--s2); }
.auth-submit {
  background: var(--navy);
  color: #fff;
  width: 100%;
  padding: var(--s4);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.auth-submit:hover { background: var(--gold); color: var(--navy); transform: translateY(-1px); }
.auth-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ============================================================
   HOST PAGE — CTA buttons gold
   ============================================================ */
.host-cta-btn {
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  padding: var(--s4) var(--s6);
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-block;
  transition: transform .15s, box-shadow .15s;
}
.host-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,151,58,.4); }

/* ============================================================
   PREMIUM TYPOGRAPHY & UX ENHANCEMENTS 2026
   ============================================================ */

/* Stat number hover scale (CSS-only, no JS) */
.stat-n {
  display: inline-block;
  transition: transform .2s ease;
}
.stat-item:hover .stat-n { transform: scale(1.08); }

/* Mobile PWA: hero search center safe-area */
.hero-search-center {
  padding-bottom: calc(var(--s8) + env(safe-area-inset-bottom, 0px));
}

/* Touch action optimization for interactive elements */
.rb-card, .listing-filter-chip, .stab, .mbn-item {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Print styles additions */
@media print {
  .mobile-bottom-nav,
  .nav-sticky-wrap,
  .hero-scroll-indicator { display: none !important; }
  .rb-card { break-inside: avoid; }
}

/* Reduced motion: disable pageSlideIn on main */
@media (prefers-reduced-motion: reduce) {
  .page-main, main { animation: none; }
}

/* ============================================================
   ACCOUNT PANEL
   ============================================================ */
.account-layout-wrap { padding-top: calc(var(--nav-height,68px) + var(--s4)); min-height:100svh; background:var(--bg); }
.account-layout { display:grid; grid-template-columns:260px 1fr; gap:var(--s6); max-width:var(--maxw); margin:0 auto; padding:var(--s6) var(--s5) var(--s8); align-items:start; }
.account-main { min-width:0; }
.account-sidebar {
  position: sticky;
  top: calc(var(--nav-height,68px) + 16px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.account-avatar-wrap {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.account-avatar-wrap { padding:var(--s5); background:linear-gradient(135deg,var(--navy),#1e3a5f); display:flex; align-items:center; gap:var(--s3); }
.account-avatar { width:52px; height:52px; border-radius:50%; background:var(--gold); display:flex; align-items:center; justify-content:center; font-size:1.2rem; font-weight:800; color:var(--navy); font-family:var(--font-poppins,'Poppins'),sans-serif; flex-shrink:0; overflow:hidden; }
.account-avatar-lg { width:88px; height:88px; font-size:2rem; }
.account-avatar-info { flex:1; min-width:0; }
.account-name { font-weight:700; color:#fff; font-size:.95rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; margin-bottom:2px; }
.account-email { font-size:.78rem; color:rgba(255,255,255,.65); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.account-badges { display:flex; gap:var(--s2); margin-top:6px; flex-wrap:wrap; }
.account-badge { font-size:.65rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase; padding:3px 8px; border-radius:var(--radius-pill); }
.account-badge-loyal { background:rgba(212,168,67,.2); color:var(--gold); border:1px solid rgba(212,168,67,.3); }
.account-badge-green { background:rgba(6,214,160,.15); color:#059669; border:1px solid rgba(6,214,160,.3); }
.account-badge-muted { background:var(--surface-light); color:var(--muted); border:1px solid var(--line); }
.account-nav { padding:var(--s3) 0; display:block; }
.account-nav-divider { height:1px; background:var(--line); margin:var(--s2) var(--s4); }
.account-nav-link { display:flex; align-items:center; gap:var(--s3); padding:.65rem var(--s4); font-size:.9rem; font-weight:600; color:var(--body); text-decoration:none; transition:background .15s,color .15s; position:relative; white-space:nowrap; }
.account-nav-link:hover { background:var(--bg); color:var(--navy); }
.account-nav-link.active { background:rgba(10,22,40,.05); color:var(--navy); border-left:3px solid var(--gold); }
.account-nav-ico { font-size:1rem; width:20px; text-align:center; }
.account-nav-badge { margin-left:auto; background:var(--gold); color:var(--navy); font-size:.65rem; font-weight:800; padding:2px 7px; border-radius:var(--radius-pill); min-width:18px; text-align:center; }
.account-page-header { margin-bottom:var(--s6); padding-bottom:var(--s4); border-bottom:2px solid var(--line); }
.account-page-header h1 { font-size:clamp(1.5rem,3vw,2rem); color:var(--navy); margin-bottom:4px; }
.account-stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:var(--s4); margin-bottom:var(--s6); }
.account-stat-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:var(--s5) var(--s4); text-align:center; box-shadow:var(--shadow-sm); transition:transform .2s,box-shadow .2s; border-top:3px solid var(--navy); }
.account-stat-card:hover { transform:translateY(-3px); box-shadow:var(--shadow); }
.account-stat-ico { font-size:1.6rem; display:block; margin-bottom:var(--s2); }
.account-stat-n { display:block; font-size:1.8rem; font-weight:800; color:var(--navy); font-family:var(--font-poppins,'Poppins'),sans-serif; line-height:1; margin-bottom:4px; }
.account-stat-label { font-size:.78rem; color:var(--muted); font-weight:600; }
.account-section { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:var(--s5); margin-bottom:var(--s5); box-shadow:var(--shadow-sm); }
.account-section-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:var(--s4); padding-bottom:var(--s3); border-bottom:1px solid var(--line); }
.account-section-head h2 { font-size:1.1rem; font-weight:700; color:var(--navy); margin:0; }
.account-section-head h2::after { display:none; }
.account-empty-state { text-align:center; padding:var(--s7) var(--s5); }
.account-empty-ico { font-size:3rem; display:block; margin-bottom:var(--s3); opacity:.5; }
.account-empty-state > p { font-size:1rem; font-weight:700; color:var(--ink); margin-bottom:var(--s2); }
.account-empty-features { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--s4); margin:var(--s5) auto; max-width:400px; text-align:center; }
.account-empty-features div span { font-size:1.8rem; display:block; margin-bottom:var(--s2); }
.account-progress-bar { height:8px; background:var(--line); border-radius:4px; overflow:hidden; margin-bottom:var(--s3); }
.account-progress-fill { height:100%; background:linear-gradient(90deg,var(--navy),var(--gold)); border-radius:4px; transition:width .8s ease; }
.account-profile-checklist { display:flex; flex-direction:column; gap:var(--s2); margin-top:var(--s4); }
.account-check-item { display:flex; align-items:center; gap:var(--s3); font-size:.9rem; color:var(--body); padding:var(--s2) var(--s3); border-radius:var(--radius-sm); background:var(--bg); }
.account-check-item.account-check-done { color:#059669; }
.account-check-link { margin-left:auto; font-size:.82rem; font-weight:700; color:var(--navy); }
.account-photo-row { display:flex; align-items:center; gap:var(--s5); }
.account-verify-row { display:flex; flex-direction:column; gap:var(--s3); }
.account-verify-item { display:flex; align-items:center; gap:var(--s3); padding:var(--s3) var(--s4); background:var(--bg); border-radius:var(--radius-sm); border:1px solid var(--line); font-size:.9rem; font-weight:600; color:var(--ink); }
.account-form { display:flex; flex-direction:column; gap:var(--s4); }
.account-form-row { display:grid; grid-template-columns:1fr 1fr; gap:var(--s3); }
.account-form-label { display:flex; flex-direction:column; gap:var(--s1); font-size:.78rem; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; }
.account-form-input { padding:var(--s3) var(--s4); border:2px solid var(--line); border-radius:var(--radius-sm); font-size:1rem; font-family:inherit; color:var(--ink); background:var(--bg); transition:border-color .2s,box-shadow .2s; }
.account-form-input:focus { outline:none; border-color:var(--navy); box-shadow:0 0 0 3px rgba(10,22,40,.08); background:#fff; }
.account-form-textarea { resize:vertical; min-height:80px; }
.account-btn-primary { background:var(--navy); color:#fff; border:none; border-radius:var(--radius-sm); padding:var(--s3) var(--s5); font-weight:800; font-size:.95rem; cursor:pointer; transition:background .15s,transform .15s; align-self:flex-start; }
.account-btn-primary:hover { background:var(--gold); color:var(--navy); transform:translateY(-1px); }
.account-btn-outline { background:transparent; color:var(--navy); border:2px solid var(--navy); border-radius:var(--radius-sm); padding:var(--s3) var(--s5); font-weight:700; font-size:.9rem; cursor:pointer; transition:all .15s; }
.account-btn-outline:hover { background:var(--navy); color:#fff; }
.account-btn-sm { background:var(--surface-light); color:var(--navy); border:1.5px solid var(--line); border-radius:var(--radius-pill); padding:.25rem .75rem; font-size:.78rem; font-weight:700; cursor:pointer; transition:all .15s; }
.account-btn-sm:hover { background:var(--navy); color:#fff; border-color:var(--navy); }
.account-btn-danger { background:transparent; color:#dc2626; border:2px solid #dc2626; border-radius:var(--radius-sm); padding:var(--s3) var(--s5); font-weight:700; cursor:pointer; transition:all .15s; }
.account-btn-danger:hover { background:#dc2626; color:#fff; }
.account-wallet-balance { display:flex; justify-content:space-between; align-items:center; background:linear-gradient(135deg,var(--navy),#1e3a5f); border-radius:var(--radius-lg); padding:var(--s6); margin-bottom:var(--s5); color:#fff; flex-wrap:wrap; gap:var(--s4); }
.account-wallet-amount { font-size:2.5rem; font-weight:800; color:var(--gold); font-family:var(--font-poppins,'Poppins'),sans-serif; display:block; }
.account-notif-prefs { display:flex; flex-direction:column; }
.account-notif-pref-row { display:flex; justify-content:space-between; align-items:center; padding:var(--s4) 0; border-bottom:1px solid var(--line); gap:var(--s4); }
.account-notif-pref-row:last-child { border-bottom:none; }
.account-toggle { position:relative; display:inline-block; width:48px; height:26px; flex-shrink:0; }
.account-toggle input { opacity:0; width:0; height:0; }
.account-toggle-slider { position:absolute; inset:0; background:var(--line); border-radius:13px; cursor:pointer; transition:background .2s; }
.account-toggle-slider::before { content:''; position:absolute; width:20px; height:20px; border-radius:50%; background:#fff; left:3px; bottom:3px; transition:transform .2s; box-shadow:0 1px 3px rgba(0,0,0,.2); }
.account-toggle input:checked + .account-toggle-slider { background:var(--navy); }
.account-toggle input:checked + .account-toggle-slider::before { transform:translateX(22px); }
.account-session-row { display:flex; justify-content:space-between; align-items:center; padding:var(--s4); background:var(--bg); border-radius:var(--radius-sm); border:1px solid var(--line); }
.account-bookings-list { display:flex; flex-direction:column; gap:var(--s3); }
.account-booking-row { display:flex; align-items:center; gap:var(--s4); padding:var(--s4); background:var(--bg); border-radius:var(--radius); border:1px solid var(--line); }
.account-booking-img { width:72px; height:56px; object-fit:cover; border-radius:var(--radius-sm); flex-shrink:0; }
.account-booking-info { flex:1; min-width:0; }
.account-booking-name { font-weight:700; color:var(--navy); font-size:.95rem; text-decoration:none; }
.account-booking-name:hover { color:var(--gold); }
.account-booking-status { font-size:.72rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase; padding:4px 10px; border-radius:var(--radius-pill); white-space:nowrap; flex-shrink:0; }
.account-danger-zone { border-color:rgba(220,38,38,.2); }
.account-danger-zone .account-section-head h2 { color:#dc2626; }

/* ── Account alert banners ── */
.account-alert-banner { display:block; padding:var(--s3) var(--s4); background:rgba(10,22,40,.06); border:1px solid rgba(10,22,40,.15); border-radius:var(--radius-sm); color:var(--navy); font-weight:700; font-size:.9rem; text-decoration:none; margin-bottom:var(--s3); transition:background .15s; }
.account-alert-banner:hover { background:rgba(10,22,40,.1); }
.account-alert-gold { background:rgba(201,151,58,.1); border-color:rgba(201,151,58,.3); color:var(--gold); }

/* ── Account quick grid ── */
.account-quick-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--s3); }
.account-quick-card { display:flex; align-items:center; justify-content:center; gap:var(--s2); padding:var(--s4) var(--s3); background:var(--bg); border:1.5px solid var(--line); border-radius:var(--radius); font-weight:700; color:var(--navy); text-decoration:none; font-size:.9rem; transition:all .15s; text-align:center; }
.account-quick-card:hover { background:var(--navy); color:#fff; border-color:var(--navy); }
@media (max-width:640px) { .account-quick-grid { grid-template-columns:repeat(2,1fr); } }

/* ── Messages layout ── */
.messages-layout { display:grid; grid-template-columns:320px 1fr; gap:0; border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; min-height:500px; background:var(--surface); }
.messages-inbox { border-right:1px solid var(--line); overflow-y:auto; max-height:600px; }
.messages-item { display:flex; gap:var(--s3); padding:var(--s4); border-bottom:1px solid var(--line); cursor:pointer; transition:background .15s; align-items:flex-start; }
.messages-item:hover { background:var(--bg); }
.messages-item-active { background:rgba(10,22,40,.06); }
.messages-item-unread { border-left:3px solid var(--gold); }
.messages-item-avatar { width:38px; height:38px; border-radius:50%; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:.95rem; flex-shrink:0; }
.messages-item-body { flex:1; min-width:0; }
.messages-item-from { font-size:.78rem; font-weight:700; color:var(--muted); text-overflow:ellipsis; overflow:hidden; white-space:nowrap; }
.messages-item-subject { font-size:.88rem; font-weight:700; color:var(--ink); text-overflow:ellipsis; overflow:hidden; white-space:nowrap; }
.messages-item-preview { font-size:.8rem; text-overflow:ellipsis; overflow:hidden; white-space:nowrap; }
.messages-item-meta { display:flex; flex-direction:column; align-items:flex-end; gap:var(--s1); flex-shrink:0; }
.messages-item-time { font-size:.75rem; white-space:nowrap; }
.messages-unread-dot { width:8px; height:8px; border-radius:50%; background:var(--gold); display:inline-block; }
.messages-detail { display:flex; flex-direction:column; padding:var(--s5); overflow-y:auto; }
.messages-compose { max-width:560px; }
.messages-thread-header { display:flex; justify-content:space-between; align-items:flex-start; gap:var(--s4); margin-bottom:var(--s4); padding-bottom:var(--s4); border-bottom:1px solid var(--line); }
.messages-thread-body { line-height:1.7; color:var(--body); white-space:pre-wrap; }
@media (max-width:820px) { .messages-layout { grid-template-columns:1fr; } .messages-inbox { max-height:300px; border-right:none; border-bottom:1px solid var(--line); } }

/* ── Wallet ── */
.wallet-balance-card { background:linear-gradient(135deg,var(--navy),#1e3a5f); border-radius:var(--radius-lg); padding:var(--s6); color:#fff; }
.wallet-balance-inner { display:flex; justify-content:space-between; align-items:center; margin-bottom:var(--s5); }
.wallet-balance-label { font-size:.85rem; opacity:.75; margin-bottom:var(--s2); }
.wallet-balance-amount { font-size:clamp(2rem,5vw,3rem); font-weight:900; font-family:var(--font-poppins,'Poppins'),sans-serif; }
.wallet-balance-ico { font-size:3rem; opacity:.3; }
.wallet-actions { display:flex; gap:var(--s3); flex-wrap:wrap; }
.wallet-txn-row { display:flex; align-items:center; gap:var(--s4); padding:var(--s4) 0; border-bottom:1px solid var(--line); }
.wallet-txn-icon { width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:1.1rem; flex-shrink:0; }
.wallet-txn-info { flex:1; min-width:0; }
.wallet-txn-desc { font-weight:700; color:var(--ink); font-size:.9rem; }
.wallet-txn-amount { font-weight:800; font-size:1rem; white-space:nowrap; }

/* ── Notifications ── */
.notif-row { display:flex; gap:var(--s3); align-items:flex-start; padding:var(--s4); border-bottom:1px solid var(--line); cursor:pointer; transition:background .15s; border-radius:var(--radius-sm); }
.notif-row:hover { background:var(--bg); }
.notif-row-unread { border-left:3px solid var(--gold); background:rgba(201,151,58,.04); }
.notif-ico { font-size:1.4rem; flex-shrink:0; width:36px; text-align:center; }
.notif-title { font-weight:700; color:var(--navy); font-size:.9rem; margin-bottom:2px; }

/* Account nav pill */
.account-nav-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.15); border: 1.5px solid rgba(255,255,255,.3);
  border-radius: var(--radius-pill); padding: .35rem 1rem;
  color: #fff; font-weight: 700; font-size: .88rem; text-decoration: none;
  transition: background .15s, border-color .15s;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.account-nav-pill:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.account-nav-pill-ico { font-size: 1rem; }

@media (max-width:900px) { .account-layout { grid-template-columns:1fr; } .account-sidebar { position:static; } .account-stats-grid { grid-template-columns:repeat(2,1fr); } .account-form-row { grid-template-columns:1fr; } }
@media (max-width:480px) { .account-stats-grid { grid-template-columns:repeat(2,1fr); } }

/* ── Reviews section ── */
.rv-section { margin-bottom: 2.5rem; }
.rv-section-title { font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 800; color: #103a4a; margin-bottom: 1.5rem; display: flex; align-items: center; gap: .6rem; }
.rv-count-badge { background: #0096c7; color: #fff; font-size: .72rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; }

/* Rating summary */
.rv-summary { display: flex; gap: 2rem; align-items: flex-start; background: linear-gradient(135deg, rgba(0,150,199,.05), rgba(42,157,143,.05)); border: 1px solid rgba(0,150,199,.15); border-radius: 16px; padding: 1.5rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.rv-summary-left { display: flex; flex-direction: column; align-items: center; gap: .3rem; min-width: 100px; }
.rv-big-score { font-family: 'Poppins', sans-serif; font-size: 3rem; font-weight: 900; color: #103a4a; line-height: 1; }
.rv-summary-label { font-size: .85rem; font-weight: 700; color: #2a9d8f; }
.rv-summary-count { font-size: .78rem; color: #6b8290; }
.rv-dist { flex: 1; display: flex; flex-direction: column; gap: .5rem; min-width: 180px; }
.rv-dist-row { display: flex; align-items: center; gap: .6rem; }
.rv-dist-star { font-size: .8rem; color: #6b8290; width: 28px; flex-shrink: 0; }
.rv-dist-bar { flex: 1; height: 8px; background: #e8f0f2; border-radius: 999px; overflow: hidden; }
.rv-dist-fill { height: 100%; background: linear-gradient(90deg, #f4a907, #e07b00); border-radius: 999px; transition: width .4s ease; }
.rv-dist-pct { font-size: .78rem; color: #6b8290; width: 30px; text-align: right; flex-shrink: 0; }

/* Stars */
.rv-stars { color: #f4a907; letter-spacing: 1px; }
.rv-stars-sm { font-size: .85rem; }
.rv-stars-md { font-size: 1rem; }
.rv-stars-lg { font-size: 1.3rem; }

/* Review list */
.rv-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.rv-card { background: #fff; border: 1px solid #e4eef0; border-radius: 16px; padding: 1.25rem 1.5rem; transition: box-shadow .2s; }
.rv-card:hover { box-shadow: 0 4px 16px rgba(0,100,150,.08); }
.rv-card-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.rv-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 800; color: #fff; flex-shrink: 0; }
.rv-card-meta { flex: 1; display: flex; flex-direction: column; gap: .1rem; }
.rv-card-name { font-weight: 700; font-size: .92rem; color: #103a4a; }
.rv-card-date { font-size: .75rem; color: #9baab2; }
.rv-card-title { font-weight: 700; font-size: .95rem; color: #103a4a; margin-bottom: .4rem; }
.rv-card-body { font-size: .9rem; color: #3d5560; line-height: 1.65; }
.rv-reply { margin-top: .9rem; background: rgba(0,150,199,.05); border-left: 3px solid #0096c7; border-radius: 0 8px 8px 0; padding: .75rem 1rem; }
.rv-reply-label { font-size: .78rem; font-weight: 800; color: #0096c7; display: block; margin-bottom: .35rem; }
.rv-reply p { font-size: .88rem; color: #3d5560; margin: 0; line-height: 1.6; }

/* Empty state */
.rv-empty { text-align: center; padding: 2rem 1rem; background: rgba(0,150,199,.04); border: 1.5px dashed rgba(0,150,199,.25); border-radius: 16px; margin-bottom: 1.75rem; }
.rv-empty-icon { font-size: 2.5rem; margin-bottom: .5rem; }
.rv-empty h4 { font-weight: 800; color: #103a4a; margin-bottom: .3rem; }
.rv-empty p { font-size: .88rem; color: #6b8290; margin: 0; }

/* Review form */
.rv-form-wrap { background: #fff; border: 1.5px solid #e4eef0; border-radius: 20px; padding: 1.75rem; }
.rv-form-title { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 800; color: #103a4a; margin-bottom: .25rem; }
.rv-form-sub { font-size: .85rem; color: #6b8290; margin-bottom: 1.5rem; }
.rv-form { display: flex; flex-direction: column; gap: 1rem; }
.rv-stars-row { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: .25rem; }
.rv-stars-label { font-size: .88rem; font-weight: 700; color: #3d5560; }
.rv-stars-picker { display: flex; gap: .2rem; }
.rv-star { background: none; border: none; cursor: pointer; font-size: 1.8rem; color: #c8d8de; padding: 0 2px; line-height: 1; transition: color .1s, transform .1s; }
.rv-star:hover, .rv-star-on { color: #f4a907; }
.rv-star:hover { transform: scale(1.15); }
.rv-stars-word { font-size: .85rem; font-weight: 700; color: #f4a907; }
.rv-fields { display: flex; flex-direction: column; gap: .9rem; }
.rv-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media(max-width:540px) { .rv-field-row { grid-template-columns: 1fr; } }
.rv-field { display: flex; flex-direction: column; gap: .3rem; }
.rv-label { font-size: .83rem; font-weight: 700; color: #3d5560; }
.rv-req { color: #e07b00; }
.rv-hint { font-weight: 400; color: #9baab2; }
.rv-input, .rv-textarea { width: 100%; border: 1.5px solid #d4e4e8; border-radius: 10px; padding: .65rem .85rem; font-size: 1rem; color: #103a4a; background: #fafcfd; transition: border-color .15s, box-shadow .15s; font-family: inherit; box-sizing: border-box; }
.rv-input:focus, .rv-textarea:focus { outline: none; border-color: #0096c7; box-shadow: 0 0 0 3px rgba(0,150,199,.12); background: #fff; }
.rv-textarea { resize: vertical; min-height: 100px; }
.rv-error { background: rgba(220,50,50,.07); border: 1px solid rgba(220,50,50,.2); border-radius: 10px; padding: .65rem 1rem; font-size: .87rem; color: #c62828; }
.rv-submit { background: linear-gradient(135deg, #0096c7, #0077b6); color: #fff; border: none; border-radius: 12px; padding: .85rem 1.75rem; font-size: .95rem; font-weight: 800; cursor: pointer; transition: filter .2s, transform .15s; align-self: flex-start; font-family: inherit; }
.rv-submit:hover { filter: brightness(1.08); transform: translateY(-1px); }
.rv-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.rv-success { text-align: center; padding: 2rem; background: rgba(42,157,143,.07); border: 1.5px solid rgba(42,157,143,.25); border-radius: 16px; }
.rv-success-icon { font-size: 2.5rem; margin-bottom: .5rem; }
.rv-success h4 { font-weight: 800; color: #2a9d8f; margin-bottom: .35rem; }
.rv-success p { font-size: .9rem; color: #3d5560; margin: 0; }

/* ═══════════════════════════════════════════════════════
   PANEL SHARED — Partner Dashboard + Admin Panel
   ═══════════════════════════════════════════════════════ */

/* Layout */
.panel-wrap { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
@media(max-width: 860px) { .panel-wrap { grid-template-columns: 1fr; } }

/* Sidebar */
.panel-sidebar {
  background: #0a1628; color: #fff;
  display: flex; flex-direction: column;
  padding: 0;
  position: sticky; top: 0; height: 100vh;
  overflow-y: auto;
}
@media(max-width: 860px) { .panel-sidebar { position: static; height: auto; } }
.panel-sidebar-logo { padding: 1.5rem 1.25rem 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.panel-sidebar-logo a { font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 900; color: #fff; text-decoration: none; }
.panel-sidebar-logo a span { color: #c9973a; }
.panel-sidebar-logo p { font-size: .72rem; color: rgba(255,255,255,.4); margin-top: .2rem; letter-spacing: .06em; text-transform: uppercase; }
/* Override the global `nav { display:flex; justify-content:space-between }` from
   the legacy styles.css — the sidebar nav must stack vertically. */
.panel-nav { flex: 1; padding: 1rem 0; display: block; }
.panel-sidebar nav.panel-nav { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; max-width: none; margin: 0; padding: 1rem 0; }
.panel-nav-section { padding: .4rem 1.25rem .2rem; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-top: .5rem; }
.panel-nav-link {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem 1.25rem; font-size: .88rem; font-weight: 600;
  color: rgba(255,255,255,.65); text-decoration: none;
  border-left: 3px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
  cursor: pointer; background: none; border-right: none; border-top: none; border-bottom: none;
  width: 100%; text-align: left; font-family: inherit;
}
.panel-nav-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.panel-nav-link.active { background: rgba(201,151,58,.12); color: #c9973a; border-left-color: #c9973a; }
.panel-nav-link .pnl-icon { font-size: 1rem; flex-shrink: 0; }
.panel-sidebar-footer { padding: 1rem 1.25rem; border-top: 1px solid rgba(255,255,255,.08); }
.panel-sidebar-user { font-size: .8rem; color: rgba(255,255,255,.55); margin-bottom: .6rem; line-height: 1.4; }
.panel-sidebar-user strong { color: rgba(255,255,255,.85); display: block; }

/* Main content area */
.panel-main { background: #f4f6f9; display: flex; flex-direction: column; min-height: 100vh; }
.panel-topbar {
  background: #fff; border-bottom: 1px solid #e4eef0;
  padding: 1rem 1.75rem; display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.panel-topbar-title { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 800; color: #0a1628; }
.panel-topbar-sub { font-size: .8rem; color: #6b8290; margin-top: .1rem; }
.panel-content { padding: 1.75rem; flex: 1; }

/* Stats cards */
.panel-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.75rem; }
.panel-stat {
  background: #fff; border: 1px solid #e4eef0; border-radius: 14px;
  padding: 1.1rem 1.25rem; border-top: 3px solid #0096c7;
}
.panel-stat-label { font-size: .75rem; font-weight: 700; color: #6b8290; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .35rem; }
.panel-stat-num { font-family: 'Poppins', sans-serif; font-size: 1.8rem; font-weight: 900; color: #0a1628; line-height: 1; }
.panel-stat-sub { font-size: .75rem; color: #9baab2; margin-top: .25rem; }

/* Cards / tables */
.panel-card { background: #fff; border: 1px solid #e4eef0; border-radius: 14px; overflow: hidden; margin-bottom: 1.25rem; }
.panel-card-header { padding: 1rem 1.25rem; border-bottom: 1px solid #e4eef0; display: flex; align-items: center; justify-content: space-between; }
.panel-card-title { font-weight: 800; font-size: .95rem; color: #0a1628; }
.panel-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.panel-table th { padding: .65rem 1rem; text-align: left; font-size: .72rem; font-weight: 800; color: #6b8290; text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid #e4eef0; background: #fafcfd; }
.panel-table td { padding: .75rem 1rem; color: #3d5560; border-bottom: 1px solid #f0f4f5; vertical-align: middle; }
.panel-table tr:last-child td { border-bottom: none; }
.panel-table tr:hover td { background: #fafcfd; }

/* Badges */
.pbadge { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.pbadge-green { background: #d1fae5; color: #065f46; }
.pbadge-yellow { background: #fef3c7; color: #92400e; }
.pbadge-red { background: #fee2e2; color: #991b1b; }
.pbadge-blue { background: #dbeafe; color: #1e40af; }
.pbadge-gray { background: #f1f5f9; color: #475569; }

/* Buttons */
.panel-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1rem; border-radius: 8px; font-size: .83rem; font-weight: 700; border: none; cursor: pointer; font-family: inherit; transition: filter .15s, transform .1s; text-decoration: none; }
.panel-btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.panel-btn-primary { background: #0096c7; color: #fff; }
.panel-btn-success { background: #16a34a; color: #fff; }
.panel-btn-danger { background: #dc2626; color: #fff; }
.panel-btn-gold { background: linear-gradient(135deg, #c9973a, #e07b00); color: #fff; }
.panel-btn-ghost { background: transparent; border: 1.5px solid #d4e4e8; color: #3d5560; }
.admin-doclink { background: none; border: none; padding: 0; color: #0096c7; font-size: .76rem; font-weight: 600; cursor: pointer; text-align: left; white-space: nowrap; }
.admin-doclink:hover { text-decoration: underline; }

/* ── Admin dashboard (Overview) ── */
.dash { display: flex; flex-direction: column; gap: 1.25rem; }
.dash-revenue { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 1000px) { .dash-revenue { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dash-revenue { grid-template-columns: 1fr; } }
.dash-rev-card { background: #fff; border: 1px solid #e4eef0; border-radius: 14px; padding: 1.1rem 1.25rem; }
.dash-rev-primary { background: linear-gradient(135deg, #0a1628, #14304f); border-color: transparent; color: #fff; }
.dash-rev-label { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #6b8290; }
.dash-rev-primary .dash-rev-label { color: rgba(255,255,255,.65); }
.dash-rev-num { font-family: 'Poppins', sans-serif; font-size: 1.7rem; font-weight: 800; color: #0a1628; margin: .3rem 0 .15rem; letter-spacing: -.5px; }
.dash-rev-primary .dash-rev-num { color: #fff; }
.dash-rev-sub { font-size: .78rem; color: #9baab2; }
.dash-rev-delta { font-size: .8rem; font-weight: 700; }
.dash-rev-delta.up { color: #6ee7b7; } .dash-rev-delta.down { color: #fca5a5; }

.dash-alerts { display: flex; flex-direction: column; gap: .5rem; }
.dash-alert { display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left;
  background: #fff7e6; border: 1px solid #f0d28a; border-radius: 10px; padding: .7rem 1rem;
  cursor: pointer; font-size: .9rem; font-weight: 600; color: #6b4e16; transition: background .15s; }
.dash-alert:hover { background: #fdecc8; }
.dash-alert-ico { font-size: 1.1rem; }
.dash-alert-go { margin-left: auto; color: #0096c7; font-weight: 700; font-size: .82rem; }

.dash-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.25rem; align-items: start; }
@media (max-width: 960px) { .dash-cols { grid-template-columns: 1fr; } }
.dash-list { display: flex; flex-direction: column; }
.dash-list-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .7rem 1.25rem; border-top: 1px solid #f0f4f6; }
.dash-list-row:first-child { border-top: none; }
.dash-langs { padding: 1rem 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.dash-lang { font-size: .8rem; background: #eef6f8; border: 1px solid #d4e4e8; border-radius: 8px;
  padding: .25rem .6rem; color: #3d5560; }
.dash-lang strong { color: #0a1628; text-transform: uppercase; }

/* ── Partner documents modal ── */
.docmodal-overlay { position: fixed; inset: 0; background: rgba(10,22,40,.55); z-index: 500;
  display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.docmodal { background: #fff; border-radius: 16px; width: 100%; max-width: 860px; max-height: 90vh;
  display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.docmodal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem; border-bottom: 1px solid #e4eef0; }
.docmodal-title { font-family: 'Poppins', sans-serif; font-size: 1.15rem; font-weight: 800; color: #0a1628; }
.docmodal-sub { font-size: .8rem; color: #6b8290; margin-top: .2rem; }
.docmodal-x { background: none; border: none; font-size: 1.6rem; line-height: 1; color: #9baab2; cursor: pointer; padding: 0 .25rem; }
.docmodal-x:hover { color: #0a1628; }
.docmodal-body { padding: 1.25rem 1.5rem; overflow-y: auto; }
.docmodal-note { background: #fff7e6; border: 1px solid #f0d28a; border-radius: 10px;
  padding: .7rem 1rem; font-size: .87rem; color: #6b4e16; line-height: 1.5; margin-bottom: 1.25rem; }
.docmodal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.docmodal-item { border: 1px solid #e4eef0; border-radius: 12px; overflow: hidden; background: #f9fbfc; }
.docmodal-item-label { font-size: .78rem; font-weight: 700; color: #3d5560; padding: .6rem .75rem; border-bottom: 1px solid #eef4f6; }
.docmodal-loading { padding: 2rem; text-align: center; color: #9baab2; font-size: .85rem; }
.docmodal-imgwrap { display: block; position: relative; text-decoration: none; }
.docmodal-img { width: 100%; height: 170px; object-fit: cover; display: block; }
.docmodal-img-zoom { position: absolute; bottom: 6px; right: 6px; background: rgba(10,22,40,.75); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.docmodal-pdf { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  height: 170px; text-decoration: none; color: #0096c7; font-weight: 700; font-size: .9rem; }
.docmodal-pdf-ico { font-size: 2.5rem; }
.docmodal-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.5rem; border-top: 1px solid #e4eef0; }
.docmodal-foot-note { font-size: .78rem; color: #9baab2; }

/* ── Listing details modal ── */
.ldm-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .5rem; margin-bottom: 1.25rem; }
.ldm-photo { display: block; border-radius: 10px; overflow: hidden; border: 1px solid #e4eef0; aspect-ratio: 4/3; }
.ldm-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ldm-nophoto { background: #f4f6f9; border: 1px dashed #d4e4e8; border-radius: 10px; padding: 1.25rem; text-align: center; color: #9baab2; font-size: .88rem; margin-bottom: 1.25rem; }
.ldm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem 1rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid #eef4f6; }
@media (max-width: 560px) { .ldm-grid { grid-template-columns: repeat(2, 1fr); } }
.ldm-field { margin-bottom: 1rem; }
.ldm-field-label { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #9baab2; margin-bottom: .25rem; }
.ldm-field-val { font-size: .9rem; color: #0a1628; }
.ldm-html { font-size: .88rem; color: #3d5560; line-height: 1.6; }
.ldm-html :is(h1,h2,h3) { font-size: 1rem; margin: .6rem 0 .3rem; color: #0a1628; }
.ldm-html p { margin: 0 0 .5rem; }
.ldm-ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .25rem; font-size: .88rem; color: #3d5560; }
.ldm-faq > div { margin-bottom: .6rem; font-size: .87rem; }
.ldm-faq strong { color: #0a1628; display: block; }
.ldm-faq > div > div { color: #6b8290; }

/* ── Admin analytics bar chart ── */
.chart-wrap { padding: 1.25rem 1.5rem 1rem; }
.chart-bars { display: flex; align-items: flex-end; gap: .5rem; height: 200px; }
.chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; }
.chart-bar-track { flex: 1; width: 100%; display: flex; align-items: flex-end; }
.chart-bar { width: 100%; max-width: 38px; margin: 0 auto; border-radius: 6px 6px 0 0; min-height: 2px;
  transition: height .3s ease; }
.chart-col:hover .chart-bar { filter: brightness(1.1); }
.chart-label { font-size: .72rem; color: #9baab2; margin-top: .4rem; font-weight: 600; }

/* ── Professional listing form (hotel/stay) ── */
.listing-grid { display: grid; grid-template-columns: 1fr 360px; gap: 1.25rem; align-items: start; }
@media (max-width: 900px) { .listing-grid { grid-template-columns: 1fr; } }
.listing-main, .listing-side { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.panel-card-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }

/* Facilities picker */
.fac-card { border: 1.5px solid #e4eef0; border-radius: 12px; background: #fff; overflow: hidden; align-self: start; }
.fac-card-on { border-color: #0096c7; }
.fac-head { width: 100%; display: flex; align-items: center; gap: .5rem; padding: .7rem .85rem; background: none; border: none; cursor: pointer; font-family: inherit; text-align: left; }
.fac-card-on .fac-head { background: rgba(0,150,199,.05); }
.fac-ico { font-size: 1.1rem; }
.fac-label { font-weight: 700; font-size: .85rem; color: #0a1628; flex: 1; }
.fac-count { font-size: .72rem; color: #6b8290; }
.fac-arrow { font-size: .65rem; color: #9baab2; }
.fac-items { padding: .25rem .85rem .75rem; display: flex; flex-direction: column; gap: .35rem; border-top: 1px solid #f0f4f6; }
.fac-item { display: flex; align-items: center; gap: .5rem; font-size: .83rem; color: #3d5560; cursor: pointer; }
.fac-item input { accent-color: #0096c7; }

/* Upload dropzone */
.upload-drop { display: flex; align-items: center; gap: .7rem; padding: 1rem; border: 2px dashed #d4e4e8; border-radius: 12px; cursor: pointer; background: #fafcfd; transition: border-color .15s; }
.upload-drop:hover { border-color: #0096c7; }

/* Public detail — facilities grouped by category */
.td-fac-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.td-fac-group-title { font-weight: 800; font-size: .9rem; color: #103a4a; margin-bottom: .5rem; }
.td-fac-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .3rem; }
.td-fac-list li { font-size: .88rem; color: #3d5560; }

/* Stay detail — grouped amenities + sub-headings */
.sa-fac-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.1rem; }
.sa-fac-title { font-weight: 800; font-size: .9rem; color: var(--navy); margin-bottom: .4rem; }
.sa-subh { font-size: .95rem; font-weight: 800; color: var(--navy); margin: 1rem 0 .35rem; }

/* Tour detail — good-to-know cards + include/exclude grid */
.td-gtk { display: flex; flex-direction: column; gap: 2px; padding: .6rem .85rem; background: #f7fafb; border: 1px solid #e8f0f2; border-radius: 10px; }
.td-gtk strong { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: #6b8290; }
.td-gtk span { font-size: .92rem; color: #103a4a; font-weight: 600; }
.tour-inc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 560px) { .tour-inc-grid { grid-template-columns: 1fr; } }
.tour-exc li { color: #9b5151; }
.tour-opt { display: flex; align-items: center; gap: .55rem; font-size: .88rem; color: #3d5560; cursor: pointer; }
.tour-opt input { accent-color: #0096c7; width: 16px; height: 16px; }

/* Tour detail — GetYourGuide-style feature badges */
.td-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .9rem; margin: 1rem 0 .5rem; }
.td-feature { display: flex; gap: .6rem; align-items: flex-start; padding: .85rem 1rem; border: 1px solid #e8f0f2; border-radius: 12px; background: #f9fcfd; }
.td-feature-ico { font-size: 1.2rem; line-height: 1.2; }
.td-feature strong { display: block; font-size: .9rem; color: #103a4a; }
.td-feature span { font-size: .8rem; color: #6b8290; line-height: 1.45; }
.td-maps-link { display: inline-block; margin-bottom: .6rem; color: #0096c7; font-weight: 700; font-size: .9rem; text-decoration: none; }
.td-maps-link:hover { text-decoration: underline; }

/* Tour Book & Pay modal (verified-partner tours) */
.tbk-overlay { position: fixed; inset: 0; background: rgba(10,22,40,.55); z-index: 600; display: flex; align-items: center; justify-content: center; padding: 1.25rem; }
.tbk-modal { background: #fff; border-radius: 16px; width: 100%; max-width: 440px; padding: 1.75rem; position: relative; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.tbk-x { position: absolute; top: .8rem; right: 1rem; background: none; border: none; font-size: 1.6rem; color: #9baab2; cursor: pointer; line-height: 1; }
.tbk-x:hover { color: #0a1628; }
.tbk-title { font-family: 'Poppins', sans-serif; font-size: 1.25rem; font-weight: 800; color: #0a1628; margin: 0; }
.tbk-sub { font-size: .88rem; color: #6b8290; margin: .2rem 0 1.25rem; }
.tbk-form { display: flex; flex-direction: column; gap: .75rem; }
.tbk-form label { display: flex; flex-direction: column; gap: .25rem; font-size: .82rem; font-weight: 700; color: #3d5560; }
.tbk-form input { border: 1.5px solid #d4e4e8; border-radius: 10px; padding: .6rem .8rem; font-size: .93rem; font-family: inherit; color: #0a1628; }
.tbk-form input:focus { outline: none; border-color: #0096c7; box-shadow: 0 0 0 3px rgba(0,150,199,.12); }
.tbk-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.tbk-total { display: flex; justify-content: space-between; align-items: baseline; padding: .6rem 0; border-top: 1px solid #eef4f6; margin-top: .25rem; }
.tbk-total strong { font-size: 1.3rem; color: #0a1628; font-family: 'Poppins', sans-serif; }
.tbk-pay { background: linear-gradient(135deg, #c9973a, #e07b00); color: #fff; border: none; border-radius: 12px; padding: .85rem; font-size: 1rem; font-weight: 800; cursor: pointer; font-family: inherit; }
.tbk-pay:hover { filter: brightness(1.07); }
.tbk-pay:disabled { opacity: .6; cursor: not-allowed; }
.tbk-msg { font-size: .85rem; color: #103a4a; text-align: center; margin: .3rem 0 0; }
.tbk-note { font-size: .74rem; color: #9baab2; text-align: center; margin: .25rem 0 0; line-height: 1.4; }

/* Rich-text editor */
.rt-wrap { border: 1.5px solid #d4e4e8; border-radius: 10px; overflow: hidden; background: #fff; }
.rt-toolbar { display: flex; flex-wrap: wrap; gap: 2px; padding: .35rem .4rem; background: #f4f6f9; border-bottom: 1px solid #e4eef0; }
.rt-btn { background: #fff; border: 1px solid #e4eef0; border-radius: 6px; padding: .25rem .55rem; font-size: .82rem; cursor: pointer; color: #3d5560; font-family: inherit; line-height: 1.2; }
.rt-btn:hover { background: #0096c7; color: #fff; border-color: #0096c7; }
.rt-editor { border: none !important; border-radius: 0 !important; box-shadow: none !important; outline: none; padding: .7rem .9rem; font-size: .93rem; line-height: 1.6; color: #0a1628; }
.rt-editor:empty::before { content: attr(data-placeholder); color: #9baab2; }
.rt-editor h3 { font-size: 1rem; font-weight: 800; margin: .5rem 0 .3rem; }
.rt-editor ul, .rt-editor ol { padding-left: 1.4rem; margin: .4rem 0; }
.rt-editor a { color: #0096c7; }

/* Enriched stay card */
.card-img-wrap { position: relative; }
.card-type-badge { position: absolute; top: 8px; left: 8px; background: rgba(10,22,40,.82); color: #fff; font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.card-name-row { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.card-stars { color: #f5a623; font-size: .82rem; white-space: nowrap; }
.card-facts { font-size: .82rem; margin: .2rem 0; letter-spacing: .02em; }
.card-amen { font-size: .8rem; margin: .15rem 0; }
.card-price-row { margin-top: .35rem; }

/* ── Partner page two-path chooser ── */
.partner-paths { max-width: var(--maxw); margin: 0 auto; padding: var(--s7) var(--s5) var(--s4); }
.partner-paths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
@media (max-width: 760px) { .partner-paths-grid { grid-template-columns: 1fr; } }
.ppath {
  display: flex; flex-direction: column; gap: var(--s2);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--s6); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s;
}
.ppath:hover { transform: translateY(-3px); box-shadow: 0 14px 36px -12px rgba(16,42,67,.25); border-color: rgba(16,42,67,.2); }
.ppath-primary { border-color: var(--gold); background: linear-gradient(180deg, rgba(245,158,11,.06), var(--surface) 55%); }
.ppath-ico { font-size: 2.2rem; }
.ppath-title { font-family: var(--font-poppins,'Poppins'),sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--navy); margin: var(--s2) 0 0; }
.ppath-desc { color: var(--muted); font-size: .92rem; line-height: 1.6; margin: 0; flex: 1; }
.ppath-cta { font-weight: 800; color: var(--navy); margin-top: var(--s3); }
.ppath-primary .ppath-cta { color: #b45309; }
.partner-legal-note {
  margin-top: var(--s5); background: #fff7e6; border: 1px solid #f0d28a; border-radius: 12px;
  padding: var(--s4) var(--s5); font-size: .85rem; color: #6b4e16; line-height: 1.6; text-align: center;
}
.panel-btn-ghost:hover { background: #f0f4f5; }
.panel-btn-sm { padding: .35rem .75rem; font-size: .78rem; }

/* Form inputs */
.panel-input { width: 100%; border: 1.5px solid #d4e4e8; border-radius: 8px; padding: .6rem .85rem; font-size: 1rem; color: #0a1628; background: #fff; font-family: inherit; box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
.panel-input:focus { outline: none; border-color: #0096c7; box-shadow: 0 0 0 3px rgba(0,150,199,.1); }
.panel-label { display: block; font-size: .8rem; font-weight: 700; color: #3d5560; margin-bottom: .3rem; }
.panel-field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .9rem; }
.panel-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media(max-width: 580px) { .panel-row { grid-template-columns: 1fr; } }

/* Alert / toast */
.panel-alert { padding: .75rem 1rem; border-radius: 10px; font-size: .87rem; font-weight: 600; margin-bottom: 1rem; }
.panel-alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.panel-alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.panel-alert-warn { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }

/* Empty state */
.panel-empty { text-align: center; padding: 3rem 1rem; color: #9baab2; }
.panel-empty-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.panel-empty p { font-size: .9rem; }

/* Login screen */
.panel-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #f4f6f9; padding: 1.5rem; }
.panel-login-box { background: #fff; border: 1.5px solid #e4eef0; border-radius: 20px; padding: 2.5rem; width: 100%; max-width: 400px; box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.panel-login-logo { font-family: 'Poppins', sans-serif; font-size: 1.4rem; font-weight: 900; color: #0a1628; margin-bottom: 1.5rem; }
.panel-login-logo span { color: #c9973a; }
.panel-login-title { font-size: 1.2rem; font-weight: 800; color: #0a1628; margin-bottom: .25rem; }
.panel-login-sub { font-size: .85rem; color: #6b8290; margin-bottom: 1.5rem; }

/* Mobile sidebar toggle */
@media(max-width: 860px) {
  .panel-sidebar { display: none; }
  .panel-sidebar.open { display: flex; }
  .panel-wrap { grid-template-columns: 1fr; }
}

/* ===== My Trip (multi-product cart) — premium redesign ===== */
.trip-hero{background:linear-gradient(120deg,#0a1628 0%,#0d3a4a 50%,#0e7490 110%);color:#fff;padding:124px 20px 64px;position:relative;overflow:hidden}
.trip-hero::before{content:"";position:absolute;inset:0;background:url('/img/el-nido-palawan-lagoons.webp') center/cover;opacity:.14;pointer-events:none}
.trip-hero::after{content:"🧳";position:absolute;right:6%;top:50%;transform:translateY(-50%);font-size:9rem;opacity:.08;pointer-events:none}
.trip-hero-inner{max-width:1140px;margin:0 auto;position:relative;z-index:1}
.trip-hero-kicker{display:inline-block;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--gold);background:rgba(201,151,58,.16);padding:5px 15px;border-radius:99px}
.trip-hero-title{font-family:var(--font-serif);font-size:clamp(2.3rem,5.5vw,3.4rem);font-weight:600;margin:.7rem 0 .5rem;letter-spacing:-.02em;line-height:1.05}
.trip-hero-sub{color:rgba(255,255,255,.82);font-size:1.1rem;max-width:580px;margin:0}
.trip-hero-stats{display:flex;gap:14px;margin-top:1.6rem;flex-wrap:wrap}
.trip-hero-stats span{display:block;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:12px 20px;backdrop-filter:blur(6px);font-size:.82rem;color:rgba(255,255,255,.72)}
.trip-hero-stats strong{display:block;font-family:Poppins,sans-serif;font-size:1.6rem;font-weight:800;color:#fff;line-height:1}
.trip-loading{text-align:center;padding:70px 20px;color:var(--muted)}
.trip-wrap{max-width:1140px;margin:0 auto;padding:36px 20px 90px}
.trip-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:30px;align-items:start}
.trip-items-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.trip-items-h{font-family:Poppins,sans-serif;font-size:1.4rem;font-weight:800;color:var(--ink);margin:0}
.trip-clear{background:transparent;border:1px solid var(--line);color:#ef4444;font-weight:600;padding:8px 16px;border-radius:10px;cursor:pointer;white-space:nowrap;font-size:.85rem;transition:.15s}
.trip-clear:hover{background:rgba(239,68,68,.08);border-color:#fecaca}
.trip-group{margin-bottom:30px}
.trip-group-title{display:flex;align-items:center;gap:10px;font-family:Poppins,sans-serif;font-size:1.05rem;font-weight:800;color:var(--ink);margin:0 0 14px;padding-bottom:10px;border-bottom:2px solid var(--line)}
.trip-group-n{font-size:.72rem;font-weight:800;color:#0e7490;background:#cffafe;min-width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;padding:0 7px;border-radius:99px;margin-left:auto}
html[data-theme=dark] .trip-group-n{background:#0e3a4a;color:#a5f3fc}
.trip-item{display:flex;gap:18px;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:16px;margin-bottom:14px;box-shadow:0 2px 10px rgba(15,23,42,.05);transition:transform .18s,box-shadow .18s,border-color .18s}
.trip-item:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(15,23,42,.12);border-color:rgba(8,145,178,.4)}
.trip-item-img{width:140px;height:104px;border-radius:13px;flex-shrink:0;background-size:cover;background-position:center;position:relative}
.trip-item-info{flex:1;min-width:0;display:flex;flex-direction:column;padding:2px 0}
.trip-item-title{font-family:Poppins,sans-serif;font-weight:700;color:var(--ink);font-size:1.1rem;line-height:1.3}
.trip-item-sub{color:var(--muted);font-size:.86rem;margin-top:4px}
.trip-badge{display:inline-flex;align-items:center;width:fit-content;font-size:.74rem;font-weight:700;padding:4px 12px;border-radius:99px;margin-top:auto}
.trip-badge-native{color:#047857;background:#d1fae5}
.trip-badge-partner{color:#92400e;background:#fef3c7}
html[data-theme=dark] .trip-badge-native{background:#064e3b;color:#6ee7b7}
html[data-theme=dark] .trip-badge-partner{background:#451a03;color:#fcd34d}
.trip-item-right{display:flex;flex-direction:column;align-items:flex-end;gap:10px;flex-shrink:0;justify-content:space-between;text-align:right}
.trip-item-price{font-family:Poppins,sans-serif;font-weight:800;color:var(--ink);font-size:1.35rem;line-height:1.1}
.trip-item-price small{display:block;font-weight:500;color:var(--muted);font-size:.72rem;margin-top:2px}
.trip-item-price-na{font-size:.9rem;color:var(--muted);font-weight:600}
.trip-item-book{font-size:.84rem;font-weight:700;color:#fff;text-decoration:none;background:#0e7490;padding:8px 16px;border-radius:10px;transition:.15s}
.trip-item-book:hover{background:#0891b2}
.trip-item-remove{background:none;border:none;color:#cbd5e1;cursor:pointer;font-size:1.05rem;padding:2px 6px;line-height:1;transition:color .15s}
.trip-item-remove:hover{color:#ef4444}
.trip-summary{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:26px;position:sticky;top:90px;box-shadow:0 10px 34px rgba(15,23,42,.09)}
.trip-summary-h{font-family:Poppins,sans-serif;font-size:1.25rem;font-weight:800;color:var(--ink);margin:0 0 20px}
.trip-sum-row{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:13px;font-size:.92rem;color:var(--body)}
.trip-sum-row em{font-style:normal;color:var(--muted);font-size:.82rem}
.trip-sum-row strong{color:var(--ink);font-size:1.05rem;font-weight:700}
.trip-sum-total{padding:14px 0;border-top:1px dashed var(--line);border-bottom:1px dashed var(--line);margin:14px 0}
.trip-sum-total span{font-weight:700;color:var(--ink)}
.trip-sum-total strong{font-family:Poppins,sans-serif;font-size:1.7rem;color:#0a7d4b}
.trip-sum-divider{height:1px;background:var(--line);margin:18px 0}
.trip-sum-note{font-size:.78rem;color:var(--muted);line-height:1.55;margin:10px 0 0}
.trip-sum-hint{font-size:.76rem;color:var(--muted);line-height:1.5;margin:12px 0 0}
.trip-checkout{display:block;text-align:center;margin-top:18px;background:linear-gradient(135deg,#0891b2,#0e7490);color:#fff;font-weight:800;font-size:1rem;padding:16px;border-radius:14px;text-decoration:none;box-shadow:0 8px 22px rgba(8,145,178,.35);transition:transform .15s,filter .15s}
.trip-checkout:hover{filter:brightness(1.07);transform:translateY(-2px)}
.trip-sum-trust{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:20px;padding-top:18px;border-top:1px solid var(--line);font-size:.76rem;color:var(--muted);font-weight:600}
.trip-empty{text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:64px 30px;max-width:600px;margin:0 auto;box-shadow:0 8px 28px rgba(15,23,42,.07)}
.trip-empty-ico{font-size:60px;margin-bottom:12px}
.trip-empty h2{font-family:Poppins,sans-serif;font-size:1.5rem;font-weight:800;color:var(--ink);margin:6px 0}
.trip-empty p{color:var(--muted);margin:8px 0 22px}
.trip-empty-links{display:flex;gap:11px;flex-wrap:wrap;justify-content:center}
.trip-empty-links a{font-weight:700;color:#0e7490;background:#ecfeff;padding:11px 19px;border-radius:12px;text-decoration:none;font-size:.9rem;transition:.15s}
.trip-empty-links a:hover{background:#cffafe}
html[data-theme=dark] .trip-empty-links a{background:#0e3a4a;color:#a5f3fc}
.trip-cta{display:inline-block;background:linear-gradient(135deg,#0891b2,#0e7490);color:#fff;font-weight:700;padding:14px 30px;border-radius:13px;text-decoration:none}
/* Add-to-trip button (reusable) */
.add-trip-btn{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1.5px solid #a5f3fc;color:#0e7490;font-weight:600;font-size:14px;padding:10px 18px;border-radius:12px;cursor:pointer;transition:.15s}
.add-trip-btn:hover{background:#ecfeff;border-color:#67e8f9}
.add-trip-btn.added{background:#d1fae5;border-color:#6ee7b7;color:#047857}
@media (max-width:820px){.trip-grid{grid-template-columns:1fr}.trip-summary{position:static}.trip-hero{padding:104px 20px 40px}.trip-item-img{width:88px;height:66px}}

/* My Trip nav link + count badge */
.nav-trip-link{display:inline-flex;align-items:center;gap:6px;font-weight:600}
.nav-trip-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;background:#0891b2;color:#fff;font-size:11px;font-weight:700;border-radius:999px;line-height:1}

/* Recently Viewed strip */
.rv-section{margin:2rem 0}
.rv-title{font-family:Poppins,sans-serif;font-size:1.15rem;font-weight:800;color:#103a4a;margin:0 0 1rem}
.rv-strip{display:flex;gap:14px;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x mandatory}
.rv-strip::-webkit-scrollbar{height:6px}
.rv-strip::-webkit-scrollbar-thumb{background:#d4e0e4;border-radius:3px}
.rv-card{flex:0 0 200px;scroll-snap-align:start;background:#fff;border:1px solid #e8eef0;border-radius:14px;overflow:hidden;text-decoration:none;color:inherit;transition:.15s;box-shadow:0 1px 4px rgba(16,58,74,.05)}
.rv-card:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(16,58,74,.1)}
.rv-card-img{height:110px;background-size:cover;background-position:center;position:relative}
.rv-card-kind{position:absolute;top:8px;left:8px;background:rgba(0,0,0,.55);color:#fff;font-size:10px;font-weight:700;text-transform:capitalize;padding:2px 8px;border-radius:999px}
.rv-card-body{padding:10px 12px}
.rv-card-name{font-weight:700;font-size:.85rem;color:#103a4a;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rv-card-loc{font-size:.72rem;color:#6b8290;margin-top:3px}
.rv-card-price{font-weight:800;font-size:.95rem;color:#0a7d4b;margin-top:6px}
.rv-card-from{font-weight:500;font-size:.72rem;color:var(--muted)}
.rv-card-price small{font-weight:500;font-size:.72rem;color:var(--muted)}

/* ===== Travel tools: best-time, visa, emergency ===== */
/* Best time to visit */
.btv-legend{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:1.25rem}
.btv-legend-item{display:inline-flex;align-items:center;gap:7px;font-size:.85rem;color:#475569;font-weight:600}
.btv-swatch{width:16px;height:16px;border-radius:4px;display:inline-block}
.btv-scroll{overflow-x:auto;border:1px solid #e8eef0;border-radius:14px}
.btv-table{border-collapse:collapse;width:100%;min-width:720px}
.btv-table th{font-size:.72rem;font-weight:700;color:#64748b;padding:10px 6px;text-align:center;background:#f8fafc}
.btv-dest-head{text-align:left!important;padding-left:14px!important;min-width:170px}
.btv-dest{padding:10px 14px;border-top:1px solid #eef2f7;min-width:170px}
.btv-dest strong{display:block;color:#103a4a;font-size:.9rem}
.btv-tags{font-size:.72rem;color:#94a3b8}
.btv-cell{width:40px;height:34px;border-top:1px solid #fff;border-left:1px solid #fff}
.btv-notes{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;margin-top:1.75rem}
.btv-note-card{background:#fff;border:1px solid #e8eef0;border-radius:14px;padding:1.1rem 1.25rem}
.btv-note-card h3{font-family:Poppins,sans-serif;font-size:1rem;font-weight:800;color:#103a4a;margin:0 0 .4rem}
.btv-note-card p{font-size:.88rem;color:#475569;line-height:1.5;margin:0 0 .6rem}
.btv-note-best{font-size:.83rem;color:#0a7d4b}
/* Visa checker */
.visa-tool{background:#fff;border:1px solid #e8eef0;border-radius:16px;padding:1.75rem}
.visa-label{display:block;font-weight:700;color:#334155;font-size:.92rem;margin-bottom:1.25rem}
.visa-select{display:block;width:100%;margin-top:.5rem;padding:.8rem .9rem;border:1px solid #cbd5e1;border-radius:10px;font-size:1rem;background:#fff}
.visa-result{border-top:1px solid #eef2f7;padding-top:1.25rem}
.visa-badge{display:inline-block;font-weight:800;font-size:.85rem;padding:6px 16px;border-radius:999px;margin-bottom:.75rem}
.visa-note{color:#334155;line-height:1.6;font-size:.95rem;margin:0 0 .6rem}
.visa-extend{color:#047857;font-weight:600;font-size:.9rem;margin:0 0 1rem}
.visa-required-box{background:#f8fafc;border:1px solid #eef2f7;border-radius:12px;padding:1rem 1.1rem;font-size:.9rem;color:#475569}
.visa-required-box ul{margin:.5rem 0 0;padding-left:1.2rem;line-height:1.7}
.visa-required-box a,.visa-disclaimer a{color:#0891b2;font-weight:600}
.visa-disclaimer{margin-top:1.25rem;font-size:.8rem;color:#94a3b8;line-height:1.5}
/* Emergency contacts */
.emg-section{margin-bottom:2rem}
.emg-h2{font-family:Poppins,sans-serif;font-size:1.1rem;font-weight:800;color:#103a4a;margin:0 0 .9rem}
.emg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.emg-card{display:block;background:#fff;border:1px solid #e8eef0;border-radius:14px;padding:1rem 1.1rem;text-decoration:none;transition:.15s}
.emg-card:hover{border-color:#fca5a5;box-shadow:0 4px 14px rgba(248,113,113,.15);transform:translateY(-2px)}
.emg-card-national{border-color:#fecaca;background:#fef6f6}
.emg-num{font-family:Poppins,sans-serif;font-size:1.35rem;font-weight:800;color:#dc2626}
.emg-name{font-size:.9rem;font-weight:700;color:#103a4a;margin-top:3px}
.emg-note{font-size:.78rem;color:#94a3b8;margin-top:3px}

/* My Trips delete button (account dashboard) */
.account-trip-del{background:none;border:none;color:#cbd5e1;cursor:pointer;font-size:14px;padding:4px 8px;line-height:1;align-self:flex-start}
.trip-filters{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:1rem}
.trip-filter{background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:.4rem .85rem;font-size:.85rem;font-weight:500;cursor:pointer;color:var(--ink)}
.trip-filter-on{background:#0891b2;color:#fff;border-color:#0891b2}
.trip-filter-n{font-size:.78rem;opacity:.7;font-weight:700}
.trip-bulkbar{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;background:#0891b212;border:1px solid #0891b240;border-radius:12px;padding:.6rem .9rem;margin-bottom:1rem;font-size:.86rem}
.trip-bulkbar>span{font-weight:600;color:#0e7490}
.trip-bulkbar button{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:.35rem .7rem;font-size:.82rem;font-weight:600;cursor:pointer;color:var(--ink)}
.trip-bulk-del{color:#dc2626 !important;border-color:#dc262640 !important}
.trip-bulk-clear{margin-left:auto;opacity:.7}
.trip-select{width:18px;height:18px;accent-color:#0891b2;flex:none;align-self:center;margin-right:.2rem}
/* Saved-trip itinerary viewer */
.tv-wrap{max-width:760px;margin:0 auto;padding:var(--s5) var(--s4) var(--s8)}
.tv-back{display:inline-block;margin-bottom:1rem;color:#0891b2;font-weight:600;text-decoration:none;font-size:.9rem}
.tv-title{font-family:Poppins,sans-serif;font-size:1.6rem;margin:0 0 .25rem}
.tv-summary{margin:0 0 .6rem}
.tv-meta{display:flex;flex-wrap:wrap;gap:.85rem;font-size:.85rem;color:var(--muted);margin-bottom:1.5rem;align-items:center}
.tv-status{background:#0891b218;color:#0e7490;border:1px solid #0891b240;border-radius:999px;padding:.15rem .6rem;font-weight:600;text-transform:capitalize}
.tv-empty{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:1.5rem;color:var(--muted)}
.tv-days{display:flex;flex-direction:column;gap:1rem}
.tv-day{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:1.25rem}
.tv-day-head{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin-bottom:.85rem}
.tv-day-num{background:#0891b2;color:#fff;font-size:.78rem;font-weight:700;padding:.2rem .6rem;border-radius:999px}
.tv-day-theme{font-size:.82rem;color:var(--muted)}
.tv-slots{display:flex;flex-direction:column;gap:.55rem;margin-bottom:.6rem}
.tv-slot{display:flex;gap:.7rem;align-items:flex-start;background:var(--bg,#f8fafc);border:1px solid var(--line);border-radius:10px;padding:.6rem .8rem}
.tv-slot-ico{font-size:1.1rem;line-height:1.4}
.tv-slot-body{display:flex;flex-direction:column;gap:.1rem}
.tv-slot-label{font-size:.74rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}
.tv-slot-act{font-size:.92rem}
.tv-slot-cost{font-size:.8rem;color:var(--muted)}
.tv-overnight{font-size:.85rem;color:var(--muted);margin-bottom:.7rem}
.tv-note{display:flex;flex-direction:column;gap:.3rem;font-size:.82rem;font-weight:600;color:var(--muted)}
.tv-note textarea{border:1px solid var(--line);border-radius:10px;padding:.6rem .75rem;font:inherit;font-size:.9rem;background:var(--surface);color:var(--ink);resize:vertical}
.tv-savebar{position:sticky;bottom:0;display:flex;align-items:center;gap:.85rem;padding:1rem 0;background:linear-gradient(to top,var(--bg,#fff) 60%,transparent)}
.tv-save{background:#0891b2;color:#fff;border:0;border-radius:10px;padding:.7rem 1.3rem;font-weight:600;cursor:pointer}
.tv-save:disabled{opacity:.5;cursor:default}
.tv-savemsg{font-size:.85rem;color:#0e7490;font-weight:600}
/* Floating + Add menu (trip page) */
.fab-add{position:fixed;right:1.25rem;bottom:5rem;z-index:50}
.fab-add-btn{list-style:none;width:3.4rem;height:3.4rem;border-radius:50%;background:#0891b2;color:#fff;font-size:1.7rem;font-weight:300;display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 20px rgba(8,145,178,.45)}
.fab-add-btn::-webkit-details-marker{display:none}
.fab-add[open] .fab-add-btn{transform:rotate(45deg)}
.fab-add-menu{position:absolute;right:.3rem;bottom:4rem;display:flex;flex-direction:column;gap:.4rem;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:.6rem;box-shadow:0 10px 30px rgba(0,0,0,.18);min-width:140px}
.fab-add-menu a{padding:.5rem .7rem;border-radius:8px;text-decoration:none;color:var(--ink);font-size:.9rem;font-weight:500}
.fab-add-menu a:hover{background:var(--bg,#f1f5f9)}
/* Expense split */
.exp-split{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem;margin:.75rem 0;font-size:.85rem;color:var(--muted)}
.exp-split label{display:flex;align-items:center;gap:.5rem;font-weight:600}
.exp-split-step{display:flex;align-items:center;gap:.4rem}
.exp-split-step button{width:1.7rem;height:1.7rem;border:1px solid var(--line);background:var(--surface);border-radius:7px;cursor:pointer;color:var(--ink)}
.exp-split-each{font-weight:700;color:#0e7490;font-size:1rem}
/* Eco toggle (activities) */
.eco-toggle{display:inline-block;margin:.5rem 0;background:#f0fdf4;color:#15803d;border:1px solid #bbf7d0;border-radius:999px;padding:.45rem 1rem;font-size:.86rem;font-weight:600;text-decoration:none}
.eco-toggle-on{background:#dcfce7;border-color:#86efac}
html[data-theme=dark] .eco-toggle{background:#052e1a;color:#6ee7b7;border-color:#065f46}
/* Support + traveller pages */
.hlp-wrap{max-width:680px;margin:0 auto;padding:var(--s5) var(--s4) var(--s8)}
.hlp-wrap h1{font-family:Poppins,sans-serif;font-size:1.5rem;margin:0 0 .25rem}
.hlp-form,.trv-form{display:flex;flex-direction:column;gap:.7rem;margin:1.25rem 0 2rem}
.hlp-form input,.hlp-form textarea,.trv-field input{border:1px solid var(--line);border-radius:10px;padding:.7rem .8rem;font:inherit;font-size:.92rem;background:var(--surface);color:var(--ink)}
.hlp-form button,.trv-form button{align-self:flex-start;background:#0891b2;color:#fff;border:0;border-radius:10px;padding:.7rem 1.3rem;font-weight:600;cursor:pointer}
.hlp-msg{font-size:.85rem;color:#0e7490;font-weight:600}
.hlp-h2{font-size:1.1rem;margin:0 0 .8rem}
.hlp-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.7rem}
.hlp-ticket{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:.9rem 1rem}
.hlp-ticket-head{display:flex;justify-content:space-between;align-items:center;gap:.6rem;margin-bottom:.35rem}
.hlp-status{font-size:.72rem;font-weight:700;text-transform:uppercase;padding:.15rem .5rem;border-radius:999px}
.hlp-open{background:#fef3c7;color:#92400e}
.hlp-answered{background:#dcfce7;color:#15803d}
.hlp-closed{background:#e2e8f0;color:#475569}
.hlp-body{font-size:.9rem;margin:0;color:var(--muted)}
.hlp-reply{margin-top:.6rem;font-size:.9rem;background:#ecfeff;border:1px solid #a5f3fc;border-radius:8px;padding:.6rem .75rem}
.trv-field{display:flex;flex-direction:column;gap:.3rem;font-size:.82rem;font-weight:600;color:var(--muted)}
/* Trip bundling suggestions */
.trip-suggest{background:#fffbeb;border:1px solid #fde68a;border-radius:12px;padding:.85rem 1rem;margin-top:1rem;font-size:.88rem}
.trip-suggest a{color:#b45309;font-weight:600;text-decoration:none}
html[data-theme=dark] .hlp-reply{background:#083344;border-color:#155e75}
html[data-theme=dark] .trip-suggest{background:#422006;border-color:#78581f}
/* Place notes & photos */
.pn-wrap{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:1.25rem 1.4rem}
.pn-h{font-size:1.1rem;margin:0 0 .9rem}
.pn-form{display:flex;flex-direction:column;gap:.6rem;margin-bottom:1rem}
.pn-form textarea{border:1px solid var(--line);border-radius:10px;padding:.6rem .75rem;font:inherit;font-size:.92rem;background:var(--bg,#f8fafc);color:var(--ink);resize:vertical}
.pn-actions{display:flex;align-items:center;gap:.7rem}
.pn-photo-btn{background:var(--bg,#f1f5f9);border:1px solid var(--line);border-radius:9px;padding:.5rem .8rem;font-size:.85rem;font-weight:600;cursor:pointer}
.pn-preview{width:44px;height:44px;object-fit:cover;border-radius:8px}
.pn-actions button{margin-left:auto;background:#0891b2;color:#fff;border:0;border-radius:9px;padding:.55rem 1.1rem;font-weight:600;cursor:pointer}
.pn-actions button:disabled{opacity:.5;cursor:default}
.pn-empty{font-size:.88rem}
.pn-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.7rem}
.pn-note{position:relative;background:var(--bg,#f8fafc);border:1px solid var(--line);border-radius:10px;padding:.7rem;overflow:hidden}
.pn-note-img{width:100%;border-radius:8px;margin-bottom:.4rem;display:block}
.pn-note-body{font-size:.86rem;margin:0;line-height:1.45}
.pn-del{position:absolute;top:.3rem;right:.3rem;background:rgba(255,255,255,.9);border:1px solid var(--line);border-radius:6px;width:1.5rem;height:1.5rem;cursor:pointer;font-size:.75rem;color:#dc2626}
/* Global search */
.nav-search{display:flex;align-items:center;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);border-radius:999px;overflow:hidden;height:2.1rem}
.nav-search input{background:transparent;border:0;color:inherit;padding:0 .6rem;font-size:.85rem;width:8.5rem;outline:none}
.nav-search input::placeholder{color:rgba(255,255,255,.6)}
.nav-search button{background:transparent;border:0;cursor:pointer;font-size:.85rem;padding:0 .55rem}
.nav-sticky-wrap.scrolled .nav-search{background:var(--bg,#f1f5f9);border-color:var(--line)}
.nav-sticky-wrap.scrolled .nav-search input,.nav-sticky-wrap.scrolled .nav-search input::placeholder{color:var(--ink)}
@media (max-width:900px){.nav-search{display:none}}
/* Search results page */
.srch-form{display:flex;gap:.6rem;max-width:560px}
.srch-form input{flex:1;border:1px solid var(--line);border-radius:10px;padding:.7rem .9rem;font-size:1rem;background:var(--surface);color:var(--ink)}
.srch-form button{background:#0891b2;color:#fff;border:0;border-radius:10px;padding:.7rem 1.3rem;font-weight:600;cursor:pointer}
.srch-count{margin:1.25rem 0 .5rem}
.srch-sec{margin-bottom:1.5rem}
.srch-sec h2{font-size:1.05rem;margin:0 0 .7rem}
.srch-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:.7rem}
.srch-card{display:flex;flex-direction:column;gap:.2rem;padding:.7rem .85rem;background:var(--surface);border:1px solid var(--line);border-radius:12px;text-decoration:none;color:inherit}
.srch-card:hover{border-color:#0891b2}
.srch-card span{font-size:.82rem;color:var(--muted)}
/* Document vault */
.doc-form{display:flex;flex-wrap:wrap;gap:.6rem;margin:1.25rem 0 1.75rem;align-items:center}
.doc-form input[type=text],.doc-form input:not([type]){flex:1;min-width:160px}
.doc-form input,.doc-form select{border:1px solid var(--line);border-radius:10px;padding:.6rem .75rem;font:inherit;background:var(--surface);color:var(--ink)}
.doc-file{background:var(--bg,#f1f5f9);border:1px solid var(--line);border-radius:10px;padding:.6rem .9rem;font-size:.88rem;font-weight:600;cursor:pointer}
.doc-form button[type=submit]{background:#0891b2;color:#fff;border:0;border-radius:10px;padding:.6rem 1.2rem;font-weight:600;cursor:pointer}
.doc-form button:disabled{opacity:.5;cursor:default}
.doc-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}
.doc-item{display:flex;align-items:center;gap:.7rem;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:.6rem .9rem}
.doc-ico{font-size:1.2rem}
.doc-open{flex:1;text-align:left;background:none;border:0;color:#0e7490;font-weight:600;font-size:.92rem;cursor:pointer}
.doc-kind{font-size:.78rem;color:var(--muted)}
.doc-del{background:none;border:0;color:#dc2626;cursor:pointer;font-size:.9rem}
/* Season strip (homepage) */
.ss-strip{display:flex;align-items:center;gap:.85rem;flex-wrap:wrap;max-width:var(--maxw);margin:0 auto;padding:.7rem var(--s5)}
.ss-strip-label{font-size:.88rem;font-weight:600;color:var(--muted)}
.ss-strip-pills{display:flex;gap:.45rem;flex-wrap:wrap}
.ss-strip-pill{background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:.35rem .85rem;font-size:.85rem;font-weight:600;text-decoration:none;color:var(--ink)}
.ss-strip-pill:hover{border-color:#0891b2;color:#0e7490}
/* Auto-rebook storm alert */
.rebook-alert{background:#fef2f2;border:1px solid #fecaca;border-radius:12px;padding:.85rem 1.1rem;margin-bottom:1.25rem;font-size:.9rem;line-height:1.5;color:#991b1b}
.rebook-alert a{color:#0e7490;font-weight:600;white-space:nowrap}
html[data-theme=dark] .rebook-alert{background:#3b0d0d;border-color:#7f1d1d;color:#fca5a5}
/* Bundle pricing */
.pk-bundle{color:#15803d;font-weight:600}
.pk-bundle-hint{font-size:.82rem;color:#b45309;margin:.3rem 0 0}
/* Print guide */
.print-guide{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:.45rem .9rem;font-size:.85rem;font-weight:600;cursor:pointer;color:var(--ink);margin-bottom:1rem}
.print-guide:hover{border-color:#0891b2;color:#0e7490}
@media print{
  nav,.nav-sticky-wrap,footer,.mobile-bottom-nav,.print-guide,.post-back-link,.theme-toggle,.fab-add,.install-prompt,.exit-intent,.cookie-consent{display:none !important}
  body{background:#fff !important;color:#000 !important}
  .post-body{font-size:12pt;line-height:1.6}
  a{color:#000 !important;text-decoration:underline}
}
/* Filipino phrases */
.phr-groups{display:flex;flex-direction:column;gap:1.5rem}
.phr-group-title{font-size:1.1rem;margin:0 0 .6rem}
.phr-table{width:100%;border-collapse:collapse;background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.phr-table th,.phr-table td{padding:.6rem .85rem;text-align:left;font-size:.92rem;border-bottom:1px solid var(--line)}
.phr-table th{background:var(--bg,#f8fafc);font-size:.78rem;text-transform:uppercase;letter-spacing:.03em;color:var(--muted)}
.phr-table tr:last-child td{border-bottom:0}
.phr-table td:first-child{font-weight:600}
/* Community tips */
.ct-wrap{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:1.25rem 1.4rem}
.ct-h{font-size:1.1rem;margin:0 0 .2rem}
.ct-sub{font-size:.88rem;color:var(--muted);margin:0 0 1rem}
.ct-empty{color:var(--muted);font-size:.9rem}
.ct-list{list-style:none;margin:0 0 1.25rem;padding:0;display:flex;flex-direction:column;gap:.7rem}
.ct-tip{background:var(--bg,#f8fafc);border:1px solid var(--line);border-radius:12px;padding:.8rem .95rem}
.ct-body{margin:0 0 .5rem;font-size:.92rem;line-height:1.5}
.ct-meta{display:flex;justify-content:space-between;align-items:center;font-size:.8rem;color:var(--muted)}
.ct-helpful{background:none;border:1px solid var(--line);border-radius:999px;padding:.25rem .65rem;font-size:.78rem;cursor:pointer;color:var(--ink)}
.ct-voted{background:#ecfdf5;color:#047857;border-color:#a7f3d0;cursor:default}
.ct-form{display:flex;flex-direction:column;gap:.5rem}
.ct-author,.ct-body-input{border:1px solid var(--line);border-radius:10px;padding:.6rem .75rem;font:inherit;font-size:.9rem;background:var(--surface);color:var(--ink)}
.ct-post{align-self:flex-start;background:#0891b2;color:#fff;border:0;border-radius:10px;padding:.55rem 1.1rem;font-weight:600;cursor:pointer}
.ct-post:disabled{opacity:.5;cursor:default}
/* Compare */
.cmp-btn{position:absolute;top:.5rem;left:.5rem;z-index:2;width:2rem;height:2rem;border-radius:50%;background:rgba(255,255,255,.92);border:1px solid var(--line);font-size:1rem;cursor:pointer;display:grid;place-items:center;color:#0e7490}
.cmp-btn.cmp-on,.rb-card .cmp-on{background:#0891b2;color:#fff;border-color:#0891b2}
.cmp-tray{position:fixed;left:50%;transform:translateX(-50%);bottom:1.25rem;z-index:60;display:flex;align-items:center;gap:.85rem;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:.5rem .5rem .5rem 1.1rem;box-shadow:0 10px 30px rgba(0,0,0,.2);max-width:90vw}
.cmp-tray-count{font-weight:700;font-size:.85rem;color:#0e7490;white-space:nowrap}
.cmp-tray-names{font-size:.82rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:36vw}
.cmp-tray-go{background:#0891b2;color:#fff;border-radius:999px;padding:.5rem 1.1rem;font-weight:600;font-size:.88rem;text-decoration:none;white-space:nowrap}
.cmp-tray-clear{background:none;border:0;color:var(--muted);font-size:1rem;cursor:pointer;padding:0 .4rem}
/* Compare page */
.cmp-scroll{overflow-x:auto}
.cmp-table{border-collapse:collapse;min-width:100%;background:var(--surface)}
.cmp-table th,.cmp-table td{border:1px solid var(--line);padding:.7rem .85rem;text-align:left;font-size:.9rem;vertical-align:top}
.cmp-head{display:flex;flex-direction:column;gap:.3rem;text-decoration:none;color:inherit;min-width:160px}
.cmp-img{height:90px;border-radius:8px;background-size:cover;background-position:center}
.cmp-loc{font-size:.8rem;color:var(--muted)}
.cmp-label{font-weight:600;background:var(--bg,#f8fafc);white-space:nowrap}
.cmp-price{font-weight:700;color:#0e7490}
.cmp-cta{color:#0891b2;font-weight:600;text-decoration:none}
/* Quick view */
.qv-btn{position:absolute;bottom:.5rem;right:.5rem;z-index:2;background:rgba(255,255,255,.92);border:1px solid var(--line);border-radius:8px;padding:.25rem .55rem;font-size:.74rem;font-weight:600;cursor:pointer;color:#0e7490}
.qv-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:100;display:flex;align-items:center;justify-content:center;padding:1rem}
.qv-modal{background:var(--surface);border-radius:16px;max-width:460px;width:100%;max-height:88vh;overflow:auto;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.qv-img{height:200px;background-size:cover;background-position:center;border-radius:16px 16px 0 0}
.qv-body{padding:1.25rem}
.qv-title{font-size:1.2rem;margin:0 0 .3rem}
.qv-loc{color:var(--muted);font-size:.88rem;margin:0 0 .75rem}
.qv-desc{font-size:.92rem;line-height:1.55;margin:0 0 1rem}
.qv-row{display:flex;justify-content:space-between;font-size:.88rem;padding:.35rem 0;border-bottom:1px solid var(--line)}
.qv-actions{display:flex;gap:.6rem;margin-top:1rem}
.qv-view{flex:1;background:#0891b2;color:#fff;border:0;border-radius:10px;padding:.7rem;font-weight:600;text-align:center;text-decoration:none}
.qv-close{background:var(--bg,#f1f5f9);border:1px solid var(--line);border-radius:10px;padding:.7rem 1rem;cursor:pointer;color:var(--ink)}
/* Trip split & share */
.trip-split{margin-top:10px;display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;background:var(--bg,#f8fafc);border:1px solid var(--line);border-radius:12px;padding:.6rem .8rem;font-size:.85rem}
.trip-split>span:first-child{color:var(--muted);font-weight:600}
.trip-split-step{display:flex;align-items:center;gap:.4rem}
.trip-split-step button{width:1.7rem;height:1.7rem;border:1px solid var(--line);background:var(--surface);border-radius:7px;cursor:pointer;color:var(--ink)}
.trip-split-go{margin-left:auto;background:#25d366;color:#fff;border:0;border-radius:9px;padding:.5rem .85rem;font-weight:600;cursor:pointer;font-size:.82rem}
/* Local Expert */
.le-wrap{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:1.4rem}
.le-h{font-size:1.15rem;margin:0 0 .25rem}
.le-sub{color:var(--muted);font-size:.88rem;margin:0 0 1rem}
.le-search{width:100%;border:1px solid var(--line);border-radius:10px;padding:.7rem .85rem;font-size:.95rem;background:var(--bg,#f8fafc);color:var(--ink);margin-bottom:1rem}
.le-empty{font-size:.9rem}
.le-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}
.le-item{border:1px solid var(--line);border-radius:12px;overflow:hidden}
.le-q{width:100%;text-align:left;background:var(--bg,#f8fafc);border:0;padding:.8rem .95rem;font-size:.92rem;font-weight:600;cursor:pointer;color:var(--ink);display:flex;justify-content:space-between;align-items:center;gap:.6rem}
.le-caret{color:var(--muted);font-size:1.1rem}
.le-a{margin:0;padding:.85rem .95rem;font-size:.9rem;line-height:1.55;color:var(--muted)}
/* Ferry sea state */
.fss-wrap{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:1.25rem;margin-bottom:2rem}
.fss-h{font-size:1.05rem;margin:0 0 .9rem}
.fss-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.6rem}
.fss-card{display:flex;flex-direction:column;gap:.2rem;background:var(--bg,#f8fafc);border:1px solid var(--line);border-left-width:4px;border-radius:10px;padding:.6rem .8rem}
.fss-route{font-weight:600;font-size:.9rem}
.fss-state{font-size:.85rem;font-weight:600}
.fss-note{font-size:.8rem;color:var(--muted);margin:.85rem 0 0}
/* Best-time hint */
.bth{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:.6rem .85rem;margin:.6rem 0 0;font-size:.86rem;color:#92400e}
.bth a{color:#b45309;font-weight:600;white-space:nowrap}
html[data-theme=dark] .bth{background:#422006;border-color:#78581f;color:#fcd34d}
/* Trip QR */
.trip-qr{display:flex;flex-direction:column;align-items:center;gap:.5rem;margin-top:10px;padding:1rem;background:var(--bg,#f8fafc);border:1px solid var(--line);border-radius:12px}
.trip-qr img{border-radius:8px;background:#fff;padding:6px}
.trip-qr span{font-size:.78rem;text-align:center}
/* Account dropdown (navbar) */
.acct-signin{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:.4rem .95rem;font-size:.85rem;font-weight:600;color:inherit;text-decoration:none;white-space:nowrap}
.nav-sticky-wrap.scrolled .acct-signin{background:var(--bg,#f1f5f9);border-color:var(--line);color:var(--ink)}
.acct-dd{position:relative}
.acct-btn{display:flex;align-items:center;gap:.25rem;background:transparent;border:0;cursor:pointer;padding:.2rem;color:inherit}
.acct-avatar{width:2rem;height:2rem;border-radius:50%;background:#0891b2;color:#fff;font-weight:700;display:grid;place-items:center;font-size:.9rem}
.acct-caret{font-size:.7rem;opacity:.7}
.acct-menu{position:absolute;right:0;top:calc(100% + .5rem);background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 36px rgba(0,0,0,.18);min-width:220px;padding:.5rem;display:flex;flex-direction:column;z-index:80}
.acct-email{font-size:.74rem;color:var(--muted);padding:.4rem .7rem .55rem;border-bottom:1px solid var(--line);margin-bottom:.3rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acct-menu a{padding:.5rem .7rem;border-radius:8px;text-decoration:none;color:var(--ink);font-size:.9rem}
.acct-menu a:hover{background:var(--bg,#f1f5f9)}
.acct-out{margin-top:.3rem;border-top:1px solid var(--line);background:none;border-left:0;border-right:0;border-bottom:0;text-align:left;padding:.6rem .7rem .35rem;font-size:.88rem;color:#dc2626;cursor:pointer}
/* Dark-mode fixes for hardcoded-light cards (audit 2026-06) */
html[data-theme=dark] .card,html[data-theme=dark] .why-card,html[data-theme=dark] .stay-card{background:rgba(30,41,59,.92);border-color:rgba(148,163,184,.25)}
html[data-theme=dark] .td-gallery{background:#1e293b}
html[data-theme=dark] .td-feature{background:#1e293b;border-color:#334155}
/* Mobile tap targets — ensure key controls meet the 40px minimum (audit 2026-06) */
@media (max-width:768px){
  .listing-sidebar-close{min-width:40px;min-height:40px;align-items:center;justify-content:center}
  .dest-chip,.listing-filter-chip{min-height:40px;display:inline-flex;align-items:center}
  .rb-card-btn{min-height:40px;display:inline-flex;align-items:center;justify-content:center}
  .rv-star{min-width:40px;min-height:40px;font-size:2rem;display:inline-flex;align-items:center;justify-content:center;padding:0}
}
/* Upcoming trips carousel */
.uc-carousel{display:flex;gap:1rem;overflow-x:auto;padding:.25rem .1rem .75rem;scroll-snap-type:x mandatory}
.uc-card{flex:0 0 240px;scroll-snap-align:start;background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden;text-decoration:none;color:inherit;transition:.15s}
.uc-card:hover{box-shadow:0 6px 20px rgba(0,0,0,.1)}
.uc-img{height:130px;background-size:cover;background-position:center;position:relative}
.uc-countdown{position:absolute;top:.6rem;right:.6rem;background:rgba(8,145,178,.95);color:#fff;font-size:.74rem;font-weight:700;padding:.25rem .6rem;border-radius:999px}
.uc-body{padding:.75rem .85rem;display:flex;flex-direction:column;gap:.2rem}
.uc-name{font-size:.92rem;line-height:1.3}
.uc-date{font-size:.8rem;color:var(--muted)}
/* Sustainability heuristic chip */
.eco-chip{font-weight:600;cursor:help}
.eco-green{background:#ecfdf5 !important;color:#047857 !important;border:1px solid #a7f3d0 !important}
.eco-amber{background:#f0fdf4 !important;color:#15803d !important;border:1px solid #bbf7d0 !important}
html[data-theme=dark] .eco-green,html[data-theme=dark] .eco-amber{background:#052e1a !important;color:#6ee7b7 !important;border-color:#065f46 !important}
.account-trip-history{font-size:.78rem;font-weight:600;color:#6d28d9;background:#6d28d912;border:1px solid #6d28d933;border-radius:8px;padding:.3rem .55rem;cursor:pointer;white-space:nowrap;align-self:center}
.account-trip-history:hover{background:#6d28d922}
.account-trip-versions{padding:.6rem .85rem;background:var(--bg,#f8fafc);border:1px solid var(--line);border-top:0;border-radius:0 0 10px 10px}
.atv-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.4rem}
.atv-item{display:flex;align-items:center;gap:.6rem;font-size:.82rem}
.atv-meta{flex:1;color:var(--muted)}
.atv-restore{font-size:.78rem;font-weight:600;color:#0e7490;background:#0891b212;border:1px solid #0891b233;border-radius:8px;padding:.25rem .6rem;cursor:pointer}
.atv-restore:hover{background:#0891b222}
.account-trip-ical{font-size:.78rem;font-weight:600;color:#0e7490;background:#0891b212;border:1px solid #0891b233;border-radius:8px;padding:.3rem .55rem;text-decoration:none;white-space:nowrap;align-self:center}
.account-trip-ical:hover{background:#0891b222}
.account-trip-del:hover{color:#ef4444}

/* ===== Quick-view + Compare ===== */
.cq-actions{position:absolute;left:8px;bottom:8px;display:flex;gap:6px;opacity:0;transition:opacity .15s;z-index:4}
.rb-card-img-wrap:hover .cq-actions,.card-img-wrap:hover .cq-actions,.cq-actions:hover{opacity:1}
.cq-btn{background:rgba(255,255,255,.95);border:none;border-radius:8px;font-size:.72rem;font-weight:700;color:#0e7490;padding:5px 9px;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.18)}
.cq-btn:hover{background:#ecfeff}
@media (hover:none){.cq-actions{opacity:1}}
/* Modal */
.cq-overlay{position:fixed;inset:0;background:rgba(15,23,42,.55);display:flex;align-items:center;justify-content:center;z-index:9999;padding:16px;backdrop-filter:blur(2px)}
.cq-modal{background:#fff;border-radius:18px;max-width:460px;width:100%;max-height:90vh;overflow:auto;position:relative;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.cq-close{position:absolute;top:10px;right:10px;z-index:2;width:34px;height:34px;border-radius:50%;border:none;background:rgba(255,255,255,.9);font-size:15px;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.cq-img{width:100%;height:200px;object-fit:cover;display:block}
.cq-body{padding:1.25rem}
.cq-kind{font-size:11px;font-weight:700;text-transform:uppercase;color:#0891b2;letter-spacing:.04em}
.cq-title{font-family:Poppins,sans-serif;font-size:1.2rem;font-weight:800;color:#103a4a;margin:.25rem 0 .4rem}
.cq-loc{color:#64748b;font-size:.88rem;margin:0 0 .6rem}
.cq-desc{color:#475569;font-size:.88rem;line-height:1.55;margin:0 0 .75rem}
.cq-amen{list-style:none;padding:0;margin:0 0 1rem;display:flex;flex-wrap:wrap;gap:6px}
.cq-amen li{background:#f1f5f9;color:#475569;font-size:.76rem;padding:3px 10px;border-radius:999px}
.cq-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #eef2f7;padding-top:.9rem}
.cq-price{font-weight:800;font-size:1.15rem;color:#0a7d4b}
.cq-price small{font-weight:500;color:#94a3b8;font-size:.72rem}
.cq-view-btn{background:linear-gradient(135deg,#0891b2,#0e7490);color:#fff;font-weight:700;font-size:.85rem;padding:9px 16px;border-radius:10px;text-decoration:none;white-space:nowrap}
.cq-muted{color:#94a3b8}
/* Compare tray */
#cq-tray{position:fixed;left:50%;transform:translateX(-50%);bottom:18px;z-index:9998;background:#0a1628;color:#fff;border-radius:14px;padding:10px 14px;display:flex;align-items:center;gap:14px;box-shadow:0 10px 30px rgba(0,0,0,.35);max-width:94vw}
.cq-tray-items{display:flex;gap:8px;flex-wrap:wrap}
.cq-tray-chip{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.12);font-size:.78rem;padding:4px 8px;border-radius:8px}
.cq-tray-chip button{background:none;border:none;color:#fca5a5;cursor:pointer;font-size:.85rem;padding:0}
.cq-tray-go{background:#0891b2;border:none;color:#fff;font-weight:700;font-size:.82rem;padding:8px 14px;border-radius:10px;cursor:pointer;white-space:nowrap}
/* Compare table */
.cq-compare-modal{max-width:760px}
.cq-compare-scroll{overflow-x:auto;padding:1rem 1.25rem 1.25rem}
.cq-compare-table{border-collapse:collapse;width:100%;min-width:480px}
.cq-compare-table th,.cq-compare-table td{padding:10px;border-bottom:1px solid #eef2f7;text-align:center;font-size:.85rem;color:#334155;vertical-align:middle}
.cq-cmp-label{text-align:left!important;font-weight:700;color:#64748b;white-space:nowrap}
.cq-cmp-head{display:flex;flex-direction:column;align-items:center;gap:6px}
.cq-cmp-head img{width:70px;height:52px;object-fit:cover;border-radius:8px}
.cq-cmp-head a{font-weight:700;color:#103a4a;font-size:.8rem;text-decoration:none;line-height:1.2}

/* ===== Plan editor (Stage E): drag-drop, budget, map ===== */
#pe-toolbar{background:#fff;border:1px solid #e8eef0;border-radius:16px;padding:1rem 1.25rem;margin-bottom:1.25rem;box-shadow:0 2px 10px rgba(16,58,74,.05)}
.pe-budget-head{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px}
.pe-budget-total{font-family:Poppins,sans-serif;font-size:1.5rem;font-weight:800;color:#0a7d4b}
.pe-budget-cap{font-size:.85rem;color:#94a3b8}
.pe-budget-days{font-size:.85rem;font-weight:700;color:#64748b}
.pe-budget-track{height:8px;background:#eef2f7;border-radius:99px;overflow:hidden;margin:.6rem 0}
.pe-budget-fill{height:100%;width:0;background:#10b981;border-radius:99px;transition:width .3s,background .3s}
.pe-budget-alert{color:#b91c1c;font-size:.85rem;font-weight:700;margin-top:.4rem}
.pe-actions{display:flex;align-items:center;gap:10px;margin-top:.9rem;flex-wrap:wrap}
.pe-tool-btn{background:#0a1628;color:#fff;border:none;border-radius:10px;font-weight:700;font-size:.85rem;padding:8px 14px;cursor:pointer}
.pe-tool-btn:hover{filter:brightness(1.15)}
.pe-hint{font-size:.78rem;color:#94a3b8}
#pe-map{height:340px;border-radius:14px;overflow:hidden;margin-top:1rem;border:1px solid #e8eef0}
/* day-card editor affordances */
.day-card[draggable=true]{cursor:default}
.day-card.pe-dragging{opacity:.5;outline:2px dashed #0891b2}
.pe-day-tools{display:inline-flex;align-items:center;gap:8px;margin-left:auto}
.pe-grip{cursor:grab;color:#94a3b8;font-size:1.1rem;user-select:none}
.pe-grip:active{cursor:grabbing}
.pe-day-del{background:none;border:none;color:#cbd5e1;cursor:pointer;font-size:.95rem;line-height:1;padding:2px 6px}
.pe-day-del:hover{color:#ef4444}
@media print{#pe-toolbar,.pe-day-tools{display:none!important}}

/* Referral box (wallet page) */
.referral-box{background:linear-gradient(135deg,#ecfeff,#f0fdfa);border:1px solid #a5f3fc;border-radius:14px;padding:1.25rem}
.referral-link-row{display:flex;gap:8px;margin:.75rem 0 1rem;flex-wrap:wrap}
.referral-link-input{flex:1;min-width:200px;padding:.7rem .9rem;border:1px solid #cbd5e1;border-radius:10px;font-size:.9rem;background:#fff;color:#0f172a}
.referral-copy{white-space:nowrap}
.referral-stats{display:flex;gap:24px}
.referral-stats div{display:flex;flex-direction:column}
.referral-stats strong{font-family:Poppins,sans-serif;font-size:1.4rem;font-weight:800;color:#0e7490}
.referral-stats span{font-size:.78rem;color:#64748b}

/* PWA install prompt */
.pwa-install{position:fixed;left:50%;transform:translateX(-50%);bottom:16px;z-index:9997;display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:12px 14px;box-shadow:0 12px 34px rgba(15,23,42,.22);max-width:440px;width:calc(100% - 32px)}
.pwa-install-icon{border-radius:10px;flex-shrink:0}
.pwa-install-body{flex:1;min-width:0;font-size:.85rem;color:#475569;line-height:1.35}
.pwa-install-body strong{display:block;color:#0f172a;font-size:.95rem}
.pwa-install-btn{background:linear-gradient(135deg,#0891b2,#0e7490);color:#fff;border:none;font-weight:700;font-size:.85rem;padding:9px 16px;border-radius:10px;cursor:pointer;white-space:nowrap}
.pwa-install-btn:hover{filter:brightness(1.08)}
.pwa-install-close{background:none;border:none;color:#cbd5e1;cursor:pointer;font-size:14px;padding:4px 6px;line-height:1}
.pwa-install-close:hover{color:#64748b}
@media(max-width:520px){.pwa-install{bottom:74px}}

/* Loyalty card (account dashboard) */
.loyalty-card{border-radius:18px;padding:1.4rem 1.5rem;margin-bottom:var(--s5);color:#fff;box-shadow:0 8px 24px rgba(15,23,42,.15)}
.loyalty-bronze{background:linear-gradient(135deg,#9a6a3c,#c08a52)}
.loyalty-silver{background:linear-gradient(135deg,#6b7280,#9ca3af)}
.loyalty-gold{background:linear-gradient(135deg,#b8860b,#e3b84a)}
.loyalty-platinum{background:linear-gradient(135deg,#1e293b,#475569)}
.loyalty-top{display:flex;justify-content:space-between;align-items:flex-start}
.loyalty-tier-name{display:block;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;opacity:.85}
.loyalty-points{display:block;font-family:Poppins,sans-serif;font-size:1.8rem;font-weight:800;line-height:1.1;margin-top:2px}
.loyalty-badge{font-size:2rem}
.loyalty-bar{height:8px;background:rgba(255,255,255,.25);border-radius:99px;overflow:hidden;margin:1rem 0 .4rem}
.loyalty-bar-fill{height:100%;background:#fff;border-radius:99px;transition:width .4s}
.loyalty-next{font-size:.85rem;opacity:.9;margin:0 0 .8rem}
.loyalty-perks{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:6px 16px}
.loyalty-perks li{font-size:.82rem;opacity:.95}

/* ===== Dark mode (Stage S) ===== */
/* Overrides only the neutral surface/text tokens — brand colors (navy hero,
   gold) stay intentional. Applied when <html data-theme="dark">. */
html[data-theme="dark"]{
  --bg:#0f172a;
  --cream:#0f172a;
  --cream-warm:#111c33;
  --surface:#1e293b;
  --surface-light:#243449;
  --ink:#f1f5f9;
  --body:#cbd5e1;
  --muted:#94a3b8;
  --line:#334155;
  --border:#334155;
  --sand:#0f172a;
  color-scheme:dark;
}
html[data-theme="dark"] body{background:var(--bg);color:var(--body)}
/* Common surfaces that hardcode white/near-white -> follow surface var */
html[data-theme="dark"] .rb-card,
html[data-theme="dark"] .account-section,
html[data-theme="dark"] .account-stat-card,
html[data-theme="dark"] .cq-modal,
html[data-theme="dark"] .trip-item,
html[data-theme="dark"] .trip-summary,
html[data-theme="dark"] .btv-note-card,
html[data-theme="dark"] .emg-card,
html[data-theme="dark"] .visa-tool,
html[data-theme="dark"] .rv-card,
html[data-theme="dark"] #pe-toolbar,
html[data-theme="dark"] .pwa-install,
html[data-theme="dark"] .referral-box{background:var(--surface);color:var(--body);border-color:var(--line)}
html[data-theme="dark"] .rb-card-name,
html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3{color:var(--ink)}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:var(--surface-light);color:var(--ink);border-color:var(--line)}
/* Theme toggle button */
.theme-toggle{position:fixed;right:16px;bottom:16px;z-index:9996;width:46px;height:46px;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-size:1.2rem;cursor:pointer;box-shadow:0 4px 16px rgba(15,23,42,.18);display:flex;align-items:center;justify-content:center;transition:transform .15s}
.theme-toggle:hover{transform:scale(1.08)}
@media(max-width:520px){.theme-toggle{bottom:78px;width:42px;height:42px}}
/* Mobile: stack scroll-top above the theme toggle (which clears the bottom nav). */
@media(max-width:520px){#scroll-top{bottom:128px;right:16px;width:42px;height:42px}}

/* ===== Review photos + helpful voting (Stage P) ===== */
.rv-photos{display:flex;gap:8px;flex-wrap:wrap;margin:.5rem 0 .25rem}
.rv-photo{display:block;width:84px;height:84px;border-radius:10px;overflow:hidden;border:1px solid var(--line)}
.rv-photo img{width:100%;height:100%;object-fit:cover}
.rv-card-foot{margin-top:.6rem}
.rv-helpful{background:none;border:1px solid var(--line);border-radius:99px;color:var(--muted);font-size:.82rem;font-weight:600;padding:5px 14px;cursor:pointer;transition:.15s}
.rv-helpful:hover{border-color:#0891b2;color:#0e7490}
.rv-helpful-voted{background:#ecfeff;border-color:#67e8f9;color:#0e7490}
/* upload */
.rv-photo-upload{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
.rv-photo-thumb{position:relative;width:72px;height:72px;border-radius:10px;overflow:hidden;border:1px solid var(--line)}
.rv-photo-thumb img{width:100%;height:100%;object-fit:cover}
.rv-photo-thumb button{position:absolute;top:2px;right:2px;width:20px;height:20px;border-radius:50%;border:none;background:rgba(0,0,0,.6);color:#fff;font-size:11px;cursor:pointer;line-height:1}
.rv-photo-add{width:72px;height:72px;border:2px dashed var(--line);border-radius:10px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--muted);font-size:.8rem;font-weight:600}
.rv-photo-add:hover{border-color:#0891b2;color:#0e7490}

/* ===== Island Route Builder (Stage Q) ===== */
.rt-grid{display:grid;grid-template-columns:1fr 380px;gap:24px;align-items:start}
.rt-builder{min-width:0}
.rt-templates{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:1.25rem}
.rt-templates-label{font-size:.82rem;font-weight:700;color:#64748b}
.rt-template-chip{background:#ecfeff;border:1px solid #a5f3fc;color:#0e7490;font-weight:600;font-size:.82rem;padding:7px 13px;border-radius:99px;cursor:pointer}
.rt-template-chip:hover{background:#cffafe}
.rt-h2{font-family:Poppins,sans-serif;font-size:1.25rem;font-weight:800;color:var(--ink);margin:0 0 1rem;display:flex;align-items:center;gap:10px}
.rt-h2-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.6rem}
.rt-h2-row .rt-h2{margin-bottom:0}
.rt-optimise{display:flex;align-items:center;gap:.4rem}
.rt-opt-label{font-size:.82rem;color:var(--muted)}
.rt-opt-btn{background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:.35rem .8rem;font-size:.82rem;font-weight:600;cursor:pointer}
.rt-opt-btn:hover{border-color:#0891b2;color:#0891b2}
.rt-opt-msg{margin:.5rem 0 0;font-size:.86rem;color:#0e7490;background:#ecfeff;border:1px solid #a5f3fc;border-radius:10px;padding:.5rem .8rem}
.rt-sum-total{border-top:1px solid var(--line);padding-top:.5rem;margin-top:.25rem;font-weight:700}
.rt-stays{margin-top:1.5rem}
.rt-stays-h{font-size:1rem;margin:0 0 .75rem}
.rt-stays-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.6rem}
.rt-stay-item{display:flex;flex-direction:column;gap:.3rem}
.rt-stay-place{font-size:.82rem;font-weight:600;color:var(--muted)}
.rt-stay-card{display:flex;flex-direction:column;gap:.15rem;padding:.6rem .8rem;background:var(--bg,#f8fafc);border:1px solid var(--line);border-radius:10px;text-decoration:none;color:inherit}
.rt-stay-card:hover{border-color:#0891b2}
.rt-stay-name{font-size:.92rem;font-weight:500}
.rt-stay-meta{font-size:.8rem;color:var(--muted)}
.rt-stay-none{font-size:.84rem;color:var(--muted);font-style:italic}
html[data-theme=dark] .rt-opt-msg{background:#083344;border-color:#155e75;color:#67e8f9}
/* Trip ideas landing */
.ti-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:1.25rem}
.ti-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:1.5rem;display:flex;flex-direction:column;gap:.85rem}
.ti-card-top{display:flex;gap:.85rem;align-items:flex-start}
.ti-emoji{font-size:2rem;line-height:1}
.ti-title{font-family:Poppins,sans-serif;font-size:1.2rem;margin:0}
.ti-route{font-size:.84rem;color:var(--muted);margin:.2rem 0 0}
.ti-blurb{font-size:.92rem;line-height:1.55;margin:0;color:var(--ink)}
.ti-meta{display:flex;flex-wrap:wrap;gap:.85rem;font-size:.84rem;color:var(--muted)}
.ti-tags{display:flex;flex-wrap:wrap;gap:.4rem}
.ti-tag{font-size:.75rem;background:var(--bg,#f1f5f9);border:1px solid var(--line);border-radius:999px;padding:.2rem .6rem}
.ti-actions{display:flex;align-items:center;gap:1rem;margin-top:.25rem;flex-wrap:wrap}
.ti-go{background:#0891b2;color:#fff;border-radius:10px;padding:.55rem .95rem;font-weight:600;font-size:.9rem;text-decoration:none}
.ti-go:hover{background:#0e7490}
.ti-plan{font-size:.85rem;color:var(--muted)}
html[data-theme=dark] .ti-tag{background:#1e293b}
/* Build your own package */
.pk-wrap{display:flex;flex-direction:column;gap:1.5rem}
.pk-dests-label{font-size:.85rem;color:var(--muted);display:block;margin-bottom:.6rem}
.pk-dest-chips{display:flex;flex-wrap:wrap;gap:.45rem}
.pk-dest{background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:.45rem .95rem;font-size:.88rem;cursor:pointer;font-weight:500}
.pk-dest-on{background:#0891b2;color:#fff;border-color:#0891b2}
.pk-build{display:flex;flex-direction:column;gap:1.5rem}
.pk-section{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:1.25rem}
.pk-h2{font-size:1.05rem;margin:0 0 .9rem}
.pk-h2 small{color:var(--muted);font-weight:400;font-size:.82rem}
.pk-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:.6rem}
.pk-opt{display:flex;flex-direction:column;gap:.2rem;text-align:left;background:var(--bg,#f8fafc);border:1.5px solid var(--line);border-radius:12px;padding:.7rem .85rem;cursor:pointer}
.pk-opt-on{border-color:#0891b2;background:#ecfeff}
.pk-opt-name{font-size:.9rem;font-weight:600}
.pk-opt-meta{font-size:.8rem;color:var(--muted)}
.pk-summary{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:1.25rem;position:sticky;bottom:1rem}
.pk-sum-lines{display:flex;flex-direction:column;gap:.4rem;margin-bottom:.7rem}
.pk-sum-line{display:flex;justify-content:space-between;font-size:.9rem}
.pk-sum-total{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:.6rem;font-size:1.05rem;font-weight:700}
.pk-sum-note{font-size:.8rem;color:var(--muted);margin:.5rem 0 .9rem}
.pk-add{width:100%;background:#0891b2;color:#fff;border:0;border-radius:12px;padding:.85rem;font-size:1rem;font-weight:600;cursor:pointer}
.pk-add:disabled{opacity:.55;cursor:default}
.pk-view{display:inline-block;margin-top:.7rem;font-weight:600;color:#0891b2}
html[data-theme=dark] .pk-opt-on{background:#083344}
/* Ferry vs Flight comparison */
.fvf-wrap{display:flex;flex-direction:column;gap:1.25rem}
.fvf-pickers{display:flex;align-items:flex-end;gap:.85rem;flex-wrap:wrap}
.fvf-pickers label{display:flex;flex-direction:column;gap:.3rem;font-size:.82rem;color:var(--muted);font-weight:600}
.fvf-pickers select{padding:.55rem .7rem;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font-size:.92rem;min-width:160px}
.fvf-arrow{font-size:1.3rem;color:var(--muted);padding-bottom:.5rem}
.fvf-route{font-size:.9rem;color:var(--muted);margin:0}
.fvf-est-note{font-style:italic}
.fvf-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.fvf-card{background:var(--surface);border:1.5px solid var(--line);border-radius:16px;padding:1.25rem;display:flex;flex-direction:column;gap:.85rem}
.fvf-best{border-color:#0891b2;box-shadow:0 4px 18px rgba(8,145,178,.12)}
.fvf-na{opacity:.7}
.fvf-card-head{display:flex;align-items:center;gap:.55rem}
.fvf-icon{font-size:1.5rem}
.fvf-card-head h3{margin:0;font-size:1.15rem;flex:1}
.fvf-badge{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;background:#0891b2;color:#fff;border-radius:999px;padding:.2rem .55rem}
.fvf-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;text-align:center}
.fvf-stats span{display:block;font-weight:700;font-size:1rem}
.fvf-stats small{color:var(--muted);font-size:.72rem}
.fvf-pros,.fvf-cons{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.3rem}
.fvf-pro{font-size:.85rem;color:#0e7490}
.fvf-con{font-size:.85rem;color:var(--muted)}
.fvf-infeasible{color:var(--muted);font-size:.9rem;font-style:italic;margin:0}
.fvf-risk{border-radius:10px;padding:.55rem .7rem;font-size:.85rem;font-weight:600;display:flex;flex-direction:column;gap:.2rem}
.fvf-risk-advice{font-weight:400;font-size:.8rem;opacity:.85}
.fvf-book{font-weight:600;color:#0891b2;text-decoration:none}
@media (max-width:560px){.fvf-grid{grid-template-columns:1fr}}
html[data-theme=dark] .rt-opt-msg{background:#083344;border-color:#155e75;color:#67e8f9}
.rt-count{font-size:.78rem;font-weight:700;color:#0e7490;background:#cffafe;padding:3px 11px;border-radius:99px}
.rt-empty{color:var(--muted);background:var(--surface);border:1px dashed var(--line);border-radius:14px;padding:1.5rem;text-align:center}
.rt-stops{list-style:none;padding:0;margin:0}
.rt-leg{display:flex;align-items:center;gap:10px;padding:6px 0 6px 22px;position:relative}
.rt-leg::before{content:'';position:absolute;left:17px;top:0;bottom:0;width:2px;background:#cbd5e1}
.rt-leg-mode{font-size:.8rem;font-weight:700;color:#0e7490}
.rt-leg-meta{font-size:.78rem;color:var(--muted)}
.rt-stop{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:12px 14px}
.rt-stop-num{width:28px;height:28px;flex-shrink:0;border-radius:50%;background:linear-gradient(135deg,#0891b2,#0e7490);color:#fff;font-weight:800;font-size:.9rem;display:flex;align-items:center;justify-content:center}
.rt-stop-info{flex:1;min-width:0;display:flex;flex-direction:column}
.rt-stop-info strong{color:var(--ink);font-size:.95rem}
.rt-stop-tags{font-size:.75rem;color:var(--muted)}
.rt-stop-tools{display:flex;gap:4px}
.rt-stop-tools button{background:var(--surface-light);border:1px solid var(--line);border-radius:8px;width:28px;height:28px;cursor:pointer;color:var(--body);font-size:.8rem}
.rt-stop-tools button:disabled{opacity:.35;cursor:default}
.rt-stop-del{color:#ef4444!important}
.rt-add{margin-top:1.25rem}
.rt-add-label{font-size:.82rem;font-weight:700;color:#64748b;display:block;margin-bottom:8px}
.rt-add-chips{display:flex;flex-wrap:wrap;gap:8px}
.rt-add-chip{background:var(--surface);border:1px solid var(--line);color:var(--body);font-weight:600;font-size:.82rem;padding:7px 13px;border-radius:99px;cursor:pointer}
.rt-add-chip:hover{border-color:#0891b2;color:#0e7490}
.rt-side{position:sticky;top:88px}
.rt-map{height:300px;border-radius:16px;overflow:hidden;border:1px solid var(--line);background:#e2e8f0}
.rt-summary{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:1.25rem;margin-top:14px}
.rt-sum-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:.9rem;color:var(--body)}
.rt-sum-row strong{color:var(--ink)}
.rt-travelers{display:flex;align-items:center;gap:12px}
.rt-travelers button{width:28px;height:28px;border-radius:50%;border:1px solid var(--line);background:var(--surface-light);cursor:pointer;font-size:1rem;color:var(--body)}
.rt-sum-note{font-size:.76rem;color:var(--muted);line-height:1.5;margin:10px 0 0}
.rt-save{display:block;width:100%;margin-top:14px;background:linear-gradient(135deg,#0891b2,#0e7490);color:#fff;font-weight:700;padding:12px;border-radius:12px;border:none;cursor:pointer}
.rt-book{display:block;text-align:center;margin-top:10px;color:#0e7490;font-weight:600;text-decoration:none;font-size:.9rem}
@media(max-width:860px){.rt-grid{grid-template-columns:1fr}.rt-side{position:static}}

/* ===== Community Q&A (Stage O) ===== */
.cm-ask{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:1.5rem;margin-bottom:2rem}
.cm-ask-title{font-family:Poppins,sans-serif;font-size:1.15rem;font-weight:800;color:var(--ink);margin:0 0 1rem}
.cm-input,.cm-textarea{width:100%;padding:.7rem .9rem;border:1px solid var(--line);border-radius:10px;font-size:.95rem;background:var(--surface);color:var(--ink);margin-bottom:.75rem;font-family:inherit}
.cm-textarea{resize:vertical}
.cm-ask-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}
.cm-submit{background:linear-gradient(135deg,#0891b2,#0e7490);color:#fff;font-weight:700;border:none;padding:11px 22px;border-radius:10px;cursor:pointer;font-size:.92rem}
.cm-submit:hover{filter:brightness(1.07)}
.cm-err{color:#dc2626;font-size:.85rem;margin:.25rem 0 .75rem}
.cm-list-title{font-family:Poppins,sans-serif;font-size:1.2rem;font-weight:800;color:var(--ink);margin:1.5rem 0 1rem;display:flex;align-items:center;gap:10px}
.cm-count{font-size:.78rem;font-weight:700;color:#0e7490;background:#cffafe;padding:3px 11px;border-radius:99px}
.cm-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}
.cm-q-link{display:flex;align-items:center;gap:16px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:1rem 1.25rem;text-decoration:none;transition:.15s}
.cm-q-link:hover{border-color:#0891b2;box-shadow:0 4px 14px rgba(8,145,178,.1)}
.cm-q-main{flex:1;min-width:0}
.cm-q-title{font-size:1rem;font-weight:700;color:var(--ink);margin:0 0 .35rem}
.cm-q-meta{font-size:.8rem;color:var(--muted);display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.cm-topic{background:#ecfeff;color:#0e7490;font-weight:700;font-size:.72rem;padding:2px 9px;border-radius:99px}
.cm-q-stats{text-align:center;flex-shrink:0}
.cm-q-answers{display:block;font-family:Poppins,sans-serif;font-size:1.3rem;font-weight:800;color:#0e7490}
.cm-q-answers-label{font-size:.72rem;color:var(--muted)}
.cm-empty{text-align:center;padding:2.5rem;color:var(--muted)}
.cm-empty-ico{font-size:2.5rem;margin-bottom:.5rem}
/* thread */
.cm-thread-q{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:1.5rem;margin-bottom:1.5rem}
.cm-thread-title{font-family:Poppins,sans-serif;font-size:1.4rem;font-weight:800;color:var(--ink);margin:.5rem 0 .75rem;line-height:1.3}
.cm-thread-body{color:var(--body);line-height:1.6;margin:0 0 1rem}
.cm-thread-meta{font-size:.82rem;color:var(--muted)}
.cm-answers-h{font-family:Poppins,sans-serif;font-size:1.1rem;font-weight:800;color:var(--ink);margin:0 0 1rem}
.cm-no-answers{color:var(--muted);padding:1rem 0}
.cm-answers{list-style:none;padding:0;margin:0 0 2rem;display:flex;flex-direction:column;gap:12px}
.cm-answer{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:1.25rem}
.cm-answer-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}
.cm-answer-name{font-weight:700;color:var(--ink);display:flex;align-items:center;gap:8px}
.cm-local-badge{background:#d1fae5;color:#047857;font-size:.7rem;font-weight:700;padding:2px 8px;border-radius:99px}
.cm-answer-date{font-size:.78rem;color:var(--muted)}
.cm-answer-body{color:var(--body);line-height:1.6;margin:0 0 .75rem;white-space:pre-wrap}
.cm-helpful,.cm-helpful-voted{background:none;border:1px solid var(--line);border-radius:99px;color:var(--muted);font-size:.8rem;font-weight:600;padding:5px 13px;cursor:pointer}
.cm-helpful:hover{border-color:#0891b2;color:#0e7490}
.cm-helpful-voted{background:#ecfeff;border-color:#67e8f9;color:#0e7490}
.cm-answer-form{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:1.5rem;margin-top:1rem}
.cm-answer-h{font-family:Poppins,sans-serif;font-size:1.05rem;font-weight:800;color:var(--ink);margin:0 0 1rem}
.cm-answer-ok{background:#d1fae5;color:#047857;padding:1rem;border-radius:12px;font-weight:600;text-align:center}
@media(max-width:560px){.cm-ask-row{grid-template-columns:1fr}}

/* ===== Offline Island Survival Kit (Stage R) ===== */
.ok-status{border-radius:12px;padding:.85rem 1.1rem;font-size:.9rem;font-weight:600;margin-bottom:1.25rem}
.ok-status-online{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.ok-status-offline{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}
.ok-sos{background:linear-gradient(135deg,#7f1d1d,#b91c1c);border-radius:16px;padding:1.25rem;margin-bottom:2rem;text-align:center}
.ok-sos-btn{background:#fff;color:#b91c1c;border:none;font-weight:800;font-size:1rem;padding:13px 24px;border-radius:12px;cursor:pointer}
.ok-sos-call{display:inline-block;margin-left:10px;color:#fff;font-weight:700;text-decoration:none;border:1px solid rgba(255,255,255,.5);padding:12px 20px;border-radius:12px}
.ok-sos-msg{display:block;width:100%;margin-top:12px;background:rgba(255,255,255,.95);border:none;border-radius:10px;padding:.7rem;font-size:.85rem;min-height:64px;resize:vertical}
.ok-section{margin-bottom:2.25rem}
.ok-h2{font-family:Poppins,sans-serif;font-size:1.2rem;font-weight:800;color:var(--ink);margin:0 0 1rem}
.ok-packs{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.ok-pack{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:1.1rem}
.ok-pack-top{display:flex;justify-content:space-between;align-items:center}
.ok-pack-emoji{font-size:1.6rem}
.ok-pack-size{font-size:.74rem;color:var(--muted)}
.ok-pack-name{font-size:.95rem;font-weight:700;color:var(--ink);margin:.5rem 0}
.ok-pack-includes{list-style:none;padding:0;margin:0 0 .9rem;font-size:.8rem;color:var(--muted);line-height:1.7}
.ok-pack-btn{width:100%;background:linear-gradient(135deg,#0891b2,#0e7490);color:#fff;border:none;font-weight:700;padding:9px;border-radius:10px;cursor:pointer;font-size:.85rem}
.ok-pack-done{background:#d1fae5;color:#047857}
.ok-phrases{background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.ok-phrase{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;padding:.6rem 1rem;border-bottom:1px solid var(--line);font-size:.88rem;color:var(--body)}
.ok-phrase:last-child{border-bottom:none}
.ok-phrase-head{background:var(--surface-light);font-weight:700;color:var(--ink);font-size:.78rem;text-transform:uppercase;letter-spacing:.03em}
.ok-tips{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}
.ok-tip{display:flex;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:1.1rem}
.ok-tip-ico{font-size:1.5rem;flex-shrink:0}
.ok-tip strong{color:var(--ink);font-size:.92rem}
.ok-tip p{color:var(--muted);font-size:.83rem;line-height:1.5;margin:.3rem 0 0}
.ok-emg{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
.ok-emg-card{display:flex;flex-direction:column;background:#fef6f6;border:1px solid #fecaca;border-radius:12px;padding:.9rem 1rem;text-decoration:none}
.ok-emg-card strong{font-family:Poppins,sans-serif;font-size:1.25rem;font-weight:800;color:#dc2626}
.ok-emg-card span{font-size:.82rem;color:var(--body);margin-top:2px}
.ok-emg-more{margin-top:.9rem}
.ok-emg-more a{color:#0e7490;font-weight:600}
@media(max-width:560px){.ok-phrase{grid-template-columns:1fr;gap:2px}.ok-phrase-head{display:none}.ok-phrase span:nth-child(1){font-weight:700;color:var(--ink)}}

/* ===== Godlike navbar: mega-menu dropdowns ===== */
.nav-group{position:relative;display:inline-flex}
.nav-group-btn{display:inline-flex;align-items:center;gap:5px;background:none;border:none;cursor:pointer;font-family:inherit;
  font-weight:600;font-size:.92rem;color:rgba(255,255,255,.9);padding:.5rem .7rem;border-radius:8px;transition:color .18s,background .18s}
.nav-group-btn:hover,.nav-group:hover .nav-group-btn,.nav-group.nav-open .nav-group-btn{color:#fff;background:rgba(255,255,255,.1)}
.nav-caret{font-size:.65rem;opacity:.7;transition:transform .2s}
.nav-group:hover .nav-caret,.nav-group.nav-open .nav-caret{transform:rotate(180deg)}
/* Mega panel */
.nav-mega{position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%) translateY(8px);
  min-width:340px;background:#fff;border-radius:16px;padding:.6rem;
  box-shadow:0 20px 50px rgba(8,18,34,.28);border:1px solid rgba(0,0,0,.06);
  opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s,transform .18s,visibility .18s;z-index:200}
/* bridge so the cursor can cross the gap without closing */
.nav-mega::before{content:'';position:absolute;top:-12px;left:0;right:0;height:14px}
.nav-group:hover .nav-mega,.nav-group:focus-within .nav-mega,.nav-group.nav-open .nav-mega{
  opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0)}
.nav-mega-item{display:flex;align-items:flex-start;gap:12px;padding:.65rem .8rem;border-radius:11px;text-decoration:none;transition:background .14s}
.nav-mega-item:hover{background:#f1f5f9}
.nav-mega-ico{font-size:1.25rem;line-height:1.2;flex-shrink:0;margin-top:1px}
.nav-mega-text{display:flex;flex-direction:column;min-width:0}
.nav-mega-title{font-weight:700;font-size:.9rem;color:#0f172a;line-height:1.2}
.nav-mega-desc{font-size:.78rem;color:#64748b;line-height:1.3;margin-top:1px}
/* Dark mode panel */
html[data-theme="dark"] .nav-mega{background:#1e293b;border-color:#334155}
html[data-theme="dark"] .nav-mega-item:hover{background:#243449}
html[data-theme="dark"] .nav-mega-title{color:#f1f5f9}

/* ===== Mobile: accordion ===== */
@media(max-width:820px){
  .nav-group{display:block;width:100%}
  .nav-group-btn{width:100%;justify-content:space-between;font-size:1.05rem;padding:.85rem .5rem}
  .nav-mega{position:static;transform:none;opacity:1;visibility:hidden;pointer-events:none;
    min-width:0;width:100%;box-shadow:none;border:none;background:transparent;padding:0 0 0 .5rem;
    max-height:0;overflow:hidden;transition:max-height .25s ease}
  .nav-group.nav-open .nav-mega{visibility:visible;pointer-events:auto;max-height:600px;transform:none}
  .nav-mega::before{display:none}
  .nav-mega-item{padding:.6rem .4rem}
  .nav-mega-desc{display:none}
  html[data-theme="dark"] .nav-mega{background:transparent}
}

/* nav-group active state + mobile color */
.nav-sticky-wrap .nav-group-btn.nav-active,header .nav-group-btn.nav-active{color:var(--gold);background:rgba(201,151,58,.14)}
@media(max-width:820px){
  .nav-sticky-wrap .nav-links .nav-group-btn,header .nav-links .nav-group-btn{color:#fff}
  .nav-sticky-wrap .nav-mega-item,header .nav-mega-item{color:rgba(255,255,255,.92)}
  .nav-sticky-wrap .nav-mega-title,header .nav-mega-title{color:#fff}
  .nav-mega-item:hover{background:rgba(255,255,255,.08)!important}
}

/* ===== Travel Guides index ===== */
.guides-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}
.guide-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden;text-decoration:none;color:inherit;transition:transform .18s,box-shadow .18s}
.guide-card:hover{transform:translateY(-4px);box-shadow:0 14px 36px rgba(16,58,74,.16)}
.guide-card-img{height:170px;background-size:cover;background-position:center;position:relative}
.guide-card-img::after{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.35),transparent 55%)}
.guide-card-code{position:absolute;top:10px;right:10px;z-index:1;background:rgba(255,255,255,.92);color:#0e7490;font-weight:800;font-size:.72rem;padding:3px 10px;border-radius:99px;letter-spacing:.04em}
.guide-card-body{padding:1.1rem 1.25rem 1.25rem;display:flex;flex-direction:column;flex:1}
.guide-card-name{font-family:Poppins,sans-serif;font-size:1.25rem;font-weight:800;color:var(--ink);margin:0 0 .25rem}
.guide-card-region{font-size:.8rem;color:var(--muted);margin:0 0 .5rem}
.guide-card-tagline{font-size:.9rem;color:var(--body);line-height:1.5;margin:0 0 1rem;flex:1}
.guide-card-cta{font-weight:700;font-size:.88rem;color:#0e7490}
.guides-cta-band{margin-top:3rem;text-align:center;background:linear-gradient(135deg,#ecfeff,#f0fdfa);border:1px solid #a5f3fc;border-radius:20px;padding:2.5rem 1.5rem}
html[data-theme="dark"] .guides-cta-band{background:linear-gradient(135deg,#0e2a33,#0f2420);border-color:#155e63}
.guides-cta-band h2{font-family:Poppins,sans-serif;font-size:1.5rem;font-weight:800;color:var(--ink);margin:0 0 .5rem}
.guides-cta-band p{color:var(--muted);margin:0 0 1.5rem}
.guides-cta-btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* ===== Travellers' Stories (UGC) ===== */
.st-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px;margin-bottom:3rem}
.st-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden;text-decoration:none;color:inherit;transition:transform .18s,box-shadow .18s}
.st-card:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(16,58,74,.16)}
.st-card-img{height:180px;background-size:cover;background-position:center;position:relative}
.st-card-dest{position:absolute;top:10px;left:10px;background:rgba(0,0,0,.55);color:#fff;font-size:.74rem;font-weight:700;padding:3px 11px;border-radius:99px}
.st-card-body{padding:1.1rem 1.25rem 1.25rem;flex:1;display:flex;flex-direction:column}
.st-card-title{font-family:Poppins,sans-serif;font-size:1.15rem;font-weight:800;color:var(--ink);margin:0 0 .5rem;line-height:1.3}
.st-card-excerpt{color:var(--body);font-size:.9rem;line-height:1.5;margin:0 0 1rem;flex:1}
.st-card-meta{font-size:.8rem;color:var(--muted);display:flex;gap:6px;flex-wrap:wrap}
.st-empty{text-align:center;padding:2.5rem;color:var(--muted)}
.st-empty-ico{font-size:2.5rem}
/* form */
.st-form-wrap{max-width:640px;margin:0 auto}
.st-form{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:1.75rem}
.st-form-title{font-family:Poppins,sans-serif;font-size:1.3rem;font-weight:800;color:var(--ink);margin:0 0 .25rem}
.st-form-sub{color:var(--muted);margin:0 0 1.25rem;font-size:.9rem}
.st-input,.st-textarea{width:100%;padding:.75rem .9rem;border:1px solid var(--line);border-radius:11px;font-size:.95rem;background:var(--surface);color:var(--ink);margin-bottom:.85rem;font-family:inherit}
.st-textarea{resize:vertical}
.st-form-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}
.st-form-row .st-input{margin-bottom:.85rem}
.st-cover-label{display:flex;align-items:center;justify-content:center;min-height:64px;border:2px dashed var(--line);border-radius:12px;cursor:pointer;color:var(--muted);font-weight:600;font-size:.88rem;margin-bottom:1rem;overflow:hidden}
.st-cover-label:hover{border-color:#0891b2;color:#0e7490}
.st-cover-preview{width:100%;height:160px;object-fit:cover}
.st-submit{background:linear-gradient(135deg,#0891b2,#0e7490);color:#fff;font-weight:700;border:none;padding:12px 24px;border-radius:11px;cursor:pointer;font-size:.95rem}
.st-submit:hover{filter:brightness(1.07)}
.st-err{color:#dc2626;font-size:.85rem;margin:.25rem 0 .75rem}
.st-success{text-align:center;background:#d1fae5;color:#065f46;border-radius:16px;padding:2rem;font-size:1.05rem}
.st-success p{margin:.5rem 0 0;font-weight:500}
/* article */
.st-article-dest{display:inline-block;background:#ecfeff;color:#0e7490;font-weight:700;font-size:.78rem;padding:3px 12px;border-radius:99px;margin-bottom:.75rem}
.st-article-title{font-family:Poppins,sans-serif;font-size:clamp(1.6rem,4vw,2.2rem);font-weight:900;color:var(--ink);margin:0 0 .6rem;line-height:1.2}
.st-article-meta{color:var(--muted);font-size:.88rem;margin-bottom:1.25rem}
.st-article-cover{width:100%;border-radius:16px;margin-bottom:1.5rem}
.st-article-body{color:var(--body);font-size:1.05rem;line-height:1.75}
.st-article-body p{margin:0 0 1.1rem}
.st-article-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;margin:1.5rem 0}
.st-article-photos img{width:100%;height:120px;object-fit:cover;border-radius:10px}
.st-article-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--line);flex-wrap:wrap}
.st-like,.st-like-on{background:var(--surface);border:1px solid var(--line);border-radius:99px;padding:8px 18px;font-weight:700;cursor:pointer;color:var(--body)}
.st-like:hover{border-color:#ef4444}
.st-like-on{background:#fef2f2;border-color:#fecaca;color:#dc2626}
.st-article-cta{color:#0e7490;font-weight:700;text-decoration:none}
@media(max-width:560px){.st-form-row{grid-template-columns:1fr}}

/* Booking modal: insurance upsell + line items + cancellation note */
.tbk-line{display:flex;justify-content:space-between;font-size:.85rem;color:#64748b;padding:.3rem 0}
.tbk-insure{display:flex!important;align-items:flex-start;gap:10px;background:#ecfeff;border:1px solid #a5f3fc;border-radius:11px;padding:.7rem .85rem;margin:.5rem 0;cursor:pointer;flex-direction:row!important}
.tbk-insure input{margin-top:3px;flex-shrink:0;width:auto!important}
.tbk-insure span{font-size:.82rem;color:#334155;line-height:1.45}
.tbk-insure strong{color:#0e7490}
.tbk-cancel{font-size:.76rem;color:#0a7d4b;text-align:center;margin:.4rem 0 0;line-height:1.4}

/* Account: recent activity feed */
.account-activity{list-style:none;padding:0;margin:0}
.account-activity-row{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}
.account-activity-row:last-child{border-bottom:none}
.account-activity-ico{width:34px;height:34px;flex-shrink:0;border-radius:50%;background:var(--surface-light);display:flex;align-items:center;justify-content:center;font-size:1rem}
.account-activity-text{flex:1;min-width:0;color:var(--ink);font-size:.9rem;font-weight:500;text-decoration:none}
.account-activity-text:hover{color:#0e7490}
.account-activity-time{font-size:.78rem;color:var(--muted);white-space:nowrap;flex-shrink:0}

/* Verified partner / DOT trust badge on detail pages */
.td-verified-badge{display:inline-flex;align-items:center;gap:5px;background:#d1fae5;color:#047857;font-weight:700;font-size:.78rem;padding:4px 12px;border-radius:99px;margin-left:8px;vertical-align:middle}
.td-dot-badge{background:#dbeafe;color:#1d4ed8}

/* ===== AI Trip Planner box (Stage F) — bright, elevated card ===== */
.ai-planner{
  margin-top: var(--s4);
  background:#fff;border:1px solid rgba(201,151,58,.35);border-radius:22px;
  padding:1.9rem 2rem;margin-bottom:1.5rem;
  box-shadow:0 18px 50px rgba(8,18,34,.22),0 2px 0 rgba(201,151,58,.15);
  position:relative;overflow:hidden;
}
.ai-planner::before{content:"";position:absolute;left:0;top:0;right:0;height:4px;
  background:linear-gradient(90deg,var(--gold),#e8a73a,var(--ocean));}
.ai-planner::after{content:"";position:absolute;right:-60px;top:-50px;width:220px;height:220px;
  background:radial-gradient(circle,rgba(201,151,58,.12),transparent 70%);pointer-events:none}
.ai-planner-head{position:relative;z-index:1;margin-bottom:1.15rem}
.ai-planner-badge{display:inline-flex;align-items:center;gap:6px;font-family:Poppins,sans-serif;
  font-weight:800;font-size:1.15rem;color:var(--navy)}
.ai-planner-badge::before{content:"✨";font-size:1.1rem}
.ai-planner-sub{display:block;margin-top:.35rem;color:var(--muted);font-size:.98rem}
.ai-planner-row{display:flex;gap:10px;position:relative;z-index:1}
.ai-prompt-input{flex:1;padding:1rem 1.15rem;border:1.5px solid var(--line);border-radius:13px;
  font-size:1rem;background:var(--surface);color:var(--ink);transition:border-color .15s,box-shadow .15s}
.ai-prompt-input:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(201,151,58,.16)}
.ai-generate-btn{background:linear-gradient(135deg,var(--gold),#e8a73a);color:#0a1628;border:none;
  font-weight:800;font-size:1rem;padding:0 1.7rem;border-radius:13px;cursor:pointer;white-space:nowrap;
  box-shadow:0 6px 16px rgba(201,151,58,.35);transition:transform .15s,filter .15s}
.ai-generate-btn:hover{filter:brightness(1.06);transform:translateY(-1px)}
.ai-generate-btn:disabled{opacity:.6;cursor:wait;transform:none}
.ai-planner-examples{display:flex;gap:8px;flex-wrap:wrap;margin-top:1rem;position:relative;z-index:1;align-items:center}
.ai-planner-examples::before{content:"Try:";font-size:.8rem;font-weight:700;color:var(--muted);margin-right:2px}
.ai-example{background:var(--surface-light);border:1px solid var(--line);color:var(--body);
  font-size:.82rem;font-weight:600;padding:6px 13px;border-radius:99px;cursor:pointer;transition:.15s}
.ai-example:hover{border-color:var(--gold);color:var(--navy);background:rgba(201,151,58,.08)}
.ai-planner-msg{position:relative;z-index:1;margin:.85rem 0 0;font-size:.92rem;color:var(--ocean-deep);min-height:1.2em;font-weight:600}
.ai-planner-or{position:relative;z-index:1;text-align:center;margin-top:1.25rem;
  color:var(--muted);font-size:.82rem;display:flex;align-items:center;gap:14px}
.ai-planner-or::before,.ai-planner-or::after{content:"";flex:1;height:1px;background:var(--line)}
@media(max-width:560px){.ai-planner{padding:1.4rem}.ai-planner-row{flex-direction:column}.ai-generate-btn{padding:.9rem}}

/* AI/wizard result: break out of the 860px wizard width to use the full page,
   so the itinerary column is wide and day blocks don't squeeze. */
#planner-wrap.planner-wrap-result { max-width: var(--maxw); }
.result-layout { grid-template-columns: minmax(0,1fr) 340px; }
@media(max-width:900px){ .result-layout { grid-template-columns:1fr; } }

/* ===== Recommended for you ===== */
.rfy-section{margin:2rem 0}
.rfy-head{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin-bottom:1rem}
.rfy-title{font-family:Poppins,sans-serif;font-size:1.25rem;font-weight:800;color:var(--ink);margin:0}
.rfy-sub{font-size:.88rem;color:var(--muted)}
.rfy-sub strong{color:#0e7490}
.rfy-strip{display:flex;gap:16px;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x mandatory}
.rfy-strip::-webkit-scrollbar{height:6px}
.rfy-strip::-webkit-scrollbar-thumb{background:#d4e0e4;border-radius:3px}
.rfy-card{flex:0 0 240px;scroll-snap-align:start;background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden;text-decoration:none;color:inherit;transition:transform .18s,box-shadow .18s}
.rfy-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(16,58,74,.14)}
.rfy-card-img{height:140px;background-size:cover;background-position:center;position:relative}
.rfy-card-cat{position:absolute;top:9px;left:9px;background:rgba(0,0,0,.55);color:#fff;font-size:.7rem;font-weight:700;padding:3px 10px;border-radius:99px}
.rfy-card-body{padding:.85rem 1rem 1rem}
.rfy-card-name{font-weight:700;font-size:.92rem;color:var(--ink);line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rfy-card-loc{font-size:.78rem;color:var(--muted);margin-top:4px}
.rfy-card-price{font-weight:800;font-size:.92rem;color:#0a7d4b;margin-top:7px}
.rfy-card-price small{font-weight:500;color:var(--muted);font-size:.72rem}

/* Share trip button (trip summary) */
.trip-share-btn{display:block;width:100%;margin-top:12px;background:var(--surface-light);border:1px solid var(--line);color:var(--body);font-weight:700;font-size:.92rem;padding:12px;border-radius:12px;cursor:pointer;transition:.15s}
.trip-share-btn:hover{border-color:#0891b2;color:#0e7490;background:#ecfeff}
.trip-share-wa{display:block;width:100%;margin-top:8px;background:#25d366;border:1px solid #25d366;color:#fff;font-weight:700;font-size:.92rem;padding:12px;border-radius:12px;cursor:pointer;transition:.15s}
.trip-share-wa:hover{background:#1da851;border-color:#1da851}
.trip-addcustom{margin-top:14px;display:flex;flex-direction:column;gap:8px;background:var(--bg,#f8fafc);border:1px solid var(--line);border-radius:12px;padding:12px}
.trip-addcustom-head{font-size:13px;font-weight:700;color:var(--ink)}
.trip-addcustom select,.trip-addcustom input{padding:9px 11px;border:1px solid var(--line);border-radius:9px;font-size:14px;background:var(--surface);color:var(--ink)}
.trip-addcustom button{background:#0891b2;color:#fff;border:0;border-radius:9px;padding:9px;font-weight:600;cursor:pointer}
.trip-addcustom button:disabled{opacity:.55;cursor:default}
/* Group notes on shared trips */
.tn-wrap{max-width:720px;margin:2rem auto 0;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:1.5rem}
.tn-h{font-size:1.15rem;margin:0 0 .25rem}
.tn-sub{color:var(--muted);font-size:.88rem;margin:0 0 1rem}
.tn-empty{color:var(--muted);font-size:.9rem}
.tn-list{list-style:none;margin:0 0 1.1rem;padding:0;display:flex;flex-direction:column;gap:.7rem}
.tn-note{background:var(--bg,#f8fafc);border:1px solid var(--line);border-radius:12px;padding:.7rem .9rem}
.tn-note-head{display:flex;justify-content:space-between;align-items:baseline;font-size:.82rem;color:var(--muted);margin-bottom:.25rem}
.tn-note-head strong{color:var(--ink);font-size:.9rem}
.tn-note-body{margin:0;font-size:.92rem;line-height:1.5;white-space:pre-wrap}
.tn-form{display:flex;flex-direction:column;gap:.5rem}
.tn-author,.tn-body{border:1px solid var(--line);border-radius:10px;padding:.6rem .75rem;font:inherit;font-size:.92rem;background:var(--surface);color:var(--ink)}
.tn-body{resize:vertical}
.tn-post{align-self:flex-start;background:#0891b2;color:#fff;border:0;border-radius:10px;padding:.6rem 1.1rem;font-weight:600;cursor:pointer}
.tn-post:disabled{opacity:.55;cursor:default}
/* Post-trip review prompts */
.rp-card{background:linear-gradient(135deg,#fffbeb,#fef9c3);border:1px solid #fde68a;border-radius:16px;padding:1.1rem 1.25rem;margin-bottom:1.25rem}
.rp-head{display:flex;align-items:flex-start;gap:.7rem;margin-bottom:.75rem}
.rp-ico{font-size:1.5rem;line-height:1}
.rp-head strong{font-size:1rem}
.rp-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}
.rp-item{display:flex;align-items:center;justify-content:space-between;gap:.75rem;background:rgba(255,255,255,.6);border:1px solid #fde68a;border-radius:10px;padding:.55rem .8rem}
.rp-item-name{font-size:.9rem;font-weight:500}
.rp-item-cta{font-size:.85rem;font-weight:600;color:#b45309;white-space:nowrap;text-decoration:none}
.rp-item-cta:hover{text-decoration:underline}
html[data-theme=dark] .rp-card{background:linear-gradient(135deg,#422006,#3b2f0a);border-color:#78581f}
html[data-theme=dark] .rp-item{background:rgba(0,0,0,.2);border-color:#78581f}
/* Top travellers leaderboard */
.lb-wrap{display:flex;flex-direction:column}
.lb-myrank{background:#ecfeff;border:1px solid #a5f3fc;border-radius:12px;padding:.7rem 1rem;margin-bottom:1rem;font-size:.92rem;color:#0e7490}
.lb-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.45rem}
.lb-row{display:flex;align-items:center;gap:.85rem;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:.7rem .95rem}
.lb-me{border-color:#0891b2;background:#ecfeff}
.lb-rank{min-width:1.8rem;text-align:center;font-weight:800;font-size:1.05rem}
.lb-name{flex:1;font-weight:600;font-size:.95rem}
.lb-tier{font-size:.8rem;font-weight:700}
.lb-points{font-variant-numeric:tabular-nums;font-weight:700;font-size:.9rem;color:var(--muted)}
.lb-empty{text-align:center;padding:2.5rem 1rem;color:var(--muted)}
.lb-empty-ico{font-size:2.5rem;margin-bottom:.5rem}
.lb-cta{display:inline-block;margin-top:.75rem;background:#0891b2;color:#fff;border-radius:10px;padding:.6rem 1.1rem;font-weight:600;text-decoration:none}
html[data-theme=dark] .lb-myrank,html[data-theme=dark] .lb-me{background:#083344;border-color:#155e75;color:#67e8f9}
/* Group discount calculator */
.gd-wrap{display:flex;flex-direction:column;gap:1.25rem}
.gd-inputs{display:flex;gap:1rem;flex-wrap:wrap}
.gd-field{display:flex;flex-direction:column;gap:.35rem;font-size:.84rem;color:var(--muted);font-weight:600;flex:1;min-width:150px}
.gd-field input{padding:.6rem .75rem;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font-size:1rem}
.gd-stepper{display:flex;align-items:center;gap:.6rem}
.gd-stepper button{width:2.2rem;height:2.2rem;border:1px solid var(--line);background:var(--surface);border-radius:8px;font-size:1.1rem;cursor:pointer;color:var(--ink)}
.gd-stepper span{font-size:1.1rem;font-weight:700;min-width:2rem;text-align:center}
.gd-result{background:linear-gradient(135deg,#ecfeff,#eff6ff);border:1px solid #a5f3fc;border-radius:16px;padding:1.25rem;display:flex;flex-direction:column;gap:.85rem}
.gd-result-main{display:flex;align-items:baseline;gap:.6rem}
.gd-pct{font-size:1.6rem;font-weight:800;color:#0e7490}
.gd-tier-label{color:var(--muted);font-size:.9rem}
.gd-lines{display:flex;flex-direction:column;gap:.4rem}
.gd-line{display:flex;justify-content:space-between;font-size:.95rem}
.gd-was{color:var(--muted);font-weight:400;text-decoration:line-through;font-size:.82rem}
.gd-saved{color:#0e7490;font-weight:700}
.gd-schedule{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:1.1rem 1.25rem}
.gd-schedule h3{margin:0 0 .75rem;font-size:1rem}
.gd-schedule ul{list-style:none;margin:0 0 .75rem;padding:0;display:flex;flex-direction:column;gap:.3rem}
.gd-schedule li{display:flex;justify-content:space-between;font-size:.9rem;padding:.4rem .6rem;border-radius:8px}
.gd-sch-on{background:#ecfeff;font-weight:600}
.gd-note{font-size:.8rem;color:var(--muted);margin:0;line-height:1.5}
html[data-theme=dark] .gd-result,html[data-theme=dark] .gd-sch-on{background:#083344;border-color:#155e75}
/* Island hopper visualizer */
.im-wrap{display:grid;grid-template-columns:300px 1fr;gap:1.25rem}
.im-routes{display:flex;flex-direction:column;gap:.6rem}
.im-route{text-align:left;background:var(--surface);border:1px solid var(--line);border-left:4px solid #0891b2;border-radius:12px;padding:.8rem .95rem;cursor:pointer;display:flex;flex-direction:column;gap:.25rem}
.im-route-on{box-shadow:0 4px 16px rgba(8,145,178,.15);border-color:#0891b2}
.im-route-name{font-weight:700;font-size:.95rem}
.im-route-desc{font-size:.8rem;color:var(--muted);line-height:1.4}
.im-route-go{font-size:.8rem;font-weight:600;color:#0891b2;margin-top:.2rem;text-decoration:none;align-self:flex-start}
.im-map{height:560px;border-radius:16px;border:1px solid var(--line);overflow:hidden;z-index:0}
@media (max-width:760px){.im-wrap{grid-template-columns:1fr}.im-map{height:420px}}
/* Seasonal price heatmap */
.ph-wrap{display:flex;flex-direction:column;gap:1.25rem}
.ph-pick{display:flex;flex-direction:column;gap:.35rem;font-size:.84rem;font-weight:600;color:var(--muted);max-width:280px}
.ph-pick select{padding:.6rem .75rem;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font-size:.95rem}
.ph-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:.5rem}
.ph-cell{border:1px solid;border-radius:10px;padding:.6rem .4rem;text-align:center;display:flex;flex-direction:column;gap:.2rem}
.ph-month{font-weight:700;font-size:.85rem}
.ph-level{font-size:.72rem;font-weight:600}
.ph-legend{display:flex;flex-wrap:wrap;gap:1rem;font-size:.82rem;color:var(--muted)}
.ph-legend span{display:flex;align-items:center;gap:.4rem}
.ph-legend i{width:.9rem;height:.9rem;border-radius:3px;display:inline-block}
.ph-note{font-size:.88rem;color:var(--muted);line-height:1.55;margin:0;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:.85rem 1rem}
@media (max-width:560px){.ph-grid{grid-template-columns:repeat(3,1fr)}}
/* Season-now recommendations */
.sn-wrap{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:1.25rem 1.4rem;margin-bottom:1.75rem}
.sn-h{font-size:1.1rem;margin:0 0 1rem}
.sn-cols{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}
.sn-col h3{font-size:.95rem;margin:0 0 .6rem}
.sn-col ul{list-style:none;margin:0 0 .5rem;padding:0;display:flex;flex-direction:column;gap:.4rem}
.sn-col li{font-size:.9rem}
.sn-col li a{font-weight:600;color:#0e7490;text-decoration:none}
.sn-col li span{color:var(--muted);font-size:.8rem;margin-left:.3rem}
.sn-good{border-left:3px solid #10b981;padding-left:.9rem}
.sn-wet{border-left:3px solid #f59e0b;padding-left:.9rem}
.sn-tip{font-size:.82rem;color:var(--muted);line-height:1.5;margin:.4rem 0 0}
@media (max-width:600px){.sn-cols{grid-template-columns:1fr}}

/* ===== Booking voucher / e-ticket ===== */
.vch-wrap{max-width:680px;margin:0 auto;padding:90px 20px 60px}
.vch-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.vch-back{color:#0e7490;font-weight:600;text-decoration:none}
.vch-print{background:linear-gradient(135deg,#0891b2,#0e7490);color:#fff;border:none;font-weight:700;padding:10px 18px;border-radius:11px;cursor:pointer}
.vch-card{background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:2.25rem;box-shadow:0 10px 34px rgba(15,23,42,.1)}
.vch-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:2px dashed #e2e8f0;padding-bottom:1.25rem;margin-bottom:1.25rem}
.vch-logo{font-family:Poppins,sans-serif;font-weight:900;font-size:1.5rem;color:#0a1628}
.vch-logo span{color:var(--gold)}
.vch-ref{text-align:right}
.vch-ref span{display:block;font-size:.72rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em}
.vch-ref strong{font-family:Poppins,sans-serif;font-size:1.1rem;color:#0a1628;letter-spacing:.02em}
.vch-status{display:inline-block;font-weight:700;font-size:.85rem;padding:5px 14px;border-radius:99px;margin-bottom:1rem}
.vch-status-ok{background:#d1fae5;color:#047857}
.vch-status-pending{background:#fef3c7;color:#92400e}
.vch-status-cancel{background:#fee2e2;color:#b91c1c}
.vch-item{font-family:Poppins,sans-serif;font-size:1.5rem;font-weight:800;color:#0a1628;margin:0 0 .35rem}
.vch-loc{color:#64748b;margin:0 0 1.5rem}
.vch-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem 1.5rem;margin-bottom:1.5rem}
.vch-field{display:flex;flex-direction:column}
.vch-field span{font-size:.74rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.04em}
.vch-field strong{color:#0f172a;font-size:.98rem;margin-top:2px}
.vch-total{display:flex;justify-content:space-between;align-items:center;background:#f8fafc;border-radius:14px;padding:1.1rem 1.4rem;margin-bottom:1.5rem}
.vch-total span{font-weight:700;color:#334155}
.vch-total strong{font-family:Poppins,sans-serif;font-size:1.6rem;color:#0a7d4b}
.vch-foot{border-top:1px solid #eef2f7;padding-top:1.25rem;font-size:.85rem;color:#64748b;line-height:1.6}
.vch-foot p{margin:0 0 .4rem}
.vch-err{color:#dc2626}
@media print{
  .nav-sticky-wrap,.theme-toggle,#scroll-top,.vch-actions,footer,.mobile-bottom-nav{display:none!important}
  .vch-wrap{padding:0}.vch-card{box-shadow:none;border:none}
}

/* ===== Travel style quiz (onboarding) ===== */
.quiz-overlay{position:fixed;inset:0;background:rgba(10,22,40,.55);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;z-index:9998;padding:18px;animation:quizFade .25s ease}
@keyframes quizFade{from{opacity:0}to{opacity:1}}
.quiz-card{background:var(--surface);border-radius:22px;max-width:460px;width:100%;padding:2rem;position:relative;box-shadow:0 24px 60px rgba(8,18,34,.35);text-align:center}
.quiz-close{position:absolute;top:14px;right:14px;background:none;border:none;color:var(--muted);font-size:1.1rem;cursor:pointer;line-height:1}
.quiz-kicker{display:inline-block;font-size:.78rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--gold);background:rgba(201,151,58,.14);padding:4px 13px;border-radius:99px}
.quiz-title{font-family:Poppins,sans-serif;font-size:1.4rem;font-weight:800;color:var(--ink);margin:.7rem 0 .35rem;line-height:1.25}
.quiz-sub{color:var(--muted);font-size:.92rem;margin:0 0 1.25rem}
.quiz-options{display:flex;flex-direction:column;gap:10px;text-align:left}
.quiz-option{display:flex;align-items:center;gap:14px;background:var(--surface-light);border:1.5px solid var(--line);border-radius:14px;padding:.85rem 1rem;cursor:pointer;transition:.15s}
.quiz-option:hover{border-color:var(--gold);background:rgba(201,151,58,.06);transform:translateX(2px)}
.quiz-option-emoji{font-size:1.6rem;flex-shrink:0}
.quiz-option-text{display:flex;flex-direction:column}
.quiz-option-text strong{color:var(--ink);font-size:.98rem}
.quiz-option-text small{color:var(--muted);font-size:.8rem}
.quiz-skip{margin-top:1.1rem;background:none;border:none;color:var(--muted);font-size:.85rem;cursor:pointer;text-decoration:underline}
.quiz-skip:hover{color:var(--body)}

/* Save-for-later (guest) link in booking modals */
.tbk-save-later{display:block;width:100%;margin-top:.5rem;background:none;border:1px dashed var(--line);color:var(--body);font-weight:600;font-size:.85rem;padding:9px;border-radius:10px;cursor:pointer;transition:.15s}
.tbk-save-later:hover{border-color:#0891b2;color:#0e7490;background:#ecfeff}
/* Newsletter success */
.footer-newsletter-ok{color:#6ee7b7;font-weight:600;font-size:.9rem;line-height:1.5}

/* ===== Skeleton loaders ===== */
.skel{position:relative;overflow:hidden;background:var(--surface-light);border-radius:10px}
.skel::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent);animation:skelShine 1.3s infinite}
html[data-theme=dark] .skel::after{background:linear-gradient(90deg,transparent,rgba(255,255,255,.07),transparent)}
@keyframes skelShine{100%{transform:translateX(100%)}}
.skel-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:14px;display:flex;gap:14px;margin-bottom:12px}
.skel-img{width:110px;height:80px;flex-shrink:0}
.skel-lines{flex:1;display:flex;flex-direction:column;gap:9px;padding:4px 0}
.skel-line{height:13px}
.skel-line.lg{height:18px;width:70%}
.skel-line.sm{width:40%}
.skel-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.skel-tile{background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden}
.skel-tile-img{height:150px;border-radius:0}
.skel-tile-body{padding:1rem;display:flex;flex-direction:column;gap:9px}

/* ===== Sticky mobile booking bar (detail pages) ===== */
.sticky-book-bar{display:none}
@media(max-width:820px){
  .sticky-book-bar{display:flex;position:fixed;left:0;right:0;bottom:64px;z-index:95;align-items:center;justify-content:space-between;gap:12px;
    background:var(--surface);border-top:1px solid var(--line);padding:12px 16px;box-shadow:0 -6px 20px rgba(15,23,42,.12)}
  .sticky-book-price{font-family:Poppins,sans-serif;font-weight:800;font-size:1.25rem;color:var(--ink);line-height:1}
  .sticky-book-price small{display:block;font-weight:500;font-size:.7rem;color:var(--muted);margin-top:2px}
  .sticky-book-btn{background:linear-gradient(135deg,var(--gold),#e8a73a);color:#0a1628;font-weight:800;font-size:.95rem;padding:13px 22px;border-radius:12px;text-decoration:none;white-space:nowrap;box-shadow:0 4px 14px -3px rgba(201,151,58,.55)}
}

/* Booking timeline (voucher) */
.vch-timeline{margin:1.5rem 0;padding:1.25rem 0;border-top:1px solid #eef2f7;border-bottom:1px solid #eef2f7}
.vch-cancelled-note{background:#fee2e2;color:#b91c1c;font-weight:700;font-size:.85rem;padding:8px 14px;border-radius:10px;margin-bottom:1rem;text-align:center}
.vch-step{display:flex;align-items:flex-start;gap:14px;position:relative;padding-bottom:1.1rem}
.vch-step:last-child{padding-bottom:0}
.vch-step::before{content:"";position:absolute;left:13px;top:28px;bottom:-2px;width:2px;background:#e2e8f0}
.vch-step:last-child::before{display:none}
.vch-step-done::before{background:#10b981}
.vch-step-dot{width:28px;height:28px;flex-shrink:0;border-radius:50%;background:#e2e8f0;color:#94a3b8;
  display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.82rem;z-index:1}
.vch-step-done .vch-step-dot{background:#10b981;color:#fff}
.vch-step-text{display:flex;flex-direction:column;padding-top:3px}
.vch-step-text strong{color:#0f172a;font-size:.95rem}
.vch-step-text span{color:#94a3b8;font-size:.82rem}
.vch-timeline-cancelled .vch-step-dot{background:#fecaca;color:#b91c1c}
.vch-timeline-cancelled .vch-step::before{background:#fecaca}

/* ===== Dark mode polish: hardcoded-white surfaces ===== */
html[data-theme="dark"] .blog-search-input,
html[data-theme="dark"] .blog-sort-select,
html[data-theme="dark"] .blog-cat-btn,
html[data-theme="dark"] .panel-card,
html[data-theme="dark"] .panel-table,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .rv-form-wrap{
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--ink);
}
html[data-theme="dark"] .blog-cat-btn{color:var(--body)}
html[data-theme="dark"] .blog-cat-btn.active{background:var(--ocean);border-color:var(--ocean);color:#fff!important}
html[data-theme="dark"] .faq-q{color:var(--ink)}
html[data-theme="dark"] .faq-a,html[data-theme="dark"] .faq-answer{color:var(--body)}
/* Reviews list cards in dark */
html[data-theme="dark"] .rv-card,
html[data-theme="dark"] .rv-summary,
html[data-theme="dark"] .rv-form,
html[data-theme="dark"] .rv-input,
html[data-theme="dark"] .rv-textarea{background:var(--surface);border-color:var(--line);color:var(--ink)}
html[data-theme="dark"] .rv-input::placeholder,html[data-theme="dark"] .rv-textarea::placeholder{color:var(--muted)}
/* Generic: any leftover hardcoded card in account/listing panels */
html[data-theme="dark"] .listing-sidebar,
html[data-theme="dark"] .hotels-input,
html[data-theme="dark"] .account-form-input{background:var(--surface);border-color:var(--line);color:var(--ink)}

/* Breadcrumbs */
.crumbs{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:.85rem;color:var(--muted);margin-bottom:1.25rem}
.crumbs a{color:#0e7490;text-decoration:none;font-weight:600}
.crumbs a:hover{text-decoration:underline}
.crumbs-sep{color:#cbd5e1;margin:0 2px}
.crumbs [aria-current=page]{color:var(--body);font-weight:600}

/* a11y: visible keyboard focus ring everywhere */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{
  outline:2px solid var(--gold);outline-offset:2px;border-radius:4px
}

/* ===== Travel badges (gamification) ===== */
.badge-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px}
.badge-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;background:var(--surface-light);border:1px solid var(--line);border-radius:14px;padding:1rem .75rem;opacity:.55;filter:grayscale(.6);transition:.18s}
.badge-card.badge-earned{opacity:1;filter:none;background:linear-gradient(135deg,rgba(201,151,58,.1),rgba(14,116,144,.08));border-color:rgba(201,151,58,.4)}
.badge-card.badge-earned:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(16,58,74,.14)}
.badge-emoji{font-size:1.9rem;line-height:1}
.badge-name{font-weight:700;font-size:.82rem;color:var(--ink);line-height:1.2}
.badge-prog{font-size:.72rem;color:var(--muted);font-weight:600}
.badge-earned .badge-prog{color:#0a7d4b}

/* ===== Weather & safety dashboard ===== */
.wx-typhoon{background:#fef3c7;color:#92400e;border:1px solid #fde68a;border-radius:14px;padding:1rem 1.25rem;font-size:.92rem;line-height:1.5;margin-bottom:1.75rem;font-weight:500}
html[data-theme=dark] .wx-typhoon{background:#451a03;color:#fcd34d;border-color:#78350f}
/* Live typhoon banner */
.ty-banner{display:flex;gap:.85rem;align-items:flex-start;border:1.5px solid #d1fae5;border-radius:16px;padding:1rem 1.25rem;margin-bottom:1.25rem;line-height:1.5}
.ty-loading{color:var(--muted);font-size:.9rem;background:#f8fafc;justify-content:center}
.ty-clear{background:#ecfdf5;border-color:#a7f3d0}
.ty-active{box-shadow:0 4px 18px rgba(239,68,68,.12)}
.ty-ico{font-size:1.6rem;flex:none;line-height:1}
.ty-spin{animation:tySpin 4s linear infinite}
@keyframes tySpin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.ty-spin{animation:none}}
.ty-body{display:flex;flex-direction:column;gap:.35rem;min-width:0}
.ty-head{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}
.ty-pill{color:#fff;font-size:.72rem;font-weight:700;padding:.15rem .55rem;border-radius:999px;text-transform:uppercase;letter-spacing:.02em}
.ty-list{list-style:none;margin:.25rem 0 0;padding:0;display:flex;flex-direction:column;gap:.3rem}
.ty-storm{font-size:.9rem}
.ty-dot{display:inline-block;width:.55rem;height:.55rem;border-radius:50%;margin-right:.45rem;vertical-align:middle}
.ty-sev{color:var(--muted)}
.ty-when{color:var(--muted);font-size:.82rem}
.ty-link{margin-left:.5rem;font-size:.82rem;color:var(--accent,#2563eb)}
.ty-note{font-size:.84rem;color:var(--muted)}
html[data-theme=dark] .ty-loading{background:#1e293b}
html[data-theme=dark] .ty-clear{background:#052e1a;border-color:#065f46}
/* Multi-city trip search */
.mc-wrap{display:flex;flex-direction:column;gap:1.25rem}
.mc-presets{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.mc-presets-label{font-size:.85rem;color:var(--muted)}
.mc-preset{background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:.4rem .9rem;font-size:.85rem;cursor:pointer;font-weight:500}
.mc-preset:hover{border-color:var(--accent,#0891b2)}
.mc-builder{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:1.5rem}
.mc-h2{font-size:1.15rem;margin:0 0 .9rem;display:flex;align-items:center;gap:.6rem}
.mc-count{font-size:.78rem;font-weight:600;color:var(--accent,#0891b2);background:rgba(8,145,178,.1);padding:.15rem .55rem;border-radius:999px}
.mc-empty{color:var(--muted);font-size:.92rem;margin:0 0 1rem}
.mc-chosen{list-style:none;margin:0 0 1.1rem;padding:0;display:flex;flex-direction:column;gap:.5rem}
.mc-chosen-item{display:flex;align-items:center;gap:.7rem;background:var(--bg,#f8fafc);border:1px solid var(--line);border-radius:12px;padding:.55rem .8rem}
.mc-step{width:1.6rem;height:1.6rem;flex:none;border-radius:50%;background:var(--accent,#0891b2);color:#fff;display:grid;place-items:center;font-size:.85rem;font-weight:700}
.mc-chosen-item strong{flex:1}
.mc-tools{display:flex;gap:.25rem}
.mc-tools button{width:1.8rem;height:1.8rem;border:1px solid var(--line);background:var(--surface);border-radius:8px;cursor:pointer;font-size:.85rem}
.mc-tools button:disabled{opacity:.35;cursor:default}
.mc-del{color:#ef4444}
.mc-add-label{font-size:.85rem;color:var(--muted);display:block;margin-bottom:.5rem}
.mc-add-chips{display:flex;flex-wrap:wrap;gap:.45rem}
.mc-add-chip{background:var(--bg,#f1f5f9);border:1px solid var(--line);border-radius:999px;padding:.4rem .85rem;font-size:.85rem;cursor:pointer}
.mc-add-chip:hover{border-color:var(--accent,#0891b2);background:var(--surface)}
.mc-search{margin-top:1.2rem;width:100%;background:var(--accent,#0891b2);color:#fff;border:0;border-radius:12px;padding:.85rem;font-size:1rem;font-weight:600;cursor:pointer}
.mc-search:disabled{opacity:.6;cursor:default}
.mc-results{display:flex;flex-direction:column;gap:1rem}
.mc-summary{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem;background:#ecfeff;border:1px solid #a5f3fc;border-radius:12px;padding:.85rem 1.1rem;font-size:.92rem}
.mc-summary small{color:var(--muted);font-weight:400}
.mc-leg{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:1.25rem}
.mc-leg-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.4rem;margin-bottom:.9rem}
.mc-leg-head h3{margin:0;font-size:1.1rem;display:flex;align-items:center;gap:.55rem}
.mc-leg-num{width:1.7rem;height:1.7rem;border-radius:50%;background:var(--accent,#0891b2);color:#fff;display:grid;place-items:center;font-size:.85rem;font-weight:700}
.mc-leg-counts{font-size:.82rem;color:var(--muted)}
.mc-leg-empty{color:var(--muted);font-size:.9rem;margin:0}
.mc-leg-cols{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}
.mc-col h4{margin:0 0 .6rem;font-size:.95rem}
.mc-cards{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.45rem}
.mc-cards a{display:flex;flex-direction:column;gap:.15rem;padding:.55rem .7rem;background:var(--bg,#f8fafc);border:1px solid var(--line);border-radius:10px;text-decoration:none;color:inherit}
.mc-cards a:hover{border-color:var(--accent,#0891b2)}
.mc-card-name{font-size:.9rem;font-weight:500}
.mc-card-meta{font-size:.82rem;color:var(--muted)}
.mc-ferries{display:inline-block;margin-top:.3rem;font-weight:600;color:var(--accent,#0891b2)}
@media (max-width:640px){.mc-leg-cols{grid-template-columns:1fr}}
html[data-theme=dark] .mc-summary{background:#083344;border-color:#155e75}
/* Tide predictor */
.td-wrap{display:flex;flex-direction:column;gap:1rem}
.td-tabs{display:flex;flex-wrap:wrap;gap:.45rem}
.td-tab{background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:.4rem .85rem;font-size:.84rem;cursor:pointer;font-weight:500}
.td-tab-on{background:var(--accent,#0891b2);color:#fff;border-color:var(--accent,#0891b2)}
.td-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:1.25rem}
.td-head{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:.4rem;margin-bottom:.75rem}
.td-head h3{margin:0;font-size:1.05rem}
.td-meta{font-size:.82rem;color:var(--muted)}
.td-spark{width:100%;height:54px;display:block;margin-bottom:.9rem;background:linear-gradient(to top,rgba(8,145,178,.06),transparent);border-radius:8px}
.td-events{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.5rem}
.td-ev{display:flex;align-items:center;gap:.4rem;background:var(--bg,#f8fafc);border:1px solid var(--line);border-radius:10px;padding:.5rem .7rem;font-size:.86rem}
.td-ev-type{font-weight:600}
.td-ev-time{margin-left:auto;color:var(--muted)}
.td-ev-h{font-variant-numeric:tabular-nums;color:var(--muted);font-size:.8rem}
.td-high{border-left:3px solid #0891b2}
.td-low{border-left:3px solid #f59e0b}
.td-foot,.td-note{font-size:.82rem;color:var(--muted);margin:.9rem 0 0}
html[data-theme=dark] .td-spark{background:linear-gradient(to top,rgba(8,145,178,.12),transparent)}
.wx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px}
.wx-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:1.25rem}
.wx-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:.9rem}
.wx-name{font-family:Poppins,sans-serif;font-size:1.05rem;font-weight:800;color:var(--ink);margin:0}
.wx-risk{font-size:.72rem;font-weight:700;padding:3px 10px;border-radius:99px;white-space:nowrap;flex-shrink:0}
.wx-row{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:.86rem;color:var(--muted);padding:5px 0;border-bottom:1px solid var(--line)}
.wx-row strong{color:var(--body);text-align:right;font-weight:600}
.wx-safety{font-size:.83rem;color:var(--body);line-height:1.5;margin:.85rem 0 0;background:var(--surface-light);border-radius:10px;padding:.7rem .85rem}

/* Guide community Q&A section */
.guide-community h2{font-family:Poppins,sans-serif;font-size:1.3rem;font-weight:800;color:var(--ink);margin:0 0 1rem}
.gc-list{list-style:none;padding:0;margin:0 0 1rem;display:flex;flex-direction:column;gap:8px}
.gc-q{display:flex;justify-content:space-between;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:.85rem 1.1rem;text-decoration:none;transition:.15s}
.gc-q:hover{border-color:#0891b2;box-shadow:0 4px 12px rgba(8,145,178,.1)}
.gc-q-title{font-weight:600;color:var(--ink);font-size:.95rem}
.gc-q-meta{font-size:.78rem;color:#0e7490;font-weight:700;white-space:nowrap;flex-shrink:0}
.gc-empty{color:var(--muted);margin:0 0 1rem}
.gc-cta{color:#0e7490;font-weight:700;text-decoration:none}
.gc-cta:hover{text-decoration:underline}

/* Daily check-in button (loyalty card) */
.loyalty-checkin{display:inline-block;margin-top:1rem;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.3);color:#fff;font-weight:700;font-size:.88rem;padding:9px 18px;border-radius:11px;cursor:pointer;transition:.15s;backdrop-filter:blur(6px)}

/* (removed duplicate early 2026 block — consolidated below for lean CSS) */

/* (removed duplicate early 2026 block #2 — full foundation lives once at EOF) */

.platform-header {
  text-align: center;
  margin-bottom: var(--s6);
}

.platform-header h2 {
  font-size: 2.15rem;
  margin: .3rem 0 .5rem;
  letter-spacing: -.03em;
}

.platform-sub {
  max-width: 640px;
  margin: 0 auto;
  color: #475569;
  font-size: 1.08rem;
  line-height: 1.5;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.platform-pillar {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 26px 24px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .15s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

.platform-pillar:hover {
  transform: var(--lift);
  box-shadow: var(--shadow-premium);
  border-color: var(--gold);
}

.platform-pillar.highlight {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201,151,58,.25);
}

.platform-pillar.highlight::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--gold), var(--gold-light));
}

.pillar-icon {
  width: 56px;
  height: 56px;
  font-size: 1.9rem;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(201,151,58,.10);
  color: var(--navy);
}

.platform-pillar h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  letter-spacing: -.01em;
}

.platform-pillar p {
  color: #475569;
  font-size: .96rem;
  line-height: 1.5;
  margin-bottom: 18px;
}

.pillar-link {
  display: inline-block;
  font-size: .92rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: rgba(201,151,58,.12);
}

.pillar-link:hover {
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  box-shadow: var(--gold-glow);
}

/* Tools showcase — premium 2026 treatment */
.tools-showcase {
  margin-bottom: var(--s7);
}

.tools-header {
  text-align: center;
  margin-bottom: var(--s5);
}

.tools-header h2 {
  font-size: 1.95rem;
  margin: .2rem 0 .4rem;
  letter-spacing: -.02em;
}

.tools-sub {
  color: #475569;
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.02rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.tool-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 22px 20px;
  text-decoration: none;
  color: inherit;
  transition: all .2s var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

.tool-card:hover {
  border-color: var(--gold);
  transform: var(--lift) scale(1.01);
  box-shadow: var(--gold-glow);
  background: linear-gradient(145deg, rgba(255,255,255,0.09), rgba(201,151,58,0.05));
}

.tool-card.highlight {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201,151,58,.2);
}

.tool-card.highlight::after {
  content: "★";
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: .8rem;
  color: var(--gold);
}

.tool-icon {
  width: 48px;
  height: 48px;
  font-size: 1.65rem;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(201,151,58,.09);
}

.tool-card h3 {
  font-size: 1.08rem;
  margin: 0 0 8px;
  letter-spacing: -.005em;
}

.tool-card p {
  font-size: .9rem;
  color: #475569;
  line-height: 1.45;
  margin: 0;
}

.tools-footnote {
  text-align: center;
  font-size: .82rem;
  color: #64748b;
  margin-top: var(--s4);
}

/* App experience / PWA integrated — 2026 premium polish */
.app-experience {
  background: #0a1628;
  color: #f4f1e9;
  border-radius: 22px;
  padding: 52px 44px;
  margin-bottom: var(--s7);
  border: 1px solid rgba(201,151,58,.15);
}
.app-experience .section-eyebrow { color: #a8d8ea; }

.app-exp-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 52px;
  align-items: center;
}

.app-exp-text h2 {
  color: #f4f1e9;
  font-size: 2.0rem;
  margin: .2rem 0 1rem;
  letter-spacing: -.025em;
}

.app-exp-text p {
  color: #d1c9b8;
  max-width: 540px;
  font-size: 1.02rem;
}

.app-exp-text ul {
  margin: 22px 0 26px;
  padding-left: 22px;
  list-style: none;
}

.app-exp-text li {
  margin-bottom: 8px;
  color: #d1c9b8;
  position: relative;
  padding-left: 4px;
}

.app-exp-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, var(--gold), #e8b96a);
  color: #0a1628;
  margin-right: 14px;
  box-shadow: 0 6px 18px rgba(201,151,58,.35);
}

.app-exp-note {
  font-size: .82rem;
  opacity: .75;
}

.app-exp-visual {
  display: flex;
  justify-content: center;
}

.app-phone-mock {
  width: 228px;
  height: 432px;
  background: #0b0f17;
  border-radius: 52px;
  padding: 12px;
  box-shadow: 0 36px 80px -18px rgba(0,0,0,.65),
              inset 0 0 0 1px rgba(255,255,255,.08);
  position: relative;
}

.phone-screen {
  background: #0f172a;
  border-radius: 40px;
  height: 100%;
  overflow: hidden;
  color: #f4f1e9;
  font-size: .78rem;
  border: 1px solid rgba(255,255,255,.06);
}

.phone-header {
  background: #1e2937;
  padding: 11px 18px;
  font-weight: 700;
  text-align: center;
  font-size: .72rem;
  border-bottom: 1px solid #334155;
  letter-spacing: .02em;
}

.phone-content {
  padding: 18px 16px;
}

.phone-card {
  background: #1e2937;
  border-radius: 11px;
  padding: 11px 13px;
  margin-bottom: 11px;
  border: 1px solid rgba(255,255,255,.05);
}

@media (max-width: 860px) {
  .app-exp-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .app-exp-visual {
    order: -1;
    margin-bottom: 20px;
  }
  .app-phone-mock {
    width: 180px;
    height: 340px;
  }
}
.loyalty-checkin:hover:not(:disabled){background:rgba(255,255,255,.28)}
.loyalty-checkin:disabled{opacity:.7;cursor:default}

/* Partner "since year" badge */
.td-since-badge{display:inline-flex;align-items:center;gap:5px;background:#eef2ff;color:#4338ca;font-weight:700;font-size:.78rem;padding:4px 12px;border-radius:99px;margin-left:8px;vertical-align:middle}
html[data-theme=dark] .td-since-badge{background:#1e1b4b;color:#a5b4fc}

/* ===== Expense tracker ===== */
.exp-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}
.exp-form{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:1.25rem}
.exp-input{padding:.75rem .85rem;border:1.5px solid var(--line);border-radius:11px;font-size:.95rem;background:var(--surface);color:var(--ink)}
.exp-label{flex:1;min-width:140px}
.exp-amount{width:120px}
.exp-cat{cursor:pointer}
.exp-add{background:linear-gradient(135deg,#0891b2,#0e7490);color:#fff;border:none;font-weight:700;padding:0 1.3rem;border-radius:11px;cursor:pointer;white-space:nowrap}
.exp-add:hover{filter:brightness(1.07)}
.exp-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
.exp-item{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:.7rem 1rem}
.exp-item-ico{font-size:1.3rem;flex-shrink:0}
.exp-item-info{flex:1;min-width:0;display:flex;flex-direction:column}
.exp-item-label{font-weight:600;color:var(--ink);font-size:.95rem}
.exp-item-cat{font-size:.78rem;color:var(--muted)}
.exp-item-amt{font-family:Poppins,sans-serif;font-weight:800;color:var(--ink);white-space:nowrap}
.exp-item-del{background:none;border:none;color:#cbd5e1;cursor:pointer;font-size:.95rem;padding:2px 6px}
.exp-item-del:hover{color:#ef4444}
.exp-empty{text-align:center;padding:2.5rem;color:var(--muted)}
.exp-empty-ico{font-size:2.5rem;margin-bottom:.5rem}
.exp-summary{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:1.5rem;position:sticky;top:90px;box-shadow:0 8px 24px rgba(15,23,42,.07)}
.exp-sum-title{font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin:0}
.exp-total{font-family:Poppins,sans-serif;font-size:2.2rem;font-weight:900;color:#0a7d4b;margin:.3rem 0 1.25rem}
.exp-bars{display:flex;flex-direction:column;gap:11px;margin-bottom:1.25rem}
.exp-bar-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.8rem}
.exp-bar-label{color:var(--body);white-space:nowrap}
.exp-bar{height:7px;background:var(--surface-light);border-radius:99px;overflow:hidden}
.exp-bar-fill{height:100%;background:linear-gradient(90deg,#0891b2,#10b981);border-radius:99px}
.exp-bar-val{color:var(--ink);font-weight:700;white-space:nowrap}
.exp-export{display:block;text-align:center;background:var(--surface-light);border:1px solid var(--line);color:var(--body);font-weight:700;padding:11px;border-radius:11px;text-decoration:none;margin-bottom:1rem}
.exp-export:hover{border-color:#0891b2;color:#0e7490}
.exp-note{font-size:.78rem;color:var(--muted);line-height:1.5;margin:0}
/* Expense analytics */
.exp-analytics{margin-top:1.5rem;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:1.5rem}
.exp-an-title{font-size:1.1rem;margin:0 0 1rem}
.exp-an-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.75rem;margin-bottom:1.25rem}
.exp-an-stat{background:var(--bg,#f8fafc);border:1px solid var(--line);border-radius:12px;padding:.85rem;text-align:center}
.exp-an-stat span{display:block;font-size:1.05rem;font-weight:700}
.exp-an-stat small{color:var(--muted);font-size:.76rem}
.exp-an-months h3{font-size:.92rem;margin:0 0 .75rem}
.exp-an-bars{display:flex;gap:.6rem;align-items:flex-end;overflow-x:auto;padding-bottom:.25rem}
.exp-an-bar-col{display:flex;flex-direction:column;align-items:center;gap:.3rem;min-width:52px;flex:1}
.exp-an-bar-track{width:100%;height:110px;display:flex;align-items:flex-end;background:var(--bg,#f1f5f9);border-radius:8px;overflow:hidden}
.exp-an-bar{width:100%;background:linear-gradient(to top,#0891b2,#22d3ee);border-radius:8px 8px 0 0;min-height:4px;transition:height .3s}
.exp-an-bar-val{font-size:.72rem;font-weight:600}
.exp-an-bar-lbl{font-size:.72rem;color:var(--muted)}
html[data-theme=dark] .exp-an-bar-track{background:#1e293b}
/* Auto-detect language suggestion banner */
.lang-suggest{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;background:linear-gradient(135deg,#ecfeff,#eff6ff);border:1px solid #a5f3fc;border-radius:14px;padding:.7rem 1rem;margin-bottom:1.25rem}
.lang-suggest-ico{font-size:1.2rem}
.lang-suggest-text{font-size:.92rem}
.lang-suggest-go{margin-left:auto;background:#0891b2;color:#fff;border-radius:999px;padding:.4rem .9rem;font-size:.85rem;font-weight:600;text-decoration:none;white-space:nowrap}
.lang-suggest-go:hover{background:#0e7490}
.lang-suggest-x{background:transparent;border:0;color:var(--muted);font-size:1rem;cursor:pointer;padding:.2rem .4rem}
html[data-theme=dark] .lang-suggest{background:linear-gradient(135deg,#083344,#0c1e3a);border-color:#155e75}
@media(max-width:820px){.exp-grid{grid-template-columns:1fr}.exp-summary{position:static}}

/* ============================================================
   NEW LOOK 2026 — THEME FOUNDATION (single source of truth)
   Premium 2026 travel aesthetic: glassmorphism cards, gold glows/lifts,
   modern hierarchy, attractive hovers + highlights. Dynamic, not static.
   Enhances the platform structure (pillars), tools grid (6), app-exp PWA.
   Builds on existing navy/gold/cream. ASCII quotes only.
   ============================================================ */

/* 2026 premium vars — glass + gold glow + lift for dynamic premium feel */
:root {
  --glass: rgba(255,255,255,0.72);
  --glass-border: rgba(226,224,216,0.6);
  --gold-glow: 0 0 0 1px rgba(201,151,58,.18), 0 10px 28px rgba(201,151,58,.12);
  --shadow-premium: 0 8px 28px rgba(10,22,40,.10), 0 20px 48px rgba(10,22,40,.08);
  --lift: translateY(-6px);
}

/* 2026 section rhythm + premium gold h2 (more breathing, modern impact, gold not ocean) */
.home-section,
.platform-structure,
.tools-showcase,
.app-experience {
  margin-bottom: var(--s8);
}
section > h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  letter-spacing: -.025em;
}
section > h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: -8px;
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}

/* Modern premium buttons + CTAs (lifts, gold glows, 2026 polish) */
.hero-cta,
.book-btn,
a.book-btn,
.pillar-link,
.app-exp-btn,
.nav-plan-trip {
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s var(--ease);
}
.hero-cta:hover,
.book-btn:hover,
a.book-btn:hover {
  transform: var(--lift);
  box-shadow: var(--shadow-brand);
  filter: brightness(1.03);
}

/* Platform structure — 4 pillars (glass, highlight gold bar on Tools for structura) */
.platform-structure {
  background: linear-gradient(180deg, var(--bg) 0%, #f8f7f3 100%);
  border-radius: 20px;
  padding: var(--s7) var(--s5);
  margin-bottom: var(--s7);
  border: 1px solid var(--glass-border);
}
.platform-header { text-align: center; margin-bottom: var(--s6); }
.platform-header h2 { font-size: 2.15rem; margin: .3rem 0 .5rem; letter-spacing: -.03em; }
.platform-sub { max-width: 640px; margin: 0 auto; color: #475569; font-size: 1.08rem; line-height: 1.5; }
.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }

.platform-pillar {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 26px 24px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  position: relative;
  overflow: hidden;
}
.platform-pillar:hover {
  transform: var(--lift);
  box-shadow: var(--shadow-premium);
  border-color: rgba(201,151,58,.35);
}
.platform-pillar.highlight {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201,151,58,.25);
}
.platform-pillar.highlight::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--gold), var(--gold-light));
}
.pillar-icon {
  width: 56px; height: 56px; font-size: 1.9rem; margin-bottom: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px; background: rgba(201,151,58,.10); color: var(--navy);
}
.platform-pillar h3 { margin: 0 0 10px; font-size: 1.18rem; letter-spacing: -.01em; }
.platform-pillar p { color: #475569; font-size: .96rem; line-height: 1.5; margin-bottom: 18px; }
.pillar-link {
  display: inline-block; font-size: .92rem; font-weight: 700; color: var(--navy); text-decoration: none;
  padding: 6px 14px; border-radius: var(--radius-sm); background: rgba(201,151,58,.12);
}
.pillar-link:hover { background: var(--gold); color: var(--navy); text-decoration: none; box-shadow: var(--gold-glow); }

/* Tools showcase — 6 cards, premium glass, gold hover + star on AI highlight (dynamic) */
.tools-showcase { margin-bottom: var(--s7); }
.tools-header { text-align: center; margin-bottom: var(--s5); }
.tools-header h2 { font-size: 1.95rem; margin: .2rem 0 .4rem; letter-spacing: -.02em; }
.tools-sub { color: #475569; max-width: 560px; margin: 0 auto; font-size: 1.02rem; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }

.tool-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 22px 20px;
  text-decoration: none; color: inherit;
  transition: all .2s var(--ease);
  display: flex; flex-direction: column; position: relative;
}
.tool-card:hover {
  border-color: var(--gold);
  transform: var(--lift) scale(1.01);
  box-shadow: var(--gold-glow);
  background: linear-gradient(145deg, rgba(255,255,255,0.09), rgba(201,151,58,0.05));
}
.tool-card.highlight {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201,151,58,.2);
}
.tool-card.highlight::after {
  content: "★";
  position: absolute; top: 14px; right: 14px;
  font-size: .8rem; color: var(--gold);
}
.tool-icon {
  width: 48px; height: 48px; font-size: 1.65rem; margin-bottom: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; background: rgba(201,151,58,.09);
}
.tool-card h3 { font-size: 1.08rem; margin: 0 0 8px; letter-spacing: -.005em; }
.tool-card p { font-size: .9rem; color: #475569; line-height: 1.45; margin: 0; }
.tools-footnote { text-align: center; font-size: .82rem; color: #64748b; margin-top: var(--s4); }

/* App experience / PWA — dark premium 2026 treatment, phone mock with glow, one-tap feel (dynamic always-with-you) */
.app-experience {
  background: #0a1628;
  color: #f4f1e9;
  border-radius: 22px;
  padding: 52px 44px;
  margin-bottom: var(--s7);
  border: 1px solid rgba(201,151,58,.15);
}
.app-exp-inner { display: grid; grid-template-columns: 1fr 320px; gap: 52px; align-items: center; }
.app-exp-text h2 { color: #f4f1e9; font-size: 2.0rem; margin: .2rem 0 1rem; letter-spacing: -.025em; }
.app-exp-text p { color: #d1c9b8; max-width: 540px; font-size: 1.02rem; }
.app-exp-text ul { margin: 22px 0 26px; padding-left: 22px; list-style: none; }
.app-exp-text li { margin-bottom: 8px; color: #d1c9b8; position: relative; padding-left: 4px; }

.app-exp-btn {
  display: inline-flex; align-items: center; padding: 13px 26px; border-radius: 999px;
  font-weight: 700; text-decoration: none;
  background: linear-gradient(135deg, var(--gold), #e8b96a);
  color: #0a1628; margin-right: 14px;
  box-shadow: 0 6px 18px rgba(201,151,58,.35);
}
.app-exp-btn:hover { transform: var(--lift); box-shadow: var(--gold-glow); }
.app-exp-note { font-size: .82rem; opacity: .75; }

.app-exp-visual { display: flex; justify-content: center; }
.app-phone-mock {
  width: 228px; height: 432px;
  background: #0b0f17;
  border-radius: 52px;
  padding: 12px;
  box-shadow: 0 36px 80px -18px rgba(0,0,0,.65), inset 0 0 0 1px rgba(255,255,255,.08);
  position: relative;
}
.phone-screen {
  background: #0f172a; border-radius: 40px; height: 100%; overflow: hidden;
  color: #f4f1e9; font-size: .78rem; border: 1px solid rgba(255,255,255,.06);
}
.phone-header {
  background: #1e2937; padding: 11px 18px; font-weight: 700; text-align: center;
  font-size: .72rem; border-bottom: 1px solid #334155; letter-spacing: .02em;
}
.phone-content { padding: 18px 16px; }
.phone-card {
  background: #1e2937; border-radius: 11px; padding: 11px 13px; margin-bottom: 11px;
  border: 1px solid rgba(255,255,255,.05);
}
@media (max-width: 860px) {
  .app-exp-inner { grid-template-columns: 1fr; text-align: center; }
  .app-exp-visual { order: -1; margin-bottom: 20px; }
  .app-phone-mock { width: 180px; height: 340px; }
}

/* Refined focus + selection for 2026 polish */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Improved home section spacing for premium airy 2026 feel */
.home-section > .section-head,
.platform-header,
.tools-header {
  margin-bottom: var(--s6);
}

/* === VISUAL BOOST FOR EARLY "NEW LOOK 2026" SECTIONS (to fix "arata la fel") ===
   Stronger contrast, more dynamic lifts/scale/glow, gold tint so the platform+tools
   stand out immediately after stats as the premium 2026 experience.
   App-exp already dark and different — kept its premium treatment.
*/
.platform-structure {
  background: linear-gradient(180deg, #faf9f6 0%, #f5f0e3 100%);
  border: 1px solid rgba(201,151,58,0.22);
  box-shadow: 0 12px 44px rgba(10,22,40,.12);
  position: relative;
}
.platform-structure::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  opacity: 0.9;
  border-radius: 20px 20px 0 0;
}
.platform-pillar {
  background: rgba(255,255,255,0.82);
  box-shadow: 0 6px 20px rgba(10,22,40,.08);
}
.platform-pillar:hover {
  transform: var(--lift) scale(1.015);
  box-shadow: 0 16px 48px rgba(201,151,58,.18), var(--shadow-premium);
}
.platform-pillar.highlight {
  background: rgba(255, 249, 235, 0.95);
  border-color: var(--gold);
}
.platform-pillar.highlight::before {
  width: 6px;
  box-shadow: 2px 0 8px rgba(201,151,58,.3);
}

.tools-showcase .tools-header h2 {
  color: var(--ink);
}
.tool-card {
  background: rgba(255,255,255,0.82);
  box-shadow: 0 4px 16px rgba(10,22,40,.07);
  border-color: rgba(226,224,216,0.75);
}
.tool-card:hover {
  transform: var(--lift) scale(1.02);
  box-shadow: var(--gold-glow), 0 14px 36px rgba(10,22,40,.12);
  border-color: var(--gold);
}
.tool-card.highlight {
  background: rgba(255, 249, 235, 0.92);
  border-color: var(--gold);
}
.tool-card.highlight::after {
  content: "★";
  color: var(--gold);
  text-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.tool-icon {
  background: rgba(201,151,58,.14);
}

/* ═══════════════════════════════════════════════════════════════════════════
   EDITORIAL TROPICAL — homepage hero (frontend-design skill applied)
   Direction: travel-magazine editorial. Display serif (Fraunces), asymmetric
   layout, gradient-mesh + grain depth, one grid-breaking overlapping image card,
   one orchestrated staggered load reveal. Dominant ocean-deep + sharp gold accent.
   ═══════════════════════════════════════════════════════════════════════════ */
.hero-editorial{
  position:relative;
  min-height:100svh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(5rem,12vh,9rem) clamp(1.25rem,5vw,5rem) clamp(2rem,6vh,4rem);
  overflow:hidden;
  isolation:isolate;
  color:#fdfbf7;
  /* gradient mesh: layered radial pools of ocean-deep + a warm gold glow */
  background:
    radial-gradient(120% 90% at 12% 8%, #0a3a5c 0%, rgba(10,58,92,0) 55%),
    radial-gradient(90% 80% at 95% 18%, rgba(201,151,58,.28) 0%, rgba(201,151,58,0) 50%),
    radial-gradient(130% 120% at 80% 100%, #06243a 0%, rgba(6,36,58,0) 60%),
    linear-gradient(160deg, #0a1628 0%, #06243a 45%, #0a3a5c 100%);
}
/* subtle film-grain / noise for tactile depth (SVG, no asset) */
.hero-ed-grain{
  position:absolute; inset:0; z-index:-1; pointer-events:none;
  opacity:.06; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-ed-inner{
  position:relative;
  max-width:var(--maxw,1200px);
  width:100%;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  align-items:center;
  gap:clamp(1.5rem,4vw,4rem);
}
.hero-ed-eyebrow{
  font-family:var(--font-poppins);
  text-transform:uppercase;
  letter-spacing:.28em;
  font-size:.72rem;
  font-weight:600;
  color:var(--gold);
  margin:0 0 1.1rem;
}
.hero-ed-title{
  font-family:var(--font-serif);
  font-weight:600;
  font-size:clamp(2.9rem,7.5vw,6.2rem);
  line-height:.97;
  letter-spacing:-.02em;
  margin:0 0 1.4rem;
  color:#fdfbf7;
}
.hero-ed-em{
  font-style:italic;
  font-weight:500;
  color:var(--gold);
  /* faint underline-glow under the accent word */
  text-shadow:0 0 38px rgba(201,151,58,.35);
}
.hero-ed-sub{
  font-family:var(--font-inter-next,"DM Sans"),sans-serif;
  font-size:clamp(1rem,1.4vw,1.2rem);
  line-height:1.6;
  max-width:36ch;
  color:rgba(253,251,247,.82);
  margin:0 0 2rem;
}
.hero-ed-cta{ display:flex; gap:.9rem; flex-wrap:wrap; align-items:center; }
.hero-btn-ghost{
  font-family:var(--font-poppins);
  font-weight:600;
  font-size:.95rem;
  color:#fdfbf7;
  text-decoration:none;
  padding:.85rem 0;
  border-bottom:2px solid rgba(253,251,247,.25);
  transition:border-color .25s,color .25s;
}
.hero-btn-ghost:hover{ border-color:var(--gold); color:var(--gold); }
/* overlapping image card — the memorable grid-breaker */
.hero-ed-figure{
  position:relative;
  margin:0;
  opacity:1;
  animation:none;
  aspect-ratio:720/340;
  border-radius:6px 6px 60px 6px;
  background:#0a3a5c;
  overflow:hidden;
  box-shadow:0 40px 90px -30px rgba(0,0,0,.65), 0 0 0 1px rgba(253,251,247,.08);
  transform:rotate(2.5deg) translateY(-8%);
  justify-self:end;
  width:min(100%,420px);
}
.hero-ed-figure-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
  opacity:1 !important;
  animation:none !important;
}
.hero-ed-figure::after{
  content:''; position:absolute; inset:0; border-radius:inherit;
  background:linear-gradient(200deg, rgba(10,22,40,0) 40%, rgba(6,36,58,.55) 100%);
}
.hero-ed-figtag{
  position:absolute; left:-14px; bottom:24px; z-index:2;
  font-family:var(--font-poppins); font-weight:600; font-size:.72rem;
  letter-spacing:.12em; text-transform:uppercase;
  background:var(--gold); color:#0a1628;
  padding:.5rem .85rem; border-radius:3px;
  box-shadow:0 10px 24px -8px rgba(201,151,58,.6);
}
/* search band below the editorial split */
.hero-search-band{ margin-top:clamp(2rem,5vh,3.5rem); position:relative; z-index:3; }

/* orchestrated staggered load reveal */
@keyframes heroReveal{ from{ opacity:0; transform:translate3d(0,18px,0) } to{ opacity:1; transform:translate3d(0,0,0) } }
.hero-editorial .reveal-1,.hero-editorial .reveal-2,.hero-editorial .reveal-3,.hero-editorial .reveal-4{
  opacity:0; animation:heroReveal .85s cubic-bezier(.22,1,.36,1) forwards;
}
.hero-editorial .reveal-1{ animation-delay:.05s }
.hero-editorial .reveal-2{ animation-delay:.18s }
.hero-editorial .reveal-3{ animation-delay:.32s }
.hero-editorial .reveal-4{ animation-delay:.46s }
@media (prefers-reduced-motion:reduce){
  .hero-editorial [class*=reveal]{ animation:none; opacity:1 }
}
/* mobile: stack, TOP-aligned (vertical centering pushed the editorial copy
   above the fold), image card first-but-smaller, headline dominant */
@media (max-width:820px){
  .hero-editorial [class*=reveal]{ animation:none; opacity:1; transform:none; }
  .hero-editorial{ min-height:auto; justify-content:flex-start; padding-top:6.5rem; padding-bottom:1.5rem; }
  .hero-ed-inner{ grid-template-columns:1fr; gap:1.5rem; }
  .hero-ed-figure{ order:-1; width:min(100%,320px); aspect-ratio:16/10;
    transform:rotate(-1.5deg); justify-self:start; border-radius:6px 6px 40px 6px; }
  .hero-ed-title{ font-size:clamp(2.5rem,11vw,3.6rem); }
  .hero-ed-sub{ max-width:none; }
  .hero-search-band{ margin-top:1.75rem; }
  /* PSI mobile: kill animation burst + scroll-reveal (31+ non-composited) */
  .reveal, .home-section .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  body, main, .page-main, .search-card-glass,
  .hero-search-center h1, .hero-search-center > p {
    animation: none !important;
  }
  .hero::before, .hero::after, .hero-scroll-indicator, .partners-track,
  .hero-cta::after, .book-btn-gold::after { animation: none !important; }
  body:has(.hero-editorial), body:has(.hero-editorial) main { animation: none !important; }
}
