/* ════════════════════════════════════
   ANIMALANDIA — STYLESHEET
   Palette: Forest Green · Warm Cream · Terracotta
   Fonts: Cormorant Garamond + DM Sans
════════════════════════════════════ */

:root {
  --green-deep:   #1a3a2a;
  --green-mid:    #2d5a40;
  --green-light:  #4a7c5e;
  --cream:        #f5f0e8;
  --cream-warm:   #ede6d6;
  --terra:        #c4623a;
  --terra-light:  #e07a50;
  --gold:         #b8922e;
  --white:        #ffffff;
  --text-dark:    #1a2018;
  --text-mid:     #3d4a38;
  --text-light:   #7a8a72;
  --border:       rgba(26,58,42,0.12);

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  28px;
  --radius-xl:  48px;

  --shadow-sm: 0 2px 12px rgba(26,58,42,0.08);
  --shadow-md: 0 8px 32px rgba(26,58,42,0.12);
  --shadow-lg: 0 20px 60px rgba(26,58,42,0.18);

  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ═══ RESET ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
}

/* ═══ UTILITY ═══ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 12px;
}
.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 400;
  color: var(--green-deep);
  margin-bottom: 14px;
  line-height: 1.22;
}
.section-header p {
  color: var(--text-mid);
  font-size: 1.02rem;
  line-height: 1.65;
}
.section-header.light h2 { color: var(--cream); }
.section-header.light p { color: rgba(245,240,232,0.75); }
.section-header.light .label { color: var(--terra-light); }

em { font-style: italic; }

/* ═══ BUTTONS ═══ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--terra);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid var(--terra);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--terra-light);
  border-color: var(--terra-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,98,58,0.35);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--green-deep);
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.btn-ghost:hover {
  border-color: var(--green-mid);
  background: rgba(26,58,42,0.06);
}
.full-w { width: 100%; justify-content: center; }

/* ═══ GRAIN OVERLAY ═══ */
.grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

/* ════════════════════════════════════
   NAV
════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  color: var(--cream);
  z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s;
  padding: 0;
}
#navbar.scrolled {
  background: rgba(245,240,232,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(26,58,42,0.1);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Navbar trasparente — testo chiaro su video scuro */
#navbar:not(.scrolled) .logo { color: var(--cream); }
#navbar:not(.scrolled) .nav-links a { color: var(--cream); }
#navbar:not(.scrolled) .nav-links a:hover { color: var(--terra-light); }
#navbar:not(.scrolled) .nav-cta {
  background: var(--terra) !important;
  border-color: var(--terra) !important;
  color: var(--white) !important;
}
#navbar:not(.scrolled) .nav-cta:hover {
  background: var(--terra-light) !important;
  border-color: var(--terra-light) !important;
}
#navbar:not(.scrolled) .hamburger span { background: var(--cream); }

/* Navbar scrolled — testo scuro su sfondo chiaro */
#navbar.scrolled .logo { color: var(--green-deep); }
#navbar.scrolled .nav-links a { color: var(--green-deep); }
#navbar.scrolled .nav-links a:hover { color: var(--terra); }
#navbar.scrolled .hamburger span { background: var(--green-deep); }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green-deep);
}
.logo-label {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.logo-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  opacity: 0.75;
  text-transform: lowercase;
  line-height: 1.2;
}
.logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: inherit;
  transition: color 0.25s;
}
.nav-cta {
  background: var(--green-deep) !important;
  color: var(--cream) !important;
  padding: 9px 22px;
  border-radius: 100px;
  transition: background 0.3s, transform 0.3s !important;
}
.nav-cta:hover {
  background: var(--green-mid) !important;
  transform: translateY(-1px);
}
.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(--green-deep);
  border-radius: 2px;
  transition: 0.3s;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(245,240,232,0.97);
  backdrop-filter: blur(16px);
  padding: 12px 24px 24px;
}
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--green-deep);
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }

/* ════════════════════════════════════
   HERO — SCROLL VIDEO
════════════════════════════════════ */

