/* ═══════════════════════════════════════════════════════════════
   Casa Vacanze Linda — Design System
   Palette: Mattina sul Lago · Pastello Azzurro Calmo
   Fonts:   Playfair Display (titoli) + DM Sans (corpo)
   Ispirazione: Bellevue · Hemma · Luviana · Casamia themes
   ════════════════════════════════════════════════════════════ */

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

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Blues — dal più scuro al più chiaro */
  --deep:      #2D4E6A;   /* blu notte lago: navbar, titoli, bottoni primari */
  --mid:       #3D6484;   /* blu calmo: hover stato, varianti */
  --calm:      #5E8FAE;   /* azzurro cielo: accenti, link */
  --sky:       #A8C8DC;   /* azzurro pallido: decorazioni, stelle */
  --mist:      #E2EFF6;   /* foschia: section alt backgrounds */
  --frost:     #F0F7FB;   /* quasi-bianco azzurrato: bg principale */
  --white:     #FAFCFE;   /* bianco con tinta fredda */

  /* Neutrali caldi — complemento al blu */
  --sand:      #C4AA88;   /* sabbia calda: accento occasionale */
  --sand-lt:   #E8D9C2;

  /* Testi e bordi */
  --stone:     #7A95A8;   /* grigio-blu: testo secondario */
  --stone-lt:  #B0C5D2;   /* grigio-blu chiaro: bordi, placeholder */
  --ink:       #1E3447;   /* inchiostro: headings, testo forte */
  --text:      #3A5468;   /* corpo testo */
  --border:    rgba(90,140,175,.18);
  --border-dk: rgba(90,140,175,.3);

  /* Shadows */
  --sh-sm:  0 2px 12px rgba(45,78,106,.08);
  --sh-md:  0 8px 32px rgba(45,78,106,.12);
  --sh-lg:  0 20px 60px rgba(45,78,106,.16);
  --sh-xl:  0 32px 80px rgba(45,78,106,.20);

  /* Geometry */
  --radius:    4px;
  --radius-lg: 10px;

  /* Motion */
  --ease:     cubic-bezier(.25,.46,.45,.94);
  --ease-out: cubic-bezier(0,.55,.45,1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; transition: color .3s var(--ease); }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -.02em;
}

/* ── Overline label ────────────────────────────────────────── */
.overline {
  font-family: 'DM Sans', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--calm);
  display: block;
}

/* ════════════════════════════════════════════════════════════
   NAVBAR
   Trasparente sull'hero → solida allo scroll
   ════════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  padding: 1.6rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: padding .4s var(--ease), background .4s var(--ease),
              border-color .3s, box-shadow .4s;
}

#navbar.is-solid {
  padding: .9rem 5%;
  background: rgba(250,252,254,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--border);
  box-shadow: var(--sh-sm);
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.nav-brand img { height: 50px; width: auto; transition: height .3s; }
#navbar.is-solid .nav-brand img { height: 38px; }
.nav-brand-words { display: flex; flex-direction: column; }
.nav-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: .01em;
  transition: color .3s;
}
#navbar.is-solid .nav-brand-name { color: var(--ink); }
.nav-brand-sub {
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  font-weight: 400;
  transition: color .3s;
}
#navbar.is-solid .nav-brand-sub { color: var(--stone); }

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: .1rem;
  list-style: none;
}
.nav-links a {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  padding: .5rem .8rem;
  border-radius: var(--radius);
  transition: color .25s, background .25s;
  white-space: nowrap;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.12); }
#navbar.is-solid .nav-links a { color: var(--text); }
#navbar.is-solid .nav-links a:hover { color: var(--deep); background: var(--mist); }

/* CTA prenotazione */
.nav-cta {
  font-size: .7rem !important;
  font-weight: 600 !important;
  letter-spacing: .15em !important;
  background: rgba(255,255,255,.18) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.35) !important;
  backdrop-filter: blur(8px);
  padding: .55rem 1.1rem !important;
  border-radius: var(--radius) !important;
  transition: background .25s, border-color .25s, transform .2s !important;
}
.nav-cta:hover {
  background: rgba(255,255,255,.28) !important;
  transform: translateY(-1px);
}
#navbar.is-solid .nav-cta {
  background: var(--deep) !important;
  color: #fff !important;
  border-color: var(--deep) !important;
}
#navbar.is-solid .nav-cta:hover {
  background: var(--mid) !important;
  border-color: var(--mid) !important;
}

