/* ==========================================================================
   Bieffe Garage – stili del tema
   Colori e font sono variabili: si cambiano qui sotto, in un solo punto.
   ========================================================================== */

:root {
  --c-accent: #D7141B;          /* rosso Bieffe (bottoni, fasce) */
  --c-accent-dark-bg: #FF5A5F;  /* rosso leggibile su fondo scuro */
  --c-ink: #14181C;             /* testo e fasce scure */
  --c-ink-deep: #0C0F12;
  --c-bg: #F4F2EE;              /* fondo pagina */
  --c-white: #FFFFFF;
  --c-line: #D9D5CD;
  --c-line-dark: #2E353C;
  --c-muted: #5A6168;
  --c-body: #3A4046;
  --c-ph: #E4E0D8;              /* segnaposto foto */
  --c-on-dark: #F4F2EE;
  --c-on-dark-2: #C9C5BD;
  --c-on-dark-3: #9AA1A8;
  --c-open: #3FB950;

  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --gutter: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--c-ink); }
a:hover { color: var(--c-muted); }
h1, h2, h3, p { margin: 0; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto;
  clip: auto; background: var(--c-white); padding: 10px 14px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Tipografia ---------- */
.display {
  font-weight: 900;
  font-stretch: 70%;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: -0.01em;
  font-size: clamp(44px, 6.4vw, 76px);
}
.h2 {
  font-weight: 900;
  font-stretch: 72%;
  text-transform: uppercase;
  line-height: 1;
  font-size: clamp(34px, 4.2vw, 52px);
}
.h2--sm { font-size: clamp(28px, 3vw, 36px); }
.h3 { font-size: 22px; font-weight: 700; font-stretch: 85%; line-height: 1.2; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.muted { color: var(--c-muted); }
.lead { font-size: 19px; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  font: inherit; font-weight: 700; font-size: 16px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--accent { background: var(--c-accent); color: var(--c-white); }
.btn--accent:hover { background: #B30F15; color: var(--c-white); }
.btn--dark { background: var(--c-ink); color: var(--c-white); }
.btn--dark:hover { background: #2A3036; color: var(--c-white); }
.btn--outline { border-color: var(--c-ink); color: var(--c-ink); background: transparent; }
.btn--outline:hover { background: var(--c-ink); color: var(--c-white); }
.btn--outline-light { border-color: #5A6168; color: var(--c-on-dark); }
.btn--outline-light:hover { border-color: var(--c-on-dark); color: var(--c-white); }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Barra di servizio ---------- */
.topbar { background: var(--c-ink); color: #E9E6E0; font-size: 13px; }
.topbar .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 28px; padding-block: 10px;
}
.topbar a { color: #E9E6E0; text-decoration: none; }
.topbar a:hover { color: var(--c-white); }
.topbar__hours { display: flex; align-items: center; gap: 8px; }
.topbar__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-open); flex: none; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.topbar a.topbar__picchetto { color: var(--c-accent-dark-bg); font-weight: 600; }

/* ---------- Header ---------- */
.site-header { background: var(--c-white); border-bottom: 1px solid var(--c-line); position: relative; z-index: 20; }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 40px; padding-block: 18px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 64px; width: auto; }
.brand__tag {
  font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--c-muted);
  line-height: 1.3; border-left: 1px solid var(--c-line); padding-left: 14px; text-transform: uppercase;
}
.main-nav { display: flex; align-items: center; gap: 4px 28px; font-weight: 600; font-size: 16px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.main-nav a { text-decoration: none; display: inline-block; padding: 6px 0; }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a,
.main-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--c-accent); }
.main-nav .btn { padding: 12px 20px; }
.nav-toggle {
  display: none; min-height: 44px; min-width: 44px; padding: 0 12px;
  background: none; border: 1px solid var(--c-ink); font: inherit; font-weight: 700; cursor: pointer;
}

/* ---------- Hero pagine interne ---------- */
.page-hero { background: var(--c-ink); color: var(--c-on-dark); }
.page-hero .wrap {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 32px 64px; padding-block: 64px 72px;
}
.page-hero__title { flex: 1 1 560px; min-width: 0; }
.page-hero__intro { flex: 0 1 420px; color: var(--c-on-dark-2); font-size: 19px; display: flex; flex-direction: column; gap: 16px; }
.page-hero__intro a { color: var(--c-accent-dark-bg); font-weight: 700; text-decoration: none; }
.breadcrumb { margin-bottom: 18px; color: var(--c-on-dark-3); }
.breadcrumb a { color: var(--c-on-dark-3); }
.breadcrumb span { color: var(--c-accent-dark-bg); }
.breadcrumb--light { color: var(--c-muted); }
.breadcrumb--light a { color: var(--c-muted); }
.breadcrumb--light span { color: var(--c-accent); }

/* ---------- Home: hero ---------- */
.home-hero { background: var(--c-ink); color: var(--c-on-dark); }
.home-hero .wrap { display: flex; flex-wrap: wrap; align-items: stretch; gap: 48px; padding-top: 72px; }
.home-hero__text { flex: 1 1 480px; min-width: 0; padding-bottom: 72px; align-self: flex-end; }
.home-hero__text .eyebrow { color: var(--c-accent-dark-bg); margin-bottom: 20px; }
.home-hero__text .lead { margin-top: 28px; max-width: 520px; color: var(--c-on-dark-2); }
.home-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.home-hero__media {
  flex: 1 1 520px; min-width: 0; min-height: 460px; position: relative;
  background: #262C32 center / cover no-repeat;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
}
.home-hero__box {
  background: var(--c-ink); padding: 18px 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
}
.home-hero__box .label { color: var(--c-on-dark-3); font-weight: 600; font-size: 11.5px; }
.home-hero__box strong { display: block; font-size: 18px; }
.home-hero__box a { color: var(--c-accent-dark-bg); font-weight: 600; text-decoration: none; }

/* ---------- Home: fatti ---------- */
.facts { background: var(--c-accent); color: var(--c-white); }
.facts .wrap {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px 32px; padding-block: 28px;
}
.facts__value { font-weight: 900; font-stretch: 75%; font-size: 40px; line-height: 1; }
.facts__label { font-size: 15px; }

/* ---------- Sezioni generiche ---------- */
.section { padding-block: 104px 40px; }
.section--tight { padding-block: 72px 40px; }
.section--last { padding-bottom: 104px; }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px 48px; margin-bottom: 40px;
}
.section-head p { max-width: 460px; color: var(--c-muted); }
.dark { background: var(--c-ink); color: var(--c-on-dark); }
.dark a { color: var(--c-on-dark); }

/* ---------- Home: servizi (4 colonne) ---------- */
.svc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1px; background: var(--c-line); border: 1px solid var(--c-line);
}
.svc-grid__item { background: var(--c-white); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.svc-grid__item ul { margin: 0; padding-left: 18px; color: var(--c-body); font-size: 15.5px; display: flex; flex-direction: column; gap: 6px; }
.svc-grid__num { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--c-muted); }
.svc-grid__item--dark { background: var(--c-ink); color: var(--c-on-dark); }
.svc-grid__item--dark ul { color: var(--c-on-dark-2); }
.svc-grid__item--dark .svc-grid__num { color: var(--c-accent-dark-bg); }
.svc-grid__item h3 { font-size: 24px; font-weight: 700; font-stretch: 85%; }

/* ---------- Card veicolo ---------- */
.vehicle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.vcard { background: var(--c-white); border: 1px solid var(--c-line); display: flex; flex-direction: column; text-decoration: none; transition: border-color .15s; }
.vcard:hover { border-color: var(--c-ink); color: inherit; }
.vcard__img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: var(--c-ph); }
.vcard__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.tag { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; background: var(--c-ink); color: var(--c-on-dark); padding: 4px 8px; text-transform: uppercase; }
.tag--accent { background: var(--c-accent); color: var(--c-white); }
.vcard__spec { font-size: 14.5px; color: var(--c-muted); }
.vcard__data { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: 14px; border-top: 1px solid var(--c-line); padding-top: 12px; }
.vcard__data span { display: flex; flex-direction: column; }
.vcard__data small { color: var(--c-muted); font-size: 12px; }
.vcard__data b { font-weight: 600; }
.vcard__more { font-weight: 700; color: var(--c-accent); }

