/* Home-only presentation: keep the existing engineering imagery as scenery. */
body.home-page {
    margin: 0; padding: 24px 16px; color: #132c45;
    background-color: #061b31;
    background-image: linear-gradient(180deg, #04172d66, #04172dbb), url('/Immagini/backgroundimage/ground.png'), url('/Immagini/backgroundimage/oil_and gas.png'), url('/Immagini/backgroundimage/navy.png'), url('/Immagini/backgroundimage/oil_desert.png');
    background-size: 100% 100%, 100% auto, 100% auto, 100% auto, 100% auto;
    background-position: center, center top, center 33%, center 66%, center bottom;
    background-repeat: no-repeat;
}
.home-page #contenitore { width: min(1180px, 100%); box-sizing: border-box; background: #f5f9fcef; border: 1px solid #8eb1cc66; box-shadow: 0 24px 90px #0008; border-radius: 16px; overflow: hidden; }
.home-page #intestazionelogo { border: 0; padding: 20px; }
.home-page #toplogo { width: min(850px, 100%) !important; height: auto; }
.home-page .menuNavigazione { display: flex; flex-wrap: wrap; justify-content: center; height: auto; background: #092d50; padding: 8px; }
.home-page .menuNavigazione li { float: none; border: 0; }
.home-page .menuNavigazione li:first-child { display: none; }
.home-page .menuNavigazione a { float: none; display: block; background: transparent; border-radius: 5px; padding: 8px 12px; width: auto; min-width: 100px; }
.home-page .menuNavigazione a:hover, .home-page .menuNavigazione a:focus-visible { background: #245a80; }
.home-page #contenuto { width: auto; min-width: 0; max-width: none; padding: 24px; border: 0; line-height: 1.7; }
.home-page #sidebar { width: 110px; background: #dae6eeaa; border: 0; }
.home-showcase { padding: clamp(20px, 4vw, 40px); margin-bottom: 28px; border-radius: 12px; color: #fff; background: radial-gradient(ellipse at top right, #17618d99, transparent 65%), #062541; box-shadow: 0 14px 30px #082c4326; }
.home-showcase .eyebrow { color: #9bd9f4; text-transform: uppercase; letter-spacing: .2em; font-size: 11px; font-weight: bold; }
.home-showcase h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; margin: 12px 0; color: white; }
.home-showcase > p { max-width: 640px; color: #d4e6f3; }
.home-blueprints { display: grid; grid-template-columns: 1.45fr 1fr; gap: 20px; align-items: center; margin-top: 26px; }
.home-blueprints figure { margin: 0; min-width: 0; }
.home-blueprints a { display: block; border: 1px solid #90c5e177; border-radius: 7px; overflow: hidden; box-shadow: 0 12px 25px #0005; transition: transform .2s; }
.home-blueprints a:hover { transform: translateY(-4px); }
.home-blueprints a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.home-blueprints img { display: block; width: 100%; height: auto; }
.home-blueprints figcaption { padding-top: 12px; font-size: 13px; color: #d4e6f3; }
.home-products { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; padding: 22px; background: #fff9; border: 1px solid #c5d7e3; border-radius: 10px; }
.home-products img { max-width: 30%; height: auto !important; object-fit: contain; max-height: 260px; }
.home-page #three-column-container { display: flex; flex-wrap: wrap; gap: 24px; width: auto; }
.home-page #three-column-side1, .home-page #three-column-middle { float: none; flex: 1 1 260px; width: auto; margin: 0; padding: 0; }
.home-page #contenuto img { max-width: 100%; }
.home-certifications { margin: 32px 0 12px; padding: 24px; background: #e6f0f6; border-top: 3px solid #17618d; border-radius: 8px; }
.home-certifications h2 { margin-top: 0; color: #092d50; }
.home-certifications .certified-statement { font-size: 16px; line-height: 1.7; }
.home-certifications strong { text-decoration: underline; text-underline-offset: 4px; }
.home-certificate-links { display: flex; flex-wrap: wrap; gap: 12px; }
.home-certificate-links a { padding: 12px 16px; border: 1px solid #aac5d7; border-radius: 5px; background: white; color: #103e60; font-weight: bold; }
@media (max-width: 700px) {
    body.home-page { padding: 8px; }
    .home-page #contenuto { display: block; padding: 14px; }
    .home-page #sidebar { display: block; box-sizing: border-box; width: 100%; }
    .home-page #sidebar > table { margin: auto; }
    .home-blueprints { grid-template-columns: 1fr; }
    .home-blueprints figure:last-child { max-width: 380px; margin: auto; }
    .home-products { padding: 12px; gap: 12px; }
    .home-products img { max-width: 100%; width: auto !important; max-height: 220px; }
    .home-page .auto-style1 { height: auto; }
}
@media (prefers-reduced-motion: reduce) { .home-blueprints a { transition: none; } }
