/* PUBLIC LAYOUT */

:root {
    --c-bg: #f5f3ef;
    --c-surface: #ffffff;
    --c-border: #e0dbd3;
    --c-text: #18170f;
    --c-text-muted: #7b7469;
    --c-accent: #7c3cff;
    --c-accent-dim: #eef2ff;
    --c-accent-hover: #4f46e5;
    --c-danger: #8b2635;
    --c-danger-dim: #f5e8ea;
    --c-header-bg: #050505;
    --c-header-ink: #ffffff;
    --c-header-ink-soft: rgba(255, 255, 255, 0.72);
    --c-header-border: rgba(255, 255, 255, 0.10);
    --c-footer-bg: #050505;
    --c-footer-text: rgba(248, 250, 252, 0.94);
    --c-footer-text-soft: rgba(226, 232, 240, 0.84);
    --c-sky-bg: #050505;
    --c-sky-moon: #fdfbd3;
    --font-serif: 'Roboto', Arial, Helvetica, sans-serif;
    --font-sans: 'Roboto', Arial, Helvetica, sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --dur: 0.22s;
    --radius-s: 6px;
    --radius-m: 10px;
    --radius-l: 16px;
    --shadow-card: 0 2px 16px rgba(24, 23, 15, 0.07);
    --shadow-lift: 0 8px 32px rgba(24, 23, 15, 0.12);
    --shadow-glass: 0 18px 52px rgba(15, 23, 42, 0.14);
    --shadow-glass-soft: 0 12px 34px rgba(15, 23, 42, 0.11);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background: var(--c-bg);
    color: var(--c-text);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

/* MIDNIGHT SKY */
.pl-night-sky {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.pl-night-sky__canvas {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% -10%, rgba(99, 102, 241, 0.18), transparent 28%), radial-gradient(circle at 82% 0%, rgba(34, 211, 238, 0.12), transparent 24%), linear-gradient(180deg, var(--c-sky-bg) 0%, #030308 100%);
}

.pl-night-sky__stars {
    position: absolute;
    inset: 0;
    background-repeat: repeat;
    pointer-events: none;
}

.pl-night-sky__stars--1 {
    background-image: radial-gradient(1px 1px at 10% 10%, #fff, transparent), radial-gradient(1px 1px at 30% 20%, #fff, transparent), radial-gradient(1px 1px at 50% 50%, #fff, transparent), radial-gradient(1px 1px at 70% 30%, #fff, transparent), radial-gradient(1px 1px at 90% 10%, #fff, transparent);
    background-size: 200px 200px;
    animation: pl-twinkle 3s ease-in-out infinite;
}

.pl-night-sky__stars--2 {
    background-image: radial-gradient(1.5px 1.5px at 20% 40%, #fff, transparent), radial-gradient(1.5px 1.5px at 60% 85%, #fff, transparent), radial-gradient(1.5px 1.5px at 85% 65%, #fff, transparent);
    background-size: 300px 300px;
    animation: pl-twinkle 5s ease-in-out infinite 1s;
}

.pl-night-sky__stars--3 {
    background-image: radial-gradient(2px 2px at 40% 70%, #fff, transparent), radial-gradient(2px 2px at 10% 80%, #fff, transparent), radial-gradient(2px 2px at 80% 40%, #fff, transparent);
    background-size: 400px 400px;
    animation: pl-twinkle 7s ease-in-out infinite 2s;
}

.pl-night-sky__meteor {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.5);
    opacity: 0;
}

    .pl-night-sky__meteor::after {
        content: '';
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 80px;
        height: 1px;
        background: linear-gradient(90deg, #fff, transparent);
    }

.pl-night-sky__meteor--1 {
    top: 10%;
    left: 110%;
    animation: pl-shoot 8s linear infinite;
}

.pl-night-sky__meteor--2 {
    top: 30%;
    left: 110%;
    animation: pl-shoot 12s linear infinite 4s;
}

.pl-night-sky__meteor--3 {
    top: 50%;
    left: 110%;
    animation: pl-shoot 10s linear infinite 2s;
}

.pl-night-sky__moon {
    position: absolute;
    border-radius: 50%;
    background: transparent;
    z-index: 0;
}

.pl-night-sky--header .pl-night-sky__moon {
    top: 12%;
    right: 7%;
    width: 34px;
    height: 34px;
    box-shadow: 7px 7px 0 0 var(--c-sky-moon);
    filter: drop-shadow(0 0 12px rgba(253, 251, 211, 0.35));
}

.pl-night-sky--footer .pl-night-sky__moon {
    top: 14%;
    right: 11%;
    width: 80px;
    height: 80px;
    box-shadow: 15px 15px 0 0 var(--c-sky-moon);
    filter: drop-shadow(0 0 15px rgba(253, 251, 211, 0.4));
}

@keyframes pl-twinkle {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

@keyframes pl-shoot {
    0% {
        transform: translateX(0) translateY(0) rotate(-35deg);
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    15% {
        transform: translateX(-1500px) translateY(1000px) rotate(-35deg);
        opacity: 0;
    }

    100% {
        transform: translateX(-1500px) translateY(1000px) rotate(-35deg);
        opacity: 0;
    }
}

/* HEADER */
.pl-header {
    position: sticky;
    top: 0;
    z-index: 200;
    padding: 0;
    background: var(--c-header-bg);
    border-bottom: 1px solid var(--c-header-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
    animation: hdr-in 0.5s var(--ease) both;
    overflow: visible;
    isolation: isolate;
}

    .pl-header.is-scrolled {
        border-bottom-color: rgba(255, 255, 255, 0.14);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    }

@keyframes hdr-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pl-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 36px;
    min-height: 66px;
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 1;
}

    .pl-header__inner > * {
        position: relative;
        z-index: 1;
    }

.pl-header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity var(--dur) var(--ease);
}

    .pl-header__logo:hover {
        opacity: 0.82;
    }

.pl-header__logo-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--c-accent), #22d3ee);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: var(--radius-s);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 22px rgba(79, 70, 229, 0.22);
}

    .pl-header__logo-icon svg {
        width: 17px;
        height: 17px;
        stroke: #fff;
    }

.pl-header__logo-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--c-header-ink);
    letter-spacing: 0.01em;
    line-height: 1;
}

.pl-header__nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
}

.pl-header__greeting {
    font-size: 13px;
    color: var(--c-header-ink-soft);
}

    .pl-header__greeting strong {
        color: var(--c-header-ink);
        font-weight: 500;
    }

.pl-header__divider {
    width: 1px;
    height: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
}

.pl-header__form {
    margin: 0;
}

.pl-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: var(--radius-s);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    line-height: 1;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform 0.12s var(--ease);
    white-space: nowrap;
}

    .pl-btn svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }

    .pl-btn:active {
        transform: scale(0.96);
    }

