@font-face {
  font-family: 'Involve';
  src: url('fonts/Involve-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* ============================================================
   ERROR-состояние для полей формы
   ============================================================ */

/* Сам input с ошибкой — красная рамка и текст */
.fb-input.error,
input.error {
  border-color: #ff0048 !important;
  color: #ff0048 !important;
  background: rgba(255, 0, 72, 0.06) !important;
}

/* Placeholder красный (современный синтаксис) */
.fb-input.error::placeholder,
input.error::placeholder {
  color: #ff0048 !important;
  font-style: italic;
  opacity: 1;
}

/* Фокус — рамка чуть ярче */
.fb-input.error:focus,
input.error:focus {
  border-color: #ff0048 !important;
  background: rgba(255, 0, 72, 0.08) !important;
}

/* --- Устаревшие префиксы (для очень старых браузеров) --- */
.fb-input.error::-webkit-input-placeholder,
input.error::-webkit-input-placeholder { color: #ff0048 !important; font-style: italic; }
.fb-input.error::-moz-placeholder,
input.error::-moz-placeholder          { color: #ff0048 !important; font-style: italic; opacity: 1; }
.fb-input.error:-ms-input-placeholder,
input.error:-ms-input-placeholder      { color: #ff0048 !important; font-style: italic; }
.error input[placeholder]          {-o-text-overflow:ellipsis;text-overflow:ellipsis; font-style:italic; color:#ff0048 !important}
.error::-webkit-input-placeholder {text-overflow:ellipsis; font-style:italic; color:#ff0048 !important}
.error::-moz-placeholder     {text-overflow:ellipsis; font-style:italic; color:#ff0048 !important} 
.error:-moz-placeholder      {text-overflow:ellipsis; font-style:italic; color:#ff0048 !important} 
.error:-ms-input-placeholder {text-overflow:ellipsis; font-style:italic; color:#ff0048 !important}
/* 3. Сама модалка — перебиваем inline display:inline-block */
#callbackModal.fb-callback {

  width: 360px !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 28px 28px 24px !important;
  margin: 0 auto !important;
  background: var(--color-dark, #2d3240) !important;
  color: #fff !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4) !important;
  box-sizing: border-box !important;
  font-family: var(--font-body, "Involve", sans-serif) !important;
  text-align: left !important;
  overflow: visible !important;
}

/* 4. Убираем возможную пустую "шапку" .fb-callback__head */
.fb-callback__head {
  display: block !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
}
.fb-callback__ic {
  display: none !important;      /* иконка-спрайт всё равно не грузится */
}

/* 5. Жёлтая полоска сверху */
.fb-callback::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  width: 40px;
  height: 3px;
  background: var(--color-yellow, #FFD174);
  border-radius: 0 0 3px 3px;
}

/* 6. Заголовок */
.fb-callback__title {
  margin: 0 0 6px !important;
  padding: 0 !important;
  font-family: var(--font-head, "Involve", sans-serif) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #fff !important;
  text-align: left !important;
}

/* 7. Подзаголовок */
.fb-callback__sub {
  margin: 0 0 20px !important;
  padding: 0 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  color: rgba(255, 255, 255, 0.65) !important;
  text-align: left !important;
}

/* 8. Слот формы и .my-form — убираем внешние отступы */
.fb-callback__form-slot,
.fb-callback .my-form {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 9. Поля */
.fb-input {
  display: block !important;
  width: 100% !important;
  height: 42px !important;
  padding: 0 14px !important;
  margin: 0 0 10px !important;
  font-family: inherit !important;
  font-size: 14px !important;
  color: #fff;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s, background 0.2s;
}
.fb-input::placeholder { color: rgba(255, 255, 255, 0.35) !important; }
.fb-input:focus {
  border-color: var(--color-yellow, #FFD174) !important;
  background: rgba(255, 255, 255, 0.09) !important;
}

/* 10. Чекбокс */
.fb-check {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin: 14px 0 18px !important;
  cursor: pointer;
  user-select: none;
}
.fb-check__input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.fb-check__box {
  flex-shrink: 0 !important;
  width: 18px !important;
  height: 18px !important;
  margin-top: 1px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 4px !important;
  color: transparent !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.fb-check__box svg { display: block !important; width: 12px; height: 12px; }
.fb-check__input:checked + .fb-check__box {
  background: var(--color-yellow, #FFD174) !important;
  border-color: var(--color-yellow, #FFD174) !important;
  color: var(--color-dark, #2d3240) !important;
}
.fb-check__text {
  font-size: 11.5px !important;
  line-height: 1.4 !important;
  color: rgba(255, 255, 255, 0.55) !important;
  text-align: left !important;
}
.fb-check__text a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.fb-check__text a:hover { color: var(--color-yellow, #FFD174) !important; }

/* 11. Кнопка отправки — БЕЗ иконки (SVG-спрайт всё равно пустой) */
.fb-submit {
  display: block !important;
  width: 100% !important;
  height: 46px !important;
  padding: 0 20px !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--color-text, #1a1d26) !important;
  background: var(--color-yellow, #FFD174) !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  position: relative !important;
  text-align: center !important;
}
.fb-submit:hover { background: var(--color-yellow-d, #f7d04a) !important; }
.fb-submit:active { transform: translateY(1px); }

/* Прячем пустой svg внутри кнопки, чтобы он не ломал layout */
.fb-submit .icon,
.fb-submit svg {
  display: none !important;
}
.fb-submit span {
  display: inline-block !important;
  vertical-align: middle !important;
  line-height: 1 !important;
}

/* 12. Кнопка закрытия (штатная fancybox-close-small) */
.fb-callback .fancybox-close-small {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.6) !important;
  border: none !important;
  opacity: 1 !important;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.fb-callback .fancybox-close-small:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  transform: rotate(90deg);
}
.fb-callback .fancybox-close-small svg {
  width: 18px !important;
  height: 18px !important;
  fill: currentColor !important;
}
.fb-callback .fancybox-close-small::after { content: none !important; }

/* 13. Скрытые селекты внутри формы (у вас style="display:none" — оставляем) */
.fb-callback .form-supject { display: none !important; }

/* 14. Мобильный адаптив */
@media (max-width: 480px) {
  #callbackModal.fb-callback {
    width: calc(100vw - 24px) !important;
    padding: 24px 20px 20px !important;
  }
  .fb-callback__title { font-size: 18px !important; }
}
/* ============================================================
   ПЕРВЫЙ ТАБ (Пружина / КБС) — активная вкладка
   ============================================================ */
#horizontalTab > .r-tabs-nav .r-tabs-state-active .r-tabs-anchor {
    background: #fff !important;   /* тёмный, под шапку таблицы */
    color: #2d2d2d !important;
    box-shadow: none !important;
}
/* Обёртка для заголовка и кнопки */
.page-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

/* Круглая кнопка "Назад" */
.back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #8c8c8c;
    color: #1a1a1a;
    background: transparent;
    flex-shrink: 0;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

/* Наведение — заливка чёрным, стрелка белая, лёгкий сдвиг влево */
.back-btn:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #ffffff;
    transform: translateX(-3px);
}

/* Клик — лёгкое уменьшение */
.back-btn:active {
    transform: translateX(-3px) scale(0.94);
}

/* Заголовок рядом — без лишних отступов */
.page-title-row .page-title {
    margin-bottom: 0;
    line-height: 1.1;
}

/* Адаптив: на мобиле кнопка чуть меньше */
@media (max-width: 640px) {
    .back-btn {
        width: 38px;
        height: 38px;
    }
    .back-btn svg {
        width: 18px;
        height: 18px;
    }
    .page-title-row {
        gap: 12px;
    }
}
.card4 {
  background: #fff;
  border: 1px solid var(--color-border-2);
  border-radius: var(--r-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* ============================================================
   ВТОРОЙ ТАБ (А4 / А5 / А6) — активная вкладка
   ============================================================ */
#horizontalTab2 > .r-tabs-nav .r-tabs-state-active .r-tabs-anchor,
#horizontalTab3 > .r-tabs-nav .r-tabs-state-active .r-tabs-anchor,
#horizontalTab4 > .r-tabs-nav .r-tabs-state-active .r-tabs-anchor,
#horizontalTab5 > .r-tabs-nav .r-tabs-state-active .r-tabs-anchor {
    background: #FFD683 !important;   /* жёлтый */
    color: #1a1d26 !important;
    box-shadow: none !important;
}
@font-face {
  font-family: 'Involve';
  src: url('fonts/Involve-Oblique.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Involve';
  src: url('fonts/Involve-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Involve';
  src: url('fonts/Involve-MediumOblique.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
/* ==================== НОВЫЙ ДИЗАЙН ТАБОВ — ТОЛЬКО CSS ==================== */
/* ===== Скругление верхних углов таблицы — 15px ===== */
.img-td {margin-top:30px;}
.uk-table {margin-bottom:30px !important;}
.uk-table tbody tr:nth-child(even) td {
    background-color: #F4F5F7 !important;
}

.uk-table tbody tr:first-child td {
    background-color: #fff !important;
}

.uk-table tbody tr:nth-child(odd):not(:first-child) td {
    background-color: #fff !important;
}


.uk-table thead tr:first-child th:first-child {
    border-top-left-radius: 15px !important;
}

.uk-table thead tr:first-child th:last-child {
    border-top-right-radius: 15px !important;
}

/* На случай, если в первой строке только одна ячейка с rowspan/colspan —
   скругляем верхние углы у первой строки thead */
.uk-table thead tr:first-child th {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.uk-table thead tr:first-child th:not(:only-child):not(:first-child) {
    border-top-left-radius: 0;
}
.uk-table thead tr:first-child th:not(:only-child):not(:last-child) {
    border-top-right-radius: 0;
}
.uk-table thead tr th {text-align:center !important;}
/* --- Контейнер списка табов --- */
#horizontalTab > ul {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 0 40px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
    border: none !important;
}
.uk-table tbody tr:nth-child(even) {
    background-color: #F4F5F7 !important;
}
/* --- Карточка (элемент списка) --- */
#horizontalTab > ul > li {
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background: transparent !important;
    border: none !important;
    list-style: none !important;
}

/* Адаптив */
@media (max-width: 992px) {
    #horizontalTab > ul > li {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

.grid--5 {
  grid-template-columns: 1fr !important;
}

}
@media (max-width: 576px) {
    #horizontalTab > ul > li {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* --- Ссылка внутри карточки = сама карточка --- */
#horizontalTab > ul > li > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent; /* по умолчанию рамка прозрачная */
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    color: #2d2d2d;
    padding: 0 20px 20px 20px;
    line-height: 1.3;
    text-align: left;
    box-sizing: border-box;
}

#horizontalTab > ul > li > a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ============================================
   АКТИВНЫЙ ТАБ — ЖЁЛТАЯ РАМКА #FFD683
   ============================================ */
#horizontalTab > ul > li.resp-tab-active > a,
#horizontalTab > ul > li.active > a,
#horizontalTab > ul > li > a.active,
#horizontalTab > ul > li.resp-tab-active,
#horizontalTab > ul > li.active {
    border-color: #FFD683 !important;
}

/* На случай, если библиотека вешает класс на сам li,
   но не на a — продублируем рамку и на li */
#horizontalTab > ul > li.resp-tab-active,
#horizontalTab > ul > li.active {
    border-radius: 12px;
}

/* На всякий: если рамка висит на li, а не на a,
   уберём прозрачную у a, чтобы не было двойной */
#horizontalTab > ul > li.resp-tab-active > a,
#horizontalTab > ul > li.active > a {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* --- Картинка --- */
#horizontalTab .img-title {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    height: 180px;
    overflow: hidden;
    background: #f0f0f0;
    margin-top: 0;
    margin-bottom: 15px;
}

#horizontalTab .img-title img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
border-radius: 12px;
}

#horizontalTab > ul > li > a:hover .img-title img {
    transform: scale(1.05);
}

/* ==================== ТАБЛИЦА ==================== */

.resp-tabs-container {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.resp-tab-content {
    padding: 0 !important;
}

.uk-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;

}

/* Шапка — тёмно-коричневый */
.uk-table thead th {
    background-color:#30313C !important;
    color: #ffffff !important;
    padding: 8px 10px;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
    border: none !important;
}

.uk-table thead th:first-child {
    text-align: left;
}

/* Строки */
.uk-table tbody td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0 !important;
    color: #2d2d2d;
    font-size: 15px;
}

.uk-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
}

/* Зебра */


.uk-table tbody tr:last-child td {
    border-bottom: none !important;
}

.pa20 {padding-top:20px !important;padding-bottom:20px !important;}
@font-face {
  font-family: 'Involve';
  src: url('fonts/Involve-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Involve';
  src: url('fonts/Involve-SemiBoldOblique.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Involve';
  src: url('fonts/Involve-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Involve';
  src: url('fonts/Involve-BoldOblique.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@media (min-width: 993px) {
 .services-grid {display:none !important;}
}

@media (max-width: 992px) {
 .dism-mobm {display:none !important;}
}



/* Tabs container */
.r-tabs {
	position: relative;
	background-color: #f8f8f8;
}

/* Tab element */
.r-tabs .r-tabs-nav .r-tabs-tab {
	position: relative;
	-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
border:1px solid #f7f7f7;
	font-size:11px;
	font-weight:700;
	-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
	margin-bottom:25px;
	font-weight:400;margin-right:10px;
	
	text-align:center;
}

/* Tab anchor */
.r-tabs .r-tabs-nav .r-tabs-anchor {
	display: inline-block;
	padding: 10px 12px;

	text-decoration: none;


	color: #0c0c0c;
}

/* Disabled tab */
.r-tabs .r-tabs-nav .r-tabs-state-disabled {
	opacity: 0.5;
}

/* Active state tab anchor */
.r-tabs .r-tabs-nav .r-tabs-state-active .r-tabs-anchor {
	color: #107fc6;
	text-shadow: none;
	-webkit-box-shadow: 0px 0px 8px 4px rgba(34, 60, 80, 0.2);
-moz-box-shadow: 0px 0px 8px 4px rgba(34, 60, 80, 0.2);
box-shadow: 0px 0px 8px 4px rgba(34, 60, 80, 0.2);
	-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
border:1px solid #f7f7f7;

	background:none !important;

}
.r-tabs-state-active {background:none !important;}
/* Tab panel */
.r-tabs .r-tabs-panel {

border-bottom-right-radius: 15px;
	border-bottom-left-radius: 15px;

}

/* Accordion anchor */
.r-tabs .r-tabs-accordion-title .r-tabs-anchor {
	display: block;
	padding: 10px;

	background-color: #107fc6;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	text-shadow: 0 1px rgba(0, 0, 0, 0.4);
	font-size: 14px;

	border-top-right-radius: 4px;
	border-top-left-radius: 4px;
}

/* Active accordion anchor */
.r-tabs .r-tabs-accordion-title.r-tabs-state-active .r-tabs-anchor {
background-color: #3cf;
color: #fff;
	text-shadow: none;
}

/* Disabled accordion button */
.r-tabs .r-tabs-accordion-title.r-tabs-state-disabled {
	opacity: 0.5;
}

.acor-container {
    margin: 20px 0;
}
.acor-container .acor-body {
    margin: 0 auto;
    height: 0;
    color: rgba(0, 0, 0, 0);
    line-height: 18px;
    padding: 0 30px;
    box-sizing: border-box;
    transition: color 0.5s, padding 0.5s;
    overflow: hidden;
    font-size: 16px;

}
.acor-container .acor-body p {
    margin: 0 0 10px;
}
.acor-container label {
    cursor: pointer;
background: rgb(32,120,177);
background: linear-gradient(90deg, rgba(32,120,177,1) 45%, rgba(103,200,242,1) 100%);-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
    display: block;
    padding: 15px 20px;
    width: 100%;
    color: #FFF;
    font-weight: 300;
    box-sizing: border-box;
    z-index: 100;
    font-size: 18px;
    margin: 0 0 5px;
    transition: color .35s;
}
.acor-container label:hover {
    color: #FFF;
}
.acor-container input{
    display: none;
}
.acor-container label:before {
    content: '\276F';
    float: right;
}
.acor-container input:checked + label {
    background-color: #285f8f;
    color: #FFF;

}
.acor-container input:checked + label:before {
    transition: transform .35s;
    transform: rotate(90deg);
}
.acor-container input:checked + label + .acor-body {
    height: auto;
    margin-top: -5px;
    color: #000;
    padding: 20px 10px 10px;
}


/* ===== ГЛАВНАЯ СЕТКА: 1 колонка для мобилы ===== */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
padding: 0px 15px 0px 15px;
}

/* ===== КАРТОЧКА: grid внутри ===== */
.service-card {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas:
        "title"
        "desc"
        "."
        "arrow";
    gap: 6px;
    min-height: 450px;
    padding: 10px;
    border-radius: 20px;
    text-decoration: none;
    color: #1a1a1a;
    overflow: hidden;
    background-color: #e8e8e8;

    /* Фон на всю карточку */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
    isolation: isolate;
    transition: transform 0.2s ease;
}


.service-card:active {
    transform: scale(0.98);
}

/* ===== Фоновое изображение на всю карточку ===== */
.service-bg {
  grid-area: 1 / 1 / -1 / -1;
    width: 100%;           /* ← добавить */
    height: 100%;          /* ← добавить */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    border-radius: inherit;
}
/* ===== Заголовок — левый верхний угол ===== */
.service-title {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    color: #000;
    z-index: 2;
}
.service-content {max-width:120px;}
.service-content p{margin-top:6px;}
/* ===== Описание — под заголовком ===== */
.service-desc {
    position: absolute;
    top: 46px;         /* 20px (top) + высота заголовка + отступ */
    left: 20px;
    right: 20px;
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
    color: #555;
    z-index: 2;
}

/* ===== Стрелка — левый нижний угол ===== */
.service-arrow {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.service-arrow svg {
    width: 16px;
    height: 16px;
    stroke: #1a1a1a;
}

.service-card:active .service-arrow {
    background-color: #fce8b3;
}
.map-div {margin-top:50px;}
.coonn {
padding:19px;
  background: #fff;
  border-radius: 23px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
/* Основной контейнер */
.route-section {
    padding: 60px 40px;
    max-width: 1440px;
    margin: 0 auto;
}
/* Основной контейнер */
.block-prod-n {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;margin-top:30px !important;
    background-color: #ffffff;
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

/* Левая колонка (текст) */
.block-prod-n .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
    display: flex;
    flex-direction: column;
}

/* Правая колонка (картинка) */
.block-prod-n .col-md-9 {
    flex: 0 0 73%;
    max-width: 73%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Изображение */
.block-prod-n .col-md-9 img {
    max-width: 100%;
    height: auto;
    object-fit: contain;max-height:200px;
    display: block;
}

/* Заголовок */
.title-pr-s {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 12px;
}

/* Желтая полоска */
.title-pr-s2 {

}

/* Артикул */
.title-art-s {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

/* Цена */
.title-price-s {
    font-size: 18px;
    color: #1a1a1a;
    margin-top: 20px;
}

.title-art-s b,
.title-price-s b {
    font-weight: 700;
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 992px) {
    .block-prod-n {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        gap: 30px;
    }

.card {

  padding: 5px 5px !important;
    }
    .block-prod-n .col-md-3,
    .block-prod-n .col-md-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .block-prod-n .col-md-9 {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .block-prod-n {
        padding: 20px;
        border-radius: 16px;
    }
    .title-pr-s {
        font-size: 20px;
    }
    .title-art-s,
    .title-price-s {
        font-size: 16px;
    }
}
/* Сетка: 3 колонки */
.route-grid {
    display: grid;
    /* Левая колонка 280px, центральная занимает всё свободное место, правая 320px */
    grid-template-columns: 280px 1fr 340px;
    gap: 50px;
    align-items: start;
}

/* ========== ЛЕВАЯ КОЛОНКА ========== */
.main-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
    color: #000;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.info-icon {
    font-size: 24px;
    color: #000;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.info-text h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.info-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.important-note {
    margin-top: 40px;
    padding-top: 20px;
}

.important-note h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.important-note p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* ========== ЦЕНТРАЛЬНАЯ КОЛОНКА (КАРТА) ========== */
.route-map {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.route-map img {
    width: 100%;
    height: auto;
    border-radius: 30px; /* Скругление углов карты */
    display: block;
}

.map-address {
    text-align: center;
    margin-top: 30px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
}

/* ========== ПРАВАЯ КОЛОНКА ========== */
.route-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Фото с бейджем */
.photo-wrapper {
    position: relative;
    border-radius: 20px;
}

.photo-wrapper > img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

.photo-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 160px;
    height: 160px;
    background-color: #fce8b3;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    line-height: 1.3;
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.photo-badge strong {
    font-weight: 700;
    margin-bottom: 4px;
}

/* Режим работы */
.work-hours h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    margin-bottom: 12px;
    color: #333;
}

/* Ждем вас */
.welcome-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.welcome-text p {
    font-size: 15px;
    color: #666;
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 1200px) {
    .route-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .route-info {
        grid-column: 1 / -1; /* Текст на всю ширину сверху */
    }
    .route-sidebar {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .photo-wrapper {
        grid-row: span 2; /* Фото занимает 2 строки */
    }
}

@media (max-width: 768px) {
    .route-section {
        padding: 30px 20px;
    }
    .route-grid {
        grid-template-columns: 1fr;
    }
    .route-sidebar {
        grid-template-columns: 1fr;
    }
    .photo-badge {
        width: 130px;
        height: 130px;
        font-size: 12px;
        top: -10px;
        right: -10px;
    }
}


.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1400px;
}

.card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease;
}

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

.icon-circle {
    width: 48px;
    height: 48px;
    background-color: #fce8b3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 20px;
    color: #000000;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.title-row .card-title {
    margin-bottom: 0;
}

.messenger-icons {
    display: flex;
    gap: 6px;
    font-size: 20px;
}
.telegram-color { color: #2AABEE; }
.viber-color { color: #7360F2; }

.card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.phone-link, .email-link {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.email-link {
    font-size: 17px;
}

.schedule {
    margin-top: auto;
    font-size: 14px;
    color: #666666;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.schedule-row {
    display: flex;
    gap: 12px;
}

.schedule-row span:first-child {
    width: 45px; 
}

.note {
    font-size: 14px;
    color: #666666;
    line-height: 1.4;

}

.address-text {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}
.card__media3 {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #fafbfc;
}
.card__media3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}


.card__media4 {
  overflow: hidden;
  background: #fafbfc;
}
.card__media4 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Плашка "Супер цена" в левом верхнем углу картинки */
.card__media4 {
  position: relative;   /* нужно, чтобы плашка позиционировалась относительно картинки */
}

.card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 6px 12px;
  background: #FFD174;
  color: #1a1d26;                /* тёмный текст для контраста */
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  border-radius: 13px;

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  pointer-events: none;          /* чтобы не мешала клику по карточке */
  white-space: nowrap;
}
.card:hover .card__media4 img { transform: scale(1.05); }
.card:hover .card__media3 img { transform: scale(1.05); }
.checklist__list ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.max-h200 {max-height:180px;}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--5 {
  grid-template-columns: repeat(2, 1fr);
}
.checklist__list li {
  position: relative;
  padding-left: 24px;
  font-size: 12.5px;
  color: var(--color-text-2);
  line-height: 1.35;
}
.card__footer ul {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.card__footer ul li {
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-text-3);
  white-space: pre-wrap;
  text-align: left;
  margin: 0;
  padding: 0;
}
.checklist__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFD683;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

.price {
  font-size: 40px;
  font-weight: 800;margin-top:8px;
  background: linear-gradient(135deg, #F0D850 0%, #C53A10 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
  line-height: 1.1;
}
:root {
  /* Палитра */
  --color-bg:        #f5f6f8;   /* фон страницы */
  --color-bg-alt:    #f4f5f7;   /* инфо-полоса */
  --color-dark:      #2d3240;   /* тёмная шапка/футер */
  --color-text:      #1a1d26;   /* основной текст */
  --color-text-2:    #4b5563;   /* вторичный */
  --color-text-3:    #6b7280;   /* описания */
  --color-muted:     #9ca3af;   /* приглушённый */
  --color-border:    #e5e7eb;
  --color-border-2:  #eef0f3;
  --color-white:     #ffffff;
  --color-yellow:    #FFD174;   /* фирменный жёлтый */
  --color-yellow-d:  #f7d04a;   /* жёлтый hover */
  --color-yellow-soft: #fff4cc;
  --color-yellow-text: #c79100;
  --color-blue:      #5e9cff;   /* ссылки хлебных крошек */
  --color-telegram:  #2aabee;
  --color-msg:       #0084ff;
/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  display: block;
 
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Стрелочка-разделитель между пунктами */
.breadcrumb__item + .breadcrumb__item::before {
  content: "›";
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1;
}
.breadcrumb li + li::before {
  content: "›";
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1;
  margin-right: 8px;
}
/* Ссылка */
.breadcrumb__link {
  letter-spacing: 0.05em;
  color: var(--color-blue);
  transition: color 0.2s ease;
}
.breadcrumb__link:hover {
  text-decoration: underline;
}

/* Активный (последний) пункт */
.breadcrumb .active {
  color: var(--color-text-3);
 
  letter-spacing: 0.05em;
}

/* Обёртки schema.org — не мешают */
.breadcrumb .active span,
.breadcrumb .active span span {
  color: inherit;
}

/* Мобильная версия */
@media (max-width: 640px) {
  .breadcrumb { font-size: 12px; }
  .breadcrumbs { margin-bottom: 10px; }
}
  /* Шрифты */
  --font-body: "Involve", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-head: "Involve", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Контейнер */
  --container-w: 1320px;
  --container-px: 20px;

  /* Радиусы */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-full: 999px;
}
.footer__list-cols {
  column-count: 2;          /* две колонки */
  column-gap: 24px;
}
.works {
  background:#F4F5F7;   /* убираем белый фон у секции */
  padding: 64px 0px 0px 0px;
}

.works__box {
  background: #fff;
   border-radius: var(--r-xl) var(--r-xl) 0 0;   /* 20px — скругление */
  padding: 40px 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}
.footer__list-cols li {
  break-inside: avoid;      /* пункт не разрывается между колонками */
  margin-bottom: 10px;
}

.card__footer {
  display: flex;
  align-items: center;       /* выравнивание по центру строки */
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;          /* прижимает футер к низу карточки */
}

.card__desc {
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-text-3);
  margin: 0;
  flex: 1;                   /* текст занимает всё свободное место */
}

/* Стрелка — справа, не сжимается */
.card__arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  font-size: 16px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.card:hover .card__arrow {
  background: var(--color-yellow);
  border-color: var(--color-yellow);
  color: var(--color-text);
}
/* ============ 2. RESET & BASE ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
img {
  max-width: 100%;
  display: block;
}
ul { list-style: none; }
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* ============ 3. LAYOUT ============ */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.section { padding: 0 0 64px; }
.section--grid { padding-top: 0; }

/* GRID — основная сетка карточек 4 колонки */
.grid {
  display: grid;
  gap: 20px;
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ============ 4. BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r-sm);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }

.btn--outline {
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  background: transparent;
}
.btn--outline:hover {
  background: #fff;
  color: var(--color-dark);
}

.btn--dark {
  background: var(--color-text);
  color: #fff;
}
.btn--dark:hover { background: var(--color-dark); }

.btn--yellow {
  background: var(--color-yellow);
  color: var(--color-text);
  padding: 14px 32px;
}
.btn--yellow:hover { background: var(--color-yellow-d); }

/* ============ 5. HEADER ============ */
.header {
  position: relative;

  background:url(/i/bghead.png) no-repeat center;
background-size:cover;
  color: #fff;
}

/* ============ HEADER INNER — GRID ============ */
.header__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;   /* лого | контакты | CTA */
  align-items: center;
  column-gap: 40px;
  padding-top: 50px;
  padding-bottom: 20px;
}

/* Логотип — первая колонка, по размеру контента */
.header__inner > .logo {
  grid-column: 1;
  justify-self: start;
}

/* Контакты — вторая колонка, растянуты, центрированы внутри */
.header__contacts {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;   /* ← распределяет детей по всей ширине */
  gap: 24px;
  width: 100%;
  flex: 1 1 auto;
}

/* CTA — третья колонка, прижат вправо */
.header__cta {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}


/* LOGO */
.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}
.logo__img {
  display: block;
  height: auto;
  width: auto;
  max-height: 32px;
  /* SVG по умолчанию 269x34 — сохраняем пропорции */
}
.logo__tagline {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #b8bcc8;
}

.logo--on-dark .logo__img {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  max-height: 26px;
}

/* Header contacts */

.contact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.contact__icon {
  margin-top: 2px;
  color: #b8bcc8;
  flex-shrink: 0;
}
.contact__body {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.contact__main {
  font-size: 15px;
  color: #fff;
}
.contact__main:hover { color: var(--color-yellow); }
.contact__sub {
  font-size: 12px;
  color: #b8bcc8;
}

/* Messengers */
.messengers {
  display: flex;
  gap: 12px;
}
.messenger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #fff;
}
.messenger__label {
  font-size: 11px;
  color: #b8bcc8;
}
.messenger--telegram,
.messenger--msg {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.messenger--telegram { background: var(--color-telegram); }
.messenger--msg      { background: var(--color-msg); }
.messenger:hover svg { transform: scale(1.08); }

/* Header CTA */
.header__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Burger (mobile) */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* NAV — на всю ширину экрана (без container) */
.nav {
  position: relative;
  z-index: 1;

  width: 100%;
}
.nav__list {
  display: flex;
  justify-content: space-between;   /* равномерное распределение */
  max-width: 1320px;
  margin: 0 auto;border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 14px 20px;
}
.nav__list > li {
  flex: 1 1 0;          /* каждый пункт одинаковой ширины */
  text-align: center;   /* текст по центру */
}
.nav__list::-webkit-scrollbar { height: 4px; }
.nav__list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

.nav__link {
  display: inline-block;
  white-space: nowrap;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--r-sm);
  transition: background 0.2s, color 0.2s;
}
.nav__link:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.nav__link.is-active {
  background: var(--color-yellow);
  color: var(--color-text);
width:100%;
}

/* ============ 6. INFO BAR / BREADCRUMBS / TITLE ============ */
.info-bar {
background: #EBEEF3;
margin-bottom:25px;
}
.info-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 15px 20px;
  text-align: center;
  flex-wrap: wrap;
}
.info-bar__inner span {
  font-size: 14px;
  color: var(--color-text-2);
}
.info-bar__sep {
  width: 1px;
  height: 16px;
  background: var(--color-border);
}
.info-bar__accent {
  font-weight: 600;
  color: var(--color-text);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;

}
.breadcrumbs__link {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-blue);
}
.breadcrumbs__link:hover { text-decoration: underline; }
.breadcrumbs__sep { color: var(--color-muted); }
.breadcrumbs__current { color: var(--color-text-3); }

.page-title {
  font-size: 44px;
  font-weight: 800;
  color: var(--color-text);
}

/* ============ 7. PRODUCT CARDS ============ */
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border-2);
  border-radius: var(--r-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.card__media {
padding-top:20px;
padding-bottom:20px;

}
.card__media img {
margin:0 auto;
  transition: transform 0.3s ease;
}
.card:hover .card__media img { transform: scale(1.05); }

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}
.card__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.25;
}
.card__desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-text-3);
  
}
.card__more {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}
.card__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  font-size: 16px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.card:hover .card__arrow {
  background: var(--color-yellow);
  border-color: var(--color-yellow);
  color: var(--color-text);
}

/* ============ 8. ABOUT SECTION ============ */
.about {
  background: #fff;
  padding: 64px 0;
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;

  align-items: stretch;  
}
.about__line {
  width: 48px;
  height: 3px;
  background: var(--color-yellow);
  margin-bottom: 10px;
}
.about__title {
  font-size: 36px;
  line-height: 1.1;
  color: var(--color-text);
}
.about__p p {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-2);
}
.about__p strong { color: var(--color-text); }
.about__text .btn { margin-top: 28px; }

.about__media {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about__hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);

}

.about__hero img {
  width: 100%;
  height: 100%;               /* ← ДОБАВИТЬ */
  object-fit: cover;
}
.about__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 29, 38, 0.85) 0%, rgba(26, 29, 38, 0.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.about__hero-tag {
  margin-top: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.8);
}

/* Чек-лист ПОВЕРХ картинки */
.checklist {
  position: absolute;
  left: 24px;
  top: 24px;
  width: calc(100% - 48px);       /* отступы от краёв картинки */
  max-width: 320px;                /* чтобы не растягивался на всю ширину */
  z-index: 2;
}

.checklist__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.checklist__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--color-text-2);
  line-height: 1.35;margin-bottom:6px;
}

.check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:#FFD683;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  margin-top: 1px;
}
/* ============ 9. WORKS SLICK SLIDER ============ */
.works {


  position: relative;
}
.works__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.works__title-wrap {
  display: block;
  align-items: center;
  gap: 12px;
}
.works__accent {
  display: block;
  width: 4px;
  height: 28px;
  background: var(--color-yellow);
  border-radius: 2px;
}
.works__title {
  font-size: 17px;
  color: var(--color-text);
}

/*
  Слайдер внутри .container (max 1320px), но сам трек ограничиваем 1198px —
  чтобы помещалось ровно 4 карточки + 3 gap'а + небольшой запас.
  Стрелки выносятся за пределы трека влево/вправо через position:absolute.
*/
.works__slider {
  position: relative;
  width: 100%;
  max-width: 1198px;
  margin: 0 auto;
  padding: 0 8px;       /* небольшой внутренний отступ, чтобы тени не обрезались */
  box-sizing: border-box;
}

/* Каждый слайд (slick оборачивает .work-card в .slick-slide > div) */
.works__slider .work-card {
  background: #fff;
  border: 1px solid var(--color-border-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s, box-shadow 0.25s;
  margin: 0 6px;       /* gap между слайдами */
}
.works__slider .work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.work-card__media {
  aspect-ratio: 3 / 3;
  overflow: hidden;
  background: #fafbfc;
}
.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-card__body {
  padding: 18px;
}
.work-card__body h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text);
}
.work-card__body p {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--color-text-3);
}

/* === Стрелки слайдера слева/справа (как в макете) ===
   Вынесены ЗА пределы 1198px трека, на уровне секции */
.works .slick-prev,
.works .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.works .slick-prev::before,
.works .slick-next::before {
  content: none;       /* убираем дефолтные символы slick-theme */
}

/* Позиции: на десктопе (>1380px) стрелки за пределами контейнера 1198px,
   на меньших экранах — прижаты к краям секции */
.works .slick-prev {
  left: -44px;
}
.works .slick-next {
  right: -44px;
}
@media (max-width: 1380px) {
  .works .slick-prev { left: 8px; }
  .works .slick-next { right: 8px; }
}

.works .slick-prev:hover,
.works .slick-next:hover {
  background: var(--color-text);
  color: #fff;
  border-color: var(--color-text);
  transform: translateY(-50%) scale(1.05);
}

/* На планшетах/мобиле — стрелки меньше */
@media (max-width: 992px) {

.container {padding-left:15px !important;padding-right:15px !important;}
  .works .slick-prev,
  .works .slick-next {
    width: 38px;
    height: 38px;
  }
  .works__slider { max-width: 100%; padding: 0 8px; }
}
@media (max-width: 600px) {
  .works .slick-prev,
  .works .slick-next {
    width: 34px;
    height: 34px;
  }
  .works .slick-prev svg,
  .works .slick-next svg {
    width: 16px;
    height: 16px;
  }
}

/* ============ 10. MORE THAN PRINT (HERO) ============ */
.more-print {
  position: relative;
  overflow: hidden;
  background: var(--color-dark);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.more-print__inner {
  position: relative;
  z-index: 1;
}
.more-print__line {
  width: 48px;
  height: 3px;
  background: var(--color-yellow);
  margin: 0 auto 24px;
}
.more-print__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-yellow);
  margin-bottom: 16px;
}
.more-print__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 80px;
  line-height: 0.95;
  color: #fff;
}
.more-print__accent {
  color: var(--color-yellow);
}
.more-print__desc {
  max-width: 640px;
  margin: 24px auto 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}
.more-print__inner .btn { margin-top: 32px; }

/* ============ 11. FOOTER ============ */
.footer {
  background: var(--color-dark);
  color: #fff;
  padding: 56px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 5fr;   /* бренд + категории */
  gap: 28px;
  padding-bottom: 48px;
}
.footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;  /* Полиграфия — двойная */
  gap: 24px;
}
/* Brand column */
.footer__brand .logo__tagline {
  letter-spacing: 0.18em;
}
.footer__copy {
  margin-top: 20px;
  font-size: 12px;
  color: var(--color-muted);
}
.footer__addr {
  margin-top: 16px;
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.5;
}
.footer__map {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__map:hover { color: var(--color-yellow); }

/* Category columns */
.footer__cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.footer__col h4 {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 16px;
}
.footer__col ul li {
  margin-bottom: 0px;
}
.footer__col ul li a {
  font-size: 10px;
  color: var(--color-muted);
}
.footer__col ul li a:hover {
  color: #fff;
}

/* Contacts strip */
.footer__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;        /* вертикальное выравнивание по центру */
  justify-content: flex-start; /* контакты слева */
}
.footer__contact {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 14px;
}
.footer__contact svg { color: var(--color-muted); }
.footer__contact:hover { color: var(--color-yellow); }
.footer__contact:hover svg { color: var(--color-yellow); }

/* ============ 12. RESPONSIVE — TABLET ============ */

/* === 1380px и меньше: гарантированные отступы контейнера === */
/* Контейнер уменьшается, но всегда имеет минимум 24px по бокам */
@media (max-width: 1380px) {
  :root {
    --container-px: 24px;
  }
}

@media (max-width: 1024px) {
  :root {
    --container-px: 20px;
  }
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
  }
  .more-print__title { font-size: 60px; }
  .about__inner { gap: 40px; }
}

