.public-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 72px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    background: rgba(4, 18, 25, .97);
    backdrop-filter: blur(14px);
    transition: background .2s ease, box-shadow .2s ease;
}
.public-header.scrolled { background: rgba(4, 18, 25, .99); box-shadow: 0 5px 24px rgba(0, 0, 0, .2); }
.public-header .nav-container { display: flex; width: 92%; max-width: 1240px; align-items: center; justify-content: space-between; margin: 0 auto; }
.public-header .logo-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; text-decoration: none; }
.public-header .logo-img { width: 39px; height: 39px; }
.public-header .logo-txt { color: #fff; font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 1.28rem; font-weight: 800; letter-spacing: 0; }
.public-header .logo-txt span { color: #00bfa5; }
.public-header .nav-menu { display: flex; position: static; width: auto; height: auto; align-items: center; gap: 1.25rem; padding: 0; background: transparent; box-shadow: none; transform: none; }
.public-header .nav-link { position: relative; padding: 25px 0 22px; color: rgba(255, 255, 255, .72); font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: .82rem; font-weight: 650; letter-spacing: 0; text-decoration: none; white-space: nowrap; }
.public-header .nav-link:hover,
.public-header .nav-link.active { color: #fff; }
.public-header .nav-link.active::after { position: absolute; right: 0; bottom: 15px; left: 0; height: 2px; background: #00bfa5; content: ''; }
.public-header .nav-actions { display: flex; flex: 0 0 auto; align-items: center; gap: .8rem; }
.public-header .public-lms-link { display: inline-flex; min-height: 38px; align-items: center; padding: 8px 16px; border: 1px solid #00bfa5; border-radius: 999px; color: #5eead4; font-size: .8rem; font-weight: 750; text-decoration: none; }
.public-header .burger-menu { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.public-header .burger-line { display: block; width: 23px; height: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.public-header .burger-menu.active .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.public-header .burger-menu.active .burger-line:nth-child(2) { opacity: 0; }
.public-header .burger-menu.active .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.public-menu-open { overflow: hidden; }

.public-footer { background: #040d1a; padding: 4rem 0 1.5rem; color: rgba(255, 255, 255, .5); font-size: .87rem; }
.public-footer .foot-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.4fr; gap: 3.5rem; margin-bottom: 3rem; }
.public-footer .footer-brand-link { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.public-footer .footer-brand-link > span { display: grid; }
.public-footer .footer-brand-link strong { color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.15rem; }
.public-footer .footer-brand-link strong span { color: #00bfa5; }
.public-footer .footer-brand-link small { color: rgba(255, 255, 255, .34); font-size: .48rem; letter-spacing: .08em; text-transform: uppercase; }
.public-footer .foot-h { margin: 0 0 1.2rem; color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: .88rem; }
.public-footer .foot-links,
.public-footer .foot-contacts { display: grid; gap: .65rem; padding: 0; margin: 0; list-style: none; }
.public-footer .foot-link,
.public-footer .foot-ci a { color: rgba(255, 255, 255, .5); text-decoration: none; }
.public-footer .foot-link:hover,
.public-footer .foot-ci a:hover { color: #00bfa5; }
.public-footer .foot-ci { display: flex; align-items: flex-start; gap: .6rem; }
.public-footer .footer-contact-icon { color: #00bfa5; font-size: .5rem; line-height: 2.2; }
.public-footer .social-row { display: flex; gap: 9px; margin-top: 1.1rem; }
.public-footer .soc-btn { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255, 255, 255, .08); border-radius: 6px; background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .62); font-size: .66rem; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.public-footer .foot-div { border: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.public-footer .foot-btm { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.3rem; }
.public-footer .foot-btm > div { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.public-footer .foot-btm a { color: rgba(255, 255, 255, .42); text-decoration: none; }

@media (max-width: 1080px) {
    .public-header .nav-menu { gap: .85rem; }
    .public-header .nav-link { font-size: .76rem; }
    .public-header .public-lms-link { display: none; }
}
@media (max-width: 820px) {
    .public-header { height: 64px; }
    .public-header .burger-menu { display: flex; }
    .public-header .nav-menu { position: fixed; z-index: 1001; top: 64px; right: 0; display: flex; width: min(340px, 86vw); height: calc(100vh - 64px); align-items: stretch; flex-direction: column; gap: 0; padding: 1.25rem; background: #071b28; box-shadow: -16px 20px 40px rgba(0, 0, 0, .3); transform: translateX(105%); transition: transform .24s ease; }
    .public-header .nav-menu.active { transform: translateX(0); }
    .public-header .nav-link { padding: 1rem .6rem; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: .94rem; }
    .public-header .nav-link.active::after { top: .85rem; right: auto; bottom: .85rem; left: 0; width: 2px; height: auto; }
    .public-footer .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}
@media (max-width: 560px) {
    .public-footer .foot-grid { grid-template-columns: 1fr; }
    .public-footer .foot-btm { align-items: flex-start; flex-direction: column; }
}
