/*
 Theme Name:   Kadence Child
 Theme URI:    https://www.kadencewp.com/
 Description:  Дочірня тема для Kadence
 Author:       ТОВ "ВСЕ ЗАКОННО"
 Template:     kadence
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  kadence-child
*/





.content-area {
  margin: 0 !important;
  top: 0;
}

/* --- HEADER BEGIN --- */

.main-nav a.active {
  color: #fcb045 !important; /* Колір для активного пункту (такий же, як для hover) */
  font-weight: 700;
}

.site-header {
  width: 100%;
  min-width: 100%;
  padding: 20px 0;
  background-color: #000;
  position: sticky;
  top: 0;
  z-index: 1000; /* Рекомендовано вищий z-index */
  box-sizing: border-box;
}

.site-header .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
  display: block; /* Запобігає зайвим відступам */
}

/* --- Навігація --- */
.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fcb045; /* Колір для ховеру та активного пункту */
}

/* --- Бургер-меню (приховано на десктопі) --- */
.burger {
  width: 30px;
  height: 22px;
  display: none; /* Буде показано тільки на мобільних */
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  height: 3px;
  background: white;
  border-radius: 2px;
  width: 100%;
  display: block;
}

/* --- Адаптивність для мобільних пристроїв --- */
@media (max-width: 768px) {
  .main-nav {
    display: none; /* Ховаємо основне меню */
    position: absolute;
    top: 100%; /* З'являється під хедером */
    left: 0;
    right: 0;
    background-color: #000;
    padding: 20px 0;
    text-align: center;
  }

  .main-nav.open {
    display: block; /* Показуємо меню при кліку на бургер */
  }

  .main-nav ul {
    flex-direction: column; /* Пункти меню тепер в стовпчик */
    gap: 20px;
  }

  .burger {
    display: flex; /* Показуємо іконку бургера */
  }
}

/* --- HEADER END --- */

/* --- hero-section begin --- */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-section {
  height: 90vh;
  padding: 60px 20px;
  background-size: cover;
  background-position: center center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  color: #ffffff;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-section .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  opacity: 0;
  animation: fadeInUp 1.2s ease-out 0.5s forwards;
}

.hero-content {
  margin-bottom: 40px;
}

.hero-section h1.entry-title {
  font-size: 56px;
  margin-bottom: 30px;
  color: #fcb045;
  background: none;
  -webkit-text-fill-color: initial;
  text-shadow: none;
}

.hero-section .basic-info-content p {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  text-shadow: none;
}
.hero-section .basic-info-content strong {
  opacity: 0.8;
}

.hero-section-default {
  height: 80vh;
  padding: 60px 20px;
  background-color: #111;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- hero-section end --- */


body {
  background-color: #1a1a1a;
  max-width: 100%;
}
article.post-type-offer {
  background-color: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 40px;
  margin-top: 50px;
  margin-bottom: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
/* OFFER-SECTION BEGIN */

.offer-section {
  padding-top: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 100%;
  box-sizing: border-box;
}
.offer-section:last-child {
  border-bottom: none;
}
.offer-section h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #ffffff;
}
.offer-details p,
.offer-details div {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
}
.offer-details strong {
  color: #ffffff;
  margin-right: 10px;
  font-weight: 500;
}
.offer-details ul {
  list-style: none;
  padding-left: 0;
}
.offer-details ul li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 12px 18px;
  border-radius: 6px;
  margin-bottom: 8px;
}
/* OFFER-SECTION END */




/* --- section-description begin (Фінальний стиль: Фон + Хвиля) --- */

