:root {
  --night: #0b1f35;
  --ink: #142331;
  --gold: #c9a227;
  --gold-soft: #f2d883;
  --paper: #fffaf0;
  --mist: #f5f7f6;
  --teal: #0f766e;
  --coral: #0f766e;
  --line: rgba(20, 35, 49, 0.12);
  --shadow: 0 24px 80px rgba(11, 31, 53, 0.16);
  --font-title: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(15, 118, 110, 0.09), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(201, 162, 39, 0.12), transparent 24%),
    var(--paper);
  background-attachment: fixed;
  font-family: var(--font-body);
  line-height: 1.6;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

.cookie-notice {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(560px, calc(100% - 40px));
  padding: 18px 20px;
  border: 1px solid rgba(242, 216, 131, 0.45);
  border-radius: 8px;
  color: #fff;
  background: rgba(8, 17, 31, 0.96);
  box-shadow: 0 18px 54px rgba(8, 17, 31, 0.3);
}

.cookie-notice strong { font-family: var(--font-title); font-size: 1.2rem; }
.cookie-notice p { margin: 6px 0 0; color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }
.cookie-notice a { color: var(--gold-soft); text-decoration: underline; }
.cookie-notice button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 4px;
  padding: 11px 15px;
  color: var(--night);
  background: var(--gold-soft);
  font-weight: 800;
  cursor: pointer;
}

.cookie-settings {
  position: fixed;
  z-index: 89;
  right: 20px;
  bottom: 92px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(242, 216, 131, 0.45);
  border-radius: 50%;
  background: var(--night);
  box-shadow: 0 12px 28px rgba(8, 17, 31, 0.25);
  font-size: 1.35rem;
  cursor: pointer;
}

.cookie-settings:hover,
.cookie-settings:focus-visible {
  transform: scale(1.08);
}

.legal-page {
  min-height: 100svh;
  padding: 150px 20px 90px;
  background: var(--paper);
}

.legal-body .site-header {
  padding-block: 10px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 14px 42px rgba(11, 31, 53, 0.12);
  backdrop-filter: blur(25px);
}

.legal-body .site-header .brand {
  width: 160px;
  height: 60px;
}

.legal-body .site-header .brand-logo-white { opacity: 0; }
.legal-body .site-header .brand-logo-blue { opacity: 1; }

.legal-page-inner {
  width: min(900px, 100%);
  margin: 0 auto;
}

.legal-page h1,
.legal-page h2 {
  font-family: var(--font-title);
}

.legal-page h1 { font-size: clamp(3rem, 7vw, 5.6rem); }
.legal-page h2 { margin-top: 42px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.legal-page p { max-width: 780px; color: rgba(20, 35, 49, 0.78); line-height: 1.75; }
.legal-page a { color: var(--teal); font-weight: 700; }
.legal-updated { color: rgba(20, 35, 49, 0.6) !important; }

.privacy-consent {
  grid-column: 1 / -1;
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: flex-start;
  justify-content: flex-start;
  justify-self: stretch;
  align-self: start;
  width: 100%;
  gap: 12px;
  white-space: normal;
  color: rgba(20, 35, 49, 0.76);
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  line-height: 1.45;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.privacy-consent input,
.booking-extra-grid input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-content: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin: 1px 0 0;
  border: 2px solid rgba(20, 35, 49, 0.45);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.privacy-consent input::after,
.booking-extra-grid input[type="checkbox"]::after {
  content: "";
  width: 9px;
  height: 5px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg) scale(0);
  transition: transform 0.16s ease;
}

.privacy-consent input:checked,
.booking-extra-grid input[type="checkbox"]:checked {
  border-color: var(--teal);
  background: var(--teal);
}

.privacy-consent input:checked::after,
.booking-extra-grid input[type="checkbox"]:checked::after {
  transform: rotate(-45deg) scale(1);
}

.privacy-consent input:focus-visible,
.booking-extra-grid input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(201, 162, 39, 0.45);
  outline-offset: 2px;
}

.privacy-consent span {
  min-width: 0;
}

.privacy-consent a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
}

@media (max-width: 620px) {
  .cookie-notice {
    right: 16px;
    bottom: 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    width: calc(100% - 32px);
  }

  .cookie-notice button { width: 100%; }
  .cookie-settings { right: 16px; bottom: 84px; }
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #162447;
  animation: splash-out 0.9s ease 1.7s forwards;
}

.splash[data-splash] {
  animation: none;
}

.splash[data-splash].is-hidden {
  pointer-events: none;
  animation: splash-out 0.75s ease forwards;
}

.splash img,
.splash-video {
  width: min(520px, 78vw);
  max-height: 34vh;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 24px 70px rgba(0, 0, 0, 0.38));
}

.splash-video {
  width: auto;
  height: min(54svh, 560px);
  max-width: 78vw;
  max-height: none;
  object-position: center;
}

.splash img {
  animation: logo-open 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.splash span {
  position: absolute;
  bottom: 16%;
  width: min(260px, 64vw);
  height: 3px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.splash span::after {
  content: "";
  display: block;
  width: 55%;
  height: 100%;
  background: var(--gold);
  animation: load-bar 1.1s ease forwards;
}

.splash::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 216, 131, 0.95), transparent);
  transform: translateX(-100%);
  animation: light-scan 1.45s ease 0.25s forwards;
}

.splash[data-splash]::after {
  display: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled {
  padding-block: 10px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 14px 42px rgba(11, 31, 53, 0.12);
  backdrop-filter: blur(25px);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 190px;
  height: 72px;
  transition: width 0.25s ease, height 0.25s ease;
}

.brand-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.brand-logo-white {
  opacity: 1;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.36));
}

.brand-logo-blue {
  opacity: 0;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.site-header.is-scrolled .brand {
  width: 160px;
  height: 60px;
}

.site-header.is-scrolled .brand-logo-white {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo-blue {
  opacity: 1;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.7vw, 24px);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--gold);
  transition: transform 0.25s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta,
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  cursor: pointer;
}

.ripple-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  animation: ripple-out 0.65s ease forwards;
}

