[data-portfolio-orientation=horizontal] .p-carousal_marquee_list {
    animation: loopi 5s infinite linear;
}

.p-carousal_slide:not(.swiper-slide-active) {
    transform: scale(0.7) !important;
}

.p-carousal_slide {
    transition: 0.3s ease-in-out;
}

@keyframes loopi {
    0% {
        transform: translateY(0%);
    }

    100% {
        transform: translateY(-50%)
    }
}

.custom-main-input:focus~label,
.custom-main-input:user-valid~label,
.custom-main-input:not(:placeholder-shown)~label {
    transform: translateY(-130%);
    font-size: 14px;
}

.custom-main-input,
.custom-main-input label,
.custom-check-inner {
    transition: all 0.3s ease-in-out !important;
}

.custom-check-flield {
    cursor: pointer;
}

.custom-check-flield input:checked~.custom-check-inner {
    background: white;
}

.custom-check-flield input:checked~.custom-check-inner span {
    color: #1d1d1d;
}

/* step form partner */

form#reno-form h3.title {
    display: none;
}

form#reno-form section {
    position: absolute;

    display: block !important;
    visibility: hidden !important;
}

form#reno-form section.current {
    visibility: visible !important;
    position: relative;
    transition-delay: 0.3s !important;
}

.pl-step-form-container,
.pl-step-form-container>div {
    height: 100%;
}

#reno-form {
    position: relative;
    height: 100%;
}

#reno-form .steps {
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: 5;
    transform: translateX(-50%);
}

#reno-form .steps ul {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0px !important;
    padding: 20px 10px !important;
}

#reno-form .steps ul li a {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    text-decoration: none;
}

#reno-form .steps ul li a .current-info {
    display: none;
}

#reno-form .actions.clearfix {
    margin-top: auto;
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 20px 15px;
    justify-content: space-between;
}

#reno-form .actions.clearfix ul {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#reno-form .actions.clearfix ul a {
    text-decoration: none !important;
    padding: 12px 20px;
    background: white;
    border-radius: 8px;
    color: #1d1d1d;
    display: inline-block;
}

#reno-form .actions.clearfix ul li.disabled a {
    background: rgba(255, 255, 255, 0.15) !important;
    color: white;
}

#reno-form .steps ul li a .number {
    display: none !important;
}

#reno-form .steps ul li:not(.current) a {
    /* background: rgba(255,255,255,0.15); */
    opacity: 0.30;
}

.custom-main-input.error {
    /* margin-bottom: 20px !important; */
    border: 1px solid red !important;
    box-shadow: 0px 0px 0px 5px rgba(255, 0, 0, 0.25);
    background: #382e2e;
}

.custom-input label.error {
    display: none !important;
}

.iti__tel-input {
    width: 100% !important;
}

.iti {
    width: 100%;
}

.custom-input.country-phone-input .custom-label {
    display: none !important;
}

.iti__dropdown-content {
    background: #1d1d1d !important;
    border-radius: 12px !important;
    border: none !important;
}

/* modal */
.modal {
    display: none;
}

.modal.is-open {
    display: block;
}

.modal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding-top: 20px;
    overflow-y: auto;
    overflow-x: hidden;
}

.modal__container {
    background: transparent;
    padding: 0px;
    max-width: 1200px;
    width: 95%;
    border-radius: 20px;
}

a[data-micromodal-close] {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1em;
    right: 1em;
    background: #1F1F1F;
    z-index: 5;
    border-radius: 8px;
}

.modal__container {
    position: relative;
}

.gallery-image-wrapper:nth-child(23) {
    z-index: 2;
    position: relative;
}

.designers_slide_img_track {
    animation: loopY 5s infinite linear;
}

@keyframes loopY {
    0% {
        transform: translateY(0%);
    }

    100% {
        transform: translateY(-50%)
    }
}

.swiper-slide {
    width: fit-content;
    flex-shrink: 0;
}

.main-gallery-image-wrapper-animated {
    position: absolute;
    z-index: 5;
    top: 0;
    height: 100%;

    overflow: hidden;
    border-radius: 20px;
}

.main-gallery-image-wrapper-animated img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

[data-anim-img-wrapper] {
    position: relative;
    z-index: 3;
    overflow: unset;
}

.cta_visual_wrap>img:nth-child(2) {
    transform: translateY(100px);
}

.cta_visual_wrap:hover>img:nth-child(2) {
    transform: translateY(5px);
}

.cta_visual_wrap:hover>img:nth-child(1) {
    transform: translateY(80px);
}

.cta_visual_wrap>img {
    transition: 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.portfolio_list_img_iner>.portfolio_list_img_iner {

    transform: translateY(0);
}

@keyframes loopscroll {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-30%);
    }
}

.two-col [data-portfolio-element=item]:hover .portfolio_list_img_iner>.portfolio_list_img_iner {
    animation: loopscroll 3s infinite linear;
}

.two-col .experts_list_item:hover .vertical-marquee_inner {
    animation: loopscroll 3s infinite linear;
}

form#reno-form section:not(.current) {
    top: 2em !important;
    left: 0px !important;
    opacity: 0 !important;
    width: 96.5% !important;
}

form#reno-form section {
    transition: 0.3s ease-in-out;
}

