/*
Theme Name: Jemo v2
Theme URI: https://jemoviaggi.it
Author: Jemo Viaggi Letterari
Description: Tema WordPress editoriale per Jemo Viaggi Letterari — Bento layout, tipografia Neulis, palette Rosa & Blu Elettrico, animazioni GSAP + Lenis, hand-drawn SVG scribbles.
Version: 2.6
*/

/* ==========================================================================
   1. DESIGN TOKENS & VARIABLES
   ========================================================================== */
:root {
  /* Editorial Surfaces */
  --bg-paper: #F3F1EA;
  --bg-paper-deep: #EAE6DA;
  --surface: #FFFFFF;
  --surface-glass: rgba(255, 255, 255, 0.88);

  --ink: #141518;
  --ink-soft: #262930;
  --muted: #5E626E;
  --line: rgba(20, 21, 24, 0.1);
  --line-strong: rgba(20, 21, 24, 0.18);

  /* Brand Blue Accents */
  --jemo-blue: #0041AA;
  --jemo-blue-electric: #1E2BFF;
  --jemo-blue-dark: #002B73;
  --jemo-blue-soft: #E6EDFF;

  /* Brand Pink Palette (All Jemo Rose & Pink Variants) */
  --jemo-pink: #ff4f9a;
  --jemo-pink-bright: #ff6abc;
  --jemo-pink-light: #ff9ecb;
  --jemo-pink-pastel: #ffd6ea;
  --jemo-pink-soft: #ffe3f0;
  --jemo-pink-deep: #d94a9e;
  --jemo-pink-plum: #6d1b45;

  /* Mapped Accent Aliases (Replaces Orange with Jemo Pink Variants) */
  --jemo-orange: var(--jemo-pink);
  --jemo-orange-dark: var(--jemo-pink-deep);
  --jemo-orange-soft: var(--jemo-pink-soft);

  --jemo-green: #234B33;
  --jemo-green-soft: #E5F2EA;
  --jemo-amber: #F59E0B;

  /* Legacy alias tokens for full backward compatibility */
  --white: #FFFFFF;
  --slate: #5E626E;
  --text-dark: #141518;
  --text-muted: #5E626E;
  --brand-cream: #F3F1EA;
  --brand-dark: #141518;
  --brand-navy: #0041AA;
  --brand-royal: #1E2BFF;
  --brand-pink: #ff4f9a;
  --brand-lime: #ff6abc;
  --brand-blue: #E6EDFF;

  /* Typography — Neulis Superfamily for Titles (Medium 500, SemiBold 600, Bold 700, ExtraBold 800) + Plus Jakarta Sans for Body */
  --font-display: 'neulis-sans', 'neulis-neue', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-neue: 'neulis-neue', 'neulis-sans', 'Plus Jakarta Sans', sans-serif;
  --font-cursive: 'neulis-cursive', 'neulis-neue', 'neulis-sans', sans-serif;
  --font-serif: 'neulis-cursive', 'neulis-neue', sans-serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii */
  --r-xs: 0.5rem;
  --r-sm: 0.75rem;
  --r-md: 1.15rem;
  --r-lg: 1.65rem;
  --r-xl: 2.25rem;
  --r-pill: 9999px;

  /* Shadows */
  --shadow-xs: 0 2px 8px rgba(20, 21, 24, 0.04);
  --shadow-sm: 0 8px 24px rgba(20, 21, 24, 0.06);
  --shadow-md: 0 18px 42px rgba(20, 21, 24, 0.09);
  --shadow-lg: 0 28px 68px rgba(20, 21, 24, 0.14);
  --shadow-pill: 0 16px 38px rgba(20, 21, 24, 0.1);

  /* Motion & Layout */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.35s;
  --max-w: 82rem;
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--bg-paper);
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--bg-paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

main#main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

img {
  height: auto;
}

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

/* Neulis Typography System across Weights (Medium 500, SemiBold 600, Bold 700, ExtraBold 800) */
h1,
.hero-title,
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
}

h2,
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h3,
.viaggio-card-title,
.value-step__sub,
.team-card__name {
  font-family: var(--font-neue);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h4, h5, h6,
.about-card__kicker {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 em, h2 em, h3 em, h4 em,
.section-title em,
.hero-title em,
.page-hero__title em {
  font-family: var(--font-cursive);
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--jemo-pink);
}

.hero-title em,
.page-hero__title em,
.merende-spotlight__title em {
  color: var(--jemo-pink-light);
}

.swash-letter {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: 1em;
  line-height: inherit;
  display: inline;
  margin-right: 0;
  transform: none;
}

.hl--blue {
  color: var(--jemo-blue-electric);
}

.hl--orange,
.hl--pink {
  color: var(--jemo-pink);
}

/* ==========================================================================
   3. HOVER "SCOPRI" BUBBLE ON CLICKABLE CARDS (Normal Mouse Cursor)
   ========================================================================== */
.jemo-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  pointer-events: none;
  z-index: 999999;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 14px 36px rgba(20, 21, 24, 0.22);
  transition: opacity 0.24s var(--ease), transform 0.28s var(--ease);
}

.jemo-cursor__star {
  display: none !important;
}

.jemo-cursor__label {
  color: var(--ink);
  white-space: nowrap;
}

/* Only visible when hovering clickable cards */
.jemo-cursor.is-expanded {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

@media (hover: none), (pointer: coarse), (max-width: 64rem) {
  .jemo-cursor {
    display: none !important;
  }
}

/* ==========================================================================
   4. LAYOUT & TYPOGRAPHY UTILITIES
   ========================================================================== */
.container {
  max-width: var(--max-w);
  width: 100%;
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 3.5vw, 2.5rem);
}

.section {
  padding-block: clamp(4rem, 6.5vw, 6.25rem);
  position: relative;
}

.section-head {
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.section-head--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Hide small eyebrow subtitle pills globally as requested */
.eyebrow,
.hero__top-row,
.hero__pills,
.page-hero__chips {
  display: none !important;
}

.section-title {
  font-size: clamp(2.1rem, 4.1vw, 3.45rem);
  color: var(--ink);
  line-height: 1.06;
}

.section-title--display {
  text-transform: none;
  letter-spacing: -0.025em;
}

.section-sub {
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  color: var(--muted);
  max-width: 38rem;
  line-height: 1.65;
  margin-top: 0.75rem;
}

/* Graphic Stickers & Scribbles */
.asterisk {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  flex-shrink: 0;
}

.asterisk-spin {
  animation: jemoSpinSlow 18s linear infinite;
}

@keyframes jemoSpinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.scribble {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  pointer-events: none;
}

/* Mobile Carousel Dots (Hidden on Desktop, Shown on Mobile) */
.jemo-carousel-dots {
  display: none;
}

/* ==========================================================================
   5. BUTTONS & INTERACTIVE PILLS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  background: var(--ink);
  color: var(--surface);
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: transform 0.28s var(--ease), background-color 0.28s var(--ease), color 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  background: var(--jemo-pink);
  border-color: var(--jemo-pink);
  color: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 79, 154, 0.32);
}

.btn__icon {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-right: -0.45rem;
  transition: transform 0.28s var(--ease), background-color 0.28s var(--ease);
}

.btn:hover .btn__icon {
  transform: translateX(3px) rotate(-15deg);
  background: rgba(255, 255, 255, 0.3);
}

.btn--orange,
.btn--pink {
  background: var(--jemo-pink);
  border-color: var(--jemo-pink);
  color: var(--surface);
  box-shadow: 0 10px 26px rgba(255, 79, 154, 0.28);
}

.btn--orange:hover,
.btn--pink:hover {
  background: var(--jemo-pink-deep);
  border-color: var(--jemo-pink-deep);
  color: var(--surface);
  box-shadow: 0 12px 28px rgba(217, 74, 158, 0.36);
}

.btn--light {
  background: var(--surface);
  border-color: var(--surface);
  color: var(--ink);
}

.btn--light .btn__icon {
  background: var(--jemo-pink);
  color: var(--surface);
}

.btn--light:hover {
  background: var(--jemo-pink);
  border-color: var(--jemo-pink);
  color: var(--surface);
}

.btn--light:hover .btn__icon {
  background: var(--surface);
  color: var(--jemo-pink);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--surface);
}

.btn--ghost-light:hover {
  background: var(--surface);
  border-color: var(--surface);
  color: var(--ink);
}

.btn--outline {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--outline .btn__icon {
  background: var(--jemo-pink-soft);
  color: var(--jemo-pink-deep);
}

.btn--outline:hover {
  background: var(--jemo-pink);
  border-color: var(--jemo-pink);
  color: var(--surface);
}

.btn--outline:hover .btn__icon {
  background: var(--surface);
  color: var(--jemo-pink);
}

.btn--sm {
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
}

.btn--full {
  width: 100%;
}

/* ==========================================================================
   6. TOP MINIMAL HEADER (Anchored at top of page, no scroll-follow; White on Home, Pink Logo + Black Text on Inner Pages)
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  padding: 1.15rem clamp(1.25rem, 4vw, 3.25rem);
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  transition: padding 0.3s var(--ease);
}

body.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo a {
  display: inline-flex;
  align-items: center;
  color: var(--surface);
  transition: transform 0.3s var(--ease);
}

.site-logo img {
  height: 2.05rem;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.3s var(--ease);
}

.site-logo a:hover {
  transform: scale(1.03);
}

.main-navigation .menu-close-btn,
.main-navigation .nav-eyebrow,
.main-navigation .mobile-nav-footer {
  display: none;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  list-style: none;
}

.main-navigation a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--surface);
  transition: color 0.25s var(--ease);
}

.main-navigation a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--jemo-pink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--jemo-pink-light);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Non-Homepage pages:
   Pink Logo (same logo-jemo.png as footer) + Black Menu Text + No Background */
body:not(.home) .site-logo img {
  filter: url(#jemo-logo-pink);
}

@media (min-width: 58.01rem) {
  body:not(.home) .main-navigation a {
    color: var(--ink);
  }

  body:not(.home) .main-navigation a:hover,
  body:not(.home) .main-navigation .current-menu-item > a {
    color: var(--jemo-pink);
  }
}

/* Mobile Hamburger Toggle */
.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--surface);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease), background-color 0.28s var(--ease);
}

body:not(.home) .menu-toggle {
  background: transparent;
  border-color: rgba(20, 21, 24, 0.2);
}

body:not(.home) .menu-toggle span {
  background: var(--ink);
}

.menu-toggle:hover {
  background: var(--jemo-pink) !important;
  border-color: var(--jemo-pink) !important;
}

.menu-toggle:hover span {
  background: var(--surface) !important;
}

@media (max-width: 58rem) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-navigation {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    background: var(--ink);
    z-index: 9999;
    padding: 5.5rem 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), visibility 0.32s var(--ease);
    overflow-y: auto;
  }

  .main-navigation.toggled {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-navigation .menu-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1.15rem;
    right: 1.25rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.15rem;
    cursor: pointer;
  }

  .main-navigation ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    margin-block: auto;
  }

  .main-navigation a {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 6.5vw, 2.5rem);
    font-weight: 700;
    padding: 0.25rem 0;
    color: var(--surface);
  }

  .main-navigation a::after {
    display: none;
  }

  .main-navigation a:hover,
  .main-navigation .current-menu-item > a {
    color: var(--jemo-pink-bright);
  }

  .main-navigation .mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-nav-mail {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1rem;
    color: var(--jemo-pink-light);
  }

  .mobile-social-links {
    display: flex;
    gap: 0.65rem;
  }

  .mobile-social-links a {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--surface) !important;
    font-size: 1rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
  }
}

/* ==========================================================================
   7. HERO SECTION (No White Line Under Title)
   ========================================================================== */
.hero {
  padding: 0;
}

.hero__frame {
  position: relative;
  min-height: 96svh;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(7rem, 12vw, 9.5rem) clamp(1.5rem, 5vw, 4.5rem) clamp(2.75rem, 5vw, 4.25rem);
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 79, 154, 0.24), transparent 45%),
    linear-gradient(180deg, rgba(14, 16, 22, 0.45) 0%, rgba(14, 16, 22, 0.48) 48%, rgba(12, 14, 19, 0.88) 100%);
}

.hero__content {
  max-width: var(--max-w);
  margin-inline: auto;
  width: 100%;
  color: var(--surface);
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.55rem, 6vw, 5.25rem);
  color: var(--surface);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: clamp(1.15rem, 2.2vw, 1.75rem);
  max-width: 15ch;
}

