:root {
  --navy: #01264a;
  --gold: #b07302;
  --terracotta: #7a250f;
  --sun: #fee268;
  --cream: #fbfbf9;

  --background: var(--cream);
  --foreground: var(--navy);
  --secondary: #f2ede3;
  --muted-foreground: #5a6675;
  --border: #e6ddc9;
  --radius: 0.5rem;

  --font-serif: "Playfair Display", ui-serif, Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  letter-spacing: -0.01em;
  margin: 0;
  font-weight: 500;
}

p {
  margin: 0;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.muted {
  color: var(--muted-foreground);
}
.small {
  font-size: 0.875rem;
}
.center {
  text-align: center;
}
.mt-10 {
  margin-top: 2.5rem;
}
.mt-16 {
  margin-top: 4rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s ease-out,
    transform 0.9s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 80rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--cream);
}
.brand img {
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 0 1px rgba(251, 251, 249, 0.3);
}
.main-nav {
  display: none;
  gap: 2rem;
  font-size: 0.875rem;
  color: rgba(251, 251, 249, 0.9);
}
.main-nav a:hover {
  color: var(--sun);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.btn-primary:hover {
  background: rgba(1, 38, 74, 0.9);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.btn-gold {
  background: var(--gold);
  color: var(--cream);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.btn-gold:hover {
  background: var(--terracotta);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.btn-outline {
  border-color: rgba(251, 251, 249, 0.4);
  color: var(--cream);
}
.btn-outline:hover {
  background: var(--cream);
  color: var(--navy);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.center-row {
  justify-content: center;
  gap: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 38, 74, 0.7);
}
.hero-glow {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(254, 226, 104, 0.35), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(176, 115, 2, 0.25), transparent 60%);
}
.hero-content {
  position: relative;
  max-width: 72rem;
  padding-top: 8rem;
  padding-bottom: 6rem;
}
.pill-badge {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid rgba(254, 226, 104, 0.5);
  background: rgba(254, 226, 104, 0.1);
  padding: 0.375rem 1rem;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--sun);
}
.hero-title {
  margin-top: 2rem;
  max-width: 48rem;
  font-size: 3rem;
  line-height: 1.05;
  color: var(--cream);
}
.hero-title em {
  font-style: normal;
  color: var(--sun);
}
.hero-sub {
  margin-top: 2rem;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(251, 251, 249, 0.8);
}
.hero-content .btn-row {
  margin-top: 2.5rem;
}

/* Sections */
.section {
  padding: 6rem 0;
}
.section-navy {
  background: var(--navy);
  color: var(--cream);
}
.section-secondary {
  background: var(--secondary);
}
.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
}
.eyebrow-sun {
  color: var(--sun);
}
.section h2 {
  margin-top: 1rem;
  font-size: 2.25rem;
  line-height: 1.15;
}
.lead {
  margin-top: 1.5rem;
  line-height: 1.75;
}
.narrow {
  max-width: 48rem;
}
.narrow-center {
  max-width: 42rem;
  margin: 0 auto;
}

.grid-12 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}
.gap-14 {
  gap: 3.5rem;
}

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.feature {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.feature-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.feature-head h3 {
  font-size: 1.25rem;
}
.feature-body {
  margin-top: 0.75rem;
  padding-left: 3.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  flex: none;
  border-radius: 999px;
}
.icon-circle svg {
  width: 20px;
  height: 20px;
}
.icon-gold {
  background: rgba(176, 115, 2, 0.1);
  color: var(--gold);
}
.icon-sun {
  background: rgba(254, 226, 104, 0.15);
  color: var(--sun);
}
.icon-sun-solid {
  background: var(--sun);
  color: var(--navy);
  height: 2.25rem;
  width: 2.25rem;
}
.icon-sun-solid svg {
  width: 16px;
  height: 16px;
}

/* Ambienti */
.ambienti-photo {
  margin-top: 3rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(251, 251, 249, 0.15);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}
.ambienti-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.cards-2,
.cards-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}
.card-dark {
  border-top: 1px solid rgba(251, 251, 249, 0.2);
  padding-top: 1.5rem;
}
.card-dark h3 {
  margin-top: 1rem;
  font-size: 1.5rem;
  color: var(--cream);
}
.card-dark p {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(251, 251, 249, 0.7);
}

