/* =============================================
   MARGHERITE & MARZAPANE — style.css
   Palette: verde #3a5a2a | ambra #b87a30 | crema #f7f3ec
   Font: Playfair Display + DM Sans
   ============================================= */

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

:root {
  --verde:       #3a5a2a;
  --verde-scuro: #2c3a1e;
  --verde-mid:   #5a7a4a;
  --verde-light: #8aab6a;
  --verde-pale:  #c8d8b0;
  --ambra:       #b87a30;
  --ambra-light: #d4a060;
  --ambra-pale:  #f0c870;
  --crema:       #f7f3ec;
  --crema-dark:  #ede6d8;
  --bianco:      #faf8f4;
  --testo:       #2c2418;
  --testo-mid:   #5a5040;
  --testo-light: #8a7a60;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'DM Sans', system-ui, sans-serif;
  --radius:      6px;
  --transition:  0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
  font-family: var(--font-sans);
  background: var(--crema);
  color: var(--testo);
  line-height: 1.7;
  overflow-x: hidden;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* --- TIPOGRAFIA COMUNE --- */
.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--verde-light);
  display: block;
  margin-bottom: 12px;
}
.section-label.light { color: var(--verde-pale); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--verde-scuro);
}
.section-title em { font-style: italic; color: var(--ambra); }
.section-title.light { color: var(--bianco); }
.section-title.light em { color: var(--ambra-pale); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-booking {
  background: #003580;
  color: #fff;
}
.btn-booking:hover { background: #002560; transform: translateY(-2px); }

.btn-airbnb {
  background: #ff5a5f;
  color: #fff;
}
.btn-airbnb:hover { background: #e04045; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--verde);
  border: 1.5px solid var(--verde);
}
.btn-outline:hover {
  background: var(--verde);
  color: var(--crema);
  transform: translateY(-2px);
}

.btn-send {
  background: var(--verde);
  color: var(--crema);
  width: 100%;
  justify-content: center;
  font-size: 13px;
  padding: 15px 28px;
}
.btn-send:hover { background: var(--verde-scuro); transform: translateY(-2px); }

/* --- REVEAL ANIMATIONS --- */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal          { transform: translateY(32px); }
.reveal-left     { transform: translateX(-40px); }
.reveal-right    { transform: translateX(40px); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
  background: rgba(247, 243, 236, 0.97);
  box-shadow: 0 1px 0 rgba(58, 90, 42, 0.1);
  backdrop-filter: blur(8px);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.navbar-logo-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  color: var(--crema);
  transition: color 0.3s;
  white-space: nowrap;
}
.navbar.scrolled .navbar-logo-text { color: var(--verde-scuro); }
.navbar-logo:hover .navbar-logo-text { opacity: 0.8; }

.navbar-nav {
  display: flex;
  gap: 36px;
}
.navbar-nav a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--crema);
  transition: color 0.3s;
  position: relative;
}
.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ambra);
  transition: width 0.3s;
}
.navbar-nav a:hover::after { width: 100%; }
.navbar.scrolled .navbar-nav a { color: var(--verde-scuro); }

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

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bianco);
  padding: 20px 40px 28px;
  border-top: 1px solid var(--crema-dark);
}
.mobile-nav.open { display: flex; }
.mobile-link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--verde-scuro);
  padding: 12px 0;
  border-bottom: 0.5px solid var(--crema-dark);
}
.mobile-link:last-child { border-bottom: none; }

/* --- HERO --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 50, 20, 0.35) 0%,
    rgba(30, 50, 20, 0.55) 60%,
    rgba(20, 30, 10, 0.75) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 720px;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--verde-pale);
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 7vw, 72px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--bianco);
  margin-bottom: 16px;
}
.hero-title em {
  font-style: italic;
  color: var(--ambra-pale);
}
.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(250, 248, 244, 0.8);
  letter-spacing: 0.04em;
  margin-bottom: 40px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--verde-pale));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.7); }
}

/* --- STORIA --- */
.storia {
  padding: 100px 0;
  background: var(--bianco);
}
.storia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.storia-images {
  position: relative;
  height: 500px;
}
.storia-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 78%;
  height: 80%;
  border-radius: var(--radius);
  overflow: hidden;
}
.storia-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.storia-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 52%;
  height: 48%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 6px solid var(--bianco);
}
.storia-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.storia-text { padding-left: 16px; }
.storia-body {
  font-size: 16px;
  font-weight: 300;
  color: var(--testo-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}
.storia-detail {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--crema-dark);
  font-size: 13px;
  color: var(--testo-light);
  letter-spacing: 0.04em;
}

