/* =========================================================
   ASIA BY NATURE — Brand Styles
   New nature-led identity: deep forest anchor + light mist/sand accents
   ========================================================= */
:root {
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Be Vietnam Pro', 'Helvetica Neue', Arial, sans-serif;
  --forest: #1F4B3D;       /* deep forest green — anchor */
  --forest-light: #35694F; /* lighter green for hovers */
  --moss: #6B8E5A;         /* moss green accent */
  --clay: #C97B4A;         /* warm terracotta — CTA/accent */
  --sand: #F4EDE0;         /* warm light background */
  --mist: #EDF2ED;         /* pale green-tinted background */
  --stone-dark: #202420;   /* primary text */
  --stone-muted: #5B6058;  /* secondary text */
  --white: #FFFFFF;
  --accent-blue: #3D6FE0; /* divider accent */
}

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

body {
  font-family: var(--font-sans);
  background: var(--sand);
  color: var(--stone-dark);
  line-height: 1.7;
}

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

/* ---- NAVIGATION ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(249,246,240,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(32,36,32,0.08);
  white-space: nowrap;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.15rem;
  color: #1A2E28;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.nav-logo-icon {
  height: 26px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.nav-logo-by {
  color: #3E7B5E;
  font-weight: 500;
  margin: 0 0.1em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  list-style: none;
  margin: 0 0.4rem;
  white-space: nowrap;
}

.nav-links li {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  color: var(--stone-muted);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--clay); }

/* ─── NAV DESTINATIONS DROPDOWN ─────────────────────── */
.nav-has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: default;
}
.nav-dropdown-caret {
  font-size: 0.65em;
  opacity: 0.55;
  transition: transform 0.22s ease, opacity 0.22s;
  display: inline-block;
  margin-top: 1px;
}
.nav-has-dropdown:hover .nav-dropdown-caret {
  transform: rotate(180deg);
  opacity: 0.9;
}
.nav-dropdown-menu {
  position: absolute;
  /* top: 100% means menu starts exactly at bottom of li — no gap */
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 152px;
  background: #1C3A2F;
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.22), 0 2px 8px rgba(0,0,0,0.1);
  /* padding-top creates the visual 10px gap WITHOUT breaking hover */
  padding: 12px 5px 5px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* delay hiding by 120ms so quick mouse movements don't close it */
  transition: opacity 0.18s ease 0.12s, transform 0.18s ease 0.12s, visibility 0.18s ease 0.12s;
  z-index: 9999;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  /* arrow sits at top of the padding area */
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 5px solid #1C3A2F;
}
.nav-has-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  /* show immediately, no delay */
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 7px;
  color: rgba(249,246,240,0.82) !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-dropdown-item:hover {
  background: rgba(255,255,255,0.1);
  color: #F9F6F0 !important;
}
/* ─────────────────────────────────────────────────────── */

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-user-area, .nav-auth-buttons {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}

