/* =========================================================
   LA DIMORA — Foglio di stile principale
   Palette boutique: crema / verde foresta / nero
   Sostituisci colori, font e immagini per personalizzare.
   ========================================================= */

:root {
  --cream:        #F4F1EA;   /* sfondo principale chiaro */
  --cream-soft:   #EDE8DD;   /* sezioni alternate */
  --ink:          #1A1A1A;   /* testo / sezioni scure */
  --ink-soft:     #222220;
  --green:        #2E3D2F;   /* verde foresta accento */
  --green-deep:   #243024;
  --sage:         #7E8C6A;   /* verde salvia: pulsanti */
  --sage-deep:    #6B7857;   /* salvia scuro: footer, hover, sezioni scure */
  --sage-soft:    #9CA886;   /* salvia chiaro: banner host */
  --muted:        #6B6760;   /* testo secondario */
  --line:         #D8D2C5;   /* bordi sottili */
  --white:        #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Jost', 'Helvetica Neue', Arial, sans-serif;

  --maxw: 1180px;
  --radius: 999px;
  --transition: .35s cubic-bezier(.2,.7,.3,1);
}

/* ---------- Reset di base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 .4em;
  letter-spacing: .5px;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.5rem; }
p  { margin: 0 0 1.1em; color: #2c2a26; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 1.1rem;
  display: inline-block;
}
.eyebrow.light { color: #c9c3b4; }

.lead { font-size: 1.12rem; color: #43403a; }

/* Badge riconoscimento (es. Bandiera Arancione del Touring Club) */
.badge-orange {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  padding: 7px 15px 7px 13px;
  border: 1px solid #E1A24B;
  border-radius: 999px;
  background: rgba(225,150,60,.10);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .66rem;
  font-weight: 600;
  color: #B26A15;
}
.badge-orange__dot {
  flex: none;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #E8801A;
  box-shadow: 0 0 0 3px rgba(232,128,26,.18);
}

/* ---------- Layout helper ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(70px, 9vw, 130px) 0; }
.center { text-align: center; }
.narrow { max-width: 680px; margin-left: auto; margin-right: auto; }
.section--dark { background: var(--sage-deep); color: var(--cream); }
.section--dark p { color: #c9c3b4; }
.section--soft { background: var(--cream-soft); }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 500;
  padding: 15px 32px;
  border-radius: var(--radius);
  border: 1.5px solid var(--sage);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn:hover { background: var(--sage); color: var(--cream); }
.btn--solid { background: var(--sage); border-color: var(--sage); color: var(--cream); }
.btn--solid:hover { background: var(--sage-deep); border-color: var(--sage-deep); }
.btn--green { background: var(--sage); border-color: var(--sage); color: #fff; }
.btn--green:hover { background: var(--sage-deep); border-color: var(--sage-deep); }
.btn--light { border-color: var(--cream); color: var(--cream); }
.btn--light:hover { background: var(--cream); color: var(--ink); }
.btn--ghost-light { border-color: rgba(255,255,255,.5); color:#fff; }
.btn--ghost-light:hover { background:#fff; color: var(--ink); }

/* Riga di pulsanti: spaziatura coerente ovunque */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.center .btn-row { justify-content: center; }

.textlink {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: var(--transition);
}
.textlink:hover { color: var(--green); }

/* =========================================================
   HEADER / NAVIGAZIONE
   ========================================================= */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px 0;
}
.site-header.solid {
  position: sticky;
  background: var(--ink);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: .56rem;
  letter-spacing: .4em;
  color: #b4ae9e;
  margin-top: 4px;
}
/* Logo immagine */
.brand-logo { display: block; height: 56px; width: auto; }
/* Su header e footer scuri il logo viene reso in bianco per leggibilità.
   Se vuoi i colori originali (verde), elimina questa riga. */