.header-cta,
.btn-primary {
  color: var(--night);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 14px 36px rgba(201, 162, 39, 0.25);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 46px;
  height: 46px;
  border: 1px solid currentColor;
  border-radius: 4px;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.2s ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 140px clamp(22px, 7vw, 108px) 82px;
  color: #fff;
  overflow: hidden;
}

#ambient-canvas,
.hero-media,
.hero-shade,
.hero-light {
  position: absolute;
  inset: 0;
}

#ambient-canvas {
  z-index: 2;
  opacity: 0.6;
}

.hero-media {
  z-index: 0;
  background:
    linear-gradient(rgba(11, 31, 53, 0.2), rgba(11, 31, 53, 0.2)),
    var(--cms-bg-image, url("../public/images/hero-taranto-lungomare.png"))
      center/cover;
  transform: scale(1.08);
  animation: hero-zoom 18s ease-in-out infinite alternate;
}

.hero-shade {
  z-index: 1;
  background:
    radial-gradient(circle at 72% 50%, rgba(15, 118, 110, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(11, 31, 53, 0.9), rgba(11, 31, 53, 0.42) 54%, rgba(11, 31, 53, 0.22));
}

.hero-light {
  inset: -20%;
  z-index: 2;
  opacity: 0.42;
  background: radial-gradient(circle at var(--mx, 62%) var(--my, 42%), rgba(242, 216, 131, 0.22), transparent 26%);
  mix-blend-mode: screen;
  transition: background 0.2s ease;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}

h1,
h2 {
  font-family: var(--font-title);
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 8vw, 7.2rem);
}

.split-text .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(46px) rotate(2deg);
  animation: word-rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4.4rem);
}

h3 {
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: #fff;
  animation: scroll-dot 1.5s ease infinite;
}

.section {
  padding: clamp(74px, 10vw, 136px) clamp(20px, 5vw, 74px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-more-link {
  display: inline-flex;
  margin-top: 18px;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.section-copy p:not(.eyebrow),
.contact-info p {
  color: rgba(20, 35, 49, 0.72);
  font-size: 1.02rem;
}

.about-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 250, 240, 0.92), rgba(245, 247, 246, 0.86)),
    radial-gradient(circle at 22% 20%, rgba(201, 162, 39, 0.14), transparent 26%),
    radial-gradient(circle at 88% 64%, rgba(15, 118, 110, 0.12), transparent 24%);
  background-size: 100% 100%, 140% 140%, 130% 130%;
  animation: mesh-drift 14s ease-in-out infinite alternate;
}

.about-section::before,
.about-section::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.about-section::before {
  width: 280px;
  height: 280px;
  left: max(18px, 7vw);
  top: 12%;
  border: 1px solid rgba(201, 162, 39, 0.16);
  transform: rotate(18deg);
  animation: slow-float 9s ease-in-out infinite alternate;
}

.about-section::after {
  width: 180px;
  height: 180px;
  right: 9%;
  bottom: 12%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.13), transparent 68%);
  filter: blur(4px);
  animation: slow-float 7s ease-in-out infinite alternate-reverse;
}

.about-grid {
  position: relative;
  z-index: 1;
}

.about-section .section-copy h2 {
  position: relative;
}

.about-section .section-copy h2::after {
  content: "";
  display: block;
  width: 84px;
  height: 3px;
  margin-top: 22px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s ease 0.25s;
}

.about-section .section-copy.is-visible h2::after {
  transform: scaleX(1);
}

.about-link {
  margin-top: 28px;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.stats span {
  position: relative;
  overflow: hidden;
  min-height: 98px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 36px rgba(11, 31, 53, 0.06);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.stats span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 28%, rgba(201, 162, 39, 0.18), transparent 66%);
  opacity: 0;
  transform: translateX(-70%);
  transition: opacity 0.24s ease, transform 0.55s ease;
}

.stats span:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, 0.42);
  box-shadow: 0 22px 54px rgba(11, 31, 53, 0.12);
}

.stats span:hover::after {
  opacity: 1;
  transform: translateX(70%);
}

.stats strong {
  display: block;
  color: var(--teal);
  font-size: 1.8rem;
  line-height: 1;
}

.tilt-frame {
  position: relative;
  perspective: 1000px;
}

.tilt-frame::before {
  content: "";
  position: absolute;
  inset: 22px -18px -22px 34px;
  z-index: -1;
  border: 1px solid rgba(201, 162, 39, 0.38);
  border-radius: 6px;
  transform: rotate(3deg);
  transition: transform 0.45s ease;
}

.tilt-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: linear-gradient(120deg, transparent 32%, rgba(255, 255, 255, 0.36), transparent 58%);
  opacity: 0;
  transform: translateX(-35%);
  transition: opacity 0.28s ease, transform 0.75s ease;
  pointer-events: none;
}

.tilt-frame:hover::before {
  transform: rotate(-2deg) translateY(-4px);
}

.tilt-frame:hover::after {
  opacity: 1;
  transform: translateX(35%);
}

.tilt-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
  transform: rotateY(-11deg) rotateX(5deg) translateZ(0);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.8s ease;
}

.tilt-frame.is-visible img {
  transform: rotateY(var(--about-tilt-x, -4deg)) rotateX(var(--about-tilt-y, 2deg)) translateZ(0);
}

.about-badge {
  position: absolute;
  left: -24px;
  bottom: 34px;
  min-width: 142px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  color: #fff;
  background: rgba(11, 31, 53, 0.72);
  box-shadow: 0 18px 48px rgba(11, 31, 53, 0.22);
  backdrop-filter: blur(16px);
  animation: badge-float 3.8s ease-in-out infinite;
}

.about-badge strong,
.about-badge span {
  display: block;
}

.about-badge strong {
  color: var(--gold-soft);
  font-family: var(--font-title);
  font-size: 1.35rem;
  line-height: 1;
}

.about-badge span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-page-hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 5vw, 74px) 92px;
  color: #fff;
  overflow: hidden;
}

.about-page-media,
.about-page-glow {
  position: absolute;
  inset: 0;
}

.about-page-media {
  z-index: 0;
  background:
    linear-gradient(rgba(11, 31, 53, 0.14), rgba(11, 31, 53, 0.14)),
    url("../public/images/fotochisiamo.jpg")
      center/cover;
  transform: scale(1.08);
  animation: hero-zoom 20s ease-in-out infinite alternate;
}

