:root {
    --orange: #ec430f;
    --orange-2: #ff6a2f;
    --dark: #16222b;
    --dark-2: #0f171d;
    --cyan: #63e6df;
    --cyan-soft: #e7fffd;
    --cream: #fff8f1;
    --paper: #ffffff;
    --muted: #6c757d;
    --line: rgba(22, 34, 43, .12);
    --shadow: 0 24px 80px rgba(15, 23, 29, .14);
    --radius: 28px;
    --container: 1180px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    background: #fff;
    line-height: 1.45
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto
}

.topbar {
    background: var(--dark-2);
    color: #fff;
    font-size: 14px
}

.topbar__inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 10px 0;
    flex-wrap: wrap
}

.topbar__links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    opacity: .92
}

.header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line)
}

.header__inner {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 900;
    letter-spacing: .02em
}

.logo img {
    width: 82px;
    height: auto;
    filter: drop-shadow(0 10px 16px rgba(236, 67, 15, .16))
}

.logo span {
    display: block;
    font-size: 13px;
    color: var(--muted);
    font-weight: 700;
    margin-top: 2px
}

.nav {
    display: flex;
    gap: 22px;
    align-items: center;
    font-weight: 800;
    font-size: 15px
}

.nav a {
    position: relative;
    padding: 8px 0
}

.nav a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--orange);
    transition: .22s
}

.nav a:hover:after {
    right: 0
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 999px;
    background: var(--orange);
    color: #fff;
    font-weight: 900;
    padding: 15px 22px;
    box-shadow: 0 14px 34px rgba(236, 67, 15, .28);
    cursor: pointer;
    transition: .2s;
    white-space: nowrap
}

.btn:hover {
    transform: translateY(-2px);
    background: #d93b0d
}

.btn--dark {
    background: var(--dark);
    box-shadow: 0 14px 34px rgba(15, 23, 29, .22)
}

.btn--light {
    background: #fff;
    color: var(--dark);
    box-shadow: none
}

.btn--outline {
    background: transparent;
    color: var(--dark);
    border: 1px solid var(--line);
    box-shadow: none
}

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fff 0%, #fff8f1 43%, #e9fffd 100%)
}

.hero:before {
    content: "";
    position: absolute;
    inset: auto -10% -42% 42%;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 230, 223, .46), rgba(99, 230, 223, 0) 62%)
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 44px;
    align-items: center;
    padding: 74px 0 56px
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: #fff;
    padding: 8px 14px;
    font-weight: 900;
    color: var(--orange);
    box-shadow: 0 10px 30px rgba(15, 23, 29, .08)
}

.eyebrow:before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 5px rgba(99, 230, 223, .28)
}

h1 {
    font-size: clamp(38px, 5.3vw, 76px);
    line-height: .98;
    margin: 0 0 22px;
    letter-spacing: -.055em;
    color: var(--dark-2)
}

.lead {
    font-size: 20px;
    color: #43515a;
    margin: 0 0 28px;
    max-width: 660px
}

.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 30px
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 640px
}

.stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 29, .06)
}

.stat b {
    display: block;
    font-size: 26px;
    color: var(--orange);
    line-height: 1
}

.stat span {
    display: block;
    color: var(--muted);
    font-size: 14px;
    margin-top: 4px
}

.hero__visual {
    position: relative;
    min-height: 520px
}

.hero__photo {
    position: absolute;
    inset: 36px 0 0 58px;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--dark)
}

.hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero__photo:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 29, 0) 32%, rgba(15, 23, 29, .62) 100%)
}

.hero__card {
    position: absolute;
    left: 0;
    bottom: 30px;
    max-width: 330px;
    background: #fff;
    border-radius: 28px;
    padding: 22px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(236, 67, 15, .12)
}

.hero__card strong {
    font-size: 30px;
    color: var(--orange)
}

.hero__card p {
    margin: 8px 0 0;
    color: #56636b
}

.floating-logo {
    position: absolute;
    right: 28px;
    top: 0;
    background: rgba(255, 255, 255, .94);
    border-radius: 28px;
    padding: 14px;
    box-shadow: 0 18px 44px rgba(15, 23, 29, .12)
}

.floating-logo img {
    width: 112px
}

section {
    padding: 82px 0
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 34px
}

.section-title h2 {
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.02;
    margin: 0;
    letter-spacing: -.04em
}

.section-title p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    max-width: 480px
}

.services {
    background: var(--dark);
    color: #fff;
    position: relative;
    overflow: hidden
}

.services:before {
    content: "";
    position: absolute;
    right: -190px;
    top: -160px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(236, 67, 15, .26)
}

.services .section-title p {
    color: rgba(255, 255, 255, .72)
}

.service-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.service-card {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 26px;
    padding: 24px;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.service-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: var(--orange);
    font-size: 27px
}

