/* KPT Production — single global footer system. */
.kpt-footer {
    margin-top: clamp(32px, 5vw, 64px);
    padding: clamp(28px, 4vw, 44px) 0 0;
    background: linear-gradient(155deg, #0b1024 0%, #070b1a 100%);
    border-top: 1px solid rgba(141,164,255,.18);
    overflow: hidden;
}
.kpt-footer__row {
    display: grid;
    grid-template-columns: minmax(220px, .72fr) minmax(0, 2fr);
    align-items: start;
    gap: clamp(24px, 5vw, 72px);
    padding-block: 0 clamp(24px, 3vw, 34px);
}
.kpt-footer__brand-cell { min-width: 0; }
.kpt-footer__brand-name {
    display: block;
    font-family: var(--kpt-font-display);
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .02em;
    color: var(--kpt-text-primary);
    background: linear-gradient(100deg, #f5f7ff 5%, #8fbaff 48%, #b694ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.kpt-footer__brand-desc {
    max-width: 34ch;
    margin: 8px 0 0;
    color: var(--kpt-text-muted);
    font-size: clamp(12px, 1.15vw, 14px);
    line-height: 1.55;
}
.kpt-footer__navigation { min-width: 0; }
.kpt-footer__nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(5px, .8vw, 12px);
    width: 100%;
    min-width: 0;
}
.kpt-footer__nav-card {
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    justify-content: center;
    min-width: max-content;
    min-height: 38px;
    padding: 7px clamp(7px, .85vw, 13px);
    border: 1px solid rgba(141,164,255,.16);
    border-radius: 999px;
    color: var(--kpt-text-secondary);
    background: rgba(20,29,63,.72);
    font-size: clamp(11px, .92vw, 14px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: .01em;
    white-space: nowrap;
    overflow: visible;
    transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.kpt-footer__nav-card:hover {
    color: #d5c9ff;
    border-color: rgba(134,84,221,.66);
    background: rgba(47,52,112,.76);
    transform: translateY(-2px);
    box-shadow: 0 7px 22px rgba(78,54,170,.24);
}
.kpt-footer__nav-card.is-active {
    color: #fff;
    background: var(--kpt-gradient-accent);
    border-color: transparent;
    box-shadow: 0 5px 22px rgba(86,74,205,.34);
}
.kpt-footer__socials {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    margin-top: 16px;
    min-height: 38px;
}
.kpt-footer__socials .kpt-social-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
}
.kpt-footer__socials .kpt-social-icon--youtube { color: #ff6b6b; }
.kpt-footer__socials .kpt-social-icon--facebook { color: #70a7ff; }
.kpt-footer__socials .kpt-social-icon--instagram { color: #ed83b0; }
.kpt-footer__socials .kpt-social-icon--tiktok { color: #71e9ed; }
.kpt-footer__socials .kpt-social-icon--twitter { color: #e9efff; }
.kpt-footer__socials .kpt-social-icon--threads { color: #e7e9f5; }
.kpt-footer__socials .kpt-social-icon--pinterest { color: #ff7f91; }
.kpt-footer__socials .kpt-social-icon--whatsapp { color: #6be6a0; }
.kpt-footer__socials .kpt-social-icon--email { color: #c0a8ff; }
.kpt-footer__socials .kpt-social-icon--phone { color: #8fbeff; }
.kpt-footer__socials .kpt-social-icon:hover {
    color: #fff;
    background: var(--kpt-gradient-accent);
    border-color: rgba(255,255,255,.28);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 7px 20px rgba(86,54,181,.32);
}
.kpt-footer__legal-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 58px;
    padding: 15px var(--kpt-container-pad) calc(15px + var(--kpt-safe-bottom));
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(141,164,255,.24), transparent) 1;
    color: var(--kpt-text-muted);
    font-size: clamp(11px, 1vw, 13px);
    line-height: 1.5;
    text-align: center;
}
.kpt-footer__copy { color: var(--kpt-text-primary); font-weight: 600; }
.kpt-footer__sep { color: rgba(141,164,255,.46); user-select: none; }
.kpt-footer__legal-link { color: var(--kpt-text-muted); white-space: nowrap; transition: color .2s ease; }
.kpt-footer__legal-link:hover { color: #c8b2ff; }

@media (max-width: 1260px) and (min-width: 961px) {
    .kpt-footer__row { gap: 24px; }
    .kpt-footer__nav { gap: 4px; }
    .kpt-footer__nav-card { padding-inline: 7px; font-size: 12px; }
}
@media (max-width: 960px) and (min-width: 721px) {
    .kpt-footer__row { grid-template-columns: 190px minmax(0, 1fr); gap: 24px; }
    .kpt-footer__nav { gap: 4px; }
    .kpt-footer__nav-card { padding-inline: 6px; font-size: 11px; }
}
@media (max-width: 720px) {
    .kpt-footer__row { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
    .kpt-footer__brand-desc { margin-inline: auto; }
    .kpt-footer__navigation { width: 100%; }
    .kpt-footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .kpt-footer__nav-card { width: 100%; min-width: 0; padding-inline: 4px; }
    .kpt-footer__socials { justify-content: center; flex-wrap: wrap; margin-top: 14px; }
}
@media (max-width: 390px) {
    .kpt-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    .kpt-footer__nav-card:hover, .kpt-footer__socials .kpt-social-icon:hover { transform: none; }
}
