/* Wild Spirit — Centro cinofilo Piossasco */
@font-face { font-family: "Big Shoulders"; src: url("fonts/big-shoulders.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --night: #080D1A;
  --night-2: #0C1324;
  --surface: #101A2E;
  --surface-2: #16233D;
  --line: rgba(143, 184, 255, .14);
  --line-strong: rgba(143, 184, 255, .28);
  --ice: #EAF0FA;
  --mist: #A3B1CB;
  --glow: #8FB8FF;
  --blue: #5B8CFF;
  --royal: #2559E0;
  --royal-hi: #3368F0;
  --moon: #F3E9C6;
  --amber: #F2B544;
  --danger: #FF8A8A;

  --font-display: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --header-h: 72px;

  --z-header: 50; --z-nav: 60; --z-bar: 40; --z-banner: 80;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--ice);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--glow); text-underline-offset: 3px; }
a:hover { color: var(--ice); }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.02; margin: 0 0 .5em; color: var(--ice); letter-spacing: .005em; text-transform: uppercase; }
h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--royal); color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--royal); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.glow { color: var(--glow); text-shadow: 0 0 34px rgba(91, 140, 255, .45); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--glow); margin-bottom: 1rem;
}
.eyebrow svg { width: 1.1em; height: 1.1em; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.section-lead { color: var(--mist); font-size: 1.12rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 1px solid transparent; line-height: 1.2;
  transition: transform .25s var(--ease), background-color .2s, border-color .2s, box-shadow .25s, color .2s;
  touch-action: manipulation;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--royal); color: #fff; box-shadow: 0 10px 30px -10px rgba(51, 104, 240, .8), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { background: var(--royal-hi); color: #fff; box-shadow: 0 14px 40px -10px rgba(91, 140, 255, .9), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-ghost { background: rgba(143, 184, 255, .06); color: var(--ice); border-color: var(--line-strong); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(143, 184, 255, .14); color: var(--ice); border-color: var(--glow); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: .92rem; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(143, 184, 255, .07); border: 1px solid var(--line-strong); color: var(--ice);
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.icon-btn:hover { background: rgba(143, 184, 255, .16); border-color: var(--glow); }
.icon-btn:active { transform: scale(.94); }
.pill-free {
  display: inline-block; background: var(--amber); color: #1A1204; font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; padding: 3px 9px; border-radius: 999px; line-height: 1.4;
}
.linklike { background: none; border: 0; padding: 0; color: var(--glow); text-decoration: underline; text-underline-offset: 3px; min-height: 0; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header); height: var(--header-h);
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(8, 13, 26, .78); backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ice); min-height: 44px; }
.brand img { width: 40px; height: 44px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(91,140,255,.45)); }
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.45rem; text-transform: uppercase; letter-spacing: .03em; }
.brand-text small { font-size: .72rem; color: var(--mist); letter-spacing: .06em; }
.nav-desktop { display: none; gap: 4px; }
.nav-desktop a { color: var(--mist); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 12px; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav-desktop a:hover, .nav-desktop a.is-active { color: var(--ice); background: rgba(143,184,255,.08); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { display: none; }
.header-actions > .open-badge { display: none; }
.open-badge { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 700; color: var(--mist); padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(8,13,26,.4); white-space: nowrap; font-family: var(--font-body); text-transform: none; letter-spacing: 0; }
.open-badge i { width: 8px; height: 8px; border-radius: 50%; background: #7a8599; }
.open-badge.is-open { color: #B8F5CF; }
.open-badge.is-open i { background: #3EE08A; box-shadow: 0 0 0 0 rgba(62,224,138,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(62,224,138,0); } 100% { box-shadow: 0 0 0 0 rgba(62,224,138,0); } }
.nav-toggle { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(143,184,255,.06); display: grid; place-items: center; }
.bars { display: grid; gap: 5px; width: 20px; }
.bars i { display: block; height: 2px; background: var(--ice); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { position: fixed; inset: 0; z-index: var(--z-nav); background: rgba(8,13,26,.96); backdrop-filter: blur(16px); padding: calc(var(--header-h) + 16px) 16px 24px; overflow-y: auto; }
.mobile-nav.is-open { animation: navIn .35s var(--ease); }
@keyframes navIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.mobile-nav-inner { display: grid; gap: 2px; max-width: 520px; margin: 0 auto; }
.mobile-nav-inner > a { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.9rem; color: var(--ice); text-decoration: none; padding: 8px 4px; border-bottom: 1px solid var(--line); }
.mobile-nav-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
body.nav-open { overflow: hidden; }
body.nav-open .site-header { background: transparent; border-color: transparent; backdrop-filter: none; z-index: calc(var(--z-nav) + 1); }

/* Hero */
.hero { position: relative; min-height: min(100svh, 940px); display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 110px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 80% at 70% 0%, #14244A 0%, var(--night) 55%); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-moon { position: absolute; z-index: 2; mix-blend-mode: screen; width: clamp(140px, 18vw, 260px); aspect-ratio: 1; border-radius: 50%; right: 12%; top: 16%;
  background: radial-gradient(circle at 38% 35%, #FFFBEA 0%, var(--moon) 45%, #C9BE97 100%);
  box-shadow: 0 0 80px 20px rgba(243,233,198,.22), 0 0 240px 80px rgba(91,140,255,.18);
  transform: translate3d(0, var(--moon-y, 0px), 0); will-change: transform; }
.hero-moon::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 62% 60%, rgba(150,140,110,.25) 0 9%, transparent 10%), radial-gradient(circle at 35% 68%, rgba(150,140,110,.18) 0 6%, transparent 7%), radial-gradient(circle at 70% 30%, rgba(150,140,110,.15) 0 5%, transparent 6%); }
.hero-photo { position: absolute; z-index: 1; right: -4%; bottom: 0; width: min(62vw, 820px); pointer-events: none;
  -webkit-mask-image: radial-gradient(70% 70% at 55% 50%, #000 40%, transparent 75%); mask-image: radial-gradient(70% 70% at 55% 50%, #000 40%, transparent 75%);
  transform: translate3d(0, var(--photo-y, 0px), 0); }
.hero-photo img { width: 100%; filter: sepia(.35) hue-rotate(180deg) saturate(1.4) contrast(1.1) brightness(.85); }
.hero-fog { position: absolute; inset: auto 0 0; height: 45%; z-index: 2; pointer-events: none; overflow: hidden; }
.hero-fog span { position: absolute; bottom: -20%; left: -50%; width: 200%; height: 100%;
  background: radial-gradient(40% 50% at 30% 70%, rgba(143,184,255,.16), transparent 70%), radial-gradient(35% 45% at 70% 80%, rgba(143,184,255,.12), transparent 70%);
  animation: fog 38s linear infinite; }
.hero-fog span:nth-child(2) { animation-duration: 56s; animation-direction: reverse; opacity: .7; bottom: -30%; }
@keyframes fog { to { transform: translateX(25%); } }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; z-index: 2; background: linear-gradient(transparent, var(--night)); pointer-events: none; }
.hero-inner { position: relative; z-index: 3; }
.hero-title { font-size: clamp(3.1rem, 10vw, 7.2rem); line-height: .92; margin-bottom: .35em; }
.hero-title .line { display: block; }
.rotator { position: relative; display: inline-grid; font-style: normal; color: var(--glow); text-shadow: 0 0 40px rgba(91,140,255,.55); vertical-align: top; }
.rotator span { grid-area: 1 / 1; opacity: 0; transform: translateY(40%); transition: opacity .5s var(--ease), transform .6s var(--ease); white-space: nowrap; }
.rotator span.is-on { opacity: 1; transform: none; }
.rotator span.is-out { opacity: 0; transform: translateY(-40%); }
.hero-lead { font-size: clamp(1.08rem, 1.8vw, 1.3rem); color: var(--mist); max-width: 560px; }
.hero-lead strong { color: var(--ice); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 46px; }
.hero-ctas .pill-free { margin-left: 2px; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 720px; }
.hero-stats li { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(12,19,36,.55); backdrop-filter: blur(8px); display: grid; gap: 2px; }
.hero-stats strong { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.hero-stats .star { color: var(--amber); width: .8em; height: .8em; }
.hero-stats span { font-size: .82rem; color: var(--mist); }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 26px; width: 28px; height: 46px; border: 2px solid var(--line-strong); border-radius: 20px; transform: translateX(-50%); display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--glow); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
.hero-hint { position: absolute; z-index: 3; right: 24px; bottom: 30px; margin: 0; font-size: .78rem; color: var(--mist); letter-spacing: .06em; display: none; }

/* Marquee */
.marquee { border-block: 1px solid var(--line); background: var(--night-2); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.7rem; color: var(--ice); white-space: nowrap; letter-spacing: .02em; }
.marquee-track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--glow); }
.marquee-track svg { color: var(--blue); width: 22px; height: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* About */
.about-grid { display: grid; gap: 56px; align-items: center; }
.about-media { position: relative; padding: 0 12% 18% 0; }
.about-media figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-main img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about-small { position: absolute; right: 0; bottom: 0; width: 46%; border: 4px solid var(--night); }
.about-small img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.about-badge { position: absolute; left: -10px; bottom: 10%; width: 112px; height: 112px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #12204A, #080D1A 70%); padding: 14px; box-shadow: 0 0 0 6px var(--night), 0 0 40px rgba(91,140,255,.5); animation: spin 30s linear infinite; }
.about-badge img { width: 100%; height: 100%; object-fit: contain; }
@keyframes spin { to { transform: rotate(360deg); } }
.about-copy > p { color: var(--mist); }
.about-copy strong { color: var(--ice); }
.team { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.team li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; background: linear-gradient(135deg, var(--royal), #0E2A7A); color: #fff; }
.team strong { display: block; }
.team span { font-size: .9rem; color: var(--mist); }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.values li { display: flex; gap: 14px; align-items: flex-start; }
.values svg { width: 26px; height: 26px; color: var(--glow); margin-top: 2px; }
.values strong { display: block; }
.values span { color: var(--mist); font-size: .95rem; }

/* Filters / chips */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--mist); font-weight: 700; font-size: .92rem; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { color: var(--ice); border-color: var(--glow); }
.chip.is-active { background: var(--ice); color: var(--night); border-color: var(--ice); }

/* Discipline cards */
.disc-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.disc-card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; border-radius: var(--radius); min-height: 300px; border: 1px solid var(--line);
  background: var(--surface); text-align: left; padding: 0; display: flex; align-items: flex-end; color: var(--ice);
  transition: transform .45s var(--ease), border-color .3s, opacity .35s, box-shadow .35s;
}
.disc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; filter: saturate(.75) brightness(.8); }
.disc-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,13,26,.05) 20%, rgba(8,13,26,.92) 85%); }
.disc-card::after { content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(91,140,255,.35), transparent 70%); }
.disc-card:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(37,89,224,.6); }
.disc-card:hover::after { opacity: 1; }
.disc-card:hover img { transform: scale(1.06); filter: saturate(.95) brightness(.9); }
.disc-body { position: relative; z-index: 2; padding: 22px; width: 100%; }
.disc-body .num { font-family: var(--font-display); font-size: .95rem; color: var(--glow); letter-spacing: .1em; }
.disc-body h3 { font-size: 1.9rem; margin: 4px 0 6px; }
.disc-body p { color: #C8D3E6; font-size: .95rem; margin: 0 0 12px; }
.disc-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--glow); }
.disc-more svg { transition: transform .3s var(--ease); }
.disc-card:hover .disc-more svg { transform: translateX(4px); }
.disc-card .badge-new { position: absolute; z-index: 2; top: 14px; left: 14px; }
.disc-card .tag-stock { position: absolute; z-index: 2; top: 14px; right: 14px; }
.disc-card.is-hidden { display: none; }
.tag-stock { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .04em; color: var(--ice); background: rgba(8,13,26,.72); border: 1px solid var(--line-strong); padding: 3px 8px; border-radius: 999px; backdrop-filter: blur(4px); }
.stock-note { margin-top: 22px; font-size: .85rem; color: var(--mist); }

