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

:root {
  --cream: #f9f6f1;
  --dark: #1a1a18;
  --mid: #4a4a44;
  --light: #9a9a90;
  --gold: #b89a6a;
  --gold-light: #d4b98a;
  --gold-bright: #f0dcb5;
  --white: #ffffff;
  --radius: 4px;
  --transition: 0.3s ease;
  --shadow: 0 8px 40px rgba(0,0,0,.12);
  --shadow-sm: 0 2px 12px rgba(0,0,0,.08);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

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

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.15;
}

h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; }

p { color: var(--mid); font-size: .95rem; font-weight: 300; }
p + p { margin-top: 1rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.label {
  display: block;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

.center { text-align: center; }
.label.center { display: block; text-align: center; }

section { padding: 6rem 0; }

/* ===========================
   SCROLL REVEAL
   =========================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   PROGRESS BAR
   =========================== */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--gold);
  z-index: 9999;
  transition: width .1s linear;
  pointer-events: none;
}

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: .85rem 2.2rem;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-primary.full-width { width: 100%; text-align: center; margin-top: .5rem; }

.btn-secondary {
  display: inline-block;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: .75rem 2rem;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  margin-top: 1.5rem;
}
.btn-secondary:hover { background: var(--gold); color: var(--white); }

/* ===========================
   NAVBAR
   =========================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.5rem 0;
  background: rgba(26, 26, 24, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(249,246,241,.96);
  padding: 0.5rem 0;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.3));
  transition: filter var(--transition);
}
#navbar.scrolled .nav-logo img { filter: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--transition);
  position: relative;
}
#navbar.scrolled .nav-links a { color: var(--dark); }
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.btn-nav {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: .55rem 1.4rem;
  border-radius: var(--radius);
  transition: background var(--transition) !important;
}
.btn-nav:hover,
.btn-nav.active { background: var(--gold-light) !important; color: var(--white) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: background var(--transition);
}
#navbar.scrolled .hamburger span { background: var(--dark); }

/* Language selector */
.lang-selector {
  position: relative;
  flex-shrink: 0;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: .35rem;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 100px;
  padding: .3rem .7rem .3rem .5rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--white);
  transition: border-color .2s, background .2s;
  white-space: nowrap;
}
.lang-btn:hover, .lang-btn.active {
  border-color: var(--gold);
  background: rgba(184,154,106,.15);
}
#navbar.scrolled .lang-btn { color: var(--dark); border-color: var(--border); }
#navbar.scrolled .lang-btn:hover { border-color: var(--gold); }

.lang-chevron {
  width: 12px; height: 12px;
  transition: transform .2s;
  flex-shrink: 0;
}
.lang-btn.active .lang-chevron { transform: rotate(180deg); }

#lang-flag { font-size: .95rem; line-height: 1; }

.lang-dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: .4rem;
  min-width: 148px;
  display: none;
  flex-direction: column;
  gap: .15rem;
  z-index: 200;
}
.lang-dropdown.open { display: flex; }

.lang-option {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem .75rem;
  border: none;
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 400;
  color: var(--dark);
  text-align: left;
  transition: background .15s;
}
.lang-option:hover { background: var(--cream); }
.lang-option.active { font-weight: 600; color: var(--gold); }

/* Mobile: lang selector inside mobile nav area */
@media (max-width: 768px) {
  .lang-selector { order: -1; margin-right: auto; margin-left: .5rem; }
  .lang-btn { border-color: rgba(255,255,255,.3); }
  #navbar.scrolled .lang-btn { border-color: var(--border); }
  .lang-dropdown { right: auto; left: 0; }
}

/* ===========================
   HERO
   =========================== */
#hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  will-change: opacity;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,.2) 50%, rgba(0,0,0,.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 3rem 1.5rem;
  background: radial-gradient(
    ellipse 900px 600px at center,
    rgba(26, 26, 24, 0.75) 0%,
    rgba(26, 26, 24, 0.45) 35%,
    rgba(26, 26, 24, 0.2) 60%,
    transparent 100%
  );
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.hero-tagline {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1rem;
  opacity: 0;
  animation: heroFadeUp .8s ease .3s forwards;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: heroFadeUp .9s ease .55s forwards;
}
.hero-content h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-bright);
}

