@charset "UTF-8";
/* 1. Сброс отступов и установка правильного расчета размеров */
*, *::before, *::after {
  box-sizing: border-box; /* Теперь padding и border не увеличивают размер блоков */
  margin: 0;
  padding: 0;
}

:root {
  --blue: #A6CAF0;
  --darkblue: #1A2B3C;
  --transition: all .3s ease-in-out;
}

* {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--darkblue);
}

/* 2. Настройка базы для страницы */
html, body {
  height: 100%;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased; /* Делает шрифты более гладкими на Mac */
  font-family: system-ui, sans-serif; /* Стандартный системный шрифт */
}

/* 3. Работа с медиа-контентом */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* 4. Сброс стилей для форм и кнопок */
input, button, textarea, select {
  font: inherit;
}

/* 5. Убираем стандартные маркеры списков и подчеркивание ссылок (опционально) */
ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  opacity: 0.8;
}

strong {
  font-weight: 700;
}

button {
  cursor: pointer;
  border: none;
  background-color: transparent;
  display: block;
}

.section {
  padding: 50px 0;
}
.section h1 {
  margin-bottom: 30px;
}
.section .title {
  text-align: center;
  margin-bottom: 50px;
}
.section.first {
  padding-top: 0;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  width: 90%;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

.h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 700;
}

h1 {
  font-size: 40px;
  line-height: 1.2;
}

h2 {
  font-size: 32px;
  line-height: 1.2;
}

h3 {
  font-size: 24px;
  line-height: 1.2;
}

h4 {
  font-size: 20px;
  line-height: 1.2;
}

.h1 {
  font-size: 40px;
  line-height: 1.2;
}

.h2 {
  font-size: 32px;
  line-height: 1.2;
}

.h3 {
  font-size: 24px;
  line-height: 1.2;
}

.h4 {
  font-size: 20px;
  line-height: 1.2;
}

footer {
  background-color: var(--blue);
  padding-bottom: 25px;
}
footer .small {
  margin-top: 50px;
  font-size: 12px;
  text-align: center;
  color: var(--darkblue);
}
footer .under {
  margin-top: 20px;
  font-size: 12px;
  text-align: center;
  color: var(--darkblue);
}
footer .grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
footer .column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
footer .column ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer h3 a {
  font-size: 1em;
  font-weight: 600;
}

