/* ===== TOKENS ===== */
:root {
  --cream: #f5f0e8;
  --warm-white: #faf8f4;
  --stone: #e8e0d0;
  --text: #1c1a17;
  --muted: #6b6355;
  --gold: #b8975a;
  --gold-light: #d4b87a;
  --deep: #2a2318;
  --radius: 4px;
  --radius-lg: 16px;
  --transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--warm-white);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
.serif { font-family: 'Cormorant Garamond', Georgia, serif; }

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--deep);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-align: center;
}

/* ===== UTILITIES ===== */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: all 0.4s ease;
}
.site-header.scrolled {
  background: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo a { text-decoration: none; color: #fff; transition: color 0.3s; }
.site-header.scrolled .logo a { color: var(--deep); }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  transition: all 0.3s ease;
}
.site-header.scrolled .nav a { color: var(--muted); }
.nav a:hover { color: #fff; background: rgba(255,255,255,0.12); }
.site-header.scrolled .nav a:hover { color: var(--deep); background: var(--stone); }
.nav .cta {
  background: var(--gold);
  color: #fff !important;
  border-radius: 999px;
}
.nav .cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: all 0.3s;
}
.site-header.scrolled .nav-toggle span { background: var(--deep); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-body {
  position: relative; z-index: 2;
  padding: 0 0 80px 0;
  max-width: 680px;
}

.hero-media {
  position: absolute; inset: 0;
  background-image: url('images/foto-hero.webp');
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: heroZoom 8s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20,16,10,0.72) 0%,
    rgba(20,16,10,0.3) 60%,
    transparent 100%
  );
}
.hero-overlay-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 260px;
  background: linear-gradient(to top, rgba(250,248,244,0.13), transparent);
}



.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s ease forwards;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 8vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s ease forwards;
  white-space: nowrap;
}
.hero-title em {
  font-style: normal;
  font-weight: 300;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 440px;
  opacity: 0;
  animation: fadeUp 0.9s 0.7s ease forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(184,151,90,0.35); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.06);
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.6); }

/* SCROLL INDICATOR */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

/* LINEA ANIMATA */
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.2)
  );
  position: relative;
  overflow: hidden;
}

/* Animazione fluida stile luxury */
.scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  animation: scrollMove 2s infinite;
}

@keyframes scrollMove {
  0% {
    top: -100%;
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}
/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--cream);
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
  padding: 28px 0;
}
.stats-inner {
  display: flex;
  justify-content: center;
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 48px;
  border-right: 1px solid var(--stone);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ===== INTRO ===== */
.section { padding: 100px 0; }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.intro-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}
.intro-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: var(--deep);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.intro-heading em { font-style: italic; color: var(--gold); }
.intro-text-block p {
  text-align: left;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.8;
  font-weight: 300;
  max-width: none;
  margin-bottom: 14px;
}
.intro-image-wrap {
  position: relative;
}
.intro-image-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.intro-image-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  width: 130px;
  height: 130px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 12px 32px rgba(184,151,90,0.35);
}
.intro-image-badge span { font-family: 'DM Sans', sans-serif; font-size: 0.65rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; margin-top: 3px; }

