@font-face {
  font-family: 'Roboto Condensed';
  src: url('/wp-content/themes/clean-theme/assets/fonts/RobotoCondensed-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url('/wp-content/themes/clean-theme/assets/fonts/RobotoCondensed-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('/wp-content/themes/clean-theme/assets/fonts/OpenSans-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('/wp-content/themes/clean-theme/assets/fonts/OpenSans-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* ===== RESET ===== */

/* box-sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
	 touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
}

html {
  font-size: 16px; /* база для rem */
  scroll-behavior: smooth; /* плавный скролл */
}

body{
	-webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* убираем отступы */
body,
h1, h2, h3, h4, h5, h6,
p,
ul, ol {
  margin: 0;
  padding: 0;
}

body.no-scroll {
  overflow: hidden;
  touch-action: none; /* для мобилок */
}

/* списки */
ul, ol {
  list-style: none;
}

/* ссылки */
a {
  text-decoration: none;
  color: inherit;
}

/* картинки */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* кнопки */
button {
  border: none;
  background: none;
  cursor: pointer;
}

/* формы */
input, textarea, button {
  font-family: inherit;
  font-size: inherit;
}

body {
  margin: 0;
  font-family: 'Roboto Condensed', sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;	
}

.container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 15px;
}

header, footer {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

footer {
  border-top: 1px solid #eee;
  border-bottom: none;
  margin-top: 40px;
}


/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  transition: 0.3s;
  will-change: transform;
	z-index:1000;
}
.header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
} /* layout */
.header__inner {
  display: grid;
  grid-template-columns: 200px 1fr 240px;
  align-items: center;
  gap: 20px;
} /* LOGO */
.header__logo {
  display: flex;
  align-items: center;
}
.custom-logo {
  max-height: 40px;
  width: auto;
} /* ===== MENU WRAPPER ===== */
.header__menu {
  display: flex;
  justify-content: center;
  align-items: center;
} /* ===== DESKTOP MENU ===== */
.nav .menu {
  display: flex;
  align-items: center;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
} /* убираем возможные вложенные UL от WordPress */
.nav .menu ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
} /* пункты */
.nav .menu li {
  position: relative;
} /* ссылки */
.nav .menu li a {
  font-family: "Open Sans", sans-serif;
  display: block;
  text-decoration: none;
  color: #333;
	
  font-weight:600;
  font-size: 13px;
  margin: 0 6px;
  transition: 0.2s ease;
  letter-spacing: 1px;
  text-transform: uppercase;
	

} /* hover */
.nav .menu li a:hover {
  opacity: 0.7;
} /* RIGHT BLOCK */
.header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
} 
/* VK */
.header__vk {
  display: flex;
  align-items: center;
  font-weight: 600;
  text-decoration: none;
  color: #111;
} 
/* VK */
.header__max {
  display: flex;
  align-items: center;
  font-weight: 600;
  text-decoration: none;
  color: #111;
} 

/* PHONE */
.header__phone {
  position: relative;
}
.phone-trigger {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  cursor: pointer;
  font-size: 17px;
  text-decoration: none;
  color: #333;
  padding-right: 15px;
} /* DROPDOWN */
.phone-dropdown {
  font-family: "Open Sans", sans-serif;
	font-weight: 400;
  position: absolute;
  top: 120%;
  right: 0;
  background: #fff;
  border: 1px solid #eee;
  padding: 15px;
  font-size:14px;
  min-width: 255px;
  display: none;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  z-index: 10;
	
}


.phone-dropdown .messenger-mobile{
	display:none;
}

.phone-number{
	font-size:15px;
	font-family: "Open Sans", sans-serif;
	font-weight: 600;
	
}

.phone-dropdown strong{
	font-family: "Open Sans", sans-serif;
	font-weight: 600;
}

.header__phone.active .phone-dropdown {
  display: flex;
}
.callback-btn {
  font-family: "Open Sans", sans-serif;
  margin-top: 10px;
  padding: 8px 12px;
  background-color:#fff;
  border: 1px solid #333;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
} 
/* BURGER */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: relative;
	z-index:1050;
}
.burger span {
	
  width: 25px;
  height: 3px;
  background: #111;
} 

.burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .header__inner {
    grid-template-columns: 1fr auto auto;
	  position: relative;
  }
  .header__menu {
    display: none;
  }
  .header__vk {
    display: none;
  }
	
	.messenger-mobile{
		display:flex;
	}
	
	.phone-trigger {
		padding-right:0px;
		font-size:15px;
	}
	
	.header__max {
    display: none;
  }
	
  .burger {
    display: flex;
  }
  .nav {
    position: fixed; /* важно */
    top: 0;
    right: 0;
    height: 100vh;
    width: 280px;

    background: #fff;

    display: flex;
    flex-direction: column;

    transform: translateX(100%); /* скрыто справа */
    opacity: 0;

    transition: transform 0.3s ease, opacity 0.3s ease;

    z-index: 1001;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  }

  .nav.active {
    transform: translateX(0); /* выезд */
    opacity: 1;
  }
  .nav .menu {
	width:100%;
    flex-direction: column;
    gap: 0;
  }
  .nav .menu li {
	 width:100%;
     border-bottom: 1px solid #eee;
  }
  .nav .menu li a {
    padding: 20px;
	width:100%;  
  }
}