/* Dialog */
dialog { color: var(--ice); }
dialog::backdrop { background: rgba(3, 6, 14, .72); backdrop-filter: blur(6px); }
.disc-dialog { width: min(880px, 100% - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line-strong); border-radius: 22px; background: var(--surface); overflow: auto; }
.disc-dialog[open] { display: grid; animation: dlgIn .4s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.dd-close-form { position: absolute; top: 12px; right: 12px; z-index: 2; margin: 0; }
.dd-close { background: rgba(8,13,26,.6); }
.dd-media { position: relative; }
.dd-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.dd-media .tag-stock { position: absolute; left: 12px; bottom: 12px; }
.dd-body { padding: 24px; }
.dd-body h3 { font-size: 2.3rem; }
.dd-body > p { color: var(--mist); }
.dd-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.dd-list li { display: flex; gap: 10px; align-items: flex-start; }
.dd-list svg { color: var(--glow); margin-top: 4px; }
.dd-for { font-size: .95rem; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(143,184,255,.07); border: 1px solid var(--line); color: var(--ice) !important; }
.dd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* Finder */
.finder { background: radial-gradient(60% 80% at 10% 50%, rgba(37,89,224,.18), transparent 70%), var(--night-2); border-block: 1px solid var(--line); }
.finder-wrap { display: grid; gap: 40px; align-items: center; }
.finder-intro > p { color: var(--mist); }
.finder-steps-dots { list-style: none; padding: 0; margin: 20px 0 0; display: flex; gap: 8px; }
.finder-steps-dots li { width: 34px; height: 5px; border-radius: 4px; background: var(--line-strong); transition: background-color .3s; }
.finder-steps-dots li.is-on { background: var(--glow); }
.finder-card { position: relative; border: 1px solid var(--line-strong); border-radius: 24px; background: linear-gradient(160deg, rgba(22,35,61,.9), rgba(12,19,36,.9)); padding: 28px; min-height: 380px; box-shadow: var(--shadow); }
.finder-step { display: none; }
.finder-step.is-active { display: block; animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.finder-q { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 2rem; line-height: 1.05; margin-bottom: 20px; }
.finder-opts { display: grid; gap: 10px; }
.finder-opts button { text-align: left; min-height: 60px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line-strong); background: rgba(143,184,255,.05); font-weight: 700; display: grid; gap: 2px; transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.finder-opts button small { font-weight: 500; color: var(--mist); font-size: .85rem; }
.finder-opts button:hover { background: rgba(91,140,255,.16); border-color: var(--glow); transform: translateX(4px); }
.finder-back { position: absolute; left: 20px; bottom: 16px; background: none; border: 0; color: var(--mist); display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 6px; font-weight: 600; }
.finder-step.is-active ~ .finder-back { display: inline-flex; }
.finder-card .finder-step:not(:first-child).is-active { padding-bottom: 40px; }
.finder-result { animation: stepIn .45s var(--ease); }
.finder-result h3 { font-size: 2.4rem; }
.finder-result > p { color: var(--mist); }
.fr-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.fr-tags span { font-size: .85rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(91,140,255,.15); border: 1px solid var(--line-strong); }
.fr-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Buon cittadino */
.bc-grid { display: grid; gap: 48px; }
.bc-sticky > p { color: var(--mist); }
.bc-sticky strong { color: var(--ice); }
.bc-leash { display: none; }
.bc-promo { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); border: 1px dashed rgba(242,181,68,.55); background: rgba(242,181,68,.06); margin-top: 24px; }
.bc-promo p { margin: 0; color: var(--ice); }
.bc-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.bc-step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.bc-step img { grid-column: 1 / -1; width: 100%; height: 170px; object-fit: cover; border-radius: var(--radius-sm); margin-top: 14px; filter: saturate(.8); }
.bc-num { font-family: var(--font-display); font-weight: 900; font-size: 3rem; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--glow); }
.bc-step h3 { font-size: 1.7rem; margin-bottom: 6px; }
.bc-step p { color: var(--mist); margin: 0; }

