/* ============================================
   MATER AQUAE — design tokens
   ============================================ */
:root{
  --notte: #131a24;
  --notte-2: #1a2432;
  --acqua: #1a7a8a;
  --acqua-chiara: #3fb8cc;
  --bianco: #f4f7f8;
  --inchiostro: #1c242c;
  --grigio-testo: #566068;
  --lino: #eef2f3;

  --display: 'Bodoni Moda', serif;
  --body: 'Jost', sans-serif;

  --container: 1180px;
  --pad-x: 32px;
  --radius: 2px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin:0;
  font-family: var(--body);
  color: var(--inchiostro);
  background: var(--bianco);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  letter-spacing: .01em;
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3{ font-family: var(--display); font-weight: 600; margin: 0 0 .4em; letter-spacing: .005em; }
p{ margin: 0 0 1em; }

.section-inner{ max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); }

.eyebrow{
  font-family: var(--body); font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--acqua); font-weight: 500; margin-bottom: 14px;
}
.eyebrow.light{ color: var(--acqua-chiara); }
.center{ text-align:center; margin-left:auto; margin-right:auto; }
.light{ color: var(--lino); }

.section-lede{ max-width: 560px; color: var(--grigio-testo); font-size: 17px; }
.section-lede.center{ margin-left:auto; margin-right:auto; }

/* ============================================
   BUTTONS
   ============================================ */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 15px 30px; font-family: var(--body); font-size: 12.5px; font-weight:600;
  letter-spacing: .12em; text-transform: uppercase; border-radius: var(--radius);
  border: 1px solid transparent; cursor:pointer;
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.btn-gold{ background: var(--acqua); color: #fff; }
.btn-gold:hover{ background: var(--acqua-chiara); transform: translateY(-2px); }
.btn-ghost{ background: transparent; border-color: rgba(244,247,248,.5); color: var(--lino); }
.btn-ghost:hover{ border-color: var(--lino); transform: translateY(-2px); }
.btn-small{ padding: 10px 20px; font-size: 11px; }

/* ============================================
   HEADER
   ============================================ */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
  padding: 30px 0;
}
.site-header.scrolled{
  background: rgba(19,26,36,.94); backdrop-filter: blur(10px);
  padding: 14px 0; box-shadow: 0 8px 30px rgba(0,0,0,.2);
}
.header-inner{
  max-width: 1400px; margin: 0 auto; padding: 0 40px;
  display:grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap: 30px;
  position: relative;
}
/* invisible spacer mirroring .header-actions, so the logo stays optically centred
   while the right-hand nav is pushed clear of the buttons */
