/* =========================================================
   MERTHERAPY - QUIÉNES SOMOS
   ========================================================= */

.mer-about,
.mer-about * {
    box-sizing: border-box;
}

.mer-about {
    width: 100%;
    overflow: hidden;

    background: #fcfaf7;
    color: #202936;

    font-family: 'Manrope', Arial, sans-serif;
}

.mer-about-container {
    width: calc(100% - 90px);
    max-width: 1680px;

    margin: 0 auto;
}


/* =========================================================
   ELEMENTOS GENERALES
   ========================================================= */

.mer-about-eyebrow {
    margin-bottom: 24px;

    color: #677480;

    font-size: 12px;
    font-weight: 600;

    line-height: 1.2;
    letter-spacing: 4px;
}

.mer-about-eyebrow span {
    margin: 0 6px;

    color: #a79d96;
}

.mer-about-eyebrow-light {
    color: rgba(247,242,236,.68);
}

.mer-about-eyebrow-light span {
    color: rgba(247,242,236,.35);
}


/* BOTÓN */

.mer-about-btn {
    width: fit-content;
    min-height: 62px;

    padding: 0 36px;

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

    gap: 18px;

    background: #18c5d1;
    color: #ffffff;

    text-decoration: none;

    font-size: 17px;
    font-weight: 500;

    transition:
        background .2s ease,
        transform .2s ease;
}

.mer-about-btn:hover {
    background: #12b5c0;
    color: #ffffff;

    transform: translateY(-2px);
}


/* PLACEHOLDERS */

.mer-about-placeholder {
    position: absolute;
    inset: 0;

    z-index: 1;

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

    padding: 30px;

    color: rgba(47,42,40,.38);

    text-align: center;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 2px;
}


/* =========================================================
   01. HERO
   ========================================================= */

.mer-about-hero {
    width: 100%;
    min-height: 690px;

    display: grid;
    grid-template-columns: 44% 56%;

    background: #f7f2ec;
}