/* ---------- Novità Volvo ---------- */
.volvo-band { background: var(--c-ink); color: var(--c-on-dark); margin-top: 80px; }
.volvo-band .wrap { padding-block: 88px; }
.volvo-band .eyebrow { color: var(--c-accent-dark-bg); margin-bottom: 12px; }
.volvo-band .section-head a { color: var(--c-on-dark); font-weight: 600; }
.volvo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.vnews { color: var(--c-on-dark); text-decoration: none; display: flex; flex-direction: column; gap: 16px; }
.vnews:hover { color: var(--c-white); }
.vnews__img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; background: #262C32; }
.vnews__meta { font-size: 12px; color: var(--c-on-dark-3); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.vnews__title { font-size: 22px; font-weight: 700; font-stretch: 85%; line-height: 1.2; }

/* ---------- Notizie (elenco) ---------- */
.news-list { display: flex; flex-direction: column; border-top: 2px solid var(--c-ink); }
.news-row {
  text-decoration: none; display: flex; flex-wrap: wrap; gap: 8px 28px;
  padding: 24px 0; border-bottom: 1px solid var(--c-line); align-items: baseline;
}
.news-row:hover .news-row__title { text-decoration: underline; }
.news-row__date { flex: 0 0 140px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--c-muted); }
.news-row__date .label { color: var(--c-accent); }
.news-row__text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 4px; }
.news-row__title { font-size: 22px; font-weight: 700; font-stretch: 85%; }
.news-row__excerpt { color: var(--c-muted); font-size: 15.5px; }