/* Lang switcher — separato dal pulsante prenota */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: .4rem;
  margin-right: 1rem;
  padding-right: 1rem;
  border-right: 1px solid rgba(255,255,255,.2);
}
#navbar.is-solid .lang-switcher { border-right-color: var(--border-dk); }
.lang-switcher a {
  font-size: 1rem;
  opacity: .5;
  transition: opacity .2s, transform .15s;
  display: block;
  line-height: 1;
  padding: 0;
}
.lang-switcher a:hover { opacity: 1; transform: scale(1.25); background: none !important; }
.lang-switcher a.lang-active { opacity: 1; }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  z-index: 902;
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}
#navbar.is-solid .nav-burger span { background: var(--ink); }
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile overlay */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--deep);
  z-index: 901;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
}
.nav-mobile-overlay.open { display: flex; }
.nav-mobile-overlay a {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: rgba(255,255,255,.82);
  font-style: italic;
  transition: color .2s;
}
.nav-mobile-overlay a:hover { color: var(--sky); }

/* ════════════════════════════════════════════════════════════
   HERO — full viewport con foto lago, overlay, booking widget
   ════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  isolation: isolate;        /* crea stacking context esplicito */
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  overflow-x: hidden;
  overflow-y: visible;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 30%;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(20,38,55,.30)  0%,
    rgba(20,38,55,.42)  42%,
    rgba(20,38,55,.60)  100%
  );
}

.hero-body {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  padding: 8.5rem 5% 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: center;
  align-content: center;
  gap: 2.5rem;
}

/* Testo hero — visibile sempre */
.hero-copy {
  position: relative;
  z-index: 3;
  color: #fff;
  opacity: 1;
  visibility: visible;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(200,225,240,.9);
  margin-bottom: 1.4rem;
}
.hero-tag::before {
  content: '';
  display: inline-block;
  width: 2rem; height: 1px;
  background: rgba(168,200,220,.7);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.2rem, 6.5vw, 5.5rem);
  font-weight: 400;
  line-height: 1.03;
  color: #fff;
  margin-bottom: 1.4rem;
}
.hero-title em { font-style: italic; color: rgba(200,225,240,.92); }

.hero-tagline {
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.78;
  color: rgba(255,255,255,.68);
  max-width: 460px;
}

.hero-awards {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.2rem;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(255,255,255,.14);
}
.award-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 400;
  color: #fff;
  line-height: 1;
}
.award-num sup { font-size: 1rem; color: rgba(200,225,240,.8); }
.award-label {
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  margin-top: .2rem;
}
.award-sep { width: 1px; height: 2.5rem; background: rgba(255,255,255,.14); }

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  cursor: pointer;
  opacity: .7;
}
.hero-scroll-cue .sc-bar {
  width: 1px; height: 2.8rem;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollDrop 2s 1.5s ease-in-out infinite;
}
.hero-scroll-cue span {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
}
@keyframes scrollDrop {
  0%, 100% { opacity: .5; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(1.12); }
}

/* ════════════════════════════════════════════════════════════
   BOOKING CARD (dentro l'hero)
   ════════════════════════════════════════════════════════════ */
.booking-card {
  position: relative;
  z-index: 3;
  display: block;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-xl);
  overflow: hidden;
}

.bc-head {
  background: var(--deep);
  padding: 1.4rem 1.8rem 1.3rem;
}
.bc-head-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  color: #fff;
  letter-spacing: -.01em;
  margin-bottom: .2rem;
}
.bc-head-sub {
  font-size: .63rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
}

.bc-body { padding: 1.4rem 1.8rem 1.8rem; }

.bc-field { margin-bottom: .9rem; }
.bc-label {
  display: block;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: .35rem;
}
.bc-input {
  width: 100%;
  padding: .7rem .95rem;
  border: 1px solid var(--border-dk);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem;
  color: var(--ink);
  background: var(--frost);
  transition: border-color .25s, box-shadow .25s;
  appearance: none;
}
.bc-input:focus {
  outline: none;
  border-color: var(--calm);
  box-shadow: 0 0 0 3px rgba(94,143,174,.12);
}
 .bc-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.bc-checkbox-wrap,