.home-gallery-hero-img {
    opacity: 0;
}

.home-gallery-hero-img img {
    width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    height: 100% !important;
}

.designer-pagination-slider-container .designer-pagination-image {
    transform: rotate(-90deg);
    opacity: 1 !important;
}

.designer-pagination-slider-container {
    top: 36vh;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
    z-index: 99;
}

.u-desktop-hide {
    display: none !important;
}

@media (max-width: 768px) {
    .u-desktop-hide {
        display: block !important;
    }

    .u-mobile-hide {
        display: none !important;
    }
}

.designer-pagination-slider-container.active .swiper-slide:not(.swiper-slide-active) {
    opacity: 0.6;
    transform: rotate(0) scale(0.7);
}

.designer-pagination-slider-container .swiper-slide {
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

@media(max-width: 768px) {
    .designer-images-marquee-container {
        animation: loopAnimRevrse 15s infinite linear !important;
        min-width: max-content !important;
    }

    .p-carousal_wrap {
        padding: 0px 10px;
    }

    .p-carousal_slide.swiper-slide {
        max-width: 100% !important;
    }

    .designer-images-marquee-main {
        height: auto !important;
    }
}

@keyframes loopAnimRevrse {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%)
    }
}

/* hidden state */

.nav_component.nav--hidden {
    transform: translateY(-100%);
    opacity: 0;
}

/* visible state */
.nav_component.nav--visible {
    transform: translateY(0);
    opacity: 1;
    background: black;
    position: fixed !important;
}

.nav_component.nav--visible .bottom_bottom_left_outer {
    display: none !important;
}

.nav_component {
    width: 100%;
    transition: transform 0.35s ease, opacity 0.25s ease;
    will-change: transform;
}

.v-tabs_accordion_item.is-opened .v-tabs_accordion_body {
    max-height: 1000px !important;
}

.v-tabs_accordion_item .v-tabs_accordion_body {
    transition: 0.3s ease-in-out;
}


@media(max-width: 768px) {
    .nav_elements .clickable_btn {
        background: white !important;
        color: black !important;
    }


    .nav_elements .button_main_text {
        color: black !important;
        z-index: 4 !important;
    }

    .designers_slide_img_track {
        flex-direction: row;
        animation: loopX 5s infinite linear !important;
        min-width: max-content;
    }

    .designers_slide_img_container {
        flex-direction: row;
    }

    @keyframes loopX {
        0% {
            transform: translateX(0px);
        }

        100% {
            transform: translateX(-50%);
        }
    }
}

/* ==========================================================================
   RESPONSIVE (max-width: 991px) - Designer Section Adjustments
   ========================================================================== */