.site-header .brand-logo,
.site-footer .brand-logo { filter: brightness(0) invert(1); }
.site-footer .brand-logo { height: 64px; margin-bottom: 6px; }
@media (max-width: 820px){ .brand-logo { height: 46px; } }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  /* Spinge il menu e il selettore lingua a destra, lasciando il brand a sinistra */
  margin-left: auto;
}
.nav-links a {
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 600;
  opacity: .92;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { opacity: 1; color: #fff; }
.nav-cta { margin-left: 6px; }
/* Pulsante "Chiama per prenotare": nascosto su desktop, visibile solo su mobile */
.call-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--cream);
  transition: var(--transition);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,9,.82) 0%, rgba(10,10,9,.45) 45%, rgba(10,10,9,.15) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(60px, 10vw, 130px);
  padding-top: 160px;
  max-width: 640px;
}
.hero h1 { margin-bottom: .25em; }
.hero p { color: #ddd8cb; font-size: 1.15rem; max-width: 420px; }
.hero .btn-row { margin-top: 26px; }

/* Hero compatto per le pagine interne */
.page-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset:0; background-size: cover; background-position: center; }
.page-hero__media::after { content:""; position:absolute; inset:0; background: rgba(12,12,10,.55); }
.page-hero__inner { position: relative; z-index: 2; padding: 150px 24px 60px; max-width: 760px; }
.page-hero p { color: #d8d3c6; }

/* ---------- Striscia prenotazione ---------- */
.booking-bar {
  position: relative;
  z-index: 5;
  margin-top: -42px;
  background: var(--white);
  box-shadow: 0 24px 60px -28px rgba(0,0,0,.35);
}
.booking-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  align-items: end;
  gap: 0;
}
.booking-field {
  padding: 22px 26px;
  border-right: 1px solid var(--line);
}
.booking-field label {
  display: block;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .62rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.booking-field input,
.booking-field select {
  border: none;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  background: transparent;
  width: 100%;
  outline: none;
}
.booking-bar .btn { border-radius: 0; height: 100%; padding: 0 38px; }

/* =========================================================
   SEZIONI / CARD
   ========================================================= */
/* intro testo + immagine */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
}
.split--reverse .split__media { order: 2; }
.split__media img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.split__media.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.split__media.duo img:first-child { margin-top: 36px; }

/* card a 3 colonne (quartieri / esperienze) */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.cards--2 { grid-template-columns: repeat(2, 1fr); }
/* Carosello scorrevole delle card su mobile */
@media (max-width: 700px) {
  .cards--carousel {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    scroll-padding-left: 20px;
    padding-bottom: 6px;
  }
  .cards--carousel::-webkit-scrollbar { display: none; }
  .cards--carousel > .card {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }
}
.card { }
.card__img {
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 18px;
  aspect-ratio: 4/5;
}
.card__img img { width:100%; height:100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__img img { transform: scale(1.05); }
.card h3 { font-size: 1.35rem; margin-bottom: .2em; }
.card .meta {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .68rem;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* card servizi su sfondo scuro */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.feature {
  background: var(--cream);
  color: var(--ink);
  padding: 0 0 26px;
  border-radius: 4px;
  overflow: hidden;
}
.feature img { aspect-ratio: 4/3; object-fit: cover; width: 100%; margin-bottom: 22px; }
.feature .feature__body { padding: 0 18px; }
.feature h3 { font-size: 1.35rem; }
.feature p { font-size: .96rem; }

/* lista servizi semplice (icone) */
.amenities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 40px;
}
.amenity {
  display: flex;
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.amenity .ico {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--green);
  flex-shrink: 0;
}
.amenity h4 { font-family: var(--font-body); font-weight:600; text-transform: uppercase; letter-spacing:.1em; font-size:.78rem; margin:0 0 4px; }
.amenity p { font-size: .9rem; margin: 0; color: var(--muted); }

/* =========================================================
   PAGINA SERVIZI — sezioni dedicate con galleria
   ========================================================= */
.service__inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
  max-width: 1260px;
}
.service--reverse { grid-template-columns: .8fr 1.2fr; }
.service--reverse .carousel { order: 2; }
.service__body p:last-child { margin-bottom: 0; }

