/* ==================================================
   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: 18px;
}

.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;
    }
}