/* =========================================================
   Riparazione Elettrodomestici Portogruaro – foglio di stile
   Mobile-first. Colori verificati per contrasto WCAG AA.
   ========================================================= */

/* Inter (variabile 400–800, sottoinsieme latin) ospitato in locale – SIL Open Font License */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Audiowide (logo) ospitato in locale – SIL Open Font License */
@font-face {
  font-family: 'Audiowide';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/audiowide-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue-900: #072f53;
  --blue-800: #0a3f6e;
  --blue-700: #0b4f8a;   /* primario */
  --blue-100: #e6f0fa;
  --blue-50:  #f3f8fd;
  --orange:   #c2410c;   /* accento CTA, 5.2:1 su bianco */
  --orange-dark: #9a3412;
  --green:    #0f7a36;   /* WhatsApp accessibile, 5.4:1 su bianco */
  --green-dark: #0b5e29;
  --ink:      #14202b;
  --muted:    #4b5866;
  --line:     #d9e2ec;
  --bg:       #ffffff;
  --bg-alt:   #f4f7fa;
  --radius:   14px;
  --radius-sm: 8px;
  --shadow:   0 1px 2px rgba(16,24,40,.06), 0 8px 24px rgba(16,24,40,.08);
  --container: 1440px;
  --gutter:   16px;
  --header-h: 68px;
}

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

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  padding-bottom: calc(60px + env(safe-area-inset-bottom)); /* spazio per la barra mobile */
}
@media (min-width: 768px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-underline-offset: 3px; }
a:hover { color: var(--blue-900); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--blue-900); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; }
h2, .h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; }
h3, .h3 { font-size: 1.3rem; font-weight: 700; }
.h4 { font-size: 1.05rem; font-weight: 700; margin-top: 1.2em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
[role="list"] { list-style: none; padding: 0; margin: 0; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }

:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; border-radius: 4px; }

