/* =========================================================
   PÁGINA NOSOTROS
========================================================= */

.about-page {
    width: 100%;
    min-height: 100vh;

    background: #f7f8f6;
    color: #233b32;
}


/* =========================================================
   HERO
========================================================= */

.about-hero {
    position: relative;

    width: 100%;
    min-height: 720px;
    padding: 150px 0 110px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(26, 43, 36, 0.84) 0%,
            rgba(35, 59, 50, 0.70) 34%,
            rgba(35, 59, 50, 0.36) 64%,
            rgba(35, 59, 50, 0.12) 100%
        ),
        url("../../../img/sections/entrega-llaves.6d25e12cdfc6.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.08) 0%,
            rgba(0, 0, 0, 0) 52%,
            rgba(0, 0, 0, 0.18) 100%
        );
}

.about-hero .section-container {
    position: relative;
    z-index: 2;
}

.about-hero__content {
    width: 100%;
    max-width: 760px;
}

.about-hero__eyebrow,
.about-section-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #879873;

    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-hero__eyebrow {
    margin-bottom: 18px;

    color: #dbe7d1;
}

.about-hero__eyebrow::before,
.about-section-eyebrow::before {
    content: "";

    width: 32px;
    height: 1px;

    flex: 0 0 32px;

    background: currentColor;
}

.about-hero h1 {
    max-width: 760px;
    margin: 0;

    color: #ffffff;

    font-family: "Montserrat", sans-serif;
    font-size: clamp(42px, 4.2vw, 68px);
    line-height: 1.02;
    font-weight: 600;
    letter-spacing: -0.045em;
}

.about-hero p {
    max-width: 620px;
    margin: 24px 0 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 16px;
    line-height: 1.75;
}

.about-hero__actions {
    margin-top: 34px;

    display: flex;
    align-items: center;
    gap: 12px;
}

.about-button {
    min-height: 46px;
    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid transparent;

    font-size: 11px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.about-button:hover {
    transform: translateY(-1px);
}

.about-button--outline {
    border-color: rgba(255, 255, 255, 0.58);

    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
}

.about-button--outline:hover {
    border-color: #ffffff;

    background: rgba(255, 255, 255, 0.10);
}


/* =========================================================
   PRESENTACIÓN
========================================================= */

.about-intro {
    padding: 120px 0;

    background: #f7f8f6;
}

.about-intro__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(70px, 9vw, 150px);
    align-items: start;
}

