/*
Theme Name: RT Detailing
Theme URI: https://dobrynin.local
Author: OpenAI
Author URI: https://dobrynin.local
Description: WordPress-тема для RT Detailing с подготовкой под WooCommerce, Ultimate Member и Customer Reviews for WooCommerce.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: dobrynin.local
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Science Gothic';
  src: url('assets/fonts/ScienceGothic-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Science Gothic';
  src: url('assets/fonts/ScienceGothic-Medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Science Gothic';
  src: url('assets/fonts/ScienceGothic-Bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --accent: #e63946;
  --accent-dark: #c92c3a;
  --text: #111;
  --muted: #555;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Science Gothic', sans-serif;
  color: var(--text);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

header {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

.site-header .navbar {
  min-height: 84px;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(10px);
}

.logo {
  width: 180px;
  max-width: 100%;
}

.header-profile {
  gap: 0.25rem;
}

.profile {
  padding: 0.25rem 0.6rem;
}

.prof {
  width: 20px;
  height: 20px;
  display: block;
}

.nav-link {
  font-size: 20px;
  color: var(--text);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('assets/img/slide.jpg') center / cover no-repeat;
}

.hero-shell {
  display: flex;
  align-items: center;
  height: 100%;
}

.hero-overlay,
.hero-overlay2 {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.hero-content,
.hero-content2,
.hero-content3 {
  position: relative;
  z-index: 2;
  color: #fff;
}
.hero-content3 {
  text-align: end;
}

.hero-content {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
}

.hero p {
  font-size: 20px;
  margin: 20px 0 30px;
  opacity: 0.9;
}

.btn-sing,
.main-btn,
.zapis,
.BtnPrice {
  background-color: var(--accent);
  color: #fff;
}

.btn-sing {
  border-color: var(--accent);
  border-radius: 0;
  width: min(684px, 100%);
  height: 40px;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.btn-sing:hover,
.main-btn:hover,
.zapis:hover,
.MainUsliugi .BtnPrice:hover {
  background-color: var(--accent-dark) !important;
  color: #fff;
}

#fullpage main {
  height: 100vh;
}

.title_usl,
.first_h2,
.contacts-title {
  padding-top: 120px;
}

.title_usl {
  text-align: center;
  padding-bottom: 2rem;
  padding-top: 170px;
}

.uslugi {
  justify-content: center;
}

.card {
  border-radius: 0;
  overflow: hidden;
}

.card img,
.uslugi img,
.Zashita img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.Zashita img {
  height: 300px;
}

.card-img-overlay {
  background-color: rgba(4, 4, 4, 0.66);
  position: absolute;
  width: 100%;
  min-height: 75px;
  bottom: 0 !important;
  top: auto;
  border-radius: 0;
}

.GlavnayMain .card-img-overlay {
  display: flex;
  align-items: center;
}

.card::after {
  content: 'Подробнее';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}

.card:hover::after {
  opacity: 1;
}

.hero2 {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: url('assets/img/photo_2026-01-23_16-10-37.jpg') center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 140px 0 50px;
}

.hero-content2 h2,
.hero-content3 h2 {
  font-size: 50px;
}

.brands-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 50px;
}

.brand-item {
  display: flex;
  align-items: center;
  font-size: 40px;
}

.circle {
  width: 15px;
  height: 15px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 10px;
}

.comments {
  width: 500px;
  max-width: 100%;
  height: 600px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.comments iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map123 {
  text-align: center;
  padding: 120px 0 30px;
}

.map-container {
  width: 100%;
  min-height: 500px;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.08);
}

#fullpage footer {
  height: 100vh;
}

.footer {
  padding-top: 7rem;
}

.title_footer {
  font-weight: 700;
}

.info_footer,
.footer-icon,
.title_footer,
.footer_uslugi {
  text-align: start;
}

.info_footer,
.footer_uslugi {
  font-size: 17px;
}

.Phone,
.Phone a {
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 0 !important;
}

.vk-icon {
  width: 42px;
  padding: 2px 0;
}

.gis-icon,
.Yandex_logo {
  width: 50%;
}
.Yandex_logo {
  padding-top: 1rem;
}
.footer_uslugi {
  padding-left: 0;
  list-style: none;
}

.footer_uslugi li + li {
  margin-top: 0.2rem;
}

.footer_uslugi a:hover,
.Phone a:hover,
.info_footer a:hover {
  color: var(--accent);
}

.title-line {
  width: 100%;
  height: 2px;
  background: var(--accent);
  margin-bottom: 20px;
}

.first_h2 {
  padding-bottom: 1rem;
}

.card-Uslugi {
  height: 100%;
}

.MainUsliugi .card::after {
  content: none !important;
  display: none !important;
}

.BtnPrice {
  width: 90%;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  pointer-events: none;
}

.Zashita,
.himschistka {
  font-size: 20px;
}

.uslugiFooter,
.uslugiMain,
.ContactMain main,
.ZapisMain footer,
.ContactMain footer {
  height: auto;
}

.booking {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  padding-top: 155px;
  min-height: calc(100vh - 80px);
}

.booking-card,
.contacts-card,
.map-frame iframe {
  background: #fff;
  box-shadow: var(--shadow);
}

.booking-card {
  padding: 40px;
  border-radius: 2px;
  width: 100%;
  max-width: 500px;
}

.booking-card h2,
.booking-card h1 {
  margin-bottom: 8px;
  font-size: 28px;
}

.subtitle {
  color: #666;
  margin-bottom: 30px;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ZapisMain .form-group {
  display: flex;
  flex-direction: column;
}

.ZapisMain .form-group label {
  margin-bottom: 6px;
  font-size: 14px;
}

.ZapisMain .form-group input,
.ZapisMain .form-group select {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-size: 14px;
  transition: 0.3s;
}

.ZapisMain .form-group input:focus,
.ZapisMain .form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

.ZapisMain .form-row {
  display: flex;
  gap: 15px;
}

.ZapisMain .form-row .form-group {
  flex: 1;
}

.ZapisMain .zapis {
  padding: 14px;
  border: none;
  border-radius: 2px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.title-with-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  margin-bottom: 8px;
}

.info-wrapper {
  position: relative;
  display: inline-block;
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #666;
  color: #fff;
  font-weight: 700;
  border-radius: 2px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.info-icon:hover {
  transform: scale(1.1);
}

.tooltip {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.info-wrapper:hover .tooltip {
  opacity: 1;
}

.ZapisMain .footer {
  padding-top: 3rem;
}

.contacts-wrapper {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 2rem;
}

.contacts-card {
  flex: 1;
  min-width: 320px;
  padding: 30px;
  border-radius: 2px;
}

.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.icon {
  font-size: 22px;
}

.contact-item h2 {
  margin: 0 0 5px;
  font-size: 16px;
}

.contact-item p,
.contact-item a {
  margin: 0;
  color: var(--muted);
}

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

.divider {
  height: 1px;
  background: #eee;
  margin: 20px 0;
}

.main-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 50px;
  padding: 14px;
  border: none;
  border-radius: 2px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.main-btn-link {
  text-decoration: none;
}

.ContactMain .map-container-contanct {
  flex: 1;
  min-width: 320px;
  min-height: 500px;
  height: auto !important;
}

.map-frame,
.map-frame iframe,
.map-container iframe {
  width: 100%;
  min-height: 500px;
  border: 0;
  border-radius: 2px;
}
.navbar-collapse {
  flex-grow: 0.7 !important;
}
.navbar-nav {
  font-size: 20px;
  gap: 20px;
}

@media (max-width: 1400px) {
  .comments {
    width: 450px;
    height: 500px;
  }
}

@media (max-width: 1198px) {
  .wc-block-product-filters__overlay-content {
    display: none;
  }
  .comments {
    width: 400px;
  }

  .hero-content2 h2,
  .hero-content3 h2 {
    font-size: 35px;
  }
}

@media (max-width: 991px) {
  .product-header-row .woocommerce-loop-product__title {
    font-size: 17px !important;
  }
  .product-price-row {
    font-size: 20px !important;
  }
  .comments {
    width: 300px;
  }

  .hero-content2 h2,
  .hero-content3 h2 {
    font-size: 25px;
  }

  .MainUsliugi .himschistka,
  .MainUsliugi .Zashita {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 30px;
  }

  .btn-sing {
    width: 100%;
  }
  .card {
      border: none;
    }

  main,
  footer {
    height: auto !important;
  }

  .title_usl,
  .first_h2,
  .contacts-title,
  .map123 {
    padding-top: 50px;
  }

  .hero2 {
    padding-top: 100px;
  }

  .hero-content2,
  .hero-content3 {
    text-align: center;
  }

  .brands-list {
    align-items: center;
    padding-top: 0;
    gap: 0;
  }

  .brand-item {
    font-size: 30px;
  }

  .hero-content3 {
    padding-top: 30px;
  }

  .hero-content3 h2 {
    font-size: 27px;
  }

  .comments {
    width: 100%;
    height: 400px;
  }

  .map-container {
    min-height: 400px;
  }

  .ContactMain .map-container {
    height: auto !important;
  }

  .ZapisMain .tooltip {
    width: 280px;
    top: 0;
    left: -150px;
  }
}

@media (max-width: 575px) {
  .GlavnayMain .uslugi .col-md-6,
  .GlavnayMain .uslugi .col-lg-4 {
    width: 100%;
  }
}

@media (max-width: 422px) {
  .contacts-title {
    padding-top: 130px;
  }

  .ZapisMain .tooltip {
    width: 150px;
    display: flex;
    white-space: unset;
    flex-wrap: wrap;
    left: -80px;
    font-size: 10px;
    top: 5px;
  }

  .ZapisMain .form-row {
    flex-wrap: wrap;
  }
}

:root {
  --container-max: 1320px;
}

.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

.navbar .current-menu-item > a,
.navbar .current_page_item > a,
.navbar .current-menu-ancestor > a {
  color: var(--accent);
}

.site-content,
.page-shell {
  min-height: 50vh;
}

.page-default {
  padding-top: 130px;
  padding-bottom: 60px;
}

.page-default .entry-title {
  margin-bottom: 1rem;
}

.entry-content > * + * {
  margin-top: 1rem;
}

.rt-auth-links {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
}

.rt-auth-links .btn {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 2px;
}

.rt-auth-links .btn:hover {
  border-color: var(--accent);
}

.rt-account-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
}

.rt-account-shortcuts a {
  padding: .7rem 1rem;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  box-shadow: var(--shadow);
}

.rt-account-shortcuts a:hover {
  color: #fff;
  background: var(--accent);
}

.woocommerce-page main,
.woocommerce main {
  min-height: auto;
}

.woocommerce-wrapper,
.woocommerce-page .page-default {
  padding-top: 130px;
  padding-bottom: 60px;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  text-align: center;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--accent);
  color: #fff;
  border-radius: 0;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: var(--accent-dark);
  color: #fff;
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce nav.woocommerce-pagination ul,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
  color: var(--text);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: .8rem 1rem;
  border: 1px solid rgba(0,0,0,.08);
  margin-bottom: .5rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  background: var(--accent);
  color: #fff;
}

.um,
.um-account {
  margin-top: 130px;
  margin-bottom: 60px;
}

.rt-booking-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 14px;
}
.button {
  width: 100%;
  background-color: var(--accent) !important;
}

.wpcf7-form-control-wrap select {
  padding: 12px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 14px;
    transition: 0.3s;
}
.wpcf7-form-control-wrap select:focus {
  outline: none;
    border-color: #e63946;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}
.wpcf7-form-control {
  padding: 12px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 14px;
    transition: 0.3s;
    width: 100%;
    gap: 20px;
}
.wpcf7-form-control:focus {
  outline: none;
    border-color: #e63946;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}
.wpcf7-submit {
  padding: 14px;
    background: #e63946;
    border: none;
    border-radius: 2px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.wpcf7-form label {
  display: inline;
}  
/* .news-title {
  text-align: center;
}
.news-icon {
    margin-top: 2rem;
    margin-bottom: 5rem;
}
.news-info {
  text-align: start;
}
.map-section .col-md-6:not(:last-child) {
        border-right: 2px solid black;
} */
 .map-section {
    background: #0f0f0f; /* Глубокий темный фон */
    padding: 80px 0;
    color: #fff;
}

