@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

/* ============================================================
   MERCURE OLBIA – Main Stylesheet
   ============================================================ */

/* ---------- GLOBAL VARIABLES ---------- */
:root {
  /* Palette */
  --white:        #FFFFFF;
  --off-white:    #FAFAF7;
  --cream:        #F5F1EC;
  --accent:       #CCB193;
  --accent-hover: #B89B78;
  --accent-light: rgba(204, 177, 147, .12);
  --text:         #7A7A7A;
  --text-dark:    #1E1E1E;
  --text-light:   #A8A8A8;
  --border:       #E8E4DF;
  --dark:         #1E1E1E;
  --overlay:      rgba(30, 30, 30, .45);

  /* Typography */
  --font-heading: 'DM Serif Display', 'Georgia', serif;
  --font-body:    'Outfit', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --section-py:   120px;
  --section-px:   5vw;
  --gap:          30px;

  /* Radius */
  --radius:       6px;
  --radius-lg:    12px;

  /* Transition */
  --ease:         cubic-bezier(.25,.46,.45,.94);
  --speed:        .4s;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--accent); text-decoration: none; transition: color var(--speed) var(--ease); }
a:hover { color: var(--accent-hover); }

ul, ol { list-style: none; }

::selection {
  background: var(--accent);
  color: var(--white);
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h4 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; font-weight: 500; }

p { margin-bottom: 1rem; }

.text-accent  { color: var(--accent) !important; }
.text-dark    { color: var(--text-dark) !important; }
.text-light   { color: var(--text-light) !important; }
.text-white   { color: var(--white) !important; }
.text-center  { text-align: center; }
.text-upper   { text-transform: uppercase; letter-spacing: .15em; font-size: .82rem; }

.label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 12px;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 680px;
}
.room-lead {
  max-width: 100%;
}

.lead-center {
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- LAYOUT HELPERS ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--section-px);
}
.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--section-px);
}

.section {
  padding: var(--section-py) 0;
}
.section-sm {
  padding: 80px 0;
}
.section-white { background: var(--white); }
.section-cream { background: var(--cream); }
.section-off   { background: var(--off-white); }
.section-dark  { background: var(--dark); color: var(--white); }
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }
.section-dark .label { color: var(--accent); }

.grid {
  display: grid;
  gap: var(--gap);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.flex-gap { gap: var(--gap); }
.flex-gap .btn { min-width: 160px; justify-content: center; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0  { margin-bottom: 0 !important; }
.mb-1  { margin-bottom: .5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.mb-4  { margin-bottom: 2rem; }
.mb-5  { margin-bottom: 3rem; }
.mt-4  { margin-top: 2rem; }
.mt-5  { margin-top: 3rem; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .82rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--speed) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}
.btn-outline:hover {
  background: var(--text-dark);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--text-dark);
}

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline-accent:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
}

.btn-nav {
  padding: 8px 22px;
  font-size: .82rem;
  letter-spacing: .06em;
  margin-left: 16px;
  border-radius: var(--radius);
}

.mobile-cta {
  display: block;
  margin: 20px 24px 0;
  padding: 14px 0;
  text-align: center;
  background: var(--accent);
  color: var(--white) !important;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: .05em;
  border-radius: var(--radius);
  transition: background .3s var(--ease);
}
.mobile-cta:hover {
  background: var(--accent-hover);
}

.btn-text {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  font-weight: 400;
  font-size: .82rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
}
.btn-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--speed) var(--ease);
}
.btn-text:hover::after { width: 100%; }

/* ---------- DIVIDERS ---------- */
.divider {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 20px 0;
}
.divider-center {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 20px auto;
}

/* ---------- HEADER / NAVBAR ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10001;
  padding: 20px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  transition: all .5s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  padding: 12px 40px;
  box-shadow: 0 1px 30px rgba(0,0,0,.06);
}
.site-header.scrolled .header-logo-white { display: none; }
.site-header.scrolled .header-logo-dark  { display: block; }
.site-header.scrolled .hamburger span { background: var(--text-dark); }

/* Menu aperto: come in cima pagina — logo bianco su sfondo scuro (backdrop) */
.site-header.nav-open {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.site-header.nav-open .header-logo-white { display: block; }
.site-header.nav-open .header-logo-dark { display: none; }
.site-header.nav-open .hamburger span { background: var(--white); }

.header-logo-link {
  justify-self: center;
  grid-column: 2;
  display: block;
  line-height: 0;
}
.header-logo {
  height: 44px;
  width: auto;
}
.header-logo-dark { display: none; }

/* Home desktop: logo bianco più leggibile su video hero */
@media (min-width: 769px) {
  body.page-home .site-header:not(.scrolled):not(.nav-open) .header-logo {
    height: 52px;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .55)) drop-shadow(0 0 2px rgba(0, 0, 0, .45));
  }
}

