* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
  font-family: "Montserrat", sans-serif;
}

.header {
  width: 100%;
  z-index: 100;
  background: #153c45;
  padding: 10px 0;
  border-bottom: 1px solid #153c45;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.header .container {
  margin: 0 auto;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  padding: 0 20px;
}

.header .main-header {
  display: flex;
  align-items: center;
  gap: 40px;
  width: auto;
  flex-wrap: wrap;
}

.header .logo img {
  height: 60px;
  width: 140px;
  object-fit: contain;
}

.header .main-header .btn {
  padding: 11px 19px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  margin-bottom: 0.5%;
}

.header .desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  justify-content: center;
  margin-left: auto;
}

.header .desktop-nav a {
  font-size: clamp(14px, 1.4vw, 18px);
  font-family: "Montserrat", sans-serif;
  color: #e6f4ff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 400;
  padding: 6px 10px;
  border-radius: 8px;
  position: relative;
  white-space: nowrap;
}

.header .desktop-nav a:hover {
  color: #84b1b9;
  background: rgba(21, 60, 69, 0.08);
  transform: translateY(-1px);
}

.header .desktop-nav a.active {
  color: #fff;
  background: rgba(21, 60, 69, 0.12);
}

.header .desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: #153c45;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.header .desktop-nav a:hover::after {
  transform: scaleX(1);
}

.header .burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.header .burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.header .burger span:nth-child(1) { top: 14px; }
.header .burger span:nth-child(2) { top: 21px; }
.header .burger span:nth-child(3) { top: 28px; }

.header .burger.is-open span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
  background: #0d0f0f;
}

.header .burger.is-open span:nth-child(2) {
  top: 21px;
  transform: scaleX(0.7);
  opacity: 1;
  background: #0d0f0f;
}

.header .burger.is-open span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
  background: #0d0f0f;
}

.header .mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 360px);
  background: #ffffff;
  color: #0d0f0f;
  padding: 88px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 1001;
  box-shadow: -16px 0 40px rgba(0, 0, 0, 0.12);
}

.header .mobile-menu a {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  color: #0d0f0f;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: color 0.2s ease;
}

.header .mobile-menu a:hover {
  color: rgba(13, 15, 15, 0.7);
}

.header .mobile-menu.is-open {
  transform: translateX(0);
}

.header-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 99;
}

.header-menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.menu-open {
  overflow: hidden;
}

.auth-dropdown-container {
  position: static;
  display: flex;
  align-items: center;
  margin-left: 0;
}

.auth-trigger {
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.auth-icon {
  width: 28px;
  height: 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.auth-trigger:hover .auth-icon {
  transform: scale(1.1);
}

.auth-trigger[aria-expanded="true"] .auth-icon {
  animation: iconClick 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes iconClick {
  0% { transform: scale(1); }
  50% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.auth-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(21, 60, 69, 0.25);
  padding: 26px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 12px;
  border: 1px solid rgba(21, 60, 69, 0.1);
}

.auth-dropdown::before {
  content: '';
  position: absolute;
  bottom: 100%;
  right: 14px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid white;
  filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.05));
}

.auth-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.auth-link {
  display: block;
  padding: 14px 24px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  color: #153c45 !important;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
  white-space: nowrap;
  text-align: center;
}

.auth-link:hover {
  background: rgba(21, 60, 69, 0.05);
  color: #0f2d33;
}

.auth-divider {
  height: 1px;
  background: rgba(21, 60, 69, 0.15);
  margin: 8px 20px;
  width: calc(100% - 40px);
}

.mobile-auth-separator {
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
  margin: 14px 0;
  width: 100%;
}

.mobile-auth-link {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  color: #0d0f0f;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}

.mobile-auth-link::before {
  content: '•';
  margin-right: 12px;
  color: #153c45;
  font-size: 22px;
}

.mobile-auth-link[data-login-popup] {
  background: #153c45;
  color: white;
  border-radius: 8px;
  margin: 8px 0 4px 0;
  padding: 14px 20px;
  justify-content: center;
  font-weight: 600;
  border: none;
}

.mobile-auth-link[data-login-popup]::before {
  content: none;
}

.mobile-auth-link[data-login-popup]:hover {
  background: #0f2d33;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(21, 60, 69, 0.3);
}

.mobile-auth-link[data-register-popup] {
  color: #153c45;
  font-weight: 500;
  margin-top: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mobile-auth-link[data-register-popup]::before {
  content: none;
}

.mobile-auth-link:last-of-type {
  border-bottom: none;
}

.contact-overlay,
.hotels-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1000;
}

.contact-overlay.is-open,
.hotels-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-popup,
.hotels-popup {
  position: fixed;
  left: 50%;
  top: 50%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1001;
}

.contact-popup {
  transform: translate(-50%, -48%) scale(0.98);
  width: min(640px, 92vw);
  max-height: 88vh;
  padding: 24px 22px 22px;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94));
  backdrop-filter: blur(6px);
  border: 1px solid rgba(21, 60, 69, 0.5);
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.contact-popup::-webkit-scrollbar {
  display: none;
}

.contact-popup.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.contact-section-title {
  margin: 24px 0 12px 0;
  font: 600 18px/1.3 "Montserrat", sans-serif;
  color: #153c45;
  border-bottom: 2px solid rgba(21, 60, 69, 0.3);
  padding-bottom: 6px;
}

.contact-close,
.hotels-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #153c45;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: transform 0.15s ease, opacity 0.2s ease, background 0.2s ease;
}

