/* ================================================================
   HOME PAGE — Aegean Heritage Design
   ================================================================ */

:root {
  --h-ivory:    #FFFFFF;
  --h-sky:      #FFFFFF;
  --h-sky-deep: #EEF3F8;
  --h-ink:      #1a3550;
  --h-ink-2:    #2a4a6a;
  --h-ink-soft: rgba(42,74,106,0.7);
  --h-blue:     #1E3A5F;
  --h-blue-s:   #3D6A93;
  --h-line:     rgba(42,74,106,0.08);
  --h-line-2:   rgba(42,74,106,0.14);
}

.home-page { background: linear-gradient(180deg, var(--h-sky) 0%, var(--h-ivory) 100%); }
.home-page .m-main { padding-bottom: 0; }

/* ——— HEADER override for Aegean sky —————————————————————————— */
/* Header uses global vibrant glassmorphism */

/* ——— HERO — Full-bleed photo ————————————————————————————————————— */
.h-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Photo layer */
.h-hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background:
    url('/images/hero.jpg') center center / cover no-repeat;
  transform: scale(1.04);          /* slight oversize for subtle parallax room */
  transition: transform 8s ease-out;
  will-change: transform;
}
/* Minimal blend so the search panel below has a soft handoff. The previous
   coral/white washes muted the photo too much — keep a small bottom fade only. */
.h-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 75%, rgba(255,255,255,0.4) 100%);
  pointer-events: none;
}

/* Glass card stage — centred, card nudged upward */
.h-hero-stage {
  position: relative; z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 60px; /* reduced top → card sits higher */
}

@keyframes glassFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* Floating editorial glass panel — extra-light + smaller, lets the photo breathe */
.h-hero-glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(3px) saturate(115%);
  -webkit-backdrop-filter: blur(3px) saturate(115%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 12px 16px 10px;
  max-width: 240px;
  width: 100%;
  text-align: center;
  box-shadow:
    0 6px 18px rgba(10,22,40,0.10),
    inset 0 0 0 1px rgba(255,255,255,0.12);
  animation: glassFloat 6s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.h-hero-glass::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% -20%, rgba(30, 58, 95, 0.06), transparent 60%);
  z-index: -1; pointer-events: none;
}

.h-hero-title {
  font-family: 'Norelli', 'Cormorant Garamond', 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(16px, 1.9vw, 22px);
  line-height: 1.1;
  letter-spacing: 0.06em;
  color: var(--h-ink);
  margin: 0 0 6px;
}
.h-hero-title em { color: #ffffff; font-style: normal; }

.h-hero-sub {
  font-size: 10.5px; line-height: 1.55;
  color: var(--h-ink-soft);
  margin: 0 0 10px;
}
.h-hero-ctas {
  display: flex; gap: 6px; flex-wrap: wrap;
  align-items: center; justify-content: center;
}
.h-hero-ctas .h-btn-filled,
.h-hero-ctas .h-btn-outline {
  padding: 8px 16px;
  font-size: 11.5px;
}

/* CTA loading state — shows after submit, before navigation lands */
.h-search-btn.is-loading {
  opacity: 0.72;
  cursor: progress;
  pointer-events: none;
  position: relative;
}
.h-search-btn.is-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.55);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: hSpin 720ms linear infinite;
}
@keyframes hSpin {
  to { transform: rotate(360deg); }
}

/* Inline form error (validation feedback) */
.h-search-error {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(168, 50, 58, 0.10);
  border: 1px solid rgba(168, 50, 58, 0.32);
  color: #8B1F26;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  transition: opacity 350ms ease, transform 350ms ease;
}
.h-search-error.is-hiding { opacity: 0; transform: translateY(-4px); }

/* ——— BUTTONS (home-specific) ———————————————————————————————————— */