.cf-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
}
.bc-checkbox-wrap { margin: .2rem 0 .35rem; }
.cf-checkbox-wrap { margin-top: .2rem; }
.form-check-custom {
  appearance: auto;
  -webkit-appearance: checkbox;
  accent-color: var(--deep);
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  padding: 0 !important;
  margin: .15rem 0 0;
  flex: 0 0 18px;
  border: 0 !important;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  position: relative;
  box-shadow: none !important;
}
.form-check-custom:checked {
  accent-color: var(--deep);
}
.form-check-custom:checked::after {
  content: none !important;
}
.form-check-custom:focus-visible {
  outline: 2px solid rgba(94,143,174,.35);
  outline-offset: 2px;
  box-shadow: none !important;
}
.form-check-label-custom {
  font-size: .75rem;
  color: var(--stone);
  line-height: 1.55;
}
.form-check-label-custom--light {
  color: rgba(255,255,255,.78);
}
.form-check-label-custom--light a {
  color: #fff;
  text-decoration: underline;
}
.form-check-custom--light {
  accent-color: var(--sky);
  background: transparent;
}
.form-check-custom--light:checked {
  accent-color: var(--sky);
}
.form-check-custom--light:checked::after {
  content: none !important;
}

.bc-submit {
  width: 100%;
  margin-top: .4rem;
  padding: .95rem 1rem;
  background: var(--deep);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .3s var(--ease), transform .2s;
}
.bc-submit:hover { background: var(--mid); transform: translateY(-1px); }
.bc-submit:active { transform: translateY(0); }

.bc-legal {
  text-align: center;
  font-size: .7rem;
  color: var(--stone-lt);
  margin-top: .65rem;
}
.bc-legal a { color: var(--stone); text-decoration: underline; text-underline-offset: 2px; }

/* ════════════════════════════════════════════════════════════
   STRIP — 3 stat chiave post-hero
   ════════════════════════════════════════════════════════════ */
.intro-strip {
  background: var(--deep);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.intro-stat {
  padding: 2rem 3rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.07);
}
.intro-stat:last-child { border-right: none; }
.intro-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--sky);
  line-height: 1;
  margin-bottom: .3rem;
}
.intro-stat-num sup { font-size: 1.1rem; vertical-align: super; }
.intro-stat-label {
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
}

/* ════════════════════════════════════════════════════════════
   SEZIONI — layout base
   ════════════════════════════════════════════════════════════ */
.section { padding: 7rem 5%; }
.section--frost  { background: var(--frost); }
.section--mist   { background: var(--mist); }
.section--deep   { background: var(--deep); }

.section-hd {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
}
.section-hd h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 400;
  line-height: 1.12;
}
.section-hd h2 em { font-style: italic; color: var(--calm); }

.section--deep .section-hd h2  { color: #fff; }
.section--deep .section-hd h2 em { color: var(--sky); }
.section--deep .overline { color: var(--sky); }

.section-divider {
  width: 2.5rem; height: 1px;
  background: var(--sky);
  margin: 0 auto;
}
.section--frost .section-divider,
.section--mist  .section-divider,
.section        .section-divider { background: var(--calm); }

/* ════════════════════════════════════════════════════════════
   GALLERIA — mosaico asimmetrico
   Solo foto LANDSCAPE usate qui (portrait → Album.php)
   ════════════════════════════════════════════════════════════ */
.gallery-mosaic {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
  grid-template-rows: 290px 270px;
  gap: 6px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gm-item {
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}
.gm-item:first-child { grid-row: 1 / 3; }
.gm-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.9) saturate(.95);
  transition: transform .65s var(--ease), filter .4s;
}
.gm-item:hover img { transform: scale(1.06); filter: brightness(1) saturate(1); }
.gm-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.2rem 1rem .8rem;
  background: linear-gradient(transparent, rgba(20,38,55,.72));
  color: rgba(255,255,255,.88);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s, transform .3s;
}
.gm-item:hover .gm-label { opacity: 1; transform: translateY(0); }

.gallery-cta-wrap { text-align: center; margin-top: 2.5rem; }

