/*
Theme Name: Jemo v2
Theme URI: https://jemoviaggi.it
Author: Leonardo
Description: Nuovo tema WordPress personalizzato per Jemo — Struttura Jemo con design vivace, colorato e premium (Typekit Fonts, mesh gradients, map cards, marquee).
Version: 2.0
*/

/* =============================================
   DESIGN TOKENS & VARIABLES
   ============================================= */
:root {
  /* Jemo Theme Brand Colors */
  --jemo-blue: #2563eb;
  --jemo-blue-dark: #0041aa;

  --brand-lime: #90dc04;
  --brand-light-green: #e9f8cd;
  --brand-dark: #12230f;
  /* Page Background */
  --brand-card-bg: #1a2618;
  /* Card Background */
  --brand-cream: #fef3d5;
  --brand-light-pink: #fed8db;
  --brand-pink: #ff6abc;
  --brand-blue: #dde6fe;
  --brand-yellow: #fbc42b;
  --brand-royal: #5582f9;
  --brand-navy: #151d56;
  --white: #ffffff;
  --slate: #64748b;
  --text-dark: #1b222b;
  --text-muted: #4b5563;

  /* Typography */
  --font-sans: 'neulis-sans', 'Inter', -apple-system, sans-serif;
  --font-neue: 'neulis-neue', 'Inter', -apple-system, sans-serif;
  --font-cursive: 'neulis-cursive', 'Quicksand', cursive, sans-serif;

  /* Border Radii */
  --r-sm: 0.5rem;
  --r-md: 1rem;
  --r-lg: 1.5rem;
  --r-xl: 2.5rem;

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-natural: 6px 6px 9px rgba(0, 0, 0, 0.2);
  --shadow-deep: 12px 12px 50px rgba(0, 0, 0, 0.4);

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.3s;
  --max-w: 80rem;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--white);
  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 {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a:hover {
  color: var(--brand-navy);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-cursive);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--brand-dark);
}

/* Custom Cursive/Script Styles */
.neulis-corsivo {
  font-family: var(--font-cursive) !important;
}

/* =============================================
   UTILITIES
   ============================================= */
.container {
  max-width: var(--max-w);
  width: 100%;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-pink);
  background: var(--brand-light-pink);
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--brand-dark);
  margin-bottom: 1.5rem;
}

.section-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 42rem;
  line-height: 1.6;
}

/* =============================================
   PREMIUM BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background-color: var(--brand-dark);
  color: var(--white);
  font-family: var(--font-neue);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 9999px;
  border: 1px solid var(--brand-dark);
  cursor: pointer;
  box-shadow: var(--shadow-natural);
  transition: all var(--dur) var(--ease);
}

.btn:hover {
  background-color: var(--white);
  color: var(--brand-dark);
  border-color: var(--brand-dark);
  box-shadow: var(--shadow-deep);
  transform: translateY(-3px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: none;
}

.btn--outline:hover {
  background: var(--white);
  color: var(--brand-dark);
  border-color: var(--white);
}

/* =============================================
   PROMO BANNER
   ============================================= */
.top-promo-banner {
  background-color: var(--brand-pink);
  height: 42px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 2px solid var(--brand-yellow);
}

.top-promo-banner a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-family: var(--font-neue);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0 1.5rem;
}

.top-promo-banner a:hover {
  text-decoration: underline;
}

.top-promo-banner .banner-mobile {
  display: none;
}

@media (max-width: 48rem) {
  .top-promo-banner {
    display: none !important;
  }
  body.home .site-header {
    top: 0 !important;
  }
}

/* =============================================
   HEADER (Site Navigation)
   ============================================= */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 9999;
  padding: 1.5rem 0;
  background: var(--white);
  border-bottom: 2px solid #cbd5e1;
  transition: all var(--dur) var(--ease);
}