/* ===== SERVIZI ===== */
.servizi-section { background: var(--cream); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-label::before, .section-label::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
}
.section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 480px;
  margin: 16px auto 0;
  line-height: 1.7;
  text-align: center;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.feature-card {
  background: var(--warm-white);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--transition), box-shadow 0.5s ease;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.5s ease;
}
.feature-card:hover::before { height: 100%; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); z-index: 2; }
.feature-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--deep);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.feature-card ul {
  list-style: none;
  padding: 0;
}
.feature-card ul li {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
  padding: 7px 0;
  border-bottom: 1px solid var(--stone);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.feature-card ul li:last-child { border-bottom: none; }
.feature-card ul li::before {
  content: '—';
  color: var(--gold);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.notes-strip {
  display: flex;
  gap: 2px;
  margin-top: 2px;
  flex-direction: column;
}
.note-block {
  flex: 1;
  background: #faf8f5;
  padding: 18px 28px;
  font-size: 0.82rem;
  line-height: 1.6;
  font-weight: 300;
}
.note-block strong { color: var(--gold-light); font-weight: 500; }
.link-same-style {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.link-same-style:hover { border-color: var(--gold); }

/* ===== GALLERY ===== */
.gallery-section {
  padding: 100px 0 0;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.gallery-section + .attivita-section {
  padding-top: 60px;
}

.gallery-header {
  padding-bottom: 48px;
  text-align: center;
}
.gallery-grid-wrap {
  padding: 0 80px;
}
.gallery-main {
  position: relative;
}
.gallery-main-img {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background-color: #eee;
  width: 100%;
  aspect-ratio: 16/10;
}
/* SLIDER TRACK */
.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
  will-change: transform;
}
.slide {
  flex: 0 0 100%;
  max-width: 100%;
  height: 100%;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}
/* NAV BUTTONS */
.gallery-nav-row {
  position: absolute;
  top: 50%;
  left: -28px;
  right: -28px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}
.gallery-nav {
  pointer-events: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--stone);
  background: var(--warm-white);
  color: var(--deep);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 4;
}
.gallery-nav:hover {
  background: var(--deep);
  color: #fff;
  border-color: var(--deep);
}
/* COUNTER */
.gallery-counter {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(20,16,10,0.55);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  z-index: 3;
}

/* laptop e desktop normali */
@media (min-width: 768px) {
  .gallery-main-img {
    aspect-ratio: 16/9;
  }
}

/* schermi molto grandi */
@media (min-width: 1600px) {
  .gallery-main-img {
    aspect-ratio: 16/7.75;
  }
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 900px) {
  .gallery-grid-wrap { padding: 0 52px; }
  .gallery-nav-row { left: -24px; right: -24px; }
  .gallery-nav { width: 44px; height: 44px; font-size: 1.2rem; }
}
@media (max-width: 580px) {
  .gallery-grid-wrap { padding: 0 16px; }
  .gallery-nav-row {
    position: static;
    transform: none;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
    pointer-events: auto;
  }
  .gallery-nav { width: 40px; height: 40px; font-size: 1.1rem; }
}

/* ===== REVIEWS ===== */
.reviews-section {
  background: var(--warm-white);
}
.reviews-section h2 { color: var(--deep); }
.reviews-section .section-label { color: var(--gold); }
.reviews-section .section-label::before,
.reviews-section .section-label::after { background: var(--gold); }
.reviews-section .section-subtitle { color: var(--muted); }
.reviews-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: center;
}
.reviews-header { text-align: left; }
.reviews-header h2 { text-align: left; }
.reviews-carousel {
  position: relative;
}
.reviews-viewport {
  position: relative;
  min-height: 220px;
}
.review-item {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.07);
  border: 1px solid rgba(184,151,90,0.12);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}
.review-item.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
}
.review-stars {
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.review-item p {
  font-size: 0.97rem;
  color: var(--text);
  font-weight: 300;
  line-height: 1.8;
  font-style: italic;
  text-align: left;
  max-width: none;
  margin-bottom: 20px;
}
.review-item p::before { content: '\201C'; font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--gold); line-height: 0; vertical-align: -0.5em; margin-right: 4px; }
.review-item p::after  { content: '\201D'; font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--gold); line-height: 0; vertical-align: -0.5em; margin-left: 4px; }
.review-author {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.reviews-dots {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  justify-content: center;
}
.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stone);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
}
.reviews-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}
@media (max-width: 900px) {
  .reviews-inner { grid-template-columns: 1fr; gap: 40px; }
  .reviews-header h2 { text-align: center; }
  .reviews-header { text-align: center; }
}

/* ===== POSIZIONE ===== */
.posizione-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.posizione-top {
  margin-bottom: 40px;
}

#posizione {
  padding-top: 30px !important;
}

.posizione-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.posizione-text {
  text-align: center;
}

.posizione-text h2 {
  text-align: center !important;
}

.posizione-text p {
  text-align: center !important;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.map-container iframe { display: block; }
.map-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.poi-list {
  list-style: none;
  width: 100%;          /* era 450px */
  max-width: 450px;     /* mantieni il limite su desktop */
  margin: 0 auto 32px;
}

.poi-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--stone);
  font-size: 0.88rem;
  color: var(--muted);
}
.poi-list li:last-child { border-bottom: none; }
.poi-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.poi-distance {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
  padding-left: 32px;
}
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  height: 460px;
}
.map-container iframe { display: block; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--deep);
  color: var(--deep);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.3s;
}