/* Wrapper alto quanto lo spazio di scroll (100vh viewport + 400vh scroll room) */
.hero-scroll-wrapper {
  position: relative;
  height: 500vh;            /* spazio di scroll totale */
  background: var(--green-deep);
}

/* Viewport sticky che rimane fissa mentre il wrapper scrolla */
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh; /* tiene conto di address bar e navigation bar mobile */
  width: 100vw;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a1810;
}
/* Video a schermo intero */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  /* Parte leggermente zoomata per effetto Ken Burns al load */
  transform: scale(1.04);
  transition: transform 0.6s ease;
}
.hero-video.loaded { transform: scale(1); }

/* Overlay scuro gradiente */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(10,24,16,0.55) 0%,
      rgba(10,24,16,0.25) 40%,
      rgba(10,24,16,0.45) 75%,
      rgba(10,24,16,0.75) 100%);
  transition: background 0.6s ease;
}
/* Overlay si scurisce durante lo scroll */
.hero-overlay.dark {
  background:
    linear-gradient(to bottom,
      rgba(10,24,16,0.75) 0%,
      rgba(10,24,16,0.55) 40%,
      rgba(10,24,16,0.65) 75%,
      rgba(10,24,16,0.85) 100%);
}

/* ── Testo principale (fase 0 → fase 1) ── */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 820px;
  padding: 0 24px;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hero-content.hidden {
  opacity: 0;
  transform: translateY(-24px);
  pointer-events: none;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content { animation: fadeUp 1s 0.3s ease both; }

.hero-badge {
  display: inline-block;
  background: rgba(245,240,232,0.12);
  border: 1px solid rgba(245,240,232,0.22);
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  letter-spacing: 0.04em;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.13;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.hero-title em {
  color: var(--terra-light);
  font-style: italic;
  font-weight: 400;
}
.hero-sub {
  color: rgba(245,240,232,0.72);
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-actions .btn-ghost {
  color: var(--cream);
  border-color: rgba(245,240,232,0.35);
}
.hero-actions .btn-ghost:hover {
  background: rgba(245,240,232,0.1);
  border-color: rgba(245,240,232,0.6);
}

/* ── Caption durante lo scroll video ── */
.video-caption {
  position: absolute;
  z-index: 3;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  width: 90%;
  max-width: 700px;
}
.video-caption.visible { opacity: 1; }
.vc-inner { position: relative; min-height: 80px; }
.vc-line {
  position: absolute;
  width: 100%;
  left: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.2;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  white-space: nowrap;
}
.vc-line.active {
  opacity: 1;
  transform: translateY(0);
}

/* ── Stats bar (fase finale) ── */
.hero-stats-bar {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transform: translateX(-50%) translateY(20px);
}
.hero-stats-bar.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-n {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1;
}
.stat-l {
  font-size: 0.78rem;
  color: rgba(245,240,232,0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(245,240,232,0.2);
}

/* ── Progress bar ── */
.hero-progress-wrap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(245,240,232,0.08);
  z-index: 4;
}
.hero-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--terra), var(--terra-light));
  transition: width 0.1s linear;
}

/* ── Scroll hint ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(245,240,232,0.45);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.hero-scroll-hint.hidden { opacity: 0; }

.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(245,240,232,0.4), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; transform: scaleY(1); }
  50%      { opacity: 0.9; transform: scaleY(1.2); }
}

/* ════════════════════════════════════
   SERVICES
════════════════════════════════════ */
.services-section { background: var(--cream); }
.services-section .section-header h2 { color: var(--green-deep); }
.services-grid { display: grid; gap: 50px; }
.services-grid-top { grid-template-columns: 1fr; margin-bottom: 50px; }
.services-grid-bottom { grid-template-columns: repeat(3, 1fr); }