/* Основний контейнер секції */
.section-description {
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;

  /* 1. Фон з напівпрозорим зображенням (як у секції Financials) */
  background-color: #111111;
  background-image: linear-gradient(
      rgba(17, 17, 17, 0.9),
      rgba(17, 17, 17, 0.95)
    ),
    url("/wp-content/themes/kadence-child/assets/img/description-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

/* 2. Повертаємо хвилясту лінію */
.section-description::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  z-index: 1; /* Розміщуємо між фоном та контентом */

  /* Ваша рівномірна велика хвиля */
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400' preserveAspectRatio='none'><defs><linearGradient id='g' x1='0%' y1='0%' x2='100%' y2='0%'><stop offset='0%' stop-color='rgb(131, 58, 180)'/><stop offset='50%' stop-color='rgb(253, 29, 29)'/><stop offset='100%' stop-color='rgb(252, 176, 69)'/></linearGradient></defs><path d='M 0,200 Q 360,50 720,200 T 1440,200' fill='none' stroke='url(%23g)' stroke-width='1.2' stroke-dasharray='10 10' stroke-linecap='round'/></svg>");

  height: 400px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  opacity: 0.3;
  animation: wave 25s linear infinite; /* Повертаємо анімацію */
}

#financials h2 {
  color: #fcb045 !important;
}

/* 3. Піднімаємо контент над хвилею та стилізуємо заголовок */
.section-description h2,
.description-layout-two-columns,
.description-layout-full-width {
  position: relative;
  z-index: 2;
}

.section-description h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #fcb045; /* Встановлюємо акцентний колір */
}

/* --- Стилі для макетів (без змін) --- */
.description-layout-two-columns {
  display: flex;
  align-items: center;
  gap: 80px;
}
.description-image-column {
  flex: 1 1 45%;
}
.description-text-column {
  flex: 1 1 55%;
}

.description-image-column img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.description-layout-full-width .manager-content {
  max-width: 800px;
  margin: 0 auto;
}

.section-description .manager-content {
  font-size: 18px;
  line-height: 1.9;
  color: #cccccc;
}
.section-description .manager-content p {
  margin-bottom: 1.6em;
}

@media (max-width: 768px) {
  .description-layout-two-columns {
    flex-direction: column;
    gap: 40px;
  }
}

/* --- section-description end --- */

/* --- Стилі для навігації --- */

.main-nav a {
  color: white;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  transition: color 0.2s;
  outline: none; /* Прибираємо стандартну рамку фокусування */
  box-shadow: none; /* Прибираємо тінь фокусування, якщо вона є */
}

/* Стан при наведенні курсором */
.main-nav a:hover {
  color: #fcb045;
}

/* Стан, коли посилання є активним/поточним (клас додає JavaScript) */
.main-nav a.active {
  color: #fcb045;
  font-weight: 700;
}

/* Прибираємо будь-які ефекти теми при фокусі або кліку, які можуть конфліктувати */
.main-nav a:focus,
.main-nav a:active {
  background: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* --- photo-gallery-section begin (Splide with Scrollbar) --- */



.photo-gallery-section {
    background-color: #ffffff;
    padding: 80px 0 0 0;
    border-top: 1px solid #e2e8f0;
}

.photo-gallery-section h2 {
    color: #1A202C;
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
}

/* --- ГОЛОВНІ ЗМІНИ ТУТ --- */
/* Контейнер, який буде прокручуватися */
#image-carousel .splide__track {
    overflow-x: auto; /* Вмикаємо горизонтальну прокрутку */
    padding-bottom: 25px; /* Додаємо місце для скролбару */
}

/* Стилізація скролбару для Chrome/Safari */
#image-carousel .splide__track::-webkit-scrollbar {
    height: 8px;
}
#image-carousel .splide__track::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 4px;
}
#image-carousel .splide__track::-webkit-scrollbar-thumb {
    background-color: #fcb045; /* Ваш фірмовий колір */
    border-radius: 4px;
}
/* Стилізація скролбару для Firefox */
#image-carousel .splide__track {
    scrollbar-width: thin;
    scrollbar-color: #fcb045 #e2e8f0;
}
/* --- КІНЕЦЬ ЗМІН --- */

/* Стилізація слайда */
#image-carousel .splide__slide {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(45, 55, 72, 0.1);
    /* aspect-ratio: 16 / 10; */
    height: 400px;
}
#image-carousel .splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
#image-carousel .splide__slide a:hover img {
    transform: scale(1.05);
}

/* Кастомні стрілки для каруселі */
#image-carousel .splide__arrow {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(45, 55, 72, 0.1);
    width: 50px;
    height: 50px;
}
#image-carousel .splide__arrow svg { fill: #1A202C; }
#image-carousel .splide__arrow--prev { left: -25px; }
#image-carousel .splide__arrow--next { right: -25px; }

