@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --sabbia: #F5F5DC;
  --verde-oliva: #808000;
  --terracotta: #E2725B;
  --azzurro-polvere: #B0C4DE;
  --marrone-bruciato: #8A3324;
  --sabbia-dark: #EAE9CC;
  --sabbia-light: #FAFAF2;
  --grey-soft: #D8D8C8;
  --grey-mid: #9A9A8A;
  --grey-dark: #5A5A4A;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(138,51,36,0.08);
  --shadow-md: 0 6px 24px rgba(138,51,36,0.12);
  --shadow-lg: 0 16px 48px rgba(138,51,36,0.16);
  --border-light: 1px solid rgba(128,128,0,0.18);
  --border-accent: 2px solid var(--verde-oliva);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --max-width: 1440px;
  --container-padding: 7vw;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--sabbia);
  color: var(--marrone-bruciato);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--marrone-bruciato);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 600; color: var(--verde-oliva); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 600; color: var(--marrone-bruciato); }

p { line-height: 1.75; color: var(--grey-dark); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--verde-oliva); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--terracotta); }

ul, ol { padding-left: 1.5rem; color: var(--grey-dark); }
li { margin-bottom: 0.4rem; line-height: 1.7; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(245,245,220,0.97);
  border-bottom: var(--border-light);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.header-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--marrone-bruciato);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.25s;
}
.header-logo:hover { color: var(--verde-oliva); }

.header-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.header-nav a {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-dark);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--verde-oliva);
  transition: width 0.3s ease;
}

.header-nav a:hover { color: var(--verde-oliva); }
.header-nav a:hover::after { width: 100%; }
.header-nav a.active { color: var(--verde-oliva); }
.header-nav a.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--marrone-bruciato);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: var(--sabbia);
  border-top: var(--border-light);
  padding: 1.5rem var(--container-padding);
  gap: 1.2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--grey-dark);
}
.mobile-nav a:hover { color: var(--verde-oliva); }

/* ===== PAGE OFFSET ===== */
.page-body { padding-top: 70px; }

/* ===== FOOTER ===== */
.site-footer {
  background-color: var(--marrone-bruciato);
  color: var(--sabbia);
  padding: 72px 0 0;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--sabbia);
  margin-bottom: 0.8rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--sabbia-dark);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.footer-disclaimer-small {
  font-size: 0.78rem;
  color: var(--grey-soft);
  line-height: 1.5;
  padding: 0.8rem;
  border-left: 3px solid var(--terracotta);
  background-color: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
}

.footer-col-title {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  font-size: 0.88rem;
  color: var(--sabbia-dark);
  text-decoration: none;
  transition: color 0.25s;
}
.footer-links a:hover { color: var(--sabbia); }

.footer-contact-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.8rem;
}
.footer-contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  margin-bottom: 0.15rem;
}
.footer-contact-value {
  font-size: 0.88rem;
  color: var(--sabbia-dark);
}
.footer-hours {
  font-size: 0.85rem;
  color: var(--sabbia-dark);
  border-top: 1px solid rgba(245,245,220,0.15);
  padding-top: 0.8rem;
  margin-top: 0.4rem;
}
.footer-hours strong { color: var(--sabbia); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }

