/* ============================================================
   JAPAN COMPANION — DESIGN SYSTEM
   Desktop-first. Min-width 1024px optimisé.
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  /* Fonds */
  --bg-cream:      #F5EEE6;
  --bg-cream-soft: #FAF5EE;
  --bg-white:      #FFFFFF;
  --bg-beige:      #ECE3D6;
  --bg-beige-soft: #F2EBDF;

  /* Primary */
  --primary:        #F46A4C;
  --primary-hover:  #E85A3C;
  --primary-soft:   #FCE4DC;

  /* Accent rouge japonais */
  --accent-red:      #C8302C;
  --accent-red-soft: #F8DCDB;

  /* Texte */
  --text-primary: #1A1A1A;
  --text-body:    #2B2B2B;
  --text-muted:   #6B6B6B;
  --text-subtle:  #9A9A9A;

  /* Bordures */
  --border:        #E5DDD1;
  --border-strong: #CFC5B6;

  /* Statut */
  --success:      #5AB875;
  --success-soft: #DFF3E4;
  --error:        #E85D4D;
  --error-soft:   #FBE2DE;
  --info:         #4A5EDE;
  --info-soft:    #DCEAFA;

  /* Premium */
  --gold:         #C9A24A;
  --gold-soft:    #F5E9C8;

  /* Ombres */
  --shadow-sm: 0 2px 6px rgba(20, 14, 4, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 14, 4, 0.08);
  --shadow-lg: 0 20px 48px rgba(20, 14, 4, 0.10);
  --shadow-xl: 0 32px 72px rgba(20, 14, 4, 0.14);

  /* Radius */
  --radius-sm:   12px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-pill: 9999px;

  /* Typography */
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Instrument Serif', Georgia, serif;

  /* Easing */
  --ease-out-expo:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart:   cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
  --ease-spring:      cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring-soft: cubic-bezier(0.5, 1.25, 0.75, 1);
  --ease-dramatic:    cubic-bezier(0.7, 0, 0.3, 1);

  /* Durations */
  --dur-instant: 100ms;
  --dur-fast:    200ms;
  --dur-base:    300ms;
  --dur-slow:    500ms;
  --dur-slower:  800ms;
  --dur-hero:    1200ms;

  /* Layout */
  --container-max: 1280px;
  --header-h:      80px;
}

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

html {
  font-size: 16px;
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-cream);
  overflow-x: hidden;
  min-width: 1024px;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  border: none;
  cursor: pointer;
  background: none;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out-expo);
}

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

input, textarea, select {
  font: inherit;
  color: inherit;
}

ul, ol { list-style: none; }

::selection {
  background: var(--primary);
  color: white;
}

/* ---------- LENIS ---------- */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- TYPO ---------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

h4 { font-size: 1.25rem; font-weight: 700; }

.display-serif {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}

.lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 400;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.text-muted { color: var(--text-muted); }
.text-subtle { color: var(--text-subtle); }
.text-primary-color { color: var(--primary); }

/* ---------- LAYOUT ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section--tight { padding: 80px 0; }
.section--loose { padding: 160px 0; }

.section-head {
  max-width: 760px;
  margin-bottom: 64px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }

.divider {
  height: 1px;
  background: var(--border);
  border: none;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition:
    transform var(--dur-base) var(--ease-spring-soft),
    box-shadow var(--dur-base) var(--ease-out-expo),
    background-color var(--dur-fast) var(--ease-out-expo),
    color var(--dur-fast) var(--ease-out-expo);
  will-change: transform;
}

.btn:active { transform: translateY(0) scale(0.98); transition-duration: 100ms; }

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 6px 18px rgba(244, 106, 76, 0.28);
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: white;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(244, 106, 76, 0.38);
}

.btn-secondary {
  background: white;
  color: var(--text-primary);
  border: 1.5px solid var(--border-strong);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--bg-cream-soft);
  border-color: var(--text-primary);
  box-shadow: var(--shadow-md);
  color: var(--text-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
}
.btn-ghost:hover { background: var(--bg-beige-soft); color: var(--text-primary); }

.btn-dark {
  background: var(--text-primary);
  color: white;
}
.btn-dark:hover {
  background: #000;
  color: white;
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.btn-sm { height: 40px; padding: 0 18px; font-size: 0.875rem; }
.btn-lg { height: 64px; padding: 0 36px; font-size: 1.0625rem; }

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  background: white;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}
.btn-icon:hover {
  background: white;
  transform: scale(1.08);
  box-shadow: var(--shadow-md);
}

/* Ripple */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 600ms var(--ease-out-expo);
  background: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- BADGES ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--bg-beige);
  color: var(--text-primary);
}