body.home .site-header {
  position: absolute;
  top: 42px;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

body.single-viaggio .site-header {
  position: absolute;
  top: 0;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

body.home .site-header .site-logo img,
body.single-viaggio .site-header .site-logo img {
  filter: brightness(0) invert(1) !important;
}

body.home .site-header .main-navigation a,
body.single-viaggio .site-header .main-navigation a {
  color: var(--white);
}

body.home .site-header .menu-toggle span,
body.single-viaggio .site-header .menu-toggle span {
  background: var(--white);
}

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

.site-logo img {
  height: 2.5rem;
  width: auto;
  transition: transform var(--dur) var(--ease);
}

body:not(.single-viaggio):not(.home) .site-logo img {
  /* Apply dark green color to Logo on light backgrounds */
  filter: brightness(0) saturate(100%) invert(9%) sepia(21%) saturate(2203%) hue-rotate(68deg) brightness(97%) contrast(92%) !important;
}

.main-navigation ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.main-navigation a {
  font-family: var(--font-neue);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-dark);
  position: relative;
  padding-bottom: 0.25rem;
  transition: color var(--dur) var(--ease);
}


body.home .main-navigation a:hover,
body.single-viaggio .main-navigation a:hover {
  color: var(--white) !important;
}

/* Mobile Toggles */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 1.5rem;
  height: 0.2rem;
  background: var(--brand-dark);
  border-radius: 99rem;
  transition: all var(--dur) var(--ease);
}

/* Responsive menu styles */
@media (max-width: 48rem) {
  .menu-toggle {
    display: flex;
  }

  .main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh;
    background: var(--brand-cream);
    box-shadow: var(--shadow-lg);
    padding: 6rem 2rem 2rem;
    transition: right var(--dur) var(--ease), visibility var(--dur) var(--ease);
    display: flex;
    flex-direction: column;
    z-index: 9998;
    visibility: hidden;
  }

  .main-navigation.toggled {
    right: 0;
    visibility: visible;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 2rem;
  }

  .main-navigation a {
    color: var(--brand-dark) !important;
    font-size: 1.25rem;
  }

  .menu-close-btn {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: var(--brand-dark);
    cursor: pointer;
    line-height: 1;
    z-index: 10000;
  }

  .mobile-social-links {
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
    font-size: 1.75rem;
  }

  .mobile-social-links a {
    color: var(--brand-dark) !important;
  }
}

/* =============================================
   MESH GRADIENT HERO SECTION
   ============================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-compact {
  min-height: 50vh !important;
}

.mesh-gradient {
  background-color: #F3552F;
  background-image:
    radial-gradient(ellipse 70% 80% at 8% 18%, #FEB3D1 0%, transparent 55%),
    radial-gradient(ellipse 85% 70% at 45% -5%, #FFD132 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 50% 105%, #FBB894 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 100% 100%, rgba(15, 40, 15, 0.5) 0%, transparent 60%);
  border-radius: 0 0 2rem 2rem;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 35, 15, 0.4) 0%, rgba(18, 35, 15, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: var(--font-cursive);
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  max-width: 48rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 48rem) {
  .hero-section {
    padding-top: 13rem !important;
  }
  .hero-title {
    font-size: 2.8rem !important;
    text-align: center !important;
    margin-bottom: 3.5rem !important;
  }
  .hero-subtitle {
    display: none !important;
  }
}

/* Blobs for mesh sections */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  z-index: 1;
  pointer-events: none;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--brand-light-pink);
  top: -10%;
  left: -10%;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: var(--brand-yellow);
  bottom: -10%;
  right: -10%;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: var(--brand-lime);
  top: 30%;
  right: 10%;
}

/* =============================================
   MARQUEE COMPONENT
   ============================================= */
.marquee-container-outer {
  width: 100vw;
  max-width: 110%;
  overflow: hidden;
  position: relative;
  z-index: 30;
  padding-block: 20px;
  margin-block: -40px;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.marquee-wrapper {
  padding-block: 15px;
  background-color: var(--jemo-blue);
  border-top: 5px solid var(--jemo-blue-dark);
  border-bottom: 5px solid var(--jemo-blue-dark);
  transform: rotate(-1.5deg) scale(1.03);
  width: 110%;
  margin-left: -5%;
  display: flex;
  align-items: center;
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.marquee-content {
  display: inline-block;
  animation: marquee 45s linear infinite;
  line-height: 1.3;
  padding-bottom: 4px;
  color: var(--brand-cream);
  font-family: var(--font-cursive);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* =============================================
   MAP CARDS GRID (Viaggi)
   ============================================= */
.viaggi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: 2.5rem;
}

.viaggio-card {
  background: var(--brand-card-bg);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 7px solid var(--white);
  box-shadow: var(--shadow-natural);
  aspect-ratio: 10 / 13;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

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

.viaggio-card-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

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

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

.viaggio-card-content {
  position: absolute;
  inset: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}

.viaggio-card-content::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(27, 38, 24, 0.2) 0%, rgba(27, 38, 24, 0.95) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 33.33%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,1) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 33.33%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,1) 100%);
  transition: backdrop-filter 0.4s ease, background 0.4s ease;
}