.service-card h3 {
    font-size: 22px;
    margin: 22px 0 10px
}

.service-card p {
    color: rgba(255, 255, 255, .72);
    margin: 0
}

.service-card b {
    display: block;
    color: var(--cyan);
    font-size: 28px;
    margin-top: 18px
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.work-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #eee;
    max-height: 800px
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.work-card__tag {
    position: absolute;
    left: 20px;
    top: 20px;
    background: #fff;
    color: var(--dark);
    border-radius: 999px;
    padding: 10px 15px;
    font-weight: 900
}

.work-card__tag span {
    color: var(--orange)
}

.steps {
    background: linear-gradient(180deg, #fff 0%, var(--cream) 100%)
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    counter-reset: step
}

.step {
    counter-increment: step;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 14px 34px rgba(15, 23, 29, .06)
}

.step:before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    background: var(--cyan);
    border-radius: 16px;
    color: var(--dark);
    font-weight: 900;
    margin-bottom: 24px
}

.step h3 {
    margin: 0 0 8px;
    font-size: 20px
}

.step p {
    margin: 0;
    color: var(--muted)
}

.rent {
    background: #fff
}

.rent__inner {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 26px;
    align-items: start
}

.rent__text {
    background: var(--dark);
    color: #fff;
    border-radius: 32px;
    padding: 34px;
    position: sticky;
    top: 110px
}

.rent__text h2 {
    font-size: 42px;
    line-height: 1.05;
    margin: 0 0 16px
}

.rent__text p {
    color: rgba(255, 255, 255, .74);
    font-size: 18px
}

.rent__list {
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
    display: grid;
    gap: 12px
}

.rent__list li {
    padding-left: 28px;
    position: relative
}

.rent__list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: 900
}

.price-table {
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--line);
    box-shadow: 0 14px 42px rgba(15, 23, 29, .08)
}

.price-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff
}

.price-table th {
    background: var(--orange);
    color: #fff;
    text-align: left;
    padding: 16px
}

.price-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line)
}

.price-table tr:last-child td {
    border-bottom: 0
}

.price-table td:first-child {
    font-weight: 900;
    color: var(--dark)
}

.calc-section {
    background: #f6fbfb
}

.calc {
    background: transparent;
    color: var(--dark)
}

.calc__header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    margin-bottom: 28px
}

.calc__label {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--cyan-soft);
    color: #11736d;
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 12px
}

.calc h2 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    margin: 0 0 10px;
    letter-spacing: -.04em
}

.calc p {
    margin: 0;
    color: var(--muted);
    font-size: 17px
}

.calc__price-box {
    min-width: 190px;
    padding: 20px;
    border-radius: 24px;
    background: var(--dark);
    color: #fff;
    box-shadow: var(--shadow)
}

.calc__price-box span {
    display: block;
    color: rgba(255, 255, 255, .66);
    font-size: 14px;
    margin-bottom: 4px
}

.calc__price-box strong {
    font-size: 32px;
    color: var(--cyan)
}

.calc__grid {
    display: grid;
    grid-template-columns: 1fr 390px;
    gap: 24px;
    align-items: start
}

.calc__main {
    display: grid;
    gap: 18px
}

.calc__card,
.calc__summary,
.calc__order {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 14px 44px rgba(15, 23, 29, .07)
}

.calc__card h3,
.calc__summary h3,
.calc__order h3 {
    margin: 0 0 18px;
    font-size: 22px
}

.calc__card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px
}

.calc__card-head h3 {
    margin: 0
}

.calc__carpet {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fbfefd;
    margin-bottom: 14px
}

.calc__carpet:last-child {
    margin-bottom: 0
}

.calc__carpet-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px
}

.calc__carpet-title {
    font-weight: 900;
    font-size: 18px
}

.calc__remove {
    border: 0;
    background: #fff0ea;
    color: var(--orange);
    border-radius: 999px;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 800
}

.calc__fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 14px
}

.calc__field label {
    display: block;
    font-weight: 900;
    margin-bottom: 7px
}

.calc input[type="number"],
.calc input[type="text"],
.calc input[type="tel"],
.calc input[type="email"],
.calc textarea {
    width: 100%;
    border: 1px solid rgba(22, 34, 43, .16);
    border-radius: 16px;
    padding: 14px 15px;
    font-size: 16px;
    outline: none;
    background: #fff
}

.calc input:focus,
.calc textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(236, 67, 15, .12)
}

.calc textarea {
    min-height: 90px;
    resize: vertical
}

.calc__checks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px
}

.calc__check {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fbfefd;
    cursor: pointer;
    margin-bottom: 10px
}

.calc__check input {
    margin-top: 3px;
    accent-color: var(--orange)
}

.calc__check b {
    display: block;
    margin-bottom: 3px
}

.calc__check small,
.calc__item small {
    display: block;
    color: var(--muted)
}