.hero-title em {
  color: var(--jemo-pink-light);
  font-weight: 500;
}

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 0;
  border-top: none;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Rotating Stamp Badge */
.hero__badge {
  position: absolute;
  top: 6.75rem;
  right: clamp(1.5rem, 4vw, 3.5rem);
  width: 122px;
  height: 122px;
  display: grid;
  place-items: center;
  z-index: 2;
}

.hero__badge-text {
  width: 100%;
  height: 100%;
  animation: jemoSpinSlow 22s linear infinite;
  fill: rgba(255, 255, 255, 0.88);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.hero__badge-star {
  position: absolute;
  font-size: 2.1rem;
  color: var(--jemo-pink-bright);
}

.hero__scroll {
  position: absolute;
  right: clamp(1.5rem, 4vw, 3.5rem);
  bottom: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 64rem) {
  .hero__badge,
  .hero__scroll {
    display: none;
  }
}

/* ==========================================================================
   8. MARQUEE BAND (Hidden as requested)
   ========================================================================== */
.marquee-band {
  display: none !important;
}

/* ==========================================================================
   9. ABOUT THE PROJECT — BENTO SECTION
   ========================================================================== */
.about-bento {
  display: grid;
  grid-template-columns: auto minmax(19rem, 1.35fr) auto minmax(17rem, 1.1fr);
  gap: 1.15rem;
  align-items: stretch;
}

.about-tabs {
  display: flex;
  gap: 0.85rem;
}

/* Vertical Pill Tabs */
.pill-tab {
  width: 3.85rem;
  min-height: 24rem;
  border-radius: var(--r-pill);
  padding: 1.35rem 0.5rem 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  color: var(--surface);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.pill-tab--orange {
  background: var(--jemo-pink);
}

.pill-tab--blue {
  background: var(--jemo-blue-electric);
}

.pill-tab:hover {
  transform: translateY(-6px);
  background: var(--jemo-pink-deep);
  color: var(--surface);
  box-shadow: var(--shadow-md);
}

.pill-tab__label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pill-tab__icon {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}

.pill-tab:hover .pill-tab__icon {
  background: var(--surface);
  color: var(--jemo-pink-deep);
  transform: rotate(15deg) scale(1.06);
}

/* Central Mission Card */
.about-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: visible;
  min-height: 25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-md);
}

.about-card__media {
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  z-index: 0;
}

.about-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.about-card:hover .about-card__media img {
  transform: scale(1.05);
}

.about-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 21, 24, 0.08) 0%, rgba(20, 21, 24, 0.72) 48%, rgba(20, 21, 24, 0.94) 100%);
}

/* Giant Asterisk Sticker on top-left of Central Card */
.about-card__star {
  position: absolute;
  top: -1.65rem;
  left: 1.25rem;
  font-size: 5.25rem;
  color: var(--jemo-pink);
  z-index: 4;
  filter: drop-shadow(0 8px 18px rgba(255, 79, 154, 0.32));
}

.about-card__body {
  position: relative;
  z-index: 2;
  padding: 4rem 1.85rem 1.75rem;
  color: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-card__kicker {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--surface);
}

.about-card__body p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.about-card__sub {
  opacity: 0.84;
}

.round-btn {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  background: var(--jemo-pink);
  color: var(--surface);
  display: inline-grid;
  place-items: center;
  font-size: 0.9rem;
  margin-top: 0.35rem;
  box-shadow: 0 8px 20px rgba(255, 79, 154, 0.4);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.round-btn:hover {
  background: var(--surface);
  color: var(--jemo-pink);
  transform: scale(1.1) rotate(12deg);
}

/* 2x2 White Stat Tiles */
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-tile {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(20, 21, 24, 0.05);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.stat-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.stat-tile__value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-tile__accent {
  color: var(--jemo-pink);
  font-size: 0.85em;
  margin-left: 2px;
}

.stat-tile__label {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.35;
}

@media (max-width: 72rem) {
  .about-bento {
    grid-template-columns: 1fr 1fr;
  }

  .about-tabs {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .pill-tab {
    width: 100%;
    min-height: auto;
    padding: 0.85rem 1.25rem;
    flex-direction: row;
    justify-content: space-between;
  }

  .pill-tab__label {
    writing-mode: horizontal-tb;
    transform: none;
  }
}

/* ==========================================================================
   10. TEAM SHOWCASE (Giulia Ciarapica & Sara Vaccarini — Full-Bleed Photo Cards)
   ========================================================================== */
.team {
  margin-top: clamp(3.5rem, 5.5vw, 5rem);
  padding-top: clamp(2.75rem, 4.5vw, 4rem);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.85fr 1.65fr;
  gap: 2.5rem;
  align-items: center;
}

.team__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  margin-bottom: 0.85rem;
}

.team__desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.team-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 29.5rem;
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ink);
  color: var(--surface);
  box-shadow: var(--shadow-md);
  isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

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

.team-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  z-index: -2;
  transition: transform 0.75s var(--ease);
}

.team-card:hover .team-card__img {
  transform: scale(1.06);
}

.team-card__fade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(16, 17, 22, 0.08) 0%,
    rgba(16, 17, 22, 0.04) 36%,
    rgba(16, 17, 22, 0.76) 68%,
    rgba(14, 15, 20, 0.96) 100%
  );
}

.team-card__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.team-card__badge-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--surface);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.team-card:hover .team-card__badge-icon {
  background: var(--jemo-pink);
  border-color: var(--jemo-pink);
  transform: rotate(12deg) scale(1.06);
}

.team-card__body {
  position: relative;
  z-index: 2;
  padding: 0;
  margin-top: auto;
}

.chip {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.38rem 0.88rem;
  border-radius: var(--r-pill);
  margin-bottom: 0;
  box-shadow: 0 6px 18px rgba(14, 15, 20, 0.18);
}

.chip--orange,
.chip--pink {
  background: var(--jemo-pink);
  color: var(--surface);
}

.chip--blue {
  background: var(--jemo-blue-electric);
  color: var(--surface);
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--surface);
  margin-bottom: 0.45rem;
  line-height: 1.1;
}

.team-card__name em {
  font-family: var(--font-cursive);
  font-weight: 500;
  color: var(--jemo-pink-light);
}

.team-card__body p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
}

@media (max-width: 60rem) {
  .team {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   11. HOW IT WORKS / VALUE STEPS (3 Cards + Continuous Looping Scribble)
   ========================================================================== */
.value-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  position: relative;
}

.value-step {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 27.5rem;
  padding: 2rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

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

/* Step 1: Solid Jemo Pink Card */
.value-step--orange {
  background: linear-gradient(145deg, var(--jemo-pink) 0%, var(--jemo-pink-deep) 100%);
  color: var(--surface);
}

/* Step 2 & 3: Scenic Photo Cards with Top Light Fade */
.value-step--photo {
  background: var(--surface);
  color: var(--ink);
}

.value-step__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.8s var(--ease);
}

.value-step:hover .value-step__img {
  transform: scale(1.06);
}

.value-step__fade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(244, 243, 238, 0.96) 0%,
    rgba(244, 243, 238, 0.88) 38%,
    rgba(244, 243, 238, 0.25) 65%,
    rgba(20, 21, 24, 0.15) 100%
  );
}

.value-step__top {
  position: relative;
  z-index: 2;
}