.header-spacer{ grid-column: 1; justify-self:start; visibility:hidden; pointer-events:none; }
.logo{ justify-self:center; grid-column: 2; }
.logo-img{
  height: 108px; width:auto; display:block;
  transition: opacity .3s, height .35s var(--ease);
  /* the "exclusive suites" line is brand teal and disappears against the blue
     water; a soft dark halo lifts the whole lockup off any background */
  filter: drop-shadow(0 1px 3px rgba(8,14,22,.85)) drop-shadow(0 3px 14px rgba(8,14,22,.6));
}
/* once the dark header bar is in place the halo is no longer needed */
.site-header.scrolled .logo-img{ filter: drop-shadow(0 1px 4px rgba(8,14,22,.45)); }
.site-header.scrolled .logo-img{ height: 68px; }
.logo:hover .logo-img{ opacity:.85; }
.header-side{ display:flex; align-items:center; gap: 24px; min-width:0; }
.header-side-left{ grid-column:1; justify-self:end; }
.header-side-right{ grid-column:3; justify-self:start; width:100%; justify-content:space-between; }
.main-nav-left, .main-nav-right{ display:flex; gap: 26px; }
.main-nav-mobile{ display:none; }
.main-nav a{
  color: var(--lino); font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 400; position: relative; padding-bottom: 4px; white-space:nowrap;
}
.main-nav a::after{
  content:''; position:absolute; left:0; right:100%; bottom:0; height:1px;
  background: var(--acqua-chiara); transition: right .35s var(--ease);
}
.main-nav a:hover::after{ right:0; }
/* actions float at the far right without stealing space from the centered logo */
.header-actions{ display:flex; align-items:center; gap: 14px; flex-shrink:0; }
.nav-toggle{ display:none; flex-direction: column; justify-content:center; gap:5px; width: 34px; height:34px; background:none; border:none; cursor:pointer; }
.nav-toggle span{ display:block; width:100%; height:1.5px; background: var(--lino); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.open span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

/* mobile nav close button + backdrop */
.mobile-nav-close{
  position:absolute; top: 22px; right: 22px;
  background:none; border:none; color: var(--lino); font-size: 40px; line-height:1;
  cursor:pointer; width:44px; height:44px; display:flex; align-items:center; justify-content:center;
  border-radius:50%; transition: background .3s;
}
.mobile-nav-close:hover{ background: rgba(244,247,248,.12); }
.nav-backdrop{
  position: fixed; inset:0; background: rgba(10,14,20,.6); z-index: 85;
  opacity:0; visibility:hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.nav-backdrop.open{ opacity:1; visibility:visible; }
body.nav-locked{ overflow: hidden; }

/* ============================================
   HERO
   ============================================ */
.hero{ position: relative; min-height: 100vh; display:flex; align-items:flex-end; overflow:hidden; background: var(--notte); }
.hero-media{ position:absolute; inset:0; }
.hero-media img{
  width:100%; height:100%; object-fit:cover; display:block;
  /* keeps the tub and glasses in frame on wide, short viewports */
  object-position: center 58%;
}
.hero-scrim{
  position:absolute; inset:0;
  /* Kept deliberately light: only a soft band top and bottom, where the header
     and the headline sit. The tub itself is left untouched. */
  background:
    linear-gradient(180deg, rgba(19,26,36,.38) 0%, rgba(19,26,36,.10) 16%, transparent 34%, transparent 58%, rgba(19,26,36,.34) 84%, rgba(19,26,36,.72) 100%),
    linear-gradient(95deg, rgba(19,26,36,.34) 0%, rgba(19,26,36,.10) 38%, transparent 58%);
}
.hero-content{ position:relative; z-index:2; max-width: var(--container); margin: 0 auto; padding: 0 32px 100px; width:100%; color: var(--lino); }
.hero-content .eyebrow{
  /* brand teal disappears against the lit water — use a much lighter tint here */
  color: #b8e6ef;
  text-shadow: 0 1px 10px rgba(8,14,22,.9), 0 2px 20px rgba(8,14,22,.7);
}
.hero h1{ font-size: clamp(40px, 6vw, 78px); line-height: 1.06; color: var(--lino); max-width: 15ch; font-weight: 600; font-style: italic; text-shadow: 0 2px 26px rgba(10,16,24,.6); }
.hero-lede{ max-width: 480px; font-size: 17px; color: rgba(244,247,248,.92); margin-top: 22px; margin-bottom: 34px; text-shadow: 0 1px 16px rgba(10,16,24,.75); }
.hero-actions{ display:flex; gap:18px; flex-wrap:wrap; }

.scroll-cue{ position:absolute; bottom: 28px; left:50%; transform:translateX(-50%); z-index:2; width: 22px; height: 36px; border: 1px solid rgba(244,247,248,.5); border-radius: 20px; }
.scroll-cue span{ position:absolute; top:7px; left:50%; width:3px; height:6px; margin-left:-1.5px; background: var(--acqua-chiara); border-radius:2px; animation: cue 2s ease-in-out infinite; }
@keyframes cue{ 0%{ transform: translateY(0); opacity:1;} 70%{ transform: translateY(10px); opacity:0;} 100%{ opacity:0;} }

/* ============================================
   DIVIDER
   ============================================ */
/* Water-line divider: sits on the same dark background as the sections above
   and below, so the two blocks read as one continuous space, with two thin
   brand-blue ripples marking the transition. */
.wave-divider{
  position:relative; height: 64px; background: var(--notte);
  margin-top: -1px; margin-bottom: -1px;   /* kill any hairline seam */
  overflow:hidden;
}
.wave-divider svg{ width:100%; height:100%; display:block; }
.wave-divider path{ fill:none; stroke-linecap:round; }
.wave-divider .wave-1{
  stroke: var(--acqua-chiara); stroke-width: 1.6; opacity:.55;
  animation: wave-drift-a 14s ease-in-out infinite alternate;
}
.wave-divider .wave-2{
  stroke: var(--acqua); stroke-width: 1.2; opacity:.4;
  animation: wave-drift-b 18s ease-in-out infinite alternate;
}
/* barely-there drift, like light moving on water */
@keyframes wave-drift-a{ from{ transform: translateX(-1.5%); } to{ transform: translateX(1.5%); } }
@keyframes wave-drift-b{ from{ transform: translateX(1.8%); } to{ transform: translateX(-1.8%); } }
/* Light-background variant: same ripple, tuned for the pale sections so the
   lines read as a delicate water mark rather than a hard rule. */
.wave-divider.on-light{ background: var(--bianco); height: 56px; }
.wave-divider.on-light .wave-1{ stroke: var(--acqua); opacity:.40; stroke-width: 1.4; }
.wave-divider.on-light .wave-2{ stroke: var(--acqua-chiara); opacity:.34; stroke-width: 1.1; }

@media (prefers-reduced-motion: reduce){
  .wave-divider .wave-1, .wave-divider .wave-2{ animation: none; }
}

/* ============================================
   BRAND PATTERN — ripple texture from the identity
   ============================================ */
.pattern-bg{
  position:absolute; inset:0; pointer-events:none;
  background-image: url('../images/pattern-ripple-seamless.jpg');
  background-size: 760px; background-repeat: repeat;
  opacity: .35; mix-blend-mode: luminosity;
}
.pattern-bg-light{
  position:absolute; inset:0; pointer-events:none;
  background-image: url('../images/pattern-ripple-seamless.jpg');
  background-size: 760px; background-repeat: repeat;
  opacity: .05;
}

/* ============================================
   PANORAMA 360 VIEWER
   ============================================ */
.pano{ position:relative; padding: 100px 0; background: var(--notte); overflow:hidden; }
.pano .section-inner{ position:relative; z-index:2; }
.pano h2{ color: var(--lino); font-size: clamp(28px,3.2vw,40px); }
.pano .section-lede{ color: rgba(244,247,248,.72); margin-bottom: 44px; }
.pano-viewer{
  position:relative; width:100%; aspect-ratio: 16/9; border-radius: var(--radius);
  overflow:hidden; background: var(--notte-2); cursor: grab;
  border: 1px solid rgba(244,247,248,.12);
}
.pano-viewer.grabbing{ cursor: grabbing; }
.pano-viewer canvas{ display:block; width:100%; height:100%; }
.pano-cover{
  position:absolute; inset:0; z-index:3;
  display:flex; align-items:center; justify-content:center;
  transition: opacity .8s var(--ease), visibility .8s;
}
.pano-cover.hidden{ opacity:0; visibility:hidden; pointer-events:none; }
.pano-cover img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter: brightness(.5); }
/* subtle spinner while the panorama loads */
.pano-loading{
  position:relative; z-index:2; width: 42px; height: 42px; border-radius:50%;
  border: 2px solid rgba(244,247,248,.25); border-top-color: var(--acqua-chiara);
  animation: pano-spin 1s linear infinite; opacity:0; transition: opacity .3s;
}
.pano-viewer.loading .pano-loading{ opacity:1; }
@keyframes pano-spin{ to{ transform: rotate(360deg); } }
/* if WebGL or the file is unavailable, the cover image simply stays */
.pano-viewer.pano-static{ cursor: default; }
.pano-viewer.pano-static .pano-loading{ display:none; }
.pano-hint{
  position:absolute; left:50%; bottom: 22px; transform: translateX(-50%);
  z-index:2; background: rgba(19,26,36,.75); backdrop-filter: blur(4px);
  color: var(--lino); font-size: 12px; letter-spacing:.08em; text-transform:uppercase;
  padding: 9px 18px; border-radius: 30px; pointer-events:none;
  opacity:0; transition: opacity .5s var(--ease);
}
.pano-hint.visible{ opacity:1; }
@media (max-width: 760px){
  .pano-viewer{ aspect-ratio: 4/3; }
}

/* ============================================
   LA SUITE (single showcase) — dark, patterned
   ============================================ */
.suite{ padding: 100px 0; position:relative; background: var(--notte); overflow:hidden; }
.suite h2, .suite .section-lede{ position:relative; }
.suite h2{ font-size: clamp(30px,3.4vw,42px); color: var(--lino); }
.suite .section-lede{ color: rgba(244,247,248,.72); }
.suite .section-inner{ position:relative; z-index:2; }
.suite-showcase{
  margin-top: 56px; display:grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: rgba(244,247,248,.05); border: 1px solid rgba(244,247,248,.12);
  border-radius: var(--radius); overflow:hidden;
}
.suite-showcase-media{ position:relative; aspect-ratio: 4/3.4; }
.suite-showcase-media img{ width:100%; height:100%; object-fit:cover; }
.suite-explore{
  position:absolute; right:20px; bottom:20px; z-index:2;
  background: rgba(19,26,36,.82); backdrop-filter: blur(4px); color: var(--lino);
  border: 1px solid rgba(244,247,248,.4); border-radius: var(--radius);
  font-family: var(--body); font-size: 12px; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  padding: 11px 20px; cursor:pointer; transition: border-color .3s;
}
.suite-explore:hover{ border-color: var(--acqua-chiara); }
.suite-showcase-body{ padding: 46px 44px; display:flex; flex-direction:column; justify-content:center; }
.suite-showcase-body p{ color: rgba(244,247,248,.75); font-size: 15.5px; }
.suite-amenities{ display:flex; flex-wrap:wrap; gap: 10px; margin-bottom: 24px; }
.amenity-chip{
  display:inline-flex; align-items:center; gap:7px; background: rgba(244,247,248,.07);
  border: 1px solid rgba(244,247,248,.16); border-radius: 20px; padding: 7px 14px 7px 10px;
  font-size: 12.5px; font-weight:500; color: var(--lino);
}
.amenity-chip svg{ width:16px; height:16px; color: var(--acqua-chiara); flex-shrink:0; }

/* ============================================
   EXPERIENCE (dark)
   ============================================ */
.experience{ position:relative; padding: 110px 0; background: var(--notte); overflow:hidden; }
.experience-bg{
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse 60% 45% at 15% 20%, rgba(63,184,204,.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 88% 85%, rgba(26,122,138,.16), transparent 60%);
}
.experience .section-inner{ position:relative; }
.experience h2{ color: var(--lino); font-size: clamp(28px,3.2vw,38px); }
.experience-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.experience-card{
  background: rgba(244,247,248,.04); border: 1px solid rgba(244,247,248,.12);
  border-radius: var(--radius); overflow:hidden;
  transition: border-color .3s, transform .3s;
  display:flex; flex-direction:column;
}
.experience-card:hover{ border-color: var(--acqua-chiara); transform: translateY(-3px); }
.experience-media{ aspect-ratio: 4/3; overflow:hidden; background: var(--notte-2); }
.experience-media img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition: transform .7s var(--ease);
}
.experience-card:hover .experience-media img{ transform: scale(1.05); }
.experience-body{ padding: 26px 26px 30px; }
.experience-card h3{ color: var(--lino); font-size: 21px; margin-bottom: .5em; }
.experience-card p{ color: rgba(244,247,248,.75); font-size: 14.5px; margin:0; }

