.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 850;
    font-size: 14px;
    line-height: 1;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

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

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #ff2b87 0%, var(--color-primary) 45%, var(--color-primary-dark) 100%);
    box-shadow: 0 14px 28px rgba(240, 21, 112, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 18px 40px rgba(240, 21, 112, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.btn-outline,
.btn-light {
    color: var(--color-heading);
    border-color: rgba(240, 21, 112, 0.18);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 25px rgba(109, 42, 72, 0.06);
}

.btn-outline:hover,
.btn-light:hover {
    color: var(--color-primary);
    border-color: var(--color-border-strong);
    background: #fff;
    box-shadow: 0 14px 30px rgba(109, 42, 72, 0.10);
}

.btn-large {
    min-height: 58px;
    padding: 0 34px;
    border-radius: 16px;
}

.btn-small {
    min-height: 42px;
    padding: 0 18px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(22px);
    background: rgba(255, 250, 253, 0.82);
    border-bottom: 1px solid rgba(245, 214, 227, 0.7);
}

.header-inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: max-content;
}

.brand-logo-full {
    display: block;
    width: 300px;
    height: 78px;
    object-fit: cover;
    object-position: left center;
    filter: drop-shadow(0 10px 16px rgba(240, 21, 112, 0.08));
}

.footer-logo-full {
    width: 260px;
    height: 68px;
}

.brand-logo:not(.brand-logo-full) {
    width: 46px;
    height: 46px;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-heading);
}

.brand-name span {
    color: var(--color-primary);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2.3vw, 32px);
    font-weight: 800;
    font-size: 13px;
}

.main-nav a,
.city-link {
    color: var(--color-heading);
    transition: color var(--transition), transform var(--transition);
}

.main-nav a:hover,
.city-link:hover {
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.city-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 850;
    font-size: 14px;
}

.pin {
    color: var(--color-primary);
    font-size: 18px;
}

.chevron {
    color: var(--color-muted-2);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    background: #fff;
    padding: 10px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 999px;
    background: var(--color-heading);
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    color: var(--color-primary);
    background: linear-gradient(145deg, #fff, #ffeaf3);
    border: 1px solid rgba(240, 21, 112, 0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 10px 26px rgba(240, 21, 112, 0.10);
    position: relative;
}

.icon::before {
    font-size: 20px;
    line-height: 1;
}

.icon-site::before { content: "▣"; }
.icon-crm::before { content: "✉"; }
.icon-plan::before { content: "☑"; }
.icon-review::before { content: "★"; }
.icon-telegram::before { content: "↗"; }
.icon-mail::before { content: "✉"; }
.icon-checklist::before { content: "☷"; }
.icon-camera::before { content: "▤"; }
.icon-star::before { content: "★"; }
.icon-people::before { content: "♣"; }
.icon-heart::before { content: "♥"; }
.icon-shield::before { content: "♢"; }

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 58px 0 26px;
    border-top: 1px solid rgba(245, 214, 227, 0.72);
    background:
        radial-gradient(circle at 12% 24%, rgba(255, 206, 225, 0.62), transparent 26%),
        linear-gradient(180deg, rgba(255, 250, 253, 0.88), rgba(255, 244, 249, 0.9));
}

.site-footer::after {
    content: "✦ ✧ ✦";
    position: absolute;
    right: 9%;
    top: 22px;
    color: rgba(240, 21, 112, 0.22);
    letter-spacing: 28px;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 44px;
}

.footer-brand-block p {
    max-width: 390px;
    margin-top: 14px;
    font-size: 14px;
}

.footer-grid h3 {
    font-size: 16px;
    margin-bottom: 14px;
}

.footer-grid a:not(.brand) {
    display: block;
    margin-bottom: 11px;
    color: var(--color-muted);
    font-size: 14px;
}

.footer-grid a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(245, 214, 227, 0.75);
    color: var(--color-muted-2);
    font-size: 13px;
}

.messages-wrap {
    position: relative;
    z-index: 5;
    padding-top: 18px;
}

.message {
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-heading);
    box-shadow: 0 12px 28px rgba(75, 38, 56, 0.08);
    font-weight: 700;
}

.message-success {
    border-color: rgba(240, 21, 112, 0.24);
    background: rgba(255, 244, 249, 0.96);
}

.message-error {
    border-color: rgba(190, 62, 92, 0.28);
    background: rgba(255, 240, 244, 0.96);
}

@media (max-width: 1180px) {
    .header-inner {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav,
    .header-actions {
        display: none;
    }

    .main-nav.is-open,
    .header-actions.is-open {
        display: flex;
        grid-column: 1 / -1;
        width: 100%;
    }

    .main-nav.is-open {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding-top: 12px;
    }

    .header-actions.is-open {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 0 0 16px;
    }
}

@media (max-width: 820px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .header-inner {
        min-height: 70px;
    }

    .brand-logo-full {
        width: 210px;
        height: 56px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}


/* Exact uploaded LysaFrame logo: one full PNG, not split into icon + HTML text. */
.brand-logo-full {
    display: block;
    width: 300px;
    height: 78px;
    object-fit: cover;
    object-position: left center;
    filter: drop-shadow(0 10px 16px rgba(240, 21, 112, 0.08));
}

.footer-logo-full {
    width: 260px;
    height: 68px;
}

.header-inner {
    min-height: 86px;
}

@media (max-width: 1080px) {
    .brand-logo-full {
        width: 240px;
        height: 64px;
    }
}

@media (max-width: 560px) {
    .brand-logo-full {
        width: 205px;
        height: 55px;
    }

    .footer-logo-full {
        width: 220px;
        height: 58px;
    }
}


/* Fix: use uploaded logo with transparent background and no white box. */
.brand-logo-full {
    width: 330px;
    height: 74px;
    object-fit: contain;
    object-position: left center;
    background: transparent;
    filter: drop-shadow(0 8px 14px rgba(240, 21, 112, 0.06));
}
.footer-logo-full {
    width: 280px;
    height: 62px;
}
@media (max-width: 1080px) {
    .brand-logo-full { width: 270px; height: 62px; }
    .footer-logo-full { width: 240px; height: 56px; }
}
@media (max-width: 560px) {
    .brand-logo-full { width: 220px; height: 52px; }
    .footer-logo-full { width: 210px; height: 50px; }
}

/* Final responsive header/logo tuning. The uploaded logo is used as one image with transparent background. */
.site-header {
    overflow: visible;
}

.header-inner {
    min-height: 76px;
    gap: clamp(14px, 2vw, 28px);
}

.brand {
    min-width: 0;
    flex-shrink: 0;
}

.brand-logo-full {
    display: block;
    width: clamp(230px, 21vw, 300px);
    height: clamp(54px, 5.6vw, 68px);
    object-fit: contain;
    object-position: left center;
    background: transparent;
    filter: drop-shadow(0 8px 14px rgba(240, 21, 112, 0.06));
}

.footer-logo-full {
    width: 250px;
    height: 58px;
}

@media (max-width: 1180px) {
    .header-inner {
        min-height: 72px;
    }

    .brand-logo-full {
        width: 230px;
        height: 54px;
    }
}

@media (max-width: 560px) {
    .header-inner {
        min-height: 66px;
        gap: 10px;
    }

    .brand-logo-full {
        width: 174px;
        height: 42px;
    }

    .footer-logo-full {
        width: 190px;
        height: 46px;
    }

    .nav-toggle {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
}