.about-page-glow {
  z-index: 1;
  background:
    radial-gradient(circle at 78% 36%, rgba(212, 175, 55, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(8, 17, 31, 0.92), rgba(8, 17, 31, 0.5) 56%, rgba(8, 17, 31, 0.24));
}

.about-page-hero-content {
  position: relative;
  z-index: 2;
}

.about-page-hero-content h1 {
  max-width: 900px;
}

.about-page-hero-content p:not(.eyebrow) {
  max-width: 660px;
  margin: 22px 0 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.about-story-section {
  background: var(--paper);
}

.philosophy-section {
  background:
    linear-gradient(135deg, rgba(245, 247, 246, 0.96), rgba(255, 250, 240, 0.94)),
    radial-gradient(circle at 20% 20%, rgba(201, 162, 39, 0.14), transparent 28%);
}

.philosophy-grid,
.about-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.philosophy-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(201, 162, 39, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 54px rgba(11, 31, 53, 0.09);
  backdrop-filter: blur(14px);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.philosophy-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(201, 162, 39, 0.2), transparent 68%);
  opacity: 0;
  transform: translateX(-70%);
  transition: opacity 0.25s ease, transform 0.6s ease;
}

.philosophy-card:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: var(--shadow);
}

.philosophy-card:hover::after {
  opacity: 1;
  transform: translateX(70%);
}

.philosophy-card span {
  color: var(--gold);
  font-weight: 900;
}

.philosophy-card h3 {
  margin-top: 72px;
  font-family: var(--font-title);
  font-size: 2rem;
}

.philosophy-card p {
  color: rgba(20, 35, 49, 0.68);
}

.timeline-section {
  background: #fff;
}

.timeline {
  position: relative;
  display: grid;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--gold), rgba(201, 162, 39, 0.08));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 28px rgba(201, 162, 39, 0.62);
  transform: translateY(-50%);
}

.timeline-item strong {
  color: var(--teal);
  font-size: 1.4rem;
}

.about-numbers-section {
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 74px);
  color: #fff;
  background:
    linear-gradient(rgba(8, 17, 31, 0.9), rgba(8, 17, 31, 0.9)),
    url("../public/images/classic/foto leoniddsva.jpg")
      center/cover fixed;
}

.about-numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.about-numbers-grid span {
  position: relative;
  overflow: hidden;
  min-height: 160px;
  display: grid;
  align-content: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.about-numbers-grid strong {
  display: block;
  color: var(--gold-soft);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1;
}

.immersive-section {
  position: relative;
  min-height: 76svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 74px);
  color: #fff;
}

.immersive-media {
  position: absolute;
  inset: -8%;
  z-index: 0;
  background:
    linear-gradient(rgba(8, 17, 31, 0.35), rgba(8, 17, 31, 0.7)),
    url("../public/images/deluxe/foto leonida.jpg")
      center/cover;
}

.immersive-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.immersive-content h2,
.about-cta-section h2 {
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 7vw, 6rem);
}

.immersive-content p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.about-preview-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 18px 52px rgba(11, 31, 53, 0.14);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.about-preview-grid img:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(-2deg) scale(1.02);
  box-shadow: var(--shadow);
}

.about-cta-section {
  padding: clamp(82px, 10vw, 150px) clamp(20px, 5vw, 74px);
  color: #fff;
  background:
    linear-gradient(rgba(11, 31, 53, 0.72), rgba(11, 31, 53, 0.82)),
    url("../public/images/classic/foto leonidasdv.jpg")
      center/cover;
}

.about-cta-section .section-inner {
  display: grid;
  gap: 26px;
}

.rooms-page-hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 5vw, 74px) 92px;
  color: #fff;
  overflow: hidden;
}

.rooms-page-media,
.rooms-page-glow {
  position: absolute;
  inset: 0;
}

.rooms-page-media {
  z-index: 0;
  background:
    linear-gradient(rgba(11, 31, 53, 0.12), rgba(11, 31, 53, 0.12)),
    url("../public/images/classic/foto leonidasdv.jpg")
      center/cover;
  transform: scale(1.08);
  animation: hero-zoom 20s ease-in-out infinite alternate;
}

.rooms-page-glow {
  z-index: 1;
  background:
    radial-gradient(circle at 72% 42%, rgba(201, 162, 39, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(8, 17, 31, 0.92), rgba(8, 17, 31, 0.5) 58%, rgba(8, 17, 31, 0.2));
}

.rooms-page-hero-content {
  position: relative;
  z-index: 2;
}

.rooms-page-hero-content p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.rooms-intro-section {
  background: var(--paper);
}

.rooms-intro-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

.room-panels-section {
  background: var(--mist);
}

.room-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  margin-top: 34px;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 54px rgba(11, 31, 53, 0.09);
}

.room-panel.reverse {
  grid-template-columns: minmax(330px, 0.9fr) minmax(0, 1.1fr);
}

.room-panel.reverse .room-panel-media {
  order: 2;
}

.room-panel-media {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  min-height: 430px;
  box-shadow: var(--shadow);
}

.room-photo-slider {
  position: absolute;
  inset: 0;
  background: var(--night);
}

.room-photo-track {
  display: flex;
  width: max-content;
  height: 100%;
  transition: transform 0.45s ease;
}

.room-photo-slider.is-manual .room-photo-track {
  animation: none;
}

.room-slider-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: #fff;
  background: rgba(8, 17, 31, 0.52);
  backdrop-filter: blur(8px);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.room-slider-control:hover,
.room-slider-control:focus-visible {
  background: var(--teal);
  transform: translateY(-50%) scale(1.08);
}

.room-slider-prev { left: 16px; }
.room-slider-next { right: 16px; }

.room-gallery-image {
  flex: 0 0 var(--room-slide-width, 100vw);
  width: var(--room-slide-width, 100vw);
  height: 100%;
  overflow: hidden;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  background: transparent;
}

.room-gallery-image img {
  display: block;
}

@keyframes room-gallery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .room-photo-track {
    animation: none;
  }
}

