/*.site-footer {*/
/*    --f-bg: #14171d;*/
/*    --f-card: #1d2129;*/
/*    --f-border: #2f3542;*/
/*    --f-text: #f3f4f6;*/
/*    --f-text-soft: #d1d5db;*/
/*    --f-muted: #b4b9c4;*/
/*    --f-accent: #bcc6fd;*/

/*    position: relative;*/
/*    overflow: hidden;*/
/*    margin-top: 40px;*/
/*    border-top: 1px solid var(--f-border);*/
/*    background:*/
/*            radial-gradient(900px 340px at 15% 0%, rgba(165, 180, 252, 0.12), transparent 70%),*/
/*            radial-gradient(700px 300px at 90% 100%, rgba(165, 180, 252, 0.06), transparent 70%),*/
/*            var(--f-bg);*/
/*    color: var(--f-text);*/
/*    font-family: 'Manrope', sans-serif;*/
/*}*/

/*.site-footer__inner {*/
/*    max-width: 1280px;*/
/*    margin: 0 auto;*/
/*    padding: 64px 32px 28px;*/
/*}*/

/*.site-footer__grid {*/
/*    display: grid;*/
/*    grid-template-columns: 1.4fr 1fr 1fr;*/
/*    gap: 48px;*/
/*}*/

/*!* Карточка студії *!*/
/*.footer-studio {*/
/*    padding: 28px;*/
/*    background: var(--f-card);*/
/*    border: 1px solid var(--f-border);*/
/*    border-radius: 18px;*/
/*    transition: border-color 0.25s ease, background 0.25s ease;*/
/*}*/

/*.footer-studio:hover {*/
/*    background: #222733;*/
/*    border-color: rgba(188, 198, 253, 0.6);*/
/*}*/

/*.footer-studio__label {*/
/*    margin: 0 0 10px;*/
/*    color: var(--f-muted);*/
/*    font-size: 12px;*/
/*    font-weight: 600;*/
/*    letter-spacing: 0.14em;*/
/*    text-transform: uppercase;*/
/*}*/

/*.footer-studio__name {*/
/*    display: inline-block;*/
/*    margin-bottom: 10px;*/
/*    color: var(--f-text);*/
/*    font-size: 26px;*/
/*    font-weight: 700;*/
/*    letter-spacing: -0.01em;*/
/*    text-decoration: none;*/
/*    transition: color 0.2s ease;*/
/*}*/

/*.footer-studio__name:hover {*/
/*    color: var(--f-accent);*/
/*}*/

/*.footer-studio__text {*/
/*    margin: 0 0 20px;*/
/*    color: var(--f-text-soft);*/
/*    font-size: 15px;*/
/*    line-height: 1.6;*/
/*}*/

/*.footer-studio__link {*/
/*    display: inline-flex;*/
/*    align-items: center;*/
/*    gap: 6px;*/
/*    color: var(--f-accent);*/
/*    font-weight: 600;*/
/*    text-decoration: none;*/
/*    transition: gap 0.2s ease, color 0.2s ease;*/
/*}*/

/*.footer-studio__link:hover {*/
/*    gap: 10px;*/
/*    color: #dbe1ff;*/
/*}*/

/*!* Колонки посилань *!*/
/*.footer-col__title {*/
/*    margin: 0 0 18px;*/
/*    color: var(--f-muted);*/
/*    font-size: 12px;*/
/*    font-weight: 600;*/
/*    letter-spacing: 0.14em;*/
/*    text-transform: uppercase;*/
/*}*/

/*.footer-col ul {*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    list-style: none;*/
/*}*/

/*.footer-col li + li {*/
/*    margin-top: 12px;*/
/*}*/

/*.footer-col a {*/
/*    color: var(--f-text-soft);*/
/*    font-size: 15px;*/
/*    text-decoration: none;*/
/*    transition: color 0.2s ease;*/
/*}*/

/*.footer-col a:hover {*/
/*    color: var(--f-accent);*/
/*}*/

