/* =========================================================
   A Tutta Coda – stile
   Colori del brand: verde + nero
   ========================================================= */
:root {
  --green: #1ba63a;
  --green-light: #3ccf5c;
  --green-dark: #127a2a;
  --black: #0a0a0a;
  --ink: #111312;
  --card: #161917;
  --line: #262b27;
  --text: #f2f5f2;
  --muted: #a7b0a9;
  --radius: 18px;
  --head: "Fredoka", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 20px 50px rgba(0, 0, 0, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--black); color: var(--text);
  font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.3rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.hl { color: var(--green-light); }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow { font: 700 .78rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--green-light); margin-bottom: 1rem; }
.eyebrow--dark { color: var(--black); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.lead strong { color: var(--text); }
.caption { color: var(--muted); font-size: .9rem; margin-top: .8rem; }
.sub { margin-top: 4.5rem; margin-bottom: 1.5rem; }
@media (max-width: 640px) { .hide-sm { display: none; } }

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--green); color: #fff; text-decoration: none; border: 2px solid var(--green);
  font: 600 1rem/1 var(--body); padding: 1em 1.6em; border-radius: 999px; cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); background: var(--green-light); border-color: var(--green-light); box-shadow: 0 10px 30px rgba(27, 166, 58, .35); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; box-shadow: none; }
