/* =====================================================================
   ANTICA CASCINA SAN PAOLO — Stile (sito multipagina, fotografico)
   Estetica: rustica-editoriale, campagna ligure
   ===================================================================== */

:root {
  --cream:        #FAF4E8;
  --cream-2:      #F1E7D3;
  --paper:        #FFFDF8;
  --ink:          #2B271E;
  --ink-soft:     #564E3F;
  --olive:        #3A4A29;
  --olive-2:      #54663A;
  --sage:         #97A678;
  --sage-soft:    #C3CBB0;
  --terracotta:   #C0623A;
  --terracotta-d: #9C4C2A;
  --gold:         #D7A24A;
  --muted:        #837A66;

  --shadow-sm: 0 2px 12px rgba(43, 39, 30, .07);
  --shadow-md: 0 18px 40px -18px rgba(43, 39, 30, .35);
  --shadow-lg: 0 40px 90px -32px rgba(43, 39, 30, .5);

  --radius:    18px;
  --radius-lg: 28px;
  --maxw: 1200px;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Mulish", -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body); color: var(--ink); background: var(--cream);
  line-height: 1.65; font-size: 1.0625rem; overflow-x: hidden; position: relative;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 500; line-height: 1.08;
  letter-spacing: -0.01em; color: var(--olive); font-optical-sizing: auto;
}

.section { padding: clamp(4rem, 8vw, 7.5rem) 0; position: relative; }
.section.pt0 { padding-top: 0; }
.wrap { width: min(92%, var(--maxw)); margin: 0 auto; }

.eyebrow {
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: .28em;
  font-size: .72rem; font-weight: 700; color: var(--terracotta);
  display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--terracotta); opacity: .6; }
.eyebrow.center { justify-content: center; }

.section-title { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 18ch; margin-bottom: 1.1rem; }
.section-title.center { margin-inline: auto; }
.section-title em { font-style: italic; color: var(--terracotta); font-weight: 400; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 56ch; }
.lead.center { margin-inline: auto; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 3.4rem; }

.btn {
  display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-body);
  font-weight: 700; font-size: .92rem; padding: .95rem 1.7rem; border-radius: 100px;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .3s, color .3s, box-shadow .35s;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--olive); color: var(--cream); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--terracotta); transform: translateY(-3px); }
.btn-ghost { background: transparent; color: var(--olive); border-color: var(--olive); }
.btn-ghost:hover { background: var(--olive); color: var(--cream); transform: translateY(-3px); }
.btn-light { background: var(--cream); color: var(--olive); }
.btn-light:hover { background: var(--terracotta); color: var(--cream); transform: translateY(-3px); }
.btn-outline-light { background: transparent; color: var(--cream); border-color: rgba(250,244,232,.6); }
.btn-outline-light:hover { background: var(--cream); color: var(--olive); transform: translateY(-3px); }

/* ===== NAVBAR ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: background .4s, box-shadow .4s, padding .4s; padding: 1.3rem 0; }
.nav.scrolled { background: rgba(250,244,232,.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(43,39,30,.08); padding: .7rem 0; }
.nav.solid { background: rgba(250,244,232,.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(43,39,30,.08); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .8rem; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text strong { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--olive); display: block; letter-spacing: -0.01em; }
.brand-text span { font-size: .6rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
/* navbar chiara sopra l'hero scuro (home) */
.nav.on-hero:not(.scrolled) .brand-text strong { color: var(--cream); }
.nav.on-hero:not(.scrolled) .brand-text span { color: rgba(250,244,232,.7); }
.nav.on-hero:not(.scrolled) .nav-links a { color: rgba(250,244,232,.92); }
.nav.on-hero:not(.scrolled) .nav-toggle span { background: var(--cream); }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .92rem; font-weight: 600; color: var(--ink-soft); position: relative; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--terracotta); transition: width .3s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--olive); }
.nav.on-hero:not(.scrolled) .nav-links a.active { color: var(--cream); }
.nav-links .btn { margin-left: .5rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 44px; height: 44px; position: relative; z-index: 1100; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--olive); margin: 6px auto; transition: transform .35s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--olive); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--olive); }

