/* Full-site "Sistema humano" theme */
.human-theme {
    color-scheme: light;
    --ink: #faf7f0;
    --ink-soft: #f1eee7;
    --panel: #ffffff;
    --panel-2: #ebe7f3;
    --white: #17213a;
    --muted: #687087;
    --dim: #858b9b;
    --green: #778f72;
    --green-bright: #667d62;
    --green-dark: #52664f;
    --line: #d8d6cf;
    --line-soft: rgb(23 33 58 / 10%);
    background: #faf7f0;
    color: #25304a;
}
.human-theme::before { opacity: .12; }
.human-theme em { color: #778f72; }
.human-theme .section-index,
.human-theme .eyebrow,
.human-theme .project-copy > p,
.human-theme .article-grid article > p,
.human-theme .knowledge-listing article > p { color: #5b75b5; }
.human-theme .eyebrow span { background: #778f72; }

.human-theme .site-header {
    border-color: rgb(23 33 58 / 8%);
    background: rgb(250 247 240 / 90%);
    backdrop-filter: blur(18px);
}
.human-theme .site-header.is-scrolled { border-color: rgb(23 33 58 / 10%); background: rgb(250 247 240 / 94%); }
.human-theme .main-nav a { color: #25304a; }
.human-theme .main-nav a:not(.nav-cta)::after { background: #778f72; }
.human-theme .main-nav .nav-cta { border: 0; border-radius: 2rem; background: #17213a; color: white; }
.human-theme .main-nav .nav-cta:hover { background: #778f72; color: white; }
.human-theme .menu-toggle { color: #17213a; }
.human-theme .menu-toggle i,
.human-theme .menu-toggle i::after { background: #17213a; }

.human-theme .inner-main { background: #faf7f0; }
.human-theme .inner-hero {
    position: relative;
    border-color: #d8d6cf;
    overflow: hidden;
}
.human-theme .inner-hero::after {
    position: absolute;
    z-index: -1;
    right: -8rem;
    bottom: -12rem;
    width: 34rem;
    aspect-ratio: 1;
    border: 1px solid rgb(119 143 114 / 30%);
    border-radius: 50%;
    background: radial-gradient(circle, rgb(217 213 242 / 58%), transparent 62%);
    box-shadow: 0 0 0 5rem rgb(119 143 114 / 5%), 0 0 0 10rem rgb(91 117 181 / 3%);
    content: "";
}
.human-theme .inner-hero h1 {
    max-width: 14ch;
    color: #17213a;
    font-size: clamp(2.9rem, 4.8vw, 4.9rem);
    line-height: 1.04;
    letter-spacing: -.035em;
}
.human-theme .inner-lead { color: #687087; }
.human-theme .inner-lead a { color: #52664f; }
.human-theme .editorial-block,
.human-theme .detail-process,
.human-theme .outcomes,
.human-theme .principles,
.human-theme .case-flow,
.human-theme .project-story,
.human-theme .article-body,
.human-theme .legal-content { background: #faf7f0; }
.human-theme .prose-large h2,
.human-theme .section-heading h2,
.human-theme .detail-process h3,
.human-theme .case-flow h2,
.human-theme .project-story h2,
.human-theme .article-prose h2,
.human-theme .legal-content h2 { color: #17213a; }
.human-theme .prose-large h2,
.human-theme .section-heading h2 {
    font-size: clamp(2.2rem, 3.8vw, 3.8rem);
    line-height: 1.08;
}
.human-theme .prose-large p,
.human-theme .section-heading > p:last-child,
.human-theme .heading-row > p,
.human-theme .detail-process li p,
.human-theme .case-flow article p:last-child,
.human-theme .project-story article p:last-child,
.human-theme .project-story li,
.human-theme .article-prose p,
.human-theme .legal-content p,
.human-theme .legal-content dd { color: #687087; }

.human-theme .inner-band { background: #f0edf4; }
.human-theme .topic-grid,
.human-theme .principle-list,
.human-theme .listing-grid,
.human-theme .outcome-grid,
.human-theme .knowledge-listing,
.human-theme .article-grid,
.human-theme .method-steps { border-color: #d0cdd6; }
.human-theme .topic-grid article,
.human-theme .principle-list article,
.human-theme .listing-card,
.human-theme .outcome-grid article,
.human-theme .knowledge-listing article,
.human-theme .article-grid article,
.human-theme .method-steps li {
    border-color: #d0cdd6;
    background: rgb(255 255 255 / 45%);
}
.human-theme .topic-grid article:nth-child(3n+2),
.human-theme .principle-list article:nth-child(3n+2) { background: rgb(217 213 242 / 30%); }
.human-theme .topic-grid span,
.human-theme .principle-list span,
.human-theme .listing-card > span,
.human-theme .outcome-grid span,
.human-theme .method-steps span { color: #5b75b5; }
.human-theme .topic-grid h3,
.human-theme .principle-list h3,
.human-theme .listing-card h2,
.human-theme .outcome-grid h3,
.human-theme .knowledge-listing h2,
.human-theme .article-grid h3,
.human-theme .method-steps strong { color: #17213a; }
.human-theme .topic-grid p,
.human-theme .principle-list p,
.human-theme .listing-card p,
.human-theme .knowledge-listing article > span,
.human-theme .article-grid article > span,
.human-theme .method-steps p { color: #687087; }
.human-theme .listing-card:hover,
.human-theme .knowledge-listing article:hover,
.human-theme .article-grid article:hover { background: white; box-shadow: 0 1.5rem 4rem rgb(23 33 58 / 8%); }
.human-theme .listing-card i { color: #52664f; }

.human-theme .detail-process > ol,
.human-theme .detail-process > ol > li,
.human-theme .check-list,
.human-theme .check-list li,
.human-theme .solution-list,
.human-theme .solution-list a,
.human-theme .case-flow > article,
.human-theme .project-story > article,
.human-theme .project-listing > a,
.human-theme .related-strip,
.human-theme .related-strip a,
.human-theme .legal-header,
.human-theme .legal-content section,
.human-theme .legal-content dl div { border-color: #d8d6cf; }
.human-theme .detail-process > ol > li > span,
.human-theme .check-list li::before,
.human-theme .solution-list i,
.human-theme .case-flow > article > span,
.human-theme .project-story > article > span,
.human-theme .project-list-number,
.human-theme .project-listing i,
.human-theme .related-strip a span { color: #778f72; }
.human-theme .check-list li { color: #25304a; }
.human-theme .solution-list strong,
.human-theme .project-listing h2,
.human-theme .related-strip a { color: #17213a; }
.human-theme .solution-list a:hover { color: #52664f; background: rgb(119 143 114 / 6%); }
.human-theme .solution-list a small,
.human-theme .project-listing span { color: #687087; }
.human-theme .project-listing p { color: #5b75b5; }

.human-theme .cta-panel {
    border-radius: 1.8rem;
    background: #d9d5f2;
    color: #17213a;
    box-shadow: 0 1.5rem 4rem rgb(23 33 58 / 8%);
}
.human-theme .button-primary,
.human-theme .contact-form .button-primary {
    border-radius: 2rem;
    background: #17213a;
    color: white;
}
.human-theme .button-primary:hover { background: #778f72; color: white; }
.human-theme .metrics-grid article { border-color: #d0cdd6; }
.human-theme .metrics-grid strong { color: #778f72; }
.human-theme .metrics-grid span { color: #687087; }
.human-theme .company-numbers { background: #f0edf4; }

.human-theme .project-story .story-result {
    border-radius: 1.5rem;
    background: #778f72;
    color: white;
}
.human-theme .story-result .section-index,
.human-theme .story-result > span { color: white; }
.human-theme .story-result h2 { color: white; }
.human-theme .technology-band { background: #f0edf4; }
.human-theme .technology-band span { border-color: #c9c6d1; color: #4f5870; background: white; border-radius: 2rem; }
.human-theme .article-header { border-color: #d8d6cf; background: linear-gradient(135deg, #faf7f0, #f0edf4); }
.human-theme .article-header h1,
.human-theme .newsletter-note h2,
.human-theme .legal-header h1 { color: #17213a; }
.human-theme .article-header > p:last-child,
.human-theme .newsletter-note > p:last-child { color: #687087; }
.human-theme .article-body aside { color: #25304a; }
.human-theme .article-body aside p,
.human-theme .article-body aside span { color: #858b9b; }
.human-theme .article-conclusion,
.human-theme .legal-warning,
.human-theme .legal-status { border-color: #778f72; border-radius: 1rem; background: #f0edf4; }

.human-theme .contact-page { background: #f0edf4; }
.human-theme .contact-expectations,
.human-theme .contact-expectations li { border-color: #cbc8d2; }
.human-theme .contact-expectations span { color: #778f72; }
.human-theme .contact-expectations p,
.human-theme .privacy-note { color: #687087; }
.human-theme .contact-form {
    border-radius: 1.5rem;
    background: white;
    color: #17213a;
    box-shadow: 1.2rem 1.2rem 0 rgb(119 143 114 / 16%);
}
.human-theme .contact-form label { color: #3f4860; }
.human-theme .contact-form label > span,
.human-theme .form-note.is-visible { color: #52664f; }
.human-theme .form-note.is-error { color: #a13e32; }
.human-theme .contact-form input,
.human-theme .contact-form select,
.human-theme .contact-form textarea { border-color: #c4c5c0; color: #17213a; }
.human-theme .contact-form select option { background: white; color: #17213a; }
.human-theme .contact-form input:focus,
.human-theme .contact-form select:focus,
.human-theme .contact-form textarea:focus { border-color: #778f72; }
.human-theme .form-note { color: #858b9b; }

.human-theme .site-footer { background: #e9e5dc; color: #25304a; }
.human-theme .footer-main p,
.human-theme .footer-main a,
.human-theme .footer-legal,
.human-theme .footer-legal a { color: #687087; }
.human-theme .footer-legal { border-color: #cac7bf; }
.human-theme .footer-main a:hover,
.human-theme .footer-legal a:hover { color: #52664f; }

.human-error { min-height: 100vh; }
.human-error main { display: grid; min-height: 100vh; padding: clamp(2rem, 6vw, 6rem); grid-template-rows: auto 1fr; }
.human-error img { width: 12rem; height: auto; }
.human-error main > div { display: grid; max-width: 52rem; align-self: center; }
.human-error main > div > span { color: #d9d5f2; font-size: clamp(6rem, 20vw, 15rem); font-weight: 700; line-height: .7; }
.human-error main p { margin: 2rem 0 .5rem; color: #5b75b5; font-weight: 600; }
.human-error h1 { max-width: 12ch; color: #17213a; }
.human-error .sh-button { width: fit-content; margin-top: 1rem; }

@media (max-width: 52rem) {
    .human-theme .main-nav { background: #faf7f0; }
    .human-theme .inner-hero::after { right: -18rem; opacity: .7; }
    .human-theme .inner-hero h1 { font-size: clamp(2.8rem, 11vw, 4.5rem); }
}

/* Identidad 2026 basada en la guía visual de Coda */
.human-theme {
    --ink: #f7f8f4;
    --ink-soft: #e6e6e3;
    --panel: #ffffff;
    --panel-2: #e6e6e3;
    --white: #1d1f1c;
    --muted: #666963;
    --dim: #7c7f79;
    --green: #afc400;
    --green-bright: #bfd500;
    --green-dark: #879800;
    --line: #cfd1cc;
    --line-soft: rgb(29 31 28 / 10%);
    background:#f7f8f4;
    color:#1d1f1c;
}
.human-theme em{color:#879800}
.human-theme .section-index,.human-theme .eyebrow,.human-theme .project-copy>p,.human-theme .article-grid article>p,.human-theme .knowledge-listing article>p{color:#41443f}
.human-theme .section-index::before{display:inline-block;width:2.5rem;height:2px;margin-right:.7rem;background:#afc400;content:"";vertical-align:middle}
.human-theme .site-header,.human-theme .site-header.is-scrolled{border-color:#dedfdb;background:rgb(247 248 244 / 94%)}
.human-theme .main-nav a{color:#41443f}
.human-theme .main-nav a:not(.nav-cta)::after{background:#afc400}
.human-theme .main-nav .nav-cta{border-radius:.35rem;background:#1d1f1c;color:#f7f8f4}
.human-theme .main-nav .nav-cta:hover{background:#afc400;color:#1d1f1c}
.human-theme .inner-main,.human-theme .editorial-block,.human-theme .detail-process,.human-theme .outcomes,.human-theme .principles,.human-theme .case-flow,.human-theme .project-story,.human-theme .article-body,.human-theme .legal-content{background:#f7f8f4}
.human-theme .inner-hero h1,.human-theme .prose-large h2,.human-theme .section-heading h2,.human-theme .detail-process h3,.human-theme .case-flow h2,.human-theme .project-story h2,.human-theme .article-prose h2,.human-theme .legal-content h2{color:#1d1f1c}
.human-theme .inner-hero::after{border-color:rgb(175 196 0 / 35%);border-radius:0;background:linear-gradient(135deg,rgb(175 196 0 / 15%),transparent 62%);box-shadow:0 0 0 5rem rgb(65 68 63 / 4%),0 0 0 10rem rgb(175 196 0 / 3%);transform:rotate(22deg)}
.human-theme .inner-band,.human-theme .company-numbers,.human-theme .technology-band,.human-theme .contact-page{background:#e6e6e3}
.human-theme .topic-grid article,.human-theme .principle-list article,.human-theme .listing-card,.human-theme .outcome-grid article,.human-theme .knowledge-listing article,.human-theme .article-grid article,.human-theme .method-steps li{border-color:#cfd1cc;background:rgb(255 255 255 / 48%)}
.human-theme .topic-icon{width:3rem;height:3rem;margin:1.7rem 0 .4rem;fill:none;stroke:#41443f;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.human-theme .topic-grid article:nth-child(3n+2),.human-theme .principle-list article:nth-child(3n+2){background:rgb(175 196 0 / 10%)}
.human-theme .topic-grid span,.human-theme .principle-list span,.human-theme .listing-card>span,.human-theme .outcome-grid span,.human-theme .method-steps span{color:#879800}
.human-theme .cta-panel{border-radius:.55rem;background:#afc400;color:#1d1f1c;box-shadow:none}
.human-theme .button-primary,.human-theme .contact-form .button-primary{border-radius:.35rem;background:#1d1f1c;color:#f7f8f4}
.human-theme .button-primary:hover{background:#afc400;color:#1d1f1c}
.human-theme .project-story .story-result{border-radius:.55rem;background:#41443f;color:#f7f8f4}
.human-theme .contact-form{border-radius:.55rem;box-shadow:1rem 1rem 0 rgb(175 196 0 / 22%)}
.human-theme .site-footer{background:#1d1f1c;color:#f7f8f4}
.human-theme .footer-main p,.human-theme .footer-main a,.human-theme .footer-legal,.human-theme .footer-legal a{color:#c9cbc5}
.human-theme .footer-main img{filter:none}
.human-theme .footer-legal{border-color:#41443f}
.human-theme .footer-main a:hover,.human-theme .footer-legal a:hover{color:#afc400}
.human-theme .site-footer img{padding:.45rem;background:#f7f8f4}
.human-error main>div>span{color:#e6e6e3}
.human-error p{color:#41443f}
.human-error h1{color:#1d1f1c}
@media(max-width:52rem){.human-theme .main-nav{background:#f7f8f4}}
