/*
Theme Name: Tour of Naples
Theme URI: https://www.tourofnaples.com
Author: Tour of Naples Team
Author URI: https://www.tourofnaples.com
Description: Tema WordPress a blocchi (Full Site Editing / Gutenberg) Luxury Boutique Hospitality per Tour of Naples – Prenotazioni dirette per Giganti 38 e Il Colonnello ed esperienze esclusive a Napoli.
Version: 2.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: tourofnaples
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ========================================
   LUXURY MEDITERRANEAN BOUTIQUE TOKENS
======================================== */
:root {
  --blu-mare:          #0F1E2E;
  --blu-cielo:         #1B3552;
  --blu-acqua:         #2A5C6A;
  --terracotta:        #C85A32;
  --terracotta-light:  #E0724A;
  --oro:               #C59B48;
  --oro-scuro:         #A37B2C;
  --crema:             #FAF7F2;
  --crema-scura:       #EFE9DF;
  --bianco:            #FFFFFF;
  --testo-scuro:       #141A21;
  --testo-medio:       #5A6470;
  --bordo-sottile:     rgba(15, 30, 46, 0.09);
  --ombra-soft:        0 14px 40px -8px rgba(15, 30, 46, 0.08);
  --ombra-forte:       0 28px 65px -12px rgba(15, 30, 46, 0.18);
  --radius-card:       24px;
  --radius-btn:        100px;
  --font-titoli:       'Cormorant Garamond', Georgia, serif;
  --font-corpo:        'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transizione:       0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-corpo);
  background: var(--crema);
  color: var(--testo-scuro);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * + * { margin-block-start: 0 !important; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

/* ========================================
   FLOATING BOUTIQUE NAVBAR
======================================== */
#navbar {
  position: fixed;
  top: 16px;
  left: 4%;
  right: 4%;
  max-width: 1380px;
  margin: 0 auto;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 70px;
  border-radius: 100px;
  background: rgba(15, 30, 46, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 36px rgba(15, 30, 46, 0.22);
  transition: all var(--transizione);
}
#navbar.scrolled {
  top: 10px;
  background: rgba(15, 30, 46, 0.96);
  box-shadow: 0 16px 44px rgba(15, 30, 46, 0.32);
}
.nav-logo {
  font-family: var(--font-titoli);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--bianco) !important;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo .emoji-logo {
  font-size: 1.3rem;
  background: rgba(197, 155, 72, 0.2);
  border: 1px solid rgba(197, 155, 72, 0.5);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-links {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color var(--transizione);
}
.nav-links a:hover { color: var(--oro); }
.nav-cta {
  background: var(--terracotta);
  color: var(--bianco) !important;
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 20px rgba(200, 90, 50, 0.35);
  transition: all var(--transizione) !important;
}
.nav-cta:hover {
  background: var(--terracotta-light) !important;
  transform: translateY(-2px);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bianco);
  transition: transform var(--transizione), opacity var(--transizione);
}

/* ========================================
   EDITORIAL BOUTIQUE HERO + QUICK SEARCH BAR
======================================== */
#hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 5% 90px;
  overflow: hidden;
  background: var(--blu-mare);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  transform: scale(1.04);
  transition: transform 10s ease-out;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(15, 30, 46, 0.35) 0%, rgba(15, 30, 46, 0.88) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #F4D58D;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: var(--radius-btn);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}
.hero-title {
  font-family: var(--font-titoli);
  font-size: clamp(3.1rem, 7vw, 5.6rem);
  font-weight: 600;
  color: var(--bianco);
  line-height: 1.04;
  margin: 0 0 1.4rem;
  letter-spacing: -0.01em;
}
.hero-title .accent {
  font-style: italic;
  color: #F4D58D;
  font-weight: 500;
}
.hero-subtitle {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.75;
  margin: 0 auto 2.4rem;
  max-width: 640px;
}
.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--terracotta);
  color: var(--bianco) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 34px;
  border-radius: var(--radius-btn);
  box-shadow: 0 10px 28px rgba(200, 90, 50, 0.4);
  transition: all var(--transizione);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--terracotta-light);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(200, 90, 50, 0.5);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--bianco) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 16px 34px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  transition: all var(--transizione);
}
.btn-secondary:hover {
  background: var(--bianco);
  color: var(--blu-mare) !important;
}