/* Dal campo */
.field { overflow: hidden; }
.scroller-ctrl { display: flex; gap: 8px; }
.h-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 340px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(16px, (100vw - 1200px) / 2) 24px; scrollbar-width: thin; scrollbar-color: var(--royal) transparent; cursor: grab; overscroll-behavior-x: contain; }
.h-scroller.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.h-scroller.is-dragging * { pointer-events: none; user-select: none; }
.news-card { scroll-snap-align: start; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(170deg, var(--surface-2), var(--surface)); display: flex; flex-direction: column; min-height: 280px; transition: border-color .3s, transform .4s var(--ease); }
.news-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.news-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--glow); padding: 6px 12px; border-radius: 999px; background: rgba(91,140,255,.12); margin-bottom: auto; }
.news-card h3 { margin-top: 28px; font-size: 1.75rem; }
.news-card p { color: var(--mist); margin: 0; font-size: .97rem; }
.news-cta { background: linear-gradient(160deg, var(--royal), #0E2A7A); border-color: transparent; }
.news-cta p { color: #DCE6FF; }
.news-cta h3 { margin-top: 0; }
.news-social { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 20px; }
.news-cta .btn-ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); }

/* Galleria */
.gal-grid { columns: 2 160px; column-gap: 12px; }
.gal-item { position: relative; display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); break-inside: avoid; }
.gal-item img { width: 100%; transition: transform .7s var(--ease), filter .3s; }
.gal-item:hover img { transform: scale(1.05); filter: brightness(1.08); }
.gal-item .tag-stock { position: absolute; left: 8px; bottom: 8px; }
.gal-item.is-hidden { display: none; }
.gal-more { color: var(--mist); margin-top: 16px; }
.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(3,6,14,.94); }
.lightbox[open] { display: grid; place-items: center; animation: dlgIn .3s var(--ease); }
.lightbox figure { margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.lightbox img { max-height: 80dvh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { color: var(--mist); margin-top: 12px; font-size: .95rem; }
.lb-close { position: absolute; top: 16px; right: 16px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-prev:active, .lb-next:active { transform: translateY(-50%) scale(.94); }

/* Reviews */
.reviews { background: var(--night-2); border-block: 1px solid var(--line); }
.reviews-grid { display: grid; gap: 40px; align-items: center; }
.score { display: flex; align-items: center; gap: 16px; margin: 10px 0 14px; }
.score > strong { font-family: var(--font-display); font-size: 5.5rem; line-height: .9; }
.score > div { display: grid; gap: 4px; color: var(--mist); font-size: .95rem; }
.stars { display: inline-flex; gap: 2px; color: var(--amber); }
.stars svg { width: 22px; height: 22px; }
.stars.small svg { width: 17px; height: 17px; }
.score-fb { display: flex; align-items: center; gap: 8px; color: var(--mist); }
.score-fb svg { color: var(--glow); }
.rev-carousel { position: relative; overflow: hidden; }
.rev-track { display: flex; transition: transform .6s var(--ease); }
.rev-card { flex: 0 0 100%; margin: 0; padding: 32px; border-radius: 22px; border: 1px solid var(--line-strong); background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.rev-card blockquote { margin: 16px 0 22px; font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.5; color: var(--ice); font-weight: 500; }
.rev-card figcaption { display: grid; }
.rev-card figcaption span { color: var(--mist); font-size: .88rem; }
.rev-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.rev-dots { display: flex; gap: 6px; }
.rev-dots button { width: 44px; height: 44px; border: 0; background: none; padding: 0; display: grid; place-items: center; }
.rev-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); transition: background-color .25s, transform .25s; }
.rev-dots button[aria-current="true"]::before { background: var(--glow); transform: scale(1.3); }

/* FAQ */
.faq-grid { display: grid; gap: 40px; }
.faq-grid > div > p { color: var(--mist); }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .25s; }
.faq-list details[open] { border-color: var(--line-strong); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 700; min-height: 56px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { color: var(--glow); transition: transform .3s var(--ease); }
.faq-list details[open] summary svg { transform: rotate(90deg); }
.faq-list details p { padding: 0 20px 18px; margin: 0; color: var(--mist); }

/* Contact */
.contact-grid { display: grid; gap: 40px; }
.info-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; }
.info-list svg { width: 24px; height: 24px; color: var(--glow); margin-top: 3px; }
.info-list div { display: grid; }
.info-list strong a { color: var(--ice); text-decoration: none; }
.info-list strong a:hover { color: var(--glow); }
.info-list span { color: var(--mist); font-size: .92rem; margin-bottom: 4px; }
.hours { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.hours h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 1.6rem; }
.hours h3 svg { color: var(--glow); }
.hours table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { padding: 9px 4px; border-top: 1px solid var(--line); text-align: left; font-variant-numeric: tabular-nums; }
.hours th { font-weight: 600; color: var(--mist); }
.hours td { text-align: right; }
.hours td small { color: var(--mist); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ice); font-weight: 800; }
.hours tr.is-today th::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--glow); margin-right: 8px; vertical-align: middle; }
.socials { display: flex; gap: 10px; margin-top: 20px; }