/* ===== HOME HERO (foto reale + overlay) ===== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); animation: kenburns 18s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,40,25,.45) 0%, rgba(35,40,25,.15) 40%, rgba(35,40,25,.78) 100%); }
.hero-inner { position: relative; z-index: 3; width: min(92%, var(--maxw)); margin: 0 auto; padding-bottom: clamp(3rem, 7vw, 5.5rem); color: var(--cream); }
.hero-card { max-width: 720px; }
.hero-tag { display: inline-flex; align-items: center; gap: .55rem; background: rgba(250,244,232,.15); backdrop-filter: blur(6px); border: 1px solid rgba(250,244,232,.3); padding: .5rem 1.05rem; border-radius: 100px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--cream); margin-bottom: 1.5rem; }
.hero-tag svg { width: 15px; height: 15px; color: var(--gold); }
.hero h1 { font-size: clamp(2.9rem, 7.5vw, 5.4rem); font-weight: 400; line-height: .98; color: var(--cream); margin-bottom: 1.2rem; letter-spacing: -0.02em; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero h1 em { font-style: italic; color: #F1C57A; }
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.28rem); color: rgba(250,244,232,.92); margin-bottom: 2rem; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-stats { display: flex; gap: clamp(1.4rem, 4vw, 3.4rem); flex-wrap: wrap; margin-top: clamp(2.4rem, 5vw, 3.6rem); padding-top: 2rem; border-top: 1px solid rgba(250,244,232,.22); }
.hero-stat strong { font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.5rem); color: var(--cream); display: block; font-weight: 600; line-height: 1; }
.hero-stat span { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(250,244,232,.7); font-weight: 700; }
.scroll-hint { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); z-index: 3; color: rgba(250,244,232,.7); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.scroll-hint svg { width: 18px; height: 18px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ===== PAGE HERO (pagine interne) ===== */
.page-hero { position: relative; padding: clamp(8rem, 14vw, 12rem) 0 clamp(3.5rem, 7vw, 5.5rem); overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,40,25,.5), rgba(35,40,25,.66)); }
.page-hero .wrap { position: relative; z-index: 2; color: var(--cream); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .eyebrow::before { background: var(--gold); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 400; color: var(--cream); margin-bottom: .8rem; }
.page-hero h1 em { font-style: italic; color: #F1C57A; }
.page-hero p { color: rgba(250,244,232,.9); max-width: 56ch; font-size: 1.1rem; }
.breadcrumb { font-size: .8rem; color: rgba(250,244,232,.7); margin-bottom: 1.4rem; letter-spacing: .04em; }
.breadcrumb a:hover { color: var(--cream); }

/* ===== ANIMAZIONI SCROLL ===== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }

/* ===== SPLIT (immagine + testo) ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.split-media:hover img { transform: scale(1.04); }
.split-badge { position: absolute; bottom: 1.3rem; left: 1.3rem; right: 1.3rem; background: rgba(255,253,248,.92); backdrop-filter: blur(6px); border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: .9rem; }
.split-badge svg { width: 38px; height: 38px; flex: none; color: var(--terracotta); }
.split-badge strong { color: var(--olive); display: block; font-family: var(--font-display); font-size: 1.05rem; }
.split-badge span { font-size: .85rem; color: var(--ink-soft); }
.split-text p { margin-bottom: 1.2rem; color: var(--ink-soft); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 2rem; }
.feature-item { display: flex; gap: .8rem; align-items: flex-start; }
.feature-item svg { width: 26px; height: 26px; flex: none; color: var(--terracotta); margin-top: 2px; }
.feature-item strong { display: block; color: var(--olive); font-family: var(--font-display); font-size: 1.05rem; }
.feature-item span { font-size: .9rem; color: var(--muted); }

/* ===== HIGHLIGHTS (home) ===== */
.highlights { background: var(--cream); }
.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.hl-card { background: var(--paper); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(58,74,41,.07); transition: transform .4s, box-shadow .4s; }
.hl-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.hl-ico { width: 58px; height: 58px; border-radius: 16px; background: var(--cream-2); display: grid; place-items: center; color: var(--terracotta); margin-bottom: 1.2rem; }
.hl-ico svg { width: 30px; height: 30px; }
.hl-card h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.hl-card p { font-size: .95rem; color: var(--ink-soft); }

/* ===== APPARTAMENTI ===== */
.apartments { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.apt-toggle { display: inline-flex; gap: .4rem; background: var(--paper); padding: .4rem; border-radius: 100px; box-shadow: var(--shadow-sm); margin: 1.6rem auto 0; }
.apt-toggle button { border: none; background: none; cursor: pointer; font-family: var(--font-body); font-weight: 700; font-size: .9rem; color: var(--muted); padding: .65rem 1.4rem; border-radius: 100px; transition: background .3s, color .3s; }
.apt-toggle button.active { background: var(--olive); color: var(--cream); }
.apt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; margin-top: 3rem; }
.apt-card { background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; display: flex; flex-direction: column; border: 1px solid rgba(58,74,41,.07); }
.apt-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.apt-card.hide { display: none; }
.apt-visual { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--sage-soft); }
.apt-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.apt-card:hover .apt-visual img { transform: scale(1.06); }
.apt-pill { position: absolute; top: 1rem; left: 1rem; background: var(--terracotta); color: var(--cream); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .4rem .8rem; border-radius: 100px; z-index: 2; }
.apt-pill.mono { background: var(--olive); }
.apt-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.apt-body h3 { font-size: 1.45rem; margin-bottom: .5rem; }
.apt-body p { font-size: .95rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.apt-specs { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid rgba(58,74,41,.1); }
.apt-spec { display: flex; align-items: center; gap: .45rem; font-size: .85rem; color: var(--muted); font-weight: 600; }
.apt-spec svg { width: 18px; height: 18px; color: var(--sage); }

/* ===== FATTORIA / ANIMALI ===== */
.farm-band { position: relative; overflow: hidden; min-height: 60vh; display: flex; align-items: center; }
.farm-band-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.farm-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35,40,25,.82) 0%, rgba(35,40,25,.5) 60%, rgba(35,40,25,.3) 100%); }
.farm-band .wrap { position: relative; z-index: 2; color: var(--cream); }
.farm-band .eyebrow { color: var(--gold); } .farm-band .eyebrow::before { background: var(--gold); }
.farm-band h2 { color: var(--cream); max-width: 18ch; }
.farm-band h2 em { color: #F1C57A; font-style: italic; }
.farm-band p { color: rgba(250,244,232,.9); max-width: 52ch; margin-top: 1rem; }

.animals { background: var(--olive); color: var(--cream); position: relative; overflow: hidden; }
.animals .section-title, .animals h3 { color: var(--cream); }
.animals .section-title em { color: var(--gold); }
.animals .eyebrow { color: var(--gold); } .animals .eyebrow::before { background: var(--gold); }
.animals .lead { color: rgba(250,244,232,.82); }
.animal-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; margin-top: 3rem; }
.animal-card { background: rgba(255,253,248,.06); border: 1px solid rgba(250,244,232,.14); border-radius: var(--radius); padding: 1.6rem 1rem 1.3rem; text-align: center; transition: transform .4s cubic-bezier(.2,.8,.2,1), background .4s; }
.animal-card:hover { transform: translateY(-7px); background: rgba(255,253,248,.12); }
.animal-ico { width: 70px; height: 70px; margin: 0 auto .9rem; color: var(--gold); }
.animal-ico svg { width: 100%; height: 100%; }
.animal-card h4 { color: var(--cream); font-size: 1.12rem; font-weight: 500; }
.animal-card span { font-size: .76rem; color: rgba(250,244,232,.6); }