.footer-bottom {
  border-top: 1px solid rgba(245,245,220,0.12);
  padding: 1.5rem var(--container-padding);
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-bottom-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-notice {
  font-size: 0.78rem;
  color: var(--grey-soft);
  line-height: 1.6;
  max-width: 780px;
}

.footer-copyright {
  font-size: 0.78rem;
  color: var(--grey-mid);
  white-space: nowrap;
  padding-top: 0.1rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  line-height: 1;
}

.btn-primary {
  background-color: var(--verde-oliva);
  color: var(--sabbia);
  box-shadow: 0 3px 10px rgba(128,128,0,0.25);
}
.btn-primary:hover {
  background-color: #6d6d00;
  color: var(--terracotta);
  box-shadow: 0 6px 20px rgba(128,128,0,0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--verde-oliva);
  border: 2px solid var(--verde-oliva);
}
.btn-outline:hover {
  background-color: var(--verde-oliva);
  color: var(--sabbia);
  transform: translateY(-2px);
}

.btn-light {
  background-color: var(--sabbia);
  color: var(--marrone-bruciato);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover {
  background-color: var(--sabbia-dark);
  color: var(--verde-oliva);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ===== SECTION SPACING ===== */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 120px 0; }

.section-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.8rem;
}

.section-divider {
  width: 60px;
  height: 3px;
  background-color: var(--verde-oliva);
  margin: 1.2rem 0 2rem;
}

.section-divider-center {
  margin: 1.2rem auto 2rem;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--sabbia-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(245,245,220,0.92) 0%, rgba(245,245,220,0.82) 45%, rgba(245,245,220,0.35) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px var(--container-padding);
  max-width: 680px;
  padding-left: var(--container-padding);
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 700;
  color: var(--marrone-bruciato);
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--grey-dark);
  line-height: 1.75;
  margin-bottom: 2.4rem;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-disclaimer {
  font-size: 0.78rem;
  color: var(--grey-mid);
  font-style: italic;
  border-left: 3px solid var(--terracotta);
  padding-left: 0.8rem;
}

/* ===== FOLIAGE ANIMATION ===== */
.foliage-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.leaf {
  position: absolute;
  width: 60px;
  height: 60px;
  opacity: 0.18;
  animation: sway 6s ease-in-out infinite;
}

.leaf svg path { fill: var(--verde-oliva); }

.leaf:nth-child(1) { top: 10%; right: 12%; animation-delay: 0s; animation-duration: 6s; }
.leaf:nth-child(2) { top: 25%; right: 5%; animation-delay: 1.2s; animation-duration: 8s; width: 45px; height: 45px; }
.leaf:nth-child(3) { top: 60%; right: 20%; animation-delay: 0.6s; animation-duration: 7s; width: 50px; height: 50px; }
.leaf:nth-child(4) { top: 75%; right: 8%; animation-delay: 2s; animation-duration: 9s; width: 35px; height: 35px; }
.leaf:nth-child(5) { top: 40%; right: 30%; animation-delay: 1.5s; animation-duration: 7.5s; width: 40px; height: 40px; }

@keyframes sway {
  0%, 100% { transform: rotate(-8deg) scale(1); }
  50% { transform: rotate(8deg) scale(1.05); }
}

/* ===== CARDS ===== */
.card {
  background-color: var(--sabbia-light);
  border: var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--verde-oliva);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.2rem;
}

.card-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(128,128,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.card-icon-circle svg {
  width: 26px;
  height: 26px;
}

/* ===== GRID ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ===== SPLIT LAYOUTS ===== */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.split-layout.reverse { }
.split-layout.reverse .split-img { order: 2; }
.split-layout.reverse .split-text { order: 1; }

.split-img {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.split-img:hover img { transform: scale(1.03); }

.split-img::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 2px solid var(--verde-oliva);
  border-radius: var(--radius-md);
  z-index: 0;
  opacity: 0.4;
  pointer-events: none;
}

/* ===== PANEL AZZURRO ===== */
.panel-azzurro {
  background-color: var(--azzurro-polvere);
  padding: 64px 0;
}

.panel-azzurro h2 { color: var(--marrone-bruciato); }
.panel-azzurro p { color: var(--grey-dark); }

.panel-terracotta {
  background-color: var(--terracotta);
  padding: 64px 0;
}
.panel-terracotta h2, .panel-terracotta h3, .panel-terracotta p { color: var(--sabbia); }

.panel-verde {
  background-color: var(--verde-oliva);
  padding: 64px 0;
}
.panel-verde h2, .panel-verde h3, .panel-verde p { color: var(--sabbia); }

.panel-marrone {
  background-color: var(--marrone-bruciato);
  padding: 64px 0;
}
.panel-marrone h2, .panel-marrone h3, .panel-marrone p { color: var(--sabbia); }

/* ===== ACCENT BAND ===== */
.accent-band {
  border-left: 5px solid var(--terracotta);
  padding: 1.5rem 2rem;
  background-color: rgba(226,114,91,0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2rem 0;
}

.info-band {
  border-left: 5px solid var(--azzurro-polvere);
  padding: 1.5rem 2rem;
  background-color: rgba(176,196,222,0.15);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2rem 0;
}

.highlight-box {
  background-color: rgba(128,128,0,0.06);
  border: var(--border-accent);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 2rem 0;
}

/* ===== STAT STRIP ===== */
.stat-strip {
  background-color: var(--verde-oliva);
  padding: 48px 0;
}

.stat-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--sabbia);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(245,245,220,0.8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

/* ===== TESTIMONIALS ===== */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 3rem;
  background-color: var(--sabbia-light);
  border: var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--marrone-bruciato);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 2rem;
}