.news-featured { display: flex; flex-wrap: wrap; background: var(--c-white); border: 1px solid var(--c-line); text-decoration: none; }
.news-featured__img { flex: 1 1 520px; min-height: 340px; background: var(--c-ph) center / cover no-repeat; }
.news-featured__body { flex: 1 1 420px; min-width: 0; padding: 40px 36px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.news-featured__title { font-size: 36px; line-height: 1.05; font-weight: 900; font-stretch: 72%; text-transform: uppercase; }

/* ---------- Home: notizie + chi siamo ---------- */
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split__main { flex: 999 1 560px; min-width: 0; }
.split__side { flex: 1 1 340px; min-width: 0; align-self: flex-start; }
.about-box { background: var(--c-white); border: 1px solid var(--c-line); padding: 36px 32px; display: flex; flex-direction: column; gap: 18px; }
.about-box h2 { font-size: 34px; line-height: 1.05; font-weight: 900; font-stretch: 75%; text-transform: uppercase; }
.about-box p { color: var(--c-body); }
.about-box img, .about-box .ph { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ---------- Social ---------- */
.social-links { display: flex; flex-wrap: wrap; gap: 12px; }
.social-links a { border: 1px solid var(--c-ink); text-decoration: none; font-weight: 600; padding: 12px 18px; min-height: 44px; display: inline-flex; align-items: center; gap: 10px; }
.social-links svg { width: 18px; height: 18px; }
.social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.social-grid img, .social-grid .ph { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; }

/* ---------- Contatti ---------- */
.contact-box { background: var(--c-white); border: 1px solid var(--c-line); display: flex; flex-wrap: wrap; }
.contact-box__body { flex: 999 1 560px; min-width: 0; padding: 48px 40px; display: flex; flex-direction: column; gap: 36px; }
.contact-box__map { flex: 1 1 380px; min-height: 360px; background: var(--c-ph); }
.contact-box__map iframe, .map-embed iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.info-grid .label { color: var(--c-muted); font-weight: 600; letter-spacing: .04em; }
.info-grid > div { display: flex; flex-direction: column; gap: 8px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 24px; font-size: 15.5px; margin: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; white-space: pre-line; }
.desks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
.desk { background: var(--c-white); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.desk .label { color: var(--c-muted); font-weight: 600; letter-spacing: .04em; }
.desk__phone { font-weight: 700; text-decoration: none; font-size: 18px; }
.desk__mail { font-size: 14.5px; color: var(--c-body); word-break: break-word; }
.desks--large .desk { padding: 28px 24px; gap: 8px; }
.desks--large .desk .label { color: var(--c-accent); font-weight: 700; }
.desks--large .desk__phone { font-size: 24px; font-weight: 800; font-stretch: 85%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-ink); color: var(--c-on-dark-2); font-size: 14.5px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; padding-block: 48px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 6px; }
.site-footer__brand strong { color: var(--c-on-dark); font-weight: 900; font-stretch: 80%; font-size: 20px; text-transform: uppercase; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--c-on-dark-2); }
.site-footer a:hover { color: var(--c-white); }

/* ---------- Pagina Servizi ---------- */
.subnav { background: var(--c-white); border-bottom: 1px solid var(--c-line); }
.subnav .wrap { display: flex; flex-wrap: wrap; gap: 0 36px; font-weight: 600; font-size: 15.5px; }
.subnav a { text-decoration: none; padding: 18px 0; display: inline-block; }
.svc-group { padding-block: 72px; border-bottom: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 36px; scroll-margin-top: 24px; }
.svc-group__head, .svc-group__body { display: flex; flex-wrap: wrap; gap: 16px 64px; }
.svc-group__head { align-items: flex-end; }
.svc-group__body { gap: 40px 64px; align-items: stretch; }
.svc-group__title { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.svc-group__title .eyebrow { color: var(--c-accent); }
.svc-group__head p { flex: 1 1 520px; min-width: 0; color: var(--c-body); }
.svc-group__img { flex: 1 1 380px; min-width: 0; min-height: 320px; background: var(--c-ph) center / cover no-repeat; }
.svc-list { flex: 1 1 520px; min-width: 0; list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--c-ink); align-self: flex-start; }
.svc-list li { display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 22px 0; border-bottom: 1px solid var(--c-line); align-items: baseline; }
.svc-list b { flex: 1 1 260px; font-size: 21px; font-weight: 700; font-stretch: 85%; }
.svc-list span { flex: 1 1 240px; color: var(--c-muted); font-size: 15.5px; }

.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
.partners > div { background: var(--c-white); min-height: 110px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; padding: 16px; text-align: center; }
.partners b { font-size: 20px; font-weight: 800; font-stretch: 85%; }
.partners span { font-size: 13px; color: var(--c-muted); }
.partners > div { gap: 10px; }
.partners img { max-height: 56px; max-width: 80%; width: auto; height: auto; object-fit: contain; }

.band-accent { background: var(--c-accent); color: var(--c-white); scroll-margin-top: 24px; }
.band-accent .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 64px; padding-block: 64px; }
.band-accent__title { flex: 1 1 520px; min-width: 0; }
.band-accent__title .display { font-size: clamp(40px, 5vw, 56px); }
.band-accent__cta { flex: 0 1 340px; display: flex; flex-direction: column; gap: 12px; text-align: center; }
.band-accent__cta .btn { font-size: 24px; font-weight: 800; min-height: 64px; }

