/* ==========================================================================
   LE FARFALLE DELLE FORRE — CINEMATIC ONE-PAGE WEBSITE STYLESHEET
   Color Palette Extracted Directly from the Official Castel Sant'Elia Logo
   ========================================================================== */

:root {
  /* Exact Logo Color Tokens */
  --teal-deep: #0D3B38;        /* Outer logo circle, "Le Farfalle", "DELLE FORRE" */
  --teal-forest: #0F423A;      /* Rich shadow tone of the emblem */
  --teal-river: #184D49;       /* Winding river inside the lower butterfly wings */
  --teal-darkest: #082624;     /* Deep cinema letterbox shadow */

  --sage-forre: #576855;       /* Butterfly wing outline, cliff foliage & breakfast room wall */
  --sage-olive: #495A3B;       /* Center botanical leaf & deep moss */
  --sage-soft: #78886D;        /* Mid-tone olive sage */
  --sage-mist: #98A59B;        /* Muted sage-grey accent */

  --tuff-cream: #D5CDAD;       /* Volcanic tuff cliffs of Castel Sant'Elia in the wings */
  --tuff-light: #EFECE0;       /* Softened limestone surface */
  --alabaster: #FAF8F3;        /* Sun-washed ivory canvas */
  --pure-white: #FDFEFE;       /* Crisp logo white */

  --gold-ochre: #A88226;       /* Horizontal divider rules & botanical center dot */
  --gold-sun: #D8AB6B;         /* Warm sunset behind Castel Sant'Elia in the right wing */
  --gold-glow: rgba(216, 171, 107, 0.22);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions & Shadows */
  --ease-cinema: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-cinema: 0 28px 65px rgba(8, 38, 36, 0.28);
  --shadow-soft: 0 18px 45px rgba(13, 59, 56, 0.10);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #0b0f12;
}

body {
  font-family: var(--font-sans);
  color: var(--teal-deep);
  background-color: transparent;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease-cinema), opacity 0.3s var(--ease-cinema);
}

.container {
  width: min(1260px, 92vw);
  margin-inline: auto;
}

/* ==========================================================================
   CINEMA ATMOSPHERE OVERLAYS
   ========================================================================== */
.cinema-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.032;
  background-image: radial-gradient(rgba(13, 59, 56, 0.8) 1px, transparent 0);
  background-size: 3px 3px;
}

.cinema-frame-border {
  position: fixed;
  inset: 10px;
  border: 1px solid rgba(168, 130, 38, 0.22);
  pointer-events: none;
  z-index: 85;
}

@media (max-width: 900px) {
  .cinema-frame-border {
    display: none;
  }
}

/* ==========================================================================
   SCROLL REVEAL CHOREOGRAPHY
   ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.95s var(--ease-cinema), transform 0.95s var(--ease-cinema);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   TOP NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background-color 0.45s var(--ease-cinema),
              padding 0.45s var(--ease-cinema),
              box-shadow 0.45s var(--ease-cinema),
              backdrop-filter 0.45s var(--ease-cinema);
}

.site-header.is-scrolled {
  background-color: rgba(13, 59, 56, 0.94);
  backdrop-filter: blur(14px);
  padding: 11px 0;
  box-shadow: 0 10px 34px rgba(8, 38, 36, 0.35);
  border-bottom: 1px solid rgba(168, 130, 38, 0.28);
}

.header-inner {
  width: min(1320px, 93vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand-crest {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
  border: 1.5px solid var(--gold-ochre);
  background: var(--pure-white);
  transition: transform 0.4s var(--ease-cinema);
}

.brand-lockup:hover .brand-crest {
  transform: scale(1.06) rotate(-2deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-script {
  font-family: var(--font-script);
  font-size: 1.75rem;
  color: var(--pure-white);
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tuff-cream);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 248, 243, 0.88);
  position: relative;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1.5px;
  background-color: var(--gold-sun);
  transition: width 0.35s var(--ease-cinema);
}

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

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

.nav-link-highlight {
  color: var(--gold-sun);
}

.nav-pin-icon {
  width: 15px;
  height: 15px;
  color: var(--gold-sun);
}

.nav-maps-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: linear-gradient(135deg, var(--tuff-cream), var(--gold-sun));
  box-shadow: 0 4px 15px rgba(168, 130, 38, 0.28);
  transition: transform 0.3s var(--ease-cinema), box-shadow 0.3s var(--ease-cinema);
}

.nav-maps-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(216, 171, 107, 0.45);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--tuff-cream);
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(213, 205, 173, 0.25);
  background: rgba(8, 38, 36, 0.38);
}

.header-phone:hover {
  border-color: var(--gold-sun);
  color: var(--pure-white);
}

.btn-gold-sm {
  padding: 9px 20px;
  border-radius: 999px;
  background-color: var(--gold-ochre);
  color: var(--pure-white);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background-color 0.3s var(--ease-cinema), transform 0.3s var(--ease-cinema);
}

.btn-gold-sm:hover {
  background-color: var(--gold-sun);
  color: var(--teal-deep);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(213, 205, 173, 0.35);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  padding: 9px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 1.8px;
  background-color: var(--pure-white);
  transition: 0.3s;
}

/* ==========================================================================
   SHARED CHAPTER BADGES & LOGO BOTANICAL DIVIDERS
   ========================================================================== */
