/**
 * Стили кастомной шапки и футера - Архыз
 *
 * @package Arkhyz
 */

/* ==========================================================================
   New Site Header (Wild Ride Style)
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.site-header.scrolled,
.site-header:not(.site-header--transparent) {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 14px 0;
}

.site-header__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.site-header.scrolled .site-header__container {
    gap: 10px;
}

/* Site Header Navigation */
.site-header__nav {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header__nav--left {
    justify-content: flex-start;
    gap: 30px;
}

.site-header__nav--right {
    justify-content: flex-end;
}

/* Scrolled: All nav moves right, takes remaining space */
.site-header.scrolled .site-header__nav--left {
    order: 1;
    flex: 1;
    justify-content: flex-end;
}

.site-header.scrolled .site-header__nav--right {
    order: 2;
    flex: 0 0 auto;
}

.site-header__link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

/* Scrolled: Links smaller */
.site-header.scrolled .site-header__link {
    font-size: 0.8125rem;
}

.site-header.scrolled .site-header__link,
.site-header:not(.site-header--transparent) .site-header__link {
    color: #333;
}

.site-header__link:hover {
    color: #F57C00;
}

.site-header.scrolled .site-header__link:hover,
.site-header:not(.site-header--transparent) .site-header__link:hover {
    color: #F57C00;
}

.site-header__link--phone svg {
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled .site-header__link--phone svg {
    width: 14px;
    height: 14px;
}

/* Site Header Icon Buttons */
.site-header__icon-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.site-header__icon-btn svg {
    flex-shrink: 0;
}

.site-header__icon-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.site-header.scrolled .site-header__icon-btn,
.site-header:not(.site-header--transparent) .site-header__icon-btn {
    color: #333;
    background: #f5f5f5;
    border-color: #e0e0e0;
}

.site-header.scrolled .site-header__icon-btn:hover,
.site-header:not(.site-header--transparent) .site-header__icon-btn:hover {
    background: #F57C00;
    border-color: #F57C00;
    color: #fff;
}

/* Scrolled: Icon buttons smaller */
.site-header.scrolled .site-header__icon-btn {
    padding: 8px 12px;
    font-size: 0.8125rem;
}

.site-header.scrolled .site-header__icon-btn svg {
    width: 16px;
    height: 16px;
}

/* Map dropdown */
.site-header__dropdown {
    position: relative;
}

.site-header__dropdown-toggle {
    cursor: pointer;
}

.site-header__dropdown-arrow {
    transition: transform .2s ease;
    margin-left: -2px;
}

.site-header__dropdown.open .site-header__dropdown-arrow {
    transform: rotate(180deg);
}

.site-header__dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .12);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 1000;
}

.site-header__dropdown.open .site-header__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-header__dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: background .15s;
}

.site-header__dropdown-item:hover {
    background: #f5f5f5;
    color: #F57C00;
}

.site-header__dropdown-item svg {
    flex-shrink: 0;
    color: #9ca3af;
}

.site-header__dropdown-item:hover svg {
    color: #F57C00;
}

/* Site Header Logo - Minimal */
.site-header__logo,
.site-header__logo:hover,
.site-header__logo:visited {
    text-decoration: none !important;
    color: #fff !important;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    order: 0;
}

.site-header.scrolled .site-header__logo,
.site-header.scrolled .site-header__logo:hover,
.site-header:not(.site-header--transparent) .site-header__logo,
.site-header:not(.site-header--transparent) .site-header__logo:hover {
    color: #1a1a2e !important;
}

/* Scrolled: Logo moves left, takes minimal space */
.site-header.scrolled .site-header__logo {
    order: -1;
    flex: 0 0 auto;
}

.site-header__logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    transition: font-size 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled: Logo smaller */
.site-header.scrolled .site-header__logo-text {
    font-size: 1.25rem;
}

.site-header__logo-accent {
    color: #F57C00;
    font-weight: 900;
}

/* Site Header CTA */
.site-header__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #F57C00;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
}