.value-step__heading {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.value-step__word {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.value-step--orange .value-step__word {
  color: var(--surface);
}

.value-step--photo .value-step__word {
  color: var(--ink);
}

.value-step__circle {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
}

.value-step__circle--light {
  background: var(--surface);
  color: var(--jemo-pink);
}

.value-step__circle--orange {
  background: var(--jemo-pink);
  color: var(--surface);
}

.value-step__sub {
  font-size: 1.28rem;
  margin-bottom: 0.55rem;
}

.value-step--orange .value-step__sub {
  color: var(--surface);
}

.value-step--photo .value-step__sub {
  color: var(--ink);
}

.value-step__top p {
  font-size: 0.9rem;
  line-height: 1.55;
}

.value-step--orange .value-step__top p {
  color: rgba(255, 255, 255, 0.92);
}

.value-step--photo .value-step__top p {
  color: var(--ink-soft);
}

/* Looping Scribble Art across the bottom half of the Step Cards (Natural Aspect Ratio, Never Cut Off) */
.value-step__art {
  position: absolute;
  left: -4%;
  right: -4%;
  width: 108%;
  bottom: 0.65rem;
  height: 10.5rem;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.value-step__scribble {
  width: 100%;
  max-width: none;
  height: auto;
  max-height: 100%;
}

.value-step__scribble--light {
  color: rgba(255, 255, 255, 0.92);
}

.value-step__scribble--blue {
  color: var(--jemo-pink);
  filter: drop-shadow(0 8px 18px rgba(255, 79, 154, 0.28));
}

@media (max-width: 60rem) {
  .value-steps {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   12. VIAGGI & MERENDE CARDS (Split Hero + Grid)
   ========================================================================== */
.viaggi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.viaggio-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(20, 21, 24, 0.05);
  box-shadow: var(--shadow-xs);
  transition: transform 0.38s var(--ease), box-shadow 0.38s var(--ease);
}

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

/* Featured Horizontal Split Card (First card on Homepage, spans 2 columns) */
@media (min-width: 62rem) {
  .viaggi-grid--featured .viaggio-card--hero {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
  }

  .viaggi-grid--featured .viaggio-card--hero .viaggio-card-img-wrap {
    height: 100%;
    min-height: 22rem;
    aspect-ratio: auto;
  }

  .viaggi-grid--featured .viaggio-card--hero .viaggio-card-content {
    padding: 1.15rem 1.15rem 0.95rem 0.35rem;
  }

  .viaggi-grid--featured .viaggio-card--hero .viaggio-card-excerpt p {
    -webkit-line-clamp: 4;
  }
}

.viaggio-card:not(.viaggio-card--hero) .viaggio-card__tags {
  display: none;
}

.viaggio-card-img-wrap {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-paper);
  flex-shrink: 0;
}

.viaggio-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.viaggio-card:hover .viaggio-card-image {
  transform: scale(1.06);
}

.viaggio-card__fav {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--surface);
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  z-index: 2;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.viaggio-card:hover .viaggio-card__fav {
  background: var(--jemo-pink);
  border-color: var(--jemo-pink);
}

/* Sold Out Ribbon & State */
.viaggio-card--soldout .viaggio-card-image {
  filter: grayscale(100%);
}

.jemo-soldout-ribbon {
  position: absolute;
  top: 1.35rem;
  left: 1.35rem;
  z-index: 4;
  background: var(--ink);
  color: var(--surface);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}

.viaggio-card-content {
  padding: 1rem 0.65rem 0.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.viaggio-card__meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.viaggio-card-date,
.viaggio-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.viaggio-card-date i,
.viaggio-card__meta-item i {
  color: var(--jemo-pink);
}

.viaggio-card-title {
  font-size: 1.24rem;
  line-height: 1.22;
  margin-bottom: 0.25rem;
}

.viaggio-card-title a {
  color: var(--ink);
  transition: color 0.25s var(--ease);
}

.viaggio-card:hover .viaggio-card-title a {
  color: var(--jemo-pink-deep);
}

.viaggio-card__loc {
  font-size: 0.78rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.viaggio-card__loc i {
  color: var(--jemo-pink);
  font-size: 0.72rem;
}

.viaggio-card-excerpt {
  margin-bottom: 0.9rem;
}

.viaggio-card-excerpt p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.viaggio-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tag-pill {
  display: inline-block;
  padding: 0.28rem 0.72rem;
  border-radius: var(--r-pill);
  background: var(--jemo-pink-soft);
  color: var(--jemo-pink-plum);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
}

.viaggio-card-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.viaggio-card__price strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}

.viaggio-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.viaggio-card:hover .viaggio-card__cta {
  color: var(--jemo-pink);
  transform: translateX(3px);
}

.empty-state {
  grid-column: 1 / -1;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  border: 1px dashed var(--line-strong);
  color: var(--muted);
}

.empty-state__star {
  font-size: 2.5rem;
  color: var(--jemo-pink);
  margin-bottom: 0.85rem;
}

/* Merende Spotlight Strip — Flat Electric Blue (No Gradient) */
.merende-spotlight {
  margin-top: 2.25rem;
  background: var(--jemo-blue-electric);
  background-image: none;
  border-radius: var(--r-lg);
  padding: clamp(1.85rem, 3.5vw, 2.75rem) clamp(1.75rem, 4vw, 3.25rem);
  color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}

.merende-spotlight__content {
  max-width: 40rem;
}

.merende-spotlight__title {
  color: var(--surface);
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.merende-spotlight__content p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.96rem;
}

@media (max-width: 62rem) {
  .viaggi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 42rem) {
  .viaggi-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   13. FAQ SECTION — BENTO + INTERACTIVE ACCORDION
   ========================================================================== */
.faq-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.faq-bento-card {
  position: relative;
  border-radius: var(--r-lg);
  padding: 1.75rem;
  min-height: 14.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.faq-bento-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.faq-bento-card__q {
  font-family: var(--font-neue);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.42;
  position: relative;
  z-index: 2;
  max-width: 28ch;
}

/* Card 1: Electric Blue with White Looping Scribble (Full Bleed, Never Cut Off) */
.faq-bento-card--blue {
  background: var(--jemo-blue-electric);
  background-image: none;
  color: var(--surface);
}

.faq-bento-card__scribble {
  position: absolute;
  left: -4%;
  right: -4%;
  width: 108%;
  max-width: none;
  bottom: -0.75rem;
  height: 7.5rem;
  color: var(--jemo-pink-pastel);
  pointer-events: none;
}

/* Card 2: Crisp White with Pink Arrow Button */
.faq-bento-card--white {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid rgba(20, 21, 24, 0.06);
}

/* Card 3: Nature Texture Photo with White Trail (Full Bleed, Never Cut Off) */
.faq-bento-card--photo {
  background: var(--jemo-pink-plum);
  color: var(--surface);
}

.faq-bento-card--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
  transition: transform 0.6s var(--ease);
}

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

.faq-bento-card__trail {
  position: absolute;
  left: -4%;
  right: -4%;
  top: 0;
  bottom: 0;
  width: 108%;
  max-width: none;
  height: 100%;
  color: var(--jemo-pink-pastel);
  z-index: 1;
  pointer-events: none;
}

.faq-bento-card__btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.82rem;
  align-self: flex-end;
  margin-top: auto;
  position: relative;
  z-index: 2;
  transition: transform 0.3s var(--ease);
}

.faq-bento-card:hover .faq-bento-card__btn {
  transform: scale(1.1) rotate(12deg);
}

.faq-bento-card__btn--orange {
  background: var(--jemo-pink);
  color: var(--surface);
}

.faq-bento-card__btn--light {
  background: var(--surface);
  color: var(--ink);
}

/* Accordion List */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 56rem;
  margin-inline: auto;
}

.faq-list details,
.article-content details,
.itinerary-list details {
  background: var(--surface);
  border-radius: var(--r-md);
  border: 1px solid rgba(20, 21, 24, 0.08);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq-list details[open],
.article-content details[open],
.itinerary-list details[open] {
  border-color: var(--jemo-pink);
  box-shadow: var(--shadow-sm);
}

.faq-list summary,
.article-content summary,
.itinerary-list summary {
  padding: 1.2rem 1.45rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-neue);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--ink);
  user-select: none;
}

.faq-list summary::-webkit-details-marker,
.article-content summary::-webkit-details-marker,
.itinerary-list summary::-webkit-details-marker {
  display: none;
}

.faq-num,
.itinerary-day-num {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: var(--jemo-pink-soft);
  color: var(--jemo-pink-deep);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

details[open] .faq-num,
details[open] .itinerary-day-num {
  background: var(--jemo-pink);
  color: var(--surface);
}

.faq-q,
.itinerary-day-title {
  flex: 1;
}

.faq-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--bg-paper);
  position: relative;
  flex-shrink: 0;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

.faq-icon::before {
  width: 11px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 11px;
}

details[open] .faq-icon {
  background: var(--jemo-pink);
  transform: rotate(45deg);
}

details[open] .faq-icon::before,
details[open] .faq-icon::after {
  background: var(--surface);
}

.faq-a,
.itinerary-day-content,
.article-content details > *:not(summary) {
  padding: 0 1.45rem 1.3rem 4.6rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.article-content details > *:not(summary) {
  padding-left: 1.45rem;
}

@media (max-width: 56rem) {
  .faq-bento {
    grid-template-columns: 1fr;
  }
  .faq-a,
  .itinerary-day-content {
    padding-left: 1.45rem;
  }
}

/* ==========================================================================
   14. INNER PAGE HEROES (Viaggi, Merende, Contattaci)
   ========================================================================== */
.page-hero {
  padding-top: 6rem;
  padding-bottom: 0.75rem;
}

.page-hero__frame {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(2.75rem, 5.5vw, 4.25rem) clamp(1.75rem, 5vw, 4rem);
  color: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  isolation: isolate;
}

.page-hero:not(.page-hero--profile) .page-hero__frame {
  min-height: 18rem;
  display: flex;
  align-items: center;
}

.page-hero__frame--blue {
  background: var(--jemo-blue-electric);
  background-image: none;
}

.page-hero__frame--orange {
  background: linear-gradient(145deg, var(--jemo-pink) 0%, var(--jemo-pink-deep) 100%);
}

.page-hero__frame--dark {
  background: linear-gradient(145deg, var(--jemo-pink) 0%, var(--jemo-pink-deep) 100%);
}

.page-hero__scribble {
  position: absolute;
  left: -2%;
  right: -2%;
  top: 0;
  bottom: 0;
  width: 104%;
  height: 100%;
  max-width: none;
  color: rgba(255, 255, 255, 0.22);
  z-index: -1;
  pointer-events: none;
}

.page-hero__star {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  font-size: 4rem;
  color: #ffffff;
  opacity: 0.22;
  z-index: -1;
}

.page-hero__content {
  max-width: 46rem;
  position: relative;
  z-index: 2;
}

.page-hero__title {
  color: var(--surface);
  font-size: clamp(2.25rem, 4.8vw, 3.9rem);
  margin-bottom: 0.85rem;
}

.page-hero__frame--orange .page-hero__title em,
.page-hero__frame--dark .page-hero__title em {
  color: var(--jemo-pink-pastel);
}

.page-hero__sub {
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ==========================================================================
   15. CONTACT PAGE (Bento + Form — White & Pink Cards on Both Sides)
   ========================================================================== */
.contact-bento {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 2rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  position: relative;
  border-radius: var(--r-lg);
  padding: 2.15rem;
  overflow: hidden;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid rgba(20, 21, 24, 0.06);
  box-shadow: var(--shadow-sm);
}

.contact-card--blue {
  background: var(--surface);
  background-image: none;
  color: var(--ink);
}

.contact-card--blue h3 {
  color: var(--ink);
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.contact-card--blue p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.65rem;
}

.contact-card__star {
  position: absolute;
  top: -1rem;
  right: -1rem;
  font-size: 5.5rem;
  color: var(--jemo-pink);
  opacity: 0.14;
  pointer-events: none;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  border-radius: var(--r-md);
  background: var(--bg-paper);
  border: 1.5px solid rgba(20, 21, 24, 0.08);
  color: var(--ink);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.contact-channel:hover {
  background: var(--jemo-pink-soft);
  border-color: var(--jemo-pink);
  color: var(--ink);
  transform: translateX(4px);
}

.contact-channel__icon {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  background: var(--jemo-pink);
  border: 1px solid var(--jemo-pink);
  color: var(--surface);
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(255, 79, 154, 0.26);
}

.contact-channel small {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--jemo-pink-deep);
  font-weight: 700;
}

.contact-channel strong {
  font-size: 1rem;
  color: var(--ink);
}

.contact-card--orange {
  background: var(--surface);
  background-image: none;
  color: var(--ink);
  padding: 1.65rem 2rem;
}

.contact-card__row {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.contact-card__badge {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  background: var(--jemo-pink-soft);
  border: 1.5px solid rgba(255, 79, 154, 0.28);
  color: var(--jemo-pink-deep);
  padding: 0.55rem 0.9rem;
  border-radius: var(--r-md);
  line-height: 1;
  flex-shrink: 0;
}

.contact-card--orange h4 {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-card--orange p {
  font-size: 0.88rem;
  color: var(--muted);
}

.contact-form-wrap {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3.5vw, 2.65rem);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20, 21, 24, 0.06);
}

.contact-form-head {
  margin-bottom: 1.6rem;
}

.contact-form-head h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.3rem);
}

.contact-success-msg {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--jemo-green-soft);
  color: var(--jemo-green);
  border: 1px solid rgba(35, 75, 51, 0.25);
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

.form-group {
  margin-bottom: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.form-control {
  font-family: var(--font-sans);
  padding: 0.9rem 1.15rem;
  border-radius: var(--r-md);
  border: 1.5px solid rgba(20, 21, 24, 0.14);
  background: var(--bg-paper);
  color: var(--ink);
  font-size: 0.96rem;
  outline: none;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.form-control:focus {
  background: var(--surface);
  border-color: var(--jemo-pink);
  box-shadow: 0 0 0 4px rgba(255, 79, 154, 0.14);
}

@media (max-width: 58rem) {
  .contact-bento {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 38rem) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   16. SINGLE VIAGGIO & MERENDA DETAILS
   ========================================================================== */
.single-trip-container {
  padding-top: 6.25rem;
  padding-bottom: 4rem;
}

.single-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.65rem;
}

.single-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
  background: var(--surface);
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.single-breadcrumb a:hover {
  background: var(--jemo-pink);
  border-color: var(--jemo-pink);
  color: var(--surface);
}

.article-header-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(20rem, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.article-content-section {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.article-title-section {
  background: var(--surface);
  padding: clamp(1.65rem, 3.2vw, 2.35rem);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(20, 21, 24, 0.05);
}

.article-title-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.single-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--r-pill);
  background: var(--jemo-pink-soft);
  color: var(--jemo-pink-deep);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
}

.single-trip-title {
  font-size: clamp(1.9rem, 3.6vw, 2.95rem);
  line-height: 1.08;
}

.article-content,
.standard-page-content {
  font-size: 1.03rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.article-content p,
.standard-page-content p {
  margin-bottom: 1.15rem;
}

.article-content h2,
.article-content h3,
.standard-page-content h2,
.standard-page-content h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.trip-section-head {
  margin-bottom: 1.35rem;
}

.trip-section-head h2,
.trip-section-head h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
}

/* Focus del Viaggio Ratings */
.trip-ratings-section {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: clamp(1.65rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(20, 21, 24, 0.05);
}

.trip-ratings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 2.15rem;
}

.rating-item {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.rating-item__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.rating-item__name {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.rating-item__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.85rem;
}

.rating-item__icon--blue {
  background: var(--jemo-blue-soft);
  color: var(--jemo-blue-electric);
}

.rating-item__icon--green {
  background: var(--jemo-green-soft);
  color: var(--jemo-green);
}

.rating-item__icon--orange {
  background: var(--jemo-pink-soft);
  color: var(--jemo-pink-deep);
}

.rating-item__icon--amber {
  background: #FEF3C7;
  color: #D97706;
}

.rating-item__score {
  color: var(--muted);
  font-size: 0.85rem;
}

.rating-bar-container {
  display: flex;
  gap: 0.4rem;
  height: 0.55rem;
}

.rating-bar-container div {
  flex: 1;
  border-radius: var(--r-pill);
  background: var(--bg-paper-deep);
}

.rating-bar-container div.is-filled.is-blue   { background: var(--jemo-blue-electric); }
.rating-bar-container div.is-filled.is-green  { background: #2D8A56; }
.rating-bar-container div.is-filled.is-orange { background: var(--jemo-pink); }
.rating-bar-container div.is-filled.is-amber  { background: var(--jemo-amber); }

/* Photo Gallery Grid */
.trip-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.9rem;
}

.trip-gallery-item a {
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--surface);
  padding: 0.35rem;
  box-shadow: var(--shadow-xs);
}

.trip-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--r-md) - 0.25rem);
  transition: transform 0.5s var(--ease);
}

.trip-gallery-item a:hover img {
  transform: scale(1.06);
}

/* Inclusions & Exclusions */
.trip-inclusion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.inclusion-box {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(20, 21, 24, 0.06);
}

.inclusion-box h3 {
  font-size: 1.18rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.inclusion-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.85rem;
}

.inclusion-icon--yes {
  background: var(--jemo-green-soft);
  color: var(--jemo-green);
}

.inclusion-icon--no {
  background: var(--jemo-pink-soft);
  color: var(--jemo-pink-deep);
}

.inclusion-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.inclusion-box li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.5;
}

.inclusion-box li::before {
  position: absolute;
  left: 0;
  font-weight: 800;
}