/* Bottoni ─────────────────────────────────────────────────── */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--deep);
  border: 1px solid var(--deep);
  padding: .9rem 2rem;
  border-radius: var(--radius);
  transition: background .3s, color .3s, transform .2s;
}
.btn-outline:hover { background: var(--deep); color: var(--sky); transform: translateY(-1px); }
.btn-outline .arr { transition: transform .3s; }
.btn-outline:hover .arr { transform: translateX(4px); }

.btn-sky {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sky);
  border: 1px solid rgba(168,200,220,.4);
  padding: .9rem 1.8rem;
  border-radius: var(--radius);
  width: fit-content;
  transition: background .3s, border-color .3s, color .3s;
}
.btn-sky:hover { background: var(--sky); color: var(--deep); border-color: var(--sky); }
.btn-sky .arr { transition: transform .3s; }
.btn-sky:hover .arr { transform: translateX(4px); }

/* ════════════════════════════════════════════════════════════
   PREZZI — 3 card per stagione
   ════════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1060px;
  margin: 0 auto;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--border-dk);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .35s, transform .35s;
}
.price-card:hover { box-shadow: var(--sh-md); transform: translateY(-5px); }
.price-card.is-peak { border-color: var(--deep); background: var(--deep); }

.pc-top {
  padding: 1.8rem 2rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.is-peak .pc-top { border-color: rgba(255,255,255,.1); }

.pc-badge {
  display: inline-block;
  background: var(--sky);
  color: var(--deep);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .22rem .65rem;
  border-radius: 2px;
  margin-bottom: .7rem;
}

.pc-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: .2rem;
}
.is-peak .pc-name { color: #fff; }
.pc-months { font-size: .78rem; color: var(--stone); font-weight: 300; }
.is-peak .pc-months { color: rgba(255,255,255,.5); }

.pc-price-block { padding: 1.5rem 2rem 1.2rem; }
.pc-price {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  display: flex; align-items: flex-start; gap: .1rem;
}
.is-peak .pc-price { color: #fff; }
.pc-price .eur { font-size: 1.4rem; margin-top: .4rem; }
.pc-night { font-size: .78rem; color: var(--stone); margin-top: .3rem; font-weight: 300; }
.is-peak .pc-night { color: rgba(255,255,255,.45); }

.pc-features { padding: 0 2rem; list-style: none; }
.pc-features li {
  display: flex; align-items: center; gap: .55rem;
  font-size: .84rem; color: var(--text);
  padding: .55rem 0;
  border-bottom: 1px solid var(--border);
}
.is-peak .pc-features li { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.1); }
.pc-features li:last-child { border: none; }
.pc-features li::before { content: '—'; color: var(--sky); font-size: .65rem; flex-shrink: 0; }

.pc-btn-wrap { padding: 1.5rem 2rem 2rem; }
.pc-btn {
  display: block; width: 100%;
  text-align: center;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  padding: .95rem;
  border-radius: var(--radius);
  border: 1px solid var(--deep);
  color: var(--deep);
  background: transparent;
  transition: background .3s, color .3s;
}
.pc-btn:hover { background: var(--deep); color: #fff; }
.is-peak .pc-btn { border-color: var(--sky); color: var(--sky); }
.is-peak .pc-btn:hover { background: var(--sky); color: var(--deep); border-color: var(--sky); }

/* ════════════════════════════════════════════════════════════
   AMENITIES — griglia icone
   ════════════════════════════════════════════════════════════ */
.amenities-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .85rem;
  max-width: 1060px;
  margin: 0 auto;
}
.amenity {
  display: flex; align-items: flex-start; gap: .9rem;
  padding: 1.3rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .3s, box-shadow .3s;
}
.amenity:hover { border-color: var(--sky); box-shadow: var(--sh-sm); }
.amenity-icon {
  width: 3.2rem; height: 3.2rem;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #f7fbfe 0%, #eef4f8 100%);
  border-radius: 16px;
  border: 1px solid rgba(94,143,174,.12);
  overflow: hidden;
}
.amenity-icon img {
  width: 2.3rem;
  height: 2.3rem;
  object-fit: contain;
  display: block;
}
.amenity-name { font-size: .88rem; font-weight: 500; color: var(--ink); }
.amenity-note { font-size: .75rem; color: var(--stone); font-weight: 300; }

