/* Bloque compartido: proporciones de grupo-si-now.php.
   Se carga después de los estilos de cada página para aislar el componente. */
body[class] main .gs-app {
    --gs-blue: #345599;
    margin-top: 0;
    padding: clamp(3.5rem, 6vw, 7rem) 0;
    background: url('../../imgs/grupo-si-now/app-grupo-si-now-fondo.jpg') left top / cover no-repeat;
    color: #333;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}
body[class] main .gs-app .container {
    width: min(100% - 2rem, 1440px);
    max-width: none;
    margin-inline: auto;
}
body[class] main .gs-app .gs-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
}
body[class] main .gs-app .gs-grid > img {
    grid-column: 2 / 6;
    width: 100%;
    height: 430px;
    max-height: none;
    object-fit: contain;
    transform: none;
    align-self: stretch;
}
body[class] main .gs-app .gs-grid > div {
    grid-column: 6 / 12;
    padding: 2rem 4rem;
    text-align: left;
}
body[class] main .gs-app h2 {
    margin: 0;
    color: #999;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: clamp(1.75rem, 2.4vw, 2.7rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: left;
}
body[class] main .gs-app h2 strong { color: #345599; font-weight: 700; }
body[class] main .gs-app p {
    margin: 0 0 1rem;
    color: #333;
    font-family: "Lato", Arial, sans-serif;
    font-size: clamp(.95rem, 1.2vw, 1.05rem);
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
}
body[class] main .gs-app ul {
    margin: 1.25rem 0 1.5rem;
    padding: 0 0 0 1.25rem;
    list-style: disc outside;
    color: #345599;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
}
body[class] main .gs-app li::before { content: none; }
body[class] main .gs-app .gs-grid > div > strong {
    display: inline;
    padding: 0;
    color: #345599;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
}
body[class] main .gs-app .gs-app__badges {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .7rem;
    margin-top: 1.2rem;
}
body[class] main .gs-app .gs-app__badge-link { width: auto; max-width: none; }
body[class] main .gs-app .gs-app__badges img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 42px;
    border: 0;
    border-radius: 0;
    background: transparent;
}
@media (min-width: 681px) and (max-width: 1024px) {
    body[class] main .gs-app {
        padding: 7.812500vw 0 11.067708vw;
        background-size: 375% 100%;
        background-position: -58.854167vw top;
    }
    body[class] main .gs-app .container { width: 87.5vw; }
    body[class] main .gs-app .gs-grid > img {
        grid-column: 1 / -1;
        height: 71.614583vw;
        transform: translateX(-3.906250vw);
    }
    body[class] main .gs-app .gs-grid > div { grid-column: 1 / -1; padding: 3.906250vw 0 0; }
    body[class] main .gs-app h2 { font-size: 7.812500vw; line-height: 1.166667; margin: 0 0 5.208333vw; }
    body[class] main .gs-app h2 strong { font-weight: 900; }
    body[class] main .gs-app p { font-size: 2.734375vw; color: #08091b; margin-bottom: 4.557292vw; }
    body[class] main .gs-app ul {
        font-family: "Lato", Arial, sans-serif;
        font-size: 2.734375vw;
        font-weight: 900;
        margin: 0 0 6.510417vw;
        padding: 0;
        list-style: none;
    }
    body[class] main .gs-app li::before { content: '● '; font-size: .8em; }
    body[class] main .gs-app .gs-grid > div > strong {
        display: block;
        color: #08091b;
        font-family: "Lato", Arial, sans-serif;
        font-size: 2.734375vw;
        font-weight: 900;
    }
    body[class] main .gs-app .gs-app__badges { gap: 2.604167vw; margin-top: 3.906250vw; }
    body[class] main .gs-app .gs-app__badges img {
        width: 29.687500vw;
        height: auto;
        border-radius: 130.078125vw;
        border: .130208vw solid #08091b;
        background: white;
    }
}
@media (max-width: 680px) {
    body[class] main .gs-app { padding-block: 3.5rem; }
    body[class] main .gs-app .gs-grid > img { grid-column: 1 / 13; height: 260px; }
    body[class] main .gs-app .gs-grid > div { grid-column: 1 / 13; padding: 2rem 0; text-align: center; }
    body[class] main .gs-app h2, body[class] main .gs-app p { text-align: center; }
    body[class] main .gs-app ul { padding-left: 0; list-style-position: inside; text-align: center; }
    body[class] main .gs-app .gs-grid > div > strong { display: block; text-align: center; }
    body[class] main .gs-app .gs-app__badges { justify-content: center; gap: 1rem; margin-top: 1.75rem; }
    body[class] main .gs-app .gs-app__badge-link { width: calc(50% - .5rem); max-width: 195px; }
    body[class] main .gs-app .gs-app__badges img { width: 100%; max-width: 195px; height: auto; }
}

/* Footer compartido: homologado al index raíz (tipografía, tamaño, colores, interlineado y retícula). */
body[class] .site-footer {
    background: var(--color-white);
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.5;
}
body[class] .site-footer .container {
    width: min(100% - 2rem, 1600px);
    max-width: none;
    margin-inline: auto;
}
body[class] .site-footer .footer-primary {
    color: var(--color-white);
    padding-block: clamp(4.3rem, 7vw, 6.5rem) 2.45rem;
}
body[class] .site-footer .footer-primary__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(2rem, 3.5vw, 4.8rem);
    align-items: start;
}
body[class] .site-footer .footer-primary .footer-logo {
    display: none;
}
body[class] .site-footer .footer-contact {
    grid-column: auto;
}
body[class] .site-footer .footer-contact__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.35rem;
    margin-bottom: 2.35rem;
}
body[class] .site-footer h2,
body[class] .site-footer .footer-social strong,
body[class] .site-footer .footer-office strong {
    color: var(--color-sinow);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0;
}
body[class] .site-footer .footer-contact h2,
body[class] .site-footer .footer-desktop-group h2 {
    margin: 0 0 0.75rem;
}
body[class] .site-footer .footer-corporate h2 {
    margin: 0;
}
body[class] .site-footer .footer-contact a,
body[class] .site-footer .footer-quick a {
    color: var(--color-sinow);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
body[class] .site-footer .footer-social {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    margin-bottom: 2.1rem;
}
body[class] .site-footer .footer-social a {
    display: inline-grid;
    place-items: center;
    color: var(--color-sinow);
    font-size: 1.05rem;
}
body[class] .site-footer .footer-corporate p,
body[class] .site-footer .footer-office p,
body[class] .site-footer .footer-desktop-group a {
    color: var(--color-title);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.45;
}
body[class] .site-footer .footer-corporate p,
body[class] .site-footer .footer-office p {
    margin: 0;
}
body[class] .site-footer .footer-primary h2,
body[class] .site-footer .footer-primary strong,
body[class] .site-footer .footer-primary a,
body[class] .site-footer .footer-primary p,
body[class] .site-footer .footer-primary summary {
    color: var(--color-white);
}
body[class] .site-footer .footer-desktop-group {
    display: block;
    grid-column: auto;
}
body[class] .site-footer .footer-desktop-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
body[class] .site-footer .footer-desktop-group li + li {
    margin-top: 0.72rem;
}
body[class] .site-footer .footer-quick {
    display: grid;
    gap: 0.7rem;
    grid-column: auto;
    margin: 0;
}
body[class] .site-footer .footer-mobile-accordions,
body[class] .site-footer .footer-offices--mobile {
    display: none;
}
body[class] .site-footer .footer-divider {
    height: 3px;
    background: #7ba6d8;
}
body[class] .site-footer .footer-divider span {
    display: block;
    width: min(170px, 18vw);
    height: 100%;
    background: var(--color-sinow);
}
body[class] .site-footer .footer-secondary {
    background: var(--color-bg);
    padding-block: 2.85rem 2.65rem;
}
body[class] .site-footer .footer-secondary__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: clamp(1.75rem, 3vw, 3.25rem);
}
body[class] .site-footer .footer-offices--desktop {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
}
body[class] .site-footer .footer-office {
    min-height: 178px;
    padding: 0 1.1rem 0 0;
    border: 0;
}
body[class] .site-footer .footer-office + .footer-office {
    border-left: 1px solid #c5c5c5;
    padding-left: 1.05rem;
}
body[class] .site-footer .footer-office h2 {
    margin: 0 0 1.55rem;
}
body[class] .site-footer .footer-office strong {
    display: block;
    margin: 0 0 1.55rem;
}
body[class] .site-footer .footer-legal {
    color: var(--color-muted);
    font-family: var(--font-primary);
    font-size: 1rem;
    text-align: left;
}
body[class] .site-footer .footer-legal p {
    margin: 0;
    color: var(--color-title);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.45;
}
body[class] .site-footer .footer-legal nav {
    display: grid;
    gap: 0.15rem;
    margin-top: 1.45rem;
    font-size: 1rem;
}
body[class] .site-footer .footer-legal a {
    color: var(--color-sinow);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.5;
}

