/* ============================================================
   MOONLIGHT – BOAT EXCURSIONS · San Vito Lo Capo
   Main Stylesheet
   Palette:
     --blue-electric : #0057FF  (mare / accent principale)
     --blue-deep     : #001F6B  (navbar / footer scuri)
     --blue-light    : #E8F1FF  (sfondo sezioni chiare)
     --white         : #FFFFFF
     --sand          : #F5EFE0  (beige/sabbia – sezioni neutre)
     --sand-dark     : #D4C4A0  (bordi / hover sand)
     --gold          : #C9A84C  (accenti premium)
     --text-dark     : #0D1B2A
     --text-muted    : #5A6A7A
============================================================ */

/* ─── CSS CUSTOM PROPERTIES ──────────────────────────────── */
:root {
  --blue-electric: #0057FF;
  --blue-hover:    #0040CC;
  --blue-deep:     #001640;
  --blue-mid:      #003080;
  --blue-light:    #EBF2FF;
  --white:         #FFFFFF;
  --sand:          #F5EFE0;
  --sand-dark:     #D4C4A0;
  --gold:          #C9A84C;
  --gold-light:    #F0D890;
  --green-wa:      #25D366;
  --green-wa-dark: #128C7E;
  --text-dark:     #0D1B2A;
  --text-mid:      #2A3F5A;
  --text-muted:    #5A6A7A;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  --shadow-sm:  0 2px 10px rgba(0, 87, 255, 0.08);
  --shadow-md:  0 8px 32px rgba(0, 87, 255, 0.14);
  --shadow-lg:  0 20px 60px rgba(0, 22, 64, 0.25);
  --shadow-glow:0 0 30px rgba(0, 87, 255, 0.30);

  --transition-fast:   150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow:   600ms ease;

  --nav-h: 72px;
  --max-w: 1160px;
  --section-py: 90px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── UTILITY ────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.hidden { display: none !important; }

.section {
  padding-block: var(--section-py);
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-whatsapp {
  background: var(--green-wa);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.40);
}
.btn-whatsapp:hover, .btn-whatsapp:focus-visible {
  background: var(--green-wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-charter {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--blue-deep);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.40);
}
.btn-charter:hover, .btn-charter:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.60);
}

.btn-lg {
  font-size: 1.1rem;
  padding: 18px 40px;
}

/* Pulse animation per CTA principale */
.pulse-btn {
  animation: pulse-glow 2.5s infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.40); }
  50%       { box-shadow: 0 4px 40px rgba(37, 211, 102, 0.75); }
}

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

/* Navbar trasparente in cima, opaca allo scroll */
.navbar.scrolled {
  background: rgba(0, 22, 64, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.nav-container {
  max-width: var(--max-w);
  height: 100%;
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
}

.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0,87,255,0.5);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}
.nav-link:hover, .nav-link:focus-visible {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

/* Language switcher simple */
.lang-switcher-simple {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}
.lang-btn-simple {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition-fast);
}
.lang-btn-simple:hover { color: var(--white); }
.lang-btn-simple.active { color: var(--white); }
.lang-divider-simple { color: rgba(255, 255, 255, 0.4); font-size: 0.9rem; }

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.ham-line {
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}
.hamburger.open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ─── HERO SECTION ───────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Background image */
.hero-bg {
  position: absolute;
  inset: 0;
  /* Background image – attivato quando si inserisce la foto reale */
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transform: scale(1.05);
  animation: hero-zoom 20s ease-in-out infinite alternate;
}

/* Video di sfondo hero */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  /* Leggero zoom statico per riempire eventuali bordi */
  transform: scale(1.03);
}

/* Placeholder per l'hero quando non c'è ancora la foto reale */
.hero-bg-placeholder {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(0, 87, 255, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(201, 168, 76, 0.18) 0%, transparent 50%),
    linear-gradient(160deg, #001640 0%, #003080 40%, #0057AA 75%, #006699 100%);
}

@keyframes hero-zoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0, 22, 64, 0.72) 0%,
    rgba(0, 48, 128, 0.50) 45%,
    rgba(0, 87, 255, 0.20) 100%
  );
}

