/* ===== МАКЕТНЫЕ СТИЛИ ===== */

/* Header */
header,
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(6px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0.8)
  );
  border-bottom: 1px solid rgba(15, 23, 36, 0.06);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 36px;
  gap: 20px;
}

.brand,
.site-branding {
  display: flex;
  align-items: center;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.logo {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.logo-link:hover {
  opacity: 0.8;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.desktop-nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.desktop-nav-menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav a {
  color: var(--dark);
  text-decoration: none;
  margin-left: 22px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--accent);
}

.desktop-nav .current-menu-item a {
  color: var(--accent);
  font-weight: 600;
}

/* Desktop Submenu Styles */
.desktop-nav-menu li {
  position: relative;
}

.desktop-nav-menu .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(15, 23, 36, 0.1);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(15, 23, 36, 0.12);
  min-width: 280px;
  max-width: 400px;
  max-height: 400px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  padding: 0;
  margin-top: 8px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 36, 0.2) transparent;
}

.desktop-nav-menu li:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.desktop-nav-menu .submenu li {
  margin: 0;
  padding: 0;
}

.desktop-nav-menu .submenu-link {
  display: block;
  padding: 12px 20px;
  color: var(--dark) !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  margin: 0;
}

.desktop-nav-menu .submenu-link:hover {
  background: rgba(214, 180, 74, 0.08);
  color: var(--accent) !important;
}

.desktop-nav-menu .submenu .current-menu-item .submenu-link {
  color: var(--accent) !important;
  font-weight: 600;
}

/* Custom scrollbar for desktop submenu */
.desktop-nav-menu .submenu::-webkit-scrollbar {
  width: 6px;
}

.desktop-nav-menu .submenu::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 3px;
}

.desktop-nav-menu .submenu::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 36, 0.2);
  border-radius: 3px;
  transition: background 0.2s ease;
}

.desktop-nav-menu .submenu::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 23, 36, 0.3);
}

.cta {
  background: var(--accent);
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(214, 180, 74, 0.16);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cta:hover {
  background: #c4a03d;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(214, 180, 74, 0.24);
}

/* Header Right Section */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Header Contact Info */
.header-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(15, 23, 36, 0.04);
  transition: all 0.2s ease;
}

.header-phone:hover {
  background: rgba(15, 23, 36, 0.08);
  color: var(--accent);
  transform: translateY(-1px);
}

.header-phone svg {
  color: var(--accent);
  transition: color 0.2s ease;
}

.header-phone:hover svg {
  color: var(--accent);
}

.header-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(15, 23, 36, 0.04);
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-link:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(214, 180, 74, 0.2);
}

.social-link.telegram:hover {
  background: #0088cc;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.social-link.whatsapp:hover {
  background: #25d366;
  color: white;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Hamburgers customization */
.hamburger {
  display: none;
  z-index: 70;
  transform: scale(0.8);
}

/* Hide hamburger on large screens */
@media (min-width: 901px) {
  .hamburger {
    display: none !important;
  }
}

.hamburger-box {
  width: 30px;
  height: 24px;
}

.hamburger-inner {
  width: 30px;
  height: 3px;
  background-color: var(--dark);
  border-radius: 2px;
}

.hamburger-inner::before,
.hamburger-inner::after {
  width: 30px;
  height: 3px;
  background-color: var(--dark);
  border-radius: 2px;
}

/* Mobile Navigation */
.mobile-nav,
.mobile-navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 50;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.mobile-nav.active,
.mobile-navigation.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

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

/* Mobile Logo */
.mobile-logo {
  margin-bottom: 20px;
}

.mobile-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--dark);
  transition: all 0.3s ease;
}

.mobile-logo-link:hover {
  transform: translateY(-2px);
}

.mobile-logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.mobile-brand-info {
  display: flex;
  flex-direction: column;
}

.mobile-brand-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

.mobile-brand-subtitle {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.2;
}

.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 15px;
}

.mobile-menu-item {
  margin: 0;
  padding: 0;
}

.mobile-nav-link {
  color: var(--dark);
  text-decoration: none;
  font-size: 24px;
  font-weight: 600;
  padding: 10px 0;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
  max-width: 300px;
}

.mobile-nav-link:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.mobile-nav-cta {
  background: var(--accent);
  color: var(--dark);
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  margin-top: 20px;
  box-shadow: 0 8px 22px rgba(214, 180, 74, 0.16);
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
  max-width: 300px;
}

.mobile-nav-cta:hover {
  background: #c4a03d;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(214, 180, 74, 0.24);
}

/* Mobile Contact Info */
.mobile-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(15, 23, 36, 0.1);
}

.mobile-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(15, 23, 36, 0.04);
  transition: all 0.3s ease;
}

.mobile-phone:hover {
  background: rgba(15, 23, 36, 0.08);
  color: var(--accent);
  transform: translateY(-2px);
}

.mobile-phone svg {
  color: var(--accent);
  transition: color 0.3s ease;
}

.mobile-phone:hover svg {
  color: var(--accent);
}

.mobile-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(15, 23, 36, 0.04);
  color: var(--muted);
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-social-link:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(214, 180, 74, 0.25);
}

.mobile-social-link.telegram:hover {
  background: #0088cc;
  color: white;
  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.35);
}

.mobile-social-link.whatsapp:hover {
  background: #25d366;
  color: white;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* Footer */
footer {
  padding: 28px 0;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.contact-card {
  background: var(--card);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 36, 0.15);
  box-shadow: var(--shadow);
}

/* SEO блок */
.seo-block {
  margin-top: 30px;
  background: var(--card);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 36, 0.04);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.6);
  z-index: 120;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 92%;
  max-height: 86%;
  border-radius: 12px;
  box-shadow: 0 40px 140px rgba(2, 6, 23, 0.6);
}