/* Адаптивність для стрілок */
@media (max-width: 600px) {
    #image-carousel .splide__arrow--prev { left: 10px; }
    #image-carousel .splide__arrow--next { right: 10px; }
}

.splide__pagination {
  display: none!important;
}


/* --- photo-gallery-section end --- */

/* --- land-bank-section begin --- */

.section-land-bank {
  background-color: #ffffff;
  color: #2d3748;
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-land-bank h2 {
  color: #1a202c;
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
}

/* --- Діаграма (оновлені стилі) --- */
.land-distribution-chart {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(45, 55, 72, 0.08);
  padding: 25px;
  margin-bottom: 45px !important;
}
.land-distribution-chart strong {
  display: block;
  margin-bottom: 15px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: #4a5568;
  font-size: 16px;
  text-transform: uppercase;
  text-align: center;
}
.land-distribution-chart .chart-bar {
  display: flex;
  width: 100%;
  height: 35px;
  background-color: #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}
.chart-bar > div {
  position: relative;
  color: white;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: width 0.8s ease-in-out;
  display: flex;
  align-items: center;
  padding-left: 15px;
}
.bar-owned {
  background-color: #fcb045;
  margin: 0;
  height: 100%;
}
.bar-rented {
  background-color: #4a5568;
  margin: 0;
  height: 100%;
}

.chart-legend {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 15px;
  font-size: 14px;
}
.chart-legend span::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.legend-owned::before {
  background-color: #fcb045;
}
.legend-rented::before {
  background-color: #4a5568;
}

/* --- Сітка плашок --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* <-- Ось ця зміна */
  gap: 25px;
}
.stat-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(45, 55, 72, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
  margin: 0 !important;
}
.stat-item:not(.stat-item-full-width) {
  display: flex;
}
.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(45, 55, 72, 0.12);
}
.stat-item-visual {
  flex: 0 0 80px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("/wp-content/themes/kadence-child/assets/img/land-texture.jpg");
  background-size: cover;
  background-position: center;
  height: 100%;
}
.stat-item-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 32, 44, 0.6);
}
.stat-item-visual svg {
  position: relative;
  z-index: 2;
  width: 32px;
  height: 32px;
  color: #ffffff;
  opacity: 0.8;
}
.stat-item-content {
  flex: 1;
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stat-item-content p,
.stat-item-content div {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}
.stat-item-content strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: #1a202c;
  font-size: 14px;
  text-transform: uppercase;
  opacity: 0.7;
}
.stat-item-full-width {
  grid-column: 1 / -1;
  padding: 25px;
}
.cadastre-link {
  color: #2b6cb0;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.cadastre-link:hover {
  border-color: #2b6cb0;
}

/* --- Блок "Особливості" --- */
.features-highlight-block {
  text-align: center;
  background-color: #ffffff;
  border: 2px dashed rgba(43, 108, 176, 0.3);
  border-radius: 12px;
  padding: 20px 25px;
  margin-top: 25px;
}
.features-icon {
  margin: 0 auto 20px;
}
.features-icon svg {
  width: 40px;
  height: 40px;
  color: #2b6cb0;
}
.features-content strong {
  display: none;
}
.features-content p {
  margin: 0;
  font-size: 20px;
  line-height: 1.7;
  color: #4a5568;
  font-style: italic;
}

/* --- land-bank-section end --- */

/* --- financial-section-dark begin --- */

.section-financials-dark {
  position: relative;
  margin-top: 150px;
  color: #cccccc;
  padding-top: 80px;
  padding-bottom: 80px;

  /* --- ОНОВЛЕНО: Фон з напівпрозорим зображенням --- */
  background-color: #111111; /* Базовий колір, якщо картинка не завантажиться */
  /* Створюємо два шари: напівпрозорий чорний градієнт поверх картинки */
  background-image: linear-gradient(
      rgba(17, 17, 17, 0.9),
      rgba(17, 17, 17, 0.95)
    ),
    url("/wp-content/themes/kadence-child/assets/img/financial-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed; /* Створює ефект паралаксу при скролі */
}

/* Перехід від світлого до темного */
.section-financials-dark::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, #ffffff, #111111);
}
/* Заголовок секції */
.section-financials-dark h2 {
  color: #ffffff;
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
}