/* Onde decorative in fondo */
.hero-waves {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  z-index: 1;
}
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background-repeat: repeat-x;
}
.wave-1 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23FFFFFF' fill-opacity='0.08' d='M0,60 C360,120 720,0 1080,60 C1260,90 1380,50 1440,60 L1440,120 L0,120Z'/%3E%3C/svg%3E");
  background-size: 1440px 120px;
  animation: wave-move 8s linear infinite;
}
.wave-2 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23FFFFFF' fill-opacity='0.05' d='M0,80 C480,20 960,100 1440,40 L1440,120 L0,120Z'/%3E%3C/svg%3E");
  background-size: 1440px 120px;
  animation: wave-move 12s linear infinite reverse;
}
@keyframes wave-move {
  from { background-position-x: 0; }
  to   { background-position-x: 1440px; }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 40px 24px;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero-badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 22px;
  border-radius: var(--radius-xl);
  animation: fade-down 0.8s ease both;
}

.hero-moonlight-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: -10px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
  letter-spacing: 0.05em;
  animation: fade-down 0.8s ease both;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 24px rgba(0,0,0,0.40);
  animation: fade-up 0.9s ease 0.15s both;
}
.title-line { display: block; }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.75;
  opacity: 0.92;
  text-shadow: 0 2px 12px rgba(0,0,0,0.30);
  animation: fade-up 0.9s ease 0.30s both;
  text-wrap: pretty;
  text-wrap: balance;
  max-width: 520px;
}
.hero-subtitle strong { font-weight: 600; color: var(--gold-light); }

.hero-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: fit-content;
  margin-inline: auto;
  animation: fade-up 0.9s ease 0.45s both;
}

/* Bottone hero: sempre centrato, colonna singola */
.hero-cta-group {
  display: flex;
  justify-content: center;
  animation: fade-up 0.9s ease 0.60s both;
}

.time-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 8px;
  background: rgba(0, 87, 255, 0.25);
  border: 1px solid rgba(0, 87, 255, 0.50);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius-xl);
}
.time-pill i { color: var(--gold-light); font-size: 0.85rem; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255,255,255,0.40);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
  animation: scroll-bounce 1.8s ease infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  70%       { transform: translateY(18px); opacity: 0.2; }
}

/* ─── SCHEDULE STRIP ─────────────────────────────────────── */
.schedule-strip {
  background: var(--blue-deep);
  padding-block: 28px;
}
.strip-container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  flex: 1;
  min-width: 200px;
  padding: 12px 24px;
}
.strip-item i {
  font-size: 1.6rem;
  color: var(--blue-electric);
  flex-shrink: 0;
}
.strip-item strong {
  font-size: 0.92rem;
  font-weight: 600;
  display: block;
}
.strip-item p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.60);
  margin-top: 2px;
}
.strip-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ─── SECTION HEADERS (reusable) ─────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-electric);
  background: var(--blue-light);
  padding: 6px 18px;
  border-radius: var(--radius-xl);
  margin-bottom: 16px;
}
.section-header.light .section-tag {
  color: var(--gold-light);
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.25);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.section-header.light .section-title { color: var(--white); }
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-inline: auto;
}
.section-header.light .section-subtitle { color: rgba(255,255,255,0.65); }

/* ─── ITINERARY SECTION ──────────────────────────────────── */
.itinerary-section {
  background: var(--white);
}

.itinerary-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 56px;
  box-shadow: var(--shadow-lg);
}
.itinerary-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 0.8s ease;
}
.itinerary-img-wrapper:hover .itinerary-hero-img { transform: scale(1.03); }

.itinerary-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 22, 64, 0.80);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 8px 18px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.20);
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 720px;
  margin-inline: auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 31px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-electric), var(--sand-dark));
}