.badge-free {
  background: var(--success-soft);
  color: #2F7A42;
}

.badge-premium {
  background: var(--gold-soft);
  color: #8A6E1E;
}

.badge-new {
  background: var(--primary-soft);
  color: var(--primary);
}

.badge-info {
  background: var(--info-soft);
  color: var(--info);
}

/* ---------- CARDS ---------- */
.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur-base) var(--ease-spring-soft),
    box-shadow var(--dur-base) var(--ease-out-expo);
  will-change: transform;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-photo {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.card-photo-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  background: var(--bg-beige);
}

.card-photo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-out-expo);
}

.card-photo:hover .card-photo-media img {
  transform: scale(1.06);
}

.card-photo-body {
  padding: 20px 22px 24px;
}

/* ---------- INPUTS ---------- */
.input-group {
  position: relative;
}

.input {
  width: 100%;
  height: 56px;
  padding: 0 20px 0 52px;
  border-radius: var(--radius-pill);
  background: var(--bg-beige-soft);
  border: 1.5px solid transparent;
  font-size: 1rem;
  color: var(--text-primary);
  transition:
    border-color var(--dur-fast) var(--ease-out-expo),
    background var(--dur-fast) var(--ease-out-expo);
}

.input::placeholder { color: var(--text-subtle); }

.input:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
}

.input-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  transition: color var(--dur-fast) var(--ease-out-expo);
}

.input:focus ~ .input-icon { color: var(--text-primary); }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition:
    background var(--dur-slow) var(--ease-out-expo),
    backdrop-filter var(--dur-slow) var(--ease-out-expo),
    height var(--dur-base) var(--ease-out-expo),
    box-shadow var(--dur-base) var(--ease-out-expo);
}

.site-header.is-scrolled {
  background: rgba(245, 238, 230, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  height: 64px;
  box-shadow: 0 1px 0 rgba(20, 14, 4, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  flex-shrink: 0;
  object-fit: contain;
  transition: transform var(--dur-base) var(--ease-spring-soft);
}
img.logo-mark { padding: 0; }

.logo:hover .logo-mark { transform: scale(1.08) rotate(-6deg); }
.logo:hover { color: var(--text-primary); }

.nav-main {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-body);
  padding: 6px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--dur-base) var(--ease-out-expo);
}

.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after,
.nav-link.is-active::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--text-primary);
  color: rgba(255,255,255,0.75);
  padding: 96px 0 32px;
  position: relative;
}

.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: white; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand h3 {
  color: white;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 2rem;
  margin-bottom: 12px;
}

.footer-col h4 {
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.9375rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease-out-expo), transform var(--dur-base) var(--ease-spring-soft);
}
.footer-social a:hover { background: var(--primary); transform: translateY(-3px); color: white; }

/* ---------- HOMEPAGE — HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: white;
  padding-bottom: 120px;
}

.hero-media {
  position: absolute;
  inset: -5% 0 0;
  z-index: 0;
  will-change: transform;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.0) 30%, rgba(0,0,0,0.0) 55%, rgba(0,0,0,0.78) 100%);
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.22);
  color: white;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(244,106,76,0.3);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(244,106,76,0.3); }
  50%      { box-shadow: 0 0 0 10px rgba(244,106,76,0); }
}

.hero h1 {
  color: white;
  margin-bottom: 28px;
}

.hero h1 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: #FFD9CC;
}

.hero-lead {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.55;
  max-width: 640px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.hero-hinomaru {
  position: absolute;
  top: 18%;
  right: 8%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--accent-red);
  opacity: 0.88;
  z-index: 1;
  box-shadow: 0 0 80px rgba(200, 48, 44, 0.5);
  animation: hinomaru-pulse 5s var(--ease-in-out-expo) infinite;
}

@keyframes hinomaru-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}

.hero-kanji {
  position: absolute;
  right: -80px;
  bottom: -60px;
  font-family: var(--font-display);
  font-size: 28rem;
  line-height: 1;
  color: white;
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}

/* Search bar flottante */
.hero-search {
  position: absolute;
  left: 50%;
  bottom: -44px;
  transform: translateX(-50%);
  z-index: 5;
  background: white;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  padding: 10px 10px 10px 24px;
  gap: 20px;
  width: min(900px, 92%);
}