/* --- Нова єдина плашка для ціни --- */
.price-highlight-container {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}
.price-card {
  background: linear-gradient(145deg, #222222, #181818);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* --- Стилі для другорядних фінансових даних --- */
.secondary-financial-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(250px, 1fr)
  ); /* Дозволяємо більше колонок */
  gap: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 0;
  margin-bottom: 50px;
}

/* Створюємо стиль "картки" для кожного елемента */
.secondary-item {
  background-color: rgba(255, 255, 255, 0.03); /* Дуже легкий фон */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease,
    border-color 0.3s ease;
}

/* Стиль для заголовка ("Строк оренди") */
.secondary-item strong {
  display: block;
  color: #aaaaaa;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

/* Стиль для значення ("5 років") */
.secondary-item p {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fcb045;
}

/* Перемикач валют */
.currency-switcher {
  display: inline-flex;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 30px;
  padding: 5px;
  margin-bottom: 25px;
}
.currency-switcher button {
  background: transparent;
  border: none;
  color: #aaaaaa;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.currency-switcher button.active {
  background: #000;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Відображення ціни */
.price-display {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
}
.price-currency-symbol {
  font-size: 36px;
  font-weight: 600;
  color: #fcb04593;
}
.price-value {
  font-family: "Roboto", sans-serif;
  font-size: 60px;
  font-weight: 700;
  color: #fcb045;
  line-height: 1;
}

/* --- Другорядні фінансові дані --- */
.secondary-financial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: center;
  margin-bottom: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
}

/* Блок зобов'язань */
.obligations-block {
  margin-top: 50px;
  text-align: center;
}
.obligations-block h3 {
  color: #fcb045;
  margin-bottom: 15px;
}
.obligations-block p {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  color: #aaaaaa;
}

/* --- assets-section-light begin --- */

/* Перехід від темного фінансового блоку до світлого блоку активів */
.section-assets-light {
  position: relative;
  margin-top: 150px;
}
.section-assets-light::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, #111111, #ffffff);
}

.section-assets-light {
  background-color: #f7fafc; /* Змінив фон на дуже світло-сірий */
  color: #2d3748;
  padding: 80px 0;
}

.section-assets-light h2 {
  color: #1a202c;
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
}

.asset-list {
  max-width: 900px;
  margin: 0 auto;
}

/* --- Нова акцентна картка для працівників (з діагональним фоном) --- */

.asset-item-highlight {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: #ffffff; /* Основний білий фон картки */
    border-radius: 12px;
    padding: 30px 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(45, 55, 72, 0.1);
    position: relative;
    overflow: hidden;
}

/* Створюємо шар для фонового зображення */
.asset-item-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;


    /* Шар 1: Напівпрозоре затемнення для контрасту */
    /* Шар 2: Ваше фонове зображення-текстура */
    background-image: 
        linear-gradient(rgba(26, 32, 44, 0.4), rgba(26, 32, 44, 0.4)),
        url('/wp-content/themes/kadence-child/assets/img/office-workers.jpg');
    background-size: cover;
    background-position: center;
    
    /* ОСНОВНА МАГІЯ: "Вирізаємо" діагональну область */
    clip-path: polygon(65% 0, 100% 0, 100% 100%, 45% 100%);
}

/* Піднімаємо основний контент над фоном */
.highlight-icon,
.highlight-content {
    position: relative;
    z-index: 2;
}



.highlight-icon svg {
    width: 48px;
    height: 48px;
    color: #2B6CB0;
}

.highlight-content strong {
    font-family: 'Roboto', sans-serif;
    color: #4A5568;
    font-size: 16px;
    text-transform: uppercase;
}
.highlight-content .large-value {
    font-family: 'Roboto', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #1A202C;
    line-height: 1.1;
}