.mer-about-hero-content {
    padding:
        80px
        55px
        80px
        max(65px, calc((100vw - 1680px) / 2));

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mer-about-hero-content h1 {
    max-width: 690px;

    margin: 0 0 30px;

    color: #202936;

    font-size: clamp(51px, 4.3vw, 76px);
    font-weight: 400;

    line-height: 1.02;

    letter-spacing: -2.8px;
}

.mer-about-hero-content p {
    max-width: 580px;

    margin: 0 0 39px;

    color: #53606b;

    font-size: 19px;
    line-height: 1.62;
}

.mer-about-hero-image {
    position: relative;

    min-height: 690px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #e8ddd4 0%,
            #c9b4a6 100%
        );

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


/* =========================================================
   02. INTRO
   ========================================================= */

.mer-about-intro {
    padding: 105px 0 100px;

    background: #fcfaf7;
}

.mer-about-intro-grid {
    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 120px;
}

.mer-about-intro-left h2 {
    max-width: 650px;

    margin: 0;

    color: #202936;

    font-size: clamp(47px, 3.7vw, 66px);
    font-weight: 400;

    line-height: 1.04;
    letter-spacing: -2.2px;
}

.mer-about-intro-right {
    max-width: 680px;

    padding-top: 33px;
}

.mer-about-intro-right p {
    margin: 0 0 22px;

    color: #56616c;

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

.mer-about-intro-right .mer-about-lead {
    color: #303b47;

    font-size: 23px;
    line-height: 1.55;
}


/* =========================================================
   PILARES
   ========================================================= */

.mer-about-pillars {
    margin-top: 90px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid rgba(47,42,40,.15);
}

.mer-about-pillar {
    min-height: 235px;

    padding: 35px 42px 20px 0;

    position: relative;
}

.mer-about-pillar + .mer-about-pillar {
    padding-left: 42px;

    border-left: 1px solid rgba(47,42,40,.15);
}

.mer-about-pillar-number {
    display: block;

    margin-bottom: 35px;

    color: #18c5d1;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 2px;
}

.mer-about-pillar h3 {
    margin: 0 0 13px;

    color: #27323d;

    font-size: 24px;
    font-weight: 500;
}

.mer-about-pillar p {
    max-width: 390px;

    margin: 0;

    color: #65707a;

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


/* =========================================================
   03. ENFOQUE
   ========================================================= */

.mer-about-focus {
    padding: 95px 0 105px;

    background: #403630;

    color: #f7f2ec;
}

.mer-about-focus-inner {
    width: calc(100% - 90px);
    max-width: 1680px;

    margin: 0 auto;
}

.mer-about-focus-heading {
    max-width: 880px;

    margin-bottom: 65px;
}

.mer-about-focus-heading h2 {
    margin: 0 0 25px;

    color: #f7f2ec;

    font-size: clamp(48px, 4vw, 68px);
    font-weight: 400;

    line-height: 1.04;
    letter-spacing: -2.3px;
}

.mer-about-focus-heading p {
    max-width: 640px;

    margin: 0;

    color: rgba(247,242,236,.7);

    font-size: 18px;
    line-height: 1.6;
}


/* ITEMS */

.mer-about-focus-grid {
    border-top: 1px solid rgba(247,242,236,.18);
}

.mer-about-focus-item {
    min-height: 145px;

    display: grid;
    grid-template-columns: 70px 1fr auto;

    align-items: center;

    gap: 35px;

    padding: 25px 5px;

    color: #f7f2ec;
    text-decoration: none;

    border-bottom: 1px solid rgba(247,242,236,.18);

    transition:
        padding .25s ease,
        background .25s ease;
}

.mer-about-focus-item:hover {
    padding-left: 18px;

    background: rgba(255,255,255,.025);
}

.mer-about-focus-num {
    color: #18c5d1;

    font-size: 12px;
    letter-spacing: 2px;
}

.mer-about-focus-item h3 {
    margin: 0 0 7px;

    color: #ffffff;

    font-size: 27px;
    font-weight: 500;
}

.mer-about-focus-item p {
    max-width: 590px;

    margin: 0;

    color: rgba(247,242,236,.63);

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

.mer-about-focus-arrow {
    color: #18c5d1;

    font-size: 29px;

    transition: transform .25s ease;
}

.mer-about-focus-item:hover .mer-about-focus-arrow {
    transform: translate(5px,-5px);
}


/* =========================================================
   04. DOCTORA
   ========================================================= */

.mer-about-doctor {
    min-height: 680px;

    display: grid;
    grid-template-columns: 55% 45%;

    background: #f7f2ec;
}

.mer-about-doctor-image {
    position: relative;

    min-height: 680px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #e4d9d0,
            #c4ae9f
        );

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

.mer-about-doctor-content {
    padding:
        75px
        max(60px, calc((100vw - 1680px) / 2))
        75px
        70px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mer-about-doctor-content h2 {
    max-width: 650px;

    margin: 0 0 35px;

    color: #202936;

    font-size: clamp(47px, 3.8vw, 65px);
    font-weight: 400;

    line-height: 1.03;
    letter-spacing: -2.3px;
}

.mer-about-doctor-name {
    margin-bottom: 8px;

    color: #26313d;

    font-size: 27px;
    font-weight: 500;
}

.mer-about-doctor-meta {
    margin-bottom: 28px;

    color: #667482;

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

.mer-about-doctor-content p {
    max-width: 590px;

    margin: 0 0 30px;

    color: #59656f;

    font-size: 17px;
    line-height: 1.65;
}

.mer-about-text-link {
    width: fit-content;

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

    gap: 13px;

    padding-bottom: 6px;

    color: #26333d;
    text-decoration: none;

    font-size: 16px;
    font-weight: 500;

    border-bottom: 1px solid #18c5d1;
}

.mer-about-text-link span {
    color: #18c5d1;

    font-size: 19px;
}


/* =========================================================
   05. ESPACIO
   ========================================================= */

.mer-about-space {
    padding: 100px 0;

    background: #fcfaf7;
}

.mer-about-space-heading {
    margin-bottom: 50px;

    display: grid;
    grid-template-columns: 1fr .75fr;

    align-items: end;

    gap: 90px;
}

.mer-about-space-heading h2 {
    max-width: 650px;

    margin: 0;

    color: #202936;

    font-size: clamp(47px, 3.8vw, 66px);
    font-weight: 400;

    line-height: 1.04;
    letter-spacing: -2.2px;
}

.mer-about-space-heading > p {
    max-width: 520px;

    margin: 0 0 5px;

    color: #5d6872;

    font-size: 17px;
    line-height: 1.6;
}


/* GALERÍA */

.mer-about-gallery {
    display: grid;

    grid-template-columns: 1.55fr 1fr;
    grid-template-rows: 285px 285px;

    gap: 8px;
}

.mer-about-gallery-main,
.mer-about-gallery-small {
    position: relative;

    overflow: hidden;

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

.mer-about-gallery-main {
    grid-row: 1 / span 2;

    background:
        linear-gradient(
            135deg,
            #dfd5cb,
            #b8aa9d
        );
}

.mer-about-gallery-office {
    background:
        linear-gradient(
            135deg,
            #eae3dd,
            #cabdb2
        );
}

.mer-about-gallery-treatment {
    background:
        linear-gradient(
            135deg,
            #e7dfd8,
            #baa99d
        );
}


/* =========================================================
   06. CTA FINAL
   ========================================================= */

.mer-about-cta {
    padding: 105px 30px;

    background: #18c5d1;

    color: #ffffff;

    text-align: center;
}

.mer-about-cta-inner {
    max-width: 900px;

    margin: 0 auto;
}

.mer-about-cta h2 {
    margin: 0 0 23px;

    color: #ffffff;

    font-size: clamp(48px, 4.4vw, 72px);
    font-weight: 400;

    line-height: 1.03;
    letter-spacing: -2.4px;
}

.mer-about-cta p {
    max-width: 640px;

    margin: 0 auto 35px;

    color: rgba(255,255,255,.87);

    font-size: 18px;
    line-height: 1.6;
}

.mer-about-btn-light {
    margin: 0 auto;

    background: #ffffff;
    color: #26333d;
}

.mer-about-btn-light:hover {
    background: #f7f2ec;
    color: #26333d;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .mer-about-container,
    .mer-about-focus-inner {
        width: calc(100% - 50px);
    }

    .mer-about-hero {
        grid-template-columns: 47% 53%;
        min-height: 600px;
    }

    .mer-about-hero-content {
        padding: 60px 40px;
    }

    .mer-about-hero-image {
        min-height: 600px;
    }

    .mer-about-intro-grid {
        gap: 60px;
    }

    .mer-about-doctor {
        grid-template-columns: 50% 50%;
    }

    .mer-about-doctor-content {
        padding: 60px 40px;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    .mer-about-container,
    .mer-about-focus-inner {
        width: calc(100% - 36px);
    }


    /* HERO */

    .mer-about-hero {
        display: flex;
        flex-direction: column;

        min-height: auto;
    }

    .mer-about-hero-image {
        order: 1;

        min-height: 390px;
    }

    .mer-about-hero-content {
        order: 2;

        padding: 47px 24px 55px;
    }

    .mer-about-hero-content h1 {
        margin-bottom: 23px;

        font-size: 43px;
        letter-spacing: -1.6px;
    }

    .mer-about-hero-content h1 br {
        display: none;
    }

    .mer-about-hero-content p {
        font-size: 17px;
    }

    .mer-about-btn {
        width: 100%;

        min-height: 59px;
    }


    /* INTRO */

    .mer-about-intro {
        padding: 60px 0;
    }

    .mer-about-intro-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .mer-about-intro-left h2 {
        font-size: 40px;
    }

    .mer-about-intro-right {
        padding-top: 0;
    }

    .mer-about-intro-right .mer-about-lead {
        font-size: 20px;
    }

    .mer-about-intro-right p {
        font-size: 16px;
    }


    /* PILARES */

    .mer-about-pillars {
        margin-top: 55px;

        grid-template-columns: 1fr;
    }

    .mer-about-pillar,
    .mer-about-pillar + .mer-about-pillar {
        min-height: auto;

        padding: 30px 0;

        border-left: 0;
        border-bottom: 1px solid rgba(47,42,40,.13);
    }

    .mer-about-pillar-number {
        margin-bottom: 20px;
    }


    /* ENFOQUE */

    .mer-about-focus {
        padding: 60px 0 65px;
    }

    .mer-about-focus-heading {
        margin-bottom: 40px;
    }

    .mer-about-focus-heading h2 {
        font-size: 40px;
    }

    .mer-about-focus-heading h2 br {
        display: none;
    }

    .mer-about-focus-item {
        grid-template-columns: 40px 1fr auto;

        gap: 15px;

        min-height: 135px;

        padding: 22px 0;
    }

    .mer-about-focus-item h3 {
        font-size: 22px;
    }


    /* DOCTORA */

    .mer-about-doctor {
        display: flex;
        flex-direction: column;

        min-height: auto;
    }

    .mer-about-doctor-image {
        min-height: 420px;
    }

    .mer-about-doctor-content {
        padding: 50px 24px 55px;
    }

    .mer-about-doctor-content h2 {
        font-size: 40px;
    }

    .mer-about-doctor-name {
        font-size: 23px;
    }


    /* ESPACIO */

    .mer-about-space {
        padding: 60px 0;
    }

    .mer-about-space-heading {
        grid-template-columns: 1fr;

        gap: 25px;

        margin-bottom: 35px;
    }

    .mer-about-space-heading h2 {
        font-size: 40px;
    }

    .mer-about-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: none;

        gap: 7px;
    }

    .mer-about-gallery-main {
        grid-row: auto;

        height: 320px;
    }

    .mer-about-gallery-small {
        height: 245px;
    }


    /* CTA */

    .mer-about-cta {
        padding: 70px 24px;
    }

    .mer-about-cta h2 {
        font-size: 41px;
    }

    .mer-about-cta p {
        font-size: 17px;
    }

}


/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width: 420px) {

    .mer-about-container,
    .mer-about-focus-inner {
        width: calc(100% - 30px);
    }

    .mer-about-hero-image {
        min-height: 330px;
    }

    .mer-about-hero-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mer-about-hero-content h1,
    .mer-about-intro-left h2,
    .mer-about-focus-heading h2,
    .mer-about-doctor-content h2,
    .mer-about-space-heading h2,
    .mer-about-cta h2 {
        font-size: 36px;
    }

    .mer-about-doctor-image {
        min-height: 350px;
    }

}
