@font-face {
  font-family: "Roboto";
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('./fonts/roboto/roboto-italic-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Roboto";
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('./fonts/roboto/roboto-italic-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Roboto";
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('./fonts/roboto/roboto-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Roboto";
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('./fonts/roboto/roboto-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('./fonts/roboto/roboto-normal-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('./fonts/roboto/roboto-normal-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('./fonts/roboto/roboto-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('./fonts/roboto/roboto-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*  {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
}

body {
  background-color: #f5f5f7;
}

/* Подключить ПОСЛЕ bootstrap.min.css */

/* h1 остаётся как есть (можно не трогать) */

/* h2 -> как h4 (у h4 в BS есть “responsive” размер через calc + media) */
h2, .h2 {
  font-size: calc(1.275rem + 0.3vw);
}
@media (min-width: 1200px) {
  h2, .h2 {
    font-size: 1.5rem;
  }
}

/* h3 -> как h5 */
h3, .h3 {
  font-size: 1.25rem;
}

/* h4/h5/h6 -> как h6 */
h4, .h4,
h5, .h5,
h6, .h6 {
  font-size: 1rem;
}

.dh-color {
  color: #1b418e !important;
  font-weight: 700 !important;
}

/* иерархия меню */
ul.nested { margin-left: 20px; display: none; }
.toggle { cursor: pointer; color: blue; margin-right: 5px; }

/* обратный звонок */

.callback-fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.callback-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50px;
  padding: 10px 15px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.085);
  /* border: 1px solid #e0e0e0; */
  gap: 12px;
}

.callback-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.callback-question {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.callback-action {
  font-size: 12px;
  color: #666;
}

.callback-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #0d6efd;
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(13, 110, 253, 0.3);
  position: relative;
  z-index: 2;
}

.callback-btn:hover {
  background: #0b5ed7;
  transform: scale(1.05);
}

/* Легкая пульсация с одним мягким кольцом */
.pulse-ripple {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(13, 110, 253, 0.6);
  animation: gentle-pulse 3s ease-in-out infinite;
  z-index: 1;
}

@keyframes gentle-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.4;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

/* Альтернативный вариант - очень мягкая тень */
.callback-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4);
  animation: soft-shadow-pulse 3s ease-in-out infinite;
  z-index: -1;
}

@keyframes soft-shadow-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
  }
}

/* Адаптивность для мобильных */
@media (max-width: 576px) {
  .callback-card {
    padding: 8px 12px;
  }
  
  .callback-question {
    font-size: 13px;
  }
  
  .callback-action {
    font-size: 11px;
  }
  
  .callback-btn {
    width: 45px;
    height: 45px;
  }
}





.mySlider { position: relative; }

/* Плавный градиент от левого нижнего к правому верхнему */
.slide-shadow {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 100%;
  background: linear-gradient(
    35deg,
    rgba(0,0,0,0.4) 20%,
    rgba(0,0,0,0.3) 30%,
    rgba(0,0,0,0.2) 40%,
    rgba(0,0,0,0.1) 50%,
    rgba(0,0,0,0) 60%
  );
  z-index: 2;
}

/* текст поверх тени */
.slide-text {
  position: absolute;
  bottom: 8%;
  left: 4%;
  max-width: 520px;
  z-index: 3;
}

/* адаптивная высота */
@media (max-width: 768px) {
  .slide-text { left: 6%; bottom: 12%; max-width: 90%; }
  .slide-shadow {
    width: 100%;
    height: 100%;
    background: linear-gradient(
      35deg,
      rgba(0,0,0,0.4) 10%,
      rgba(0,0,0,0.3) 20%,
      rgba(0,0,0,0.2) 30%,
      rgba(0,0,0,0.1) 40%,
      rgba(0,0,0,0) 50%
    );
  }
}


/* базово */
.slide-image{
  width: 100%;
  object-fit: cover;
  height: 480px;          /* десктоп/общая */
}

/* мобила — повыше */
@media (max-width: 767.98px){
  .slide-image{
    height: clamp(560px, 88vh, 860px);
  }
}



/* чтобы абсолютные элементы считали координаты от слайда */
.swiper-slide {
  position: relative;
}

/* текст поверх картинки */
.slide-text {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 5;
}

/* Десктоп — как было (например, сверху/по центру, если нужно) */
@media (min-width: 768px) {
  .slide-text {
    top: 50%;
    transform: translateY(-50%);
  }
}

/* Мобильная — опустить вниз */
@media (max-width: 767.98px) {
  .slide-text {
    top: auto;
    transform: none;
    bottom: calc(env(safe-area-inset-bottom) + 16px); /* сделай 24/32px если нужно ещё ниже */
    padding-bottom: 0;
  }
}

/* стрелки и пагинация */
.swiper-button-prev, .swiper-button-next {
  color: white;
  text-shadow: 0 0 10px rgba(0,0,0,0.9);
}
.slide-orange {
  color: white;
  padding: 0 6px;
  display: inline-block;
  margin-top: 12px;
  border-radius: 8px;
  background: #ff951c !important;
}
.swiper-pagination-bullet-active {
  background: #fff !important;
}


.slogan-orange {
  color: #ff8018 !important;
}

.bg-orange {
  background: #ff8018 !important;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background-color: transparent;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: transparent; /* убираем полосатость */
}

.table td,
.table th {
  border: 1px solid #dee2e6;
  background-color: transparent; /* прозрачные ячейки */
}

.table thead {
  background-color: rgba(0,0,0,0.05); /* прозрачные ячейки */
}

article p, article li {
  color: rgba(0, 0, 0, 0.56) !important;
}
article strong {
  color: #212529 !important;
}
article h1 {
  margin-bottom: 20px;
}

