/* Costa Maule Experience – Quiénes Somos Elementor */
.cme-qs,
.cme-qs * {
    box-sizing: border-box;
}

.cme-qs {
    --cme-green: #174536;
    --cme-title: #123e30;
    --cme-accent: #d98400;
    --cme-bg: #f7f4ef;
    --cme-left-col: 42%;
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--cme-bg);
    color: #181818;
    font-family: "Montserrat", Arial, sans-serif;
}

.cme-qs-main {
    position: relative;
    z-index: 2;
    padding: 58px 92px 88px;
}

.cme-qs-main-inner,
.cme-qs-benefits-inner {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
}

.cme-qs-main-inner {
    display: grid;
    grid-template-columns: minmax(0, var(--cme-left-col)) minmax(0, calc(100% - var(--cme-left-col)));
    grid-template-areas:
        "header gallery"
        "copy gallery"
        "features gallery";
    column-gap: 56px;
    row-gap: 0;
    align-items: start;
}

.cme-qs-header {
    grid-area: header;
    min-width: 0;
}

.cme-qs-eyebrow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    color: var(--cme-accent);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 24px 0 27px;
}

.cme-qs-eyebrow::before {
    content: "";
    flex: 0 0 auto;
    width: 38px;
    height: 2px;
    background: currentColor;
    border-radius: 10px;
}

.cme-qs-title-wrap {
    position: relative;
    text-align: left;
}

.cme-qs-title {
    margin: 0;
    max-width: 540px;
    color: var(--cme-title);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 72px;
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.025em;
}

.cme-qs-title-brush {
    display: block;
    width: 220px;
    height: auto;
    margin: 27px 0 24px;
    overflow: visible;
}

.cme-qs-copy {
    grid-area: copy;
    max-width: 555px;
    padding-top: 0;
}

.cme-qs-text {
    margin: 0;
    color: #181818;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.58;
}

.cme-qs-text p {
    margin: 0;
}

.cme-qs-text strong {
    color: #173f32;
    font-weight: 700;
}

.cme-qs-text + .cme-qs-text {
    margin-top: 30px;
}

.cme-qs-gallery {
    grid-area: gallery;
    position: relative;
    z-index: 4;
    min-width: 0;
    padding-right: 0;
}

.cme-qs-main-image {
    --cme-object-x: 50%;
    --cme-object-y: 50%;
    display: block;
    width: 100%;
    height: 740px;
    object-fit: cover;
    object-position: var(--cme-object-x) var(--cme-object-y);
    border-radius: 48px;
    box-shadow: 0 18px 38px rgba(27, 48, 39, .10);
}

.cme-qs-overlay-image {
    position: absolute;
    z-index: 6;
    right: -106px;
    bottom: -45px;
    width: 49%;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    object-position: 50% 50%;
    border: 5px solid #fff;
    border-radius: 30px;
    box-shadow: 0 14px 24px rgba(0, 0, 0, .14);
}

.cme-qs-features {
    grid-area: features;
    display: grid;
    grid-template-columns: repeat(var(--cme-feature-cols, 4), minmax(0, 1fr));
    gap: 18px;
    margin-top: 38px;
    max-width: 555px;
}

.cme-qs-feature {
    min-width: 0;
    min-height: 182px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 18px 10px 16px;
    background: #fbfaf7;
    border: 1px solid rgba(24, 63, 50, .06);
    border-radius: 13px;
    box-shadow: 0 6px 13px rgba(31, 44, 37, .10);
}

.cme-qs-feature-icon-wrap {
    flex: 0 0 auto;
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eff0eb;
}

.cme-qs-feature-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.cme-qs-feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 auto;
    width: 100%;
}

.cme-qs-feature-title {
    margin-top: 11px;
    color: #173f32;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.cme-qs-feature-underline {
    display: block;
    width: 44px;
    height: 2px;
    margin-top: auto;
    background: #d98400;
    border-radius: 999px;
    transform: rotate(-1deg);
}

.cme-qs-leaf {
    position: absolute;
    z-index: 0;
    left: -36px;
    bottom: -10px;
    width: 165px;
    height: auto;
    opacity: .18;
    pointer-events: none;
}

.cme-qs-benefits-band {
    position: relative;
    z-index: 1;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: -128px;
    background: #174536;
    color: #fff;
    overflow: hidden;
}