/* Responsive */
@media (max-width: 720px) {
  .services-grid-bottom { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.5s ease;
  animation: cardIn 0.6s ease both;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.service-card:nth-child(1) { animation-delay: 0ms; }
.service-card:nth-child(2) { animation-delay: 100ms; }
.service-card:nth-child(3) { animation-delay: 200ms; }
.service-card:nth-child(4) { animation-delay: 300ms; }
/* Mantenuto per compatibilità con observer */
.service-card.visible { opacity: 1; transform: translateY(0); }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.service-card.service-main {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.service-card.service-main::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(196,98,58,0.2) 0%, transparent 70%);
  right: -60px; top: -60px;
  border-radius: 50%;
}
.service-card.service-main h3 { color: var(--cream); }
.service-card.service-main p { color: rgba(245,240,232,0.8); }
.service-icon-wrap {
  font-size: 2.2rem;
  margin-bottom: 18px;
  display: block;
  width: 56px;
  height: 56px;
}
.service-icon-wrap img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--text-mid);
  margin-bottom: 16px;
}
.service-features {
  margin: 16px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-features li {
  font-size: 0.87rem;
  color: rgba(245,240,232,0.75);
  padding-left: 18px;
  position: relative;
}
.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--terra-light);
  font-weight: 700;
}
.service-cta {
  display: inline-block;
  color: var(--terra-light);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.25s;
}
/* Card normale (sfondo bianco) → terra scuro */
.service-cta:hover { color: var(--terra); }
/* Card principale (sfondo verde scuro) → cream */
.service-card.service-main .service-cta:hover { color: var(--cream); }

/* ════════════════════════════════════
   PENSIONE FEATURE
════════════════════════════════════ */
.pensione-section {
  background: var(--cream-warm);
  overflow: hidden;
}
.pensione-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.pensione-visual {
  position: relative;
  height: 480px;
}
.pensione-orb {
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(45,90,64,0.15) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
}
.pensione-card-big {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--green-deep);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  width: 240px;
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard {
  0%,100% { transform: translate(-50%,-50%) translateY(0); }
  50% { transform: translate(-50%,-50%) translateY(-12px); }
}
.pc-icon { font-size: 3rem; margin-bottom: 12px; }
.pc-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.6);
  margin-bottom: 8px;
}
.pc-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: rgba(245,240,232,0.85);
}
.pc-price strong {
  font-size: 2rem;
  color: var(--terra-light);
  font-weight: 600;
}
.pensione-card-sm {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.top-right { top: 60px; right: 0; animation: floatSm1 5s ease-in-out infinite; }
.bottom-left { bottom: 80px; left: 0; animation: floatSm2 7s ease-in-out infinite; }
@keyframes floatSm1 {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes floatSm2 {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
.pcm-e { font-size: 1.2rem; }
.pcm-t { font-weight: 500; }

.pensione-text { padding: 20px 0; }
.pensione-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--green-deep);
  margin-bottom: 18px;
  line-height: 1.22;
}
.pensione-text p {
  color: var(--text-mid);
  line-height: 1.72;
  margin-bottom: 14px;
  font-size: 1rem;
}
.pensione-list {
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.p-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.p-dot {
  width: 8px; height: 8px;
  background: var(--terra);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.p-item strong { color: var(--green-deep); }

/* ════════════════════════════════════
   BOOKING
════════════════════════════════════ */
.booking-section {
  background: linear-gradient(150deg, var(--green-deep) 0%, #122a1c 100%);
  position: relative;
  overflow: hidden;
}
.booking-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(196,98,58,0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
  border-radius: 50%;
}
.booking-wrapper {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
  gap: 0;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.step-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(245,240,232,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(245,240,232,0.4);
  transition: var(--transition);
  background: transparent;
}
.step.active .step-circle, .step.done .step-circle {
  background: var(--terra);
  border-color: var(--terra);
  color: var(--white);
}
.step-label {
  font-size: 0.76rem;
  color: rgba(245,240,232,0.4);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.3s;
}
.step.active .step-label, .step.done .step-label {
  color: rgba(245,240,232,0.85);
}
.step-connector {
  width: 60px; height: 2px;
  background: rgba(245,240,232,0.15);
  margin-bottom: 22px;
  flex-shrink: 0;
}
.booking-form-wrap {
  background: rgba(245,240,232,0.05);
  border: 1px solid rgba(245,240,232,0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(12px);
}
.booking-step { display: none; }
.booking-step.active { display: block; animation: stepIn 0.4s ease; }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.booking-step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 28px;
  font-weight: 400;
}

/* Form elements */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 500;
  color: rgba(245,240,232,0.75);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(245,240,232,0.08);
  border: 1px solid rgba(245,240,232,0.18);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--cream);
  transition: border-color 0.25s, background 0.25s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245,240,232,0.3);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terra-light);
  background: rgba(245,240,232,0.12);
}
.form-group select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='rgba(245,240,232,0.5)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group select option { background: var(--green-deep); color: var(--cream); }

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 20px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(245,240,232,0.75);
  cursor: pointer;
  user-select: none;
  position: relative;
}
.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px;
  border-radius: 4px;
  accent-color: var(--terra);
  cursor: pointer;
  flex-shrink: 0;
}
.step-nav {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}
.step-nav .btn-ghost {
  color: rgba(245,240,232,0.75);
  border-color: rgba(245,240,232,0.25);
}
.step-nav .btn-ghost:hover {
  background: rgba(245,240,232,0.1);
  border-color: rgba(245,240,232,0.5);
}
.step-next { margin-top: 8px; }