/* ============================================
   SERVIZI
   ============================================ */
.servizi{ padding: 100px 0; position:relative; overflow:hidden; }
.servizi .section-inner{ position:relative; z-index:2; }
.servizi h2{ font-size: clamp(28px,3.2vw,38px); }
.servizi-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 56px; }
.servizio{ text-align:center; }
.servizio-icon{ width: 42px; height:42px; color: var(--acqua); margin: 0 auto 18px; }
.servizio h3{ font-size: 19px; margin-bottom: .5em; }
.servizio p{ font-size: 14px; line-height:1.65; color: var(--grigio-testo); }


/* ============================================
   RECENSIONI
   ============================================ */
.recensioni{ padding: 100px 0; position:relative; overflow:hidden; }
.recensioni .section-inner{ position:relative; z-index:2; }
.recensioni h2{ font-size: clamp(28px,3.2vw,38px); }
.recensioni-badges{ display:flex; justify-content:center; gap: 18px; flex-wrap:wrap; margin-top: 40px; }
.recensioni-badge{
  display:flex; flex-direction:column; align-items:center; gap:2px;
  padding: 16px 30px; background:#fff; border-radius: var(--radius);
  border: 1px solid rgba(28,36,44,.1); min-width: 160px;
  transition: border-color .3s, transform .3s;
}
.recensioni-badge:hover{ border-color: var(--acqua); transform: translateY(-2px); }
.recensioni-badge strong{ font-family: var(--display); font-size: 22px; color: var(--inchiostro); }
.recensioni-badge span{ font-size: 12px; letter-spacing:.06em; color: var(--grigio-testo); font-weight:500; }