.room-panel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--card-x, 50%) var(--card-y, 50%), rgba(255, 255, 255, 0.28), transparent 20%),
    linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.32), transparent 68%);
  opacity: 0;
  transform: translateX(-25%);
  transition: opacity 0.22s ease, transform 0.55s ease;
  pointer-events: none;
}

.room-panel:hover .room-panel-media::after {
  opacity: 1;
  transform: translateX(25%);
}

.room-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.room-panel:hover .room-panel-media img {
  transform: scale(1.1);
  filter: saturate(1.06) contrast(1.03);
}

.room-panel-copy h3 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.room-panel-copy p:not(.eyebrow) {
  color: rgba(20, 35, 49, 0.72);
}

.room-service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.room-service-list li {
  padding: 8px 12px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  color: var(--teal);
  background: rgba(15, 118, 110, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
}

.room-panel-copy footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.room-panel-copy footer strong {
  font-size: 1.2rem;
}

.room-compare-section {
  color: #fff;
  background: var(--night);
}

.room-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.room-compare-grid article {
  min-height: 260px;
  display: grid;
  align-content: space-between;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.room-compare-grid article:hover {
  transform: translateY(-8px);
  border-color: rgba(242, 216, 131, 0.58);
}

.room-compare-grid h3 {
  font-family: var(--font-title);
  font-size: 2rem;
}

.room-compare-grid p,
.room-compare-grid span {
  color: rgba(255, 255, 255, 0.72);
}

.room-compare-grid strong {
  color: var(--gold-soft);
  font-size: 1.7rem;
}

.rooms-experience-section {
  position: relative;
  min-height: 74svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 74px);
  color: #fff;
}

.rooms-experience-media {
  position: absolute;
  inset: -8%;
  z-index: 0;
  background:
    linear-gradient(rgba(8, 17, 31, 0.28), rgba(8, 17, 31, 0.76)),
    url("../public/images/suite/S_L0r9415.jpg")
      center/cover;
}

.rooms-experience-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.rooms-experience-content h2,
.rooms-cta-section h2 {
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 7vw, 6rem);
}

.rooms-experience-content p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.rooms-cta-section {
  padding: clamp(82px, 10vw, 150px) clamp(20px, 5vw, 74px);
  color: #fff;
  background:
    linear-gradient(rgba(11, 31, 53, 0.72), rgba(11, 31, 53, 0.82)),
    url("../public/images/deluxe/foto leonida.jpg")
      center/cover;
}

.rooms-cta-section .section-inner {
  display: grid;
  gap: 26px;
}

.services-page-hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 5vw, 74px) 92px;
  color: #fff;
  overflow: hidden;
}

.services-page-media,
.services-page-glow {
  position: absolute;
  inset: 0;
}

.services-page-media {
  z-index: 0;
  background:
    linear-gradient(rgba(11, 31, 53, 0.14), rgba(11, 31, 53, 0.14)),
    url("../public/images/classic/foto leoniddsva.jpg")
      center/cover;
  transform: scale(1.08);
  animation: hero-zoom 20s ease-in-out infinite alternate;
}

.services-page-glow {
  z-index: 1;
  background:
    radial-gradient(circle at 74% 38%, rgba(201, 162, 39, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(8, 17, 31, 0.92), rgba(8, 17, 31, 0.48) 58%, rgba(8, 17, 31, 0.22));
}

.services-page-hero-content {
  position: relative;
  z-index: 2;
}

.services-page-hero-content p:not(.eyebrow) {
  max-width: 700px;
  margin: 22px 0 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.services-intro-section {
  background: var(--paper);
}

.services-intro-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

.services-cards-section {
  background: var(--mist);
}

.services-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-premium-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  display: grid;
  align-content: end;
  padding: 26px;
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 6px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.86), rgba(255, 250, 240, 0.7)),
    radial-gradient(circle at 82% 18%, rgba(201, 162, 39, 0.16), transparent 30%);
  box-shadow: 0 18px 54px rgba(11, 31, 53, 0.09);
  backdrop-filter: blur(14px);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-premium-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(201, 162, 39, 0.2), transparent 68%);
  opacity: 0;
  transform: translateX(-70%);
  transition: opacity 0.25s ease, transform 0.6s ease;
}

.service-premium-card:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow: var(--shadow);
}

.service-premium-card:hover::after {
  opacity: 1;
  transform: translateX(70%);
}

.service-premium-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-premium-card h3 {
  margin-top: 54px;
  font-family: var(--font-title);
  font-size: 1.8rem;
}

.service-premium-card p {
  color: rgba(20, 35, 49, 0.68);
}

.services-relax-section {
  position: relative;
  min-height: 74svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 74px);
  color: #fff;
}

.services-relax-media {
  position: absolute;
  inset: -8%;
  z-index: 0;
  background:
    linear-gradient(rgba(8, 17, 31, 0.25), rgba(8, 17, 31, 0.72)),
    url("../public/images/deluxe/foto leonida.jpg")
      center/cover;
}

.services-relax-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.services-relax-content h2,
.services-cta-section h2 {
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 7vw, 6rem);
}

.services-relax-content p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.experiences-section {
  background: #fff;
}

.experience-row {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  margin-top: 30px;
}

.experience-row.reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
}

.experience-row.reverse img {
  order: 2;
}

.experience-row img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.experience-row h3 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.experience-row p {
  color: rgba(20, 35, 49, 0.72);
}

.services-why-section {
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 74px);
  color: #fff;
  background: var(--night);
}

.services-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.services-why-grid span {
  min-height: 150px;
  display: grid;
  align-content: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.services-why-grid strong {
  display: block;
  color: var(--gold-soft);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1;
}

.stay-timeline-section {
  background: var(--paper);
}

.services-cta-section {
  padding: clamp(82px, 10vw, 150px) clamp(20px, 5vw, 74px);
  color: #fff;
  background:
    linear-gradient(rgba(11, 31, 53, 0.72), rgba(11, 31, 53, 0.82)),
    url("../public/images/classic/foto leonidasdv.jpg")
      center/cover;
}

.services-cta-section .section-inner {
  display: grid;
  gap: 26px;
}

.gallery-page-hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 5vw, 74px) 92px;
  color: #fff;
  overflow: hidden;
}