/* ---------- Carosello immagini ---------- */
.carousel { position: relative; border-radius: 4px; overflow: hidden; }
.carousel__track {
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  transition: height .45s ease;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track img {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  scroll-snap-align: center;
  display: block;
}
/* Frecce minimali: chevron sottile su disco appena accennato */
.carousel__btn,
.strip-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; padding: 0;
  border: none; background: rgba(255,255,255,.55); color: var(--ink);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition); z-index: 2;
}
.carousel__btn svg,
.strip-btn svg { width: 15px; height: 15px; display: block; }
.carousel__btn:hover,
.strip-btn:hover { background: rgba(255,255,255,.92); }
.carousel__btn--prev, .strip-btn--prev { left: 12px; }
.carousel__btn--next, .strip-btn--next { right: 12px; }
/* Nascosta a inizio/fine scorrimento */
.strip-btn.is-hidden { opacity: 0; pointer-events: none; }
.carousel__dots {
  position: absolute; bottom: 14px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 8px; z-index: 2;
}
.carousel__dots button {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
  background: rgba(255,255,255,.55); cursor: pointer; transition: var(--transition);
}
.carousel__dots button.is-active { background: #fff; width: 22px; border-radius: 4px; }
@media (max-width: 560px) {
  .carousel__btn, .strip-btn { width: 30px; height: 30px; }
  .carousel__btn svg, .strip-btn svg { width: 13px; height: 13px; }
}

/* =========================================================
   CAMERE
   ========================================================= */
.room {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(40px, 6vw, 70px) 0;
  border-bottom: 1px solid var(--line);
}
.room:last-child { border-bottom: none; }
.room--reverse .room__media { order: 2; }
.room__media img { width:100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 4px; }
.room__price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--green);
}
.room__price small { font-family: var(--font-body); font-size: .72rem; letter-spacing:.14em; text-transform: uppercase; color: var(--muted); }
.room__feats { display:flex; flex-wrap:wrap; gap:10px 18px; margin: 4px 0 22px; }
.room__feats li {
  font-size: .8rem; letter-spacing:.06em; color: var(--muted);
  display:flex; align-items:center; gap:7px;
}
.room__feats li::before { content:"—"; color: var(--green); }
/* Offset per i link ancora (Scopri/Attività/Eventi) */
#scopri, #attivita, #eventi { scroll-margin-top: 90px; }
/* Carosello dentro le camere */
.room > .carousel { order: 0; }
.room--reverse > .carousel { order: 2; }
/* Servizi della camera con icone */
.room__amenities {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  margin: 6px 0 24px;
  padding: 0;
}
.room__amenities li {
  display: flex; align-items: center; gap: 10px;
  font-size: .82rem; letter-spacing: .03em; color: var(--ink);
}
.room__amenities svg { width: 21px; height: 21px; color: var(--green); flex: 0 0 auto; }
@media (max-width: 560px) {
  .room__amenities { grid-template-columns: repeat(2, 1fr); gap: 12px 14px; }
  .room__amenities li { font-size: .76rem; }
}

/* =========================================================
   ESCLUSIVA / BANNER SCURO
   ========================================================= */
.feature-banner {
  display: grid;
  /* minmax(0,1fr) e non 1fr: con 1fr il minimo della colonna è il min-content,
     e un pulsante lungo (white-space:nowrap) allargherebbe la griglia oltre lo schermo */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.feature-banner__media { position: relative; min-height: 420px; }
.feature-banner__media img { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; }
.feature-banner__body { padding: clamp(40px, 6vw, 80px); align-self:center; min-width: 0; }
.feature-banner__body h2 { color: var(--cream); }
.feature-banner--green { background: var(--sage-soft); color: var(--ink); }
.feature-banner--green .feature-banner__body h2 { color: var(--ink); }
.feature-banner--green .feature-banner__body p { color: var(--ink-soft); }
.feature-banner--green .feature-banner__body .eyebrow.light { color: #4A5638; }
/* Banner con foto orizzontale a bassa risoluzione: più largo e più basso (solo desktop) */
@media (min-width: 901px) {
  .feature-banner--compact {
    grid-template-columns: 1.15fr .85fr;
    align-items: stretch;
  }
  .feature-banner--compact .feature-banner__media { min-height: 260px; }
  .feature-banner--compact .feature-banner__body { padding: clamp(26px, 3vw, 44px); }
}

/* =========================================================
   RECENSIONI
   ========================================================= */
.quote { max-width: 660px; margin: 0 auto; text-align:center; }
.quote .stars { color: var(--green); letter-spacing:4px; margin: 10px 0 18px; }
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.25;
  margin: 0 0 18px;
}
.quote cite { font-style: normal; text-transform: uppercase; letter-spacing:.18em; font-size:.72rem; color: var(--muted); }

/* =========================================================
   GALLERIA A NASTRO
   ========================================================= */
.strip-wrap { position: relative; }
/* Le frecce servono solo dove la galleria diventa scorrevole (vedi sotto) */
.strip-btn { display: none; }
.strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.strip img { aspect-ratio: 1; object-fit: cover; width:100%; }
/* Galleria come carosello scorrevole su mobile */
@media (max-width: 700px) {
  .strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    scroll-padding-left: 12px;
    padding: 0 12px 6px;
  }
  .strip::-webkit-scrollbar { display: none; }
  .strip img { flex: 0 0 78%; scroll-snap-align: center; }
  .strip-btn { display: flex; }
}

