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

/* ==========================================================================
   1. RESET & DESIGN TOKENS — "MURA SARDEGNA" (LIGHT & AIRY STYLE)
   ========================================================================== */
:root {
  /* PALETTE BIANCO, AVORIO E ORO (MURA SARDEGNA) */
  --bg: #ffffff;             /* Bianco puro per far respirare il sito */
  --bg-elevated: #faf9f6;    /* Un avorio/panna caldissimo per staccare le sezioni */
  --bg-card: #ffffff;        /* Card luminose su sfondo bianco */
  --text-primary: #1a1a1a;   /* Antracite scuro per i testi (NON bianco) */
  --text-secondary: #666666; /* Grigio medio elegante e leggibile */
  --text-muted: #888888;
  --accent: #d4af37;         /* Oro elegante */
  --accent-hover: #b89728;   /* Oro più intenso all'hover */

  --border-color: rgba(26, 26, 26, 0.08);
  --border-gold: rgba(212, 175, 55, 0.35);

  /* FONT ARIOSI E DISTANZIATI */
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* SPAZIATURE E GEOMETRIE ARIOSE */
  --container-max: 1400px;
  --nav-height: 125px;
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-subtle: 0 10px 40px rgba(0, 0, 0, 0.04);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg);
  color: var(--text-primary);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Grana e pellicola ultra-delicata per il tema chiaro */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  width: 0%;
  z-index: 10000;
  transition: width 0.1s linear;
}

/* ==========================================================================
   2. CURSORE CUSTOM (DISABILITATO SU MOBILE < 768px)
   ========================================================================== */
.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, background-color 0.3s ease;
}