.posizione-text .intro-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.posizione-text .intro-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.btn-outline:hover { background: var(--deep); color: #fff; }
.btn-outline svg { width: 14px; height: 14px; }


/* ===== CONTACT ===== */
.contact-section { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { text-align: left; margin-bottom: 20px; }
.contact-info p { text-align: left; max-width: none; color: var(--muted); line-height: 1.8; font-weight: 300; margin-bottom: 32px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--stone);
  text-decoration: none;
  color: var(--deep);
  transition: gap 0.3s;
}
.contact-item:hover { gap: 18px; color: var(--gold); }
.contact-item-icon {
  width: 40px;
  height: 40px;
  background: var(--warm-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 16px; height: 16px; }
.contact-item-text { font-size: 0.92rem; font-weight: 400; }
.contact-form {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--deep);
  margin-bottom: 8px;
}
.field input, .field textarea {
  padding: 13px 16px;
  border: 1px solid var(--stone);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--deep);
  background: var(--warm-white);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.field input:focus, .field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,151,90,0.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.privacy-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 24px;
  flex-direction: row;
}
.privacy-field input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
}
.privacy-field label {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  display: block;
}
.privacy-field a { color: var(--gold); text-decoration: none; }
.privacy-field a:hover { text-decoration: underline; }
.btn-form {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-form:hover { background: var(--gold); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(184,151,90,0.25); }
.form-note {
  font-size: 0.85rem;
  margin-top: 12px;
  text-align: center;
  transition: opacity 0.8s;
}
.form-note.hide { opacity: 0; }

/* ===== FOOTER ===== */
.site-footer {
  color: var(--muted);
  background: var(--warm-white);
  padding: 60px 0 30px;
  border-top: 1px solid var(--stone);
}
.footer-top {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--stone);
  margin-bottom: 40px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--deep);
  letter-spacing: 0.06em;
}
.footer-brand small {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-logos {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 45px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.footer-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 1;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.footer-logos a:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}
.footer-logos img {
  max-width: 115px;
  max-height: none;
  height: auto;
  width: auto;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  text-align: center;
  color: var(--muted);
}
.footer-bottom p { text-align: center; max-width: none; }
.codes { 
  font-size: 0.72rem; 
  color: rgba(28,26,23,0.65);  /* più visibile ma ancora raffinato */
  margin-top: 4px; 
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); text-decoration: none; transition: color 0.3s; font-size: 0.78rem; }
.footer-links a:hover { color: var(--gold); }

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;   
  text-align: center;    
}

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;  
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.footer-logos a { 
  display: flex; 
  align-items: center; 
  opacity: 1;              /* piena visibilità */
  transition: transform 0.3s; 
}

.footer-logos a:hover { 
  transform: translateY(-2px); 
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: none;
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: none;
}
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .intro-grid, .posizione-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .intro-image-wrap { display: none; }
  .features-grid { grid-template-columns: 1fr; gap: 2px; }
  .notes-strip { flex-direction: column; }
  .stat-item { padding: 0 24px; }
  .footer-top { padding-bottom: 32px; }
  .footer-logos { gap: 24px; }
  .nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--deep); flex-direction: column; justify-content: center; align-items: center; gap: 8px; }
  .nav.open { display: flex; }
  .nav a { font-size: 1.1rem; color: rgba(255,255,255,0.75); padding: 14px 24px; width: 200px; text-align: center; border-radius: var(--radius); }
  .nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
  .nav .cta { background: var(--gold); color: #fff !important; }
  .nav-toggle { display: flex; z-index: 200; }
  .site-header.scrolled .nav-toggle span { background: var(--deep); }
  .nav-toggle.open span { background: #fff !important; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .stats-inner { flex-wrap: wrap; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--stone); width: 50%; padding: 16px; }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--stone); }
  .hero-body { padding: 0 0 100px; }
  .section { padding: 60px 0; }
  .contact-form { padding: 28px 20px; }
  .contact-info h2 { text-align: center; }
  .contact-info p { text-align: center; }
}
@media (max-width: 480px) {
  .stats-inner { flex-direction: column; }
  .stat-item { width: 100%; border-right: none !important; }
  .footer-logos { gap: 20px; }
  .footer-logos img { max-height: 40px; }
}

/* ===== ATTIVITÀ ===== */
.attivita-section { background: var(--warm-white); }

.season-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 48px;
  background: var(--stone);
  border-radius: 999px;
  padding: 5px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.season-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: 999px;
  border: none;
  background: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.35s ease;
}
.season-tab svg { width: 15px; height: 15px; }
.season-tab.active {
  background: var(--deep);
  color: #fff;
  box-shadow: 0 4px 16px rgba(42,35,24,0.18);
}
.season-tab[data-season="estate"].active { background: var(--gold); }