.inclusion-box--included li::before {
  content: '✓';
  color: var(--jemo-green);
}

.inclusion-box--excluded li::before {
  content: '×';
  color: var(--jemo-pink-deep);
}

/* Merende Google Map Card */
.jemo-luogo-map {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(20, 21, 24, 0.06);
}

.jemo-luogo-address {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--bg-paper);
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.1rem;
}

.jemo-luogo-address i {
  color: var(--jemo-pink);
}

.jemo-map-wrap {
  border-radius: var(--r-md);
  overflow: hidden;
}

/* Sticky Sidebar Booking Card */
.sidebar-sticky {
  position: sticky;
  top: 5.5rem;
}

.sidebar-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 0.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(20, 21, 24, 0.06);
}

.sidebar-preview-img {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 0.5rem;
}

.sidebar-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-box {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.sidebar-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 0.65rem;
}

.sidebar-stat {
  background: var(--bg-paper);
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sidebar-stat__label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
}

.sidebar-stat__val {
  font-size: 1.02rem;
  color: var(--ink);
}

.sidebar-stat__val--price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--jemo-pink-deep);
}

.btn-booking-trigger {
  width: 100%;
  padding: 0.95rem 1.35rem;
  font-size: 1rem;
}

.btn-booking-trigger:disabled,
.btn-booking-closed {
  background: #D5D7DD !important;
  border-color: #D5D7DD !important;
  color: #686D7A !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

.sidebar-divider {
  height: 1px;
  background: var(--line);
}

.sidebar-meta-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-meta-label {
  font-family: var(--font-display);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}

.sidebar-meta-value {
  font-size: 0.98rem;
  color: var(--ink);
}

.sidebar-meta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--jemo-pink-deep);
}

.sidebar-meta-link:hover {
  color: var(--jemo-blue-electric);
}

.jemo-show-on-mobile {
  display: none;
}

@media (max-width: 60rem) {
  .article-header-grid {
    grid-template-columns: 1fr;
  }
  .jemo-show-on-mobile {
    display: block;
  }
  .jemo-hide-on-mobile {
    display: none;
  }
  .trip-ratings-grid,
  .trip-inclusion-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   17. MULTI-STEP BOOKING MODAL & LIGHTBOX
   ========================================================================== */
.jemo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(243, 241, 234, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100000;
  display: none;
  opacity: 0;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1.25rem;
  overflow-y: auto;
  transition: opacity 0.35s var(--ease);
}

.jemo-modal-overlay.is-active {
  display: flex;
  opacity: 1;
}

.jemo-modal-close-fs {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface);
  border: none;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

.jemo-modal-close-fs:hover {
  background: var(--jemo-pink);
  transform: rotate(90deg);
}

.jemo-booking-flow-container {
  width: 100%;
  max-width: 38rem;
  margin: auto;
}

.jemo-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.jemo-step-indicator-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  z-index: 2;
}

.jemo-step-indicator-item .step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--line-strong);
  color: var(--muted);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s var(--ease);
}

.jemo-step-indicator-item .step-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.jemo-step-indicator-item.active .step-num {
  background: var(--jemo-pink);
  border-color: var(--jemo-pink);
  color: var(--surface);
  box-shadow: 0 6px 18px rgba(255, 79, 154, 0.34);
}

.jemo-step-indicator-item.active .step-label {
  color: var(--ink);
}

.jemo-step-indicator-item.completed .step-num {
  background: var(--jemo-blue-electric);
  border-color: var(--jemo-blue-electric);
  color: var(--surface);
}

.jemo-step-line {
  flex: 1;
  height: 2px;
  background: var(--line-strong);
  margin-inline: 0.5rem;
  margin-top: -1.35rem;
}

.jemo-step-line.active {
  background: var(--jemo-pink);
}

.jemo-flow-title {
  text-align: center;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  margin-bottom: 1.75rem;
}

.jemo-flow-step {
  display: none;
}

.jemo-flow-step.is-active {
  display: block;
}

.jemo-flow-fields {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(20, 21, 24, 0.06);
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.jemo-flow-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.jemo-flow-group label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.jemo-flow-group input,
.jemo-flow-group textarea {
  font-family: var(--font-sans);
  padding: 0.85rem 1.1rem;
  border-radius: var(--r-md);
  border: 1.5px solid rgba(20, 21, 24, 0.15);
  background: var(--bg-paper);
  font-size: 0.96rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.jemo-flow-group input:focus,
.jemo-flow-group textarea:focus {
  background: var(--surface);
  border-color: var(--jemo-pink);
}

.jemo-flow-help {
  font-size: 0.78rem;
  color: var(--muted);
}

.jemo-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.jemo-qty-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s var(--ease);
}

.jemo-qty-btn:hover:not(:disabled) {
  background: var(--jemo-pink);
  border-color: var(--jemo-pink);
  color: var(--surface);
}

.jemo-qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.jemo-qty-input {
  width: 5rem !important;
  text-align: center;
  font-weight: 800;
  -moz-appearance: textfield;
  appearance: textfield;
}

.jemo-qty-input::-webkit-outer-spin-button,
.jemo-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.jemo-flow-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.jemo-summary-heading {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.jemo-booking-summary {
  display: flex;
  flex-direction: column;
}

.jemo-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.jemo-summary-row dt {
  color: var(--muted);
  font-weight: 600;
}

.jemo-summary-row dd {
  font-weight: 700;
  color: var(--ink);
  text-align: right;
}

.jemo-pay-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--line-strong);
}

.jemo-powered-by {
  font-size: 0.82rem;
  color: var(--muted);
}

.jemo-powered-by strong {
  color: #635BFF;
}

.jemo-pay-icons {
  display: flex;
  gap: 0.85rem;
  font-size: 1.6rem;
  color: var(--ink-soft);
}

.jemo-pay-note {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.jemo-pay-note a {
  text-decoration: underline;
  font-weight: 700;
}

.jemo-booking-response {
  margin-top: 1rem;
  text-align: center;
  font-weight: 700;
}

/* Lightbox Overlay */
.jemo-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 16, 22, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.jemo-lightbox-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.jemo-lightbox-close,
.jemo-lightbox-arrow {
  position: absolute;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--surface);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 100001;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.jemo-lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}

.jemo-lightbox-arrow.prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.jemo-lightbox-arrow.next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

.jemo-lightbox-close:hover,
.jemo-lightbox-arrow:hover {
  background: var(--jemo-pink);
  border-color: var(--jemo-pink);
}

.jemo-lightbox-img-wrap {
  max-width: 84vw;
  max-height: 84vh;
}

.jemo-lightbox-img-wrap img {
  max-width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   18. THANK YOU & STANDARD EDITORIAL PAGES
   ========================================================================== */
.thankyou-section,
.standard-page-section {
  padding-top: 6.75rem;
}

.thankyou-container,
.standard-page-container {
  max-width: 48rem;
}

.thankyou-card,
.editorial-sheet {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3.25rem);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20, 21, 24, 0.06);
}

.thankyou-card {
  text-align: center;
}

.thankyou-badge {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
}

.thankyou-badge__star {
  font-size: 5.5rem;
  color: var(--jemo-blue-electric);
}

.thankyou-badge__check {
  position: absolute;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--jemo-pink);
  color: var(--surface);
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.thankyou-card .section-sub {
  margin-inline: auto;
  margin-bottom: 2rem;
}

.thankyou-summary {
  background: var(--bg-paper);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  text-align: left;
  margin-bottom: 2rem;
}

.thankyou-summary h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.thankyou-summary ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.thankyou-summary li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.thankyou-summary li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.thankyou-summary li span {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.thankyou-summary li i {
  color: var(--jemo-pink);
}

.thankyou-actions {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.editorial-sheet .page-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.editorial-sheet .page-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

.editorial-sheet .page-thumbnail {
  margin-top: 1.5rem;
  border-radius: var(--r-md);
  overflow: hidden;
}

/* ==========================================================================
   19. SLIM SITE FOOTER & MODALS
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--surface);
  margin-top: 3rem;
  padding-top: 3.25rem;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--jemo-pink);
}

.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 3.5vw, 2.5rem);
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 1.25fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-logo img {
  height: 2.15rem;
  width: auto;
  margin-bottom: 0.9rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  max-width: 22rem;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.social-links {
  display: flex;
  gap: 0.6rem;
}

.social-icon-only {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--surface);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.social-icon-only:hover {
  background: var(--jemo-pink);
  border-color: var(--jemo-pink);
  color: var(--surface);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--jemo-pink-light);
  margin-bottom: 0.85rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.footer-nav a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  transition: color 0.2s var(--ease);
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--jemo-pink-bright);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

/* Footer Newsletter */
.footer-newsletter-text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
}

.jemo-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.newsletter-input {
  width: 100%;
  padding: 0.75rem 1.1rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: var(--surface);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.newsletter-input:focus {
  border-color: var(--jemo-pink);
  background: rgba(255, 255, 255, 0.12);
}

.newsletter-privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
  cursor: pointer;
}

.newsletter-privacy-label input[type="checkbox"] {
  margin-top: 0.18rem;
  accent-color: var(--jemo-pink);
}

.newsletter-privacy-label a {
  color: var(--surface);
  text-decoration: underline;
}

.btn-newsletter-submit {
  background: var(--jemo-pink);
  border-color: var(--jemo-pink);
  color: var(--surface);
  width: 100%;
  padding: 0.75rem 1.25rem;
}

.btn-newsletter-submit:hover:not(:disabled) {
  background: var(--jemo-pink-deep);
  border-color: var(--jemo-pink-deep);
}

.newsletter-feedback {
  font-size: 0.82rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--r-sm);
  margin-top: 0.2rem;
}

.newsletter-feedback-error {
  background: rgba(255, 79, 154, 0.18);
  border: 1px solid rgba(255, 79, 154, 0.55);
  color: var(--jemo-pink-pastel);
}

.newsletter-feedback-success {
  background: rgba(45, 138, 86, 0.22);
  border: 1px solid rgba(45, 138, 86, 0.55);
  color: #A7F3D0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.1rem 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--surface);
  font-family: var(--font-display);
  font-weight: 600;
}

.footer-top-link:hover {
  color: var(--jemo-pink-light);
}

@media (max-width: 58rem) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Cookie Banner */
.jemo-cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translate(-50%, 24px);
  width: calc(100% - 2rem);
  max-width: 46rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 1.15rem 1.4rem;
  box-shadow: var(--shadow-lg);
  z-index: 99995;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s var(--ease);
}

.jemo-cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.cookie-banner-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--jemo-pink-soft);
  color: var(--jemo-pink-deep);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.cookie-banner-text p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
}

.cookie-banner-text a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
}

.cookie-banner-buttons {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--jemo-pink);
  border-color: var(--jemo-pink);
  color: var(--surface);
  padding: 0.55rem 1.05rem;
  font-size: 0.84rem;
}

.btn-cookie-reject {
  background: var(--bg-paper);
  border-color: var(--line-strong);
  color: var(--ink);
  padding: 0.55rem 1.05rem;
  font-size: 0.84rem;
}

/* Newsletter Thank You Popup */
.jemo-newsletter-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 16, 22, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  padding: 1.5rem;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.jemo-newsletter-popup-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.jemo-newsletter-popup-content {
  position: relative;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  max-width: 26rem;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(12px) scale(0.96);
  transition: transform 0.3s var(--ease);
}

.jemo-newsletter-popup-overlay.is-visible .jemo-newsletter-popup-content {
  transform: translateY(0) scale(1);
}

.jemo-newsletter-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--bg-paper);
  border: none;
  color: var(--ink);
  cursor: pointer;
}

.popup-star {
  font-size: 3.25rem;
  color: var(--jemo-pink);
  margin-bottom: 0.75rem;
}