.cta-box { background: var(--c-white); border: 1px solid var(--c-line); padding: 48px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-box > div:first-child { flex: 1 1 480px; min-width: 0; }
.cta-box h2 { margin-bottom: 10px; }
.cta-box .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Veicoli ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-bottom: 24px; border-bottom: 1px solid var(--c-line); }
.filters__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 44px; padding: 10px 20px; font: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer; border: 1px solid var(--c-ink); background: var(--c-white); color: var(--c-ink); }
.filters button[aria-pressed="true"] { background: var(--c-ink); color: var(--c-white); }
.dark-cols { display: flex; flex-wrap: wrap; gap: 32px 56px; padding-block: 80px; }
.dark-cols > div { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; border-top: 2px solid #4A525A; padding-top: 24px; }
.dark-cols > div:first-child { border-top-color: var(--c-accent-dark-bg); }
.dark-cols h2 { font-size: 34px; }
.dark-cols p { color: var(--c-on-dark-2); }
.dark-cols a { font-weight: 700; text-decoration: none; }
.empty-note { padding: 40px; background: var(--c-white); border: 1px dashed var(--c-line); color: var(--c-muted); }

/* ---------- Dettaglio veicolo ---------- */
.vehicle-top { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; padding-block: 28px 64px; }
.gallery { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery__main { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; background: var(--c-ph); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
.gallery__thumbs button { aspect-ratio: 4 / 3; padding: 0; border: 1px solid var(--c-line); background: var(--c-ph); cursor: pointer; overflow: hidden; }
.gallery__thumbs button[aria-current="true"] { border: 2px solid var(--c-ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-box { flex: 1 1 380px; min-width: 0; background: var(--c-white); border: 1px solid var(--c-line); padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; }
.vehicle-box h1 { font-size: 44px; line-height: 1; font-weight: 900; font-stretch: 72%; text-transform: uppercase; }
.vehicle-box__price { font-size: 32px; font-weight: 800; font-stretch: 85%; }
.vehicle-box__price small { font-size: 15px; font-weight: 500; color: var(--c-muted); }
.keyspecs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
.keyspecs div { background: var(--c-white); padding: 12px 14px; display: flex; flex-direction: column; }
.keyspecs small { font-size: 12px; color: var(--c-muted); }
.keyspecs b { font-weight: 700; }
.vehicle-box .btn { width: 100%; }
.vehicle-bottom { display: flex; flex-wrap: wrap; gap: 48px 56px; padding-bottom: 72px; }
.vehicle-bottom__main { flex: 999 1 600px; min-width: 0; }
.specs { margin: 0; border-top: 2px solid var(--c-ink); }
.specs div { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.specs dt { flex: 0 0 220px; color: var(--c-muted); }
.specs dd { margin: 0; font-weight: 600; }
.entry { color: var(--c-body); }
.entry > * + * { margin-top: 1em; }
.entry a { color: var(--c-accent); }

/* ---------- Form ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.form--dark { background: var(--c-ink); color: var(--c-on-dark); padding: 32px 28px; flex: 1 1 380px; min-width: 0; align-self: flex-start; gap: 16px; }
.form--light { background: var(--c-white); border: 1px solid var(--c-line); padding: 40px 36px; }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea {
  min-height: 44px; padding: 10px 12px; font: inherit; font-weight: 400; font-size: 16px;
  border: 1px solid #B9B4AA; background: var(--c-white); color: var(--c-ink); border-radius: 0;
}
.form--dark input, .form--dark textarea { border: 0; background: var(--c-bg); }
.form textarea { resize: vertical; }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14.5px; }
.form .check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; }
.form .btn { align-self: flex-start; }
.form--dark .btn { align-self: stretch; }
.form__hp { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; font-weight: 600; }
.notice--ok { background: #E6F4EA; color: #1E6B34; }
.notice--err { background: #FCE8E8; color: #9B1C1C; }

/* ---------- Chi siamo ---------- */
.about-hero .wrap { align-items: flex-end; padding-bottom: 0; }
.about-hero__text { flex: 1 1 480px; min-width: 0; padding-bottom: 72px; }
.about-hero__img { flex: 1 1 480px; min-width: 0; min-height: 420px; background: #262C32 center / cover no-repeat; }
.story { display: flex; flex-wrap: wrap; gap: 40px 72px; padding-block: 96px 88px; }
.story h2 { flex: 1 1 360px; }
.story .entry { flex: 999 1 560px; min-width: 0; font-size: 18px; }
.team { background: var(--c-white); border-block: 1px solid var(--c-line); }
.team .wrap { padding-block: 88px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 32px 24px; }
.person { display: flex; flex-direction: column; gap: 12px; }
.person img, .person .ph { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.person b { font-size: 20px; font-weight: 700; font-stretch: 85%; display: block; }
.person span { color: var(--c-muted); font-size: 15px; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
.values > div { background: var(--c-bg); padding: 36px 28px; display: flex; flex-direction: column; gap: 12px; }
.values b { font-size: 26px; font-weight: 900; font-stretch: 75%; text-transform: uppercase; }
.values span { color: var(--c-body); }

/* ---------- Contatti (pagina) ---------- */
.contact-layout { display: flex; flex-wrap: wrap; gap: 40px 56px; padding-block: 40px 72px; }
.contact-layout .form { flex: 999 1 600px; min-width: 0; }
.contact-layout aside { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.panel { background: var(--c-white); border: 1px solid var(--c-line); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.panel--dark { background: var(--c-ink); color: var(--c-on-dark); border: 0; }
.panel .label { color: var(--c-accent); }
.panel--dark .label { color: var(--c-accent-dark-bg); }
.hours-list { margin: 0; display: flex; flex-direction: column; }
.hours-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.hours-list dt { font-weight: 600; }
.hours-list dd { margin: 0; text-align: right; white-space: pre-line; }
.map-embed { min-height: 420px; background: var(--c-ph); border: 1px solid var(--c-line); }
.map-embed iframe { min-height: 420px; }

/* ---------- Pagina e articolo generici ---------- */
.article { max-width: 760px; padding-block: 64px 104px; }
.article__img { margin-bottom: 32px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.pagination { display: flex; gap: 8px; margin-top: 28px; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--c-line); text-decoration: none; font-weight: 700; padding-inline: 10px; }
.pagination .current { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }

/* Segnaposto foto quando manca un'immagine */
.ph { background: var(--c-ph); }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
  .main-nav .btn { margin-top: 16px; }
  .brand img { height: 52px; }
  .home-hero__media { min-height: 300px; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .brand__tag { display: none; }
  .section { padding-block: 64px 24px; }
  .contact-box__body, .cta-box, .form--light { padding: 28px 20px; }
  .news-featured__body { padding: 28px 20px; }
  .specs dt { flex-basis: 100%; }
  .news-row__date { flex-basis: 100%; flex-direction: row; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