.hero-sub {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto 2.2rem;
  opacity: 0;
  animation: heroFadeUp .8s ease .8s forwards;
}

.hero-content .btn-primary {
  opacity: 0;
  animation: heroFadeUp .7s ease 1.05s forwards;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero dots */
.hero-dots {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: heroFadeUp .6s ease 1.3s forwards;
}
.hero-dot {
  width: 6px; height: 6px;
  border-radius: 100px;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background .3s ease, width .3s ease;
}
.hero-dot.active {
  background: var(--gold-light);
  width: 20px;
}

.scroll-down {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,.6);
  width: 28px;
  animation: bounce 2s infinite 1.5s;
  opacity: 0;
  animation-fill-mode: forwards;
}
.scroll-down svg { width: 100%; }

@keyframes bounce {
  0%   { opacity: .6; transform: translateX(-50%) translateY(0); }
  50%  { opacity: .9; transform: translateX(-50%) translateY(6px); }
  100% { opacity: .6; transform: translateX(-50%) translateY(0); }
}

/* ===========================
   ABOUT
   =========================== */
#about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.highlights {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.highlights li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  color: var(--mid);
}
.highlights li svg {
  width: 16px; height: 16px;
  stroke: var(--gold);
  flex-shrink: 0;
}

.about-images {
  width: 100%;
}
.about-img-main {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

/* ===========================
   GALLERY
   =========================== */
#gallery { background: var(--cream); padding-bottom: 5rem; }

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin: 2.5rem 0 2rem;
  flex-wrap: wrap;
  padding: 0 1rem;
}
.tab {
  background: none;
  border: 1.5px solid #d8d4cc;
  color: var(--mid);
  padding: .45rem 1.2rem;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}
.tab:hover, .tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: #e0ddd7;
  transition: opacity .3s ease, transform .3s ease;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent);
  color: var(--white);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .06em;
  padding: 2rem .9rem .7rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-caption { opacity: 1; }

.gallery-item.hidden { display: none; }
.gallery-item.is-hiding {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}
.gallery-item.is-showing {
  animation: galleryReveal .4s ease forwards;
}
@keyframes galleryReveal {
  from { opacity: 0; transform: scale(0.9) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }

.lb-counter {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  z-index: 2001;
  pointer-events: none;
}

.lb-img-wrap {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lb-img-wrap img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  transition: opacity .15s ease;
}
.lb-img-wrap p {
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  margin-top: .8rem;
  letter-spacing: .05em;
}

.lb-close, .lb-prev, .lb-next {
  position: fixed;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 1.5rem;
  padding: .5rem 1rem;
  opacity: .7;
  transition: opacity var(--transition);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { opacity: 1; }
.lb-close { top: 1.5rem; right: 2rem; font-size: 1.3rem; }
.lb-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lb-next { right: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 2rem; }

/* ===========================
   SERVIZI
   =========================== */
#servizi { background: var(--white); }

.servizi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.servizio-card {
  padding: 1.8rem 1.5rem;
  border: 1px solid #ede9e2;
  border-radius: var(--radius);
  transition: box-shadow var(--transition), transform var(--transition), opacity .65s ease;
}
.servizio-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.icon {
  width: 44px; height: 44px;
  background: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.icon svg {
  width: 20px; height: 20px;
  stroke: var(--gold);
}

.servizio-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .75rem;
}
.servizio-card p { font-size: .85rem; }

.servizio-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.servizio-items li {
  font-size: .82rem;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: .55rem;
  line-height: 1.4;
}
.servizio-items li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ===========================
   TESTIMONIALS
   =========================== */
#testimonials { background: var(--cream); }

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3rem 0 2.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid #ede9e2;
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
}

blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: var(--dark);
  line-height: 1.65;
  flex: 1;
}

cite {
  font-size: .78rem;
  color: var(--light);
  font-style: normal;
  letter-spacing: .04em;
}

