/* FMR - uniformazioni novembre 2026 */
:root{--fmr-navy:#12345a;--fmr-blue:#2872b8;--fmr-muted:#66788c;--fmr-line:#e1e8ef}
/* Desktop: marchio, esplorazione, contatti e privacy nella stessa riga. */
.footer-main,footer .footer-main{display:grid!important;grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(145px,.9fr))!important;column-gap:clamp(18px,2.5vw,36px)!important;row-gap:25px!important;align-items:start!important}
.footer-main>.footer-brand{grid-column:auto!important}
.footer-main>*{min-width:0;overflow-wrap:anywhere}
.footer-col h3{margin:0 0 15px!important}
.footer-col a{display:block;margin:7px 0}
@media(max-width:990px){.footer-main,footer .footer-main{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px!important}.footer-main>.footer-brand{grid-column:auto!important}}
@media(max-width:560px){.footer-main,footer .footer-main{grid-template-columns:minmax(0,1fr)!important;row-gap:26px!important}}
/* Le FAQ formano un elenco verticale: apertura senza slittamenti tra colonne. */
.faq-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;max-width:950px!important;gap:12px!important;margin:28px auto 0!important;align-items:stretch!important}
.faq-list details{display:block!important;min-width:0!important;width:100%!important;margin:0!important;padding:0 19px!important;border:1px solid #dce5ed!important;border-radius:14px!important;background:#fff!important;box-shadow:0 4px 18px rgba(18,52,90,.035)!important}
.faq-list details[open]{border-color:#b9cfe2!important;box-shadow:0 9px 25px rgba(18,52,90,.07)!important}
.faq-list summary{position:relative!important;float:none!important;display:block!important;width:100%!important;min-height:64px!important;padding:19px 46px 19px 0!important;color:#12345a!important;font-size:14px!important;font-weight:750!important;line-height:1.55!important;list-style:none!important;cursor:pointer!important}
.faq-list summary::marker{content:''}.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:'+'!important;position:absolute!important;right:0!important;top:50%!important;display:grid!important;place-items:center!important;width:28px!important;height:28px!important;margin:0!important;float:none!important;border-radius:8px!important;background:#eaf3fb!important;color:#2872b8!important;font-size:20px!important;font-weight:500!important;line-height:1!important;transform:translateY(-50%)!important}
.faq-list details[open] summary::after{content:'−'!important}
.faq-list details>p{max-width:none!important;margin:0!important;padding:0 46px 20px 0!important;color:#617489!important;font-size:13px!important;line-height:1.8!important}
@media(max-width:560px){.faq-list details{padding:0 15px!important}.faq-list summary{min-height:60px!important;font-size:13px!important;padding:16px 38px 16px 0!important}.faq-list details>p{padding-right:0!important}}
/* Il marchio originale non deve essere ingrandito o filtrato. */
.brand img,.page-shop .brand img{width:120px!important;max-width:120px!important;height:auto!important;max-height:53px!important;object-fit:contain!important;object-position:left center!important;image-rendering:auto!important;filter:none!important;transform:none!important;opacity:1!important}
.footer-brand img{max-width:120px!important;width:120px!important;height:auto!important;object-fit:contain!important;filter:none!important;transform:none!important}
.brand{min-width:120px}
@media(max-width:560px){.brand{min-width:118px}.brand img,.page-shop .brand img{width:118px!important;max-width:118px!important}}
/* Ringraziamenti e schede tecniche */
.confirmation-section{padding:clamp(55px,7vw,95px) 0 95px;background:linear-gradient(145deg,#f4f8fc,#edf4fa)}
.confirmation-card{width:min(880px,100%);margin:0 auto;padding:clamp(26px,5vw,60px);background:#fff;border:1px solid var(--fmr-line);border-radius:24px;box-shadow:0 16px 42px rgba(18,52,90,.07)}
.confirmation-card .section-kicker{color:var(--fmr-blue)}
.confirmation-card h1{font-size:clamp(32px,5vw,48px);line-height:1.13;letter-spacing:-.04em;color:var(--fmr-navy);max-width:800px;margin:12px 0 20px}
.confirmation-card p{max-width:650px;color:#596d81;font-size:15px;line-height:1.9}
.confirmation-card .confirmation-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.confirmation-card .confirmation-contact{border-top:1px solid var(--fmr-line);padding-top:20px;margin-top:33px;font-size:13px}
/* Formattazione prezzi del catalogo. */
.shop-price strong{font-variant-numeric:tabular-nums}
/* Collegamento accessibile da tastiera, invisibile nella navigazione ordinaria. */
.skip-link{position:fixed!important;top:10px;left:10px;z-index:500;display:inline-block;padding:11px 15px;border-radius:9px;background:#12345a;color:#fff;font-size:13px;font-weight:700;transform:translateY(-200%)!important;transition:none!important}
.skip-link:focus{transform:translateY(0)!important}
/* Ripristino contrasto del richiamo acquisto nelle pagine programma. */
.product-final-panel,.product-final-panel h2{color:#12345a!important}
.product-final-panel p{color:#61758c!important}
.product-final-panel .section-kicker{color:#2872b8!important}

/* FAQ: spazi interni ampi, testo separato dal bordo e stati aperti leggibili. */
.faq-list{gap:15px!important;max-width:980px!important}
.faq-list details{padding:0 26px!important;border-radius:16px!important;overflow:hidden!important}
.faq-list summary{min-height:69px!important;padding:21px 54px 21px 0!important;font-size:15px!important;font-weight:750!important;letter-spacing:0!important}
.faq-list details>p,.faq-list details>.faq-answer{padding:1px 54px 25px 0!important;color:#455f7a!important;font-size:14px!important;line-height:1.82!important}
.faq-list details[open] summary{border-bottom:1px solid #edf1f6!important;margin-bottom:19px!important}
@media(max-width:600px){.faq-list details{padding:0 19px!important}.faq-list summary{font-size:14px!important;padding:18px 42px 18px 0!important;min-height:64px!important}.faq-list details>p,.faq-list details>.faq-answer{padding:0 0 21px!important;font-size:13px!important}}
/* Logo originale ad alta risoluzione in asset locale, ridotto proporzionalmente. */
.brand img,.page-shop .brand img{width:146px!important;max-width:146px!important;max-height:70px!important;height:auto!important}
.footer-brand img{width:146px!important;max-width:146px!important;height:auto!important}
.brand{min-width:146px!important}
@media(max-width:560px){.brand{min-width:130px!important}.brand img,.page-shop .brand img{width:130px!important;max-width:130px!important;max-height:64px!important}}
.shop-next-step{margin-top:30px;padding-top:24px;border-top:1px solid var(--fmr-line)}
.shop-next-step h2{margin:8px 0;color:var(--fmr-navy)}
.shop-next-step .btn-primary{display:inline-flex;margin-top:16px}

/* Contrasto del logo originale nel footer scuro, senza alterare i colori del marchio. */
.footer-brand>a{display:inline-flex;align-items:center;justify-content:flex-start;min-height:70px;background:#fff;padding:7px 10px;border-radius:10px;margin-bottom:15px}
.footer-brand>a img{display:block;max-height:58px!important;width:140px!important;max-width:140px!important}

/* Sviluppo siti web: portfolio reale e modulo di richiesta integrato. */
.web-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.web-project{min-width:0;border:1px solid #dce6ef;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 6px 23px #102b5010}
.web-project img{display:block;width:100%;height:235px;object-fit:cover;object-position:center top;background:#f4f8fc}
.web-project>div{padding:19px 22px 23px}
.web-project h3{font-size:19px;color:#12345a;margin:0 0 5px}
.web-project p{font-size:13px;color:#667c91;margin:0}
.fmr-web-contact{background:#edf4fa}
.fmr-web-form{background:#fff;border:1px solid #dce6ef;box-shadow:0 14px 42px #102b5012;border-radius:21px;padding:clamp(23px,4vw,45px);max-width:1000px;margin:auto}
.web-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}
.web-form-grid>div{min-width:0}.web-form-full{grid-column:1/-1}
.fmr-web-form label{display:block;font-size:13px;line-height:1.55;font-weight:700;color:#12345a;margin:0 0 7px}
.fmr-web-form :is(input[type="text"],input[type="email"],input[type="tel"],textarea,select){display:block;width:100%;max-width:100%;min-height:45px;padding:11px 13px;border:1px solid #cbd9e6;border-radius:9px;background:#fff;font:inherit;font-size:14px;color:#233c57}
.fmr-web-form textarea{resize:vertical;min-height:130px}
.web-form-choices{margin:23px 0 0;padding:16px 18px;border:1px solid #dce6ef;border-radius:12px}
.web-form-choices legend{color:#12345a;font-weight:700;font-size:13px;padding:0 6px}
.web-form-choices label{display:inline-flex;align-items:center;gap:7px;font-weight:500;color:#37546c;margin:7px 16px 7px 0}
.web-form-consents{display:grid;gap:13px;margin:22px 0}.web-form-consents label{display:flex;align-items:flex-start;gap:11px;font-weight:500;color:#3c5368}
.web-form-consents input,.web-form-choices input{width:17px;height:17px;flex:0 0 auto;margin-top:3px;accent-color:#2872b8}
.web-form-consents a{color:#176eac;text-decoration:underline;text-underline-offset:2px}
.web-honeypot{position:absolute!important;left:-9999px!important;opacity:0!important;pointer-events:none!important}
.web-form-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.web-form-actions span{font-size:12px;color:#61758c}
@media(max-width:700px){.web-project-grid,.web-form-grid{grid-template-columns:1fr}.web-project img{height:200px}.web-form-grid{gap:17px}.web-form-choices label{display:flex}}

/* Footer FMR: unico modello grafico, quello della homepage. */
footer,body.page-shop footer{background:#0c2745;color:rgba(255,255,255,.76);font-size:13px;line-height:1.65}
footer .footer-main,body.page-shop footer .footer-main{display:grid!important;grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(145px,.9fr))!important;column-gap:clamp(18px,2.5vw,36px)!important;row-gap:25px!important;align-items:start!important}
footer .footer-brand p,body.page-shop footer .footer-brand p{max-width:340px;margin:17px 0 0;color:rgba(255,255,255,.61)!important;font-size:11px!important;line-height:1.8!important}
footer .footer-col h3,body.page-shop footer .footer-col h3{margin:0 0 14px!important;color:#fff!important;font-size:11px!important;line-height:1.5!important;letter-spacing:.08em;text-transform:uppercase}
footer .footer-col a,footer .footer-col p,body.page-shop footer .footer-col a,body.page-shop footer .footer-col p{display:block;margin:7px 0;color:rgba(255,255,255,.67);font-size:11px!important;line-height:1.65!important}
footer .footer-col a:hover,footer .footer-bottom a:hover{color:#fff}
footer .footer-bottom,body.page-shop footer .footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:16px;padding-bottom:16px;border-top:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.48);font-size:10px!important}
footer .footer-bottom a,body.page-shop footer .footer-bottom a{color:rgba(255,255,255,.72);font-size:10px!important}
@media(max-width:990px){footer .footer-main,body.page-shop footer .footer-main{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px!important}}
@media(max-width:560px){footer .footer-main,body.page-shop footer .footer-main{grid-template-columns:minmax(0,1fr)!important;row-gap:26px!important}footer .footer-bottom,body.page-shop footer .footer-bottom{display:block;line-height:2}}

/* Realizzazioni web: collegamento visibile e accessibile in ogni scheda. */
.web-project>div{display:flex;flex-direction:column;align-items:flex-start;min-height:130px}
.web-project-link{display:inline-flex;gap:9px;align-items:center;margin-top:auto;padding-top:14px;color:#176eac!important;font-size:13px;font-weight:800;text-decoration:none;line-height:1.35}
.web-project-link:hover{text-decoration:underline;text-underline-offset:3px}
.web-project-link:focus-visible{outline:3px solid #d59c39;outline-offset:5px;border-radius:3px}
.web-project-link span{font-size:15px}

/* Percorso di navigazione uniforme, modellato sulla sezione Web Extension. */
.fmr-wide-breadcrumb{display:block;width:100%;max-width:none;box-sizing:border-box;padding:16px 0!important;margin:0!important;background:#f5f9fc;border-bottom:1px solid #dbe7f0;color:#60758a;font-size:13px;line-height:1.5}
.fmr-wide-breadcrumb>.container{width:min(var(--max,1180px),calc(100% - 48px));max-width:none;margin:0 auto;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.fmr-wide-breadcrumb a{font-weight:650;color:#2673b6;text-decoration:none}
.fmr-wide-breadcrumb a:hover{text-decoration:underline}
@media(max-width:560px){.fmr-wide-breadcrumb{padding:13px 0!important;font-size:12px}.fmr-wide-breadcrumb>.container{width:calc(100% - 32px);gap:8px}}