/* ===== SERVIZI ===== */
.services { background: var(--cream); }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 3rem; }
.svc-card { background: var(--paper); border-radius: var(--radius-lg); padding: 2rem; display: flex; gap: 1.3rem; align-items: flex-start; box-shadow: var(--shadow-sm); border: 1px solid rgba(58,74,41,.07); transition: transform .4s, box-shadow .4s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.svc-ico { width: 60px; height: 60px; flex: none; border-radius: 16px; background: var(--cream-2); display: grid; place-items: center; color: var(--terracotta); }
.svc-ico svg { width: 30px; height: 30px; }
.svc-card h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.svc-card p { font-size: .95rem; color: var(--ink-soft); }
.svc-card.feature { grid-column: span 2; background: var(--olive-2); color: var(--cream); align-items: center; }
.svc-card.feature h3 { color: var(--cream); } .svc-card.feature p { color: rgba(250,244,232,.85); }
.svc-card.feature .svc-ico { background: rgba(255,253,248,.14); color: var(--gold); }

/* ===== POSIZIONE ===== */
.location { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.loc-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.loc-routes { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 2.2rem; }
.loc-route { display: flex; align-items: center; gap: 1.2rem; background: var(--paper); padding: 1.2rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.loc-route .lr-ico { width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--cream-2); display: grid; place-items: center; color: var(--olive); }
.loc-route .lr-ico svg { width: 26px; height: 26px; }
.loc-route .lr-time { margin-left: auto; text-align: right; }
.loc-route .lr-time strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--terracotta); display: block; line-height: 1; }
.loc-route .lr-time span { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.loc-route h4 { font-size: 1.05rem; font-weight: 600; color: var(--olive); }
.loc-route p { font-size: .85rem; color: var(--muted); }
.loc-art { display: flex; flex-direction: column; gap: 1rem; }
.loc-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/10; }
.loc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.loc-photo:hover img { transform: scale(1.04); }
.loc-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16/9; background: var(--sage-soft); }
.loc-map svg { width: 100%; height: 100%; }