.price-preview {
  background: rgba(196,98,58,0.15);
  border: 1px solid rgba(196,98,58,0.3);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.pp-label {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pp-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--terra-light);
  font-weight: 600;
}
.pp-note {
  font-size: 0.76rem;
  color: rgba(245,240,232,0.4);
  margin-left: auto;
}

/* Success */
.success-wrap {
  text-align: center;
  padding: 24px 0;
}
.success-icon { font-size: 4rem; margin-bottom: 20px; animation: popIn 0.5s cubic-bezier(0.175,0.885,0.32,1.275) both; }
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.success-wrap h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--cream);
  margin-bottom: 14px;
}
.success-wrap p {
  color: rgba(245,240,232,0.7);
  line-height: 1.65;
  margin-bottom: 28px;
  font-size: 0.97rem;
}
.success-summary {
  background: rgba(245,240,232,0.06);
  border: 1px solid rgba(245,240,232,0.12);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 28px;
  text-align: left;
  font-size: 0.88rem;
  color: rgba(245,240,232,0.7);
  line-height: 1.8;
}

/* ════════════════════════════════════
   ABOUT
════════════════════════════════════ */
.about-section { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--green-deep);
  margin-bottom: 20px;
  line-height: 1.22;
}
.about-text p {
  color: var(--text-mid);
  line-height: 1.72;
  margin-bottom: 16px;
  font-size: 1rem;
}
.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.value-tag {
  background: var(--cream-warm);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--green-deep);
}

.about-visual {
  position: relative;
  height: 420px;
}
.about-orb {
  position: absolute;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(74,124,94,0.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
}
.about-card {
  position: absolute;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.about-card.main-card {
  background: var(--green-deep);
  color: var(--cream);
  padding: 32px 36px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  width: 280px;
}
.ac-emoji { font-size: 2.5rem; }
.ac-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--terra-light);
  font-weight: 600;
}
.ac-sub { font-size: 0.82rem; color: rgba(245,240,232,0.7); line-height: 1.4; margin-top: 3px; }

.about-card.sm-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.4;
}
.about-card.sm-card small { color: var(--text-light); font-weight: 400; }
.card-a { top: 30px; right: 20px; animation: floatSm1 5.5s ease-in-out infinite; }
.card-b { bottom: 60px; left: 10px; animation: floatSm2 7.5s ease-in-out infinite; }