.site-header__cta:hover {
    background: #E65100;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 124, 0, 0.4);
}

/* Scrolled: CTA smaller */
.site-header.scrolled .site-header__cta {
    padding: 10px 18px;
    font-size: 0.8125rem;
    gap: 6px;
}

.site-header.scrolled .site-header__cta svg {
    width: 14px;
    height: 14px;
}

/* Site Header Burger */
.site-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
    width: 36px;
    height: 36px;
    padding: 8px;
    background: none;
    border: none;
    border-radius: 0;
    cursor: pointer;
    z-index: 1001;
    box-shadow: none;
}

.site-header__burger span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header__burger span:nth-child(1) { width: 14px; }
.site-header__burger span:nth-child(2) { width: 20px; }
.site-header__burger span:nth-child(3) { width: 11px; }

.site-header.scrolled .site-header__burger span,
.site-header:not(.site-header--transparent) .site-header__burger span {
    background: #1a1a2e;
}

.site-header__burger.active span:nth-child(1) {
    width: 20px;
    transform: rotate(45deg) translate(4px, 4px);
}

.site-header__burger.active span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.site-header__burger.active span:nth-child(3) {
    width: 20px;
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 80px 24px 40px;
    gap: 40px;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.mobile-menu__link {
    display: block;
    padding: 12px 24px;
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.mobile-menu__link:hover {
    color: #F57C00;
}

.mobile-menu__phone {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    color: #fff;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.mobile-menu__phone:hover {
    border-color: #F57C00;
    color: #F57C00;
}

.mobile-menu__cta {
    padding: 18px 48px;
    background: #F57C00;
    color: #fff !important;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.mobile-menu__cta:hover {
    background: #E65100;
}

/* Mobile Menu Icon Buttons */
.mobile-menu__icons {
    display: flex;
    gap: 16px;
}

.mobile-menu__icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 32px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.mobile-menu__icon-btn:hover {
    border-color: #F57C00;
    color: #F57C00;
}

body.menu-open {
    overflow: hidden;
}

/* ==========================================================================
   Legacy Header (arkhyz-header)
   ========================================================================== */

.arkhyz-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.arkhyz-header.scrolled,
.arkhyz-header:not(.arkhyz-header--transparent) {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
}

.arkhyz-header__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Logo */
.arkhyz-header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.arkhyz-header.scrolled .arkhyz-header__logo,
.arkhyz-header:not(.arkhyz-header--transparent) .arkhyz-header__logo {
    color: var(--arkhyz-text);
}

.arkhyz-header__logo-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--arkhyz-primary);
}

.arkhyz-header__logo-icon svg {
    width: 100%;
    height: 100%;
}

.arkhyz-header__logo-text {
    display: flex;
    flex-direction: column;
}

.arkhyz-header__logo-name {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.arkhyz-header__logo-go {
    color: var(--arkhyz-primary);
    position: relative;
}

.arkhyz-header__logo-go::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--arkhyz-primary);
    border-radius: 2px;
}

.arkhyz-header__logo-tagline {
    display: none;
}