/* --- Новий стиль для звичайних пунктів з іконками --- */
.asset-item {
  display: grid;
  grid-template-columns: 40px 1fr; /* Колонка для іконки і для контенту */
  align-items: flex-start;
  gap: 25px;
  padding: 15px 0;
  border-bottom: 1px solid #e2e8f0;
}
.asset-list .asset-item:last-child {
  border-bottom: none;
}
.asset-icon {
  margin-top: 3px;
}
.asset-icon svg {
  width: 28px;
  height: 28px;
  color: #718096; /* Менш яскравий колір для іконок */
}
.asset-item > .asset-content > strong,
.asset-item > .asset-content > h3 {
  display: block;
  font-family: "Roboto", sans-serif;
  color: #4a5568;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0;
  margin-bottom: 10px;
}
.asset-item p,
.asset-item .wysiwyg-content {
  font-size: 17px;
  line-height: 1.8;
  color: #2d3748;
  margin: 0;
}

/* Стилі для списку техніки залишаються схожими */
.machinery-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.machinery-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 12px 20px;
  border-radius: 6px;
  margin-bottom: 8px;
  border: 1px solid #e2e8f0;
}
.machinery-type {
  font-size: 16px;
  color: #2d3748;
}
.machinery-count {
  font-size: 16px;
  font-weight: 700;
  color: #1a202c;
}

/* --- assets-section-light end --- */

@media (max-width: 768px) {
  .price-value {
    font-size: 28px!important;
  }
  .secondary-financial-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* --- financial-section-dark end --- */




/* --- Перехід до підвалу --- */

/* 1. Готуємо останню світлу секцію ("Активи") */
.section-assets-light {
    position: relative;
    /* Створюємо простір ПІД секцією для градієнта */
    padding-bottom: 150px; /* 80px (старий відступ) + 150px (для градієнта) */
    z-index: 2; /* Робимо цей блок шаром вище */
}

/* 2. Малюємо градієнт ПІСЛЯ блоку "Активи" */
.section-assets-light::after {
    /* content: ''; */
    position: absolute;
    bottom: 0; /* Прив'язуємо до низу */
    left: 0;
    width: 100%;
    height: 150px; /* Висота переходу */
    background: linear-gradient(to bottom, #f7fafc, #111111);
}

/* --- contact-footer-section begin (Варіант: Кінематографічний) --- */



#contacts, .offer-section .section-contacts-dark {
    max-width: 100%;
    box-sizing: border-box;
}

/* Перехід від світлого блоку до темного футера */
.section-contacts-dark {
    position: relative;
    /* margin-top: 150px; */
}
.section-contacts-dark::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 150px;
        box-sizing: border-box;
    background: linear-gradient(to bottom, #ffffff, #111111);
    /* z-index не потрібен, оскільки блок "Активи" не має z-index */
}

/* Основний контейнер секції */
.section-contacts-dark {
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 40px 20px;
    color: #cccccc;

    /* Фонове зображення (переконайтесь, що шлях правильний) */
    background-color: #111111;
    background-image: 
        linear-gradient(rgba(10, 10, 20, 0.85), rgba(10, 10, 20, 0.95)),
        url('/wp-content/themes/kadence-child/assets/img/contacts-bg.jpg');
    background-size: cover;
    background-position: center;
    
    /* Запускаємо анімацію */
    animation: kenBurns 30s ease-in-out infinite alternate;
}

/* Контейнер для всього контенту всередині секції */
.section-contacts-dark .content-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.section-contacts-dark h2 {
    color: #fcb045; /* Ваш фірмовий помаранчевий колір */
    font-size: 36px;
    margin-bottom: 60px;
}

/* Стиль "Скляна картка" */
.manager-card-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.manager-name {
    font-size: 32px;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 5px;
}
.manager-position {
    color: #aaaaaa;
    font-style: italic;
    margin-top: 0;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.contact-methods a:hover {
  color: #fcb045;
  transform: scale(1.02);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.contact-icon svg {
    width: 24px;
    height: 24px;
    color: #fcb045;
}
.contact-item a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}


/* Копірайт внизу екрану */
.site-footer-info {
    width: 100%;
    padding-top: 30px;
    margin-top: auto; /* Притискає елемент до низу */
}
.site-footer-info p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    margin: 0;
}

/* Адаптивність для картки */
@media (max-width: 768px) {
    .manager-card-glass {
        padding: 40px 20px;
    }
}

/* --- contact-footer-section end --- */





/* --- ПЕРЕХІД ДО ПІДВАЛУ (повертаємо градієнт) --- */

/* 1. Готуємо останню світлу секцію ("Активи"), щоб розмістити градієнт ПІСЛЯ неї */
.section-assets-light {
    position: relative;
    /* Збільшуємо відступ знизу, щоб звільнити місце для градієнта */
    padding-bottom: 140px; /* 80px (існуючий відступ) + 60px (для градієнта) */
    z-index: 2;
}

/* 2. Малюємо сам градієнт в кінці секції "Активи" */
.section-assets-light::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px; /* Компактна висота переходу */
    /* Градієнт від світло-сірого (фон "Активів") до темного (фон підвалу) */
    background: linear-gradient(to bottom, #f7fafc, #111111);
}

/* 3. Прибираємо зайвий відступ у самого підвалу */
#colophon.site-footer {
    margin-top: 0 !important;
}






