/*!
Theme Name: avz
Version: 1.0.0
*/





@font-face {
  font-family: 'Montserrat';
  src: url('/wp-content/themes/avz/assets/fonts/Montserrat-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/wp-content/themes/avz/assets/fonts/Montserrat-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/wp-content/themes/avz/assets/fonts/Montserrat-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/wp-content/themes/avz/assets/fonts/Montserrat-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}



/*
  Нормализация блочной модели
 */

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

:where(ul, ol):where([class]) {
  padding-left: 0;
}

body,
:where(blockquote, figure):where([class]) {
  margin: 0;
}

:where(
  h1, h2, h3, h4, h5, h6,
  p, ul, ol, dl
):where([class]) {
  margin-block: 0;
}

:where(dd[class]) { margin-left: 0; }
:where(fieldset[class]) { margin-left: 0; padding: 0; border: none; }
:where(ul[class]) { list-style: none; }
:where(address[class]) { font-style: normal; }

p {
  margin-block: 0;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

input, textarea, select, button {
  font: inherit;
}

button {
  margin: 0; padding: 0;
  border: none; outline: none;
  background: none; color: inherit;
  font: inherit; text-align: inherit;
  text-decoration: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

html { height: 100%; }
html, :has(:target) { scroll-behavior: smooth; }
body { min-height: 100%; }

a:where([class]) { display: inline-flex; }
label { cursor: pointer; }




:where(table) { border-collapse: collapse; border-color: currentColor; }

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.entry-content p:not([class]) {
    margin-bottom: 1.5em;
}
.entry-content h1,
.entry-content h2,
.entry-content h3 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}
.entry-content ul:not([class]),
.entry-content ol:not([class]) {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
    list-style: disc;
}

.entry-content a:not([class]) {
    display: inline;
}
.entry-content img {
    width: auto;
    margin: auto;
}

.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%); height: 1px; margin: -1px;
    overflow: hidden; padding: 0; position: absolute !important;
    width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
    background-color: #f1f1f1; border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important; clip-path: none;
    color: #21759b; display: block; font-size: 0.875rem;
    font-weight: 700; height: auto; left: 5px;
    line-height: normal; padding: 15px 23px 14px;
    text-decoration: none; top: 5px; width: auto;
    z-index: 100000;
}

:root {
  --shrift:  #000000;
  --akcent: #db0e19;
  --backwhite: #fff;
  --font-family: "Montserrat", sans-serif;
}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: #f0f0f0;
	font-family: var(--font-family);
	color: var(--shrift);
	font-size: 14px;
	line-height: 1.55;
}

main {
	display: block;
}

a{
	text-decoration: none;
	color: var(--akcent);
}
img{
	width: 100%;
	height: auto;
}
.container{
	max-width: 1320px;
	margin: 0 auto;
	padding:  clamp(1rem, -1rem + 6.67vw, 5rem);
  	position: relative;
}
.container-nm{
 	max-width: 1760px;
	margin: 0 auto;
	padding: clamp(3.125rem, -3.533rem + 21.74vw, 6.25rem) clamp(1rem, -1rem + 6.67vw, 5rem);
  position: relative;
}
.title{
	font-family: var(--font-family);
	font-weight: 600;
	line-height: 120%;
}

.v1{
  font-size: 32px;
}
.v2{
  font-size: 28px;
}
.v3{
  font-size: 18px;
}
.white{
  color: #fff;
}
.m-button{
	border-radius: 100px;
	padding: 25px 65px;
	font-family: var(--font-family);
	font-weight: 500;
	font-size: 16px;
	line-height: 100%;
	text-align: center;
	color: var(--shrift);
	width: fit-content;
	background: #db0e19;
	color: #fff;
	transition: 0.5s ease;
	align-items: center;
	cursor: pointer;
	justify-content: center;
	gap: 12px;
	display: flex;
}
.m-button:hover{
    background: var(--akcent);
    color: #fff;
}
.b-light{
	background: transparent;
	padding: 20px;
	border:  1px solid var(--shrift);
	font-weight: 500;
	font-size: 16px;
  color: var(--shrift);
}
/* .b-akcent{
  background: var(--akcent);
  color: #fff;
}
.b-akcent:hover{
  background: #5da720;
} */
.mtop5{
  margin-top: clamp(1.875rem, -0.493rem + 5.26vw, 3.125rem);
	/* margin-top: 50px; */
}
.mtop80{
  margin-top: clamp(1rem, -1rem + 6.67vw, 5rem);
	/* margin-top: 50px; */
}