/* --- CAMERE --- */
.camere {
  padding: 100px 0;
  background: var(--crema);
}
.camere-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 52px;
}
.camera-card {
  background: var(--bianco);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--crema-dark);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.camera-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(44, 58, 30, 0.12);
}
.camera-img-wrap {
  height: 260px;
  overflow: hidden;
}
.camera-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.camera-card:hover .camera-img-wrap img { transform: scale(1.05); }

.camera-body { padding: 28px 28px 32px; }
.camera-accent {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.margherite-accent { background: var(--verde-light); }
.marzapane-accent  { background: var(--ambra); }

.camera-name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--verde-scuro);
  margin-bottom: 12px;
}
.camera-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--testo-mid);
  line-height: 1.75;
  margin-bottom: 20px;
}
.camera-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.camera-features span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--testo-light);
  padding: 5px 12px;
  border: 1px solid var(--crema-dark);
  border-radius: 20px;
}
.camere-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
}

/* --- GIARDINO --- */
.giardino {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.giardino-bg {
  position: absolute;
  inset: 0;
}
.giardino-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.giardino-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 36, 10, 0.6);
}
.giardino-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  padding: 80px 32px;
}
.giardino-body {
  font-size: 17px;
  font-weight: 300;
  color: rgba(250, 248, 244, 0.85);
  line-height: 1.8;
  margin-top: 20px;
}

/* --- EVENTI --- */
.eventi {
  padding: 100px 0;
  background: var(--bianco);
}
.eventi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 64px;
}
.eventi-body {
  font-size: 16px;
  font-weight: 300;
  color: var(--testo-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}
.eventi-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.eventi-img-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.4s ease;
}
.eventi-img-grid img:hover { transform: scale(1.03); }
.eventi-text .btn { margin-top: 12px; }
.eventi-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.eventi-cta-wrap .btn { margin-top: 0; }
.eventi-inline-link {
  color: var(--ambra);
  border-bottom: 1px solid var(--ambra-light);
  transition: opacity 0.2s;
}
.eventi-inline-link:hover { opacity: 0.7; }

/* Prossimi eventi da DB */
.prossimi-eventi {
  border-top: 1px solid var(--crema-dark);
  padding-top: 48px;
}
.prossimi-eventi h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--verde-scuro);
  margin-bottom: 24px;
}
.evento-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 0.5px solid var(--crema-dark);
}
.evento-data {
  min-width: 56px;
  text-align: center;
  background: var(--crema);
  border-radius: var(--radius);
  padding: 10px 8px;
}
.evento-giorno {
  display: block;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--verde);
  line-height: 1;
}
.evento-mese {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--testo-light);
  margin-top: 4px;
}
.evento-info h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--verde-scuro);
  margin-bottom: 4px;
}
.evento-info p {
  font-size: 14px;
  font-weight: 300;
  color: var(--testo-mid);
}

/* --- CONTATTI --- */
.contatti {
  padding: 100px 0;
  background: var(--crema);
}
.contatti-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: flex-start;
  margin-bottom: 56px;
}
.contatto-item {
  margin-bottom: 32px;
}
.contatto-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--verde-light);
  margin-bottom: 6px;
}
.contatto-value {
  font-size: 16px;
  font-weight: 300;
  color: var(--testo);
  line-height: 1.6;
}
.contatto-link { color: var(--verde); transition: color 0.3s; }
.contatto-link:hover { color: var(--ambra); }

.social-links { display: flex; gap: 16px; }
.social-link {
  font-size: 13px;
  font-weight: 400;
  color: var(--verde);
  border-bottom: 1px solid var(--verde-pale);
  transition: border-color 0.3s, color 0.3s;
}
.social-link:hover { color: var(--ambra); border-color: var(--ambra); }