.recensioni-carousel{
  margin-top: 52px; overflow:hidden; position:relative;
  /* soft fade at both edges so cards drift in and out instead of being clipped */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.recensioni-track{ display:flex; width:max-content; will-change: transform; }
.recensione-card{
  flex: 0 0 360px; margin: 0 10px; background:#fff;
  border: 1px solid rgba(28,36,44,.08); border-radius: var(--radius);
  padding: 30px 26px; display:flex; flex-direction:column; min-height: 220px;
}
.recensione-card svg{ width:26px; height:26px; color: var(--acqua); margin-bottom: 14px; flex-shrink:0; }
.recensione-card p{ font-size: 14.5px; line-height:1.65; color: var(--inchiostro); flex:1; margin:0 0 16px; }
.recensione-source{ font-size:11.5px; font-weight:600; letter-spacing:.08em; color: var(--acqua); text-transform:uppercase; }
@media (max-width: 640px){
  /* On phones a drifting ticker is never still long enough to read, so the
     strip becomes a native swipe carousel: one review at a time, snapped to
     centre, fully legible. The JS marquee stands down at this width. */
  .recensioni-carousel{
    margin-left: calc(-1 * var(--pad-x));
    margin-right: calc(-1 * var(--pad-x));
    width: 100vw; max-width: 100vw;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .recensioni-carousel::-webkit-scrollbar{ display:none; }
  .recensioni-track{
    transform: none !important;   /* the marquee no longer drives position here */
    padding: 0 calc((100vw - 82vw) / 2);
    gap: 14px;
  }
  .recensione-card{
    flex: 0 0 82vw; max-width: 360px;
    margin: 0; padding: 28px 24px; min-height: 0;
    scroll-snap-align: center;
  }
  .recensione-card p{ font-size: 14.5px; }
}
}


/* ============================================
   DOVE SIAMO
   ============================================ */
.dove-siamo{ padding: 100px 0; background: var(--lino); position:relative; overflow:hidden; }
.dove-grid{ display:grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items:center; position:relative; z-index:2; }
.dove-text h2{ font-size: clamp(28px,3.2vw,38px); }
.dove-text p{ color: var(--grigio-testo); font-size:16px; max-width: 46ch; }
.dove-text p[data-i18n="dove.parking"]{ font-size: 14.5px; opacity: .8; }
.dove-contatti{ display:flex; gap:26px; margin-top: 20px; flex-wrap:wrap; }
.dove-contatti a{ font-weight:600; font-size:14px; border-bottom: 1px solid var(--acqua); padding-bottom:2px; }
.dove-map{ border-radius: var(--radius); overflow:hidden; aspect-ratio: 4/3; }
.dove-map iframe{ width:100%; height:100%; border:0; }

/* ============================================
   CONTATTI
   ============================================ */
.contatti{ padding: 100px 0 130px; position:relative; overflow:hidden; }
.contatti .section-inner{ position:relative; z-index:2; }
.contatti h2{ font-size: clamp(28px,3.2vw,38px); }
.contatti-grid{ display:grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.contact-form{ display:flex; flex-direction:column; gap: 18px; }
.form-row{ display:flex; flex-direction:column; gap:8px; }
.form-row label{ font-size:12px; text-transform:uppercase; letter-spacing:.08em; font-weight:600; color: var(--grigio-testo); }
.form-row input, .form-row textarea{
  border: 1px solid rgba(28,36,44,.18); background: var(--lino); border-radius: var(--radius);
  padding: 13px 16px; font-family: var(--body); font-size: 15px; color: var(--inchiostro); resize: vertical;
  transition: border-color .3s;
}
.form-row input:focus, .form-row textarea:focus{ outline: none; border-color: var(--acqua); }
.contact-form .btn{ align-self:flex-start; margin-top: 6px; }
.form-note{ font-size: 13px; color: var(--acqua); min-height: 1em; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer{ background: var(--notte); color: rgba(244,247,248,.75); padding: 72px 0 26px; position:relative; overflow:hidden; }
.site-footer .section-inner, .site-footer .footer-fine{ position:relative; z-index:2; }
.footer-grid{
  display:grid; grid-template-columns: 1.3fr 1fr 1.1fr; gap: 48px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(244,247,248,.12);
  align-items:start;
}
.footer-logo-img{ height: 74px; width:auto; display:block; margin-bottom: 16px; }
.footer-brand p{ margin: 0; font-size: 14px; line-height:1.6; }
.footer-links, .footer-contact{ display:flex; flex-direction:column; gap: 12px; font-size: 14px; }
.footer-contact a{ word-break: break-word; }
.footer-links a:hover, .footer-contact a:hover{ color: var(--acqua-chiara); }
.footer-fine{ text-align:center; font-size: 12px; color: rgba(244,247,248,.4); margin: 26px 0 0; }

@media (max-width: 900px){
  /* one centred column: the brand leads, everything else lines up under it */
  .footer-grid{
    grid-template-columns: 1fr; gap: 34px; text-align:center;
    justify-items:center; padding-bottom: 36px;
  }
  .site-footer{ padding: 56px 0 24px; }
  .footer-logo-img{ height: 88px; margin: 0 auto 16px; }
  .footer-brand p{ max-width: 22ch; margin: 0 auto; }
  .footer-links{
    flex-direction:row; flex-wrap:wrap; justify-content:center;
    gap: 14px 22px; max-width: 30ch;
  }
  .footer-contact{ gap: 10px; }
}

/* ============================================
   WHATSAPP FAB
   ============================================ */
.whatsapp-fab{
  position: fixed; right: 24px; bottom: 24px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%; display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 28px -6px rgba(0,0,0,.4); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  animation: whatsapp-in .5s var(--ease) .3s both;
}
.whatsapp-fab svg{ width: 40px; height: 40px; }
.whatsapp-fab:hover{ transform: translateY(-3px) scale(1.05); }
@keyframes whatsapp-in{ from{ opacity:0; transform: scale(.6); } to{ opacity:1; transform: scale(1); } }
@media (max-width: 760px){ .whatsapp-fab{ right: 16px; bottom: 16px; width: 52px; height: 52px; } .whatsapp-fab svg{ width: 36px; height: 36px; } }


/* ============================================
   BOOKING CHOICE MODAL
   ============================================ */
.booking-panel{
  position:relative; background: var(--bianco); border-radius: var(--radius);
  max-width: 520px; width:100%; padding: 46px 42px 38px;
  transform: translateY(16px) scale(.98); transition: transform .35s var(--ease);
}
.modal-overlay.open .booking-panel{ transform: translateY(0) scale(1); }
.booking-panel .modal-close{ color: var(--inchiostro); top: 12px; right: 14px; }
.booking-panel .modal-close:hover{ background: rgba(28,36,44,.08); }
.booking-panel h3{ font-size: 26px; margin-bottom: 10px; }
.booking-lede{ color: var(--grigio-testo); font-size: 15px; margin-bottom: 26px; }

.booking-option{
  display:flex; align-items:center; gap: 16px;
  border: 1px solid rgba(28,36,44,.14); border-radius: var(--radius);
  padding: 18px 20px; margin-bottom: 12px;
  transition: border-color .3s, transform .3s var(--ease), background .3s;
}
.booking-option:hover{ border-color: var(--acqua); transform: translateY(-2px); background: var(--lino); }
.booking-option-primary{ border-color: rgba(37,211,102,.5); background: rgba(37,211,102,.05); }
.booking-option-primary:hover{ border-color: #25D366; background: rgba(37,211,102,.1); }
.booking-option-icon{ flex:0 0 auto; width: 40px; height: 40px; display:flex; align-items:center; justify-content:center; }
.booking-option-icon svg{ width: 100%; height: 100%; }
.booking-icon-plain{ color: var(--acqua); }
.booking-icon-plain svg{ width: 30px; height: 30px; }
.booking-option-text{ display:flex; flex-direction:column; gap: 3px; }
.booking-option-text strong{ font-size: 15.5px; font-weight:600; color: var(--inchiostro); }
.booking-option-text em{ font-style:normal; font-size: 13px; color: var(--grigio-testo); line-height:1.5; }

body.rtl .booking-option{ flex-direction: row-reverse; text-align: right; }
body.rtl .booking-panel .modal-close{ right:auto; left: 14px; }

@media (max-width: 560px){
  .booking-panel{ padding: 40px 24px 28px; }
  .booking-panel h3{ font-size: 22px; }
}


/* ============================================
   GUIDED ASSISTANT
   A tree of pre-written answers, no model behind it:
   it cannot invent availability, prices or access codes.
   ============================================ */
.assistant-fab{
  position: fixed; right: 24px; bottom: 92px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  background: var(--acqua); color:#fff; border:none; cursor:pointer;
  box-shadow: 0 10px 28px -6px rgba(0,0,0,.4);
  transition: transform .3s var(--ease), background .3s var(--ease);
  animation: whatsapp-in .5s var(--ease) .45s both;
}
.assistant-fab svg{ width: 34px; height: 34px; }
.assistant-fab:hover{ transform: translateY(-3px) scale(1.05); background: var(--acqua-chiara); }

.assistant-panel{
  position: fixed; right: 24px; bottom: 160px; z-index: 950;
  width: min(380px, calc(100vw - 32px));
  max-height: min(540px, calc(100vh - 210px));
  background: var(--bianco); border-radius: 6px;
  box-shadow: 0 24px 60px -12px rgba(8,14,22,.45);
  display:flex; flex-direction:column; overflow:hidden;
  opacity:0; visibility:hidden; transform: translateY(12px) scale(.98);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.assistant-panel.open{ opacity:1; visibility:visible; transform: translateY(0) scale(1); }

.assistant-head{
  display:flex; align-items:center; justify-content:space-between;
  padding: 16px 18px; background: var(--notte); color: var(--lino); flex-shrink:0;
}
.assistant-title{ font-family: var(--display); font-size: 16px; font-weight:600; }
.assistant-close{
  background:none; border:none; color: var(--lino); font-size: 26px; line-height:1;
  cursor:pointer; width:30px; height:30px; display:flex; align-items:center; justify-content:center;
  border-radius:50%; transition: background .25s;
}
.assistant-close:hover{ background: rgba(244,247,248,.15); }

.assistant-body{ padding: 18px; overflow-y:auto; }
.assistant-msg{
  font-size: 14.5px; line-height:1.6; color: var(--inchiostro);
  background: var(--lino); border-radius: 4px; padding: 14px 16px; margin: 0 0 14px;
}
.assistant-msg strong{ font-weight:600; }
.assistant-msg em{ font-size: 13px; color: var(--grigio-testo); }

.assistant-options{ display:flex; flex-direction:column; gap: 8px; }
.assistant-option{
  text-align:left; background:#fff; border:1px solid rgba(28,36,44,.14);
  border-radius: 4px; padding: 12px 14px; font-family: var(--body);
  font-size: 14px; color: var(--inchiostro); cursor:pointer;
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.assistant-option:hover{ border-color: var(--acqua); background: var(--lino); transform: translateX(2px); }

.assistant-actions{ display:flex; flex-direction:column; gap:8px; margin-top: 14px; }
.assistant-action{
  display:block; text-align:center; padding: 12px 16px; border-radius: 4px;
  font-size: 13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
  border:1px solid transparent; cursor:pointer; font-family: var(--body);
  transition: transform .25s var(--ease), background .25s;
}
.assistant-action-primary{ background: var(--acqua); color:#fff; }
.assistant-action-primary:hover{ background: var(--acqua-chiara); transform: translateY(-1px); }
.assistant-action-wa{ background: rgba(37,211,102,.1); border-color: rgba(37,211,102,.5); color: #1a7a3f; }
.assistant-action-wa:hover{ background: rgba(37,211,102,.18); transform: translateY(-1px); }

.assistant-nav{ margin-top: 14px; }
.assistant-back{
  background:none; border:none; color: var(--grigio-testo); font-family: var(--body);
  font-size: 13px; cursor:pointer; padding: 6px 0;
}
.assistant-back:hover{ color: var(--acqua); }

.assistant-foot{
  margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(28,36,44,.1);
  display:flex; flex-direction:column; gap:6px; align-items:flex-start;
}
.assistant-foot-text{ font-size: 12.5px; color: var(--grigio-testo); }
.assistant-foot-link{ font-size: 13px; font-weight:600; color: var(--acqua); border-bottom:1px solid currentColor; }

body.rtl .assistant-fab, body.rtl .assistant-panel{ right:auto; left: 24px; }
body.rtl .assistant-option{ text-align: right; }
body.rtl .assistant-option:hover{ transform: translateX(-2px); }
body.rtl .assistant-foot{ align-items:flex-end; }

@media (max-width: 760px){
  .assistant-fab{ right: 16px; bottom: 80px; width: 52px; height: 52px; }
  .assistant-fab svg{ width: 30px; height: 30px; }
  .assistant-panel{
    right: 12px; left: 12px; bottom: 144px; width:auto;
    max-height: min(68vh, calc(100vh - 190px));
  }
  body.rtl .assistant-fab{ right:auto; left: 16px; }
  body.rtl .assistant-panel{ right: 12px; left: 12px; }
}

/* ============================================
   MODALS (suite gallery)
   ============================================ */
.modal-overlay{
  position: fixed; inset:0; z-index: 1000; background: rgba(10,14,20,.88);
  display:flex; align-items:center; justify-content:center; padding: 24px;
  opacity:0; visibility:hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.modal-overlay.open{ opacity:1; visibility:visible; }
.modal-close{
  position:absolute; top: 18px; right: 22px; z-index: 20; background: none; border:none; color: var(--lino);
  font-size: 34px; line-height:1; cursor:pointer; width:44px; height:44px; display:flex; align-items:center; justify-content:center;
  border-radius:50%; transition: background .3s;
}
.modal-close:hover{ background: rgba(244,247,248,.12); }
.suite-modal-panel{
  background: var(--notte); border-radius: var(--radius); max-width: 1000px; width:100%; max-height: 90vh; overflow:hidden;
  transform: translateY(16px) scale(.98); transition: transform .35s var(--ease);
}
.modal-overlay.open .suite-modal-panel{ transform: translateY(0) scale(1); }
.suite-modal-gallery{ background: var(--notte); position:relative; }
.suite-modal-main{ position:relative; aspect-ratio: 16/10; background: #0b1016; }
.suite-modal-main img{ width:100%; height:100%; object-fit:contain; }
.gallery-counter{
  position:absolute; right: 16px; bottom: 14px; z-index:3;
  background: rgba(11,16,22,.72); backdrop-filter: blur(4px);
  color: var(--lino); font-size: 12px; letter-spacing:.08em;
  padding: 6px 12px; border-radius: 20px; pointer-events:none;
}
.gallery-nav{
  position:absolute; top:50%; transform:translateY(-50%); width: 40px; height:40px; border-radius:50%;
  background: rgba(19,26,36,.65); border: 1px solid rgba(244,247,248,.35); color: var(--lino); font-size: 22px; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition: background .3s;
}
.gallery-nav:hover{ background: rgba(19,26,36,.9); }
.gallery-nav.prev{ left: 14px; } .gallery-nav.next{ right: 14px; }
.suite-modal-thumbs{
  display:flex; gap:8px; padding: 14px 16px; overflow-x:auto; overflow-y:hidden;
  scrollbar-width: thin; background: var(--notte);
}
.suite-modal-thumbs img{
  width: 78px; height:58px; flex:0 0 auto; object-fit:cover; border-radius:2px; cursor:pointer;
  opacity:.5; transition: opacity .25s, border-color .25s; border: 1px solid transparent;
}
.suite-modal-thumbs img:hover{ opacity:.85; }
.suite-modal-thumbs img.active{ opacity:1; border-color: var(--acqua-chiara); }

/* ============================================
   REVEAL
   ============================================ */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view{ opacity:1; transform: translateY(0); }

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-switcher{ position:relative; }
.lang-toggle{
  background:none; border: 1px solid rgba(244,247,248,.4); border-radius: var(--radius);
  color: var(--lino); font-family: var(--body); font-size: 12px; font-weight:600;
  letter-spacing:.06em; padding: 7px 12px; cursor:pointer; transition: border-color .3s;
}
.lang-toggle:hover{ border-color: var(--acqua-chiara); }
.lang-list{
  position:absolute; top: calc(100% + 8px); right:0; list-style:none; margin:0; padding: 6px;
  background: var(--notte-2); border-radius: var(--radius); box-shadow: 0 20px 40px -12px rgba(0,0,0,.5);
  min-width: 150px; opacity:0; visibility:hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; z-index: 200;
}
.lang-switcher.open .lang-list{ opacity:1; visibility:visible; transform: translateY(0); }
.lang-option{
  display:block; width:100%; text-align:left; background:none; border:none;
  color: rgba(244,247,248,.85); font-family: var(--body); font-size: 13px; padding: 9px 12px; border-radius: 2px; cursor:pointer;
}
.lang-option:hover{ background: rgba(244,247,248,.08); color: var(--lino); }
.lang-option.active{ color: var(--acqua-chiara); font-weight:600; }
.lang-switcher-mobile{ display:none; margin-top: 4px; }
.lang-switcher-mobile .lang-toggle{ border-color: rgba(244,247,248,.3); }
.lang-switcher-mobile .lang-list{ left:0; right:auto; }
@media (max-width: 760px){
  .lang-switcher-desktop{ display:none; }
  .lang-switcher-mobile{ display:block; }
}

/* ============================================
   LANGUAGE: CJK / ARABIC TYPE FALLBACKS
   ============================================ */
html[lang="zh"] body{ font-family: 'Noto Sans SC', var(--body); }
html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3{
  font-family: 'Noto Sans SC', var(--display); font-style: normal; font-weight:600;
}
html[lang="ar"] body{ font-family: 'Noto Naskh Arabic', var(--body); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3{
  font-family: 'Noto Naskh Arabic', var(--display); font-style: normal; font-weight:600;
}

/* ============================================
   RTL SUPPORT (Arabic)
   ============================================ */
body.rtl{ direction: rtl; }
body.rtl .header-inner{ flex-direction: row-reverse; }
body.rtl .logo{ flex-direction: row-reverse; }
body.rtl .main-nav{ flex-direction: row-reverse; }
body.rtl .header-actions{ flex-direction: row-reverse; }
body.rtl .hero-content{ text-align: right; }
body.rtl .hero-actions{ flex-direction: row-reverse; justify-content:flex-end; }
body.rtl .dove-grid, body.rtl .contatti-grid{ direction: rtl; }
body.rtl .dove-contatti{ flex-direction: row-reverse; justify-content:flex-end; }
body.rtl .form-row{ text-align: right; }
body.rtl .lang-list{ right:auto; left:0; text-align:right; }
body.rtl .lang-switcher-mobile .lang-list{ left:auto; right:0; }
body.rtl .footer-grid{ direction: rtl; }
body.rtl .whatsapp-fab{ right: auto; left: 24px; }
@media (max-width: 760px){ body.rtl .whatsapp-fab{ right: auto; left: 16px; } }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px){
  .suite-showcase, .experience-grid{ grid-template-columns: 1fr; }
  .dove-grid, .contatti-grid{ grid-template-columns: 1fr; gap: 44px; }
  .servizi-grid{ grid-template-columns: repeat(2,1fr); gap: 40px; }
}
@media (max-width: 1450px){
  .main-nav-left, .main-nav-right{ gap: 20px; }
  .main-nav a{ font-size: 12px; letter-spacing: .08em; }
  .logo-img{ height: 92px; }
  .site-header.scrolled .logo-img{ height: 62px; }
}
@media (max-width: 1240px){
  .main-nav-left, .main-nav-right{ gap: 15px; }
  .main-nav a{ font-size: 11px; letter-spacing: .05em; }
  .logo-img{ height: 78px; }
  .site-header.scrolled .logo-img{ height: 56px; }
  .header-actions{ gap: 10px; }
  .btn-small{ padding: 9px 15px; font-size: 10.5px; }
}
@media (max-width: 900px){
  .main-nav-left, .main-nav-right{ display:none; }
  /* the invisible spacer only exists to optically centre the logo on desktop;
     left in place here it still occupies a grid cell and inflates the header */
  .header-side-left, .header-spacer{ display:none; }
  .header-inner{
    grid-template-columns: auto 1fr auto; gap: 16px;
    align-items:center; min-height: 0;
  }
  .site-header{ padding: 14px 0; }
  .site-header.scrolled{ padding: 10px 0; }
  .logo{ grid-column: 1; justify-self:start; display:flex; align-items:center; }
  .header-side-right{ grid-column: 3; justify-self:end; width:auto; }
  .header-actions{ position:static; transform:none; }
  .logo-img{ height: 54px; }
  .site-header.scrolled .logo-img{ height: 44px; }
}
@media (max-width: 760px){
  .main-nav-mobile{
    display:flex; position: fixed; top: 0; right:0; bottom:0; width: min(78vw, 320px); background: var(--notte);
    flex-direction: column; align-items:flex-start; padding: 100px 36px 40px; gap: 26px;
    transform: translateX(100%); transition: transform .45s var(--ease); z-index: 90;
  }
  .main-nav-mobile.open{ transform: translateX(0); }
  .nav-toggle{ display:flex; }
  .header-actions .btn-small{ display:none; }
  .servizi-grid{ grid-template-columns: 1fr; }
  .hero-content{ padding-bottom: 70px; }
  .hero-actions{ flex-direction:column; align-items:flex-start; }
  .btn{ width:100%; } .hero-actions .btn{ width:auto; }
  .suite-modal-main{ aspect-ratio: 4/3; }
  .suite-modal-thumbs img{ width: 62px; height:46px; }
  .logo-img{ height: 52px; }
  .site-header.scrolled .logo-img{ height: 42px; }
}