@media screen and (max-width: 991px) {

    /* 1. Reset sticky and min-height wrappers */
    .designer-slider-sec {
        min-height: auto !important;
        height: auto !important;
        position: relative !important;
        padding-top: 40px !important;
        padding-bottom: 60px !important;
    }

    .designer-slider-sec .u-position-sticky {
        min-height: auto !important;
        height: auto !important;
        position: relative !important;
        top: auto !important;
    }

    .u-container.designer-collab-text-container {
        padding-top: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .designer-slider-sec .collab-text {
        text-align: center !important;
        width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* 2. Horizontal Pagination (Thumbnail) Slider */
    .designer-pagination-slider-container {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 24px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        z-index: 5 !important;
    }

    /* Disable vertical desktop gradient overlays */
    .designer-pagination-slider-container:before,
    .designer-pagination-slider-container:after {
        display: none !important;
    }

    .designer-slider-pagination-slider.swiper {
        height: auto !important;
        max-height: none !important;
        width: 100% !important;
        overflow: visible !important;
        padding: 16px 0 !important;
    }

    .designer-slider-pagination-slider .swiper-wrapper {
        flex-direction: row !important;
        box-sizing: border-box !important;
    }

    .designer-slider-pagination-slider .swiper-slide {
        width: 86px !important;
        height: 86px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .designer-pagination-image {
        width: 76px !important;
        height: 76px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        margin: auto !important;
        display: block !important;
        transition: transform 0.35s ease, opacity 0.35s ease !important;
    }

    /* Non-active thumbnail dimming when active */
    [designer-pagination-slider].active .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-thumb-active) .designer-pagination-image {
        opacity: 0.45 !important;
        transform: scale(0.75) !important;
    }

    /* Active thumbnail emphasis */
    [designer-pagination-slider].active .swiper-slide.swiper-slide-active .designer-pagination-image,
    [designer-pagination-slider].active .swiper-slide.swiper-slide-thumb-active .designer-pagination-image {
        opacity: 1 !important;
        transform: scale(1.22) !important;
    }

    /* 3. Main Content Slider: Hidden until first thumbnail click */
    .designer-slider-container {
        opacity: 1 !important;
        position: relative !important;
        top: auto !important;
        min-height: auto !important;
        margin-top: 20px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        display: none !important;
    }

    /* Click State: Revealed and persistent when active */
    .designer-slider-container.is-active,
    .designer-slider-sec.is-active .designer-slider-container {
        display: block !important;
    }

    .designer-main-slider-container {
        padding-left: 0 !important;
        width: 100% !important;
        display: block !important;
    }

    .designer-swiper-slider,
    [designer-main-slider] {
        display: block !important;
        width: 100% !important;
    }

    .designer-slide {
        flex-direction: column !important;
    }

    .designer-slide-left {
        width: 100% !important;
    }

    .designer-slide-right {
        width: 100% !important;
        margin-top: 15px !important;
        display: block !important;
    }

    .designer-images-marquee-main {
        height: auto !important;
        overflow: hidden !important;
    }

    .designer-images-marquee-container {
        display: flex !important;
        flex-direction: row !important;
        gap: 15px !important;
        width: max-content !important;
        animation: loopAnimRevrse 20s infinite linear !important;
    }

    .designer-marquee-image {
        width: 280px !important;
        height: 200px !important;
        object-fit: cover !important;
        border-radius: 12px !important;
        display: block !important;
    }

    .designer-pagination-slider-container .designer-pagination-image {
        transform: rotate(0deg) !important;
    }

    .designer-slide-content {
        text-align: center !important;
        align-items: center !important;
    }

    .designer-slide-content .btn-wrap {
        justify-content: center !important;
    }
}

/* =============================================================================
   RENO RESPONSIVE SPACING & FORM FIX
   Active only on screens <= 1600px so screens > 1600px keep the original Figma design.
   ============================================================================= */

@media screen and (max-width: 1600px) {

    /* 1. HERO BANNER & GRID AUTO-ADAPTIVE SPACING */
    .home_hero_wrapper {
        padding-top: clamp(3rem, 18vh, 8rem) !important;
        padding-bottom: clamp(1.75rem, 4.5vh, 4rem) !important;
        padding-left: clamp(1.25rem, 3vw, 3rem) !important;
        padding-right: clamp(1.25rem, 3vw, 3rem) !important;
        box-sizing: border-box !important;
    }

    .banner-grid {
        align-items: center !important;
        grid-column-gap: clamp(1rem, 2.5vw, 2.5rem) !important;
        grid-row-gap: clamp(0.75rem, 2vh, 1.5rem) !important;
        min-height: min-content !important;
    }

    /* 2. STEP FORM WRAPPER (CONTAINER & FLUID TOKENS) */
    .step-form-wrapper {
        --form-pad-y: clamp(12px, 1.8vh, 22px);
        --form-pad-x: clamp(14px, 1.8vw, 24px);
        --form-gap-y: clamp(6px, 1.1vh, 13px);
        --form-gap-x: clamp(6px, 1vw, 12px);
        --input-pad-y: clamp(6px, 1vh, 10px);
        --input-pad-x: clamp(10px, 1vw, 14px);
        --radio-pad-y: clamp(5px, 0.8vh, 8px);
        --radio-pad-x: clamp(4px, 0.5vw, 8px);
        --radio-price-h: clamp(34px, 4.2vh, 44px);
        --btn-pad-y: clamp(8px, 1.1vh, 12px);
        --btn-min-h: clamp(36px, 4.4vh, 46px);
        --heading-mb: clamp(8px, 1.3vh, 14px);

        box-sizing: border-box !important;
        padding: var(--form-pad-y) var(--form-pad-x) !important;
        border-radius: clamp(12px, 1.4vw, 20px) !important;
        width: 100% !important;
        max-width: clamp(380px, 34vw, 510px) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        position: relative !important;

        /* Graceful container height & scrolling if screen height is constrained */
        max-height: calc(100vh - 120px);
        overflow-y: auto !important;
        overflow-x: hidden !important;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    }

    .step-form-wrapper::-webkit-scrollbar {
        width: 4px;
    }

    .step-form-wrapper::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 4px;
    }

    /* Service page centered form variant */
    .step-form-wrapper.center-aling {
        margin-inline: auto !important;
        max-width: clamp(400px, 40vw, 560px) !important;
    }

    .step-form-wrapper .w-form,
    .step-form-wrapper form {
        width: 100% !important;
        margin-bottom: 0 !important;
    }

    /* 3. HEADINGS */
    .step-form-wrapper .form-heading-home {
        max-width: 100% !important;
        margin-bottom: var(--heading-mb) !important;
    }

    .step-form-wrapper .reno-heading,
    .step-form-wrapper .reno-heading.u-text-style-h5 {
        font-size: clamp(14px, 1.6vh, 17.5px) !important;
        line-height: 1.35 !important;
        margin-bottom: 0 !important;
    }

    /* 4. INPUT GRIDS & FIELDS */
    .step-form-wrapper .form-info-grid {
        display: grid !important;
        grid-column-gap: var(--form-gap-x) !important;
        grid-row-gap: var(--form-gap-y) !important;
        margin-bottom: var(--form-gap-y) !important;
    }

    .step-form-wrapper .custom-input {
        box-sizing: border-box !important;
        padding: var(--input-pad-y) var(--input-pad-x) !important;
        border-radius: clamp(8px, 0.9vw, 12px) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .step-form-wrapper .form-label {
        font-size: clamp(10.5px, 1vh, 12px) !important;
        line-height: 1.2 !important;
        margin-bottom: 2px !important;
        opacity: 0.75 !important;
    }

    .step-form-wrapper .form-input {
        font-size: clamp(12.5px, 1.25vh, 14.5px) !important;
        line-height: 1.25 !important;
        height: auto !important;
    }

    .step-form-wrapper .iti {
        width: 100% !important;
    }

    .step-form-wrapper .phone-wrp {
        font-size: clamp(12.5px, 1.25vh, 14.5px) !important;
    }

    .step-form-wrapper .form-api-message {
        font-size: clamp(10px, 1vh, 11.5px) !important;
        line-height: 1.2 !important;
        margin-top: 2px !important;
    }

    /* 5. RADIO BUTTONS - UNIT BOX (IN ONE LINE) & BUDGET */
    .step-form-wrapper .flex-container {
        display: flex !important;
        flex-direction: column !important;
        gap: clamp(4px, 0.8vh, 8px) !important;
        margin-bottom: var(--form-gap-y) !important;
    }

    .step-form-wrapper .radio-title {
        font-size: clamp(10.5px, 1vh, 12px) !important;
        line-height: 1.2 !important;
        opacity: 0.6 !important;
    }

    /* Keep all Unit radio boxes in a single line (no wrapping) */
    .step-form-wrapper .radio-grid:not(.price-grid),
    .step-form-wrapper #unit {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: clamp(4px, 0.5vw, 8px) !important;
        width: 100% !important;
    }

    .step-form-wrapper .radio-grid:not(.price-grid)>.radio-custom,
    .step-form-wrapper .radio-grid:not(.price-grid)>label,
    .step-form-wrapper #unit>.radio-custom,
    .step-form-wrapper #unit>label {
        flex: 1 1 0px !important;
        min-width: 0 !important;
    }

    /* Budget grid (price-grid) also in one single line */
    .step-form-wrapper .radio-grid.price-grid,
    .step-form-wrapper #budget {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: clamp(4px, 0.5vw, 8px) !important;
        width: 100% !important;
    }

    .step-form-wrapper .radio-grid.price-grid>.radio-custom,
    .step-form-wrapper .radio-grid.price-grid>label,
    .step-form-wrapper #budget>.radio-custom,
    .step-form-wrapper #budget>label {
        flex: 1 1 0px !important;
        min-width: 0 !important;
    }

    /* Radio button item styling */
    .step-form-wrapper .radio-custom {
        box-sizing: border-box !important;
        padding: var(--radio-pad-y) var(--radio-pad-x) !important;
        border-radius: clamp(7px, 0.8vw, 11px) !important;
        min-height: clamp(32px, 3.8vh, 42px) !important;
        height: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: clamp(3px, 0.4vw, 6px) !important;
        cursor: pointer !important;
    }

    .step-form-wrapper .radio-custom.radio-price {
        height: var(--radio-price-h) !important;
        min-height: var(--radio-price-h) !important;
    }

    .step-form-wrapper .radio-custom .radio-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    .step-form-wrapper .radio-custom .radio-icon svg {
        width: clamp(13px, 1.6vh, 17px) !important;
        height: clamp(13px, 1.6vh, 17px) !important;
    }

    .step-form-wrapper .radio-custom .radio-text {
        font-size: clamp(10px, 1.1vh, 12px) !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* 6. ACTION BUTTONS & NAVIGATION */
    .step-form-wrapper .btn-flex-parent {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: clamp(6px, 1vh, 14px) !important;
        margin-top: clamp(6px, 0.9vh, 10px) !important;
        width: 100% !important;
    }

    .step-form-wrapper .white-button-banner {
        box-sizing: border-box !important;
        padding: var(--btn-pad-y) clamp(12px, 1.4vw, 20px) !important;
        min-height: var(--btn-min-h) !important;
        font-size: clamp(12px, 1.25vh, 14px) !important;
        border-radius: clamp(8px, 0.8vw, 11px) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
    }

    /* Step indicators & modals */
    .step-form-wrapper .step-inner-box {
        width: clamp(32px, 4vh, 44px) !important;
        height: clamp(32px, 4vh, 44px) !important;
        font-size: clamp(11.5px, 1.2vh, 14px) !important;
        border-radius: clamp(7px, 0.9vw, 11px) !important;
    }

    .step-form-wrapper .steps-dots {
        gap: clamp(5px, 0.7vw, 9px) !important;
        margin-bottom: clamp(8px, 1.3vh, 16px) !important;
    }

    .step-form-wrapper .scroller-for-the-responsive {
        max-height: min(70vh, 500px) !important;
        overflow-y: auto !important;
        padding-right: 6px !important;
    }

    /* Calculator forms */
    .home_calc_form {
        gap: clamp(10px, 1.8vh, 20px) !important;
    }

    .home_calc_form .custom-input {
        padding: clamp(7px, 1vh, 12px) clamp(8px, 1vw, 14px) !important;
    }
}

