/* Home: schede tecnologie sintetiche ed espandibili. */
.technical-expandable{background:var(--pale);color:var(--copy)}
.technical-expandable h2{color:var(--navy)}
.technical-expandable .intro{color:var(--copy)}
.technical-expandable .technical-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.technology-tile{min-width:0;border:1px solid var(--line);border-radius:12px;background:var(--technology-surface,#fff);overflow:hidden;transition:border-color .2s}
.technology-summary{display:grid;grid-template-columns:100px minmax(0,1fr) 32px;align-items:center;gap:20px;min-height:178px;padding:22px;cursor:pointer;list-style:none;color:var(--copy)}
.technology-summary::-webkit-details-marker{display:none}
.technology-summary::marker{content:''}
.technology-summary:focus-visible{outline:3px solid var(--cyan);outline-offset:-4px;border-radius:12px}
.technology-tile:hover,.technology-tile[open]{border-color:var(--cyan)}
.technology-thumb{height:100px;display:grid;place-items:center;background:var(--pale);border-radius:9px;overflow:hidden}
.technology-thumb img{display:block;width:100%;height:100%;object-fit:contain}
.technology-copy{display:grid;gap:5px}
.technology-copy>strong{font-size:17px;line-height:1.3;color:var(--navy)}
.technology-copy>span{font-size:13px;line-height:1.5}
.technology-copy .technology-action{margin-top:6px;font-size:12px;font-weight:700;color:var(--blue)}
.technology-toggle{width:30px;height:30px;position:relative;border-radius:50%;background:var(--pale);color:var(--blue)}
.technology-toggle::before,.technology-toggle::after{content:'';position:absolute;background:currentColor;left:9px;top:14px;width:12px;height:2px}
.technology-toggle::after{transform:rotate(90deg)}
.technology-tile[open] .technology-toggle::after{transform:rotate(0)}
.technology-tile .when-open{display:none}
.technology-tile[open] .when-open{display:inline}
.technology-tile[open] .when-closed{display:none}
.technology-tile[open]{grid-column:1/-1}
.technology-detail{border-top:1px solid var(--line);padding:24px;background:var(--pale)}
.technology-detail figure{max-width:820px;margin:0 auto}
.technology-detail img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:6px;background:#fff}
.technology-detail figcaption{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px;color:var(--copy);font-size:13px}
.technology-detail a{font-weight:700;color:var(--blue);text-decoration:underline;text-underline-offset:3px}
html[data-theme="dark"] .technical-expandable{--technology-surface:#16283e}
html[data-theme="midnight"] .technical-expandable{--technology-surface:#101b34}
@media(max-width:800px){.technology-summary{grid-template-columns:76px minmax(0,1fr) 28px;gap:13px;padding:18px;min-height:178px}.technology-thumb{height:84px}.technology-copy>strong{font-size:16px}}
@media(max-width:600px){.technical-expandable .technical-grid{grid-template-columns:1fr}.technology-summary{min-height:155px}.technology-detail{padding:12px}.technology-detail figcaption{font-size:12px}}
@media(prefers-reduced-motion:reduce){.technology-tile{transition:none}}

/* Chi siamo: la stessa apertura al clic delle schede tecnologie. */
.company-showcase{padding:40px 0 48px;background:var(--pale);color:var(--copy)}
.company-showcase>.wrap>.eyebrow{margin-bottom:8px}
.company-showcase h2{font-size:clamp(23px,3vw,32px);line-height:1.3;color:var(--navy);margin:0 0 22px}
.company-thumb{color:var(--blue)}
.company-thumb svg{width:66px;height:66px}
.company-expanded{border-top:1px solid var(--line)}
.company-expanded .about{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,.8fr);background:var(--pale);min-height:300px}
.company-expanded .about-copy{padding:30px}
.company-expanded .about-copy h2{font-size:25px;margin:10px 0 16px}
.company-expanded .about-copy p{font-size:14px;line-height:1.7}
.company-expanded .about-copy .btn{margin-top:8px}
.company-expanded .about-photo{clip-path:none;margin:0;min-height:240px}
.company-expanded .about-points{padding:28px 22px;gap:22px}
html[data-theme="dark"] .company-showcase{--technology-surface:#16283e}
html[data-theme="midnight"] .company-showcase{--technology-surface:#101b34}
@media(max-width:900px){.company-expanded .about{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}.company-expanded .about-points{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.company-expanded .about-point{align-items:flex-start}}
@media(max-width:600px){.company-showcase{padding:28px 0 38px}.company-expanded .about{display:block}.company-expanded .about-copy{padding:22px}.company-expanded .about-photo{height:200px;min-height:0}.company-expanded .about-points{grid-template-columns:repeat(2,minmax(0,1fr));padding:24px 20px}.company-showcase h2{margin-bottom:16px}}