/* ════════════════════════════════════════════════════════════
   RECENSIONI
   ════════════════════════════════════════════════════════════ */
.reviews-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1060px;
  margin: 0 auto;
}
.review-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(168,200,220,.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  transition: background .3s, border-color .3s;
}
.review-card:hover { background: rgba(255,255,255,.1); border-color: var(--sky); }
.review-logo,
.review-card svg {
  width: 60px; height: 60px;
  flex-shrink: 0;
}
.review-score {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem; font-weight: 400;
  color: var(--sky); line-height: 1;
}
.review-score .review-total { display: inline-block; font-size: 1.15rem; color: rgba(255,255,255,.78) !important; opacity: 1 !important; margin-left: .1rem; vertical-align: middle; }
.review-platform {
  font-size: .63rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.38);
}
.review-stars { color: var(--sky); font-size: .9rem; letter-spacing: .12em; }
.review-link {
  font-size: .63rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--sky);
  border: 1px solid rgba(168,200,220,.3);
  padding: .5rem 1.2rem;
  border-radius: 2px;
  margin-top: auto;
  transition: background .3s, border-color .3s, color .3s;
}
.review-link:hover { background: var(--sky); color: var(--deep); border-color: var(--sky); }
.review-link:visited { color: var(--sky); }

/* ════════════════════════════════════════════════════════════
   SPLIT — foto | testo (Guida luoghi)
   ════════════════════════════════════════════════════════════ */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  max-width: 1060px;
  margin: 0 auto;
}
.sf-photo { overflow: hidden; min-height: 440px; }
.sf-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.split-feature:hover .sf-photo img { transform: scale(1.04); }
.sf-body {
  background: var(--deep);
  padding: 4.5rem 3.5rem;
  display: flex; flex-direction: column; justify-content: center;
  color: rgba(255,255,255,.68);
}
.sf-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 400;
  color: #fff; font-style: italic;
  margin: .75rem 0 1.2rem;
}
.sf-body p { font-size: .9rem; line-height: 1.8; margin-bottom: 2rem; }

/* ════════════════════════════════════════════════════════════
   CALENDARIO + SIDEBAR CONTATTO
   ════════════════════════════════════════════════════════════ */
.cal-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3.5rem;
  max-width: 1060px;
  margin: 0 auto;
}
.cal-legend {
  display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.cal-legend-item {
  display: flex; align-items: center; gap: .45rem;
  font-size: .82rem; color: rgba(44,62,80,.88); font-weight: 500;
}
.cal-legend-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }

.contact-sidebar {
  background: var(--deep);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  color: rgba(255,255,255,.72);
  position: sticky;
  top: 5rem;
}
.contact-sidebar h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 400; font-style: italic;
  color: #fff; margin: .5rem 0 .75rem;
}
.contact-sidebar p { font-size: .85rem; line-height: 1.7; margin-bottom: 1.25rem; }

.contact-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .8rem .95rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  color: rgba(255,255,255,.75);
  font-size: .84rem;
  margin-bottom: .6rem;
  transition: border-color .3s, color .3s, background .3s;
}
.contact-link:hover { border-color: var(--sky); color: var(--sky); background: rgba(168,200,220,.05); }
.contact-link .ci { font-size: 1.05rem; }
.contact-link .cm {
  display: block;
  font-size: .62rem; text-transform: uppercase;
  letter-spacing: .08em; color: rgba(255,255,255,.3);
  margin-top: .1rem;
}