/* Footer desktop: logo più nitido su sfondo scuro */
@media (min-width: 769px) {
  .site-footer .footer-brand img {
    height: 48px;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .5)) drop-shadow(0 0 1px rgba(0, 0, 0, .4));
  }
}

.header-actions {
  justify-self: end;
  grid-column: 3;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.header-actions .header-book-btn,
.header-actions .header-lang-btn {
  height: 48px;
  line-height: 1;
}
.header-book-btn {
  padding-top: 0;
  padding-bottom: 0;
  white-space: nowrap;
}
.header-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .38);
  color: var(--white);
  font-family: var(--font-body);
  font-size: .82rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 0 12px;
  cursor: pointer;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.header-lang-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 0, 0, .12);
}
.header-lang-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.header-lang-code {
  font-weight: 500;
  line-height: 1;
}
.site-header.scrolled .header-lang-btn {
  color: var(--text-dark);
  border-color: rgba(30, 30, 30, .28);
}
.site-header.nav-open .header-lang-btn {
  color: var(--white);
  border-color: rgba(255, 255, 255, .38);
}

/* Hamburger (sempre visibile) */
.hamburger {
  justify-self: start;
  grid-column: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  z-index: 2;
  padding: 10px;
  margin: -10px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all .35s var(--ease);
  border-radius: 1px;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Overlay menu (desktop + mobile) */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
}
.nav-overlay.open {
  pointer-events: auto;
}
.nav-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 14, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.nav-overlay.open .nav-overlay-backdrop {
  opacity: 1;
}
.nav-overlay-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  right: auto;
  width: min(560px, calc(100vw - 40px));
  max-width: 560px;
  margin: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: calc(96px + env(safe-area-inset-top, 0px)) 32px calc(40px + env(safe-area-inset-bottom, 0px));
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .35) transparent;
  opacity: 0;
  transform: translate(-50%, -16px);
  transition: opacity .4s var(--ease), transform .45s var(--ease);
}
.nav-overlay-panel::-webkit-scrollbar {
  width: 6px;
}
.nav-overlay-panel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .28);
  border-radius: 6px;
}
.nav-overlay.open .nav-overlay-panel {
  opacity: 1;
  transform: translate(-50%, 0);
}
.nav-overlay-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.nav-overlay-nav > a:not(.nav-overlay-phone) {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4.2vw, 2.35rem);
  font-weight: 400;
  color: var(--white);
  padding: 12px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color .25s, padding-left .25s;
}
.nav-overlay-nav > a:not(.nav-overlay-phone):hover {
  color: var(--accent);
  padding-left: 8px;
}
.nav-overlay-phone {
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: .08em;
  color: var(--accent);
  padding: 24px 0 8px;
  text-decoration: none;
  border-bottom: none;
}
.nav-overlay-phone:hover {
  color: var(--accent-hover);
}

/* ---------- Barra azioni mobile (fissa in basso) ---------- */
.mobile-action-dock {
  display: none;
}
.mobile-dock-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  padding: 6px 4px;
  margin: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dark);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color .2s var(--ease);
}
.mobile-dock-btn:active {
  opacity: .85;
}
.mobile-dock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}
.mobile-dock-label {
  line-height: 1.2;
  text-align: center;
}
.mobile-dock-book,
.mobile-dock-book .mobile-dock-icon {
  color: var(--accent);
}

/* Sheet scelta Hotel / Spa */
.mobile-contact-sheet {
  position: fixed;
  inset: 0;
  z-index: 10050;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear .35s;
}
.mobile-contact-sheet.open {
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}
.mobile-contact-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 14, .55);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.mobile-contact-sheet.open .mobile-contact-sheet-backdrop {
  opacity: 1;
}
.mobile-contact-sheet-panel {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  background: var(--white);
  padding: 28px 22px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .2);
  transform: translateY(calc(100% + 24px));
  transition: transform .38s var(--ease);
}
.mobile-contact-sheet.open .mobile-contact-sheet-panel {
  transform: translateY(0);
}
.mobile-contact-sheet-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-dark);
  text-align: center;
  margin: 0 0 20px;
  line-height: 1.35;
}
.mobile-contact-sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-contact-sheet-actions .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}
.mobile-contact-sheet-close {
  display: block;
  width: 100%;
  margin-top: 18px;
  text-align: center;
}

/* Modal lingua */
.language-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear .35s;
}
.language-modal.open {
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}
.language-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 14, .55);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.language-modal.open .language-modal-backdrop {
  opacity: 1;
}
.language-modal-panel {
  position: absolute;
  top: max(84px, calc(env(safe-area-inset-top, 0px) + 74px));
  right: 24px;
  width: min(320px, calc(100vw - 32px));
  background: var(--white);
  padding: 22px 18px 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .2);
  transform: translateY(-12px);
  opacity: 0;
  transition: transform .28s var(--ease), opacity .28s var(--ease);
}
.language-modal.open .language-modal-panel {
  transform: translateY(0);
  opacity: 1;
}
.language-modal-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-dark);
  margin: 0 0 12px;
}
.language-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.language-modal-link {
  display: block;
  border: 1px solid var(--border);
  color: var(--text-dark);
  padding: 11px 12px;
  font-size: .88rem;
  letter-spacing: .04em;
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.language-modal-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.language-modal-link.is-current {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--text-dark);
}
.language-modal-close {
  margin-top: 14px;
}

