/* =========================================================
   GRUPO SEINTO · EMPRESA
   Sistema editorial corporativo alineado con Home / Seinto360.
   ========================================================= */

.gse-page {
    --gse-text: #101820;
    --gse-muted: #61707e;
    --gse-line: rgba(31, 58, 76, .12);
    --gse-dash: rgba(43, 73, 94, .16);
    --gse-soft: #f8fafc;
    --gse-blue: var(--gs-blue, #0872be);
    --gse-orange: var(--gs-orange, #ff9418);
    position: relative;
    overflow: clip;
    background: #fff;
    color: var(--gse-text);
    font-family: var(--gs-font);
}

/* Guías laterales continuas en toda la página. */
.gse-page::before,
.gse-page::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    z-index: 5;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        var(--gse-dash) 0 5px,
        transparent 5px 11px
    );
}

.gse-page::before {
    left: max(24px, calc((100% - var(--gs-container)) / 2));
}

.gse-page::after {
    right: max(24px, calc((100% - var(--gs-container)) / 2));
}

.gse-container {
    position: relative;
    width: min(var(--gs-container), calc(100% - 48px));
    margin: 0 auto;
}

.gse-page section {
    margin: 0;
}

.gse-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gse-blue);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.gse-eyebrow i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gse-orange);
    box-shadow: 0 0 0 3px rgba(255, 148, 24, .08);
}

/* HERO --------------------------------------------------- */
.gse-hero {
    padding-top: var(--gs-header-height, 78px);
}

.gse-container--hero {
    min-height: 510px;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .5fr);
    align-items: end;
    gap: 80px;
    padding: 104px 72px 66px;
    border-bottom: 1px dashed var(--gse-dash);
    background:
        radial-gradient(circle at 91% 18%, rgba(255, 148, 24, .07), transparent 20%),
        radial-gradient(circle at 7% 88%, rgba(8, 114, 190, .06), transparent 24%);
}

.gse-container--hero::before,
.gse-container--hero::after {
    content: "";
    position: absolute;
    top: 32px;
    bottom: 30px;
    width: 140px;
    opacity: .44;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(57, 88, 108, .24) .7px, transparent .8px);
    background-size: 11px 11px;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
}

.gse-container--hero::before { left: 0; }
.gse-container--hero::after { right: 0; }

.gse-hero__content,
.gse-hero__rail {
    position: relative;
    z-index: 1;
}

.gse-hero h1 {
    max-width: 1040px;
    margin: 0;
    color: var(--gse-text);
    font-size: clamp(3.25rem, 5.7vw, 6.4rem);
    font-weight: 610;
    line-height: .94;
    letter-spacing: -.064em;
    text-wrap: balance;
}

.gse-hero__content > p {
    max-width: 1040px;
    margin: 34px 0 0;
    color: #5e6d79;
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    line-height: 1.62;
    letter-spacing: -.018em;
}

.gse-hero__rail {
    display: grid;
    align-self: stretch;
    align-content: end;
    border-left: 1px dashed var(--gse-dash);
}

.gse-hero__rail span {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 0 20px 0 28px;
    border-top: 1px dashed var(--gse-dash);
    color: #677681;
    font-size: 11px;
    font-weight: 560;
    letter-spacing: .035em;
}

.gse-hero__rail span::before {
    content: "";
    width: 5px;
    height: 5px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--gse-blue);
    opacity: .8;
}

.gse-hero__rail span:nth-child(3)::before,
.gse-hero__rail span:nth-child(4)::before {
    background: var(--gse-orange);
}

.gse-hero__rail span:last-child {
    border-bottom: 1px dashed var(--gse-dash);
}

/* QUIÉNES SOMOS ----------------------------------------- */
.gse-about__grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    min-height: 660px;
    border-bottom: 1px dashed var(--gse-dash);
}

.gse-about__media {
    position: relative;
    margin: 0;
    min-height: 660px;
    overflow: hidden;
    border-right: 1px dashed var(--gse-dash);
    background: #eef2f4;
}

.gse-about__media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, rgba(9, 19, 27, .28), transparent 38%);
}

