/* -Шрифты-  */

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto-regular.ttf');
}

/* -Основные параметры- */

html {
  scroll-behavior: smooth;
}
body  {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    color: #000000; 
    /* padding-top: 190px; */
}

a {
    text-decoration: none;
    color: #000000;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

p {
    margin: 0;
}

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

button {
    border: none;
    background: none;
    font: inherit;
    cursor: pointer;
}
button.success {
    position: relative;
    overflow: hidden;
}
button.success::after {
    position: absolute;
    content: 'Заявка отправлена!';
    width: 100%;
    height: 100%;
    left: 0%;
    top: 0%;
    background: green;
    color: #fff;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

input {
    outline: none;
    border: none;
    box-sizing: border-box;
}

/* -Контейнер- */
.container {
    box-sizing: border-box;
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 10px;
}

/* -Шапка- */

/* .header__nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;              
    border-bottom: 1px solid #ddd; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
} */

.header {
    padding: 0;
}
.header__logo {
    width: 220px;
}

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

.header__card {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    font-weight: bold;
    font-size: 12px;
    padding: 20px 0;
}

.header__img {
    margin-bottom: 10px;
}

.header__contact-subtitle {
    font-weight: bold;
    font-size: 14px;
    color: #3374c9;
}

.header__contact {
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    width: 300px;
}

.header__contact-phone {
    font-weight: bold;
    font-size: 16px;
    
}

.header__contact-socials-whatsapp {
    margin: 0 2px 0 3px;
}

.header__contact-socials-max img {
    width: 18px;
}



.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: 4px;
    padding: 0px 5px 2px 5px;
    color: #ffffff;
    background-color: #3374c9;
    height: 35px;
    width: 100%;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .3s ease;
}   

.btn:hover {
    background-color: #003090; 
}

/* -Модальное окно- */

.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba( 0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal__content {
    background: #fff;
    width: 450px;
    max-width: 90%;
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    position: relative;
    animation: scaleIn 0.3s ease;
}

.modal__content h2 {
    text-align: center;
    margin-bottom: 10px;
}

.modal__desc {
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

.modal__close {
    position: absolute;
    top: 5px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.modal__form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal__form input[type="text"],
.modal__form input[type="number"] {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.modal__checkbox {
    font-size: 12px;
    line-height: 1.4;    
    gap: 5px;
}

.modal__checkbox input {
    margin-top: 3px;
}

.modal__checkbox a {
    color: #3374c9;
    text-decoration: underline;
}

.modal__submit {
    padding: 12px;
    background: #3374c9;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.modal__submit:hover {
    background: #0058cb;
}

@keyframes scaleIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}


/* -Навигация- */

.services {
    padding: 20px 0px;
    
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-transform: uppercase;
}



.nav__list {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    border: 1px solid #ccccca;
    
}

.nav__item {
    position: relative;
    list-style: none;
    padding: 5px 11px;
    font-size: 15px;
    border-right: 1px solid #ccccca;

}
.nav__item:last-child {
    border-right: none;
}

.nav__link {
    position: relative;
    display: inline-block;
    padding: 2px 0;
    transition: color 0.2s ease;
}

.nav__link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: #3374c9;
    transition: width 0.3s ease;
}

.nav__link:hover {
    color: #3374c9;
}

.nav__link:hover::after {
    width: 100%; 
}

.nav__dropdown {
    position: absolute;
    left: -72px;
    width: 200px;
    height: auto;
    top: calc(100% + 20px);
    padding: 0px;
    margin: 0px;
    background: #fff;
    border: 1px solid #ccccca;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY();
    visibility: hidden;
    transition: all 0.5s ease;
    text-align: center;
    padding: 0px 10px;
    z-index: 1000;
}
.nav__item:hover .nav__dropdown {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 5px); 
}

.nav__dropdown-list {
    list-style: none;
    font-size: 15px;
    padding: 5px 0;
    border-bottom: 1px solid #ddd
}
.nav__dropdown-list:last-child {
    border-bottom: none;
}

.nav__dropdown-link {
    text-transform: uppercase;
    position: relative; 
    display: inline-block;
    text-transform: uppercase;
    padding: 5px 0;
}

.nav__dropdown-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: #3374c9;
    transition: width 0.3s ease;
}

.nav__dropdown-link:hover {
    color: #3374c9;
}

.nav__dropdown-link:hover::after {
    width: 100%; 
}


/* -Интро- */

.section__intro  {
	position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    min-height: 550px; 
    padding: 40px 0; 
    margin: 0;;
    box-sizing: border-box;
}
.section__intro::before {
	position: absolute;
	content: "";
	z-index: 1;
	left: 0%;
	top: 0%;
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4))
}
.section__intro div.container {
	position: relative;
	z-index: 2;
}