/* Сетка с разделителями */
@media (min-width: 768px) {
    .news-item {
        position: relative;
    }
    /* Вертикальная линия */
    .news-item:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 20%;
        height: 60%; /* Линия не на всю высоту, что выглядит изящнее */
        width: 1px;
        background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
    }
}

/* Сама карточка */
.news-card {
    padding: 40px 20px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    border-radius: 2px;
    margin: 10px;
    height: 400px;
}

.news-card:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

/* Иконки */
.news-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    /* Делает любую иконку абсолютно белой */
    filter: brightness(0) invert(1); 
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* Эффект при наведении на карточку */
.news-card:hover .news-icon {
    transform: scale(1.1) rotate(5deg);
    /* Можно чуть усилить яркость при наведении */
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(0, 119, 255, 0.8));
}

/* Заголовки */
.news-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* Текст */
.news-info {
    font-size: 0.95rem;
    color: #888;
    line-height: 1.6;
}
/* Общие правки текста */
.news-info {
    min-height: 72px; /* Выравниваем высоту текста во всех карточках */
    margin-bottom: 20px;
}

/* Ссылка в ВК */
.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0077ff; /* Цвет VK или акцентный */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.news-link:hover {
    color: #fff;
    gap: 12px;
}

/* Бейдж "Скоро открытие" */
.news-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent);
    color: white;
    border-radius: 2px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Дата обновлений */
