:root {
    --bg: #0b0d11;
    --card: rgba(20, 24, 31, .82);
    --line: rgba(212, 175, 55, .18);
    --gold: #d4af37;
    --gold2: #f5d67a;
    --text: #f8f7f2;
    --muted: #b9bec8;
    --radius: 24px;
    --container: 1180px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top right, rgba(212, 175, 55, .12), transparent 24%), radial-gradient(circle at left center, rgba(255, 241, 184, .05), transparent 22%), linear-gradient(180deg, #0e1116 0%, #090b0f 100%);
    line-height: 1.55
}

body.modal-open {
    overflow: hidden
}

a {
    text-decoration: none;
    color: inherit
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto
}

.section {
    padding: 88px 0;
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px
}

.hero {
    content-visibility: visible
}

.grid {
    display: grid;
    gap: 22px
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(10, 12, 16, .78);
    border-bottom: 1px solid rgba(212, 175, 55, .14);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18)
}

.topbar__inner {
    min-height: 86px;
    display: grid;
    grid-template-columns:auto 1fr auto;
    align-items: center;
    gap: 20px;
    position: relative
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    letter-spacing: .4px;
    white-space: nowrap
}

.logo__mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #7a5a12 0%, #c79a2b 18%, #f6de8b 45%, #fff2bf 52%, #d7ab3f 72%, #8a6718 100%);
    box-shadow: 0 10px 24px rgba(212, 175, 55, .32), inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 8px rgba(122, 90, 18, .22)
}

.logo__mark::before, .logo__mark::after {
    content: "";
    position: absolute;
    background: rgba(255, 255, 255, .22);
    transform: rotate(45deg)
}

.logo__mark::before {
    width: 18px;
    height: 18px;
    left: 6px;
    top: 7px
}

.logo__mark::after {
    width: 18px;
    height: 18px;
    right: 6px;
    top: 20px
}

.nav {
    display: flex;
    justify-content: center;
    gap: 22px;
    font-weight: 600;
    color: var(--muted);
    position: static;
    align-items: center
}

.nav a {
    position: relative
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f5d67a, #d4af37);
    transition: .3s
}

.nav a:hover::after {
    width: 100%
}

.topbar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end
}

.phone {
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
    color: #fff5cd;
    text-shadow: 0 0 12px rgba(212, 175, 55, .12)
}

.phone--icon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(212, 175, 55, .10);
    color: #22c55e;
    font-size: 22px
}

.burger {
    display: none;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 12px;
    background: rgba(212, 175, 55, .10);
    color: #f5d67a;
    font-size: 24px;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08)
}

.nav__phone {
    display: none
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    min-height: 52px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: .25s ease;
    cursor: pointer
}

.btn--primary {
    color: #15120a;
    background: linear-gradient(135deg, #7a5a12 0%, #b38728 16%, #f5d67a 34%, #fff1b8 50%, #e0b84f 66%, #a97817 84%, #6f5311 100%);
    box-shadow: 0 14px 32px rgba(212, 175, 55, .30)
}

.btn--telegram {
    background: #229ED9;
    color: #fff
}

.hero {
    padding: 86px 0 60px;
    position: relative;
    background: url('header.webp') center center/cover no-repeat
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 12, 16, .58), rgba(10, 12, 16, .82));
    backdrop-filter: blur(2px)
}

.hero .container {
    position: relative;
    z-index: 2
}

.hero__wrap {
    display: grid;
    grid-template-columns:1.15fr .85fr;
    gap: 28px;
    align-items: stretch
}

.hero__content, .hero__form, .modal__content, .card, .price, .contact, .faq__item, .review, .works-slide, .cta, .btn--primary, .works-slider__btn {
    position: relative;
    overflow: hidden
}

.hero__content, .hero__form, .modal__content {
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, .18);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55)
}

.hero__content {
    padding: 50px;
    background: rgba(20, 22, 28, .55)
}

.hero__content::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -90px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, .28), transparent 70%)
}

.hero__form, .modal__content {
    padding: 28px;
    background: rgba(16, 19, 25, .92)
}