/* Accordion sottomenu */
.nav-accordion {
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-accordion-with-primary-link .nav-accordion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.nav-accordion-primary-link {
  flex: 1;
  min-width: 0;
  padding: 14px 0;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4.2vw, 2.35rem);
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  text-align: left;
  transition: color .25s;
}
.nav-accordion-primary-link:hover {
  color: var(--accent);
}
.nav-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4.2vw, 2.35rem);
  font-weight: 400;
  color: var(--white);
  text-align: left;
  transition: color .25s;
}
.nav-accordion-btn:hover {
  color: var(--accent);
}
.nav-accordion-btn.nav-accordion-toggle {
  width: auto;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 4px 10px 12px;
  justify-content: center;
}
.nav-accordion-chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-bottom: 4px;
  transition: transform .3s var(--ease);
}
.nav-accordion.is-open .nav-accordion-chevron {
  transform: rotate(-135deg);
  margin-bottom: -2px;
}
.nav-accordion-panel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height .45s var(--ease), opacity .35s ease, padding .35s ease;
  padding: 0 0 0 4px;
}
.nav-accordion.is-open .nav-accordion-panel {
  max-height: 480px;
  opacity: 1;
  padding: 4px 0 16px 8px;
  pointer-events: auto;
}
.nav-accordion-panel a {
  font-family: var(--font-body);
  font-size: clamp(.92rem, 2.2vw, 1.05rem);
  font-weight: 300;
  letter-spacing: .06em;
  color: rgba(255,255,255,.72);
  padding: 10px 0 10px 12px;
  text-decoration: none;
  border-left: 2px solid rgba(204,177,147,.35);
  transition: color .2s, border-color .2s, padding-left .2s;
}
.nav-accordion-panel a:hover {
  color: var(--accent);
  border-left-color: var(--accent);
  padding-left: 16px;
}

.btn-book-header {
  font-size: .72rem;
  padding: 10px 24px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 8s linear;
}
.hero-bg-video {
  background: var(--dark);
}
.hero-bg-video .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Sfumatura dall’alto: più scuro sotto l’header fisso per leggibilità menu */
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.62) 0%,
    rgba(0,0,0,.38) 22%,
    rgba(0,0,0,.18) 45%,
    rgba(0,0,0,.12) 62%,
    rgba(0,0,0,.32) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
}
.hero-content .label { color: var(--white); opacity: .75; }
.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 1.1rem;
  font-weight: 300;
  opacity: .9;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
/* Hero – internal pages */
.hero-inner {
  height: 65vh;
  min-height: 480px;
}

/* Scroll indicator (link to next section on home) */
a.hero-scroll {
  text-decoration: none;
  cursor: pointer;
  transition: opacity .3s var(--ease);
}
a.hero-scroll:hover {
  opacity: .85;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll > span:first-child {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.hero-scroll .scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.3);
  position: relative;
  overflow: hidden;
}
.hero-scroll .scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 1px;
  height: 100%;
  background: var(--accent);
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
  0%   { top: -100%; }
  100% { top: 100%; }
}

