/*
 * J-Simulador — portada institucional 2026-07-24
 * El logo y sus archivos no se modifican.
 */

.home {
    --jsim-ink: #0b1220;
    --jsim-navy: #0c1a3a;
    --jsim-blue: #1d4ed8;
    --jsim-blue-dark: #153ca6;
    --jsim-line: #dbe3ee;
    --jsim-muted: #536176;
    --jsim-soft: #f4f7fb;
    --jsim-white: #ffffff;
    background: var(--jsim-white);
    color: var(--jsim-ink);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.home *,
.home *::before,
.home *::after {
    box-sizing: border-box;
}

.home h1,
.home h2,
.home h3,
.home h4 {
    color: var(--jsim-ink);
    font-family: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: -0.035em;
}

.home .footer h3,
.home .footer h4 {
    color: #ffffff;
}

.home .main {
    overflow: hidden;
}

.home .container {
    width: min(1180px, calc(100% - 48px));
}

.home .header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--jsim-line);
    box-shadow: none;
}

.home .header.scrolled {
    box-shadow: 0 8px 24px rgba(11, 18, 32, 0.06);
}

.home .navbar {
    min-height: 74px;
}

.home .logo-image {
    height: 42px;
    width: auto;
}

.home .nav-links {
    gap: 26px;
}

.home .nav-links a {
    color: #26354a;
    font-size: 0.88rem;
    font-weight: 600;
}

.home .nav-links a:hover,
.home .nav-links a:focus-visible {
    color: var(--jsim-blue);
}

.home .nav-cta {
    gap: 10px;
}

.home .btn {
    border-radius: 7px;
    box-shadow: none;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.home .btn:hover {
    box-shadow: none;
    transform: none;
}

.home .btn-primary {
    background: var(--jsim-blue);
    border-color: var(--jsim-blue);
}

.home .btn-primary:hover,
.home .btn-primary:focus-visible {
    background: var(--jsim-blue-dark);
    border-color: var(--jsim-blue-dark);
}

.home .btn-secondary {
    background: var(--jsim-white);
    border: 1px solid var(--jsim-line);
    color: var(--jsim-navy);
}

.home .jsim-hero {
    background: var(--jsim-white);
    border-bottom: 1px solid var(--jsim-line);
    padding: 122px 0 0;
}

.home .jsim-hero-grid {
    align-items: center;
    display: grid;
    gap: clamp(44px, 7vw, 88px);
    grid-template-columns: minmax(0, 0.94fr) minmax(460px, 1.06fr);
    min-height: 590px;
    padding-bottom: 60px;
}

.home .jsim-hero-copy {
    max-width: 610px;
}

.home .jsim-eyebrow {
    color: var(--jsim-blue);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin: 0 0 17px;
    text-transform: uppercase;
}

.home .jsim-hero h1 {
    font-size: clamp(2.75rem, 4.6vw, 4.75rem);
    font-weight: 800;
    line-height: 1;
    margin: 0;
    max-width: 760px;
}

.home .jsim-hero-lead {
    color: var(--jsim-muted);
    font-size: clamp(1rem, 1.3vw, 1.13rem);
    line-height: 1.72;
    margin: 26px 0 0;
    max-width: 650px;
}

.home .jsim-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 30px;
}

.home .jsim-text-link {
    align-items: center;
    color: var(--jsim-blue);
    display: inline-flex;
    font-size: 0.94rem;
    font-weight: 750;
    gap: 9px;
    text-decoration: none;
}