/* ===== GALLERIA ===== */
.gallery { background: var(--cream); }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 1rem; margin-top: 3rem; }
.gal-item { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; background: var(--cream-2); }
.gal-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.gal-item:hover img { transform: scale(1.07); }
.gal-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(35,40,25,.55)); opacity: 0; transition: opacity .4s; }
.gal-item:hover::after { opacity: 1; }
.gal-cap { position: absolute; bottom: 1rem; left: 1.1rem; right: 1.1rem; z-index: 2; color: var(--cream); font-family: var(--font-display); font-size: 1.05rem; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.gal-item:hover .gal-cap { opacity: 1; transform: none; }
.gal-item.tall { grid-row: span 2; } .gal-item.wide { grid-column: span 2; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 5000; background: rgba(25,22,16,.92); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 1.4rem; right: 1.6rem; background: none; border: none; color: var(--cream); font-size: 2.4rem; cursor: pointer; line-height: 1; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(250,244,232,.14); border: none; color: var(--cream); width: 54px; height: 54px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; transition: background .3s; }
.lightbox-nav:hover { background: rgba(250,244,232,.28); }
.lightbox-nav.prev { left: 1.4rem; } .lightbox-nav.next { right: 1.4rem; }

/* ===== CTA BAND ===== */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(35,40,25,.72); }
.cta-band .wrap { position: relative; z-index: 2; color: var(--cream); }
.cta-band h2 { color: var(--cream); font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.cta-band h2 em { color: #F1C57A; font-style: italic; }
.cta-band p { color: rgba(250,244,232,.9); max-width: 46ch; margin: 0 auto 2rem; }

/* ===== CONTATTI ===== */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem,5vw,4rem); }
.contact-info .ci-list { display: flex; flex-direction: column; gap: 1.3rem; margin-top: 2rem; }
.ci-item { display: flex; gap: 1rem; align-items: center; }
.ci-item svg { width: 24px; height: 24px; color: var(--terracotta); flex: none; }
.ci-item strong { display: block; font-family: var(--font-display); color: var(--olive); font-weight: 500; font-size: 1.1rem; }
.ci-item span { font-size: .88rem; color: var(--muted); }
.form-card { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-lg); border: 1px solid rgba(58,74,41,.07); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--olive); margin-bottom: .4rem; }
.field input, .field select, .field textarea { width: 100%; font-family: var(--font-body); font-size: .98rem; color: var(--ink); background: var(--cream); border: 1.5px solid rgba(58,74,41,.16); border-radius: 12px; padding: .85rem 1rem; transition: border-color .3s, box-shadow .3s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 4px rgba(192,98,58,.12); }
.field textarea { resize: vertical; min-height: 120px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: .4rem; }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: .9rem; }
.form-success { display: none; text-align: center; padding: 1rem; background: rgba(151,166,120,.18); border-radius: 12px; color: var(--olive-2); font-weight: 600; margin-top: 1rem; }
.form-success.show { display: block; }

