@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@500&display=swap");

/* =========================================
   myJourni Global Styles (FULL RESET)
   ========================================= */

/* Brand Variables – myJourney Myrtle Beach + RYLA */
:root {
  --page-bg: #f7f5ef;
  --surface: #ffffff;
  --surface-soft: #fbfaf6;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.18);

  /* myJourney v1 palette (from design spec) */
  --mj-bg-gradient-top:    var(--page-bg);
  --mj-bg-gradient-mid:    var(--page-bg);
  --mj-bg-gradient-mid2:   var(--page-bg);
  --mj-bg-gradient-bottom: var(--page-bg);

  --mj-surface-card:       var(--surface);
  --mj-surface-card-alt:   var(--surface-soft);
  --mj-surface-input:      var(--surface);
  --mj-border-subtle:      #C7C7BD;
  --mj-border-subtle-alt:  #D1D1C5;

  --mj-text-primary:       #030C3A;
  --mj-text-secondary:     #4D5774;

  --mj-accent-coral:       #FF864C;
  --mj-accent-ocean:       #2DB7D3;
  --mj-accent-cta:         #209EB4;
  --mj-accent-myrtle:      #156ECF;

  /* Existing tokens remapped to new palette */
  --color-primary: var(--mj-accent-cta);
  --color-primary-hover: #1a8799;
  --color-primary-soft: var(--mj-surface-card);
  --color-secondary: var(--mj-accent-coral);
  --color-bg: var(--surface);
  --color-bg-alt: var(--surface-soft);
  --color-text: var(--mj-text-primary);
  --color-muted: var(--mj-text-secondary);
  --shadow-soft: var(--shadow);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --max-width: 1080px;
  --transition: all .22s ease;
}

html,
body {
  background: var(--page-bg);
  -webkit-text-size-adjust: 100%;
  /* Stop scroll chaining into the browser (helps with pull-to-refresh) */
  /*overscroll-behavior-y: none; */
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  /* Also prevent body from propagating overscroll */
  /*overscroll-behavior-y: none;*/
}
/* Home pages (index + itinerary) get the warm beach gradient */
body.page-home {
  background: var(--page-bg);
}
body.page-setup,
body.page-itinerary {
  background: var(--page-bg);
}

/* Prevent iOS zoom when focusing inputs/buttons */
input,
button,
select,
textarea {
  font-size: 16px;
}

/* General layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 48px 0;
}

.section-alt {
  padding: 48px 0;
  background: var(--color-bg-alt);
}

.partner-welcome {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 16px;
  flex-wrap: wrap;
  text-align: center;
}

.partner-welcome-logo {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.partner-welcome-logo.is-hidden {
  display: none;
}

.partner-welcome-text {
  font-weight: 500;
  color: var(--color-muted);
  font-size: 1rem;
}

@media (max-width: 720px) {
  .partner-welcome-logo {
    max-height: 36px;
  }
}

/* Mobile welcome splash base (desktop default: hidden) */
.mobile-splash {
  display: none;
}

/* Feedback widget */
.feedback-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 999px;
  border: none;
  background: #0f9fb7;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.feedback-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.feedback-modal-overlay.is-visible {
  display: flex;
}

.feedback-modal {
  width: min(520px, 92vw);
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.2);
  display: grid;
  gap: 10px;
}

.feedback-modal h3 {
  margin: 0;
  font-size: 1.1rem;
}

.feedback-modal label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: #475569;
}

.feedback-modal select,
.feedback-modal textarea {
  padding: 8px 10px;
  border: 1px solid #cbd5f5;
  border-radius: 8px;
  font-size: 0.95rem;
}

.feedback-modal textarea {
  min-height: 110px;
  resize: vertical;
}

.feedback-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.feedback-modal button {
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  background: #0f9fb7;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.feedback-modal button.secondary {
  background: #fff;
  color: #0f172a;
  border: 1px solid #cbd5f5;
}

.feedback-status {
  font-size: 0.85rem;
  color: #64748b;
}

/* =========================================
   Header for myJourney AI Platform
   ========================================= */

.site-header {
  /* no longer sticky – scrolls away with content */
  position: static;
  z-index: 40;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148,163,184,0.18);
  box-shadow: 0 10px 25px rgba(15,23,42,0.06);
  padding-top: env(safe-area-inset-top);
}

.page-home .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

.page-home .header-logo-center {
  flex: 1;
  display: flex;
  justify-content: center;
  padding-top: env(safe-area-inset-top, 16px);
}