/* Primary filled — coral pink (2026 vitality refresh) */
.h-btn-filled {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 13px 26px; border-radius: 999px;
  background: linear-gradient(135deg, #3D6A93 0%, #1E3A5F 100%);
  color: white; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  text-decoration: none; letter-spacing: 0.01em;
  box-shadow: 0 8px 22px rgba(30, 58, 95,0.36);
  transition: background 240ms cubic-bezier(0.16,1,0.3,1),
              box-shadow 240ms cubic-bezier(0.16,1,0.3,1),
              transform 240ms cubic-bezier(0.16,1,0.3,1);
}
.h-btn-filled:hover {
  background: linear-gradient(135deg, #1E3A5F 0%, #142A47 100%);
  box-shadow: 0 14px 32px rgba(194,106,102,0.46);
  transform: translateY(-2px);
  color: white;
}

/* Ghost outline */
.h-btn-outline {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px; border-radius: 999px;
  background: rgba(255,255,255,0.82);
  border: 1.5px solid rgba(26,53,80,0.22);
  color: var(--h-ink); cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500;
  text-decoration: none; transition: background 0.15s, border-color 0.15s;
}
.h-btn-outline:hover {
  background: white;
  border-color: rgba(26,53,80,0.36);
  color: var(--h-ink);
}

/* Legacy aliases used elsewhere on the page */
.h-btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 13px 26px; border-radius: 999px;
  background: linear-gradient(135deg, #3D6A93, #1E3A5F);
  color: white; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500;
  text-decoration: none; letter-spacing: 0.01em;
  box-shadow: 0 4px 16px rgba(30, 58, 95,0.28);
  transition: transform 0.15s, box-shadow 0.15s;
}
.h-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(30, 58, 95,0.40);
  color: white;
}
.h-btn-primary.h-btn-lg { padding: 11px 24px; font-size: 14px; }

.h-btn-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 13px 24px; border-radius: 999px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--h-line-2);
  color: var(--h-ink); cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500;
  text-decoration: none; transition: background 0.15s;
}
.h-btn-ghost:hover { background: white; color: var(--h-ink); }

.h-btn-cta-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 22px; border-radius: 999px;
  background: rgba(42,74,106,0.08);
  border: 1px solid rgba(42,74,106,0.18);
  color: var(--h-ink); cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500;
  text-decoration: none; transition: background 0.15s;
}
.h-btn-cta-ghost:hover {
  background: rgba(42,74,106,0.14);
  border-color: rgba(42,74,106,0.28);
  color: var(--h-ink);
}
.h-btn-cta-ghost.h-btn-lg { padding: 11px 24px; }

.h-link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--h-line-2);
  color: var(--h-ink); font-size: 13px; font-weight: 500;
  text-decoration: none; transition: background 0.15s;
}
.h-link-arrow:hover { background: white; }

/* ——— INTERACTIVE SEARCH PANEL ——————————————————————————————————— */
.h-search-wrap {
  position: relative; z-index: 3;
  margin-top: -20px;
}
.h-search {
  background: linear-gradient(135deg, rgba(255,255,255,0.76), rgba(248,250,250,0.58));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.74);
  border-radius: 22px;
  box-shadow: 0 22px 58px rgba(42,74,106,0.12), 0 3px 12px rgba(42,74,106,0.05);
  padding: 14px;
}
.h-search-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 0 6px 8px;
}
.h-search-head > div { min-width: 0; }
.h-search-label {
  margin: 0 0 4px;
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(42,74,106,0.55);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.h-search-intent {
  margin: 0;
  max-width: 560px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  line-height: 1.16;
  color: var(--h-ink);
  overflow-wrap: anywhere;
}
.h-search-assurance {
  margin: 2px 0 0;
  max-width: 250px;
  text-align: end;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(42,74,106,0.66);
}

/* Tabs row */
.h-search-tabs {
  display: flex; gap: 5px; padding: 4px;
  overflow-x: auto; scrollbar-width: none;
  max-width: 100%;
}
.h-search-tabs::-webkit-scrollbar { display: none; }
.h-search-tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px; border: 1px solid transparent;
  background: transparent;
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500;
  color: var(--h-ink-soft); cursor: pointer; white-space: nowrap;
  transition: all 0.18s;
}
.h-search-tab:hover { background: rgba(255,255,255,0.58); color: var(--h-ink); }
.h-search-tab.is-active {
  background: white; color: var(--h-blue);
  border-color: rgba(42,74,106,0.08);
  box-shadow: 0 6px 18px rgba(42,74,106,0.08);
}
.h-search-tab-icon {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(42,74,106,0.09);
  position: relative; flex: 0 0 auto;
}
.h-search-tab.is-active .h-search-tab-icon { background: rgba(30, 58, 95,0.13); }
.h-search-tab-icon::before {
  content: ''; position: absolute; inset: 5px;
  border-radius: 50%; background: currentColor; opacity: 0.76;
}
.h-search-tab-icon-bed::before { inset: 6px 4px 5px; border-radius: 2px; }
.h-search-tab-icon-compass::before { inset: 4px; clip-path: polygon(50% 0, 64% 42%, 100% 50%, 64% 58%, 50% 100%, 36% 58%, 0 50%, 36% 42%); }
.h-search-tab-icon-car::before { inset: 6px 3px 5px; border-radius: 4px 4px 3px 3px; }
.h-search-tab-icon-audio::before { inset: 4px 6px; border-radius: 7px; }
.h-search-tab-icon-visa::before { inset: 4px; border-radius: 3px; }