@media screen and (max-width: 1366px) {
    .step-form-wrapper {
        max-width: 100% !important;
    }
}

/* =============================================================================
   HEIGHT-ADAPTIVE BREAKPOINTS (FOR SHORTER LAPTOP/DESKTOP SCREENS <= 1600px)
   ============================================================================= */

@media screen and (max-width: 1600px) and (min-width: 992px) and (max-height: 850px) {
    .home_hero_wrapper {
        padding-top: 7rem !important;
        padding-bottom: 1.75rem !important;
    }

    .step-form-wrapper {
        --form-pad-y: 22px;
        --form-pad-x: 26px;
        --form-gap-y: 10px;
        --input-pad-y: 10px;
        --input-pad-x: 10px;
        --radio-pad-y: 10px;
        --radio-pad-x: 10px;
        --radio-price-h: 34px;
        --btn-pad-y: 10px;
        --btn-min-h: 36px;
        --heading-mb: 10px;
    }

    .step-form-wrapper .reno-heading,
    .step-form-wrapper .reno-heading.u-text-style-h5 {
        font-size: 14.5px !important;
    }

    .step-form-wrapper .form-label {
        font-size: 10.5px !important;
        margin-bottom: 5px !important;
    }

    .step-form-wrapper .form-input,
    .step-form-wrapper .phone-wrp {
        font-size: 12.5px !important;
    }

    .step-form-wrapper .radio-title {
        font-size: 10.5px !important;
    }

    .step-form-wrapper .radio-custom .radio-text {
        font-size: 11px !important;
    }

    .step-form-wrapper .radio-custom .radio-icon svg {
        width: 15px !important;
        height: 15px !important;
    }

    .step-form-wrapper .white-button-banner {
        font-size: 12.5px !important;
    }
}