.btn--primary::before, .hero__content::before, .hero__form::before, .card::before, .price::before, .contact::before, .faq__item::before, .review::before, .works-slide::before, .modal__content::before, .cta::before, .works-slider__btn::before {
    content: "";
    position: absolute;
    top: -120%;
    left: -60%;
    width: 55%;
    height: 320%;
    transform: rotate(24deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), rgba(255, 248, 212, .34), rgba(255, 255, 255, .08), transparent);
    animation: shine 5.5s linear infinite;
    pointer-events: none
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(212, 175, 55, .18), rgba(255, 241, 184, .08));
    border: 1px solid rgba(212, 175, 55, .25);
    color: #fff8dc;
    font-size: 14px;
    margin-bottom: 22px;
    box-shadow: 0 8px 24px rgba(212, 175, 55, .15)
}

h1, h2, h3, p {
    margin: 0
}

h1 {
    font-size: clamp(42px, 6vw, 78px);
    line-height: 1.02;
    max-width: 900px;
    margin-bottom: 20px;
    font-weight: 900;
    background: linear-gradient(180deg, #fff, #f5d67a 60%, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -.02em
}

.hero__lead {
    font-size: 22px;
    color: #cbd5e1;
    max-width: 720px;
    margin-bottom: 30px
}

.hero__list {
    display: grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px
}

.hero__item, .card, .price, .step, .faq__item, .contact, .review {
    background: rgba(23, 28, 36, .88);
    border: 1px solid rgba(212, 175, 55, .10);
    border-radius: var(--radius);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .30);
    padding: 24px
}

.hero__item {
    display: flex;
    gap: 14px;
    align-items: flex-start
}

.hero__icon, .step__num, .why__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    background: linear-gradient(135deg, #7a5a12 0%, #c79a2b 20%, #f3d87d 48%, #d7ab3f 76%, #8b6718 100%);
    font-weight: 800;
    color: #1a1408
}

.hero__buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 10px
}

.hero__form h3, .modal__title {
    font-size: 28px;
    margin-bottom: 10px
}

.hero__form p, .modal__text {
    color: var(--muted);
    margin-bottom: 18px
}

form {
    display: grid;
    gap: 14px
}

input, select, textarea {
    width: 100%;
    background: #232a35;
    border: 1px solid rgba(255, 255, 255, .08);
    color: #fff;
    border-radius: 16px;
    padding: 16px 18px;
    font: inherit;
    outline: none
}

textarea {
    min-height: 120px;
    resize: vertical
}

.form-note {
    font-size: 13px;
    color: #98a2b3
}

.form-status {
    display: none;
    font-size: 14px;
    padding: 12px 14px;
    border-radius: 14px
}

.form-status.show {
    display: block
}

.form-status.success {
    background: rgba(29, 185, 84, .14);
    color: #9af0b8;
    border: 1px solid rgba(29, 185, 84, .22)
}

.form-status.error {
    background: rgba(255, 80, 80, .12);
    color: #ffc0c0;
    border: 1px solid rgba(255, 80, 80, .18)
}

.stats {
    margin-top: 26px;
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 14px
}

.stat {
    padding: 18px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(212, 175, 55, .10);
    border-radius: 18px
}

.stat strong {
    display: block;
    font-size: 28px;
    margin-bottom: 4px
}

.section-title {
    font-size: clamp(28px, 4vw, 46px);
    margin-bottom: 14px
}

.section-subtitle {
    color: var(--muted);
    max-width: 820px;
    margin-bottom: 32px;
    font-size: 18px
}

.services, .prices, .steps, .faq, .reviews {
    grid-template-columns:repeat(3, minmax(0, 1fr))
}

.contacts, .why {
    grid-template-columns:1fr 1fr
}

.card h3, .price h3, .step h3, .contact h3, .faq__item h3, .review h3 {
    font-size: 22px;
    margin-bottom: 10px
}

.card p, .price p, .step p, .contact p, .faq__item p, .review p {
    color: var(--muted)
}

.price__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px
}

.price__head h3 {
    margin: 0;
    font-size: 20px
}

.price__value {
    font-size: 18px;
    font-weight: 700;
    color: #f5d67a;
    white-space: nowrap
}

.why .card {
    display: flex;
    gap: 16px;
    align-items: flex-start
}

.step__num {
    margin-bottom: 16px
}