/* --- Медіа-запити для мобільних --- */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr; /* На мобільних показуємо одну плашку в рядку */
  }

  .site-header img {
    max-height: 30px;
  }

  h2 {
    font-size: 28px!important;
  }

/* HERO-SECTION MOBILE BEGIN */
    .hero-section {
        /* Можна трохи зменшити висоту, якщо потрібно, наприклад: height: 85vh; */
        padding: 40px 15px; /* Зменшуємо вертикальні та горизонтальні відступи */
    }

    .hero-section h1.entry-title {
        font-size: 36px; /* Значно зменшуємо розмір головного заголовка */
        line-height: 1.2; /* Покращуємо читабельність, якщо заголовок на 2 рядки */
        margin-bottom: 20px;
    }

    .hero-section .basic-info-content p {
        font-size: 16px; /* Трохи зменшуємо розмір підзаголовків */
    }
/* HERO-SECTION MOBILE END */



/* --- SECTION-DESCRIPTION MOBILE BEGIN --- */


  .section-description {
      padding-top: 60px;
      padding-bottom: 30px;
  }

  .section-description h2 {
      font-size: 32px; /* Зменшуємо заголовок */
      margin-bottom: 40px;
  }

  .content-container img {
    max-height: 70vh;
  }
  /* Перебудовуємо макет з двох колонок в одну */
  .description-layout-two-columns {
      flex-direction: column; /* Колонки стають одна під одною */
      gap: 20px; /* Зменшуємо відстань між картинкою та текстом */
  }

  /* Зменшуємо відступи для тексту, щоб він не притискався до країв */
  .section-description .manager-content {
      font-size: 16px;
      line-height: 1.6;
  }

  /* Зменшуємо висоту хвилі, щоб вона не займала забагато місця */
  .section-description::after {
      height: 250px;
      opacity: 0.2; /* Робимо її ще більш прозорою */
  }


/* --- SECTION-DESCRIPTION MOBILE END --- */


/* --- GALLERY-SECTION MOBILE BEGIN --- */

  .photo-gallery-section {
      padding-top: 60px; /* Зменшуємо верхній відступ */
  }

  .photo-gallery-section h2 {
      font-size: 32px;
      margin-bottom: 40px;
  }

  /* Зменшуємо висоту слайдів на мобільних */
  #image-carousel .splide__slide {
      height: 250px;
  }

  /* Ховаємо великі стрілки на мобільних, щоб не заважали */
  #image-carousel .splide__arrow {
      display: none;
  }


/* --- GALLERY-SECTION MOBILE END --- */



/* --- LAND-BANK-SECTION MOBILE BEGIN --- */

    .section-land-bank {
        padding-top: 60px;
        padding-bottom: 30px;
    }

    .section-land-bank h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    /* Перебудовуємо сітку з плашками в одну колонку */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px; /* Зменшуємо відстань між плашками */
    }

    /* Зменшуємо текст всередині діаграми */
    .land-distribution-chart strong {
        font-size: 14px;
    }
    .chart-bar > div {
        font-size: 12px;
        padding-left: 10px;
    }

    /* Зменшуємо текст всередині плашок */
    .stat-item-content {
        padding: 20px;
    }
    .stat-item-content p,
    .stat-item-content div {
        font-size: 16px;
    }
    .stat-item-content strong {
        font-size: 13px;
    }

    /* --- Блок "Особливості" (оновлено) --- */
