/* ====== НАСТРОЙКА ПЕРЕКРЫТИЯ ====== */

/* сколько хотим «заехать» слайдером под шапку */

:root {
  --aurum-overlap: 80px;
}

body:not(.page-id-1511) #main > .ct-container-full:first-child {
  margin-top: -30px;
}

/* подгоняй 100–180px по месту */

.page-id-1511 #n2-ss-2-align {
  top: calc(-1*var(--aurum-overlap));
}

/* Хедер поверх контента, но без сплошной заливки,
   чтобы сквозь него был виден слайдер */

#header.ct-header {
  position: relative;
  z-index: 50;
  background: transparent !important;
}

/* Плитки держим выше всего, чтобы они не прятались под слайдер */

#header .aurum-menu-container {
  position: relative;
  z-index: 60;
}

/* Поднимаем ВЕСЬ первый контейнер с контентом (где слайдер) вверх */

#main > .ct-container-full:first-child {
  position: relative;
  z-index: 1;
  /* ниже хедера/плиток */
  margin-top: calc(-1 * var(--aurum-overlap));
}

/* На некоторых сборках Smart Slider игнорит внешний margin,
   поэтому дополнительно двигаем сам выравнивающий блок слайдера */

.page-id-1511 #n2-ss-2-align {
  top: calc(-1*var(--aurum-overlap));
}

#n2-ss-2-align {
  position: relative;
  top: calc(-1 * var(--aurum-overlap));
  margin-bottom: -100px;
}

/* Если хочешь только на этой странице — раскомментируй и поставь свой ID */

.page-id-1511 #header.ct-header {
  background: transparent!important;
}

.page-id-1511 #main > .ct-container-full:first-child {
  margin-top: calc(-1*var(--aurum-overlap));
}

.page-id-1511 #n2-ss-2-align {
  top: -76px;
}

@media (max-width: 1000px) {
  .custom-padding-me {
			padding-top: 10px!important;}
			[data-header*="type-1"] .ct-header [data-row*="bottom"]{
					background-image:none;
  }
}

/* Адаптив: на узких экранах делаем перекрытие поменьше */

@media (max-width: 991.98px) {
  :root {
    --aurum-overlap: 60px;
  }
}

/*скрытие нижнего хедера
#header > div:nth-child(1) > div:nth-child(2) {display: none}*/

/*стили контактов в шапке*/

.elementum-contact {
  text-align: right;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.elementum-phone {
  display: block;
  white-space: nowrap;
  /* запрет переноса внутри строки */
  font-size: 22px;
  font-weight: 500;
  color: #ffaf3f;
  /* золотой */
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.3s ease, filter 0.3s ease;
}

.elementum-phone:hover {
  color: #ffd166;
  /* светлее золото при наведении */
  filter: drop-shadow(0 0 6px rgba(255, 179, 0, .25));
}

.elementum-email {
  display: block;
  white-space: nowrap;
  /* запрет переноса внутри строки */
  font-size: 15px;
  color: #c9cfd6;
  /* серебристый */
  text-decoration: none;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 179, 0, 0.28);
  transition: color 0.3s ease;
}

.elementum-email:hover {
  color: #ffffff;
  /* белый при наведении */
}

/* без рамки вкладки */
.uagb-block-1a27e355.uagb-tabs__hstyle1-desktop > .uagb-tabs__body-wrap {
    border-style: none;
}
.uagb-block-1a27e355.uagb-tabs__hstyle1-desktop > .uagb-tabs__panel .uagb-tab:hover {
color: #C6932B;
}

/* 2 столбца на мобиле */
/* Только мобильные: 2 колонки */
@media (max-width: 767px) {
  .uagb-tabs__wrap ul.uagb-tabs__panel {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important; /* расстояние между рамками */
  }

  .uagb-tabs__wrap ul.uagb-tabs__panel > li.uagb-tab {
    border: 1px solid #d6d6d6 !important;
    margin: 0 !important;
    box-sizing: border-box;
  }

  .uagb-tabs__wrap ul.uagb-tabs__panel > li.uagb-tab > a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px;
    text-align: center;
  }
}