/* Barra di Prenotazione Diretta Rapida nella Hero */
.hero-direct-bar {
  position: relative;
  z-index: 3;
  background: var(--bianco);
  border-radius: 22px;
  padding: 14px 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.9fr auto;
  gap: 14px;
  align-items: center;
  max-width: 1060px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}
.direct-bar-field {
  padding: 6px 12px;
  border-right: 1px solid var(--bordo-sottile);
}
.direct-bar-field:last-of-type { border-right: none; }
.direct-bar-field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  margin-bottom: 4px;
}
.direct-bar-field select,
.direct-bar-field input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-corpo);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blu-mare);
  outline: none;
}
.direct-bar-btn {
  background: var(--blu-mare);
  color: var(--bianco) !important;
  border: none;
  padding: 16px 26px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transizione);
}
.direct-bar-btn:hover {
  background: var(--terracotta);
  transform: translateY(-2px);
}

/* ========================================
   SECTION HEADERS
======================================== */
.section-header {
  text-align: center;
  margin-bottom: 3.8rem;
}
.section-tag {
  display: inline-block;
  background: var(--crema-scura);
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: var(--radius-btn);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-titoli);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 600;
  color: var(--blu-mare);
  line-height: 1.12;
  margin: 0 0 1rem;
}
.section-desc {
  font-size: 1.02rem;
  color: var(--testo-medio);
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto;
}
.title-line {
  width: 48px;
  height: 3px;
  background: var(--terracotta);
  border-radius: 4px;
  margin: 1.2rem auto 0;
}

/* ========================================
   VETRINA CASE VACANZA (EDITORIAL LUXURY CARDS)
======================================== */
#case-vacanza {
  padding: 110px 5%;
  background: var(--crema);
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 2.8rem;
  max-width: 1340px;
  margin: 0 auto;
}
.casa-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bianco);
  border: 1px solid var(--bordo-sottile);
  box-shadow: var(--ombra-soft);
  transition: transform var(--transizione), box-shadow var(--transizione);
  display: flex;
  flex-direction: column;
}
.casa-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ombra-forte);
}
.casa-img-wrap {
  position: relative;
  overflow: hidden;
  height: 340px;
}
.casa-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.casa-card:hover .casa-img-wrap img { transform: scale(1.06); }

/* Mini strip di anteprima foto reali sulla card */
.casa-thumb-strip {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.casa-thumb-strip img {
  width: 58px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.2s;
}
.casa-thumb-strip img:hover { transform: scale(1.1); }

.casa-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: rgba(15, 30, 46, 0.9);
  backdrop-filter: blur(8px);
  color: #F4D58D;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-btn);
}
.casa-badge.premium {
  background: var(--terracotta);
  color: var(--bianco);
}
.casa-rating {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  background: var(--bianco);
  color: var(--blu-mare);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-btn);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.casa-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 30, 46, 0.65) 0%, transparent 50%);
}
.casa-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.casa-location {
  font-size: 0.76rem;
  color: var(--terracotta);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.casa-name {
  font-family: var(--font-titoli);
  font-size: 2rem;
  font-weight: 700;
  color: var(--blu-mare);
  line-height: 1.15;
  margin: 0 0 12px;
}
.casa-desc {
  font-size: 0.95rem;
  color: var(--testo-medio);
  line-height: 1.7;
  margin-bottom: 20px;
}
.casa-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--crema);
  border: 1px solid var(--bordo-sottile);
  color: var(--blu-mare);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: var(--radius-btn);
}
.casa-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--bordo-sottile);
}
.price-da {
  font-size: 0.7rem;
  color: var(--testo-medio);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
}
.price-num {
  font-family: var(--font-titoli);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--blu-mare);
  line-height: 1;
}
.price-unit {
  font-family: var(--font-corpo);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--testo-medio);
}
.btn-casa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blu-mare);
  color: var(--bianco) !important;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: var(--radius-btn);
  transition: all var(--transizione);
}
.btn-casa:hover {
  background: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(200, 90, 50, 0.28);
}

/* ========================================
   PAGINA SINGOLA CASA VACANZA & BENTO PHOTO GALLERY
======================================== */
.property-header {
  padding: 130px 5% 30px;
  max-width: 1360px;
  margin: 0 auto;
}
.property-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 12px;
}
.property-title {
  font-family: var(--font-titoli);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  color: var(--blu-mare);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  line-height: 1.1;
}
.premium-badge {
  font-family: var(--font-corpo);
  font-size: 0.78rem;
  background: var(--terracotta);
  color: var(--bianco);
  padding: 6px 14px;
  border-radius: 100px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.property-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--testo-medio);
}
.property-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bianco);
  border: 1px solid var(--bordo-sottile);
  padding: 6px 14px;
  border-radius: 100px;
  font-weight: 500;
}