.gallery-page-media,
.gallery-page-glow {
  position: absolute;
  inset: 0;
}

.gallery-page-media {
  z-index: 0;
  background:
    linear-gradient(rgba(11, 31, 53, 0.12), rgba(11, 31, 53, 0.12)),
    url("../public/images/classic/foto leonidasdv.jpg")
      center/cover;
  transform: scale(1.08);
  animation: hero-zoom 20s ease-in-out infinite alternate;
}

.gallery-page-glow {
  z-index: 1;
  background:
    radial-gradient(circle at 72% 38%, rgba(201, 162, 39, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(8, 17, 31, 0.92), rgba(8, 17, 31, 0.48) 58%, rgba(8, 17, 31, 0.18));
}

.gallery-page-hero-content {
  position: relative;
  z-index: 2;
}

.gallery-page-hero-content p:not(.eyebrow) {
  max-width: 700px;
  margin: 22px 0 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.gallery-intro-section {
  background:
    linear-gradient(115deg, rgba(255, 250, 240, 0.94), rgba(245, 247, 246, 0.9)),
    radial-gradient(circle at 80% 20%, rgba(201, 162, 39, 0.12), transparent 30%);
}

.gallery-intro-copy {
  max-width: 900px;
}

.gallery-intro-copy h2 {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.gallery-intro-copy p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(20, 35, 49, 0.72);
}

.gallery-story-section {
  display: grid;
  gap: 0;
  background: var(--night);
}

.gallery-story-panel {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 74px);
  color: #fff;
}

.gallery-story-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  filter: saturate(1.03) contrast(1.02);
  transition: transform 1s ease, filter 1s ease;
}

.gallery-story-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 17, 31, 0.12), rgba(8, 17, 31, 0.82));
}

.gallery-story-panel.is-visible img {
  transform: scale(1);
  filter: saturate(1.08) contrast(1.04);
}

.gallery-story-panel div {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.gallery-story-panel h2 {
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 7vw, 6rem);
}

.gallery-full-section {
  background: var(--paper);
}

.gallery-page-grid {
  grid-auto-rows: 170px;
}

.gallery-immersive-section {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(82px, 10vw, 150px) clamp(20px, 5vw, 74px);
  color: #fff;
}

.gallery-immersive-media {
  position: absolute;
  inset: -8%;
  z-index: 0;
  background:
    linear-gradient(rgba(11, 31, 53, 0.34), rgba(11, 31, 53, 0.84)),
    url("../public/images/deluxe/foto leonida.jpg")
      center/cover;
}

.gallery-immersive-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 26px;
}

.gallery-immersive-content h2 {
  max-width: 980px;
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 7vw, 6rem);
}

.contact-page-hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 5vw, 74px) 92px;
  color: #fff;
  overflow: hidden;
}

.contact-page-media,
.contact-page-glow {
  position: absolute;
  inset: 0;
}

.contact-page-media {
  z-index: 0;
  background:
    linear-gradient(rgba(11, 31, 53, 0.16), rgba(11, 31, 53, 0.16)),
    url("../public/images/classic/foto leonidasdv.jpg")
      center/cover;
  transform: scale(1.08);
  animation: hero-zoom 20s ease-in-out infinite alternate;
}

.contact-page-glow {
  z-index: 1;
  background:
    radial-gradient(circle at 74% 38%, rgba(201, 162, 39, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(8, 17, 31, 0.92), rgba(8, 17, 31, 0.48) 58%, rgba(8, 17, 31, 0.22));
}

.contact-page-hero-content {
  position: relative;
  z-index: 2;
}

.contact-page-hero-content p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.contact-welcome-section {
  background: var(--paper);
}

.contact-welcome-grid,
.contact-premium-grid,
.contact-map-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

.quick-contacts-section,
.reach-section {
  background: var(--mist);
}

.quick-contact-grid,
.reach-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.quick-contact-card,
.reach-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 54px rgba(11, 31, 53, 0.09);
  backdrop-filter: blur(14px);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.quick-contact-card::after,
.reach-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(201, 162, 39, 0.18), transparent 68%);
  opacity: 0;
  transform: translateX(-70%);
  transition: opacity 0.25s ease, transform 0.6s ease;
}

.quick-contact-card:hover,
.reach-card:hover {
  transform: translateY(-9px) rotateX(2deg) rotateY(-2deg);
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: var(--shadow);
}

.quick-contact-card:hover::after,
.reach-card:hover::after {
  opacity: 1;
  transform: translateX(70%);
}

.quick-contact-card span,
.reach-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quick-contact-card h3,
.reach-card h3 {
  margin-top: 52px;
  font-family: var(--font-title);
  font-size: 1.75rem;
}

.quick-contact-card p,
.reach-card p {
  color: rgba(20, 35, 49, 0.7);
}

.quick-contact-card a {
  color: var(--teal);
  font-weight: 800;
}

.contact-premium-section {
  background: #fff;
}

.contact-premium-grid .contact-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-premium-grid .contact-form label:has(textarea),
.contact-premium-grid .contact-form button,
.contact-premium-grid .contact-form .form-status {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--teal);
  font-weight: 700;
}

.contact-map-section {
  background: var(--paper);
}

.contact-map-grid .map {
  width: 100%;
  height: 470px;
  margin: 0;
}

.map-actions {
  display: grid;
  gap: 16px;
}

.map-actions h2 {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.map-actions p:not(.eyebrow) {
  color: rgba(20, 35, 49, 0.72);
}

.map-actions .btn-ghost {
  color: var(--teal);
  border-color: rgba(11, 95, 102, 0.48);
  background: rgba(11, 95, 102, 0.08);
}

.map-actions .btn-ghost:hover {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.reach-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-section {
  background: #fff;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(11, 31, 53, 0.06);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: rgba(20, 35, 49, 0.72);
}

.faq-list details[open] {
  border-color: rgba(201, 162, 39, 0.46);
}

.contact-cta-section {
  padding: clamp(82px, 10vw, 150px) clamp(20px, 5vw, 74px);
  color: #fff;
  background:
    linear-gradient(rgba(11, 31, 53, 0.72), rgba(11, 31, 53, 0.82)),
    url("../public/images/fotochisiamo.jpg")
      center/cover;
}

.contact-cta-section .section-inner {
  display: grid;
  gap: 26px;
}

.contact-cta-section h2 {
  max-width: 980px;
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 7vw, 6rem);
}

.booking-page-hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 5vw, 74px) 92px;
  color: #fff;
  overflow: hidden;
}

