/* Landing principale: identita editoriale ad alto contrasto e due servizi di pari peso. */
@font-face { font-family: "Plex Sans"; src: url("fonts/IBMPlexSans-Regular.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("fonts/IBMPlexSans-Bold.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Plex Condensed"; src: url("fonts/IBMPlexSansCondensed-SemiBold.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }

:root { --ink:#111614; --ink-2:#242b28; --paper:#f0f2ef; --white:#fff; --line:#cbd2cc; --red:#c7232c; --red-dark:#a81720; --green:#236347; --green-dark:#194d37; --muted:#48564e; --width:1280px; --control-radius:8px; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:var(--white); font:16px/1.55 "Plex Sans", "Segoe UI", sans-serif; }
button, input, select, textarea { font:inherit; }
button { cursor:pointer; }
img { display:block; max-width:100%; }
a { color:inherit; }
h1, h2, h3, p, figure, blockquote { margin:0; }
h1, h2, h3 { font-weight:600; letter-spacing:0; }
h1, h2, h3, .service-code, .opening-rail, .method-steps strong { font-family:"Plex Condensed", "Plex Sans", sans-serif; }
h2 { font-size:clamp(38px, 4.5vw, 66px); line-height:1.02; }
h3 { font-size:clamp(26px, 2.3vw, 35px); line-height:1.08; }
p { max-width:69ch; }
::selection { color:var(--white); background:var(--red); }
*:focus-visible { outline:3px solid var(--red); outline-offset:4px; }
.shell { width:min(var(--width), calc(100% - 88px)); margin-inline:auto; }
.section { padding:110px 0; scroll-margin-top:80px; }
.skip-link { position:fixed; top:-70px; left:12px; z-index:100; padding:10px 14px; color:#fff; background:var(--ink); }
.skip-link:focus { top:10px; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:18px; min-height:56px; padding:14px 23px; border:0; border-radius:0; text-decoration:none; font-weight:700; font-size:15px; line-height:1.2; transition:background .18s ease, color .18s ease; border-radius: 10px; }
.button--red { background:var(--red); color:#fff; }
.button--red:hover { background:var(--red-dark); }
.button--dark { background:var(--ink); color:#fff; }
.button--dark:hover { background:#3b4940; }
.button--outline { background:transparent; color:#fff; border:1px solid #aab7ad; }
.button--outline:hover { background:#fff; color:var(--ink); }
.button:disabled { cursor:wait; opacity:.68; }
.text-link { display:inline-flex; align-items:center; gap:5px; padding-bottom:5px; border-bottom:2px solid currentColor; font-weight:700; text-decoration:none; }
.text-link:hover { color:var(--red); }
/* Dimensioni fisse per gli SVG Lucide: colore ereditato e nessun restringimento nei link. */
.icon { display:block; width:20px; height:20px; flex:0 0 auto; }

.site-header { position:relative; z-index:20; height:78px; background:#fff; }
.header-inner { display:flex; align-items:center; gap:30px; height:100%; }
.brand { width:190px; flex:none; }
.brand img { width:100%; height:auto; }
.main-nav { display:flex; gap:27px; margin-left:auto; }
.main-nav a { font-size:13px; font-weight:700; text-decoration:none; white-space:nowrap; }
.main-nav a:hover { color:var(--red); }
.header-cta { display:flex; align-items:center; justify-content:center; gap:5px; min-height:42px; padding:8px 15px; background:var(--red); color:#fff; font-size:13px; font-weight:700; text-align:center; text-decoration:none; border-radius: 7px; }
.header-cta:hover { background:var(--red-dark); }
.menu-toggle { display:none; border-radius: 7px; }
.menu-toggle .icon { width:24px; height:24px; }
.menu-toggle:hover { background:var(--paper); }

/* Il primo viewport e un manifesto sopra una scena di lavoro, non un catalogo di benefici. */
.hero { position:relative; min-height:595px; height:min(70svh, 740px); overflow:hidden; background:#171d1a; color:#fff; }
.hero-photo, .hero-veil { position:absolute; inset:0; }
.hero-photo { background:url("img/officina-v5.png") 58% center / cover no-repeat; }
.hero-veil { background:linear-gradient(90deg, rgba(6,10,8,.94) 0%, rgba(6,10,8,.8) 38%, rgba(6,10,8,.18) 73%, rgba(6,10,8,.06) 100%); }
.hero-inner { position:relative; display:flex; flex-direction:column; justify-content:center; min-height:100%; }
.hero-copy { max-width:810px; padding:38px 0 52px; }
.hero h1 { max-width:860px; font-size:clamp(58px, 6.8vw, 100px); line-height:.96; text-wrap:balance; }
.hero h1 span { color:#ff5a61; }
.hero-copy p { max-width:560px; margin-top:29px; color:#f1f4f0; font-size:18px; }
.hero .button { margin-top:30px; }
.hero-audience { position:absolute; bottom:22px; left:0; color:#f1f4f0; font-size:12px; font-weight:700; }
.hero :focus-visible { outline-color:#fff; }
.opening-rail { background:#fff; color:var(--ink); border-bottom:1px solid var(--line); }
.opening-rail-inner { display:grid; grid-template-columns:1fr 1fr; }
.opening-rail a { display:grid; align-content:center; gap:3px; min-height:86px; padding:16px 32px; border-bottom:4px solid var(--red); text-decoration:none; }
.opening-rail a + a { border-left:1px solid var(--line); border-bottom-color:var(--green); }
.opening-rail a:hover { background:var(--paper); }
.opening-rail strong { font:600 22px/1.1 "Plex Condensed",sans-serif; }
.opening-rail span { color:var(--muted); font:400 13px/1.35 "Plex Sans",sans-serif; }

.intro { background:#fff; }
.intro-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:10%; align-items:end; }
.intro h2 { max-width:760px; }
.intro p { color:var(--muted); font-size:18px; }
.intro .text-link { margin-top:24px; }

.services { padding:96px 0 31px; background:var(--paper); scroll-margin-top:80px; }
.services-heading { display:grid; grid-template-columns:1.2fr .8fr; gap:8%; align-items:end; margin-bottom:50px; }
.services-heading h2 { max-width:900px; }
.services-heading h2 span { color:var(--red); }
.services-heading p { color:var(--muted); font-size:17px; }
.service-pair { display:grid; grid-template-columns:1fr 1fr; }
.service { min-width:0; color:#fff; }
.service--performance { background:var(--red); }
.service--support { background:var(--green); }
.service-inner { width:min(640px, calc(100% - 88px)); min-height:570px; padding:53px 0 56px; display:flex; flex-direction:column; }
.service--performance .service-inner { margin-left:auto; padding-right:56px; }
.service--support .service-inner { margin-right:auto; padding-left:56px; }
.service-code { display:block; font-size:15px; font-weight:600; text-transform:uppercase; }
.service h3 { max-width:550px; margin-top:47px; font-size:clamp(42px, 3.9vw, 62px); }
.service p { margin-top:19px; max-width:570px; font-size:17px; }
.service ul { list-style:none; padding:0; margin:30px 0 33px; }
.service li { padding:10px 0; border-top:1px solid rgba(255,255,255,.48); font-size:15px; }
.service a { display:inline-flex; width:fit-content; align-items:center; gap:5px; margin-top:auto; padding-bottom:5px; border-bottom:2px solid #fff; text-decoration:none; font-weight:700; }
.service a:hover { color:#e8f0e7; }
.service :focus-visible { outline-color:#fff; }
.compliance-note { padding-top:19px; color:var(--muted); font-size:12px; }

.method { background:var(--ink); color:#fff; }
.method-heading { display:grid; grid-template-columns:1.15fr .85fr; gap:10%; align-items:end; }
.method-heading p { color:#d5ded7; font-size:17px; }
.method-steps { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:36px; list-style:none; padding:0; margin:75px 0 46px; counter-reset:step; }
.method-steps li { position:relative; border-top:1px solid #718077; padding-top:24px; }
.method-steps li:before { counter-increment:step; content:"0" counter(step); position:absolute; top:16px; right:0; color:#ef5960; font:600 31px/1 "Plex Condensed",sans-serif; }
.method-steps strong { display:block; color:#f37c7f; font-size:14px; text-transform:uppercase; }
.method-steps h3 { margin-top:39px; }
.method-steps p { margin-top:15px; color:#d5ded7; font-size:15px; }
.method :focus-visible { outline-color:#fff; }

.tools { background:#fff; }
.tools-layout { display:grid; grid-template-columns:.9fr 1.1fr; gap:10%; }
.tools-copy h2 { max-width:550px; }
.tools-copy p { margin-top:25px; color:var(--muted); font-size:17px; }
.tools-copy .text-link { margin-top:30px; }
.tool-list { border-top:2px solid var(--ink); }
.tool-list figure { display:grid; grid-template-columns:150px 1fr; align-items:center; gap:27px; min-height:180px; padding:20px 0; border-bottom:1px solid var(--line); }
.tool-list img { width:150px; height:120px; object-fit:contain; }
.tool-list strong { display:block; font:600 32px/1.1 "Plex Condensed",sans-serif; }
.tool-list figcaption span { display:block; margin-top:7px; color:var(--muted); font-size:14px; }

.scenarios { background:var(--paper); }
.scenarios-head { display:grid; grid-template-columns:1fr; }
.scenario-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:36px; margin-top:48px; }
.scenario-list article { border-top:2px solid var(--ink); padding-top:18px; }
.scenario-list span { display:block; color:var(--red-dark); font-size:13px; font-weight:700; }
.scenario-list h3 { margin-top:21px; font-size:30px; }
.scenario-list p { margin-top:15px; color:var(--muted); font-size:15px; }

.search { background:#e5ede5; }
.search-layout { display:grid; grid-template-columns:.75fr 1.25fr; gap:10%; }
.search-copy p { margin-top:24px; color:var(--muted); font-size:17px; }
.search-form, .contact-form { border-top:2px solid var(--ink); padding-top:22px; }
.search-fields, .contact-fields { display:grid; grid-template-columns:1fr 1fr; gap:20px 22px; }
.field label { display:block; margin-bottom:6px; font-size:13px; font-weight:700; }
.field input, .field select, .field textarea { display:block; width:100%; min-width:0; min-height:51px; padding:11px 13px; border:1px solid #8e9c91; border-radius:var(--control-radius); outline:none; background:#fff; color:var(--ink); }
.field textarea { min-height:105px; resize:vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color:var(--green); outline:2px solid var(--green); outline-offset:1px; }
.field select:disabled { color:#52645a; background:#eff2ee; cursor:not-allowed; }
.field--wide { grid-column:1/-1; }
.search-field { position:relative; }
.search-field select { padding-right:40px; }
.field-status { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.search-field.is-loading::after { content:""; position:absolute; right:14px; bottom:17px; width:14px; height:14px; border:2px solid rgba(56,142,60,.25); border-top-color:var(--green-dark); border-radius:50%; animation:catalog-spin .7s linear infinite; pointer-events:none; }
@keyframes catalog-spin { to { transform:rotate(360deg); } }
.catalog-result { grid-column:1/-1; margin-top:34px; padding-top:27px; border-top:1px solid #88a98f; }
.catalog-error strong { display:block; font-size:18px; }
.catalog-error p { max-width:62ch; margin-top:5px; color:var(--muted); }
.catalog-retry { min-height:44px; margin-top:14px; padding:8px 18px; border:1px solid var(--ink); background:transparent; color:var(--ink); font-weight:700; cursor:pointer; }
.catalog-retry:hover { color:#fff; background:var(--ink); }
.result-heading {}
.result-heading h3 { font-size:38px; }
.result-path { padding-top:7px; color:var(--green-dark); font-weight:700; }
.vehicle-details { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin:28px 0 0; padding:18px 0; border-top:1px solid #a5b5a8; border-bottom:1px solid #a5b5a8; }
.vehicle-details dt { color:var(--muted); font-size:12px; font-weight:700; }
.vehicle-details dd { margin:4px 0 0; font-weight:700; }
.performance-result { margin-top:31px; }
.performance-result h4 { font:600 27px/1.1 "Plex Condensed",sans-serif; }
.stage-switcher { display:inline-flex; margin-top:15px; overflow:hidden; border:1px solid #718579; border-radius:var(--control-radius); }
.stage-switcher button { min-width:96px; min-height:42px; padding:8px 18px; border:0; border-right:1px solid #718579; background:transparent; color:var(--ink); font-weight:700; cursor:pointer; }
.stage-switcher button:last-child { border-right:0; }
.stage-switcher button[aria-pressed="true"] { color:#fff; background:var(--green-dark); }
.performance-metrics { display:flex; flex-wrap:wrap; gap:18px 44px; margin:24px 0 0; }
.performance-metrics > div { display:grid; grid-template-columns:auto auto; gap:1px 16px; }
.performance-metrics dt { grid-column:1/-1; color:var(--muted); font-size:12px; font-weight:700; }
.performance-metrics dd { display:flex; align-items:baseline; gap:5px; margin:0; font-size:18px; font-weight:700; font-variant-numeric:tabular-nums; white-space:nowrap; }
.performance-arrow { font-weight:700; }
.performance-increase { align-self:center; margin:0; font-size:13px; font-weight:700; font-variant-numeric:tabular-nums; }
.performance-metric--power .performance-increase { color:#1f5fbf; }
.performance-metric--torque .performance-increase { color:var(--red); }
.performance-chart { width:min(100%,920px); min-width:0; margin:25px 0 0; }
.performance-chart figcaption { font-size:13px; font-weight:700; }
.performance-chart svg { display:block; width:100%; height:auto; margin-top:7px; overflow:visible; background: white; border-radius: 10px;}
.chart-grid { stroke:#bac7bc; stroke-width:1; }
.chart-axis { font:600 11px/1 "Plex Sans",sans-serif; font-variant-numeric:tabular-nums; }
.chart-axis--power { fill:#6f8fbd; }
.chart-axis--torque { fill:#bd7479; }
.chart-unit { font:700 12px/1 "Plex Sans",sans-serif; }
.chart-unit--power { fill:#6f8fbd; }
.chart-unit--torque { fill:#bd7479; }
.chart-line { fill:none; stroke-linecap:round; stroke-linejoin:round; vector-effect:non-scaling-stroke; }
.chart-line--original { stroke-width:2; stroke-dasharray:8 7; }
.chart-line--modified { stroke-width:2.25; }
.chart-line--power-original { stroke:#6f8fbd; }
.chart-line--power-modified { stroke:#1f5fbf; }
.chart-line--torque-original { stroke:#bd7479; }
.chart-line--torque-modified { stroke:var(--red); }
.chart-legend { display:flex; flex-wrap:wrap; gap:8px 22px; margin-top:7px; color:var(--muted); font-size:12px; font-weight:700; }
.chart-legend span::before { content:""; display:inline-block; width:20px; height:0; margin-right:7px; border-top:3px solid #6b756f; vertical-align:middle; }
.chart-legend .legend-power-original::before { border-top-color:#6f8fbd; border-top-style:dashed; }
.chart-legend .legend-torque-original::before { border-top-color:#bd7479; border-top-style:dashed; }
.chart-legend .legend-power-modified::before { border-top-color:#1f5fbf; }
.chart-legend .legend-torque-modified::before { border-top-color:var(--red); }
.curve-note, .catalog-date { color:var(--muted); font-size:12px; }
.curve-note { margin-top:17px; max-width: initial; }
.catalog-date { margin-top:20px; }
.performance-unavailable { margin-top:15px; color:var(--muted); }
.catalog-contact-link { display:inline-flex; align-items:center; gap:9px; min-height:44px; margin-top:14px; color:var(--green-dark); font-weight:700; }
.catalog-contact-link .icon { flex:none; transition:transform .2s ease-out; }
.catalog-contact-link:hover .icon { transform:translate(3px,3px); }

.fit { background:#fff; }
.fit-layout { display:grid; grid-template-columns:.8fr 1.2fr; gap:10%; }
.fit-columns { display:grid; grid-template-columns:1fr 1fr; gap:35px; }
.fit-columns > div { border-top:2px solid var(--ink); padding-top:15px; }
.fit-columns h3 { font-size:26px; }
.fit-columns ul { list-style:none; padding:0; margin:18px 0 0; }
.fit-columns li { border-top:1px solid var(--line); padding:12px 0; color:var(--muted); font-size:15px; }

.contact { background:#e6e9e5; }
.contact-layout { display:grid; grid-template-columns:.75fr 1.25fr; gap:9%; }
.contact-copy p { margin-top:24px; color:var(--muted); font-size:17px; }
.contact-copy .contact-disclaimer { margin-top:39px; padding-top:17px; border-top:1px solid #afbbb0; font-size:13px; font-weight:700; }
.contact-trap { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.privacy-consent { grid-column:1/-1; display:flex; align-items:flex-start; gap:11px; color:var(--muted); font-size:13px; line-height:1.45; }
.privacy-consent input { flex:0 0 20px; width:20px; height:20px; margin:1px 0 0; accent-color:var(--green-dark); }
.privacy-consent a { color:var(--green-dark); font-weight:700; text-underline-offset:3px; }
.privacy-consent input:focus-visible { outline:2px solid var(--green); outline-offset:3px; }
.vehicle-context { margin-top:18px; color:var(--green-dark); font-size:13px; font-weight:700; }
.form-actions { display:flex; align-items:end; justify-content:space-between; gap:25px; margin-top:26px; }
.form-actions p { color:var(--muted); font-size:12px; }
.form-feedback { margin-top:20px; padding:15px 17px; background:#d3e7d8; color:#164d2d; font-weight:700; }
.form-feedback.is-error { background:#f2d8da; color:#7b171d; }
.form-feedback:focus { outline:2px solid currentColor; outline-offset:3px; }

/* Toni piu chiari limitati al footer, con contrasto del testo sopra 4.5:1 sul bianco. */
.site-footer { --footer-ink:#626b66; --footer-muted:#707570; --footer-line:#e4e7e4; border-top:1px solid var(--footer-line); color:var(--footer-muted); background:#fff; }
/* La colonna societaria piu ampia accorpa i dati, che restano liberi di andare a capo. */
.footer-main { display:grid; grid-template-columns:.9fr 1.8fr 1fr; align-items:start; gap:24px; padding:20px 0 16px; font-size:12px; line-height:1.5; }
.footer-main > div { min-width:0; }
.footer-logo { display:block; width:140px; max-width:100%; }
.footer-logo img { width:100%; height:auto; }
.footer-brand p { max-width:29ch; margin-top:8px; color:var(--footer-muted); font-size:12px; }
.footer-title { color:var(--footer-ink); font:700 14px/1.4 "Plex Sans",sans-serif; }
.footer-subtitle { color:var(--footer-muted); font-size:12px; font-weight:400; }
.footer-company address { margin-top:6px; font-style:normal; }
.footer-address-label { color:var(--footer-muted); }
.footer-company-data { display:grid; gap:2px; margin:6px 0 0; }
.footer-company-data > div { display:flex; flex-wrap:wrap; gap:0 5px; }
.footer-company-data dt { color:var(--footer-muted); }
.footer-company-data dd { margin:0 10px 0 0; }
.footer-company-data dd:last-child { margin-right:0; }
.footer-contact { display:flex; flex-direction:column; align-items:flex-start; }
.footer-contact .footer-title { margin-bottom:2px; }
.footer-contact a { display:inline-flex; align-items:center; min-height:30px; max-width:100%; overflow-wrap:anywhere; font-size:12px; text-underline-offset:4px; }
.footer-contact .footer-official { margin-top:0; color:var(--footer-ink); font-weight:700; }
.site-footer a:hover { color:var(--red-dark); }
.footer-meta { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 20px; padding:8px 0 6px; border-top:1px solid var(--footer-line); color:var(--footer-muted); font-size:11px; }
.footer-meta p { max-width:none; }
.footer-meta a { display:inline-flex; align-items:center; min-height:32px; font-size:12px; text-underline-offset:4px; }

@media (max-width:1100px) {
  .shell { width:calc(100% - 60px); }
  .header-inner { gap:17px; }
  .brand { width:170px; }
  .main-nav { gap:16px; }
  .hero h1 { font-size:clamp(55px, 7.2vw, 82px); }
  .service-inner { width:calc(100% - 60px); }
  .service--performance .service-inner { padding-right:30px; }
  .service--support .service-inner { padding-left:30px; }
}

@media (max-width:850px) {
  .site-header { height:70px; }
  .brand { width:156px; }
  .menu-toggle { display:inline-flex; align-items:center; align-self:center; justify-content:center; flex:0 0 44px; width:44px; height:44px; min-width:44px; min-height:44px; margin-left:auto; padding:0; appearance:none; border:0; background:transparent; color:var(--ink); line-height:1; }
  .main-nav { display:none; position:absolute; top:69px; left:0; right:0; padding:12px 30px 17px; background:#fff; box-shadow:0 12px 20px rgba(0,0,0,.14); }
  .main-nav.is-open { display:grid; gap:0; }
  .main-nav a { padding:11px 0; border-bottom:1px solid var(--line); }
  .header-cta { font-size:12px; }
  .section { padding:80px 0; }
  .services { padding-top:80px; }
  .intro-grid, .services-heading, .method-heading, .scenarios-head, .tools-layout, .search-layout, .fit-layout, .contact-layout { grid-template-columns:1fr; gap:30px; }
  .intro h2, .method-heading h2 { max-width:700px; }
  .service-inner { min-height:640px; }
  .service h3 { font-size:45px; }
  .method-steps { gap:22px; }
  .footer-main { grid-template-columns:1.6fr 1fr; gap:16px 20px; }
  .footer-brand { grid-column:1/-1; }
  .footer-contact a { min-height:44px; }
  .footer-meta a { min-height:44px; }
  .result-heading { grid-template-columns:1fr; gap:12px; }
  .result-heading h3 { max-width:none; }
}

@media (max-width:620px) {
  body { font-size:15px; }
  .shell { width:calc(100% - 36px); }
  .site-header { height:64px; }
  .brand { width:126px; }
  .main-nav { top:63px; padding-inline:18px; }
  .header-cta { max-width:113px; min-height:42px; padding:5px 8px; font-size:12px; line-height:1.15; }
  .hero { height:min(77svh, 670px); min-height:580px; }
  .hero-photo { background-position:88% center; }
  .hero-veil { background:linear-gradient(90deg, rgba(6,10,8,.53), rgba(6,10,8,.5)), linear-gradient(0deg, rgba(6,10,8,.55), transparent 65%); }
  .hero-copy { padding:25px 0 70px; }
  .hero h1 { font-size:clamp(44px, 12vw, 62px); line-height:.98; }
  .hero-copy p { margin-top:22px; font-size:16px; }
  .hero .button { margin-top:23px; }
  .hero-audience { bottom:14px; font-size:12px; }
  .opening-rail a { min-height:78px; padding:13px 11px; }
  .opening-rail strong { font-size:17px; }
  .opening-rail span { font-size:12px; }
  .section { padding:70px 0; scroll-margin-top:65px; }
  h2 { font-size:clamp(39px, 10vw, 54px); }
  .intro p, .services-heading p, .method-heading p, .tools-copy p, .search-copy p, .contact-copy p { font-size:16px; }
  .services { padding-top:68px; }
  .services-heading { margin-bottom:32px; }
  .service-pair { grid-template-columns:1fr; }
  .service-inner { width:calc(100% - 36px); min-height:0; padding:38px 0 42px !important; margin-inline:auto !important; }
  .service h3 { margin-top:30px; font-size:clamp(42px, 11vw, 56px); }
  .service p { font-size:16px; }
  .service ul { margin:25px 0 30px; }
  .compliance-note { font-size:12px; }
  .method-steps { grid-template-columns:1fr; gap:28px; margin:47px 0 40px; }
  .method-steps h3 { margin-top:22px; }
  .tool-list figure { grid-template-columns:110px 1fr; gap:15px; min-height:135px; }
  .tool-list img { width:110px; height:90px; }
  .tool-list strong { font-size:25px; }
  .scenario-list { grid-template-columns:1fr; gap:27px; margin-top:34px; }
  .scenario-list h3 { margin-top:12px; font-size:27px; }
  .search-fields, .contact-fields { grid-template-columns:1fr; gap:16px; }
  .catalog-result { margin-top:26px; padding-top:23px; }
  .result-heading h3 { font-size:33px; }
  .vehicle-details { grid-template-columns:1fr 1fr; }
  .performance-metrics { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:14px; }
  .performance-metrics > div { grid-template-columns:1fr; row-gap:2px; min-width:0; }
  .performance-metrics dt { grid-column:1; }
  .performance-metrics dd { font-size:17px; line-height:1.3; }
  .performance-increase { display:block; line-height:1.3; }
  .chart-legend { gap:7px 15px; }
  .stage-switcher { width:100%; }
  .stage-switcher button { flex:1; }
  .field--wide { grid-column:auto; }
  .fit-columns { grid-template-columns:1fr; gap:26px; }
  .form-actions { align-items:start; flex-direction:column; gap:12px; }
  .footer-main { grid-template-columns:minmax(0,1fr); gap:16px; padding:18px 0 12px; }
  .footer-brand { grid-column:auto; }
  /* Email e telefono condividono una riga quando c'e spazio, mantenendo bersagli touch da 44px. */
  .footer-contact { flex-direction:row; flex-wrap:wrap; column-gap:14px; }
  .footer-contact .footer-title { width:100%; }
  .footer-meta { align-items:flex-start; flex-direction:column; gap:4px; }
}

@media (prefers-reduced-motion:reduce) {
  .search-field.is-loading::after { animation-duration:1.6s; }
  .catalog-contact-link .icon { transition:none; }
}

@media (max-width:390px) {
  /* Il pulsante da 44px deve convivere con logo e CTA anche su schermi da 320px. */
  .header-inner { gap:8px; }
  .opening-rail span { display:none; }
  .opening-rail a { min-height:61px; }
  .hero h1 { font-size:42px; }
  .hero .button { width:100%; font-size:13px; gap:9px; }
  .service h3 { font-size:40px; }
  .performance-metrics dd { gap:4px; font-size:16px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .button { transition:none; } }