.jemo-newsletter-popup-content h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.jemo-newsletter-popup-content p {
  font-size: 0.94rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.btn-newsletter-popup-ok {
  width: 100%;
  background: var(--jemo-pink);
  border-color: var(--jemo-pink);
  color: var(--surface);
}

/* ==========================================================================
   20. STREAMLINED MOBILE OPTIMIZATION (Fast, Clean, Functional on Phone)
   ========================================================================== */
.jemo-carousel-dots {
  display: none;
}

@media (max-width: 48rem) {
  /* 1. Compact Global Spacing & Section Rhythm */
  .container {
    padding-inline: 1rem;
  }

  .section {
    padding-block: 2.65rem;
  }

  .section-head {
    margin-bottom: 1.5rem;
  }

  .section-title {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
  }

  .section-sub {
    font-size: 0.94rem;
    margin-top: 0.5rem;
  }

  /* 2. Slim Fixed Transparent Mobile Header */
  .site-header {
    padding: 0.85rem 1rem;
  }

  body.admin-bar .site-header {
    top: 46px;
  }

  .site-logo__svg,
  .site-logo img {
    height: 1.75rem;
  }

  /* 3. Full-Screen Mobile Hero (100svh) */
  .hero {
    padding: 0;
  }

  .hero__frame {
    min-height: 100svh;
    height: 100svh;
    border-radius: 0;
    padding: 5.75rem 1.15rem 2rem;
  }

  .hero-title {
    font-size: clamp(2.15rem, 8.8vw, 2.85rem);
    margin-bottom: 0.85rem;
  }

  .hero__bottom {
    gap: 1.85rem;
    padding-top: 0.25rem;
    border-top: none;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero-cta {
    width: 100%;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.25rem;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: space-between;
    padding: 0.8rem 1.25rem;
  }

  /* 4. Marquee Bands Hidden */
  .marquee-band {
    display: none !important;
  }

  /* 5. Universal Mobile Swipeable Carousels with Pagination Dots */
  [data-mobile-carousel] {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0.9rem !important;
    margin-inline: -1rem;
    padding-inline: 1rem;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
  }

  [data-mobile-carousel]::-webkit-scrollbar {
    display: none;
  }

  [data-mobile-carousel] > * {
    flex: 0 0 85%;
    max-width: 21.5rem;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .jemo-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.95rem;
    margin-bottom: 0.35rem;
  }

  .jemo-carousel-dot {
    width: 0.52rem;
    height: 0.52rem;
    border-radius: var(--r-pill);
    background: rgba(20, 21, 24, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.3s var(--ease);
  }

  .jemo-carousel-dot.is-active {
    width: 1.6rem;
    background: var(--jemo-pink);
  }

  /* 6. About Bento: Hide decorative vertical tabs on mobile, focus on Story + 2x2 Stats */
  .about-bento {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .about-tabs {
    display: none;
  }

  .about-card {
    min-height: 19rem;
  }

  .about-card__star {
    font-size: 3.4rem;
    top: -1rem;
    left: 1rem;
  }

  .about-card__body {
    padding: 2.5rem 1.25rem 1.25rem;
    gap: 0.55rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .stat-tile {
    padding: 1.05rem 1rem;
    border-radius: var(--r-md);
  }

  .stat-tile__value {
    font-size: 1.55rem;
  }

  .stat-tile__label {
    font-size: 0.78rem;
  }

  /* 7. Full-Bleed Team Cards inside Mobile Carousel */
  .team {
    margin-top: 2.25rem;
    padding-top: 2rem;
    gap: 1.25rem;
  }

  .team__title {
    font-size: 1.55rem;
    margin-bottom: 0.45rem;
  }

  .team__desc {
    font-size: 0.92rem;
  }

  .team-card {
    min-height: 25rem;
    padding: 1.25rem;
    border-radius: var(--r-lg);
  }

  .team-card__name {
    font-size: 1.45rem;
  }

  .team-card__body p {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  /* 8. Value Steps inside Mobile Carousel (Keep crisp, un-squished scribble proportions) */
  .value-step {
    min-height: 23.5rem;
    padding: 1.5rem 1.35rem 8.5rem;
    border-radius: var(--r-lg);
  }

  .value-step__fade {
    background: linear-gradient(
      180deg,
      rgba(244, 243, 238, 0.96) 0%,
      rgba(244, 243, 238, 0.84) 55%,
      rgba(244, 243, 238, 0.35) 100%
    );
  }

  .value-step__word {
    font-size: 1.5rem;
  }

  .value-step__sub {
    font-size: 1.16rem;
  }

  .value-step__art {
    height: 9rem;
    bottom: 0.35rem;
    opacity: 0.95;
  }

  /* 9. Viaggi & Merende Cards on Mobile */
  .viaggi-grid {
    gap: 1rem;
  }

  .viaggio-card {
    border-radius: var(--r-md);
    padding: 0.55rem;
  }

  .viaggio-card-img-wrap {
    aspect-ratio: 16 / 10;
  }

  .viaggio-card-content {
    padding: 0.85rem 0.45rem 0.35rem;
  }

  .viaggio-card-title {
    font-size: 1.15rem;
  }

  .merende-spotlight {
    margin-top: 1.5rem;
    padding: 1.4rem 1.25rem;
    border-radius: var(--r-md);
    gap: 1.15rem;
  }

  .merende-spotlight__title {
    font-size: 1.35rem;
  }

  .merende-spotlight .btn {
    width: 100%;
  }

  /* 10. FAQ Cards Carousel + Accordion on Mobile */
  .faq-bento {
    margin-bottom: 0.5rem;
  }

  .faq-bento-card {
    min-height: 15.5rem;
    padding: 1.35rem;
  }

  .faq-list {
    gap: 0.65rem;
    margin-top: 1.25rem;
  }

  .faq-list summary,
  .article-content summary,
  .itinerary-list summary {
    padding: 1rem 1.1rem;
    font-size: 0.96rem;
    gap: 0.75rem;
  }

  .faq-a,
  .itinerary-day-content,
  .article-content details > *:not(summary) {
    padding: 0 1.1rem 1.05rem;
    font-size: 0.88rem;
  }

  /* 11. Inner Page Heroes & Single Templates on Mobile */
  .page-hero {
    padding-top: 4.85rem;
  }

  .page-hero__frame {
    border-radius: var(--r-lg);
    padding: 2rem 1.25rem;
  }

  .page-hero__star {
    display: none;
  }

  .page-hero__title {
    font-size: clamp(1.85rem, 7.5vw, 2.35rem);
    margin-bottom: 0.55rem;
  }

  .page-hero__sub {
    font-size: 0.92rem;
  }

  .single-trip-container {
    padding-top: 5rem;
    padding-bottom: 2.5rem;
  }

  .article-content-section {
    gap: 1.65rem;
  }

  .article-title-section,
  .trip-ratings-section,
  .inclusion-box,
  .jemo-luogo-map,
  .contact-card,
  .contact-form-wrap {
    padding: 1.25rem;
    border-radius: var(--r-md);
  }

  .trip-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  /* 12. Slim Mobile Footer & Cookie Banner */
  .site-footer {
    margin-top: 2rem;
    padding-top: 2.25rem;
  }

  .footer-inner {
    gap: 1.65rem;
    padding-bottom: 1.75rem;
  }

  .footer-logo img {
    height: 1.85rem;
  }

  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }

  .cookie-banner-buttons {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   21. MEMBER AUTH MODAL, HEADER ACCOUNT & AREA PERSONALE (PROFILE + CART)
   ========================================================================== */
.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.header-account-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 0.95rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--surface);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transition: all 0.25s var(--ease);
}

.header-account-btn:hover {
  background: var(--jemo-pink);
  border-color: var(--jemo-pink);
  color: var(--surface);
  transform: translateY(-1px);
}

body:not(.home) .header-account-btn {
  color: var(--ink);
  background: rgba(20, 21, 24, 0.05);
  border-color: rgba(20, 21, 24, 0.14);
}

body:not(.home) .header-account-btn:hover {
  background: var(--jemo-pink);
  border-color: var(--jemo-pink);
  color: var(--surface);
}

.header-cart-badge {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: var(--r-pill);
  background: var(--jemo-pink);
  color: var(--surface);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.header-cart-badge.is-visible {
  display: inline-flex;
}

.header-account-btn:hover .header-cart-badge {
  background: var(--surface);
  color: var(--jemo-pink);
}

.mobile-nav-account {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--surface) !important;
  text-decoration: none;
}

.btn-add-cart {
  margin-top: 0.55rem;
  gap: 0.5rem;
  justify-content: center;
}

.btn-add-cart.is-added {
  background: var(--jemo-pink-soft);
  border-color: var(--jemo-pink);
  color: var(--jemo-pink-deep);
}

/* ── Integrated Auth Modal (#jemo-auth-modal) ── */
.jemo-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
}

.jemo-auth-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.jemo-auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 16, 22, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.jemo-auth-modal__dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 30rem;
  max-height: 92dvh;
  overflow-y: auto;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(12px) scale(0.97);
  transition: transform 0.3s var(--ease);
}

.jemo-auth-modal.is-open .jemo-auth-modal__dialog {
  transform: translateY(0) scale(1);
}

.jemo-auth-modal__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: none;
  background: var(--bg-paper);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.jemo-auth-modal__close:hover {
  background: var(--jemo-pink);
  color: var(--surface);
}

.jemo-auth-tabs {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.3rem;
  background: var(--bg-paper);
  border-radius: var(--r-pill);
  margin-bottom: 1.5rem;
}

.jemo-auth-tab {
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: var(--r-pill);
  background: transparent;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.22s var(--ease);
}

.jemo-auth-tab.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.jemo-auth-pane {
  display: none;
}

.jemo-auth-pane.is-active {
  display: block;
}

.jemo-auth-title {
  font-size: 1.65rem;
  margin-bottom: 0.35rem;
}

.jemo-auth-sub {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1.35rem;
}

.jemo-auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.jemo-auth-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.jemo-auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.jemo-auth-field label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.jemo-auth-field input,
.jemo-auth-field textarea {
  width: 100%;
  padding: 0.78rem 1rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line-strong);
  background: var(--bg-paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.94rem;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.jemo-auth-field input:focus,
.jemo-auth-field textarea:focus {
  outline: none;
  border-color: var(--jemo-pink);
  background: var(--surface);
}

.jemo-auth-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
  cursor: pointer;
}

.jemo-auth-check input {
  margin-top: 0.18rem;
  accent-color: var(--jemo-pink);
}

.jemo-auth-check a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
}

.jemo-auth-feedback {
  display: none;
  padding: 0.7rem 0.95rem;
  border-radius: var(--r-sm);
  font-size: 0.86rem;
  font-weight: 600;
}

.jemo-auth-feedback.is-error {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.jemo-auth-feedback.is-success {
  display: block;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

/* ── Area Personale / Profile & Cart Page ── */
.profile-hero-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.profile-hero-user {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.profile-avatar {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  background: var(--jemo-pink);
  color: var(--surface);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(255, 79, 154, 0.35);
}

.profile-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--jemo-pink-light);
  margin-bottom: 0.25rem;
}

.profile-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.profile-nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1.35rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.profile-nav-tab:hover {
  border-color: var(--jemo-pink);
  color: var(--jemo-pink);
}

.profile-nav-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface);
}

.profile-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.38rem;
  border-radius: var(--r-pill);
  background: var(--jemo-pink);
  color: var(--surface);
  font-size: 0.74rem;
  font-weight: 700;
}

.profile-pane {
  display: none;
  flex-direction: column;
  gap: 2.25rem;
}

.profile-pane.is-active {
  display: flex;
}

.profile-block {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.35rem);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.profile-block__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.65rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.profile-block__title {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  margin: 0 0 0.25rem;
}

.profile-block__sub {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.profile-cart-total-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--r-pill);
  background: var(--jemo-pink-soft);
  color: var(--ink);
  font-size: 0.92rem;
}

.profile-cart-total-pill strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--jemo-pink-deep);
}

.profile-cart-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-cart-item {
  display: grid;
  grid-template-columns: 8.5rem 1fr auto;
  align-items: center;
  gap: 1.35rem;
  padding: 1.1rem;
  border-radius: var(--r-md);
  background: var(--bg-paper);
  border: 1px solid var(--line);
}

.profile-cart-item__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-sm);
  overflow: hidden;
  display: block;
  background: var(--bg-paper-deep);
}

.profile-cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-cart-item__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.profile-type-pill {
  display: inline-block;
  padding: 0.22rem 0.65rem;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.profile-type-pill.is-viaggio {
  background: var(--jemo-blue-soft);
  color: var(--jemo-blue);
}

.profile-type-pill.is-merenda {
  background: var(--jemo-pink-soft);
  color: var(--jemo-pink-deep);
}

.profile-date-label {
  font-size: 0.82rem;
  color: var(--muted);
}

.profile-cart-item__title {
  font-size: 1.2rem;
  margin: 0 0 0.65rem;
}

.profile-cart-item__title a {
  color: var(--ink);
  text-decoration: none;
}

.profile-cart-item__title a:hover {
  color: var(--jemo-pink);
}

.profile-cart-item__controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.profile-cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.jemo-qty-stepper--sm .jemo-qty-btn {
  width: 1.9rem;
  height: 1.9rem;
}

.jemo-qty-stepper--sm .jemo-qty-input {
  width: 2.3rem;
  height: 1.9rem;
  font-size: 0.9rem;
}

.profile-cart-price {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.profile-cart-price__unit {
  font-size: 0.82rem;
  color: var(--muted);
}

.profile-cart-price__sub {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}

.profile-cart-item__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}

.profile-cart-remove {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0.25rem 0.4rem;
  transition: color 0.2s var(--ease);
}

.profile-cart-remove:hover {
  color: #b91c1c;
}

/* ── Orders Grid (Purchased Trips & Merende) ── */
.profile-orders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
  gap: 1.25rem;
}