/* Panels & lists */
.panel {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.panel-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--terracotta);
}
.panel-title.navy {
  font-size: 1.25rem;
  color: var(--navy);
}
.dot-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
}
.dot-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.dot {
  margin-top: 0.4rem;
  height: 6px;
  width: 6px;
  flex: none;
  border-radius: 999px;
  background: var(--gold);
}

/* Banner */
.banner-wrap {
  padding: 0 1.5rem 6rem;
}
.banner {
  max-width: 72rem;
  margin: 0 auto;
  background: var(--sun);
  border-radius: var(--radius);
  padding: 4rem 2rem;
  display: grid;
  gap: 2.5rem;
}
.banner h2 {
  font-size: 1.875rem;
  line-height: 1.2;
  color: var(--navy);
}
.banner p {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(1, 38, 74, 0.8);
}
.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Carousel */
.carousel {
  margin-top: 3.5rem;
}
.room-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.pill {
  border-radius: 999px;
  padding: 0.625rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--navy);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}
.pill:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.pill.active {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}
.carousel-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.carousel-box {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.track {
  display: flex;
  aspect-ratio: 16 / 10;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.slide {
  position: relative;
  width: 100%;
  flex: none;
  background: var(--navy);
}
.slide img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.slide.multi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.slide.multi img {
  position: relative;
  inset: auto;
}
.slide-count {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  z-index: 2;
  font-family: var(--font-serif);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--cream);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.carousel-controls {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.25rem;
}
.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold);
  border: 0;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(1, 38, 74, 0.22);
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease;
}
.nav-btn:hover {
  background: var(--gold);
  color: var(--navy);
}
.nav-btn:active {
  transform: scale(0.95);
}
.nav-btn__icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
}
.nav-btn__icon svg {
  width: 100%;
  height: 100%;
}
.nav-btn__label {
  display: none;
}

@media (min-width: 640px) {
  .nav-btn {
    width: auto;
    height: 36px;
    background: none;
    border: 1px solid rgba(1, 38, 74, 0.15);
    border-radius: 999px;
    padding: 0 1rem;
    box-shadow: none;
    color: var(--navy);
    gap: 0.375rem;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
  }
  .nav-btn:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--cream);
  }
  .nav-btn:active {
    transform: none;
  }

  .nav-btn__icon {
    width: 14px;
    height: 14px;
  }
  .nav-btn__label {
    display: inline;
  }
}

.dots {
  display: flex;
  gap: 0.375rem;
}
.dots button {
  height: 6px;
  width: 16px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}
.dots button.active {
  width: 32px;
  background: var(--gold);
}
.room-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.room-info-inner {
  animation: fadeIn 0.5s ease-out both;
}
.room-tag-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.room-tag-row .icon-circle {
  height: 2.25rem;
  width: 2.25rem;
  background: var(--gold);
  color: var(--navy);
}
.room-tag-row .icon-circle svg {
  width: 18px;
  height: 18px;
}
.room-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.room-info h3 {
  margin-top: 1rem;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--navy);
}
.room-info p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Reviews */
.review {
  margin: 0;
  display: flex;
  height: 100%;
  flex-direction: column;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease;
}
.review:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.stars {
  color: var(--gold);
  letter-spacing: 0.1em;
}
.review blockquote {
  margin: 1.25rem 0 0;
  flex: 1;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.35;
  color: var(--navy);
}
.review figcaption {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  font-size: 0.875rem;
}
.name {
  font-weight: 500;
}

/* Dintorni */
.distance-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.distance-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}
.map-card {
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.map-card iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}
.map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.map-footer a,
.gold-link {
  color: var(--gold);
}
.map-footer a:hover,
.gold-link:hover {
  color: var(--terracotta);
}