.testimonial-quote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -0.3rem;
  font-size: 3rem;
  color: var(--terracotta);
  line-height: 1;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--verde-oliva);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.carousel-controls {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--grey-soft);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  padding: 0;
}
.carousel-dot.active { background-color: var(--verde-oliva); }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--sabbia-light);
  border: var(--border-light);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  z-index: 5;
}
.carousel-arrow:hover { background-color: var(--verde-oliva); color: var(--sabbia); box-shadow: var(--shadow-md); }
.carousel-arrow.prev { left: -22px; }
.carousel-arrow.next { right: -22px; }

/* ===== FAQ ACCORDION ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item {
  border-bottom: var(--border-light);
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  background: var(--sabbia-light);
  border: none;
  padding: 1.3rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--marrone-bruciato);
  gap: 1rem;
  transition: background-color 0.25s;
}
.faq-question:hover { background-color: var(--sabbia-dark); }
.faq-question.open { background-color: rgba(128,128,0,0.06); color: var(--verde-oliva); }

.faq-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  border: 2px solid var(--verde-oliva);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
  color: var(--verde-oliva);
  font-size: 1rem;
  font-weight: 300;
}
.faq-question.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  background-color: var(--sabbia-light);
  padding: 0 1.8rem;
}

.faq-answer.open {
  max-height: 400px;
  padding: 1rem 1.8rem 1.4rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--grey-dark);
}

/* ===== CHAT WIDGET ===== */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
}

.chat-toggle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-color: var(--verde-oliva);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(128,128,0,0.4);
  transition: all 0.3s;
}

.chat-toggle:hover {
  background-color: #6d6d00;
  transform: scale(1.08);
}

.chat-toggle svg {
  width: 30px;
  height: 30px;
  fill: var(--sabbia);
}

.chat-panel {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 340px;
  background-color: var(--sabbia-light);
  border: var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-panel.open { display: flex; }

.chat-header {
  background-color: var(--verde-oliva);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--sabbia);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.chat-name {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  color: var(--sabbia);
  font-size: 0.9rem;
}

.chat-role {
  font-size: 0.75rem;
  color: rgba(245,245,220,0.75);
}

.chat-messages {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-height: 280px;
  overflow-y: auto;
}

.chat-bubble {
  background-color: var(--sabbia-dark);
  border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--grey-dark);
  line-height: 1.6;
  max-width: 90%;
  box-shadow: var(--shadow-sm);
}

.chat-bubble.user {
  background-color: rgba(128,128,0,0.1);
  border-radius: var(--radius-md) 0 var(--radius-md) var(--radius-md);
  align-self: flex-end;
  color: var(--marrone-bruciato);
}

.chat-input-area {
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem;
  border-top: var(--border-light);
}

.chat-input {
  flex: 1;
  padding: 0.6rem 0.9rem;
  border: var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--sabbia);
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  color: var(--marrone-bruciato);
  outline: none;
  transition: border-color 0.25s;
}
.chat-input:focus { border-color: var(--verde-oliva); }

.chat-send {
  padding: 0.6rem 0.9rem;
  background-color: var(--verde-oliva);
  color: var(--sabbia);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  transition: background-color 0.25s;
}
.chat-send:hover { background-color: #6d6d00; }

/* ===== GARDEN VISUAL ===== */
.garden-visual {
  position: relative;
  background: linear-gradient(180deg, rgba(176,196,222,0.2) 0%, rgba(128,128,0,0.08) 100%);
  border: var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  min-height: 200px;
  overflow: hidden;
}

.plant-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.plant-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.3s;
}
.plant-item:hover { transform: scale(1.08) translateY(-4px); }

.plant-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  transition: all 0.4s;
  font-size: 1.8rem;
}

.plant-circle.energia { background-color: rgba(226,114,91,0.15); border-color: var(--terracotta); }
.plant-circle.protezione { background-color: rgba(128,128,0,0.12); border-color: var(--verde-oliva); }
.plant-circle.riposo { background-color: rgba(176,196,222,0.25); border-color: var(--azzurro-polvere); }
.plant-circle.equilibrio { background-color: rgba(138,51,36,0.1); border-color: var(--marrone-bruciato); }
.plant-circle.nutrimento { background-color: rgba(128,128,0,0.1); border-color: var(--verde-oliva); }

.plant-circle.active {
  transform: scale(1.15);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.plant-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--grey-dark);
}

.plant-info-box {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background-color: var(--sabbia-light);
  border: var(--border-light);
  border-radius: var(--radius-md);
  display: none;
  text-align: left;
  animation: fadeSlideIn 0.35s ease;
}

