/* ============================================================
   DOG HOUSE — cinematic landing
   Palette: Navy #0F172A · Blu brand #2E4A9B · Oro CTA #D4AF37
            Testi #FFFFFF / #CBD5E1 · Sezioni chiare #F8F5F0
   Type: Hanken Grotesk (clean modern sans, Apple-ish)
   ============================================================ */

:root {
  --black: #0F172A;        /* sfondo principale (navy) */
  --black-soft: #16213C;   /* sezioni scure alternate */
  --black-warm: #1B2748;   /* navy alt 2 */
  --gold: #3D6FD6;         /* CTA */
  --gold-bright: #5B8AEA;
  --gold-deep: #234493;
  --blu: #2E4A9B;          /* blu brand */
  --blu-soft: #3D5DB8;     /* tint brand per accenti su navy */
  --ivory: #FFFFFF;        /* testi principali */
  --ivory-dim: #CBD5E1;    /* testi secondari */
  --ivory-faint: rgba(203, 213, 225, 0.45);
  --line: rgba(203, 213, 225, 0.14);
  --line-gold: rgba(61, 111, 214, 0.34);

  --bg-light: #F8F5F0;     /* sfondo sezioni chiare */
  --ink: #0F172A;          /* testi su sezioni chiare */
  --ink-dim: rgba(15, 23, 42, 0.62);

  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 80px);

  --ease-cine: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.5;
}

::selection { background: var(--gold); color: var(--black); }

img { display: block; max-width: 100%; }

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

/* ----- film grain overlay (global) ----- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%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");
}

/* ----- scroll progress bar ----- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--blu), var(--gold-bright));
  z-index: 9500;
  box-shadow: 0 0 12px rgba(61,111,214, 0.6);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad);
  transition: padding 0.5s var(--ease-cine), background 0.5s var(--ease-cine), backdrop-filter 0.5s;
}
.nav::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.92), rgba(15,23,42,0.10) 70%, rgba(15,23,42,0));
  z-index: -1;
  opacity: 1;
  transition: opacity 0.5s;
}
.nav.scrolled {
  padding: 14px var(--pad);
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav.scrolled::after { opacity: 0; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand-logo {
  height: 50px;
  width: auto;
  max-width: none;
  flex: none;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.55));
  transition: height 0.5s var(--ease-cine);
}
.nav.scrolled .brand-logo { height: 40px; }
.footer .brand-logo { height: 54px; }
.brand b { color: var(--ivory); font-weight: 700; }
.brand span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-links a {
  font-size: 13.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--ivory-dim);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-cine);
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 16px; }
.socials { display: flex; align-items: center; gap: 8px; }
.soc {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ivory);
  transition: color 0.35s, border-color 0.35s, background 0.35s, transform 0.35s var(--ease-cine);
}
.soc:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: rgba(61,111,214, 0.10);
  transform: translateY(-2px);
}
.menu-toggle { display: none; }

@media (max-width: 920px) {
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .socials { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease-cine), background 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.4s;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 0 0 rgba(61,111,214,0);
}
.btn-gold:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(61,111,214, 0.32);
}
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: translateY(-2px);
}
.btn .arrow { transition: transform 0.4s var(--ease-cine); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.section { position: relative; padding: clamp(90px, 13vh, 180px) var(--pad); }
.container { max-width: var(--maxw); margin: 0 auto; }
.narrow { max-width: 860px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

h1, h2, h3 { font-weight: 300; letter-spacing: -0.02em; line-height: 1.04; }

.display {
  font-size: clamp(44px, 8.4vw, 132px);
  font-weight: 200;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.h-xl { font-size: clamp(34px, 5.4vw, 78px); font-weight: 300; line-height: 1.02; }
.h-lg { font-size: clamp(28px, 3.6vw, 52px); font-weight: 300; }
.lead {
  font-size: clamp(17px, 1.5vw, 22px);
  color: var(--ivory-dim);
  font-weight: 400;
  line-height: 1.6;
  max-width: 60ch;
}
em.gold { color: var(--gold-bright); font-style: normal; }

/* ============================================================
   REVEAL / MOTION
   ============================================================ */
.reveal {
  transform: translateY(36px);
  transition: transform 1.05s var(--ease-cine);
  will-change: transform;
}
.reveal.in { transform: none; }

.reveal-zoom { transform: translateY(36px) scale(1.05); }
.reveal-zoom.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-zoom { transform: none !important; }
  html { scroll-behavior: auto; }
  .kenburns { animation: none !important; }
  .hero-title .ln > span, .hero-sub, .hero-actions,
  .eyebrow.hero-eyebrow, .video-hint, .scroll-cue { animation: none !important; }
}

/* ============================================================
   CINEMATIC IMAGE FRAME (with graceful fallback)
   ============================================================ */