/* Fields form wrapper */
.h-search-fields {
  display: flex; align-items: stretch;
  gap: 1px; background: var(--h-line);
  border-radius: 18px; margin-top: 10px;
  border: 1px solid rgba(42,74,106,0.06);
  position: relative;
  isolation: isolate;
}

/* Dynamic panel — fills the flex row */
.h-sf-panel {
  flex: 1; display: flex; align-items: stretch;
  gap: 1px; background: var(--h-line);
  min-width: 0;
  border-top-left-radius: 17px;
  border-bottom-left-radius: 17px;
  overflow: hidden;
  opacity: 1; transform: translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
[dir="rtl"] .h-sf-panel {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 17px;
  border-bottom-right-radius: 17px;
}
/* When any cell is open, allow the dropdown to escape the panel clip */
.h-sf-panel:has(.h-sf.is-open) { overflow: visible; }
.h-sf-panel.is-switching {
  opacity: 0; transform: translateY(4px);
}

/* Individual field cell */
.h-sf {
  background: rgba(255,255,255,0.90);
  padding: 15px 17px; min-width: 0;
  display: flex; flex-direction: column; gap: 5px;
  flex: 1; cursor: pointer;
  transition: background 0.14s;
  position: relative;
}
.h-sf:hover { background: white; }
.h-sf.is-wide { flex: 1.6; }
.h-sf.is-open { background: white; z-index: 10; }

/* Label */
.h-sf-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(42,74,106,0.50); font-weight: 500;
  pointer-events: none;
}
.h-sf-hint {
  font-size: 10.5px;
  color: rgba(42,74,106,0.48);
  line-height: 1.25;
  margin-top: -1px;
}

/* Native input (text, number, date) */
.h-sf input[type="text"],
.h-sf input[type="number"],
.h-sf input[type="date"],
.h-sf input[type="datetime-local"] {
  border: none; outline: none; background: transparent;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500;
  color: var(--h-ink); width: 100%; padding: 0; cursor: pointer;
  appearance: none; -webkit-appearance: none;
}
.h-sf input::placeholder { color: rgba(42,74,106,0.38); font-weight: 400; }
.h-sf input[type="date"]::-webkit-calendar-picker-indicator,
.h-sf input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  opacity: 0.28; cursor: pointer;
}

/* ——— CUSTOM DROPDOWN (destination + select fields) ————————————— */

/* Trigger button that replaces native <select> */
.h-sf-trigger {
  width: 100%; text-align: start;
  background: none; border: none; padding: 0; margin: 0;
  cursor: pointer; outline: none; font-family: inherit;
  display: flex; align-items: center; gap: 6px;
}
.h-sf-val {
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500;
  color: var(--h-ink); flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  line-height: 1.3;
}
.h-sf-val.is-placeholder { color: rgba(42,74,106,0.38); font-weight: 400; }