.home .jsim-text-link:hover,
.home .jsim-text-link:focus-visible {
    color: var(--jsim-blue-dark);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.home .jsim-action-note {
    color: #69778a;
    font-size: 0.81rem;
    margin: 17px 0 0;
}

.home .jsim-product-visual {
    margin: 0;
}

.home .jsim-product-visual picture {
    background: var(--jsim-soft);
    border: 1px solid #cfd9e6;
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(13, 31, 66, 0.12);
    display: block;
    overflow: hidden;
}

.home .jsim-product-visual img {
    display: block;
    height: auto;
    width: 100%;
}

.home .jsim-product-visual figcaption {
    color: #69778a;
    font-size: 0.76rem;
    margin-top: 10px;
    text-align: right;
}

.home .jsim-evidence {
    border-top: 1px solid var(--jsim-line);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
}

.home .jsim-evidence > div {
    padding: 23px 28px 25px;
}

.home .jsim-evidence > div + div {
    border-left: 1px solid var(--jsim-line);
}

.home .jsim-evidence dt {
    color: var(--jsim-navy);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
}

.home .jsim-evidence dd {
    color: var(--jsim-muted);
    font-size: 0.78rem;
    margin: 4px 0 0;
}

.home .jsim-section {
    padding: 96px 0;
}

.home .jsim-section-heading {
    margin: 0 auto 48px;
    max-width: 760px;
    text-align: center;
}

.home .jsim-section-heading-left {
    margin-left: 0;
    text-align: left;
}

.home .jsim-section-heading h2 {
    font-size: clamp(2rem, 3.2vw, 3.25rem);
    line-height: 1.08;
    margin: 0;
}

.home .jsim-section-heading > p:last-child {
    color: var(--jsim-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 20px auto 0;
    max-width: 700px;
}

.home .jsim-section-heading-left > p:last-child {
    margin-left: 0;
}

.home .jsim-product {
    background: var(--jsim-soft);
}

.home .jsim-product-grid {
    background: var(--jsim-white);
    border: 1px solid var(--jsim-line);
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.home .jsim-product-summary {
    border-right: 1px solid var(--jsim-line);
    padding: clamp(34px, 5vw, 62px);
}

.home .jsim-status {
    align-items: center;
    color: #16794a;
    display: flex;
    font-size: 0.78rem;
    font-weight: 800;
    gap: 8px;
    margin: 0 0 24px;
}

.home .jsim-status span {
    background: #20a865;
    border-radius: 50%;
    height: 8px;
    width: 8px;
}

.home .jsim-product-summary h3 {
    font-size: clamp(1.75rem, 2.5vw, 2.5rem);
    margin: 0;
}

.home .jsim-product-summary > p:not(.jsim-status) {
    color: var(--jsim-muted);
    line-height: 1.72;
    margin: 18px 0 28px;
}

.home .jsim-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.home .jsim-feature-list li {
    min-height: 190px;
    padding: 38px;
}

.home .jsim-feature-list li:nth-child(odd) {
    border-right: 1px solid var(--jsim-line);
}

.home .jsim-feature-list li:nth-child(n + 3) {
    border-top: 1px solid var(--jsim-line);
}

.home .jsim-feature-list strong {
    color: var(--jsim-navy);
    display: block;
    font-size: 1rem;
    margin-bottom: 10px;
}

.home .jsim-feature-list span {
    color: var(--jsim-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.home .jsim-teaching {
    background: var(--jsim-white);
}

.home .jsim-capabilities {
    border-bottom: 1px solid var(--jsim-line);
    border-top: 1px solid var(--jsim-line);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.home .jsim-capabilities article {
    padding: 38px 34px;
}

.home .jsim-capabilities article + article {
    border-left: 1px solid var(--jsim-line);
}

.home .jsim-number {
    color: var(--jsim-blue);
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 44px;
}

.home .jsim-capabilities h3 {
    font-size: 1.25rem;
    margin: 0 0 12px;
}

.home .jsim-capabilities p {
    color: var(--jsim-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}

.home .jsim-careers {
    background: var(--jsim-soft);
}

.home .jsim-career-table {
    background: var(--jsim-white);
    border: 1px solid var(--jsim-line);
}

.home .jsim-career-table article {
    align-items: baseline;
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(190px, 0.38fr) 1fr;
    padding: 24px 30px;
}

.home .jsim-career-table article + article {
    border-top: 1px solid var(--jsim-line);
}

.home .jsim-career-table h3 {
    font-size: 1rem;
    margin: 0;
}

.home .jsim-career-table p {
    color: var(--jsim-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

.home .jsim-process {
    background: var(--jsim-white);
}

.home .jsim-process-list {
    counter-reset: steps;
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}

.home .jsim-process-list li {
    align-items: start;
    border-top: 1px solid var(--jsim-line);
    display: grid;
    gap: 32px;
    grid-template-columns: 54px 1fr;
    padding: 28px 0;
}

.home .jsim-process-list li:last-child {
    border-bottom: 1px solid var(--jsim-line);
}

.home .jsim-process-list li > span {
    align-items: center;
    border: 1px solid #b9c8dc;
    border-radius: 50%;
    color: var(--jsim-blue);
    display: flex;
    font-size: 0.8rem;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.home .jsim-process-list h3 {
    font-size: 1.12rem;
    margin: 0 0 8px;
}

.home .jsim-process-list p {
    color: var(--jsim-muted);
    line-height: 1.65;
    margin: 0;
}

.home .jsim-roadmap {
    background: var(--jsim-navy);
    color: #dce6f5;
}

.home .jsim-roadmap-grid {
    align-items: center;
    display: grid;
    gap: 70px;
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
}

.home .jsim-roadmap h2 {
    color: var(--jsim-white);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.1;
    margin: 0;
}

.home .jsim-roadmap p:last-child {
    color: #b8c7dc;
    line-height: 1.7;
    margin: 20px 0 0;
}

.home .jsim-roadmap ul {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    list-style: none;
    margin: 0;
    padding: 0;
}

.home .jsim-roadmap li {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
}

.home .jsim-roadmap li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.home .jsim-roadmap li span {
    font-weight: 700;
}

.home .jsim-roadmap li strong {
    color: #93c5fd;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home .jsim-faq {
    background: var(--jsim-soft);
}

.home .jsim-faq-layout {
    align-items: start;
    display: grid;
    gap: clamp(54px, 8vw, 100px);
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.home .jsim-faq .jsim-section-heading {
    margin-bottom: 0;
    position: sticky;
    top: 120px;
}

.home .faq-grid {
    display: block;
}

.home .faq-item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #cfd9e6;
    border-radius: 0;
    box-shadow: none;
}

.home .faq-item:first-child {
    border-top: 1px solid #cfd9e6;
}

.home .faq-question {
    color: var(--jsim-navy);
    font-size: 0.98rem;
    padding: 21px 0;
}

.home .faq-question:hover,
.home .faq-question:focus-visible {
    background: transparent;
    color: var(--jsim-blue);
}

.home .faq-icon {
    color: var(--jsim-blue);
    font-size: 1.25rem;
}

.home .faq-answer p {
    color: var(--jsim-muted);
    line-height: 1.7;
    padding: 0 40px 22px 0;
}

.home .jsim-resources {
    background: var(--jsim-white);
}

.home .jsim-article-grid {
    border-bottom: 1px solid var(--jsim-line);
    border-top: 1px solid var(--jsim-line);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.home .jsim-article-grid article {
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 34px;
}

.home .jsim-article-grid article + article {
    border-left: 1px solid var(--jsim-line);
}

.home .jsim-article-meta {
    color: #758297;
    font-size: 0.72rem;
    font-weight: 700;
    margin: 0 0 24px;
}

.home .jsim-article-grid h3 {
    font-size: 1.13rem;
    line-height: 1.38;
    margin: 0;
}

.home .jsim-article-grid h3 a {
    color: var(--jsim-navy);
    text-decoration: none;
}

.home .jsim-article-grid h3 a:hover {
    color: var(--jsim-blue);
}

.home .jsim-article-grid p:not(.jsim-article-meta) {
    color: var(--jsim-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.home .jsim-article-grid .jsim-text-link {
    margin-top: auto;
}

.home .jsim-all-resources {
    margin-top: 28px;
}

.home .jsim-contact {
    background: var(--jsim-white);
    border-top: 1px solid var(--jsim-line);
}

.home .jsim-contact-grid {
    align-items: start;
    display: grid;
    gap: clamp(58px, 8vw, 104px);
    grid-template-columns: minmax(0, 0.85fr) minmax(500px, 1.15fr);
}

.home .jsim-contact-copy h2 {
    font-size: clamp(2rem, 3.3vw, 3.3rem);
    line-height: 1.08;
    margin: 0;
}

.home .jsim-contact-copy > p:not(.jsim-eyebrow) {
    color: var(--jsim-muted);
    line-height: 1.7;
    margin: 22px 0 34px;
}

.home .jsim-contact-data {
    border-top: 1px solid var(--jsim-line);
    margin: 0;
}

.home .jsim-contact-data > div {
    border-bottom: 1px solid var(--jsim-line);
    padding: 18px 0;
}

.home .jsim-contact-data dt {
    color: #536176;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.home .jsim-contact-data dd {
    color: var(--jsim-navy);
    line-height: 1.55;
    margin: 6px 0 0;
}

.home .jsim-contact-data a {
    color: var(--jsim-blue);
}

.home .jsim-form-card {
    background: var(--jsim-soft);
    border: 1px solid var(--jsim-line);
    padding: clamp(28px, 4vw, 46px);
}

.home .contact-form {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.home .form-label {
    color: var(--jsim-navy);
    font-size: 0.78rem;
    font-weight: 750;
}

.home .form-input,
.home .form-textarea {
    background: var(--jsim-white);
    border: 1px solid #bdcadb;
    border-radius: 5px;
    color: var(--jsim-ink);
}

.home .form-input:focus,
.home .form-textarea:focus {
    border-color: var(--jsim-blue);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.home .form-privacy {
    color: #536176;
    font-size: 0.75rem;
    margin: 16px 0 0;
}

.home .back-to-top {
    display: none;
}

.home .js-chat-btn {
    background: var(--jsim-navy);
    box-shadow: 0 8px 28px rgba(12, 26, 58, 0.2);
}

.home .footer-description {
    max-width: 370px;
}

@media (max-width: 1080px) {
    .home .jsim-hero-grid {
        grid-template-columns: 1fr 0.9fr;
    }

    .home .jsim-contact-grid {
        grid-template-columns: 0.85fr 1.15fr;
    }

    .home .nav-links {
        gap: 16px;
    }

    .home .nav-links a {
        font-size: 0.8rem;
    }
}

@media (max-width: 960px) {
    .home .container {
        width: min(100% - 36px, 760px);
    }

    .home .jsim-hero {
        padding-top: 104px;
    }

    .home .jsim-hero-grid,
    .home .jsim-contact-grid {
        grid-template-columns: 1fr;
    }

    .home .jsim-hero-grid {
        gap: 42px;
        padding-bottom: 48px;
    }

    .home .jsim-hero-copy {
        max-width: none;
    }

    .home .jsim-hero h1 {
        max-width: 720px;
    }

    .home .jsim-product-visual {
        max-width: 720px;
    }

    .home .jsim-product-grid {
        grid-template-columns: 1fr;
    }

    .home .jsim-product-summary {
        border-bottom: 1px solid var(--jsim-line);
        border-right: 0;
    }

    .home .jsim-faq-layout {
        grid-template-columns: 1fr;
    }

    .home .jsim-faq .jsim-section-heading {
        position: static;
    }

    .home .jsim-contact-grid {
        gap: 46px;
    }

    .home .jsim-roadmap-grid {
        gap: 42px;
        grid-template-columns: 1fr;
    }

    .home .jsim-article-grid {
        grid-template-columns: 1fr;
    }

    .home .jsim-article-grid article {
        min-height: auto;
    }

    .home .jsim-article-grid article + article {
        border-left: 0;
        border-top: 1px solid var(--jsim-line);
    }
}

@media (max-width: 782px) {
    .home .navbar {
        gap: 12px;
    }

    .home .logo {
        margin-right: auto;
        min-width: 0;
    }

    .home .logo-image {
        height: 36px;
        max-width: 132px;
        object-fit: contain;
    }

    .home .nav-cta {
        margin-left: 0;
    }

    .home .nav-cta .btn-secondary {
        display: none;
    }

    .home .nav-cta .btn-primary {
        font-size: 0.74rem;
        min-height: 38px;
        padding: 9px 12px;
        white-space: nowrap;
    }

    .home .menu-toggle {
        flex: 0 0 44px;
        height: 44px;
        margin-left: 0;
        width: 44px;
    }

    .home .nav-menu {
        background: var(--jsim-white);
        border-top: 1px solid var(--jsim-line);
        box-shadow: 0 20px 36px rgba(11, 18, 32, 0.1);
        max-height: calc(100vh - 74px);
        overflow-y: auto;
    }
}

@media (max-width: 680px) {
    .home .container {
        width: calc(100% - 32px);
    }

    .home .jsim-hero {
        padding-top: 94px;
    }

    .home .jsim-hero-grid {
        min-height: 0;
    }

    .home .jsim-hero h1 {
        font-size: clamp(2.25rem, 12vw, 3.2rem);
    }

    .home .jsim-hero-lead {
        line-height: 1.62;
    }

    .home .jsim-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
    }

    .home .jsim-actions .btn {
        justify-content: center;
        width: 100%;
    }

    .home .jsim-text-link {
        justify-content: flex-start;
    }

    .home .jsim-product-visual figcaption {
        text-align: left;
    }

    .home .jsim-evidence {
        grid-template-columns: repeat(2, 1fr);
    }

    .home .jsim-evidence > div {
        padding: 18px 14px;
    }

    .home .jsim-evidence > div:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--jsim-line);
    }

    .home .jsim-evidence > div:nth-child(4) {
        border-top: 1px solid var(--jsim-line);
    }

    .home .jsim-section {
        padding: 72px 0;
    }

    .home .jsim-section-heading {
        margin-bottom: 34px;
        text-align: left;
    }

    .home .jsim-section-heading h2 {
        font-size: 2.15rem;
    }

    .home .jsim-section-heading > p:last-child {
        margin-left: 0;
    }

    .home .jsim-product-summary {
        padding: 30px 24px;
    }

    .home .jsim-feature-list {
        grid-template-columns: 1fr;
    }

    .home .jsim-feature-list li {
        min-height: 0;
        padding: 26px 24px;
    }

    .home .jsim-feature-list li:nth-child(odd) {
        border-right: 0;
    }

    .home .jsim-feature-list li + li {
        border-top: 1px solid var(--jsim-line);
    }

    .home .jsim-capabilities {
        grid-template-columns: 1fr;
    }

    .home .jsim-capabilities article {
        padding: 28px 0;
    }

    .home .jsim-capabilities article + article {
        border-left: 0;
        border-top: 1px solid var(--jsim-line);
    }

    .home .jsim-number {
        margin-bottom: 24px;
    }

    .home .jsim-career-table article {
        gap: 8px;
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .home .jsim-roadmap-grid {
        gap: 34px;
    }

    .home .jsim-contact-copy h2 {
        font-size: 2.25rem;
    }

    .home .jsim-form-card {
        padding: 24px 20px;
    }

    .home .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 390px) {
    .home .container {
        width: calc(100% - 24px);
    }

    .home .logo-image {
        height: 32px;
        max-width: 105px;
    }

    .home .nav-cta .btn-primary {
        padding-inline: 9px;
    }

    .home .menu-toggle {
        flex-basis: 44px;
        height: 44px;
        width: 44px;
    }

    .home .nav-cta .btn-primary {
        min-height: 44px;
    }

    .home .jsim-hero h1 {
        font-size: 2.15rem;
    }

    .home .jsim-hero-lead {
        font-size: 0.94rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home *,
    .home *::before,
    .home *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
