/* ==================================================
   PREMIUM FOOTER v3.3 — финальная версия
   ================================================== */

:root {
    --footer-bg: #071018;
    --footer-bg2: #101b28;
    --footer-card: #111d2c;
    --footer-line: #08bb0e;
    --footer-text: #d5dde8;
    --footer-title: #ffffff;
    --footer-muted: #91a3bb;
    --footer-border: rgba(255, 255, 255, .08);
    --footer-radius: 24px;
    --footer-shadow: 0 30px 80px rgba(0, 0, 0, .45);
    --footer-transition: .35s ease;
}

/* ---------- ОБЩИЕ СТИЛИ ---------- */
.footer-new {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 0% 0%, rgba(8, 187, 14, .08), transparent 40%),
        radial-gradient(circle at 100% 20%, rgba(8, 187, 14, .06), transparent 35%),
        linear-gradient(180deg, var(--footer-bg), var(--footer-bg2));
    color: var(--footer-text);
    padding: 110px 0 35px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.footer-new.visible {
    opacity: 1;
    transform: translateY(0);
}

.footer-new::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: .35;
    pointer-events: none;
}

.footer-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #08bb0e, transparent);
    animation: footerLine 6s linear infinite;
}

@keyframes footerLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.footer-bg-word {
    position: absolute;
    right: -40px;
    top: 140px;
    font-size: 220px;
    font-weight: 900;
    color: #ffffff;
    opacity: .025;
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

.footer-new .container {
    position: relative;
    z-index: 5;
}

/* ---------- CTA ---------- */
.footer-cta {
    position: relative;
    margin-bottom: 70px;
}

.footer-cta__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    padding: 55px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(20px);
    box-shadow: var(--footer-shadow);
}

.footer-cta__left {
    max-width: 700px;
}

.footer-cta__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 100px;
    background: rgba(8, 187, 14, .12);
    color: #8ff993;
    font-size: 14px;
    margin-bottom: 22px;
}

.footer-cta__label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #08bb0e;
}

.footer-cta h2 {
    color: #fff;
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 22px;
    font-weight: 800;
}

.footer-cta h2 span {
    color: #08bb0e;
}

.footer-cta p {
    color: var(--footer-muted);
    font-size: 17px;
    line-height: 1.8;
}

.footer-cta__buttons {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 270px;
    height: 62px;
    padding: 0 36px;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 700;
    transition: .35s;
}

.footer-btn--green {
    background: #08bb0e;
    color: #fff;
}

.footer-btn--green:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(8, 187, 14, .35);
}

.footer-btn--dark {
    background: #1a2737;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .08);
}

.footer-btn--dark:hover {
    background: #243548;
    transform: translateY(-4px);
}

/* ---------- СЕТКА ---------- */
.footer-new__grid {
    display: grid;
    grid-template-columns: 1.7fr 1.15fr 1.15fr;
    gap: 30px;
    align-items: start;
    margin-bottom: 70px;
}

/* ---------- КОМПАНИЯ ---------- */
.footer-company {
    background: linear-gradient(180deg, rgba(28, 39, 56, .96), rgba(20, 30, 43, .96));
    border: 1px solid var(--footer-border);
    border-radius: 26px;
    padding: 38px;
    box-shadow: var(--footer-shadow);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.footer-company:hover {
    transform: translateY(-10px);
    border-color: rgba(8, 187, 14, .45);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}

.footer-company__logo {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 30px;
}

.footer-company__logo img {
    width: 78px;
    height: 78px;
    object-fit: contain;
}

.footer-company__logo h3 {
    color: #fff;
    font-size: 48px;
    line-height: 1;
    margin: 0 0 10px;
}

.footer-company__logo span,
.footer-company__subtitle {
    color: var(--footer-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.footer-company__text {
    color: var(--footer-muted);
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 34px;
}

/* ---- ФИЧИ (преимущества) ---- */
.footer-company__features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 30px 0;
}

.footer-feature {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    transition: .3s;
}

.footer-feature:hover {
    transform: translateX(6px);
    border-color: #08bb0e;
    background: rgba(8, 187, 14, .08);
}

.footer-feature svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    stroke: #08bb0e;
}

.footer-feature strong {
    color: #fff;
}

/* ---- СОЦИАЛЬНЫЕ СЕТИ ---- */
.footer-socials {
    display: flex;
    gap: 18px;
    margin-top: 8px;
}

.footer-socials a {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    color: #fff;
    transition: .35s;
    overflow: hidden;
    position: relative;
}

.footer-socials a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #08bb0e, #2ce233);
    opacity: 0;
    transition: .35s;
}