.news-date {
    font-size: 0.8rem;
    color: #555;
    font-style: italic;
}

/* Обертка иконки для свечения */
.icon-wrapper {
    position: relative;
    display: inline-block;
}

.news-card:hover .icon-wrapper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    filter: blur(30px);
    border-radius: 50%;
    z-index: -1;
}
/* Главный заголовок секции */
.section-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    background: linear-gradient(to right, white, white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Линия под заголовком */
.title-underline {
    width: 60px;
    height: 3px;
    background: var(--accent); /* Ваш акцентный цвет */
    margin: 0 auto;
    border-radius: 2px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .section-main-title {
        font-size: 2rem;
    }
    
    /* На мобильных заменяем вертикальные линии на горизонтальные */
    .news-item:not(:last-child)::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 10%;
        right: 10%;
        height: 1px;
        width: 80%;
        background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
    }
}
/* --- СТИЛИ ДЛЯ КОМПЬЮТЕРА --- */
.product-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: nowrap; /* На ПК держим в одну строку */
}

.product-header-row .woocommerce-loop-product__title {
    font-size: 20px !important;
    margin: 0 !important;
    text-align: left;
    flex: 1;
}

.product-price-row {
    margin-top: 8px;
    display: flex;
    justify-content: flex-start;
    font-size: 22px;
    font-weight: bold; /* Делаем цену жирной */
}