/* Bento 5-Photo Gallery (Stile Boutique Airbnb/Design Hotel) */
.bento-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 14px;
  max-width: 1360px;
  margin: 0 auto 24px;
  padding: 0 5%;
}
.bento-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
  background: #e9e4dc;
}
.bento-item.bento-main {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}
.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.bento-item:hover img {
  transform: scale(1.06);
}
.bento-caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 30, 46, 0.78);
  backdrop-filter: blur(8px);
  color: var(--bianco);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
}

/* Strip miniature aggiuntive sotto la Bento Gallery */
.photo-thumbs-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  max-width: 1360px;
  margin: 0 auto 55px;
  padding: 0 5%;
}
.photo-thumb-card {
  position: relative;
  height: 110px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--bordo-sottile);
}
.photo-thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.photo-thumb-card:hover img {
  transform: scale(1.08);
}
.photo-thumb-card span {
  position: absolute;
  bottom: 6px;
  left: 8px;
  right: 8px;
  background: rgba(15, 30, 46, 0.75);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  text-align: center;
}

/* Fallback gallery-grid per Il Colonnello */
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 14px;
  max-width: 1360px;
  margin: 0 auto 50px;
  padding: 0 5%;
}
.main-photo {
  grid-row: 1 / -1;
  height: 100%;
  object-fit: cover;
  width: 100%;
  border-radius: 20px;
}
.sub-photo {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* Contenuto & Sidebar Prenotazione Diretta */
.content-wrapper {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 56px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 5% 100px;
}
.property-desc h2 {
  font-family: var(--font-titoli);
  font-size: 2.1rem;
  color: var(--blu-mare);
  margin: 0 0 18px;
}
.property-desc p {
  font-size: 1.02rem;
  line-height: 1.82;
  color: var(--testo-medio);
  margin-bottom: 18px;
}

/* Schede Ambienti Reali (Room-by-Room) */
.rooms-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin: 28px 0 40px;
}
.room-card {
  background: var(--bianco);
  border: 1px solid var(--bordo-sottile);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--ombra-soft);
}
.room-card img {
  width: 100%;
  height: 155px;
  object-fit: cover;
}
.room-card-body {
  padding: 16px;
}
.room-card-body h4 {
  font-family: var(--font-titoli);
  font-size: 1.25rem;
  color: var(--blu-mare);
  margin: 0 0 6px;
}
.room-card-body p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--testo-medio);
  margin: 0;
}

.amenities-grid,
.nearby-grid,
.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
.amenity-item,
.nearby-item,
.rule-item {
  background: var(--bianco);
  border: 1px solid var(--bordo-sottile);
  padding: 15px 18px;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 500;
}
.amenity-item { justify-content: flex-start; }
.amenity-icon { font-size: 1.35rem; }
.nearby-distance {
  background: var(--crema-scura);
  color: var(--blu-mare);
  font-weight: 700;
  font-size: 0.76rem;
  padding: 5px 11px;
  border-radius: 100px;
  white-space: nowrap;
}
.rules-grid .nearby-distance {
  white-space: normal;
  text-align: right;
  border-radius: 12px;
  line-height: 1.35;
  padding: 6px 12px;
}


/* ========================================
   SIDEBAR PRENOTAZIONE DIRETTA
======================================== */
.booking-sidebar {
  position: sticky;
  top: 100px;
  background: var(--bianco);
  border-radius: 26px;
  padding: 32px;
  box-shadow: var(--ombra-forte);
  border: 1px solid var(--bordo-sottile);
  align-self: start;
}
.booking-direct-pill {
  display: inline-block;
  background: rgba(42, 111, 104, 0.12);
  color: #1f5751;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.booking-price {
  font-family: var(--font-titoli);
  font-size: 2.5rem;
  color: var(--blu-mare);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}
