/* =========================================================
   EXPRESO PAYÚN
   EMPRESA
   ========================================================= */
/* =========================================================
   NAVEGACIÓN - PÁGINA ACTIVA
   ========================================================= */
.main-nav > a[aria-current="page"]::after {
    width: 100%;
}

/* =========================================================
   HERO EMPRESA
   ========================================================= */
.company-hero {
    background: var(--off-white);
}

.company-hero-grid {
    min-height: 560px;
    display: grid;
    grid-template-columns: 48% 52%;
    align-items: stretch;
}

.company-hero-copy {
    padding: 90px 70px 90px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.company-hero-copy .eyebrow {
    margin-bottom: 24px;
}

.company-hero-copy h1 {
    max-width: 650px;
    margin: 0;
    color: var(--blue-dark);
    font-size: clamp(42px, 3.4vw, 56px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.company-hero-description {
    max-width: 590px;
    margin: 32px 0 0;
    color: var(--text-soft);
    font-size: 18px;
    line-height: 1.65;
}

.company-hero-media {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border-left: 6px solid var(--yellow);
}

.company-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* RESPONSIVE HERO */
@media (max-width: 900px) {
    .company-hero-grid {
        width: 100%;
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .company-hero-copy {
        width: min(calc(100% - 64px), var(--max-width));
        margin: 0 auto;
        padding: 65px 0 60px;
    }

    .company-hero-media {
        min-height: 440px;
        border-left: 0;
        border-top: 5px solid var(--yellow);
    }
}

@media (max-width: 520px) {
    .company-hero-copy {
        width: calc(100% - 40px);
        padding: 42px 0 46px;
    }

    .company-hero-copy .eyebrow {
        margin-bottom: 20px;
    }

    .company-hero-copy h1 {
        font-size: 40px;
        line-height: 1.01;
    }

    .company-hero-description {
        margin-top: 25px;
        font-size: 16px;
        line-height: 1.6;
    }

    .company-hero-media {
        min-height: 320px;
    }
}

/* =========================================================
   INTRO / QUIÉNES SOMOS
   ========================================================= */
.company-intro {
    padding: 90px 0 100px;
    background: var(--white);
}

.company-intro-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 100px;
    align-items: start;
}

.company-intro-heading .eyebrow {
    margin-bottom: 20px;
}

.company-intro-heading h2 {
    max-width: 650px;
    margin: 0;
    color: var(--blue-dark);
    font-size: clamp(36px, 3vw, 48px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.company-intro-copy {
    max-width: 570px;
}

.company-intro-lead {
    margin: 0;
    color: var(--blue);
    font-size: 21px;
    line-height: 1.55;
    font-weight: 500;
}

.company-intro-copy > p:not(.company-intro-lead) {
    margin: 22px 0 0;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.7;
}

/* RESPONSIVE INTRO */
@media (max-width: 900px) {
    .company-intro {
        padding: 75px 0 80px;
    }

    .company-intro-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .company-intro-copy {
        max-width: 680px;
    }
}

@media (max-width: 520px) {
    .company-intro {
        padding: 52px 0 58px;
    }

    .company-intro-grid {
        gap: 32px;
    }

    .company-intro-heading h2 {
        font-size: 38px;
    }

    .company-intro-lead {
        font-size: 18px;
    }
}

/* =========================================================
   ENCABEZADO INTERNO REUTILIZABLE
   ========================================================= */
.company-section-heading {
    margin-bottom: 50px;
}

.company-section-heading > .eyebrow {
    margin-bottom: 20px;
}

.company-section-heading-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: end;
}

.company-section-heading-grid h2 {
    max-width: 720px;
    margin: 0;
    color: var(--blue-dark);
    font-size: clamp(36px, 3vw, 48px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.company-section-heading-grid > p {
    max-width: 520px;
    margin: 0 0 3px;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.65;
}

/* RESPONSIVE ENCABEZADOS */
@media (max-width: 900px) {
    .company-section-heading-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 520px) {
    .company-section-heading {
        margin-bottom: 36px;
    }

    .company-section-heading-grid h2 {
        font-size: 38px;
    }
}

/* =========================================================
   HISTORIA
   ========================================================= */
.company-history {
    padding: 60px 0 65px;
    background: var(--off-white);
}

.company-history .company-section-heading {
    margin-bottom: 40px;
}

.company-history .company-section-heading-grid > p {
    max-width: 460px;
}

.company-history-timeline {
    border-top: 1px solid var(--border);
}

.company-history-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 55px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.company-history-date {
    padding-top: 3px;
    color: var(--yellow);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.company-history-content {
    max-width: 780px;
}

.company-history-content h3 {
    margin: 0;
    color: var(--blue-dark);
    font-size: 26px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.company-history-content p {
    max-width: 680px;
    margin: 14px 0 0;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.65;
}

/* RESPONSIVE HISTORIA */
@media (max-width: 800px) {
    .company-history-item {
        grid-template-columns: 150px 1fr;
        gap: 35px;
    }
}

@media (max-width: 600px) {
    .company-history {
        padding: 52px 0 58px;
    }

    .company-history-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 27px 0;
    }

    .company-history-content h3 {
        font-size: 23px;
    }
}

/* =========================================================
   MALARGÜE / TERRITORIO
   ========================================================= */
.company-territory {
    background: var(--white);
}

.company-territory-grid {
    min-height: 470px;
    display: grid;
    grid-template-columns: 54% 46%;
}

.company-territory-media {
    overflow: hidden;
}

.company-territory-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.company-territory-content {
    padding: 55px 6vw;
    display: flex;
    align-items: center;
}

.company-territory-copy {
    max-width: 580px;
}

.company-territory-copy .eyebrow {
    margin-bottom: 20px;
}

.company-territory-copy h2 {
    max-width: 560px;
    margin: 0;
    color: var(--blue-dark);
    font-size: clamp(36px, 3vw, 48px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.company-territory-lead {
    margin: 30px 0 0;
    color: var(--blue);
    font-size: 20px;
    line-height: 1.55;
    font-weight: 500;
}

.company-territory-copy > p:not(.eyebrow):not(.company-territory-lead) {
    margin: 20px 0 0;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.65;
}

/* RESPONSIVE TERRITORIO */
@media (max-width: 900px) {
    .company-territory-grid {
        grid-template-columns: 1fr;
    }

    .company-territory-media {
        min-height: 450px;
    }

    .company-territory-content {
        padding: 65px 40px 75px;
    }

    .company-territory-copy {
        max-width: 680px;
    }
}

@media (max-width: 520px) {
    .company-territory {
        padding-top: 20px;
    }

    .company-territory-media {
        min-height: 320px;
    }

    .company-territory-content {
        padding: 44px 24px 55px;
    }

    .company-territory-copy h2 {
        font-size: 38px;
    }

    .company-territory-lead {
        margin-top: 25px;
        font-size: 18px;
    }
}

/* =========================================================
   EQUIPO
   ========================================================= */
.company-team {
    padding: 60px 0 65px;
    background: var(--blue-dark);
}

.company-team .eyebrow {
    color: var(--yellow);
}

.company-team .company-section-heading-grid h2 {
    color: var(--white);
}

.company-team .company-section-heading-grid > p {
    color: rgba(255, 255, 255, 0.65);
}

.company-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.company-team-item {
    min-height: 230px;
    padding: 30px 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.company-team-item:last-child {
    border-right: 0;
}

.company-team-number {
    display: block;
    margin-bottom: 32px;
    color: var(--yellow);
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.company-team-item h3 {
    margin: 0;
    color: var(--white);
    font-size: 24px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.company-team-item p {
    margin: 17px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 15px;
    line-height: 1.65;
}

/* RESPONSIVE EQUIPO */
@media (max-width: 1000px) {
    .company-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .company-team-item:nth-child(2) {
        border-right: 0;
    }

    .company-team-item:nth-child(1),
    .company-team-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }
}

@media (max-width: 600px) {
    .company-team {
        padding: 52px 0 58px;
    }

    .company-team-grid {
        grid-template-columns: 1fr;
    }

    .company-team-item,
    .company-team-item:nth-child(2) {
        min-height: auto;
        padding: 28px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

    .company-team-item:last-child {
        border-bottom: 0;
    }

    .company-team-number {
        margin-bottom: 20px;
    }
}

/* =========================================================
   INFRAESTRUCTURA
   ========================================================= */
.company-infrastructure {
    padding: 60px 0 65px;
    background: var(--white);
}

.company-infrastructure-heading {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 38px;
}

.company-infrastructure-heading .eyebrow {
    margin-bottom: 20px;
}

.company-infrastructure-heading h2 {
    max-width: 720px;
    margin: 0;
    color: var(--blue-dark);
    font-size: clamp(36px, 3vw, 48px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.company-infrastructure-description {
    max-width: 520px;
    margin: 0 0 4px;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.65;
}

.company-infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.company-infrastructure-item {
    min-height: 210px;
    padding: 28px;
    border-right: 1px solid var(--border);
}

.company-infrastructure-item:last-child {
    border-right: 0;
}

.company-infrastructure-marker {
    width: 34px;
    height: 4px;
    margin-bottom: 25px;
    background: var(--yellow);
}

.company-infrastructure-item h3 {
    margin: 0;
    color: var(--blue-dark);
    font-size: 23px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.company-infrastructure-item p {
    margin: 17px 0 0;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.65;
}

/* RESPONSIVE INFRAESTRUCTURA */
@media (max-width: 1000px) {
    .company-infrastructure-heading {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .company-infrastructure-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .company-infrastructure-item:nth-child(2) {
        border-right: 0;
    }

    .company-infrastructure-item:nth-child(1),
    .company-infrastructure-item:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }
}

@media (max-width: 600px) {
    .company-infrastructure {
        padding: 52px 0 58px;
    }

    .company-infrastructure-heading {
        margin-bottom: 34px;
    }

    .company-infrastructure-heading h2 {
        font-size: 38px;
    }

    .company-infrastructure-grid {
        grid-template-columns: 1fr;
    }

    .company-infrastructure-item,
    .company-infrastructure-item:nth-child(2) {
        min-height: auto;
        padding: 27px 0;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .company-infrastructure-item:last-child {
        border-bottom: 0;
    }
}

/* =========================================================
   CLIENTES Y ANTECEDENTES
   ========================================================= */
.company-clients {
    padding: 60px 0 55px;
    background: var(--off-white);
}

.company-clients .company-section-heading {
    margin-bottom: 38px;
}

.company-clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.company-client-logo {
    min-height: 120px;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.company-client-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 150px;
    max-height: 60px;
    object-fit: contain;
}

/* AJUSTES ÓPTICOS DE LOGOS */
.company-client-malargue img {
    transform: scale(1.12);
}

.company-client-telespazio img {
    transform: scale(1.08);
}

.company-client-mendoza img {
    transform: scale(1.15);
}

.company-client-pierre img {
    transform: scale(1.10);
}

.company-client-elecnor img {
    transform: scale(0.95);
}

/* RESPONSIVE CLIENTES */
@media (max-width: 900px) {
    .company-clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .company-clients {
        padding: 52px 0 55px;
    }

    .company-client-logo {
        min-height: 95px;
        padding: 18px;
    }

    .company-client-logo img {
        max-width: 110px;
        max-height: 50px;
    }
}