.cta {
    padding: 38px;
    background: linear-gradient(135deg, rgba(212, 175, 55, .18), rgba(255, 241, 184, .06)), rgba(23, 28, 36, .88);
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, .18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap
}

.cta h2 {
    font-size: clamp(26px, 4vw, 42px)
}

.cta p {
    color: var(--muted);
    max-width: 700px;
    margin-top: 10px
}

.review__name {
    margin-top: 14px;
    font-weight: 800;
    color: #fff
}

.review__stars {
    margin-bottom: 10px;
    color: #f5d67a;
    letter-spacing: 2px
}

.messengers {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap
}

.messenger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 700;
    transition: .25s
}

.messenger svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px
}

.messenger.tg {
    background: #229ED9;
    color: #fff
}

.messenger.max {
    background: linear-gradient(135deg, #7a5a12, #d4af37, #fff1b8);
    color: #1a1408
}

.footer {
    border-top: 1px solid var(--line);
    padding: 30px 0 60px;
    color: #98a2b3;
    text-align: center
}

.floating {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 70;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.floating a {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .28);
    font-weight: 900
}

.floating__call {
    background: linear-gradient(135deg, #7a5a12, #f5d67a);
    color: #111
}

.floating__tg {
    background: #229ED9;
    color: #fff
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 12, .78);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    transition: .25s ease
}

.modal.active {
    opacity: 1;
    visibility: visible
}

.modal__dialog {
    width: 100%;
    max-width: 560px;
    position: relative
}

.modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 24px;
    background: rgba(212, 175, 55, .10);
    color: #f5d67a;
    z-index: 3
}

.works-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px
}

.works-slider__viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 28px
}

.works-slider__track {
    display: flex;
    transition: transform .45s ease;
    will-change: transform
}

.works-slide {
    min-width: 100%;
    background: rgba(23, 28, 36, .88);
    border: 1px solid rgba(212, 175, 55, .10);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .30)
}

.works-slide img {
    display: block;
    width: 100%;
    height: 620px;
    object-fit: cover;
    object-position: center;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-drag: none;
    touch-action: pan-y
}

.works-slider__btn {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 34px;
    line-height: 1;
    color: #1a1408;
    background: linear-gradient(135deg, #7a5a12 0%, #b38728 16%, #f5d67a 34%, #fff1b8 50%, #e0b84f 66%, #a97817 84%, #6f5311 100%);
    box-shadow: 0 14px 32px rgba(212, 175, 55, .25)
}

.works-slider__dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px
}

.works-slider__dot {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    cursor: pointer
}

.works-slider__dot.active {
    background: #f5d67a;
    transform: scale(1.15)
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 12, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transition: .25s ease
}

.lightbox.active {
    opacity: 1;
    visibility: visible
}

.lightbox__content {
    position: relative;
    width: min(96vw, 1400px);
    height: min(90vh, 900px);
    display: flex;
    align-items: center;
    justify-content: center
}

.lightbox__img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    touch-action: none
}

.lightbox__close, .lightbox__nav {
    position: absolute;
    border: none;
    cursor: pointer;
    color: #1a1408;
    background: linear-gradient(135deg, #7a5a12 0%, #b38728 16%, #f5d67a 34%, #fff1b8 50%, #e0b84f 66%, #a97817 84%, #6f5311 100%);
    box-shadow: 0 14px 32px rgba(212, 175, 55, .25)
}

.lightbox__close {
    top: 10px;
    right: 10px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 28px;
    line-height: 1;
    z-index: 2
}

.lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-size: 34px;
    line-height: 1
}

.lightbox__nav--prev {
    left: 10px
}

.lightbox__nav--next {
    right: 10px
}

.global-notify {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 360px;
    padding: 16px 20px;
    border-radius: 14px;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: .25s ease
}