.hero-search-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 16px;
  border-right: 1px solid var(--border);
  flex: 1;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background var(--dur-fast) var(--ease-out-expo);
}
.hero-search-field:hover { background: var(--bg-cream-soft); }
.hero-search-field:last-of-type { border-right: none; }

.hero-search-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.hero-search-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ---------- HOMEPAGE — SEASONAL (4 cartes saison) ---------- */
.seasonal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.seasonal-card {
  position: relative;
  height: 440px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-beige);
}

.seasonal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms var(--ease-out-expo);
}

.seasonal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.78) 100%);
  transition: opacity var(--dur-base) var(--ease-out-expo);
}

.seasonal-card:hover img { transform: scale(1.08); }

.seasonal-card-body {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  color: white;
}

.seasonal-card-body .eyebrow {
  color: rgba(255,255,255,0.8);
  margin-bottom: 10px;
  display: block;
}

.seasonal-card-body h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.seasonal-card-body p {
  color: rgba(255,255,255,0.85);
  font-size: 0.9375rem;
  line-height: 1.4;
}

/* ---------- HOMEPAGE — STEPS ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-spring-soft), box-shadow var(--dur-base) var(--ease-out-expo);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 5rem;
  line-height: 1;
  color: var(--primary-soft);
  position: absolute;
  top: 28px;
  right: 32px;
  pointer-events: none;
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
}

.step-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 0.9375rem;
}

/* ---------- HOMEPAGE — MAP TEASER ---------- */
.map-teaser {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 520px;
  background: var(--bg-beige);
}

.map-teaser img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1500ms var(--ease-out-expo);
}
.map-teaser:hover img { transform: scale(1.04); }

.map-teaser-overlay {
  position: absolute;
  left: 40px;
  top: 40px;
  max-width: 420px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.map-teaser-pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.map-pin {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid white;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  transform: translate(-50%, -100%);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0.4;
  animation: ping 2.4s var(--ease-out-expo) infinite;
}

@keyframes ping {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ---------- HOMEPAGE — GUIDES YUKI & KENJI ---------- */
.guide-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-spring-soft), box-shadow var(--dur-base) var(--ease-out-expo);
  will-change: transform;
  display: flex;
  flex-direction: column;
}

.guide-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.guide-card-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-beige);
  position: relative;
}

.guide-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--ease-out-expo);
}
.guide-card:hover .guide-card-media img { transform: scale(1.06); }

.guide-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.guide-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.guide-card-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: var(--shadow-sm);
}

.guide-card-title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.guide-card-meta {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.guide-card-rating {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  color: var(--text-primary);
  font-weight: 600;
}

/* ---------- HOMEPAGE — ITINERARIES ---------- */
.itinerary-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 440px;
  background: var(--bg-beige);
  cursor: pointer;
}

.itinerary-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1200ms var(--ease-out-expo);
}
.itinerary-card:hover img { transform: scale(1.08); }

.itinerary-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,0.82) 100%);
}

.itinerary-card-body {
  position: absolute;
  left: 28px; right: 28px; bottom: 28px;
  z-index: 2;
  color: white;
}

.itinerary-card-duration {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  color: white;
}

.itinerary-card h3 {
  color: white;
  font-size: 1.375rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.itinerary-card-meta {
  display: flex;
  gap: 14px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.82);
}

/* ---------- HOMEPAGE — SERVICES ---------- */
.services-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.service-card {
  background: var(--bg-cream-soft);
  border-radius: var(--radius-xl);
  padding: 28px 24px 32px;
  text-align: left;
  border: 1.5px solid var(--border);
  transition: transform var(--dur-base) var(--ease-spring-soft), box-shadow var(--dur-base) var(--ease-out-expo), background var(--dur-fast) var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background: white;
  border-color: transparent;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--primary-soft);
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.service-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
}

/* ---------- HOMEPAGE — ARTICLES ---------- */
.article-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-base) var(--ease-spring-soft), box-shadow var(--dur-base) var(--ease-out-expo);
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.article-card-media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-beige);
}
.article-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 800ms var(--ease-out-expo);
}
.article-card:hover .article-card-media img { transform: scale(1.05); }

.article-card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }

.article-card-tags { display: flex; gap: 8px; }

.article-card h3 {
  font-size: 1.1875rem;
  line-height: 1.3;
}

.article-card-meta {
  margin-top: auto;
  padding-top: 14px;
  color: var(--text-muted);
  font-size: 0.8125rem;
  display: flex;
  gap: 14px;
}

/* ---------- HOMEPAGE — TESTIMONIALS ---------- */
.testimonial-slider {
  position: relative;
}

.testimonial-card {
  background: var(--bg-beige-soft);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
}

.testimonial-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 24px;
  position: relative;
  padding-left: 32px;
}

.testimonial-quote::before {
  content: "\201C";
  font-family: var(--font-display);
  position: absolute;
  left: -8px;
  top: -28px;
  font-size: 6rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.35;
}

.testimonial-author {
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-meta {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ---------- HOMEPAGE — APP BAND ---------- */
.app-band {
  background: var(--text-primary);
  color: white;
  border-radius: var(--radius-xl);
  padding: 80px 64px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.app-band::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,106,76,0.35) 0%, rgba(244,106,76,0) 70%);
  pointer-events: none;
}

.app-band h2 { color: white; margin-bottom: 16px; }
.app-band p { color: rgba(255,255,255,0.75); font-size: 1.0625rem; margin-bottom: 32px; max-width: 480px; }

.app-stores {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  background: white;
  color: var(--text-primary);
  font-weight: 600;
  transition: transform var(--dur-base) var(--ease-spring-soft);
}
.app-store-btn:hover { transform: translateY(-2px) scale(1.02); color: var(--text-primary); }

.app-store-btn svg { width: 24px; height: 24px; }
.app-store-btn .store-label { display: flex; flex-direction: column; line-height: 1.1; }
.app-store-btn .store-label small { font-size: 0.6875rem; font-weight: 500; color: var(--text-muted); }
.app-store-btn .store-label span { font-size: 1rem; }

.app-qr {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
}

.app-qr-code {
  width: 92px;
  height: 92px;
  background: white;
  border-radius: var(--radius-md);
  padding: 8px;
}

.app-phone-mock {
  position: relative;
  justify-self: center;
}

.app-phone-mock img {
  border-radius: 40px;
  max-height: 560px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  border: 8px solid #1a1a1a;
}

/* ---------- HOMEPAGE — NEWSLETTER ---------- */
.newsletter {
  background: var(--bg-beige-soft);
  border-radius: var(--radius-xl);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 32px auto 0;
}

.newsletter-form .input { background: white; }
.newsletter-form .btn { flex-shrink: 0; }

/* ---------- STATS ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 40px 0;
}

.stat-item h3 {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 400;
  color: var(--primary);
  letter-spacing: -0.04em;
}

.stat-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: -6px;
}

/* ---------- BRUSH SEPARATOR ---------- */
.brush {
  display: block;
  width: 120px;
  height: 14px;
  margin: 0 auto;
  background: var(--accent-red);
  mask: radial-gradient(closest-side, black 96%, transparent) 50% 50%/100% 100%;
  -webkit-mask: radial-gradient(closest-side, black 96%, transparent) 50% 50%/100% 100%;
  border-radius: 50%;
  transform: scaleX(1);
  transform-origin: left center;
}

.brush.reveal-item {
  /* will be animated from 0 → 1 scaleX via GSAP */
}

/* ---------- REVEAL BASE ---------- */
.reveal-item {
  will-change: transform, opacity;
}

/* Splitting */
.splitting .word, .splitting .char {
  display: inline-block;
  will-change: transform, opacity;
}

/* ---------- TOAST ---------- */
.toast-container {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--text-primary);
  color: white;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  animation: toast-in 400ms var(--ease-spring-soft);
}
.toast.is-out { animation: toast-out 300ms var(--ease-out-expo) forwards; }

@keyframes toast-in { from { transform: translateY(-24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes toast-out { to { transform: translateY(-24px); opacity: 0; } }

.toast-success { background: var(--success); }
.toast-error   { background: var(--error); }

/* ---------- UTILITIES ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

.bg-cream { background: var(--bg-cream); }
.bg-white { background: var(--bg-white); }
.bg-beige { background: var(--bg-beige-soft); }

/* ---------- REDUCED MOTION ---------- */
.reduced-motion *,
.reduced-motion *::before,
.reduced-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}