.booking-page-media,
.booking-page-glow {
  position: absolute;
  inset: 0;
}

.booking-page-media {
  z-index: 0;
  background:
    linear-gradient(rgba(11, 31, 53, 0.12), rgba(11, 31, 53, 0.12)),
    url("../public/images/suite/S_L09oo41oo5.jpg")
      center/cover;
  transform: scale(1.08);
  animation: hero-zoom 20s ease-in-out infinite alternate;
}

.booking-page-glow {
  z-index: 1;
  background:
    radial-gradient(circle at 72% 40%, rgba(201, 162, 39, 0.2), transparent 28%),
    linear-gradient(90deg, rgba(8, 17, 31, 0.92), rgba(8, 17, 31, 0.46) 58%, rgba(8, 17, 31, 0.18));
}

.booking-page-hero-content {
  position: relative;
  z-index: 2;
}

.booking-page-hero-content p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.booking-section {
  background:
    linear-gradient(115deg, rgba(255, 250, 240, 0.96), rgba(245, 247, 246, 0.92)),
    radial-gradient(circle at 82% 8%, rgba(201, 162, 39, 0.14), transparent 28%);
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 380px);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.booking-form {
  display: grid;
  gap: 18px;
}

.booking-step,
.booking-summary {
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 54px rgba(11, 31, 53, 0.09);
  backdrop-filter: blur(14px);
}

.booking-step {
  padding: clamp(20px, 3vw, 30px);
}

.booking-step > span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-step h2,
.booking-summary h2 {
  margin-top: 8px;
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.booking-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.booking-fields label,
.booking-extra-grid label {
  display: grid;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.booking-fields input,
.booking-fields textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(245, 247, 246, 0.9);
  outline: none;
}

.booking-fields input:focus,
.booking-fields textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.14);
}

.booking-fields .wide {
  grid-column: 1 / -1;
}

.booking-room-grid,
.booking-extra-grid,
.booking-guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.booking-room-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.booking-room-card:hover,
.booking-room-card:has(input:checked) {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, 0.56);
  box-shadow: var(--shadow);
}

.booking-room-card input {
  position: absolute;
  opacity: 0;
}

.booking-room-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.booking-room-card strong {
  font-size: 1rem;
}

.booking-room-card small {
  color: var(--teal);
  font-weight: 800;
}

.booking-extra-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.booking-extra-grid label {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.booking-extra-grid label:hover,
.booking-extra-grid label:has(input:checked) {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.56);
}

.booking-summary {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 30px);
}

.booking-summary dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.booking-status {
  margin: 12px 0 0;
  color: rgba(20, 35, 49, 0.72);
  font-size: 0.92rem;
  font-weight: 700;
}

.booking-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.booking-summary dt {
  color: rgba(20, 35, 49, 0.64);
  font-weight: 700;
}

.booking-summary dd {
  margin: 0;
  text-align: right;
  font-weight: 900;
}

.booking-summary p:not(.eyebrow) {
  color: rgba(20, 35, 49, 0.68);
}

.booking-guarantees-section {
  background: var(--mist);
}

.booking-cta-section {
  padding: clamp(82px, 10vw, 150px) clamp(20px, 5vw, 74px);
  color: #fff;
  background:
    linear-gradient(rgba(11, 31, 53, 0.72), rgba(11, 31, 53, 0.82)),
    url("../public/images/deluxe/foto leonida.jpg")
      center/cover;
}

.booking-cta-section .section-inner {
  display: grid;
  gap: 26px;
}

.booking-cta-section h2 {
  max-width: 980px;
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 7vw, 6rem);
}

.games-page-hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px clamp(20px, 5vw, 74px) 92px;
  color: #fff;
}

.games-page-media,
.games-page-glow {
  position: absolute;
  inset: 0;
}

.games-page-media {
  z-index: 0;
  background:
    linear-gradient(rgba(11, 31, 53, 0.26), rgba(11, 31, 53, 0.7)),
    var(--cms-bg-image, url("../public/images/hero-taranto-lungomare.png"))
      center/cover;
  transform: scale(1.08);
  animation: hero-zoom 20s ease-in-out infinite alternate;
}

.games-page-glow {
  z-index: 1;
  background:
    radial-gradient(circle at 72% 34%, rgba(201, 162, 39, 0.2), transparent 28%),
    radial-gradient(circle at 18% 72%, rgba(15, 118, 110, 0.22), transparent 30%);
}

.games-page-hero-content {
  position: relative;
  z-index: 2;
}

.games-page-hero-content p:not(.eyebrow) {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.04rem, 2vw, 1.24rem);
}

.games-intro-section {
  background: var(--paper);
}

.games-intro-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

.games-stay-section,
.games-timeline-section {
  background: var(--mist);
}

.games-card-grid,
.games-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.games-cta-section {
  padding: clamp(82px, 10vw, 150px) clamp(20px, 5vw, 74px);
  color: #fff;
  background:
    linear-gradient(rgba(11, 31, 53, 0.72), rgba(11, 31, 53, 0.82)),
    url("../public/images/hero-taranto-lungomare.png")
      center/cover;
}

.games-cta-section .section-inner {
  display: grid;
  gap: 26px;
}

.games-cta-section h2 {
  max-width: 980px;
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 7vw, 6rem);
}

.rooms-section {
  background: var(--mist);
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.room-card {
  position: relative;
  display: grid;
  grid-template-rows: 250px 1fr;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(11, 31, 53, 0.08);
  transform-style: preserve-3d;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.room-card-link {
  color: inherit;
  text-decoration: none;
}

.room-card-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.room-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--card-x, 50%) var(--card-y, 50%), rgba(255, 255, 255, 0.34), transparent 18%),
    linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.42) 48%, transparent 66%);
  opacity: 0;
  transform: translateX(-18%);
  transition: opacity 0.22s ease, transform 0.45s ease;
  pointer-events: none;
}