.intro {
    display: flex;
    flex-wrap: wrap;   
    align-items: center;
    justify-content: center;
    gap: 20px;
    
}

.intro__card-first {
    margin-right: 0;   
    flex: 1 1 300px;   
    min-width: 280px;
}

.intro__arrow {
    width: 400px;
    height: 64px;
}

.intro__card-second {
    width: 280px;
    height: 100%;
    padding: 40px;
    background: rgb(255, 255, 255);
    border: 5px solid #3374c9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1 1 300px;
    min-width: 280px;
}

.intro h3 {
    margin-bottom: 0;
}

.intro__title {
    font-size: 54px;
    font-weight: 900;
    margin-bottom: 10px;
}

.marked {
    color: #3374c9;
}

.intro__score {
    border: 3px solid #3374c9;
    width: 200px;
    padding: 10px;
    background: #fff;
    font-size: 22px;
    margin-bottom: 10px;
    border-radius: 5px;
    text-align: center;
    color: #3374c9;
    font-weight: bold;
}

.intro__subtitle {
    font-size: 24px;
    
}

.intro__title-order {
    border-left: 4px solid #3374c9;
}

.intro__card-title {
    font-size: 24px;
    font-weight: bold;
    margin-left: 10px;
    margin-bottom: 10px;
}

.intro__card-subtitle {
    font-size: 16px;
    margin-left: 10px;  
    margin-bottom: 35px;
}

.intro__form {
    display: flex;
    flex-direction: column;
    align-items: stretch;   
    gap: 20px;              
}

.intro__input {
    width: 100%;          
    padding: 12px 16px;
    font-size: 16px;
    border-bottom: 2px solid #3374c9;
    border-radius: 6px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
    color: #222;
}

.intro__input:focus {
    border-color: #3374c9;
    box-shadow: 0 0 0 2px rgba(0, 4, 255, .2);
}

.intro .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    outline: none;
    padding: 25px;
    font-size: 15px;
    width: 280px; 
    margin: 0 auto;
    margin-bottom: 15px;
}

/* --- СЕКЦИЯ УСЛУГ --- */

.section__services-prime ul {
    list-style: circle;
}

.section__services-prime {
    margin-top: 20px;
    padding: 50px 0;
}

