/* =============================================================
   ГЛОБАЛЬНЫЕ СТИЛИ И ШРИФТ
   ============================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Times New Roman', Times, serif;
  background-color: #edefeb;
  color: #232323;
  margin: 0;
  padding: 0;
}

/* =============================================================
   НАВБАР (ОБНОВЛЕННАЯ ВЕРСИЯ)
   ============================================================= */

/* --- Базовые стили для навбара (как в !!!.html) --- */
.custom-navbar {
  position: fixed !important;
  top: 1.5rem !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 999 !important;
  width: calc(100% - 2rem) !important;
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 50px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: blur(10px);
}

/* Сжатое состояние навбара при скролле */
.custom-navbar.shrink {
  top: 0 !important;
  padding: 0.2rem 1rem !important;
  border-radius: 0 !important;
  background-color: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15) !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Логотип в навбаре */
.custom-navbar .navbar-brand img {
  height: 60px;
  transition: height 0.3s ease, transform 0.3s ease;
}

/* Сжатое состояние логотипа */
.custom-navbar.shrink .navbar-brand img {
  height: 40px;
}

/* Ссылки в навбаре */
.custom-navbar .nav-link {
  font-size: 1.3rem;
  transition: font-size 0.3s ease, padding 0.3s ease;
  padding: 0.3rem 0.5rem !important;
}

/* Сжатое состояние ссылок */
.custom-navbar.shrink .nav-link {
  font-size: 1rem;
  padding: 0.1rem 0.5rem !important;
}

/* Кнопка бургер-меню */
.custom-navbar .navbar-toggler {
  transition: transform 0.3s ease;
  padding: 0.25rem 0.5rem;
}

.custom-navbar.shrink .navbar-toggler {
  transform: scale(0.85);
}

/* Отступ для контента, чтобы не перекрывался навбаром */
.page-content {
  padding-top: 10rem;
  transition: padding-top 0.3s ease;
}

/* При сжатом навбаре отступ уменьшается */
.page-content.shrink-padding {
  padding-top: 6rem;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .custom-navbar {
    top: 0.8rem !important;
    padding: 0.4rem 0.8rem !important;
  }
  .custom-navbar.shrink {
    top: 0 !important;
    padding: 0.1rem 0.8rem !important;
  }
  .custom-navbar .navbar-brand img {
    height: 45px;
  }
  .custom-navbar.shrink .navbar-brand img {
    height: 32px;
  }
  .custom-navbar .nav-link {
    font-size: 1.1rem;
  }
  .custom-navbar.shrink .nav-link {
    font-size: 0.95rem;
  }
  .page-content {
    padding-top: 7rem;
  }
  .page-content.shrink-padding {
    padding-top: 5.5rem;
  }
}

@media (max-width: 480px) {
  .custom-navbar .navbar-brand img {
    height: 38px;
  }
  .custom-navbar.shrink .navbar-brand img {
    height: 28px;
  }
  .page-content {
    padding-top: 6.5rem;
  }
  .page-content.shrink-padding {
    padding-top: 5rem;
  }
}

/* Плавное появление тени при скролле */
.custom-navbar.shrink {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12) !important;
}

/* =============================================================
   ГЕРОЙ СЕКЦИЯ (ГЛАВНАЯ)
   ============================================================= */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/header.jpg') no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  padding: 5rem 1rem;
  margin-top: 0;
  padding-top: 6rem;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  margin-top: 0;
}

.hero-text {
  font-size: 1.3rem;
  max-width: 900px;
  margin: 2rem auto;
  line-height: 1.5;
  margin-top: 0;
}

/* ГЕРОЙ ВНУТРЕННИХ СТРАНИЦ */
.hero-inner {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('.../images/header.jpg') no-repeat center center/cover;
  min-height: 40vh;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  padding: 8rem 1rem 4rem;
  margin-top: 0;
}

.hero-inner h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
}

.hero-inner p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 1rem auto 0;
}

/* =============================================================
   ОБЩИЕ СЕКЦИИ
   ============================================================= */
.section-block {
  padding: 5rem 1rem;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 2rem;
}

.contact-subtitle {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.4rem;
}

.contact-subtitle a {
  color: black;
  text-decoration: none;
  border-bottom: 1px solid #aaaaaa;
}

.contact-subtitle a:hover {
  color: #aaaaaa;
}

/* =============================================================
   КАРТОЧКИ АРЕНДЫ (ГЛАВНАЯ)
   ============================================================= */