.sr-only { position: absolute !important; 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: 8px; top: -60px; z-index: 1000; background: var(--blue-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 8px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1280px) { :root { --gutter: 40px; } }
.narrow { max-width: 820px; }
.center { text-align: center; }
.center.btn-row, .btn-row.center { justify-content: center; }

/* ---------- Icone ---------- */
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -.25em; }
.icon--sm { width: 1em; height: 1em; vertical-align: -.15em; }
.icon--lg { width: 2rem; height: 2rem; }
.icon--xl { width: 2.75rem; height: 2.75rem; }
.icon--star { width: 1.35em; height: 1.35em; fill: #00b67a; stroke: #00b67a; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.25em;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  border: 2px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
@media (hover: hover) { .btn:hover { transform: translateY(-1px); } }
.btn:active { transform: scale(.97); filter: brightness(.92); }
.btn--lg { min-height: 54px; padding: .85em 1.5em; font-size: 1.05rem; }
.btn--primary { background: var(--blue-700); color: #fff; }
.btn--primary:hover { background: var(--blue-900); color: #fff; }
.btn--accent { background: var(--orange); color: #fff; }
.btn--accent:hover { background: var(--orange-dark); color: #fff; }
.btn--wa { background: var(--green); color: #fff; }
.btn--wa:hover { background: var(--green-dark); color: #fff; }
.btn--light { background: #fff; color: var(--blue-900); }
.btn--light:hover { background: var(--blue-100); color: var(--blue-900); }
.btn--ghost { background: transparent; color: var(--blue-700); border-color: currentColor; }
.btn--ghost:hover { background: var(--blue-50); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.25rem; }
.btn-col { display: grid; gap: 10px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; text-underline-offset: 3px; }

.eyebrow { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); margin-bottom: .5rem; }
.note { font-size: .92rem; color: var(--muted); }

/* ---------- Topbar ---------- */
.topbar { background: var(--blue-900); color: #dbe7f3; font-size: .875rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar__right { display: flex; gap: 20px; }
.topbar > .container > span.topbar__hours:first-child { gap: 24px; }
.topbar__hours > span { display: inline-flex; align-items: center; gap: 6px; }
.topbar > .container > span:first-child { display: none; }
@media (min-width: 700px) { .topbar > .container > span:first-child { display: inline-flex; align-items: center; gap: 6px; } }
@media (max-width: 767px) { .topbar { display: none; } }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); transition: transform .25s ease; }
@media (max-width: 1279px) { .site-header.is-hidden { transform: translateY(-100%); } }
.site-header__inner { display: flex; min-width: 0; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; color: var(--blue-900); }
.logo__text strong { white-space: nowrap; }
.logo__mark { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text { font-family: 'Audiowide', Inter, system-ui, sans-serif; align-items: center; text-align: center; text-transform: uppercase; }
.logo__text strong { font-size: 20px; font-weight: 400; letter-spacing: .02em; line-height: 1.1; }
.logo__text span { font-size: 12px; font-weight: 400; letter-spacing: .25em; color: var(--orange); }
@media (max-width: 480px) { .logo__text strong { font-size: 17px; } }
@media (max-width: 360px) { .logo__text strong { font-size: 15px; } }

.nav-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--blue-900); cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: inline; }

.site-nav { display: none; }
.nav-open .site-nav {
  display: flex; flex-direction: column; gap: 8px;
  position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - var(--header-h)); z-index: 99;
  border-top: 1px solid var(--line);
  background: #fff; padding: 16px var(--gutter) 96px; overflow-y: auto;
}
.nav-open { overflow: hidden; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a { display: block; padding: 14px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.1rem; }
.site-nav li a[aria-current="page"] { color: var(--blue-700); }
.site-nav__cta { margin-top: 12px; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav, .nav-open .site-nav { display: flex; flex-direction: row; align-items: center; gap: 18px; position: static; padding: 0; background: none; overflow: visible; }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav li:first-child { display: none; } /* su desktop la home è il logo */
  .site-nav li a { border: 0; padding: 8px 9px; font-size: .92rem; border-radius: 8px; white-space: nowrap; }
  .site-nav li a:hover { background: var(--blue-50); color: var(--blue-700); }
  .site-nav li a[aria-current="page"] { background: var(--blue-100); }
  .site-nav__cta { margin: 0; min-height: 44px; font-size: .92rem; padding: .55em 1em; white-space: nowrap; }
}
/* 1024–1279px: menu su una seconda riga sotto il logo */
@media (min-width: 1024px) and (max-width: 1279px) {
  .site-header__inner { flex-wrap: wrap; row-gap: 0; min-height: 0; }
  .logo { padding: 12px 0; }
  .site-nav, .nav-open .site-nav { flex-basis: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding: 6px 0; }
}
/* 1280–1439px: menu più compatto per stare su una riga accanto al logo */
@media (min-width: 1280px) and (max-width: 1439px) {
  .site-nav, .nav-open .site-nav { gap: 12px; }
  .site-nav li a { padding: 8px 6px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7,47,83,.94) 0%, rgba(7,47,83,.85) 50%, rgba(7,47,83,.55) 100%); }
.hero__inner { padding-top: clamp(48px, 9vw, 120px); padding-bottom: clamp(48px, 9vw, 120px); }
@media (min-width: 1000px) { .hero { min-height: min(72vh, 760px); display: flex; align-items: center; } .hero__inner { width: 100%; } }
.hero h1 { color: #fff; max-width: 14em; }
.hero .eyebrow { color: #fdba74; }
.hero__lead { font-size: clamp(1.08rem, 2vw, 1.3rem); max-width: 36em; color: #e6eef6; }
@media (max-width: 520px) {
  .hero .btn-row .btn { width: 100%; }
  .hero__inner { padding-top: 24px; }
  .hero h1 { font-size: 1.85rem; }
  .hero__lead { font-size: 1.02rem; margin-bottom: .6em; }
  .hero .btn-row { gap: 10px; margin-top: 1rem; }
}

.page-hero { background: linear-gradient(180deg, var(--blue-50), #fff); padding: clamp(36px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.page-hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 44em; }
.page-hero.center .page-hero__lead, .narrow.center .page-hero__lead { margin-left: auto; margin-right: auto; }
.jump-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.jump-links a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .92rem; min-height: 44px; display: inline-flex; align-items: center; }
.jump-links a:hover { border-color: var(--blue-700); }

/* ---------- USP ---------- */
.usp { background: var(--blue-700); color: #fff; }
.usp__grid { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
@media (min-width: 600px) { .usp__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .usp__grid { grid-template-columns: repeat(4, 1fr); } }
.usp__grid li { display: flex; gap: 14px; align-items: center; }
.usp__grid strong { display: block; font-size: 1.05rem; }
.usp__grid span { color: #d4e3f2; font-size: .95rem; }
.usp__grid--cards li { background: #fff; color: var(--ink); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); }
.usp__grid--cards .icon { color: var(--blue-700); }
.usp__grid--cards span { color: var(--muted); }
.usp__grid--cards { padding: 0; }

/* ---------- Sezioni ---------- */
.section { padding: clamp(48px, 8vw, 88px) 0; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 760px; margin-bottom: 32px; }
.section__head p:last-child { color: var(--muted); }
.section__head:has(.lead-wide) { max-width: none; }
.section__head--center { max-width: none; margin-left: auto; margin-right: auto; text-align: center; }
.grid-title { margin-bottom: 20px; }
/* titoli lunghi su una riga da 1024px in su (testo ≈ --fit × font-size) */
@media (min-width: 1024px) {
  .section__head--fit { max-width: none; container-type: inline-size; }
  .section__head--fit .fit-line { white-space: nowrap; font-size: min(2.2rem, 100cqi / var(--fit)); }
}
.title-upper { text-transform: uppercase; font-size: clamp(1.8rem, 4.2vw, 2.9rem); letter-spacing: .01em; }
/* titolo sempre su una riga: si adatta alla larghezza del contenitore (testo ≈ 23,4 × font-size) */
.section__head--center { container-type: inline-size; }
.section__head--center .title-upper { white-space: nowrap; font-size: min(2.9rem, 100cqi / var(--fit, 24.5)); }
.grid-title--small { text-transform: uppercase; text-align: center; font-size: .95rem; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
@media (min-width: 640px) { .nowrap { white-space: nowrap; } }

/* ---------- Card elettrodomestici ---------- */
.card-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s; }
@media (hover: hover) { .card:hover { transform: translateY(-3px); } }
.card__img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--muted); flex: 1; }
.card__title { margin-bottom: .4em; }
.card-grid .card__body { text-align: center; align-items: center; }
/* tono sabbia rgb(238,215,160) richiesto, con leggera sfumatura; testo scuro per il contrasto */
.card--help { background: radial-gradient(120% 90% at 85% 10%, #f4e3b9 0%, #eed7a0 50%, #e4c788 100%); border-color: #e0c27f; color: var(--blue-900); }
.card--help .card__body { justify-content: center; gap: 4px; padding: 32px 24px; }
.card--help .card__title { color: var(--blue-900); font-size: 1.4rem; }
.card--help .card__body p { color: #4a3517; flex: 0 0 auto; }
.card--help__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.55); color: #6b4a1f; margin-bottom: 12px; }
.card--help .btn-col { width: 100%; max-width: 300px; margin-top: 12px; }
.price-badge { display: inline-block; vertical-align: middle; padding: 3px 10px; border-radius: 999px; background: #fff4e5; color: var(--orange-dark); border: 1px solid #fdba74; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.price-badge--lg { font-size: .95rem; padding: 5px 14px; }
.card__link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.card__link:hover { text-decoration: underline; }

/* ---------- Split (testo + immagine) ---------- */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; gap: 56px; } .split--even { grid-template-columns: 1fr 1fr; align-items: start; } }
.split__img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.brand-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 1rem 0; }
.brand-chips li { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--blue-900); }

/* ---------- Info box / orari ---------- */
.info-grid { display: grid; gap: 20px; grid-template-columns: 1fr; margin-bottom: 24px; }
@media (min-width: 900px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }
.info-grid > * { min-width: 0; }
.info-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.info-box h2, .info-box h3 { display: flex; align-items: center; gap: 10px; }
.info-box h2 .icon, .info-box h3 .icon { color: var(--blue-700); }
.info-box__big { font-size: 2.2rem; font-weight: 800; color: var(--blue-700); margin: .2em 0 .3em; line-height: 1; }
.info-box__big--sm { font-size: 1.35rem; line-height: 1.3; }
.info-box--flat { box-shadow: none; background: var(--blue-50); border-color: var(--blue-100); margin-top: 24px; }
@media (min-width: 900px) { .info-grid--two { grid-template-columns: 1fr 1fr; } }
.info-box__big small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.hours { margin: 0 0 1em; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; text-align: right; color: var(--muted); }
.hours--compact div { padding: 3px 0; border-color: rgba(255,255,255,.15); }

.check-list li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; }
.check-list .icon { color: var(--green); margin-top: .3em; }

.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 16px 16px 16px 64px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-700); color: #fff; font-weight: 800; }

/* ---------- Aree servite ---------- */
.area-list { display: grid; gap: 8px 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); margin-bottom: 24px; }
.area-list li { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); font-weight: 500; }
.area-list .icon { color: var(--orange); }
.area-more { margin-bottom: 24px; }
.area-more summary { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--blue-700); cursor: pointer; }
.area-more .area-list { margin-top: 8px; }

/* ---------- Altri servizi ---------- */
.extra-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .extra-grid { grid-template-columns: 1fr 1fr; } }
.extra-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue-700); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); }
.extra-card__title { margin-bottom: .4em; }
.extra-card p { color: var(--muted); }
.extra-card .btn-row { margin-top: 1rem; }