/* ===== FOOTER ===== */
.footer { background: var(--ink); color: rgba(250,244,232,.7); padding: 3.5rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer .brand-text strong { color: var(--cream); }
.footer .brand-text span { color: rgba(250,244,232,.5); }
.footer-col h4 { color: var(--cream); font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; font-family: var(--font-body); font-weight: 800; margin-bottom: 1rem; }
.footer-col a, .footer-col p { display: block; font-size: .92rem; margin-bottom: .6rem; transition: color .3s; }
.footer-col a:hover { color: var(--gold); }
.footer-intro p { font-size: .92rem; margin: 1rem 0 0; max-width: 34ch; }
.footer-bottom { border-top: 1px solid rgba(250,244,232,.12); padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .82rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 940px) {
  .split, .loc-grid, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: -1; }
  .split-media { aspect-ratio: 16/11; }
  .hl-grid { grid-template-columns: 1fr; }
  .animal-grid { grid-template-columns: repeat(3, 1fr); }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card.feature { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(80%, 320px); background: var(--cream); flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.5rem; padding: 2rem 2.4rem; transform: translateX(100%); transition: transform .45s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow-lg); z-index: 1050; }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 1.15rem; color: var(--ink-soft) !important; }
  .nav-links .btn { margin-left: 0; color: var(--cream) !important; }
  .nav-toggle { display: block; }
  .apt-grid, .svc-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .animal-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gal-item.wide { grid-column: span 1; } .gal-item.tall { grid-row: span 1; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; } .hero-bg { transform: none; }
}

/* =====================================================================
   PRENOTAZIONE (booking)
   ===================================================================== */
