@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --yellow: #FFCC00;
  --yellow-soft: #FFF4C2;
  --red: #D40511;
  --ink: #1A1A1A;
  --grey: #5C5C5C;
  --paper: #FFFFFF;
  --stone: #F3F2EE;
  --line: #DEDCD5;
  --wa: #1FAF5A;
  --wa-dark: #158A45;
  --open: #1FAF5A;
  --closed: #B8B5AC;
  --wrap: 1140px;
  --header-h: 68px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-stretch: 75%; font-weight: 800; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: 1.35rem; font-stretch: 85%; font-weight: 750; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; border-radius: var(--radius); }
.skip:focus { top: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; border-radius: var(--radius);
  padding: .7em 1.2em; line-height: 1.1; transition: background-color .15s, color .15s;
}
.btn-lg { font-size: 1.1rem; padding: .95em 1.4em; }
.btn-sm { font-size: .95rem; padding: .5em .9em; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.top-in { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 136px; height: auto; }
.brand-city { font-weight: 800; font-stretch: 75%; font-size: 1.5rem; color: var(--red); line-height: 1; }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a { text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: var(--radius); }
.menu a:hover, .menu a.is-active { background: var(--yellow-soft); }
.menu-btn { display: none; }

@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .top-in { gap: 12px; }
  .brand img { width: 110px; }
  .brand-city { font-size: 1.25rem; }
  .top-wa { display: none; }
  .menu-btn {
    display: inline-flex; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center;
    background: none; border: 0; cursor: pointer; border-radius: var(--radius);
  }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -7px; } .menu-icon::after { top: 7px; }
  .menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-7px) rotate(-45deg); }
  .menu {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 12px 16px;
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  .menu.open { display: flex; }
  .menu a { padding: 14px 12px; font-size: 1.1rem; border-bottom: 1px solid var(--stone); }
}

/* ---------- Hero ---------- */
.hero { background: var(--yellow); position: relative; overflow: hidden; }
.hero-in {
  max-width: var(--wrap); margin: 0 auto; padding: 64px 20px 88px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
}
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-stretch: 68%; font-weight: 850; line-height: .95; color: var(--ink); }
.lead { font-size: 1.2rem; margin-top: 20px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-phone { margin-top: 16px; font-weight: 600; }
.hero-phone a { font-weight: 800; }
.hero-img { margin: 0; }
.hero-img img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 70% center; }