.gse-about__media img {
    width: 100%;
    height: 100%;
    min-height: 660px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.gse-about__media figcaption {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 24px;
    z-index: 2;
    color: rgba(255,255,255,.88);
    font-size: 11px;
    line-height: 1.45;
}

.gse-about__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px 72px;
}

.gse-about__content h2,
.gse-section-head h2,
.gse-way__intro h2 {
    margin: 16px 0 0;
    color: var(--gse-text);
    font-size: clamp(2.45rem, 4vw, 4.35rem);
    font-weight: 610;
    line-height: 1;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.gse-about__lead {
    margin: 30px 0 0;
    color: #344553;
    font-size: 17px;
    line-height: 1.66;
}

.gse-about__content > p:not(.gse-about__lead) {
    margin: 18px 0 0;
    color: var(--gse-muted);
    font-size: 14px;
    line-height: 1.75;
}

.gse-about__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 38px;
    border-top: 1px dashed var(--gse-dash);
    border-bottom: 1px dashed var(--gse-dash);
}

.gse-about__facts > div {
    min-height: 98px;
    padding: 22px 18px 20px 0;
}

.gse-about__facts > div:not(:last-child) {
    border-right: 1px dashed var(--gse-dash);
    margin-right: 18px;
}

.gse-about__facts strong {
    display: block;
    color: var(--gse-text);
    font-size: 15px;
    font-weight: 610;
}

.gse-about__facts span {
    display: block;
    margin-top: 6px;
    color: #7a8791;
    font-size: 11px;
    line-height: 1.45;
}

/* HEADS -------------------------------------------------- */
.gse-section-head {
    padding: 64px 72px 46px;
    text-align: center;
}

.gse-section-head h2 {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.gse-section-head > p {
    max-width: 760px;
    margin: 20px auto 0;
    color: var(--gse-muted);
    font-size: 14px;
    line-height: 1.72;
}

.gse-section-head--compact {
    padding-bottom: 38px;
}

/* MÉTODO ------------------------------------------------- */
.gse-method .gse-container {
    border-bottom: 1px dashed var(--gse-dash);
}

.gse-method__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px dashed var(--gse-dash);
}

.gse-method__item {
    position: relative;
    min-height: 255px;
    padding: 34px 34px 38px;
}

.gse-method__item:not(:last-child) {
    border-right: 1px dashed var(--gse-dash);
}

.gse-method__number {
    display: block;
    margin-bottom: 34px;
    color: #9aa6ae;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .1em;
}

.gse-method__item h3 {
    margin: 0;
    color: var(--gse-text);
    font-size: 20px;
    font-weight: 610;
    letter-spacing: -.035em;
}

.gse-method__item p {
    max-width: 360px;
    margin: 14px 0 0;
    color: var(--gse-muted);
    font-size: 13px;
    line-height: 1.65;
}

/* ÁREAS -------------------------------------------------- */
.gse-areas .gse-container {
    border-bottom: 1px dashed var(--gse-dash);
}

.gse-areas__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px dashed var(--gse-dash);
}

.gse-area {
    position: relative;
    min-height: 340px;
    padding: 42px 46px;
    color: inherit;
    text-decoration: none;
    transition: background-color .2s ease;
}

.gse-area:nth-child(odd) {
    border-right: 1px dashed var(--gse-dash);
}

.gse-area:nth-child(-n+2) {
    border-bottom: 1px dashed var(--gse-dash);
}

.gse-area:hover,
.gse-area:focus-visible {
    background: linear-gradient(180deg, rgba(8,114,190,.035), rgba(255,255,255,0));
    outline: none;
}

.gse-area__meta {
    color: var(--gse-blue);
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .11em;
}

.gse-area:nth-child(3) .gse-area__meta,
.gse-area:nth-child(4) .gse-area__meta {
    color: #d97508;
}

.gse-area h3 {
    margin: 54px 0 0;
    color: var(--gse-text);
    font-size: clamp(2rem, 3vw, 3.35rem);
    font-weight: 610;
    line-height: 1;
    letter-spacing: -.052em;
}