.frame {
  position: relative;
  overflow: hidden;
  background: var(--black-soft);
  isolation: isolate;
}
.frame img.cine {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* grade tint over every frame for cohesion */
.frame .grade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15,23,42,0) 40%, rgba(15,23,42,0.55) 100%),
    radial-gradient(120% 90% at 70% 20%, rgba(61,111,214,0.12), transparent 60%);
  mix-blend-mode: normal;
}
.frame .vignette {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  box-shadow: inset 0 0 140px rgba(0,0,0,0.55);
}

/* ----- fallback: graded "storyboard" frame (navy / brand-blue) ----- */
.frame.no-img { background: #101a31; }
.frame.no-img img.cine { display: none; }
.frame.no-img::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(130% 120% at 75% 12%, rgba(61,93,184,0.55), transparent 60%),
    radial-gradient(120% 120% at 18% 98%, rgba(46,74,155,0.42), transparent 64%),
    linear-gradient(155deg, #1c2c52 0%, #131d36 55%, #0c1426 100%);
}
.frame.no-img.g2::before {
  background:
    radial-gradient(120% 120% at 22% 18%, rgba(61,93,184,0.50), transparent 60%),
    radial-gradient(130% 120% at 92% 92%, rgba(61,111,214,0.22), transparent 62%),
    linear-gradient(155deg, #1a2748 0%, #0e1830 100%);
}
.frame.no-img.g3::before {
  background:
    radial-gradient(140% 130% at 50% 0%, rgba(91,121,207,0.46), transparent 62%),
    radial-gradient(120% 110% at 80% 100%, rgba(46,74,155,0.40), transparent 60%),
    linear-gradient(180deg, #1d2c50 0%, #0d1528 100%);
}
.frame.no-img .grade { display: none; }
/* caption shows on fallback only */
.frame .cap {
  position: absolute;
  left: 18px; bottom: 16px;
  z-index: 4;
  font-family: "SF Mono", ui-monospace, "Cascadia Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,241,232,0.5);
  opacity: 0;
  transition: opacity 0.4s;
}
.frame.no-img .cap { opacity: 1; }
.frame.no-img .cap::before {
  content: "● REC  ";
  color: var(--gold);
  letter-spacing: 0.12em;
}
/* film sprocket flourish on fallback */
.frame.no-img::after {
  content: "";
  position: absolute; top: 0; bottom: 0; right: 0; width: 26px; z-index: 4;
  background-image: repeating-linear-gradient(180deg, transparent 0 14px, rgba(245,241,232,0.10) 14px 24px);
  opacity: 0.5;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img.cine {
  width: 100%; height: 100%; object-fit: cover;
}
.kenburns { animation: kb 22s var(--ease-out) infinite alternate; }
@keyframes kb {
  from { transform: scale(1.06) translate(0, 0); }
  to   { transform: scale(1.18) translate(-2%, -2%); }
}
.hero-media .grade {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.55) 40%, rgba(15,23,42,0.25) 100%),
    linear-gradient(180deg, rgba(15,23,42,0.7) 0%, rgba(15,23,42,0) 30%, rgba(15,23,42,0.85) 100%);
}
.hero-media .vignette { position: absolute; inset: 0; z-index: 3; box-shadow: inset 0 0 220px rgba(0,0,0,0.7); }

/* hero fallback grade */
.hero-media.no-img { background: #0c1426; }
.hero-media.no-img img.cine { display: none; }
.hero-media.no-img::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(82% 78% at 70% 34%, rgba(91,138,234,0.34), transparent 55%),
    radial-gradient(120% 110% at 10% 100%, rgba(46,74,155,0.48), transparent 62%),
    linear-gradient(160deg, #1c2c52 0%, #131d36 58%, #0b1324 100%);
  animation: kb 26s var(--ease-out) infinite alternate;
}

.hero-inner {
  position: relative;
  z-index: 5;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--pad);
}
.hero-title {
  font-size: clamp(42px, 7.2vw, 116px);
  font-weight: 200;
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 16ch;
  margin-bottom: 30px;
}
/* Entrance: opacity stays 1, animate TRANSFORM only — content is
   never hidden even if the animation is throttled/never plays. */
@keyframes heroUp      { from { transform: translateY(46px); } to { transform: translateY(0); } }
@keyframes heroUpSmall { from { transform: translateY(24px); } to { transform: translateY(0); } }

.hero-title .ln { display: block; }
.hero-title .ln > span {
  display: block;
  animation: heroUp 1.15s var(--ease-cine) backwards;
}
.hero-title .ln:nth-child(1) > span { animation-delay: 0.10s; }
.hero-title .ln:nth-child(2) > span { animation-delay: 0.22s; }
.hero-title .ln:nth-child(3) > span { animation-delay: 0.34s; }

.hero-sub {
  font-size: clamp(16px, 1.5vw, 21px);
  color: var(--ivory-dim);
  max-width: 46ch;
  margin-bottom: 42px;
  animation: heroUpSmall 1s var(--ease-cine) 0.46s backwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: heroUpSmall 1s var(--ease-cine) 0.58s backwards;
}

.eyebrow.hero-eyebrow {
  animation: heroUpSmall 0.9s var(--ease-cine) 0.04s backwards;
}

/* video-slot hint */
.video-hint {
  position: absolute;
  right: var(--pad); bottom: 120px;
  z-index: 5;
  display: flex; align-items: center; gap: 12px;
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-faint);
  animation: heroUpSmall 1s var(--ease-cine) 1s backwards;
}
.video-hint .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 0 rgba(61,111,214,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61,111,214,0.5); }
  70% { box-shadow: 0 0 0 12px rgba(61,111,214,0); }
  100% { box-shadow: 0 0 0 0 rgba(61,111,214,0); }
}
@media (max-width: 720px){ .video-hint { display: none; } }

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 34px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ivory-faint);
  animation: heroUpSmall 1s var(--ease-cine) 1.1s backwards;
}
.scroll-cue .bar {
  width: 1px; height: 46px;
  background: linear-gradient(180deg, var(--gold), transparent);
  position: relative; overflow: hidden;
}
.scroll-cue .bar::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--ivory);
  animation: scrolldown 2.2s var(--ease-cine) infinite;
}
@keyframes scrolldown {
  0% { top: -60%; } 100% { top: 110%; }
}