/* ===== HERO ===== */

.hero {
  position: relative;
  width: 100%;
  padding-top: 10%;
  padding-bottom: 10%;	
  overflow: hidden;
  
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
	opacity: 0.20;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center 30%;
}


/* контент */
.hero__content {
  max-width: 700px;
  position: relative;
  z-index: 1; /* Текст поверх картинки */
}

/* заголовок */
.hero h1 {
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1;
  margin-bottom: 25px;
}

/* текст */
.hero p {
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* доп блок */
.hero__extra {
  font-family: "Open Sans", sans-serif;	
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* телефон */
.phone {
  font-weight: 700;
  color: #111;
  text-decoration: none;
  display: inline-block;
}

/* кнопка */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 38px;
  background-color: #FCCB07;
  border: 1px solid #FCCB07;
  color: #111;
  text-decoration: none;
  border-radius: 6px;
  transition: opacity 0.3s ease;
  max-width: 300px;
  text-align:center;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size:15px;
}

.btn:hover {
  opacity: 0.85;
	background-color: #FCCB07;
	border: 1px solid #FCCB07;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .hero {
    padding: 150px 0px 80px; 
	min-height: 100vh;
  }

  .hero__content {
    max-width: 100%;
  }
	
	.hero__image {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center 15%; 
	  }

  .btn {
    width: 100%;
    max-width: 100%;
  }

}

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
}

.services__title {
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1;
  margin-bottom: 25px;
}

/* GRID */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  align-items: stretch; /* важно */
}

/* CARD */
.service {
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);

  display: flex;
  flex-direction: column; /* ключ */
  height: 100%;          /* важно для выравнивания */
}

/* TITLE */
.service h3 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 700;
}

/* TEXT */
.service p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 15px;
}

/* BUTTON ALWAYS BOTTOM */
.service__btn {
  margin-top: auto; /* КЛЮЧЕВОЕ СВОЙСТВО */

  width: 100%;
  padding: 12px 14px;

  border-radius: 10px;
  background-color: #FCCB07;
  border: 1px solid #FCCB07;
	
  color:#111;
  font-family: "Open Sans", sans-serif;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s ease;
}

.service__btn:hover {
  opacity: 0.85;
    background-color: #FCCB07;
    

}

/* ===== CTA BLOCK ===== */
.services__cta {
  margin-top: 20px;
  padding: 20px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  border: 1px solid #eee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.services__cta-text {
  font-size: 18px;
  line-height: 1.4;
  color: #111;
  max-width: 70%;
  font-weight: 600;
}

.services__cta-btn {
  padding: 12px 18px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: .2s ease;
  white-space: nowrap;
}

.services__cta-btn:hover {
  background: #000;
  transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services__grid {
    grid-template-columns: 1fr;
  }

  .services__cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .services__cta-text {
    max-width: 100%;
  }

  .services__cta-btn {
    width: 100%;
    text-align: center;
  }
}

.service__img {
  width: 100%;
  max-width: 250px;
  height: 220px;

  margin-bottom: 15px;

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


  border-radius: 10px;

  padding: 0px;
  box-sizing: border-box;
}

/* картинка без обрезки */
.service__img img {
  max-width: 100%;
  max-height: 100%;

  width: auto;
  height: auto;

  object-fit: contain;
  display: block;
}

.cta-form {
  padding: 50px 0;
  background: #111;
  color: #fff;
}

.cta-form__box {
  display: flex;
  justify-content: center;
}

.cta-form__content {
  max-width: 600px;
  text-align: center;
}

.cta-form__content h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 8px;
  line-height: 1.2;
}

.cta-form__content p {
  font-size: 14px;
  opacity: .8;
  margin-bottom: 18px;
  line-height: 1.4;
}

.cta-form__btn {
  padding: 12px 18px;
  background: #fff;
  color: #111;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s ease;
}

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

.prices {
  padding-top: 80px;
	padding-bottom: 50px;
}


.prices h2{
	 font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1;
  margin-bottom: 25px;
}

.prices__grid {
	margin-top:25px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.price-card {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
  background: #fff;
}

.price-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-weight: 600;
}

.prices p{
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	color: #555;
}

.price-row {
  position: relative;
}

/* тире по центру строки */
.price-row::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);

  color: #111;
  font-weight: 500;
}

.price-head span{
	font-weight:bold;
	font-size: 18px;
}

.price-list {
  display: flex;
  flex-direction: column;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 25px;
  border-bottom: 1px dashed #eee;
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
}

.price-row:last-child{
	 border-bottom: 0px dashed #eee;
}

/* отступ между блоками */
.prices-extra {
  margin-top: 0px;
  padding-top: 30px;

}

/* сетка доп услуг */
.prices-extra__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* карточки */
.extra-card {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
  background: #fff;
}

.extra-card__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.extra-card__text {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  color: #555;
}

.extra-card__head span{
	font-weight: bold;
	font-size:18px;
}