/* This light oval cuts into the green area and recreates the asymmetric desktop wave. */
.cme-qs-benefits-band::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: -11vw;
    top: -188px;
    width: 79vw;
    height: 236px;
    background: var(--cme-bg);
    border-radius: 50%;
    transform: rotate(-3deg);
    pointer-events: none;
}

.cme-qs-benefits-inner {
    position: relative;
    z-index: 2;
    padding: 158px 70px 40px 260px;
}

.cme-qs-benefits {
    display: grid;
    grid-template-columns: repeat(var(--cme-benefit-cols, 4), minmax(0, 1fr));
    gap: 18px;
    align-items: center;
}

.cme-qs-benefit {
    --cme-divider-color: rgba(255, 255, 255, .75);
    position: relative;
    min-width: 0;
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 0 24px 0 0;
}

.cme-qs-benefit:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10%;
    right: 0;
    width: 1px;
    height: 80%;
    background: var(--cme-divider-color);
}

.cme-qs-benefit-icon-wrap {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    border-radius: 50%;
}

.cme-qs-benefit-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.cme-qs-benefit-title {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

@media (max-width: 1260px) and (min-width: 1025px) {
    .cme-qs-main {
        padding-left: 52px;
        padding-right: 52px;
    }

    .cme-qs-title {
        font-size: 62px;
    }

    .cme-qs-main-image {
        height: 680px;
    }

    .cme-qs-overlay-image {
        right: -32px;
    }

    .cme-qs-benefits-inner {
        padding-left: 70px;
    }
}

@media (max-width: 1024px) {
    .cme-qs-main {
        padding: 45px 45px 55px;
    }

    .cme-qs-main-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "header"
            "gallery"
            "copy"
            "features";
        row-gap: 0;
    }

    .cme-qs-header {
        text-align: center;
    }

    .cme-qs-eyebrow {
        justify-content: center;
        margin: 0 0 24px;
        font-size: 15px;
        letter-spacing: .14em;
    }

    .cme-qs-title-wrap {
        text-align: center;
    }

    .cme-qs-title {
        margin: 0 auto;
        max-width: 650px;
        font-size: 54px;
        line-height: .98;
    }

    .cme-qs-title-brush {
        width: 230px;
        margin: 21px auto 24px;
    }

    .cme-qs-gallery {
        width: min(100%, 710px);
        margin: 0 auto;
        padding-bottom: 36px;
    }

    .cme-qs-main-image {
        width: 100%;
        height: 540px;
        border-radius: 38px;
    }

    .cme-qs-overlay-image {
        right: -28px;
        bottom: 12px;
        width: 48%;
        border-width: 5px;
        border-radius: 28px;
    }

    .cme-qs-copy {
        max-width: 710px;
        margin: 13px auto 0;
        text-align: center;
    }

    .cme-qs-text {
        font-size: 20px;
        line-height: 1.55;
    }

    .cme-qs-text + .cme-qs-text {
        margin-top: 31px;
    }

    .cme-qs-features {
        --cme-feature-cols: 2;
        width: min(100%, 710px);
        max-width: 710px;
        margin: 31px auto 0;
        gap: 14px;
    }

    .cme-qs-feature {
        min-height: 124px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        gap: 20px;
        padding: 15px 18px;
        border-radius: 15px;
    }

    .cme-qs-feature-icon-wrap {
        width: 72px;
        height: 72px;
    }

    .cme-qs-feature-content {
        align-items: flex-start;
        justify-content: center;
        min-height: 78px;
    }

    .cme-qs-feature-title {
        margin-top: 0;
        font-size: 20px;
        line-height: 1.35;
    }

    .cme-qs-feature-underline {
        width: 58px;
        margin-top: 10px;
    }

    .cme-qs-leaf {
        display: none;
    }

    .cme-qs-benefits-band {
        margin-top: 18px;
    }

    .cme-qs-benefits-band::before {
        left: -25%;
        top: -98px;
        width: 150%;
        height: 142px;
        border-radius: 50%;
        transform: none;
    }

    .cme-qs-benefits-inner {
        padding: 95px 50px 40px;
    }

    .cme-qs-benefits {
        --cme-benefit-cols: 2;
        gap: 0;
        max-width: 720px;
        margin: 0 auto;
    }

    .cme-qs-benefit {
        min-height: 108px;
        gap: 20px;
        padding: 18px 28px;
    }

    .cme-qs-benefit:nth-child(odd)::after {
        content: "";
        position: absolute;
        top: 15%;
        right: 0;
        width: 1px;
        height: 70%;
        background: var(--cme-divider-color);
    }

    .cme-qs-benefit:nth-child(even)::after {
        display: none;
    }

    .cme-qs-benefit:nth-child(-n+2)::before {
        content: "";
        position: absolute;
        left: 12px;
        bottom: 0;
        width: calc(100% - 24px);
        height: 1px;
        background: var(--cme-divider-color);
    }

    .cme-qs-benefit-icon-wrap {
        width: 68px;
        height: 68px;
    }

    .cme-qs-benefit-icon {
        width: 42px;
        height: 42px;
    }

    .cme-qs-benefit-title {
        font-size: 20px;
        line-height: 1.45;
    }
}