/* Searchable trigger — real <input> styled to match .h-sf-val */
.h-sf-trigger-search { cursor: text; }
.h-sf-search {
  flex: 1; min-width: 0;
  border: none; outline: none; background: transparent;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500;
  color: var(--h-ink); padding: 0;
  line-height: 1.3;
  appearance: none; -webkit-appearance: none;
}
.h-sf-search::placeholder { color: rgba(42,74,106,0.38); font-weight: 400; }
.h-sf-chevron {
  color: rgba(42,74,106,0.30); flex-shrink: 0;
  display: flex; align-items: center;
  transition: transform 0.16s ease;
}
.h-sf.is-open .h-sf-chevron { transform: rotate(180deg); }

/* Floating options panel */
.h-sf-opts {
  position: absolute;
  top: calc(100% + 8px);
  left: -14px; right: -14px;
  background: #ffffff;
  border: 1px solid rgba(42,74,106,0.10);
  border-radius: 18px;
  box-shadow:
    0 20px 52px rgba(42,74,106,0.14),
    0 6px 16px rgba(42,74,106,0.08);
  list-style: none; margin: 0; padding: 8px;
  z-index: 300;
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  max-height: 300px; overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(42,74,106,0.14) transparent;
}
.h-sf-opts::-webkit-scrollbar { width: 4px; }
.h-sf-opts::-webkit-scrollbar-track { background: transparent; }
.h-sf-opts::-webkit-scrollbar-thumb { background: rgba(42,74,106,0.14); border-radius: 4px; }
.h-sf.is-open .h-sf-opts { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* Option row */
.h-sf-opt {
  padding: 10px 14px; border-radius: 12px;
  cursor: pointer; transition: background 0.12s;
  display: flex; flex-direction: column; gap: 2px;
  user-select: none;
}
.h-sf-opt:hover { background: rgba(42,74,106,0.05); }
.h-sf-opt.is-selected { background: rgba(30, 58, 95,0.09); }
/* Destination option: name + sub-region */
.h-sf-opt-name {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px; font-weight: 500;
  color: var(--h-ink); line-height: 1.2;
}
.h-sf-opt.is-selected .h-sf-opt-name { color: var(--h-blue); }
.h-sf-opt-sub {
  font-size: 11px; letter-spacing: 0.02em;
  color: var(--h-ink-soft); line-height: 1.3;
}
/* Plain option (style, language, etc.) */
.h-sf-opt-plain {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px; font-weight: 500; color: var(--h-ink);
}
.h-sf-opt.is-selected .h-sf-opt-plain { color: var(--h-blue); }

/* Experiences — travel style tile grid */
.h-sf-styles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 10px;
  align-items: stretch;
  flex: 1;
}
.h-sf-style-tile {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(30, 58, 95,0.22);
  background: rgba(30, 58, 95,0.03);
  text-decoration: none;
  color: #0C0E1A;
  transition: border-color 150ms ease, background 150ms ease, transform 140ms ease;
  flex: 1 1 auto;
  min-width: 150px;
  white-space: nowrap;
}
.h-sf-style-tile:hover {
  border-color: #1E3A5F;
  background: rgba(30, 58, 95,0.09);
  transform: translateY(-1px);
}
.h-sf-style-tile strong {
  font-size: 12px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  color: #0C0E1A;
}
.h-sf-style-tile span {
  font-size: 10px;
  color: #6B7280;
  line-height: 1.4;
  white-space: normal;
}
@media (max-width: 700px) {
  .h-sf-styles-grid { flex-direction: column; }
  .h-sf-style-tile { white-space: normal; }
}