.footer-socials a:hover::before {
    opacity: 1;
}

.footer-socials svg {
    position: relative;
    z-index: 2;
    width: 30px;
    height: 30px;
    fill: currentColor;
    transition: .35s;
}

.footer-socials a:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(8, 187, 14, .30);
}

.footer-socials a:hover svg {
    transform: scale(1.15);
}

/* ---------- КОЛОНКИ ---------- */
.footer-column {
    background: linear-gradient(180deg, rgba(20, 30, 43, .96), rgba(16, 24, 36, .96));
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 24px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.footer-column:hover {
    transform: translateY(-10px);
    border-color: rgba(8, 187, 14, .45);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}

.footer-column h4 {
    color: #fff;
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 30px;
    position: relative;
}

.footer-column h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 42px;
    height: 3px;
    border-radius: 20px;
    background: #08bb0e;
}

.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-column li {
    margin: 0;
}

.footer-column a {
    display: block;
    color: var(--footer-muted);
    font-size: 19px;
    line-height: 1.6;
    text-decoration: none;
    transition: .3s;
}

.footer-column a:hover {
    color: #fff;
    padding-left: 8px;
}

/* ---------- КОНТАКТЫ (фон только у иконок) ---------- */
.footer-contact {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    color: var(--footer-muted);
}

.footer-contact__icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #1c2a3b;
    font-size: 18px;
    flex-shrink: 0;
}

.footer-contact__text {
    font-size: 17px;
    line-height: 1.5;
    color: var(--footer-muted);
}

.footer-contact__text a {
    color: #fff;
    text-decoration: none;
    transition: color .3s;
}
.footer-contact__text a:hover {
    color: #08bb0e;
}

.footer-contact__text [itemprop="addressLocality"] {
    color: #fff;
    font-weight: 500;
}
.footer-contact__text [itemprop="streetAddress"] {
    color: var(--footer-muted);
}

/* ---------- КАРТА ---------- */
.footer-map {
    margin-bottom: 60px;
}

.footer-map__content {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 32px;
    align-items: stretch;
}