.profile-order-card {
  border-radius: var(--r-md);
  background: var(--bg-paper);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.profile-order-card__img {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-paper-deep);
}

.profile-order-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-order-status {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--r-pill);
  background: rgba(21, 128, 61, 0.92);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.profile-order-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

.profile-order-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.profile-order-date {
  font-size: 0.78rem;
  color: var(--muted);
}

.profile-order-card__title {
  font-size: 1.2rem;
  margin: 0;
}

.profile-order-card__title a {
  color: var(--ink);
  text-decoration: none;
}

.profile-order-specs {
  margin: 0;
  padding: 0.85rem 0;
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.profile-order-specs dt {
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.profile-order-specs dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}

.profile-order-specs dd.is-price {
  color: var(--jemo-pink-deep);
}

.profile-order-link {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--jemo-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.profile-order-link:hover {
  color: var(--jemo-pink);
}

.profile-empty-box {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--r-md);
  background: var(--bg-paper);
  border: 1px dashed var(--line-strong);
}

.profile-empty-box__icon {
  font-size: 2rem;
  color: var(--jemo-pink);
  margin-bottom: 0.65rem;
}

.profile-empty-box h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.profile-empty-box p {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 34rem;
  margin: 0 auto 1.25rem;
}

.profile-empty-box__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── Profile Settings Forms & Guest Auth Grid ── */
.profile-settings-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.profile-field--full {
  grid-column: 1 / -1;
}

.profile-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding-top: 0.5rem;
}

.guest-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 54rem) {
  .guest-auth-grid,
  .profile-form-grid,
  .jemo-auth-grid-2 {
    grid-template-columns: 1fr;
  }

  .profile-cart-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .profile-cart-item__media {
    aspect-ratio: 16 / 9;
  }

  .profile-cart-item__actions {
    align-items: stretch;
  }

  .profile-cart-item__actions .btn {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 36rem) {
  .header-account-btn__label {
    display: none;
  }

  .header-account-btn {
    padding: 0.5rem 0.7rem;
  }
}

/* ==========================================================================
   22. REFINEMENTS: PROFILE LIGHT CARD, GOOGLE AUTH, STRIPE BADGE,
       UNIFIED SINGLE HERO CARD & MOBILE ALIGNMENT / SPACING
   ========================================================================== */

/* 1. Area Personale Top Hero Card: Black text on clean light surface */
.page-hero__frame--light {
  background: var(--surface) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.page-hero__frame--light::before {
  background: none !important;
}

.page-hero__frame--light .page-hero__title {
  color: var(--ink) !important;
}

.page-hero__frame--light .page-hero__title em {
  color: var(--jemo-pink) !important;
}

.page-hero__frame--light .page-hero__sub {
  color: var(--muted) !important;
}

.page-hero__frame--light .profile-badge {
  color: var(--jemo-pink-deep) !important;
}

/* 2. Google Sign-In / Registration Button & Divider */
.jemo-google-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.82rem 1.25rem;
  border-radius: var(--r-pill);
  border: 1.5px solid rgba(20, 21, 24, 0.16);
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  box-shadow: 0 2px 6px rgba(20, 21, 24, 0.04);
}

.jemo-google-btn:hover:not(:disabled) {
  border-color: var(--ink);
  background: var(--bg-paper);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(20, 21, 24, 0.08);
}

.jemo-google-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.jemo-google-btn__icon {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}

.jemo-auth-divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.15rem 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.jemo-auth-divider::before,
.jemo-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}

/* 3. Footer "Powered by Stripe" Badge */
.footer-bottom__left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
}

.footer-stripe-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.75rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.footer-stripe-badge i {
  color: #635BFF;
  font-size: 0.9rem;
}

.footer-stripe-badge strong {
  color: #ffffff;
  font-weight: 700;
}

/* 4. Single-Line "Torna indietro" Button on Viaggi & Merende */
.single-back-bar {
  margin-bottom: 1.35rem;
}

.single-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease);
}

.single-back-btn:hover {
  background: var(--jemo-pink);
  border-color: var(--jemo-pink);
  color: var(--surface);
  transform: translateX(-2px);
}

/* 5. Unified Top Card on Single Viaggi & Merende */
.article-title-card-unified {
  overflow: hidden;
}

.article-title-card__media {
  margin: -2.25rem -2.5rem 1.5rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-paper-deep);
}

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

.article-title-card__booking {
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.article-title-card__cta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.article-title-card__cta-stack .btn-add-cart {
  margin-top: 0;
}

/* 6. Mobile Hamburger Menu Compact Single-Line Account Button */
@media (max-width: 64rem) {
  .main-navigation .mobile-nav-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-top: 1.25rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .main-navigation .mobile-nav-account {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.68rem 1.35rem !important;
    border-radius: var(--r-pill) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    font-family: var(--font-display) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    color: var(--surface) !important;
    width: auto !important;
    max-width: 100%;
  }

  .main-navigation .mobile-nav-account:hover {
    background: var(--jemo-pink) !important;
    border-color: var(--jemo-pink) !important;
  }
}

/* 7. Mobile Consistent Left Alignment & Generous Card Spacing */
@media (max-width: 48rem) {
  /* Uniform left alignment across all section headers, titles & subtitles */
  .section-head,
  .section-head--center,
  .section-head--split,
  .trip-section-head,
  .team__head,
  .page-hero__content {
    text-align: left !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    margin-inline: 0 !important;
  }

  .section-head--center .section-sub,
  .section-sub,
  .team__desc,
  .page-hero__sub {
    text-align: left !important;
    margin-inline: 0 !important;
  }

  /* Generous breathing room between stacked cards & blocks on mobile */
  .viaggi-grid {
    gap: 1.5rem !important;
  }

  .about-bento {
    gap: 1.35rem !important;
  }

  .about-stats {
    gap: 0.95rem !important;
  }

  .article-content-section {
    gap: 2rem !important;
  }

  .trip-inclusion-grid,
  .trip-ratings-grid,
  .contact-grid,
  .guest-auth-grid,
  .profile-orders-grid,
  .profile-cart-list,
  .profile-pane {
    gap: 1.5rem !important;
  }

  /* Unified top card image bleed adjustment for mobile padding (1.25rem) */
  .article-title-card-unified {
    padding: 1.35rem !important;
  }

  .article-title-card__media {
    margin: -1.35rem -1.35rem 1.25rem !important;
  }
}

/* ==========================================================================
   23. LOGO IN "CHE COS'È JEMO", FAQ BENTO NEAR MERENDE, UNIFORM HEROES,
       PROFILE COMPACT CARD + AVATAR UPLOAD + MOBILE PROFILE FIXES
   ========================================================================== */

/* 1. Pink Jemo Logo inside "Che cos'è Jemo" Heading */
.section-title--with-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.34em;
}

.section-title__logo {
  display: inline-block;
  height: 0.94em;
  width: auto;
  vertical-align: middle;
  filter: url(#jemo-logo-pink);
  transform: translateY(0.05em);
}

/* 2. Team Cards without Top Role Chip */
.team-card {
  justify-content: flex-end;
}

/* 3. FAQ Bento Cards placed right under "Scopri le nostre Merende" Banner */
.faq-bento--near-merende {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

/* 4. Compact "Ciao, [Nome]" Profile Card & Enlarged Profile Image + Upload */
.page-hero--profile {
  padding-top: 5.5rem;
  padding-bottom: 0.5rem;
}

.page-hero--profile .page-hero__frame {
  padding: 1.15rem 1.65rem;
  border-radius: var(--r-lg);
  min-height: 0;
}

.page-hero--profile .page-hero__content {
  max-width: 100%;
  width: 100%;
}

.page-hero--profile .page-hero__title {
  font-size: clamp(1.35rem, 2.1vw, 1.7rem);
  line-height: 1.15;
  margin-bottom: 0.15rem;
}

.page-hero--profile .page-hero__sub {
  font-size: 0.9rem;
  line-height: 1.4;
}

.section--profile {
  padding-top: 1.25rem;
}

.profile-avatar-wrap {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.profile-avatar {
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 79, 154, 0.25);
  background: var(--jemo-pink);
  color: var(--surface);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255, 79, 154, 0.3);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.profile-avatar:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(255, 79, 154, 0.42);
}

.profile-avatar--sm {
  width: 3.75rem;
  height: 3.75rem;
  font-size: 1.25rem;
  cursor: default;
}

.profile-avatar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-avatar__img[hidden],
.profile-avatar__initials[hidden] {
  display: none !important;
}

.profile-avatar-edit {
  position: absolute;
  right: -0.15rem;
  bottom: -0.15rem;
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 50%;
  border: 2px solid var(--surface);
  background: var(--ink);
  color: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.profile-avatar-edit:hover {
  background: var(--jemo-pink);
  transform: scale(1.08);
}

.profile-hero-user__info {
  min-width: 0;
}

.profile-avatar-status {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.2rem;
  color: var(--jemo-pink-deep);
}

.profile-avatar-status.is-error {
  color: #b91c1c;
}

.profile-avatar-upload-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: var(--r-md);
  background: var(--bg-paper);
  border: 1px solid var(--line);
}

.profile-avatar-upload-bar__preview {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-avatar-upload-bar__preview strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink);
}