.season-panel {
  display: none;
}
.season-panel.active {
  display: block;
  animation: fadeIn 0.45s ease;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.activity-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.activity-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.activity-visual {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.activity-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(20,16,10,0.55) 100%);
}
.activity-card:hover .activity-visual {
  transform: scale(1.04);
  transition: transform 0.6s ease;
}

.winter-1 { background-image: url('images/paganellaski.webp'); }
.winter-2 { background-image: url('images/ArchivioAPTDolomitiPaganella-ph.Frizzera.webp'); }
.winter-3 { background-image: url('images/wellness.webp'); }
.summer-1 { background-image: url('images/ferrata.webp'); }
.summer-2 { background-image: url('images/molveno.webp'); }
.summer-3 { background-image: url('images/ArchivioAPTDolomitiPaganella-ph.Stomberg.webp'); }

.activity-overlay {
  position: absolute;
  inset: 0;
}
.activity-tag {
  position: absolute;
  bottom: 12px;
  left: 14px;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 4px 10px;
  border-radius: 999px;
}

.activity-body {
  padding: 22px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.activity-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--deep);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.activity-body p {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.65;
  text-align: left;
  max-width: none;
  margin-bottom: 16px;
  flex: 1;
}
.activity-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: auto;
  transition: gap 0.3s;
}
.activity-link svg { width: 13px; height: 13px; transition: transform 0.3s; }
.activity-card:hover .activity-link { gap: 10px; }
.activity-card:hover .activity-link svg { transform: translateX(2px); }

/* Responsive attività */
@media (max-width: 1024px) {
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .activity-grid { grid-template-columns: 1fr; }
  .season-tab { padding: 10px 18px; font-size: 0.8rem; }
}

/* ===== ATTIVITÀ ===== */
.attivita-section { background: var(--warm-white); }

.season-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 0 auto 52px;
  background: var(--stone);
  border-radius: 999px;
  padding: 5px;
  width: fit-content;
}
.season-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.35s ease;
}
.season-tab svg { transition: all 0.35s ease; }
.season-tab.active {
  background: var(--deep);
  color: #fff;
  box-shadow: 0 4px 16px rgba(42,35,24,0.2);
}
.season-tab.active svg { stroke: var(--gold-light); }

/* Panels */
.activities-panel {
  display: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.activities-panel.active {
  display: block;
  opacity: 1;
  transform: none;
}
.activities-panel.entering {
  display: block;
  opacity: 0;
  transform: translateY(16px);
}

/* Grid */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card */
.activity-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card, #fff);
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
.activity-img-wrap {
  position: relative;
  overflow: hidden;
}
.activity-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--stone);
  transition: transform 0.6s ease;
  /* fallback gradient when image is missing */
  background-image: linear-gradient(135deg, var(--stone) 0%, var(--cream) 100%);
}
.activity-card:hover .activity-img {
  transform: scale(1.06);
}
.activity-season-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--deep);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.activity-season-badge.summer {
  background: rgba(42,35,24,0.85);
  color: #a8d5a2;
}
.activity-body {
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.activity-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--deep);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  text-align: left;
}
.activity-body p {
  font-size: 0.87rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
  text-align: left;
  max-width: none;
  flex: 1;
  margin-bottom: 16px;
}
.activity-link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold);
  transition: gap 0.2s, color 0.2s;
}
.activity-card:hover .activity-link {
  color: var(--deep);
}