.viaggio-card:hover .viaggio-card-content::before {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  background: linear-gradient(180deg, rgba(27, 38, 24, 0.1) 0%, rgba(27, 38, 24, 0.85) 100%);
}

.viaggio-card-date {
  color: var(--brand-lime) !important;
  font-family: var(--font-neue);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.viaggio-card-title a {
  color: var(--white) !important;
  font-family: var(--font-cursive);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
}

.viaggio-card-excerpt {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.4;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

.viaggio-card-footer {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.viaggio-card-footer span {
  color: var(--brand-blue);
  font-family: var(--font-neue);
  font-weight: 700;
  font-size: 0.85rem;
}

.viaggio-card-footer a {
  color: var(--brand-lime);
  font-family: var(--font-neue);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
}

/* =============================================
   CHI SIAMO & TEAM CARDS
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 48rem) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.team-card-horizontal {
  display: flex;
  gap: 1.5rem;
  background: var(--brand-cream);
  border: 4px solid var(--brand-yellow);
  padding: 2rem;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  max-width: 32rem;
  width: 100%;
}

.team-card-horizontal:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-card-horizontal img {
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

/* Value Props Grid */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

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

.value-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--r-lg);
  border: 4px solid var(--brand-blue);
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) var(--ease);
}


.value-card h3 {
  font-size: 1.5rem;
  color: var(--brand-dark);
  margin-bottom: 1rem;
}

/* =============================================
   ACCORDION SYSTEM (FAQs & Itinerary)
   ============================================= */
.article-content details,
.itinerary-list details {
  background: var(--white);
  border: 4px solid #cbd5e1;
  border-radius: var(--r-md);
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: all var(--dur) var(--ease);
}

.article-content details[open],
.itinerary-list details[open] {
  border-color: var(--brand-royal);
  box-shadow: var(--shadow-md);
}

.article-content summary,
.itinerary-list summary {
  padding: 1.5rem;
  font-family: var(--font-cursive);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
}

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

.article-content summary::after,
.itinerary-list summary::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 1.5rem;
  color: var(--brand-royal);
  transition: transform var(--dur) var(--ease);
}

.article-content details[open] summary::after,
.itinerary-list details[open] summary::after {
  transform: rotate(45deg);
}

.article-content details p,
.itinerary-list .itinerary-day-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* =============================================
   SINGLE VOYAGE DETAILS
   ============================================= */
.article-body {
  background-color: var(--brand-cream);
  border-radius: 2rem 2rem 0 0;
  margin-top: -2rem;
  position: relative;
  z-index: 10;
}

.article-header-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3.5rem;
}

@media (max-width: 48rem) {
  .article-header-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.sidebar-box {
  background: var(--white);
  border: 4px solid var(--brand-navy);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

.trip-info-bar {
  display: flex;
  gap: 1rem;
}

.trip-info-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: var(--brand-blue);
  color: var(--brand-navy);
  font-family: var(--font-neue);
  font-weight: 700;
  font-size: 0.95rem;
}

.trip-info-chip--lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
}

/* Ratings focus block */
.trip-ratings-section {
  border: 4px solid var(--brand-navy) !important;
}

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

.rating-bar-container {
  display: flex;
  gap: 0.35rem;
  height: 0.7rem;
}

.rating-bar-container div {
  flex: 1;
  border-radius: 99rem;
}

/* Inclusions boxes */
.trip-inclusion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 48rem) {
  .trip-inclusion-grid {
    grid-template-columns: 1fr;
  }
}

.inclusion-box {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  border: 4px solid #cbd5e1;
}

.inclusion-box--included {
  border-color: var(--brand-lime);
}

.inclusion-box--excluded {
  border-color: var(--brand-light-pink);
}

.inclusion-box h3 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.inclusion-box--included h3 {
  color: var(--brand-dark);
}

.inclusion-box--excluded h3 {
  color: var(--brand-pink);
}

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

.inclusion-box li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

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

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

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

/* Photo Gallery Grid */
.trip-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.trip-gallery-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 5px solid var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease);
}

.trip-gallery-item img:hover {
  transform: scale(1.05) rotate(1deg);
}

