/* HUMAN GESTIÓN | Categorías PRO. Todo queda encapsulado para no alterar otras páginas. */
.hg-category-page{
 --hgc-navy:#10243d;--hgc-deep:#0b1b2d;--hgc-gold:#d1ad62;--hgc-ink:#17263b;
 --hgc-muted:#69788b;--hgc-line:#e5eaf0;background:#f7f8fa;color:var(--hgc-ink)
}
.hg-category-container{width:min(100% - 48px,1240px);max-width:1240px}
.hg-category-hero{position:relative;isolation:isolate;overflow:hidden;color:#fff;background:linear-gradient(115deg,#0c1e32 0%,#142e49 58%,#203e5a 100%)}
.hg-category-hero-orbit{position:absolute;z-index:-1;width:620px;height:620px;right:-110px;top:-390px;border:1px solid rgba(211,177,101,.24);border-radius:50%;box-shadow:0 0 0 55px rgba(255,255,255,.018),0 0 0 110px rgba(255,255,255,.014)}
.hg-category-hero-index{padding:82px 0 37px}
.hg-category-hero-detail{padding:36px 0 66px}
.hg-category-eyebrow{display:inline-block;color:#e2c477;font-size:.69rem;font-weight:900;letter-spacing:.25em;text-transform:uppercase;margin:0 0 17px}
.hg-category-eyebrow-dark{color:#9b772f}
.hg-category-index-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:45px}
.hg-category-index-heading h1,.hg-category-detail-copy h1{
 color:#fff;font-family:Oswald,"Roboto Condensed",sans-serif;font-size:clamp(3.1rem,6vw,5.3rem);
 font-weight:600;line-height:1.04;letter-spacing:-.025em;margin:0 0 19px
}
.hg-category-index-heading h1 span{color:#e0c27c}
.hg-category-index-heading p,.hg-category-detail-copy>p{max-width:710px;color:rgba(255,255,255,.76);font-size:1.05rem;line-height:1.8;margin:0}
.hg-category-hero-button,.hg-category-primary-button{
 display:inline-flex;align-items:center;justify-content:center;gap:13px;min-height:52px;padding:0 23px;
 background:var(--hgc-gold);border:1px solid var(--hgc-gold);border-radius:8px;
 color:#13263d;text-decoration:none;font-size:.84rem;font-weight:900;white-space:nowrap;
 transition:transform .2s,background .2s,box-shadow .2s
}
.hg-category-hero-button:hover,.hg-category-primary-button:hover{background:#e4c77f;border-color:#e4c77f;color:#13263d;transform:translateY(-2px);box-shadow:0 10px 25px rgba(0,0,0,.15)}
.hg-category-trust-row{display:flex;flex-wrap:wrap;gap:32px;margin-top:55px;padding-top:22px;border-top:1px solid rgba(255,255,255,.14)}
.hg-category-trust-row span{display:inline-flex;align-items:center;gap:10px;color:rgba(255,255,255,.82);font-size:.83rem}
.hg-category-trust-row i{color:#e0c27c;font-size:1.1rem}
.hg-category-index-section,.hg-category-course-section{padding:72px 0 88px;background:#f7f8fa}
.hg-category-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:34px}
.hg-category-section-heading h2{margin:0 0 9px;color:var(--hgc-ink);font:600 clamp(2rem,3.5vw,3rem)/1.12 Oswald,"Roboto Condensed",sans-serif}
.hg-category-section-heading p{margin:0;color:var(--hgc-muted);font-size:.98rem;line-height:1.6}
.hg-category-total{padding:9px 14px;border:1px solid var(--hgc-line);border-radius:99px;background:#fff;color:#657386;font-size:.8rem;font-weight:800;white-space:nowrap}
.hg-category-area-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.hg-category-area-card,.hg-category-course-card{
 display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#fff;border:1px solid #e6eaf0;
 border-radius:16px;box-shadow:0 7px 25px rgba(18,39,64,.045);
 transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease
}
.hg-category-area-card:hover,.hg-category-course-card:hover{transform:translateY(-5px);border-color:rgba(197,160,81,.65);box-shadow:0 18px 42px rgba(18,39,64,.11)}
.hg-category-area-image,.hg-category-course-image{position:relative;display:block;overflow:hidden;background:#e9edf2;aspect-ratio:16/10}
.hg-category-area-image img,.hg-category-course-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.hg-category-area-card:hover .hg-category-area-image img,.hg-category-course-card:hover .hg-category-course-image img{transform:scale(1.045)}
.hg-category-area-count,.hg-category-featured{
 position:absolute;top:15px;left:15px;padding:8px 12px;border-radius:99px;
 background:var(--hgc-navy);color:#f0d48c;font-size:.64rem;font-weight:900;letter-spacing:.1em
}
.hg-category-area-body,.hg-category-course-body{display:flex;flex:1;flex-direction:column;padding:23px 24px 22px}
.hg-category-course-kicker{display:block;margin:0 0 10px;color:#9a762f;font-size:.65rem;font-weight:900;letter-spacing:.17em;text-transform:uppercase}
.hg-category-area-body h2,.hg-category-course-body h3{margin:0 0 10px;color:var(--hgc-ink);font:600 1.55rem/1.2 Oswald,"Roboto Condensed",sans-serif}
.hg-category-area-body h2 a,.hg-category-course-body h3 a{color:inherit;text-decoration:none}
.hg-category-area-body h2 a:hover,.hg-category-course-body h3 a:hover{color:#98752d}
.hg-category-area-body p,.hg-category-course-description{display:-webkit-box;overflow:hidden;margin:0 0 22px;color:var(--hgc-muted);font-size:.88rem;line-height:1.7;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.hg-category-area-link{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:15px;border-top:1px solid #edf0f3;color:#8e6c2a;text-decoration:none;font-size:.8rem;font-weight:900}
.hg-category-area-link i{font-size:1.1rem;transition:transform .2s}
.hg-category-area-link:hover{color:var(--hgc-navy)}
.hg-category-area-link:hover i{transform:translateX(4px)}
.hg-category-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:11px;margin:0 0 35px;color:rgba(255,255,255,.55);font-size:.79rem}
.hg-category-breadcrumb a{color:rgba(255,255,255,.78);text-decoration:none}
.hg-category-breadcrumb a:hover{color:#e5c77d}
.hg-category-detail-intro{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:70px}
.hg-category-detail-copy h1{font-size:clamp(3rem,5.5vw,4.7rem)}
.hg-category-detail-meta{display:flex;flex-wrap:wrap;align-items:center;gap:24px;margin-top:28px}
.hg-category-detail-meta>span{display:inline-flex;align-items:center;gap:9px;color:#e6c77d;font-size:.84rem;font-weight:800}
.hg-category-detail-meta>span i{font-size:1.1rem}
.hg-category-text-link{color:#fff;text-decoration:none;font-size:.82rem;font-weight:800}
.hg-category-text-link i{margin-left:5px;color:#e2c477}
.hg-category-art-frame{overflow:hidden;border:1px solid rgba(255,255,255,.22);border-radius:15px;background:rgba(255,255,255,.08);box-shadow:0 24px 60px rgba(0,0,0,.23)}
.hg-category-art-frame img{display:block;width:100%;max-height:340px;aspect-ratio:16/10;object-fit:cover}
.hg-category-art-caption{display:block;margin-top:12px;color:rgba(255,255,255,.48);font-size:.59rem;font-weight:800;letter-spacing:.19em;text-align:right}
.hg-category-outline-button{display:inline-flex;align-items:center;gap:12px;padding:13px 18px;border:1px solid #c9a653;border-radius:8px;color:#8b6928;text-decoration:none;font-size:.8rem;font-weight:900;white-space:nowrap}
.hg-category-outline-button:hover{background:#10243d;border-color:#10243d;color:#fff}
.hg-category-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.hg-category-course-image{aspect-ratio:16/10}
.hg-category-course-image img{object-fit:contain;background:#eef1f4}
.hg-category-featured{display:inline-flex;align-items:center;gap:6px}
.hg-category-course-body h3{min-height:2.4em}
.hg-category-course-description{min-height:4.5em}
.hg-category-course-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:auto;padding-top:16px;border-top:1px solid #edf0f3}
.hg-category-course-price{display:flex;flex-direction:column;gap:3px}
.hg-category-course-price small{color:#8994a1;font-size:.62rem;font-weight:900;letter-spacing:.12em}
.hg-category-course-price strong{color:var(--hgc-navy);font-size:1.35rem;font-weight:900}
.hg-category-course-cta{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 14px;border-radius:7px;background:var(--hgc-navy);color:#fff;text-decoration:none;font-size:.76rem;font-weight:900;white-space:nowrap}
.hg-category-course-cta:hover{background:var(--hgc-gold);color:var(--hgc-navy)}
.hg-category-empty{max-width:680px;margin:0 auto;padding:58px 30px;text-align:center;background:#fff;border:1px solid var(--hgc-line);border-radius:17px;box-shadow:0 12px 35px rgba(18,39,64,.055)}
.hg-category-empty-icon{display:grid;place-items:center;width:68px;height:68px;margin:0 auto 19px;border-radius:50%;background:#f5f0e4;color:#9a762f;font-size:1.7rem}
.hg-category-empty h1,.hg-category-empty h3{margin:0 0 12px;color:var(--hgc-ink);font:600 2rem/1.2 Oswald,sans-serif}
.hg-category-empty p{max-width:490px;margin:0 auto 24px;color:var(--hgc-muted);line-height:1.7}
.hg-category-not-found{padding:90px 0;background:#f7f8fa}
.hg-category-bottom-cta{padding:60px 0;background:#fff}
.hg-category-bottom-cta .container{display:flex;align-items:center;justify-content:space-between;gap:35px;padding:42px 52px;border-radius:16px;background:linear-gradient(115deg,#10243d,#203e5b);box-shadow:0 18px 45px rgba(16,36,61,.14)}
.hg-category-bottom-cta h2{margin:0 0 12px;color:#fff;font:600 clamp(1.8rem,3.5vw,2.8rem)/1.12 Oswald,sans-serif}
.hg-category-bottom-cta p{margin:0;color:rgba(255,255,255,.72);font-size:.9rem;line-height:1.65}
.hg-category-footer{padding:23px 0;background:#0c1e32;color:rgba(255,255,255,.56);font-size:.75rem}
.hg-category-footer .container{display:flex;justify-content:space-between;gap:18px}
.hg-category-footer a{color:#e1c477;text-decoration:none;font-weight:800}
@media(max-width:1000px){.hg-category-area-grid,.hg-category-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hg-category-detail-intro{gap:35px}}
@media(max-width:700px){
 .hg-category-container{width:min(100% - 32px,1240px)}
 .hg-category-hero-index{padding:55px 0 27px}
 .hg-category-index-heading{align-items:flex-start;flex-direction:column;gap:25px}
 .hg-category-index-heading h1,.hg-category-detail-copy h1{font-size:clamp(2.7rem,12vw,3.7rem)}
 .hg-category-trust-row{gap:14px 20px;margin-top:35px}
 .hg-category-trust-row span{font-size:.74rem}
 .hg-category-index-section,.hg-category-course-section{padding:48px 0 60px}
 .hg-category-section-heading{align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:25px}
 .hg-category-area-grid,.hg-category-course-grid{grid-template-columns:1fr;gap:18px}
 .hg-category-area-body,.hg-category-course-body{padding:20px}
 .hg-category-detail-intro{grid-template-columns:1fr;gap:28px}
 .hg-category-hero-detail{padding:27px 0 45px}
 .hg-category-breadcrumb{margin-bottom:26px}
 .hg-category-art-frame img{max-height:230px}
 .hg-category-bottom-cta .container{align-items:flex-start;flex-direction:column;padding:30px 24px}
 .hg-category-footer .container{align-items:flex-start;flex-direction:column}
}