.booking { padding: 28px; border-radius: 24px; border: 1px solid var(--line-strong); background: linear-gradient(170deg, var(--surface-2), var(--surface)); box-shadow: var(--shadow); }
.booking-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.booking-head h3 { margin: 0; font-size: 2rem; }
.booking-sub { color: var(--mist); font-size: .92rem; margin: 8px 0 18px; }
.booking fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.booking legend { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--glow); margin-bottom: 8px; padding: 0; }
.row2, .row3 { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; margin-bottom: 10px; }
.field label { font-weight: 600; font-size: .92rem; }
.field label span { color: var(--amber); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ice); background: rgba(8,13,26,.7); border: 1px solid var(--line-strong);
  border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; transition: border-color .2s, box-shadow .2s;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--glow) 50%), linear-gradient(135deg, var(--glow) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
select option { background: var(--surface); color: var(--ice); }
input[type="date"] { color-scheme: dark; }
input::placeholder, textarea::placeholder { color: #7D8BA6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--glow); box-shadow: 0 0 0 3px rgba(91,140,255,.3); }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.err { color: var(--danger); font-size: .85rem; margin: 0; min-height: 0; }
.err:empty { display: none; }
.hint { color: var(--mist); font-size: .8rem; margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--mist); margin: 6px 0 4px; cursor: pointer; }
.check input { width: 22px; height: 22px; min-height: 0; padding: 0; margin-top: 2px; accent-color: var(--royal); flex-shrink: 0; }
.booking .btn-block { margin-top: 12px; }
.booking-alt { text-align: center; font-size: .9rem; color: var(--mist); margin: 12px 0 0; }
.form-fallback { margin-top: 12px; padding: 12px; border-radius: 12px; background: rgba(91,140,255,.12); }
.form-fallback p { margin: 0; }

.map-box { margin-top: 48px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-strong); height: 380px; background:
  radial-gradient(circle at 50% 45%, rgba(91,140,255,.18), transparent 50%),
  repeating-linear-gradient(0deg, transparent 0 38px, rgba(143,184,255,.06) 38px 39px),
  repeating-linear-gradient(90deg, transparent 0 38px, rgba(143,184,255,.06) 38px 39px), var(--surface); }