/* адаптив */
@media (max-width: 768px) {
  .prices-extra__grid {
    grid-template-columns: 1fr;
  }
}

/* адаптив */
@media (max-width: 768px) {
  .prices__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .prices__grid {
    grid-template-columns: 1fr;
  }
}

.prices-cta {
  padding-bottom: 70px;
}

.prices-cta__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;

  padding: 25px;

  border: 1px solid #eee;
  border-radius: 12px;

  background: transparent;
}

.prices-cta__content {
  max-width: 70%;
}

.prices-cta__content h2 {
  font-size: clamp(20px, 3vw, 30px);
  margin-bottom: 10px;
  line-height: 1.2;
  color: #111;
}

.prices-cta__content p {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
}

/* кнопка */
.prices-cta__btn {
  padding: 14px 35px;

  background-color: #FCCB07;
  border: 1px solid #FCCB07;
  color: #111;
	
  font-family: "Open Sans", sans-serif;

  border-radius: 10px;
	
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;

  transition: .2s ease;
  white-space: nowrap;
}

.prices-cta__btn:hover {
  opacity: 0.85;
    background-color: #FCCB07;
}

/* mobile */
@media (max-width: 768px) {
  .prices-cta__box {
    flex-direction: column;
    align-items: flex-start;
  }

  .prices-cta__content {
    max-width: 100%;
  }

  .prices-cta__btn {
    width: 100%;
    text-align: center;
  }
}

.how-work {
  padding: 80px 0;
	background: #fafafa;
}

.how-work__title {
    font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1;
  margin-bottom: 25px;
}

.how-work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.hw-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 25px;

  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 15px;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;

  
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px;
  color: #555;
}

.hw-item h3 {
  flex: 0 0 auto;

  width: 34px;
  height: 34px;

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

  border-radius: 50%;
  background-color: #FCCB07;
  border: 1px solid #FCCB07;
  color:#111;
	
  font-size: 16px;
  font-weight: 600;

  margin: 0;
}
.hw-item p{
	font-family: "Open Sans", sans-serif;
}

.hw-item img {
  max-width: 60px;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .how-work__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .how-work__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}


/* ===== ABOUT SECTION ===== */
.about {
  padding: 100px 0;
}

/* layout */
.about__inner {
  display: flex;
  align-items: center;
  gap: 50px;
}

/* LEFT */
.about__content {
  flex: 1;
}

.about__title {
  font-size: clamp(26px, 3vw, 40px);
  margin-bottom: 20px;
  line-height: 1.2;
}

.about__text {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
	font-family: "Open Sans", sans-serif;
}

/* RIGHT */
.about__image {
  flex: 1;
}

.about__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .about__inner {
    flex-direction: column;
  }

  .about {
    padding: 60px 0;
  }

}

.advantages {
  padding: 80px 0;
	background: #fafafa;
}

.advantages__grid {
      display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.adv{
	background: #fff;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.adv p {

  line-height: 1.45;
  margin-bottom: 20px;
	font-family: "Open Sans", sans-serif;
	font-size: 15px;
	color: #555;

}

.adv h3{
	font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.adv img {
  max-width: 60px;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .advantages__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}


/* ===== SERVICE CARD ===== */

.service {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 25px;

  display: flex;
  flex-direction: column;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

/* hover */
.service:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

/* title */
.service h3 {
  font-size: 20px;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* text */
.service p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
	font-family: "Open Sans", sans-serif;
  margin-bottom: 20px;
}

/* link */
.service__link {
  margin-top: auto;
  font-weight: 500;
  color: #111;
  display: inline-block;
  position: relative;
  width: fit-content;
  font-family: "Open Sans", sans-serif;
}

/* underline animation */
.service__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;

  width: 0%;
  height: 2px;
  background: currentColor;

  transition: width 0.25s ease;
}

.service__link:hover::after {
  width: 100%;
}

/* ===== SERVICES RESPONSIVE ===== */

@media (max-width: 768px) {

  .services__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service {
    padding: 20px;
  }

  .service h3 {
    font-size: 18px;
  }

  .service p {
    font-size: 14px;
  }

  .service:hover {
    transform: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  }

  .service__link::after {
    bottom: -2px;
  }

}

@media (max-width: 480px) {

  .services {
    padding: 60px 0;
  }

  .service {
    padding: 18px;
  }

  .services__title {
    font-size: 26px;
  }

}


.stats {
  padding: 80px 0;
  background: #fafafa;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.stat__num {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 42px;
  font-weight: bold;
  color: #333;

}

.stat__text {
  margin-top: 10px;
  font-size: 16px;
  color: #333;
  font-weight:600;
  font-family: "Open Sans", sans-serif;
}

@media (max-width: 768px) {
  .stats__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat__num {
    font-size: 34px;
  }
}


/* ================= VIDEO SECTION ================= */

.videos {
  padding: 80px 0;
}

.videos h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1;
  margin-bottom: 25px;
}

/* GRID */
.videos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ITEM */
.video-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
}

/* THUMB */
.video-thumb {

  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  display: block;

  filter: brightness(0.7);
  transition: 0.35s ease;
}