.chapter-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage-forre);
  margin-bottom: 14px;
}

.chapter-roman {
  color: var(--gold-ochre);
}

.badge-light {
  color: var(--tuff-cream);
}

.badge-light .chapter-roman {
  color: var(--gold-sun);
}

.logo-botanical-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 22px 0 28px;
}

.gold-rule {
  height: 2px;
  width: clamp(65px, 12vw, 145px);
  background: linear-gradient(90deg, transparent, var(--gold-ochre), var(--gold-sun));
  border-radius: 2px;
}

.logo-botanical-divider .gold-rule:last-child {
  background: linear-gradient(90deg, var(--gold-sun), var(--gold-ochre), transparent);
}

.botanical-leaves {
  width: 64px;
  height: 34px;
  flex-shrink: 0;
}

/* ==========================================================================
   ATTO I — HERO CINEMA SECTION
   ========================================================================== */
.hero-cinema {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 128px 0 88px;
  background-color: transparent;
  color: var(--pure-white);
  overflow: hidden;
}

.hero-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 38%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.8s var(--ease-cinema), transform 11s ease-out;
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.0);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 15, 18, 0.45) 0%, rgba(11, 15, 18, 0.1) 40%, rgba(11, 15, 18, 0.3) 75%, rgba(11, 15, 18, 0.7) 100%),
    linear-gradient(90deg, rgba(11, 15, 18, 0.65) 0%, rgba(11, 15, 18, 0.25) 55%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 54px;
  align-items: center;
}

.cinema-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--tuff-cream);
  margin-bottom: 14px;
}

.eyebrow-line {
  width: 32px;
  height: 1px;
  background-color: var(--gold-sun);
}

.hero-title {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
}

.hero-script {
  font-family: var(--font-script);
  font-size: clamp(4.2rem, 8vw, 6.8rem);
  font-weight: 400;
  color: var(--pure-white);
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
  margin-bottom: 4px;
}

.hero-serif {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.2vw, 3.45rem);
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--tuff-cream);
}

.hero-copy .logo-botanical-divider {
  justify-content: flex-start;
}

.hero-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.22rem, 1.8vw, 1.48rem);
  font-weight: 400;
  color: rgba(250, 248, 243, 0.92);
  max-width: 590px;
  line-height: 1.55;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 38px;
}

.btn-primary-cinema {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-ochre), var(--gold-sun));
  color: var(--teal-darkest);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(168, 130, 38, 0.35);
  transition: transform 0.35s var(--ease-cinema), box-shadow 0.35s var(--ease-cinema);
}

.btn-primary-cinema:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(216, 171, 107, 0.5);
}

.btn-outline-cinema {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  color: var(--pure-white);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.3s, background-color 0.3s, transform 0.3s;
}

.btn-outline-cinema:hover {
  border-color: var(--gold-sun);
  background: rgba(0, 0, 0, 0.65);
  transform: translateY(-2px);
}

.hero-location-strip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 14px 22px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.loc-item {
  display: flex;
  flex-direction: column;
}

.loc-label {
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  color: var(--gold-sun);
  font-weight: 600;
}

.loc-value {
  font-size: 0.88rem;
  color: var(--pure-white);
}

.loc-link:hover {
  color: var(--gold-sun);
}

.loc-divider {
  width: 1px;
  height: 30px;
  background-color: rgba(213, 205, 173, 0.25);
}