.plant-info-box.visible { display: block; }
.plant-info-box h3 { font-size: 1rem; color: var(--verde-oliva); margin-bottom: 0.4rem; }
.plant-info-box p { font-size: 0.88rem; color: var(--grey-dark); margin: 0; }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SEASONS QUIZ ===== */
.quiz-container {
  background-color: var(--sabbia-light);
  border: var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.quiz-step { display: none; animation: fadeSlideIn 0.35s ease; }
.quiz-step.active { display: block; }

.quiz-question {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--marrone-bruciato);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.quiz-option {
  padding: 1rem 1.2rem;
  background-color: var(--sabbia);
  border: 2px solid var(--grey-soft);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: var(--grey-dark);
  text-align: left;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.quiz-option:hover {
  border-color: var(--verde-oliva);
  color: var(--marrone-bruciato);
  background-color: rgba(128,128,0,0.05);
}

.quiz-option.selected {
  border-color: var(--verde-oliva);
  background-color: rgba(128,128,0,0.1);
  color: var(--marrone-bruciato);
}

.quiz-option-icon {
  font-size: 1.3rem;
}

.quiz-progress {
  height: 4px;
  background-color: var(--grey-soft);
  border-radius: 2px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background-color: var(--verde-oliva);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  align-items: center;
}

.quiz-step-indicator {
  font-size: 0.8rem;
  color: var(--grey-mid);
  font-weight: 700;
}

.quiz-result {
  text-align: center;
  padding: 2rem 0;
  display: none;
  animation: fadeSlideIn 0.4s ease;
}
.quiz-result.active { display: block; }

.quiz-result-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

/* ===== FULL-WIDTH IMAGE SECTION ===== */
.fullwidth-img-section {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.fullwidth-img-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.fullwidth-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(245,245,220,0.7) 0%, rgba(245,245,220,0.1) 60%);
  display: flex;
  align-items: center;
  padding: 0 var(--container-padding);
}

.fullwidth-img-caption {
  max-width: 500px;
}

/* ===== CONTENT PAGE HERO (non-home) ===== */
.page-hero {
  background-color: var(--sabbia-dark);
  padding: 80px 0 60px;
  border-bottom: var(--border-light);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 40px solid rgba(128,128,0,0.06);
  pointer-events: none;
}

.page-hero h1 { margin-bottom: 0.8rem; }
.page-hero .section-label { margin-bottom: 0.6rem; }
.page-hero p { max-width: 620px; margin-top: 0.8rem; }

/* ===== ABOUT PAGE ===== */
.about-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  min-height: 520px;
  overflow: hidden;
}

.about-hero-text {
  padding: 80px var(--container-padding) 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--sabbia);
}

.about-hero-img {
  position: relative;
  overflow: hidden;
}

.about-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pillar-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  padding: 2.2rem;
  border-top: 4px solid var(--verde-oliva);
  background-color: var(--sabbia-light);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
}

.pillar-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.timeline-line {
  position: relative;
  padding-left: 2.5rem;
}

.timeline-line::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--verde-oliva), var(--azzurro-polvere));
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-dot {
  position: absolute;
  left: -2.1rem;
  top: 0.3rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--verde-oliva);
  border: 3px solid var(--sabbia);
  box-shadow: 0 0 0 2px var(--verde-oliva);
}

.timeline-year {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  margin-bottom: 0.3rem;
}

/* ===== CONTACT PAGE ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form-wrapper {
  background-color: var(--sabbia-light);
  border: var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--marrone-bruciato);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: var(--sabbia);
  border: 2px solid var(--grey-soft);
  border-radius: var(--radius-sm);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--marrone-bruciato);
  outline: none;
  transition: border-color 0.25s;
}

.form-input:focus,
.form-textarea:focus { border-color: var(--verde-oliva); }

.form-textarea { min-height: 160px; resize: vertical; }

.form-disclaimer {
  font-size: 0.8rem;
  color: var(--grey-mid);
  font-style: italic;
  padding: 1rem;
  border: 1px solid var(--grey-soft);
  border-radius: var(--radius-sm);
  background-color: rgba(176,196,222,0.1);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-info-card {
  background-color: var(--sabbia-light);
  border: var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: var(--border-light);
}
.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(128,128,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; }

.contact-info-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  margin-bottom: 0.2rem;
}

.contact-info-value {
  font-size: 0.92rem;
  color: var(--marrone-bruciato);
}

/* ===== THANK YOU PAGE ===== */
.thankyou-section {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}