/* =========== Хедер =========== */
.site-header {
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    z-index: 9999;
    transition: transform 0.3s ease;
    background: #f0f0f0;
    padding: 12px 0;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: #000;
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

.site-header.header-visible {
    transform: translateY(0);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0px 20px;
    gap: 30px;
    height: 100%;
}

nav#site-navigation {
    width: 45%;
    max-width: 860px;
}

#primary-menu {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: space-between;
    list-style: none; /* Убираем стандартные маркеры списка */
    margin: 0;
    padding: 0;
}

#primary-menu li a {
    text-decoration: none;
    color: #000;
    transition: color 0.2s;
    font-size: 18px;
    font-weight: 300;
}

#primary-menu li a:hover {
    color: var(--akcent);
}

.header-container a {
    color: #000;
}

.header-container a:hover, .h-call:hover {
    color: var(--akcent);
    transition: all 0.2s;
}

.header-container .logo-footer {
    margin: 0;
}
.logo-footer {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 20px;

}
.header-l-text{
  max-width: 241px;
  font-size: 16px;
  color: #3b3b3b;
}
.custom-logo {
    width: 50px;
}

.contact-phone {
    display: flex;
    gap: 5px;
    align-items: center;
}
.contact-phone .tn-atom {
    flex-shrink: 0;
  }
.contact-phone img.tn-atom__img {
    width: 32px;
    height: 32px;
}

a.head-mail {
    padding-left: 12px;
    align-items: center;
}
.head-time {
    line-height: 120%;
    margin: auto 0;
    padding-left: 10px;
}

.contact-phone a.title {
    white-space: nowrap;
    font-size: 22px;
    line-height: 100%;
}

/* =========================================
   ГЛОБАЛЬНЫЕ СТИЛИ ДЛЯ СТРЕЛКИ ПОДМЕНЮ
   (Работают и на десктопе, и на мобильном)
   ========================================= */
.menu-item-has-children > a {
    display: inline-flex;
    align-items: center;
    gap: 6px; /* Отступ между текстом и стрелкой */
    position: relative;
}

.menu-item-has-children > a::after {
    content: '▼';
    font-size: 10px;
    color: currentColor; /* Наследует цвет текста ссылки */
    transition: transform 0.3s ease;
    margin-top: 2px; /* Небольшая визуальная коррекция по вертикали */
}

/* Поворот стрелки при наведении (десктоп) или при открытии (мобильный) */
.menu-item-has-children:hover > a::after,
.menu-item-has-children.active > a::after {
    transform: rotate(180deg);
}

/* Стандартное выпадающее меню для десктопа (при наведении) */
@media (min-width: 981px) {
    .menu-item-has-children {
        position: relative;
    }
    
    .menu-item-has-children .sub-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        min-width: 200px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        border-radius: 4px;
        padding: 10px 0;
        z-index: 100;
        list-style: none;
    }
    
    .menu-item-has-children:hover .sub-menu {
        display: block;
    }
    
    #primary-menu .menu-item-has-children .sub-menu li a {
        display: block;
        padding: 8px 20px;
        font-size: 14px;
        text-align: center;
        font-weight: 500;
    }
    
    .menu-item-has-children .sub-menu li a:hover {
        background: #f5f5f5;
    }
}

/* Бургер-кнопка */
.burger-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
    position: relative;
}

.burger-menu-toggle:focus {
    outline: none;
}

.burger-icon {
    display: block;
    width: 28px;
    height: 4px;
    background-color: var(--akcent);
    position: relative;
    transition: all 0.3s ease;
}

.burger-icon::before,
.burger-icon::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 4px;
    background-color: var(--akcent);
    transition: all 0.3s ease;
}