/* Contatti */
.contact-row {
  margin-top: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  transition: border-color 0.2s ease;
}
.contact-row:hover {
  border-color: var(--gold);
}
.stack {
  display: flex;
  flex-direction: column;
}
.contact-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.contact-person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tag-list {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag-list li {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  color: var(--navy);
}
.cta-box {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
}
.cta-text {
  max-width: 28rem;
}
.cta-text p {
  margin-top: 0.5rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--navy);
  padding: 2.5rem 0;
  color: rgba(251, 251, 249, 0.8);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  text-align: center;
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--cream);
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 251, 249, 0.25);
  color: var(--cream);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover {
  color: var(--sun);
  border-color: var(--sun);
}
.footer-social .social-icon {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
}
.footer-social .social-icon svg {
  width: 100%;
  height: 100%;
}

/* Responsive */
@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }
  .section {
    padding: 8rem 0;
  }
  .section h2 {
    font-size: 3rem;
  }
  .hero-title {
    font-size: 4.5rem;
  }
  .grid-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .col-5 {
    grid-column: span 5;
  }
  .col-6-start-7 {
    grid-column: 7 / span 6;
  }
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .items-center {
    align-items: center;
  }
  .cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }
  .cards-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
  }
  .ambienti-photo img {
    height: 520px;
  }
  .banner {
    grid-template-columns: 3fr 2fr;
    align-items: end;
    padding: 5rem 4rem;
  }
  .banner h2 {
    font-size: 2.25rem;
  }
  .banner-actions {
    justify-self: end;
  }
  .carousel-grid {
    grid-template-columns: 1fr 1fr;
  }
  .carousel-box,
  .room-info {
    padding: 1.5rem;
  }
  .room-info {
    padding: 2rem;
  }
  .room-pills {
    gap: 0.75rem;
  }
  .cta-box {
    flex-direction: row;
    padding: 2.5rem 3rem;
  }
  .footer-inner {
    flex-direction: row;
    text-align: left;
  }
}

/* ---------- Lightbox ---------- */
.slide img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(1, 38, 74, 0.9);
  backdrop-filter: blur(4px);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-height: 90vh;
  max-width: 95vw;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 2rem;
  line-height: 1;
  background: none;
  border: 0;
  color: var(--cream);
  cursor: pointer;
  transition: color 0.2s ease;
}

.lightbox-close:hover {
  color: var(--sun);
}

/* ---------- Header: azioni & selettore lingua ---------- */
.header-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.lang {
  position: relative;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 251, 249, 0.3);
  background: transparent;
  padding: 0.5rem 0.875rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.lang-btn:hover {
  border-color: var(--sun);
  color: var(--sun);
}
.lang-globe svg {
  display: block;
  height: 16px;
  width: 16px;
}
.lang-list {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 60;
  width: 11rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 0.25rem 0;
  box-shadow: 0 20px 40px rgba(1, 38, 74, 0.18);
  list-style: none;
  margin: 0;
}
.lang-list button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 0;
  background: none;
  padding: 0.625rem 1rem;
  text-align: left;
  font-size: 0.875rem;
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.lang-list button:hover {
  background: var(--secondary);
}
.lang-list button.active {
  color: var(--gold);
}
.lang-check svg {
  display: block;
  height: 15px;
  width: 15px;
}

/* ---------- Hero slideshow ---------- */
.hero-slideshow {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
  animation: kenBurns 18s ease-out both;
}
@keyframes kenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.12);
  }
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(251, 251, 249, 0.75);
  animation: floatY 2.4s ease-in-out infinite;
}
.scroll-hint:hover {
  color: var(--sun);
}
.scroll-line {
  height: 2.5rem;
  width: 1px;
  background: linear-gradient(180deg, var(--sun), transparent);
}
@keyframes floatY {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}

/* ---------- Carosello: larghezza & progress ---------- */
.container-wide {
  max-width: 88rem;
}
.progress {
  height: 2px;
  width: 100%;
  background: var(--border);
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  width: 0;
  background: var(--gold);
}
@keyframes carouselProgress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
.slide img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s ease;
  transform: scale(1.04);
  filter: blur(2px);
}
.slide.is-active img {
  transform: scale(1);
  filter: blur(0);
}
.slide img {
  cursor: zoom-in;
}

/* ---------- Recensioni: marquee ---------- */
@keyframes marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
.marquee {
  margin-top: 3.5rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 0.5rem 1.5rem;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee .review {
  width: 22rem;
  flex: 0 0 auto;
}

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