.custom-cursor-circle {
  position: fixed;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(212, 175, 55, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.custom-cursor-circle.hovered {
  width: 60px;
  height: 60px;
  background-color: rgba(212, 175, 55, 0.08);
  border-color: var(--accent);
}

/* Disabilita Cursore su schermi < 768px (Stile Mura Sardegna) */
@media (max-width: 767px), (pointer: coarse) {
  .custom-cursor-dot,
  .custom-cursor-circle {
    display: none !important;
    visibility: hidden !important;
  }
  * {
    cursor: auto !important;
  }
}

/* ==========================================================================
   3. BOTTONE "PRENOTA" — STILE MURA SARDEGNA (EFFETTO FILL DA SINISTRA)
   ========================================================================== */
.btn-luxury {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 1.1rem 2.6rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  z-index: 1;
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  border-radius: 0; /* Stile pulito e minimale */
}

.btn-luxury::before {
  content: '';
  position: absolute;
  top: 0;
  left: -101%;
  width: 101%;
  height: 100%;
  background: var(--accent);
  z-index: -1;
  transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-luxury:hover {
  color: #ffffff;
  border-color: var(--accent);
}

.btn-luxury:hover::before {
  left: 0;
}

/* Varianti di contrasto e full width per mobile */
.btn-luxury.btn-full {
  width: 100%;
}

/* ==========================================================================
   4. TIPOGRAFIA DISTANZIATA & LAYOUT ARIOSO (.section-padding)
   ========================================================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2.5rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* De-condensazione: 10rem 0 per respirare */
.section-padding {
  padding: 10rem 0;
}

@media (max-width: 992px) {
  .section-padding {
    padding: 7rem 0;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 5rem 0;
  }
}

/* Serif gigante per gli H2 */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.section-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

/* Sans-Serif sottile e molto spaziato per i soprattitoli */
.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.section-desc {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 720px;
}

.section-header {
  margin-bottom: 5rem;
}

/* ==========================================================================
   5. PRELOADER INTRO ORO LUXURY (LOGO BIANCO SU SFONDO TUTTO ORO)
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dfbc48 0%, #c59b27 100%);
  background-color: #d4af37;
  z-index: 100000;
  display: flex;
  justify-content: center;
  align-items: center;
  clip-path: circle(150% at 50% 50%);
  -webkit-clip-path: circle(150% at 50% 50%);
  transition: clip-path 1.15s cubic-bezier(0.76, 0, 0.24, 1),
              -webkit-clip-path 1.15s cubic-bezier(0.76, 0, 0.24, 1),
              opacity 0.4s ease 0.95s,
              visibility 0.4s ease 0.95s;
}

.preloader.loaded {
  clip-path: circle(0% at 50% 50%);
  -webkit-clip-path: circle(0% at 50% 50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  text-align: center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}

.preloader.loaded .preloader-content {
  transform: scale(1.15);
  opacity: 0;
}

.preloader-logo {
  width: 220px;
  max-width: 80vw;
  height: auto;
  filter: brightness(0) invert(1);
  animation: pulseWhiteLogo 2s infinite ease-in-out;
}

.preloader-bar-wrap {
  width: 240px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.28);
  overflow: hidden;
  position: relative;
}

.preloader-bar {
  width: 0%;
  height: 100%;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.preloader-text {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #ffffff;
  font-weight: 500;
}

@keyframes pulseWhiteLogo {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

/* EFFETTO "ESCE IL SITO" DURANTE L'APERTURA A CERCHIO DEL PRELOADER */
body:not(.site-revealed) main,
body:not(.site-revealed) header {
  transform: scale(0.95);
  opacity: 0;
}

main, header {
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

body.site-revealed main,
body.site-revealed header {
  transform: scale(1);
  opacity: 1;
}

/* ==========================================================================
   6. HEADER & NAVIGAZIONE LUMINOSA
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: height 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
  height: 94px;
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.nav-container {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 1.5rem;
  }
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo img {
  height: 118px;
  width: auto;
  transition: height 0.4s ease;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.28));
}

.header.scrolled .brand-logo img {
  height: 86px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3rem;
  list-style: none;
}

@media (max-width: 992px) {
  .nav-links,
  .btn-cta-nav {
    display: none !important;
  }
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--accent);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link:hover::after {
  width: 100%;
}

/* HAMBURGER BUTTON PER MOBILE */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

@media (max-width: 992px) {
  .hamburger {
    display: flex;
  }
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   7. MOBILE MENU FULL-SCREEN (AVORIO LUMINOSO — COPIA DA MURA SARDEGNA)
   ========================================================================== */
.mobile-menu-drawer,
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-elevated); /* Avorio caldissimo #faf9f6 */
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-15px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-drawer.active,
.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
  text-align: center;
  width: 100%;
  max-width: 360px;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--accent);
}

/* ==========================================================================
   8. HERO SECTION LUMINOSA E ARIOSA
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-height);
  background-color: var(--bg);
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 10s ease-out;
}

/* Overlay in stile luxury senza patina bianca per ammirare la foto serale di San Pietro */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.70) 0%,
    rgba(0, 0, 0, 0.65) 50%,
    rgba(0, 0, 0, 0.92) 100%
  );
  z-index: 2;
}

#hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 900px;
  text-align: center;
  padding: 0 2rem;
}

.booking-badge {
  display: none;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(4.2rem, 12vw, 9rem);
  font-weight: 400;
  line-height: 1.05;
  color: #ffffff;
  text-shadow: 0 2px 25px rgba(0, 0, 0, 0.55);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 1.5vw, 1.05rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.45em;
  color: var(--accent);
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
  margin-top: 0.8rem;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: #ffffff;
  opacity: 0.95;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.55);
  max-width: 760px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 2px;
  animation: scrollWheel 2s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* FIX SOVRAPPOSIZIONE SCROLL INDICATOR DA PC (esclusivamente per schermi > 992px) */
@media (min-width: 993px) {
  .hero-scroll-indicator {
    bottom: 1.2rem !important;
  }
  .hero-subtitle {
    margin-bottom: 1.8rem !important;
  }
  .hero-title {
    margin-bottom: 1.2rem !important;
  }
}