.pl-btn--primary {
    background: var(--c-accent);
    color: #fff;
    border-color: var(--c-accent);
}

    .pl-btn--primary:hover {
        background: var(--c-accent-hover);
        border-color: var(--c-accent-hover);
        box-shadow: 0 2px 14px rgba(124, 60, 255, 0.35);
        color: #fff;
    }

.pl-btn--outline {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.24);
}

    .pl-btn--outline:hover {
        background: rgba(255, 255, 255, 0.10);
        border-color: rgba(255, 255, 255, 0.34);
        color: #fff;
    }

.pl-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    margin-left: auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-s);
    cursor: pointer;
    padding: 0;
}

    .pl-header__burger span {
        display: block;
        width: 18px;
        height: 1.5px;
        background: #fff;
        border-radius: 2px;
        transition: transform 0.25s var(--ease), opacity 0.2s;
    }

    .pl-header__burger.is-open span:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }

    .pl-header__burger.is-open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .pl-header__burger.is-open span:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }

/* MAIN */
.pl-main {
    min-height: calc(100vh - 66px);
}

/* FOOTER */
.pl-footer {
/*    margin-top: 72px;*/
    margin-top: 0px;
    position: relative;
    overflow: hidden;
    padding: 0;
    isolation: isolate;
    background: var(--c-footer-bg);
}