.burger-icon::before {
    transform: translateY(-8px);
}

.burger-icon::after {
    transform: translateY(8px);
}

.menu-open .burger-icon {
    background-color: transparent;
}

.menu-open .burger-icon::before {
    transform: rotate(45deg) translate(7px, 5px);
}

.menu-open .burger-icon::after {
    transform: rotate(-45deg) translate(7px, -5px);
}

/* =========================================
   МОБИЛЬНОЕ МЕНЮ (адаптация глобальных стилей)
   ========================================= */
@media (max-width: 980px) {
    .burger-menu-toggle {
        display: block;
        order: -1;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #ffffffe6;
        transition: right 0.3s ease;
        z-index: 999;
        padding: 90px 20px 20px;
        overflow-y: auto;
    }

    .menu-open .main-navigation {
        right: 0;
        
    }
    nav#site-navigation{
      width: 100%;
    }

    .main-navigation #primary-menu {
        display: block;
        width: auto;
    }

    .main-navigation .menu-item {
        padding: 15px 0;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .main-navigation .menu-item a {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 20px;
        color: #fff;
    }

    .main-navigation .menu-item a:hover {
        color: var(--akcent);
    }

    /* Адаптация стрелки для мобильного меню */
    .main-navigation .menu-item-has-children > a {
        justify-content: space-between;
        text-align: left;
        width: fit-content;
        margin: auto;
    }
      #primary-menu li a {
        text-decoration: none;
        font-weight: 500;
        font-size: 22px;
      }
    .main-navigation .menu-item-has-children > a::after {
        font-size: 12px; /* Чуть крупнее для мобильного */
        color: rgba(0, 0, 0, 0.7);
        flex-shrink: 0; /* Запрещаем стрелке сжиматься */
    }

    /* Скрываем подменю по умолчанию на мобильном */
    .main-navigation .menu-item-has-children > .sub-menu, .footer .menu-item-has-children > .sub-menu {
        display: none;
        list-style: none;
        padding-left: 0;
        margin-top: 15px;
        text-align: center;
    }

    .main-navigation .menu-item-has-children > .sub-menu .menu-item {
        padding: 10px 0;
        border-bottom: none;
    }

    .main-navigation .menu-item-has-children > .sub-menu .menu-item a {
        font-size: 18px;
        color: rgba(255, 255, 255, 0.8);
        justify-content: center;
    }

    /* Показываем подменю при наличии класса .active (управляется JS) */
    .main-navigation .menu-item-has-children.active > .sub-menu, .footer .menu-item-has-children.active > .sub-menu {
        display: block;
    }

    .site-branding {
        margin-left: auto;
    }
}

.site-header.transparent {
    background-color: transparent;
    box-shadow: none;
}




/* =========== Главная =========== */
strong, .title span{
  font-weight: 800;
}
.title.v1 {
    width: 50%;
    max-width: 600px;
}
section.sect-one.skip-lazy {
    position: relative;
    padding-top: 70px;
	  height: clamp(38.438rem, 8.75rem + 31.67vw, 44.375rem);
    margin-top: 10px;
}
.back-img-mob {
    display: none;
}

.so-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   
    overflow: hidden;
    z-index: -1;
}

/* SVG фон слева */
.svgback {
    position: absolute;
    left: 0;
    top: 0;
	    /* width: 62.8%; */
    aspect-ratio: 1105 / 640;
    height: 100%;
    z-index: 2;
}

/* Изображение справа */
.so-back-img {
    position: absolute;
    right: 0;
    top: 0;
    /* width: 50%;  */
	max-width: 780px;
    height: 100%;
    background-image: url(assets/images/bg2.webp);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    aspect-ratio: 780/640;
}
.page-vsavto .so-back-img{
  background-image: url(assets/images/bg5.webp);
}
.page-vsdverey .so-back-img{
  background-image: url(assets/images/bg3.webp);
}

.page-vsseif .so-back-img{
  background-image: url(assets/images/bg4.webp);
}

.page-zamenaz .so-back-img{
  background-image: url(assets/images/bg1.webp);
}