/* Protezione aggiuntiva per schermi PC laptop con altezza ridotta (es. schermi 1366x768 o 1440x900) */
@media (min-width: 993px) and (max-height: 850px) {
  .hero-scroll-indicator {
    bottom: 0.8rem !important;
  }
  .hero-subtitle {
    margin-bottom: 1.3rem !important;
  }
  .hero-title {
    margin-bottom: 0.8rem !important;
  }
}

/* ==========================================================================
   9. LA RESIDENZA (STILE ARIOSO BIANCO & AVORIO)
   ========================================================================== */
.residenza-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

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

.residenza-intro {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-weight: 400;
}

.residenza-highlight {
  margin: 2.5rem 0;
  padding: 2.2rem;
  background-color: var(--bg-elevated);
  border-left: 3px solid var(--accent);
}

.residenza-highlight h4 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.residenza-stats {
  display: flex;
  gap: 3.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.stat-item h3 {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--accent);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-item p {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
}

/* HOST AURORA CARD (AVORIO LUMINOSO) */
.residenza-host-card {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-color);
  padding: 3.5rem;
  position: relative;
  box-shadow: var(--shadow-subtle);
}

@media (max-width: 768px) {
  .residenza-host-card {
    padding: 2rem;
  }
}

.host-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.host-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
}

.host-info h4 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.host-info span {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.host-score-badge {
  margin-left: auto;
  text-align: right;
}

.host-score-badge strong {
  display: block;
  font-size: 1.4rem;
  color: var(--accent);
}

.host-score-badge small {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.host-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.host-languages {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.host-languages span {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--text-primary);
}

/* ==========================================================================
   10. GLI SPAZI (CARD ARCHITETTONICHE LUMINOSE)
   ========================================================================== */
.spazi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
}

@media (max-width: 992px) {
  .spazi-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.spazio-card-hero {
  grid-column: 1 / -1;
  min-height: 480px;
}

.spazio-card {
  position: relative;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease, border-color 0.4s ease;
}

.spazio-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-elevated);
}

.spazio-bg {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: var(--bg-elevated);
}

.spazio-card:hover .spazio-bg {
  transform: scale(1.05);
}

.spazio-content {
  padding: 2.5rem 2.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #ffffff;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .spazio-content {
    padding: 2rem;
  }
}

.spazio-cat {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 0.8rem;
  display: block;
}

.spazio-title {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.spazio-desc {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.btn-open-gallery {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
  margin-top: auto;
}

.btn-open-gallery svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.spazio-card:hover .btn-open-gallery {
  color: var(--accent);
}

.spazio-card:hover .btn-open-gallery svg {
  transform: translateX(6px);
}

/* ==========================================================================
   11. INFORMAZIONI UTILI & SERVIZI (GRIGLIA BIANCA ARIOSA)
   ========================================================================== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

@media (max-width: 992px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-color);
  padding: 3rem 2.4rem;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.info-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-elevated);
}

.info-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  margin-bottom: 1.8rem;
}

.info-card h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 400;
}

.info-card p {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.info-card ul {
  list-style: none;
  border-top: 1px solid var(--border-color);
  padding-top: 1.2rem;
}

.info-card ul li {
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.info-card ul li::before {
  content: '✦';
  color: var(--accent);
  font-size: 0.75rem;
}

/* ==========================================================================
   12. IL TERRITORIO (GUIDA EDITORIALE BIANCO & AVORIO)
   ========================================================================== */
.territorio-blocks {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

@media (max-width: 992px) {
  .territorio-blocks {
    gap: 5rem;
  }
}

.territorio-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.territorio-block.reverse {
  grid-template-columns: 1fr 1.1fr;
}

.territorio-block.reverse .territorio-img-wrap {
  order: 2;
}
.territorio-block.reverse .territorio-content {
  order: 1;
}

@media (max-width: 992px) {
  .territorio-block,
  .territorio-block.reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .territorio-block.reverse .territorio-img-wrap {
    order: 1;
  }
  .territorio-block.reverse .territorio-content {
    order: 2;
  }
}

.territorio-img-wrap {
  position: relative;
  overflow: hidden;
  height: 440px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-subtle);
}

.territorio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.territorio-block:hover .territorio-img {
  transform: scale(1.05);
}

.territorio-distance {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background-color: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}

.territorio-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 0.8rem;
}

.territorio-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 1.4rem;
  line-height: 1.2;
}