.page-home .menu-toggle {
  color: #fff;
  background: rgba(15,23,42,0.35);
  border-radius: 999px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 6px;
}

.logo-wrap {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 180px;
  width: auto;
}

/* Navigation — always hidden, we use hamburger only */
.main-nav {
  display: none !important;
}

.main-nav a {
  color: var(--color-muted);
  text-decoration: none;
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--color-primary);
}

/* Mobile menu toggle button */
.menu-toggle {
  display: block;
  border: none;
  background: none;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 4px 8px;
}

/* Mobile nav (hidden by default, opened via JS) */
.main-nav-mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0 10px;
  border-top: 1px solid rgba(148,163,184,0.25);
  background: #ffffff;
}

.main-nav-mobile a {
  color: var(--color-muted);
  text-decoration: none;
  font-weight: 500;
  padding: 4px 0;
}

.main-nav-mobile a:hover {
  color: var(--color-primary);
}

/* =========================================
   Hero Section
   ========================================= */

.hero {
  padding: 40px 0 40px;
  background: transparent;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 380px;
  gap: 56px;
  align-items: flex-start;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 3.6vw, 3.1rem);
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-primary);
}

.hero-text {
  margin-top: -4px;
  max-width: 640px;
}

.hero-bullets {
  padding-left: 18px;
  color: var(--color-muted);
  margin-top: 12px;
  line-height: 1.7;
  font-size: 0.98rem;
}

/* Hero card + steps (vertical layout) */
.hero-card {
  background: var(--mj-surface-card);
  padding: 32px 28px 36px;
  border-radius: 32px;
  border: 1px solid rgba(148,163,184,0.20);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
  max-width: 450px;
  width: 100%;
  margin-left: auto;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-card-title {
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
}

.hero-subtitle {
  margin: 8px 0 4px;
  font-size: 1.05rem;
  color: var(--color-muted);
}

/* ============================================================
   Premium Luxe Hero – Compact App Card
   ============================================================ */

.hero.hero--lux {
  position: relative;
  margin: 10px 10px 20px;
  padding: 16px 14px 20px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #0b1220;
}
.hero.hero--lux::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(
    to bottom,
    rgba(247, 245, 239, 0),
    var(--page-bg)
  );
  pointer-events: none;
  z-index: 1;
}

/* Media layer (inside the rounded card) */
.hero-media-shell {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}

/* Dark overlay with soft fade toward the bottom */
.hero-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.2)
  );
}

/* Text/content inside the card */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0 18px 22px;
}

.hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: env(safe-area-inset-top, 14px);
  padding-bottom: 8px;
}

.hero-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  max-width: 520px;
  margin: 0 auto;
}

.hero-center h1 {
  color: #1f2a44;
  text-shadow: 0 1px 2px rgba(255,255,255,0.35);
}

.hero-bottom {
  display: flex;
  justify-content: center;
  padding-bottom: env(safe-area-inset-bottom, 16px);
}

.hero-pill {
  background: rgba(255,255,255,0.92);
  color: #0f172a;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15,23,42,0.18);
}

.hero-logo {
  max-width: 300px;
  height: auto;
  width: auto;
  display: block;
  margin-top: 12px;
}

.hero-text--lux {
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* Eyebrow label */
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 6px;
}

.hero-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 8px;
}

/* Main headline */
.hero-text--lux h1 {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  line-height: 1.18;
  font-weight: 700;
  color: #1f2a44;
  text-shadow: 0 1px 2px rgba(255,255,255,0.35);
}

/* Supporting line */
.hero-subtitle--lux {
  margin: 0;
  font-size: 0.86rem;
  max-width: 430px;
  color: rgba(255,255,255,0.9);
}

/* CTA Row */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hero-secondary-link {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  align-self: center;
}

.hero-secondary-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.btn-primary,
.btn-ghost {
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: #0f9fb7;
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.45);
}

.btn-ghost {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}