.block-header-prime {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.block-header-prime .brand {
    color: #3374c9; 
}

.products-list__row-prime {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}

.products-list__col-prime {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.2s;
}

.products-list-header-prime {
    font-weight: bold;
    font-size: 14px;
    color: #000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #3374c9;
    padding-bottom: 15px;
    margin-bottom: 15px;
    transition: color 0.2s;
}
.products-list-header-prime:hover {
    color: #3374c9;
}

.products-list-header-prime p{
    color: #000000;
}

.products-list-header__image-wrap-prime {
    display: inline-block;
    width: 25px;
    height: 25px;
    margin-right: 8px;
}
.products-list-header__image-wrap-prime img {
    width: 100%;
    height: auto;
}

.products-list-prime {
    margin: 0;
    padding: 0;
}
.products-list-prime li {
    margin-bottom: 8px;
}
.products-list-prime li a {
    font-size: 14px;
    color: #3374c9;
    transition: color 0.2s;
}
.products-list-prime li a:hover {
    color: #002d87;
    text-decoration: underline;
}

.menu-item.hidden {
    display: none;
}

.menu-item.hidden.open {
    display: list-item;
}

.menu-item-open-toggle {
    margin-top: 10px;
}

.menu-item-open-toggle-btn {
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: #3374c9;
    transition: color 0.2s;
}
.menu-item-open-toggle-btn:hover {
    color: #003090;
}

.text-open {
    display: none;
}

.menu-item-open-toggle.open .text-close {
    display: none;
}

.menu-item-open-toggle.open .text-open {
    display: inline;
}

/* --- СЕКЦИЯ РАБОТЫ --- */
.section__works {
    background: #f1f1f1;
    padding-top: 20px;
}

.works {
    text-align: center;
}

.works__info {
    margin-bottom: 40px;
}

.works__title {
    font-size: 26px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.works__disc {
    font-size: 15px;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

.works__columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.works__column {
    text-align: center;
    padding: 20px;
}

.works__column img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

.works__card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.works__column p {
    font-size: 14px;
    margin-bottom: 15px;
}

.works .btn {
    text-decoration: none; 
    color: #007bff; 
    font-size: 14px;
    background-color: transparent;
}

.works .btn:hover {
    text-decoration: underline; 
}

/* -Кейсы Мастерова 'Case'- */
.case * { box-sizing: border-box; }

:root{
    --case-max-w: 1170px;
    --case-col-gap: 32px;  
    --case-row-gap: 28px;  
    --case-icon: 64px;
}

.case{
    
    margin: 0 auto;
    padding: 48px 16px 56px;
    line-height: 1;
}

.case__info{ 
    margin-bottom: 36px;
}
.case__title{
    text-align: center;
    margin: 0 0 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    line-height: 1.15;
    font-size: clamp(22px, 3.6vw, 38px);
}
.case__disc{
    margin: auto;
    max-width: 450px;
    text-align: center;
}

.case__columns{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--case-col-gap);
    row-gap: var(--case-row-gap);
}

.case__column{
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.case__column > img{
    width: var(--case-icon);
    height: var(--case-icon);
    flex: 0 0 var(--case-icon);
    object-fit: contain;
    display: block;
    transform: translateY(2px); 
}

.case__card-text{ 
    flex: 1 1 auto;
    min-width: 0;              
}

.case__card-title{
    margin: 0 0 6px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    word-break: break-word;
}

.case__column .case__card-disc{
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
    color: #111;                
}

/* -Мастера- */

.master {
    padding: 40px 0;
}

.master__info {
    text-align: center;
    margin-bottom: 30px;
}

.master__title {
    font-size: 28px;
    font-weight: bold;
}

.master__cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.master__card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    flex: 0 1 300px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.master__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.master__card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.master__card-content {
    padding: 20px;
    flex: 1;
}

.master__card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.master__card-box {
    display: flex;
    flex-direction: column;
}

.master__card-name {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #111;
}

.master__card-spec {
    font-size: 15px;
    font-weight: 600;
    color: #0078d7; 
    text-transform: uppercase;
    margin-top: 4px;
}

.master__card-phone {
    width: 34px;
    height: 34px;
    cursor: pointer;
}

.master__card-ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.master__card-li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
}

.master__card-li img {
    width: 18px;
    height: 18px;
}

/* -Toolmarks- */

.section__toolmark {
    margin-bottom: 20px;
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
    background-color: #f1f1f1;
}

.toolmark__title {
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
}

.toolmark__brands {
    display: flex;
    flex-wrap: wrap;        
    justify-content: center; 
    align-items: center;    
    gap: 20px;              
    margin: 20px 0;
}

.toolmark__brand {
    flex: 0 1 auto; 
    height: auto;
}


/* -Swiper- */

.section__swiper {
    width: 100%;
    padding: 40px 0;
    background: #f5f5f5;
}

.section__swiper .container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.swiper {
    position: relative;
    overflow: hidden;
}

.swiper__title h1 {
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: bold;
    color: #333;
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.swiper-slide {
    flex: 0 0 auto;
    box-sizing: border-box;
    padding: 10px;
}

.swiper-slide img {
    max-width: 180px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(74, 74, 74, 0.15);
    -webkit-user-drag: none;       
    user-select: none;     
    pointer-events: auto;
}


.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    color: #444;
    cursor: pointer;
    user-select: none;
    background: rgba( 255, 255, 255, 0.8);
    padding: 8px 20px;
    border-radius: 50%;
    transition: 0.3s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: rgba(154, 154, 154, 0.8);
    color: #fff;
}

.swiper-button-prev {
    left: 5px;
}

.swiper-button-next {
    right: 5px;
}


.swiper-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.swiper-pagination .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: 0.3s;
}

.swiper-pagination .dot.active {
    background: #333;
}

/* -Локация- */

.location__title {
    font-size: 22px;
    text-transform: uppercase;
    text-align: center;
    margin: 20px;
    font-weight: bold;
}

/* -Карта- */

.section__map .container {
    max-width: 100%;
    padding: 0;

}

.map__title {
    font-size: 22px;
    text-transform: uppercase;
    text-align: center;
    margin: 20px;
    font-weight: bold;
}

/* -Подвал (Footer)- */

.footer {
    background: #f9f9f9;
    padding: 40px 20px;
    color: #333;
    border-top: 1px solid #ddd;
}

.footer .container {
    display: grid;
    grid-template-columns: 1fr .7fr 1fr 1fr;
    gap: 20px;
    margin: 0 auto;
}

.footer-logo img {
    width: 200px;
    margin-bottom: 15px;
}

.footer-rating {
    margin: 10px 0;
    font-size: 14px;
}
.footer__rating-link {
    display: inline-block;
    text-decoration: none;
    transition: color .2s ease;
}

.footer__rating-link:hover {
    color: #3374c9;
}

.footer-rating-stars {
    font-size: 18px;
    font-weight: bold;
    color: #3374c9;
}

.footer-contact a {
    display: block;
    margin: 5px 0;
    color: #333;
    text-decoration: none;
}

.footer-soc {
    margin: 20px 0;
    
}

.footer-soc a {
    margin-right: 10px;
    margin-bottom: 10px;
    display: inline-block;
    transition: opacity .2s ease;
}

.footer-soc a:hover {
    opacity: .7;
}

.footer-soc img {
    width: 24px;
    height: 24px;
}

.footer-copy {
    margin-top: 20px;
    font-size: 13px;
    color: #666;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 15px;
    font-size: 15px;
}

.footer-menu a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color .2s ease;
}