.contact-form-mini { display: flex; flex-direction: column; gap: .65rem; margin-top: 1.25rem; }
.contact-form-mini a { color:#fff; text-decoration: underline; }
.cf-input {
  padding: .7rem .95rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: .84rem;
  transition: border-color .25s;
}
.cf-input::placeholder { color: rgba(255,255,255,.32); }
.cf-input:focus { outline: none; border-color: var(--sky); }
.cf-submit {
  padding: .85rem;
  background: var(--sky);
  color: var(--deep);
  font-family: 'DM Sans', sans-serif;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  border: none; border-radius: var(--radius);
  cursor: pointer;
  transition: background .3s, transform .2s;
}
.cf-submit:hover { background: var(--stone-lt); transform: translateY(-1px); }

/* FullCalendar overrides */
.fc { font-family: 'DM Sans', sans-serif; font-size: .84rem; }
.fc .fc-toolbar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 400;
  color: var(--ink);
}
.fc .fc-button-primary {
  background: var(--deep) !important;
  border-color: var(--deep) !important;
  font-size: .65rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .65rem;
  border-radius: var(--radius) !important;
}
.fc .fc-button-primary:hover {
  background: var(--mid) !important;
  border-color: var(--mid) !important;
}
.fc .fc-button .fc-icon { font-size: 1.1rem; line-height: 1; }
.fc .fc-button .fc-icon::before { font-weight: 700; }
.fc .fc-day-today { background: rgba(94,143,174,.07) !important; }
.fc-theme-standard td, .fc-theme-standard th { border-color: var(--border) !important; }
.fc .fc-daygrid-day-number { color: var(--text); }

/* ════════════════════════════════════════════════════════════
   MAPPA
   ════════════════════════════════════════════════════════════ */
