:root{
  --coral:#FF3131;
  --coral-soft:#FFE7E7;
  --stone:#E4E2DD;
  --carbon:#202225;
  --petroleum:#12363C;
  --rose:#E5D8D4;
  --warm:#FBF7F3;
  --white:#FFFFFF;
  --ink:#17191B;
  --muted:#5D6265;
  --line:#E7E2DE;
  --shadow:0 18px 46px rgba(32,34,37,.09);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--warm);color:var(--ink);font-family:Inter,Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.page-shell{padding:22px}
.site-frame{max-width:1440px;margin:auto;background:#fff;border-radius:36px;overflow:hidden;box-shadow:0 22px 60px rgba(32,34,37,.09)}
.site-header{height:92px;padding:0 46px;display:flex;align-items:center;justify-content:space-between;gap:32px;background:var(--warm);border-bottom:1px solid var(--line);position:relative;z-index:50}
.brand img{display:block;width:165px}
.main-nav{display:flex;align-items:center;gap:34px;font-size:14px;font-weight:600}
.main-nav a{position:relative;padding:35px 0;color:#303437}
.main-nav a:after{content:"";position:absolute;left:0;right:0;bottom:26px;height:2px;background:var(--coral);transform:scaleX(0);transition:.2s}
.main-nav a:hover:after,.main-nav a.active:after{transform:scaleX(1)}
.header-actions{display:flex;align-items:center;gap:12px}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:999px;font-weight:750;font-size:14px;border:1px solid transparent;transition:.2s;cursor:pointer}
.button:hover{transform:translateY(-2px)}
.button-coral{background:var(--coral);color:#fff}
.button-petroleum{background:var(--petroleum);color:#fff}
.button-light{background:#fff;color:var(--carbon)}
.login-button{box-shadow:none}
.menu-toggle{display:none;border:0;background:transparent;color:var(--petroleum);font-size:28px;padding:6px;cursor:pointer}
.eyebrow{display:inline-block;color:var(--petroleum);font-size:12px;letter-spacing:.15em;text-transform:uppercase;font-weight:800;margin-bottom:16px}
.eyebrow.light{color:#fff}
.resources-hero{margin:24px 26px 0;padding:70px 48px;border-radius:28px;background:var(--petroleum);color:#fff;text-align:center;overflow:hidden;position:relative}
.resources-hero:after{content:"ac";position:absolute;right:-40px;bottom:-160px;font-size:420px;font-weight:800;letter-spacing:-.14em;line-height:1;color:rgba(255,255,255,.035)}
.resources-hero>div{position:relative;z-index:2;max-width:850px;margin:auto}
.resources-hero .eyebrow{color:#fff}
.resources-hero h1{font-size:66px;line-height:.98;letter-spacing:-.055em;margin:0 0 20px}
.resources-hero p{max-width:760px;margin:auto;color:#D7DFE1;font-size:18px;line-height:1.6}
.resources-main{padding:58px 46px 66px}
.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:26px}
.section-heading h2{font-size:40px;line-height:1.05;letter-spacing:-.045em;margin:0}
.resource-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:28px}
.filter-chip{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 19px;border-radius:999px;border:1px solid var(--line);background:#fff;font-size:13px;font-weight:750;color:var(--petroleum);transition:.2s}
.filter-chip:hover,.filter-chip.active{background:var(--petroleum);border-color:var(--petroleum);color:#fff}
.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.resource-card{border:1px solid var(--line);border-radius:24px;background:#fff;overflow:hidden;transition:.25s;min-width:0}
.resource-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.resource-card>a{display:block;height:100%}
.resource-image{height:220px;position:relative;overflow:hidden;background:var(--petroleum)}
.resource-image img{width:100%;height:100%;object-fit:cover;display:block;transition:.35s}
.resource-card:hover .resource-image img{transform:scale(1.035)}
.resource-fallback{height:100%;display:grid;place-items:center;background:var(--petroleum);color:rgba(255,255,255,.1)}
.resource-fallback span{font-size:150px;font-weight:800;letter-spacing:-.14em;transform:translateX(-8px)}
.category-badge{position:absolute;left:18px;top:18px;display:inline-flex;padding:8px 13px;border-radius:999px;background:var(--coral);color:#fff;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.category-tributario .category-badge,.category-automatizacion .category-badge{background:var(--petroleum)}
.category-laboral .category-badge,.category-gestion-empresarial .category-badge{background:var(--carbon)}
.resource-card-body{padding:24px}
.resource-meta{display:flex;justify-content:space-between;gap:12px;color:#85898B;font-size:11px;margin-bottom:15px}
.resource-card h2{font-size:21px;line-height:1.25;letter-spacing:-.025em;margin:0 0 12px}
.resource-card p{font-size:14px;line-height:1.55;color:var(--muted);margin:0 0 20px}
.resource-link{font-size:13px;font-weight:800;color:var(--coral)}
.pagination-wrap{margin-top:38px}
.nav-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 13px;border-radius:999px;border:1px solid var(--line);font-size:13px;font-weight:700}
.page-numbers.current,.page-numbers:hover{background:var(--petroleum);border-color:var(--petroleum);color:#fff}
.empty-state{padding:64px 28px;border:1px solid var(--line);border-radius:24px;text-align:center;background:var(--warm)}
.empty-state h1,.empty-state h2{font-size:36px;letter-spacing:-.04em;margin:0 0 14px}
.empty-state p{max-width:650px;margin:0 auto 22px;color:var(--muted)}
.empty-state.standalone{margin:70px 46px}
.resources-cta{margin:0 46px 64px;padding:42px 46px;border-radius:26px;background:var(--petroleum);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:30px}
.resources-cta h2{font-size:34px;line-height:1.05;letter-spacing:-.04em;margin:0 0 10px}
.resources-cta p{margin:0;color:#CED8DA}
.single-article{padding:54px 46px 70px}
.article-header{max-width:980px;margin:0 auto 34px;text-align:center}
.article-category{display:inline-flex;padding:8px 13px;border-radius:999px;background:var(--coral);color:#fff;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;margin-bottom:18px}
.article-header h1{font-size:58px;line-height:1.02;letter-spacing:-.055em;margin:0 auto 22px}
.article-meta{display:flex;justify-content:center;gap:22px;flex-wrap:wrap;color:#777C7E;font-size:13px}
.article-excerpt{max-width:800px;margin:22px auto 0;font-size:19px;line-height:1.55;color:var(--muted)}
.article-cover{max-width:1180px;height:560px;margin:0 auto 44px;border-radius:28px;overflow:hidden}
.article-cover img{width:100%;height:100%;object-fit:cover}
.article-layout{display:grid;grid-template-columns:minmax(0,760px) 280px;gap:56px;justify-content:center;align-items:start}
.article-content{font-size:17px;line-height:1.8;color:#34383A}
.article-content h2{font-size:34px;line-height:1.15;letter-spacing:-.035em;margin:48px 0 16px;color:var(--ink)}
.article-content h3{font-size:25px;line-height:1.2;margin:36px 0 12px;color:var(--ink)}
.article-content p{margin:0 0 22px}
.article-content ul,.article-content ol{padding-left:24px;margin:0 0 24px}
.article-content blockquote{margin:34px 0;padding:24px 28px;border-left:4px solid var(--coral);background:var(--warm);border-radius:0 18px 18px 0}
.article-content a{color:var(--coral);text-decoration:underline}
.article-aside{position:sticky;top:24px;display:grid;gap:14px}
.aside-box{padding:24px;border-radius:20px;background:var(--rose)}
.aside-box p{font-size:14px;line-height:1.55;margin:0;color:#4F5457}
.article-navigation{max-width:1096px;margin:52px auto 0;padding-top:28px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px}
.article-navigation a{font-size:13px;font-weight:800;color:var(--petroleum);max-width:45%}
.site-footer{background:var(--carbon);color:#fff;padding:52px 46px 26px}
.footer-grid{display:grid;grid-template-columns:1.45fr .9fr .8fr 1.1fr;gap:42px}
.footer-logo{width:150px;margin:0 0 18px -10px}
.site-footer p,.site-footer a,.site-footer span{font-size:13px;color:#BFC2C4}
.site-footer h3{font-size:14px;margin:0 0 14px}
.footer-links{display:grid;gap:9px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:36px;padding-top:20px;display:flex;justify-content:space-between;gap:20px;color:#9FA3A5;font-size:12px}
.whatsapp-float{position:fixed;right:24px;bottom:24px;z-index:80;width:64px;height:64px;border-radius:50%;box-shadow:0 12px 24px rgba(18,54,60,.18);transition:.2s}
.whatsapp-float:hover{transform:translateY(-3px) scale(1.03)}
.whatsapp-float svg{display:block;width:64px;height:64px}
.reveal{opacity:0;transform:translateY(14px);transition:opacity .28s ease,transform .28s ease}
.reveal.visible{opacity:1;transform:none}
@media(max-width:1080px){
  .resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .article-layout{grid-template-columns:minmax(0,720px)}
  .article-aside{position:static;grid-template-columns:1fr auto;align-items:center}
}
@media(max-width:900px){
  .page-shell{padding:0}.site-frame{border-radius:0}.site-header{height:72px;padding:0 20px}.brand img{width:128px}.menu-toggle{display:block}.header-actions>.button{display:none}.main-nav{position:fixed;left:0;right:0;top:72px;background:var(--warm);display:none;flex-direction:column;align-items:stretch;gap:0;padding:18px 22px;border-bottom:1px solid var(--line);box-shadow:0 20px 30px rgba(32,34,37,.08)}.main-nav.open{display:flex}.main-nav a{padding:14px 0}.main-nav a:after{bottom:8px}.resources-hero{margin:14px 14px 0;padding:56px 30px}.resources-hero h1{font-size:50px}.resources-main{padding:48px 22px 56px}.resources-cta{margin:0 22px 54px;padding:36px 30px;align-items:flex-start;flex-direction:column}.single-article{padding:44px 22px 60px}.article-header h1{font-size:46px}.article-cover{height:430px}.site-footer{padding:46px 24px 24px}.footer-grid{grid-template-columns:1fr 1fr}.article-aside{grid-template-columns:1fr}.empty-state.standalone{margin:50px 22px}
}
@media(max-width:580px){
  .site-header{height:64px;padding:0 16px}.brand img{width:108px}.main-nav{top:64px}.resources-hero{margin:10px 10px 0;padding:44px 22px;border-radius:24px}.resources-hero h1{font-size:40px}.resources-hero p{font-size:15px}.resources-main{padding:40px 16px 46px}.section-heading h2{font-size:32px}.resource-filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px;scrollbar-width:none}.resource-filters::-webkit-scrollbar{display:none}.filter-chip{flex:0 0 auto}.resource-grid{grid-template-columns:1fr}.resource-image{height:205px}.resources-cta{margin:0 10px 44px;padding:32px 24px}.resources-cta h2{font-size:29px}.resources-cta .button{width:100%}.single-article{padding:38px 18px 52px}.article-header h1{font-size:38px}.article-excerpt{font-size:16px}.article-cover{height:260px;border-radius:20px;margin-bottom:34px}.article-content{font-size:16px}.article-content h2{font-size:29px}.article-content h3{font-size:23px}.article-navigation{flex-direction:column}.article-navigation a{max-width:100%}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column}.whatsapp-float{right:16px;bottom:16px;width:58px;height:58px}.whatsapp-float svg{width:58px;height:58px}.empty-state.standalone{margin:38px 10px}
}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}*{scroll-behavior:auto!important}}

/* V1.1: el contenido de los artículos se muestra inmediatamente, sin depender de JavaScript. */
.single-article .article-header,.single-article .article-cover,.single-article .article-content,.single-article .article-aside{opacity:1!important;transform:none!important;transition:none!important}