/* ════════════════════════════════════
   CONTACT
════════════════════════════════════ */
.contact-section { background: var(--cream-warm); }
.contact-section .section-header h2 { color: var(--green-deep); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.c-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.c-icon {
  width: 44px; height: 44px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.c-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}
.c-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 4px;
}
.c-val {
  font-size: 0.97rem;
  color: var(--green-deep);
  font-weight: 500;
  transition: color 0.25s;
}
a.c-val:hover { color: var(--terra); }

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.social-btn {
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.social-btn:hover {
  background: var(--green-deep);
  color: var(--cream);
  border-color: var(--green-deep);
}
.social-btn svg { width: 18px; height: 18px; }

/* Contact form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap .form-group label {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 7px;
  display: block;
}
.contact-form-wrap input,
.contact-form-wrap select,
.contact-form-wrap textarea {
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-dark);
  transition: border-color 0.25s, background 0.25s;
  outline: none;
}
.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus {
  border-color: var(--green-light);
  background: var(--white);
}
.contact-form-wrap .form-row { margin-bottom: 0; }
.contact-form-wrap .form-group { margin-bottom: 16px; }
.contact-form-wrap select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%237a8a72'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: var(--cream);
  padding-right: 36px;
  cursor: pointer;
}
.contact-success {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(45,90,64,0.08);
  border: 1px solid rgba(45,90,64,0.2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: 16px;
  font-size: 0.93rem;
  color: var(--green-deep);
  font-weight: 500;
}
.cs-icon { font-size: 1.2rem; }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
.footer {
  background: var(--text-dark);
  color: rgba(245,240,232,0.7);
  padding: 64px 0 0;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(245,240,232,0.08);
}
.footer-brand .logo {
  color: var(--cream);
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(245,240,232,0.5);
}
.fl-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 18px;
}
.fl-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(245,240,232,0.5);
  margin-bottom: 10px;
  transition: color 0.25s;
}
.fl-col a:hover { color: var(--terra-light); }
.footer-links {
  display: contents;
}
.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(245,240,232,0.3);
  flex-wrap: wrap;
  gap: 8px;
}

/* ════════════════════════════════════
   RESPONSIVE — unico blocco pulito
════════════════════════════════════ */

/* Tablet */
@media (max-width: 960px) {
  .pensione-inner, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .pensione-visual { height: 340px; }
  .about-visual { height: auto; display: flex; justify-content: center; }
  .about-orb, .card-a, .card-b { display: none; }
  .about-card.main-card { position: static; transform: none; width: 100%; max-width: 360px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

/* Mobile */
@media (max-width: 768px) {

  /* Nav */
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .nav-inner  { padding: 16px 20px; }
  .mobile-menu a { padding: 18px 0; font-size: 1.1rem; }

  /* Hero */
  .hero-scroll-wrapper { height: 300vh; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-sub   { display: none; }
  .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%; max-width: 280px;
    justify-content: center;
    padding: 16px 24px; font-size: 1rem;
  }
  .vc-line { white-space: normal; font-size: clamp(1.3rem, 6vw, 2rem); }
  .vc-inner { min-height: 100px; }
  .video-caption { bottom: 90px; }
  .hero-stats-bar { gap: 20px; padding: 0 16px; }
  .stat-divider { display: none; }
  .stat-n { font-size: 1.5rem; }
  .hero-scroll-hint { font-size: 0.7rem; }

  /* Sezioni */
  .section { padding: 56px 0; }
  .container { padding: 0 20px; }
  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: 1.75rem; }

  /* Services */
  .services-grid-bottom { grid-template-columns: 1fr; }
  .services-grid-top  { margin-bottom: 16px; }
  .service-card { padding: 24px; }
  .service-card.service-main { padding: 28px; }
  .service-icon-wrap { font-size: 1.8rem; margin-bottom: 12px; width: 44px; height: 44px; }
  .service-icon-wrap img { width: 44px; height: 44px; }

  /* Pensione */
  .pensione-inner { grid-template-columns: 1fr; gap: 32px; padding: 0 20px; }
  .pensione-visual {
    height: auto;
    display: flex; justify-content: center; align-items: center;
  }
  .pensione-orb, .pensione-card-sm { display: none; }
  .pensione-card-big {
    position: static; transform: none; animation: none;
    width: 100%; max-width: 300px; padding: 28px 24px;
  }
  .pensione-text h2 { font-size: 1.75rem; }
  .pensione-list { margin: 20px 0 28px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-text h2 { font-size: 1.75rem; }
  .about-visual { height: auto; display: flex; justify-content: center; }
  .about-orb, .card-a, .card-b { display: none; }
  .about-card.main-card {
    position: static; transform: none;
    width: 100%; max-width: 320px;
  }

  /* Booking */
  .booking-form-wrap { padding: 24px 18px; }
  .steps-bar { gap: 0; margin-bottom: 32px; }
  .step-connector { width: 20px; }
  .step-label { display: none; }
  .step-circle { width: 36px; height: 36px; font-size: 0.82rem; }
  .booking-step h3 { font-size: 1.2rem; margin-bottom: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 14px 16px;
    font-size: 1rem; /* previene zoom iOS */
  }
  .step-nav { flex-direction: column-reverse; gap: 10px; }
  .step-nav .btn-ghost,
  .step-nav .btn-primary { width: 100%; justify-content: center; }
  .btn-primary.step-next { width: 100%; justify-content: center; }
  .price-preview { flex-direction: column; gap: 8px; align-items: flex-start; }
  .pp-note { margin-left: 0; }
  .checkbox-row { flex-direction: column; gap: 14px; }
  .checkbox-label { font-size: 0.95rem; }
  .checkbox-label input[type="checkbox"] { width: 22px; height: 22px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-form-wrap { padding: 24px 18px; }
  .contact-form-wrap input,
  .contact-form-wrap select,
  .contact-form-wrap textarea {
    padding: 14px 16px; font-size: 1rem;
  }
  .c-item { gap: 12px; margin-bottom: 20px; }
  .social-btn { width: 48px; height: 48px; }

  /* Footer */
  .footer { padding: 48px 0 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 0 20px 40px; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

  /* Bottoni */
  .btn-primary, .btn-ghost { padding: 15px 28px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .pensione-card-big { max-width: 260px; }
  .about-card.main-card { max-width: 280px; }
}

/* ════════════════════════════════════
   COOKIE BANNER
════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--green-deep);
  border-top: 2px solid rgba(255,255,255,0.08);
  box-shadow: 0 -8px 40px rgba(26,58,42,0.3);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.cookie-banner.visible {
  transform: translateY(0);
}
.cookie-banner-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.cookie-text {
  flex: 1;
  min-width: 0;
}
.cookie-text strong {
  display: block;
  color: var(--cream);
  font-size: 0.93rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.cookie-text p {
  color: rgba(245,240,232,0.65);
  font-size: 0.83rem;
  line-height: 1.55;
  margin: 0;
}
.cookie-text a {
  color: var(--terra-light);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}
.cookie-btn {
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.87rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.cookie-btn-accept {
  background: var(--terra);
  color: var(--white);
}
.cookie-btn-accept:hover { background: var(--terra-light); }
.cookie-btn-reject {
  background: transparent;
  color: rgba(245,240,232,0.75);
  border: 1px solid rgba(245,240,232,0.25);
}
.cookie-btn-reject:hover {
  background: rgba(245,240,232,0.08);
  color: var(--cream);
}

@media (max-width: 700px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-btn {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
  }
}

/* ═══ SERVICE FIXED ═══ */
.service-fixed {
  width: 100%;
  background: rgba(245,240,232,0.06);
  border: 1px solid rgba(245,240,232,0.15);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ═══ RADIO BUTTONS ═══ */
.radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--cream);
  user-select: none;
}
.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--terra);
  cursor: pointer;
  flex-shrink: 0;
}

/* ═══ CHAR COUNTER ═══ */
.char-counter {
  font-size: 0.75rem;
  color: rgba(245,240,232,0.45);
  text-align: right;
  margin-top: 4px;
}

/* ═══ FIELD LABELS ═══ */
.field-req {
  color: var(--terra-light);
  font-weight: 600;
}
.field-optional {
  font-weight: 400;
  color: rgba(245,240,232,0.5);
  font-size: 0.78rem;
}