/* ---- USER DROPDOWN MENU ---- */
.nav-user-dropdown {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.user-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(31, 75, 61, 0.08);
  border: 1px solid rgba(31, 75, 61, 0.2);
  border-radius: 20px;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-user-dropdown:hover .user-dropdown-toggle {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.user-dropdown-toggle .caret {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.nav-user-dropdown:hover .user-dropdown-toggle .caret {
  transform: rotate(180deg);
}

.user-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  width: 230px;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid #E2E8F0;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 200;
}

.nav-user-dropdown:hover .user-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown-header {
  padding: 8px 16px;
  border-bottom: 1px solid #F1F5F9;
  margin-bottom: 4px;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #334155;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.user-dropdown-item:hover {
  background: #F8FAFC;
  color: var(--forest);
}

.user-dropdown-divider {
  height: 1px;
  background: #E2E8F0;
  margin: 6px 0;
}

.user-dropdown-item.logout-item {
  color: #DC2626;
}

.user-dropdown-item.logout-item:hover {
  background: #FEF2F2;
  color: #991B1B;
}


.nav-btn-login {
  padding: 4px 10px;
  border: 1px solid var(--forest);
  color: var(--forest);
  border-radius: 20px;
  font-size: 0.76rem;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
}

.nav-btn-register {
  padding: 4px 10px;
  background: var(--forest);
  color: var(--white);
  border-radius: 20px;
  font-size: 0.76rem;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
}

.nav-cta {
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.8rem;
  background: var(--clay);
  color: var(--white);
  border-radius: 20px;
  white-space: nowrap;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: #B56638; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

.lang-btn {
  font-family: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.55rem;
  background: transparent;
  border: 1px solid rgba(32,36,32,0.2);
  border-radius: 4px;
  color: var(--stone-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.lang-btn:hover { border-color: var(--forest); color: var(--forest); }

.lang-btn.active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

@media (max-width: 1280px) {
  nav { padding: 0.75rem 1.2rem; }
  .nav-links { gap: 0.75rem; }
  .nav-links a { font-size: 0.78rem; }
}

@media (max-width: 1024px) {
  .nav-links { gap: 0.5rem; }
  .nav-links a { font-size: 0.75rem; }
  .nav-cta { padding: 0.4rem 0.8rem; font-size: 0.75rem; }
}


/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 3rem;
  color: var(--white);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease;
}

.hero-slide.active { opacity: 1; }

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,26,20,0.18) 0%, rgba(15,26,20,0.52) 100%);
  z-index: 1;
}

.hero-content { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }

.hero-dots {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  max-width: 280px;
  margin: 2.5rem auto 0;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-dot.active { background: var(--white); }

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto;
  color: rgba(255,255,255,0.9);
}

.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--clay);
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  border-radius: 2px;
  transition: background 0.2s;
}
.btn-primary:hover { background: #B56638; }

.btn-ghost {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* ---- SECTIONS ---- */
section { padding: 5rem 3rem; }

.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--stone-dark);
  margin-bottom: 1.25rem;
}

.section-lead {
  font-size: 1rem;
  color: var(--stone-muted);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 3rem;
}

/* ---- PHILOSOPHY ---- */
.philosophy { background: var(--white); text-align: center; }

.philosophy .section-title { max-width: 640px; margin-left: auto; margin-right: auto; }

.philosophy-block { max-width: 640px; margin: 0 auto; text-align: center; }

.philosophy-block p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--stone-muted);
  margin-bottom: 1.5rem;
}

.pull-line {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--forest);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.text-link {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--forest);
  border-bottom: 1px solid var(--forest);
  padding-bottom: 1px;
}

/* ---- DESTINATIONS ---- */
.destinations { background: var(--mist); }

.destinations > .section-eyebrow,
.destinations > .section-title,
.destinations > .section-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.destinations > .section-title { max-width: 640px; }

.country-tabs {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  list-style: none;
  border-bottom: 1px solid rgba(32,36,32,0.15);
  flex-wrap: wrap;
}

.country-tab {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 0.75rem;
  color: var(--stone-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.country-tab.active { color: var(--forest); border-color: var(--forest); }

.country-block {
  margin-bottom: 3rem;
}

.country-block:last-child { margin-bottom: 0; }

.country-block h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--forest);
  text-align: center;
  margin-bottom: 0;
}

.country-divider {
  width: 1px;
  height: 36px;
  background: var(--accent-blue);
  margin: 1rem auto 1.5rem;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .country-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .country-grid { grid-template-columns: 1fr; }
}

.nature-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 1/1;
  box-shadow: 0 3px 12px rgba(15,26,20,0.12);
}

.nature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nature-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.25rem 1.5rem 1.5rem;
  background: linear-gradient(transparent 35%, rgba(10,18,13,0.8) 100%);
  color: var(--white);
  text-align: center;
}

.nature-card-label .place {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.nature-card-label .tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

/* ---- JOURNEYS ---- */
.journeys { background: var(--white); }

.journeys > .section-eyebrow,
.journeys > .section-title,
.journeys > .section-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.journeys > .section-title { max-width: 640px; }

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .journey-grid { grid-template-columns: 1fr; }
}

.journey-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 1/1;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(15,26,20,0.12);
}

