.tools-section{margin-top:24px;padding:clamp(16px,2vw,26px);border:1px solid #d4e4f4;border-radius:22px;background:linear-gradient(145deg,#edf5ff,#fff)}
.tools-section .section-head{margin-bottom:16px}.tools-section .section-head h2{margin:.25rem 0 .35rem}.tools-section .section-head p{max-width:850px;margin:0;color:var(--muted)}
.tools-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;align-items:stretch}
.tool-card{display:flex;min-width:0;min-height:350px;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-top:4px solid var(--blue);border-radius:17px;background:#fff;box-shadow:var(--shadow2)}
.tool-visual{display:grid;height:138px;place-items:center;padding:22px;border-bottom:1px solid var(--line);background:#fff}.tool-visual img{display:block;width:100%;height:100%;object-fit:contain}
.online-tool-icon{height:112px;background:linear-gradient(145deg,#edf5ff,#fff)}.online-tool-icon img{max-width:64px;max-height:64px}
.tool-content{display:flex;min-height:208px;flex:1;flex-direction:column;padding:15px}.tool-content h3{margin:.35rem 0 .55rem;font-size:1.05rem;line-height:1.2}.tool-content p{margin:0 0 1rem;color:var(--muted);font-size:.82rem;line-height:1.5}.tool-content .btn{width:100%;margin-top:auto;text-align:center}
.online-tool-card{min-height:330px}.online-tool-card .tool-content{min-height:214px}
.software-directory-visual{display:flex;height:132px;align-items:center;justify-content:center;gap:13px;padding:22px;background:#f7faff;border-bottom:1px solid var(--line)}.software-directory-visual img{width:54px;height:54px;object-fit:contain}.software-directory-card{min-height:320px}.software-directory-card .publication-info{min-height:180px}
@media(max-width:760px){.tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tool-card{min-height:330px}.tool-visual{height:112px;padding:16px}.tool-content{min-height:210px;padding:12px}}
@media(max-width:470px){.tools-grid{grid-template-columns:1fr}.tool-card{min-height:0}.tool-content{min-height:205px}}

/* Utilita online */
.calculator-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.calculator-card{display:flex;min-width:0;flex-direction:column;padding:24px;border:1px solid var(--line);border-top:4px solid var(--blue);border-radius:19px;background:#fff;box-shadow:var(--shadow2)}
.calculator-card h2{margin:.35rem 0 1rem;color:var(--navy)}
.calculator-card label{display:grid;gap:6px;margin-top:12px;color:var(--navy);font-size:.78rem;font-weight:900}
.calculator-card input{width:100%;min-height:44px;padding:10px 12px;border:1px solid #b9cce0;border-radius:10px;background:#fff;color:var(--navy);font:inherit}
.calculator-card .btn{width:100%;margin-top:18px}
.calculator-result{display:flex;min-height:86px;flex-direction:column;justify-content:center;gap:5px;margin-top:14px;padding:14px;border-radius:12px;background:#edf5ff;color:var(--muted);font-size:.84rem}
.calculator-result strong{color:var(--blue);font-size:1.08rem}
.calculator-result span{display:block}
.calculator-note{margin:14px 0 0;padding:14px 18px;border-left:4px solid var(--blue);border-radius:8px;background:#f6f9fc;color:var(--muted);font-size:.82rem}
.calculator-card.priority-tool{border-top-color:var(--red);background:linear-gradient(180deg,#fff,#f8fbff)}
@media(max-width:900px){.calculator-grid{grid-template-columns:1fr}}