/* Winter/Summer color accents */
#panel-inverno .activity-season-badge {
  background: rgba(42,35,24,0.88);
  color: #b8d4f0;
}


/* Responsive */
@media (max-width: 900px) {
  .activities-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .season-tab { padding: 10px 20px; font-size: 0.82rem; }
}
@media (max-width: 560px) {
  .activities-grid { grid-template-columns: 1fr; }
  .season-tabs { width: 100%; }
  .season-tab { flex: 1; justify-content: center; }
}

/* ===== SPAZIATURA SEZIONI ===== */
.gallery-section { padding-bottom: 50px; }
.attivita-section     { padding: 50px 0 100px; }
.reviews-section      { padding: 100px 0; }
.posizione-section    { padding: 50px 0 100px; }
.contact-section      { padding: 100px 0; }

/* =====================================================================
   AGGIUNTE v12 (in fondo, per non toccare lo stile originale)
   ===================================================================== */

/* ===== MAPPA: si attiva dopo il consenso ai cookie ===== */
.map-consent {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
  background: var(--cream);
}
.map-consent svg { width: 30px; height: 30px; color: var(--gold); }
.map-consent p { max-width: 440px; font-size: 0.86rem; font-weight: 300; line-height: 1.7; color: var(--muted); }
.map-consent p a { color: var(--gold); text-decoration: none; }
.map-consent p a:hover { text-decoration: underline; }
.map-consent .btn-outline { background: transparent; cursor: pointer; font-family: 'DM Sans', sans-serif; }

/* ===== BANNER COOKIE ===== */
.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 90;
  width: calc(100% - 48px);
  max-width: 420px;
  background: var(--warm-white);
  border: 1px solid var(--stone);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  padding: 24px 24px 20px;
  animation: fadeUp 0.5s ease both;
}
.cookie-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; color: var(--deep); margin-bottom: 8px; }
.cookie-text { font-size: 0.84rem; font-weight: 300; line-height: 1.65; color: var(--muted); margin-bottom: 18px; }
.cookie-text a { color: var(--deep); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-btn {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--deep);
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.3s;
}
.cookie-btn:hover { background: var(--gold); border-color: var(--gold); }
.cookie-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.cookie-close:hover { background: var(--stone); color: var(--deep); }
@media (max-width: 480px) {
  .cookie-banner { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 20px 18px 16px; }
}

/* Pulsanti della foto iniziale centrati */
.hero-actions { justify-content: center; }

/* ===== CORREZIONI (l'aspetto resta quello originale) ===== */
/* Menu su smartphone: dopo aver scorso la pagina si apriva "schiacciato" nella barra in alto */
.site-header:has(.nav.open) { backdrop-filter: none; -webkit-backdrop-filter: none; transition: none; }
@media (max-width: 900px) {
  .site-header.scrolled .nav a { color: rgba(255,255,255,0.75); }
  .site-header.scrolled .nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
  /* il modulo contatti sui telefoni entra dal basso: da destra sporgeva oltre lo schermo */
  .reveal-right { transform: translateY(32px); }
}
/* Recensioni: tutte nello stesso spazio, così la pagina non "salta" quando cambiano */
.reviews-viewport { display: grid; }
.review-item, .review-item.active { position: relative; grid-area: 1 / 1; }
/* Link del footer: vanno a capo sui telefoni invece di uscire dallo schermo */
.footer-links { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
/* "Animali NON ammessi" e "Tassa di soggiorno" erano quasi illeggibili (oro chiaro su bianco) */
.note-block strong { color: #8a6a2f; }
/* ritardo usato dal pulsante "Ottieni indicazioni" ma mai definito */
.delay-5 { transition-delay: 0.5s !important; }
/* Foto iniziale: sui telefoni occupa lo schermo visibile, senza finire sotto le barre del browser */
@supports (height: 100svh) { .hero { height: 100svh; } }
/* iPhone: con testo sotto i 16px Safari ingrandisce la pagina quando si tocca un campo del modulo */
@media (max-width: 900px) { .field input, .field textarea { font-size: 16px; } }