.profile-avatar-upload-bar__preview p {
  margin: 0.1rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.profile-orders-actions {
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

/* 5. Mobile Layout & Margin Fixes for Profile Page & Inner Hero Banners */
@media (max-width: 48rem) {
  .section-title--with-logo {
    justify-content: flex-start;
  }

  .page-hero:not(.page-hero--profile) .page-hero__frame {
    min-height: 13.75rem;
  }

  .page-hero--profile {
    padding-top: 4.65rem;
    padding-bottom: 0.25rem;
  }

  .page-hero--profile .page-hero__frame {
    padding: 1rem 1.15rem;
    border-radius: var(--r-md);
  }

  .section--profile {
    padding-top: 0.85rem;
    padding-bottom: 2.5rem;
  }

  .profile-hero-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.95rem;
  }

  .profile-hero-user {
    gap: 0.95rem;
    width: 100%;
  }

  .profile-avatar {
    width: 4.35rem;
    height: 4.35rem;
    font-size: 1.45rem;
  }

  .profile-hero-user__info .page-hero__sub {
    word-break: break-all;
  }

  .profile-hero-header > [data-jemo-logout] {
    width: 100%;
    justify-content: center;
  }

  .profile-nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
  }

  .profile-nav-tabs::-webkit-scrollbar {
    display: none;
  }

  .profile-nav-tab {
    flex: 0 0 auto;
    padding: 0.62rem 1rem;
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .profile-block {
    padding: 1.2rem 1.1rem;
    border-radius: var(--r-md);
  }

  .profile-orders-grid {
    grid-template-columns: 1fr;
  }

  .profile-empty-box {
    padding: 1.75rem 1.1rem;
  }

  .profile-empty-box__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-empty-box__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .profile-avatar-upload-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-avatar-upload-bar .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   24. PURE WHITE EDITORIAL GALLERY SYSTEM (Mishmash / Kinfolk / Cereal)
       100% Crisp White Canvas (#FFFFFF), Zero Divider Lines, Full-Bleed Video Hero
       with White Top Header, Clean Packshots, Pink Dot FAQs & Avatar Modal
   ========================================================================== */

/* 1. Core Tokens: Pure White Canvas, Deep Ink, Zero Divider Lines */
:root {
  --bg-paper: #FFFFFF !important;
  --bg-paper-deep: #F7F7F7 !important;
  --surface: #FFFFFF !important;
  --ink: #111111 !important;
  --ink-soft: #2B2B2B !important;
  --muted: #666666 !important;
  --line: #EBEBEB !important;
  --line-strong: #D6D6D6 !important;

  --r-xs: 4px !important;
  --r-sm: 6px !important;
  --r-md: 8px !important;
  --r-lg: 10px !important;
  --r-xl: 12px !important;
  --r-pill: 9999px !important;

  --shadow-xs: none !important;
  --shadow-sm: none !important;
  --shadow-md: none !important;
  --shadow-lg: none !important;

  /* Rigid Editorial Typography Scale & Uniform Spacing Tokens */
  --type-hero: clamp(2.65rem, 5.4vw, 4.65rem);
  --type-h1: clamp(2.25rem, 4.2vw, 3.45rem);
  --type-h2: clamp(1.9rem, 3.2vw, 2.75rem);
  --type-h3: clamp(1.3rem, 1.9vw, 1.55rem);
  --type-h4: 1.08rem;
  --type-lead: clamp(1rem, 1.12vw, 1.1rem);
  --type-body: 0.95rem;

  --space-section: clamp(3.75rem, 6vw, 5.25rem);
  --space-head-body: clamp(1.75rem, 3vw, 2.5rem);
  --space-block: clamp(2.5rem, 4.5vw, 3.75rem);
}

html,
body {
  background-color: #FFFFFF !important;
  color: var(--ink) !important;
}

/* 2. Minimalist Sticky White Header (Transparent + White on Desktop Homepage, White on Inner Pages & Mobile) */
.site-header {
  position: sticky !important;
  top: 0 !important;
  background: #FFFFFF !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-bottom: none !important;
  padding: 1.1rem clamp(1.25rem, 4vw, 3.25rem) !important;
}

body.home .site-logo img,
body:not(.home) .site-logo img {
  filter: url(#jemo-logo-pink) !important;
  height: 1.9rem !important;
}

@media (min-width: 58.01rem) {
  /* Homepage Desktop: Transparent Header overlaid on the Video Hero with White Logo, Text & Controls */
  body.home .site-header,
  body.page-template-front-page .site-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.admin-bar.home .site-header,
  body.admin-bar.page-template-front-page .site-header {
    top: 32px !important;
  }

  body.home .site-logo img,
  body.page-template-front-page .site-logo img {
    filter: brightness(0) invert(1) !important;
  }

  body.home .main-navigation a,
  body.page-template-front-page .main-navigation a {
    color: #FFFFFF !important;
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
  }

  body.home .main-navigation a:hover,
  body.page-template-front-page .main-navigation a:hover,
  body.home .main-navigation .current-menu-item > a,
  body.page-template-front-page .main-navigation .current-menu-item > a {
    color: var(--jemo-pink-light) !important;
  }

  body.home .header-account-btn,
  body.page-template-front-page .header-account-btn {
    color: #FFFFFF !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    border-radius: var(--r-pill) !important;
    padding: 0.45rem 1rem !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
  }

  body.home .header-account-btn:hover,
  body.page-template-front-page .header-account-btn:hover {
    background: #FFFFFF !important;
    border-color: #FFFFFF !important;
    color: var(--ink) !important;
  }

  body:not(.home) .main-navigation a {
    color: var(--ink) !important;
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
  }

  body:not(.home) .main-navigation a:hover,
  body:not(.home) .main-navigation .current-menu-item > a {
    color: var(--jemo-pink) !important;
  }
}

@media (max-width: 58rem) {
  body.home .header-account-btn {
    color: var(--ink) !important;
    background: transparent !important;
    border: 1px solid var(--line-strong) !important;
    border-radius: var(--r-pill) !important;
    padding: 0.45rem 1rem !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
  }

  body.home .header-account-btn:hover {
    background: var(--ink) !important;
    border-color: var(--ink) !important;
    color: #FFFFFF !important;
  }
}

body:not(.home) .header-account-btn {
  color: var(--ink) !important;
  background: transparent !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: var(--r-pill) !important;
  padding: 0.45rem 1rem !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
}

body:not(.home) .header-account-btn:hover {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
  color: #FFFFFF !important;
}

body.home .menu-toggle {
  background: transparent !important;
  border-color: var(--line-strong) !important;
}

body.home .menu-toggle span {
  background: var(--ink) !important;
}

/* 3. Clean Editorial Buttons */
.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  padding: 0.85rem 1.65rem !important;
  border-radius: var(--r-pill) !important;
  font-family: var(--font-display) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  border-width: 1px !important;
  box-shadow: none !important;
}

.btn__icon {
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border-radius: 0 !important;
  margin: 0 !important;
  font-size: 0.82rem !important;
  color: currentColor !important;
}

.btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: none !important;
}

.btn--orange,
.btn--pink {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
  color: #FFFFFF !important;
}

.btn--orange:hover,
.btn--pink:hover {
  background: var(--jemo-pink) !important;
  border-color: var(--jemo-pink) !important;
  color: #FFFFFF !important;
}

.btn--outline {
  background: transparent !important;
  border-color: var(--line-strong) !important;
  color: var(--ink) !important;
}

.btn--outline:hover {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
  color: #FFFFFF !important;
}

.btn--light {
  background: #FFFFFF !important;
  border-color: #FFFFFF !important;
  color: var(--ink) !important;
}

.btn--light:hover {
  background: var(--jemo-pink) !important;
  border-color: var(--jemo-pink) !important;
  color: #FFFFFF !important;
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  color: #FFFFFF !important;
}

.btn--ghost-light:hover {
  background: #FFFFFF !important;
  border-color: #FFFFFF !important;
  color: var(--ink) !important;
}

/* 4. Full-Width Video Hero Below White Header with Text Overlay */
.hero--fullvideo {
  padding: 0 !important;
  margin: 0 !important;
  background: #FFFFFF !important;
}

.hero-fullvideo__frame {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(6rem, 10vw, 8.5rem) 0 clamp(3rem, 5.5vw, 4.75rem);
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.hero-fullvideo__frame .hero-video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: -2 !important;
  transform: none !important;
}

.hero-fullvideo__frame .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.22) 0%, rgba(17, 17, 17, 0.38) 50%, rgba(17, 17, 17, 0.78) 100%);
}

.hero-fullvideo__content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
}

.hero--fullvideo .hero-title {
  color: #FFFFFF !important;
  font-size: var(--type-hero) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.03em !important;
  margin: 0 0 clamp(1.25rem, 2.2vw, 1.75rem) !important;
  max-width: 15ch;
}

.hero--fullvideo .hero-title em {
  color: var(--jemo-pink-light) !important;
}

.hero-fullvideo__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero--fullvideo .hero-subtitle {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: var(--type-lead) !important;
  line-height: 1.65 !important;
  max-width: 36rem;
  margin: 0 !important;
}

/* 5. Coherent Uniform Section Spacing, Outdented Title Asterisk & Zero Separation Lines */
.section,
.section--about,
.section--values,
.section--trips,
.section--merende,
.section--contact,
.jemo-faq {
  padding-block: var(--space-section) !important;
  background: #FFFFFF !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
}

.section-head,
.section-head--center,
.section-head--split {
  text-align: left !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 1rem 2.5rem !important;
  margin-bottom: var(--space-head-body) !important;
  border: none !important;
}

.section-title,
.team__title,
.trip-section-head h2,
.trip-section-head h3,
.page-hero__title,
.single-trip-title,
.page-title,
.hero-title {
  position: relative;
  font-size: var(--type-h2);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
  display: block;
}

.section-title--with-logo {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.35em !important;
  justify-content: flex-start !important;
}

/* Jemo Asterisk Star: Outdented to the Left of the Text Block on Desktop (All lines align flush left) */
.title-asterisk {
  position: absolute !important;
  right: 100% !important;
  top: 0.16em !important;
  margin-right: 0.28em !important;
  width: 0.62em !important;
  height: 0.62em !important;
  color: var(--jemo-pink) !important;
  display: block !important;
  pointer-events: none;
}

/* Reserve left gutter space when container is near viewport edge so the outdented star is never clipped */
@media (min-width: 48.01rem) and (max-width: 92rem) {
  .page-hero .container,
  .hero-fullvideo__content,
  .single-trip-container,
  .standard-page-container {
    padding-left: clamp(3.25rem, 6vw, 4.75rem) !important;
  }
}

.hero-title .title-asterisk {
  color: var(--jemo-pink) !important;
}

.main-navigation ul li > a::before {
  display: none !important;
  content: none !important;
}

/* Significa-style Masked Word-by-Word Title Reveal */
.jemo-word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}

.jemo-word-inner {
  display: inline-block;
  will-change: transform;
}

/* 6. "Che cos'è Jemo" — Magazine Split + Minimalist Metrics Strip + Portraits */
.manifesto-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.manifesto-split__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-paper-deep);
}

.manifesto-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manifesto-split__copy {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.manifesto-split__headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.16;
  color: var(--ink);
}

.manifesto-split__copy p {
  font-size: var(--type-lead);
  color: var(--muted);
  line-height: 1.68;
}

.manifesto-split__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 0.75rem;
}

.editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.editorial-link:hover {
  color: var(--jemo-pink);
}

/* Minimalist Horizontal Metrics Bar (No lines) */
.metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: clamp(2.75rem, 4.5vw, 3.75rem);
  padding-block: 1rem;
  border: none !important;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.metric-item__val {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.metric-item__val em {
  font-style: normal;
  color: var(--jemo-pink);
  margin-left: 2px;
}

.metric-item__lbl {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Team — Clean Editorial Portraits with Below-Image Bio */
.team-editorial {
  margin-top: clamp(2.75rem, 4.5vw, 3.75rem);
  display: grid;
  grid-template-columns: 0.85fr 1.65fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}

.team-editorial__intro {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.team__desc {
  font-size: var(--type-lead);
  color: var(--muted);
  line-height: 1.65;
}

.team-editorial__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.founder-item {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.founder-item__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-paper-deep);
}

.founder-item__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s var(--ease);
}

.founder-item:hover .founder-item__photo img {
  transform: scale(1.03);
}

.founder-item__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.founder-item__info p {
  font-size: var(--type-body);
  color: var(--muted);
  line-height: 1.6;
}

/* 7. Come Funziona / Values — 3 Open Editorial Columns on White (No top line) */
.editorial-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.25rem);
}

.editorial-step {
  padding-top: 0;
  border: none !important;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.editorial-step__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--jemo-pink);
  letter-spacing: 0.04em;
}

.editorial-step__title {
  font-family: var(--font-display);
  font-size: var(--type-h3);
  font-weight: 700;
  color: var(--ink);
}

.editorial-step p {
  font-size: var(--type-body);
  color: var(--muted);
  line-height: 1.65;
}

/* 8. Viaggi & Merende Catalog — Borderless Gallery Packshots */
.viaggi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 1.85rem !important;
}