/* ============================================================
   SECTION 1 — IL PROBLEMA
   ============================================================ */
.problem { background: var(--black); }
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 900px){ .split { grid-template-columns: 1fr; } }

.problem-frame { aspect-ratio: 4/5; border-radius: 3px; cursor: pointer; }
.problem-frame img.cine { transition: transform 1.1s var(--ease-cine), filter 1.1s; }
.problem-frame:hover img.cine { transform: scale(1.08); }

.problem-list { list-style: none; margin-top: 36px; }
.problem-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 300;
  color: var(--ivory);
  transition: color 0.4s, padding-left 0.4s var(--ease-cine);
}
.problem-list li .n {
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.1em;
  min-width: 32px;
}
.problem-list li:hover { padding-left: 10px; color: var(--gold-bright); }

/* ============================================================
   SECTION 2 — LA TRASFORMAZIONE (parallax)
   ============================================================ */
.transform { position: relative; padding: 0; }
.transform-stage {
  position: relative;
  min-height: 120svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.transform-bg { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.transform-bg img.cine { width: 100%; height: 100%; object-fit: cover; }
.transform-bg .grade {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(15,23,42,0.85), rgba(15,23,42,0.5) 45%, rgba(15,23,42,0.92));
}
.transform-bg .vignette { position:absolute; inset:0; z-index:3; box-shadow: inset 0 0 200px rgba(0,0,0,0.7); }
.transform-bg.no-img::before {
  content:""; position:absolute; inset:0; z-index:1;
  background:
    radial-gradient(90% 80% at 30% 28%, rgba(61,93,184,0.48), transparent 60%),
    radial-gradient(80% 80% at 86% 92%, rgba(61,111,214,0.18), transparent 60%),
    linear-gradient(160deg, #1a2748, #0c1426);
}
.transform-content {
  position: relative; z-index: 5;
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  padding: 0 var(--pad);
}
.transform-pillars {
  display: flex; gap: clamp(24px, 4vw, 64px); flex-wrap: wrap;
  margin-top: 44px;
}
.pillar { max-width: 230px; }
.pillar .pk {
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: 12px; color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase;
  display: block; margin-bottom: 12px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line-gold);
}
.pillar p { color: var(--ivory-dim); font-size: 15.5px; line-height: 1.6; }

/* ============================================================
   SECTION 3 — I NOSTRI PERCORSI (cards)
   ============================================================ */
.paths { background: var(--black-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(48px, 7vh, 88px); }
.section-head .lead { margin-top: 22px; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
@media (max-width: 1100px){ .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .cards { grid-template-columns: 1fr; } }

.card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
}
.card .frame { position: absolute; inset: 0; }
.card .frame img.cine { transition: transform 1.1s var(--ease-cine), filter 1.1s; }
/* foto educazione avanzata (panoramica): mostra più larghezza (più cani) con sottili bande scure sopra/sotto */
.card .frame:has(img[src$="educazione-avanzata.jpg"]) { display: flex; align-items: center; justify-content: center; background: #0a1222; }
.card .frame img[src$="educazione-avanzata.jpg"] { height: 84%; object-position: 50% center; }
.card-body {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  background: linear-gradient(180deg, rgba(15,23,42,0) 35%, rgba(15,23,42,0.55) 70%, rgba(8,12,24,0.9) 100%);
}
.card-num {
  position: absolute; top: 22px; left: 26px;
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: 12px; letter-spacing: 0.1em;
  color: var(--gold);
  opacity: 0.85;
}
.card h3 {
  font-size: 22px; font-weight: 400; letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.card .card-sub {
  font-size: 13.5px; color: var(--ivory-dim);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.6s var(--ease-cine), opacity 0.5s, margin 0.6s;
}
.card .card-cta {
  margin-top: 14px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-bright);
  display: inline-flex; gap: 8px; align-items: center;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s, transform 0.5s var(--ease-cine);
}
.card:hover .frame img.cine { transform: scale(1.16); }
.card:hover .card-sub { max-height: 80px; opacity: 1; }
.card:hover .card-cta { opacity: 1; transform: none; }
.card::after {
  content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none;
  box-shadow: inset 0 0 0 0 var(--gold);
  transition: box-shadow 0.5s var(--ease-cine);
}
.card:hover::after { box-shadow: inset 0 0 0 2px var(--gold); }

/* ============================================================
   SECTION 4 — STORIE DI TRASFORMAZIONE
   ============================================================ */
.stories { background: var(--black); }
.story {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(40px,7vh,80px) 0;
  border-top: 1px solid var(--line);
}
.story:last-of-type { border-bottom: 1px solid var(--line); }
@media (max-width: 880px){ .story { grid-template-columns: 1fr; } }

.beforeafter {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  aspect-ratio: 16/10;
}
.beforeafter .frame { position: relative; cursor: pointer; }
.beforeafter .frame img.cine { transition: transform 1.1s var(--ease-cine), filter 1.1s; }
.beforeafter .frame:hover img.cine { transform: scale(1.09); }
.beforeafter .tag {
  position: absolute; top: 12px; left: 12px; z-index: 5;
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ivory); background: rgba(15,23,42,0.6);
  padding: 5px 9px; border: 1px solid var(--line);
}
.beforeafter .tag.after { color: var(--gold); border-color: var(--line-gold); }

.story-quote { font-size: clamp(20px, 2.4vw, 30px); font-weight: 300; line-height: 1.35; letter-spacing: -0.01em; }
.story-quote::before { content: "“"; color: var(--gold); }
.story-quote::after { content: "”"; color: var(--gold); }
.story-meta { margin-top: 22px; display: flex; align-items: center; gap: 14px; }
.story-meta .who { font-weight: 600; font-size: 15px; }
.story-meta .what { color: var(--ivory-dim); font-size: 14px; }
.story-meta .line { width: 30px; height: 1px; background: var(--gold); }

/* video testimonial strip */
.vid-testi {
  margin-top: clamp(48px,7vh,80px);
  position: relative;
  aspect-ratio: 21/9;
}
.vid-testi .play {
  position: absolute; inset: 0; z-index: 6;
  display: grid; place-items: center;
}
.vid-testi .play .ring {
  width: 88px; height: 88px; border-radius: 50%;
  border: 1.5px solid rgba(245,241,232,0.6);
  display: grid; place-items: center;
  transition: transform 0.5s var(--ease-cine), border-color 0.4s, background 0.4s;
  background: rgba(15,23,42,0.2);
  backdrop-filter: blur(2px);
}
.vid-testi:hover .play .ring { transform: scale(1.08); border-color: var(--gold); background: rgba(61,111,214,0.12); }
.vid-testi .play .ring::after {
  content: ""; width: 0; height: 0;
  border-left: 18px solid var(--ivory);
  border-top: 11px solid transparent; border-bottom: 11px solid transparent;
  margin-left: 5px;
  transition: border-left-color 0.4s;
}
.vid-testi:hover .play .ring::after { border-left-color: var(--gold-bright); }
.vid-testi .vlabel {
  position: absolute; left: 24px; bottom: 22px; z-index: 6;
  font-size: 14px; color: var(--ivory); letter-spacing: 0.02em;
}
.vid-testi .vlabel b { display:block; font-weight:600; }
.vid-testi .vlabel span { color: var(--ivory-dim); font-size: 13px; }

/* ============================================================
   SECTION 5 — IL CENTRO (gallery)
   ============================================================ */
.center { background: var(--black-soft); }
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 150px;
  gap: 4px;
}
.gallery .frame { border-radius: 2px; }
.g-a { grid-column: span 4; grid-row: span 2; }
.g-b { grid-column: span 2; grid-row: span 2; }
.g-c { grid-column: span 2; grid-row: span 2; }
.g-d { grid-column: span 2; grid-row: span 2; }
.g-e { grid-column: span 2; grid-row: span 2; }
.g-f { grid-column: span 3; grid-row: span 2; }
.g-g { grid-column: span 3; grid-row: span 2; }
/* piscina (verticale): tieni in vista il cane che nuota */
.gallery .frame img[src$="gal-piscina.jpg"] { object-position: 64% center; }
.gallery .frame img[src$="gal-relax.jpg"] { object-position: center 40%; }
@media (max-width: 820px){
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .g-a,.g-b,.g-c,.g-d,.g-e,.g-f,.g-g { grid-column: span 1; grid-row: span 2; }
  .g-a { grid-column: span 2; }
}
.gallery .frame img.cine { transition: transform 1.4s var(--ease-cine); }
.gallery .frame:hover img.cine { transform: scale(1.07); }

/* ============================================================
   SECTION 6 — CHI SIAMO (team)
   ============================================================ */
.team { background: var(--black); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
@media (max-width: 820px){ .team-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .team-grid { grid-template-columns: 1fr; } }
.member .frame { aspect-ratio: 4/5; margin-bottom: 18px; cursor: pointer; }
.member .frame img.cine { filter: grayscale(0.25) contrast(1.02); transition: filter 0.6s, transform 1s var(--ease-cine); }
/* ritratti Valeria/Annalisa: zoom sui soggetti (cani + persona) */
.member .frame:has(img[src$="valeria.jpg"]) { overflow: hidden; }
.member .frame:has(img[src$="annalisa.jpg"]) { overflow: hidden; }
.member .frame img[src$="valeria.jpg"] { transform: scale(1.55); transform-origin: 52% 60%; }
.member:hover .frame img[src$="valeria.jpg"] { transform: scale(1.62); transform-origin: 52% 60%; }
.member .frame img[src$="annalisa.jpg"] { transform: scale(1.5); transform-origin: 55% 60%; }
.member:hover .frame img[src$="annalisa.jpg"] { transform: scale(1.57); transform-origin: 55% 60%; }
.member .frame:has(img[src$="martina.jpg"]) { overflow: hidden; }
.member .frame:has(img[src$="andrea.jpg"]) { overflow: hidden; }
.member .frame img[src$="martina.jpg"] { transform: scale(1.15); transform-origin: 50% 0%; }
.member:hover .frame img[src$="martina.jpg"] { transform: scale(1.21); transform-origin: 50% 0%; }
.member .frame img[src$="andrea.jpg"] { transform: scale(1.45); transform-origin: 50% 58%; }
.member:hover .frame img[src$="andrea.jpg"] { transform: scale(1.52); transform-origin: 50% 58%; }
.member:hover .frame img.cine { filter: grayscale(0) contrast(1.05); transform: scale(1.05); }
.member h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.01em; }
.member .role { color: var(--gold); font-size: 13px; letter-spacing: 0.06em; margin-top: 4px; }
.member p { color: var(--ivory-dim); font-size: 14.5px; line-height: 1.6; margin-top: 12px; }

/* ============================================================
   SECTION 7 — NUMERI (years counter)
   ============================================================ */
.numbers {
  background:
    radial-gradient(100% 120% at 50% 0%, rgba(61,111,214,0.10), transparent 55%),
    var(--black);
  text-align: center;
}
.bignum {
  font-size: clamp(120px, 26vw, 380px);
  font-weight: 200;
  line-height: 0.82;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, var(--ivory) 0%, var(--gold) 75%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-flex; align-items: flex-start;
}
.bignum .plus { font-size: 0.3em; margin-top: 0.25em; -webkit-text-fill-color: var(--gold); }
.numbers .label {
  font-size: clamp(18px, 2.4vw, 30px);
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-top: 8px;
}
.numbers .sub { color: var(--ivory-dim); margin-top: 22px; max-width: 50ch; margin-inline: auto; }

/* ============================================================
   CTA FINALE
   ============================================================ */
.finale {
  position: relative;
  min-height: 92svh;
  display: flex; align-items: center;
  overflow: hidden;
  text-align: center;
}
.finale-bg { position: absolute; inset: -10% 0; z-index: 0; will-change: transform; }
.finale-bg img.cine { width:100%; height:100%; object-fit: cover; }
.finale-bg .grade {
  position:absolute; inset:0; z-index:2;
  background: radial-gradient(80% 80% at 50% 50%, rgba(15,23,42,0.55), rgba(15,23,42,0.92));
}
.finale-bg .vignette { position:absolute; inset:0; z-index:3; box-shadow: inset 0 0 240px rgba(0,0,0,0.85); }
.finale-bg.no-img::before {
  content:""; position:absolute; inset:0; z-index:1;
  background:
    radial-gradient(70% 70% at 50% 38%, rgba(91,138,234,0.30), transparent 56%),
    radial-gradient(120% 90% at 50% 100%, rgba(46,74,155,0.45), transparent 62%),
    linear-gradient(180deg, #19294c, #0b1322);
  animation: kb 28s var(--ease-out) infinite alternate;
}
.finale-inner { position: relative; z-index: 5; max-width: 1000px; margin: 0 auto; padding: 0 var(--pad); }
.finale-title { font-size: clamp(36px, 6vw, 92px); font-weight: 200; letter-spacing: -0.035em; line-height: 1.02; }
.finale .lead { margin: 28px auto 42px; text-align: center; }
.finale-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   FORM — PRENOTAZIONE
   ============================================================ */
/* --- light section (#F8F5F0) --- */
.book { background: var(--bg-light); color: var(--ink); }
.book .eyebrow { color: var(--blu); }
.book .eyebrow::before { background: var(--blu); }
.book h2, .book .h-lg { color: var(--ink); }
.book .lead { color: var(--ink-dim); }
.book .book-aside .contacts .row { border-bottom-color: rgba(15,23,42,0.14); }
.book .book-aside .contacts .k { color: var(--blu); }
.book .book-aside .contacts .v { color: var(--ink); }
.book .field label { color: var(--ink-dim); }
.book .field input, .book .field textarea, .book .field select { color: var(--ink); border-bottom-color: rgba(15,23,42,0.22); }
.book .field select option { background: #fff; color: var(--ink); }
.book .field input::placeholder, .book .field textarea::placeholder { color: rgba(15,23,42,0.40); }
.book .field input:focus, .book .field textarea:focus, .book .field select:focus { border-color: var(--blu); }
.book .form-foot .note { color: var(--ink-dim); }
.book .form-success h3 { color: var(--ink); }
.book .form-success p { color: var(--ink-dim); }
.book .form-success .check { border-color: var(--blu); color: var(--blu); }
.book-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
@media (max-width: 900px){ .book-grid { grid-template-columns: 1fr; } }
.book-aside .lead { margin-top: 22px; }
.book-aside .contacts { margin-top: 38px; display: grid; gap: 18px; }
.book-aside .contacts .row { display: flex; gap: 14px; align-items: baseline; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.book-aside .contacts .k { font-family: "SF Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); min-width: 90px; }
.book-aside .contacts .v { color: var(--ivory); font-size: 15.5px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ivory-dim); }
.field label .req { color: var(--gold); }
.field input, .field textarea, .field select {
  font-family: var(--font);
  font-size: 16px;
  color: var(--ivory);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 2px;
  transition: border-color 0.4s;
  border-radius: 0;
}
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--black-warm); color: var(--ivory); }
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ivory-faint); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field.invalid input, .field.invalid textarea { border-color: #c0563f; }
.field .err { font-size: 12px; color: #d8745c; min-height: 0; opacity: 0; transition: opacity 0.3s; }
.field.invalid .err { opacity: 1; }

/* honeypot — hidden from humans, bots fill it */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.captcha-field { gap: 12px; }
.captcha-field .h-captcha { min-height: 78px; }
/* submitting state */
.form.is-sending { opacity: 0.55; pointer-events: none; }
.form-error { grid-column: 1/-1; font-size: 13px; color: #d8745c; opacity: 0; min-height: 0; transition: opacity 0.3s; }
.form-error.show { opacity: 1; }

.form-foot { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-foot .note { font-size: 12.5px; color: var(--ivory-faint); max-width: 38ch; }
.form .btn-gold { padding: 16px 38px; }

/* success state */
.form-success {
  display: none;
  text-align: center;
  padding: clamp(40px, 8vh, 90px) 20px;
}
.form-success.show { display: block; animation: fadeUp 0.9s var(--ease-cine); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity:1; transform: none; } }
.form-success .check {
  width: 76px; height: 76px; border-radius: 50%; border: 1.5px solid var(--gold);
  display: grid; place-items: center; margin: 0 auto 26px;
  color: var(--gold); font-size: 34px;
}
.form-success h3 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 300; }
.form-success p { color: var(--ivory-dim); margin-top: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--black); border-top: 1px solid var(--line); padding: 64px var(--pad) 40px; }
.footer-grid { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer .brand { margin-bottom: 16px; }
.footer .tag { color: var(--ivory-dim); max-width: 34ch; font-size: 14.5px; line-height: 1.6; }
.footer .fcol h4 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 600; }
.footer .fcol a { display: block; color: var(--ivory-dim); font-size: 14.5px; padding: 6px 0; transition: color 0.3s; }
.footer .fcol a:hover { color: var(--gold-bright); }
.footer-bottom { max-width: var(--maxw); margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--ivory-faint); font-size: 12.5px; letter-spacing: 0.04em; }
.footer-bottom a { color: var(--ivory-faint); transition: color 0.3s; }
.footer-bottom a:hover { color: var(--gold-bright); }

/* ----- local SEO block (Torino) ----- */
.seo-local { max-width: var(--maxw); margin: 40px auto 0; padding-top: 28px; border-top: 1px solid var(--line); }
.seo-local h4 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 600; }
.seo-local p { color: var(--ivory-faint); font-size: 13px; line-height: 1.7; max-width: 92ch; }
.seo-local .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.seo-local .tags span { font-size: 11.5px; letter-spacing: 0.02em; color: var(--ivory-dim); border: 1px solid var(--line); border-radius: 2px; padding: 5px 11px; }