/* Right Column Emblem Halo & Scene Switcher */
.hero-emblem-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.emblem-halo {
  position: relative;
  width: min(350px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 12px;
  background: radial-gradient(circle, rgba(216, 171, 107, 0.25) 0%, rgba(0, 0, 0, 0.2) 70%);
  border: 1px solid rgba(216, 171, 107, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.hero-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
}

.scene-selector {
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, 0.55);
  padding: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.scene-btn {
  background: transparent;
  border: none;
  color: rgba(250, 248, 243, 0.72);
  padding: 8px 15px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s var(--ease-cinema);
}

.scene-btn.is-active {
  background: rgba(255, 255, 255, 0.18);
  color: var(--pure-white);
  box-shadow: inset 0 0 0 1px var(--gold-ochre);
}

.scene-num {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--gold-sun);
  font-weight: 600;
}

.scene-name {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-style: italic;
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--tuff-cream);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
}

.scroll-cue-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--gold-sun), transparent);
}

/* ==========================================================================
   ATTO II — PROLOGUE (L'ANIMA DEL LUOGO)
   ========================================================================== */
.section-prologue {
  padding: 112px 0 96px;
  background: linear-gradient(180deg, rgba(250, 248, 243, 0.94) 0%, rgba(239, 236, 224, 0.96) 100%);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(16px);
}

.prologue-inner {
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
}

.editorial-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 4.2vw, 3.55rem);
  font-weight: 500;
  color: var(--teal-deep);
  line-height: 1.15;
}

.text-italic-gold {
  font-style: italic;
  color: var(--gold-ochre);
}

.prologue-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  text-align: left;
  margin: 34px 0 56px;
  font-size: 1.05rem;
  color: #23433F;
}

.prologue-dropcap::first-letter {
  font-family: var(--font-serif);
  font-size: 3.7rem;
  float: left;
  line-height: 0.84;
  padding-right: 12px;
  padding-top: 4px;
  color: var(--teal-deep);
  font-weight: 600;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.pillar-card {
  background: var(--pure-white);
  padding: 32px 28px;
  border-radius: 18px;
  border: 1px solid rgba(87, 104, 85, 0.18);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-cinema), border-color 0.35s;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-ochre);
}

.pillar-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--gold-ochre);
  display: block;
  margin-bottom: 8px;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--teal-deep);
  margin-bottom: 10px;
}

.pillar-desc {
  font-size: 0.93rem;
  color: #3D5652;
}

/* ==========================================================================
   ATTO III — LA CAMERA ("DETTAGLI DI CASA")
   ========================================================================== */
.section-bedroom {
  padding: 108px 0 116px;
  background-color: var(--alabaster);
  position: relative;
  z-index: 2;
}

.section-header-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
  border-bottom: 1px solid rgba(13, 59, 56, 0.12);
  padding-bottom: 24px;
}

.section-title-large {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.3vw, 3.6rem);
  font-weight: 500;
  color: var(--teal-deep);
  line-height: 1.1;
}

.dettagli-calligraphy-badge {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.dettagli-serif {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: var(--teal-deep);
}

.dettagli-script {
  font-family: var(--font-script);
  font-size: 2.8rem;
  color: var(--sage-forre);
}

.bedroom-stage {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 38px;
  align-items: stretch;
}

.bedroom-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-cinema);
  background-color: var(--teal-deep);
  height: clamp(520px, 78vh, 680px);
  max-height: 80vh;
  display: flex;
}

.bedroom-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 1.2s var(--ease-cinema);
  cursor: zoom-in;
}

.bedroom-frame:hover .bedroom-main-img {
  transform: scale(1.03);
}

/* Crisp HTML/CSS Recreation of "Dettagli di casa" on the Clean Bedroom Photo */
.bedroom-floating-signature {
  position: absolute;
  top: 26px;
  right: 30px;
  text-align: right;
  pointer-events: none;
  z-index: 4;
  padding: 12px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(13, 59, 56, 0.25), rgba(87, 104, 85, 0.18));
  backdrop-filter: blur(4px);
}

.sig-serif {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--pure-white);
  text-shadow: 0 3px 14px rgba(13, 59, 56, 0.45);
}

.sig-script {
  display: block;
  font-family: var(--font-script);
  font-size: 2.65rem;
  line-height: 0.95;
  color: #DDF0E4;
  text-shadow: 0 3px 14px rgba(13, 59, 56, 0.55);
}

.sig-swirl {
  width: 145px;
  height: 22px;
  margin-top: 2px;
}

/* Interactive Hotspots */
.hotspot-pin {
  position: absolute;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--pure-white);
  background-color: rgba(13, 59, 56, 0.85);
  color: var(--gold-sun);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 600;
  transform: translate(-50%, -50%);
  transition: transform 0.3s, background-color 0.3s;
}