.gse-area p {
    max-width: 530px;
    margin: 18px 0 0;
    color: var(--gse-muted);
    font-size: 13px;
    line-height: 1.68;
}

.gse-area__link {
    position: absolute;
    left: 46px;
    bottom: 36px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: #263744;
    font-size: 11px;
    font-weight: 610;
}

.gse-area__link b {
    font-weight: 400;
    color: var(--gse-blue);
}

/* SECTORES ----------------------------------------------- */
.gse-sectors .gse-container {
    border-bottom: 1px dashed var(--gse-dash);
}

.gse-sectors__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px dashed var(--gse-dash);
}

.gse-sector {
    position: relative;
    min-height: 275px;
    padding: 32px 34px;
    color: inherit;
    text-decoration: none;
    transition: background-color .2s ease;
}

.gse-sector:not(:nth-child(3n)) {
    border-right: 1px dashed var(--gse-dash);
}

.gse-sector:nth-child(-n+3) {
    border-bottom: 1px dashed var(--gse-dash);
}

.gse-sector > span {
    display: block;
    color: #84919b;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .11em;
}

.gse-sector h3 {
    margin: 42px 0 0;
    color: var(--gse-text);
    font-size: 24px;
    font-weight: 610;
    letter-spacing: -.04em;
}

.gse-sector p {
    max-width: 340px;
    margin: 14px 0 0;
    color: var(--gse-muted);
    font-size: 12px;
    line-height: 1.65;
}

.gse-sector > b {
    position: absolute;
    right: 30px;
    bottom: 28px;
    color: var(--gse-blue);
    font-size: 16px;
    font-weight: 400;
}

.gse-sector:hover,
.gse-sector:focus-visible {
    background: rgba(8, 114, 190, .025);
    outline: none;
}

.gse-sector--all {
    background: var(--gse-blue);
    color: #fff;
}

.gse-sector--all > span,
.gse-sector--all p {
    color: rgba(255,255,255,.7);
}

.gse-sector--all h3 {
    max-width: 350px;
    color: #fff;
}

.gse-sector--all > b {
    color: #fff;
}

.gse-sector--all:hover,
.gse-sector--all:focus-visible {
    background: #0968ac;
}

/* LA FORMA SEINTO --------------------------------------- */
.gse-way__grid {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    border-bottom: 1px dashed var(--gse-dash);
}

.gse-way__intro {
    padding: 70px 60px 70px 72px;
    border-right: 1px dashed var(--gse-dash);
}

.gse-way__intro h2 {
    font-size: clamp(2.6rem, 4.4vw, 4.7rem);
}

.gse-way__intro p {
    max-width: 500px;
    margin: 24px 0 0;
    color: var(--gse-muted);
    font-size: 14px;
    line-height: 1.75;
}

.gse-way__intro > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 36px;
    color: var(--gse-text);
    font-size: 12px;
    font-weight: 620;
    text-decoration: none;
}

.gse-way__intro > a span {
    color: var(--gse-blue);
}

.gse-way__list article {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 24px;
    min-height: 165px;
    padding: 32px 42px;
    align-items: center;
}

.gse-way__list article:not(:last-child) {
    border-bottom: 1px dashed var(--gse-dash);
}

.gse-way__list article > span {
    align-self: start;
    color: #98a5ad;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .1em;
}

.gse-way__list h3 {
    margin: 0;
    color: var(--gse-text);
    font-size: 20px;
    font-weight: 610;
    letter-spacing: -.035em;
}

.gse-way__list p {
    max-width: 620px;
    margin: 10px 0 0;
    color: var(--gse-muted);
    font-size: 12px;
    line-height: 1.65;
}

/* HOME COMPONENTS DENTRO DE EMPRESA -------------------- */
.gse-page .gs-home-trusted__container {
    border-left: 0;
    border-right: 0;
}

.gse-page .gs-home-final-cta__container {
    margin-top: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
}