.map-box iframe { width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(185deg) saturate(.7) brightness(.95); }
.map-placeholder { height: 100%; display: grid; place-content: center; justify-items: center; text-align: center; padding: 24px; gap: 8px; }
.map-placeholder > svg { width: 40px; height: 40px; color: var(--glow); }
.map-placeholder p { color: var(--mist); max-width: 420px; }
.map-placeholder strong { color: var(--ice); }
.map-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 110px; background: #060A14; }
.footer-grid { display: grid; gap: 28px; }
.footer-brand img { width: 88px; height: auto; margin-bottom: 12px; filter: drop-shadow(0 0 14px rgba(91,140,255,.35)); }
.site-footer .footer-brand p { color: var(--ice); font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; line-height: 1.05; max-width: 16ch; }
.site-footer h3 { font-size: 1.1rem; letter-spacing: .08em; color: var(--glow); }
.site-footer p { color: var(--mist); font-size: .92rem; }
.site-footer a { color: var(--ice); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer-bottom p { margin: 0; font-size: .82rem; }

/* Action bar (mobile) */
.action-bar { position: fixed; z-index: var(--z-bar); left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; border-radius: 20px; background: rgba(12,19,36,.88); backdrop-filter: blur(14px); border: 1px solid var(--line-strong); box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); transition: transform .4s var(--ease), opacity .3s; }
.action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 14px; color: var(--ice); text-decoration: none; font-size: .78rem; font-weight: 700; }
.action-bar a:active { background: rgba(143,184,255,.1); }
.action-bar svg { width: 20px; height: 20px; }
.action-bar .ab-primary { background: var(--royal); color: #fff; }
.action-bar.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* Cookie banner */
.cookie-banner { position: fixed; z-index: var(--z-banner); left: 12px; right: 12px; bottom: 12px; max-width: 560px; margin-inline: auto; padding: 18px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line-strong); box-shadow: 0 30px 60px -10px rgba(0,0,0,.7); }
.cookie-banner p { font-size: .9rem; color: var(--mist); margin-bottom: 12px; }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Breakpoints */
@media (min-width: 600px) {
  .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .disc-grid { grid-template-columns: repeat(2, 1fr); }
  .row2 { grid-template-columns: 1fr 1fr; }
  .row3 { grid-template-columns: 1fr 1fr 1fr; }
  .gal-grid { columns: 3 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bc-step { grid-template-columns: auto 1fr 180px; align-items: center; }
  .bc-step img { grid-column: auto; height: 130px; margin: 0; }
}
@media (min-width: 768px) {
  .hero-hint { display: block; }
  .scroll-cue { display: block; }
  .dd-media img { aspect-ratio: auto; height: 100%; min-height: 100%; }
  .disc-dialog[open] { grid-template-columns: 1fr 1.1fr; }
  .dd-body { padding: 36px 32px; }
}
@media (min-width: 1024px) {
  :root { --header-h: 80px; }
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .header-actions .btn { display: inline-flex; }
  .header-actions > .open-badge { display: inline-flex; }
  .mobile-nav { display: none !important; }
  .about-grid { grid-template-columns: 1fr 1.05fr; gap: 80px; }
  .disc-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 300px; }
  .disc-card { min-height: 0; grid-column: span 2; }
  .disc-card.w3 { grid-column: span 3; }
  .disc-card.w4 { grid-column: span 4; }
  .finder-wrap { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .bc-grid { grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
  .bc-sticky { position: sticky; top: calc(var(--header-h) + 40px); display: grid; grid-template-columns: 1fr; }
  .bc-leash { display: block; position: absolute; left: -46px; top: 0; height: 100%; width: 30px; }
  .bc-leash svg { width: 100%; height: 100%; overflow: visible; }
  .leash-bg, .leash-fg { fill: none; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
  .leash-bg { stroke: var(--line); }
  .leash-fg { stroke: var(--glow); filter: drop-shadow(0 0 6px rgba(91,140,255,.8)); }
  .reviews-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; }
  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .gal-grid { columns: 4 220px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .action-bar { display: none; }
  .site-footer { padding-bottom: 40px; }
}
@media (max-width: 1023px) {
  .hero-photo { width: 115vw; right: -35vw; opacity: .55; }
  .hero-moon { right: 6%; top: 12%; }
}
@media (max-width: 599px) {
  .hero-moon { width: 96px; right: -18px; top: 84px; }
  .hero-title .rotator { display: grid; }
}
@media (hover: none) { .hero-hint { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* Pagine legali */
.legal-header { position: sticky; top: 0; z-index: var(--z-header); background: rgba(8,13,26,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.legal-header .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.legal-page { padding: 56px 0 96px; }
.legal-page .container { max-width: 780px; }
.legal-page h1 { font-size: clamp(2.6rem, 7vw, 4rem); }
.legal-page h2 { font-size: 1.8rem; margin-top: 2em; }
.legal-page p, .legal-page li { color: var(--mist); }
.legal-page strong { color: var(--ice); }
.legal-page .updated { font-size: .9rem; }

.disc-card[data-id="base"] img { object-position: 50% 12%; }