.sect-one .container-nm {
    z-index: 3; /* Контент поверх фона */
    height: 100%;
    padding: clamp(1.875rem, -5.584rem + 11.48vw, 6.25rem);
}

.so-cont {
  max-width: 780px;
  color: #fff;
  width: 55%;
  min-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

h1.fs-title, .fs-inf{
  font-size: 22px;
  line-height: 100%;
  font-weight: 400;
}
.fs-inf {
    font-size: clamp(0.875rem, 0.089rem + 1.14vw, 1.375rem);
}
.title:has(span){
  font-weight: 300;
}
.sect-one .title {
  font-size: clamp(1.75rem, -0.75rem + 3.33vw, 3rem);
}
.sect-one .title span{
  color: var(--akcent);
}
.fs-inf svg {
    width: 60px;
}
.sect-one .m-button{
  margin-top: 40px;
}

.sect-two .container-nm {
  background: #fff;
  margin-top: 20px;
  border-radius: 40px;
  padding: clamp(1.875rem, -0.493rem + 5.26vw, 3.125rem) clamp(1rem, -1rem + 6.67vw, 5rem);
  margin-bottom: clamp(1rem, -1rem + 6.67vw, 5rem);
}
.st-in {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.doc-item {
  padding: 40px 20px 20px;
  background: #f0f0f0;
  border-radius: 20px;
  display: grid;
  gap: 20px;
  position: relative;
  flex: 1;
  min-width: 200px;
  font-weight: 300;
}
.item-svg {
    width: 40px;
    position: absolute;
    top: -20px;
    left: 20px;
}
section {
    background: #f0f0f0;
    overflow: hidden;
}
.form-bg {
    background-image: url(assets/images/Frame_9.webp);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: -10000;
    height: 100vh;
    background-size: cover;
}
section.capture-form {
  background: transparent;
}
.capture-form .container {
  background: #fff;
  border-radius: 40px;
  margin: clamp(1rem, -1rem + 6.67vw, 5rem) auto;
}
.capture-form .wpcf7-form p {
    max-width: 250px;
}
.form-content {
    max-width: 800px;
    width: 70%;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-image {
    position: absolute;
    bottom: 0;
    width: 410px;
    height: clamp(18.75rem, 3.661rem + 30.95vw, 26.875rem);
    right: 10px;
}
img.sth-c-img {
    aspect-ratio: 62 / 48;
    border-radius: 12px;
    object-fit: cover;
}
.sth-cont-i {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 210px;
  flex: 1;
}
.sth-cont-i p{
  margin: 0;
}
.sth-cont {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 20px;
    margin-bottom: clamp(1rem, -1rem + 6.67vw, 5rem);
}
.sth-c-butt {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sth-c-butt .m-button{
  padding: 20px;
}
.sect-four{
  background: #fff;
}
.t-video.mtop5 {
  height: clamp(15.625rem, 4.012rem + 43.21vw, 37.5rem);
}
.sfci-in .m-button{
  padding: 5px 60px;
}
.sf-cont.mtop5 {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.sf-cont-i {
    display: flex;
    gap: 35px;
    flex-wrap: wrap;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
}
.sfci-in {
    display: grid;
}
img.sfci-img {
    max-width: 178px;
    border-radius: 12px;
}
img.sfci-in-img {
    width: 297px;
    position: relative;
    top: -30px;
}



  .faq-container {
    background: #fff;
  }

  .faq-item {
    border-bottom: 1px solid #eee;
  }

  .faq-item:last-child {
    border-bottom: none;
  }

  .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    user-select: none;
  } 
  .faq-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease, background 0.3s ease;
}

  .faq-icon::before,
  .faq-icon::after {
    content: '';
    position: absolute;
    background: #000;
    transition: background 0.3s ease;
  }

  /* Горизонтальная линия плюса */
  .faq-icon::before {
    width: 20px;
    height: 2px;
  }

  /* Вертикальная линия плюса */
  .faq-icon::after {
    width: 2px;
    height: 20px;
  }

  /* Поворот на 45° при активном состоянии — плюс становится крестиком */
  .faq-item.active .faq-icon {
    transform: rotate(45deg);
  }
   .faq-question:hover .faq-icon {
    background: var(--akcent);
   }
  .faq-question:hover .faq-icon::before,
  .faq-question:hover .faq-icon::after {
    background: #fff;
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
  }
.faq-answer-inner {
    padding: 0 30px 20px;
    font-size: 16px;
    line-height: 1.55;
    color: var(--shrift);
}

  .faq-item.active .faq-answer {
    max-height: 300px;
  }

.sect-four p, .sect-three p.mtop5{
  font-size: 16px;
}

.car-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 40px;
}
img.car-img {
    border-radius: 12px;
}
.st-text {
    margin-top: 20px;
    font-size: 16px;
    max-width: 1100px;
}





/* =========== Новости =========== */

.single-post-thumbnail img {
    max-height: 500px;
    object-fit: cover;
    margin: 30px 0;
}
h1.single-entry-title {
    margin: 15px 0;
}
.single .container{
    margin-top: 20px;
}
.single.single-post{
  background: #fff;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(261px, 1fr));
    gap: 40px;
}
.news-grid .title{
  color: var(--shrift);
}
.site-main2 .title.v1{
  margin-top: 30px;
}
.news-card {
    display: flex;
}    
.post-thumbnail {
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 20px;
}
.entry-excerpt {
    line-height: 1.5; 
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nc-in {
    padding: 30px;
    display: flex;
    gap: 15px;
    flex-direction: column;
    color: rgba(0, 0, 0, .5);
}


/* =========== cf7 =========== */

/* Контейнер формы — горизонтальное расположение */
.wpcf7-form {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Убираем отступы у параграфов */
.wpcf7-form p {
    margin: 0;
    display: inline-block;
    width: 100%;
}

/* Стили полей ввода (имя и телефон) */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"] {
    padding: 16px 22px;
    border: 1px solid #d0d0d0;
    border-radius: 50px;
    font-size: 15px;
    color: #333;
    outline: none;
    width: 100%;
    /* min-width: 250px; */
    box-sizing: border-box;
    background: #fff;
    transition: border-color 0.3s ease;
}

.wpcf7-form input[type="text"]::placeholder,
.wpcf7-form input[type="tel"]::placeholder {
    color: #aaa;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="tel"]:focus {
    border-color: #999;
}

/* Стили кнопки */
.wpcf7-form input[type="submit"] {
    background-color: #d32f2f;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 16px 32px;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #b71c1c;
}

/* Скрываем спиннер загрузки */
.wpcf7-spinner {
    display: none;
}







/* =========== Футер =========== */
footer {
  background-color: #2a2a2a;
}
.footer {
  max-width: 1800px;
  padding: 30px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}


.footer .custom-logo{
  width: 150px;
}
.footer .title{
	margin-bottom: 20px;
  font-size: 24px;
}
.con-i-i {
  display: flex;
  gap: 50px;
}
.footer-in {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    gap: 50px;
    color: #fff;
}
.footer-in-i{
	display: grid;
  align-content: space-between;
  height: 100%;
	gap: 30px;
	font-family: var(--font-family);
	font-weight: 400;
  font-size: 16px;
  line-height: 120%;
}
.footer-in-i div{
	gap: 20px;
	display: grid;
}

.footer-in-i a{
	text-decoration-skip-ink: none;
}

.footer a,
.footer p,
.footer span
{
	color: #fff;
	margin: 0;
	transition: color 0.3s ease;
}
.footer a:hover{
	color: var(--akcent);
}
.footer #primary-menu .sub-menu a{
  color: var(--shrift);
}
.footer-in-i #primary-menu, .footer-cats{
	display: grid;
	gap: 20px;
	width: fit-content;
	margin: 0;
}
.footer-in-i #primary-menu a{
	text-decoration: none;
  color: var(--shrift);
}