.territorio-text {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.territorio-highlight-list {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.territorio-badge {
  background-color: #ffffff;
  border: 1px solid var(--border-gold);
  color: var(--text-primary);
  padding: 0.45rem 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================================
   13. RECENSIONI (CAROSELLO BIANCO & AVORIO)
   ========================================================================== */
.recensioni-container {
  overflow: hidden;
}

.recensioni-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.booking-category-scores {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2.5rem;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  padding: 1.8rem 2.2rem;
  box-shadow: var(--shadow-subtle);
}

.cat-score-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.cat-score-name {
  color: var(--text-primary);
  font-weight: 500;
}

.cat-score-value {
  color: var(--accent);
  font-weight: 600;
}

.reviews-carousel-wrapper {
  position: relative;
  width: 100%;
}

.reviews-track {
  display: flex;
  gap: 2.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 2rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  min-width: 420px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  padding: 3rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-subtle);
}

@media (max-width: 768px) {
  .review-card {
    min-width: 310px;
    padding: 2rem;
  }
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.8rem;
}

.review-stars {
  color: var(--accent);
  font-size: 1.2rem;
  letter-spacing: 3px;
}

.review-badge {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  color: var(--accent);
  padding: 0.25rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.review-quote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-primary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 2.5rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.author-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-elevated);
  border: 1px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
}

.author-info h5 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-primary);
  font-weight: 400;
}

.author-info span {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-carousel-arrow {
  width: 52px;
  height: 52px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-carousel-arrow:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

/* ==========================================================================
   14. SEZIONE CONTATTI & CALL TO ACTION (LUMINOSA E ARIOSA)
   ========================================================================== */
.cta-section {
  position: relative;
  padding: 10rem 0;
  background-color: var(--bg-elevated);
  border-top: 1px solid var(--border-color);
  text-align: center;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 6rem 0;
  }
}

.cta-box {
  max-width: 780px;
  margin: 0 auto;
}

.cta-address-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #ffffff;
  border: 1px solid var(--border-gold);
  padding: 0.5rem 1.3rem;
  font-size: 0.8rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 1.8rem;
}

.cta-desc {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 3rem;
}

/* ==========================================================================
   15. GOOGLE MAPS NEL FOOTER A DUE COLONNE (STILE MURA SARDEGNA)
   ========================================================================== */
.footer-maps-section {
  padding: 6rem 0 4rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 4rem;
}

.maps-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4.5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .maps-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.maps-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.maps-info h3 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.2;
}

.maps-info p {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.maps-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.maps-details-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: var(--text-primary);
}

.maps-details-list li svg {
  color: var(--accent);
  flex-shrink: 0;
}

.maps-iframe-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-subtle);
  background-color: var(--bg-elevated);
}

/* Iframe di Google Maps in scala di grigi elegante per non rompere l'armonia */
.maps-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) contrast(105%) brightness(102%);
  transition: filter 0.5s ease;
}

.maps-iframe-wrap:hover iframe {
  filter: grayscale(20%) contrast(102%) brightness(100%);
}

/* ==========================================================================
   16. FOOTER LUXURY BIANCO & AVORIO
   ========================================================================== */