/* OVERLAY */
.video-overlay {
  position: absolute;
  inset: 0;

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

  background: rgba(0,0,0,0.25);
  transition: 0.3s ease;
}

/* PLAY */
.play {
  width: 60px;
  height: 60px;
  border-radius: 50%;

  background: rgba(0,0,0,0.55);

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

  position: relative;
}

/* треугольник */
.play::before {
  content: "";
  display: block;

  width: 0;
  height: 0;

  border-left: 14px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;

  margin-left: 4px; /* визуальный центр */
}

/* HOVER */
.video-item:hover .video-thumb {
  transform: scale(1.05);
  filter: brightness(0.5);
}

.video-item:hover .play {
  transform: scale(1.1);
}

/* ================= MODAL ================= */

.video-modal {
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(5px);

  display: none;
  align-items: center;
  justify-content: center;
	
  height: 100dvh;
  max-height: 100dvh;

  z-index: 9999;
  padding: 20px;

  opacity: 0;
  transition: opacity 0.25s ease;
	
	
}

.video-modal.active {
  display: flex;
  opacity: 1;
}

/* WINDOW */
.video-modal__content {
  position: relative;

  width: min(900px, 95vw);
  aspect-ratio: 16 / 9;

  background: #000;
  border-radius: 14px;
  overflow: hidden;

  box-shadow: 0 25px 80px rgba(0,0,0,0.6);

  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.video-modal.active .video-modal__content {
  transform: scale(1);
}

/* VIDEO */
.video-modal__content video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* CLOSE */
.video-close {
  position: absolute;

  top: 10px;
  right: 10px;

  width: 40px;
  height: 40px;

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

  font-size: 28px;
  color: #000;

  cursor: pointer;

  background: #fff;
  border-radius: 50%;

  z-index: 10;

  transition: 0.2s ease;
}

.video-close:hover {
  background: rgba(0,0,0,0.7);
  transform: scale(1.1);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .videos__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .videos__grid {
    grid-template-columns: 1fr;
  }

  .video-modal__content {
    width: 100%;
    border-radius: 10px;
  }
}



/* ===== FAQ ===== */

.faq {
  padding: 90px 0;
}

.faq__title {
    font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1;
  margin-bottom: 25px;
}

.faq__list {
  max-width: 100%;
  margin: 0 auto;
}

.faq__item {
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}

/* question */
.faq__question {
  width: 100%;
  padding: 18px 20px;

  background: none;
  border: none;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 18px;
  font-weight:600;
  font-family: "Open Sans", sans-serif;
  cursor: pointer;
	
	
}

.faq__item.active .faq__question {
  position: relative;
  padding-left: 14px;
 
}

.faq__item.active .faq__question::before {
  content: "";
  width: 3px;
  height: 70%;
  background: #FCCB07;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}


/* icon */
.faq__icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

/* answer */
.faq__answer {
  box-sizing: content-box;
  max-height: 0;
  overflow: hidden;

  padding: 0 20px; /* база */

  color: #555;
  font-size: 16px;
  line-height: 1.5;
  font-family: "Open Sans", sans-serif;

  transition: max-height 0.3s ease, padding 0.3s ease;
}



/* active state */
.faq__item.active .faq__answer {
  padding: 0px 20px 20px;
 
}

.faq__item.active .faq__icon {
  transform: rotate(45deg);
}

@media (max-width: 768px) {

  .faq {
    padding: 70px 0;
  }

  .faq__title {
    text-align: left;
  }

  .faq__question {
    font-size: 15px;
	 text-align: left;
  }

  .faq__answer {
    font-size: 14px;
  }

}

/* ===== BLOG WRAPPER ===== */
.blog-custom {
  padding-top: calc(60px + 30px);
  padding-bottom: 120px;
}

@media (max-width: 768px) {
  .blog-custom {
    padding-top: calc(50px + 30px);
  }
}

.blog__title {
  margin-bottom: 30px;
}

/* ===== GRID ===== */
.blog__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* ===== CARD ===== */
.post-card {
  display: flex;
  flex-direction: column;

  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;

  transition: 0.25s ease;
  height: 100%;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* ===== IMAGE ===== */
.post-card__img {
  display: block;
}

.post-card__img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* ===== CONTENT ===== */
.post-card__content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* DATE */
.post-card__meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
	font-family: "Open Sans", sans-serif;
}

/* TITLE */
.post-card__title {
  text-decoration: none;
  color: #111;
}

.post-card__title h2 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* EXCERPT */
.post-card__excerpt {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.5;
	font-family: "Open Sans", sans-serif;
}

/* LINK (всегда внизу) */
.post-card__link {
  margin-top: auto;
  font-weight: 500;
  color: #111;
  text-decoration: none;
	font-family: "Open Sans", sans-serif;
	font-size: 13px;
}

/* ===== ADAPTIVE ===== */
@media (max-width: 1024px) {
  .blog__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog__list {
    grid-template-columns: 1fr;
  }
}


.reviews {
  padding-top: 0;
  padding-bottom: 80px;
}

.reviews__title {
 font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1;
  margin-bottom: 25px;
}

.reviews__title {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 30px;
}

.reviews__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
	 overflow: hidden;
  width: 100%;
}

.review {
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
}

/* HEADER */
.review__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.review__name {
  font-size: 18px;
  font-weight:600;
  font-family: "Open Sans", sans-serif;
}

.review__date {
  font-size: 12px;
  color: #888;
  font-family: "Open Sans", sans-serif;
}

/* TEXT */
.review__text {
  font-size: 15px;
  line-height: 1.5;
  color: #444;
  font-family: "Open Sans", sans-serif;font-family: "Open Sans", sans-serif;
}

.reviews__vk-block {
  margin-top: 25px;
}

.vk-block__inner {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 18px 20px;

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

  background: #fff;
}

/* текст внутри */
.vk-block__text {
  display: flex;
  align-items: center;
  gap: 10px;

  font-family: "Open Sans", sans-serif;
  text-align: center;
}

/* основной текст */
.vk-block__label {
  font-size: 15px;
  font-weight: 600;
  color: #111;
}

/* подстрочник */
.vk-block__hint {
  font-size: 14px;
  color: #555;

  display: flex;
  align-items: center;
  gap: 8px;
}

/* ссылка + иконка */
.vk-block__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  border-radius: 8px;
  transition: 0.2s ease;
}