.features-highlight-block {
  text-align: center;
  background-color: #ffffff;
  border: 2px dashed rgba(43, 108, 176, 0.3);
  border-radius: 12px;
  padding: 25px; /* Зробили відступи однаковими і трохи меншими */
  margin-top: 40px; /* Збільшили відступ зверху для кращого відокремлення */
}
.features-icon svg {
  width: 32px; /* Зменшили іконку */
  height: 32px;
  color: #2b6cb0;
}
.features-content p {
  margin: 0;
  font-size: 18px; /* Зменшили шрифт */
  line-height: 1.7;
  color: #4a5568;
  font-style: italic;
}

    /* --- LAND-BANK-SECTION MOBILE END --- */


    /* --- FINANCIALS-SECTION MOBILE BEGIN --- */

.section-financials-dark {
    padding-top: 60px;
    padding-bottom: 60px;
}

.section-financials-dark h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

/* Зменшуємо картку з ціною */
.price-card {
    padding: 25px;
}
.price-value {
    font-size: 48px; /* Зменшуємо розмір ціни */
}
.price-currency-symbol {
    font-size: 28px;
}

/* Перебудовуємо сітку в одну колонку */
.secondary-financial-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 0;
}

.obligations-block p {
    font-size: 16px;
}

/* --- FINANCIALS-SECTION MOBILE END --- */



/* --- ASSETS-SECTION MOBILE BEGIN --- */

    .section-assets-light {
        padding: 60px 0;
    }

    .section-assets-light h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    /* --- Акцентна картка (без змін) --- */
    .asset-item-highlight {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 25px;
    }
    .asset-item-highlight::before {
        display: none;
    }
    .highlight-content {
        flex-basis: auto;
        gap: 20px;
    }

    .highlight-icon {
      margin: 0!important;
    }

    .highlight-icon svg {
        width: 40px;
        height: 40px;
    }
    .highlight-content .large-value {
        font-size: 32px;
        margin: 0!important;
    }

    /* --- НОВА СТРУКТУРА ДЛЯ ЗВИЧАЙНИХ ПУНКТІВ (ЗА МАЛЮНКОМ) --- */
    
    /* 1. Перетворюємо кожен пункт на Grid-контейнер */
    .asset-item {
        display: grid;
        grid-template-columns: 40px 1fr; /* Колонка для іконки і для заголовка/контенту */
        grid-template-areas:
            "icon    header-text" /* Іконка і заголовок в одному рядку */
            "content content";   /* Контент на всю ширину під ними */
        align-items: center; /* Вирівнюємо іконку та заголовок по вертикалі */
        gap: 5px 20px; /* Маленький вертикальний і більший горизонтальний відступ */
        padding: 25px 0;
    }

    /* 2. "Розчиняємо" контейнер .asset-content, щоб його діти стали прямими елементами сітки */
    .asset-item .asset-content {
        display: contents;
    }

    /* 3. Розміщуємо елементи по своїх місцях у сітці */
    .asset-item .asset-icon {
        grid-area: icon;
        margin-top: 0; /* Скидаємо зайвий відступ */
    }

    /* --- Заголовки (strong та h3) тепер в зоні 'header-text' --- */
    .asset-item > .asset-content > strong,
    .asset-item > .asset-content > h3 {
        grid-area: header-text;
        margin-bottom: 0; /* Прибираємо зайвий відступ */
        align-self: center; /* Вирівнюємо текст заголовка по центру з іконкою */
    }

    /* --- Весь інший контент (p, wysiwyg-content, ul) тепер в зоні 'content' --- */
    .asset-item p,
    .asset-item .wysiwyg-content,
    .asset-item .machinery-list {
        grid-area: content;
        
        font-size: 16px;
    }

    /* Додатково для списку всередині .machinery-list */
    .machinery-list {
        padding-left: 0; /* Забезпечуємо відсутність стандартного відступу списку */
    }
    .machinery-list li {
        background-color: transparent; /* Робимо фон прозорим */
        border: 1px solid rgba(0,0,0,0.1); /* Додаємо тонку рамку */
        padding: 10px 15px;
        margin-bottom: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 6px;
    }
    .machinery-list li:last-child {
        margin-bottom: 0;
    }



    /* --- ASSETS-SECTION MOBILE END --- */