.privacy{
	padding: 0 20px 20px;
  text-align: center;
  font-family: var(--font-family);
}
.privacy a{
	text-decoration: underline;
	color: var(--akcent);
}
.footer .con-inf {
  display: flex;
  gap: 5px;
  align-items: center;
}
.footer .con-inf a{
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
}
.footer .ci-in {
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  display: grid;
  gap: 5px;
  text-align: end;
  align-content: center;
}
.ci-in a.phoneLink {
  font-weight: 600;
  font-size: 20px;
}


.ft-bot-img img {
  max-height: 60px;
  width: auto;
  justify-self: center;
  margin-bottom: 8px;
}
.footer .social-links {
    display: flex;
    gap: 8px;
}
.social-links a{
    width: fit-content;
}
span.fii-mintext {
    max-width: 300px;
}



/* ============ =========== */

.read-more-content {
  overflow: hidden;
  line-height: 160%;
  transition: max-height 0.35s ease-out;
  margin-top: 30px;
}

.read-more-btn {
  color: var(--akcent);
  font-size: 16px;
  font-weight: 600;
  line-height: 100%;
  margin-top: 20px;
}



/*-----------Модальное окно-----------*/
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
}

/* контейнер */
.cont-form.modal-content {
  position: relative;
  top: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease;
}
.cont-form {
  max-width: 520px;
  border-radius: 20px;
  padding: 40px;
  height: fit-content;
  background: #fff;
  overflow: hidden;
  color: #040404;
  display: grid;
  gap: 15px;
  text-align: center;
}