.hotspot-pin:hover,
.hotspot-pin.is-active {
  background-color: var(--gold-ochre);
  color: var(--pure-white);
  transform: translate(-50%, -50%) scale(1.15);
}

.hotspot-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-sun);
  animation: pulseRing 2.4s infinite;
}

@keyframes pulseRing {
  0% { transform: scale(0.85); opacity: 0.9; }
  100% { transform: scale(1.55); opacity: 0; }
}

.hotspot-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 6;
  background: rgba(13, 59, 56, 0.90);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(216, 171, 107, 0.42);
  border-radius: 16px;
  padding: 18px 22px;
  color: var(--pure-white);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.hotspot-card-kicker {
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-sun);
  font-weight: 600;
}

.hotspot-card-title {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  margin: 2px 0 4px;
}

.hotspot-card-text {
  font-size: 0.88rem;
  color: rgba(250, 248, 243, 0.88);
}

/* Bedroom Story Sidebar */
.bedroom-story-panel {
  background: var(--pure-white);
  border-radius: 22px;
  padding: 40px 36px;
  border: 1px solid rgba(13, 59, 56, 0.10);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.panel-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-ochre);
  font-weight: 600;
}

.panel-heading {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--teal-deep);
  line-height: 1.18;
  margin: 8px 0 14px;
}

.panel-body {
  font-size: 0.96rem;
  color: #36524E;
  margin-bottom: 24px;
}

.comfort-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.comfort-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(13, 59, 56, 0.08);
}

.comfort-icon {
  color: var(--gold-ochre);
  font-size: 1.05rem;
  line-height: 1.4;
}

.comfort-list strong {
  display: block;
  font-size: 0.95rem;
  color: var(--teal-deep);
}

.comfort-list span {
  font-size: 0.84rem;
  color: var(--sage-forre);
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-outline-gold {
  padding: 13px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--gold-ochre);
  background: transparent;
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-outline-gold:hover {
  background-color: var(--gold-ochre);
  color: var(--pure-white);
}

.btn-solid-teal {
  padding: 13px 26px;
  border-radius: 999px;
  background-color: var(--teal-deep);
  color: var(--pure-white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.3s, transform 0.3s;
}

.btn-solid-teal:hover {
  background-color: var(--teal-river);
  transform: translateY(-2px);
}

/* ==========================================================================
   ATTO IV — IL RISVEGLIO (SAGE & DEEP TEAL BREAKFAST EXPERIENCE)
   ========================================================================== */
.section-breakfast {
  padding: 112px 0 118px;
  background: linear-gradient(165deg, var(--sage-forre) 0%, var(--teal-deep) 68%, var(--teal-darkest) 100%);
  color: var(--pure-white);
  position: relative;
}

.breakfast-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 58px;
}

.breakfast-quote-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.6vw, 3.85rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 18px;
}

.script-accent {
  font-family: var(--font-script);
  font-size: 1.25em;
  color: var(--tuff-cream);
  font-weight: 400;
}

.breakfast-subtitle {
  font-size: 1.05rem;
  color: rgba(250, 248, 243, 0.86);
}

.breakfast-triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.triptych-card {
  background: rgba(8, 38, 36, 0.56);
  border: 1px solid rgba(213, 205, 173, 0.22);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: transform 0.45s var(--ease-cinema), border-color 0.45s;
}

.triptych-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-sun);
}

.triptych-img-wrap {
  position: relative;
  height: clamp(260px, 34vh, 360px);
  overflow: hidden;
  cursor: zoom-in;
}

.triptych-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.85s var(--ease-cinema);
}

.triptych-card:hover .triptych-img-wrap img {
  transform: scale(1.06);
}

.zoom-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(13, 59, 56, 0.84);
  border: 1px solid rgba(216, 171, 107, 0.45);
  color: var(--tuff-cream);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.triptych-meta {
  padding: 26px 24px 28px;
}

.meta-num {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold-sun);
  font-weight: 600;
  margin-bottom: 6px;
}

.triptych-meta h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  margin-bottom: 8px;
  color: var(--pure-white);
}

.triptych-meta p {
  font-size: 0.9rem;
  color: rgba(250, 248, 243, 0.82);
}

/* ==========================================================================
   ATTO V — COSA VISITARE NEI DINTORNI (TERRITORY GUIDE)
   ========================================================================== */
.section-territory {
  padding: 112px 0 116px;
  background: linear-gradient(180deg, var(--tuff-light) 0%, var(--alabaster) 100%);
}

.territory-intro {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 48px;
}