/* =============================================
   CONTACT PAGE & INPUTS
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

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

.contact-detail-card {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  background: var(--brand-blue);
  padding: 1.5rem;
  border-radius: var(--r-md);
  border: 3px solid var(--brand-royal);
}

.contact-detail-card i {
  color: var(--brand-navy) !important;
  font-size: 1.5rem;
}

.contact-form-wrap {
  border: 4px solid var(--brand-dark) !important;
  background: var(--brand-cream) !important;
  border-radius: var(--r-xl) !important;
}

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

.form-group label {
  font-family: var(--font-neue);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-dark);
}

.form-control {
  font-family: var(--font-sans);
  padding: 1rem 1.25rem;
  border-radius: 9999px;
  border: 3px solid var(--brand-dark);
  background: var(--white);
  font-size: 1.05rem;
  outline: none;
  transition: border-color var(--dur) var(--ease);
}

textarea.form-control {
  border-radius: var(--r-md);
}

.form-control:focus {
  border-color: var(--brand-royal);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background-color: var(--brand-navy);
  color: var(--white);
  padding: 5rem 0 2rem 0;
  margin-top: auto;
  border-top: 5px solid var(--brand-yellow);
}

.footer-inner {
  max-width: var(--max-w);
  width: 100%;
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

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

.footer-logo img {
  height: 3rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-col-title {
  font-family: var(--font-neue);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-lime);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none !important;
  padding: 0 !important;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.footer-nav a:hover {
  color: var(--brand-lime);
}

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

.social-icon-only {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.25rem;
  transition: all var(--dur) var(--ease);
}

.social-icon-only:hover {
  background: var(--brand-lime);
  color: var(--brand-navy);
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
}

/* =============================================
   COOKIE CONSENT BANNER
   ============================================= */
.jemo-cookie-banner {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 48rem;
  background: var(--brand-cream);
  border: 4px solid var(--brand-navy);
  border-radius: var(--r-lg);
  padding: 1.5rem 2rem;
  z-index: 99999;
  box-shadow: var(--shadow-lg);
  transition: bottom 0.5s var(--ease), opacity 0.5s var(--ease), visibility 0.5s var(--ease);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.jemo-cookie-banner.is-visible {
  bottom: 2rem;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cookie-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 48rem) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
}

.cookie-banner-text p {
  font-size: 0.95rem;
  color: var(--text-dark);
}

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

.cookie-banner-buttons {
  display: flex;
  gap: 1rem;
}

.btn-cookie-accept {
  background-color: var(--brand-lime);
  color: var(--brand-dark);
  border: 2px solid var(--brand-dark);
  font-size: 0.95rem;
  padding: 0.6rem 1.2rem;
}

.btn-cookie-reject {
  background-color: var(--brand-light-pink);
  color: var(--brand-dark);
  border: 2px solid var(--brand-dark);
  font-size: 0.95rem;
  padding: 0.6rem 1.2rem;
}

/* =============================================
   MULTI-STEP BOOKING MODAL
   ============================================= */
.jemo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 35, 15, 0.9);
  z-index: 100000;
  display: none;
  opacity: 0;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s var(--ease);
  overflow-y: auto;
}

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

.jemo-modal-fullscreen {
  background: var(--brand-cream);
  padding: 4rem 2rem;
  align-items: flex-start;
}

.jemo-modal-close-fs {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 3rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--brand-dark);
  line-height: 0.5;
  transition: transform var(--dur) var(--ease);
}

.jemo-modal-close-fs:hover {
  transform: scale(1.1) rotate(90deg);
}

.jemo-booking-flow-container {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Steps Progress Tracker */
.jemo-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
}

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

.jemo-step-indicator-item .step-num {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid #cbd5e1;
  color: var(--slate);
  display: grid;
  place-items: center;
  font-family: var(--font-neue);
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.4s var(--ease);
}

.jemo-step-indicator-item .step-label {
  font-family: var(--font-neue);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--slate);
  text-transform: uppercase;
}

.jemo-step-indicator-item.active .step-num {
  border-color: var(--brand-navy);
  background: var(--brand-lime);
  color: var(--brand-navy);
  box-shadow: var(--shadow-sm);
}

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

.jemo-step-indicator-item.completed .step-num {
  border-color: var(--brand-navy);
  background: var(--brand-navy);
  color: var(--white);
}

.jemo-step-line {
  flex-grow: 1;
  height: 4px;
  background: #cbd5e1;
  margin-inline: -1rem;
  margin-top: -1.75rem;
  z-index: 1;
  transition: background 0.4s var(--ease);
}

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

