/* ═══════════════════════════════
   HEADER + BURGER MENU
═══════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #111111;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.headerlogophoto {
  display: block;
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* ── BURGER BUTTON ── */
.burger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU OVERLAY ── */
.mobile-menu {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #111111;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  padding: 40px 0;
}

.mobile-nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 18px 0;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mobile-nav-link:hover { color: #ffffff; }

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  margin-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav-action {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  padding: 18px 0;
  letter-spacing: 0.04em;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}

.mobile-nav-action:hover { color: #ffffff; }

.mobile-nav-location {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  margin-top: 24px;
  letter-spacing: 0.06em;
}

.mobile-nav-socials {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: border-color 0.2s;
}

.social-icon:hover { border-color: #ffffff; }

/* ── DESKTOP NAV (hidden on mobile) ── */
.desktop-nav { display: none; }
.desktop-actions { display: none; }

/* ── Tablet ── */

@media (min-width: 768px) {
  .header { height: 64px; padding: 0 40px; }
  .burger { display: none; }
  .mobile-menu { display: none; }
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    margin-left: 48px;
  }
  .desktop-nav a {
    text-decoration: none;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: color 0.2s;
  }
  .desktop-nav a:hover { color: #ffffff; }
  .desktop-actions {
    display: flex;
    gap: 12px;
  }
  .btn-cabinet {
    border: 1px solid #ffffff;
    color: #ffffff;
    background: transparent;
    padding: 10px 22px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
  }
  .btn-cabinet:hover { background: #ffffff; color: #111111; }
  .btn-consult {
    border: 1px solid #ffffff;
    color: #111111;
    background: #ffffff;
    padding: 10px 22px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
  }
  .btn-consult:hover { background: transparent; color: #ffffff; }
}

/* ── Desktop ── */
@media (min-width: 1200px) {
  .header { height: 72px; padding: 0 80px; }
  .desktop-nav { gap: 48px; margin-left: 80px; }
  .desktop-nav a { font-size: 15px; letter-spacing: 0.03em; }
  .headerlogophoto { height: 40px; }
  .btn-cabinet, .btn-consult { padding: 12px 28px; font-size: 12px; letter-spacing: 0.14em; }
}

/* ── Small desktop ── */
@media (min-width: 1200px) and (max-width: 1399px) {
  .header { padding: 0 60px; }
  .desktop-nav { gap: 40px; margin-left: 60px; }
}