.vk-block__link:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.vk-block__link svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* mobile */
@media (max-width: 480px) {
  .vk-block__text {
    flex-direction: column;
    gap: 6px;
  }

  .vk-block__hint {
    justify-content: center;
  }
	
	
}

/* mobile */
@media (max-width: 768px) {
  .reviews__list {
    grid-template-columns: 1fr;
	  
  }
}

/* ===== CONTACTS ===== */

.contacts {
  padding: 100px 0;
  background: #fafafa;
}

.contacts__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}

/* TITLE */
.contacts__info h2 {
   font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1;
  margin-bottom: 25px;
}

.contacts__info {
	border-radius: 14px;
  
	padding: 30px;
	
}

/* ROWS */
.contacts__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

/* BLOCK */
.contacts__block {
  margin-bottom: 0;
}

.contacts__label {
  font-size: 12px;
  color: #111all;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
	font-family: "Open Sans", sans-serif;
	font-weight:bold;
}

.contacts__value {
  font-size: 14px;
  color: #888;
  text-decoration: none;
  font-weight: 400;
	font-family: "Open Sans", sans-serif;
}

/* ===================== */
/* CONTACT FORM WRAPPER  */
/* ===================== */

.contacts__form {
  background: #fff;
  border: 1px solid #eee;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);

  max-width: 480px;
  width: 100%;
  box-sizing: border-box;
	
	margin: 0 auto;

  /* защита от вылета контента */
  overflow-x: hidden;
}

/* TITLE */
.contacts__form h2 {
  margin-bottom: 6px;
  font-size: 22px;
  font-weight: 700;
}

.contacts__subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 18px;
  font-family: "Open Sans", sans-serif;
}

/* FORM LAYOUT */
.contacts__form form {
  display: flex;
  flex-direction: column;
  gap: 10px;

  min-width: 0;
}

/* INPUTS */
.contacts__form input,
.contacts__form textarea {
  width: 100%;
  box-sizing: border-box;

  padding: 13px 14px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;

  font-size: 14px;
  outline: none;
  transition: .2s;
	
	font-family: "Open Sans", sans-serif;
}

.contacts__form textarea {
  min-height: 100px;
  resize: none;
}

.contacts__form input:focus,
.contacts__form textarea:focus {
  border-color: #000;
}

/* BUTTON */
.contacts__form button {
  padding: 14px;
      background-color: #FCCB07;
    border: 1px solid #FCCB07;
    color: #111;
  border: none;
  border-radius: 10px;
	font-size:14px;
  cursor: pointer;
  font-weight: 600;
  transition: .2s;
  font-family: "Open Sans", sans-serif;
	
}

.contacts__form button:hover {
 opacity: 0.85;
    background-color: #FCCB07;
}


.consent {
  width: 100%;
  box-sizing: border-box;
	font-family: "Open Sans", sans-serif;
}

/* label теперь НЕ flex */
.contacts__form .consent-label {
  display: block;
  position: relative;

  font-size: 12.5px;
  line-height: 1.4;

  margin: 8px 0 10px;
  cursor: pointer;
  color: #555;
}

/* скрытый input */
.contacts__form .consent-label input {
  position: absolute;
  opacity: 0;
	
}

/* текст */
.contacts__form .consent-text {
  display: block;
  padding-left: 28px;
	font-family: "Open Sans", sans-serif;

  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ссылки */
.contacts__form .consent-text a {
  color: #000;
  text-decoration: underline;
}

/* кастом чекбокс */
.contacts__form .consent-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;

  width: 18px;
  height: 18px;

  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
}

/* галочка */
.contacts__form .consent-text::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;

  width: 5px;
  height: 9px;

  border: solid #fff;
  border-width: 0 2px 2px 0;

  transform: rotate(45deg);
  opacity: 0;
}