/*!* Велика напівпрозора назва *!*/
/*.site-footer__wordmark {*/
/*    margin: 56px 0 0;*/
/*    font-family: 'Cormorant Garamond', serif;*/
/*    font-size: clamp(48px, 10vw, 150px);*/
/*    font-weight: 600;*/
/*    line-height: 0.9;*/
/*    letter-spacing: -0.02em;*/
/*    white-space: nowrap;*/
/*    background: linear-gradient(to bottom, rgba(243, 244, 246, 0.22), rgba(243, 244, 246, 0.03));*/
/*    -webkit-background-clip: text;*/
/*    background-clip: text;*/
/*    color: transparent;*/
/*    user-select: none;*/
/*}*/

/*!* Нижній рядок *!*/
/*.site-footer__bottom {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: space-between;*/
/*    gap: 16px;*/
/*    margin-top: 24px;*/
/*    padding-top: 20px;*/
/*    border-top: 1px solid var(--f-border);*/
/*    color: var(--f-muted);*/
/*    font-size: 13px;*/
/*}*/

/*.site-footer__up {*/
/*    color: var(--f-muted);*/
/*    text-decoration: none;*/
/*    transition: color 0.2s ease;*/
/*}*/

/*.site-footer__up:hover {*/
/*    color: var(--f-accent);*/
/*}*/

/*.site-footer a:focus-visible {*/
/*    outline: 2px solid var(--f-accent);*/
/*    outline-offset: 3px;*/
/*    border-radius: 4px;*/
/*}*/

/*!* Планшет *!*/
/*@media (max-width: 900px) {*/
/*    .site-footer__grid {*/
/*        grid-template-columns: 1fr 1fr;*/
/*    }*/

/*    .footer-studio {*/
/*        grid-column: 1 / -1;*/
/*    }*/
/*}*/

/*!* Мобільний *!*/
/*@media (max-width: 600px) {*/
/*    .site-footer__inner {*/
/*        padding: 48px 20px 24px;*/
/*    }*/

/*    .site-footer__grid {*/
/*        grid-template-columns: 1fr;*/
/*        gap: 32px;*/
/*    }*/

/*    .site-footer__wordmark {*/
/*        margin-top: 40px;*/
/*    }*/

/*    .site-footer__bottom {*/
/*        flex-direction: column;*/
/*        align-items: flex-start;*/
/*    }*/
/*}*/

/* ================================================================
   Подвал сайта — фрагмент fragments/footer :: footer
   HTML не меняется: используются те же классы.
   ================================================================ */

.site-footer {
    --f-bg: #12141a;
    --f-card: rgba(255, 255, 255, 0.03);
    --f-line: rgba(255, 255, 255, 0.08);
    --f-text: #f3f4f6;
    --f-text-soft: #d1d5db;
    --f-muted: #9aa0ab;
    --f-accent: #bcc6fd;

    position: relative;
    overflow: hidden;
    margin-top: 40px;
    background:
            radial-gradient(800px 320px at 12% 0%, rgba(165, 180, 252, 0.13), transparent 70%),
            radial-gradient(700px 360px at 95% 110%, rgba(165, 180, 252, 0.09), transparent 70%),
            var(--f-bg);
    color: var(--f-text);
    font-family: 'Manrope', sans-serif;
}

/* светящаяся линия по верхнему краю вместо обычной рамки */
.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
    transparent 0%,
    rgba(165, 180, 252, 0.15) 20%,
    rgba(165, 180, 252, 0.7) 50%,
    rgba(165, 180, 252, 0.15) 80%,
    transparent 100%);
}

.site-footer__inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 32px 28px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 56px;
    align-items: start;
}

/* ===== Карточка студии ===== */