.journey-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.journey-card:hover img { transform: scale(1.04); }

.journey-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.25rem 1.5rem 1.5rem;
  background: linear-gradient(transparent 35%, rgba(10,18,13,0.8) 100%);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
}

/* ---- TRAVEL BY MONTH ---- */
.travel-by-month { background: var(--white); }

.travel-by-month > .section-eyebrow,
.travel-by-month > .section-title,
.travel-by-month > .section-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.travel-by-month > .section-title { max-width: 640px; }

.month-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .month-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .month-grid { grid-template-columns: 1fr; }
}

.month-card {
  background: var(--mist);
  border-radius: 12px;
  padding: 1.5rem 1.35rem;
}

.month-card .month-name {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.4rem;
}

.month-card .month-country {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-muted);
  margin-bottom: 0.6rem;
}

.month-card h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.month-card .month-why {
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--stone-muted);
}

.month-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--stone-muted);
  margin-top: 2rem;
}

/* ---- OUR APPROACH ---- */
.our-approach { background: var(--mist); color: var(--stone-dark); }

.our-approach > .section-eyebrow,
.our-approach > .section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.our-approach > .section-title { max-width: 640px; color: var(--stone-dark); }

.approach-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
}

@media (max-width: 900px) {
  .approach-stack { grid-template-columns: 1fr; gap: 3rem; }
}

.approach-block {
  border-top: 1px solid rgba(32,36,32,0.15);
  padding-top: 2rem;
}

.approach-block h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--forest);
}

.approach-block p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--stone-muted);
  margin-bottom: 1rem;
}

.approach-block .pull-line { color: var(--forest); font-size: 1.1rem; }

.approach-block a {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- GUEST STORIES ---- */
.stories { background: var(--sand); }

.stories > .section-eyebrow,
.stories > .section-title,
.stories > .section-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.stories > .section-title { max-width: 640px; }

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.story-card {
  background: var(--white);
  border-radius: 4px;
  padding: 2rem 1.75rem;
}

.story-tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1rem;
}

.story-card blockquote {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--stone-dark);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.story-author {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--stone-muted);
}

.story-author strong {
  display: block;
  font-weight: 500;
  color: var(--stone-dark);
  font-style: normal;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

/* ---- ENQUIRY BANNER ---- */
.enquiry-banner {
  background:
    linear-gradient(180deg, rgba(15,26,20,0.55) 0%, rgba(13,22,17,0.82) 100%),
    url('https://commons.wikimedia.org/wiki/Special:FilePath/Rice_terraces_in_Sapa,_Vietnam.jpg') center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 5rem 3rem;
}

.enquiry-banner .section-title { color: var(--white); margin-bottom: 1rem; }

.enquiry-banner > p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.enquiry-promise {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--clay);
  letter-spacing: 0.05em;
  margin-top: 1.5rem;
}