/* =========================================================
   CONTATTI
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 70px);
}
.info-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.info-list .label { text-transform: uppercase; letter-spacing:.18em; font-size:.66rem; color: var(--green); display:block; margin-bottom:5px; }
.info-list .val { font-size: 1.05rem; }
.map-embed { width:100%; height:100%; min-height: 360px; border:0; border-radius:4px; filter: grayscale(.2) contrast(1.02); }

/* Arrivando da "Prenota"/"Verifica disponibilità" si atterra sul modulo, con un po' d'aria sopra */
#prenota { scroll-margin-top: 24px; }

.form-result { margin-top: 14px; font-size: .92rem; min-height: 1.2em; }
.form-result.is-ok { color: var(--sage-deep); }
.form-result.is-error { color: #b3261e; }

/* Scheda mappa (sostituisce l'iframe di Google Maps: nessun cookie di terze parti) */
.map-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
}
.map-card__pin {
  display: flex; align-items: center; justify-content: center;
  background: var(--sage-soft);
  color: var(--green-deep);
}
.map-card__pin svg { width: 44px; height: 44px; }
.map-card__body { padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.map-card__body strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; }
.map-card__body .addr { color: var(--muted); font-size: .95rem; }
.map-card__body .btn { margin-top: 14px; align-self: flex-start; }
.map-note { font-size: .8rem; color: var(--muted); margin: 10px 2px 0; }
@media (max-width: 480px) {
  .map-card { grid-template-columns: 1fr; }
  .map-card__pin { padding: 18px 0; }
}

/* Consenso privacy nel modulo */
.field--consent { margin-top: 6px; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-transform: none;
  letter-spacing: normal;
  font-size: .9rem;
  color: var(--ink);
  margin: 0;
  cursor: pointer;
}
.consent input { width: auto; margin: 3px 0 0; padding: 0; flex: none; }
.consent a { text-decoration: underline; }