@media screen and (max-width: 1600px) and (min-width: 992px) and (max-height: 720px) {
    .home_hero_wrapper {
        padding-top: 6rem !important;
        padding-bottom: 1rem !important;
    }

    .step-form-wrapper {
        --form-pad-y: 20px;
        --form-pad-x: 20px;
        --form-gap-y: 20px;
        --input-pad-y: 10px;
        --input-pad-x: 15px;
        --radio-pad-y: 10px;
        --radio-pad-x: 10px;
        --radio-price-h: 30px;
        --btn-pad-y: 20px;
        --btn-min-h: 32px;
        --heading-mb: 15px;
    }

    .step-form-wrapper .reno-heading,
    .step-form-wrapper .reno-heading.u-text-style-h5 {
        font-size: 13px !important;
    }

    .step-form-wrapper .form-label {
        font-size: 10px !important;
    }

    .step-form-wrapper .form-input,
    .step-form-wrapper .phone-wrp {
        font-size: 12.5px !important;
    }

    .step-form-wrapper .phone-wrp {
        top: 1px;
    }

    .step-form-wrapper .white-button-banner {
        font-size: 11.5px !important;
    }
}

/* =============================================================================
   MOBILE & TABLET (< 992px)
   ============================================================================= */

@media screen and (max-width: 991px) {
    .step-form-wrapper {
        position: fixed !important;
        inset: auto 0% 0% !important;
        max-width: 100% !important;
        width: 100% !important;
        max-height: min(85vh, 85dvh) !important;
        border-radius: 20px 20px 0 0 !important;
        padding: clamp(16px, 4vw, 24px) !important;
        padding-bottom: max(20px, env(safe-area-inset-bottom)) !important;
        z-index: 99 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        transform: translateY(100%) !important;
        transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1) !important;
    }

    .step-form-wrapper.active {
        transform: translateY(0) !important;
    }

    .step-form-wrapper .close-btn-area.step-form-close {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.12) !important;
        color: #fff !important;
        font-size: 14px !important;
        cursor: pointer !important;
        margin-left: auto !important;
        margin-bottom: 10px !important;
    }

    .step-form-wrapper .form-info-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .step-form-wrapper .form-info-grid.single-line {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media screen and (max-width: 540px) {
    .step-form-wrapper .form-info-grid {
        grid-template-columns: 1fr !important;
    }

    .step-form-wrapper .form-info-grid.single-line {
        grid-template-columns: 1fr !important;
    }

    .step-form-wrapper .radio-custom .radio-text {
        font-size: 10px !important;
    }
}

/* =============================================================================
   RENO COLLECTIVE MOBILE PINNED ANIMATION & IMAGE SIZING
   ============================================================================= */

@media screen and (max-width: 991px) {
    .on-mobile {
        overflow-x: hidden !important;
    }

    /* Pinned Mobile Section Container */
    .pin-mobile-animation {
        width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        overflow: hidden !important;
        display: block !important;
        background-color: #0c0209 !important;
    }

    /* Each section slide fills pinned viewport */
    .pin-mobile-animation .on-mobile_hero_section {
        position: absolute !important;
        inset: 0% !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding-top: calc(clamp(20px, 4.5vh, 40px) * 3) !important;
        padding-bottom: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        background-color: transparent !important;
    }

    /* Suppress large spacers inside pinned mobile section */
    .pin-mobile-animation .on-mobile_hero_section .u-section-spacer {
        display: none !important;
    }

    .pin-mobile-animation .on-mobile_hero_section .u-container-full {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column-reverse !important;
        align-items: center !important;
        justify-content: flex-end !important;
        position: relative !important;
        padding-inline: 16px !important;
        box-sizing: border-box !important;
        gap: 50px !important;
    }

    /* Title / Heading Styling & Positioning */
    .pin-mobile-animation .on-mobile_hero_content {
        position: relative !important;
        z-index: 5 !important;
        margin-bottom: clamp(10px, 2vh, 18px) !important;
        text-align: center !important;
    }

    .pin-mobile-animation .on-mobile_hero_content h2 {
        font-size: clamp(26px, 6.5vw, 38px) !important;
        line-height: 1.15 !important;
        margin: 0 !important;
    }

    /* Images wrapper & Grid sizing (Task 2: Smaller images) */
    .pin-mobile-animation .on-mobile_hero_images_wrapper {
        position: relative !important;
        z-index: 1 !important;
        width: min(320px, 82vw) !important;
        max-width: 82vw !important;
        display: flex !important;
        flex-direction: column !important;
        gap: clamp(6px, 1.2vh, 10px) !important;
        margin: 0 auto !important;
    }

    .pin-mobile-animation .on-mobile_hero_images_grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-column-gap: clamp(8px, 2.2vw, 14px) !important;
        grid-row-gap: clamp(6px, 1.2vh, 10px) !important;
        width: 100% !important;
    }

    /* Person cutout image (.re-person-img) at center bottom (Task 2 & 5) */
    .pin-mobile-animation .re-person-img {
        position: absolute !important;
        bottom: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: min(170px, 70vw) !important;
        max-width: 70vw !important;
        height: auto !important;
        max-height: clamp(230px, 46vh, 380px) !important;
        object-fit: contain !important;
        object-position: bottom center !important;
        z-index: 3 !important;
        pointer-events: none !important;
        transform-origin: bottom center !important;
    }
}