/* ---------- CARDS ---------- */
.card {
  background: var(--white);
  overflow: hidden;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
}
.card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .6s var(--ease), opacity .6s var(--ease);
  filter: brightness(.95) saturate(.9);
}
.card:hover .card-img img {
  transform: scale(1.06);
  filter: brightness(1.05) saturate(1.15);
}
.card-body {
  padding: 28px 24px;
}
.card-body h4 {
  margin-bottom: 8px;
}
.card-body p {
  font-size: .92rem;
  margin-bottom: 16px;
}
.card-meta {
  display: flex;
  gap: 16px;
  font-size: .78rem;
  color: var(--text-light);
  margin-bottom: 10px;
}
.card-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- ROOM CAROUSEL (Home) ---------- */
.rooms-carousel {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}
.rooms-track {
  display: flex;
  transition: transform .6s var(--ease);
  will-change: transform;
}
.rooms-track .card {
  flex: 0 0 calc((100% - 24px) / 2);
  margin-right: 24px;
}
.rooms-track .card:last-child {
  margin-right: 0;
}
.rooms-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}
.rooms-carousel-footer .carousel-nav {
  margin-top: 0;
}
.carousel-nav {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  justify-content: center;
}
.carousel-btn {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s var(--ease);
  font-size: 1.2rem;
  color: var(--text-dark);
}
.carousel-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
/* ---------- SPLIT SECTION (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 600px;
}
.split-img {
  position: relative;
  overflow: hidden;
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease), filter .8s var(--ease);
  filter: brightness(1) saturate(1);
}
.split-img:hover img {
  transform: scale(1.07);
  filter: brightness(1.05) saturate(1.15);
}
/* Fascia spa full width sotto la split Spa & Fitness (home) */
.split-spa-fullwidth {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.split-spa-fullwidth img {
  width: 100%;
  display: block;
  aspect-ratio: 21 / 8;
  min-height: 220px;
  object-fit: cover;
  transition: transform .9s var(--ease), filter .8s var(--ease);
  filter: brightness(1) saturate(1);
}
.split-spa-fullwidth:hover img {
  transform: scale(1.03);
  filter: brightness(1.05) saturate(1.1);
}
.split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
}
.split-text h2 { margin-bottom: 16px; }
.split-text p  { margin-bottom: 20px; }
.split-text .btn {
  min-width: 160px;
  justify-content: center;
  align-self: flex-start;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

/* ---------- GALLERY (Room detail) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.gallery-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .5s var(--ease);
  filter: brightness(.93) saturate(.85);
}
.gallery-item:hover img {
  transform: scale(1.07);
  filter: brightness(1.05) saturate(1.2);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background .3s;
}
.gallery-item:hover::after {
  background: rgba(0,0,0,.08);
}
.gallery-item .gallery-zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 48px; height: 48px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: transform .4s var(--ease);
  color: var(--text-dark);
  font-size: 1.2rem;
}
.gallery-item:hover .gallery-zoom {
  transform: translate(-50%, -50%) scale(1);
}

/* Gallery bento (Spa / Fitness – nuove_spa / nuove_fitness) */
.gallery-bento {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
.gallery-bento .gallery-item {
  aspect-ratio: 4/3;
  min-height: 200px;
}
.gallery-bento .gallery-item img {
  min-height: 100%;
}
.gallery-bento--spa,
.gallery-bento--fitness {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(140px, auto);
}
.gallery-bento--spa .gb-1 { grid-column: 1 / 5; grid-row: 1 / 3; min-height: 0; }
.gallery-bento--spa .gb-1 .gallery-item { aspect-ratio: auto; min-height: 280px; height: 100%; }
.gallery-bento--spa .gb-2 { grid-column: 5 / 7; grid-row: 1 / 2; }
.gallery-bento--spa .gb-3 { grid-column: 5 / 7; grid-row: 2 / 3; }
.gallery-bento--spa .gb-4 { grid-column: 1 / 3; grid-row: 3 / 4; }
.gallery-bento--spa .gb-5 { grid-column: 3 / 5; grid-row: 3 / 4; }
.gallery-bento--spa .gb-6 { grid-column: 5 / 7; grid-row: 3 / 4; }
.gallery-bento--spa .gb-7 { grid-column: 1 / -1; grid-row: 4 / 5; }
.gallery-bento--spa .gb-7 .gallery-item { aspect-ratio: 21/9; min-height: 200px; }

.gallery-bento--fitness .gb-1 { grid-column: 1 / 5; grid-row: 1 / 3; min-height: 0; }
.gallery-bento--fitness .gb-1 .gallery-item { aspect-ratio: auto; min-height: 280px; height: 100%; }
.gallery-bento--fitness .gb-2 { grid-column: 5 / 7; grid-row: 1 / 2; }
.gallery-bento--fitness .gb-3 { grid-column: 5 / 7; grid-row: 2 / 3; }
.gallery-bento--fitness .gb-4 { grid-column: 1 / 4; grid-row: 3 / 4; }
.gallery-bento--fitness .gb-5 { grid-column: 4 / 7; grid-row: 3 / 4; }

@media (max-width: 900px) {
  .gallery-bento--spa,
  .gallery-bento--fitness {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    grid-auto-rows: minmax(90px, auto);
  }
  .gallery-bento--spa .gb-1,
  .gallery-bento--spa .gb-2,
  .gallery-bento--spa .gb-3,
  .gallery-bento--spa .gb-4,
  .gallery-bento--spa .gb-5,
  .gallery-bento--spa .gb-6,
  .gallery-bento--spa .gb-7,
  .gallery-bento--fitness .gb-1,
  .gallery-bento--fitness .gb-2,
  .gallery-bento--fitness .gb-3,
  .gallery-bento--fitness .gb-4,
  .gallery-bento--fitness .gb-5 {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }
  .gallery-bento--spa .gb-1 .gallery-item,
  .gallery-bento--fitness .gb-1 .gallery-item {
    min-height: 0;
    aspect-ratio: 4/3;
    height: auto;
  }
  .gallery-bento--spa .gb-7 .gallery-item {
    aspect-ratio: 4/3;
    min-height: 0;
  }
  .gallery-bento .gallery-item {
    min-height: 0;
    aspect-ratio: 4/3;
  }
}

/* Spa – Estetica e massaggi */
.massaggi-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.massaggi-intro-item {
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
}
.massaggi-intro-item img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  aspect-ratio: 2/3;
  display: block;
}
.massage-shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
}
.massage-shop-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.massage-shop-card:hover {
  box-shadow: 0 18px 48px rgba(0,0,0,.08);
  transform: translateY(-4px);
}
.massage-shop-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.massage-shop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .5s var(--ease);
  filter: brightness(.96) saturate(.95);
}
.massage-shop-card:hover .massage-shop-img img {
  transform: scale(1.04);
  filter: brightness(1.03) saturate(1.08);
}
.massage-shop-body {
  padding: 24px 20px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.massage-shop-body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0;
  color: var(--text-dark);
}
.massage-shop-time {
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 0 0 16px;
}
.massage-shop-body .btn {
  margin-top: auto;
}

