.discovery-page{--muted:#4d5c70;--brand:#175bbd}
.discovery-page [hidden]{display:none!important}
.discovery-page h1{font-size:clamp(34px,5vw,60px);line-height:1.08;letter-spacing:-.045em;max-width:820px}
.discovery-page h2{font-size:clamp(25px,3vw,34px);line-height:1.2;letter-spacing:-.03em}
.discovery-page h3{font-size:20px;line-height:1.3}
.discovery-page .lead{max-width:700px;line-height:1.65;font-size:18px}
.discovery-page .discover-hero{padding:42px 0 28px}
.discovery-page .eyebrow{color:#40526b}
.discovery-page .discovery-search{padding:24px;background:#fff;border:1px solid #cbd9ec;border-radius:22px;max-width:850px;box-shadow:0 12px 30px #183a6510;margin:24px 0 0}
.discovery-page .search-label{font-size:18px}
.discovery-page .search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
.discovery-page input{font-size:16px;min-width:0;width:100%}
.discovery-page .btn.brand{background:#175bbd;color:#fff;box-shadow:none}
.discovery-page .btn{min-height:44px}
.discovery-page .search-help{font-size:14px;margin:12px 0 0;color:#4d5c70}
.discovery-page .suggestions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.discovery-page .suggestions button{border:1px solid #ccd8e8;border-radius:20px;background:#f8faff;color:#254973;padding:9px 14px;min-height:44px;cursor:pointer}
.discovery-page .discovery-section{padding:22px 0 30px}
.discovery-page .discovery-heading{display:flex;gap:20px;align-items:start;justify-content:space-between;margin-bottom:18px}
.discovery-page .discovery-heading p{margin-bottom:0;max-width:650px}
.discovery-page .tool-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.discovery-page .tool-link{display:flex;flex-direction:column;align-items:start;padding:22px;background:#fff;border:1px solid var(--line);border-top:4px solid var(--card-color,#175bbd);border-radius:20px;min-width:0;transition:box-shadow .15s,border-color .15s}
.discovery-page .tool-link:hover{box-shadow:0 10px 24px #153a6712;border-color:#8ea9cb}
.discovery-page .tool-link p{font-size:15px;line-height:1.6;margin:0 0 18px}
.discovery-page .tool-link h3{margin:12px 0 8px}
.discovery-page .tool-icon{font-size:23px;background:#f3f6fb;border-radius:12px;width:44px;height:44px;display:grid;place-items:center}
.discovery-page .tool-cat{font-size:12px;color:#4d5c70;margin-top:12px;font-weight:700}
.discovery-page .tool-link small{margin-top:auto;color:#1455ae;font-size:14px;font-weight:750}
.discovery-page .theme-auto{--card-color:#237451}.discovery-page .theme-vivienda{--card-color:#935a16}.discovery-page .theme-emprende{--card-color:#7651a8}
.discovery-page .topic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.discovery-page .topic-link{background:#fff;border:1px solid #cfdbeb;border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:10px}
.discovery-page .topic-link strong{font-size:19px}.discovery-page .topic-link span{color:#4d5c70;font-size:14px;line-height:1.6}
.discovery-page .topic-link small{color:#1455ae;font-weight:750;margin-top:auto}
.discovery-page .topic-nav{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0 12px}
.discovery-page .topic-nav a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 15px;border:1px solid #c5d3e7;border-radius:24px;background:#fff;color:#244d83;font-weight:700}
.discovery-page .topic-nav a[aria-current=true]{background:#175bbd;border-color:#175bbd;color:#fff}
.discovery-page .discovery-status{font-size:14px;color:#40526b;margin:16px 0}
.discovery-page .empty-state{padding:24px;border:1px solid var(--line);border-radius:18px;background:#fff;margin:20px 0}
.discovery-page .empty-state h3{margin-bottom:10px}
.discovery-page .browse-group{margin:28px 0 36px}
.discovery-page .browse-group>h2{font-size:25px;margin-bottom:18px}
.discovery-page .clear-search{background:none;border:0;text-decoration:underline;text-underline-offset:3px;color:#1455ae;padding:8px 0;min-height:44px;cursor:pointer;font:inherit;font-size:14px}
.discovery-page .reading-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.discovery-page .reading-link{padding:22px;border:1px solid var(--line);border-radius:18px;background:#f7faff}
.discovery-page .reading-link p{font-size:14px;line-height:1.7}
.discovery-page .reading-link small{color:#1455ae;font-weight:750}
.discovery-page .discovery-note{font-size:14px;margin:20px 0 0;max-width:720px;line-height:1.7}
.discovery-page :focus-visible{outline:3px solid #175bbd;outline-offset:4px}
.discovery-page [id]{scroll-margin-top:140px}
.discovery-page .discovery-skip{position:absolute;top:-100px;left:16px;padding:12px;background:#fff;z-index:40}
.discovery-page .discovery-skip:focus{top:10px}
.discovery-page .footer{margin-top:32px}
@media(max-width:960px){.discovery-page .tool-cards,.discovery-page .topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.discovery-page .reading-grid{grid-template-columns:1fr}}
@media(max-width:620px){.discovery-page .container{width:calc(100% - 28px)}.discovery-page .discover-hero{padding:26px 0 18px}.discovery-page .tool-cards,.discovery-page .topic-grid{grid-template-columns:1fr}.discovery-page .discovery-heading{display:block}.discovery-page .discovery-heading>.btn{margin-top:14px}.discovery-page .discovery-search{padding:18px}.discovery-page .search-row{grid-template-columns:1fr}.discovery-page .tool-link{padding:18px}.discovery-page .tool-link h3{margin-top:8px}.discovery-page .tool-icon{display:none}.discovery-page .tool-cat{margin-top:0}.discovery-page .topic-nav{gap:8px}.discovery-page .topic-nav a{font-size:14px;padding:9px 12px}.discovery-page .lead{font-size:17px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.discovery-page *{transition:none!important}}
@media print{.discovery-page .discovery-search,.discovery-page .topic-nav,.discovery-page .discovery-skip{display:none}.discovery-page .tool-cards{display:block}.discovery-page .tool-link{break-inside:avoid;margin-bottom:12px}}