/* Navigation */
.arkhyz-header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.arkhyz-header__menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.arkhyz-header__menu li a {
    display: block;
    padding: 10px 18px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.arkhyz-header.scrolled .arkhyz-header__menu li a,
.arkhyz-header:not(.arkhyz-header--transparent) .arkhyz-header__menu li a {
    color: var(--arkhyz-text);
}

.arkhyz-header__menu li a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.arkhyz-header.scrolled .arkhyz-header__menu li a:hover,
.arkhyz-header:not(.arkhyz-header--transparent) .arkhyz-header__menu li a:hover {
    background: var(--arkhyz-bg-light);
    color: var(--arkhyz-primary);
}

/* Header Actions */
.arkhyz-header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.arkhyz-header__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.arkhyz-header.scrolled .arkhyz-header__phone,
.arkhyz-header:not(.arkhyz-header--transparent) .arkhyz-header__phone {
    color: var(--arkhyz-text);
}

.arkhyz-header__phone:hover {
    background: rgba(255, 255, 255, 0.15);
}

.arkhyz-header.scrolled .arkhyz-header__phone:hover,
.arkhyz-header:not(.arkhyz-header--transparent) .arkhyz-header__phone:hover {
    background: var(--arkhyz-bg-light);
    color: var(--arkhyz-primary);
}

.arkhyz-header__cta {
    padding: 12px 24px;
    background: var(--arkhyz-primary);
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
}

.arkhyz-header__cta:hover {
    background: var(--arkhyz-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 124, 0, 0.4);
}

/* Burger Button */
.arkhyz-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.arkhyz-header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.arkhyz-header.scrolled .arkhyz-header__burger span,
.arkhyz-header:not(.arkhyz-header--transparent) .arkhyz-header__burger span {
    background: var(--arkhyz-text);
}

.arkhyz-header__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.arkhyz-header__burger.active span:nth-child(2) {
    opacity: 0;
}

.arkhyz-header__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.arkhyz-mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
}

.arkhyz-mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.arkhyz-mobile-nav__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 80px 24px 40px;
    gap: 32px;
}

.arkhyz-mobile-nav__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.arkhyz-mobile-nav__menu li {
    margin-bottom: 16px;
}

.arkhyz-mobile-nav__menu li a {
    display: block;
    padding: 12px 24px;
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.arkhyz-mobile-nav__menu li a:hover {
    color: var(--arkhyz-primary);
}

.arkhyz-mobile-nav__phone {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    color: #fff;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.arkhyz-mobile-nav__phone:hover {
    border-color: var(--arkhyz-primary);
    color: var(--arkhyz-primary);
}

.arkhyz-mobile-nav__cta {
    padding: 18px 48px;
    background: var(--arkhyz-primary);
    color: #fff !important;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 60px;
    transition: all 0.3s ease;
}

.arkhyz-mobile-nav__cta:hover {
    background: var(--arkhyz-primary-dark);
}

body.menu-open {
    overflow: hidden;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.arkhyz-footer {
    background: #1a1a2e;
    color: #fff;
}

.arkhyz-footer__main {
    padding: 80px 0 60px;
}

.arkhyz-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
}

/* Footer Logo - Minimal */
.arkhyz-footer__logo {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    color: #fff;
    margin-bottom: 20px;
}

.arkhyz-footer__logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.arkhyz-footer__logo-accent {
    color: #F57C00;
}

.arkhyz-footer__logo-tagline {
    font-size: 0.8125rem;
    opacity: 0.6;
    font-weight: 400;
}

.arkhyz-footer__desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0 0 24px;
}

/* Social Links */
.arkhyz-footer__social {
    display: flex;
    gap: 12px;
}

.arkhyz-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.arkhyz-footer__social-link:hover {
    background: var(--arkhyz-primary);
    transform: translateY(-3px);
}

/* Footer Columns */
.arkhyz-footer__heading {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 24px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.arkhyz-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.arkhyz-footer__links li {
    margin-bottom: 12px;
}

.arkhyz-footer__links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.arkhyz-footer__links a:hover {
    color: var(--arkhyz-primary);
    transform: translateX(4px);
}

/* Contacts */
.arkhyz-footer__contacts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.arkhyz-footer__contacts li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.arkhyz-footer__contacts li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--arkhyz-primary);
}

.arkhyz-footer__contacts a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.arkhyz-footer__contacts a:hover {
    color: var(--arkhyz-primary);
}

