/* Involve */
@font-face {
  font-display: swap;
  font-family: 'Involve';
  font-style: normal;
  font-weight: 400;
  src: url('/fnts/Involve-Regular.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0400-04FF; /* Латынь и Кириллица */

}
@font-face {
  font-family: 'Involve-Fallback';
  src: local('Arial');
  size-adjust: 105%;
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}

/* Используйте этот шрифт-заглушку для body, пока загружается Involve */


body {
	font-family: 'Involve';
  font-weight: 400;
}
html {
  scroll-behavior: smooth;
}
.qqq {
	display: none;
}
@media only screen and (max-width: 781px) {
  /* For mobile: */
  .nomobile {display: none !important;}
}

@media only screen and (min-width: 782px) {
  /* For desktop: */
  .nodesktop {display: none !important;}
}

@media only screen and (max-width: 781px) {
  /* For mobile: */
  .hero  {
    background-position: 0% 0% !important;
    background-size: contain !important;
    background-repeat: no-repeat;
	}
	.hero h1 {
		margin-top: 70px !important;
	}
}








.nowrap {
	text-wrap: nowrap !important;
}
.wp-block-image img {
	border-radius: 20px;
}


/*
 * Услуги
 * */
.uslugi .wp-block-column {
	color: #131313;
	background: #fff;
	border-radius: 20px;
	padding: var(--wp--preset--spacing--30);
}




.uslugi .wp-block-column {
    display: flex;
    flex-direction: column;
    min-height: 200px; /* можно регулировать по необходимости */
}

.uslugi .wp-block-column .wp-block-group + p {
    flex-grow: 1;
}

.uslugi .wp-block-column hr {
    margin-top: 20px;
    margin-bottom: 20px;
}
/*
 * Тариыф
 * */

.tarify li {
  display: flex;
  align-items: baseline;
  gap: 0;
}

.tarify li::before {
  content: "";
  flex: 1;
  order: 2;
  height: 1px;
  border-bottom: 1px dotted #fff;
  margin: 0 2px;
}

.tarify mark, .tarify strong {
  background-color: transparent !important;
  order: 3;
}


.tarify ul {
    padding-inline-start: 0px !important;
}




/*
 * 
 * Meow gallery
 * 
 * */

.wp-block-gallery.meow {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden; /* Скрываем всё что выходит за границы */
    position: relative;
    gap: 10px;
    padding: 10px 0;
}

.wp-block-gallery.meow .wp-block-image {
    flex: 0 0 auto;
    min-width: 300px;
    margin: 0;
    animation: scrollHorizontally 180s linear infinite; /* Анимация */
}

.wp-block-gallery.meow .wp-block-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Скрываем скроллбар */
.wp-block-gallery.meow::-webkit-scrollbar {
    display: none;
}

.wp-block-gallery.meow {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Анимация бесконечного движения */
@keyframes scrollHorizontally {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}



/*
 * 
 * Форма
 * 
 * */
/* Стили только для полей имени и телефона */
.wpcf7-text, 
.wpcf7-tel {
    background-color: #3a3a3a;
    border: 1px solid #ffffff;
    border-radius: 5px;
    color: #fff;
    padding: 15px 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 15px;
    height: 50px;
}

/* Плейсхолдеры */
.wpcf7-text::placeholder,
.wpcf7-tel::placeholder {
    color: #ccc;
}

/* Фокус состояния */
.wpcf7-text:focus,
.wpcf7-tel:focus {
    outline: none;
    border-color: #ffffff;
    background-color: #444;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

/* Стили для кнопки (ширина 80%) */
.wpcf7-submit {
    background-color: #ffffff;
    color: #2d2d2d;
    border: 1px solid #ffffff;
    border-radius: 5px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 80%;
    margin-top: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Кнопка включена */
.wpcf7-submit:not(:disabled) {
    background-color: #ffffff;
    color: #2d2d2d;
}

.wpcf7-submit:not(:disabled):hover {
    background-color: #2d2d2d;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.2);
}

/* Кнопка выключена */
.wpcf7-submit:disabled {
    background-color: #555;
    color: #888;
    border-color: #777;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .wpcf7-text, 
    .wpcf7-tel {
        padding: 14px 18px;
        font-size: 16px;
        height: 52px;
    }
    
    .wpcf7-submit {
        width: 80%;
        padding: 16px;
    }
}