.about-intro__heading h2 {
    max-width: 650px;
    margin: 20px 0 0;

    color: #233b32;

    font-size: clamp(34px, 3.5vw, 56px);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.about-intro__content {
    padding-top: 30px;
}

.about-intro__content p {
    margin: 0;

    color: #5f6763;

    font-size: 16px;
    line-height: 1.9;
}

.about-intro__content p + p {
    margin-top: 22px;
}


/* =========================================================
   ENCABEZADOS DE SECCIÓN
========================================================= */

.about-section-header {
    max-width: 760px;
    margin-bottom: 58px;
}

.about-section-header--center {
    margin-right: auto;
    margin-left: auto;

    text-align: center;
}

.about-section-header--center .about-section-eyebrow {
    justify-content: center;
}

.about-section-header h2 {
    margin: 20px 0 0;

    color: #233b32;

    font-size: clamp(32px, 3vw, 48px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.about-section-header p {
    max-width: 620px;
    margin: 18px 0 0;

    color: #6b7280;

    font-size: 15px;
    line-height: 1.75;
}

.about-section-header--center p {
    margin-right: auto;
    margin-left: auto;
}


/* =========================================================
   VALORES
========================================================= */

.about-values {
    padding: 115px 0 125px;

    border-top: 1px solid rgba(35, 59, 50, 0.08);

    background: #ffffff;
}

.about-values__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    border-top: 1px solid rgba(35, 59, 50, 0.10);
    border-bottom: 1px solid rgba(35, 59, 50, 0.10);
}

.about-value {
    min-width: 0;
    padding: 38px 32px 42px;

    border-right: 1px solid rgba(35, 59, 50, 0.10);
}

.about-value:last-child {
    border-right: 0;
}

.about-value__number {
    display: block;

    margin-bottom: 44px;

    color: #879873;

    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.about-value h3 {
    margin: 0;

    color: #233b32;

    font-size: 20px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.about-value p {
    margin: 14px 0 0;

    color: #6b7280;

    font-size: 13px;
    line-height: 1.75;
}


/* =========================================================
   PROCESO
========================================================= */

.about-process {
    padding: 120px 0 130px;

    background: #f2f4f0;
}

.about-process__grid {
    position: relative;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.about-process__grid::before {
    content: "";

    position: absolute;
    top: 21px;
    right: 8%;
    left: 8%;

    height: 1px;

    background: rgba(35, 59, 50, 0.14);
}

.about-process__step {
    position: relative;
    z-index: 1;

    min-width: 0;
    padding-top: 2px;
}

.about-process__step > span {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(35, 59, 50, 0.18);
    border-radius: 50%;

    background: #f2f4f0;
    color: #879873;

    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.about-process__step h3 {
    margin: 26px 0 0;

    color: #233b32;

    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: -0.018em;
}

.about-process__step p {
    margin: 13px 0 0;

    color: #6b7280;

    font-size: 13px;
    line-height: 1.75;
}


/* =========================================================
   CONTACTO FINAL
========================================================= */

.about-contact {
    padding: 95px 0;

    background: #233b32;
}

.about-contact__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
}

.about-contact .about-section-eyebrow {
    color: #b9c8aa;
}

.about-contact h2 {
    max-width: 760px;
    margin: 18px 0 0;

    color: #ffffff;

    font-size: clamp(32px, 3vw, 48px);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.about-contact p {
    max-width: 620px;
    margin: 18px 0 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: 15px;
    line-height: 1.75;
}

.about-contact__button {
    min-height: 48px;
    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;

    flex: 0 0 auto;

    border: 1px solid rgba(255, 255, 255, 0.72);

    background: transparent;
    color: #ffffff;

    font-size: 11px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.about-contact__button span {
    font-size: 17px;

    transition: transform 0.2s ease;
}

.about-contact__button:hover {
    transform: translateY(-1px);

    border-color: #ffffff;

    background: #ffffff;
    color: #233b32;
}

.about-contact__button:hover span {
    transform: translateX(3px);
}


/* =========================================================
   RESPONSIVE - NOTEBOOK
   HASTA 1366 PX
========================================================= */

@media (max-width: 1366px) {

    .about-hero {
        min-height: 660px;
        padding: 135px 0 95px;
    }

    .about-hero__content {
        max-width: 700px;
    }

    .about-intro,
    .about-values,
    .about-process {
        padding-top: 100px;
        padding-bottom: 105px;
    }

    .about-value {
        padding-right: 24px;
        padding-left: 24px;
    }
}


/* =========================================================
   RESPONSIVE - TABLET / NOTEBOOK PEQUEÑO
   HASTA 1050 PX
========================================================= */

@media (max-width: 1050px) {

    .about-intro__layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .about-intro__content {
        max-width: 760px;
        padding-top: 0;
    }

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

    .about-value:nth-child(2) {
        border-right: 0;
    }

    .about-value:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(35, 59, 50, 0.10);
    }

    .about-process__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px 34px;
    }

    .about-process__grid::before {
        display: none;
    }

    .about-contact__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 40px;
    }
}


/* =========================================================
   RESPONSIVE - TABLET VERTICAL
   HASTA 780 PX
========================================================= */

@media (max-width: 780px) {

    .about-hero {
        min-height: 620px;
        padding: 120px 0 80px;

        background-position: 60% center;
    }

    .about-hero__content {
        max-width: 620px;
    }

    .about-hero h1 {
        font-size: clamp(38px, 7vw, 54px);
    }

    .about-intro,
    .about-values,
    .about-process {
        padding-top: 80px;
        padding-bottom: 85px;
    }

    .about-section-header {
        margin-bottom: 42px;
    }

    .about-values__grid {
        grid-template-columns: 1fr;
    }

    .about-value,
    .about-value:nth-child(2),
    .about-value:last-child {
        border-right: 0;
    }

    .about-value:not(:last-child) {
        border-bottom: 1px solid rgba(35, 59, 50, 0.10);
    }

    .about-value__number {
        margin-bottom: 24px;
    }

    .about-process__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-process__step {
        padding-left: 62px;
    }

    .about-process__step > span {
        position: absolute;
        top: 0;
        left: 0;
    }

    .about-process__step h3 {
        margin-top: 0;
    }

    .about-contact {
        padding: 75px 0;
    }
}


/* =========================================================
   RESPONSIVE - MÓVIL
   HASTA 640 PX
========================================================= */

@media (max-width: 640px) {

    .about-hero {
        min-height: 560px;
        padding: 110px 0 65px;

        background:
            linear-gradient(
                90deg,
                rgba(26, 43, 36, 0.90) 0%,
                rgba(35, 59, 50, 0.74) 58%,
                rgba(35, 59, 50, 0.42) 100%
            ),
            url("../../../img/sections/entrega-llaves.6d25e12cdfc6.png");

        background-position: 62% center;
    }

    .about-hero__eyebrow,
    .about-section-eyebrow {
        font-size: 10px;
    }

    .about-hero h1 {
        font-size: 38px;
        line-height: 1.06;
    }

    .about-hero p {
        margin-top: 20px;

        font-size: 14px;
        line-height: 1.7;
    }

    .about-hero__actions {
        margin-top: 28px;

        align-items: stretch;
        flex-direction: column;
    }

    .about-button {
        width: 100%;
    }

    .about-intro__heading h2,
    .about-section-header h2,
    .about-contact h2 {
        font-size: 32px;
    }

    .about-intro__content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .about-value {
        padding: 30px 22px 32px;
    }

    .about-contact__button {
        width: 100%;
    }
}


/* =========================================================
   RESPONSIVE - MÓVIL PEQUEÑO
   HASTA 430 PX
========================================================= */

@media (max-width: 430px) {

    .about-hero {
        min-height: 530px;
    }

    .about-hero h1 {
        font-size: 34px;
    }

    .about-intro,
    .about-values,
    .about-process {
        padding-top: 68px;
        padding-bottom: 72px;
    }

    .about-section-header {
        margin-bottom: 34px;
    }

    .about-process__step {
        padding-left: 56px;
    }

    .about-process__step > span {
        width: 38px;
        height: 38px;
    }

    .about-contact {
        padding: 64px 0;
    }
}