/* Yes2Duenas conversion hero — editorial clarity + inspectable trust. */

body.home #rev_slider_1_1_wrapper,
body.home #rev_slider_1_1,
body.home #rev_slider_1_1_forcefullwidth,
body.home rs-module-wrap,
body.home rs-module {
    height: clamp(680px, calc(100svh - 88px), 820px) !important;
    min-height: 680px !important;
    max-height: 820px !important;
}

body.home #rev_slider_1_1 rs-slide[data-key="rs-1"],
body.home #rev_slider_1_1 rs-slide[data-key="rs-3"] {
    background:
        linear-gradient(90deg, rgba(6, 25, 24, .88) 0%, rgba(6, 25, 24, .67) 47%, rgba(6, 25, 24, .20) 78%, rgba(6, 25, 24, .08) 100%),
        url('/wp-content/uploads/2026/07/miami-estate-blue-hour.webp') center / cover no-repeat !important;
}

body.home #rev_slider_1_1 rs-slide[data-key="rs-2"],
body.home #rev_slider_1_1 rs-slide[data-key="rs-4"] {
    background:
        linear-gradient(90deg, rgba(6, 25, 24, .88) 0%, rgba(6, 25, 24, .65) 47%, rgba(6, 25, 24, .18) 78%, rgba(6, 25, 24, .07) 100%),
        url('/wp-content/uploads/2026/07/miami-waterfront-sunset.webp') center / cover no-repeat !important;
}

body.home #rev_slider_1_1 .tparrows {
    display: none !important;
}

body.home .y2d-conversion-hero {
    position: absolute;
    z-index: 80;
    top: 50%;
    left: clamp(46px, 6vw, 112px);
    width: min(780px, calc(100vw - 96px));
    color: #fff;
    pointer-events: none;
    transform: translateY(-50%);
}

body.home .y2d-conversion-hero .y2d-hero__eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 17px;
    color: #dcece8;
    font: 800 13px/1.3 'Nunito Sans', sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .24);
}

body.home .y2d-conversion-hero h1 {
    max-width: 760px;
    margin: 0 0 20px !important;
    color: #fff !important;
    font: 700 clamp(54px, 5.25vw, 78px) / .98 'Playfair Display', serif !important;
    letter-spacing: -.045em !important;
    text-wrap: balance;
    text-shadow: 0 4px 30px rgba(0, 0, 0, .28);
}

body.home .y2d-conversion-hero .y2d-hero__description {
    max-width: 700px;
    margin: 0 0 27px;
    color: rgba(255, 255, 255, .92);
    font: 500 clamp(17px, 1.45vw, 20px) / 1.55 'Nunito Sans', sans-serif;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .22);
}

body.home .y2d-conversion-hero .y2d-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    pointer-events: auto;
}

body.home .y2d-conversion-hero .y2d-hero__cta {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 23px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #fff !important;
    font: 800 15px/1 'Nunito Sans', sans-serif;
    text-decoration: none !important;
    box-shadow: none;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.home .y2d-conversion-hero .y2d-hero__cta--primary {
    background: #0f6863;
    box-shadow: 0 13px 30px rgba(0, 0, 0, .23);
}

body.home .y2d-conversion-hero .y2d-hero__cta--secondary {
    border-color: rgba(255, 255, 255, .66);
    background: rgba(8, 35, 33, .38);
    backdrop-filter: blur(10px);
}

body.home .y2d-conversion-hero .y2d-hero__cta svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

body.home .y2d-conversion-hero .y2d-hero__cta:hover,
body.home .y2d-conversion-hero .y2d-hero__cta:focus-visible {
    color: #fff !important;
    transform: translateY(-2px);
}

body.home .y2d-conversion-hero .y2d-hero__cta--primary:hover,
body.home .y2d-conversion-hero .y2d-hero__cta--primary:focus-visible {
    background: #15514e;
    box-shadow: 0 17px 36px rgba(0, 0, 0, .28);
}

body.home .y2d-conversion-hero .y2d-hero__cta--secondary:hover,
body.home .y2d-conversion-hero .y2d-hero__cta--secondary:focus-visible {
    border-color: #fff;
    background: rgba(255, 255, 255, .15);
}

body.home .y2d-conversion-hero .y2d-hero__cta:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

body.home .y2d-conversion-hero .y2d-hero__proof {
    display: grid;
    max-width: 760px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 17px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .35);
    list-style: none;
}