/* Submit button */
.h-search-btn {
  flex-shrink: 0;
  margin: 5px;
  background: linear-gradient(135deg, #3D6A93, #1E3A5F);
  color: white; border: none;
  padding: 0 22px; border-radius: 12px;
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(30, 58, 95,0.32);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.15s, transform 0.15s;
  min-width: 132px;
}
.h-search-btn:hover {
  background: linear-gradient(135deg, #1E3A5F, #142A47);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(194,106,102,0.42);
  color: white;
}
.h-search-foot {
  display: flex;
  gap: 10px 18px;
  flex-wrap: wrap;
  padding: 10px 6px 0;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: rgba(42,74,106,0.62);
}
.h-search-foot span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.h-search-foot span::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C4A45A;
  box-shadow: 0 0 0 3px rgba(196,164,90,0.12);
}

/* ——— P3: Natural-language quick fill ———————————————————————— */
.h-quickfill {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 6px 12px;
  padding: 6px 6px 6px 12px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(30,58,95,0.18);
  border-radius: 999px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.h-quickfill:focus-within {
  border-color: rgba(30,58,95,0.42);
  box-shadow: 0 4px 18px rgba(30,58,95,0.10);
}
.h-quickfill-icon {
  display: inline-flex; align-items: center; justify-content: center;
  color: #1E3A5F; opacity: 0.78; flex-shrink: 0;
}
.h-quickfill-input {
  flex: 1; min-width: 0;
  border: 0; background: transparent; outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px; color: var(--h-ink);
}
.h-quickfill-input::placeholder {
  color: rgba(42,74,106,0.50);
  font-style: italic;
}
.h-quickfill-btn {
  flex-shrink: 0;
  padding: 7px 16px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, #3D6A93, #1E3A5F);
  color: #FFF;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.h-quickfill-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(30,58,95,0.28);
}
.h-quickfill-hint {
  min-height: 16px;
  margin: -4px 14px 8px;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: rgba(42,74,106,0.62);
  transition: opacity 200ms ease;
}
.h-quickfill-hint.is-ok   { color: #2A6A47; }
.h-quickfill-hint.is-warn { color: #8B6914; }

@media (max-width: 560px) {
  .h-quickfill { flex-wrap: wrap; padding: 8px 10px; border-radius: 14px; }
  .h-quickfill-btn { width: 100%; padding: 10px; }
}

/* ——— P2: Polish ————————————————————————————————————————————— */

/* Visible focus ring for keyboard users (only on :focus-visible) */
.h-sf-trigger:focus-visible,
.h-sf-opt:focus-visible,
.h-search-tab:focus-visible,
.h-search-btn:focus-visible {
  outline: 2px solid #1E3A5F;
  outline-offset: 2px;
  border-radius: 8px;
}

/* Custom number stepper — hide native spinner, render +/- buttons */
.h-sf input[type="number"]::-webkit-outer-spin-button,
.h-sf input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.h-sf input[type="number"] {
  -moz-appearance: textfield;
}

/* Active option (focused via keyboard) */
.h-sf-opt:focus,
.h-sf-opt:focus-visible {
  background: rgba(30,58,95,0.07);
  outline: none;
}
.h-sf-opt.is-selected {
  background: rgba(30,58,95,0.10);
  font-weight: 600;
}

/* RESPONSIVE: stack panel cells vertically below 760px */
@media (max-width: 760px) {
  .h-search-fields { flex-direction: column; align-items: stretch; }
  .h-sf-panel {
    flex-direction: column;
    background: transparent;
    gap: 8px;
  }
  .h-sf {
    border-radius: 12px;
    background: rgba(255,255,255,0.95);
    padding: 12px 14px;
  }
  .h-sf.is-wide { flex: 1; }
  .h-search-btn {
    width: 100%;
    margin: 8px 0 0;
    padding: 14px 22px;
    min-width: auto;
  }
  /* Tabs become horizontal scrollable strip on mobile */
  .h-search-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    scroll-snap-type: x mandatory;
  }
  .h-search-tab { scroll-snap-align: start; flex-shrink: 0; }
  /* Dropdown options open as bottom-sheet */
  .h-sf-opts {
    max-height: 50vh;
    overflow-y: auto;
  }
}

/* Compact tabs at very narrow widths */
@media (max-width: 420px) {
  .h-search-tab { font-size: 12px; padding: 8px 12px; }
  .h-search-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .h-search-assurance { font-size: 11px; }
}

/* ——— PROOF STRIP — single editorial line, luxury-brand pacing ——— */
.h-proof-strip { margin-top: 22px; text-align: center; }
.h-proof-line {
  display: inline-flex; flex-wrap: wrap; gap: 8px 20px;
  justify-content: center; align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: 0.03em;
  color: var(--h-ink-soft); margin: 0;
}
.h-proof-dot { color: var(--h-blue); opacity: 0.45; font-size: 10px; }

/* ——— SHARED SECTION HELPERS ————————————————————————————————————— */
.h-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--h-blue); font-weight: 500; margin: 0 0 5px;
}
.h-section-title {
  font-family: 'Norelli', 'Cormorant Garamond', 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.0; letter-spacing: 0.04em;
  color: var(--h-ink); margin: 0;
}
.h-section-title em { color: inherit; font-style: normal; }
.h-section-sub {
  color: var(--h-ink-soft); max-width: 380px; line-height: 1.66;
  font-size: 14.5px; margin: 0;
}
.h-section { padding: 60px 0; }
.h-section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 28px; flex-wrap: wrap; margin-bottom: 22px;
}
.h-section-head-aside {
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
}

