/* ==========================================================================
   Non Solo Bici — Pozzallo
   Palette dal logo (rosso / nero / bianco). Nessun font o script di terze parti.
   ========================================================================== */

:root {
  --red: #d7191f;
  --red-hi: #ff4a4f;          /* rosso leggibile su fondo scuro */
  --red-deep: #a80f14;
  --ink: #0e0e0f;
  --ink-2: #17171a;
  --ink-3: #242428;
  --paper: #f5f2ec;
  --paper-2: #ebe6dc;
  --muted: #6b6860;
  --muted-on-dark: #a9a59c;
  --line: rgba(14, 14, 15, .14);
  --line-dark: rgba(255, 255, 255, .14);

  --display: "Bahnschrift", "DIN Condensed", "Roboto Condensed", "Arial Narrow", Impact, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 16px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: .95; letter-spacing: .005em; font-variation-settings: "wdth" 78; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--red-hi); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.5em; white-space: nowrap;
  font-family: var(--display); font-variation-settings: "wdth" 85; font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:active { transform: translateY(0); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(215, 25, 31, .7); }
.btn-wa { background: #fff; color: var(--ink); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-sm { min-height: 46px; padding: 0 1.1em; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 14, 15, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #fff; border-bottom: 1px solid var(--line-dark);
}
.header-in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; flex: none; object-fit: contain; border-radius: 12px; background: #fff; }
.brand-name { display: flex; flex-direction: column; line-height: .9; white-space: nowrap; font-family: var(--display); font-variation-settings: "wdth" 78; text-transform: uppercase; font-weight: 700; }
.brand-name b { font-size: 1.55rem; letter-spacing: .01em; }
.brand-name b em { font-style: normal; color: var(--red-hi); }
.brand-name small { font-size: .78rem; letter-spacing: .34em; color: var(--muted-on-dark); margin-top: 4px; font-weight: 600; }

.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a { display: block; padding: 10px 12px; white-space: nowrap; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; color: #ddd9d0; transition: background .15s, color .15s; }
.header-cta { display: none; white-space: nowrap; }

.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 12px; background: transparent; border: 1px solid var(--line-dark); border-radius: 12px; cursor: pointer; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav.open {
  display: block; position: absolute; left: 0; right: 0; top: var(--header-h);
  background: var(--ink); border-bottom: 1px solid var(--line-dark); padding: 10px var(--gutter) 22px;
}
.nav.open ul { flex-direction: column; align-items: stretch; }
.nav.open a { font-family: var(--display); font-variation-settings: "wdth" 80; text-transform: uppercase; font-size: 1.6rem; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line-dark); }