.testimonials-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: .5rem;
  flex-wrap: wrap;
}

.badge-superhost {
  background: var(--gold);
  color: var(--white);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem 1.2rem;
  border-radius: 100px;
}

.badge-rating {
  font-size: .88rem;
  font-weight: 500;
  color: var(--mid);
}

/* ===========================
   LOCATION
   =========================== */
#location { background: var(--white); }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.distances {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.distances li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .88rem;
  color: var(--mid);
}
.distances li svg {
  width: 16px; height: 16px;
  stroke: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.distances strong { color: var(--dark); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
}
.map-wrap iframe {
  width: 100%; height: 100%;
  border: none;
}

/* ===========================
   CONTATTI
   =========================== */
#contatti { background: var(--cream); }

.sub-p {
  max-width: 500px;
  margin: 0 auto 2.5rem;
  font-size: .95rem;
}

.booking-platforms {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.platform-card {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.75rem;
  border: 1.5px solid #ede9e2;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: .9rem;
  transition: all var(--transition);
  background: var(--white);
  text-decoration: none;
  color: var(--dark);
}
.platform-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.platform-logo-img {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

.location-precise-address {
  font-size: .85rem;
  color: var(--mid);
  margin-bottom: .5rem;
}

.location-access {
  font-size: .85rem;
  color: var(--mid);
  line-height: 1.6;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: .3rem;
}

.divider-text {
  text-align: center;
  position: relative;
  margin: 2rem 0;
}
.divider-text::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: #ede9e2;
}
.divider-text span {
  position: relative;
  background: var(--cream);
  padding: 0 1.2rem;
  font-size: .8rem;
  color: var(--light);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-form {
  max-width: 680px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
.form-row:has(.form-group:nth-child(3)) {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.2rem;
}
.form-row .form-group { margin-bottom: 0; }

label {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mid);
}
/* honeypot — nascosto visivamente ma accessibile ai bot */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ================================
   FOOTER LEGAL LINKS
   ================================ */
.footer-legal {
  margin-top: 1.5rem;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--gold-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--gold);
}

/* ================================
   COOKIE BANNER
   ================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 24, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 1px solid var(--gold);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-content p {
  color: var(--cream);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  flex: 1 1 300px;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.cookie-accept {
  background: var(--gold);
  color: var(--dark);
}

.cookie-accept:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(184, 154, 106, 0.3);
}

.cookie-reject {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--gold-light);
}

.cookie-reject:hover {
  background: rgba(184, 154, 106, 0.1);
  border-color: var(--gold);
}

.cookie-link {
  color: var(--gold-light);
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.cookie-link:hover {
  border-color: var(--gold-light);
}

@media (max-width: 768px) {
  .cookie-banner {
    padding: 1.25rem 1rem;
  }

  .cookie-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .cookie-content p {
    text-align: center;
    font-size: 0.9rem;
  }

  .cookie-actions {
    justify-content: center;
  }

  .cookie-btn {
    flex: 1;
    min-width: 120px;
  }
}


.label-optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--light);
  font-size: .72rem;
}

input, select, textarea {
  font-family: inherit;
  font-size: .9rem;
  padding: .75rem 1rem;
  border: 1.5px solid #e0ddd7;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--dark);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
}

/* Date inputs: fix iOS Safari visibility */
input[type="date"] {
  position: relative;
  min-height: 46px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
input[type="date"]::-webkit-datetime-edit {
  color: var(--dark);
  padding: 0;
}
input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
input[type="date"]::before {
  content: attr(placeholder);
  color: var(--light);
  width: 100%;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
input[type="date"]:focus::before,
input[type="date"]:valid::before {
  display: none;
}
input[type="date"]::-webkit-datetime-edit-text,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
  color: var(--dark);
}

textarea { resize: vertical; min-height: 100px; }

.form-feedback {
  text-align: center;
  padding: .75rem;
  margin-top: .75rem;
  border-radius: var(--radius);
  font-size: .88rem;
  display: none;
}
.form-feedback.success { background: #e8f5e9; color: #2e7d32; display: block; }
.form-feedback.error { background: #fce4e4; color: #c62828; display: block; }

/* Submit loading state */
#form-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

/* Contact alt */
.contact-alt {
  max-width: 680px;
  margin: 2.5rem auto 0;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #e0ddd7;
}
.contact-alt > p {
  font-size: .85rem;
  margin-bottom: 1rem;
}
.contact-alt-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.contact-alt-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.4rem;
  border: 1.5px solid #e0ddd7;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 500;
  color: var(--mid);
  background: var(--white);
  transition: all var(--transition);
}
.contact-alt-link svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.contact-alt-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.contact-alt-link.wa {
  color: #25D366;
  border-color: #25D366;
}
.contact-alt-link.wa svg { fill: #25D366; }
.contact-alt-link.wa:hover {
  background: #25D366;
  color: var(--white);
}
.contact-alt-link.wa:hover svg { fill: var(--white); }

/* ===========================
   PREZZI
   =========================== */
#prezzi { background: var(--white); }

.prezzi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0 2rem;
  align-items: stretch;
}

.prezzo-card {
  position: relative;
  border: 1px solid #ede9e2;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.prezzo-card:hover {
  box-shadow: var(--shadow-sm);
}

.prezzo-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: scale(1.03);
}
.prezzo-card.featured:hover {
  box-shadow: 0 12px 50px rgba(184,154,106,.22);
}

.prezzo-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.prezzo-stagione {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--dark);
  font-weight: 400;
}

.prezzo-periodo {
  font-size: .78rem;
  color: var(--light);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.prezzo-valore {
  font-size: 1rem;
  color: var(--mid);
  margin: .5rem 0;
}
.prezzo-valore strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1;
}
.prezzo-valore span {
  font-size: .82rem;
  color: var(--light);
}

.prezzo-inclusi {
  list-style: none;
  text-align: left;
  margin: .5rem 0 1rem;
  flex: 1;
}
.prezzo-inclusi li {
  font-size: .85rem;
  color: var(--mid);
  padding: .35rem 0;
  border-bottom: 1px solid #f0ece6;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.prezzo-inclusi li::before {
  content: '✓';
  color: var(--gold);
  font-size: .75rem;
  flex-shrink: 0;
}

.prezzi-note {
  font-size: .82rem;
  color: var(--light);
  max-width: 520px;
  margin: 0 auto;
}

/* ===========================
   REGOLE DELLA CASA
   =========================== */
#regole {
  background: var(--dark);
  padding: 3.5rem 0;
}
#regole .label { color: var(--gold-light); }

.regole-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.regola-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 2.5rem;
  flex: 1;
  min-width: 180px;
  justify-content: center;
}