.thankyou-box {
  text-align: center;
  max-width: 560px;
  padding: 4rem;
  background-color: var(--sabbia-light);
  border: var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.thankyou-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: rgba(128,128,0,0.12);
  border: 3px solid var(--verde-oliva);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.thankyou-icon svg { width: 36px; height: 36px; stroke: var(--verde-oliva); }

/* ===== POLICY PAGES ===== */
.policy-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px var(--container-padding);
}

.policy-content h1 { margin-bottom: 0.6rem; }
.policy-content .policy-updated { font-size: 0.82rem; color: var(--grey-mid); margin-bottom: 2rem; }

.policy-section {
  margin-bottom: 3rem;
}

.policy-section h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--sabbia-dark);
  color: var(--marrone-bruciato);
}

.policy-section h3 { font-size: 1.05rem; margin-bottom: 0.7rem; }

.policy-section p, .policy-section li { font-size: 0.95rem; color: var(--grey-dark); }
.policy-section ul, .policy-section ol { margin: 0.8rem 0 0.8rem 1.5rem; }

.policy-notice {
  background-color: rgba(176,196,222,0.2);
  border: 1px solid var(--azzurro-polvere);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.policy-notice p { font-size: 0.9rem; color: var(--grey-dark); margin: 0; }

/* ===== INFO CONTEXT BLOCK ===== */
.info-context-block {
  background-color: rgba(128,128,0,0.05);
  border: var(--border-accent);
  border-radius: var(--radius-md);
  padding: 2rem 2.5rem;
  margin: 3rem 0;
}

.info-context-block h3 { font-size: 1rem; color: var(--verde-oliva); margin-bottom: 0.8rem; }
.info-context-block ul { padding-left: 1.2rem; }
.info-context-block li { font-size: 0.88rem; color: var(--grey-dark); margin-bottom: 0.3rem; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: var(--marrone-bruciato);
  color: var(--sabbia);
  padding: 1.2rem var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.cookie-banner.hidden { transform: translateY(100%); }

.cookie-text {
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 680px;
  color: var(--sabbia-dark);
}

.cookie-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}

.cookie-btn-accept {
  background-color: var(--verde-oliva);
  color: var(--sabbia);
}
.cookie-btn-accept:hover { background-color: #6d6d00; }

.cookie-btn-reject {
  background-color: transparent;
  color: var(--sabbia-dark);
  border: 1px solid rgba(245,245,220,0.4);
}
.cookie-btn-reject:hover { background-color: rgba(255,255,255,0.1); }

.cookie-btn-more {
  background: none;
  border: none;
  color: var(--azzurro-polvere);
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}
.cookie-btn-more:hover { color: var(--sabbia); }

/* ===== DECORATIVE ELEMENTS ===== */
.ornament-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}
.ornament-line::before,
.ornament-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--grey-soft);
}
.ornament-center {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--terracotta);
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background-color: rgba(128,128,0,0.1);
  border: 1px solid var(--verde-oliva);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--verde-oliva);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.quote-block {
  border-left: 4px solid var(--terracotta);
  padding: 1.5rem 2rem;
  background-color: rgba(226,114,91,0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
}

.quote-block p {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--marrone-bruciato);
  margin: 0;
  line-height: 1.7;
}

/* ===== SCROLL FADE-IN ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1100px) {
  :root { --container-padding: 5vw; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-layout { gap: 3rem; }
  .about-hero { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .split-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-layout.reverse .split-img { order: 0; }
  .split-layout.reverse .split-text { order: 0; }
  .about-hero { grid-template-columns: 1fr; }
  .about-hero-img { height: 300px; }
  .contact-layout { grid-template-columns: 1fr; }
  .pillar-cards { grid-template-columns: 1fr 1fr; }
  .quiz-options { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --container-padding: 4vw; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 64px 0; }
  .section-lg { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stat-strip-inner { grid-template-columns: 1fr 1fr; }
  .pillar-cards { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; }
  .hero-content { padding: 60px var(--container-padding); }
  .chat-panel { width: 290px; right: -1rem; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .about-hero-text { padding: 50px var(--container-padding); }
  .contact-form-wrapper { padding: 2rem 1.5rem; }
  .fullwidth-img-section { height: 280px; }
  .carousel-arrow.prev { left: 0; }
  .carousel-arrow.next { right: 0; }
  .testimonial-card { padding: 2rem 1.5rem; }
}
