.archive-hero.tool-hero h1{max-width:920px;font-size:clamp(2rem,4.5vw,3.7rem);line-height:1.1;margin:24px 0}
.tool-hero p{max-width:760px}
.tool-hero nav{font-size:.9rem}
.tool-content,.tools-list{padding-top:40px;padding-bottom:64px}
.tools-list article{padding:24px 0;border-bottom:1px solid var(--line)}
.tools-list h2{margin:0;font-size:1.7rem}
.tools-list article p{max-width:780px}
.tool-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:48px;align-items:start}
.tool-form .form-field{margin:22px 0}
.tool-form input{width:100%;min-height:48px;border:1px solid #747a80;border-radius:0;padding:10px;font:inherit;box-sizing:border-box;background:white;color:var(--ink)}
.tool-form small{display:block;color:#50565c;font-size:.85rem;margin-top:5px}
.tool-content .primary-button{background:var(--ink);color:white;border:0;min-height:48px;padding:12px 24px;font:inherit;cursor:pointer}
.tool-content a{text-underline-offset:3px}
.tool-content :focus-visible,.tools-list :focus-visible{outline:3px solid #b63f0a;outline-offset:4px}
.tool-result{background:var(--warm);padding:28px}
.tool-result h2,.tool-form h2{margin-top:0}
.tool-result dl{margin:0}
.tool-result dl div{padding:18px 0;border-bottom:1px solid #c8c2b8}
.tool-result dt{font-size:.95rem}
.tool-result dd{margin:4px 0 0;font-size:1.9rem;line-height:1.25;font-weight:700;overflow-wrap:anywhere}
.tool-result dd span{font-size:1rem}
.tool-explanation{max-width:850px;margin:48px 0}
.tool-explanation h2{font-size:1.65rem}
.error-summary{border:2px solid #a11b10;padding:16px}
.field-errors{color:#a11b10}
.tool-form [aria-invalid=true]{border:2px solid #a11b10}
@media(max-width:700px){.tool-layout{grid-template-columns:1fr;gap:28px}
.archive-hero.tool-hero{padding-top:32px;padding-bottom:32px}
.tool-result{padding:20px}
.archive-hero.tool-hero h1{font-size:2.2rem}
.tool-content,.tools-list{padding-top:24px}
}
/* The hub follows the existing editorial cards; calculator forms stay independent. */
.archive-hero.tools-hub-hero{padding-block:42px 48px}
.archive-hero.tools-hub-hero h1{margin-block:22px 18px;font-size:clamp(2.4rem,4.5vw,3.7rem)}
.tools-hub-hero p{margin-bottom:0}
.tools-catalogue{padding-block:42px 64px}
.tools-catalogue-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:30px}
.tools-catalogue-heading h2{font-family:Georgia,serif;font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.15;margin:0}
.tools-catalogue-heading p{color:var(--muted);margin:0}
.tools-catalogue .tools-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:42px 30px}
.tool-card{display:flex;flex-direction:column;min-width:0}
.tool-card .tool-card-image{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--warm)}
.tool-card-image img{width:100%;height:100%;object-fit:cover}
.tool-card .tool-card-copy{display:flex;flex:1;flex-direction:column;padding-top:20px}
.tool-card-copy h3{font-family:Georgia,serif;font-size:1.65rem;line-height:1.15;margin:0 0 14px;letter-spacing:-.025em}
.tool-card-copy h3 a{text-decoration:none}
.tool-card-copy h3 a:hover{text-decoration:underline;text-decoration-thickness:1px}
.tool-card-copy p{margin:0 0 22px;color:var(--muted);line-height:1.6}
.tool-card-copy .tool-card-link{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;margin-top:auto;padding-block:12px;border-top:1px solid var(--line);font-size:.9rem;font-weight:700;text-decoration:none}
.tool-card-link span{color:var(--orange-dark);font-size:1.3rem}
.tool-card-link:hover{text-decoration:underline}
.tools-catalogue :focus-visible{outline:3px solid #b63f0a;outline-offset:4px}
.tool-card-placeholder{display:grid;place-items:center;width:100%;height:100%;background:#eee8dc;color:#363d40}
.tool-card-placeholder--viaje,.tool-card-placeholder--comparador{background:#e4ebe6}
.tool-card-placeholder--financiacion{background:#f4e3d6}
.tool-card-placeholder svg{width:56%;height:70%;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.tools-catalogue-note{border-top:1px solid var(--line);padding-top:24px;margin:38px 0 0;color:var(--muted);font-size:.9rem;max-width:850px}
@media(max-width:900px){.tools-catalogue .tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tools-catalogue-heading{display:block}.tools-catalogue-heading p{margin-top:12px}}
@media(max-width:600px){.archive-hero.tools-hub-hero{padding-block:28px 34px}.archive-hero.tools-hub-hero h1{font-size:2.35rem}.tools-catalogue{padding-top:30px}.tools-catalogue .tools-grid{grid-template-columns:1fr;gap:36px}.tool-card-copy h3{font-size:1.6rem}}