@media (max-width: 768px) {
  .massaggi-intro-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .massaggi-intro-item img {
    min-height: 120px;
    aspect-ratio: 3/4;
  }
  .massage-shop-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Lightbox gallery: sopra header / overlay / dock mobile */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 10200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all .4s var(--ease);
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  background: none; border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  z-index: 10000;
  transition: color .3s;
}
.lightbox-close:hover { color: var(--accent); }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10000;
  padding: 16px;
  transition: color .3s;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--accent); }

/* Lightbox tariffario (Spa): stesso livello della gallery, sopra header */
.lightbox-tariff {
  position: fixed;
  inset: 0;
  z-index: 10200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox-tariff.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-tariff-panel {
  position: relative;
  background: var(--white);
  max-width: 640px;
  width: 100%;
  max-height: min(85vh, 720px);
  overflow-y: auto;
  padding: 40px 28px 32px;
  box-shadow: 0 24px 80px rgba(0,0,0,.18);
}
.lightbox-tariff-panel .tariff-list {
  max-width: none;
}
.lightbox-tariff-panel h2 {
  margin: 8px 0 0;
  font-size: 1.75rem;
}
.lightbox-tariff-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-dark);
  transition: color .25s;
}
.lightbox-tariff-close:hover {
  color: var(--accent);
}
@media (max-width: 480px) {
  .lightbox-tariff-panel .tariff-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .lightbox-tariff-panel .tariff-price { align-self: flex-end; }
}

/* ---------- PROFESSIONISTI (pagina team) ---------- */
.pro-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 40px);
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.pro-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(30, 30, 30, .06);
  border: 1px solid var(--border);
  transition: box-shadow var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.pro-card:hover {
  box-shadow: 0 28px 60px rgba(30, 30, 30, .1);
  transform: translateY(-4px);
}
.pro-card-photo {
  overflow: hidden;
  background: var(--cream);
}
/* Foto verticali (~2:3) */
.pro-card--portrait .pro-card-photo {
  aspect-ratio: 2 / 3;
}
.pro-card--portrait .pro-card-photo img {
  object-position: center 18%;
}
/* Foto orizzontali (~3:2) */
.pro-card--landscape .pro-card-photo {
  aspect-ratio: 3 / 2;
}
.pro-card--landscape .pro-card-photo img {
  object-position: center center;
}
.pro-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.pro-card:hover .pro-card-photo img {
  transform: scale(1.04);
}
.pro-card-body {
  padding: clamp(22px, 3vw, 28px) clamp(20px, 3vw, 26px) clamp(26px, 3.5vw, 32px);
}
.pro-card-role {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.pro-card-name {
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  margin-bottom: 12px;
  line-height: 1.25;
}
.pro-card-bio {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 0;
}
.pro-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
@media (max-width: 768px) {
  .pro-team-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

/* ---------- AMENITIES LIST ---------- */
.amenities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.amenity {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.amenity-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.amenity span {
  font-size: .9rem;
  color: var(--text);
}

/* ---------- ROOM INFO BAR ---------- */
.room-info-bar {
  display: flex;
  gap: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 40px 0;
}
.room-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.room-info-item .ri-icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
  background: var(--off-white);
  color: var(--accent);
}
.room-info-item .ri-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-light);
}
.room-info-item .ri-value {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 400;
}
.room-description-actions {
  margin-top: 10px;
}

/* ---------- OTHER ROOMS STRIP ---------- */
.other-rooms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.other-room {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.other-room img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.other-room:hover img { transform: scale(1.06); }
.other-room-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.6) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.other-room-overlay h5 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

/* Spa – sezione orari / prezzi / kit */
.spa-practical-title {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 400;
  margin: 12px 0 0;
  color: var(--text-dark);
}
.spa-practical-lead {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-size: .95rem;
  line-height: 1.65;
}
.spa-practical-lead strong {
  font-weight: 500;
  color: var(--text-dark);
}
.spa-practical-grid {
  align-items: start;
}
.spa-practical-stack {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}
.spa-panel h3 {
  margin-top: 8px;
  margin-bottom: 0;
}
.spa-panel--bordered {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.spa-panel-intro {
  margin-bottom: 10px;
}
.spa-panel--kit .kit-cards {
  margin-top: 4px;
}
.spa-practical-footnote {
  text-align: center;
  font-size: .88rem;
  color: var(--text-light);
  margin: 3rem auto 0;
  max-width: 640px;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  line-height: 1.55;
}

/* ---------- TARIFF TABLE ---------- */
.tariff-list {
  max-width: 700px;
}
.tariff-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.tariff-item:last-child { border-bottom: none; }
.tariff-name {
  font-size: .95rem;
  color: var(--text-dark);
}
.tariff-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--accent);
  white-space: nowrap;
}
.tariff-note {
  font-size: .78rem;
  color: var(--text-light);
  display: block;
  margin-top: 4px;
}

