/* Hero with lead form */
.bathroom-hero-lead {
    position: relative;
    min-height: calc(100vh - 92px);
    overflow: hidden;
    background: #231d18;
    isolation: isolate;
}

.bathroom-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/offer/bathroom/img/hero/hero.webp');
    background-size: cover;
    background-position: center;
    transform: scale(1.01);
    z-index: -3;
}

.bathroom-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.45) 62%, rgba(255, 255, 255, 0.86) 62%, rgba(255, 255, 255, 0.98) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.42) 100%);
    z-index: -2;
}

.bathroom-hero-inner {
    width: min(1150px, calc(100% - 64px));
    min-height: calc(100vh - 92px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    align-items: center;
    gap: 56px;
    padding: 56px 0;
}

.bathroom-hero-copy {
    align-self: end;
    padding-bottom: 20px;
    color: #ffffff;
}

.bathroom-hero-copy h1 {
    margin: 0 0 16px;
    max-width: 680px;
    font-size: clamp(2.25rem, 4.4vw, 4.15rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.56);
}

.bathroom-hero-copy p {
    margin: 0;
    max-width: 590px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.12rem, 1.7vw, 1.45rem);
    line-height: 1.5;
    font-weight: 400;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.5);
}

.bathroom-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.bathroom-hero-badges span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 0 17px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 18, 18, 0.34);
    backdrop-filter: blur(6px);
    font-size: 0.92rem;
    font-weight: 500;
}

.bathroom-hero-badges i {
    color: var(--turquoise-mid);
}

.bathroom-hero-form-card {
    width: 100%;
}

.bathroom-hero-form-card .contact-form {
    margin: 0;
    padding: 32px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 70px rgba(35, 29, 24, 0.23);
}

.hero-form-heading h2 {
    margin: 0;
    color: var(--turquoise-deep);
    font-size: 1.55rem;
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: 0;
}

.hero-form-heading p {
    margin: 5px 0 22px;
    color: #6d7478;
    font-size: 0.98rem;
    line-height: 1.35;
}

.hero-field {
    position: relative;
    margin-bottom: 14px;
}

.hero-field i {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: var(--turquoise-deep);
    font-size: 1.04rem;
    z-index: 1;
}

.hero-field .form-input {
    height: 50px;
    padding: 0 16px 0 52px;
    border: 1px solid #dde3e4;
    border-radius: 6px;
    background: #ffffff;
    color: #273134;
    font-size: 0.96rem;
    box-shadow: 0 3px 16px rgba(18, 25, 27, 0.04);
}

.hero-field .form-input::placeholder {
    color: #7f878b;
}

.hero-field .form-input:focus {
    border-color: var(--turquoise-deep);
    box-shadow: 0 0 0 3px rgba(71, 144, 146, 0.14);
}

.hero-submit.btn-submit {
    width: 100%;
    height: 58px;
    margin-top: 10px;
    border-radius: 9px;
    background: #f4511e;
    box-shadow: 0 12px 24px rgba(244, 81, 30, 0.24);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
}

.hero-submit.btn-submit:hover {
    background: #e94918;
    transform: translateY(-1px);
}

.hero-form-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 18px;
    color: #747b7f;
    font-size: 0.82rem;
}

.hero-form-privacy i,
.hero-form-privacy a {
    color: var(--turquoise-deep);
}

.hero-form-privacy a {
    text-decoration: none;
    font-weight: 600;
}

.hero-form-whatsapp {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e2e7e8;
    text-align: center;
}

.hero-form-whatsapp a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--turquoise-deep);
    text-decoration: none;
    font-size: 0.96rem;
    font-weight: 800;
}

.hero-form-whatsapp i {
    color: #22c267;
    font-size: 1.18rem;
}

/* Works gallery */
.works-gallery-section {
    padding: 72px 0 86px;
    background: #fbf8f3;
    overflow: hidden;
}

.works-gallery-heading {
    width: min(760px, calc(100% - 48px));
    margin: 0 auto 40px;
    text-align: center;
}

.works-gallery-heading p {
    margin: 0 0 12px;
    color: var(--turquoise-deep);
    font-size: 0.98rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.28em;
}

.works-gallery-heading h2 {
    margin: 0;
    color: var(--turquoise-deep);
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0;
}

.works-gallery-heading span {
    display: block;
    max-width: 520px;
    margin: 24px auto 0;
    color: #6d7076;
    font-size: clamp(1.12rem, 2vw, 1.55rem);
    line-height: 1.35;
}

.works-gallery-frame {
    position: relative;
    width: min(520px, calc(100% - 72px));
    aspect-ratio: 3 / 4;
    height: auto;
    margin: 0 auto;
    border-radius: 28px;
}

.works-gallery-frame .hero-swiper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 28px;
    background: #ece7df;
}

.works-gallery-frame .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.works-gallery-frame .swiper-slide a[data-fancybox] {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #ece7df;
}