/* RESPONSIVE --------------------------------------------- */
@media (max-width: 1100px) {
    .gse-container--hero {
        grid-template-columns: 1fr;
        gap: 44px;
        padding: 92px 52px 54px;
    }

    .gse-hero__rail {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        border-left: 0;
        border-top: 1px dashed var(--gse-dash);
    }

    .gse-hero__rail span {
        min-height: 64px;
        border-top: 0;
        border-bottom: 1px dashed var(--gse-dash);
    }

    .gse-hero__rail span:not(:last-child) {
        border-right: 1px dashed var(--gse-dash);
    }

    .gse-about__grid {
        grid-template-columns: 1fr;
    }

    .gse-about__media {
        min-height: 480px;
        border-right: 0;
        border-bottom: 1px dashed var(--gse-dash);
    }

    .gse-about__media img {
        min-height: 480px;
    }

    .gse-about__content {
        padding: 60px 52px;
    }

    .gse-section-head {
        padding-left: 52px;
        padding-right: 52px;
    }

    .gse-method__item {
        min-height: 275px;
    }

    .gse-way__grid {
        grid-template-columns: 1fr;
    }

    .gse-way__intro {
        padding: 60px 52px;
        border-right: 0;
        border-bottom: 1px dashed var(--gse-dash);
    }
}

@media (max-width: 820px) {
    .gse-method__grid,
    .gse-areas__grid,
    .gse-sectors__grid {
        grid-template-columns: 1fr;
    }

    .gse-method__item:not(:last-child),
    .gse-area:nth-child(odd),
    .gse-sector:not(:nth-child(3n)) {
        border-right: 0;
    }

    .gse-method__item:not(:last-child),
    .gse-area:not(:last-child),
    .gse-sector:not(:last-child) {
        border-bottom: 1px dashed var(--gse-dash);
    }

    .gse-area:nth-child(-n+2),
    .gse-sector:nth-child(-n+3) {
        border-bottom: 1px dashed var(--gse-dash);
    }

    .gse-area,
    .gse-sector {
        min-height: 260px;
    }

    .gse-area__link {
        position: static;
        margin-top: 28px;
    }

    .gse-about__facts {
        grid-template-columns: 1fr;
    }

    .gse-about__facts > div:not(:last-child) {
        margin-right: 0;
        border-right: 0;
        border-bottom: 1px dashed var(--gse-dash);
    }
}

@media (max-width: 767px) {
    .gse-page::before { left: 12px; }
    .gse-page::after { right: 12px; }

    .gse-container {
        width: calc(100% - 24px);
    }

    .gse-container--hero {
        min-height: auto;
        padding: 72px 22px 34px;
        gap: 34px;
    }

    .gse-container--hero::before,
    .gse-container--hero::after {
        width: 72px;
        opacity: .28;
    }

    .gse-hero h1 {
        font-size: clamp(2.8rem, 14vw, 4.5rem);
        line-height: .96;
    }

    .gse-hero__content > p {
        margin-top: 24px;
        font-size: 14px;
        line-height: 1.65;
    }

    .gse-hero__rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gse-hero__rail span:nth-child(2) {
        border-right: 0;
    }

    .gse-hero__rail span:nth-child(-n+2) {
        border-bottom: 1px dashed var(--gse-dash);
    }

    .gse-about__media,
    .gse-about__media img {
        min-height: 340px;
    }

    .gse-about__content,
    .gse-section-head,
    .gse-way__intro {
        padding: 48px 22px 38px;
    }

    .gse-about__content h2,
    .gse-section-head h2,
    .gse-way__intro h2 {
        font-size: clamp(2.25rem, 11vw, 3.55rem);
    }

    .gse-about__lead {
        margin-top: 24px;
        font-size: 15px;
    }

    .gse-method__item,
    .gse-area,
    .gse-sector {
        padding-left: 22px;
        padding-right: 22px;
    }

    .gse-method__item {
        min-height: 220px;
    }

    .gse-area {
        min-height: 300px;
    }

    .gse-area h3 {
        margin-top: 42px;
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .gse-sector {
        min-height: 245px;
    }

    .gse-way__list article {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 14px;
        min-height: 150px;
        padding: 28px 22px;
    }

    .gse-page .gs-home-trusted__container,
    .gse-page .gs-home-final-cta__container {
        width: calc(100% - 24px);
    }
}