/* ---------- CONTACT FORM ---------- */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 400;
}
.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--text-dark);
  transition: border-color .3s;
  border-radius: 0;
  outline: none;
}
.form-control:focus {
  border-color: var(--accent);
}
textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* ---------- CONTACT INFO ---------- */
.contact-card {
  padding: 40px;
  background: var(--off-white);
  height: 100%;
}
.contact-card h4 {
  margin-bottom: 20px;
}
.contact-card a {
  display: block;
  color: var(--text);
  font-size: .95rem;
  margin-bottom: 8px;
}
.contact-card a:hover { color: var(--accent); }
.contact-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.contact-social .contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: .82rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .25s var(--ease);
}
.contact-social .contact-social-link:hover {
  color: var(--accent-hover);
}
.contact-social .contact-social-link svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

/* Map */
.map-container {
  width: 100%;
  height: 450px;
  filter: grayscale(.2);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}
#mappa {
  scroll-margin-top: 96px;
}
@media (max-width: 768px) {
  #mappa {
    scroll-margin-top: 72px;
  }
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 80px 0 0;
}
.footer-credit {
  margin: 0;
  padding: 1.35rem 0 32px;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .02em;
}
.footer-credit a {
  color: rgba(255,255,255,.68);
  font-weight: 500;
  text-decoration: none;
  transition: color .25s var(--ease);
}
.footer-credit a:hover {
  color: var(--accent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img {
  height: 40px;
  margin-bottom: 16px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.55);
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.footer-social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(255,255,255,.04);
}
.footer-social-link svg {
  flex-shrink: 0;
}
.site-footer h6 {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .72rem;
  margin-bottom: 20px;
  font-family: var(--font-body);
}
.footer-contact-group:not(:first-of-type) {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-contact-label {
  display: block;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.42);
  margin-bottom: 12px;
  font-family: var(--font-body);
}
.footer-contact-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-contact-social-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  transition: color .25s var(--ease);
}
.footer-contact-social-link:hover {
  color: var(--accent-hover);
}
.footer-contact-social-link svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.footer-links a {
  display: block;
  color: rgba(255,255,255,.5);
  font-size: .88rem;
  padding: 6px 0;
  transition: color .3s, padding-left .3s;
}
.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px;
}
.footer-partner {
  display: inline-block;
  margin-top: 28px;
  padding: 0 !important;
  line-height: 0;
}
.footer-links a.footer-partner:hover {
  color: inherit;
  padding-left: 0 !important;
  opacity: .82;
}
.footer-partner img {
  height: 52px;
  width: auto;
  mix-blend-mode: screen;
}
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom a.iubenda-nostyle {
  color: rgba(255,255,255,.4) !important;
  text-decoration: none !important;
  transition: color .25s var(--ease);
}
.footer-bottom a.iubenda-nostyle:hover {
  color: var(--accent) !important;
}

/* Keep Iubenda policy modal above fixed header */
body > [id^="iubenda"],
body > [class*="iubenda-"],
.iubenda-iframe,
.iubenda-overlay,
.iubenda-modal,
.iubenda-backdrop {
  z-index: 2147483000 !important;
}

/* ---------- ANIMATIONS (JS reveal) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ---------- OFFERTE SECTION ---------- */
.offer-card {
  border: 1px solid var(--border);
  padding: 40px;
  transition: all var(--speed) var(--ease);
}
.offer-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 40px rgba(204,177,147,.12);
}
.offer-card h4 { margin-bottom: 12px; }
.offer-card p  { margin-bottom: 20px; }
.offer-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  margin-bottom: 16px;
}
.offer-card-featured {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 48px;
  background: var(--dark);
  border-color: rgba(204, 177, 147, .38);
  color: rgba(255, 255, 255, .72);
  padding: 40px 48px;
}
.offer-card-featured:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 48px rgba(30, 30, 30, .2);
}
.offer-card-featured h4 {
  color: var(--white);
}
.offer-card-featured p {
  color: rgba(255, 255, 255, .68);
  margin-bottom: 0;
}
.offer-card-featured .offer-tag {
  background: rgba(204, 177, 147, .16);
}
.offer-featured-brand {
  flex: 0 0 200px;
}
.offer-featured-brand img {
  height: 76px;
  width: auto;
  mix-blend-mode: screen;
}
.offer-featured-body {
  flex: 1;
  min-width: 0;
}
.offer-featured-code {
  display: inline-block;
  margin: 12px 0 0;
  padding: 8px 16px;
  border: 1px solid rgba(204, 177, 147, .4);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: .08em;
}