.booking { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.booking-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.book-note { display: flex; gap: .8rem; align-items: flex-start; background: rgba(151,166,120,.16); border: 1px solid rgba(58,74,41,.14); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.8rem; font-size: .9rem; color: var(--ink-soft); }
.book-note svg { width: 22px; height: 22px; color: var(--olive-2); flex: none; margin-top: 1px; }
.book-summary { position: sticky; top: 100px; background: var(--olive); color: var(--cream); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: var(--shadow-lg); }
.book-summary h3 { color: var(--cream); font-size: 1.5rem; margin-bottom: .3rem; }
.book-summary .bs-sub { color: rgba(250,244,232,.7); font-size: .88rem; margin-bottom: 1.4rem; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; padding: .7rem 0; border-bottom: 1px solid rgba(250,244,232,.16); font-size: .95rem; color: rgba(250,244,232,.9); }
.sum-row span:last-child { font-weight: 700; color: var(--cream); }
.sum-row.muted span { color: rgba(250,244,232,.6); font-weight: 400; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1.1rem; padding-top: 1.1rem; }
.sum-total .st-label { font-family: var(--font-display); font-size: 1.2rem; color: var(--cream); }
.sum-total .st-val { font-family: var(--font-display); font-size: 2rem; color: var(--gold); font-weight: 600; }
.sum-deposit { background: rgba(255,253,248,.1); border-radius: 14px; padding: .9rem 1.1rem; margin-top: 1rem; display: flex; justify-content: space-between; align-items: baseline; }
.sum-deposit .sd-label { font-size: .82rem; color: rgba(250,244,232,.8); }
.sum-deposit .sd-label b { display: block; color: var(--cream); font-size: .95rem; font-family: var(--font-display); font-weight: 500; }
.sum-deposit .sd-val { font-family: var(--font-display); font-size: 1.4rem; color: var(--cream); font-weight: 600; }
.pay-actions { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.5rem; }
.pay-actions .btn { width: 100%; justify-content: center; }
.pay-actions .btn-gold { background: var(--gold); color: #3a2e12; }
.pay-actions .btn-gold:hover { background: #E9B65E; transform: translateY(-3px); }
.pay-actions .btn-ghost-light { background: transparent; color: var(--cream); border-color: rgba(250,244,232,.5); }
.pay-actions .btn-ghost-light:hover { background: rgba(250,244,232,.12); transform: translateY(-3px); }
.pay-secure { text-align: center; font-size: .76rem; color: rgba(250,244,232,.6); margin-top: .9rem; display: flex; align-items: center; justify-content: center; gap: .4rem; }
.pay-secure svg { width: 14px; height: 14px; }

/* =====================================================================
   RECENSIONI (reviews)
   ===================================================================== */
.reviews { background: var(--cream); }
.rating-hero { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); background: var(--paper); border: 1px solid rgba(58,74,41,.08); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); margin-bottom: 3rem; }
.rating-big { text-align: center; padding-right: clamp(1rem,3vw,2.4rem); border-right: 1px solid rgba(58,74,41,.12); }
.rating-big strong { font-family: var(--font-display); font-size: 3.6rem; color: var(--olive); line-height: 1; display: block; font-weight: 600; }
.rating-big .rb-count { font-size: .82rem; color: var(--muted); font-weight: 600; }
.rating-bars { flex: 1; min-width: 220px; }
.rbar { display: flex; align-items: center; gap: .7rem; margin-bottom: .35rem; font-size: .82rem; color: var(--muted); }
.rbar .rbar-track { flex: 1; height: 7px; background: var(--cream-2); border-radius: 100px; overflow: hidden; }
.rbar .rbar-fill { height: 100%; background: var(--gold); border-radius: 100px; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; }
.stars .star-empty { color: rgba(58,74,41,.22); }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.rev-card { background: var(--paper); border: 1px solid rgba(58,74,41,.08); border-radius: var(--radius-lg); padding: 1.7rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .9rem; transition: transform .4s, box-shadow .4s; }
.rev-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.rev-head { display: flex; align-items: center; gap: .9rem; }
.rev-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--sage); color: var(--cream); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; flex: none; }
.rev-head .rev-name { font-family: var(--font-display); color: var(--olive); font-size: 1.05rem; font-weight: 500; }
.rev-head .rev-date { font-size: .76rem; color: var(--muted); }
.rev-body { color: var(--ink-soft); font-size: .95rem; line-height: 1.6; }
.rev-body::before { content: "\201C"; }
.rev-body::after { content: "\201D"; }
.rev-apt { margin-top: auto; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--terracotta); font-weight: 700; }
.review-form { background: var(--paper); border: 1px solid rgba(58,74,41,.08); border-radius: var(--radius-lg); padding: clamp(1.6rem,3vw,2.4rem); box-shadow: var(--shadow-md); max-width: 720px; margin: 3rem auto 0; }
.review-form h3 { font-size: 1.6rem; margin-bottom: .3rem; text-align: center; }
.review-form .rf-sub { text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: 1.6rem; }
.star-input { display: flex; justify-content: center; gap: .3rem; margin-bottom: 1.4rem; }
.star-input button { background: none; border: none; cursor: pointer; color: rgba(58,74,41,.22); padding: 0; transition: color .2s, transform .2s; }
.star-input button svg { width: 34px; height: 34px; }
.star-input button:hover { transform: scale(1.15); }
.star-input button.on { color: var(--gold); }
.review-form .btn { width: 100%; justify-content: center; margin-top: .3rem; }
.rev-thanks { display: none; text-align: center; padding: 1rem; background: rgba(151,166,120,.18); border-radius: 12px; color: var(--olive-2); font-weight: 600; margin-top: 1rem; }
.rev-thanks.show { display: block; }

@media (max-width: 940px) {
  .booking-grid { grid-template-columns: 1fr; }
  .book-summary { position: static; }
  .rev-grid { grid-template-columns: 1fr 1fr; }
  .rating-big { border-right: none; padding-right: 0; }
}
@media (max-width: 620px) { .rev-grid { grid-template-columns: 1fr; } }

/* ===== SLOT per motore di prenotazione e recensioni Google ===== */
.engine-slot, .gr-slot { max-width: 980px; margin: 0 auto; }
.engine-placeholder { border: 2px dashed rgba(58,74,41,.30); border-radius: var(--radius-lg); background: var(--paper); padding: clamp(2rem,5vw,3.5rem); text-align: center; color: var(--ink-soft); }
.engine-placeholder svg { width: 46px; height: 46px; color: var(--sage); margin: 0 auto 1rem; display: block; }
.engine-placeholder h3 { color: var(--olive); font-size: 1.35rem; margin-bottom: .5rem; }
.engine-placeholder p { max-width: 52ch; margin: 0 auto; font-size: .95rem; }