.territory-lead {
  font-size: 1.06rem;
  color: #2E4B47;
  margin: 16px 0 32px;
}

.territory-filters {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 7px;
  border-radius: 999px;
  background: var(--pure-white);
  border: 1px solid rgba(13, 59, 56, 0.12);
  box-shadow: var(--shadow-soft);
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--teal-deep);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn.is-active {
  background-color: var(--teal-deep);
  color: var(--pure-white);
}

.territory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.place-card {
  background: var(--pure-white);
  border-radius: 20px;
  padding: 30px 28px;
  border: 1px solid rgba(87, 104, 85, 0.20);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s var(--ease-cinema), border-color 0.35s;
}

.place-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-ochre);
}

.place-card.is-hidden {
  display: none;
}

.place-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.place-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}

.badge-walk {
  background-color: rgba(13, 59, 56, 0.10);
  color: var(--teal-deep);
}

.badge-nature {
  background-color: rgba(87, 104, 85, 0.16);
  color: var(--sage-olive);
}

.badge-drive {
  background-color: rgba(168, 130, 38, 0.14);
  color: #7D5E14;
}

.place-epoch {
  font-size: 0.75rem;
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--sage-forre);
}

.place-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  line-height: 1.2;
  color: var(--teal-deep);
  margin-bottom: 12px;
}

.place-desc {
  font-size: 0.92rem;
  color: #34504C;
  margin-bottom: 20px;
}

.place-footer {
  padding-top: 14px;
  border-top: 1px solid rgba(13, 59, 56, 0.09);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.place-tip {
  font-size: 0.8rem;
  color: var(--sage-olive);
  font-style: italic;
}

.place-map-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-river);
}

.place-map-link:hover {
  color: var(--gold-ochre);
}

/* ==========================================================================
   ATTO VI — COME RAGGIUNGERCI (GOOGLE MAPS) & PRENOTA IL SOGGIORNO
   ========================================================================== */
.section-location-booking {
  padding: 112px 0 118px;
  background: linear-gradient(180deg, var(--teal-deep) 0%, var(--teal-darkest) 100%);
  color: var(--pure-white);
}

.location-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.section-title-light {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.2vw, 3.5rem);
  font-weight: 500;
  line-height: 1.12;
  margin-bottom: 12px;
}

.script-accent-gold {
  font-family: var(--font-script);
  font-size: 1.25em;
  color: var(--gold-sun);
  font-weight: 400;
}

.location-sub {
  max-width: 680px;
  color: rgba(250, 248, 243, 0.86);
  font-size: 1.02rem;
}

.btn-google-maps-hero {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold-ochre), var(--gold-sun));
  color: var(--teal-darkest);
  box-shadow: 0 16px 38px rgba(168, 130, 38, 0.35);
  transition: transform 0.35s var(--ease-cinema), box-shadow 0.35s;
  flex-shrink: 0;
}

.btn-google-maps-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(216, 171, 107, 0.52);
}

.maps-btn-small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.maps-btn-main {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.map-and-directions-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 32px;
  margin-bottom: 64px;
}

.map-frame-wrapper {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid rgba(216, 171, 107, 0.38);
  box-shadow: var(--shadow-cinema);
  min-height: 460px;
  background: var(--teal-forest);
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  display: block;
}

.map-floating-bar {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: rgba(8, 38, 36, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(216, 171, 107, 0.42);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.map-floating-bar strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.18rem;
  color: var(--pure-white);
}

.map-floating-bar span {
  font-size: 0.8rem;
  color: var(--tuff-cream);
}

.map-bar-btn {
  padding: 9px 16px;
  border-radius: 999px;
  background-color: var(--gold-ochre);
  color: var(--pure-white);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.map-bar-btn:hover {
  background-color: var(--gold-sun);
  color: var(--teal-darkest);
}

.directions-info-card {
  background: rgba(24, 77, 73, 0.38);
  border: 1px solid rgba(213, 205, 173, 0.22);
  border-radius: 22px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.directions-heading {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--tuff-cream);
  margin-bottom: 18px;
}

.direction-block {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(213, 205, 173, 0.14);
}

.dir-tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-sun);
  margin-bottom: 4px;
}

.direction-block p {
  font-size: 0.88rem;
  color: rgba(250, 248, 243, 0.88);
}

.address-summary-box {
  background: rgba(8, 38, 36, 0.65);
  border-radius: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(168, 130, 38, 0.35);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.addr-row {
  display: flex;
  flex-direction: column;
}

.addr-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--gold-sun);
  font-weight: 600;
}