.btn--sm { padding: .7em 1.2em; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--wa { background: #25d366; border-color: #25d366; color: #062b12; }
.btn--wa:hover { background: #3be07a; border-color: #3be07a; }
.chip {
  font: 500 .95rem/1.2 var(--body); color: var(--text); background: var(--card);
  border: 1.5px solid var(--line); padding: .65em 1.1em; border-radius: 999px; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.chip:hover { border-color: var(--green); }
.chip.is-on { background: var(--green); border-color: var(--green); color: #fff; }
.chip:active { transform: scale(.96); }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); color: var(--text); font-size: 1.2rem; cursor: pointer; transition: .2s; }
.round:hover { background: var(--green); border-color: var(--green); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.header.is-scrolled { background: rgba(10, 10, 10, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.topbar { font-size: .82rem; background: var(--green); transition: margin .3s; }
.header.is-scrolled .topbar { margin-top: -34px; }
.topbar__inner { display: flex; gap: 1.6rem; height: 34px; align-items: center; justify-content: center; }
.topbar a { text-decoration: none; color: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo img { height: 46px; width: auto; }
/* menu a tendina: vedi in fondo al file */

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 140px 0 90px; }
.hero__media, .hero__shade { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: -4%; background: center/cover no-repeat; opacity: 0;
  transition: opacity 1.6s ease; transform: scale(1.12);
}
.hero__slide.is-active { opacity: 1; animation: kenburns 9s ease-out forwards; }
.hero__slide:nth-child(even).is-active { animation-name: kenburns2; }
.hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@keyframes kenburns { from { transform: scale(1.15) translate(2%, 1%); } to { transform: scale(1.02) translate(-1%, -1%); } }
@keyframes kenburns2 { from { transform: scale(1.02) translate(-2%, 0); } to { transform: scale(1.14) translate(2%, -2%); } }
.hero__shade { background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.6) 50%, rgba(0,0,0,.25) 100%), linear-gradient(0deg, var(--black) 0%, transparent 30%); }
.hero__content { position: relative; z-index: 2; }
.hero__title { font-size: clamp(2.5rem, 7vw, 5.2rem); max-width: 17ch; margin-bottom: .4em; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 600px; color: #dfe6e0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 3rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 2.5rem; list-style: none; padding: 0; margin: 0; }
.hero__stats strong { display: block; font: 600 2.2rem/1 var(--head); color: var(--green-light); }
.hero__stats li > span { font-size: .85rem; color: var(--muted); }
.hero__scroll { position: absolute; z-index: 2; bottom: 28px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Ticker ---------- */
.ticker { background: var(--green); overflow: hidden; padding: 1rem 0; transform: rotate(-1.2deg); margin: -10px -2% 0; position: relative; z-index: 3; }
.ticker__track { display: flex; gap: 2rem; width: max-content; animation: ticker 30s linear infinite; font: 600 1.4rem/1 var(--head); text-transform: uppercase; color: var(--black); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section--alt { background: var(--ink); }
.section--green { background: var(--green); color: var(--black); }
.section--green .caption { color: rgba(0,0,0,.7); }
.section__head { margin-bottom: 3.5rem; }

.grid { display: grid; gap: 1.2rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--5 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; transition: transform .3s, border-color .3s; }
.card:hover { transform: translateY(-6px); border-color: var(--green); }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card__ico { font-size: 2rem; display: inline-block; margin-bottom: .8rem; transition: transform .4s; }
.card:hover .card__ico { transform: scale(1.2) rotate(-8deg); }

/* compare */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.2rem; align-items: stretch; }
.compare__col { border-radius: var(--radius); padding: 2rem; }
.compare__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.compare__col li { padding-left: 2rem; position: relative; }
.compare__col--old { background: var(--card); border: 1px solid var(--line); color: var(--muted); }
.compare__col--old li::before { content: "✕"; position: absolute; left: 0; color: #d65b5b; font-weight: 700; }
.compare__col--new { background: linear-gradient(140deg, var(--green), var(--green-dark)); box-shadow: 0 20px 60px rgba(27,166,58,.25); }
.compare__col--new li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; }
.compare__vs { align-self: center; font: 700 1.2rem var(--head); width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line); color: var(--muted); }
@media (max-width: 800px) { .compare { grid-template-columns: 1fr; } .compare__vs { justify-self: center; } }

/* meter */
.meter { margin-top: 3rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.meter__row { display: grid; grid-template-columns: 260px 1fr; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.meter__label { font-weight: 600; color: var(--muted); }
.meter__row--us .meter__label { color: var(--green-light); }
.meter__bar { height: 16px; background: #0d0f0e; border-radius: 99px; overflow: hidden; }
.meter__bar i { display: block; height: 100%; width: 0; background: #6a716b; border-radius: inherit; transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.meter__row--us .meter__bar i { background: var(--green-light); }
.meter.is-in .meter__bar i { width: var(--w); }
.meter__note { color: var(--muted); font-size: .85rem; margin: .5rem 0 0; }
@media (max-width: 640px) { .meter__row { grid-template-columns: 1fr; gap: .4rem; } }

/* exception */
.exception { margin-top: 4.5rem; display: grid; grid-template-columns: 0.8fr 1.2fr; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.exception__img { overflow: hidden; min-height: 320px; }
.exception__img img { width: 100%; height: 100%; object-fit: cover; animation: drift 14s ease-in-out infinite alternate; }
.exception__body { padding: clamp(1.6rem, 4vw, 3rem); }
.exception__list { display: grid; gap: 1rem; margin: 1.5rem 0; }
.exception__list div { display: flex; gap: 1rem; align-items: flex-start; }
.exception__list span { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--green); display: grid; place-items: center; font: 700 1.1rem var(--head); }
.exception__list p { margin: 0; color: var(--muted); }
.exception__list strong { color: var(--text); }
@keyframes drift { from { transform: scale(1.05) translateY(0); } to { transform: scale(1.15) translateY(-3%); } }
@media (max-width: 800px) { .exception { grid-template-columns: 1fr; } .exception__img { min-height: 260px; max-height: 360px; } }

/* split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--rev .split__text { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev .split__text { order: 0; } }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .7rem; }
.checks li { padding-left: 2.1rem; position: relative; font-weight: 500; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: .05em; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--black); color: var(--green-light); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }

/* before/after */
.before-after { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); --pos: 50%; user-select: none; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__clip { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; translate: -50% 0; z-index: 2; pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--black); display: grid; place-items: center; font-weight: 700; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.ba__tag { position: absolute; top: 16px; z-index: 2; background: rgba(0,0,0,.7); color: #fff; font: 700 .75rem var(--body); letter-spacing: .12em; padding: .5em .9em; border-radius: 99px; pointer-events: none; }
.ba__tag--l { left: 16px; } .ba__tag--r { right: 16px; background: var(--green); }

/* steps */
.steps { list-style: none; padding: 0; margin: 4rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: s; }
.steps li { counter-increment: s; background: var(--black); color: var(--text); border-radius: var(--radius); padding: 1.8rem; position: relative; }
.steps li::before { content: "0" counter(s); font: 700 2.6rem/1 var(--head); color: var(--green-light); display: block; margin-bottom: .6rem; }
.steps b { display: block; font: 600 1.3rem var(--head); margin-bottom: .3rem; }
.steps span { color: var(--muted); font-size: .95rem; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* benefits */
.benefits { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 3rem); margin-bottom: 3rem; }
.benefits__intro p { color: var(--muted); }
.benefits__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.benefits__list li { padding-left: 1.8rem; position: relative; color: var(--muted); }
.benefits__list li::before { content: "🐾"; position: absolute; left: 0; font-size: .9rem; }
.benefits__list b { color: var(--text); }
@media (max-width: 860px) { .benefits { grid-template-columns: 1fr; } }

/* prove */
.prove-filter { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.6rem; }
.prove { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.prova {
  position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  border: 0; padding: 0; background: var(--card); text-align: left; color: #fff; font: inherit;
  transition: transform .35s, box-shadow .35s, opacity .3s;
}
.prova:hover, .prova:focus-visible { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(27,166,58,.25); outline: none; }
.prova.is-hidden { display: none; }
.prova__media { position: absolute; inset: 0; }
.prova__media img, .prova__media video { width: 100%; height: 100%; object-fit: cover; }
/* “foto in movimento”: ogni foto ha un movimento diverso (pan/zoom) che parte quando entra nello schermo */
.prova__media img { transform-origin: var(--ox, 50%) var(--oy, 50%); }
.prova.is-playing .prova__media img { animation: var(--anim, live1) var(--dur, 12s) ease-in-out infinite alternate; }
@keyframes live1 { from { transform: scale(1.05) translate(0, 0); } to { transform: scale(1.22) translate(-4%, -3%); } }
@keyframes live2 { from { transform: scale(1.2) translate(4%, 0); } to { transform: scale(1.05) translate(-3%, 2%); } }
@keyframes live3 { from { transform: scale(1.08) rotate(-1deg); } to { transform: scale(1.25) rotate(1.2deg) translateY(-3%); } }
@keyframes live4 { from { transform: scale(1.25) translate(0, 4%); } to { transform: scale(1.08) translate(0, -4%); } }
.prova::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.2) 55%, rgba(0,0,0,0) 100%); }
.prova__num { position: absolute; z-index: 2; top: 14px; left: 14px; font: 700 1rem var(--head); background: var(--green); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; }
.prova__live { position: absolute; z-index: 2; top: 18px; right: 14px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; background: rgba(0,0,0,.6); padding: .35em .7em; border-radius: 99px; display: flex; align-items: center; gap: .4em; }
.prova__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.prova__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 1.2rem; }
.prova__body h4 { margin: 0 0 .3rem; font-size: 1.2rem; }
.prova__body p { margin: 0; font-size: .88rem; color: #cfd6d0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prova__more { display: inline-block; margin-top: .6rem; font-size: .8rem; font-weight: 600; color: var(--green-light); }

/* problems */
.problem { border-top: 3px solid var(--green); padding: 1.6rem 0 0; transition: transform .3s; }
.problem:hover { transform: translateX(6px); }
.problem p { color: var(--muted); font-size: .97rem; margin: 0; }

/* team */
.stack { position: relative; height: clamp(380px, 50vw, 560px); }
.stack img { position: absolute; width: 62%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .6s; }
.stack img:first-child { left: 0; top: 0; rotate: -4deg; }
.stack img:last-child { right: 0; bottom: 0; rotate: 5deg; border: 6px solid var(--black); }
.stack:hover img:first-child { transform: translate(-10px, -6px); }
.stack:hover img:last-child { transform: translate(10px, 6px); }
.gallery { margin-top: 5rem; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.gallery__track { display: flex; gap: 1rem; width: max-content; animation: ticker 60s linear infinite; }
.gallery:hover .gallery__track { animation-play-state: paused; }
.gallery figure { margin: 0; width: 220px; aspect-ratio: 3/4; border-radius: 14px; overflow: hidden; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.08); }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,.65); padding: .2em .7em; border-radius: 99px; font: 600 .85rem var(--head); text-transform: capitalize; }

/* reviews */
.reviews { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem; }
.reviews::-webkit-scrollbar { display: none; }
.review { flex: 0 0 min(420px, 85%); scroll-snap-align: start; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; }
.review::before { content: "★★★★★"; color: #f5b82e; letter-spacing: .15em; margin-bottom: 1rem; }
.review p { font-size: 1.02rem; }
.review cite { font-style: normal; font-weight: 600; color: var(--green-light); }
.reviews__nav { display: flex; gap: .6rem; margin-top: 1.4rem; }

/* ---------- Booking wizard ---------- */
.section--book { background: radial-gradient(1000px 600px at 90% 10%, rgba(27,166,58,.22), transparent 60%), var(--ink); }
.book { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .book { grid-template-columns: 1fr; } }
.book__info p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .8rem; }
.contact-list a { text-decoration: none; display: inline-block; padding: .2rem 0; border-bottom: 1px solid transparent; }
.contact-list a:hover { border-color: var(--green-light); }

.wizard { background: #fff; color: #151815; border-radius: 24px; padding: clamp(1.4rem, 4vw, 2.5rem); box-shadow: var(--shadow); position: relative; }
.wizard__progress { height: 6px; background: #e7ece8; border-radius: 99px; overflow: hidden; margin-bottom: 1rem; }
.wizard__progress i { display: block; height: 100%; width: 25%; background: var(--green); border-radius: inherit; transition: width .4s; }
.wizard__dots { display: flex; justify-content: space-between; list-style: none; padding: 0; margin: 0 0 1.8rem; font-size: .8rem; font-weight: 600; color: #9aa39c; }
.wizard__dots li.is-on { color: var(--green-dark); }
.step { border: 0; padding: 0; margin: 0; display: none; min-width: 0; }
.step.is-active { display: block; animation: stepin .35s ease; }
@keyframes stepin { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
.step legend { font: 600 1.6rem/1.2 var(--head); margin-bottom: 1.2rem; padding: 0; }
.hint { color: #6b746d; font-size: .9rem; margin: -.6rem 0 1rem; }
.field { display: block; margin-bottom: 1.2rem; }
.field > span { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .45rem; }
.field input, .field textarea {
  width: 100%; font: 400 1rem var(--body); padding: .9em 1em; border-radius: 12px; border: 1.5px solid #d5ddd7; background: #f7faf7; color: #151815; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(27,166,58,.15); background: #fff; }
.field input.is-invalid { border-color: #d64545; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.wizard .chip { background: #f1f5f2; color: #1d211e; border-color: #dbe3dd; }
.wizard .chip:hover { border-color: var(--green); }
.wizard .chip.is-on { background: var(--green); border-color: var(--green); color: #fff; }
.chips.is-invalid .chip { border-color: #e0a0a0; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--green); margin-top: 2px; flex: none; }
.check a { color: var(--green-dark); }
.wizard__error { color: #c53030; font-size: .9rem; min-height: 1.4em; margin: .4rem 0 0; }
.wizard__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: .6rem; }
.wizard__nav .btn--ghost { color: #151815; border-color: #d5ddd7; }
.wizard__nav .btn--ghost:hover { background: #f1f5f2; border-color: #151815; }
.wizard.is-first #wizPrev { visibility: hidden; }
.wizard.is-summary .wizard__nav #wizNext, .wizard.is-done .wizard__nav { display: none; }
.summary { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.2rem; margin: 0 0 1.6rem; background: #f4f8f5; border-radius: 14px; padding: 1.2rem; font-size: .95rem; }
.summary dt { font-weight: 600; color: #6b746d; }
.summary dd { margin: 0; }
.summary button { background: none; border: 0; color: var(--green-dark); font-weight: 600; cursor: pointer; padding: 0; font-size: .85rem; text-decoration: underline; }
.send-options { display: grid; gap: .7rem; }
.send-options .btn--ghost { color: #151815; border-color: #d5ddd7; }
.send-options .btn--ghost:hover { background: #f1f5f2; }
.send-options.no-endpoint #sendMain { display: none; }
.step--done { text-align: center; padding: 2rem 0; }
.done__ico { font-size: 3.5rem; animation: pop .6s cubic-bezier(.2,1.6,.4,1); }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 3rem 0 6rem; font-size: .95rem; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; }
.footer__logo { height: 54px; width: auto; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--green-light); }
.footer__social { display: flex; gap: 1.4rem; }
.footer__copy { text-align: center; margin-top: 2rem; font-size: .8rem; }

/* sticky CTA (mobile) */
.sticky-cta { position: fixed; z-index: 40; left: 16px; right: 16px; bottom: 16px; display: none; text-align: center; background: var(--green); color: #fff; text-decoration: none; font-weight: 700; padding: 1rem; border-radius: 99px; box-shadow: 0 10px 30px rgba(0,0,0,.5); transform: translateY(150%); transition: transform .35s; }
.sticky-cta.is-visible { transform: none; }
@media (max-width: 760px) { .sticky-cta { display: block; } }

/* ---------- Modal ---------- */
.modal { border: 0; padding: 0; border-radius: 22px; background: var(--card); color: var(--text); width: min(900px, calc(100% - 32px)); max-height: calc(100svh - 40px); overflow: auto; box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(0,0,0,.75); backdrop-filter: blur(4px); }
.modal[open] { display: grid; grid-template-columns: 1fr 1fr; animation: stepin .3s ease; }
.modal--text[open] { display: block; max-width: 640px; }
.modal__media { position: relative; min-height: 360px; overflow: hidden; }
.modal__media img, .modal__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: live1 10s ease-in-out infinite alternate; }
.modal__media video { animation: none; }
.modal__body { padding: 2.2rem; }
.modal__body p { color: var(--muted); }
.modal__why { border-left: 3px solid var(--green); padding-left: 1rem; color: var(--text) !important; }
.modal__close { position: absolute; z-index: 3; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 1.5rem; cursor: pointer; }
.modal__nav { display: flex; gap: .6rem; margin-top: 1.5rem; }
@media (max-width: 720px) { .modal[open] { grid-template-columns: 1fr; } .modal__media { min-height: 260px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__slide.is-active { transform: none; }
}

/* =========================================================
   v2 – menù a tendina, nuove sezioni e pagine
   ========================================================= */
.h2 { font-size: clamp(2rem, 4.5vw, 3.3rem); }
@media (max-width: 420px) { .hide-xs { display: none !important; } }

/* menu a tendina */
.nav__right { display: flex; align-items: center; gap: .8rem; }
.menu { position: relative; }
.menu__btn {
  display: flex; align-items: center; gap: .7rem; cursor: pointer; font: 600 .95rem var(--body); color: #fff;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.25); border-radius: 999px; padding: .6em 1.1em;
  transition: background .2s, border-color .2s;
}
.menu__btn:hover, .menu.is-open .menu__btn { background: rgba(255,255,255,.15); border-color: #fff; }
.menu__burger { display: grid; gap: 4px; }
.menu__burger i { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu.is-open .menu__burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu.is-open .menu__burger i:nth-child(2) { opacity: 0; }
.menu.is-open .menu__burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu__list {
  position: absolute; right: 0; top: calc(100% + 12px); min-width: 270px; list-style: none; margin: 0; padding: .5rem;
  background: rgba(16,18,17,.98); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
}
.menu.is-open .menu__list { opacity: 1; visibility: visible; transform: none; }
.menu__list li { opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s; }
.menu.is-open .menu__list li { opacity: 1; transform: none; }
.menu.is-open .menu__list li:nth-child(2) { transition-delay: .03s; }
.menu.is-open .menu__list li:nth-child(3) { transition-delay: .06s; }
.menu.is-open .menu__list li:nth-child(4) { transition-delay: .09s; }
.menu.is-open .menu__list li:nth-child(5) { transition-delay: .12s; }
.menu.is-open .menu__list li:nth-child(6) { transition-delay: .15s; }
.menu__list a { display: block; padding: .85rem 1rem; border-radius: 12px; text-decoration: none; font-weight: 500; transition: background .2s, color .2s; }
.menu__list a:hover, .menu__list a.is-current { background: rgba(27,166,58,.15); color: var(--green-light); }
.menu__list .menu__cta { background: var(--green); color: #fff; font-weight: 700; margin-top: .4rem; text-align: center; }
.menu__list .menu__cta:hover { background: var(--green-light); color: #fff; }
@media (max-width: 520px) { .menu__list { position: fixed; left: 16px; right: 16px; top: 116px; min-width: 0; } .header.is-scrolled .menu__list { top: 80px; } }

/* bottoni extra */
.btn--dark { background: var(--black); border-color: var(--black); color: #fff; }
.btn--dark:hover { background: #222; border-color: #222; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.btn--ghost-dark { background: transparent; border-color: rgba(0,0,0,.4); color: var(--black); }
.btn--ghost-dark:hover { background: rgba(0,0,0,.08); border-color: var(--black); box-shadow: none; }
.btn--call { margin-top: .6rem; font-size: 1.05rem; }

/* problema in evidenza: reattività */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; background: linear-gradient(140deg, #13281a, var(--card) 60%); border: 1px solid #24502f; border-radius: 24px; overflow: hidden; margin-bottom: 3rem; }
.feature__img { overflow: hidden; min-height: 380px; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; animation: drift 14s ease-in-out infinite alternate; }
.feature__body { padding: clamp(1.6rem, 4vw, 3rem); }
.feature__body > p { color: var(--muted); }
.feature__body strong { color: var(--text); }
.feature .checks { margin-bottom: 2rem; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature__img { min-height: 260px; max-height: 340px; } }
.checks--light li::before { background: var(--green); color: #fff; }
.checks--light li { font-weight: 400; color: var(--text); }

/* recensioni compatte */
.section--tight { padding: clamp(60px, 7vw, 90px) 0; }
.reviews-head { text-align: center; margin-bottom: 2rem; }
.reviews-head h2 { margin-bottom: .2rem; }
.reviews-head h2 { letter-spacing: .02em; }
.reviews-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.reviews-mini .review { padding: 1.5rem; }
.reviews-mini .review::before { display: none; }
.reviews-mini .review p { font-size: .98rem; }
@media (max-width: 860px) { .reviews-mini { grid-template-columns: 1fr; } }

/* fascia CTA */
.cta-band { background: var(--green); color: var(--black); padding: clamp(50px, 7vw, 80px) 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-band h2 { margin-bottom: .2em; }
.cta-band p { margin: 0; font-weight: 500; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: .8rem; }

/* testata pagine interne */
.page-hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; padding: 160px 0 80px; overflow: hidden; }
.page-hero--short { min-height: 52svh; }
.page-hero__bg { position: absolute; inset: -4%; background: center/cover no-repeat; animation: kenburns 16s ease-out forwards; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--black) 2%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.35) 100%); }
.page-hero__content { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 5.5rem); margin-bottom: .25em; }

/* lista delle 14 prove */
.prove-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.prova-row { display: grid; grid-template-columns: 240px 1fr; gap: 1.8rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 1rem; transition: border-color .3s, transform .3s; }
.prova-row:hover { border-color: var(--green); transform: translateX(6px); }
.prova-row:nth-child(even) { grid-template-columns: 1fr 240px; }
.prova-row:nth-child(even) .prova-row__media { order: 2; }
.prova-row__media { position: relative; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; }
.prova-row__media img, .prova-row__media video { width: 100%; height: 100%; object-fit: cover; }
.prova-row.is-playing .prova-row__media img { animation: var(--anim, live1) var(--dur, 12s) ease-in-out infinite alternate; }
.prova-row__body { padding: .5rem 1rem .5rem 0; }
.prova-row:nth-child(even) .prova-row__body { padding: .5rem 0 .5rem 1rem; }
.prova-row__body h3 { margin-bottom: .4rem; }
.prova-row__body p { color: var(--muted); margin-bottom: .7rem; }
.prova-row__why { border-left: 3px solid var(--green); padding-left: .9rem; color: var(--text) !important; font-weight: 500; margin: 0 !important; }
@media (max-width: 720px) {
  .prova-row, .prova-row:nth-child(even) { grid-template-columns: 1fr; gap: 1rem; }
  .prova-row:nth-child(even) .prova-row__media { order: 0; }
  .prova-row__body, .prova-row:nth-child(even) .prova-row__body { padding: 0 .4rem .6rem; }
  .prova-row__media { aspect-ratio: 16/10; }
}

/* foto personale (Chi siamo) */
.portrait { margin: 0; position: relative; aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: var(--card); border: 1px solid var(--line); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait__placeholder { display: none; }
.portrait.is-empty .portrait__placeholder { display: grid; place-content: center; text-align: center; height: 100%; color: var(--muted); font: 600 1.4rem var(--head); border: 2px dashed var(--line); border-radius: 24px; }
.portrait__placeholder small { font: 400 .85rem var(--body); }

/* modulo: opzioni speciali */
.wizard .chip--star { border-color: var(--green); color: var(--green-dark); font-weight: 600; }
.wizard .chip--any { font-weight: 600; }
.wizard .chip--star.is-on, .wizard .chip--any.is-on { color: #fff; }

/* footer con due sedi */
.footer__places { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; }
.footer__places p, .footer__inner p { margin: 0 0 .6rem; }
.footer__social { margin-top: .4rem; }

/* caricamento foto del cane */
.upload { display: block; position: relative; border: 2px dashed #cdd8cf; border-radius: 14px; background: #f7faf7; cursor: pointer; transition: border-color .2s, background .2s; overflow: hidden; }
.upload:hover { border-color: var(--green); background: #f0f7f1; }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload__empty { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: 1.1rem; text-align: center; font-size: 1.4rem; }
.upload__empty b { font-size: .95rem; color: var(--green-dark); }
.upload__empty small { font-size: .8rem; color: #6b746d; }
.upload__preview { display: none; align-items: center; gap: 1rem; padding: .7rem; font-size: .85rem; color: #4a524c; word-break: break-all; }
.upload__preview img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.upload.has-file { border-style: solid; border-color: var(--green); }
.upload.has-file .upload__empty { display: none; }
.upload.has-file .upload__preview { display: flex; }
.upload__remove { background: none; border: 0; padding: .4rem 0 0; color: #c53030; font-size: .85rem; cursor: pointer; text-decoration: underline; }
.upload__remove[hidden] { display: none; }
.done__note { color: var(--green-dark); font-weight: 600; }

/* problemi cliccabili (home) */
.problems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .problems-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .problems-grid { grid-template-columns: 1fr; } }
.problem-card {
  position: relative; text-align: left; font: inherit; color: var(--text); cursor: pointer;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; padding: 1.6rem;
  display: flex; flex-direction: column; gap: .3rem;
  transition: transform .25s, border-color .25s, background .25s, box-shadow .25s;
}
.problem-card h4 { margin: .4rem 0 .1rem; font-size: 1.25rem; }
.problem-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.problem-card__ico { font-size: 1.8rem; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: rgba(27,166,58,.12); transition: transform .3s, background .25s; }
.problem-card__tag { position: absolute; top: 1.2rem; right: 1.2rem; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--green); color: #fff; padding: .35em .8em; border-radius: 99px; }
.problem-card__more { margin-top: .8rem; font-size: .85rem; font-weight: 600; color: var(--green-light); opacity: .7; transition: opacity .25s, transform .25s; }
.problem-card--hot { border-color: #24502f; background: linear-gradient(140deg, #13281a, var(--card) 70%); }
.problem-card:hover, .problem-card:focus-visible {
  outline: none; transform: translateY(-6px); border-color: var(--green);
  background: linear-gradient(140deg, var(--green), var(--green-dark)); box-shadow: 0 20px 50px rgba(27,166,58,.3);
}
.problem-card:hover p, .problem-card:focus-visible p { color: rgba(255,255,255,.9); }
.problem-card:hover .problem-card__ico, .problem-card:focus-visible .problem-card__ico { transform: scale(1.12) rotate(-6deg); background: rgba(255,255,255,.2); }
.problem-card:hover .problem-card__more, .problem-card:focus-visible .problem-card__more { opacity: 1; color: #fff; transform: translateX(4px); }
.problem-card:hover .problem-card__tag { background: var(--black); }
#problemaModal .checks { margin: 0 0 1.6rem; }
#problemaModal .modal__media img { animation: drift 14s ease-in-out infinite alternate; }

/* problemi: versione compatta a icone */
.problems-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; max-width: 900px; margin-inline: auto; }
@media (max-width: 560px) { .problems-grid { grid-template-columns: repeat(2, 1fr); } }
.problem-card { align-items: center; text-align: center; gap: .35rem; padding: 1rem .7rem; border-radius: 16px; }
.problem-card h4 { font-size: .92rem; margin: 0; line-height: 1.2; }
.problem-card p, .problem-card__more { display: none; }
.problem-card__ico { font-size: 1.4rem; width: 44px; height: 44px; border-radius: 12px; }
.problem-card__tag { position: static; order: 3; font-size: .6rem; padding: .25em .6em; }
.problem-card:hover, .problem-card:focus-visible { transform: translateY(-4px) scale(1.04); }

/* video reali dal campo */
.page-hero__video { width: 108%; height: 108%; object-fit: cover; animation: none; }
.stack video { position: absolute; width: 62%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); right: 0; bottom: 0; rotate: 5deg; border: 6px solid var(--black); transition: transform .6s; }
.stack:hover video { transform: translate(10px, 6px); }
.hero__media video { object-position: center 40%; }

/* campo & città: testo + foto laterali che scorrono (stile DogScout) */
.explore { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.explore__lead { font-size: 1.08rem; max-width: 560px; }
.explore__steps { display: grid; border-top: 1px solid rgba(0,0,0,.2); margin: 1.8rem 0 2rem; }
.explore__steps div { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(0,0,0,.2); align-items: baseline; }
.explore__steps b { font: 700 1.6rem/1 var(--head); color: var(--black); }
.explore__steps p { margin: 0; }
.explore__media { position: relative; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: var(--black); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); touch-action: pan-y; }
.slider__track { display: flex; height: 100%; transition: transform .9s cubic-bezier(.65,0,.35,1); }
.slide { flex: 0 0 100%; height: 100%; margin: 0; overflow: hidden; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 5s ease-out; }
.slide.is-on img { transform: scale(1.02); }
.explore__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), transparent 25%, transparent 65%, rgba(0,0,0,.55)); pointer-events: none; }
.explore__badge { position: absolute; z-index: 2; left: 18px; bottom: 34px; background: var(--green); color: #fff; font-weight: 700; font-size: .85rem; letter-spacing: .04em; padding: .55em 1.1em; border-radius: 99px; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.explore__badge.is-in { animation: badgeIn .5s cubic-bezier(.2,.8,.2,1); }
@keyframes badgeIn { from { opacity: 0; transform: translateY(8px); } }
.slider__dots { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; display: flex; gap: 6px; }
.slider__dots button { flex: 1; height: 3px; padding: 0; border: 0; border-radius: 3px; background: rgba(255,255,255,.35); overflow: hidden; cursor: pointer; }
.slider__dots i { display: block; height: 100%; width: 0; background: #fff; }
.slider__dots .is-past i { width: 100%; }
.slider__dots .is-on i { animation: dotFill var(--delay, 4s) linear forwards; }
@keyframes dotFill { to { width: 100%; } }
.slider__arrow { position: absolute; z-index: 2; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 1.1rem; cursor: pointer; opacity: 0; transition: opacity .25s, background .2s; }
.slider__arrow--prev { left: 14px; } .slider__arrow--next { right: 14px; }
.explore__media:hover .slider__arrow { opacity: 1; }
.slider__arrow:hover { background: var(--green); }
@media (max-width: 900px) {
  .explore { grid-template-columns: 1fr; }
  .explore__media { aspect-ratio: 4 / 5; max-height: 80svh; }
  .slider__arrow { opacity: 1; }
}

/* =========================================================
   HERO home stile DogScout
   ========================================================= */
.hero2 { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--black); }
.hero2__media { position: absolute; inset: 0; }
.hero2__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero2__slide.is-active { opacity: 1; }
.hero2__blur { position: absolute; inset: -60px; width: calc(100% + 120px); height: calc(100% + 120px); max-width: none; object-fit: cover; filter: blur(34px) brightness(.55) saturate(1.1); }
.hero2__photo {
  position: absolute; top: 0; right: 7%; height: 100%; width: auto; max-width: none; aspect-ratio: 3 / 4; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  transform: scale(1.08); transform-origin: center 40%;
}
.hero2__slide.is-active .hero2__photo { animation: heroKb 8s cubic-bezier(.25,.1,.25,1) forwards; }
@keyframes heroKb { from { transform: scale(1.08) translate(1%, 1%); } to { transform: scale(1) translate(0, 0); } }
.hero2__media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 70%),
  linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.85) 100%); }

.hero2__content { position: relative; z-index: 1; width: 100%; padding: 170px 0 80px; }
.hero2__chip {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 9px 16px 9px 12px; border-radius: 999px;
  background: rgba(14,14,14,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18); font-size: .92rem; text-decoration: none; color: #fff;
  opacity: 0; animation: fadeIn 1s .2s forwards; transition: background .2s;
}
.hero2__chip:hover { background: rgba(27,166,58,.35); }
.hero2__chip b { font-weight: 600; }
.hero2__chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-light); box-shadow: 0 0 0 0 rgba(60,207,92,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(60,207,92,0); } }
@keyframes fadeIn { to { opacity: 1; } }

.hero2__title { font: 700 clamp(3rem, 8.2vw, 7.4rem)/.95 var(--body); letter-spacing: -.055em; margin: 0; max-width: 1000px; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero2__title .hl { color: var(--green-light); }
.hero2__title .line { display: block; overflow: hidden; padding-bottom: .07em; }
.hero2__title .line > span { display: block; transform: translateY(105%); animation: lineUp 1.1s cubic-bezier(.2,.8,.2,1) forwards; }
.hero2__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero2__title .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: none; } }

.hero2__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-top: 34px; flex-wrap: wrap; }
.hero2__row p { max-width: 560px; margin: 0; color: #e3e8e4; font-size: 1.15rem; text-shadow: 0 2px 18px rgba(0,0,0,.4); opacity: 0; animation: fadeIn 1s .5s forwards; }
.hero2__ctas { display: flex; gap: 10px; flex-wrap: wrap; opacity: 0; animation: fadeIn 1s .7s forwards; }
.hero2__ctas .btn { padding: 1.05em 1.7em; font-size: 1.02rem; }
.hero2__ctas .arr { transition: transform .2s; }
.hero2__ctas .btn:hover .arr { transform: translateX(4px); }

.hero2__dots { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); bottom: 26px; width: min(1200px, 100% - 32px); display: flex; gap: 6px; }
.hero2__dots button { flex: 1; height: 3px; padding: 0; border: 0; border-radius: 3px; background: rgba(255,255,255,.25); overflow: hidden; cursor: pointer; }
.hero2__dots i { display: block; height: 100%; width: 0; background: var(--green-light); }
.hero2__dots .is-past i { width: 100%; }
.hero2__dots .is-on i { animation: dotFill var(--delay, 6.5s) linear forwards; }

/* telefono / schermo verticale: foto in alto, testo sotto */
@media (orientation: portrait), (max-width: 760px) {
  .hero2__photo { top: 0; left: 0; right: auto; width: 100%; height: 68%; aspect-ratio: auto; object-position: center 40%;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .hero2__media::after { background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.9) 78%); }
  .hero2__content { padding: 140px 0 60px; }
  .hero2__row { margin-top: 20px; }
  .hero2__row p { font-size: 1.02rem; }
  .hero2__chip { font-size: .8rem; }
}

/* striscia numeri sotto l'hero */
.facts { border-bottom: 1px solid var(--line); padding: 2.6rem 0; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.fact b { display: block; font: 700 clamp(2.2rem, 4vw, 3.2rem)/1 var(--body); letter-spacing: -.04em; color: var(--green-light); margin-bottom: .4rem; }
.fact span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .facts__grid { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .hero2__title .line > span, .hero2__chip, .hero2__row p, .hero2__ctas { transform: none; opacity: 1; } }

/* pagina sport cinofili */
.sport-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 3rem; position: sticky; top: 84px; z-index: 5; }
.sport-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: .7em 1.2em; border-radius: 99px; background: var(--card); border: 1.5px solid var(--line); transition: background .2s, border-color .2s; }
.sport-nav a:hover { background: var(--green); border-color: var(--green); }
.sport { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; padding: clamp(2rem, 5vw, 3.5rem) 0; border-top: 1px solid var(--line); scroll-margin-top: 150px; }
.sport--rev .sport__media { order: 2; }
.sport h2 { margin-bottom: .6rem; }
.sport__body > p { color: var(--muted); font-size: 1.05rem; }
.sport .checks { margin: 1.4rem 0; }
.sport__note { font-size: .9rem !important; border-left: 3px solid var(--green); padding-left: .9rem; }
/* riquadro grafico al posto della foto (si sostituisce con la foto quando arriva: aggiungere un <img> dentro .sport__media) */
.sport__media { position: relative; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden;
  background: radial-gradient(circle at 30% 25%, rgba(60,207,92,.55), transparent 55%), linear-gradient(150deg, var(--green-dark), #0d1f12 75%);
  display: grid; place-items: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.sport__media img, .sport__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sport__ico { font-size: clamp(4rem, 9vw, 7rem); filter: drop-shadow(0 10px 30px rgba(0,0,0,.4)); transition: transform .5s; }
.sport:hover .sport__ico { transform: scale(1.1) rotate(-6deg); }
.sport__num { position: absolute; left: 22px; bottom: 14px; font: 700 clamp(3rem, 7vw, 5rem)/1 var(--body); letter-spacing: -.05em; color: rgba(255,255,255,.18); }
@media (max-width: 860px) {
  .sport, .sport--rev { grid-template-columns: 1fr; }
  .sport--rev .sport__media { order: 0; }
  .sport__media { aspect-ratio: 16 / 10; }
  .sport-nav { top: 76px; }
}

/* certificazioni (Chi siamo) */
.badges { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.badges li { font-size: .82rem; font-weight: 700; letter-spacing: .06em; padding: .5em 1em; border-radius: 99px; border: 1.5px solid var(--green); color: var(--green-light); }
.hero2__dots[hidden] { display: none; }

/* =========================================================
   v4: icone, lingua, zampette, leggibilità, smartphone
   ========================================================= */
:root { --ease-out: cubic-bezier(.23, 1, .32, 1); }
::selection { background: var(--green); color: #fff; }
html { -webkit-tap-highlight-color: transparent; text-size-adjust: 100%; scrollbar-color: #2c332e var(--black); }
:focus-visible { outline: 2px solid var(--green-light); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green); color: #fff; padding: .7em 1.1em; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top .2s var(--ease-out); }
.skip-link:focus { top: 12px; }
img { height: auto; }

/* icone Phosphor */
.ph, .ph-fill { line-height: 1; vertical-align: -0.14em; }
.topbar .ph, .footer .ph, .contact-list .ph, .btn .ph { font-size: 1.1em; }
.card__ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: rgba(27,166,58,.12); color: var(--green-light); font-size: 1.7rem; }
.card:hover .card__ico { transform: scale(1.06) rotate(-4deg); }
.problem-card__ico { color: var(--green-light); }
.problem-card:hover .problem-card__ico, .problem-card:focus-visible .problem-card__ico { color: #fff; }
.upload__empty .ph { font-size: 1.8rem; color: var(--green-dark); }
.done__ico { color: var(--green); }
.stars { color: #f5b82e; font-size: .7em; letter-spacing: .05em; vertical-align: .12em; }
.hero2__dots:empty { display: none; }

/* bottoni: feedback alla pressione */
.btn, .chip, .problem-card, .round, .slider__arrow, .menu__btn, .lang__opt { -webkit-user-select: none; user-select: none; }
.btn:active, .chip:active, .menu__btn:active { transform: scale(.97); transition-duration: 80ms; }
@media (hover: none) { .btn:hover { transform: none; box-shadow: none; } }

/* selettore lingua con bandierine */
.lang { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.18); }
.lang__opt { display: grid; place-items: center; width: 34px; height: 30px; border-radius: 999px; opacity: .55; transition: opacity .2s, background .2s; text-decoration: none; }
.lang__opt .fi { width: 20px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); background-size: cover; }
.lang__opt:hover { opacity: 1; }
.lang__opt.is-on { opacity: 1; background: rgba(255,255,255,.14); }

/* zampette verdi al posto delle spunte */
.checks--paw li { padding-left: 2.1rem; font-weight: 500; color: var(--text); }
.checks--paw li::before {
  content: "\e648"; font-family: "Phosphor-Fill"; font-weight: normal;
  background: none; width: auto; height: auto; border-radius: 0;
  color: var(--green-light); font-size: 1.25rem; line-height: 1; top: .12em;
}

/* scheda dei problemi: testo più leggibile */
.modal__body .modal__lead { color: #e9eeea; font-size: 1.1rem; line-height: 1.6; margin-bottom: 1.4rem; }
.modal__body h3 { font-size: clamp(1.4rem, 3vw, 1.75rem); }
#problemaModal .checks { margin: 0 0 1.8rem; }

/* striscia dei numeri */
.facts { padding: clamp(1.6rem, 4vw, 2.4rem) 0; border-bottom: 1px solid var(--line); background: var(--black); }
.facts__grid { list-style: none; margin-block: 0; padding-block: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.fact { display: flex; align-items: baseline; gap: .7rem; padding: .4rem 1.4rem; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: inline-flex; align-items: baseline; gap: .15em; margin: 0; font: 700 clamp(1.9rem, 3.2vw, 2.6rem)/1 var(--body); letter-spacing: -.035em; color: var(--green-light); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fact b .ph-fill { font-size: .6em; color: #f5b82e; }
.fact span { color: #c9d1cb; font-size: .98rem; line-height: 1.3; }
@media (max-width: 900px) {
  .facts__grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .fact, .fact:first-child { flex-direction: column; gap: .35rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
  .fact b { font-size: 2rem; }
  .fact span { font-size: .92rem; }
}

/* passaggi testuali (campo/città, dogsitting) */
.explore__steps div { grid-template-columns: minmax(110px, 9rem) 1fr; }
.explore__steps b { font: 700 1.15rem/1.25 var(--body); letter-spacing: -.01em; }

/* foto degli sport */
.sport__media { background: var(--card); }
.sport__media > img { transition: transform 1.2s var(--ease-out); }
.sport:hover .sport__media > img { transform: scale(1.04); }
.sport__thumbs { position: absolute; z-index: 1; right: 14px; bottom: 14px; display: flex; gap: 8px; }
.sport__thumbs img { position: static; width: 88px; height: 88px; object-fit: cover; border-radius: 14px; border: 3px solid var(--black); box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.sport-nav { scrollbar-width: none; }
.sport-nav::-webkit-scrollbar { display: none; }

/* ================= smartphone ================= */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 2rem; }
  h2 { font-size: clamp(1.75rem, 7.4vw, 2.3rem); }
  .lead { font-size: 1.02rem; }
  .sub { margin-top: 3rem; }

  /* header compatto: niente barra verde, logo + lingua + menu */
  .topbar { display: none; }
  .header .menu__list, .header.is-scrolled .menu__list { top: 76px; }
  .nav { height: 64px; }
  .nav__logo img { height: 38px; width: auto; }
  .nav__right { gap: .5rem; }
  .menu__btn { padding: .55em .85em; }
  .lang__opt { width: 30px; height: 28px; }

  /* hero */
  .hero2__content { padding: 110px 0 44px; }
  .hero2__title { font-size: clamp(2.6rem, 12.5vw, 3.6rem); }
  .hero2__ctas { width: 100%; }
  .hero2__ctas .btn { flex: 1 1 100%; }

  /* griglie */
  .grid--4, .grid--3 { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .card { padding: 1.2rem; }
  .card h4 { font-size: 1.02rem; }
  .card p { font-size: .9rem; }
  .card__ico { width: 46px; height: 46px; font-size: 1.4rem; margin-bottom: .6rem; }
  .compare__col { padding: 1.4rem; }

  /* problemi: icone compatte su due colonne */
  .problem-card { padding: .9rem .6rem; min-height: 118px; justify-content: center; }

  /* foto che scorrono */
  .explore__media { aspect-ratio: 4 / 5; }
  .explore__steps div { grid-template-columns: 1fr; gap: .2rem; padding: .9rem 0; }

  /* schede dei problemi: si aprono dal basso */
  .modal { width: 100%; max-width: 100%; max-height: 92svh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .modal[open] { grid-template-columns: 1fr; }
  .modal__media { min-height: 0; aspect-ratio: 16 / 10; }
  .modal__body { padding: 1.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom)); }
  .modal__body .btn { width: 100%; }

  /* pagine interne */
  .page-hero { min-height: 72svh; padding: 110px 0 56px; }
  .page-hero h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .hero__cta .btn { flex: 1 1 100%; }
  .prova-row { padding: .75rem; border-radius: 18px; }

  /* sport */
  .sport-nav { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; top: 64px; }
  .sport-nav a { flex: none; }
  .sport { padding: 2rem 0; }
  .sport__media { aspect-ratio: 4 / 5; }
  .sport__thumbs img { width: 64px; height: 64px; border-radius: 12px; }

  /* modulo */
  .wizard { padding: 1.25rem; border-radius: 20px; }
  .step legend { font-size: 1.35rem; }
  .wizard__dots { font-size: .72rem; }
  .field input, .field textarea { font-size: 16px; }
  .chip { padding: .7em 1em; }
  .wizard__nav .btn { flex: 1; }
  .btn--call { width: 100%; }

  /* footer */
  .footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .sticky-cta { bottom: calc(14px + env(safe-area-inset-bottom)); }

  /* galleria */
  .gallery figure { width: 160px; }
  .stack { height: 420px; }
}
@media (max-width: 380px) {
  .grid--4, .grid--3 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .sport:hover .sport__media > img { transform: none; }
}

/* v4b: correzioni dopo i controlli */
.fact b span { color: inherit; font: inherit; letter-spacing: inherit; }
.fact > span { color: #c9d1cb; font-size: .98rem; line-height: 1.3; }
.hero2__chip { gap: 8px; }

/* v4c: menù discipline con sfondo quando resta fisso */
.sport-nav { padding: .6rem; margin-inline: -.6rem; border-radius: 999px; background: rgba(10,10,10,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); width: max-content; max-width: calc(100% + 1.2rem); }
@media (max-width: 760px) {
  .sport-nav { width: auto; max-width: none; border-radius: 0; margin-inline: -16px; padding: .6rem 16px; }
}

.facts__grid { padding-inline: 0; }

/* v4d: contrasto accessibile per il testo bianco su verde (WCAG AA 4.5:1) */
:root { --green-ink: #15832d; --green-ink-hover: #127028; }
.btn, .menu__list .menu__cta, .sticky-cta, .topbar, .skip-link { background-color: var(--green-ink); border-color: var(--green-ink); }
.btn:hover, .menu__list .menu__cta:hover { background-color: var(--green-ink-hover); border-color: var(--green-ink-hover); }
.btn--ghost, .btn--ghost-dark { background-color: transparent; }
.btn--ghost { border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background-color: rgba(255,255,255,.08); border-color: #fff; }
.btn--ghost-dark { border-color: rgba(0,0,0,.4); }
.btn--dark { background-color: var(--black); border-color: var(--black); }
.btn--dark:hover { background-color: #222; border-color: #222; }
.btn--wa { background-color: #25d366; border-color: #25d366; }
.wizard .btn--ghost, .send-options .btn--ghost { background-color: transparent; border-color: #d5ddd7; }
.chip.is-on, .wizard .chip.is-on { background: var(--green-ink); border-color: var(--green-ink); }
.problem-card__tag, .explore__badge, .badge.y, .sport-nav a:hover { background: var(--green-ink); }
.problem-card:hover, .problem-card:focus-visible { background: linear-gradient(140deg, var(--green-ink), var(--green-ink-hover)); }
.compare__col--new { background: linear-gradient(140deg, var(--green-ink), var(--green-ink-hover)); }
.slider__arrow:hover { background: var(--green-ink); }
::selection { background: var(--green-ink); }

/* v4e: rifiniture dopo il controllo automatico */
.compare__col--new, .compare__col--new h3, .problem-card:hover h4, .problem-card:focus-visible h4, .btn, .chip.is-on { color: #fff; }
.btn--wa, .btn--wa:hover { background-color: #25d366; border-color: #25d366; color: #062b12; }
.btn--wa:hover { background-color: #3be07a; border-color: #3be07a; }
.btn--dark, .btn--ghost, .btn--ghost-dark { color: inherit; }
.btn--dark { color: #fff; }
.wizard__dots { color: #5f6862; }
.wizard__dots li.is-on { color: var(--green-ink); }
.btn:hover, .problem-card:hover, .problem-card:focus-visible, .compare__col--new, .prova:hover { box-shadow: 0 14px 30px -12px rgba(0,0,0,.6); }
.prova-row__why, .sport__note, .modal__why { border-left: 0; padding-left: 1.6rem; position: relative; }
.prova-row__why::before, .sport__note::before, .modal__why::before { content: "\e648"; font-family: "Phosphor-Fill"; position: absolute; left: 0; top: .1em; color: var(--green-light); font-size: 1.05rem; }

@media (max-width: 760px) { .problem-card--hot { grid-column: 1 / -1; min-height: 0; } }

/* team (Chi siamo) */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.team-card { margin: 0; position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--card); }
.team-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.team-card:hover img { transform: scale(1.04); }
.team-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1.2rem 1rem; background: linear-gradient(transparent, rgba(10,10,10,.85)); font: 700 1.35rem/1 var(--head); color: #fff; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; } .team-card figcaption { font-size: 1.1rem; padding: 1.6rem .9rem .8rem; } }