/* === 992px и меньше: ВКЛЮЧАЕТСЯ МОБИЛЬНОЕ МЕНЮ === */
@media (max-width: 992px) {
  :root {
    --container-px: 20px;
  }

  /* Скрываем desktop-контакты и inline nav (используем drawer + bottom nav) */
  .header__contacts { display: none; }
  .header__cta .btn--outline { display: none; }
  .burger { display: flex; }

  /* ВАЖНО: полностью скрываем inline nav — vertical bar исчезает */
  .nav { display: none !important; }

  /* Body padding-bottom чтобы освободить место под bottom-nav */
  body { padding-bottom: 64px; }

  /* Адаптируем сетки */
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============ 12b. RESPONSIVE — MOBILE ============ */
@media (max-width: 640px) {
  :root {
    --container-px: 15px;   /* стандартный мобильный отступ 15px */
  }
	.grid--3 { display:block !important;}
	.grid--3 .card{ margin-bottom:30px;}
	/* === Компактная шапка === */
  .header__inner {
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 12px;
  }
  .logo__img { max-height: 24px; }
  .logo__tagline {
    font-size: 9px;
    margin-top: 4px;
    letter-spacing: 0.15em;
  }

  /* === Info bar === */
  .info-bar__inner {
    flex-direction: column;
    gap: 4px;
    padding: 10px 15px;
    text-align: center;
  }
  .info-bar__sep { display: none; }
  .info-bar__inner span { font-size: 12px; }

  .page-title { font-size: 30px; }

  /* === Карточки — 1 колонка === */

  .card__media { aspect-ratio: auto !important; }
  .card__body { padding: 16px; }
  .card__title { font-size: 16px; }
  .card__desc { font-size: 13px; }

  /* === Section padding с учётом 15px === */
  .section { padding-bottom: 40px; }

  /* === About === */
  .about { padding: 40px 0; }
  .about__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about__title { font-size: 24px; }
  .about__p { font-size: 14px; }
  .about__line { margin-bottom: 14px; }
  .checklist { padding: 18px; }
  .checklist__list { grid-template-columns: 1fr; gap: 8px; }

  /* === Works (slick) === */
  .works { padding: 40px 0; }
  .works__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }
  .works__title { font-size: 22px; }
  .work-card__body { padding: 16px; }

  /* === Hero === */
  .more-print { padding: 48px 0; }
  .more-print__title {
    font-size: 38px;
    line-height: 1;
  }
  .more-print__desc { font-size: 14px; }
  .more-print__inner .btn { margin-top: 24px; }

  /* === Footer === */
  .footer { padding: 32px 0 24px; }
  .footer__top { padding-bottom: 28px; gap: 24px; }
  .footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }
  .footer__col h4 { font-size: 12px; margin-bottom: 12px; }
  .footer__col ul li { margin-bottom: 8px; }
  .footer__col ul li a { font-size: 12px; }
  .footer__brand .logo__img { max-height: 22px; }
  .footer__contacts {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding-top: 24px;
  }
  .footer__contact { font-size: 13px; }

  /* Breadcrumbs на мобиле */
  .breadcrumbs { font-size: 12px; margin-bottom: 10px; }
}