.map-shell { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--sh-md); }
.map-address-bar {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--mist);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.map-address-bar .pin { font-size: 1.1rem; }
.mab-text .mab-main { font-size: .88rem; font-weight: 500; color: var(--ink); }
.mab-text .mab-sub  { font-size: .75rem; color: var(--stone); }
.mab-link {
  margin-left: auto;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--deep);
  border: 1px solid var(--border-dk);
  padding: .5rem 1rem;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s;
}
.mab-link:hover { background: var(--deep); color: var(--sky); border-color: var(--deep); }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.footer {
  background: #192E40;
  color: rgba(255,255,255,.52);
  padding: 5rem 5% 2.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand img { height: 44px; opacity: .8; margin-bottom: 1rem; }
.footer-brand p { font-size: .84rem; line-height: 1.75; max-width: 270px; }
.footer-cin { margin-top: 1.2rem; font-size: .68rem; color: rgba(255,255,255,.26); line-height: 1.65; }

.footer-col-title {
  font-size: .65rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1.25rem;
  display: block;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a,
.footer-bottom a,
.bc-legal a { font-size: .82rem; color: rgba(255,255,255,.56) !important; transition: color .2s; }
.footer-col a:visited,
.footer-bottom a:visited,
.bc-legal a:visited { color: rgba(255,255,255,.56) !important; }
.footer-col a:hover,
.footer-bottom a:hover,
.bc-legal a:hover { color: var(--sky) !important; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
  padding-top: 2rem;
  font-size: .75rem;
  color: rgba(255,255,255,.24);
}
.footer-bottom a { color: rgba(255,255,255,.56) !important; transition: color .2s; }
.footer-bottom a:visited { color: rgba(255,255,255,.56) !important; }
.footer-bottom a:hover { color: var(--sky) !important; }

/* ════════════════════════════════════════════════════════════
   LIGHTBOX
   ════════════════════════════════════════════════════════════ */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(10,20,32,.96);
  z-index: 9999;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lb-img {
  max-width: 92vw; max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lb-close {
  position: absolute; top: 1.5rem; right: 2rem;
  color: rgba(255,255,255,.55);
  font-size: 2rem;
  background: none; border: none; cursor: pointer;
  line-height: 1; transition: color .2s;
}
.lb-close:hover { color: var(--sky); }

/* ════════════════════════════════════════════════════════════
   ANIMAZIONI
   ════════════════════════════════════════════════════════════ */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ════════════════════════════════════════════════════════════
   ALBUM.PHP — galleria interna
   ════════════════════════════════════════════════════════════ */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
}
.album-item { overflow: hidden; border-radius: var(--radius); cursor: zoom-in; }
.album-item img {
  width: 100%; height: 220px;
  object-fit: cover;
  filter: brightness(.92) saturate(.95);
  transition: transform .5s var(--ease), filter .3s;
}
.album-item img.portrait { height: 320px; }  /* foto verticali → più alte */
.album-item:hover img { transform: scale(1.05); filter: brightness(1) saturate(1); }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-body { grid-template-columns: 1fr; }
  .booking-card { max-width: 480px; }
  .split-feature { grid-template-columns: 1fr; }
  .sf-photo { min-height: 300px; }
  .cal-layout { grid-template-columns: 1fr; }
  .contact-sidebar { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .reviews-row  { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .gallery-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-mosaic .gm-item:first-child { grid-row: auto; grid-column: 1 / 3; height: 260px; }
  .intro-strip { grid-template-columns: 1fr; }
  .intro-stat  { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .intro-stat:last-child { border-bottom: none; }
}
@media (max-width: 768px) {
  .section { padding: 5rem 5%; }
  #navbar { padding: 1.2rem 5%; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .hero-body {
    min-height: auto;
    padding: 6.5rem 5% 3.5rem;
  }
  .hero-title { font-size: clamp(2.6rem, 10vw, 3.8rem); }
  .hero-awards { gap: 1.2rem; }
  .bc-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .gallery-mosaic { grid-template-columns: 1fr; }
  .gallery-mosaic .gm-item:first-child { grid-column: 1; height: 240px; }
  .gallery-mosaic .gm-item { height: 200px; }
  .hero-awards { flex-wrap: wrap; gap: 1rem; }
}

/* ── Nav brand: niente underline mai ──────────────────────── */
.nav-brand,
.nav-brand:hover,
.nav-brand:focus {
  text-decoration: none !important;
}
.nav-brand-name,
.nav-brand-sub {
  text-decoration: none !important;
}

/* ── Skip link: nascosto ──────────────────────────────────── */
.skip-link {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* ── Pagine interne: body background evita il bianco ──────── */
body.page-storia,
body.page-album,
body.page-legal {
  background: var(--deep);
}
/* Il main nelle pagine interne ha padding per la navbar fissa */
body.page-storia main,
body.page-album  main,
body.page-legal  main {
  background: var(--white);
  padding-top: 0;
}

/* ── Storia/Album/Legal navbar: sempre solida ─────────────── */
body.page-storia #navbar,
body.page-album  #navbar,
body.page-legal  #navbar {
  background: rgba(250,252,254,.97) !important;
  backdrop-filter: blur(14px);
  border-color: var(--border) !important;
  box-shadow: var(--sh-sm) !important;
}
body.page-storia .nav-brand-name,
body.page-album  .nav-brand-name,
body.page-legal  .nav-brand-name { color: var(--ink) !important; }
body.page-storia .nav-brand-sub,
body.page-album  .nav-brand-sub,
body.page-legal  .nav-brand-sub  { color: var(--stone) !important; }
body.page-storia .nav-links a,
body.page-album  .nav-links a,
body.page-legal  .nav-links a    { color: var(--text) !important; }
body.page-storia .nav-links a:hover,
body.page-album  .nav-links a:hover,
body.page-legal  .nav-links a:hover { color: var(--deep) !important; background: var(--mist) !important; }
body.page-storia .nav-burger span,
body.page-album  .nav-burger span,
body.page-legal  .nav-burger span { background: var(--ink) !important; }
body.page-storia .nav-cta,
body.page-album  .nav-cta,
body.page-legal  .nav-cta {
  background: var(--deep) !important;
  color: #fff !important;
  border-color: var(--deep) !important;
}
body.page-storia .lang-switcher,
body.page-album  .lang-switcher,
body.page-legal  .lang-switcher { border-right-color: var(--border-dk) !important; }


/* Fix leggibilità review score e controlli calendario */
.fc .fc-button {
  font-family: Arial, Helvetica, sans-serif;
  font-size: .9rem;
  font-weight: 700;
}
.fc .fc-prev-button,
.fc .fc-next-button {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: .95rem !important;
  line-height: 1 !important;
  min-width: 42px;
  width: 42px;
  height: 38px;
  padding: .25rem .4rem;
  letter-spacing: 0;
}
.fc .fc-today-button {
  height: 38px;
  padding: .35rem .8rem;
  font-size: .8rem !important;
}


/* Fix visibilità calendario e recensioni */
.fc .fc-bg-event .fc-event-title,
.fc .fc-bg-event .fc-event-time,
.fc .fc-daygrid-event .fc-event-title,
.fc .fc-daygrid-event .fc-event-time,
.fc .fc-event-title-container {
  display: none !important;
}
.review-platform { color: rgba(255,255,255,.5); }