/* Кнопка закрытия */
.close-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 32px;
  font-weight: 300;
  color: #000000;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}
.close-btn:hover {
  color: #000;
}

/* Анимация появления */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}











@media screen and (max-width: 1500px) {
    section.sect-one.skip-lazy {
    height: clamp(36.25rem, 5.625rem + 35vw, 38.438rem);
  }
}

@media screen and (max-width: 1400px) {
  section.sect-one.skip-lazy {
    height: clamp(32.5rem, 3.438rem + 37.5vw, 36.25rem);
  }
}

@media screen and (max-width: 1240px) {
  section.sect-one.skip-lazy {
    height: clamp(26.563rem, 4.183rem + 36.54vw, 32.5rem);
  }
  .header-l-text{
    display: none;
  }
}



@media screen and (max-width: 980px) {
  .so-back {
    background: rgb(43, 43, 43);
    border-radius: 40px;
  }
  .svgback, .so-back-img{
    display: none;
  }
  .so-cont {
    justify-self: center;
    width: 100%;
  }
  section.sect-one.skip-lazy {
    height: 100%;
  }
  .back-img-mob {
    justify-self: center;
    display: block;
    width: 100%;
    max-width: 620px;
    max-height: 400px;
    overflow: hidden;
    border-radius: 20px;
  }
  .back-img-mob img{
    object-fit: cover;
    object-position: right center;
    transform: scale(1.23);
    transform-origin: right center;
  }
}




@media screen and (max-width: 980px) {
  
}



@media screen and (max-width: 980px) {
  
}



@media screen and (max-width: 980px) {
  .header-container .logo-footer,
  .header-l-text
  {
    display: none;
  }
}

@media screen and (max-width: 920px) {
	.footer, .footer-in {
    justify-content: center;
  }
  .sth-cont-i {
    max-width: 300px;
  }
}

@media screen and (max-width: 660px) {
	.so-cont {
    width: 100%;
    min-width: unset;
  }
  .sect-one .title {
    font-size: 24px;
  }
  
  .form-content {
    width: 100%;
  }
  .car-block {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  img.sfci-img {
    max-width: 100%;
    max-height: 178px;
    object-fit: cover;
  }
  .sfci-in .m-button {
    padding: 15px 60px;
    width: 300px;
  }
  .footer .ci-in {
    text-align: center;
  }
  .car-block{
    gap: 15px;
  }
  .form-image {
    position: relative;
    bottom: -16px;
    width: 300px;
    height: 300px;
    right: 0;
    justify-self: end;
  }
  .capture-form .wpcf7-form p {
    max-width: unset;
  }
  .sth-c-butt .m-button {
    width: 100%;
  }
  .sth-cont-i {
    max-width: unset;
  }
  .title.v1 {
    width: 100%;
  }
  .capture-form .container {
    margin: 40px 20px;
  }

}