@media (max-width: 380px) {
  .footer__cols { grid-template-columns: 1fr; }
  .logo__img { max-height: 22px; }
}

/* Уменьшенные движения для пользователей с настройкой */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   13. MOBILE DRAWER (выезжающее меню справа)
   ============================================================ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 200;
}
.drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: 86%;
  max-width: 360px;
  background: var(--color-dark);
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 210;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}
.drawer.is-open {
  transform: translateX(0);
}

.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.drawer__header .logo__text { font-size: 26px; }
.drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s, transform 0.2s;
}
.drawer__close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(90deg);
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}
.drawer__link {
  display: block;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  border-left: 3px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.drawer__link:hover,
.drawer__link:focus {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.drawer__link.is-active {
  background: rgba(245, 197, 24, 0.12);
  border-left-color: var(--color-yellow);
  color: var(--color-yellow);
  font-weight: 600;
}

.drawer__contacts {
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.drawer__contact {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}
.drawer__contact svg { color: var(--color-yellow); flex-shrink: 0; }
.drawer__contact:hover { color: var(--color-yellow); }

.drawer__cta {
  margin: 18px 20px 0;
  width: calc(100% - 40px);
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
}

.drawer__social {
  display: flex;
  gap: 12px;
  padding: 18px 20px 24px;
  justify-content: center;
}
.drawer__social .messenger {
  width: 48px;
  height: 48px;
  flex-direction: row;
}
.drawer__social .messenger__label { display: none; }

/* ============================================================
   14. BOTTOM NAV (как в мобильном приложении)
   ============================================================ */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: var(--color-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
  /* Безопасная зона для iPhone */
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
  grid-template-columns: repeat(4, 1fr);
}

/* По умолчанию скрыта (desktop) */
.bottom-nav { display: none; }

/* На 992px и меньше — показываем */
@media (max-width: 992px) {
  .bottom-nav { display: grid; }
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  transition: color 0.2s;
}
.bottom-nav__item svg { transition: transform 0.2s; }
.bottom-nav__item:hover {
  color: #fff;
}
.bottom-nav__item:hover svg {
  transform: translateY(-2px);
}
.bottom-nav__item.is-active {
  color: var(--color-yellow);
}
.bottom-nav__item.is-active svg {
  /* Подсветка активной иконки */
  filter: drop-shadow(0 2px 6px rgba(245, 197, 24, 0.4));
}

/* bottom-nav включается на 992px и меньше — см. секцию 12 выше */
/* ============================================================
   15. NAV — выпадающее подменю (DLMenu)
   ============================================================ */

/* Пункт меню — точка отсчёта для подменю */
.nav__item {
  position: relative;
}

/* --- Ссылка-родитель со стрелкой --- */
.nav__link--parent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav__chevron {
  transition: transform 0.2s ease;
  opacity: 0.7;
  flex-shrink: 0;
}
.nav__item--parent:hover .nav__chevron,
.nav__item--parent.is-open .nav__chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* --- Само подменю: ВЕРТИКАЛЬНЫЙ список --- */
.nav__submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);

  display: flex;              /* было — не было задано */
  flex-direction: column;     /* ВЕРТИКАЛЬНО */
  align-items: stretch;       /* пункты на всю ширину */

  min-width: 240px;
  max-width: 320px;
  background: var(--color-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  padding: 8px;
  margin: 0;
  list-style: none;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 50;
}

/* Показываем при наведении и по JS-классу .is-open */
.nav__item--parent:hover > .nav__submenu,
.nav__item--parent.is-open > .nav__submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Стрелочка-указатель сверху */
.nav__submenu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--color-dark);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Пункты внутри подменю: каждый на своей строке --- */
.nav__submenu > li,
.nav__subitem {
  display: block;             /* не inline! */
  width: 100%;
  text-align: left;
}

.nav__submenu .nav__link {
  display: block;             /* ссылка на всю ширину */
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  white-space: normal;
  text-align: left;
  transition: background 0.18s, color 0.18s;
}
.nav__submenu .nav__link:hover {
  background: rgba(245, 197, 24, 0.15);
  color: var(--color-yellow);
}
.nav__submenu .nav__link.is-active {
  background: var(--color-yellow);
  color: var(--color-text);
}

/* Второй уровень — выезжает вправо, тоже вертикально */
.nav__submenu .nav__submenu {
  top: 0;
  left: 100%;
  transform: translateX(8px) translateY(0);
  flex-direction: column;
}
.nav__submenu .nav__item--parent:hover > .nav__submenu,
.nav__submenu .nav__item--parent.is-open > .nav__submenu {
  transform: translateX(0) translateY(0);
}
.nav__submenu .nav__submenu::before { display: none; }

/* --- Мобильная адаптация --- */
@media (max-width: 992px) {
  .nav__submenu { display: none !important; }
}

.dev {
  margin-left: auto;        /* прижимает блок к правому краю во flex-контейнере */
  position: relative;
}
.dev a {
  display: block;
}
.dev a img {
  display: inline-block;
  vertical-align: middle;
}
.dev a span {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  text-align: left;
  font-weight: 400;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  position: relative;
  transition: .3s color;
}
.dev a:hover { text-decoration: none; }
.dev a:hover span { color: #5f79a9; }

/* Мобильная версия — блок под контактами, слева */
@media (max-width: 640px) {
  .dev {
    margin-left: 0;
    width: 100%;
    margin-top: 16px;
  }
}