/* ——— FEATURED DESTINATIONS ————————————————————————————————————— */
.h-dest-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.h-dest-card {
  position: relative; border-radius: 22px; overflow: hidden;
  display: block; height: 380px; text-decoration: none;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s;
  box-shadow: 0 8px 26px rgba(42,74,106,0.10);
}
.h-dest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(42,74,106,0.20);
}
.h-dest-art {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.h-dest-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,0.56) 100%);
}

/* Real destination photography */
.h-dest-art-santorini { background: url('/assets/img/greek-pool.png') center / cover no-repeat; }
.h-dest-art-istanbul  { background: url('/assets/img/marrakech-riad.png') center / cover no-repeat; }
.h-dest-art-jordan    { background: url('/assets/img/ai_dest.png') center / cover no-repeat; }
.h-dest-art-spain     { background: url('/assets/img/ai_journeys.png') center / cover no-repeat; }
.h-dest-art-italy     { background: url('/assets/img/tuscany-vineyard.png') center / cover no-repeat; }
.h-dest-art-france    { background: url('/assets/img/paris-rooftop.png') center / cover no-repeat; }

.h-dest-arrow {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.95); color: var(--h-ink);
  display: grid; place-items: center; z-index: 2; font-size: 13px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.h-dest-card:hover .h-dest-arrow {
  background: var(--h-blue); color: white; transform: rotate(-45deg);
}
.h-dest-content {
  position: absolute; inset: auto 0 0 0;
  padding: 24px 26px; color: white; z-index: 1;
}
.h-dest-tag { font-size: 12px; opacity: 0.88; margin-bottom: 6px; letter-spacing: 0.04em; }
.h-dest-name {
  font-family: 'Norelli', 'Cormorant Garamond', serif; font-style: normal;
  font-size: 40px; line-height: 1; letter-spacing: 0.04em; margin-bottom: 4px;
}
.h-dest-mood { font-size: 13px; opacity: 0.88; margin-bottom: 14px; }
.h-dest-pill {
  display: inline-block; padding: 7px 14px;
  background: rgba(255,255,255,0.95); color: var(--h-ink-2);
  border-radius: 999px; font-size: 11.5px; font-weight: 500;
}

/* ——— DESTINATION CARD HOVER CTA —————————————————————————————— */
.h-dest-cta-hover {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 22px;
  background: rgba(26,53,80,0.88);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 500;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 3;
  border-radius: 0 0 22px 22px;
}
.h-dest-card:hover .h-dest-cta-hover {
  opacity: 1;
  transform: translateY(0);
}