@media (min-width: 1040px) {
  .burger { display: none; }
  .nav { display: block; }
  .header-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; min-height: min(92vh, 860px);
  background: var(--ink); color: #fff;
  padding: clamp(40px, 7vw, 84px) 0 clamp(64px, 8vw, 110px);
}
.hero-bg { /* foto della vetrina */
  position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%;
  object-fit: cover; object-position: 68% 62%;
}
.hero::before { /* velo scuro: sinistra più coperta per far leggere il testo, basso per il passaggio alla striscia */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(14, 14, 15, .93) 0%, rgba(14, 14, 15, .8) 34%, rgba(14, 14, 15, .34) 66%, rgba(14, 14, 15, .1) 100%),
    linear-gradient(0deg, rgba(14, 14, 15, .85) 0%, rgba(14, 14, 15, 0) 36%);
}
.hero::after { /* alone rosso nell'angolo in basso a sinistra */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 0% 100%, rgba(215, 25, 31, .34), transparent 70%);
}
@media (max-width: 899px) {
  .hero::before { background: linear-gradient(180deg, rgba(14, 14, 15, .86) 0%, rgba(14, 14, 15, .72) 45%, rgba(14, 14, 15, .58) 100%); }
  .hero-bg { object-position: 50% 50%; }
}
.hero-grid { display: grid; gap: clamp(20px, 4vw, 48px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em; margin-bottom: 20px;
  font-family: var(--display); font-variation-settings: "wdth" 85; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; font-size: .95rem; color: var(--red-hi);
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: currentColor; border-radius: 2px; }
.hero h1 { font-size: clamp(3.6rem, 13.5vw, 9.4rem); line-height: .82; letter-spacing: -.005em; }
.hero h1 span { display: block; }
.hero h1 .outline { color: #fff; }
.hero h1 .red { color: var(--red-hi); }
.hero-lead { max-width: 34em; margin: 26px 0 30px; font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: #d8d4cb; }
.hero-lead strong { color: #fff; font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) {
  .hero-cta .btn { flex: 1 1 calc(50% - 6px); padding: 0 .9em; font-size: 1.05rem; }
  .hero-cta .btn-ghost { flex-basis: 100%; }
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 30px; }
.hero-tags li { display: inline-flex; align-items: center; gap: .5em; padding: 8px 14px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: .92rem; color: #d8d4cb; background: rgba(255, 255, 255, .04); }
.hero-tags .ico { color: var(--red-hi); width: 1.15em; height: 1.15em; }

.hero-art { display: none; }
@media (min-width: 900px) { .hero-art { display: flex; justify-content: flex-end; align-self: end; } }
.spin { transform-box: fill-box; transform-origin: center; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-badge {
  width: clamp(92px, 12vw, 124px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 10px;
  background: var(--red); color: #fff; transform: rotate(10deg);
  font-family: var(--display); font-variation-settings: "wdth" 78; text-transform: uppercase; font-weight: 700; line-height: .9; font-size: clamp(1.05rem, 2.6vw, 1.45rem);
  box-shadow: 0 12px 30px -10px rgba(215, 25, 31, .8);
}
.hero-badge small { display: block; font-size: .62em; letter-spacing: .1em; font-weight: 600; margin-top: 4px; }

/* ---------- Striscia scorrevole ---------- */
.ticker { background: var(--red); color: #fff; overflow: hidden; border-block: 3px solid var(--ink); white-space: nowrap; }
.ticker-track { display: inline-flex; animation: ticker 38s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 28px; padding: 12px 14px; font-family: var(--display); font-variation-settings: "wdth" 80; text-transform: uppercase; font-weight: 700; font-size: 1.45rem; letter-spacing: .04em; }
.ticker span::after { content: ""; width: 10px; height: 10px; background: var(--ink); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sezioni ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-dark { background: var(--ink); color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.kicker { display: inline-flex; align-items: center; gap: .7em; margin-bottom: 14px; font-family: var(--display); font-variation-settings: "wdth" 85; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; font-size: .95rem; color: var(--red); }
.section-dark .kicker { color: var(--red-hi); }
.kicker::before { content: ""; width: 34px; height: 3px; background: currentColor; border-radius: 2px; }
.section h2 { font-size: clamp(2.6rem, 7.5vw, 5.2rem); }
.section h2 em { font-style: normal; color: var(--red); }
.section-dark h2 em { color: var(--red-hi); }
.section-head p { margin: 18px 0 0; color: var(--muted); font-size: 1.12rem; max-width: 40em; }
.section-dark .section-head p { color: var(--muted-on-dark); }

/* Battistrada decorativo */
.tread-edge { height: 18px; background: repeating-linear-gradient(118deg, var(--ink) 0 14px, transparent 14px 26px); opacity: .9; }

/* ---------- Servizi (3 card grandi) ---------- */
.services { display: grid; gap: 18px; }
@media (min-width: 860px) { .services { grid-template-columns: repeat(3, 1fr); } }
.svc {
  position: relative; display: flex; flex-direction: column; gap: 14px; overflow: hidden;
  padding: 30px 28px 28px; min-height: 340px; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
}
.svc-num { position: absolute; right: 18px; top: 4px; font-family: var(--display); font-variation-settings: "wdth" 75; font-weight: 700; font-size: 7.5rem; line-height: 1; color: rgba(14, 14, 15, .07); transition: color .25s; }
.svc-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--red); color: #fff; }
.svc-icon .ico { width: 34px; height: 34px; }
.svc h3 { font-size: 2.5rem; margin-top: 22px; }
.svc p { margin: 0; flex: 1; color: var(--muted); transition: color .25s; }
.svc-link { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; color: var(--red); transition: color .25s; }
.svc-link .ico { transition: transform .2s; }

/* ---------- Vendita: griglia categorie ---------- */
.cats { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .cats { grid-template-columns: repeat(3, 1fr); } }
.cat {
  display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius);
  background: var(--ink-2); border: 1px solid var(--line-dark);
  transition: border-color .2s, transform .2s, background-color .2s;
}
.cat .ico { width: 44px; height: 44px; color: var(--red-hi); stroke-width: 1.5; }
.cat h3 { font-size: 1.85rem; margin-top: 6px; }
.cat p { margin: 0; color: var(--muted-on-dark); font-size: .98rem; flex: 1; }
.cat a { display: inline-flex; align-items: center; gap: .5em; margin-top: 8px; font-weight: 700; color: #fff; text-decoration: none; font-size: .95rem; }
.cat a .ico { width: 1.1em; height: 1.1em; color: var(--red-hi); stroke-width: 2; transition: transform .2s; }
.note { margin-top: 26px; display: flex; gap: 12px; align-items: flex-start; color: var(--muted-on-dark); font-size: .98rem; }
.note .ico { color: var(--red-hi); margin-top: 3px; }

/* ---------- Split (riparazioni / noleggio) ---------- */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
.split.rev > :first-child { order: 2; } /* il modulo sta sempre dopo il testo, anche su smartphone */
@media (min-width: 960px) { .split { grid-template-columns: 1.1fr .9fr; } .split.rev { grid-template-columns: .9fr 1.1fr; } }

.steps { counter-reset: st; display: grid; gap: 14px; margin: 30px 0; padding: 0; list-style: none; }
.steps li { counter-increment: st; position: relative; padding: 4px 0 4px 66px; min-height: 52px; }
.steps li::before {
  content: counter(st); position: absolute; left: 0; top: 0; width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; background: var(--ink); color: #fff;
  font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 700; font-size: 1.7rem;
}
.steps b { display: block; font-size: 1.12rem; }
.steps span { color: var(--muted); font-size: .98rem; }
.section-dark .steps li::before { background: var(--red); }
.section-dark .steps span { color: var(--muted-on-dark); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.chips li { padding: 8px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .93rem; }
.section-dark .chips li { background: var(--ink-2); border-color: var(--line-dark); color: #e9e5db; }
.label { font-family: var(--display); font-variation-settings: "wdth" 85; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; font-size: .95rem; color: var(--muted); margin: 26px 0 0; }
.section-dark .label { color: var(--muted-on-dark); }
.fine { font-size: .92rem; color: var(--muted); margin-top: 16px; }
.section-dark .fine { color: var(--muted-on-dark); }

/* ---------- Moduli ---------- */
.card { background: #fff; color: var(--ink); border-radius: 20px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); box-shadow: 0 30px 50px -36px rgba(14, 14, 15, .55); }
.section-dark .card { border-color: transparent; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.card h3 { font-size: 2.1rem; margin-bottom: 6px; }
.card > p { color: var(--muted); font-size: .97rem; margin-bottom: 20px; }
.form { display: grid; gap: 16px; }
.row2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(215, 25, 31, .14); }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.seg label { display: flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; margin: 0; padding: 8px; text-align: center; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; font-weight: 700; transition: all .15s; }
.seg .ico { width: 1.4em; height: 1.4em; }
.seg input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg input:focus-visible + label { outline: 3px solid var(--red-hi); outline-offset: 2px; }
.form-foot { display: grid; gap: 10px; }
.form-foot small { color: var(--muted); font-size: .85rem; }
.form .btn-wa { background: #1fa855; color: #fff; }

/* ---------- Noleggio: card tariffe ---------- */
.rent-types { display: grid; gap: 14px; margin: 28px 0; }
@media (min-width: 560px) { .rent-types { grid-template-columns: 1fr 1fr; } }
.rent { padding: 22px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); }
.rent .ico { width: 42px; height: 42px; color: var(--red-hi); stroke-width: 1.5; }
.rent h3 { font-size: 1.9rem; margin: 10px 0 6px; }
.rent p { margin: 0; color: var(--muted-on-dark); font-size: .96rem; }
.rent .tag { display: inline-block; margin-top: 14px; padding: 4px 12px; border: 1px dashed var(--muted-on-dark); border-radius: 999px; font-size: .82rem; color: #d8d4cb; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ico { color: var(--red-hi); margin-top: 3px; stroke-width: 2.2; }

/* ---------- Chi siamo ---------- */
.about { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1fr; } }
.about p { color: #3f3d38; }
.about .big-quote { margin: 0; color: var(--ink); font-family: var(--display); font-variation-settings: "wdth" 78; text-transform: uppercase; font-weight: 700; font-size: clamp(2.4rem, 6vw, 4.3rem); line-height: .92; }
.big-quote em { font-style: normal; color: var(--red); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; }
.stat { padding: 18px 8px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-align: center; }
.stat b { display: block; white-space: nowrap; font-family: var(--display); font-variation-settings: "wdth" 78; font-size: clamp(1.7rem, 4.4vw, 2.5rem); line-height: 1; color: var(--red); }
.stat span { font-size: .85rem; color: var(--muted); line-height: 1.3; display: block; margin-top: 6px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.poster { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; max-width: 520px; margin-inline: auto; width: 100%; background: var(--ink); border-radius: 28px; overflow: hidden; isolation: isolate; }
.poster::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 70% 25%, rgba(215, 25, 31, .55), transparent 60%), repeating-linear-gradient(112deg, transparent 0 26px, rgba(255, 255, 255, .05) 26px 28px); }
.poster svg { width: 78%; }
.poster-cap { position: absolute; left: 22px; bottom: 18px; right: 22px; display: flex; justify-content: space-between; align-items: end; gap: 10px; color: #fff; font-family: var(--display); font-variation-settings: "wdth" 78; text-transform: uppercase; font-weight: 700; font-size: 1.5rem; line-height: .95; }
.poster-cap small { font-family: var(--body); font-variation-settings: normal; text-transform: none; font-weight: 500; font-size: .82rem; color: var(--muted-on-dark); text-align: right; }

/* ---------- Contatti ---------- */
.contact { display: grid; gap: clamp(24px, 4vw, 48px); }
@media (min-width: 960px) { .contact { grid-template-columns: .9fr 1.1fr; } }
.info { display: grid; gap: 0; }
.info li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.info li:first-child { border-top: 1px solid var(--line-dark); }
.info .ico { width: 28px; height: 28px; color: var(--red-hi); margin-top: 3px; }
.info dt, .info .t { font-family: var(--display); font-variation-settings: "wdth" 85; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; font-size: .9rem; color: var(--muted-on-dark); }
.info a { text-decoration: none; font-size: 1.5rem; font-weight: 600; }
.info .addr { font-size: 1.3rem; font-weight: 600; }
.info .sub { color: var(--muted-on-dark); font-size: .95rem; }
.contact-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.map { position: relative; min-height: 420px; height: 100%; border-radius: 22px; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-dark); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
.map-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center;
  background: repeating-linear-gradient(112deg, transparent 0 34px, rgba(255, 255, 255, .04) 34px 36px), radial-gradient(circle at 50% 40%, rgba(215, 25, 31, .35), transparent 65%), var(--ink-2); }
.map-ph .pin { width: 64px; height: 64px; color: var(--red-hi); stroke-width: 1.5; animation: bob 2.2s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(-8px); } }
.map-ph b { font-family: var(--display); font-variation-settings: "wdth" 78; text-transform: uppercase; font-size: 2rem; line-height: 1; }
.map-ph span { color: var(--muted-on-dark); max-width: 26em; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: #070708; color: var(--muted-on-dark); padding: 40px 0 calc(40px + 70px); font-size: .93rem; }
.foot { display: grid; gap: 24px; }
@media (min-width: 760px) { .foot { grid-template-columns: 1.4fr 1fr 1fr; padding-bottom: 0; } .site-footer { padding-bottom: 40px; } }
.foot b { color: #fff; font-family: var(--display); font-variation-settings: "wdth" 78; text-transform: uppercase; font-size: 1.4rem; display: block; margin-bottom: 8px; letter-spacing: .02em; }
.foot a { color: #d8d4cb; text-decoration: none; }
.foot ul { display: grid; gap: 6px; }
.copy { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: .85rem; }

/* ---------- Barra azioni mobile ---------- */
.dock { position: fixed; z-index: 60; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; border-radius: 20px; background: rgba(14, 14, 15, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-dark); box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .6); }
.dock a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 14px; color: #fff; text-decoration: none; font-size: .78rem; font-weight: 700; }
.dock a .ico { width: 22px; height: 22px; }
.dock a.call { background: var(--red); }
.dock a.wa { background: #1fa855; }
.dock a.dir { background: var(--ink-3); }
@media (min-width: 760px) { .dock { display: none; } }

/* ---------- Pagina privacy ---------- */
.doc { padding: clamp(40px, 7vw, 90px) 0; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(2.8rem, 8vw, 5rem); margin-bottom: 24px; }
.doc h2 { font-size: 1.9rem; margin: 34px 0 10px; }
.doc p, .doc li { color: #3f3d38; }
.doc ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.doc a { color: var(--red); }

/* ---------- Rivelazione allo scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Effetti hover: solo dove c'è un mouse (su touch restavano attivi dopo il tocco) ---------- */
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn-red:hover { background: var(--red-deep); }
  .btn-wa:hover { background: var(--paper-2); }
  .btn-ghost:hover { background: rgba(255, 255, 255, .08); }
  .btn-dark:hover { background: var(--ink-3); }
  .nav a:hover { background: rgba(255, 255, 255, .09); color: #fff; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  .svc:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(14, 14, 15, .45); background: var(--ink); color: #fff; }
  .svc:hover .svc-num { color: rgba(255, 255, 255, .09); }
  .svc:hover p { color: #c9c5bb; }
  .svc:hover .svc-link { color: var(--red-hi); }
  .svc:hover .svc-link .ico { transform: translateX(5px); }
  .cat:hover { border-color: var(--red-hi); transform: translateY(-4px); background: var(--ink-3); }
  .cat a:hover .ico { transform: translateX(4px); }
  .form .btn-wa:hover { background: #178544; }
  .info a:hover { color: var(--red-hi); }
  .foot a:hover { color: var(--red-hi); text-decoration: underline; }
}

/* ==========================================================================
   Mobile  (il sito si usa soprattutto da telefono)
   ========================================================================== */
html { -webkit-tap-highlight-color: rgba(215, 25, 31, .2); }
a, button, label, select, summary { touch-action: manipulation; }

/* Bersagli da toccare comodi (>= 44 px) su qualsiasi schermo */
.foot a { display: inline-block; padding: 11px 0; }
.foot ul { gap: 0; }
.info a { display: inline-block; padding: 6px 0; }
.info .sub a { padding: 12px 4px; }
.form-foot small a { display: inline-block; padding: 12px 4px; }
.cat a:not(.btn) { min-height: 44px; }
.nav-cta { display: none; }

/* Barra azioni: compare dopo i pulsanti dell'hero, sparisce con la tastiera o il menu aperto */
.dock { bottom: max(8px, env(safe-area-inset-bottom)); transition: transform .3s ease, opacity .3s ease; }
.js .dock { transform: translateY(150%); opacity: 0; pointer-events: none; }
.js .dock.show { transform: none; opacity: 1; pointer-events: auto; }
.typing .dock, .menu-open .dock { display: none; }
html.menu-open { overflow: hidden; }

/* Menu: pannello a tutta altezza */
@media (max-width: 1039px) {
  :root { --header-h: 60px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-name b { font-size: 1.4rem; }
  .nav.open { display: flex; flex-direction: column; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }
  .nav.open a { padding: 16px 4px; }
  .nav.open .nav-cta { display: grid; gap: 10px; margin-top: auto; padding: 26px 0 8px; }
  .nav .nav-cta a.btn { display: inline-flex; padding: 0 1.5em; font-size: 1.2rem; border: 2px solid transparent; border-radius: 999px; }
  .nav .nav-cta a.btn-red { background: var(--red); color: #fff; }
  .nav .nav-cta a.btn-wa { background: #fff; color: var(--ink); }
}

/* Hero: la foto si vede intera (sul telefono un ritaglio a tutta altezza la ingrandiva e sgranava) */
@media (max-width: 899px) {
  .hero { display: block; min-height: 0; padding: calc(56.34vw - 14px) 0 40px; }
  .hero-bg {
    inset: 0 0 auto 0; height: auto; aspect-ratio: 1278 / 720; object-position: 50% 50%;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  }
  .hero::before { inset: 0 0 auto 0; height: 56.34vw; background: linear-gradient(180deg, rgba(14, 14, 15, .4) 0%, rgba(14, 14, 15, 0) 30%); }
  .eyebrow { margin-bottom: 14px; }
  .hero-lead { margin: 18px 0 22px; }
  .hero-tags { flex-wrap: nowrap; overflow-x: auto; margin: 22px calc(-1 * var(--gutter)) 0; padding: 2px var(--gutter); scrollbar-width: none; }
  .hero-tags::-webkit-scrollbar { display: none; }
  .hero-tags li { flex: none; }
}

/* Smartphone: pagina più corta, elementi compatti */
@media (max-width: 599px) {
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 26px; }
  .section h2 { font-size: clamp(2.3rem, 11.5vw, 3rem); }
  .card { padding: 20px; }
  .card h3 { font-size: 1.9rem; }

  /* Servizi */
  .services { gap: 12px; }
  .svc { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; row-gap: 6px; align-items: start; min-height: 0; padding: 20px 18px; }
  .svc-icon { grid-row: 1 / span 3; width: 52px; height: 52px; border-radius: 14px; }
  .svc-icon .ico { width: 28px; height: 28px; }
  .svc h3, .svc p, .svc-link { grid-column: 2; }
  .svc h3 { font-size: 2rem; margin: 0; }
  .svc p { flex: none; }
  .svc-link { padding-top: 6px; }
  .svc-num { font-size: 4.4rem; right: 12px; top: -2px; }

  /* Vendita: righe compatte (icona a sinistra) */
  .cats { gap: 10px; }
  .cat { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 2px; align-items: start; padding: 16px; }
  .cat > .ico { grid-column: 1; grid-row: 1 / span 3; width: 38px; height: 38px; margin-top: 2px; }
  .cat h3, .cat p, .cat a { grid-column: 2; }
  .cat h3 { font-size: 1.65rem; margin: 0; }
  .cat p { flex: none; font-size: .95rem; }
  .cat a:not(.btn) { margin-top: 2px; }

  /* Noleggio */
  .rent-types { gap: 10px; margin: 22px 0; }
  .rent { display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; align-items: start; padding: 16px; }
  .rent > .ico { grid-row: 1 / span 3; }
  .rent h3, .rent p, .rent .tag { grid-column: 2; }
  .rent h3 { margin: 0 0 4px; }
  .rent .tag { justify-self: start; margin-top: 10px; font-size: .88rem; }

  /* Chi siamo / contatti */
  .poster { display: none; }
  .stat span { font-size: .9rem; }
  .map { min-height: 320px; }
  .site-footer { padding-top: 34px; }
}

/* Tutta la card è un'area da toccare (link "Chiedi info" esteso a tutta la card) */
.cat { position: relative; }
.cat a:not(.btn)::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cat a:not(.btn):focus-visible { outline: none; }
.cat a:not(.btn):focus-visible::after { outline: 3px solid var(--red-hi); outline-offset: 2px; }
.brand { min-height: 44px; }

/* La colonna dell'hero non deve allargarsi per la riga di etichette scorrevole (telefoni piccoli) */
@media (max-width: 899px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) { .eyebrow { font-size: .85rem; letter-spacing: .15em; } .eyebrow::before { width: 24px; } }

/* ---------- Domande frequenti (fisarmonica nativa <details>) ---------- */
.section-alt { background: var(--paper-2); }
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 14px 18px;
  font-weight: 700; font-size: 1.05rem; line-height: 1.35; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 11px; height: 11px; margin-top: -4px;
  border-right: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(45deg); transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq-item[open] summary { color: var(--red-deep); }
.faq-a { padding: 0 18px 18px; color: #3f3d38; }
.faq-a p { margin: 0; }
.faq-a a { color: var(--red); font-weight: 600; }
@media (hover: hover) { .faq-item summary:hover { background: var(--paper); } }
.site-footer address a { color: #d8d4cb; text-decoration: none; }
.site-footer address { line-height: 1.7; }
.site-footer address a { display: inline-block; padding: 10px 0; }
@media (max-width: 599px) {
  .kicker { letter-spacing: .13em; font-size: .88rem; line-height: 1.35; }
  .kicker::before { flex: none; width: 24px; }
}

/* L'etichetta locale sta dentro l'H1 (SEO) ma resta una riga piccola sopra al titolo */
.hero h1 span.eyebrow { display: inline-flex; line-height: 1.2; font-size: .95rem; text-transform: uppercase; }
@media (max-width: 400px) { .hero h1 span.eyebrow { font-size: .85rem; } }

/* ---------- Logo ufficiale (testata, footer, "Chi siamo") ---------- */
.foot-logo { display: block; width: 88px; height: 88px; margin-bottom: 14px; border-radius: 16px; background: #fff; }
.poster-logo { align-self: start; margin-top: 9%; width: 64%; height: auto; border-radius: 24px; background: #fff; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); }