/* Pagine legali (Privacy / Cookie Policy) */
.legal { max-width: 820px; }
.legal .updated { color: var(--muted); font-size: .85rem; margin-bottom: 2em; }
.legal h2 { font-size: 1.7rem; margin: 1.7em 0 .5em; }
.legal h3 { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; color: var(--green); margin: 1.4em 0 .5em; }
.legal p, .legal li { color: #43403a; }
.legal ul { list-style: disc; padding-left: 1.25em; margin: 0 0 1.1em; }
.legal li { margin-bottom: .4em; }
.legal a { text-decoration: underline; }
.legal .todo { background: #FBEFD6; border: 1px dashed #E1A24B; color: #8a5a12; padding: 1px 7px; border-radius: 4px; font-size: .92em; }

/* Link legali nel footer */
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { opacity: .8; }
.footer-legal a:hover { opacity: 1; color: #fff; }

form .field { margin-bottom: 18px; }
form label { display:block; text-transform:uppercase; letter-spacing:.14em; font-size:.66rem; color: var(--muted); margin-bottom:7px; }
form input, form textarea, form select {
  width:100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--font-body);
  font-size: .96rem;
  border-radius: 3px;
  outline: none;
  transition: var(--transition);
}
form input:focus, form textarea:focus { border-color: var(--green); }
form textarea { min-height: 130px; resize: vertical; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--sage-deep); color: #E3E7D7; }
.footer-top { padding: 70px 0 50px; display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: var(--cream); }
.footer-col h4 { font-family: var(--font-body); text-transform:uppercase; letter-spacing:.18em; font-size:.7rem; color: var(--cream); margin-bottom: 16px; }
.footer-col a { display:block; padding: 6px 0; font-size:.9rem; opacity:.8; transition: var(--transition); }
.footer-col a:hover { opacity:1; color:#fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  display:flex; justify-content: space-between; align-items:center; gap:14px;
  font-size: .78rem; letter-spacing:.04em;
}
.socials { display:flex; gap: 16px; }
.socials a { opacity:.8; } .socials a:hover { opacity:1; }
.footer-col a.footer-contact { display:flex; align-items:center; gap:10px; }
.footer-contact svg { width:18px; height:18px; flex:none; opacity:.85; }

/* =========================================================
   UTILITY ANIMAZIONE INGRESSO
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .feature-grid, .cards, .amenities { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 82vw);
    background: var(--green);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px;
    gap: 22px;
    transform: translateX(100%);
    transition: var(--transition);
    z-index: 60;
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: .9rem; }
  .nav-toggle { display: flex; z-index: 70; }
  .call-cta-mobile { display: inline-flex; margin-bottom: 22px; }
  /* Il selettore lingua esce dal menu e resta a fianco dell'hamburger */
  .lang-switch { margin-left: auto; }
  .nav .lang-switch + .nav-toggle { margin-left: 4px; }
  .split, .room, .room--reverse .room__media,
  .feature-banner, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .service__inner { grid-template-columns: 1fr; }
  .service--reverse .carousel { order: 0; }
  .room--reverse .room__media { order: 0; }
  .room--reverse > .carousel { order: 0; }
  .split--reverse .split__media { order: 0; }
  .split__media.duo img:first-child { margin-top: 0; }
  .booking-bar__grid { grid-template-columns: 1fr 1fr; }
  .booking-bar .btn { grid-column: 1 / -1; padding: 18px; }
  .feature-banner__media { min-height: 280px; }
}
@media (max-width: 560px) {
  /* Su schermi stretti un'etichetta lunga va a capo invece di sfondare il contenitore */
  .btn { white-space: normal; text-align: center; padding: 14px 26px; }
  .feature-grid, .cards, .cards--2, .amenities { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .site-footer .brand-logo { margin-left: auto; margin-right: auto; }
  .footer-col a.footer-contact { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-bottom .socials { justify-content: center; }
  /* Modulo prenotazione compatto: 2 campi per riga invece di impilarli */
  .booking-bar__grid { grid-template-columns: 1fr 1fr; }
  .booking-field {
    padding: 12px 16px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .booking-field:nth-child(2n) { border-right: none; }
  .booking-field label { font-size: .56rem; letter-spacing: .14em; margin-bottom: 3px; }
  .booking-field input,
  .booking-field select { font-size: 1.02rem; }
  .booking-bar .btn { grid-column: 1 / -1; padding: 15px; }
}

/* Hero della home: su mobile inquadra la foto più verso sinistra che al centro */
@media (max-width: 700px) {
  .hero__media { background-position: 20% center; }
}

/* ===================== DISTANZE / POSIZIONE ===================== */
.distances {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0 44px;
}
.distances li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
}
.distances li span { color: var(--ink-soft); }
.distances li strong {
  white-space: nowrap;
  color: var(--sage-deep);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.distances-note {
  text-align: center;
  margin-top: 22px;
  font-size: .9rem;
  color: var(--muted);
}

/* ===================== FAQ ===================== */
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 2px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex: none;
  font-family: 'Jost', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--sage-deep);
  transition: transform .25s ease;
}
.faq details[open] summary::after {
  content: '–';
}
.faq details > p {
  margin: -4px 2px 22px;
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.7;
}

/* ===================== SELETTORE LINGUA ===================== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.lang-switch a {
  color: var(--cream);
  opacity: .5;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
  font-weight: 600;
}
.lang-switch a:hover { opacity: 1; color: #fff; }
.lang-switch a.is-current { opacity: 1; color: #fff; }
.lang-switch .sep { opacity: .3; font-size: .66rem; color: var(--cream); }

/* =========================================================
   FONT AUTO-OSPITATI (self-hosted) — nessuna chiamata a Google Fonts
   Generati da Google Fonts, sottoinsiemi latin + latin-ext
   ========================================================= */
/* Cormorant Garamond 500 italic · latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-500-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond 500 italic · latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-500-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cormorant Garamond 400 normal · latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-400-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond 400 normal · latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cormorant Garamond 500 normal · latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-500-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond 500 normal · latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cormorant Garamond 600 normal · latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-600-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond 600 normal · latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-600-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Jost 300 normal · latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/jost-300-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Jost 300 normal · latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/jost-300-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Jost 400 normal · latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jost-400-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Jost 400 normal · latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jost-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Jost 500 normal · latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jost-500-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Jost 500 normal · latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jost-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Jost 600 normal · latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/jost-600-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Jost 600 normal · latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/jost-600-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