/* ============================================================
   FORM — consenso privacy (checkbox)
   ============================================================ */
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 0; height: 0; }
.consent .box {
  flex: none; width: 20px; height: 20px; margin-top: 1px;
  border: 1.5px solid rgba(15,23,42,0.30); border-radius: 3px;
  display: grid; place-items: center; transition: border-color 0.3s, background 0.3s;
}
.consent .box::after { content: "✓"; color: #fff; font-size: 13px; opacity: 0; transform: scale(0.6); transition: opacity 0.2s, transform 0.2s; }
.consent input:checked + .box { background: var(--blu); border-color: var(--blu); }
.consent input:checked + .box::after { opacity: 1; transform: scale(1); }
.consent input:focus-visible + .box { outline: 2px solid var(--blu); outline-offset: 2px; }
.consent .txt { font-size: 13px; color: var(--ink-dim); line-height: 1.5; }
.consent .txt a { color: var(--blu); text-decoration: underline; text-underline-offset: 2px; }
.consent.invalid .box { border-color: #c0563f; }

/* ============================================================
   COOKIE BANNER (GDPR)
   ============================================================ */
.cookie {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9600;
  padding: 22px var(--pad);
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(18px) saturate(1.2);
  border-top: 1px solid var(--line-gold);
  transform: translateY(110%);
  transition: transform 0.7s var(--ease-cine);
}
.cookie.show { transform: translateY(0); }
.cookie-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap;
}
.cookie-text { flex: 1 1 460px; }
.cookie-text h3 { font-size: 16px; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; color: var(--ivory); }
.cookie-text p { font-size: 13.5px; line-height: 1.6; color: var(--ivory-dim); max-width: 72ch; }
.cookie-text p a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cookie .btn { padding: 12px 24px; font-size: 12.5px; }
.cookie .btn-text {
  background: none; border: 0; color: var(--ivory-dim); cursor: pointer;
  font-family: var(--font); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 12px 8px;
  transition: color 0.3s;
}
.cookie .btn-text:hover { color: var(--ivory); }
@media (max-width: 720px) {
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}

/* cookie preferences modal */
.cookie-modal {
  position: fixed; inset: 0; z-index: 9700;
  display: none; place-items: center;
  padding: 24px;
  background: rgba(8, 12, 24, 0.7);
  backdrop-filter: blur(6px);
}
.cookie-modal.show { display: grid; animation: fadeUp 0.4s var(--ease-cine); }
.cookie-modal .panel {
  background: var(--black-soft);
  border: 1px solid var(--line-gold);
  border-radius: 4px;
  max-width: 560px; width: 100%;
  padding: clamp(26px, 4vw, 40px);
  max-height: 86vh; overflow-y: auto;
}
.cookie-modal h3 { font-size: 22px; font-weight: 400; margin-bottom: 8px; }
.cookie-modal > .panel > p { font-size: 13.5px; color: var(--ivory-dim); line-height: 1.6; margin-bottom: 24px; }
.cookie-opt { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.cookie-opt .meta { flex: 1; }
.cookie-opt h4 { font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
.cookie-opt p { font-size: 12.5px; color: var(--ivory-dim); line-height: 1.5; }
.cookie-opt .locked { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); white-space: nowrap; padding-top: 2px; }
/* toggle switch */
.switch { position: relative; flex: none; width: 44px; height: 24px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; background: rgba(203,213,225,0.22); border-radius: 999px; transition: background 0.3s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.3s var(--ease-cine); }
.switch input:checked + .track { background: var(--blu); }
.switch input:checked + .track::after { transform: translateX(20px); }
.cookie-modal .modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 28px; flex-wrap: wrap; }

/* ============================================================
   CINEMATIC HERO — scroll-scrubbed zoom (Effetto 1)
   ============================================================ */
.cine-hero { height: 360vh; position: relative; }
.cine-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--black); }