/* ---------- Zone servite ---------- */
.zone-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .zone-grid { grid-template-columns: 1fr 1fr; } }
.zone-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.zone-card__title { display: flex; align-items: center; gap: 8px; }
.zone-card__title .icon { color: var(--orange); }
.zone-card > p { color: var(--muted); }
.town-list { display: flex; flex-wrap: wrap; gap: 6px; }
.town-list li { padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); font-size: .9rem; }
.town-list__more { background: none !important; color: var(--muted); font-style: italic; }

/* ---------- Punti assistenza e partner ---------- */
.points-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 24px; }
@media (min-width: 640px) { .points-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .points-grid { grid-template-columns: repeat(4, 1fr); } }
.point-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid #f5d93b; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.point-card__title { font-size: 1.1rem; }
.point-card p { margin: 0; }
.point-card a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; text-decoration: none; color: var(--ink); }
.point-card a:hover { color: var(--blue-700); text-decoration: underline; }
.point-card .icon { color: var(--blue-700); }
.point-card { text-align: center; }
.point-card a { justify-content: center; text-align: center; }
.point-card a.point-card__addr { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0; }
.partners-title { margin-top: 32px; }
.point-card__badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; margin-bottom: 10px; border-radius: 999px; background: #fdf6d3; color: #6b5800; font-size: .78rem; font-weight: 700; }
@media (min-width: 1100px) { .points-grid--partners { grid-template-columns: repeat(4, 1fr); } }