.contact-close:hover,
.hotels-close:hover {
  opacity: 0.95;
}

.contact-close:active,
.hotels-close:active {
  transform: scale(0.98);
}

.contact-close:focus-visible,
.hotels-close:focus-visible {
  outline: 2px solid rgba(21, 60, 69, 0.35);
  outline-offset: 2px;
}

.contact-popup h2 {
  margin: 0 40px 14px 2px;
  font: 600 22px/1.3 "Montserrat", sans-serif;
  color: #153c45;
  position: relative;
}

.contact-popup h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 8px;
  border-radius: 2px;
  background: #153c45;
  opacity: 0.85;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.contact-col {
  border: 1px solid rgba(21, 60, 69, 0.5);
  border-radius: 12px;
  padding: 14px 14px 12px;
  background: rgba(15, 58, 64, 0.03);
}

.contact-col h3 {
  margin: 2px 0 6px;
  font: 600 16px/1.25 "Inter", sans-serif;
  color: #153c45;
}

.contact-col p {
  margin: 0;
  font: 14px/1.6 "Inter", sans-serif;
  color: #153c45;
  opacity: 0.9;
  word-break: break-word;
}

.hotels-popup {
  transform: translate(-50%, -46%) scale(0.98);
  width: min(520px, 92vw);
  padding: 18px 16px 16px;
}

.hotels-popup.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.hotels-popup h3 {
  margin: 0 44px 12px 4px;
  font: 600 20px/1.3 "Montserrat", sans-serif;
  color: #0f3a40;
}

.hotels-list {
  display: grid;
  gap: 10px;
}

.hotels-item {
  width: 100%;
  text-align: left;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 14px 14px;
  background: #f8fafb;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hotels-item:hover {
  background: #f1f5f6;
}

.hotels-city {
  display: block;
  font: 600 16px/1.2 "Inter", sans-serif;
  color: #0f3a40;
}

.hotels-hotel {
  display: block;
  font: 13px/1.4 "Inter", sans-serif;
  color: #0f3a40;
  opacity: 0.7;
}

.contact-form {
  width: 100%;
}

.contact-form__row {
  margin-bottom: 12px;
}

.contact-form__label {
  display: grid;
  gap: 6px;
  font: 14px "Inter", sans-serif;
  font-weight: 500;
  color: #153c45;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  border: 1px solid #d9e1e7;
  border-radius: 10px;
  padding: 10px 12px;
  font: 14px "Inter", sans-serif;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: #8bb4ff;
  box-shadow: 0 0 0 3px rgba(139, 180, 255, 0.25);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 80px;
}

.contact-form__actions {
  margin-top: 8px;
}

.contact-form__hint {
  margin: 8px 0 0;
  font: 12px "Inter", sans-serif;
  color: #6b7280;
}

.body-lock {
  overflow: hidden;
}

@media (max-width: 2560px) { .header .logo img { width: 140px; } }
@media (max-width: 1600px) { .header .logo img { width: 120px; } }
@media (max-width: 1200px) { .header .logo img { width: 100px; } }
@media (max-width: 768px) { .header .logo img { width: 90px; } }
@media (max-width: 480px) { .header .logo img { width: 80px; } }