body.home .y2d-conversion-hero .y2d-hero__proof li {
    min-width: 0;
    padding: 0 20px;
    border-left: 1px solid rgba(255, 255, 255, .25);
}

body.home .y2d-conversion-hero .y2d-hero__proof li:first-child {
    padding-left: 0;
    border-left: 0;
}

body.home .y2d-conversion-hero .y2d-hero__proof strong,
body.home .y2d-conversion-hero .y2d-hero__proof span {
    display: block;
}

body.home .y2d-conversion-hero .y2d-hero__proof strong {
    margin-bottom: 4px;
    color: #fff;
    font: 800 14px/1.25 'Nunito Sans', sans-serif;
}

body.home .y2d-conversion-hero .y2d-hero__proof span {
    color: rgba(255, 255, 255, .75);
    font: 500 12px/1.35 'Nunito Sans', sans-serif;
}

body.home #contact {
    scroll-margin-top: 96px;
}

@media (max-width: 1024px) {
    body.home #rev_slider_1_1_wrapper,
    body.home #rev_slider_1_1,
    body.home #rev_slider_1_1_forcefullwidth,
    body.home rs-module-wrap,
    body.home rs-module {
        height: 700px !important;
        min-height: 700px !important;
        max-height: 700px !important;
    }

    body.home .y2d-conversion-hero {
        left: 42px;
        width: min(720px, calc(100vw - 84px));
    }

    body.home .y2d-conversion-hero h1 {
        font-size: clamp(50px, 7vw, 66px) !important;
    }
}

@media (max-width: 767px) {
    body.home #rev_slider_1_1_wrapper,
    body.home #rev_slider_1_1,
    body.home #rev_slider_1_1_forcefullwidth,
    body.home rs-module-wrap,
    body.home rs-module {
        height: 760px !important;
        min-height: 760px !important;
        max-height: 760px !important;
    }

    body.home #rev_slider_1_1 rs-slide[data-key="rs-1"],
    body.home #rev_slider_1_1 rs-slide[data-key="rs-2"],
    body.home #rev_slider_1_1 rs-slide[data-key="rs-3"],
    body.home #rev_slider_1_1 rs-slide[data-key="rs-4"] {
        background-position: 62% center !important;
    }

    body.home .y2d-conversion-hero {
        top: 50%;
        left: 20px;
        width: calc(100vw - 40px);
    }

    body.home .y2d-conversion-hero .y2d-hero__eyebrow {
        gap: 6px;
        margin-bottom: 13px;
        font-size: 11px;
        letter-spacing: .105em;
    }

    body.home .y2d-conversion-hero h1 {
        margin-bottom: 17px !important;
        font-size: clamp(42px, 11.5vw, 56px) !important;
        line-height: 1 !important;
    }

    body.home .y2d-conversion-hero .y2d-hero__description {
        margin-bottom: 22px;
        font-size: 16px;
        line-height: 1.48;
    }

    body.home .y2d-conversion-hero .y2d-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 24px;
    }

    body.home .y2d-conversion-hero .y2d-hero__cta {
        width: 100%;
        min-height: 50px;
    }

    body.home .y2d-conversion-hero .y2d-hero__proof {
        grid-template-columns: 1fr 1fr;
        row-gap: 17px;
        padding-top: 15px;
    }

    body.home .y2d-conversion-hero .y2d-hero__proof li {
        padding: 0 13px;
    }

    body.home .y2d-conversion-hero .y2d-hero__proof li:nth-child(2) {
        padding-right: 0;
    }

    body.home .y2d-conversion-hero .y2d-hero__proof li:nth-child(3) {
        grid-column: 1 / -1;
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 390px) {
    body.home #rev_slider_1_1_wrapper,
    body.home #rev_slider_1_1,
    body.home #rev_slider_1_1_forcefullwidth,
    body.home rs-module-wrap,
    body.home rs-module {
        height: 790px !important;
        min-height: 790px !important;
        max-height: 790px !important;
    }

    body.home .y2d-conversion-hero h1 {
        font-size: 40px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home .y2d-conversion-hero .y2d-hero__cta {
        transition: none;
    }
}