/* le tre linee rosse del marchio, come velocità */
.speed { position: absolute; left: 0; right: 0; bottom: 22px; display: grid; gap: 6px; pointer-events: none; }
.speed i { display: block; height: 6px; background: var(--red); }
.speed i:nth-child(1) { width: 38%; }
.speed i:nth-child(2) { width: 30%; }
.speed i:nth-child(3) { width: 22%; }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; padding: 36px 20px 72px; gap: 28px; }
  .hero-img { order: -1; margin: -36px -20px 0; }
  .hero-img img { border-radius: 0; aspect-ratio: 16 / 8; }
  .lead { font-size: 1.08rem; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ---------- Stato negozi ---------- */
.now { background: var(--ink); color: #fff; }
.now-list { list-style: none; margin: 0 auto; padding: 0 20px; max-width: var(--wrap); display: grid; grid-template-columns: repeat(4, 1fr); }
.now-list a { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding: 16px 0; text-decoration: none; }
.now-list a:hover b { text-decoration: underline; }
.now-list b { font-stretch: 85%; font-size: 1.05rem; }
.now-state { color: #CFCDC6; font-size: .9rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--closed); flex: none; align-self: center; }
.dot.is-open { background: var(--open); box-shadow: 0 0 0 4px rgba(31,175,90,.25); }
@media (max-width: 900px) {
  .now-list { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .now-list a { padding: 12px 0; }
}

/* ---------- Sezioni ---------- */
.sec { padding: 88px 0; }
.sec-grey { background: var(--stone); }
.sec-lead { color: var(--grey); font-size: 1.12rem; margin-top: 14px; max-width: 40em; }
@media (max-width: 700px) { .sec { padding: 60px 0; } }

/* Servizi */
.svc { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.svc li { border-top: 4px solid var(--red); padding-top: 16px; }
.svc p { color: var(--grey); margin-top: 8px; }
.svc-cta { margin-top: 44px; font-weight: 600; }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Preventivo ---------- */
.sec-quote { background: var(--yellow); }
.quote { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.quote-intro p { margin-top: 16px; font-size: 1.1rem; }
.quote-how { margin: 16px 0 0; padding-left: 1.1em; }
.quote-how li { margin-top: 8px; }
.quote-alt { font-weight: 600; }
.quote-alt a { font-weight: 800; }

.form { background: var(--paper); border-radius: var(--radius); padding: 32px; display: grid; gap: 18px; box-shadow: 0 2px 0 rgba(0,0,0,.08); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend, .f { font-weight: 700; font-size: .95rem; }
.f { display: grid; gap: 6px; }
.opt { font-weight: 400; color: var(--grey); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row-3 { grid-template-columns: .8fr 1fr 1fr; }
input[type=text], input[type=tel], input[type=email], input[type=number], textarea {
  font: inherit; font-weight: 400; font-size: 1rem; width: 100%;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: #FCFCFA; padding: 12px 14px; color: var(--ink);
}
input:focus, textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px var(--yellow); }
input.is-invalid { border-color: var(--red); }
textarea { resize: vertical; min-height: 84px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.check-privacy { color: var(--grey); }
.hp { position: absolute; left: -9999px; }

.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.form-error { color: var(--red); font-weight: 600; }
.msg { padding: 14px 16px; border-radius: var(--radius); font-weight: 600; }
.msg-ok { background: #E3F6EA; color: #0F5E30; }
.msg-err { background: #FDE6E7; color: #8E0610; }

@media (max-width: 900px) {
  .quote { grid-template-columns: 1fr; gap: 28px; }
  .form { padding: 22px 18px; margin: 0 -8px; }
}
@media (max-width: 560px) {
  .row, .row-3, .form-actions { grid-template-columns: 1fr; }
  .row-3 { grid-template-columns: 1fr 1fr; }
  .row-3 .f:last-child { grid-column: 1 / -1; }
}

/* ---------- Negozi ---------- */
.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; margin-top: 44px; }
.store { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.store img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--stone); }
.store h3 { font-size: 1.8rem; font-stretch: 72%; font-weight: 850; }
.addr { margin-top: 4px; font-weight: 600; }
.store-state { margin-top: 10px; font-size: .95rem; font-weight: 700; min-height: 1.5em; display: flex; align-items: center; gap: 8px; }
.store-state.is-open { color: var(--wa-dark); }
.store-state.is-closed { color: var(--grey); }
.hours { border-collapse: collapse; margin: 12px 0 18px; font-size: .95rem; width: 100%; }
.hours th { text-align: left; font-weight: 400; color: var(--grey); padding: 4px 12px 4px 0; white-space: nowrap; }
.hours td { font-weight: 600; padding: 4px 0; font-variant-numeric: tabular-nums; }
.hours tr + tr { border-top: 1px solid var(--stone); }
.hours tr.today th, .hours tr.today td { color: var(--ink); font-weight: 800; }
@media (max-width: 980px) { .stores { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .store { grid-template-columns: 1fr; }
  .store img { aspect-ratio: 4 / 3; object-position: center 15%; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; font-size: 1.08rem; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--red); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { padding: 0 0 20px; color: var(--grey); max-width: 40em; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Contatti ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.contact-item { display: grid; gap: 4px; padding: 22px; border: 2px solid var(--ink); border-radius: var(--radius); text-decoration: none; }
.contact-item:hover { background: var(--yellow); }
.contact-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.contact-wa:hover { background: var(--wa-dark); border-color: var(--wa-dark); }
.c-label { font-size: .95rem; font-weight: 600; opacity: .85; }
.c-val { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 800; font-stretch: 80%; overflow-wrap: anywhere; }
.contact-note { margin-top: 18px; color: var(--grey); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: #D9D7D0; padding: 36px 0; font-size: .95rem; }
.foot b { color: #fff; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-end; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: #fff; }

/* ---------- Barra fissa mobile ---------- */
.dock { display: none; }
@media (max-width: 900px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .dock {
    display: grid; grid-template-columns: 1.3fr 1fr .9fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0,0,0,.08);
  }
  .dock a {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 50px; border-radius: var(--radius); font-weight: 800; text-decoration: none; font-size: 1rem;
  }
  .dock-wa { background: var(--wa); color: #fff; }
  .dock-quote { background: var(--yellow); color: var(--ink); }
  .dock-tel { background: var(--ink); color: #fff; }
}

/* ---------- Lingua ---------- */
.lang { font-weight: 700; text-decoration: none; padding: 6px 10px; border: 1.5px solid var(--line); border-radius: var(--radius); font-size: .9rem; }
.lang:hover { border-color: var(--ink); }
@media (max-width: 900px) { .lang { margin-left: auto; } .menu-btn { margin-left: 0; } }

/* ---------- Footer: pulsante preferenze cookie ---------- */
.foot-links button { font: inherit; color: #fff; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

/* ---------- Banner cookie ---------- */
.cc {
  position: fixed; z-index: 90; left: 16px; bottom: 16px; width: min(460px, calc(100% - 32px));
  background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 20px 20px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.18); font-size: .95rem;
}
.cc[hidden] { display: none; }
.cc-title { font-weight: 800; font-stretch: 80%; font-size: 1.25rem; padding-right: 28px; }
.cc-text { margin-top: 8px; color: var(--grey); }
.cc-text a { color: var(--ink); font-weight: 600; }
.cc-x { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; font-size: 1.6rem; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--ink); }
.cc-opts { display: grid; gap: 10px; margin-top: 14px; }
.cc-opts[hidden] { display: none; }
.cc-opt { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.cc-opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.cc-opt b { display: block; }
.cc-opt span { color: var(--grey); font-size: .9rem; }
.cc-opt b { color: var(--ink); font-size: .95rem; }
.cc-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.cc-btn { font: inherit; font-weight: 700; font-size: .92rem; padding: 11px 6px; border-radius: var(--radius); border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; }
.cc-btn:hover { background: var(--yellow); }
@media (max-width: 900px) {
  .cc { left: 8px; right: 8px; width: auto; bottom: calc(8px + env(safe-area-inset-bottom)); }
}

/* ---------- Pagine legali ---------- */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-stretch: 72%; }
.legal .updated { color: var(--grey); margin-top: 10px; }
.legal h2 { font-size: 1.6rem; font-stretch: 80%; margin-top: 44px; }
.legal h3 { font-size: 1.15rem; margin-top: 24px; }
.legal p, .legal li { margin-top: 12px; }
.legal ul { padding-left: 1.2em; }
.legal table { border-collapse: collapse; width: 100%; margin-top: 16px; font-size: .95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 700; }
.legal .back { display: inline-block; margin-top: 40px; font-weight: 700; }
@media (max-width: 600px) { .legal table, .legal tbody, .legal tr, .legal th, .legal td { display: block; } .legal thead { display: none; } .legal td { border: 0; padding: 2px 0; } .legal tr { border-bottom: 1px solid var(--line); padding: 10px 0; } }

/* ---------- Deposito bagagli ---------- */
.storage {
  margin-top: 48px; padding: 28px 32px; border-radius: var(--radius);
  background: var(--yellow-soft); border-left: 8px solid var(--yellow);
  display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.storage > div:first-child { max-width: 40em; }
.storage h3 { font-size: 1.6rem; font-stretch: 75%; font-weight: 850; }
.storage p { margin-top: 8px; }
.storage-links { display: flex; gap: 10px; flex-wrap: wrap; }
.tag { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: var(--yellow); font-size: .85rem; font-weight: 700; }
@media (max-width: 560px) { .storage { padding: 22px 20px; } .storage-links .btn { flex: 1; } }
@media (min-width: 901px) { .top-in > .lang { order: 5; } }

/* ---------- Telefono con prefisso ---------- */
.tel-group { display: grid; grid-template-columns: minmax(0, 132px) 1fr; gap: 8px; }
.tel-group select {
  font: inherit; font-size: 1rem; width: 100%; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius); background: #FCFCFA; padding: 12px 8px;
}
.tel-group select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }

/* Deposito bagagli con foto */
.storage { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
.storage-text { display: grid; gap: 18px; }
.storage-text > div:first-child { max-width: 40em; }
.storage-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.storage-pics img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 760px) { .storage { grid-template-columns: 1fr; } }

/* ---------- Versione chiara (pulsanti bianchi, fascia e footer chiari) ---------- */
.btn-ink { background:#fff; color:var(--ink); border-color:#fff; box-shadow:0 1px 0 rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06); }
.btn-ink:hover { background:#FFFBEA; }
.sec-quote .btn-ink, .storage .btn-ink { background:#fff; border-color:var(--ink); box-shadow:none; }
.now { background:#fff; color:var(--ink); border-bottom:1px solid var(--line); }
.now-state { color:var(--grey); }
.dock-tel { background:#fff !important; color:var(--ink) !important; border:1.5px solid var(--line); }
.foot { background:var(--stone); color:var(--grey); }
.foot b, .foot-links a, .foot-links button { color:var(--ink); }