/* checked */
.contacts__form .consent-label input:checked + .consent-text::before {
  background: #111;
  border-color: #111;
}

.contacts__form .consent-label input:checked + .consent-text::after {
  opacity: 1;
}

.contacts__form .contacts__alt-title{
	padding: 8px 0;
	font-size: 13px;
    font-family: "Open Sans", sans-serif;
	font-weight:600;
	margin-bottom: 7px;
}

/* ===================== */
/* RESULT BLOCK          */
/* ===================== */

#lead-result {
  font-size: 13px;
  margin-top: 10px;
}
/* LINKS */
.contacts__links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.contacts__links a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  padding: 10px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  font-size: 13px;
  color: #111;
  background: #fff;
  transition: .2s;
}

.contacts__links a:hover {
  border-color: #000;
  transform: translateY(-1px);
}

/* SOCIAL */
.contacts__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.contacts__social-item {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
  color: #111;
  font-size: 14px;
  font-weight: 500;
  transition: 0.2s ease;
	
}

.contacts__social-item:hover {
  background: #111;
  color: #fff;
}

/* IMAGES */
.contacts__images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 25px;
}

/* картинка */
.contacts__img img {
  width: 100%;
  max-width: 120px;   /* было 150px → унифицируем */
  height: 50px;

  object-fit: contain; /* КЛЮЧ: без обрезки */
  display: block;
  margin: 0 auto;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .contacts__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contacts {
    padding: 70px 0;
  }

  .contacts__row {
    grid-template-columns: 1fr;
  }

  /* FIX LOGOS GRID */
  .contacts__images {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  /* FIX CARD SIZE FOR LOGOS */
  .contacts__img {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* FIX IMAGE QUALITY */
  .contacts__img img {
    width: 100%;
    height: 100%;

    max-width: 120px;

    object-fit: contain;

    display: block;

    image-rendering: -webkit-optimize-contrast;
  }
}

.contacts__requisites {
  margin-top: 15px;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

.contacts__requisites-title {
  font-weight: 600;
  color: #111;
  margin-bottom: 6px;
}

.contacts__requisites-text {
  word-break: break-word;
	font-family: "Open Sans", sans-serif;
	
}

/* ===== FOOTER ===== */
.footer {
  background: #111;
  color: #fff;
  padding: 50px 0;
  margin: 0;
}

/* layout */
.footer__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* columns */
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* links */
.footer a {
  color: #fff;
  text-decoration: none;
	
}

.footer a:hover {
  opacity: 0.7;
}

.footer__email{
	color: #aaa!important;
}

/* phone */
.footer__phone {
  font-weight: 700;
  font-size: 18px;
}

/* title */
.footer__title {
  font-weight: 600;
  margin-bottom: 5px;

}

/* text */
.footer__text {
  font-size: 14px;
  line-height: 1.6;
  color: #aaa;
	    font-family: "Open Sans", sans-serif;
}

/* copy */
.footer__copy {
  font-size: 14px;
  font-weight: 600;
	
}

.footer__desc {
  font-size: 13px;
  color: #aaa;
  line-height: 1.5;
  font-family: "Open Sans", sans-serif;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

}





/* ===== PAGE ===== */
.single-page {
  padding-top: 80px;
}

/* контейнер статьи */
.post-single {
 
}

.single-page p{
	font-size: 14px;
	  font-family: "Open Sans", sans-serif;
}

.single-page h3{
	font-size: 18px;
	  font-family: "Open Sans", sans-serif;
	font-weight: bold;
}

.single-page ul li {
	font-size: 14px;
	  font-family: "Open Sans", sans-serif;
}


/* ===== WRAPPER ===== */
.single-page {
  font-size: 16px;
  line-height: 1.6;
  color: #1f2937;
}

/* ===== TABLE BASE ===== */
.single-page table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

/* ===== HEADER ===== */
.single-page table thead {
  background: #f9fafb;
}

.single-page table th {
  text-align: left;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 14px;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
}

/* ===== BODY ===== */
.single-page table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  color: #1f2937;
}

/* убираем нижнюю границу у последней строки */
.single-page table tbody tr:last-child td {
  border-bottom: none;
}

/* ===== ZEBRA ===== */
.single-page table tbody tr:nth-child(even) {
  background: #fafafa;
}

/* ===== HOVER ===== */
.single-page table tbody tr:hover {
  background: #f3f4f6;
  transition: background 0.15s ease;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  .single-page table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .single-page table th,
  .single-page table td {
    padding: 12px 14px;
    font-size: 13px;
  }
}

/* ===== HEADER ===== */
.post-single__header {
  margin-bottom: 20px;
}

.post-single__title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  margin-bottom: 10px;
}

.post-single__meta {
  color: #777;
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
}

/* ===== IMAGE (АККУРАТНАЯ) ===== */
.post-single__thumb {
  margin: 25px 0;
  text-align: center;
}

.post-single__thumb img {
  width: 100%;
  max-width: 600px; /* 🔥 ключевая настройка */
  height: auto;

  border-radius: 12px;
  display: block;

  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* ===== CONTENT ===== */
.post-single__content {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  font-family: "Open Sans", sans-serif;
}

/* заголовки */
.post-single__content h2 {
  font-size: 24px;
  margin: 30px 0 10px;
}

.post-single__content h3 {
  font-size: 20px;
  margin: 25px 0 10px;
}

/* текст */
.post-single__content p {
  margin-bottom: 10px;
}

/* списки */
.post-single__content ul {
  padding-left: 0;
  margin-bottom: 15px;
  list-style: none;
}

.post-single__content ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.post-single__content em{font-size:14px; padding: 5px 0;}


.post-single__content ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #6b7280;
}

.post-single__content li {
  margin-bottom: 8px;
}

/* картинки внутри текста */
.post-single__content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 20px 0;
}