.hero-gallery-fullscreen-btn {
    position: absolute;
    right: 22px;
    top: 22px;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: var(--turquoise-deep);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 28px rgba(20, 28, 30, 0.18);
    font-size: 1.05rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-gallery-fullscreen-btn:hover {
    transform: scale(1.04);
    background: #ffffff;
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: var(--turquoise-deep);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(22, 26, 28, 0.16);
}

.hero-swiper .swiper-button-next {
    right: 14px;
}

.hero-swiper .swiper-button-prev {
    left: 14px;
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: 800;
}

.hero-swiper .swiper-pagination {
    bottom: -44px;
}

.hero-swiper .swiper-pagination-bullet {
    width: 13px;
    height: 13px;
    margin: 0 12px !important;
    background: #d9d8d4;
    opacity: 1;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--turquoise-deep);
}

@media (max-width: 991px) {
    .bathroom-hero-lead {
        min-height: auto;
        background: #fbf8f3;
    }

    .bathroom-hero-bg {
        background-image: url('/offer/bathroom/img/hero/hero-mobile.webp');
        height: 520px;
        min-height: 0;
        bottom: auto;
        background-position: center 34%;
    }

    .bathroom-hero-shade {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.64) 72%, rgba(0, 0, 0, 0.82) 100%);
        height: 520px;
        min-height: 0;
        bottom: auto;
    }

    .bathroom-hero-inner {
        width: min(720px, calc(100% - 40px));
        min-height: auto;
        display: block;
        padding: 245px 0 42px;
    }

    .bathroom-hero-copy {
        padding: 0 14px 24px;
    }

    .bathroom-hero-copy h1 {
        font-size: 2rem;
    }

    .bathroom-hero-copy p {
        font-size: 1.18rem;
    }

    .bathroom-hero-badges {
        display: none;
    }

    .bathroom-hero-form-card .contact-form {
        padding: 30px;
        border-radius: 18px;
    }
}

@media (max-width: 767px) {
    .bathroom-hero-bg,
    .bathroom-hero-shade {
        height: 455px;
        min-height: 0;
        border-radius: 0 0 50% 50% / 0 0 6% 6%;
    }

    .bathroom-hero-inner {
        width: calc(100% - 40px);
        padding-top: 238px;
    }

    .bathroom-hero-copy h1 {
        font-size: 1.48rem;
        line-height: 1.16;
    }

    .bathroom-hero-copy p {
        font-size: 0.92rem;
        line-height: 1.45;
    }

    .bathroom-hero-form-card .contact-form {
        padding: 20px 18px;
        border-radius: 16px;
    }

    .hero-form-heading h2 {
        font-size: 1.35rem;
    }

    .hero-form-heading p {
        margin-bottom: 14px;
        font-size: 0.86rem;
    }

    .hero-field {
        margin-bottom: 9px;
    }

    .hero-field .form-input {
        height: 43px;
        padding-left: 46px;
        font-size: 0.86rem;
    }

    .hero-field i {
        left: 16px;
        font-size: 0.95rem;
    }

    .hero-submit.btn-submit {
        height: 49px;
        margin-top: 8px;
        font-size: 0.86rem;
    }

    .hero-form-privacy {
        margin-top: 12px;
        font-size: 0.74rem;
    }

    .hero-form-whatsapp {
        margin-top: 12px;
        padding-top: 12px;
    }

    .hero-form-whatsapp a {
        font-size: 0.82rem;
    }

    .works-gallery-section {
        padding: 58px 0 78px;
    }

    .works-gallery-frame {
        width: min(430px, calc(100% - 58px));
        aspect-ratio: 3 / 4;
        height: auto;
        min-height: 0;
        border-radius: 22px;
    }

    .works-gallery-frame .hero-swiper {
        border-radius: 22px;
    }

    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        width: 48px;
        height: 48px;
    }

    .hero-swiper .swiper-button-next {
        right: 10px;
    }

    .hero-swiper .swiper-button-prev {
        left: 10px;
    }
}

@media (max-width: 575px) {
    .bathroom-hero-bg,
    .bathroom-hero-shade {
        height: 440px;
        min-height: 0;
        border-radius: 0 0 50% 50% / 0 0 5% 5%;
    }

    .bathroom-hero-inner {
        width: calc(100% - 32px);
        padding-top: 226px;
        padding-bottom: 24px;
    }

    .bathroom-hero-copy {
        padding: 0 12px 14px;
    }

    .bathroom-hero-copy h1 {
        font-size: 1.34rem;
        line-height: 1.12;
    }

    .bathroom-hero-copy p {
        font-size: 0.82rem;
        line-height: 1.35;
    }

    .bathroom-hero-form-card .contact-form {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .hero-field .form-input {
        height: 41px;
        font-size: 0.84rem;
    }

    .hero-submit.btn-submit {
        height: 47px;
        font-size: 0.82rem;
    }

    .hero-form-privacy {
        flex-wrap: wrap;
        line-height: 1.35;
    }

    .works-gallery-heading {
        width: calc(100% - 40px);
        margin-bottom: 34px;
    }

    .works-gallery-heading p {
        font-size: 0.82rem;
    }

    .works-gallery-heading h2 {
        font-size: 2.35rem;
    }

    .works-gallery-heading span {
        font-size: 1.08rem;
    }

    .works-gallery-frame {
        width: min(360px, calc(100% - 46px));
        min-height: 0;
    }

    .hero-gallery-fullscreen-btn {
        top: 14px;
        right: 14px;
        width: 42px;
        height: 42px;
    }
}

html {
    scroll-behavior: smooth;
}