/* ——— HOW IT WORKS ——————————————————————————————————————————————— */
.h-how-section {
  background: rgba(255,255,255,0.50);
  backdrop-filter: blur(6px);
  padding: 44px 0;
}
.h-how-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.h-how-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.82);
  border-radius: 18px; padding: 20px 20px 18px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.h-how-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(42,74,106,0.10);
}
.h-how-num {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  color: var(--h-blue); font-size: 16px; margin-bottom: 10px;
}
.h-how-title {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 20px; color: var(--h-ink); margin-bottom: 7px;
  line-height: 1.1;
}
.h-how-desc { color: var(--h-ink-soft); line-height: 1.52; font-size: 12.5px; }

/* ——— AUDIO COMPANION BANNER ——————————————————————————————————————— */
.h-audio-banner-wrap { margin-top: 20px; }
.h-audio-banner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(42,74,106,0.06) 0%, rgba(30, 58, 95,0.06) 100%);
  border: 1px solid rgba(42,74,106,0.10);
  border-radius: 18px;
  padding: 16px 24px;
}
.h-audio-banner-icon { font-size: 20px; flex-shrink: 0; line-height: 1; }
.h-audio-banner-body {
  flex: 1; min-width: 0;
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.h-audio-banner-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--h-blue); font-weight: 600; flex-shrink: 0;
}
.h-audio-banner-sep { color: var(--h-blue); opacity: 0.40; font-size: 12px; flex-shrink: 0; }
.h-audio-banner-text {
  color: var(--h-ink-soft); font-size: 13px; line-height: 1.4;
}
.h-audio-banner-cta {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  padding: 9px 20px; border-radius: 999px;
  background: var(--h-ink);
  color: white; font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 500; text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
}
.h-audio-banner-cta:hover {
  background: var(--h-ink-2); color: white; transform: translateX(2px);
}

/* ——— CLOSING CTA ———————————————————————————————————————————————— */
.h-cta {
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(155,196,220,0.38), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%);
  padding: 64px 0;
}
.h-cta-inner { max-width: 600px; margin: 0 auto; }
.h-cta-title {
  font-family: 'Norelli', 'Cormorant Garamond', 'Playfair Display', serif; font-weight: 900;
  font-size: clamp(32px, 3.8vw, 50px); line-height: 1.0;
  letter-spacing: 0.05em; color: var(--h-ink);
  margin: 8px 0 0;
}
.h-cta-title em { color: inherit; font-style: normal; }
.h-cta-sub {
  max-width: 420px; margin: 12px auto 0;
  color: var(--h-ink-soft); font-size: 13.5px; line-height: 1.56;
}
.h-cta-actions {
  display: flex; gap: 12px; justify-content: center; margin-top: 22px; flex-wrap: wrap;
}

/* ——— JOURNEY STYLE SELF-SELECTOR ——————————————————————————————— */
.h-selector-section { padding: 48px 0 36px; }
.h-selector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.h-sel-card {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px 22px 20px;
  border-radius: 20px;
  border: 1px solid rgba(42,74,106,0.10);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(8px);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  overflow: hidden;
}
.h-sel-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.h-sel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(42,74,106,0.13);
  border-color: rgba(30, 58, 95,0.28);
  background: rgba(255,255,255,0.92);
}
.h-sel-card:hover::before { opacity: 1; }