/* ссылки */
.post-single__content a {
  color: #FAB207;
  text-decoration: underline;
}

/* цитаты */
.post-single__content blockquote {
  border-left: 4px solid #FAB207;
  padding-left: 15px;
  margin: 20px 0;
  color: #555;
  font-style: italic;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .single-page {
    padding-top: 100px;
  }

  .post-single {
    max-width: 100%;
  }

  .post-single__thumb img {
    max-width: 100%; /* на мобиле во всю ширину */
  }
}


.related-posts {
  padding-top: 60px;
  padding-bottom: 60px;
  border-top: 1px solid #eee;
}

.related-posts__title {
  font-size: 26px;
  margin-bottom: 25px;
}

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* карточка */
.related-card {
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: 0.3s;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* картинка */
.related-card__img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
	padding:20px;
}

/* контент */
.related-card__content {
  padding: 15px;
}

.related-card__title {
  font-size: 16px;
  margin-bottom: 8px;
}

.related-card__title a {
  text-decoration: none;
  color: #222;
}

.related-card__date {
  font-size: 13px;
  color: #777;
}

.mobile-soc{display:none;}

/* адаптив */
@media (max-width: 768px) {
  .related-posts__grid {
    grid-template-columns: repeat(2, 1fr);
  }
	
	.mobile-soc{
		display:block;
	}
	
	.mobile-soc a{
		padding: 5px 0px;
		display:block;
		font-family: "Open Sans", sans-serif;
    	font-weight: 600;
	}
}

@media (max-width: 480px) {
  .related-posts__grid {
    grid-template-columns: 1fr;
  }
}


.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    backdrop-filter: blur(6px);
}

.modal-overlay.active {
    display: flex;
}

.modal {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 10px;
    padding: 26px;
    position: relative;
    animation: modalIn .25s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

@keyframes modalIn {
    from {
        transform: translateY(10px) scale(.98);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* CLOSE */
.modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    border: none;
    background: #f5f5f5;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: .2s;
}

.modal__close:hover {
    background: #000;
    color: #fff;
}

/* TITLE */
.modal__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.modal__subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 18px;
    line-height: 1.4;
	font-family: "Open Sans", sans-serif;
}

/* FORM */
.modal__form input {
    width: 100%;
    padding: 13px 14px;
    margin-bottom: 10px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    font-size: 14px;
    transition: .2s;
	font-family: "Open Sans", sans-serif;
}

.modal__form input:focus {
    border-color: #000;
    outline: none;
}

/* CHECKBOX (УЛУЧШЕННЫЙ UX) */
.modal__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12.5px;
    line-height: 1.4;
    margin: 12px 0 16px;
    cursor: pointer;
    color: #555;
}

/* hide */
.modal__checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* label text */
.modal__checkbox span {
    position: relative;
    padding-left: 30px;
	font-family: "Open Sans", sans-serif;
}

/* box */
.modal__checkbox span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    transition: .2s;
}

/* check */
.modal__checkbox span::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: .2s;
}

.modal__checkbox input:checked + span::before {
    background: #000;
    border-color: #000;
}

.modal__checkbox input:checked + span::after {
    opacity: 1;
}

/* BUTTON */
.modal__submit {
    width: 100%;
    padding: 13px;
    background-color: #FCCB07;
    border: 1px solid #FCCB07;
    color: #111;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
	font-size:14px;
    transition: .2s;
	font-family: "Open Sans", sans-serif;
}

.modal__submit:hover {
    opacity: 0.85;
    background-color: #FCCB07;
}

/* ALT BLOCK */
.modal__alt {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #eee;
	font-family: "Open Sans", sans-serif;
}