.addr-val {
  font-size: 0.9rem;
  color: var(--pure-white);
}

.addr-phone {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--tuff-cream);
  font-weight: 600;
}

/* Direct Booking Panel */
.booking-concierge-panel {
  background: linear-gradient(135deg, rgba(24, 77, 73, 0.65), rgba(8, 38, 36, 0.9));
  border: 1.5px solid rgba(216, 171, 107, 0.42);
  border-radius: 26px;
  padding: 48px 44px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: center;
  box-shadow: var(--shadow-cinema);
}

.booking-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  color: var(--gold-sun);
  font-weight: 600;
}

.booking-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  line-height: 1.15;
  margin: 10px 0 16px;
}

.booking-desc {
  font-size: 0.98rem;
  color: rgba(250, 248, 243, 0.88);
  margin-bottom: 28px;
}

.direct-contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-call-direct,
.btn-whatsapp-direct {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-call-direct {
  background-color: var(--pure-white);
  color: var(--teal-deep);
}

.btn-whatsapp-direct {
  background-color: #228B5D;
  color: var(--pure-white);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-call-direct:hover,
.btn-whatsapp-direct:hover {
  transform: translateY(-2px);
}

/* Booking Form */
.booking-form {
  background: rgba(8, 38, 36, 0.72);
  padding: 32px 28px;
  border-radius: 20px;
  border: 1px solid rgba(213, 205, 173, 0.2);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tuff-cream);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(213, 205, 173, 0.28);
  background: rgba(13, 59, 56, 0.65);
  color: var(--pure-white);
  font-family: var(--font-sans);
  font-size: 0.92rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-sun);
}

.btn-submit-booking {
  margin-top: 6px;
  padding: 15px 26px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--gold-ochre), var(--gold-sun));
  color: var(--teal-darkest);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-submit-booking:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(216, 171, 107, 0.42);
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
  background-color: #061D1B;
  color: rgba(250, 248, 243, 0.78);
  padding: 72px 0 38px;
  border-top: 1px solid rgba(168, 130, 38, 0.28);
}

.footer-top {
  text-align: center;
  margin-bottom: 48px;
}

.footer-crest {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 0 auto 14px;
  border: 2px solid var(--gold-ochre);
  background: var(--pure-white);
}

.footer-brand-script {
  font-family: var(--font-script);
  font-size: 2.7rem;
  color: var(--pure-white);
  line-height: 1;
}

.footer-brand-serif {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.28em;
  color: var(--tuff-cream);
  margin-top: 2px;
}

.footer-brand-location {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--gold-sun);
  margin-top: 6px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 34px 0;
  border-top: 1px solid rgba(213, 205, 173, 0.14);
  border-bottom: 1px solid rgba(213, 205, 173, 0.14);
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--tuff-cream);
  margin-bottom: 10px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col a:hover {
  color: var(--gold-sun);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.88rem;
}

.footer-bottom {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(213, 205, 173, 0.62);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 29, 27, 0.94);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.lightbox-modal[hidden] {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(216, 171, 107, 0.45);
  color: var(--pure-white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
}

.lightbox-inner {
  max-width: min(1050px, 92vw);
  max-height: 88vh;
  text-align: center;
}

.lightbox-img {
  max-height: 78vh;
  width: auto;
  margin-inline: auto;
  border-radius: 16px;
  border: 1px solid rgba(216, 171, 107, 0.4);
  box-shadow: var(--shadow-cinema);
}

.lightbox-caption {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--tuff-cream);
  font-style: italic;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1080px) {
  .main-nav {
    position: fixed;
    top: 74px;
    left: 16px;
    right: 16px;
    background: rgba(8, 38, 36, 0.97);
    border: 1px solid rgba(216, 171, 107, 0.35);
    border-radius: 18px;
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease-cinema);
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-grid,
  .bedroom-stage,
  .map-and-directions-grid,
  .booking-concierge-panel {
    grid-template-columns: 1fr;
  }

  .breakfast-triptych,
  .territory-grid,
  .pillars-grid {
    grid-template-columns: 1fr 1fr;
  }

  .location-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .prologue-columns,
  .breakfast-triptych,
  .territory-grid,
  .pillars-grid,
  .form-row-2,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .header-phone span {
    display: none;
  }

  .section-header-split {
    flex-direction: column;
    align-items: flex-start;
  }

  .booking-concierge-panel {
    padding: 32px 22px;
  }

  .bedroom-frame {
    min-height: 460px;
  }
}