.footer-studio {
    position: relative;
    padding: 28px;
    border: 1px solid transparent;
    border-radius: 22px;
    /* градиентная рамка: внутренний фон + градиент по краю */
    background:
            linear-gradient(160deg, #1b1f28, #161920) padding-box,
            linear-gradient(140deg, rgba(165, 180, 252, 0.55), rgba(255, 255, 255, 0.06) 45%, rgba(165, 180, 252, 0.25)) border-box;
    box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* мягкое свечение в углу карточки */
.footer-studio::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(165, 180, 252, 0.22), transparent 70%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0.6;
}

.footer-studio:hover {
    transform: translateY(-3px);
    box-shadow: 0 28px 56px -26px rgba(165, 180, 252, 0.35);
}

.footer-studio:hover::after {
    opacity: 1;
}

.footer-studio__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--f-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* маленькая светящаяся точка перед подписью */
.footer-studio__label::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--f-accent);
    box-shadow: 0 0 10px var(--f-accent);
}

.footer-studio__name {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--f-text);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-studio__name:hover {
    color: var(--f-accent);
}

.footer-studio__text {
    margin: 0 0 22px;
    color: var(--f-text-soft);
    font-size: 15px;
    line-height: 1.6;
}

/* «Заказать сайт» — кнопка-таблетка */
.footer-studio__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #c9d1ff, #a5b4fc);
    color: #0f1115;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 24px -12px rgba(165, 180, 252, 0.8);
    transition: gap 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.footer-studio__link:hover {
    gap: 12px;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px -12px rgba(165, 180, 252, 0.9);
}

/* ===== Колонки ссылок ===== */

.footer-col__title {
    margin: 0 0 20px;
    color: var(--f-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-col li + li {
    margin-top: 10px;
}

/* при наведении слева выезжает короткая линия, текст сдвигается */
.footer-col a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--f-text-soft);
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.25s ease;
}

.footer-col a::before {
    content: "";
    position: absolute;
    left: -16px;
    width: 10px;
    height: 1px;
    background: var(--f-accent);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-col a:hover {
    color: var(--f-accent);
    transform: translateX(14px);
}

.footer-col a:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

/* ===== Большая полупрозрачная надпись ===== */

.site-footer__wordmark {
    margin: 72px 0 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 11vw, 168px);
    font-weight: 600;
    line-height: 0.85;
    letter-spacing: -0.03em;
    white-space: nowrap;
    background: linear-gradient(180deg,
    rgba(213, 220, 255, 0.32) 0%,
    rgba(165, 180, 252, 0.12) 55%,
    rgba(165, 180, 252, 0) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    user-select: none;
}

/* ===== Нижняя строка ===== */

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--f-line);
    color: var(--f-muted);
    font-size: 13px;
}

/* «Наверх» — компактная кнопка */
.site-footer__up {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid var(--f-line);
    border-radius: 999px;
    background: var(--f-card);
    color: var(--f-text-soft);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-footer__up:hover {
    color: var(--f-accent);
    border-color: rgba(165, 180, 252, 0.45);
    background: rgba(165, 180, 252, 0.08);
    transform: translateY(-2px);
}

.site-footer a:focus-visible {
    outline: 2px solid var(--f-accent);
    outline-offset: 3px;
    border-radius: 6px;
}

.footer-studio__link:focus-visible,
.site-footer__up:focus-visible {
    border-radius: 999px;
}

/* ===== Планшет ===== */

@media (max-width: 900px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-studio {
        grid-column: 1 / -1;
    }
}

/* ===== Телефон ===== */

@media (max-width: 600px) {
    .site-footer__inner {
        padding: 56px 20px 24px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-studio {
        padding: 22px;
    }

    .footer-studio__name {
        font-size: 24px;
    }

    .site-footer__wordmark {
        margin-top: 48px;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== Для тех, кто отключил анимации в системе ===== */

@media (prefers-reduced-motion: reduce) {
    .footer-studio,
    .footer-studio__link,
    .footer-col a,
    .footer-col a::before,
    .site-footer__up {
        transition: none;
    }

    .footer-studio:hover,
    .footer-studio__link:hover,
    .footer-col a:hover,
    .site-footer__up:hover {
        transform: none;
    }
}