.modal__alt-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.modal__alt-text {
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* LINKS */
.modal__links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.modal__links a {
    flex: 1;
    text-align: center;
    text-decoration: none;
    padding: 9px 10px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    font-size: 13px;
    transition: .2s;
    color: #111;
    background: #fff;
}

.modal__links a:hover {
    border-color: #000;
    transform: translateY(-1px);
}


.rev_otz {
	display:block;
  padding: 20px 0;
  font-size: 12px;
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
  position: relative;
 
}

.blog__categories {
  display: flex;
  flex-wrap: wrap;   /* ключевое */
  gap: 10px;
  padding: 10px 0;
  margin-bottom: 20px;
}

.blog__categories::-webkit-scrollbar {
  display: none;
}

.cat-item {
  flex: 0 0 auto;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 13px;
  text-decoration: none;
  color: #333;
  white-space: nowrap;
  transition: 0.2s;
	font-family: "Open Sans", sans-serif;
}

.cat-item:hover {
  background: #FAB207;
  border-color: #FAB207;
  color: #fff;
}

.cat-item.active {
  background: #FAB207;
  border-color: #FAB207;
  font-weight: 400;
}


.cookie-bar {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 16px 18px;
  z-index: 9999;

  transform: translateY(120%);
  opacity: 0;
  transition: all 0.35s ease;
}

.cookie-bar.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-bar__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-bar__text {
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
  flex: 1;
  min-width: 260px;
}

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

/* buttons */
.cookie-btn {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: 0.2s ease;
}

.cookie-btn--accept {
  background: #111827;
  color: #fff;
}

.cookie-btn--accept:hover {
  background: #000;
}

.cookie-btn--decline {
  background: #f3f4f6;
  color: #111827;
}

.cookie-btn--decline:hover {
  background: #e5e7eb;
}

/* mobile */
@media (max-width: 600px) {
  .cookie-bar {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-bar__content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-bar__actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }
}





/* Принудительно показываем контейнер, даже если Swiper добавил lock-класс */
.swiper-pagination,
.swiper-pagination-lock {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  position: relative !important;
  transform: none !important;
  pointer-events: auto !important;
  width: 100% !important;
  margin-top: 35px;
}

/* Сами точки */
.swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  background: #d0d0d0 !important;
  opacity: 1 !important;
  display: inline-block !important;
  border-radius: 50% !important;
  margin: 0 6px !important;
  transform: none !important;
  transition: all 0.3s ease;
  box-sizing: border-box !important;
}

/* Активная точка */
.swiper-pagination-bullet-active {
  background: #FCCB07 !important;
  opacity: 1 !important;
  width: 10px !important;
  height: 10px !important;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
	
	.reviews__pagination{
		margin-top: 35px;
	}
	
  .swiper-pagination {
    margin-top: 20px;
    flex-wrap: wrap !important;   /* 👈 Разрешаем перенос на новую строку */
    gap: 8px !important;          /* 👈 Контролируем отступы между точками */
  }
  
  .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background: #d0d0d0 !important;
    border-radius: 50% !important;
    margin: 0 !important;             /* 👈 Убираем margin (используем gap) */
    flex-shrink: 0 !important;        /* 👈 ЗАПРЕЩАЕМ сжатие точек */
    display: inline-block !important;
  }
  
  .swiper-pagination-bullet-active {
    background: #FCCB07 !important;
    width: 8px !important;
    height: 8px !important;
  }
}

.swiper-slide {
	height: auto !important;
}


/* ===== WRAPPER ===== */
.blog__pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ===== BASE LINKS ===== */
.blog__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 38px;
  height: 38px;

  margin: 0 4px;
  padding: 0 10px;

  font-size: 14px;
  font-weight: 500;
  color: #374151;

  text-decoration: none;

  border: 1px solid #e5e7eb;
  border-radius: 10px;

  background: #fff;

  transition: all 0.2s ease;
}

/* ===== HOVER ===== */
.blog__pagination .page-numbers:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  transform: translateY(-1px);
}

/* ===== CURRENT PAGE ===== */
.blog__pagination .page-numbers.current {
  background: #111827;
  color: #fff;
  border-color: #111827;
  cursor: default;
}

/* ===== ARROWS ===== */
.blog__pagination .prev,
.blog__pagination .next {
  font-size: 16px;
  font-weight: 600;
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
  .blog__pagination .page-numbers {
    min-width: 34px;
    height: 34px;
    font-size: 13px;
    margin: 0 3px;
  }
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;

  font-size: 13px;
  color: #6b7280;

  margin: 10px 0 25px;
}

.breadcrumbs a {
  color: #374151;
  text-decoration: none;
  transition: 0.2s ease;
}

.breadcrumbs a:hover {
  color: #111827;
  text-decoration: underline;
}

.breadcrumbs span {
  color: #9ca3af;
}


.page-404 {
  min-height:80vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 80px 0;
}

.page-404__inner {
  max-width: 520px;
  margin: 0 auto;
}

.page-404__title {
  font-size: 96px;
  font-weight: 700;
  margin: 0;
  color: #111827;
}

.page-404__subtitle {
  font-size: 28px;
  margin: 10px 0;
  color: #1f2937;
}

.page-404__text {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 25px;
}

/* search */
.page-404__search input[type="search"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  outline: none;
  margin-bottom: 20px;
}

/* buttons */
.page-404__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}


/* по умолчанию скрыто */
.mobile-call {
  display: none;
}

/* мобильная версия */
@media (max-width: 768px) {

  .mobile-call {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;

    background-color: #111;
    color: #FCCB07;
    z-index: 9999;

    box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
  }

  .mobile-call .callphone {
    display: block;
    text-align: center;

    padding: 14px 10px;

    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
  }

  .mobile-call .callphone:hover {
    background: #000;
  }

  /* чтобы контент не прятался под кнопкой */
  body {
    padding-bottom: 60px;
  }
}