@media (max-width: 768px) {
  .header .container {
    gap: 0;
    justify-content: space-between;
    width: 100%;
    flex-direction: row;
    align-items: center;
    padding: 0 16px;
  }

  .header .desktop-nav {
    display: none;
  }

  .header .burger {
    display: inline-block;
  }

  .sidemenu{
    margin-top: 10px;
  }

  .auth-dropdown-container {
    display: none;
  }

  .mobile-auth-separator {
    order: 6;
  }

  .mobile-auth-link {
    order: 7;
  }

  .mobile-auth-link:last-of-type {
    order: 8;
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .header .main-header {
    align-items: center;
  }
  
  .header .main-header .btn {
    align-self: center;
  }
}

@media (max-width: 470px) {
  .header .main-header .btn {
    padding: 9px 12px;
    border-radius: 15px;
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .header .mobile-menu {
    width: min(90vw, 340px);
  }
}

@media (max-width: 475px) {
  .header .mobile-menu {
    width: min(92vw, 300px);
    padding: 75px 20px 20px;
  }
  
  .header .mobile-menu a {
    font-size: 15px;
  }
}

@media (max-width: 390px) {
  .header .mobile-menu {
    width: min(95vw, 280px);
  }
}

@media (max-width: 320px) {
  .header .mobile-menu {
    width: min(98vw, 260px);
    padding: 70px 16px 16px;
  }
  
  .header .mobile-menu a {
    font-size: 14px;
    padding: 8px 0;
  }
}

@media (max-width: 1440px) and (min-width: 769px) {
  .header .container {
    max-width: 1100px;
    padding: 0 20px;
  }
  
  .header .main-header {
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
  }
  
  .header .desktop-nav {
    gap: 12px;
  }
  
  .header .logo img {
    width: 110px;
  }
}

@media (max-width: 1200px) and (min-width: 769px) {
  .header .container {
    max-width: 1000px;
    padding: 0 15px;
  }
  
  .header .desktop-nav {
    gap: 10px;
  }
  
  .header .logo img {
    width: 100px;
  }
  
  .header .desktop-nav a {
    font-size: clamp(13px, 1.3vw, 16px);
    padding: 5px 8px;
  }
}

@media (max-width: 900px) and (min-width: 769px) {
  .header .container {
    max-width: 900px;
    padding: 0 12px;
  }
  
  .header .desktop-nav {
    gap: 8px;
  }
  
  .header .logo img {
    width: 90px;
  }
  
  .header .desktop-nav a {
    font-size: 13px;
    padding: 4px 6px;
  }
}

@media (max-width: 1400px) {
  .auth-dropdown-container {
    margin-left: 6px;
  }
  
  .auth-trigger {
    width: 40px;
    height: 40px;
  }
  
  .auth-icon {
    width: 26px;
    height: 26px;
  }
  
  .auth-dropdown {
    min-width: 200px;
  }
}

@media (max-width: 1024px) {
  .auth-dropdown-container {
    margin-left: 4px;
  }
  
  .auth-dropdown {
    min-width: 190px;
    right: -6px;
  }
}

.login-page {
  width: 100%;
  min-height: 100dvh;
  display: flex;
  justify-content: flex-end;
  background: linear-gradient(#153C45DD, #153C45DD), url('../assets/images/business_img_2.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.login-page::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, #153C45 100%);
  opacity: 0.3;
  z-index: 1;
}

.login-page .login-container {
  font-family: "Montserrat", sans-serif;
  min-height: 100dvh;
  width: 100%;
  max-width: 500px;
  padding: 40px 5%;
  padding-top: 100px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: -5px 0 30px rgba(21, 60, 69, 0.1);
  position: relative;
  overflow-y: auto;
}

.login-page .login-container::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, #153c45, #2a7c8f);
}

.login-page .login-container .auth-card {
  padding-top: 100px;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.login-page .login-container .auth-card .auth-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.login-page .login-container .auth-card .auth-form .input-group {
  position: relative;
}

.login-page .login-container .auth-card .auth-form input {
  padding: 16px 20px;
  width: 100%;
  border: 1px solid #153C4540;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(21, 60, 69, 0.05);
}

.login-page .login-container .auth-card .auth-form input:focus {
  outline: none;
  border-color: #153c45;
  box-shadow: 0 0 0 3px rgba(21, 60, 69, 0.1);
  transform: translateY(-2px);
}

.login-page .login-container .auth-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  font-weight: 700;
  color: #153c45;
  position: relative;
  padding-bottom: 15px;
}

.login-page .login-container .auth-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #153c45, #2a7c8f);
  border-radius: 2px;
}

.login-page .login-container .auth-card .btn {
  padding: 16px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(135deg, #153c45, #1a4d5a);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(21, 60, 69, 0.2);
  position: relative;
  overflow: hidden;
}

.login-page .login-container .auth-card .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.login-page .login-container .auth-card .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(21, 60, 69, 0.3);
}

.login-page .login-container .auth-card .btn:hover::before {
  left: 100%;
}

.login-page .login-container .auth-card .btn:active {
  transform: translateY(-1px);
}

.login-page .login-container .auth-card .auth-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.login-page .login-container .auth-card .auth-links a {
  color: #2a7c8f;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.login-page .login-container .auth-card .auth-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: #2a7c8f;
  transition: all 0.3s ease;
}

.login-page .login-container .auth-card .auth-links a:hover {
  color: #153c45;
}

.login-page .login-container .auth-card .auth-links a:hover::after {
  width: 100%;
  left: 0;
}

@media (max-width: 768px) {
  .login-page {
    justify-content: center;
    align-items: center;
    background-position: 60%;
  }

  .login-page::before {
    background: linear-gradient(180deg, transparent 0%, #153C45 100%);
  }

  .login-page .login-container {
    max-width: 100%;
    height: auto;
    min-height: 100dvh;
    padding: 30px 20px;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: blur(5px);
  }

  .login-page .login-container::after {
    display: none;
  }

  .login-page .login-container .auth-card {
    gap: 25px;
  }

  .login-page .login-container .auth-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .login-page .login-container {
    padding: 25px 15px;
  }

  .login-page .login-container .auth-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .login-page .login-container .auth-card .auth-form input {
    padding: 14px 16px;
    font-size: 15px;
  }

  .login-page .login-container .auth-card .btn {
    padding: 14px;
    font-size: 16px;
  }

  .login-page .login-container .auth-card {
    gap: 20px;
  }
}

@media (max-height: 600px) and (orientation: landscape) {
  .login-page .login-container {
    padding: 20px 5%;
    overflow-y: auto;
  }

  .login-page .login-container .auth-card {
    gap: 15px;
  }

  .login-page .login-container .auth-title {
    margin-bottom: 20px;
    font-size: 24px;
  }

  .login-page .login-container .auth-card .auth-form input {
    padding: 12px 16px;
  }

  .login-page .login-container .auth-card .btn {
    padding: 12px;
  }
}

@supports (-webkit-touch-callout: none) {
  .login-page {
    height: -webkit-fill-available;
  }
}

.innerPage{
    max-width: 1900px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
    min-height: calc(100vh - 120px);
    margin-top: 80px;
}

.sidemenu{
    padding: 40px 0;
    min-width: 280px;
    width: 20%;
    display: flex;
    justify-content: flex-end;
    color: #153C45;
    position: sticky;
    top: 80px;
    height: fit-content;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    border-right: 2px solid rgba(21, 60, 69, 0.1);
    z-index: 10;
}

.sidemenu ul{
    font-size: 18px;
    list-style-type: none;
    display: flex;
    gap: 15px;
    flex-direction: column;
    width: 100%;
    padding-right: 30px;
}

.sidemenu ul li{
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-left: 3px solid transparent;
    margin-bottom: 5px;
    white-space: nowrap !important;
}

.sidemenu ul li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 162, 105, 0.1), transparent);
    transition: left 0.6s ease;
}