.room-card:hover {
  transform: translateY(-12px) rotateX(var(--tilt-y, 2deg)) rotateY(var(--tilt-x, -2deg));
  box-shadow: var(--shadow);
}

.room-card:hover::after {
  opacity: 1;
  transform: translateX(12%);
}

.room-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.room-card:hover img {
  transform: scale(1.08);
}

.room-card div {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.room-card p {
  color: rgba(20, 35, 49, 0.72);
}

.room-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 22px;
  padding: 0;
  list-style: none;
}

.room-card li {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--teal);
  background: rgba(15, 118, 110, 0.1);
  font-size: 0.82rem;
  font-weight: 700;
}

.room-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.text-link {
  color: var(--coral);
  font-weight: 800;
}

.services-section {
  color: #fff;
  background:
    linear-gradient(rgba(11, 31, 53, 0.92), rgba(11, 31, 53, 0.88)),
    url("../public/images/classic/foto leoniddsva.jpg")
      center/cover fixed;
}

.services-section .section-heading {
  color: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-item {
  min-height: 132px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.service-item.is-visible {
  transition-delay: var(--stagger, 0ms);
}

.service-item:hover {
  transform: translateY(-5px);
  border-color: rgba(242, 216, 131, 0.72);
}

@media (min-width: 901px) {
  .service-grid .service-item:last-child {
    grid-column: 2;
  }
}

.service-item span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: var(--gold);
  box-shadow: 0 0 30px rgba(201, 162, 39, 0.38);
}

.service-item svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--night);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 150px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: var(--night);
  cursor: zoom-in;
  transform: translateY(24px) scale(0.96) rotate(-1deg);
  box-shadow: 0 18px 48px rgba(11, 31, 53, 0.14);
}

.gallery-item.is-visible {
  transform: translateY(0) scale(1) rotate(0);
}

.gallery-item.featured {
  grid-column: span 3;
  grid-row: span 3;
}

.gallery-item.wide {
  grid-column: span 3;
  grid-row: span 2;
}

.gallery-item.tall {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:not(.featured, .wide, .tall) {
  grid-column: span 3;
  grid-row: span 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 31, 53, 0.78));
  opacity: 0.9;
  pointer-events: none;
}

.gallery-item span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: left;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.1) contrast(1.05);
}

.home-games-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255, 250, 240, 0.94), rgba(245, 247, 246, 0.9)),
    radial-gradient(circle at 12% 20%, rgba(201, 162, 39, 0.16), transparent 28%),
    radial-gradient(circle at 88% 70%, rgba(15, 118, 110, 0.14), transparent 26%);
}

.home-games-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: center;
}

.home-games-copy {
  display: grid;
  gap: 22px;
}

.home-games-copy h2 {
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 6vw, 5.8rem);
}

.home-games-copy p:not(.eyebrow) {
  color: rgba(20, 35, 49, 0.72);
  font-size: 1.06rem;
}

.home-games-copy .btn {
  justify-self: start;
}

.home-games-media {
  min-height: clamp(360px, 48vw, 560px);
}

.home-games-media span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid rgba(242, 216, 131, 0.36);
  border-radius: 999px;
  color: #fff;
  background: rgba(11, 31, 53, 0.68);
  backdrop-filter: blur(18px);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-section {
  background: var(--mist);
}

.contact-grid {
  align-items: start;
}

.contact-info a {
  color: var(--teal);
  font-weight: 800;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.social-row a,
.whatsapp,
.back-to-top {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
  font-size: 0.82rem;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(11, 31, 53, 0.1);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--mist);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.14);
}