/* Footnote */
.hero-footnote {
  margin-top: 10px;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.82);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .hero.hero--lux {
    margin: 0;
    padding: 0;
    border-radius: 0;
    min-height: 100vh;
  }

  .hero-overlay {
    min-height: 100vh;
    padding: 0 18px 22px;
  }

  .hero-location {
    font-size: 0.78rem;
  }

  .hero-text--lux h1 {
    font-size: 1.55rem;
    line-height: 1.2;
  }

  .hero-subtitle--lux {
    font-size: 0.84rem;
  }

  .hero-cta-row {
    margin-top: 12px;
  }

  .hero-text--lux h1 {
    font-size: 1.65rem;
    line-height: 1.22;
  }

  .hero-subtitle--lux {
    font-size: 0.88rem;
  }

  .hero-pill {
    font-size: 0.78rem;
  }
}
.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.step-card {
  flex: 1;
  background: #fafbfc;
  padding: 20px 18px 18px;
  border-radius: 22px;
  border: 1px solid rgba(148,163,184,0.25);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-number {
  position: absolute;
  top: -14px;
  left: 16px;
  height: 30px;
  width: 30px;
  background: var(--color-secondary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-card h3 {
  margin: 18px 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.step-card p {
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

/* Desktop hero refinements */
@media (min-width: 769px) {
  .hero-text h1 {
    max-width: 650px;
  }
}

/* =========================================
   Home Hub Mode Tiles
   ========================================= */
/* Premium Mode Tiles – lifted cards with clearer hierarchy */

 
.mode-tile {
  /* Background image (default for now) */
  background: var(--surface);
  border-radius: 22px;
  padding: 20px 20px 24px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.10);
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 170px;
}
/* Image-backed home tiles */
.mode-tile--shopping {
  background-image:
    linear-gradient(
  to bottom,
  rgba(3, 12, 58, 0.35) 0%,
  rgba(3, 12, 58, 0.12) 58%,
  rgba(247, 245, 239, 0.78) 92%
),
    url("/assets/sites/myjourneync/img/shopping-header.jpg");
  background-size: cover;
  background-position: center;
}

.mode-tile--dining {
  background-image:
    linear-gradient(
  to bottom,
  rgba(3, 12, 58, 0.35) 0%,
  rgba(3, 12, 58, 0.12) 58%,
  rgba(247, 245, 239, 0.78) 92%
),
    url("/assets/sites/myjourneync/img/restaurant_header.jpg");
  background-size: cover;
  background-position: center;
}
.mode-tile--activities {
  background-image:
    linear-gradient(
      to bottom,
      rgba(3, 12, 58, 0.35) 0%,
      rgba(3, 12, 58, 0.12) 58%,
      rgba(247, 245, 239, 0.78) 92%
    ),
    url("/assets/sites/myjourneync/img/activities_header.jpg");
  background-size: cover;
  background-position: center;
}
/* Primary tile: subtle brand tint so “Activities Trip Planner” pops */
.mode-tile.mode-tile-primary {
  border-color: rgba(32, 158, 180, 0.35);
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.14);
}

/* Header row in each tile */
.mode-tile-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.mode-tile-icon {
  height: 42px;
  width: 42px;
  font-size: 1.4rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  }

/* Default tile typography (works for Activities / non-image tiles) */
.mode-tile-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #030C3A;
}
/* Image tiles need light text */
.mode-tile--shopping .mode-tile-title,
.mode-tile--dining .mode-tile-title {
  color: #ffffff;
  text-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.mode-tile--shopping .mode-tile-body,
.mode-tile--dining .mode-tile-body {
  color: rgba(255,255,255,0.92);
  text-shadow: 0 6px 14px rgba(0,0,0,0.30);
}
.mode-tile-body {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(3, 12, 58, 0.78);
  margin-bottom: 16px;
}

/* CTA buttons inside tiles */
.mode-tile-cta {
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  border: none;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--mj-accent-cta);
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.24);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.mode-tile-cta span {
  font-size: 1.1rem;
}

.mode-tile-cta:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.30);
}

/* Small note text (e.g., “Free helper service…”) */
.mode-tile-note {
  margin-top: 6px;
  font-size: 0.78rem;
  color: rgba(3, 12, 58, 0.72);
}


/* =========================================
   Features
   ========================================= */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.feature-card {
  background: var(--mj-surface-card);
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148,163,184,0.25);
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