@media (max-width: 767px) {
    .cme-qs-main {
        padding: 34px 24px 44px;
    }

    .cme-qs-eyebrow {
        gap: 10px;
        margin-bottom: 18px;
        font-size: 12px;
        letter-spacing: .12em;
    }

    .cme-qs-eyebrow::before {
        width: 28px;
    }

    .cme-qs-title {
        max-width: 440px;
        font-size: 44px;
        line-height: 1.02;
    }

    .cme-qs-title-brush {
        width: 190px;
        margin: 15px auto 18px;
    }

    .cme-qs-gallery {
        width: 100%;
        padding-bottom: 26px;
    }

    .cme-qs-main-image {
        height: 390px;
        border-radius: 30px;
    }

    .cme-qs-overlay-image {
        right: -8px;
        bottom: 6px;
        width: 49%;
        border-width: 4px;
        border-radius: 22px;
    }

    .cme-qs-copy {
        margin-top: 8px;
    }

    .cme-qs-text {
        font-size: 18px;
        line-height: 1.55;
    }

    .cme-qs-text + .cme-qs-text {
        margin-top: 24px;
    }

    .cme-qs-features {
        margin-top: 27px;
        gap: 12px;
    }

    .cme-qs-feature {
        min-height: 106px;
        gap: 12px;
        padding: 13px 14px;
        border-radius: 14px;
    }

    .cme-qs-feature-icon-wrap {
        width: 62px;
        height: 62px;
    }

    .cme-qs-feature-icon {
        width: 40px;
        height: 40px;
    }

    .cme-qs-feature-content {
        min-height: 64px;
    }

    .cme-qs-feature-title {
        font-size: 16px;
    }

    .cme-qs-feature-underline {
        width: 45px;
        margin-top: 7px;
    }

    .cme-qs-benefits-band {
        margin-top: 18px;
    }

    .cme-qs-benefits-band::before {
        top: -76px;
        height: 116px;
    }

    .cme-qs-benefits-inner {
        padding: 76px 24px 34px;
    }

    .cme-qs-benefit {
        min-height: 96px;
        gap: 12px;
        padding: 14px 10px;
    }

    .cme-qs-benefit-icon-wrap {
        width: 58px;
        height: 58px;
    }

    .cme-qs-benefit-icon {
        width: 36px;
        height: 36px;
    }

    .cme-qs-benefit-title {
        font-size: 15px;
        line-height: 1.42;
    }
}

@media (max-width: 480px) {
    .cme-qs-main {
        padding-left: 18px;
        padding-right: 18px;
    }

    .cme-qs-title {
        font-size: 38px;
    }

    .cme-qs-main-image {
        height: 330px;
    }

    .cme-qs-feature {
        padding-left: 10px;
        padding-right: 10px;
    }

    .cme-qs-feature-icon-wrap {
        width: 54px;
        height: 54px;
    }

    .cme-qs-feature-icon {
        width: 35px;
        height: 35px;
    }

    .cme-qs-feature-title {
        font-size: 14px;
    }

    .cme-qs-benefit {
        gap: 8px;
        padding-left: 6px;
        padding-right: 6px;
    }

    .cme-qs-benefit-icon-wrap {
        width: 50px;
        height: 50px;
    }

    .cme-qs-benefit-icon {
        width: 31px;
        height: 31px;
    }

    .cme-qs-benefit-title {
        font-size: 13px;
    }
}