.contatti-prenotazioni {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

/* FORM */
.contatti-form {
  background: var(--bianco);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--crema-dark);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--testo-light);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--testo);
  background: var(--crema);
  border: 1px solid var(--crema-dark);
  border-radius: var(--radius);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--verde-light);
  box-shadow: 0 0 0 3px rgba(138, 171, 106, 0.15);
}
.form-msg {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 400;
  min-height: 20px;
}
.form-msg.ok  { color: var(--verde); }
.form-msg.err { color: #c0392b; }

/* MAPPA */
.mappa {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--crema-dark);
}
.mappa iframe { display: block; }

/* --- FOOTER --- */
.footer {
  background: var(--verde-scuro);
  padding: 48px 40px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  color: var(--verde-pale);
}
.footer-copy {
  font-size: 12px;
  font-weight: 300;
  color: rgba(200, 216, 176, 0.7);
  letter-spacing: 0.04em;
  text-align: center;
}
.footer-credit {
  font-size: 11px;
  color: rgba(200, 216, 176, 0.4);
}
.footer-credit a {
  color: rgba(200, 216, 176, 0.5);
  border-bottom: 1px solid rgba(200, 216, 176, 0.2);
  transition: color 0.3s, border-color 0.3s;
}
.footer-credit a:hover {
  color: var(--ambra-pale);
  border-color: var(--ambra-pale);
}
.footer-admin {
  color: rgba(200, 216, 176, 0.25);
  transition: color 0.3s;
  display: flex;
  align-items: center;
}
.footer-admin:hover { color: rgba(200, 216, 176, 0.6); }
.footer-social {
  display: flex;
  gap: 20px;
}
.footer-social a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--verde-pale);
  transition: color 0.3s;
}
.footer-social a:hover { color: var(--ambra-pale); }

/* --- COOKIE BANNER --- */
.cookie-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 10, 0.7);
  z-index: 888;
  backdrop-filter: blur(3px);
}
.cookie-overlay.show { display: block; }

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 889;
  background: var(--bianco);
  border-top: 2px solid var(--verde-pale);
  padding: 24px 32px;
  box-shadow: 0 -8px 32px rgba(44, 58, 30, 0.15);
}
.cookie-banner.show { display: block; }

.cookie-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 260px; }
.cookie-text p {
  font-size: 13px;
  font-weight: 300;
  color: var(--testo-mid);
  line-height: 1.65;
  margin-bottom: 4px;
}
.cookie-text p:last-child { margin-bottom: 0; }
.cookie-text strong { font-weight: 500; color: var(--testo); }
.cookie-text a { color: var(--verde); border-bottom: 1px solid var(--verde-pale); transition: color 0.3s; }
.cookie-text a:hover { color: var(--ambra); }

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
}
.btn-cookie {
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-cookie:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-cookie-accept    { background: var(--verde); color: var(--crema); }
.btn-cookie-necessary { background: transparent; color: var(--verde); border: 1.5px solid var(--verde); }

/* PRIVACY CHECKBOX */
.form-check { margin-bottom: 16px; }
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 300;
  color: var(--testo-mid);
  line-height: 1.5;
}
.check-label input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--verde);
  cursor: pointer;
}
.check-label a { color: var(--verde); border-bottom: 1px solid var(--verde-pale); transition: color 0.3s; }
.check-label a:hover { color: var(--ambra); }

/* --- COOKIE BANNER --- */
.camera-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 0 0 4px;
}
.camera-thumbs .thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
  border-radius: 0;
}
.camera-thumbs .thumb:first-child { border-radius: 0 0 0 var(--radius); }
.camera-thumbs .thumb:last-child  { border-radius: 0 0 var(--radius) 0; }
.camera-thumbs .thumb:hover { opacity: 0.85; transform: scale(1.03); }

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

.lb-img-wrap {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  animation: lbFadeIn 0.25s ease;
}
@keyframes lbFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  background: none;
  border: none;
  color: var(--crema);
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
  padding: 12px;
  transition: color 0.2s, transform 0.2s;
  opacity: 0.8;
}
.lb-close:hover,
.lb-prev:hover,
.lb-next:hover { opacity: 1; transform: scale(1.15); }

.lb-close { top: 20px; right: 24px; font-size: 22px; }
.lb-prev  { left: 20px; top: 50%; transform: translateY(-50%); font-size: 48px; }
.lb-next  { right: 20px; top: 50%; transform: translateY(-50%); font-size: 48px; }
.lb-prev:hover { transform: translateY(-50%) scale(1.15); }
.lb-next:hover { transform: translateY(-50%) scale(1.15); }