/* Splash animations */
@keyframes splash-logo-pop {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.95);
  }
  60% {
    opacity: 1;
    transform: translateY(-2px) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes splash-text-rise {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  40% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   Footer
   ========================================= */

.site-footer {
  padding: 18px 0;
  background: #f8fafc;
  text-align: center;
  font-size: 0.9rem;
  color: #64748b;
}

/* =========================================
   Mobile Responsive (App-like)
   ========================================= */
@media (max-width: 768px) {

  /* Mobile splash: visible by default on mobile */
  .mobile-splash {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--page-bg);
    color: var(--color-text);
    opacity: 1;
    transition: opacity 0.8s ease;
  }

  .mobile-splash-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: splash-logo-pop 0.8s ease-out forwards;
  }

  .mobile-splash-logo {
    width: 180px;
    max-width: 70vw;
    height: auto;
  }

  .mobile-splash-text {
    margin: 4px 0 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.01em;
    animation: splash-text-rise 1s ease-out forwards;
  }

  .mobile-splash-subtext {
    margin: 0;
    font-size: 0.9rem;
    color: #6b7280;
    animation: splash-text-rise 1s ease-out 0.1s forwards;
    opacity: 0;
  }

  .site-footer {
    padding: 12px 0;
    font-size: 0.82rem;
  }

  .site-footer .footer-note {
    font-size: 0.78rem;
    color: #94a3b8;
  }

  .mobile-splash--fade-out {
    opacity: 0;
  }

  /* Mobile: let header scroll, but keep the body gradient */
  .site-header {
    position: static;
    background: transparent;
    box-shadow: none;
    border-bottom: none;
  }

  /* Let hero/setup sections be transparent so the body gradient shows through */
  .hero {
    background: transparent;
  }

  .setup-page {
    background: transparent;
  }

  /* App-bar style header */
  .header-content {
    position: relative;
    justify-content: center;
    padding: 6px 0 4px;
  }

  .logo-wrap {
    flex: 0 0 auto;
    margin: 0 auto;
  }

  .logo-image {
    height: 120px;
  }

  /* Hide desktop nav, show hamburger */
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
  }

  /* Hero feels like first app screen */
  .hero {
    padding: 28px 0 32px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }

  .section,
  .section-alt {
    padding: 32px 0;
  }

  .steps-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .mode-section {
  padding: 34px 0 38px;
}

.mode-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px; /* increase tile spacing */
  margin-top: 22px;
}

  .mode-tile {
    min-height: 0;
  }

  /* Home page: let the body gradient show behind all sections on mobile */
body.page-home .section,
body.page-home .section-alt {
  background: var(--page-bg);
}
body.page-setup .section,
body.page-setup .section-alt,
body.page-itinerary .section,
body.page-itinerary .section-alt {
  background: var(--page-bg);
}

body.page-home .mode-section {
  background: var(--page-bg);
}
}

/* =========================================================
   Home tiles readability fix (image tiles only)
   ========================================================= */

/* Make image tiles create a readable overlay layer */
.mode-tile--activities,
.mode-tile--shopping,
.mode-tile--dining {
  position: relative;
  isolation: isolate; /* ensures overlay stays inside tile */
}

/* Dark overlay across the image area (keeps bottom lighter for note/cta) */
.mode-tile--activities::before,
.mode-tile--shopping::before,
.mode-tile--dining::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;

  /* Stronger dark at top for text, fades lighter toward bottom */
  background: linear-gradient(
    to bottom,
    rgba(3, 12, 58, 0.65) 0%,
    rgba(3, 12, 58, 0.42) 52%,
    rgba(247, 245, 239, 0.82) 92%
  );
}

/* Ensure tile content sits above overlay */
.mode-tile--activities > *,
.mode-tile--shopping > *,
.mode-tile--dining > * {
  position: relative;
  z-index: 1;
}

/* Force readable white text on image tiles */
.mode-tile--activities .mode-tile-title,
.mode-tile--shopping .mode-tile-title,
.mode-tile--dining .mode-tile-title {
  color: #ffffff !important;
  text-shadow: 0 6px 16px rgba(0,0,0,0.45);
}

.mode-tile--activities .mode-tile-body,
.mode-tile--shopping .mode-tile-body,
.mode-tile--dining .mode-tile-body {
  color: rgba(255,255,255,0.92) !important;
  text-shadow: 0 6px 14px rgba(0,0,0,0.40);
}

/* Shopping card images */
.shop-img-wrap {
  width: 100%;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.02));
}

.shop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-text--lux h1,
.section-title {
  font-family: "Fraunces", "Source Serif 4", "Playfair Display", serif;
  font-weight: 500;
}

.section-note .section-title {
  font-size: 0.9em;
}

@media (max-width: 768px) {
  /* Mobile: benefit cards as 2x2 grid to reduce scrolling */
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .feature-card {
    padding: 16px;
    border-radius: 18px;
  }

  .feature-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    line-height: 1.2;
  }

  .feature-card p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
  }

  /* Mobile: hide ONLY the example line directly under the section title */
  .section .section-title + .section-subtitle {
    display: none;
  }
}
.hero-location {
  font-size: 0.8rem;
  color: rgba(15, 23, 42, 0.88);
  text-transform: none;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  padding: 6px 12px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 92vw;
}