.map-pin { background: none; border: 0; }
.map-pin svg { width: 100%; height: 100%; fill: var(--blue-700); filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.map-pin--main svg { fill: var(--orange); }

/* ---------- Servizi (cosa ripariamo) ---------- */
.service-list { display: grid; gap: clamp(48px, 7vw, 80px); }
.service { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .service { grid-template-columns: 1fr 1fr; gap: 56px; } .service--reverse .service__img { order: 2; } }
.service__img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.service .check-list { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 520px) { .service .check-list { grid-template-columns: 1fr 1fr; } }

/* ---------- Marchi ---------- */
.official-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .official-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }
.official-card { background: #fff; border: 2px solid var(--blue-100); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.official-card__badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--blue-700); color: #fff; font-size: .8rem; font-weight: 700; margin-bottom: 12px; }
.official-card p { color: var(--muted); margin: 0; }
.official-card__name { font-size: 1.4rem; margin-bottom: .3em; }
.official-card__logo { height: 64px; display: flex; align-items: center; margin: 4px 0 12px; }
.official-card__logo img { max-height: 34px; max-width: 200px; width: auto; height: auto; object-fit: contain; }
.official-card__logo--square img { max-height: 60px; }
.official-card__logo + .official-card__name { font-size: 1.05rem; color: var(--muted); }

/* Griglia loghi marchi ufficiali */
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 1.25rem 0; }
@media (min-width: 600px) { .logo-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 900px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
.logo-tile { display: flex; align-items: center; justify-content: center; height: 72px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.logo-tile img { max-height: 30px; max-width: 80%; width: auto; height: auto; object-fit: contain; }
.logo-tile--square img { max-height: 52px; }
.logo-tile__name { font-size: 1.15rem; letter-spacing: .02em; }
.logo-tile__name { font-weight: 800; color: var(--blue-900); text-align: center; line-height: 1.2; }
@media (min-width: 640px) { .official-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .official-grid { grid-template-columns: repeat(3, 1fr); } }

.brand-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); margin-bottom: 32px; }
.brand-item { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.brand-item__name { font-size: 1.15rem; margin: 0 0 .3em; }
.brand-item p { font-size: .92rem; color: var(--muted); margin: 0; }
@media (max-width: 639px) {
  .brand-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .brand-item { padding: 12px; }
  .brand-item p { display: none; }
  .brand-item__name { font-size: 1rem; margin: 0; }
}

/* ---------- Contatti ---------- */
.contact-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { display: block; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
@media (hover: hover) { .contact-card:hover { transform: translateY(-3px); border-color: var(--blue-700); color: var(--ink); } }
.contact-card:active { border-color: var(--blue-700); background: var(--blue-50); }
.contact-card .icon { color: var(--blue-700); margin-bottom: 10px; }
.contact-card--wa .icon { color: var(--green); }
.contact-card__value { font-weight: 700; color: var(--blue-700); margin-bottom: .3em; word-break: break-word; }
.contact-card p:last-child { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Mappa ---------- */
.map-layout { display: grid; gap: 24px; }
@media (min-width: 900px) { .map-layout { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.map { height: 420px; border-radius: var(--radius); border: 1px solid var(--line); z-index: 0; }
@media (max-width: 600px) { .map { height: 320px; } }

/* ---------- Prose ---------- */
.prose h2 { margin-top: 1.6em; }
.prose ul { margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue-800), var(--blue-700)); color: #fff; padding: clamp(40px, 6vw, 64px) 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe7f3; max-width: 40em; }
.cta-band__inner { display: grid; gap: 16px; align-items: center; }
@media (min-width: 1000px) { .cta-band__inner { grid-template-columns: 1fr auto; } .cta-band .btn-row { margin-top: 0; } }
@media (max-width: 520px) { .cta-band .btn { width: 100%; } }

/* ---------- Trustpilot ---------- */
.trustpilot { border-top: 1px solid var(--line); }
.trustpilot__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-bottom: 16px; }
.trustpilot__head h2 { margin: 0; }
.trustpilot__summary { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-height: 44px; text-decoration: none; color: var(--ink); }
.trustpilot__summary:hover .trustpilot__count { text-decoration: underline; }
.trustpilot__score strong { font-size: 1.25rem; color: var(--blue-900); }
.trustpilot__count { color: var(--muted); }
@media (max-width: 520px) { .tp-sep { display: none; } }
.trustpilot__summary > .icon { color: var(--blue-700); }
.tp-stars { position: relative; display: inline-block; line-height: 0; }
.tp-stars__base, .tp-stars__fill { display: inline-flex; gap: 2px; white-space: nowrap; }
.tp-stars__base .icon--star { fill: #dcdce6; stroke: #dcdce6; }
.tp-stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #c9d8e7; font-size: .95rem; }
.site-footer a, .site-footer .linklike { color: #fff; text-decoration: none; }
.site-footer a:hover, .site-footer .linklike:hover { text-decoration: underline; }
.site-footer__grid { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 40px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer__hours { color: #fff; font-weight: 600; margin-bottom: 1.2em; }
.site-footer__hours span { color: #c9d8e7; font-weight: 400; font-size: .9rem; }
.site-footer__brand { font-weight: 800; font-size: 1.1rem; color: #fff; }
.parent-brand { display: inline-flex; flex-direction: column; gap: 6px; margin: 4px 0 20px; padding: 12px 16px 14px; background: #fff; border-radius: var(--radius); text-decoration: none; transition: box-shadow .2s; }
.site-footer a.parent-brand:hover { text-decoration: none; box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.parent-brand__label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.parent-brand img { width: 180px; height: auto; }
.site-footer__title { font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 0; }
.site-footer li a, .site-footer li .linklike, .site-footer address a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.site-footer address { line-height: 1.6; }
.site-footer .hours dd { color: #c9d8e7; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: .85rem; color: #a9bdd1; }

/* ---------- Barra mobile + WhatsApp flottante ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -4px 16px rgba(0,0,0,.12); padding-bottom: env(safe-area-inset-bottom); background: #fff; }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; font-weight: 700; text-decoration: none; color: #fff; }
.mobile-bar__call { background: var(--orange); }
.mobile-bar__wa { background: var(--green); }
.mobile-bar a:active { filter: brightness(.88); }
@media (max-width: 767px) and (max-height: 500px) and (orientation: landscape) { .mobile-bar a { min-height: 48px; } body { padding-bottom: calc(48px + env(safe-area-inset-bottom)); } }
@media (min-width: 768px) { .mobile-bar { display: none; } }

.wa-fab { display: none; }
@media (min-width: 768px) {
  .wa-fab { display: grid; place-items: center; position: fixed; right: 24px; bottom: 24px; z-index: 200; width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .2s; }
  .wa-fab:hover { transform: scale(1.06); color: #fff; }
  .wa-fab .icon { width: 30px; height: 30px; }
}

/* ---------- Banner cookie ---------- */
.cookie-banner { position: fixed; left: 8px; right: 8px; bottom: calc(68px + env(safe-area-inset-bottom)); z-index: 300; }
@media (min-width: 768px) { .cookie-banner { left: 24px; right: auto; bottom: 24px; max-width: 460px; } }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0,0,0,.2); padding: 20px; font-size: .95rem; }
.cookie-banner__title { font-weight: 800; color: var(--blue-900); margin-bottom: .4em; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie-banner__actions .btn { flex: 1 1 0; }
@media (max-width: 767px) {
  .cookie-banner__inner { padding: 14px; font-size: .9rem; line-height: 1.45; }
  .cookie-banner__inner p { margin-bottom: .6em; }
  .cookie-banner__title { display: none; }
  .cookie-banner__actions .btn { min-height: 44px; padding: .5em .8em; font-size: .95rem; }
}

/* ---------- Leaflet popup ---------- */
.leaflet-popup-content strong { display: block; color: var(--blue-900); }
.leaflet-popup-content a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.leaflet-touch .leaflet-bar a { width: 44px; height: 44px; line-height: 44px; font-size: 22px; }
.leaflet-container a.leaflet-popup-close-button { width: 36px; height: 36px; font-size: 24px; line-height: 36px; }
.map-hint { position: absolute; inset: 0; z-index: 500; display: flex; align-items: flex-end; justify-content: center; padding: 12px; pointer-events: none; }
.map-hint span { background: rgba(7,47,83,.85); color: #fff; font-size: .85rem; padding: 6px 12px; border-radius: 999px; }
.map-wrap { position: relative; }
.map-wrap.is-active .map-hint { display: none; }
.leaflet-container a.leaflet-popup-close-button { width: 44px; height: 44px; font: 26px/44px system-ui, sans-serif; } /* AUDIT-FIX: touch target 44px */