.whatsapp-btn {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 18px;
  background: #25d366;
  color: #fff;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  width: fit-content;
  transition: background 0.3s, transform 0.2s;
}
.whatsapp-btn:hover { background: #1db954; transform: translateY(-2px); }

@media (max-width: 768px) {
  .whatsapp-btn { display: flex; }
}

/* --- RECENSIONI HOMEPAGE --- */
.recensioni {
  padding: 96px 0;
  background: var(--crema);
}
.recensioni-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.recensioni-score {
  background: var(--bianco);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: center;
  border-top: 3px solid var(--ambra);
}
.recensioni-badge {
  display: inline-block;
  background: var(--verde);
  color: var(--bianco);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.recensioni-score-big {
  font-family: var(--font-serif);
  font-size: clamp(56px, 8vw, 84px);
  font-weight: 400;
  color: var(--verde-scuro);
  line-height: 1;
  margin-bottom: 4px;
}
.recensioni-score-big span {
  font-size: 0.4em;
  color: var(--testo-light);
  font-style: italic;
}
.recensioni-score-meta {
  font-size: 13px;
  color: var(--testo-mid);
  margin-bottom: 28px;
}
.recensioni-breakdown {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}
.recensioni-breakdown li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--crema-dark);
  font-size: 14px;
  color: var(--testo);
}
.recensioni-breakdown li:last-child { border-bottom: none; }
.recensioni-breakdown strong {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ambra);
  font-size: 16px;
}
.recensioni-fonte {
  font-size: 12px;
  color: var(--testo-light);
  margin-top: 8px;
}
.recensioni-fonte a {
  color: var(--verde);
  border-bottom: 1px solid var(--verde-pale);
}
.recensioni-quotes {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.recensione {
  position: relative;
  background: var(--bianco);
  padding: 28px 32px 28px 76px;
  border-radius: var(--radius);
  border-left: 3px solid var(--ambra);
}
.recensione-score {
  position: absolute;
  left: 24px;
  top: 28px;
  background: var(--verde);
  color: var(--bianco);
  font-family: var(--font-serif);
  font-size: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.recensione p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--testo);
  line-height: 1.55;
  margin-bottom: 12px;
}
.recensione cite {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--testo-light);
  font-weight: 500;
}
.recensioni-quotes .btn {
  align-self: flex-start;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .recensioni-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .recensioni { padding: 64px 0; }
  .recensioni-score { padding: 32px 24px; }
  .recensione { padding: 24px 24px 24px 68px; }
  .recensione-score { left: 18px; top: 24px; }
}

/* --- PAGINA EVENTI --- */

/* Active state nav */
.navbar-nav a.active,
.mobile-link.active { color: var(--ambra); }
.navbar.scrolled .navbar-nav a.active { color: var(--ambra); }

/* Page hero (più contenuto del full-screen della home) */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 32px 80px;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.page-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44, 58, 30, 0.55) 0%, rgba(44, 58, 30, 0.7) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: var(--bianco);
}
.page-hero-content .hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ambra-pale);
  margin-bottom: 18px;
}
.page-hero-content .hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--bianco);
  margin-bottom: 20px;
}
.page-hero-content .hero-title em {
  font-style: italic;
  color: var(--ambra-pale);
}
.page-hero-content .hero-sub {
  font-size: 16px;
  color: var(--crema);
  max-width: 540px;
  margin: 0 auto;
}

/* Intro */
.eventi-intro { padding: 96px 0; background: var(--crema); }
.eventi-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.eventi-intro-text p {
  font-size: 16px;
  color: var(--testo-mid);
  margin-bottom: 16px;
}

/* Tipologie eventi (alternati) */
.eventi-tipo { padding: 96px 0; }
.eventi-tipo-privati { background: var(--bianco); }
.eventi-tipo-aziendali { background: var(--crema-dark); }
.eventi-tipo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.eventi-tipo-grid-reverse .eventi-tipo-img { order: 2; }
.eventi-tipo-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
}
.eventi-tipo-text p {
  font-size: 16px;
  color: var(--testo-mid);
  margin: 16px 0;
}
.eventi-list {
  list-style: none;
  margin-top: 20px;
  padding: 0;
}
.eventi-list li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: var(--testo);
  font-size: 15px;
  border-bottom: 1px solid var(--crema-dark);
}
.eventi-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--ambra);
  font-weight: 500;
}
.eventi-list li:last-child { border-bottom: none; }