/*стили заявки*/

/*СТИЛИ ФОРМЫ*/
/* Контейнер секции */
.cf7c-section {
  display: flex;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 40px auto;
  border: 2px solid #d4af37;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Левая колонка */
.cf7c-left {
  flex: 1;
  min-width: 300px;
  padding: 25px;
  background: #111111;
  color: #fff;
}

.cf7c-left h3 {
  font-size: 22px;
  margin-top: 0;
  color: #d4af37;
}

.cf7c-left p {
  margin: 8px 0;
  font-size: 16px;
}

.cf7c-left .cf7c-phone {
  font-size: 16px;
  font-weight: bold;
  color: #d4af37;
}

/* Блок кнопок */
.cf7c-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px; /* расстояние между кнопками */
}

/* Общий стиль кнопок */
.cf7c-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* отступ между иконкой и текстом */
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Золотая кнопка */
.cf7c-btn-gold {
  background: linear-gradient(135deg, #d4af37, #f5d76e);
  color: #000 !important;
  border: 1px solid #c09a2d;
}

.cf7c-btn-gold:hover {
  background: linear-gradient(135deg, #b7950b, #e0c155);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Иконка на кнопке "Проложить маршрут" черная */
.cf7c-btn-gold .fa-route {
  color: #000 !important;
}

/* Чёрная кнопка */
.cf7c-btn-black {
  background: #111;
  color: #fff !important;
  border: 1px solid #d4af37;
}

.cf7c-btn-black:hover {
  background: #222;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Иконки в кнопках */
.cf7c-btn i {
  font-size: 16px;
  color: inherit; /* иконка того же цвета, что и текст */
}

/* Правая колонка */
.cf7c-right {
  flex: 1;
  min-width: 300px;
  padding: 25px;
  background: #fff;
}

/* Правая колонка отступы между p */
.cf7c-right p{
 margin-block-end: -4px;
		margin-bottom: 12px;
}

/*Текст согласия*/
.wpcf7-list-item-label {
    margin-left: 10px;
    font-size: 14px;
		font-weight: 400;
		font-family: "Roboto Slab", Sans-Serif;
}

/* Поля формы */
.cf7c-right label {
  display: block;
 	margin: 0 0px 10px;
  font-size: 16px;
  color: #000;
}

.cf7c-right input[type="tel"],
.cf7c-right input[type="file"],
.cf7c-right input[type="submit"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #d4af37;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
}

.cf7c-right input[type="submit"] {
font-size: 18px;
}

.cf7c-right label i {
margin-bottom: 5px;
}

.cf7c-right input[type="tel"]::placeholder {
  color: #666;
}

/* Чекбокс */
.cf7c-right .wpcf7-acceptance {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-top: 12px;
}

.cf7c-right .wpcf7-acceptance i {
  color: #d4af37;
}

/* Кнопка отправки */
.cf7c-right input[type="submit"] {
  background: linear-gradient(135deg, #d4af37, #f5d76e)!important;
  color: #000 !important;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.cf7c-right input[type="submit"]:hover {
  background: #b7950b !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/*Кнопка всегда насыщенная*/
.wpcf7 .wpcf7-submit:disabled {
    opacity: 1;
}

/*Скрытие спинера*/
.wpcf7-spinner {
    display: none;
}
/* Иконки в левой и правой колонке */
.cf7c-left p i,
.cf7c-left h3 i,
.cf7c-right label i {
  margin-right: 6px;
  color: #d4af37;
}



/*стили героя*/
.features {
  --gold: #C6932B;
  display: grid;
}

.feature-icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  display: block;
}

/*ШОРТКОДЫ С ЦЕНАМИ И ДАТОЙ*/
.price-skupka {
	color: #ffaf3f;
  font-size: 22px;
}

.data-price-skupka {
	color: #f4f5f6;
}

/*соотношение верхнего футера*/
@media (min-width: 1000px) {
  [data-footer*="type-1"] .ct-footer [data-row*="top"] > div {
    --grid-template-columns: 5fr 3fr;
  }
}