@media (min-width: 681px) and (max-width: 1024px) {
    body[class] .site-footer .container { width: 93.229167vw; max-width: none; }
    body[class] .site-footer .footer-primary { padding: 6.510417vw 0; }
    body[class] .site-footer .footer-primary__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6.510417vw 2.604167vw; row-gap: 4.557292vw; }
    body[class] .site-footer .footer-contact { grid-column: 1 / -1; }
    body[class] .site-footer .footer-contact__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.604167vw; margin-bottom: 3.90625vw; }
    body[class] .site-footer h2,
    body[class] .site-footer .footer-contact a,
    body[class] .site-footer .footer-social strong,
    body[class] .site-footer .footer-quick a,
    body[class] .site-footer .footer-office strong { font-size: 2.734375vw; line-height: 1.4; }
    body[class] .site-footer .footer-social { gap: 3.255208vw; margin-bottom: 3.90625vw; }
    body[class] .site-footer .footer-social a { font-size: 2.864583vw; }
    body[class] .site-footer .footer-primary__inner > .footer-desktop-group { grid-column: auto; }
    body[class] .site-footer .footer-desktop-group { display: block; }
    body[class] .site-footer .footer-corporate p,
    body[class] .site-footer .footer-office p,
    body[class] .site-footer .footer-desktop-group a { font-size: 2.734375vw; line-height: 1.5; }
    body[class] .site-footer .footer-contact h2,
    body[class] .site-footer .footer-desktop-group h2 { margin-bottom: 1.5625vw; }
    body[class] .site-footer .footer-desktop-group li + li { margin-top: 1.5625vw; }
    body[class] .site-footer .footer-quick { grid-column: 1 / -1; gap: 1.302083vw; margin: 0; }
    body[class] .site-footer .footer-mobile-accordions,
    body[class] .site-footer .footer-offices--mobile { display: none; }
    body[class] .site-footer .footer-divider { height: 0.651042vw; }
    body[class] .site-footer .footer-divider span { width: 100%; }
    body[class] .site-footer .footer-secondary { padding: 6.510417vw 0; }
    body[class] .site-footer .footer-secondary__inner { grid-template-columns: 1fr; gap: 3.90625vw; }
    body[class] .site-footer .footer-offices--desktop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.90625vw 2.604167vw; }
    body[class] .site-footer .footer-office,
    body[class] .site-footer .footer-office + .footer-office { border: 0; padding: 0 0 3.90625vw; min-height: 0; border-bottom: 1px solid #c5c5c5; }
    body[class] .site-footer .footer-office h2,
    body[class] .site-footer .footer-office strong { margin-bottom: 3.255208vw; }
    body[class] .site-footer .footer-office p { line-height: 1.4; }
    body[class] .site-footer .footer-legal { text-align: center; }
    body[class] .site-footer .footer-legal p { font-size: 2.734375vw; line-height: 1.5; }
    body[class] .site-footer .footer-legal nav { display: flex; justify-content: center; gap: 1.302083vw; margin-top: 1.302083vw; font-size: 2.734375vw; }
    body[class] .site-footer .footer-legal nav a + a::before { content: "|"; margin-right: 1.302083vw; }
    body[class] .site-footer,
    body[class] .site-footer h2,
    body[class] .site-footer p,
    body[class] .site-footer a,
    body[class] .site-footer strong,
    body[class] .site-footer .footer-desktop-group a { font-family: var(--font-secondary); }
    body[class] .site-footer .footer-corporate p br,
    body[class] .site-footer .footer-legal p br { display: none; }
    body[class] .site-footer .footer-corporate p,
    body[class] .site-footer .footer-office p,
    body[class] .site-footer .footer-legal p { display: inline; }
    body[class] .site-footer .footer-corporate h2 { margin-bottom: 0; }
}

