/* Ágora Laboral 360° · Sistema visual compartido · octubre 2026 */
:root{--ag-violet:#76538e;--ag-rose:#c991a0;--ag-sage:#a7b9a6;--ag-ink:#30313d;--ag-soft:#fcfafd}
html{scroll-behavior:smooth}
body{overflow-x:hidden}
body :is(h1,h2,h3){text-wrap:balance}
body h1{font-family:"Cormorant Garamond",Georgia,serif;font-size:clamp(2.5rem,5.2vw,4.7rem);line-height:1.08;letter-spacing:-.025em}
body h2{font-family:"Cormorant Garamond",Georgia,serif;font-size:clamp(1.9rem,3.6vw,3.2rem);line-height:1.15}
body h3{line-height:1.3}
body :is(p,li){line-height:1.7}
body :is(.service-grid,.prevention-grid,.catalog-grid,.format-grid,.grid-blog,.principles){gap:clamp(18px,2.5vw,32px)}
body :is(.service-card,.product-card,.card-post,.form-card,.info-card,.principles article,.format-card,.panel){transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 body :is(.service-card,.product-card,.card-post,.form-card,.info-card,.principles article,.format-card):hover{transform:translateY(-5px);box-shadow:0 16px 36px rgba(70,49,83,.13);border-color:rgba(118,83,142,.35)}
}
body :is(.desktop-nav,.site-header nav,header nav){column-gap:clamp(12px,1.5vw,25px);row-gap:12px}
body :is(.desktop-nav a,.site-header nav a,header nav a){transition:color .2s ease}
body :is(.desktop-nav a,.site-header nav a,header nav a):hover{color:var(--ag-violet)}
body :is(a,button,input,textarea,select):focus-visible{outline:3px solid var(--ag-violet);outline-offset:3px}
body img{max-width:100%;height:auto}
@media(max-width:760px){
 body h1{font-size:clamp(2.25rem,10vw,3.5rem)}
 body h2{font-size:clamp(1.8rem,7vw,2.6rem)}
 body :is(.service-grid,.prevention-grid,.catalog-grid,.format-grid,.grid-blog){gap:20px}
 body :is(.site-header,header){max-width:100%}
 body :is(.site-header nav,header nav){row-gap:12px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}body *,body *::before,body *::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* Paleta tipográfica accesible y consistente */
body{color:#34313d}
body :is(h1,h2){color:#3c3048}
body h3{color:#51405f}
body :is(.eyebrow,.kicker,.card-kicker){color:#76538e}
body :is(.lead,.hero-lead,.card-desc,.section-intro p){color:#514d59}
body :is(.muted,.subtitle,small){color:#625d69}
body :is(.service-card,.product-card,.card-post,.form-card,.info-card,.panel){color:#34313d}
body :is(.service-card,.product-card,.card-post,.form-card,.info-card,.panel) :is(h2,h3){color:#51405f}
body :is(a:not(.button):not(.btn):not(.btn-header):not(.header-cta):not(.submit-button)){text-underline-offset:3px}
body :is(input,textarea,select){color:#34313d}
body :is(input,textarea)::placeholder{color:#6b6571}
body :is(.hero,.page-hero,.blog-hero) :is(h1,h2){color:#3c3048}

/* Acabado final: menús, fondos, contraste y respiración */
body .agora-unified-nav{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 19px}
body .agora-unified-nav a{display:inline-flex;align-items:center;padding:7px 2px;text-decoration:none;font-family:Montserrat,Arial,sans-serif;font-size:clamp(.76rem,.92vw,.88rem);font-weight:600;line-height:1.35;white-space:nowrap}
body .agora-unified-nav a[aria-current="page"]{border-bottom:2px solid #a47cae}
body .mobile-nav.agora-unified-nav{display:none}
body .agora-unified-nav a:focus-visible{outline:2px solid #76538e;outline-offset:3px}
body :is(.section-shell,.section,.free-section,.support-section){scroll-margin-top:100px}
body :is(.service-card,.product-card,.card-post,.info-card,.format-card){border-radius:16px}
body :is(.service-card,.product-card,.card-post,.info-card,.format-card) p{line-height:1.65}
body :is(.section-shell,.section,.catalog-hero,.blog-hero){padding-block:clamp(28px,4vw,64px)}
body :is(.service-grid,.catalog-grid,.format-grid,.grid-blog){align-items:stretch}
body :is(.service-card,.product-card,.card-post,.info-card,.format-card){background-color:#fffdfd}
body :is(.site-header,header){z-index:20}
body :is(.site-header,header) .agora-unified-nav a{color:#44374e}
body :is(.site-header,header) .agora-unified-nav a:hover{color:#76538e}
body :is(.site-header,header) .agora-unified-nav a[aria-current="page"]{color:#624578}
body :is(.site-header,header) .mobile-nav.agora-unified-nav a{color:#44374e}
body :is(footer,.site-footer,.dark-section,.dark-band,.section-dark,[class*="dark-bg"]) :is(h1,h2,h3,p,small,li){color:inherit}
body :is(.btn,.button,.btn-header,.header-cta,.submit-button,.contact-whatsapp){color:inherit}
body :is(.btn,.button,.btn-header,.header-cta,.submit-button,.contact-whatsapp):hover{filter:brightness(1.04)}
@media(max-width:980px){body .agora-unified-nav{gap:8px 13px}}
@media(max-width:760px){
 body nav.agora-unified-nav:not(.mobile-nav){display:flex;justify-content:flex-start;flex-wrap:wrap;gap:4px 12px}
 body nav.agora-unified-nav:not(.mobile-nav) a{font-size:.76rem;padding:6px 0}
 body .mobile-nav.agora-unified-nav{display:none}
 body .mobile-nav.agora-unified-nav:target{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
 body :is(.section-shell,.section,.catalog-hero,.blog-hero){padding-block:clamp(22px,6vw,40px)}
}