.footer-menu a:hover {
    color: #3374c9;
    text-decoration: underline;
}


.footer__policy {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 20px 0;
}

.policy p {
    opacity: .7;
    transition: color .2s ease;
}

.policy p:hover {
    color: #3374c9;

}

/* Кнопка-бургер для списка услуг */
.products-burger {
    display: none;
    position: fixed;
    top: 80px;   /* отступ от верха */
    left: 15px;  /* всегда слева */
    z-index: 2000;
    width: 30px;
    height: 22px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}
.products-burger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 2px;
}

/* Сайдбар (левая колонка) */
.products-sidebar {
    transition: transform 0.3s ease;
}


/* -Секция интро 2 */

.section__intro-second {
    padding: 40px 0;
}

.container.intro__second {
    display: flex;
    align-items: stretch; 
    gap: 30px;
}

.intro__second-bg {
    flex: 1;
    border-radius: 3px;
    background: url("../images/intro-bg.jpg") no-repeat;
    background-size: cover;
}

.intro__second-bg{
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.intro__second-content {
    flex: 1;
    padding: 20px;
}

.intro__second-title {
    font-size: 26px;
    margin-bottom: 10px;
}

.intro__second-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
}

.intro__second-advantages {
    margin-bottom: 20px;
}

.intro__second-advantages-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.intro__second-advantages-item span {
    display: inline;
}