.global-notify.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.global-notify.success {
    background: linear-gradient(135deg, #15803d, #22c55e)
}

.global-notify.error {
    background: linear-gradient(135deg, #b91c1c, #ef4444)
}

@keyframes shine {
    0% {
        transform: translateX(0) rotate(24deg);
        opacity: 0
    }
    8% {
        opacity: .25
    }
    20% {
        opacity: .55
    }
    40% {
        opacity: .12
    }
    100% {
        transform: translateX(440%) rotate(24deg);
        opacity: 0
    }
}

img {
    max-width: 100%;
    height: auto
}

@media (max-width: 1024px) {
    .topbar__inner {
        grid-template-columns:auto auto;
        justify-content: space-between
    }

    .nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 18px;
        background: rgba(16, 19, 25, .98);
        border: 1px solid rgba(212, 175, 55, .16);
        border-radius: 20px;
        z-index: 120
    }

    .nav.active {
        display: flex
    }

    .nav a {
        padding: 14px 4px;
        border-bottom: 1px solid rgba(255, 255, 255, .06)
    }

    .nav a:last-child {
        border-bottom: none
    }

    .nav a::after {
        display: none
    }

    .nav__phone {
        display: inline-flex
    }

    .burger {
        display: inline-flex;
        align-items: center;
        justify-content: center
    }

    .phone--desktop, .topbar__btn {
        display: none
    }

    .phone--icon {
        display: inline-flex
    }

    .hero__wrap, .services, .prices, .steps, .faq, .reviews, .contacts, .why {
        grid-template-columns:1fr 1fr
    }

    .stats {
        grid-template-columns:1fr
    }

    .works-slide img {
        height: 500px
    }
}

@media (max-width: 760px) {
    .hero__wrap, .hero__list, .services, .prices, .steps, .faq, .reviews, .contacts, .why {
        grid-template-columns:1fr
    }

    .hero__content, .hero__form, .cta, .card, .price, .step, .faq__item, .contact, .review, .modal__content {
        padding: 22px
    }

    .topbar__inner {
        min-height: 74px;
        gap: 12px
    }

    .logo span:last-child {
        font-size: 14px;
        max-width: 170px;
        line-height: 1.2
    }

    .logo__mark {
        width: 40px;
        height: 40px
    }

    .nav {
        left: 0;
        right: 0;
        top: calc(100% + 8px);
        padding: 16px;
        border-radius: 18px
    }

    .topbar__actions {
        gap: 8px
    }

    .phone--icon, .burger {
        width: 42px;
        height: 42px;
        font-size: 20px
    }

    .section {
        padding: 64px 0
    }

    .hero {
        padding: 60px 0 40px
    }

    h1 {
        font-size: 40px
    }

    .hero__lead {
        font-size: 18px
    }

    .floating {
        right: 12px;
        bottom: 12px
    }

    .modal__title {
        font-size: 24px;
        padding-right: 40px
    }

    .works-slider {
        gap: 8px
    }

    .works-slider__btn {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        font-size: 28px
    }

    .works-slide img {
        height: 360px
    }

    .lightbox__content {
        width: 100%;
        height: 100%
    }

    .lightbox__nav {
        width: 42px;
        height: 42px;
        font-size: 28px
    }

    .lightbox__close {
        width: 42px;
        height: 42px;
        font-size: 24px
    }

    .global-notify {
        left: 12px;
        right: 12px;
        top: 12px;
        max-width: none;
        padding: 14px 16px;
        font-size: 14px
    }
}
   .latest-works{
       padding:80px 0;
   }

.latest-grid{
    display:grid;
    grid-template-columns:
repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
    margin-top:40px;
}

.latest-card{
    display:flex;
    text-decoration:none;
    background:#1b1b1b;
    border-radius:18px;
    overflow:hidden;
    border:1px solid rgba(212,175,55,.25);
    transition:.3s;
    flex-direction:column;
    height:100%;
}
.latest-card:hover{
    transform:translateY(-6px);
    box-shadow:0 10px 30px rgba(212,175,55,.15);
}

.latest-card img{
    width:100%;
    height:180px;
    object-fit:cover;
    display:block;
}

.latest-info{
    padding:15px;
}

.latest-info h3{
    margin:0 0 10px;
    color:#d4af37;
}

.latest-info p{
    margin:0;
    color:#fff;
}

.latest-more{
    text-align:center;
    margin-top:35px;
}

.latest-works h2{
    text-align:center;
    color:#d4af37;
    font-size:36px;
    margin-bottom:40px;
}
.latest-btn{
    display:inline-block;
    padding:14px 26px;
    background:#d4af37;
    color:#111;
    border-radius:14px;
    font-weight:700;
    text-decoration:none;
}

.latest-btn:hover{
    transform:translateY(-2px);
}