.pl-footer__top {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    padding: 44px 0 28px;
    background: transparent;
    z-index: 1;
}

.pl-footer__grid,
.pl-footer__bottom-inner {
    position: relative;
    z-index: 1;
}

.pl-footer__grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 0.92fr));
    gap: 28px;
    align-items: start;
}

.pl-footer__col {
    display: flex;
    flex-direction: column;
    min-width: 0;
    align-self: start;
}

.pl-footer__col--brand {
    min-width: 0;
}

.pl-footer__col--links {
    padding-top: 0;
}

.pl-footer__head {
    min-height: 44px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.pl-footer__body {
    display: flex;
    flex-direction: column;
}

.pl-footer__brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 0;
}

.pl-footer__brand-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-s);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .pl-footer__brand-icon svg {
        width: 15px;
        height: 15px;
        stroke: rgba(255, 255, 255, 0.92);
    }

.pl-footer__brand-logo span:last-child {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--c-footer-text);
    letter-spacing: 0.01em;
    line-height: 1.1;
}

.pl-footer__brand-desc {
    margin: 0 0 16px;
    font-size: 14.5px;
    color: var(--c-footer-text-soft);
    line-height: 1.62;
    max-width: 300px;
}

.pl-footer__contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0;
    padding: 0;
}

    .pl-footer__contact li {
        display: flex;
        align-items: flex-start;
        gap: 9px;
        min-height: 24px;
        font-size: 14px;
        line-height: 1.55;
        color: var(--c-footer-text);
    }

        .pl-footer__contact li svg {
            width: 14px;
            height: 14px;
            flex-shrink: 0;
            margin-top: 2px;
            stroke: rgba(255, 255, 255, 0.76);
        }

.pl-footer__col-title {
    margin: 0;
    min-height: 18px;
    display: flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.82);
    line-height: 1.3;
    font-family: var(--font-sans);
}

.pl-footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
}

    .pl-footer__links li,
    .pl-footer__links--muted li {
        display: flex;
        align-items: flex-start;
        min-height: 24px;
        line-height: 1.55;
    }

        .pl-footer__links li a {
            font-size: 14px;
            color: var(--c-footer-text);
            text-decoration: none;
            transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
            display: inline-block;
        }

            .pl-footer__links li a:hover {
                color: #c4f5ff;
                padding-left: 4px;
            }

        .pl-footer__links--muted li span {
            font-size: 14px;
            color: rgba(226, 232, 240, 0.78);
            cursor: default;
        }

/* SOCIAL LINKS */
.pl-footer__social-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
}

    .pl-footer__social-list li {
        display: flex;
        align-items: flex-start;
        min-height: 24px;
    }

.pl-footer__social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--c-footer-text);
    font-size: 14px;
    line-height: 1.55;
    transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

    .pl-footer__social-link:hover {
        color: #c4f5ff;
        transform: translateX(2px);
    }

.pl-footer__social-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(248, 250, 252, 0.96);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.pl-footer__social-link:hover .pl-footer__social-icon {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(196, 245, 255, 0.30);
    transform: scale(1.04);
}

.pl-footer__social-icon svg {
    width: 12px;
    height: 12px;
    display: block;
}

.pl-footer__bottom {
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    background: transparent;
    position: relative;
    z-index: 1;
}

.pl-footer__bottom-inner {
    padding: 12px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    color: rgba(248, 250, 252, 0.88);
    letter-spacing: 0.04em;
    text-align: center;
}

/* FLOATING CONTACT */
.pl-floating-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 320;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
    overflow: visible;
}

.pl-floating-contact__panel,
.pl-floating-contact__toggle,
.pl-floating-contact__scrolltop {
    pointer-events: auto;
}