@media (max-width: 680px) {
    body[class] .site-footer {
        overflow: hidden;
    }
    body[class] .site-footer .container {
        width: min(100% - 2rem, 1600px);
    }
    body[class] .site-footer .footer-primary {
        padding-block: 5.4rem 2.9rem;
    }
    body[class] .site-footer .footer-primary__inner {
        grid-template-columns: 1fr;
        gap: 0;
    }
    body[class] .site-footer .footer-contact__row {
        grid-template-columns: 1fr;
        gap: 1.9rem;
        margin-bottom: 2.4rem;
    }
    body[class] .site-footer h2,
    body[class] .site-footer .footer-social strong,
    body[class] .site-footer .footer-contact a,
    body[class] .site-footer .footer-quick a,
    body[class] .site-footer .footer-accordion summary {
        font-family: var(--font-primary);
        font-size: 1.26rem;
        line-height: 1.25;
    }
    body[class] .site-footer .footer-contact a,
    body[class] .site-footer .footer-quick a {
        line-height: 1.5;
    }
    body[class] .site-footer .footer-contact h2 {
        margin-bottom: 0.45rem;
    }
    body[class] .site-footer .footer-social {
        gap: 1.5rem;
        margin-bottom: 2.45rem;
    }
    body[class] .site-footer .footer-social a {
        font-size: 1.34rem;
    }
    body[class] .site-footer .footer-desktop-group {
        display: none;
    }
    body[class] .site-footer .footer-mobile-accordions,
    body[class] .site-footer .footer-offices--mobile {
        display: block;
        order: 0;
    }
    body[class] .site-footer .footer-accordion {
        border-bottom: 1px solid #b9b9b9;
    }
    body[class] .site-footer .footer-accordion summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 4.7rem;
        color: var(--color-sinow);
        font-weight: 800;
        list-style: none;
    }
    body[class] .site-footer .footer-accordion summary::-webkit-details-marker {
        display: none;
    }
    body[class] .site-footer .footer-accordion summary::after {
        content: "";
        width: 1.1rem;
        height: 1.1rem;
        border-top: 2px solid #2d3136;
        border-right: 2px solid #2d3136;
        transform: rotate(45deg);
        transition: transform var(--duration) var(--ease);
    }
    body[class] .site-footer .footer-accordion[open] summary::after {
        transform: rotate(135deg);
    }
    body[class] .site-footer .footer-accordion div {
        padding-bottom: 1.25rem;
    }
    body[class] .site-footer .footer-accordion p,
    body[class] .site-footer .footer-accordion a {
        margin: 0.35rem 0;
        color: var(--color-title);
        font-family: var(--font-primary);
        font-size: 1.08rem;
        font-weight: 400;
        line-height: 1.45;
    }
    body[class] .site-footer .footer-quick {
        gap: 0.85rem;
        margin-top: 1.9rem;
        order: 0;
    }
    body[class] .site-footer .footer-quick a:nth-child(5) {
        display: none;
    }
    body[class] .site-footer .footer-divider {
        height: 5px;
    }
    body[class] .site-footer .footer-divider span {
        width: 36%;
    }
    body[class] .site-footer .footer-secondary {
        padding-block: 2.65rem 2.2rem;
    }
    body[class] .site-footer .footer-secondary__inner {
        grid-template-columns: 1fr;
        gap: 2.65rem;
    }
    body[class] .site-footer .footer-offices--desktop {
        display: none;
    }
    body[class] .site-footer .footer-accordion--office summary {
        color: var(--color-title);
    }
    body[class] .site-footer .footer-accordion--office strong {
        display: block;
        margin-bottom: 0.7rem;
        color: var(--color-sinow);
        font-family: var(--font-primary);
        font-size: 1.08rem;
        font-weight: 800;
    }
    body[class] .site-footer .footer-primary h2,
    body[class] .site-footer .footer-primary strong,
    body[class] .site-footer .footer-primary a,
    body[class] .site-footer .footer-primary p,
    body[class] .site-footer .footer-primary summary,
    body[class] .site-footer .footer-primary .footer-accordion p,
    body[class] .site-footer .footer-primary .footer-accordion a {
        color: var(--color-white);
    }
    body[class] .site-footer .footer-legal {
        text-align: center;
    }
    body[class] .site-footer .footer-legal p {
        font-size: 1.32rem;
        line-height: 1.5;
    }
    body[class] .site-footer .footer-legal nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
        gap: 0;
        margin-top: 1.8rem;
        font-size: 1.16rem;
    }
    body[class] .site-footer .footer-legal nav a {
        position: relative;
        display: block;
        font-size: 1.16rem;
        text-align: center;
    }
    body[class] .site-footer .footer-legal nav a + a::before {
        position: absolute;
        left: 0;
        top: 0;
        content: "|";
        color: var(--color-sinow);
        transform: translateX(-50%);
    }
}