.ch-sky { position: absolute; inset: -6%; z-index: 0;
  background: url('assets/hero-centro.jpg') center/cover no-repeat;
  filter: blur(18px) brightness(0.5) saturate(1.1); transform: scale(1.1); will-change: transform; }
.ch-sky::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.55), rgba(8,13,26,0.88)); }

.ch-cloud { position: absolute; z-index: 3; width: 60vw; height: 46vh; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(231,210,180,0.5), rgba(231,210,180,0) 72%); filter: blur(34px); will-change: transform, opacity; }
.ch-cloud.l { left: -14vw; bottom: 18vh; }
.ch-cloud.r { right: -14vw; bottom: 14vh; background: radial-gradient(closest-side, rgba(61,111,214,0.4), rgba(61,111,214,0) 72%); }

.ch-subject { position: absolute; z-index: 4; left: 50%; top: 50%; width: min(46vw, 560px); aspect-ratio: 16/11;
  transform: translate(-50%, -46%); border-radius: 14px; overflow: hidden; will-change: transform, opacity;
  box-shadow: 0 50px 120px rgba(0,0,0,0.6); }
.ch-subject .pic { position: absolute; inset: 0; background: url('assets/hero-centro.jpg') center 52%/cover no-repeat; }
.ch-subject .pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,0.05), rgba(15,23,42,0.4)); }
.ch-subject .scap { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-family: "SF Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.14em; color: rgba(255,255,255,0.85); text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.ch-subject .scap b { color: var(--gold-bright); }

.ch-intro { position: absolute; z-index: 5; left: 0; right: 0; top: 20vh; text-align: center; padding: 0 var(--pad); will-change: transform, opacity; }
.ch-intro .ik { font-size: clamp(12px, 1.3vw, 15px); letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.ch-intro h2 { font-size: clamp(28px, 4.6vw, 66px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.05; color: #fff; text-shadow: 0 6px 30px rgba(0,0,0,0.5); }

.ch-brandwrap { position: absolute; z-index: 6; left: 0; right: 0; top: 50%; display: flex; flex-direction: column; align-items: center;
  padding: 0 var(--pad); transform: translateY(-50%) scale(0.72); opacity: 0; will-change: transform, opacity; pointer-events: none; }
.ch-brand { font-size: clamp(56px, 12vw, 190px); font-weight: 800; line-height: 0.9; letter-spacing: -0.04em; text-transform: uppercase; text-align: center;
  background: url('assets/tramonto-campo.jpg') center 58%/130% no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  filter: saturate(1.2) brightness(1.08) drop-shadow(0 18px 60px rgba(61,111,214,0.3)); }
.ch-tagline { margin-top: 16px; font-size: clamp(14px, 1.5vw, 20px); letter-spacing: 0.04em; color: var(--ivory); text-shadow: 0 4px 20px rgba(0,0,0,0.6); }
.ch-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.ch-scrollcue { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 6;
  display: flex; flex-direction: column; align-items: center; gap: 9px; font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory-faint); }
.ch-scrollcue .bar { width: 1px; height: 42px; background: linear-gradient(180deg, var(--gold), transparent); position: relative; overflow: hidden; }
.ch-scrollcue .bar::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--ivory); animation: scrolldown 2.2s var(--ease-cine) infinite; }

@media (prefers-reduced-motion: reduce) {
  .cine-hero { height: auto; }
  .cine-pin { position: relative; height: auto; min-height: 100svh; display: grid; place-items: center; padding: 120px var(--pad); }
  .ch-subject { display: none; }
  .ch-intro { position: static; transform: none !important; opacity: 1 !important; margin-bottom: 40px; }
  .ch-brandwrap { position: static; transform: none !important; opacity: 1 !important; pointer-events: auto; }
  .ch-sky { filter: blur(10px) brightness(0.45); }
}
@media (max-width: 640px) {
  .ch-subject { width: 74vw; }
}

/* ============================================================
   DOVE SIAMO / MAPPA
   ============================================================ */
.maps { background: var(--black); }
.maps-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4px; min-height: 460px; }
@media (max-width: 860px) { .maps-grid { grid-template-columns: 1fr; } }
.map-frame { position: relative; overflow: hidden; background: var(--black-soft); min-height: 360px; filter: grayscale(0.3) contrast(1.05); transition: filter 0.5s; }
.map-frame:hover { filter: grayscale(0) contrast(1); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-info { background: var(--black-soft); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 30px; justify-content: center; }
.mi-block .mi-k { font-family: "SF Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line-gold); }
.mi-block p { color: var(--ivory); font-size: 16px; line-height: 1.6; }
.mi-link { color: var(--gold-bright); font-size: 14.5px; transition: color 0.3s; }
.mi-link:hover { color: var(--ivory); }
.hours { list-style: none; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours li:last-child { border-bottom: none; }
.hours li span { color: var(--ivory-dim); }
.hours li b { color: var(--ivory); font-weight: 600; }


/* Demo Blu Reale — testo bianco sui pulsanti blu pieni */
.btn-gold { color: var(--ivory) !important; }