/* ---- ENQUIRY FORM (4-SECTION CARD DESIGN) ---- */
.enquiry-form {
  max-width: 820px;
  margin: 0 auto 1.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.form-card {
  background: rgba(20, 32, 25, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 2.25rem 2rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.form-card:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

.form-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--clay, #E29D62);
  margin: 0 0 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-row-three {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) {
  .form-row-three { grid-template-columns: 1fr; }
}

/* ---- Interactive Chip Cards ---- */
.chip-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  margin-top: 0.4rem;
}

.chip-grid-small {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.chip-card {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.chip-card input[type="checkbox"],
.chip-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.chip-card-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

.chip-card:hover .chip-card-content {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.chip-card input:checked + .chip-card-content {
  background: rgba(226, 157, 98, 0.25);
  border-color: var(--clay, #E29D62);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(226, 157, 98, 0.25);
}

.chip-icon {
  font-size: 1.1rem;
}

.form-section + .form-section {
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255,255,255,0.16);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-row-trip { grid-template-columns: 2fr 1fr; }

@media (max-width: 600px) {
  .form-row, .form-row-trip { grid-template-columns: 1fr; gap: 1.25rem; }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field-full { margin-bottom: 1.5rem; }

.form-field-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-field-group-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-field label {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.8);
}

.form-field input,
.form-field select,
.form-field textarea,
.form-field-group-inputs select {
  font-family: inherit;
  font-size: 0.92rem;
  padding: 0.75rem 0.95rem;
  height: 48px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  color: var(--stone-dark);
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.form-field-group-inputs select:focus {
  outline: none;
  border-color: var(--clay, #E29D62);
  box-shadow: 0 0 0 3px rgba(226, 157, 98, 0.25);
  background: #ffffff;
}

.form-field textarea {
  height: auto;
  resize: vertical;
}

.form-field select:required:invalid { color: rgba(32,36,32,0.6); }
.form-field select option[value=""] { color: rgba(32,36,32,0.6); }
.form-field select option:not([value=""]) { color: var(--stone-dark); }

.form-phone-row { display: flex; gap: 0.6rem; }
.form-phone-row select { flex: 0 0 108px; }
.form-phone-row input { flex: 1; }

/* ---- Destination multiselect ---- */
.multiselect { position: relative; }

.multiselect-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 2px;
  color: rgba(32,36,32,0.5);
  cursor: pointer;
  text-align: left;
}

.multiselect-trigger.has-value { color: var(--stone-dark); }

.multiselect-chevron {
  font-style: normal;
  color: var(--stone-muted);
  transition: transform 0.2s;
  margin-left: 0.75rem;
}

.multiselect.open .multiselect-chevron { transform: rotate(180deg); }

.multiselect-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid rgba(32,36,32,0.15);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(15,26,20,0.25);
  padding: 0.5rem 0;
  z-index: 10;
}

.multiselect-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.88rem;
  color: var(--stone-dark);
  cursor: pointer;
}

.multiselect-panel .multiselect-option,
.multiselect-panel .multiselect-option span {
  color: var(--stone-dark);
}

.multiselect-option:hover { background: var(--mist); }

.multiselect-option input { width: auto; padding: 0; margin: 0; }

/* ---- Toggle switch ---- */
.toggle-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.5rem;
}

.toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 58px;
  height: 30px;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 15px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.toggle-switch.on { background: var(--clay); border-color: var(--clay); }

.toggle-switch-handle {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  transition: left 0.2s;
}

.toggle-switch.on .toggle-switch-handle { left: 29px; }

.toggle-switch-label {
  position: absolute;
  width: 100%;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white);
}

.toggle-switch.on .toggle-switch-label { padding-left: 0; }

.toggle-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

.enquiry-form .btn-primary {
  display: block;
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
  margin-top: 2rem;
}

.form-success {
  font-size: 0.95rem;
  color: var(--white);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

/* ---- FOOTER ---- */
footer {
  background:
    linear-gradient(180deg, rgba(13,24,17,0.82) 0%, rgba(10,18,13,0.94) 100%),
    url('https://commons.wikimedia.org/wiki/Special:FilePath/Rice_terraces_in_Sapa,_Vietnam.jpg') center/cover no-repeat;
  background-color: #1A2B20;
  color: rgba(255,255,255,0.7);
  padding: 4rem 3rem 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  transition: border-color 0.2s, color 0.2s;
}
.social-link:hover { border-color: var(--clay); color: var(--clay); }

.footer-col h5 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }

.footer-col a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-contact p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.5rem;
}

.footer-contact a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); }

.legal-links { display: flex; gap: 1.5rem; }
.legal-links a { font-size: 0.78rem; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.legal-links a:hover { color: rgba(255,255,255,0.7); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1400px) {
  nav { padding: 0.7rem 0.75rem; }
  .nav-links { gap: 0.5rem; margin: 0 0.2rem; }
  .nav-links a { font-size: 0.76rem; }
  .nav-right { gap: 0.35rem; }
  .nav-btn-login, .nav-btn-register { padding: 4px 8px; font-size: 0.73rem; }
  .nav-cta { padding: 0.4rem 0.65rem; font-size: 0.73rem; }
}

@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  section { padding: 3.5rem 1.5rem; }
  .hero { padding: 4rem 1.5rem 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