.viaggio-card {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.viaggio-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

.viaggio-card-img-wrap {
  aspect-ratio: 4 / 3 !important;
  border-radius: var(--r-md) !important;
  overflow: hidden;
  background: var(--bg-paper-deep) !important;
  border: none !important;
}

.viaggio-card:hover .viaggio-card-image {
  transform: scale(1.04);
}

.jemo-soldout-ribbon {
  top: 0.85rem !important;
  left: 0.85rem !important;
  border-radius: var(--r-xs) !important;
  font-size: 0.7rem !important;
  padding: 0.3rem 0.65rem !important;
}

/* Keep Sold Out & Non Disponibile cards permanently grayscale (even during blur-reveal) */
.viaggio-card--soldout .viaggio-card-image,
.viaggio-card--soldout:hover .viaggio-card-image {
  filter: grayscale(100%) !important;
}

.viaggio-card-content {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.viaggio-card__meta-row {
  font-family: var(--font-sans) !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  color: var(--muted) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  gap: 0.4rem !important;
}

.viaggio-card-title {
  font-family: var(--font-display) !important;
  font-size: 1.28rem !important;
  font-weight: 700 !important;
  line-height: 1.22 !important;
  margin: 0 !important;
}

.viaggio-card-excerpt {
  margin: 0.15rem 0 0.5rem !important;
}

.viaggio-card-excerpt p {
  font-size: var(--type-body) !important;
  color: var(--muted) !important;
  line-height: 1.55 !important;
}

.viaggio-card-footer {
  margin-top: auto !important;
  padding-top: 0.5rem !important;
  border-top: none !important;
}

.viaggio-card__price strong {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
}

.viaggio-card__cta {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
}

/* 9. Dedicated "Scopri le nostre Merende Letterarie" Section */
.merende-feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.merende-feature__copy {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.merende-feature__copy .section-sub {
  margin: 0 !important;
  font-size: var(--type-lead) !important;
  color: var(--muted) !important;
  line-height: 1.65 !important;
}

.merende-feature__actions {
  padding-top: 0.5rem;
}

.merende-feature__media {
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-paper-deep);
}

.merende-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 10. FAQ & Accordions — Stacked Below Single-Line Heading, Uniform Gap, Stable Open/Close */
.faq-editorial-layout {
  display: flex !important;
  flex-direction: column !important;
  gap: var(--space-head-body) !important;
  align-items: stretch !important;
}

.faq-editorial-layout__head,
.section-head.faq-editorial-layout__head {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.faq-editorial-layout__head .section-title {
  white-space: nowrap !important;
  margin: 0 !important;
}

.faq-list {
  width: 100% !important;
  max-width: 100% !important;
  gap: 0 !important;
  border: none !important;
  margin: 0 !important;
  margin-top: 0 !important;
}

.faq-list details,
.faq-list details[open],
.article-content details,
.article-content details[open],
.itinerary-list details,
.itinerary-list details[open] {
  background: transparent !important;
  border: none !important;
  border-bottom: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow-anchor: none !important;
}

.faq-list summary,
.faq-list details[open] summary,
.article-content summary,
.article-content details[open] summary,
.itinerary-list summary,
.itinerary-list details[open] summary {
  padding: 1.05rem 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  font-family: var(--font-display) !important;
  font-size: 1.08rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

.faq-q {
  flex: 1 1 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Replace question/day number with the Jemo asterisk star */
.faq-num,
.itinerary-day-num {
  width: 1.05rem !important;
  height: 1.05rem !important;
  min-width: 1.05rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--jemo-pink) !important;
  font-size: 1rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.faq-num .faq-asterisk {
  width: 100% !important;
  height: 100% !important;
  display: block;
  color: var(--jemo-pink) !important;
  transition: transform 0.35s var(--ease);
}

details[open] .faq-num,
details[open] .itinerary-day-num {
  background: transparent !important;
  color: var(--jemo-pink) !important;
}

details[open] .faq-num .faq-asterisk {
  transform: rotate(45deg);
}

/* Simple Dropdown Chevron Arrow Instead of Plus/Cross */
.faq-icon {
  width: 1.5rem !important;
  height: 1.5rem !important;
  min-width: 1.5rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease) !important;
}

.faq-icon::before {
  content: '' !important;
  position: absolute !important;
  top: 44% !important;
  left: 50% !important;
  width: 8px !important;
  height: 8px !important;
  background: transparent !important;
  border-right: 1.75px solid var(--ink) !important;
  border-bottom: 1.75px solid var(--ink) !important;
  transform: translate(-50%, -50%) rotate(45deg) !important;
  transition: border-color 0.25s var(--ease) !important;
}

.faq-icon::after {
  display: none !important;
  content: none !important;
}

details[open] .faq-icon {
  background: transparent !important;
  transform: rotate(180deg) !important;
}

details[open] .faq-icon::before {
  background: transparent !important;
  border-color: var(--jemo-pink) !important;
}

.faq-a,
.itinerary-day-content,
.article-content details > *:not(summary) {
  padding: 0 0 1.25rem 2.05rem !important;
  margin: 0 !important;
  font-size: var(--type-body) !important;
  color: var(--muted) !important;
}

/* 10b. Single Viaggi & Merende — Spacious Layout + Focus del Viaggio with Jemo Asterisk Stars */
.single-trip-container {
  padding-top: var(--space-section) !important;
  padding-bottom: var(--space-section) !important;
}

.article-header-grid {
  gap: var(--space-block) !important;
}

.article-content-section {
  gap: var(--space-block) !important;
}

.article-title-section,
.trip-ratings-section,
.inclusion-box,
.jemo-luogo-map,
.sidebar-card {
  background: #FFFFFF !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.trip-ratings-section,
.trip-gallery,
.trip-itinerary,
.trip-inclusion-section,
.jemo-luogo-map {
  padding-block: 0 !important;
}

.sidebar-box {
  padding: 1.25rem 0 0 !important;
}

.sidebar-stat {
  background: var(--bg-paper-deep) !important;
  border-radius: var(--r-sm) !important;
}

.sidebar-divider {
  display: none !important;
}

.trip-section-head {
  margin-bottom: var(--space-head-body) !important;
}

/* Focus del Viaggio — Jemo Asterisk Stars (Pink filled vs Light unfilled) + Generous Spacing */
.trip-ratings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.75rem 4rem !important;
}

.rating-item {
  display: flex;
  flex-direction: column;
  gap: 0.9rem !important;
}

.rating-item__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display) !important;
  font-size: 1.08rem !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
}

.rating-item__icon {
  display: none !important;
}

.rating-item__score {
  font-family: var(--font-display) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--muted) !important;
}

.rating-stars-container {
  display: flex;
  align-items: center;
  gap: 0.65rem !important;
}

.rating-stars-container .rating-star {
  width: 1.45rem !important;
  height: 1.45rem !important;
  color: #FFE4F3 !important;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}

.rating-stars-container .rating-star.is-filled {
  color: var(--jemo-pink) !important;
}

/* 11. Footer Without Top Pink Line + Breathing Space Before Footer on All Pages */
main,
#main-content,
.single-trip-container,
.jemo-profile-page {
  margin-bottom: clamp(4.5rem, 8vw, 7rem) !important;
}

.site-footer {
  border-top: none !important;
  margin-top: clamp(4.5rem, 8vw, 7rem) !important;
}

.footer-bottom {
  border-top: none !important;
}

/* 12. Inner Page Headers & Contact Page (Centered Single Form, No Left Info Column) */
.page-hero {
  padding-top: clamp(3rem, 5vw, 4.5rem) !important;
  padding-bottom: clamp(1.5rem, 2.5vw, 2.5rem) !important;
  background: #FFFFFF !important;
}

.page-hero:not(.page-hero--profile) .page-hero__frame {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  box-shadow: none !important;
  color: var(--ink) !important;
}

.page-hero:not(.page-hero--profile) .page-hero__title {
  color: var(--ink) !important;
  font-size: var(--type-h1) !important;
  line-height: 1.05 !important;
  margin-bottom: 0.85rem !important;
}

.page-hero:not(.page-hero--profile) .page-hero__title em {
  color: var(--jemo-pink) !important;
}

.page-hero:not(.page-hero--profile) .page-hero__sub {
  color: var(--muted) !important;
  font-size: var(--type-lead) !important;
  max-width: 42rem !important;
}

.contact-editorial-single {
  max-width: 42rem;
}

.contact-col-head {
  margin-bottom: 2rem;
  padding-bottom: 0;
  border: none !important;
}

.contact-col-head h3,
.profile-block__title,
.jemo-auth-title {
  font-family: var(--font-display) !important;
  font-size: var(--type-h3) !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.015em !important;
  color: var(--ink) !important;
  margin: 0 0 0.45rem !important;
}

.contact-col-head p,
.profile-block__sub,
.jemo-auth-sub {
  font-size: var(--type-body) !important;
  color: var(--muted) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.form-control,
.jemo-auth-field input,
.jemo-auth-field textarea,
.jemo-flow-group input,
.jemo-flow-group textarea {
  background: #FFFFFF !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: var(--r-sm) !important;
  padding: 0.85rem 1rem !important;
}

.form-control:focus,
.jemo-auth-field input:focus,
.jemo-auth-field textarea:focus {
  border-color: var(--ink) !important;
  box-shadow: none !important;
}

/* 13. Classic Profile Avatar Upload Modal Popup */
.jemo-avatar-modal__dialog {
  max-width: 28rem !important;
  text-align: center;
  border-radius: var(--r-md) !important;
  border: 1px solid var(--line) !important;
}

.jemo-avatar-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.65rem 1.25rem;
  margin: 0.5rem 0 1.15rem;
  border-radius: var(--r-sm);
  border: 1.5px dashed var(--line-strong);
  background: var(--bg-paper-deep);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.jemo-avatar-dropzone.is-dragover {
  border-color: var(--jemo-pink);
  background: var(--jemo-pink-soft);
}

.profile-avatar--lg {
  width: 5.75rem !important;
  height: 5.75rem !important;
  font-size: 1.9rem !important;
  cursor: default !important;
}

.jemo-avatar-dropzone__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.jemo-avatar-selected-name {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  word-break: break-all;
}

.jemo-avatar-specs {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.75rem;
  width: 100%;
  font-size: 0.78rem;
  color: var(--muted);
}

.jemo-avatar-specs i {
  color: var(--jemo-pink);
  margin-right: 0.25rem;
}

.jemo-avatar-modal__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.jemo-avatar-modal__actions .btn {
  flex: 1;
}

/* 14. Responsive Mobile Layout */
@media (max-width: 60rem) {
  .manifesto-split,
  .team-editorial,
  .merende-feature,
  .contact-editorial-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .editorial-steps {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 58rem) {
  /* Sticky White Header on Mobile & Tablet */
  .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9995 !important;
    background: #FFFFFF !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body.admin-bar .site-header {
    top: 46px !important;
  }
}

@media (max-width: 48rem) {
  :root {
    --space-section: 3.5rem !important;
    --space-head-body: 1.75rem !important;
    --space-block: 2.75rem !important;
  }

  .section,
  .section--about,
  .section--values,
  .section--trips,
  .section--merende,
  .section--contact,
  .jemo-faq {
    padding-block: var(--space-section) !important;
  }

  .section-head,
  .section-head--center,
  .section-head--split,
  .trip-section-head {
    margin-bottom: var(--space-head-body) !important;
  }

  /* On mobile, place the Jemo star ABOVE the title block so the title uses 100% width and stays large */
  .title-asterisk {
    position: static !important;
    right: auto !important;
    top: auto !important;
    display: block !important;
    width: 1.85rem !important;
    height: 1.85rem !important;
    margin: 0 0 0.55rem 0 !important;
  }

  /* Large, bold mobile titles across all pages and sections */
  .hero-title {
    font-size: clamp(2.35rem, 9.5vw, 3.1rem) !important;
    line-height: 1.06 !important;
  }

  .page-hero:not(.page-hero--profile) .page-hero__title,
  .single-trip-title,
  .page-title {
    font-size: clamp(2.25rem, 9vw, 2.85rem) !important;
    line-height: 1.06 !important;
  }

  .section-title,
  .team__title,
  .trip-section-head h2,
  .trip-section-head h3,
  .faq-editorial-layout__head .section-title {
    font-size: clamp(1.95rem, 7.6vw, 2.35rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.025em !important;
    white-space: normal !important;
  }

  .hero-fullvideo__frame {
    min-height: calc(100svh - 3.75rem);
    padding: 3.5rem 0 2.5rem;
  }

  /* Uniform vertical spacing between blocks on mobile */
  .manifesto-split,
  .team-editorial,
  .merende-feature {
    gap: var(--space-block) !important;
  }

  .faq-editorial-layout {
    gap: var(--space-head-body) !important;
  }

  .faq-editorial-layout__head,
  .section-head.faq-editorial-layout__head {
    margin-bottom: 0 !important;
  }

  .faq-list {
    margin-top: 0 !important;
  }

  .trip-ratings-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }

  .article-content-section {
    gap: var(--space-block) !important;
  }

  .faq-list summary,
  .faq-list details[open] summary,
  .article-content summary,
  .article-content details[open] summary,
  .itinerary-list summary,
  .itinerary-list details[open] summary {
    padding: 1.15rem 0 !important;
    font-size: 1.04rem !important;
    line-height: 1.4 !important;
  }

  .faq-a,
  .itinerary-day-content,
  .article-content details > *:not(summary) {
    padding: 0 0 1.25rem 2.05rem !important;
    line-height: 1.65 !important;
  }

  /* Mobile Viaggi & Merende Cards: Identical Carousel Layout Across Home, Viaggi, and Merende Pages */
  .viaggi-grid,
  [data-mobile-carousel] {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-inline: 1rem !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 1.15rem !important;
    margin-inline: -1rem !important;
    padding-inline: 1rem !important;
    padding-bottom: 1rem !important;
    scrollbar-width: none !important;
  }

  .viaggi-grid::-webkit-scrollbar,
  [data-mobile-carousel]::-webkit-scrollbar {
    display: none !important;
  }

  .viaggi-grid > .viaggio-card,
  [data-mobile-carousel] > * {
    flex: 0 0 85% !important;
    max-width: 22rem !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
  }

  .viaggi-grid .viaggio-card-img-wrap,
  [data-mobile-carousel] .viaggio-card-img-wrap,
  .viaggio-card-img-wrap {
    aspect-ratio: 4 / 3 !important;
  }
}



