/* Ágora Laboral 360° — identidad corporativa sobria, octubre 2026 */
:root{--ag-violet:#51465f;--ag-rose:#a57986;--ag-sage:#7b897b;--ag-ink:#302e37;--ag-soft:#f8f7f6}
html body{background:#f8f7f6;color:#302e37}
body :is(h1,h2,h3){color:#302e37}
body :is(.eyebrow,.agora-cover-eyebrow){color:#5f586a}
body :is(.lead,.hero-lead,.catalog-lead,.agora-cover-desc){color:#56515c}
body :is(.pill-button,.button,.action.primary,.agora-cover-actions a:first-child,.whatsapp,.btn-header,.btn-leer){background:#51465f!important;color:#fff!important;border-radius:10px!important}
body :is(.pill-button,.button,.action.primary,.agora-cover-actions a:first-child,.whatsapp,.btn-header,.btn-leer):hover{background:#393143!important}
body :is(.button-outline,.action.secondary,.agora-cover-actions a:last-child){background:transparent!important;color:#51465f!important;border:1px solid #8e8497!important;border-radius:10px!important}
body :is(.hero,.page-hero,.catalog-hero,.blog-hero,.agora-cover){background:linear-gradient(115deg,#fbfaf9 0%,#f5f3f5 65%,#edf0ec 100%)!important}
body .agora-cover h1,body .agora-cover h1 em,body .hero h1 em,body .page-hero h1 em,body .catalog-hero h1 em{color:#38323f!important}
body :is(.hero-media,.agora-cover-image){border-radius:45px 0 0 45px / 20% 0 0 20%}
body :is(.panel,.feature,.card-post,.product-card,.principles article){border-radius:12px!important}
body .panel{background:linear-gradient(110deg,#f2f0f2,#f5f5f2)!important}
body .feature:nth-child(1){background:#f0edf1!important}
body .feature:nth-child(2){background:#ecf0ec!important}
body .feature:nth-child(3){background:#f4f0f0!important}
body .feature:nth-child(4){background:#f3f1ed!important}
body .feature .icon{background:#e6e1e9!important;color:#51465f!important}
body .feature:nth-child(2) .icon{background:#e0e7e0!important;color:#657665!important}
body .feature:nth-child(3) .icon{background:#ebe3e5!important;color:#8d6873!important}
body :is(.site-header,.site-head,header.site-header){background:#fff!important;border-bottom:1px solid #e9e6e9}
body :is(nav.agora-unified-nav a[aria-current="page"],nav a[aria-current="page"]){color:#51465f!important;border-bottom-color:#51465f!important}
body :is(.card-post,.product-card,.principles article){background:#fff!important;border-color:#e7e3e8!important}
body :is(.card-post,.product-card,.feature,.principles article){box-shadow:0 5px 18px #28202e0a}
body :is(.card-post,.product-card,.feature,.principles article):hover{box-shadow:0 13px 30px #28202e17}
body .tag{background:#eeebf0!important;color:#51465f!important}
body .agora-cover-image:after,body .hero-media:after{background:linear-gradient(140deg,#e4e0e7a0,#dce4d9a8)!important}
@media(max-width:760px){body :is(.hero-media,.agora-cover-image){border-radius:32px 0 0 0}}
@media(prefers-reduced-motion:reduce){body *{transition:none!important}}

/* Botones: violeta medio aprobado por referencia visual, con texto blanco legible */
body :is(.pill-button,.button,.action.primary,.agora-cover-actions a:first-child,.whatsapp,.btn-header,.btn-leer,.header-cta,.agora-escuela-link a){background:#79548c!important;color:#fff!important;border-color:#79548c!important;text-shadow:none!important}
body :is(.pill-button,.button,.action.primary,.agora-cover-actions a:first-child,.whatsapp,.btn-header,.btn-leer,.header-cta,.agora-escuela-link a):is(:hover,:focus-visible){background:#674578!important;color:#fff!important;border-color:#674578!important}
body :is(.pill-button,.button,.action.primary,.agora-cover-actions a:first-child,.whatsapp,.btn-header,.btn-leer,.header-cta,.agora-escuela-link a) :is(span,svg){color:inherit!important}

/* Ritmo cromático entre secciones: blanco, salvia y lavanda desaturada */
body :is(main, .main-content) > section:not(.hero):not(.page-hero):not(.catalog-hero):not(.agora-cover):not(.blog-hero):nth-of-type(3n+1){background-color:#ffffff}
body :is(main, .main-content) > section:not(.hero):not(.page-hero):not(.catalog-hero):not(.agora-cover):not(.blog-hero):nth-of-type(3n+2){background-color:#edf3ee}
body :is(main, .main-content) > section:not(.hero):not(.page-hero):not(.catalog-hero):not(.agora-cover):not(.blog-hero):nth-of-type(3n){background-color:#f2eff5}
body .reconnect.anticipate{background:#edf3ee!important}
body .reconnect.anticipate h2{color:#486d59!important}
body .reconnect.anticipate :is(.button,.pill-button){background:#79548c!important;color:#fff!important}
body .agora-escuela-link{background:#f2eff5!important}
body .agora-escuela-link :is(.button,.pill-button,a){background:#79548c!important;color:#fff!important}

/* Navegación uniforme y adaptable: octubre 2026 */
body :is(.site-header,.site-head,header.site-header,header:has(> .logo-box)){display:flex;align-items:center;justify-content:space-between;gap:clamp(12px,1.6vw,25px);padding:15px clamp(18px,3vw,48px);background:#fff!important;border-bottom:1px solid #e7e4e8}
body :is(.site-header,.site-head,header.site-header,header:has(> .logo-box)) > :is(.brand,.logo,.logo-box){flex-shrink:0}
body :is(nav.agora-unified-nav,.site-head nav){display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px clamp(9px,1.2vw,19px);margin-left:auto;min-width:0}
body :is(nav.agora-unified-nav,.site-head nav) a{display:inline-block;white-space:nowrap;text-decoration:none;font-family:Montserrat,Arial,sans-serif;font-size:clamp(10px,.83vw,12px);font-weight:600;line-height:1.4;color:#3e3945;padding:7px 0}
body :is(nav.agora-unified-nav,.site-head nav) a:hover{color:#79548c!important}
body :is(nav.agora-unified-nav,.site-head nav) a[aria-current="page"]{color:#79548c!important;border-bottom:2px solid #79548c}
body .site-head .brand-word,body .site-header .brand-copy{color:#302e37}
body .site-header .header-cta,body .site-head .whatsapp{flex-shrink:0}
@media(max-width:1050px){body :is(.site-header,.site-head,header.site-header,header:has(> .logo-box)){flex-wrap:wrap;justify-content:center}body :is(nav.agora-unified-nav,.site-head nav){order:3;width:100%;margin:0;justify-content:center}body .site-header .menu-button{display:none!important}}
@media(max-width:760px){body :is(.site-header,.site-head,header.site-header,header:has(> .logo-box)){padding:14px 18px;gap:10px}body :is(nav.agora-unified-nav,.site-head nav){display:flex!important;grid-template-columns:none!important;flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;gap:17px;padding:8px 2px 12px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}body :is(nav.agora-unified-nav,.site-head nav) a{font-size:12px;flex:0 0 auto}body .site-header .menu-button{display:none!important}}

/* Encabezado único: sin saltos de fila en escritorio */
body .agora-global-header{box-sizing:border-box;display:grid!important;grid-template-columns:minmax(170px,245px) minmax(0,1fr) auto!important;align-items:center!important;gap:clamp(12px,1.6vw,24px)!important;padding:15px clamp(20px,3vw,46px)!important;background:#fff!important;border-bottom:1px solid #e9e5eb!important;position:relative;z-index:30;width:100%}
body .agora-global-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#302e37;min-width:0}
body .agora-brand-symbol{display:block;width:40px;height:50px;flex-shrink:0}
body .agora-global-word{font:600 clamp(24px,2.25vw,36px)/.9 "Cormorant Garamond",Georgia,serif;letter-spacing:.1em;white-space:nowrap}
body .agora-global-word small{display:block;margin-top:9px;font:700 9px/1.3 Montserrat,Arial,sans-serif;letter-spacing:.23em;color:#79548c}
body .agora-global-nav{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;gap:clamp(9px,1.1vw,20px)!important;min-width:0;margin:0!important;width:auto!important;order:initial!important}
body .agora-global-nav a{font:600 clamp(10px,.79vw,12px)/1.4 Montserrat,Arial,sans-serif!important;color:#3e3945!important;white-space:nowrap;text-decoration:none!important;padding:8px 0!important;border-bottom:2px solid transparent}
body .agora-global-nav a[aria-current="page"]{color:#79548c!important;border-bottom-color:#79548c}
body .agora-global-cta{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:13px 17px;border-radius:10px;background:#79548c;color:#fff!important;text-decoration:none;font:700 12px Montserrat,Arial,sans-serif}
body .agora-global-cta:hover{background:#674578}
@media(max-width:1160px){body .agora-global-header{grid-template-columns:1fr auto!important;gap:8px 16px!important}body .agora-global-nav{grid-column:1/-1;grid-row:2;justify-content:center!important;padding-top:8px}}
@media(max-width:760px){body .agora-global-header{padding:13px 17px!important}body .agora-global-nav{display:flex!important;justify-content:flex-start!important;overflow-x:auto!important;gap:18px!important;scrollbar-width:thin;padding-bottom:8px}body .agora-global-nav a{font-size:12px!important;flex-shrink:0}body .agora-global-word{font-size:29px}body .agora-global-cta{padding:11px 12px;font-size:11px}}
/* Tarjetas de servicios: alternancia fría y cálida moderada */
body .service-grid>.service-card{background:#fff!important;border:1px solid #e6e4e8!important;box-shadow:0 8px 26px #2d28350c!important}
body .service-grid>.service-card:nth-child(3n+2){background:#edf3ee!important;border-color:#dbe6dc!important}
body .service-grid>.service-card:nth-child(3n){background:#f2eff5!important;border-color:#e7e1ed!important}
body .service-grid>.service-card h3{color:#3b3543!important}
body .service-grid>.service-card p{color:#5b5560!important}
body .service-grid>.service-card .text-link{color:#79548c!important;border-color:#a88ab5!important}
body .service-grid>.service-card .text-link:hover{color:#5f3e74!important}

/* Navegación alineada a la derecha, con WhatsApp al extremo derecho */
body .agora-global-header{grid-template-columns:minmax(175px,245px) minmax(0,1fr) auto!important}
body .agora-global-nav{justify-content:flex-end!important;margin-left:auto!important;gap:clamp(10px,1vw,18px)!important}
body .agora-global-nav a{font-family:Montserrat,Arial,sans-serif!important;font-size:12px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important}
@media(min-width:1161px){body .agora-global-header{grid-template-columns:minmax(175px,245px) minmax(0,1fr) auto!important}}
@media(min-width:761px) and (max-width:1160px){body .agora-global-nav{justify-content:flex-end!important}}
@media(max-width:760px){body .agora-global-nav{justify-content:flex-start!important;margin-left:0!important}}

/* Unificación final: CTA de Inicio y formulario de Contacto */
body.agora-home .contact .pill-button,body.agora-home .hero-actions .pill-button,body .submit-button{background:#79548c!important;color:#fff!important;border-color:#79548c!important}
body.agora-home .contact .pill-button:is(:hover,:focus-visible),body.agora-home .hero-actions .pill-button:is(:hover,:focus-visible),body .submit-button:is(:hover,:focus-visible){background:#674578!important;color:#fff!important;border-color:#674578!important}