.jemo-flow-title {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  text-align: center;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

.jemo-flow-subtitle {
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

/* Step content visibility */
.jemo-flow-step {
  display: none;
  animation: stepFade 0.4s var(--ease);
}

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

@keyframes stepFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.jemo-flow-fields {
  background: var(--white);
  border: 4px solid var(--brand-navy);
  border-radius: var(--r-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.jemo-flow-group label {
  font-family: var(--font-neue);
  font-weight: 700;
  color: var(--brand-navy);
}

.jemo-flow-group input,
.jemo-flow-group textarea {
  font-family: var(--font-sans);
  padding: 1rem 1.25rem;
  border-radius: 9999px;
  border: 3px solid var(--brand-navy);
  font-size: 1.1rem;
  outline: none;
}

.jemo-flow-group textarea {
  border-radius: var(--r-md);
}

.jemo-flow-group input:focus,
.jemo-flow-group textarea:focus {
  border-color: var(--brand-royal);
}

.jemo-flow-help {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 0.25rem;
}

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

.jemo-booking-response {
  text-align: center;
  font-weight: 700;
  font-family: var(--font-neue);
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

.jemo-booking-response.success {
  color: var(--brand-pink);
}

.jemo-booking-response.error {
  color: var(--brand-pink);
}

/* =============================================
   LIGHTBOX SYSTEM
   ============================================= */
.jemo-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

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

.jemo-lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid var(--white);
  color: var(--white);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.15s ease;
  z-index: 100001;
}

.jemo-lightbox-close:hover {
  background: var(--brand-pink);
  border-color: var(--brand-pink);
  color: var(--brand-dark);
  transform: scale(1.05) rotate(90deg);
}

.jemo-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid var(--white);
  color: var(--white);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.15s ease;
  z-index: 100001;
}

.jemo-lightbox-arrow.prev {
  left: 2rem;
}

.jemo-lightbox-arrow.next {
  right: 2rem;
}

.jemo-lightbox-arrow:hover {
  background: var(--brand-pink);
  border-color: var(--brand-pink);
  color: var(--brand-dark);
  transform: translateY(-50%) scale(1.05);
}

.jemo-lightbox-img-wrap {
  max-width: 80vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 100000;
}

.jemo-lightbox-img-wrap img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 6px solid var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: none;
}

.jemo-lightbox-img-wrap img:hover {
  transform: none;
}

@media (max-width: 48rem) {
  .jemo-lightbox-arrow {
    width: 3rem;
    height: 3rem;
    font-size: 1rem;
  }
  .jemo-lightbox-arrow.prev {
    left: 1rem;
  }
  .jemo-lightbox-arrow.next {
    right: 1rem;
  }
  .jemo-lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
  }
}

/* =============================================
   NEWSLETTER POPUP SYSTEM
   ============================================= */
.jemo-newsletter-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.jemo-newsletter-popup-content {
  background: var(--brand-cream);
  border: 4px solid var(--brand-pink);
  border-radius: var(--r-lg);
  padding: 3rem 2.5rem;
  max-width: 28rem;
  width: 90%;
  text-align: center;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-deep);
}

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

.jemo-newsletter-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--brand-dark);
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease;
}

.jemo-newsletter-popup-close:hover {
  transform: scale(1.1) rotate(9deg);
  color: var(--brand-pink);
}

.jemo-newsletter-popup-icon {
  font-size: 3rem;
  color: var(--brand-pink);
  margin-bottom: 1.5rem;
}

.jemo-newsletter-popup-content h3 {
  font-family: var(--font-cursive);
  font-size: 2rem;
  color: var(--brand-dark);
  margin-bottom: 1rem;
}

.jemo-newsletter-popup-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.btn-newsletter-popup-ok {
  background: var(--brand-pink) !important;
  border-color: var(--brand-pink) !important;
  color: var(--white) !important;
  width: 100%;
}

.btn-newsletter-popup-ok:hover {
  background: var(--white) !important;
  color: var(--brand-pink) !important;
  border-color: var(--brand-pink) !important;
}

/* =============================================
   MOBILE VISIBILITY & DESIGN ADJUSTMENTS
   ============================================= */
.jemo-show-on-mobile {
  display: none !important;
}

@media (max-width: 48rem) {
  .jemo-show-on-mobile {
    display: block !important;
  }
  .jemo-hide-on-mobile {
    display: none !important;
  }
  .jemo-flow-fields {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
  .jemo-flow-group input,
  .jemo-flow-group textarea {
    width: 100% !important;
  }
  article.single-page {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
  article.single-page .page-header {
    text-align: left !important;
    padding-bottom: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  article.single-page .page-title {
    text-align: left !important;
  }
}