.intro__second-advantages-item img {
    width: 20px;
    height: 20px;
}

.intro__second-form-wrapper {
    margin-top: 20px;
}

.intro__second-form-title {
    margin-bottom: 10px;
    font-weight: bold;
}

.form-group {
    display: flex;
    gap: 10px;
}

.form-control {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.intro__second-form-btn {
    background: #3374c9;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.intro__second-form-btn:hover {
    background: #285ca1;
}

.intro__second-form-privacy {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

.intro__second-form-privacy a{
    color: #006eff;
    transition: color .2s;
}

.intro__second-form-privacy a:hover{
    text-decoration: underline;
    color: #3374c9;
}

/* -Секция услуг 2 */

.section__services ul {
    list-style: disc;
    font-size: 12px;
}

.section__services {
    margin-top: 20px;
    padding: 10px 0;
}

.block-header {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.block-header .brand {
    color: #3374c9; 
}

.products-list__row {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 30px;
}

.products-list__col {
    border: 1px solid #33333328;
    border-radius: 5px;
    background: #fff;
    padding: 20px;
    transition: transform 0.2s;
    font-size: 16px;
    height: 100vh; 
    overflow-y: auto;
}

.products-list-header {
    font-weight: bold;
    font-size: 14px;
    color: #000;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    transition: color 0.2s;
}
.products-list-header:hover {
    color: #3374c9;
}

.products-list-header p{
    color: #000000;
}

.products-list-header__image-wrap {
    display: inline-block;
    width: 25px;
    height: 25px;
    margin-right: 8px;
}
.products-list-header__image-wrap img {
    width: 100%;
    height: auto;
}

.products-list {
    margin: 0;
    padding: 0;
}
.products-list li {
    margin-bottom: 8px;
}
.products-list li a {
    font-size: 14px;
    color: #3374c9;
    transition: color 0.2s;
}
.products-list li a:hover {
    color: #002d87;
    text-decoration: underline;
}

.right__side-text {
    line-height: 1.8;
    font-weight: 100;
}

.right__side-text a{
    color: #3a84e4;
}
.right__side-text a:hover {
    color: #0049a9;
}


.right__side-field {
    background: url(../images/hatch.png);
    border: 1px solid #3374c9;
    font-weight: bold;
    border-radius: 4px;
    box-sizing: border-box;
    float: right;
    height: auto;
    margin: 8px 0 8px 15px;
    padding: 0 20px;
    text-align: center;
    width: 300px;
}

.right__side-field-first-line {
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    margin: 20px 0 0;
}

.right__side-field-second-line {
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    margin: 15px 0 0;
}

.right__side-field-button {
    background-image: -webkit-linear-gradient(bottom, #2c87ff 0%, #3374c9 100%);
    background-image: linear-gradient(to top, #2c87ff 0%, #3374c9 100%);
    border: 0;
    border-radius: 12px;
    box-sizing: border-box;
    color: #ffffff;
    cursor: pointer;
    display: block;
    font-size: 18px;
    font-weight: 700;
    height: 38px;
    letter-spacing: normal;
    line-height: 38px;
    margin: auto;
    padding: 0;
    text-decoration: none;
    width: 100%;
}

.right__side-field-button:hover {
    color: #b9d8ff;
}


/* -Таблица  */

.price-table-wrapper {
    margin: 20px 0;
    overflow-x: auto;
}

table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 15px !important;
    color: #333 !important;
}

tr:hover {
    background-color: #f0f8ff !important;
}

td:last-child {
    text-align: right !important;
}

.is-hidden {
    display: none;
}

.table-toggle-wrapper {
    text-align: center;
    margin-top: 10px;
}

.table-toggle-btn {
    padding: 10px 20px;
    border: 1px solid #3374c9;
    border-radius: 6px;
    background: #fff;
    font-weight: 600;
    font-size: 14px;
    color: #3374c9;
    cursor: pointer;
    transition: 0.2s;
    margin-bottom: 15px;
}

.table-toggle-btn:hover {
    background: #f0f6ff;
}

/* -Advantages */

.section__advantages {
    padding: 60px 0;
    text-align: center;
}

.advantage__header {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.advantage__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 карточки в ряд */
    gap: 30px; /* расстояние между карточками */
    max-width: 1000px; /* ширина блока */
    margin: 0 auto; /* центрирование */
}

.advantage__card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.advantage__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.advantage__card-img img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 15px;
}

.advantage__card-title {
    font-size: 16px;
    font-weight: 500;
    color: #222;
}

.advantage__card-score {
    font-size: 28px;
    font-weight: 800;
    color: #1f3a93;
    margin-bottom: 10px;
}

/* -Process-  */
.section__process {
    padding: 60px 0;
    background-color: #ccccca23;
}

.section__process .container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 16px;
}

.process__title {
    text-align: center;
    margin: 0 0 40px 0;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
}

.process__cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.process__card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.process__card-letter {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #3374c9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
}

.process__card-header {
    max-width: 900px;
}

.process__card-title {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 8px;
    color: #222;
}

.process__card-text {
    font-size: 16px;
    line-height: 1.5;
    color: #444;
}

.process__card-text a {
    color: #3374c9;
    font-weight: 700;
    text-decoration: none;
}

.process__card-text a:hover {
    color: #0056c6;
    text-decoration: underline;
}

/* -Адаптив- */

/* --- Планшет --- */
@media (max-width: 992px) {
    .header__advantages {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    .header__logo {
        width: 180px;
    }
    .header__card {
        flex: 1 1 1;
        text-align: center;
    }
    .header__contact {
        width: 100%;
        text-align: center;
    }    

    .intro__arrow {
        display: none;
    }
    .case__columns {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-burger {
        display: flex;
        position: fixed;
        top: 10px;
        left: 10px;
        color: #3374c9;
        border: 10px solid #ffffff;
        border-radius: 50%;
        background-color: #ffffff;
    }

    .products-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 280px;
        background: #fff;
        box-shadow: 2px 0 8px rgba(0,0,0,0.2);
        padding: 20px;
        transform: translateX(-100%);
        z-index: 1500;
        overflow-y: auto;
    }

    .products-sidebar.active {
        transform: translateX(0);
    }
    .products-list__row {
        grid-template-columns: 1fr;
    }
    .products-list__col {
        width: 100%;
        border: none;  
    }
    .swiper img {
        width: 100%;
        height: auto; 
        max-width: none;
    }

    .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
    }


    .swiper-button-prev,
    .swiper-button-next {
        font-size: 22px;
        padding: 6px 14px;
    }

    .swiper-pagination {
        display: none;
    }
    

    .footer .container {
        grid-template-columns: 1fr 1fr; 
        gap: 24px;
    }

    .footer-logo img {
        width: 180px;
        max-width: 100%;
        height: auto;
    }

    .advantage__cards {
        grid-template-columns: repeat(2, 1fr); /* 2 в ряд */
    }
    .process__card {
    gap: 16px;
    }
    .process__card-title {
        font-size: 18px;
    }
    .process__card-text {
        font-size: 15px;
    }
}

/* --- Мобильный --- */
@media (max-width: 768px) {
    /* Шапка */
    .header__advantages {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }

    .header__logo {
        width: 160px;
    }

    .header__card {
        display: none;
    }

    /* оставляем только контакты и кнопку */
    .header__contact {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .intro__arrow {
        display: none;
    }

    /* Бургер */
    .header__burger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
        margin-left: auto;
    }
    .header__burger span {
        display: block;
        height: 3px;
        width: 100%;
        background: #3374c9;
        border-radius: 2px;
    }

    /* Навигация */
    .nav {
        max-height: 0;                
        overflow: hidden;            
        transition: max-height .5s ease;
    }

    
    .nav.active {
        max-height: 500px; /
    }
    .nav__dropdown {
        display: none;
    }
    .nav__list {
        flex-direction: column;
        border: none;
    }
    .nav__item {
        border: none;
        padding: 10px 0;
    }

    .intro__second-bg {
        display: none;
    }

    .case__columns {
        grid-template-columns: 1fr; 
    }

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

    .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
    }


    .swiper-button-prev,
    .swiper-button-next {
        font-size: 22px;
        padding: 6px 14px;
    }

    .swiper-pagination {
        display: none;
    }

    .right__side-field {
        max-width: 200px;
        max-height: 160px;
    }

    .right__side-field-first-line, .right__side-field-second-line {
        font-size: 12px;
        margin: 5px 0 -5px 0;
    }

    .right__side-field-button {
        margin: 4px 0 4px 7px;
        padding: 0 10px;
        font-size: 10px;
        margin: 0 0 -20px 0;
    }

    .custom-field-footer {
        font-size: 12px;
    }
    
    .swiper img {
        width: 100%;
        height: auto; 
        max-width: none;
    }

    .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
    }


    .swiper-button-prev,
    .swiper-button-next {
        font-size: 22px;
        padding: 6px 14px;
    }
    .swiper-pagination {
        display: none;
    }

    .footer .container {
        grid-template-columns: 1fr; /* всё в одну колонку */
        gap: 20px;
        justify-items: center;
        text-align: center;
    }

    .footer-logo img {
        width: 150px;
    }

    .footer__policy {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
    }

    .advantage__cards {
        grid-template-columns: 1fr; 
    }
    .process__cards {
        gap: 24px;
    }

    .process__card {
        flex-direction: column; 
        align-items: center;
        text-align: center;
    }

    .process__card-letter {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .process__card-header {
        max-width: 100%;
    }

    .process__card-title {
        font-size: 17px;
        margin-bottom: 6px;
    }

    .process__card-text {
        font-size: 14px;
        line-height: 1.4;
    }
}
/* *-Маленькие смартфоны*/
@media (max-width: 576px) {


    .container {
        padding: 0 10px;
    }

    /* --- интро-блок --- */
    .intro__title {
        font-size: 22px;
        line-height: 1.3;
        text-align: center;
    }

    .intro__subtitle {
        font-size: 14px;
        text-align: center;
    }

    .intro__btn {
        font-size: 14px;
        padding: 8px 14px;
        margin: 10px auto;
        display: block;
    }

    .intro__second-bg {
        display: none;
    }
    

    .services__item,
    .intro__second-advantages-item {
        font-size: 14px;
    }

    .services__item img,
    .intro__second-advantages-item img {
        max-width: 40px;
        margin-bottom: 6px;
    }

    /* --- свайпер --- */
    .swiper {
        padding: 8px 0;
    }

    .swiper-slide img {
        max-width: 90px; /* уменьшаем размер картинок */
    }

    .swiper-button-prev,
    .swiper-button-next {
        font-size: 16px;
        padding: 4px 10px;
    }

    /* --- секция цен/прайса --- */
    .prices__item {
        padding: 10px;
        font-size: 13px;
    }

    .prices__item h3 {
        font-size: 16px;
    }

    .prices__item p {
        font-size: 13px;
    }

    /* --- форма --- */
    .form input,
    .form textarea,
    .form button {
        font-size: 14px;
        padding: 8px;
    }

    /* --- футер --- */
    .footer {
        padding: 20px 10px;
        font-size: 12px;
        text-align: center;
    }

    .footer__links {
        flex-direction: column;
        gap: 6px;
    }
}


