/* USER VARIABLES SECTION */

:root {
	--accent: rgb(0, 208, 255);
	--text: #333;
	--regular-text: 14px;
	--lineheight: 1.6;
	--userfont: roboto-st, sans-serif;
	--systemfont: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

/* BOOTSTRAP SETTINGS SECTION */

/* gutter 20px (10px + 10px). Comment this code for default gutter start at 1.5rem (24px) wide. */
/* .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl { --bs-gutter-x: .625rem; }
.row, .row > * { --bs-gutter-x: 1.25rem; } */

/* FONTS LOAD SECTION */

@font-face { src: url("../fonts/roboto-regular-webfont.woff2") format("woff2"); font-family: "roboto-st"; font-weight: 400; font-style: normal; }
@font-face { src: url("../fonts/roboto-italic-webfont.woff2") format("woff2"); font-family: "roboto-st"; font-weight: 400; font-style: italic; }
@font-face { src: url("../fonts/roboto-bold-webfont.woff2") format("woff2"); font-family: "roboto-st"; font-weight: 700; font-style: normal; }
@font-face { src: url("../fonts/roboto-bolditalic-webfont.woff2") format("woff2"); font-family: "roboto-st"; font-weight: 700; font-style: italic; }

/* GENERAL CSS SETTINGS */

/* ::placeholder { color: #666; }
::selection { background-color: var(--accent); color: #fff; }
input, textarea { outline: none; }
input:focus:required:invalid, textarea:focus:required:invalid { border-color: red; }
input:required:valid, textarea:required:valid { border-color: green; } */

body {
	font-family: var(--userfont);
	font-size: var(--regular-text);
	line-height: var(--lineheight);
	color: var(--text);
	min-width: 320px;
	position: relative;
	overflow-x: hidden;
	margin: 0;
}

/* USER STYLES */

.image {
	max-width: 100%;
	margin-bottom: var(--bs-gutter-x);
	border-radius: 4px;
}

.accent {
	color: var(--accent);
	font-weight: bold;
} 

h1, h2, h3, h4, h5, h6 {
	margin: 0;
}

.conteiner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

/* Intro */

.intro {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	height: 100vh;
	background: url(../images/1674351720_catherineasquithgallery-com-p-serii-fon-dlya-praisa-foto-55.jpg) center no-repeat;
	background-size: cover;
}

.intro__inner {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
	margin-bottom: 40px;
	margin-top: 40px;
}

.intro__suptitle {
	font-size: 40px;
	font-weight: 400;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.intro__title {
	font-size: 80px;
	font-weight: 600;
	text-transform: uppercase;
	line-height: 1.1;
	margin-bottom: 40px;
}

.intro__title:after {
	content: "";
	display: block;
	width: 60px;
	height: 3px;
	background-color: #333;
	margin: 60px auto 0;
}



/* Header */

.header__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header {
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	border-bottom: 1px solid #fff;
}

.header__logo {
	font-size: 30px;
	font-weight: 600;
	color: black;
}

/* nav */

.nav {
	font-size: 14px;
	text-transform: uppercase;
}

.nav__link {
	display: inline-block;
	vertical-align: top;
	margin: 0 0 0 20px;
	color: rgb(0, 0, 0);
	position: relative;
	text-decoration: none;
	transition: color 0.1s linear;
}

.nav__link:after {
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	background-color: #ccc;
	opacity: 0;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1;
	transition: opacity 0.1s linear;
}

.nav__link.active:after {
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	background-color: red;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1;
}

.nav__link:hover {
	color: #aaa;
}

.nav__link:hover:after,
.nav__link.active:after {
	opacity: 1;
}

/* button */

.btn__border {
	display: inline-block;
	vertical-align: top;
	/* border: #333 2px solid; */
	box-shadow: 0px 0px 0px 2px #333;
	border-radius: 5px;
	padding: 8px 16px 9px 16px;
	color: #333;
	text-decoration: none;
	font-weight: 600;
	text-transform: uppercase;
	transition: 0.2s linear;
}

.btn__border:hover {
	background-color: #333;
	color: #fff;
}

/* Slider */

.slider {
	position: absolute;
	width: 100%;
	bottom: 0;
	left: 0;
	z-index: 1;
}

.slider__inner {
	display: flex;
	justify-content: space-between;
}

.slider__item {
	position: relative;
	width: 23%;
	text-transform: uppercase;
	font-size: 14px;
	border-top: 2px solid #aaa;
	padding-top: 10px;
	opacity: .7;
}

.slider__item.active {
	opacity: 1;
}

.slider__item.active:before {
	content: "";
	display: block;
	background-color: red;
	width: 40px;
	height: 2px;
	position: absolute;
	top: -2px;
	left: 0;
	z-index: 100;
}



.slider__num {
	font-size: 18px;
	font-weight: 600;
	padding-right: 10px;
}

/* Section */

.section {
	padding: 80px 0 100px 0;
}

.section__header {

}

.section__suptitle {

}

.section__title {

}

.section__text {

}








.mt-6 {
  margin-top: 90px;
}

.mb-6 {
  margin-bottom: 130px;
}

.text-aria {
  padding: 20px 30px 27px 30px;
  border-radius: 20px;
  background-color: #eee;
}

.grid-preview {
  position: absolute;
  width: 100%;
  height: 100%; /* можно поменять по нужной высоте */
  background-image: linear-gradient(
      to right,
      rgb(131, 131, 131) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgb(137, 137, 137) 1px, transparent 1px);
  background-size: 100px 100px;
  background-repeat: repeat;
}

.card-slider-container {
  overflow: hidden;
}
.card-slider-track {
  display: flex;
  transition: transform 0.4s ease;
}
.card-slide {
  flex: 0 0 auto;
  width: 300px;
  margin-right: 1.3rem;
  border: none;
	opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease-out;
}
.card-slide.visible {
  opacity: 1;
  transform: translateX(0);
}

a {
    color: #008fe4;
    text-decoration: none;
}

.form-check-input:checked {
    background-color: #2899dc;
    border-color: #2899dc;
}

.main-demo-img {
		max-width: 120px;
		max-height: 120px;
	}

	.card-main-demo-img {
		height: 226px;
	}

  .card-decor img {
		filter: grayscale(100%);
		transition: all 1s ease;
		display: block;
		max-width: 100%;
		height: auto;
		object-fit: cover; /* сохраняет пропорции в пределах контейнера */
		transform: scale(1);
  }

  .card-decor:hover img {
    transform: scale(1.02);
  }

  /* Класс, когда изображение полностью видно */
  .in-view img {
    filter: grayscale(0%);
  }

	  .card-decor-servic img {
		transition: all 1s ease;
		display: block;
		max-width: 100%;
		height: auto;
		object-fit: cover; /* сохраняет пропорции в пределах контейнера */
		transform: scale(1);
  }

	  .card-decor-servic:hover img {
    transform: scale(1.02);
  }

	/* Аккордеон */

.accordion-button:not(.collapsed) {
  background-color: transparent;
  color: inherit;
  box-shadow: none;
}

.accordion-button::before {
  flex-shrink: 0;
  width: var(--bs-accordion-btn-icon-width);
  height: var(--bs-accordion-btn-icon-width);
  content: "";
  background-image: var(--bs-accordion-btn-icon);
  background-repeat: no-repeat;
  background-size: var(--bs-accordion-btn-icon-width);
  transition: var(--bs-accordion-btn-icon-transition);
}
@media (prefers-reduced-motion: reduce) {
  .accordion-button::before {
    transition: none;
  }
}

.accordion-button:focus {
    z-index: 3;
    outline: 0;
    box-shadow: none;
}
/* Прайс */
.price-line {
  display: flex;
  align-items: center;
}

.left-text,
.right-text {
  white-space: nowrap;
  z-index: 1;
}

.dots {
  flex: 1;
  border-bottom: 1px dotted #ccc;
  height: 0.5em;
  margin: 0 8px;
  position: relative;
  top: 2px;
}