.answers .box {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.answers .block {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.answers .block p {
  background-color: var(--blue);
  padding: 15px;
  border-radius: 5px;
  width: -moz-fit-content;
  width: fit-content;
}

.portfolio .box {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: 250px;
  gap: 20px;
}
.portfolio .box img {
  border-radius: 12px;
}
.portfolio .block {
  position: relative;
}
.portfolio .hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
  color: white;
  font-weight: 600;
  padding: 10px;
}
.portfolio .hover:hover {
  opacity: 1;
}
.portfolio .btn {
  margin-top: 30px;
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 30px;
  background-color: var(--blue);
  border-radius: 5px;
  color: var(--darkblue);
  font-weight: 700;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  transition: var(--transition);
}
.btn:hover {
  opacity: 0.8;
}

.bread {
  background-color: var(--blue);
  padding: 15px;
  border-radius: 5px;
  color: var(--darkblue);
  font-weight: 600;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.bread li::after {
  content: "/";
}
.bread li:last-child::after {
  content: "";
}
.bread li > span {
  opacity: 0.8;
}
.bread li {
  display: flex;
  gap: 10px;
}
.bread li {
  font-size: 14px;
}
.bread li span {
  font-size: 14px;
}

.contact .box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.contact .side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact .block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact a, .contact span {
  font-size: 20px;
}
.contact .maps {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact .maps .map {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact .maps p {
  width: 60%;
}

.custom p a,
.custom li a {
  text-decoration: underline;
}

.custom {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.custom h2 {
  margin-bottom: 20px;
}
.custom .blue {
  background-color: var(--blue);
  padding: 15px;
  border-radius: 5px;
  color: var(--darkblue);
  margin-bottom: 30px;
}
.custom .blue.strong {
  font-weight: 600;
}
.custom ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.custom ul li::before {
  content: "-";
  margin-right: 10px;
}

header {
  background-color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0 0 10px 10px;
  padding: 8px 15px;
}
header * {
  font-size: 14px;
}
header ul {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
header ul li ul {
  display: none;
}
header img {
  width: 60px;
  height: 60px;
}
header .line {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
header .top {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}
header hr {
  height: 2px;
  background-color: white;
  outline: none;
  border: none;
}

.advantages .box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.advantages hr {
  height: 3px;
  background-color: white;
  outline: none;
  border: none;
}
.advantages .block {
  background-color: var(--blue);
  padding: 15px;
  border-radius: 5px;
  color: var(--darkblue);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.whywe {
  position: relative;
  background-color: var(--blue);
  padding: 50px 0;
  margin-bottom: 40px;
  color: white;
  margin-top: 70px;
}
.whywe .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.whywe .why__elem {
  position: relative;
  text-align: center;
}

.whywe .why__elem i {
  font-size: 60px;
  margin-bottom: 20px;
}

.whywe .why__elem p {
  font-size: 25px;
}

.mains .box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.mains hr {
  height: 3px;
  background-color: white;
  outline: none;
  border: none;
}
.mains .block {
  background-color: var(--blue);
  padding: 15px;
  border-radius: 5px;
  color: var(--darkblue);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}

.main {
  margin-top: 40px;
}
.main .text {
  font-size: 32px;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}
.main .box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.main .block {
  background-color: var(--blue);
  padding: 15px;
  border-radius: 5px;
  color: var(--darkblue);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}
.main .block i {
  font-size: 32px;
}
.main .block span {
  font-size: 28px;
}
.main .btn {
  margin-top: 30px;
}

.videos .box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.videos iframe {
  height: 300px;
  border-radius: 5px;
}
.videos hr {
  height: 3px;
  background-color: white;
  outline: none;
  border: none;
}
.videos .block {
  background-color: var(--blue);
  padding: 15px;
  border-radius: 5px;
  color: var(--darkblue);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}
.videos .btn {
  margin-top: 30px;
}

.filter {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.filter .h3 {
  margin-bottom: 10px;
}
.filter .list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.filter .list a {
  background-color: var(--blue);
  padding: 5px 10px;
  border-radius: 5px;
  color: var(--darkblue);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}

.catalog .products {
  margin-top: 40px;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.products .block {
  position: relative;
  background-color: var(--blue);
  padding: 15px;
  border-radius: 5px;
  color: var(--darkblue);
  font-weight: 600;
  text-align: center;
}
.products a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  height: 100%;
}
.products img {
  height: 200px;
  -o-object-fit: contain;
     object-fit: contain;
}
.products hr {
  height: 3px;
  background-color: white;
  outline: none;
  border: none;
  margin-top: auto;
  display: block;
}
.products p {
  font-size: 20px;
}
.products .price {
  font-size: 24px;
  font-weight: 600;
}

.pagination {
  margin: 20px auto;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.pagination .page-item {
  background-color: var(--blue);
  padding: 5px 10px;
  border-radius: 5px;
  color: var(--darkblue);
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
}
.pagination .page-item.active {
  font-weight: 600;
  border: 1px solid var(--darkblue);
}

.product .box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.product .content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product .content h2 {
  margin-bottom: 20px;
}
.product .content > div {
  font-size: 20px;
}
.product .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.product .gallery img {
  background-color: var(--blue);
  padding: 15px;
  border-radius: 5px;
  cursor: pointer;
}
.product .gallery img:hover {
  background-color: var(--darkblue);
}
.product .big {
  background-color: var(--blue);
  padding: 15px;
  border-radius: 5px;
  color: var(--darkblue);
  height: 400px;
  margin-bottom: 10px;
  -o-object-fit: contain;
     object-fit: contain;
}
.product .in.green {
  color: green;
}
.product .in.red {
  color: red;
}
.product h3 {
  margin-bottom: 20px;
}
.product table {
  text-align: center;
  font-size: 18px;
  border: 0;
  width: 100%;
}
.product table tr, .product table td, .product table th {
  padding: 10px;
}
.product table tr:nth-child(even) {
  background: var(--blue);
}
.product table thead tr {
  background-color: var(--blue);
}
.product table thead tr th {
  font-weight: 600;
}

.posts .box {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.posts h2 {
  margin-bottom: 20px;
}
.posts .block {
  background-color: var(--blue);
  padding: 15px;
  border-radius: 5px;
  color: var(--darkblue);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.posts .block img {
  height: 200px;
}
.posts .bottom {
  margin-top: auto;
  margin-left: auto;
  display: flex;
  gap: 12px;
}
.posts .bottom * {
  font-size: 13px;
}

.page404 {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50vh;
}/*# sourceMappingURL=new-css.css.map */