.timeline-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding-bottom: 36px;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue-light);
  border: 3px solid var(--blue-electric);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-electric);
  font-size: 1.2rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all var(--transition-normal);
}
.timeline-item:hover .timeline-icon {
  background: var(--blue-electric);
  color: var(--white);
  box-shadow: var(--shadow-glow);
  transform: scale(1.08);
}
.timeline-icon.accent {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color: var(--gold);
  color: var(--blue-deep);
}

.timeline-content {
  padding-top: 10px;
}
.timeline-stop {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-electric);
  margin-bottom: 6px;
}
.highlight-stop .timeline-stop { color: var(--gold); }
.timeline-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.timeline-content p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── SERVICES SECTION ───────────────────────────────────── */
.services-section {
  background: linear-gradient(145deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  position: relative;
  overflow: hidden;
}
.services-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,87,255,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.services-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.service-card:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--blue-electric), #3388FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0,87,255,0.40);
}

/* Icona SVG maschera snorkeling: stessa dimensione delle icone FA */
.snorkel-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  flex-shrink: 0;
}

.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-list li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
  padding-left: 0;
}

.service-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: auto;
}
.service-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-img { transform: scale(1.05); }

/* ─── PRICES SECTION ─────────────────────────────────────── */
.prices-section {
  background: var(--sand);
}

.prices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 860px;
  margin-inline: auto;
}

.price-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.price-card-header {
  padding: 32px 32px 24px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  color: var(--white);
  text-align: center;
}
.price-card.charter .price-card-header {
  background: linear-gradient(135deg, #1a0a00, #3a2000);
}
.price-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--gold-light);
}
.price-card-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.price-card-header p {
  font-size: 0.88rem;
  opacity: 0.75;
}

.price-card-body {
  padding: 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--sand);
}
.price-row:last-child { border-bottom: none; }

.price-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-mid);
  font-weight: 500;
}
.price-label i { color: var(--blue-electric); font-size: 1rem; }

.price-amount {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue-electric);
  letter-spacing: -0.01em;
}
.price-amount.free {
  color: var(--green-wa-dark);
  font-size: 1.1rem;
}
.charter-on-request {
  color: var(--gold);
  font-size: 1.1rem;
}

.charter-badge {
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.30);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.charter-price-row {
  border-bottom: none !important;
}

.charter-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.charter-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.price-card-footer {
  padding: 20px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-includes {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.65;
  text-align: center;
}

.price-card-footer .btn {
  width: 100%;
  justify-content: center;
}

/* Badge "featured" sul card gruppo */
.price-card.featured {
  border: 2px solid var(--blue-electric);
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--blue-deep);
}

/* CTA strip */
.footer-cta {
  background: linear-gradient(135deg, var(--blue-electric), #003FBB);
  padding-block: 60px;
  position: relative;
  overflow: hidden;
}
.footer-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-cta-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-cta-text p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.80);
  max-width: 480px;
  line-height: 1.6;
}

/* Footer bottom */
.footer-bottom {
  padding-block: 40px;
}
.footer-bottom-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  opacity: 0.9;
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  display: block;
}
.footer-brand-tagline {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.50);
  margin-top: 2px;
}

.footer-social {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  transition: all var(--transition-fast);
}
.social-icon:hover, .social-icon:focus-visible {
  background: var(--blue-electric);
  border-color: var(--blue-electric);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.social-icon.social-wa:hover {
  background: var(--green-wa);
  border-color: var(--green-wa);
  box-shadow: 0 6px 20px rgba(37,211,102,0.40);
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  text-align: right;
}

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-down {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Intersection Observer – elementi che entrano nella viewport */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }
.reveal-delay-4 { transition-delay: 0.46s; }
.reveal-delay-5 { transition-delay: 0.58s; }


/* ─── GALLERY SECTION ────────────────────────────────────── */
.gallery-section {
  background: var(--white);
  padding-block: var(--section-py);
}

/* Griglia pulita 2x2 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

/* Item di default */
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  background: var(--sand);
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.gallery-item:hover img {
  transform: scale(1.06);
}

/* Caption hover */
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,22,64,0.85) 0%, transparent 100%);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 32px 16px 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition-normal);
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Nota a fondo galleria */
.gallery-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  padding-top: 8px;
}