.calc__items {
    display: grid;
    gap: 10px
}

.calc__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fbfefd
}

.calc__counter {
    display: grid;
    grid-template-columns: 38px 64px 38px;
    gap: 6px;
    align-items: center
}

.calc__counter button {
    height: 38px;
    border: 0;
    border-radius: 12px;
    background: var(--cyan);
    font-size: 20px;
    cursor: pointer;
    font-weight: 900
}

.calc__counter input {
    height: 38px;
    padding: 8px;
    text-align: center
}

.calc__aside {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 18px
}

.calc__summary-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line)
}

.calc__summary-row span {
    color: #5d675d
}

.calc__summary-row--discount b {
    color: var(--orange)
}

.calc__summary-row--text {
    display: block;
    color: #5d675d;
    font-size: 14px;
    line-height: 1.55;
    background-color: #e7fff2;
    padding: 10px;
    border-radius: 18px;
}

.calc__minimum {
    display: none;
    margin-top: 14px;
    padding: 13px;
    border-radius: 16px;
    background: #fff3d8;
    color: #805a00;
    font-size: 14px;
    font-weight: 900
}

.calc__minimum.is-visible {
    display: block
}

.calc__total {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 14px;
    margin: 20px 0;
    padding-top: 18px;
    border-top: 2px solid rgba(236, 67, 15, .18)
}

.calc__total span {
    font-size: 18px;
    font-weight: 900
}

.calc__total strong {
    font-size: 34px;
    color: var(--orange)
}

.calc__btn {
    width: 100%;
    border: 0;
    border-radius: 16px;
    background: var(--orange);
    color: #fff;
    padding: 15px 18px;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    transition: .2s
}

.calc__btn:hover {
    transform: translateY(-1px);
    filter: brightness(.96)
}

.calc__btn--small {
    width: auto;
    padding: 11px 15px
}

.calc__btn--dark {
    background: var(--dark);
    color: #fff
}

.calc__order {
    display: none
}

.calc__order.is-visible {
    display: block
}

.calc__order input,
.calc__order textarea {
    margin-bottom: 10px
}

.calc__agree {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 6px 0 16px;
    font-size: 14px;
    color: #5d675d
}

.calc__form-message {
    display: none;
    margin-top: 12px;
    padding: 12px;
    border-radius: 14px;
    font-weight: 900
}

.calc__form-message.is-error {
    display: block;
    background: #ffe5e5;
    color: #b42323
}

.calc__form-message.is-success {
    display: block;
    background: #e8fffd;
    color: #11736d
}

.contacts {
    background: var(--dark);
    color: #fff
}

.contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.contact-card {
    border-radius: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12)
}

.contact-card h2 {
    font-size: 42px;
    margin: 0 0 18px
}

.contact-list {
    display: grid;
    gap: 12px
}

.contact-list a,
.contact-list div {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .08)
}

.footer {
    background: var(--dark-2);
    color: rgba(255, 255, 255, .7);
    padding: 24px 0
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap
}

.footer img {
    width: 58px
}

.rent__aside {
    display: grid;
    gap: 18px
}

.rent__photo-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 16px;
    box-shadow: 0 14px 42px rgba(15, 23, 29, .08)
}

.rent__photo-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 20px;
    display: block
}

.rent__photo-caption {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 800;
    color: var(--dark)
}

.calc__card--textile .calc__items {
    margin-top: 18px
}

.calc__textile-head {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 18px;
    align-items: center
}

.calc__textile-content p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6
}

.calc__textile-photo {
    border-radius: 22px;
    overflow: hidden;
    min-height: 180px;
    box-shadow: 0 10px 30px rgba(15, 23, 29, .10)
}

.calc__textile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

@media(max-width:1060px) {
    .nav {
        display: none
    }

    .hero__inner,
    .rent__inner,
    .contacts__grid {
        grid-template-columns: 1fr
    }

    .hero__visual {
        min-height: 430px
    }

    .hero__photo {
        left: 0
    }

    .floating-logo {
        right: 10px
    }

    .service-grid,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .calc__grid {
        grid-template-columns: 1fr
    }

    .calc__aside,
    .rent__text {
        position: static
    }

    .calc__textile-head {
        grid-template-columns: 1fr
    }

    .rent__photo-card img {
        height: 220px
    }
}