/* ---------- CONVENZIONE GRIMALDI ---------- */
.convention-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.convention-code-box {
  margin: 40px auto 0;
  max-width: 440px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  text-align: center;
  background: var(--off-white);
}
.convention-code-box .label { margin-bottom: 8px; }
.convention-code-value {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  color: var(--text-dark);
  letter-spacing: .08em;
  margin: 0;
}
.convention-block + .convention-block { margin-top: 48px; }
.convention-block h3 { margin-bottom: 16px; }
.convention-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}
.convention-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .75em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}
.convention-steps {
  counter-reset: convention-step;
}
.convention-steps li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 16px;
}
.convention-steps li::before {
  counter-increment: convention-step;
  content: counter(convention-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: .68rem;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.convention-note {
  padding: 24px 28px;
  border-left: 3px solid var(--accent);
  background: var(--cream);
  margin: 32px 0 0;
}
.convention-legal {
  font-size: .88rem;
  color: var(--text-light);
}
.convention-download {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 2rem;
}

/* ---------- INFO GRID (home) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 0;
}
.info-item {
  padding: 40px;
  border: 1px solid var(--border);
  margin: -1px 0 0 -1px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: transparent;
  border-top: 3px solid transparent;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease), border-color .4s var(--ease);
}
.info-item:hover {
  background: var(--white);
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  transform: translateY(-6px);
  border-top-color: var(--accent);
  z-index: 2;
  position: relative;
}
.info-item h5 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.info-item p {
  font-size: .88rem;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Rimando esperienze (pagina Servizi) */
.servizi-deck {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 28px);
  max-width: 960px;
  margin: 0 auto;
}
.servizi-deck-card {
  display: flex;
  flex-direction: column;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  text-align: left;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.servizi-deck-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(30, 30, 30, .1);
  border-color: rgba(204, 177, 147, .45);
}
.servizi-deck-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
}
.servizi-deck-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .75s var(--ease), filter .5s ease;
  filter: brightness(.97);
}
.servizi-deck-card:hover .servizi-deck-card-img img {
  transform: scale(1.05);
  filter: brightness(1.02);
}
.servizi-deck-card-body {
  padding: clamp(20px, 3vw, 26px) clamp(18px, 2.5vw, 24px) clamp(22px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.servizi-deck-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 400;
  color: var(--text-dark);
  margin: 0 0 8px;
  line-height: 1.2;
  transition: color var(--speed) var(--ease);
}
.servizi-deck-card:hover .servizi-deck-card-title {
  color: var(--accent-hover);
}
.servizi-deck-card-text {
  font-size: .9rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 14px;
  flex-grow: 1;
}
.servizi-deck-card-cta {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: auto;
}
.servizi-deck-card:hover .servizi-deck-card-cta {
  color: var(--accent-hover);
}
@media (max-width: 640px) {
  .servizi-deck {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

/* ---------- Kit Spa (noleggi) ---------- */
.kit-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 4px;
}
.kit-card {
  border: 1px solid var(--border);
  padding: 18px 12px;
  text-align: center;
  background: var(--white);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.kit-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(0,0,0,.06);
}
.kit-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 10px;
}
.kit-card-icon svg {
  width: 36px;
  height: 36px;
}
.kit-card-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-light);
  margin: 0 0 6px;
  line-height: 1.35;
}
.kit-card-price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-dark);
  margin: 0;
}
.kit-card-price a {
  color: inherit;
  text-decoration: none;
}
.kit-card-price a:hover {
  color: var(--accent);
}
.kit-card-price--compact {
  font-size: .72rem;
  font-family: var(--font-body);
  letter-spacing: 0;
  line-height: 1.4;
  word-break: break-word;
}
.kit-card-price--note {
  font-size: .95rem;
  font-family: var(--font-body);
  letter-spacing: 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  :root { --section-py: 80px; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .split { grid-template-columns: 1fr; height: auto; }
  .split-img { min-height: 350px; }
  .split-text { padding: 60px 40px; }
  .split.reverse { direction: ltr; }

  .rooms-track .card {
    flex: 0 0 calc((100% - 24px) / 2);
    margin-right: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .other-rooms { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --section-py: 60px;
    --section-px: 20px;
  }

  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  /* ---- Header ---- */
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px;
    min-height: 72px;
  }
  .site-header.scrolled { padding: 10px 16px; }
  .header-actions {
    order: 1;
    margin-right: auto;
    gap: 0;
  }
  .header-lang-btn {
    padding: 10px 10px;
    font-size: .68rem;
    letter-spacing: .1em;
  }
  .header-logo-link {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    line-height: 0;
    margin: 0;
  }
  .header-logo { display: block; height: 36px; }
  .hamburger {
    position: relative;
    order: 3;
    z-index: 2;
    margin: 0;
    padding: 10px;
  }
  .site-header .header-logo-white { display: block !important; }
  .site-header .header-logo-dark { display: none !important; }
  .site-header.scrolled .header-logo-white { display: none !important; }
  .site-header.scrolled .header-logo-dark { display: block !important; }
  .site-header.nav-open .header-logo-white { display: block !important; }
  .site-header.nav-open .header-logo-dark { display: none !important; }
  .header-book-btn { display: none !important; }
  .language-modal-panel {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    width: min(320px, calc(100vw - 32px));
    transform: translate(-50%, calc(-50% + 14px));
  }
  .language-modal.open .language-modal-panel {
    transform: translate(-50%, -50%);
  }

  /* ---- Mobile dock ---- */
  .mobile-action-dock {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    align-items: stretch;
    justify-content: space-between;
    gap: 2px;
    padding: 10px 8px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, .06);
  }

  .nav-overlay-panel {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* ---- Hero ---- */
  .hero-inner { height: 55vh; min-height: 360px; }
  .hero-home .hero-scroll {
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
  .hero-content { padding: 0 16px; }
  .hero-content h1 { font-size: clamp(2rem, 8vw, 2.8rem); margin-bottom: 12px; }
  .hero-content p { font-size: 1rem; margin-bottom: 24px; }

  /* ---- Typography ---- */
  h2 { font-size: clamp(1.65rem, 6vw, 2.4rem); }
  h3 { font-size: clamp(1.35rem, 5vw, 1.8rem); }
  .lead-center, .lead { font-size: 1rem; }
  .section-sm { padding: 50px 0; }

  /* ---- Grid ---- */
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  /* ---- Split ---- */
  .split-text { padding: 36px 20px; }
  .split-text .btn { width: 100%; justify-content: center; }

  /* ---- Buttons ---- */
  .flex-gap { flex-direction: column; align-items: stretch; }
  .flex-gap .btn { width: 100%; justify-content: center; }

  /* ---- Carousel ---- */
  .rooms-track .card { flex: 0 0 85%; margin-right: 16px; }
  .rooms-carousel-footer { flex-direction: column; align-items: center; }
  .rooms-carousel-footer .carousel-nav { display: none; }
  .rooms-carousel-footer .btn { order: 1; }

  /* ---- Room info ---- */
  .room-info-bar { flex-wrap: wrap; gap: 16px; padding: 24px 0; }
  .room-info-item { flex: 1 1 calc(50% - 8px); min-width: 130px; }

  /* ---- Kit cards ---- */
  .kit-cards { grid-template-columns: repeat(2, 1fr); max-width: 100%; }

  /* ---- Info grid (home) ---- */
  .info-grid { grid-template-columns: 1fr; }
  .info-item { padding: 28px 20px; }

  /* ---- Other rooms ---- */
  .other-rooms { grid-template-columns: 1fr 1fr; }

  /* ---- Gallery ---- */
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }

  /* ---- Amenities ---- */
  .amenities { grid-template-columns: 1fr; }

  /* ---- Offer cards ---- */
  .offer-card { padding: 28px 20px; }
  .offer-card-featured {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 28px 20px;
  }
  .offer-featured-brand { flex: none; }
  .offer-card-featured .btn { width: 100%; justify-content: center; }

  /* ---- Contact cards ---- */
  .contact-card { padding: 28px 20px; }
  .contact-social { justify-content: flex-start; }

  /* ---- Map ---- */
  .map-container { height: 300px; }

  /* ---- Contact form ---- */
  #contactForm .grid { grid-template-columns: 1fr; }

  /* ---- Footer ---- */
  .site-footer { padding: 52px 0 0; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
    padding-bottom: 40px;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 36px;
  }
  .footer-brand img { margin-bottom: 0; }
  .footer-links {
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 28px;
  }
  .footer-links:last-child { border-bottom: none; margin-bottom: 0; }
  .footer-links h6 { text-align: center; }
  .footer-links a { text-align: center; padding-left: 0 !important; }
  .footer-partner { display: block; }
  .footer-partner img { margin: 0 auto; }
  .footer-contact-group { text-align: center; }
  .footer-contact-social { justify-content: center; }
  .footer-contact-group:not(:first-of-type) {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 20px 0;
    font-size: .72rem;
  }
  .footer-credit { padding: 1.2rem 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: .72rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .other-rooms { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: clamp(1.8rem, 7vw, 2.2rem); }
  .kit-cards { grid-template-columns: 1fr; max-width: 280px; margin-left: auto; margin-right: auto; }
  .room-info-item { flex: 1 1 100%; }
  .contact-card { padding: 22px 16px; }
  .offer-card { padding: 22px 16px; }
  .info-item { padding: 22px 16px; }
  .split-text { padding: 28px 16px; }
  .tariff-item { flex-direction: column; gap: 6px; }
  .tariff-price { align-self: flex-end; }
  .pro-cta-row .btn { width: 100%; justify-content: center; }
}