/* ─── RESPONSIVE – TABLET ────────────────────────────────── */
@media (max-width: 900px) {
  :root { --section-py: 64px; }

  .footer-bottom-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-copy { grid-column: 1 / -1; text-align: center; }
}

/* ─── RESPONSIVE – MOBILE ────────────────────────────────── */
@media (max-width: 640px) {
  :root { --section-py: 52px; --nav-h: 62px; }

  /* Navbar mobile */
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    /* Sfondo con gradiente premium */
    background: linear-gradient(180deg, rgba(0,10,35,0.99) 0%, rgba(0,20,60,0.97) 100%);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 16px 20px;
    border-bottom: 1px solid rgba(201,168,76,0.25);
    box-shadow: 0 12px 40px rgba(0,0,0,0.45);
    z-index: 999;
    /* nascosto di default */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
      opacity 0.20s ease,
      transform 0.20s ease,
      visibility 0.20s;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 14px 16px;
    width: 100%;
    text-align: left;
    border-radius: 0;
    color: rgba(255,255,255,0.80);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color 0.15s ease, background 0.15s ease, padding-left 0.15s ease;
  }
  .nav-link:hover, .nav-link:focus-visible {
    color: var(--gold-light);
    background: rgba(201,168,76,0.07);
    padding-left: 24px;
  }
  /* Icona freccia decorativa su ogni link */
  .nav-link::after {
    content: '›';
    float: right;
    opacity: 0.35;
    font-size: 1.1rem;
    line-height: 1;
    transition: opacity 0.15s ease, transform 0.15s ease;
  }
  .nav-link:hover::after { opacity: 0.8; transform: translateX(3px); }

  /* Linea dorata decorativa in cima al menu */
  .nav-links::before {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin-bottom: 6px;
    border-radius: 2px;
    opacity: 0.5;
  }

  .lang-switcher-simple {
    margin-left: 0;
    margin-top: 6px;
    padding: 14px 16px 4px;
    border-top: 1px solid rgba(255,255,255,0.07);
    justify-content: flex-start;
    gap: 12px;
  }
  .lang-btn-simple {
    font-size: 0.9rem;
    padding: 5px 14px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.15);
  }
  .lang-btn-simple.active {
    background: rgba(201,168,76,0.20);
    border-color: var(--gold);
    color: var(--gold-light);
  }

  /* Hero */
  .hero-content { gap: 18px; }
  .hero-title { letter-spacing: -0.02em; }
  .hero-subtitle { font-size: 1.1rem; }
  .hero-times {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }
  .hero-times .time-pill {
    justify-content: center;
    width: 100%;
  }
  .hero-cta-group {
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  /* Strip */
  .strip-container { flex-direction: column; gap: 0; }
  .strip-divider { width: 80%; height: 1px; }
  .strip-item { padding: 16px 24px; width: 100%; justify-content: center; text-align: center; }

  /* Itinerary image */
  .itinerary-hero-img { height: 240px; }

  /* Footer CTA */
  .footer-cta-inner { flex-direction: column; text-align: center; }
  .footer-cta-inner .btn { width: 100%; justify-content: center; }

  /* Footer bottom */
  .footer-bottom-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .footer-brand { flex-direction: column; text-align: center; }
  .footer-copy { text-align: center; }

  /* Prices */
  .prices-grid { grid-template-columns: 1fr; }
  .price-card:hover { transform: none; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gallery-caption { opacity: 1; transform: translateY(0); }
}

/* ─── FOCUS STYLES (accessibility) ──────────────────────── */
:focus-visible {
  outline: 3px solid var(--blue-electric);
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) { outline: none; }

/* ─── REDUCED MOTION (accessibility) ────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .wave-1, .wave-2 { animation: none; }
  .pulse-btn { animation: none; }
  .hero-bg-img { animation: none; }
}