.footer-map__info {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 26px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.footer-map__info:hover {
    transform: translateY(-8px);
    border-color: rgba(8, 187, 14, .45);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}

.footer-map__info h3 {
    color: #fff;
    font-size: 34px;
    margin: 0 0 20px;
}

.footer-map__info p {
    color: var(--footer-muted);
    line-height: 1.9;
    margin-bottom: 35px;
}

.footer-map__image {
    min-height: 360px;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
}

.footer-map__image iframe {
    min-height: 360px;
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* ---------- НИЖНИЙ КОЛОНТИТУЛ ---------- */
.footer-bottom {
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-bottom > div:first-child {
    color: #fff;
    font-weight: 600;
}

.footer-bottom span {
    color: var(--footer-muted);
    margin-left: 10px;
    font-weight: 400;
}

.footer-bottom > div:last-child {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: var(--footer-muted);
    text-decoration: none;
    transition: .3s;
}

.footer-bottom a:hover {
    color: #08bb0e;
}

/* ---------- АДАПТИВНОСТЬ ---------- */
@media (max-width: 1200px) {
    .footer-new__grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-map__content {
        grid-template-columns: 1fr;
    }

    .footer-map__image {
        min-height: 320px;
    }
    .footer-map__image iframe {
        min-height: 320px;
    }
}

@media (max-width: 900px) {
    .footer-cta__content {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px;
    }

    .footer-cta h2 {
        font-size: 40px;
    }

    .footer-cta__buttons {
        width: 100%;
    }

    .footer-btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .footer-new {
        padding: 80px 0 25px;
    }

    .footer-new__grid {
        grid-template-columns: 1fr;
    }

    .footer-column,
    .footer-company {
        padding: 26px;
    }

    .footer-company__logo {
        flex-direction: row;
        text-align: left;
        gap: 16px;
    }
    .footer-company__logo img {
        width: 60px;
        height: 60px;
    }

    .footer-socials {
        justify-content: flex-start;
    }

    .footer-map__info {
        padding: 28px;
    }
    .footer-map__image {
        min-height: 280px;
    }
    .footer-map__image iframe {
        min-height: 280px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom > div:last-child {
        justify-content: center;
        gap: 18px;
    }

    .footer-bg-word {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer-cta h2 {
        font-size: 32px;
    }

    .footer-cta__content {
        padding: 30px 24px;
    }

    .footer-contact {
        gap: 10px;
        margin-bottom: 12px;
    }
    .footer-contact__icon {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
    .footer-contact__text {
        font-size: 15px;
    }

    .footer-company__logo img {
        width: 50px;
        height: 50px;
    }
    .footer-company__logo span,
    .footer-company__subtitle {
        font-size: 13px;
    }
    .footer-company__text {
        font-size: 16px;
    }

    .footer-socials a {
        width: 50px;
        height: 50px;
    }
    .footer-socials svg {
        width: 24px;
        height: 24px;
    }

    .footer-column h4 {
        font-size: 26px;
    }
    .footer-column a {
        font-size: 16px;
    }

    .footer-map__image {
        min-height: 240px;
    }
    .footer-map__image iframe {
        min-height: 240px;
    }
}

@media (max-width: 400px) {
    .footer-cta h2 {
        font-size: 28px;
    }
    .footer-cta__content {
        padding: 20px 16px;
    }
    .footer-btn {
        height: 52px;
        font-size: 15px;
        padding: 0 20px;
    }
    .footer-column,
    .footer-company {
        padding: 18px 16px;
    }
    .footer-map__info {
        padding: 20px;
    }
    .footer-map__info h3 {
        font-size: 26px;
    }

    .footer-contact {
        gap: 8px;
        margin-bottom: 10px;
    }
    .footer-contact__icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    .footer-contact__text {
        font-size: 14px;
    }

    .footer-bottom {
        gap: 16px;
    }
}

/* ---------- РЕГИОНАЛЬНЫЕ ГОРОДА ---------- */
.footer-cities {
    margin: 40px 0 30px;
    padding: 24px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer-cities__title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #08bb0e;
    margin-bottom: 14px;
}
.footer-cities__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}
.footer-cities__link {
    color: #8f98a5;
    font-size: 13px;
    text-decoration: none;
    transition: color .2s ease;
}
.footer-cities__link:hover {
    color: #ffffff;
}
.footer-cities__link--all {
    color: #08bb0e;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.footer-cities__link--all:hover {
    color: #2ee63d;
}

/* ============================================================
   CYBERPUNK FLOATING HUD QUICK ACTION BAR (FAB leonpro-style)
   ============================================================ */
.cp-hud-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, monospace;
}

.cp-fab-trigger {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #090c17;
    border: 1px solid #08bb0e;
    border-radius: 50px;
    padding: 12px 18px 12px 14px;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(8, 187, 14, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    user-select: none;
}
.cp-fab-trigger:hover {
    transform: translateY(-2px);
    background: #0d1224;
    border-color: #39ff14;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(57, 255, 20, 0.45);
}
.cp-fab-trigger-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    position: relative;
}
.cp-fab-icon-chat, .cp-fab-icon-close {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}
.cp-fab-icon-chat {
    color: #08bb0e;
    opacity: 1;
}
.cp-fab-icon-close {
    color: #ff0055;
    font-size: 1.2rem;
    font-weight: bold;
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-90deg) scale(0.5);
}
.cp-fab-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #08bb0e;
    text-shadow: 0 0 8px rgba(8, 187, 14, 0.6);
}
.cp-fab-status-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff88;
    animation: cpFabPulseDot 2s infinite;
}
.cp-fab-radar-wave {
    position: absolute;
    top: -6px; left: -6px; right: -6px; bottom: -6px;
    border-radius: 54px;
    border: 1px solid rgba(8, 187, 14, 0.5);
    pointer-events: none;
    animation: cpFabRadar 2.5s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}
@keyframes cpFabRadar {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.25); opacity: 0; }
}
@keyframes cpFabPulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* Active Trigger State */
.cp-hud-fab.is-active .cp-fab-icon-chat {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scale(0.5);
}
.cp-hud-fab.is-active .cp-fab-icon-close {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0) scale(1);
}
.cp-hud-fab.is-active .cp-fab-trigger {
    border-color: #ff0055;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 0, 85, 0.35);
}
.cp-hud-fab.is-active .cp-fab-label {
    color: #ff0055;
    text-shadow: 0 0 8px rgba(255, 0, 85, 0.6);
}