.footer {
  background-color: var(--bg);
  border-top: 1px solid var(--border-color);
  padding: 6rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.footer-col-brand img {
  height: 52px;
  margin-bottom: 1.5rem;
}

.footer-col-brand p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-links a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact-info p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.footer-contact-info strong {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 2.5rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* ==========================================================================
   17. LIGHTBOX MODALE FULL-SCREEN
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #101010;
  z-index: 20000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 3rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #ffffff;
  z-index: 20010;
}

.btn-lightbox-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-lightbox-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lightbox-body {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 2rem 0;
}

.lightbox-img-wrapper {
  max-width: 82%;
  max-height: 75vh;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  transition: transform 0.4s ease;
  user-select: none;
}

.lightbox-placeholder-notice {
  background: #ffffff;
  border: 2px solid var(--accent);
  padding: 2.5rem 3.5rem;
  text-align: center;
  max-width: 550px;
  box-shadow: var(--shadow-elevated);
}

.btn-lightbox-nav {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20010;
}

.btn-lightbox-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.lightbox-footer {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #ffffff;
  width: 100%;
  pointer-events: none;
  z-index: 20010;
}

.lightbox-counter {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  color: var(--accent);
  font-weight: 500;
  background: rgba(0, 0, 0, 0.75);
  padding: 0.5rem 1.4rem;
  border-radius: 24px;
  border: 1px solid rgba(212, 175, 55, 0.45);
}

/* ==========================================================================
   18. MODALE DI PRENOTAZIONE (FORM WHATSAPP LUMINOSO)
   ========================================================================== */
.booking-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 26, 26, 0.65);
  backdrop-filter: blur(8px);
  z-index: 21000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.booking-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.booking-modal-box {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 3.5rem;
  position: relative;
  box-shadow: var(--shadow-elevated);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
  .booking-modal-box {
    padding: 2.2rem 1.8rem;
  }
}

.booking-modal.active .booking-modal-box {
  transform: translateY(0);
}

.booking-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.booking-modal-header span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.4rem;
}

.booking-modal-header h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--text-primary);
  font-weight: 400;
}