h1 {
  font-weight: 600 !important;
}

.nav-underline .nav-link.active, .nav-underline .show>.nav-link {
  font-weight: 500 !important;
  color: #212529 !important;
  border-bottom-color: currentcolor;
}

.word-break {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Серый */
.breadcrumb-item + .breadcrumb-item::before {
  color: #bfc7ce !important;
}


/* Десктоп: как было (фикс высота) */
@media (min-width: 992px){
  .card-img-top.img-cover{
    height: 200px;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* Планшет+моб: 4:5 */
@media (max-width: 991.98px){
  .card-img-top.img-cover{
    width: 100%;
    aspect-ratio: 5 / 3;
    height: auto;
    object-fit: cover;
    object-position: center;
  }
}


.pagination{
  --bs-pagination-color: #000;
  --bs-pagination-border-width: 0;
  --bs-pagination-border-radius: 0;

  --bs-pagination-hover-color: #000;

  --bs-pagination-active-bg: #000;
  --bs-pagination-active-color: #fff;

  --bs-pagination-focus-box-shadow: none;
}

/* на случай если браузер/стили дадут outline */
.pagination .page-link:focus{
  outline: 0;
  box-shadow: none;
}

/* если хотите полностью без разделителей между кнопками */
.pagination .page-link{
  border: 0;
}



.banner-premium{
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1c3f 0%, #1a3a7a 50%, #2a5298 100%);
  border: none;
}

/* точки в углу */
.banner-premium::after{
  content:"";
  position:absolute;
  top:-16px; 
  right:-20px;
  width:180px;        /* размер блока с точками */
  height:180px;
  background: url("/inc/images/dots-orange.svg") no-repeat;
  background-size: contain;
  opacity: .82;       /* незаметно */
  pointer-events:none;
  z-index:0;
}

/* снизу слева */
/* .banner-premium::before{
  content:"";
  position:absolute;
  bottom:-24px;
  left: 24px;
  width:120px;
  height:120px;
  background: url("/inc/images/dots-orange.svg") no-repeat;
  background-size: contain;
  opacity:.62; 
  pointer-events:none;
  z-index:0;
  transform: rotate(180deg); 
} */

/* чтобы контент был поверх */
.banner-premium > *{
  position: relative;
  z-index: 1;
}


.trust-banner{
  border-radius:18px; overflow:hidden;
  background:
    linear-gradient(90deg, rgba(10,10,11,.82), rgba(10,10,11,.35));
}

.trust-banner__inner{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap:18px;
  padding:22px;
}

.trust-banner__title{margin:0 0 8px;color:#fff;font-size:26px;line-height:1.12}
.trust-banner__subtitle{margin:0 0 14px;color:#fff;opacity:.92;max-width:60ch}

.trust-banner__cta{
  display:inline-block;
  padding:10px 14px;
  border-radius:12px;
  background:#fff;color:#111;
  text-decoration:none;
  font-weight:600;
}

.trust-banner__note{
  margin-top:10px;
  display:flex; gap:8px; align-items:flex-start;
  color:#fff; opacity:.85; font-size:13px;
}

.trust-banner__right{
  margin:0; padding:0; list-style:none;
  display:grid; gap:10px;
}

.trust-banner__right li{
  display:flex; gap:10px; align-items:flex-start;
  padding:12px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color:#fff;
}

.trust-banner__right .bi{font-size:18px; line-height:1.1; margin-top:1px}

@media (max-width: 900px){
  .trust-banner__inner{grid-template-columns:1fr;}
}

.desktop-navbar-row {
  gap: 24px;
}

.header-logo {
  flex: 0 0 auto;
  margin-right: 8px;
}

.header-right-block {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
}

.header-company-name {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
  padding-bottom: 2px;
}

.header-city-btn {
  white-space: nowrap;
  flex: 0 0 auto;
}


/* Cookie consent — final */
.dh-cookie {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 1080;
	display: none;
	max-width: 500px;
	margin: 0 auto;
	padding: 12px 12px 12px 14px;
	background: #fff;
	color: #343a40;
	border: 1px solid #d6d9dc;
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .07);
	font-size: 14px;
	line-height: 1.35;
}
.dh-cookie--visible { display: block; }
.dh-cookie__row { display:flex; align-items:center; gap:10px; }
.dh-cookie__text { flex:1 1 auto; min-width:0; }
.dh-cookie__actions { display:flex; flex:0 0 auto; align-items:center; }
.dh-cookie__link { color:inherit; text-decoration:underline; text-underline-offset:2px; white-space:nowrap; }
.dh-cookie__close {
	position:relative;
	flex:0 0 20px;
	width:40px;
	height:40px;
	margin:0;
	padding:0;
	border:0;
	background:transparent;
	font-size:0;
	cursor:pointer;
}
.dh-cookie__close::before,
.dh-cookie__close::after {
	content:"";
	position:absolute;
	left:50%;
	top:50%;
	width:14px;
	height:1.5px;
	background:#bfc3c7;
	transform-origin:center;
}
.dh-cookie__close::before { transform:translate(-50%, -50%) rotate(45deg); }
.dh-cookie__close::after { transform:translate(-50%, -50%) rotate(-45deg); }
.dh-cookie__close:hover::before,
.dh-cookie__close:hover::after { background:#9fa4a9; }

@media (max-width: 767.98px) {
	.dh-cookie {
		left:8px;
		right:8px;
		bottom:8px;
		max-width:none;
		padding:11px 10px 11px 12px;
		font-size:13px;
	}
	.dh-cookie__row { gap:8px; }
	.dh-cookie__actions .btn { white-space:nowrap; }
}