.sidemenu ul li:hover::before {
    left: 100%;
}

.sidemenu ul li:hover {
    background: rgba(21, 60, 69, 0.05);
    transform: translateX(5px);
    border-left: 3px solid #DCA269;
    box-shadow: 0 4px 12px rgba(21, 60, 69, 0.08);
}

.sidemenu ul li.active{
    background: rgba(21, 60, 69, 0.08);
    border-left: 3px solid #153C45;
    font-weight: 600;
    color: #153C45;
}

.sidemenu ul li.active::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #DCA269;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-50%) scale(1.2);
    }
}

.innerPage main{
    width: 80%;
    padding: 40px;
    background: #ffffff;
}

.innerPage .FAQ h1{
    font-size: 42px;
    color: #153C45;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.innerPage .FAQ h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #DCA269, #153C45);
    border-radius: 2px;
}

.innerPage .FAQ .questionsBlock{
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.innerPage .FAQ .questionsBlock .question{
    display: flex;
    gap: 15px;
    padding: 20px 25px;
    flex-direction: column;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(21, 60, 69, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.innerPage .FAQ .questionsBlock .question:nth-child(1) { animation-delay: 0.1s; }
.innerPage .FAQ .questionsBlock .question:nth-child(2) { animation-delay: 0.2s; }
.innerPage .FAQ .questionsBlock .question:nth-child(3) { animation-delay: 0.3s; }
.innerPage .FAQ .questionsBlock .question:nth-child(4) { animation-delay: 0.4s; }
.innerPage .FAQ .questionsBlock .question:nth-child(5) { animation-delay: 0.5s; }
.innerPage .FAQ .questionsBlock .question:nth-child(6) { animation-delay: 0.6s; }
.innerPage .FAQ .questionsBlock .question:nth-child(7) { animation-delay: 0.7s; }

.innerPage .FAQ .questionsBlock .question:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(21, 60, 69, 0.12);
    border-color: rgba(220, 162, 105, 0.3);
}

.innerPage .FAQ .questionsBlock .question::before {
    content: '?';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: rgba(21, 60, 69, 0.05);
    font-weight: bold;
}

.innerPage .FAQ .questionsBlock .question span{
    color: #153C45;
    font-weight: 600;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.innerPage .FAQ .questionsBlock .question span::before {
    content: '→';
    color: #DCA269;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.innerPage .FAQ .questionsBlock .question:hover span::before {
    transform: translateX(5px);
}

.innerPage .FAQ .questionsBlock .question p{
    color: #153C45;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    padding-left: 25px;
}

.innerPage .FAQ .supportCall h2{
    font-size: 36px;
    color: #153C45;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.innerPage .FAQ .supportCall h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #153C45, #DCA269);
    border-radius: 2px;
}

.innerPage .FAQ .supportCall p{
    font-weight: 500;
    font-size: 16px;
    color: #153C45;
    margin-bottom: 5px;
}

.innerPage .FAQ .supportCall{
    display: flex;
    flex-direction: column;
    padding: 30px 0;
    gap: 20px;
    background: rgba(21, 60, 69, 0.02);
    border-radius: 20px;
    padding: 30px;
    margin-top: 40px;
    border: 1px solid rgba(21, 60, 69, 0.05);
    animation: fadeInUp 0.5s ease 0.8s forwards;
    opacity: 0;
}

.innerPage .FAQ .supportCall textarea{
    padding: 20px;
    resize: vertical;
    width: 100%;
    min-height: 120px;
    border: 2px solid rgba(21, 60, 69, 0.1);
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    background: #ffffff;
}

.innerPage .FAQ .supportCall textarea:focus {
    outline: none;
    border-color: #DCA269;
    box-shadow: 0 0 0 3px rgba(220, 162, 105, 0.1);
}

.innerPage .FAQ .supportCall input{
    width: 100%;
    min-height: 50px;
    border: 2px solid rgba(21, 60, 69, 0.1);
    border-radius: 12px;
    font-size: 16px;
    padding: 0 20px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.innerPage .FAQ .supportCall input:focus {
    outline: none;
    border-color: #DCA269;
    box-shadow: 0 0 0 3px rgba(220, 162, 105, 0.1);
}

.innerPage .FAQ .supportCall form{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 20px 0;
    gap: 20px;
}

/* .innerPage .FAQ .supportCall form  */
.yellowButton{
    width: 160px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #DCA269, #c98d4b);
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* .innerPage .FAQ .supportCall div . */
.yellowButton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

/* .innerPage .FAQ .supportCall div  */
.yellowButton:hover::before {
    left: 100%;
}

/* .innerPage .FAQ .supportCall div  */
.yellowButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 162, 105, 0.4);
    background: linear-gradient(135deg, #c98d4b, #b87c3a);
}

/* .innerPage .FAQ .supportCall div  */
.yellowButton:active {
    transform: translateY(0);
}

@media (max-width: 760px) {
  .contact-popup {
    width: min(600px, 94vw);
    padding: 20px 18px 18px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contact-popup h2 {
    font-size: 20px;
  }
  .contact-col h3 {
    font-size: 15px;
  }
  .contact-col p {
    font-size: 13px;
    line-height: 1.55;
  }
  
  .hotels-popup {
    width: min(90vw, 450px);
    padding: 16px 14px 14px;
  }
  .hotels-popup h3 {
    font-size: 18px;
  }
  .hotels-item {
    padding: 12px;
  }
  .hotels-city {
    font-size: 15px;
  }
  .hotels-hotel {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .contact-popup {
    width: min(95vw, 400px);
    padding: 18px 16px 16px;
  }
  .contact-popup h2 {
    font-size: 18px;
  }
  .contact-close {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  .contact-section-title {
    font-size: 16px;
    margin: 20px 0 10px 0;
  }
  
  .hotels-popup {
    width: min(95vw, 380px);
  }
  .hotels-popup h3 {
    font-size: 17px;
    margin: 0 40px 10px 4px;
  }
  .hotels-close {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 1400px) {
    .innerPage {
        margin-top: 80px;
    }
    
    .sidemenu {
        width: 100%;
        min-width: 100%;
        padding: 15px 0;
        position: static;
        top: auto;
        justify-content: center;
        border-right: none;
        border-bottom: 2px solid rgba(21, 60, 69, 0.1);
        margin-bottom: 20px;
        background: #ffffff;
        box-shadow: 0 2px 10px rgba(21, 60, 69, 0.1);
    }
    
    .sidemenu ul {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        padding: 0 15px;
        gap: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    
    .sidemenu ul::-webkit-scrollbar {
        height: 4px;
    }
    
    .sidemenu ul::-webkit-scrollbar-thumb {
        background: rgba(21, 60, 69, 0.2);
        border-radius: 2px;
    }
    
    .sidemenu ul li {
        flex: 0 0 auto;
        min-width: auto;
        text-align: center;
        margin-bottom: 0;
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 10px 15px;
        white-space: nowrap;
        font-size: 16px;
    }
    
    .sidemenu ul li:hover {
        transform: translateY(-2px);
        border-left: none;
        /* border-bottom: 3px solid #DCA269; */
    }
    
    .sidemenu ul li.active {
        border-left: none;
        /* border-bottom: 3px solid #153C45; */
    }
    
    .sidemenu ul li.active::after{
        content: none;
    }
    
    .innerPage main {
        width: 100%;
        padding: 20px;
    }
}

@media (max-width: 1200px) {
    .innerPage {
        margin-top: 80px;
    }
    
    .sidemenu {
        width: 100%;
        min-width: 100%;
        padding: 15px 0;
        position: static;
        top: auto;
        justify-content: center;
        border-right: none;
        border-bottom: 2px solid rgba(21, 60, 69, 0.1);
        margin-bottom: 20px;
    }
    
    .sidemenu ul {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        padding: 0 20px;
        gap: 8px;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .sidemenu ul li {
        flex: 0 0 auto;
        min-width: auto;
        text-align: center;
        margin-bottom: 0;
        border-left: none;
        /* border-bottom: 3px solid transparent; */
        padding: 10px 15px;
        white-space: nowrap;
    }
    
    .sidemenu ul li:hover {
        transform: translateY(-2px);
        border-left: none;
        /* border-bottom: 3px solid #DCA269; */
    }
    
    .innerPage main {
        width: 100%;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .innerPage {
        margin-top: 70px;
    }
    
    .sidemenu {
        padding: 10px 0;
        margin-bottom: 15px;
        position: relative;
        top: 0;
    }
    
    .sidemenu ul {
        padding: 0 10px;
        gap: 5px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    
    .sidemenu ul li {
        min-width: auto;
        padding: 8px 12px;
        font-size: 14px;
        flex: 0 0 auto;
    }
    
    .innerPage .FAQ h1 {
        font-size: 32px;
    }
    
    .innerPage .FAQ .supportCall h2 {
        font-size: 28px;
    }
    
    .innerPage .FAQ .questionsBlock .question {
        padding: 15px 20px;
    }
    
    .innerPage .FAQ .questionsBlock .question span {
        font-size: 18px;
    }
    
    .innerPage .FAQ .supportCall {
        padding: 20px;
    }
    
    .innerPage main {
        /* padding: 15px; */
    }
}

@media (max-width: 480px) {
    .sidemenu {
        padding: 8px 0;
        margin-bottom: 10px;
        position: relative;
        left: 0;
        right: 0;
        width: 100vw; /* Важно: полная ширина viewport */
        margin-left: -50vw;
        left: 50%;
        overflow-x: auto;
        background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    }
    
    .sidemenu::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background: linear-gradient(to bottom, #f8f9fa, #ffffff);
        z-index: -1;
    }
    
    .sidemenu ul {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 5px;
        justify-content: flex-start !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 16px; /* Отступы слева и справа */
        width: max-content; /* Позволяет контенту быть шире родителя */
        min-width: 100%; /* Минимальная ширина 100% */
        box-sizing: border-box;
        scroll-padding: 0 16px; /* Отступ для скролла */
    }
    
    .sidemenu ul li {
        flex: 0 0 auto;
        min-width: max-content;
        padding: 8px 16px; /* Увеличены отступы */
        border-left: none;
        border-bottom: 3px solid transparent;
        white-space: nowrap;
        font-size: 14px;
        margin: 0;
    }
    
    .innerPage {
        overflow-x: hidden; /* Предотвращает горизонтальный скролл всей страницы */
    }
}

/* Убедимся, что на очень маленьких экранах элементы не убегают */
@media (max-width: 360px) {
    .sidemenu ul li {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .sidemenu ul {
        padding: 0 12px;
        scroll-padding: 0 12px;
    }
}

/* Дополнительные стили для скроллбара */
.sidemenu {
    -webkit-overflow-scrolling: touch;
}

.sidemenu ul {
    scrollbar-width: thin;
    scrollbar-color: rgba(21, 60, 69, 0.3) transparent;
}

.sidemenu ul::-webkit-scrollbar {
    height: 3px;
}

.sidemenu ul::-webkit-scrollbar-track {
    background: transparent;
    margin: 0 16px;
}

.sidemenu ul::-webkit-scrollbar-thumb {
    background-color: rgba(21, 60, 69, 0.3);
    border-radius: 2px;
}



.account{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.account .photo{
    color: #DCA269;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
}

.account .photo img{
    background-color: #153C45;
    width: 100px;
    height: 100px;
    border-radius: 50%;
}


.account .photo span{
    cursor: pointer;
}

.account .info{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #153c45;
    font-weight: 500;
}
/* Основные стили для блока привязки инвесторов */
.invest-bind {
  display: flex;
  flex-direction: column;
  gap: 40px;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.bind-form {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
  background: rgba(21, 60, 69, 0.02);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(21, 60, 69, 0.05);
  box-shadow: 0 8px 30px rgba(21, 60, 69, 0.08);
}

.bind-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 260px;
  position: relative;
}

.bind-field label {
  font-weight: 600;
  color: #153C45;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bind-field label::before {
  content: '•';
  color: #DCA269;
  font-size: 20px;
}

.dropdown {
  position: relative;
}

.dropdown-trigger {
  width: 100%;
  padding: 16px 20px;
  border-radius: 14px;
  border: 2px solid rgba(21, 60, 69, 0.15);
  background: #fff;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  color: #153C45;
}

.dropdown-trigger::after {
  content: '▼';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #153C45;
  opacity: 0.5;
  transition: transform 0.3s ease;
}

.dropdown.open .dropdown-trigger::after {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-trigger:hover {
  border-color: #DCA269;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 162, 105, 0.15);
}

.dropdown-trigger:active {
  transform: translateY(0);
}

.dropdown-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(21, 60, 69, 0.15);
  box-shadow: 0 16px 40px rgba(21, 60, 69, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(21, 60, 69, 0.3) transparent;
}

.dropdown-list::-webkit-scrollbar {
  width: 6px;
}

.dropdown-list::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 3px;
}

.dropdown-list::-webkit-scrollbar-thumb {
  background-color: rgba(21, 60, 69, 0.3);
  border-radius: 3px;
}

.dropdown.open .dropdown-list {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-list li {
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 15px;
  color: #153C45;
  border-bottom: 1px solid rgba(21, 60, 69, 0.05);
  position: relative;
  overflow: hidden;
}

.dropdown-list li:last-child {
  border-bottom: none;
}

.dropdown-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: #DCA269;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.dropdown-list li:hover {
  background: rgba(21, 60, 69, 0.05);
  padding-left: 24px;
}

.dropdown-list li:hover::before {
  transform: translateX(0);
}

.dropdown-list li span {
  display: block;
  font-size: 13px;
  opacity: .7;
  margin-top: 4px;
}

.bind-btn, .bind-edit {
  width: 180px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #DCA269, #c98d4b);
  border: 0;
  border-radius: 14px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(220, 162, 105, 0.3);
}

.bind-btn::before, .bind-edit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.bind-btn:hover::before, .bind-edit:hover::before {
  left: 100%;
}

.bind-btn:hover, .bind-edit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(220, 162, 105, 0.4);
  background: linear-gradient(135deg, #c98d4b, #b87c3a);
}

.bind-btn:active, .bind-edit:active {
  transform: translateY(-1px);
}

/* Анимация для кнопки в режиме редактирования */
.bind-btn.editing {
  background: linear-gradient(135deg, #153c45, #1a4d5a);
  animation: pulse 2s infinite;
}

.bind-btn.editing:hover {
  background: linear-gradient(135deg, #1a4d5a, #0f2d33);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(21, 60, 69, 0.3); }
  50% { box-shadow: 0 4px 20px rgba(21, 60, 69, 0.5); }
}

.bind-result h2 {
  font-size: 32px;
  color: #153C45;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.bind-result h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #DCA269, #153C45);
  border-radius: 2px;
}

.bind-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bind-item {
  display: grid;
  grid-template-columns: 1fr 180px 140px;
  align-items: center;
  padding: 20px 24px;
  border-radius: 16px;
  background: rgba(21, 60, 69, 0.04);
  border: 2px solid rgba(21, 60, 69, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: slideIn 0.5s ease forwards;
  opacity: 0;
  transform: translateX(-20px);
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.bind-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: #DCA269;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bind-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(21, 60, 69, 0.1);
  border-color: rgba(220, 162, 105, 0.3);
}

.bind-item:hover::before {
  opacity: 1;
}

.bind-item span {
  color: #153C45;
  font-weight: 500;
}

.bind-item .bind-name {
  font-size: 16px;
  line-height: 1.4;
}

.bind-item .bind-name small {
  display: block;
  font-size: 13px;
  opacity: 0.7;
  font-weight: 400;
  margin-top: 4px;
}

.bind-item .bind-room {
  font-size: 16px;
  font-weight: 600;
  color: #153C45;
  background: rgba(21, 60, 69, 0.08);
  padding: 8px 16px;
  border-radius: 8px;
  text-align: center;
  width: fit-content;
}

.bind-item button {
  justify-self: end;
}

.bind-item.editing {
  background: rgba(220, 162, 105, 0.1);
  border-color: #DCA269;
  border-style: dashed;
  animation: editingGlow 2s infinite;
}

@keyframes editingGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(220, 162, 105, 0); }
  50% { box-shadow: 0 0 20px rgba(220, 162, 105, 0.3); }
}

/* Статус пустого списка */
.bind-list:empty::after {
  content: 'Нет связанных инвесторов';
  display: block;
  text-align: center;
  padding: 40px 20px;
  color: rgba(21, 60, 69, 0.5);
  font-size: 16px;
  font-style: italic;
  border: 2px dashed rgba(21, 60, 69, 0.1);
  border-radius: 16px;
  background: rgba(21, 60, 69, 0.02);
}

/* Адаптивность */
@media (max-width: 1200px) {
  .bind-field {
    width: 240px;
  }
  
  .bind-item {
    grid-template-columns: 1fr 160px 120px;
  }
}

@media (max-width: 992px) {
  .invest-bind {
    gap: 30px;
  }
  
  .bind-form {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 25px;
  }
  
  .bind-field {
    width: 100%;
  }
  
  .bind-btn {
    width: 100%;
    margin-top: 10px;
  }
  
  .bind-item {
    grid-template-columns: 1fr auto auto;
    gap: 15px;
    padding: 18px 20px;
  }
}

@media (max-width: 768px) {
  .invest-bind {
    gap: 25px;
  }
  
  .bind-form {
    padding: 20px;
    border-radius: 16px;
  }
  
  .bind-result h2 {
    font-size: 28px;
  }
  
  .bind-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }
  
  .bind-item .bind-room {
    justify-self: start;
  }
  
  .bind-item button {
    justify-self: start;
    width: 100%;
  }
  
  .bind-btn, .bind-edit {
    padding: 14px 24px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .invest-bind {
    gap: 20px;
  }
  
  .bind-form {
    padding: 16px;
    gap: 16px;
  }
  
  .bind-field label {
    font-size: 14px;
  }
  
  .dropdown-trigger {
    padding: 14px 16px;
    font-size: 14px;
  }
  
  .bind-result h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .bind-item {
    padding: 14px;
  }
  
  .bind-item .bind-name {
    font-size: 15px;
  }
  
  .bind-item .bind-room {
    font-size: 14px;
    padding: 6px 12px;
  }
  
  .dropdown-list li {
    padding: 14px 16px;
    font-size: 14px;
  }
  
  .dropdown-list li span {
    font-size: 12px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.bind-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}

.bind-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.bind-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 24px;
  background: #153C45;
  color: white;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(21, 60, 69, 0.3);
  z-index: 1000;
  animation: slideInRight 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bind-notification.success {
  background: linear-gradient(135deg, #4CAF50, #45a049);
}

.bind-notification.error {
  background: linear-gradient(135deg, #f44336, #d32f2f);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.projects {
    /* flex: 1; */
    padding: 32px;
}

.projectsHeader {
    margin-bottom: 24px;
}

.projectsBanner {
    background: linear-gradient(90deg, #153c45, #1f5966);
    color: #fff;
    padding: 18px 24px;
    border-radius: 12px;
    font-size: 16px;
    margin-bottom: 16px;
}

.totalProfit {
    font-size: 18px;
    color: #153c45;
}

.projectsList {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.projectCard {
    display: grid;
    grid-template-columns: 360px 1fr;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.projectImage {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 220px;
}

.projectFinance {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.85));
    color: #fff;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    font-size: 14px;
}

.projectSum {
    margin-top: 8px;
    font-weight: 600;
}

.projectInfo {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
}

.projectTitle {
    font-size: 20px;
    color: #153c45;
    margin-bottom: 8px;
}

/* .projectDescription {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: auto;
} */

.projectFooter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
}

.projectMonth {
    font-size: 14px;
    color: #777;
}

.projectDownload {
    background: #e2a86d;
    border: none;
    border-radius: 18px;
    padding: 8px 18px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
}

.projectDownload:hover {
    background: #d59655;
}

.projectDescription {
    max-height: 60px;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.projectDescription.expanded {
    max-height: 500px;
}

.projectToggle {
    margin-top: 6px;
    font-size: 13px;
    color: #153c45;
    cursor: pointer;
    width: fit-content;
}

.projectToggle:hover {
    text-decoration: underline;
}


@media (max-width: 1200px) {
    .projectCard {
        grid-template-columns: 300px 1fr;
    }

    .projectTitle {
        font-size: 18px;
    }
}

@media (max-width: 1024px) {
    .projects {
        padding: 24px 16px;
    }

    .projectCard {
        grid-template-columns: 1fr;
    }

    .projectImage {
        min-height: 260px;
    }

    .projectFinance {
        font-size: 13px;
        padding: 14px;
    }

    .projectInfo {
        padding: 18px;
    }

    .projectFooter {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .projectDownload {
        align-self: flex-end;
    }
}

@media (max-width: 768px) {
    .projectsBanner {
        font-size: 14px;
        /* padding: 14px 16px; */
        border-radius: 10px;
    }

    .totalProfit {
        font-size: 16px;
    }

    .projectImage {
        min-height: 230px;
    }

    .projectFinance {
        font-size: 12px;
        gap: 3px;
    }

    .projectTitle {
        font-size: 17px;
    }

    .projectDescription {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .projects {
        padding: 16px 12px;
    }

    .projectsBanner {
        font-size: 13px;
        /* text-align: center */
    }

    .totalProfit {
        font-size: 15px;
        text-align: center;
    }

    .projectCard {
        border-radius: 12px;
    }

    .projectImage {
        min-height: 200px;
    }

    .projectFinance {
        padding: 12px;
    }

    .projectInfo {
        padding: 14px;
    }

    .projectFooter {
        gap: 8px;
    }

    .projectDownload {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 360px) {
    .projectFinance {
        font-size: 11px;
    }

    .projectTitle {
        font-size: 16px;
    }

    .projectDescription {
        font-size: 12px;
    }
}

.projectsEmpty {
    margin-top: 32px;
    padding: 48px 32px;
    background: #f6f8f9;
    border-radius: 16px;
    text-align: center;
}

.projectsEmptyTitle {
    font-size: 20px;
    color: #153c45;
    margin-bottom: 12px;
}

.projectsEmptyText {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.projectsEmptyText a {
    color: #b87c3a;
    font-weight: 500;
    text-decoration: none;
}

.projectsEmptyText a:hover {
    text-decoration: underline;
}


@media (max-width: 768px) {
    .projectsBanner {
        /* padding: 14px 16px !important; */
        font-size: 14px !important;
        border-radius: 10px !important;
        /* text-align: center !important; */
        line-height: 1.4 !important;
        margin-bottom: 12px !important;
    }
}

@media (max-width: 480px) {
    .projectsBanner {
        /* padding: 12px 14px !important; */
        font-size: 13px !important;
        border-radius: 8px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }
    
    .projectsBanner span {
        display: block !important;
        word-break: break-word !important;
    }
}

@media (max-width: 360px) {
    .projectsBanner {
        /* padding: 10px 12px !important; */
        font-size: 12px !important;
        font-weight: 500 !important;
    }
}