/* Action Menu Container */
.cp-fab-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
    opacity: 0;
    transform: translateY(14px) scale(0.96);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: 290px;
}
.cp-hud-fab.is-active .cp-fab-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Action Items */
.cp-fab-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(8, 187, 14, 0.2);
    border-radius: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.22s ease;
}
.cp-fab-item:hover {
    background: rgba(16, 22, 40, 0.98);
    border-color: #08bb0e;
    transform: translateX(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(8, 187, 14, 0.25);
    color: #ffffff;
}
.cp-fab-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}
.cp-glow-max {
    color: #00ff87;
    background: rgba(8, 187, 14, 0.15);
    box-shadow: 0 0 10px rgba(8, 187, 14, 0.3);
}
.cp-glow-phone {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.12);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.25);
}
.cp-glow-calc {
    color: #00e5ff;
    background: rgba(0, 229, 255, 0.12);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.25);
}
.cp-glow-order {
    color: #e3ff04;
    background: rgba(227, 255, 4, 0.12);
    box-shadow: 0 0 10px rgba(227, 255, 4, 0.25);
}

.cp-fab-content {
    flex-grow: 1;
    min-width: 0;
}
.cp-fab-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cp-fab-meta {
    font-size: 0.72rem;
    color: #8a9bb5;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.cp-fab-arrow {
    color: #08bb0e;
    font-size: 0.95rem;
    transition: transform 0.2s;
}
.cp-fab-item:hover .cp-fab-arrow {
    transform: translateX(3px);
    color: #39ff14;
}
.cp-fab-badge {
    font-size: 0.65rem;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}
.cp-badge-green {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.4);
}
.cp-badge-cyan {
    background: rgba(0, 229, 255, 0.15);
    color: #00e5ff;
    border: 1px solid rgba(0, 229, 255, 0.4);
}

@media (max-width: 768px) {
    .cp-hud-fab {
        bottom: 20px;
        right: 16px;
    }
    .cp-fab-menu {
        width: 270px;
    }
    .scroll-top {
        bottom: 84px !important;
        right: 18px !important;
        width: 44px !important;
        height: 44px !important;
    }
}
@media (min-width: 769px) {
    .scroll-top {
        bottom: 92px !important;
        right: 32px !important;
        width: 46px !important;
        height: 46px !important;
    }
}