.btn-modal-close {
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.btn-modal-close:hover {
  color: var(--accent);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

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

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

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.form-control {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-color);
  padding: 0.95rem 1.2rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background-color: #ffffff;
}

.form-control::placeholder {
  color: var(--text-muted);
}

.booking-whatsapp-note {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background-color: var(--bg-elevated);
  padding: 1rem 1.2rem;
  border-left: 3px solid #25D366;
  line-height: 1.6;
}

.booking-whatsapp-note svg {
  color: #25D366;
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-whatsapp-submit {
  background-color: #25D366;
  color: #ffffff;
  border: none;
  padding: 1.2rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-whatsapp-submit:hover {
  background-color: #20b858;
  transform: translateY(-2px);
}

/* ==========================================================================
   19. ANIMAZIONI DI SCROLL REVEAL (AWWWARDS)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   20. OTTIMIZZAZIONE MOBILE GLOBALE & TIPOGRAFIA RIDOTTA (SLEEK LUXURY)
   ========================================================================== */

/* 1. Pulsante lingua (ENG/IT) e layout Navbar: da mobile logo in alto al centro e lingua a sinistra */
@media (min-width: 993px) {
  .btn-lang-switch {
    padding: 0.8rem 1.25rem !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.25em !important;
    margin-right: 0.75rem !important;
    min-width: 55px;
    text-align: center;
  }
}

@media (max-width: 992px) {
  .header,
  .header.scrolled {
    height: 108px !important;
  }
  .nav-container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .brand-logo {
    order: 1 !important;
    position: static !important;
    left: auto !important;
    transform: none !important;
    margin-right: 0 !important;
    z-index: 4 !important;
  }
  .header .brand-logo img,
  .header.scrolled .brand-logo img {
    height: 68px !important;
    max-width: 150px !important;
  }
  .btn-lang-switch {
    order: 2 !important;
    margin-left: auto !important;
    margin-right: 0.5rem !important;
    padding: 0.6rem 0.85rem !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.15em !important;
    min-width: 42px !important;
    flex-shrink: 0 !important;
    z-index: 5 !important;
  }
  .header .btn-open-booking {
    order: 3 !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    padding: 0.65rem 1.05rem !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.12em !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    z-index: 5 !important;
  }
  .hamburger {
    order: 4 !important;
    margin-left: 0.4rem !important;
    z-index: 5 !important;
  }
}

@media (max-width: 480px) {
  .header,
  .header.scrolled {
    height: 92px !important;
  }
  .header .brand-logo img,
  .header.scrolled .brand-logo img {
    height: 56px !important;
    max-width: 125px !important;
  }
  .btn-lang-switch {
    padding: 0.5rem 0.68rem !important;
    font-size: 0.73rem !important;
    letter-spacing: 0.1em !important;
    min-width: 36px !important;
    margin-left: auto !important;
    margin-right: 0.4rem !important;
  }
  .header .btn-open-booking {
    padding: 0.5rem 0.78rem !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.08em !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .hamburger {
    margin-left: 0.35rem !important;
  }
  .nav-container {
    padding: 0 0.7rem !important;
  }
}

/* 2. Riduzione generale delle scritte in tutto il sito su Mobile (<768px) */
@media (max-width: 768px) {
  /* Hero Section: riduzione drastica di titolo e soprattutto sottotitolo */
  .hero-title {
    font-size: 3.5rem !important;
    line-height: 1.1 !important;
  }
  .hero-title span {
    font-size: 0.65rem !important;
    letter-spacing: 0.3em !important;
    margin-top: 0.6rem !important;
  }
  .hero-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    max-width: 90% !important;
    margin: 0 auto 2.2rem !important;
  }

  /* Titoli e sottotitoli di sezione */
  .section-title {
    font-size: 1.85rem !important;
    margin-bottom: 1rem !important;
  }
  .section-subtitle {
    font-size: 0.85rem !important;
  }
  .section-text,
  p {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
  }

  /* Sezione Residenza / Host */
  .residenza-lead {
    font-size: 1.05rem !important;
    line-height: 1.5 !important;
  }
  .residenza-host-card p {
    font-size: 0.82rem !important;
  }
  .host-info h4 {
    font-size: 1.15rem !important;
  }
  .host-info p {
    font-size: 0.78rem !important;
  }

  /* Sezione Spazi (Cards) */
  .card-title {
    font-size: 1.38rem !important;
  }
  .card-desc {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }
  .card-features li {
    font-size: 0.78rem !important;
  }
  .card-meta span {
    font-size: 0.72rem !important;
  }

  /* Sezione Territorio */
  .territorio-title {
    font-size: 1.4rem !important;
  }
  .territorio-text {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }
  .territorio-distance {
    font-size: 0.75rem !important;
  }
  .territorio-badge {
    font-size: 0.72rem !important;
  }
  .territorio-num {
    font-size: 1.8rem !important;
  }

  /* Sezione Servizi & Dotazioni */
  .servizio-title {
    font-size: 1rem !important;
  }
  .servizio-desc {
    font-size: 0.8rem !important;
  }

  /* Sezione Recensioni */
  .review-text {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
  }
  .review-author strong {
    font-size: 0.88rem !important;
  }

  /* Call to Action Finale e Footer */
  .cta-final-title {
    font-size: 1.75rem !important;
  }
  .cta-final-desc {
    font-size: 0.88rem !important;
  }
  .footer-desc {
    font-size: 0.82rem !important;
  }
}

/* 3. Ulteriore affinamento su schermi molto piccoli (<480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.85rem !important;
  }
  .hero-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
  }
  .section-title {
    font-size: 1.65rem !important;
  }
}

/* 4. Valutazione Host attaccata (9.2/10 su una riga sola e mai a capo) */
.host-score-badge,
.host-score-badge strong,
.host-score-badge strong span {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