@media(max-width:720px) {
    .topbar__inner {
        display: none
    }

    .header__inner {
        height: 74px
    }

    .logo img {
        width: 58px
    }

    .logo strong {
        font-size: 14px
    }

    .header .btn {
        padding: 12px 14px;
        font-size: 14px
    }

    .hero__inner {
        padding: 44px 0 36px
    }

    .lead {
        font-size: 17px
    }

    .hero__stats {
        grid-template-columns: 1fr
    }

    .hero__visual {
        min-height: 380px
    }

    .hero__photo {
        inset: 26px 0 0 0
    }

    .hero__card {
        left: 12px;
        right: 12px;
        max-width: none;
        bottom: 8px
    }

    .floating-logo img {
        width: 76px
    }

    section {
        padding: 56px 0
    }

    .section-title {
        display: block
    }

    .section-title p {
        margin-top: 12px
    }

    .service-grid,
    .steps-grid,
    .work-grid {
        grid-template-columns: 1fr
    }

    .work-card {
        min-height: 360px
    }

    .calc__header {
        display: block
    }

    .calc__price-box {
        margin-top: 18px
    }

    .calc__fields,
    .calc__checks {
        grid-template-columns: 1fr
    }

    .calc__card-head {
        align-items: stretch;
        flex-direction: column
    }

    .calc__btn--small {
        width: 100%
    }

    .calc__item {
        align-items: stretch;
        flex-direction: column
    }

    .calc__counter {
        grid-template-columns: 44px 1fr 44px
    }

    .price-table {
        overflow: auto
    }

    .price-table table {
        min-width: 620px
    }
}

/* Messenger buttons in contacts */
.messenger-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px
}

.messenger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    border-radius: 16px;
    color: #fff;
    font-weight: 900;
    font-size: 17px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .16);
    transition: .2s;
    overflow: hidden;
    padding: 12px 16px
}

.messenger-btn:hover {
    transform: translateY(-2px);
    filter: saturate(1.05) brightness(1.02)
}

.messenger-btn__icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: #fff;
    flex: 0 0 auto
}

.messenger-btn__icon svg {
    width: 30px;
    height: 30px;
    display: block
}

.messenger-btn--max {
    background: linear-gradient(135deg, #4ec3f0 0%, #8b45f3 100%)
}

.messenger-btn--telegram {
    background: linear-gradient(135deg, #2cc7f0 0%, #2496d4 100%)
}

.messenger-btn--vk {
    background: linear-gradient(135deg, #0b82ff 0%, #0570ee 100%)
}

/* Works video */
.work-card--video {
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center
}

.work-card__video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #111
}

.work-card--video .work-card__tag {
    z-index: 2
}

/* Gallery + lightbox */
.gallery-section {
    /*background:linear-gradient(180deg,#fff 0%,#f7fbfb 100%);*/
    padding-top: 0
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px
}

.gallery-item {
    position: relative;
    display: block;
    border-radius: 24px;
    overflow: hidden;
    max-height: 245px;
    background: #eef3f3;
    box-shadow: 0 18px 50px rgba(15, 23, 29, .1)
}

.gallery-item:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 29, 0) 40%, rgba(15, 23, 29, .42) 100%);
    opacity: 0;
    transition: .22s;
    z-index: 1
}

.gallery-item:after {
    content: "Увеличить";
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    padding: 9px 13px;
    border-radius: 999px;
    background: #fff;
    color: var(--dark);
    font-weight: 900;
    opacity: 0;
    transform: translateY(8px);
    transition: .22s
}

.gallery-item:hover:before,
.gallery-item:hover:after {
    opacity: 1;
    transform: translateY(0)
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .28s
}

.gallery-item:hover img {
    transform: scale(1.04)
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 17, 22, .86);
    backdrop-filter: blur(10px)
}

.lightbox.is-open {
    display: flex
}

.lightbox__dialog {
    position: relative;
    width: min(1080px, 100%);
    max-height: calc(100vh - 48px);
    display: flex;
    align-items: center;
    justify-content: center
}

.lightbox__image {
    max-width: 100%;
    max-height: calc(100vh - 48px);
    border-radius: 24px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .42);
    background: #fff
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--dark);
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
    transition: .2s
}

.lightbox__close {
    right: -12px;
    top: -12px;
    width: 48px;
    height: 48px;
    font-size: 30px;
    line-height: 1
}

.lightbox__prev,
.lightbox__next {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    font-size: 30px
}

.lightbox__prev {
    left: -18px
}

.lightbox__next {
    right: -18px
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    transform: translateY(-50%) scale(1.04)
}

.lightbox__close:hover {
    transform: scale(1.04)
}

@media(max-width:900px) {

    .messenger-buttons,
    .gallery-grid {
        grid-template-columns: 1fr 1fr
    }

    .messenger-btn {
        font-size: 16px
    }

    .gallery-item {
        min-height: 210px
    }
}

@media(max-width:720px) {

    .messenger-buttons,
    .gallery-grid {
        grid-template-columns: 1fr
    }

    .messenger-btn {
        min-height: 58px
    }

    .gallery-item {
        min-height: 260px
    }

    .lightbox__prev {
        left: 8px
    }

    .lightbox__next {
        right: 8px
    }

    .lightbox__close {
        right: 8px;
        top: 8px
    }
}