body {
    font-family: 'Manrope', system-ui, sans-serif;
    background-color: #FBF9F5;
    color: #12171B;
}

.font-display {
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

.hero-totem-light {
    position: relative;
    overflow: hidden;
    background: #FBF9F5;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    opacity: 0;
    transition: opacity 1.2s ease;
    filter: saturate(1.06) contrast(1.02);
}
.hero-slide.is-active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(90deg, rgba(10, 12, 14, 0.55) 0%, rgba(10, 12, 14, 0.28) 42%, rgba(10, 12, 14, 0.05) 68%, rgba(10, 12, 14, 0) 100%),
                      linear-gradient(0deg, rgba(10, 12, 14, 0.50) 0%, rgba(10, 12, 14, 0) 38%),
                      linear-gradient(rgba(10, 12, 14, 0.10), rgba(10, 12, 14, 0.10));
}

@media (max-width: 640px) {
    .hero-slide {
        object-position: center 40%;
    }
    .hero-overlay {
        background-image: linear-gradient(180deg, rgba(10, 12, 14, 0.45) 0%, rgba(10, 12, 14, 0.15) 45%, rgba(10, 12, 14, 0.60) 100%);
    }
}

.btn-arch {
    border-radius: 10px !important;
}
.btn-arch-sm {
    border-radius: 10px !important;
}

.contact-drop-btn {
    border-radius: 10px !important;
}

.cta-band {
    background:
        linear-gradient(100deg, rgba(10, 12, 14, 0.88) 0%, rgba(10, 12, 14, 0.72) 45%, rgba(10, 12, 14, 0.55) 100%),
        url('images/projects/beschastnyh/01.jpg') center / cover no-repeat;
    border: 1px solid rgba(166, 130, 79, 0.28);
}

section.dialog-bg {
    background:
        linear-gradient(90deg, #F5F2EC 0%, #F5F2EC 42%, rgba(245, 242, 236, 0.55) 70%, rgba(245, 242, 236, 0.25) 100%),
        url('images/projects/larkin/01.jpg') right center / cover no-repeat;
}
@media (max-width: 1023px) {
    section.dialog-bg {
        background:
            linear-gradient(rgba(245, 242, 236, 0.94), rgba(245, 242, 236, 0.94)),
            url('images/projects/larkin/01.jpg') center / cover no-repeat;
    }
}

section.packages-bg {
    background-color: #F2EFEB;
    background-image: radial-gradient(rgba(18, 23, 27, 0.055) 1px, transparent 1.5px);
    background-size: 22px 22px;
}

.header-scrolled {
    box-shadow: 0 10px 30px rgba(18, 23, 27, 0.09);
}

body > section.reveal,
body > footer.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
body > section.reveal.is-visible,
body > footer.reveal.is-visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    body > section.reveal,
    body > footer.reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.footer-dark {
    background: #0B0D10;
    border-top: 1px solid rgba(166, 130, 79, 0.35);
}
.footer-dark ul a:hover {
    color: #FFFFFF;
}

.hp-trap {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.lead-msg {
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}
.lead-msg.lead-err { color: #B42318; }
.lead-msg.lead-ok { color: #12805c; }
.lead-done {
    background: #F5EFE6;
    border: 1px solid rgba(166, 130, 79, 0.45);
    border-radius: 16px;
    padding: 20px 22px;
}
.lead-done-title {
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #12171B;
    margin-bottom: 6px;
}
.lead-done-text {
    font-size: 12px;
    line-height: 1.6;
    color: #5F6972;
}

.cookie-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 80;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 18px;
    background: #101315;
    color: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(166, 130, 79, 0.45);
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.cookie-banner[hidden] { display: none; }
.cookie-text {
    flex: 1 1 280px;
    font-size: 11px;
    line-height: 1.6;
    margin: 0;
}
.cookie-text a {
    color: #D9BE8E;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-text a:hover { color: #FFFFFF; }
.cookie-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.cookie-actions .btn-arch {
    padding: 10px 26px;
    background: #A6824F;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: none;
    cursor: pointer;
    transition: background 0.25s ease;
}
.cookie-actions .btn-arch:hover { background: #8f6f3f; }
.cookie-more {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.65);
}
.cookie-more:hover { color: #FFFFFF; }

[x-cloak] { display: none !important; }