/* --- УНІВЕРСАЛЬНІ ПЕРЕХОДИ МІЖ СЕКЦІЯМИ (виправлена висота 60px) --- */

/* Загальний відступ для секцій, ПІСЛЯ яких іде перехід */

.section-assets-light,
.section-financials-dark,
#colophon.site-footer {
    position: relative;
    margin-top: 60px; /* ВИПРАВЛЕНО з 150px */
}

/* Перехід від темного до світлого */
.section-land-bank::before,
.section-assets-light::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 60px; /* ВИПРАВЛЕНО з 150px */
    background: linear-gradient(to bottom, #111111, #ffffff);
}

/* Перехід від світлого до темного */
.section-financials-dark::before,
#colophon.site-footer::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 60px; /* ВИПРАВЛЕНО з 150px */
    background: linear-gradient(to bottom, #f7fafc, #111111);
}
    





/* --- FOOTER-SECTION MOBILE (REVISED) BEGIN --- */

    /* ВИПРАВЛЕНО: Повертаємо висоту на весь екран */
    .section-contacts-dark {
        /* height: calc(100vh - 80px); */
        height: auto;
        min-height: 500px; /* Мінімальна висота, якщо vh замалий */
        padding: 20px;
    }

    .section-contacts-dark h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    /* ВИПРАВЛЕНО: Картка стає більшою */
    .manager-card-glass {
        width: 100%;
        max-width: none; /* Дозволяємо картці зайняти всю доступну ширину */
        padding: 30px 20px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .manager-name {
        font-size: 26px;
    }
    .manager-position {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* ВИПРАВЛЕНО: Розміщуємо контакти в стовпчик */
    .contact-methods {
        flex-direction: column; /* Головна зміна: ставимо елементи в стовпчик */
        gap: 25px; /* Вертикальна відстань між контактами */
        align-items: flex-start; /* Вирівнюємо по лівому краю всередині картки */
        margin: 30px auto 0 auto; /* Центруємо сам блок контактів */
        width: fit-content; /* Ширина блоку по контенту */
    }
    
    .contact-item a {
        font-size: 16px; /* Трохи зменшуємо шрифт для компактності */
    }

    .contact-item a {
    overflow-wrap: break-word;
    word-break: break-word; /* Для кращої сумісності */
}

    .section-contacts-dark {
      padding: 20px 0!important;
    }

    .contact-methods {
      max-width: 100%;
      box-sizing: border-box
    };

 /* --- MOBILE FIXES BEGIN --- */

    /* Виправлення для email в контактах */
    .contact-item a {
        overflow-wrap: break-word; /* Дозволяє переносити довгі слова */
        word-break: break-word;    /* Для кращої сумісності */
    }

    /* Виправлення для списку техніки */
    .machinery-list li {
        align-items: flex-start; /* Вирівнюємо по верху, якщо текст переноситься */
    }
    .machinery-type {
        flex-basis: 70%; /* Дозволяємо назві займати більше місця */
    }
    .machinery-count {
        white-space: nowrap; /* Забороняємо перенос між числом та "шт." */
        text-align: right;
    }

    /* --- MOBILE FIXES END --- */

    .manager-card-glass {
      margin: auto 0;
    }

    /* --- FOOTER-SECTION MOBILE (REVISED) END --- */



}





















/* --- АНІМАЦІЇ --- */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) rotate(-45deg);
  }
  40% {
    transform: translateY(-20px) rotate(-45deg);
  }
  60% {
    transform: translateY(-10px) rotate(-45deg);
  }
}

.scroll-down-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  width: 24px;
  height: 24px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  z-index: 3;
  animation: bounce 2s infinite;
}