.regola-sep {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}

.regola-icon {
  width: 44px; height: 44px;
  background: rgba(184,154,106,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.regola-icon svg {
  width: 20px; height: 20px;
  stroke: var(--gold);
}

.regola-text {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.regola-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.regola-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--white);
  white-space: nowrap;
}

.prezzo-card .btn-secondary,
.prezzo-card .btn-primary {
  margin-top: auto;
  width: 100%;
  text-align: center;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.5);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-logo { height: 48px; width: auto; filter: opacity(.85); }
.footer-brand p { text-align: left; font-size: .85rem; line-height: 1.5; color: rgba(255,255,255,.8); }
.footer-brand p span { font-size: .75rem; color: rgba(255,255,255,.5); }

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold-light); }

.footer-copy { font-size: .75rem; color: rgba(255,255,255,.55); }

/* ===========================
   WHATSAPP FAB
   =========================== */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 900;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition);
  opacity: 0;
  animation: fabPulse 2.5s ease-in-out 3s infinite;
}
.whatsapp-fab.visible { opacity: 1; }
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
  animation: none;
}
.whatsapp-fab svg {
  width: 26px; height: 26px;
  fill: var(--white);
  display: block;
  width: 26px;
  height: 26px;
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50%       { box-shadow: 0 4px 30px rgba(37,211,102,.7), 0 0 0 8px rgba(37,211,102,.12); }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .servizi-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .about-grid { gap: 3rem; }
  .testimonials-track { grid-template-columns: repeat(2, 1fr); }
  .prezzi-grid { gap: 1rem; }
  .prezzo-card.featured { transform: scale(1.02); }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .container { padding: 0 1.25rem; }

  /* --- Navbar --- */
  .hamburger { display: flex; }
  .nav-inner { padding: 0 1.25rem; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(300px, 80vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.75rem;
    padding: 2rem 1.75rem;
    transition: right .35s ease;
    box-shadow: -4px 0 30px rgba(0,0,0,.12);
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--dark) !important; font-size: 1rem; }
  .btn-nav { padding: .7rem 1.4rem !important; }

  /* --- About --- */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-img-main { height: 280px; }

  /* --- Gallery --- */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    padding: 0 1.25rem;
  }
  .gallery-item[style*="grid-column: span 2"] { grid-column: span 2 !important; }
  .gallery-item[style*="grid-row: span 2"] { grid-row: auto !important; }

  /* --- Servizi --- */
  .servizi-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

  /* --- Testimonials: horizontal scroll snap --- */
  .testimonials-track {
    grid-template-columns: repeat(4, 82vw);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: .75rem;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .testimonials-track::-webkit-scrollbar { display: none; }
  .testimonial-card { scroll-snap-align: start; }

  /* --- Pricing --- */
  .prezzi-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .prezzo-card.featured { transform: none; }

  /* --- Location --- */
  .location-grid { grid-template-columns: 1fr; }
  .map-wrap { height: 260px; order: -1; }

  /* --- Form: forza 1 colonna anche per righe con 3 campi --- */
  .form-row,
  .form-row:has(.form-group:nth-child(3)) {
    grid-template-columns: 1fr;
  }
  /* Previene zoom automatico iOS al focus su input */
  input, select, textarea { font-size: 16px; }

  /* --- Footer --- */
  .footer-links { gap: 1.2rem; }
  .footer-copy { font-size: .7rem; text-align: center; padding: 0 1rem; }

  /* --- WhatsApp FAB --- */
  .whatsapp-fab { bottom: 1.25rem; right: 1.25rem; width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  section { padding: 3rem 0; }
  .container { padding: 0 1rem; }
  .nav-inner { padding: 0 1rem; }

  h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-tagline { font-size: .75rem; }
  .hero-sub { font-size: .95rem; }

  /* Hero content gradient più contenuto su mobile */
  .hero-content {
    padding: 2.5rem 1rem;
    background: radial-gradient(
      ellipse 600px 500px at center,
      rgba(26, 26, 24, 0.8) 0%,
      rgba(26, 26, 24, 0.5) 40%,
      rgba(26, 26, 24, 0.2) 65%,
      transparent 100%
    );
  }

  /* About */
  .about-img-main { height: 230px; }
  .about-highlights { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
    padding: 0 1rem;
  }
  .gallery-item[style*="grid-column: span 2"] { grid-column: auto !important; }
  .gallery-filter { gap: .4rem; }
  .filter-btn { font-size: .72rem; padding: .4rem .9rem; }

  /* Servizi */
  .servizi-grid { grid-template-columns: 1fr; }

  /* Prezzi */
  .prezzo-card { padding: 1.75rem 1.25rem; }
  .prezzo-valore { font-size: 1.5rem; }

  /* Booking platforms */
  .booking-platforms { flex-direction: column; align-items: center; }
  .platform-card { width: 100%; max-width: 220px; justify-content: center; }

  /* House rules */
  .regole-strip { flex-direction: column; gap: 0; }
  .regola-sep { width: 48px; height: 1px; }
  .regola-item { padding: 1.2rem 1rem; width: 100%; }

  /* Lightbox nav */
  .lb-prev { left: .5rem; }
  .lb-next { right: .5rem; }

  /* Testimonials */
  .testimonials-track {
    grid-template-columns: repeat(4, 90vw);
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Footer */
  .footer-links { flex-direction: column; align-items: center; gap: .8rem; }
  .footer-brand { flex-direction: column; text-align: center; }
  .footer-brand p { text-align: center; }
}