/* Spazi */
.eventi-spazi { padding: 96px 0; background: var(--crema); }
.eventi-spazi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.eventi-spazio {
  background: var(--bianco);
  padding: 32px 24px;
  border-radius: var(--radius);
  border-top: 2px solid var(--ambra);
}
.eventi-spazio-num {
  font-family: var(--font-serif);
  font-size: 28px;
  font-style: italic;
  color: var(--ambra);
  margin-bottom: 12px;
}
.eventi-spazio-titolo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--verde-scuro);
  margin-bottom: 12px;
}
.eventi-spazio p {
  font-size: 14px;
  color: var(--testo-mid);
  line-height: 1.6;
}

/* Processo */
.eventi-processo { padding: 96px 0; background: var(--bianco); }
.eventi-processo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.eventi-step {
  position: relative;
  padding-top: 16px;
}
.eventi-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--bianco);
  font-family: var(--font-serif);
  font-size: 18px;
  margin-bottom: 18px;
}
.eventi-step h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--verde-scuro);
  margin-bottom: 10px;
}
.eventi-step p {
  font-size: 14px;
  color: var(--testo-mid);
  line-height: 1.65;
}

/* CTA finale */
.eventi-cta-finale {
  padding: 96px 0;
  background: var(--verde-scuro);
  color: var(--bianco);
}
.eventi-cta-finale .section-label { color: var(--ambra-pale); }
.eventi-cta-finale .section-title {
  color: var(--bianco);
  margin-bottom: 24px;
}
.eventi-cta-finale .section-title em { color: var(--ambra-pale); }
.eventi-cta-body {
  max-width: 540px;
  margin: 0 auto 32px;
  color: var(--crema);
  font-size: 16px;
}
.eventi-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.eventi-cta-finale .btn-outline {
  border-color: var(--crema);
  color: var(--crema);
}
.eventi-cta-finale .btn-outline:hover {
  background: var(--crema);
  color: var(--verde-scuro);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .navbar-nav { display: none; }
  .hamburger  { display: flex; }

  .storia-grid,
  .camere-grid,
  .eventi-grid,
  .contatti-grid { grid-template-columns: 1fr; gap: 40px; }

  .storia-images { height: 320px; }
  .storia-text   { padding-left: 0; }

  .footer-inner  { flex-direction: column; text-align: center; }

  /* Pagina eventi */
  .eventi-intro-grid,
  .eventi-tipo-grid { grid-template-columns: 1fr; gap: 40px; }
  .eventi-tipo-grid-reverse .eventi-tipo-img { order: 0; }
  .eventi-tipo-img img { height: 300px; }
  .eventi-spazi-grid { grid-template-columns: repeat(2, 1fr); }
  .eventi-processo-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .navbar-inner { padding: 14px 20px; }
  .storia { padding: 64px 0; }
  .camere { padding: 64px 0; }
  .eventi { padding: 64px 0; }
  .contatti { padding: 64px 0; }
  .hero-cta { flex-direction: column; align-items: center; }
  .contatti-form { padding: 24px 20px; }
  .eventi-img-grid img { height: 130px; }
  .camere-cta { flex-direction: column; align-items: center; }
  .storia-images { height: 260px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 16px; }
  .cookie-inner { flex-direction: column; gap: 16px; }
  .cookie-actions { flex-direction: row; }
  section, .hero, .giardino { max-width: 100vw; overflow: hidden; }

  /* Pagina eventi */
  .page-hero { min-height: 50vh; padding: 100px 20px 60px; }
  .eventi-intro,
  .eventi-tipo,
  .eventi-spazi,
  .eventi-processo,
  .eventi-cta-finale { padding: 64px 0; }
  .eventi-spazi-grid,
  .eventi-processo-grid { grid-template-columns: 1fr; }
  .eventi-tipo-img img { height: 240px; }
  .eventi-cta-buttons { flex-direction: column; align-items: center; }
}