.product-price-row .price {
    margin: 0;
}

/* --- АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ (до 768px) --- */
@media (max-width: 768px) {
    .product-header-row {
        flex-direction: column; /* Название и звезды друг под другом */
        align-items: flex-start; /* Все по левому краю */
        gap: 5px;
    }

    .product-header-row .woocommerce-loop-product__title {
        font-size: 16px !important; /* Уменьшаем шрифт названия */
    }

    .product-header-row .star-rating {
        font-size: 12px; /* Чуть меньше звезды */
    }

    .product-price-row {
        font-size: 18px !important; /* Уменьшаем цену */
    }
}
ul.products li.product {
    display: flex !important;
    flex-direction: column;
    height: 100%;            /* Занимает всю высоту ряда */
    justify-content: flex-start;
    padding-bottom: 20px;    /* Отступ снизу для красоты */
}

/* 2. Блок с ценой делаем "жадным" — он заберет всё свободное место */
.product-price-row {
    flex-grow: 1;            /* Это заставит блок растянуться до кнопки */
    display: flex;
    align-items: flex-start; /* Цена прижата к верху своего блока */
    margin-bottom: 15px;     /* Расстояние от цены до кнопки */
}

/* 3. Кнопку принудительно прижимаем к самому низу */
.button.add_to_cart_button, 
.button.product_type_simple {
    margin-top: auto !important; /* Магия: выталкивает элемент в самый низ родителя */
    display: block;
    width: 100%;             /* Чтобы кнопки были одинаковой ширины */
    text-align: center;
}
@media (max-width: 440px) {

}
@media (max-width: 440px) {
    .hero h1 {
    font-size: 25px;
    }
    .hero p {
    font-size: 16px;
    }
    .title_usl {
    padding-top: 15px;
    }
    .card {
      border: none;
    }
    .card img, .uslugi img {
    height: 200px;
    }
    .card-img-overlay { 
      min-height: auto;
    }
    .card-title h5 {
      font-size: 15px;
    }
    .card-title {
     margin-bottom: 0;
    }
    .hero-content2 p {
      font-size: 13px;
    }
    .brand-item {
    font-size: 20px;
    }
    .hero-content3 h2 {
    font-size: 25px;
    }
    .comments {
        height: 300px;
    }
    .section-main-title {
        font-size: calc(1.325rem + .9vw);
    }
    .news-icon {
    width: 60px;
    }
    .news-card h2 {
    font-size: 20px;
    }
    .news-info {
    font-size: 13px;
    }
    .news-card {
    padding: 0px 20px;
    height: 300px;
  }
  .Phone, .Phone a {
    font-size: 16px;
  }
  .info_footer, .footer_uslugi {
    font-size: 15px;
}
.gis-icon, .Yandex_logo {
    width: 30%;
}
.Yandex_logo {
    padding-top: 5px;
}
}