.map {
  width: min(1180px, calc(100% - 40px));
  height: 360px;
  margin: 54px auto 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.map iframe,
.map img {
  width: 100%;
  height: 100%;
  border: 0;
}

.home-map {
  height: auto;
  aspect-ratio: 2481 / 1754;
}

.map img {
  display: block;
  object-fit: cover;
}

.home-map img {
  object-fit: contain;
}

.site-footer {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(160px, 0.65fr) minmax(220px, 0.9fr) minmax(260px, 0.9fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  padding: clamp(58px, 8vw, 92px) clamp(20px, 5vw, 74px) 34px;
  color: #fff;
  background:
    radial-gradient(circle at 16% 18%, rgba(201, 162, 39, 0.16), transparent 28%),
    radial-gradient(circle at 86% 72%, rgba(15, 118, 110, 0.18), transparent 30%),
    linear-gradient(135deg, #081726, #0b1f35 58%, #071522);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  animation: footer-line 5.5s ease-in-out infinite;
}

.footer-brand,
.footer-contact,
.footer-cta,
.footer-nav {
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: grid;
  gap: 18px;
}

.footer-logo {
  display: inline-flex;
}

.footer-logo img {
  width: 178px;
  height: 70px;
  object-fit: contain;
  padding: 0;
  background: transparent;
  border-radius: 0;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.28));
}

.footer-brand p,
.footer-contact p {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-badges span {
  padding: 7px 10px;
  border: 1px solid rgba(242, 216, 131, 0.22);
  border-radius: 999px;
  color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-nav,
.footer-contact {
  display: grid;
  gap: 11px;
}

.footer-nav span,
.footer-contact span,
.footer-cta span {
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-nav a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-cta {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(242, 216, 131, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.18);
}

.footer-cta h2 {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.footer-cta .btn {
  justify-self: start;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
}

.whatsapp {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 35;
  width: 56px;
  height: 56px;
  box-shadow: 0 14px 38px rgba(15, 118, 110, 0.38);
}

.social-row svg,
.whatsapp svg,
.back-to-top svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-row svg.social-brand {
  fill: currentColor;
  stroke: none;
}

.whatsapp svg {
  fill: none;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(242, 216, 131, 0.38);
  color: var(--night);
  background: var(--gold);
  box-shadow: 0 14px 38px rgba(11, 31, 53, 0.24);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.whatsapp:hover {
  transform: translateY(-4px);
}

.back-to-top:hover {
  box-shadow: 0 18px 46px rgba(201, 162, 39, 0.3);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(11, 31, 53, 0.88);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-height: 84svh;
  border-radius: 6px;
  box-shadow: var(--shadow);
  cursor: grab;
  transform: translate(var(--pan-x, 0), var(--pan-y, 0)) scale(var(--zoom, 1));
  transition: transform 0.22s ease;
}

.lightbox button {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  color: #fff;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@keyframes splash-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes logo-open {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes light-scan {
  to {
    transform: translateX(100%);
  }
}

@keyframes load-bar {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(190%);
  }
}

@keyframes hero-zoom {
  to {
    transform: scale(1) rotate(0.5deg) translateX(1.8%);
  }
}

@keyframes word-rise {
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes mesh-drift {
  to {
    background-position: 0 0, 18% 32%, 82% 28%;
  }
}

@keyframes slow-float {
  to {
    transform: translate3d(18px, -16px, 0) rotate(8deg);
  }
}

@keyframes badge-float {
  50% {
    transform: translateY(-9px);
  }
}

@keyframes ripple-out {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(18);
  }
}

@keyframes footer-line {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  20%,
  80% {
    opacity: 1;
  }
  100% {
    transform: translateX(350%);
    opacity: 0;
  }
}

@keyframes scroll-dot {
  50% {
    transform: translateY(12px);
    opacity: 0.45;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 2;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    width: auto;
    height: auto;
    /* Il menu deve sovrapporsi anche al footer quando viene aperto a fondo pagina. */
    z-index: 1;
    display: grid;
    justify-self: stretch;
    align-self: stretch;
    place-content: center;
    gap: 22px;
    color: #fff;
    background: rgba(11, 31, 53, 0.96);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.24s ease, transform 0.24s ease;
    font-size: clamp(1.35rem, 5vw, 2.7rem);
    font-family: var(--font-title);
    text-align: center;
    letter-spacing: 0;
    text-transform: none;
  }

  body.menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* backdrop-filter crea un contenitore per gli elementi fixed: se l'header è
     scrolled, senza questo override il menu resta alto quanto l'header. */
  body.menu-open .site-header {
    backdrop-filter: none;
  }

  body.menu-open .brand {
    position: relative;
    z-index: 2;
  }

  /* Dopo lo scroll il logo blu non ha contrasto sul pannello di navigazione scuro. */
  body.menu-open .brand-logo-white {
    opacity: 1;
  }

  body.menu-open .brand-logo-blue {
    opacity: 0;
  }

  body.menu-open .whatsapp,
  body.menu-open .back-to-top {
    opacity: 0;
    pointer-events: none;
  }

  body.menu-open .menu-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  body.menu-open .menu-toggle {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 2;
    border-color: rgba(255, 255, 255, 0.72);
    color: #fff;
    background: rgba(11, 31, 53, 0.28);
    backdrop-filter: blur(10px);
  }

  .about-grid,
  .contact-grid,
  .home-games-grid,
  .room-grid,
  .rooms-intro-grid,
  .room-panel,
  .room-panel.reverse,
  .room-compare-grid,
  .services-intro-grid,
  .services-card-grid,
  .experience-row,
  .experience-row.reverse,
  .services-why-grid,
  .contact-welcome-grid,
  .contact-premium-grid,
  .contact-map-grid,
  .quick-contact-grid,
  .reach-grid,
  .booking-layout,
  .booking-room-grid,
  .booking-guarantees-grid,
  .philosophy-grid,
  .about-numbers-grid,
  .about-preview-grid,
  .games-intro-grid,
  .games-card-grid,
  .games-timeline {
    grid-template-columns: 1fr;
  }

  /* Su touch la card deve restare leggibile senza l'hover desktop: foto e
     contenuto sono due aree distinte della stessa card. */
  .room-card {
    grid-template-rows: 240px auto;
    min-height: 0;
  }

  .room-card img {
    grid-row: 1;
    min-height: 0;
  }

  .room-card div {
    grid-row: 2;
    padding: 22px;
    background: #fff;
  }

  .room-card:hover {
    transform: none;
    box-shadow: 0 16px 42px rgba(11, 31, 53, 0.08);
  }

  .room-card:hover::after {
    opacity: 0;
    transform: translateX(-18%);
  }

  .room-card:hover img {
    transform: none;
  }

  .about-page-hero {
    min-height: 82svh;
  }

  .rooms-page-hero {
    min-height: 82svh;
  }

  .services-page-hero {
    min-height: 82svh;
  }

  .gallery-page-hero {
    min-height: 82svh;
  }

  .contact-page-hero {
    min-height: 82svh;
  }

  .booking-page-hero {
    min-height: 82svh;
  }

  .games-page-hero {
    min-height: 82svh;
  }

  .room-panel.reverse .room-panel-media {
    order: initial;
  }

  .experience-row.reverse img {
    order: initial;
  }

  .room-panel-media {
    min-height: 320px;
  }

  .philosophy-card {
    min-height: 220px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 190px;
  }

  .gallery-story-panel {
    min-height: 72svh;
  }

  .contact-premium-grid .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-map-grid .map {
    height: 360px;
  }

  .booking-summary {
    position: static;
  }

  .booking-extra-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item.featured,
  .gallery-item.wide,
  .gallery-item.tall,
  .gallery-item:not(.featured, .wide, .tall) {
    grid-column: span 1;
    grid-row: span 1;
  }

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

@media (max-width: 640px) {
  .brand {
    width: 150px;
    height: 56px;
  }

  .hero {
    min-height: 92svh;
    padding-inline: 20px;
  }

  .hero-actions,
  .stats,
  .service-grid,
  .gallery-grid,
  .booking-fields,
  .booking-extra-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .stats {
    display: grid;
  }

  .gallery-item.featured,
  .gallery-item.wide {
    grid-row: auto;
    grid-column: auto;
  }

  .map {
    width: calc(100% - 32px);
    height: 300px;
  }

  .home-map {
    height: auto;
  }

  .about-badge {
    left: 16px;
    bottom: 18px;
  }

  .timeline {
    padding-left: 26px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .about-numbers-grid span {
    min-height: 130px;
  }
}

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

  #ambient-canvas {
    display: none;
  }

}