.rent-card {
  background: white;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rent-card:hover {
  transform: translateY(-5px);
}

.rent-card-img {
  height: 300px;
  object-fit: cover;
  width: 100%;
}

.rent-card-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.rent-card-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.rent-card-price {
  font-size: 1.3rem;
  font-weight: 600;
  color: #000000;
  margin-top: auto;
  margin-bottom: 1rem;
}

.rent-params {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
}

.rent-params li {
  padding: 0.1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rent-params li i {
  color: #aaaaaa;
  font-size: 1.1rem;
  width: 1.4rem;
  text-align: center;
  flex-shrink: 0;
}

.rent-params .param-label {
  font-weight: 600;
  color: #232323;
  min-width: 65px;
  flex-shrink: 0;
}

.btn-custom {
  background-color: transparent;
  border: 2px solid #aaaaaa;
  color: #232323;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: 0.3s;
  font-size: 1.1rem;
  cursor: pointer;
  align-self: flex-start;
}

.btn-custom:hover {
  background-color: #aaaaaa;
  color: black;
}

/* =============================================================
   ПЛЮСЫ АРЕНДЫ (ГЛАВНАЯ)
   ============================================================= */
.benefits-section {
  background: #edefeb;
  padding: 4rem 1rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background: #ffffff;
  border-radius: 2rem;
  padding: 2rem 1.8rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: #edefeb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

.benefit-card:hover .benefit-icon {
  background: #d0d3c8;
}

.benefit-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0.3);
  transition: filter 0.3s ease;
}

.benefit-card:hover .benefit-icon img {
  filter: brightness(0.1);
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #232323;
  letter-spacing: 0.02em;
}

.benefit-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
  margin: 0;
}

/* =============================================================
   КОНТАКТЫ (БЕЛЫЕ БЛОКИ)
   ============================================================= */
.contact-card {
  background: white;
  border-radius: 2rem;
  padding: 2.5rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 1.2rem;
}

.contact-value a {
  color: black;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}

.contact-value a:hover {
  border-bottom-color: #aaaaaa;
  color: #aaaaaa;
}

.contact-divider {
  border: 0;
  border-top: 1px solid #edefeb;
  margin: 1rem 0;
}

.contact-address {
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
  margin-top: 0.5rem;
}

.map-card {
  background: white;
  border-radius: 2rem;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  display: block;
}

/* =============================================================
   ФУТЕР
   ============================================================= */
.footer {
  background-color: #a6a99c;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

.footer a {
  color: white;
  text-decoration: underline;
  transition: 0.3s;
}

.footer a:hover {
  color: #edefeb;
}

.footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  margin-bottom: 1.5rem;
}

.footer .footer-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  border-bottom: 1px solid transparent;
}

.footer .footer-nav a:hover {
  border-bottom-color: white;
}

.footer .footer-copy {
  font-size: 0.95rem;
  opacity: 0.8;
}

/* =============================================================
   БЛОКИ ДЛЯ АКЦИОНЕРОВ
   ============================================================= */
.shareholder-item {
  background: white;
  border-radius: 2rem;
  padding: 2rem 2.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: transform 0.2s;
}

.shareholder-item:hover {
  transform: translateX(5px);
}

.shareholder-item h5 {
  font-size: 1.2rem;
  margin: 0;
  flex: 1 1 60%;
  font-weight: 600;
}

.shareholder-item .btn {
  background-color: #eff0ec;
  border: none;
  color: #232323;
  border-radius: 50px;
  padding: 0.6rem 1.8rem;
  font-weight: 600;
  transition: 0.3s;
  flex-shrink: 0;
}

.shareholder-item .btn:hover {
  background-color: #aaaaaa;
}

/* =============================================================
   COOKIE УВЕДОМЛЕНИЕ
   ============================================================= */
.cookie-notification {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2d3748;
  color: white;
  padding: 15px;
  z-index: 9999;
  display: none;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.cookie-text p {
  margin: 0;
  font-size: 14px;
}

.cookie-text a {
  color: #aaaaaa;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
}

.cookie-accept {
  background: #aaaaaa;
  color: #1a202c;
}

.cookie-reject {
  background: transparent;
  color: white;
  border: 1px solid #4a5568;
}

/* =============================================================
   АДАПТИВ
   ============================================================= */
@media (max-width: 992px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  /* Убираем старые дублирующие стили для навбара */
  .hero-section {
    padding-top: 7rem;
  }

  .hero-inner {
    min-height: 30vh;
    padding-top: 7rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .map-card {
    min-height: 250px;
  }

  .map-card iframe {
    min-height: 250px;
  }

  .footer .footer-nav {
    gap: 1rem;
  }

  .shareholder-item {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
  }

  .shareholder-item h5 {
    flex: 1 1 100%;
  }

  .cookie-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefit-card {
    padding: 1.8rem 1.2rem;
  }

  .benefit-icon {
    width: 70px;
    height: 70px;
  }

  .benefit-icon img {
    width: 34px;
    height: 34px;
  }

  .benefit-title {
    font-size: 1.1rem;
  }

  .benefit-description {
    font-size: 0.9rem;
  }
}