/* =============================================================================
   HERO THUMBNAIL WRAPPER (.home_hero_thumb-wrapper)
   - Screen >= 1700px: Static row display (no sliding)
   - Screen < 1700px: Slider with smooth slide transitions
   ============================================================================= */

/* Base thumbnail item styles */
.home_hero_thumb-slide,
.home_hero_thumb-slide.swiper-slide {
    width: 6.5rem !important;
    height: 4.5rem !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    transition: transform 0.25s ease, opacity 0.25s ease !important;
}

.home_hero_thumb-slide:hover {
    transform: scale(1.03) !important;
}

.home_hero_thumb-slide.swiper-slide.thumb-items {
    height: 4.5rem !important;
}

.home_hero_thumb-progress {
    width: 2.5rem !important;
    height: 2.5rem !important;
}

.home_hero_thumb-icon {
    width: 1.25rem !important;
    height: 1.25rem !important;
}

/* >= 1700px: Static row without sliding */
@media screen and (min-width: 1700px) {
    .home_hero_thumb-sllider-wrap {
        width: auto !important;
    }

    .home_hero_thumb-slider,
    .home_hero_thumb-slider.swiper {
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        margin: 0 !important;
    }

    .home_hero_thumb-wrapper {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        transform: none !important;
        width: auto !important;
    }

    .home_hero_thumb-slide,
    .home_hero_thumb-slide.swiper-slide {
        transform: none !important;
    }
}

/* < 1700px: Slider mode */
@media screen and (max-width: 1699px) {
    .home_hero_thumb-sllider-wrap {
        max-width: 40% !important;
        overflow: hidden !important;
    }

    .home_hero_thumb-slider,
    .home_hero_thumb-slider.swiper {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        overflow: hidden !important;
        margin: 0 !important;
    }

    .home_hero_thumb-wrapper {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        width: max-content !important;
    }

    .home_hero_thumb-slide,
    .home_hero_thumb-slide.swiper-slide {
        margin-right: 10px !important;
    }
}

/* =============================================================================
   HERO THUMBNAIL ACTIVE STATE STYLES
   ============================================================================= */
.home_hero_thumb-slide.is-active,
.home_hero_thumb-slide.active,
.home_hero_thumb-slide.swiper-slide-active,
.home_hero_thumb-slide.swiper-slide-thumb-active {
    border-color: #ffffff !important;
    opacity: 1 !important;
}

.home_hero_bottom .home_hero_thumb-slide.is-active svg,
.home_hero_bottom .home_hero_thumb-slide.active svg,
.home_hero_bottom .home_hero_thumb-slide.swiper-slide-active svg,
.home_hero_bottom .home_hero_thumb-slide.swiper-slide-thumb-active svg {
    opacity: 1 !important;
}

.home_hero_thumb-slide:not(.is-active):not(.active):not(.swiper-slide-active):not(.swiper-slide-thumb-active) {
    opacity: 0.65 !important;
}

/* =============================================================================
   PINNED SECTIONS & OVERLAP PREVENTION (DESKTOP >= 1300px ONLY)
   ============================================================================= */