.booking-price span {
  font-size: 0.95rem;
  font-family: var(--font-corpo);
  color: var(--testo-medio);
  font-weight: 500;
}
.booking-rating {
  font-size: 0.88rem;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--bordo-sottile);
  padding-bottom: 18px;
  color: var(--testo-medio);
}
.booking-com-score-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blu-mare);
  color: #F4D58D;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 4px 9px;
  border-radius: 8px;
  margin-right: 6px;
}
.wp-plugin-booking-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form-group label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blu-mare);
  margin-bottom: 5px;
  letter-spacing: 0.05em;
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(15, 30, 46, 0.16);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--crema);
  color: var(--testo-scuro);
  transition: all 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--terracotta);
  background: var(--bianco);
  box-shadow: 0 0 0 3px rgba(200, 90, 50, 0.14);
}
.booking-estimate {
  background: var(--crema);
  border: 1px solid var(--bordo-sottile);
  border-radius: 14px;
  padding: 15px;
  font-size: 0.88rem;
  display: none;
}
.booking-estimate.active { display: block; }
.booking-estimate-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  color: var(--testo-medio);
}
.booking-estimate-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: var(--blu-mare);
  font-size: 1.05rem;
  padding-top: 8px;
  border-top: 1px dashed rgba(15, 30, 46, 0.18);
}
.btn-prenota {
  background: var(--terracotta);
  color: var(--bianco);
  border: none;
  padding: 17px;
  width: 100%;
  border-radius: var(--radius-btn);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(200, 90, 50, 0.32);
  transition: all var(--transizione);
  margin-top: 4px;
}
.btn-prenota:hover {
  background: var(--blu-mare);
  transform: translateY(-2px);
}
.booking-feedback {
  padding: 12px 15px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
}
.booking-feedback.success {
  display: block;
  background: #e8f8f0;
  color: #1b7a43;
  border: 1px solid #a3e4c1;
}
.booking-feedback.error {
  display: block;
  background: #fdf0ed;
  color: #c0392b;
  border: 1px solid #f5b7b1;
}
.booking-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--testo-medio);
  margin-top: 14px;
}

/* ========================================
   DIVIDER, ESCURSIONI, PERCHÉ NOI, RECENSIONI, FOOTER
======================================== */
.divider-napoletano {
  text-align: center;
  padding: 4rem 5%;
  background: var(--blu-mare);
  color: var(--bianco);
}
.divider-text {
  font-family: var(--font-titoli);
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-style: italic;
  margin: 0;
}
.divider-text em { color: #F4D58D; }
.divider-icons {
  margin-top: 0.8rem;
  font-size: 1.2rem;
  letter-spacing: 0.4rem;
  opacity: 0.8;
}

#escursioni {
  padding: 110px 5%;
  background: var(--crema-scura);
}
.escursioni-layout {
  max-width: 1340px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: center;
}
.escursioni-visual { position: relative; }
.escursioni-main-img {
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: var(--ombra-forte);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.escursioni-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bianco);
  border-radius: 20px;
  padding: 18px 24px;
  box-shadow: var(--ombra-forte);
  text-align: center;
}
.escursioni-badge-float strong {
  display: block;
  font-size: 1.3rem;
  color: var(--blu-mare);
  font-family: var(--font-titoli);
}
.tour-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 2rem;
}
.tour-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bianco);
  border: 1px solid var(--bordo-sottile);
  border-radius: 16px;
  padding: 16px 20px;
  transition: all var(--transizione);
}
.tour-item:hover {
  transform: translateX(6px);
  box-shadow: var(--ombra-soft);
  border-color: var(--terracotta);
}
.tour-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  background: var(--crema);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tour-info { flex: 1; }
.tour-name {
  font-weight: 700;
  color: var(--blu-mare);
  font-size: 0.98rem;
  margin-bottom: 3px;
}
.tour-meta {
  font-size: 0.8rem;
  color: var(--testo-medio);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.tour-arrow {
  color: var(--terracotta);
  font-weight: 700;
  font-size: 1.2rem;
}

#perche-noi {
  padding: 100px 5%;
  background: var(--blu-mare);
}
#perche-noi .section-tag { background: rgba(244, 213, 141, 0.14); color: #F4D58D; }
#perche-noi .section-title { color: var(--bianco); }
#perche-noi .section-desc { color: rgba(255, 255, 255, 0.72); }
.perche-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.perche-item {
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  transition: all var(--transizione);
}
.perche-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-6px);
}
.perche-icon { font-size: 2.2rem; margin-bottom: 1rem; display: block; }
.perche-title {
  font-family: var(--font-titoli);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--bianco);
  margin-bottom: 0.5rem;
}
.perche-desc { font-size: 0.88rem; color: rgba(255, 255, 255, 0.65); line-height: 1.65; }

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 280px;
  overflow: hidden;
}
.gallery-strip-img { overflow: hidden; cursor: pointer; }
.gallery-strip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-strip-img:hover img { transform: scale(1.08); }

