/*
Theme Name: Villa Bianca Salento
Theme URI: https://villabiancasalento.it
Author: EvoWebDesignStudio
Author URI: https://gabrywebdesign.com
Description: Tema WordPress personalizzato per Villa Bianca Salento, casa vacanze a Torre Chianca.
Version: 3.3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: villa-bianca-salento
*/

/* Modalità archivio: la chiusura resta leggibile anche dopo la chiusura del popup. */
.villa-is-closed .site-header { position: relative; top: 0 !important; background: var(--olive-dark); }
.villa-is-closed .hero { min-height: min(720px, 80vh); }
.header-closed { justify-self: end; color: #fff; border: 1px solid rgba(255,255,255,.55); padding: 10px 14px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; text-align: center; }
.closure-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 14px; padding: 17px max(24px, calc((100vw - 1194px)/2)); color: #284035; background: #e9e6dc; border-bottom: 1px solid #d2c9b7; font-size: 12px; line-height: 1.7; }
.closure-strip strong { font-weight: 600; }
.closure-strip-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #a76547; }
.mobile-closed { align-self: center; justify-self: center; color: white; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.closure-overlay[hidden] { display: none !important; }
.closure-overlay { position: fixed; inset: 0; z-index: 10001; display: grid; place-items: center; padding: 24px; background: rgba(22,34,28,.72); }
.closure-dialog { width: min(100%, 510px); max-height: min(90vh, 680px); overflow: auto; padding: clamp(30px,5vw,55px); border: 1px solid #d8ceba; background: #fbfaf7; text-align: center; box-shadow: 0 20px 80px rgba(0,0,0,.22); }
.closure-dialog-mark { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 18px; border: 1px solid #d8ceba; border-radius: 50%; color: #676c50; font-size: 27px; }
.closure-dialog-eyebrow { margin: 0 0 10px; color: #746f59; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.closure-dialog h2 { margin: 0 0 15px; color: #29352c; font: 500 clamp(33px,5vw,47px)/1.05 "Cormorant Garamond", Georgia, serif; }
.closure-dialog p:not(.closure-dialog-eyebrow) { margin: 0 auto 27px; max-width: 390px; line-height: 1.75; font-size: 13px; }
.closure-dialog-button { width: 100%; min-height: 48px; padding: 12px 20px; color: #fff; background: #555740; border: 0; font-size: 12px; font-weight: 600; letter-spacing: .03em; }
.closure-dialog-button:hover { background: #374332; }
@media (max-width: 820px) {
  .villa-is-closed .site-header { position: relative; }
  .header-closed { display: none; }
  .closure-strip { padding: 14px 20px; justify-content: flex-start; }
  .villa-is-closed .mobile-actions { grid-template-columns: 1fr 1fr 1.25fr; }
}
@media print { .closure-overlay { display: none !important; } }

@font-face { font-family:"Cormorant Garamond"; src:url("assets/fonts/cormorant-garamond-400.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Cormorant Garamond"; src:url("assets/fonts/cormorant-garamond-500.woff2") format("woff2"); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:"Montserrat"; src:url("assets/fonts/montserrat-400.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Montserrat"; src:url("assets/fonts/montserrat-500.woff2") format("woff2"); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:"Montserrat"; src:url("assets/fonts/montserrat-600.woff2") format("woff2"); font-weight:600; font-style:normal; font-display:swap; }

:root {
  --ink: #28261f;
  --olive: #6f7052;
  --olive-dark: #555740;
  --cream: #f4f0e8;
  --paper: #fbfaf7;
  --line: #dedbd3;
  --muted: #67645d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Montserrat", Arial, sans-serif; }
body, button, input, select, textarea { font-family: "Montserrat", Arial, sans-serif; }
button, input, select, textarea { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #d8b66d; outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { z-index: 9999; top: 12px; left: 12px; width: auto; height: auto; padding: 12px 16px; clip: auto; color: var(--ink); background: white; }

.section-shell { width: min(1194px, calc(100% - 56px)); margin-inline: auto; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 250px 1fr 125px;
  align-items: center;
  width: 100%;
  height: 92px;
  padding: 16px 3.35vw;
  color: white;
}

.header-logo {
  display: grid;
  place-items: center;
  width: 210px;
  height: 76px;
  padding: 0;
  overflow: hidden;
}

.header-logo img {
  width: 210px !important;
  height: 76px !important;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 1px 12px rgba(0,0,0,.24));
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 1.25vw, 22px);
  font-size: 12px;
  font-weight: 500;
  text-shadow: 0 1px 16px rgba(0,0,0,.4);
}

.main-nav a { position: relative; padding: 12px 0; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 0;
  height: 1px;
  background: white;
  transition: width .2s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { width: 100%; }

.header-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 114px;
  height: 44px;
  color: white;
  background: rgba(103, 105, 76, .94);
  border: 1px solid rgba(255,255,255,.09);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 600;
}
.header-book-link { text-decoration: none; }
.header-book:hover { background: var(--olive-dark); }
.menu-toggle { display: none; }

.hero { position: relative; height: 600px; overflow: hidden; color: white; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center 53%; }
.hero-overlay { position: absolute; inset: 0; background: rgba(23, 22, 15, .22); }
.hero-content {
  position: absolute;
  z-index: 2;
  top: 170px;
  left: max(52px, calc((100vw - 1194px) / 2));
  max-width: 570px;
  text-shadow: 0 2px 24px rgba(0,0,0,.28);
}
.hero-kicker, .eyebrow {
  margin: 0;
  color: var(--olive-dark);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: 10px;
  font-weight: 600;
}
.hero-kicker { margin-bottom: 17px; color: white; font-size: 11px; }
.hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(52px, 4.35vw, 68px);
  line-height: .89;
  letter-spacing: -.025em;
  font-weight: 400;
}
.hero-copy { max-width: 470px; margin: 21px 0 25px; font-size: 14px; line-height: 1.65; }
.hero-actions { display: flex; gap: 10px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 153px;
  min-height: 44px;
  padding: 0 18px;
  text-transform: uppercase;
  letter-spacing: .035em;
  font-size: 11px;
  font-weight: 600;
}
.button-solid { color: white; background: rgba(103, 105, 76, .96); border: 1px solid rgba(103, 105, 76, .96); }
.button-outline { color: white; background: transparent; border: 1px solid rgba(255,255,255,.88); }
.button:hover { background: white; border-color: white; color: var(--ink); }

.availability {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr 1fr .9fr 224px;
  align-items: center;
  width: min(1088px, calc(100% - 48px));
  min-height: 84px;
  margin: -42px auto 0;
  padding: 17px 16px 17px 28px;
  background: rgba(251,250,247,.98);
  border: 1px solid rgba(43,40,31,.08);
  border-radius: 3px;
  box-shadow: 0 8px 18px rgba(40,36,26,.14);
}
.availability > label { min-width: 0; padding-right: 21px; border-right: 1px solid #e6e2db; }
.availability > label + label { padding-left: 22px; }
.availability > label > span:first-child,
.booking-form label,
.booking-summary small {
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 10px;
  font-weight: 500;
}
.input-shell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.input-shell svg { flex: 0 0 auto; }
.input-shell input, .input-shell select {
  width: 100%;
  min-width: 0;
  height: 24px;
  padding: 0;
  color: #76736d;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 12px;
}
.availability > button {
  justify-self: end;
  width: 224px;
  height: 46px;
  color: white;
  background: var(--olive);
  border: 0;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 11px;
  font-weight: 600;
}
.availability > button:hover { background: var(--olive-dark); }

.welcome {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  min-height: 360px;
  padding: 82px 0 62px;
}
.welcome-copy { align-self: center; }
.welcome .eyebrow { margin-bottom: 8px; }
.welcome h2,
.rooms-heading h2,
.gallery-section h2,
.territory h2,
.booking-summary h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.012em;
}
.welcome h2 { font-size: 43px; line-height: 1.05; }
.welcome-copy > p:last-child { max-width: 540px; margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.welcome > img { width: 100%; height: 310px; object-fit: cover; object-position: center 57%; }

.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; min-height: 128px; margin: 0 auto 74px; }
.highlights article {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  padding: 22px;
  background: #fff;
  border: 1px solid #e7e3dc;
  box-shadow: 0 5px 15px rgba(49,44,33,.06);
}
.highlights svg { justify-self: center; color: var(--olive); }
.highlights h3 { margin: 0 0 7px; font-family: "Cormorant Garamond", Georgia, serif; text-transform: uppercase; letter-spacing: .04em; font-size: 20px; font-weight: 500; }
.highlights p { margin: 0; color: #5f5b54; font-size: 11px; line-height: 1.6; }

.rooms-section { padding: 76px 0 84px; background: #fff; }
.rooms-heading { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: end; margin-bottom: 34px; }
.rooms-heading .eyebrow { margin-bottom: 9px; }
.rooms-heading h2 { margin: 0; font-size: 46px; line-height: 1; }
.rooms-heading > p { max-width: 650px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.rooms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.room-card { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 355px; background: var(--paper); border: 1px solid #e7e3dc; overflow: hidden; }
.room-card-image { min-height: 355px; overflow: hidden; }
.room-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.room-card:hover .room-card-image img { transform: scale(1.025); }
.room-card-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 28px 24px; }
.room-number { margin: 0 0 10px; color: var(--olive); font-family: "Cormorant Garamond", Georgia, serif; font-size: 19px; }
.room-card h3 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 29px; font-weight: 500; line-height: 1; }
.room-card-copy > p:not(.room-number):not(.room-card-rate) { margin: 13px 0 14px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.room-card-rate, .room-rate { margin: 0 0 12px; color: var(--olive-dark); font-size: 12px; line-height: 1.5; }
.room-card-rate strong, .room-rate strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; font-weight: 500; }
.room-card-facts { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 16px; padding: 0; color: var(--muted); list-style: none; font-size: 10px; line-height: 1.5; }
.room-card-facts li { position: relative; padding-left: 10px; }
.room-card-facts li::before { content: ""; position: absolute; top: .6em; left: 0; width: 4px; height: 4px; background: var(--olive); border-radius: 50%; }
.room-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: auto; padding: 0 4px; color: var(--olive-dark); background: transparent; border: 0; border-bottom: 1px solid #b8b5a4; text-transform: uppercase; letter-spacing: .07em; font-size: 10px; font-weight: 600; }
.room-cta i { font-size: 14px; }

.gallery-section { padding: 66px 0 76px; background: #f6f2e9; }
.gallery-section h2 { margin-bottom: 30px; text-align: center; font-size: 43px; line-height: 1; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; grid-auto-rows: 220px; gap: 10px; }
.gallery .gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery .gallery-item:nth-child(8) { grid-column: span 2; }

.territory { display: grid; grid-template-columns: 1fr 1.06fr; min-height: 360px; background: #f3efe6; overflow: hidden; }
.territory-media { position: relative; min-height: 420px; overflow: hidden; }
.territory-media > img:first-child { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: center 57%; }
.territory-detail { position: absolute; right: 24px; bottom: 24px; width: 31%; height: 58%; object-fit: cover; border: 6px solid rgba(255,255,255,.92); box-shadow: 0 14px 34px rgba(30,32,22,.2); }
.territory-copy { display: grid; grid-template-columns: 38px 1fr; gap: 18px; align-items: center; padding: 58px 7vw 52px 54px; }
.territory-copy > svg { margin-top: 2px; color: var(--olive); }
.territory h2 { font-size: 43px; line-height: .95; }
.territory p { max-width: 620px; margin: 16px 0 22px; color: #524f48; font-size: 13px; line-height: 1.7; }
.territory a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; color: white; background: var(--olive); text-transform: uppercase; letter-spacing: .05em; font-size: 9px; font-weight: 600; }

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  min-height: 70px;
  padding: 20px 22px;
  color: white;
  background: var(--olive-dark);
  font-size: 11px;
}
footer a { display: inline-flex; align-items: center; gap: 6px; opacity: .9; }
footer span:first-child { font-weight: 500; }
footer .footer-credit { color: rgba(255,255,255,.76); }
footer .footer-credit a { border-bottom: 1px solid rgba(255,255,255,.42); font-weight: 600; opacity: 1; }
footer .footer-credit a:hover { color: #fff; border-bottom-color: #fff; }
.mobile-actions { display: none; }

.gallery-item {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: #ece8df;
  border: 0;
}
.gallery-item::after {
  content: "+";
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: rgba(39,38,31,.72);
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .2s ease, transform .2s ease;
}
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; transform: translateY(0); }
.gallery-item img { transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.025); }

.gallery-lightbox {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: 58px 24px 22px;
  color: #fff;
  background: rgba(20,20,16,.94);
}
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox img { max-width: min(1280px, 94vw); max-height: calc(100vh - 130px); object-fit: contain; }
.gallery-lightbox p { margin: 18px 0 0; font-size: 12px; text-align: center; }
.gallery-lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
}
.gallery-lightbox-close i { font-size: 22px; }

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(26,25,20,.72);
  overflow-y: auto;
}
.booking-modal {
  position: relative;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  width: min(930px, 100%);
  max-height: calc(100vh - 48px);
  background: var(--paper);
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  z-index: 2;
  top: 15px;
  right: 15px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.booking-summary { padding: 52px 40px; color: white; background: var(--olive-dark); }
.booking-summary .eyebrow { margin-bottom: 15px; color: #e3dfcf; }
.booking-summary h2 { max-width: 300px; font-size: 45px; line-height: .95; }
.booking-summary > p:not(.modal-contact) { margin: 19px 0 25px; color: rgba(255,255,255,.77); font-size: 11px; line-height: 1.65; }
.rate-list { border-top: 1px solid rgba(255,255,255,.25); }
.rate-list div { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.rate-list span { font-size: 9px; }
.rate-list strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 27px; font-weight: 500; }
.booking-summary > small { margin-top: 14px; color: rgba(255,255,255,.62); line-height: 1.5; text-transform: none; letter-spacing: 0; }
.modal-contact { display: flex; align-items: center; gap: 8px; margin: 26px 0 0; font-size: 10px; }
.booking-form { padding: 52px 46px 38px; }
.booking-form label { margin: 0 0 15px; color: #5e5a51; font-size: 10px; }
.booking-form input:not([type="checkbox"]), .booking-form select, .booking-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 0 11px;
  background: white;
  border: 1px solid var(--line);
  outline: none;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}
.booking-form input:not([type="checkbox"]), .booking-form select { height: 40px; }
.booking-form textarea { height: 65px; padding-top: 11px; resize: vertical; }
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { border-color: var(--olive); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.booking-form .privacy-check { display: flex; align-items: flex-start; gap: 8px; text-transform: none; letter-spacing: 0; font-size: 11px; line-height: 1.55; }
.privacy-check a, .booking-terms a { text-decoration: underline; text-underline-offset: 2px; }
.booking-terms { margin: -4px 0 15px; color: #5e5a51; font-size: 10px; line-height: 1.5; }
.privacy-check input { margin: 1px 0 0; }
.modal-submit { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 45px; color: white; background: var(--olive); border: 0; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; font-weight: 600; }
.booking-result { display: flex; align-items: flex-start; gap: 8px; margin: 13px 0 0; padding: 11px; color: #36523c; background: #edf2e9; font-size: 11px; line-height: 1.5; }
.booking-result svg { flex: 0 0 auto; }
.booking-modal-engine { display: block; width: min(1120px, 100%); }
.booking-engine { padding: 46px 34px 34px; }
.booking-engine .evb-booking-widget { margin-inline: auto; }

.villa-inner-page .site-header, .villa-no-hero .site-header { position: relative; color: #fff; background: var(--olive-dark); box-shadow: 0 3px 18px rgba(34,34,25,.12); }
.villa-inner-page .default-page { padding-top: 90px; }
.villa-no-hero .availability { margin-top: 0; }
.not-found-page { display: grid; place-items: center; min-height: 72vh; padding: 90px 24px; background: var(--cream); text-align: center; }
.not-found-card { max-width: 680px; }
.not-found-code { margin: 0; color: rgba(111,112,82,.18); font-family: "Cormorant Garamond", Georgia, serif; font-size: 150px; line-height: .7; }
.not-found-page h1 { margin: 24px 0 14px; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(45px, 6vw, 70px); font-weight: 500; line-height: 1; }
.not-found-page p:not(.eyebrow):not(.not-found-code) { color: var(--muted); font-size: 15px; line-height: 1.7; }
.not-found-actions { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
.button-quiet { color: var(--olive-dark); border: 1px solid var(--olive); }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 210px 1fr 105px; padding-inline: 24px; }
  .header-logo { width: 194px; }
  .header-logo img { width: 194px !important; }
  .main-nav { gap: 16px; font-size: 11px; }
  .header-book { width: 100px; }
  .hero-content { left: 8vw; }
  .territory-copy { padding-left: 30px; padding-right: 30px; }
  footer { gap: 22px; }
}

@media (max-width: 820px) {
  .section-shell { width: min(100% - 40px, 680px); }
  .site-header { display: flex; justify-content: space-between; height: 72px; padding: 12px 20px; }
  .header-logo { width: 176px; height: 62px; }
  .header-logo img { width: 176px !important; height: 62px !important; }
  .header-book { display: none; }
  .menu-toggle { position: relative; z-index: 25; display: grid; place-items: center; width: 43px; height: 43px; color: white; background: rgba(65,66,48,.72); border: 1px solid rgba(255,255,255,.55); }
  .main-nav {
    position: fixed;
    z-index: 24;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding: 80px 12vw;
    color: white;
    background: var(--olive-dark);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 32px;
    text-shadow: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { width: 100%; border-bottom: 1px solid rgba(255,255,255,.18); }
  .hero { height: 680px; }
  .hero-image { object-position: 60% center; }
  .hero-overlay { background: rgba(22,21,15,.36); }
  .hero-content { top: auto; left: 24px; right: 24px; bottom: 96px; }
  .hero h1 { font-size: clamp(54px, 14vw, 78px); }
  .hero-copy { max-width: 470px; font-size: 13px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .button { width: 100%; max-width: 310px; }
  .availability { grid-template-columns: 1fr; gap: 0; width: calc(100% - 40px); height: auto; margin: -48px auto 0; padding: 17px 20px; }
  .availability > label, .availability > label + label { padding: 10px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .availability > button { justify-self: stretch; width: 100%; height: 45px; margin-top: 14px; }
  .welcome { grid-template-columns: 1fr; gap: 22px; height: auto; padding: 58px 0 30px; }
  .welcome h2 { font-size: 42px; }
  .welcome-copy > p:last-child { font-size: 12px; }
  .welcome > img { height: 265px; }
  .highlights { grid-template-columns: 1fr; height: auto; }
  .highlights article { min-height: 100px; }
	.rooms-section { padding: 56px 0 62px; }
	.rooms-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px; }
	.rooms-heading h2 { font-size: 42px; }
	.rooms-heading > p { font-size: 12px; }
	.rooms-grid { grid-template-columns: 1fr; }
  .gallery-section { height: auto; padding: 38px 0 24px; }
  .gallery-section h2 { height: auto; margin-bottom: 18px; font-size: 39px; }
  .gallery { grid-template-columns: 1fr 1fr; height: auto; }
	.gallery .gallery-item { height: 180px; }
	.gallery .gallery-item:first-child { grid-column: span 2; grid-row: span 2; height: 370px; }
	.gallery .gallery-item:nth-child(8) { grid-column: span 2; }
  .territory { grid-template-columns: 1fr; height: auto; margin-top: 0; }
	.territory-media { min-height: 300px; }
	.territory-media > img:first-child { height: 300px; min-height: 300px; }
	.territory-detail { right: 16px; bottom: 16px; width: 29%; height: 54%; border-width: 4px; }
  .territory-copy { padding: 28px 24px 34px; }
  .territory h2 { font-size: 40px; }
  .territory p { margin: 9px 0 16px; font-size: 11px; }
  .territory a { min-height: 34px; font-size: 8px; }
  footer { flex-wrap: wrap; height: auto; gap: 12px 22px; padding: 25px 20px 82px; font-size: 9px; }
  footer .footer-address, footer .footer-credit { width: 100%; justify-content: center; text-align: center; }
  .mobile-actions { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: 1fr 1fr 1.25fr; overflow: hidden; color: white; background: var(--olive-dark); border: 1px solid rgba(255,255,255,.35); border-radius: 4px; box-shadow: 0 8px 28px rgba(24,24,17,.3); }
  .mobile-actions a, .mobile-actions button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 58px; padding: 7px 5px; color: white; background: transparent; border: 0; border-right: 1px solid rgba(255,255,255,.18); font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
  .mobile-actions button { background: var(--olive); border-right: 0; }
  .mobile-actions i { font-size: 19px; }
  .booking-engine { padding: 42px 10px 16px; }
  .booking-modal { grid-template-columns: 1fr; max-height: none; }
  .booking-summary { padding: 45px 28px 34px; }
  .booking-summary h2 { font-size: 42px; }
  .booking-form { padding: 35px 24px 28px; }
}

@media (max-width: 480px) {
  .hero { height: 650px; }
  .hero-content { bottom: 88px; }
  .hero h1 { font-size: 54px; }
  .hero-actions { gap: 8px; }
	.room-card { grid-template-columns: 1fr; }
	.room-card-image { min-height: 245px; }
	.room-card-copy { min-height: 225px; }
  .gallery { grid-template-columns: 1fr; }
	.gallery .gallery-item, .gallery .gallery-item:first-child, .gallery .gallery-item:nth-child(8) { grid-column: auto; grid-row: auto; height: 230px; }
  .highlights article { grid-template-columns: 66px 1fr; padding-inline: 12px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .modal-backdrop { padding: 0; place-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

[hidden] { display:none !important; }
.main-nav li { margin:0; list-style:none; }
.input-shell i { flex:0 0 auto; font-size:20px; }
.highlights > article > i { justify-self:center; color:var(--olive); font-size:49px; }
.territory-copy > i { margin-top:2px; color:var(--olive); font-size:31px; }
footer i { font-size:14px; }
.modal-close i { font-size:24px; }
.modal-contact i { font-size:18px; }
.modal-submit i { font-size:17px; }
.booking-result i { flex:0 0 auto; font-size:21px; }
.default-page { min-height:70vh; padding:150px 8vw 90px; }
.default-page h1 { margin:0 0 30px; font-family:"Cormorant Garamond",Georgia,serif; font-size:clamp(46px,6vw,84px); font-weight:500; line-height:1; }
.entry-content { max-width:850px; font-size:16px; line-height:1.75; }
body.admin-bar .site-header { top:32px; }
body.admin-bar.villa-inner-page .site-header { top:0; }
@media (max-width:782px) { body.admin-bar .site-header { top:46px; } body.admin-bar.villa-inner-page .site-header { top:0; } }

/* Versione 3.0: collegamenti editoriali della homepage. */
.home-explore {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 0;
  margin-bottom: 76px;
}
.home-explore > a {
  position: relative;
  min-height: 215px;
  padding: 29px 25px 55px;
  background: #fff;
  border: 1px solid #e7e3dc;
  transition: transform .2s ease, box-shadow .2s ease;
}
.home-explore > a:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(49,44,33,.09); }
.home-explore span { color: var(--olive); text-transform: uppercase; letter-spacing: .16em; font-size: 9px; font-weight: 600; }
.home-explore h2 { margin: 13px 0 11px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 28px; font-weight: 500; line-height: 1.02; }
.home-explore p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.home-explore i { position: absolute; right: 23px; bottom: 22px; color: var(--olive); font-size: 20px; }

/* Versione 3.0: pagine interne dedicate. */
.structured-page { background: var(--paper); }
.inner-hero { position: relative; min-height: 470px; overflow: hidden; color: #fff; }
.inner-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.inner-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,27,19,.72) 0%, rgba(27,27,19,.32) 58%, rgba(27,27,19,.15) 100%); }
.inner-hero-copy { position: relative; z-index: 2; padding-top: 168px; padding-bottom: 72px; }
.inner-hero-copy .eyebrow { color: #ece8d9; }
.inner-hero h1 { max-width: 760px; margin: 12px 0 13px; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(56px, 6vw, 82px); font-weight: 400; line-height: .92; }
.inner-hero-copy > p:last-child { max-width: 700px; margin: 0; font-size: 14px; line-height: 1.75; }
.breadcrumbs { display: flex; align-items: center; gap: 9px; margin-bottom: 34px; color: rgba(255,255,255,.78); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.inner-content { padding-top: 76px; padding-bottom: 42px; }
.structured-page .entry-content { max-width: none; }
.structured-page .entry-content > h2 { max-width: 820px; margin: 0 0 20px; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(39px, 4vw, 55px); font-weight: 500; line-height: 1; }
.structured-page .entry-content > p { max-width: 850px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.structured-page .entry-content ul { padding-left: 20px; color: var(--muted); }
.terms-deposit { margin-top: 0; margin-bottom: 54px; padding: 30px 34px; background: #fff; border: 1px solid #ddd8ce; border-left: 4px solid var(--olive); }
.terms-deposit h2 { margin: 0 0 12px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 34px; font-weight: 500; line-height: 1; }
.terms-deposit p { max-width: 900px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.vb-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 38px; }
.vb-content-grid > div { padding: 28px; background: #fff; border: 1px solid #e7e3dc; }
.vb-content-grid h3 { margin: 0 0 10px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 27px; font-weight: 500; }
.vb-content-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.vb-image-pair { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; padding-bottom: 84px; }
.vb-image-pair img { width: 100%; height: 470px; object-fit: cover; }
.vb-image-pair img:last-child { height: 390px; margin-top: 80px; }

.inner-rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-bottom: 82px; }
.inner-room-card { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 340px; background: #fff; border: 1px solid #e7e3dc; overflow: hidden; }
.inner-room-card > img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.inner-room-card > div { padding: 30px 25px; }
.inner-room-card h2 { margin: 0 0 14px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 31px; font-weight: 500; }
.inner-room-card p:not(.room-number):not(.room-rate), .inner-room-card li { color: var(--muted); font-size: 13px; line-height: 1.65; }
.inner-room-card ul { padding-left: 18px; }
.inner-room-card .room-facts { margin: 0; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-bottom: 82px; }
.services-grid article { display: grid; place-items: center; min-height: 155px; padding: 22px; background: #fff; border: 1px solid #e7e3dc; text-align: center; }
.services-grid i { color: var(--olive); font-size: 35px; }
.services-grid h2 { margin: 13px 0 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; font-weight: 500; }
.event-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-bottom: 82px; }
.event-facts article { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 155px; padding: 20px; color: #fff; background: var(--olive-dark); text-align: center; }
.event-facts strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 53px; font-weight: 400; line-height: 1; }
.event-facts i { margin-bottom: 13px; font-size: 38px; }
.event-facts span { margin-top: 8px; font-size: 11px; line-height: 1.5; }
.territory-gallery { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 12px; padding-bottom: 82px; }
.territory-gallery img { width: 100%; height: 390px; object-fit: cover; }
.full-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 10px; padding-bottom: 82px; }
.full-gallery .gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.full-gallery .gallery-item:nth-child(1), .full-gallery .gallery-item:nth-child(10), .full-gallery .gallery-item:nth-child(16) { grid-column: span 2; }
.full-gallery .gallery-item:nth-child(1) { grid-row: span 2; }

.room-booking-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin-top: 15px; padding: 0 4px; color: var(--olive-dark); border-bottom: 1px solid #b8b5a4; text-transform: uppercase; letter-spacing: .07em; font-size: 10px; font-weight: 600; }

.event-request { display: flex; align-items: center; justify-content: space-between; gap: 34px; margin-bottom: 82px; padding: 38px; background: #fff; border: 1px solid #e7e3dc; }
.event-request h2 { margin: 8px 0 10px; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(34px, 4vw, 48px); font-weight: 500; line-height: 1; }
.event-request p:not(.eyebrow) { max-width: 720px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.event-request > .button { flex: 0 0 auto; }

.structured-page .inner-content.legal-layout, .legal-page .legal-layout { display: grid; grid-template-columns: 255px minmax(0, 1fr); gap: clamp(38px, 6vw, 86px); align-items: start; }
.legal-page > article { width: min(1194px, calc(100% - 56px)); margin-inline: auto; }
.legal-navigation { position: sticky; top: 28px; padding: 25px 22px; background: #fff; border: 1px solid #e1ddd4; }
.legal-navigation-title { margin: 0 0 14px; color: var(--olive-dark); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 600; }
.legal-navigation ol { margin: 0; padding-left: 20px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.legal-navigation li + li { margin-top: 8px; }
.legal-navigation a { text-decoration: underline; text-decoration-color: #c9c5ba; text-underline-offset: 3px; }
.legal-navigation a:hover { color: var(--olive-dark); text-decoration-color: currentColor; }
.legal-print { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin-top: 20px; padding: 8px 10px; color: #fff; background: var(--olive); border: 0; text-transform: uppercase; letter-spacing: .05em; font-size: 9px; font-weight: 600; }
.legal-layout .entry-content { max-width: 820px; }
.legal-layout .entry-content h2 { scroll-margin-top: 28px; }
.structured-page .legal-layout .entry-content > h2, .legal-page .entry-content h2 { margin: 38px 0 13px; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(28px, 3vw, 37px); font-weight: 500; line-height: 1.08; }
.structured-page .legal-layout .entry-content > h2:first-of-type, .legal-page .entry-content h2:first-of-type { margin-top: 0; }
.legal-layout .entry-content p, .legal-layout .entry-content li { color: var(--muted); font-size: 14px; line-height: 1.75; }

.booking-page-engine { padding-bottom: 82px; }
.booking-page-engine .evb-booking-widget { max-width: 1120px; margin-inline: auto; }
.booking-deposit-note { display: flex; align-items: flex-start; gap: 12px; max-width: 1120px; margin: 0 auto 18px; padding: 15px 17px; color: #4f5140; background: #f0f1e8; border-left: 4px solid var(--olive); font-size: 12px; line-height: 1.65; }
.booking-deposit-note i { flex: 0 0 auto; margin-top: 2px; color: var(--olive-dark); font-size: 21px; }
.booking-engine > .booking-deposit-note { margin-top: 0; }
.booking-unavailable { padding: 45px; background: #fff; border: 1px solid #e7e3dc; text-align: center; }
.booking-unavailable h2 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 40px; font-weight: 500; }
.booking-unavailable p { color: var(--muted); }
.quick-contact { display: flex; justify-content: center; gap: 10px; margin-top: 25px; }
.quick-contact a { min-width: 140px; padding: 13px 18px; color: #fff; background: var(--olive); text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-bottom: 82px; }
.contact-grid > a { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; gap: 3px 16px; align-items: center; min-height: 135px; padding: 25px; background: #fff; border: 1px solid #e7e3dc; }
.contact-grid i { grid-row: 1 / span 2; color: var(--olive); font-size: 37px; }
.contact-grid span { color: var(--muted); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; }
.contact-grid strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; font-weight: 500; overflow-wrap: anywhere; }
.inner-cta { padding: 58px 0; color: #fff; background: var(--olive-dark); }
.inner-cta > div { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.inner-cta .eyebrow { color: #dedbc9; }
.inner-cta h2 { margin: 8px 0 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(32px, 4vw, 48px); font-weight: 500; line-height: 1; }
.inner-cta .button:hover { color: var(--ink); }
.mobile-actions .mobile-booking-link { background: var(--olive); border-right: 0; }

@media (max-width: 1080px) {
  .home-explore { grid-template-columns: 1fr 1fr; }
  .inner-rooms { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .home-explore { grid-template-columns: 1fr; margin-bottom: 56px; }
  .home-explore > a { min-height: 170px; }
  .inner-hero { min-height: 510px; }
  .inner-hero-copy { padding-top: 145px; padding-bottom: 55px; }
  .inner-hero h1 { font-size: 57px; }
  .inner-content { padding-top: 52px; }
  .vb-content-grid, .vb-image-pair, .contact-grid { grid-template-columns: 1fr; }
  .vb-image-pair img, .vb-image-pair img:last-child { height: 300px; margin-top: 0; }
  .services-grid, .event-facts { grid-template-columns: 1fr 1fr; }
  .territory-gallery { grid-template-columns: 1fr 1fr; }
  .territory-gallery img { height: 260px; }
  .territory-gallery img:first-child { grid-column: span 2; }
  .full-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
  .inner-cta > div { align-items: flex-start; flex-direction: column; }
  .quick-contact { flex-direction: column; }
	.structured-page .inner-content.legal-layout, .legal-page .legal-layout { grid-template-columns: 1fr; }
	.legal-navigation { position: static; }
	.event-request { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .inner-room-card { grid-template-columns: 1fr; }
  .inner-room-card > img { min-height: 270px; height: 270px; }
  .services-grid, .event-facts { grid-template-columns: 1fr; }
  .territory-gallery, .full-gallery { grid-template-columns: 1fr; }
  .territory-gallery img, .territory-gallery img:first-child, .full-gallery .gallery-item, .full-gallery .gallery-item:nth-child(1), .full-gallery .gallery-item:nth-child(10), .full-gallery .gallery-item:nth-child(16) { grid-column: auto; grid-row: auto; height: 245px; }
}

@media print {
  .site-header, footer, .mobile-actions, .inner-hero, .inner-cta, .legal-navigation, .cmplz-manage-consent { display: none !important; }
  .default-page, .inner-content { padding: 0 !important; }
  .legal-layout, .structured-page .inner-content.legal-layout, .legal-page .legal-layout { display: block; }
  .legal-layout .entry-content { max-width: none; color: #000; }
  .legal-layout a { color: #000; text-decoration: underline; }
}