/* Footer Bottom */
.arkhyz-footer__bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.arkhyz-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.arkhyz-footer__copy,
.arkhyz-footer__dev {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* New Site Header Responsive */
@media (max-width: 1024px) {
    .site-header__nav {
        display: none;
    }

    .site-header__burger {
        display: flex;
    }

    .site-header__container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .site-header__logo-text {
        font-size: 1.25rem;
    }

    .site-header.header-hidden {
        transform: translateY(-100%);
    }
}

/* Legacy Header Responsive */
@media (max-width: 1024px) {
    .arkhyz-header__nav {
        display: none;
    }

    .arkhyz-header__phone span {
        display: none;
    }

    .arkhyz-header__burger {
        display: flex;
    }

    .arkhyz-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .arkhyz-footer__col--about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .arkhyz-header__actions {
        display: none;
    }

    .arkhyz-footer__main {
        padding: 60px 0 40px;
    }

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

    .arkhyz-footer__col--about {
        text-align: center;
    }

    .arkhyz-footer__logo {
        justify-content: center;
    }

    .arkhyz-footer__social {
        justify-content: center;
    }

    .arkhyz-footer__bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .arkhyz-header__logo-text {
        display: none;
    }

    .arkhyz-mobile-nav__menu li a {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   Page offset for fixed header
   ========================================================================== */

body:not(.home) .site-content,
body:not(.home) #content {
    padding-top: 90px;
}

@media (max-width: 768px) {
    body:not(.home) .site-content,
    body:not(.home) #content {
        padding-top: 90px;
    }
}

/* ==========================================================================
   Mega Menu
   ========================================================================== */

/* Mega Menu Button (Desktop) — pill style */
.site-header .site-header__mega-btn,
.site-header .site-header__mega-btn:visited {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px !important;
    color: #1a1a2e !important;
    background: #fff !important;
    border: none !important;
    border-radius: 100px !important;
    box-shadow: none !important;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8125rem;
    font-family: inherit;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    flex-shrink: 0;
    outline: none;
}

.site-header .site-header__mega-btn svg {
    flex-shrink: 0;
}

.site-header .site-header__mega-btn:hover,
.site-header .site-header__mega-btn:focus {
    background: #F57C00 !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
}

.site-header.scrolled .site-header__mega-btn,
.site-header.scrolled .site-header__mega-btn:visited,
.site-header:not(.site-header--transparent) .site-header__mega-btn,
.site-header:not(.site-header--transparent) .site-header__mega-btn:visited {
    color: #333 !important;
    background: #f5f5f5 !important;
    border: 1px solid #e0e0e0 !important;
}

.site-header.scrolled .site-header__mega-btn:hover,
.site-header.scrolled .site-header__mega-btn:focus,
.site-header:not(.site-header--transparent) .site-header__mega-btn:hover,
.site-header:not(.site-header--transparent) .site-header__mega-btn:focus {
    background: #F57C00 !important;
    color: #fff !important;
}

.site-header.scrolled .site-header__mega-btn {
    padding: 10px 12px !important;
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: none !important;
    letter-spacing: 0 !important;
    order: 10;
    margin-left: 8px;
}

/* Mega Menu Overlay */
.mega-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mega-menu.active {
    opacity: 1;
    visibility: visible;
}

body.mega-open {
    overflow: hidden;
}

/* Layout: две панели */
.mega-menu__layout {
    display: grid;
    grid-template-columns: 35% 65%;
    height: 100%;
}

/* --- Левая панель: навигация --- */
.mega-menu__nav-panel {
    position: relative;
    background: #1a1a2e;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 40px 40px;
    overflow-y: auto;
    transform: translateX(-30px);
    opacity: 0;
    transition: transform 0.4s ease 0.1s, opacity 0.4s ease 0.1s;
}

.mega-menu.active .mega-menu__nav-panel {
    transform: translateX(0);
    opacity: 1;
}

.mega-menu__nav-top {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

/* Логотип в меню */
.mega-menu__logo {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    color: #fff;
}

.mega-menu__logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.mega-menu__logo-accent {
    color: #F57C00;
}

.mega-menu__logo-tagline {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* Аккордеон */
.mega-menu__accordion {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mega-menu__group {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mega-menu__group:last-child {
    border-bottom: none;
}

.mega-menu__group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 0;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: color 0.25s ease;
    outline: none;
}

.mega-menu__group-toggle::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.mega-menu__group.open .mega-menu__group-toggle {
    color: #F57C00 !important;
}

.mega-menu__group.open .mega-menu__group-toggle::after {
    content: '\2212';
    color: #F57C00;
}

.mega-menu .mega-menu__group-toggle:hover,
.mega-menu .mega-menu__group-toggle:focus,
.mega-menu .mega-menu__group-toggle:active {
    color: #F57C00 !important;
    background: none !important;
    box-shadow: none !important;
}

/* Ссылки внутри аккордеона */
.mega-menu__group-links {
    list-style: none;
    margin: 0;
    padding: 0 0 12px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.mega-menu__group.open .mega-menu__group-links {
    max-height: 500px;
}

.mega-menu__group-links li {
    margin-bottom: 2px;
}

.mega-menu__group-links a {
    display: block;
    padding: 7px 0 7px 16px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 400;
    transition: color 0.2s ease, padding-left 0.2s ease;
    border-left: 2px solid transparent;
}

.mega-menu__group-links a:hover {
    color: #F57C00;
    padding-left: 20px;
    border-left-color: #F57C00;
}

/* Нижний блок: CTA + телефон */
.mega-menu__nav-bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 24px;
}

.mega-menu__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: #F57C00 !important;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 100px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
    text-align: center;
}

.mega-menu__cta:hover {
    background: #E65100 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 124, 0, 0.4);
}

.mega-menu__phone {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 400;
    transition: color 0.3s ease;
    text-align: center;
}

.mega-menu__phone:hover {
    color: #F57C00;
}

/* --- Правая панель: фото слайдшоу --- */
.mega-menu__photo-panel {
    position: relative;
    overflow: hidden;
    background: #1a1a2e;
}

.mega-menu__close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none !important;
}

.mega-menu__close:hover {
    background: rgba(0, 0, 0, 0.5) !important;
    color: #fff;
}

/* Фото */
.mega-menu__photo {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Mega Menu Responsive */
@media (max-width: 1024px) {
    .site-header__mega-btn {
        display: none;
    }

    .mega-menu__layout {
        grid-template-columns: 1fr;
    }

    .mega-menu__photo-panel {
        display: none;
    }

    .mega-menu__nav-panel {
        padding: 32px 24px;
    }



    .mega-menu__group-links a:hover {
        padding-left: 16px;
        border-left-color: transparent;
    }

    .mega-menu__group-toggle:hover {
        color: #fff !important;
    }

    .mega-menu__group.open .mega-menu__group-toggle:hover {
        color: #F57C00 !important;
    }
}

/* Шапка nav-panel: логотип + крестик в ряд */
.mega-menu__nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Кнопка закрытия в шапке меню (рядом с логотипом) */
.mega-menu__mobile-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none !important;
    flex-shrink: 0;
}

.mega-menu__mobile-close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff;
}

/* Бургер X-анимация при открытом мега-меню */
.site-header__burger.active span {
    background: #fff !important;
}

/* ═══════════════════════════════════════
   Mobile Bottom Navigation
   ═══════════════════════════════════════ */
.mobile-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background: #fff;
        border-top: 1px solid #f0f0f0;
        box-shadow: 0 -2px 16px rgba(0, 0, 0, .06);
        padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));
        justify-content: space-around;
        align-items: center;
    }

    .mobile-nav__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 4px 8px;
        text-decoration: none;
        color: #9ca3af;
        font-size: 10px;
        font-weight: 500;
        transition: color .2s;
        -webkit-tap-highlight-color: transparent;
        position: relative;
    }

    .mobile-nav__item svg {
        width: 22px;
        height: 22px;
        transition: stroke .2s;
    }

    .mobile-nav__item--active {
        color: #F57C00;
    }

    .mobile-nav__item--active svg {
        stroke: #F57C00;
    }

    .mobile-nav__item:active {
        color: #F57C00;
    }

    /* Add padding to body so content isn't hidden behind nav */
    body {
        padding-bottom: 70px;
    }

    /* Hide bottom nav on interactive map page */
    .map-fullscreen ~ .mobile-nav,
    body.map-fullscreen .mobile-nav {
        display: none;
    }
}