/* Colour accents per card variant */
.h-sel-curated   .h-sel-glyph { color: #1E3A5F; }
.h-sel-custom    .h-sel-glyph { color: #C4A45A; }
.h-sel-explore   .h-sel-glyph { color: #4A9080; }
.h-sel-services  .h-sel-glyph { color: #7A5FA8; }

.h-sel-curated:hover  { border-color: rgba(30, 58, 95,0.36); }
.h-sel-custom:hover   { border-color: rgba(196,164,90,0.36); }
.h-sel-explore:hover  { border-color: rgba(74,144,128,0.36); }
.h-sel-services:hover { border-color: rgba(122,95,168,0.36); }

.h-sel-glyph {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(42,74,106,0.06);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.22s ease;
}
.h-sel-card:hover .h-sel-glyph { background: rgba(42,74,106,0.10); }

.h-sel-title {
  font-family: 'Norelli', 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 900; font-style: normal;
  letter-spacing: 0.03em;
  color: var(--h-ink); line-height: 1.2;
}
.h-sel-desc {
  font-size: 12.5px; line-height: 1.5;
  color: var(--h-ink-soft);
  flex: 1;
}
.h-sel-arrow {
  display: inline-flex; align-items: center;
  font-size: 16px; color: var(--h-blue);
  margin-top: 4px;
  transition: transform 0.18s ease;
}
.h-sel-card:hover .h-sel-arrow { transform: translateX(4px); }
[dir="rtl"] .h-sel-card:hover .h-sel-arrow { transform: translateX(-4px); }

@media (max-width: 900px) {
  .h-selector-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .h-selector-grid { grid-template-columns: 1fr; }
  .h-selector-section { padding: 36px 0 24px; }
}

@media (max-width: 1024px) {
  .h-hero { min-height: 480px; }
  .h-hero-glass { padding: 16px 22px 14px; }
  /* Ensure the grid respects natural heights on narrow tablets */
  .h-col-stage { min-height: auto; }
}

@media (max-width: 640px) {
  .h-hero { min-height: 440px; }
  .h-hero-stage { padding: 80px 16px 60px; }
  .h-hero-glass { padding: 14px 18px 12px; border-radius: 12px; max-width: calc(100vw - 32px); }
}

/* ——— RTL OVERRIDES ————————————————————————————————————————————— */
[dir="rtl"] .h-hero-glass { direction: rtl; }

/* Parallax: slowly zoom the photo on load */
@keyframes h-hero-zoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.00); }
}
.h-hero-photo {
  animation: h-hero-zoom 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* ——— RESPONSIVE —————————————————————————————————————————————————— */
@media (max-width: 1100px) {
  .h-dest-grid { grid-template-columns: 1fr 1fr; }
  .h-how-grid { grid-template-columns: 1fr 1fr; }
  .h-audio-banner { gap: 12px; }
  .h-search-head { flex-direction: column; gap: 6px; }
  .h-search-assurance { text-align: start; max-width: 520px; }
}
@media (max-width: 860px) {
  .h-hero { min-height: 600px; }
  .h-hero-glass { padding: 16px 22px 14px; }
  .h-section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 640px) {
  .home-page { overflow-x: hidden; }
  .h-hero { min-height: 520px; }
  .h-hero-stage { padding: 86px 16px 72px; }
  .h-hero-glass { padding: 14px 18px 12px; border-radius: 12px; max-width: calc(100vw - 32px); }
  .h-hero-ctas { flex-direction: column; align-items: stretch; }
  .h-btn-filled, .h-btn-outline { justify-content: center; }
  .h-dest-grid { grid-template-columns: 1fr; }
  .h-how-grid { grid-template-columns: 1fr; }
  .h-search-wrap { padding-left: 16px; padding-right: 16px; max-width: 100%; box-sizing: border-box; }
  .h-search { overflow: hidden; }
  .h-search-tabs { gap: 2px; }
  .h-search-tab { padding: 8px 14px; font-size: 12px; }
  .h-search-fields { flex-direction: column; }
  .h-sf-panel { flex-wrap: wrap; }
  .h-sf { flex: 1 1 calc(50% - 1px); min-width: 120px; }
  .h-sf.is-wide { flex: 1 1 100%; }
  .h-sf-val { white-space: normal; }
  .h-search-btn { align-self: stretch; border-radius: 14px; margin: 4px; padding: 14px; }
  .h-search-intent { font-size: 18px; }
  .h-search-foot { flex-direction: column; gap: 7px; }
  .h-cta-actions { flex-direction: column; align-items: center; }
  .h-audio-banner { flex-direction: column; align-items: flex-start; }
  .h-audio-banner-cta { align-self: stretch; justify-content: center; }
}