.pl-floating-contact__panel {
    width: min(288px, calc(100vw - 36px));
    padding: 10px;
    border-radius: 24px;
    background: rgba(8, 12, 31, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 42px rgba(3, 7, 18, 0.26);
    transform-origin: bottom right;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
}

.pl-floating-contact:not(.is-open) .pl-floating-contact__panel {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.97);
}

.pl-floating-contact__item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    min-height: 68px;
    border: 0;
    border-radius: 18px;
    text-decoration: none;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 24px rgba(7, 11, 28, 0.14);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), filter var(--dur) var(--ease);
}

.pl-floating-contact__item + .pl-floating-contact__item {
    margin-top: 8px;
}

.pl-floating-contact__item:hover {
    transform: translateY(-1px);
    filter: saturate(1.03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 14px 30px rgba(7, 11, 28, 0.18);
    color: #ffffff;
}

.pl-floating-contact__item--zalo {
    background: linear-gradient(135deg, #0f77ff 0%, #1ea7ff 100%);
}

.pl-floating-contact__item--phone {
    background: linear-gradient(135deg, #11a661 0%, #20c46f 100%);
}

.pl-floating-contact__item--ai {
    background: linear-gradient(135deg, #2d6cff 0%, #5b48ff 100%);
}

.pl-floating-contact__item-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.pl-floating-contact__item-icon svg {
    width: 18px;
    height: 18px;
}

.pl-floating-contact__item-icon--ai svg {
    width: 19px;
    height: 19px;
}

.pl-floating-contact__item-icon--zalo {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.pl-floating-contact__item-icon-label {
    font-size: 15px;
    line-height: 1;
}

.pl-floating-contact__item-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pl-floating-contact__item-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.28;
}

.pl-floating-contact__item-meta {
    font-size: 12.5px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.88);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pl-floating-contact__tools {
    --pl-fab-size: 54px;
    --pl-fab-gap: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: var(--pl-fab-gap);
    width: var(--pl-fab-size);
    overflow: visible;
}

.pl-floating-contact__toggle,
.pl-floating-contact__scrolltop {
    position: relative;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: var(--pl-fab-size);
    height: var(--pl-fab-size);
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    color: #ffffff;
    background:
        radial-gradient(circle at 30% 28%, rgba(155, 173, 255, 0.22), transparent 48%),
        linear-gradient(150deg, rgba(16, 23, 58, 0.82), rgba(42, 30, 82, 0.78));
    border: 1px solid rgba(171, 187, 255, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 14px 28px rgba(8, 12, 30, 0.22),
        0 0 20px rgba(86, 106, 255, 0.12);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.pl-floating-contact__toggle {
    order: 1;
}

.pl-floating-contact__toggle svg,
.pl-floating-contact__scrolltop svg {
    width: 22px;
    height: 22px;
}

.pl-floating-contact__toggle:hover,
.pl-floating-contact__scrolltop:hover {
    transform: translateY(-2px) scale(1.01);
    border-color: rgba(195, 209, 255, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.11),
        0 18px 34px rgba(10, 15, 38, 0.26),
        0 0 26px rgba(103, 123, 255, 0.16);
    background:
        radial-gradient(circle at 30% 28%, rgba(181, 197, 255, 0.28), transparent 50%),
        linear-gradient(150deg, rgba(24, 33, 79, 0.92), rgba(57, 39, 110, 0.88));
}

.pl-floating-contact__scrolltop {
    order: 2;
    display: none;
}

.pl-floating-contact__scrolltop.is-visible {
    display: inline-flex;
}
/* AI CHAT POPUP */
.pl-ai-chat {
    position: fixed;
    right: 20px;
    bottom: 92px;
    z-index: 340;
    width: min(390px, calc(100vw - 36px));
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.97);
    transform-origin: bottom right;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
    pointer-events: none;
}

    .pl-ai-chat.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

.pl-ai-chat__card {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(8, 12, 31, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.pl-ai-chat__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    background: linear-gradient(135deg, #2d6cff 0%, #5b48ff 100%);
    color: #ffffff;
}

.pl-ai-chat__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.pl-ai-chat__avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

    .pl-ai-chat__avatar svg {
        width: 22px;
        height: 22px;
        display: block;
    }

.pl-ai-chat__title {
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.2;
}

.pl-ai-chat__status {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.86);
}

    .pl-ai-chat__status span {
        width: 7px;
        height: 7px;
        border-radius: 999px;
        background: #22c55e;
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
    }

.pl-ai-chat__close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

    .pl-ai-chat__close:hover {
        transform: scale(1.04);
        background: rgba(255, 255, 255, 0.22);
    }

.pl-ai-chat__messages {
    height: 330px;
    overflow-y: auto;
    padding: 16px;
    background: radial-gradient(circle at top left, rgba(45, 108, 255, 0.14), transparent 35%), rgba(5, 9, 24, 0.92);
}

.pl-ai-chat__message {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 12px;
}

.pl-ai-chat__message--bot {
    justify-content: flex-start;
    align-items: flex-start;
}

.pl-ai-chat__message--user {
    justify-content: flex-end;
}
.pl-ai-chat__message-avatar {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #dbeafe;
    background: linear-gradient(135deg, rgba(45, 108, 255, 0.22) 0%, rgba(91, 72, 255, 0.24) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
    flex-shrink: 0;
    margin-top: 2px;
}

    .pl-ai-chat__message-avatar svg {
        width: 18px;
        height: 18px;
        display: block;
    }

.pl-ai-chat__message--user .pl-ai-chat__message-avatar {
    display: none;
}
.pl-ai-chat__message--user {
    justify-content: flex-end;
}

.pl-ai-chat__message--bot {
    justify-content: flex-start;
}

.pl-ai-chat__bubble {
    max-width: 84%;
    margin: 0;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.65;
    text-align: left;
    white-space: pre-line;
    word-break: break-word;
    overflow-wrap: break-word;
}
.pl-ai-chat__message--bot .pl-ai-chat__bubble {
    color: #e5e7eb;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-top-left-radius: 6px;
}

.pl-ai-chat__message--user .pl-ai-chat__bubble {
    color: #ffffff;
    background: linear-gradient(135deg, #2d6cff 0%, #5b48ff 100%);
    border-top-right-radius: 6px;
}

.pl-ai-chat__bubble.is-loading {
    color: rgba(255, 255, 255, 0.68);
    font-style: italic;
}

.pl-ai-chat__suggestions {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    overflow-x: auto;
    background: rgba(8, 12, 31, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

    .pl-ai-chat__suggestions button {
        flex: 0 0 auto;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 999px;
        padding: 7px 10px;
        color: rgba(255, 255, 255, 0.9);
        background: rgba(255, 255, 255, 0.08);
        font-size: 12.5px;
        font-weight: 700;
        cursor: pointer;
        transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
    }

        .pl-ai-chat__suggestions button:hover {
            transform: translateY(-1px);
            background: rgba(255, 255, 255, 0.14);
        }

.pl-ai-chat__form {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: rgba(8, 12, 31, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pl-ai-chat__input {
    flex: 1;
    min-height: 44px;
    max-height: 90px;
    resize: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 15px;
    padding: 10px 12px;
    outline: none;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    font-size: 13.5px;
    font-weight: 600;
}

    .pl-ai-chat__input::placeholder {
        color: rgba(255, 255, 255, 0.55);
    }

    .pl-ai-chat__input:focus {
        border-color: rgba(96, 165, 250, 0.82);
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
    }

.pl-ai-chat__send {
    border: 0;
    border-radius: 15px;
    padding: 0 16px;
    color: #ffffff;
    background: linear-gradient(135deg, #2d6cff 0%, #5b48ff 100%);
    font-weight: 900;
    cursor: pointer;
    transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

    .pl-ai-chat__send:hover {
        transform: translateY(-1px);
        filter: saturate(1.08);
    }

    .pl-ai-chat__send:disabled,
    .pl-ai-chat__input:disabled {
        opacity: 0.65;
        cursor: not-allowed;
    }

@media (max-width: 768px) {
    .pl-ai-chat {
        right: 14px;
        bottom: 86px;
        width: calc(100vw - 28px);
    }

    .pl-ai-chat__messages {
        height: 310px;
    }

    .pl-ai-chat__bubble {
        max-width: 90%;
    }
}
/* FADE UP */
.js-fade {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

    .js-fade.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .pl-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 24px;
        padding: 0 24px;
    }

    .pl-footer__col--brand {
        grid-column: 1 / -1;
    }

    .pl-footer__brand-desc {
        max-width: 100%;
    }

    .pl-footer__top,
    .pl-footer__bottom {
        max-width: 980px;
    }

    .pl-floating-contact {
        right: 18px;
        bottom: 18px;
    }

    .pl-floating-contact__panel {
        width: min(276px, calc(100vw - 32px));
    }
}

@media (max-width: 768px) {
    .pl-header__inner {
        padding: 0 20px;
        min-height: 62px;
    }

    .pl-header__burger {
        display: flex;
    }

    .pl-header__nav {
        display: none;
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        background: radial-gradient(circle at 18% 0%, rgba(99, 102, 241, 0.10), transparent 28%), radial-gradient(circle at 82% 0%, rgba(34, 211, 238, 0.08), transparent 24%), linear-gradient(180deg, rgba(5, 5, 5, 0.98), rgba(3, 3, 8, 0.98));
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
        animation: nav-drop 0.25s var(--ease);
    }

    @keyframes nav-drop {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .pl-header__nav.is-open {
        display: flex;
    }

    .pl-header__divider {
        display: none;
    }

    .pl-header__greeting {
        font-size: 14px;
    }

    .pl-footer {
        margin-top: 48px;
    }

    .pl-footer__top {
        padding: 34px 0 24px;
    }

    .pl-footer__grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 20px;
    }

    .pl-footer__col--brand {
        grid-column: auto;
    }

    .pl-footer__head {
        min-height: auto;
    }

    .pl-footer__brand-logo span:last-child {
        font-size: 1.28rem;
    }

    .pl-footer__brand-desc,
    .pl-footer__contact li,
    .pl-footer__links li a,
    .pl-footer__links--muted li span,
    .pl-footer__social-link {
        font-size: 14px;
    }

    .pl-footer__social-link {
        gap: 9px;
    }

    .pl-footer__social-icon {
        width: 22px;
        height: 22px;
        min-width: 22px;
    }

        .pl-footer__social-icon svg {
            width: 11px;
            height: 11px;
        }

    .pl-footer__brand-desc {
        margin-bottom: 16px;
        line-height: 1.6;
    }

    .pl-footer__col-title {
        margin: 0;
    }

    .pl-footer__bottom-inner {
        padding: 11px 20px;
        font-size: 12px;
    }

    .pl-floating-contact {
        right: 12px;
        bottom: 14px;
        gap: 10px;
    }

    .pl-floating-contact__panel {
        width: min(272px, calc(100vw - 24px));
        padding: 9px;
        border-radius: 22px;
    }

    .pl-floating-contact__item {
        gap: 10px;
        min-height: 62px;
        padding: 11px 12px;
        border-radius: 16px;
    }

    .pl-floating-contact__item-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .pl-floating-contact__item-icon svg {
        width: 17px;
        height: 17px;
    }

    .pl-floating-contact__item-title {
        font-size: 14px;
    }

    .pl-floating-contact__item-meta {
        font-size: 12px;
    }

    .pl-floating-contact__tools {
        --pl-fab-size: 50px;
        --pl-fab-gap: 9px;
    }

    .pl-night-sky--header .pl-night-sky__moon {
        width: 26px;
        height: 26px;
        box-shadow: 6px 6px 0 0 var(--c-sky-moon);
    }

    .pl-night-sky--footer .pl-night-sky__moon {
        top: 10%;
        right: 8%;
        width: 56px;
        height: 56px;
        box-shadow: 11px 11px 0 0 var(--c-sky-moon);
    }
}