#testimonianze {
  padding: 100px 5%;
  background: var(--crema);
}
.testi-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
}
.testi-card {
  background: var(--bianco);
  border: 1px solid var(--bordo-sottile);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--ombra-soft);
}
.testi-quote {
  font-size: 3rem;
  color: var(--oro);
  line-height: 0.7;
  font-family: var(--font-titoli);
  display: block;
}
.testi-stars { color: var(--oro); margin: 8px 0 14px; letter-spacing: 2px; }
.testi-text {
  font-size: 0.96rem;
  color: var(--testo-medio);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px;
  height: 44px;
  background: var(--blu-mare);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #F4D58D;
}
.testi-name { font-weight: 700; font-size: 0.92rem; color: var(--blu-mare); }
.testi-from { font-size: 0.78rem; color: var(--testo-medio); }

#cta-finale {
  padding: 100px 5%;
  background: linear-gradient(135deg, var(--blu-mare) 0%, #1B3552 100%);
  text-align: center;
}
.cta-finale-title {
  font-family: var(--font-titoli);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--bianco);
  margin: 0 0 1rem;
}
.cta-finale-sub { font-size: 1.08rem; color: rgba(255,255,255,0.8); margin-bottom: 2.4rem; }
.cta-finale-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: var(--terracotta);
  color: var(--bianco) !important;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius-btn);
}
.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.45);
  color: var(--bianco) !important;
  font-weight: 600;
  padding: 15px 36px;
  border-radius: var(--radius-btn);
}

#footer {
  background: #08111B;
  color: rgba(255,255,255,0.7);
  padding: 70px 5% 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  font-family: var(--font-titoli);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--bianco);
  margin-bottom: 1rem;
}
.footer-tagline { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 1.2rem; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-col h4 {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #F4D58D;
  margin: 0 0 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.88rem; color: rgba(255,255,255,0.65); }
.footer-col ul a:hover { color: var(--bianco); }
.footer-contact-item { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; margin-bottom: 10px; }
.footer-bottom {
  max-width: 1280px;
  margin: 1.8rem auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ========================================
   LIGHTBOX MODAL PER FOTO REALI GIGANTI 38
======================================== */
.ton-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 17, 27, 0.94);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.ton-lightbox.open { display: flex; }
.ton-lightbox-img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: 16px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.6);
  object-fit: contain;
}
.ton-lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}
.ton-lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background: rgba(15, 30, 46, 0.85);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero-direct-bar { grid-template-columns: 1fr 1fr; }
  .bento-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .bento-item.bento-main { grid-column: 1 / -1; height: 320px; }
  .content-wrapper { grid-template-columns: 1fr; }
  .booking-sidebar { position: relative; top: 0; }
}
@media (max-width: 768px) {
  #navbar { left: 3%; right: 3%; padding: 0 18px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 94px;
    left: 4%;
    right: 4%;
    background: var(--blu-mare);
    padding: 2rem;
    border-radius: 24px;
  }
  .hamburger { display: flex; }
  .hero-direct-bar { grid-template-columns: 1fr; }
  .direct-bar-field { border-right: none; border-bottom: 1px solid var(--bordo-sottile); }
  .case-grid { grid-template-columns: 1fr; }
  .escursioni-layout { grid-template-columns: 1fr; }
  .amenities-grid, .nearby-grid, .rules-grid { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ========================================
   FLOATING WHATSAPP BUTTON & CONTACT BADGE
======================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff !important;
  font-family: var(--font-corpo);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.floating-whatsapp-btn:hover {
  background: #1EBE5B;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55);
  color: #ffffff !important;
}
.floating-whatsapp-icon {
  font-size: 1.3rem;
  line-height: 1;
}
.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.15);
  color: #25D366 !important;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
}
.footer-wa-btn:hover {
  background: #25D366;
  color: #fff !important;
  transform: translateY(-2px);
}
@media (max-width: 600px) {
  .floating-whatsapp-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px 18px;
    font-size: 0.88rem;
  }
}