@media screen and (min-width: 1300px) {
    .home_promise_section,
    .home_renovation_section,
    .home_benafits_section,
    .why-reno,
    .home_calc_section {
        min-height: 100vh !important;
        min-height: 100svh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        background-color: var(--swatch--dark-900, #000) !important;
        z-index: 5 !important;
        box-sizing: border-box !important;
    }

    .home_promise_section .u-section-spacer,
    .home_renovation_section .u-section-spacer,
    .home_benafits_section .u-section-spacer,
    .why-reno .u-section-spacer,
    .home_calc_section .u-section-spacer {
        display: none !important;
    }

    .pin-spacer {
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        width: 100% !important;
    }
}

/* =============================================================================
   HOME STEP FORM v2 (Figma "General info" layout)
   Webflow structure: .u-first-step > .sf2-layout > (.sf2-media | .sf2-content)
   Kept at the end of the file so it wins over the responsive form rules above.
   ============================================================================= */

/* --- Modal shell (dialog created by the inline reno modal script) --- */
.reno-modal-backdrop .reno-modal-dialog {
    background: #1c1c1c !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.step-form-wrapper.u-background-black,
.reno-modal-dialog .step-form-wrapper {
    background-color: #1c1c1c !important;
}

/* First step bleeds to the card edges; other steps keep their padding */
.step-form-wrapper:has(.u-first-step:not(.u-step-hidden) .sf2-layout) {
    padding: 0 !important;
}

.step-form-wrapper .sf2-layout {
    margin: 0 !important;
}

/* --- Close buttons: Figma square --- */
.reno-modal-backdrop .reno-modal-close-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    border: 0 !important;
    background: #2a2a2a !important;
    font-size: 0 !important;
    color: transparent !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.reno-modal-backdrop .reno-modal-close-btn:hover {
    background: #363636 !important;
    transform: none !important;
}

.reno-modal-backdrop .reno-modal-close-btn::before,
.step-form-wrapper .close-btn-area.step-form-close::before {
    content: "";
    width: 16px;
    height: 16px;
    background: no-repeat center / 16px 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M2 2l12 12M14 2L2 14'/%3E%3C/svg%3E");
}

/* In-form close: hidden inside the modal (the modal's own button is used at every size).
   Outside the modal (pages without the modal script) it becomes the Figma square on tablet/mobile. */
.reno-modal-dialog .step-form-wrapper .close-btn-area.step-form-close {
    display: none !important;
}

@media screen and (max-width: 991px) {
    .step-form-wrapper .close-btn-area.step-form-close {
        display: flex !important;
        position: absolute !important;
        top: 16px !important;
        right: 16px !important;
        left: auto !important;
        z-index: 10 !important;
        width: 36px !important;
        height: 36px !important;
        margin: 0 !important;
        border-radius: 8px !important;
        background: #2a2a2a !important;
        font-size: 0 !important;
        color: transparent !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* --- Heading --- */
.step-form-wrapper .sf2-content .form-heading-home.sf2-head {
    margin-bottom: 32px !important;
    padding-right: 48px !important;
}

.step-form-wrapper .sf2-content .sf2-title {
    font-size: 30px !important;
    line-height: 1.15 !important;
    font-weight: 500 !important;
    margin: 0 0 12px !important;
}

.step-form-wrapper .sf2-content .reno-heading.sf2-subtitle,
.step-form-wrapper .sf2-content .sf2-subtitle {
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.65) !important;
}

/* --- Text inputs: 56px, #3a3a3a, floating label --- */
.step-form-wrapper .sf2-content .form-info-grid {
    grid-column-gap: 8px !important;
    grid-row-gap: 8px !important;
    margin-bottom: 24px !important;
}

.step-form-wrapper .sf2-content .custom-input {
    position: relative !important;
    display: block !important;
    height: 56px !important;
    padding: 0 !important;
    background: #3a3a3a !important;
    border-radius: 12px !important;
}

.step-form-wrapper .sf2-content .custom-input .form-label {
    position: absolute !important;
    z-index: 2;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    color: #9a9a9a !important;
    opacity: 1 !important;
    pointer-events: none;
    transition: top 0.15s ease, font-size 0.15s ease;
}

.step-form-wrapper .sf2-content .custom-input.sf2-filled .form-label,
.step-form-wrapper .sf2-content .custom-input:focus-within .form-label {
    top: 17px;
    font-size: 12px !important;
}

.step-form-wrapper .sf2-content .custom-input .form-input {
    width: 100% !important;
    height: 56px !important;
    margin: 0 !important;
    padding: 24px 14px 6px !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 15px !important;
    line-height: 26px !important;
    font-weight: 500;
    color: #fff !important;
}

.step-form-wrapper .sf2-content .custom-input .form-input::placeholder {
    color: transparent;
}

.step-form-wrapper .sf2-content .custom-input:not(:has(#phone)):focus-within {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

/* --- Phone: separate flag box + number box --- */
.step-form-wrapper .sf2-content .custom-input:has(#phone) {
    background: transparent !important;
    padding-left: 44px !important;
}

.step-form-wrapper .sf2-content .custom-input:has(#phone) .form-label {
    left: 58px;
    top: 17px;
    font-size: 12px !important;
}

.step-form-wrapper .sf2-content .custom-input:has(#phone) .iti {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 56px !important;
    background: #3a3a3a;
    border-radius: 4px 12px 12px 4px;
}

.step-form-wrapper .sf2-content .custom-input:has(#phone):focus-within .iti {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.step-form-wrapper .sf2-content .custom-input:has(#phone) .iti__country-container {
    position: absolute !important;
    left: -44px !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 42px !important;
    padding: 0 !important;
    background: #3a3a3a;
    border-radius: 12px 4px 4px 12px;
}

.step-form-wrapper .sf2-content .custom-input:has(#phone) .iti__selected-country {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    justify-content: center !important;
    background: transparent !important;
}

.step-form-wrapper .sf2-content .custom-input:has(#phone) .iti__selected-country-primary {
    padding: 0 !important;
}

.step-form-wrapper .sf2-content .custom-input:has(#phone) .iti__flag {
    transform: scale(1.15);
    border-radius: 3px;
}

.step-form-wrapper .sf2-content .custom-input:has(#phone) .iti__arrow {
    display: none !important;
}

.step-form-wrapper .sf2-content .custom-input:has(#phone) .iti__selected-dial-code {
    position: absolute !important;
    left: 58px;
    top: 24px;
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 26px !important;
    font-weight: 500;
    color: #9a9a9a !important;
    pointer-events: none;
}

.step-form-wrapper .sf2-content .custom-input:has(#phone) #phone {
    padding: 24px 14px 6px 56px !important;
}

.step-form-wrapper .sf2-content .custom-input:has(#phone) #phone::placeholder {
    color: #6f6f6f;
}

/* --- Chips (unit + budget): wrap, compact, #3a3a3a --- */
.step-form-wrapper .sf2-content .radio-grid.sf2-chips,
.step-form-wrapper .sf2-content #unit.sf2-chips,
.step-form-wrapper .sf2-content #budget.sf2-chips {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100% !important;
}

.step-form-wrapper .sf2-content .radio-grid.sf2-chips > .radio-custom,
.step-form-wrapper .sf2-content #unit.sf2-chips > .radio-custom,
.step-form-wrapper .sf2-content #budget.sf2-chips > .radio-custom {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 34px !important;
    padding: 7px 12px 7px 10px !important;
    border-radius: 6px !important;
    background: #3a3a3a !important;
    gap: 6px !important;
}

.step-form-wrapper .sf2-content .radio-grid.sf2-chips > .radio-custom:hover {
    background: #454545 !important;
}

.step-form-wrapper .sf2-content .radio-custom .radio-text {
    font-size: 13px !important;
    font-weight: 600 !important;
    overflow: visible !important;
}

.step-form-wrapper .sf2-content .radio-custom .radio-icon,
.step-form-wrapper .sf2-content .radio-custom .radio-icon svg {
    width: 16px !important;
    height: 16px !important;
}

.step-form-wrapper .sf2-content .radio-custom .radio-icon {
    opacity: 0.55;
}

.step-form-wrapper .sf2-content .flex-container {
    gap: 10px !important;
    margin-bottom: 24px !important;
}

.step-form-wrapper .sf2-content .radio-title {
    opacity: 1 !important;
    color: #9a9a9a !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.step-form-wrapper .sf2-content .radio-title strong {
    font-weight: 400;
}

/* --- Tablet / mobile --- */
@media screen and (max-width: 991px) {
    .sf2-content,
    .step-form-wrapper .sf2-content {
        padding: 24px 20px 80px 20px !important;
    }

    .step-form-wrapper .sf2-content .sf2-title {
        font-size: 24px !important;
    }

    .step-form-wrapper .sf2-content .reno-heading.sf2-subtitle,
    .step-form-wrapper .sf2-content .sf2-subtitle {
        font-size: 14px !important;
    }

    .step-form-wrapper .sf2-content .custom-input,
    .step-form-wrapper .sf2-content .custom-input .form-input,
    .step-form-wrapper .sf2-content .custom-input:has(#phone) .iti {
        height: 52px !important;
    }

    .step-form-wrapper .sf2-content .custom-input .form-input {
        padding-top: 22px !important;
    }

    .step-form-wrapper .sf2-content .custom-input:has(#phone) .iti__selected-dial-code {
        top: 22px;
    }
}

/* =============================================================================
   GLOBAL RADIO / CHECKBOX CHIPS (.radio-custom) – selected state
   Works for both Webflow radio markups:
   - custom radio:  .w-radio-input.w--redirected-checked + hidden <input>
   - default radio: <input class="w-radio-input"> (newer options)
   plus .is-selected (set by JS) and checkbox chips (.w-checkbox).
   Replaces the radio rules that lived in the Webflow "Radio-update" embed.
   ============================================================================= */
.radio-custom {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.radio-custom .radio-active {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
    transition: background-color 0.2s ease;
}

.radio-custom .radio-icon,
.radio-custom .radio-text {
    position: relative;
    z-index: 1;
    transition: color 0.2s ease, filter 0.2s ease;
}

/* Selected */
.radio-custom:has(input:checked) .radio-active,
.radio-custom .w--redirected-checked ~ input ~ .radio-active,
.radio-custom.is-selected .radio-active {
    background-color: #ffffff !important;
}

.radio-custom:has(input:checked) .radio-text,
.radio-custom .w--redirected-checked ~ input ~ .radio-text,
.radio-custom .w--redirected-checked ~ input ~ .radio-active ~ .radio-text,
.radio-custom .w--redirected-checked ~ input ~ .radio-active ~ .radio-icon ~ .radio-text,
.radio-custom.is-selected .radio-text {
    color: #0d0d0d !important;
}

.radio-custom:has(input:checked) .radio-icon,
.radio-custom .w--redirected-checked ~ input ~ .radio-active ~ .radio-icon,
.radio-custom.is-selected .radio-icon {
    filter: brightness(0);
    opacity: 1 !important;
}

/* Keyboard focus */
.radio-custom:has(input:focus-visible) {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}
