/* japgarage — мелкие доводки поверх темы */
/* В теме .body__content/.body__cont свёрстаны под левый сайдбар 284px (.body__sidebar),
   которого у нас нет — убираем сдвиг, контент на всю ширину .wrapper */
.body__content{float:none;margin:0;width:auto}
.body__cont{margin-left:0;padding-left:0}
/* Слайдер главной на Swiper (поверх .slider* темы) */
.home-swiper{overflow:hidden}
/* swiper-bundle ставит .swiper-slide{height:100%} и схлопывает слайды — задаём явную высоту */
.home-swiper .swiper-slide{height:450px}
@media (max-width:900px){.home-swiper .swiper-slide{height:380px}}
@media (max-width:600px){.home-swiper .swiper-slide{height:300px}}
/* кружочки навигации — как на проде (.slider__pages li) */
.home-swiper .swiper-pagination{bottom:30px;height:14px;line-height:14px}
.home-swiper .swiper-pagination-bullet{
	width:14px;height:14px;margin:0 5px!important;box-sizing:border-box;
	background:transparent;opacity:1;border:2px solid rgba(255,255,255,.7);border-radius:50%;
	transition:background .3s,border-color .3s}
.home-swiper .swiper-pagination-bullet-active{background:rgba(255,255,255,.7);border-color:transparent}
@media (max-width:767px){.home-swiper .swiper-pagination{bottom:15px}}
.home-swiper .slider__arr{transition:color .15s}
.home-swiper .slider__arr:hover{color:#fff}
/* promo: список преимуществ из каталога — li без класса ic-a, маркеру нужен шрифт иконок */
.promo__list ul li:after{font-family:'icomoon'}

.svc-list{list-style:none;margin:18px 0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.svc-list li{margin:0}
.svc-list a{display:block;padding:10px 14px;background:#f5f5f5;border-radius:6px;text-decoration:none;color:#222}
.svc-list a:hover{background:#e9e9e9}
.jg-brand-head{display:flex;align-items:center;justify-content:flex-start;gap:18px;flex-wrap:wrap;margin-bottom:8px}
.jg-brand-head .jg-page__title{margin:0}
.brand-logo{max-width:150px;max-height:80px;width:auto;height:auto;object-fit:contain;flex:0 0 auto;margin:0}

/* сквозной блок марок внизу услуг */
.jg-brands-block{margin:44px 0 10px}

/* ============ Раздел услуг: меню слева + контент (чистый flex) ============ */
.jg-srv-layout{display:flex;gap:34px;align-items:flex-start;margin-top:6px}
.jg-srv-side{flex:0 0 270px;min-width:0;position:sticky;top:0;align-self:flex-start}
.jg-srv-main{flex:1 1 auto;min-width:0}
.jg-srv-nav{box-shadow:0 6px 22px rgba(0,0,0,.07);overflow:hidden;background:#fff}
.jg-srv-nav__title{font-size:17px;font-weight:700;margin:0;line-height:1.25;background:linear-gradient(135deg,#fa0809,#c70607);padding:15px 18px}
.jg-srv-nav__title a{color:#fff;text-decoration:none;display:block}
.jg-srv-nav__title a:hover{color:#fff;opacity:.92}
.jg-srv-menu,.jg-srv-submenu{list-style:none;margin:0;padding:0;display:block}
.jg-srv-menu{background:#fff}
.jg-srv-menu>li{border-bottom:1px solid #f1f1f1}
.jg-srv-menu>li:last-child{border-bottom:none}
.jg-srv-menu>li>a{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 18px;font-size:15px;font-weight:600;color:#222;text-decoration:none;transition:background .15s,color .15s,padding-left .15s}
.jg-srv-menu>li>a::after{content:"";flex:0 0 auto;width:7px;height:7px;border-right:2px solid #cfcfcf;border-bottom:2px solid #cfcfcf;transform:rotate(-45deg);transition:border-color .15s}
.jg-srv-menu>li>a:hover{background:#fdf2f2;color:#fa0809;padding-left:22px}
.jg-srv-menu>li>a:hover::after{border-color:#fa0809}
.jg-srv-menu>li.active>a{color:#fa0809;background:#fff4f4;box-shadow:inset 4px 0 0 #fa0809}
.jg-srv-menu>li.active>a::after{border-color:#fa0809}
.jg-srv-submenu{padding:6px 0 12px 18px;background:#fff}
.jg-srv-submenu li a{display:block;padding:7px 16px 7px 14px;font-size:14px;line-height:1.35;color:#5a5a5a;text-decoration:none;border-left:2px solid #ececec;transition:color .15s,border-color .15s}
.jg-srv-submenu li a:hover{color:#fa0809;border-left-color:#fa0809}
.jg-srv-submenu li.active>a{color:#fa0809;border-left-color:#fa0809;font-weight:600}
@media (max-width:900px){
	.jg-srv-layout{flex-direction:column;gap:20px}
	.jg-srv-side{flex:0 0 auto;width:100%;position:static}
	.jg-srv-main{width:100%}
}

/* ============ Карточки списков (услуги/марки) ============ */
.jg-cards{list-style:none;margin:22px 0 8px;padding:0;
	display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
@media (max-width:700px){.jg-cards{grid-template-columns:repeat(2,1fr)}}
.jg-card{margin:0}
.jg-card__link{display:flex;flex-direction:column;height:100%;
	background:#fff;border:1px solid #ececec;border-radius:14px;overflow:hidden;
	text-decoration:none;color:#181818;transition:border-color .15s,box-shadow .15s,transform .15s}
.jg-card__link:hover{border-color:#ffc2c2;box-shadow:0 10px 26px rgba(250,8,9,.12);transform:translateY(-3px)}
.jg-card__media{display:block;aspect-ratio:4/3;background:#f7f7f7;overflow:hidden}
.jg-card__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}
.jg-card__link:hover .jg-card__media img{transform:scale(1.04)}
/* лого марки — вписываем целиком, без обрезки */
.jg-card--logo .jg-card__media{background:#fff}
.jg-card--logo .jg-card__media img{object-fit:contain;padding:18px}
.jg-card--logo .jg-card__link:hover .jg-card__media img{transform:none}
.jg-card__title{display:flex;align-items:center;flex:1 0 auto;
	padding:14px 16px;font-size:15px;font-weight:600;line-height:1.3}
/* карточка без картинки — фирменная плашка с названием */
.jg-card--noimg .jg-card__link{background:linear-gradient(135deg,#fff 0%,#fff4f4 100%)}
.jg-card--noimg .jg-card__title{min-height:96px;font-size:16px;color:#181818;
	border-left:4px solid #fa0809}
.jg-card--noimg .jg-card__link:hover{background:linear-gradient(135deg,#fff4f4 0%,#ffe3e3 100%)}

@media (max-width:440px){
	.jg-cards{grid-template-columns:1fr;gap:12px}
	.jg-card__title{padding:12px 13px;font-size:14px}
}
.akcii-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px;margin:24px 0;list-style:none;padding:0}
.akcii-card{display:flex;flex-direction:column;background:#fff;border:1px solid #eee;border-radius:16px;overflow:hidden;text-decoration:none;color:inherit;box-shadow:0 6px 20px rgba(0,0,0,.05);transition:transform .2s,box-shadow .2s}
.akcii-card:hover{transform:translateY(-6px);box-shadow:0 14px 34px rgba(0,0,0,.12)}
.akcii-card__top{position:relative;height:150px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.akcii-card__top--noimg{background:linear-gradient(135deg,#fa0809,#c70607)}
.akcii-card__top--noimg::after{content:'%';position:absolute;right:-6px;bottom:-46px;font-size:150px;font-weight:800;color:rgba(255,255,255,.14);line-height:1;pointer-events:none}
.akcii-card__img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.akcii-card:hover .akcii-card__img{transform:scale(1.06)}
.akcii-card__badge{position:absolute;top:14px;left:14px;z-index:2;background:rgba(255,255,255,.22);color:#fff;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;padding:6px 14px;border-radius:30px}
.akcii-card__body{display:flex;flex-direction:column;flex:1;padding:20px 20px 18px;gap:14px}
.akcii-card__title{font-size:17px;font-weight:700;margin:0;line-height:1.35;color:#181818}
.akcii-card__more{margin-top:auto;display:inline-flex;align-items:center;gap:8px;color:#fa0809;font-weight:600;font-size:15px}
.akcii-card__more svg{width:16px;height:16px;transition:transform .2s}
.akcii-card:hover .akcii-card__more svg{transform:translateX(4px)}
.jg-akcii-detail__media{margin:0 0 20px}
.jg-akcii-detail__media img{max-width:100%;height:auto;border-radius:8px}
.jg-akcii-back{margin-top:28px}
.jg-akcii-back a{color:#fa0809;text-decoration:none;font-weight:600}
.jg-akcii-back a:hover{text-decoration:underline}
.page-akcii .ct,.page-price .ct{margin-top:0}
.jg-price-note{margin-top:24px}
.ct--online{margin-top:50px;margin-bottom:60px;min-width:0;position:static}
.ct--online .ct__box--online{width:100%;min-height:0;margin:0;padding:0;background:none;display:block}
.ct--online .ct__text{margin-top:14px}
.ct--online .ct__bot{margin-top:24px}
.article__back{margin-top:22px}

/* ============ Формы (fc_view) ============ */
.fc-form{margin:0}
.fc-field{margin:0 0 16px;position:relative}
.fc-field__label{display:block;font-size:14px;font-weight:600;color:#181818;margin:0 0 6px}
.fc-field__required{color:#fa0809;margin-left:2px}
.fc-form .form-control,.fc-form .form-select{
	width:100%;box-sizing:border-box;display:block;
	padding:12px 14px;font-size:15px;line-height:1.3;color:#181818;
	background:#fff;border:1px solid #d9d9d9;border-radius:8px;
	transition:border-color .15s,box-shadow .15s;font-family:inherit}
.fc-form textarea.form-control{min-height:96px;resize:vertical}
.fc-form .form-control:focus,.fc-form .form-select:focus{
	outline:none;border-color:#fa0809;box-shadow:0 0 0 3px rgba(250,8,9,.15)}
.fc-form .form-control::placeholder{color:#b0b0b0}
.fc-field--error .form-control,.fc-field--error .form-select{border-color:#e23b2e;background:#fff7f6}
.fc-field__error{margin-top:5px;font-size:12.5px;color:#e23b2e;line-height:1.3}
.fc-divider{font-size:17px;font-weight:700;margin:22px 0 12px;color:#181818}

/* согласие на обработку ПД */
.fc-field--consent{margin-top:18px}
.fc-consent{display:flex;align-items:flex-start;gap:9px;cursor:pointer;font-size:13px;line-height:1.45;color:#5c5c5c}
.fc-consent__input{flex:0 0 auto;width:17px;height:17px;margin:1px 0 0;accent-color:#fa0809;cursor:pointer}
.fc-consent__text a{color:#fa0809;text-decoration:underline}
.fc-consent__text a:hover{text-decoration:none}

/* кнопка отправки (классы из шаблона: btn btn-primary / btn-cta) */
.fc-form .btn,.fc-form .btn-cta{
	display:inline-flex;align-items:center;justify-content:center;gap:8px;
	border:none;cursor:pointer;font-family:inherit;font-size:16px;font-weight:700;
	padding:14px 26px;border-radius:8px;color:#fff;background:#fa0809;
	transition:background .15s,transform .05s;text-decoration:none;line-height:1}
.fc-form .btn:hover,.fc-form .btn-cta:hover{background:#d70708}
.fc-form .btn:active,.fc-form .btn-cta:active{transform:translateY(1px)}
.fc-form .btn[disabled]{opacity:.6;cursor:default}
.fc-form .w-100{width:100%}
.fc-form .btn i,.fc-form .btn-cta i{display:none} /* fa-иконки в теме отсутствуют */

/* экран «успешно» */
.fc-success{text-align:center;padding:26px 6px}
.fc-success__icon{width:62px;height:62px;margin:0 auto 14px;border-radius:50%;
	background:#eafaef;color:#27ae60;display:flex;align-items:center;justify-content:center;font-size:34px;line-height:1}
.fc-success__icon i{display:none}
.fc-success__icon::before{content:"\2713"} /* галочка вместо fa */
.fc-success__title{font-size:21px;font-weight:700;margin:0 0 8px;color:#181818}
.fc-success__text{font-size:15px;color:#5c5c5c;margin:0}

/* ============ Модалка ============ */
.jg-modal-overlay{
	position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;
	padding:20px;background:rgba(20,12,8,.55);backdrop-filter:blur(2px);
	opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s}
.jg-modal-overlay.is-open{opacity:1;visibility:visible}
.jg-modal{
	position:relative;width:100%;max-width:420px;max-height:calc(100vh - 40px);overflow:auto;
	background:#fff;border-radius:16px;padding:30px 28px 28px;
	box-shadow:0 24px 70px rgba(0,0,0,.35);transform:translateY(16px) scale(.98);transition:transform .2s}
.jg-modal-overlay.is-open .jg-modal{transform:none}
.jg-modal__close{
	position:absolute;top:12px;right:14px;width:34px;height:34px;border:none;background:transparent;
	font-size:30px;line-height:1;color:#b0b0b0;cursor:pointer;border-radius:8px;transition:color .15s,background .15s}
.jg-modal__close:hover{color:#181818;background:#f3f3f3}
.jg-modal__head{margin:0 0 20px;padding-right:24px}
.jg-modal__title{font-size:23px;font-weight:700;margin:0 0 6px;color:#181818;line-height:1.2}
.jg-modal__sub{font-size:14px;color:#5c5c5c;margin:0;line-height:1.4}
body.jg-modal-open{overflow:hidden}

/* кнопка-триггер «Заказать звонок» — наследует стиль темы (.header__call-bot a),
   доп.класс для надёжности клика */
.jg-callback-btn{cursor:pointer}

@media (max-width:480px){
	.jg-modal{padding:26px 20px 22px}
	.jg-modal__title{font-size:20px}
}

/* ============ Блок формы на странице (/order/, /contacts/) ============ */
.jg-form-block{max-width:640px;margin:28px 0 8px;padding:26px 26px 24px;
	background:#fafafa;border:1px solid #ececec;border-radius:14px}
.jg-form-block--narrow{max-width:520px}
.jg-form-block__title{font-size:22px;font-weight:700;margin:0 0 6px;color:#181818}
.jg-form-block__sub{font-size:14px;color:#5c5c5c;margin:0 0 18px;line-height:1.45}

/* ============ Контакты (/contacts/) ============ */
/* ряд: слева реквизиты, справа форма (50/50) */
.jg-cwrap{display:flex;flex-wrap:wrap;gap:40px;align-items:stretch;margin:24px 0 10px}
.jg-ccol{flex:1 1 calc(50% - 20px);min-width:280px}
.jg-ccol--form{background:#fff;border:1px solid #ededed;border-radius:14px;padding:28px 26px;box-shadow:0 8px 26px rgba(0,0,0,.07);height:100%;box-sizing:border-box}
.jg-ccol--form .jg-form-block__title{margin-top:0;font-size:22px;font-weight:700}
/* карта на всю ширину перед футером — вплотную к контенту (убираем белую полосу) */
.cmap{width:100%;margin-top:0}
.page-contacts .body{padding-bottom:40px}
.jg-contacts__list{list-style:none;margin:0 0 16px;padding:0}
.jg-contacts__list li{display:flex;flex-direction:column;gap:2px;padding:11px 0;border-bottom:1px solid #ededed}
.jg-contacts__list li:first-child{padding-top:0}
.jg-contacts__lbl{font-size:12.5px;text-transform:uppercase;letter-spacing:.04em;color:#9a9a9a;font-weight:600}
.jg-contacts__val{font-size:16px;color:#181818;text-decoration:none}
a.jg-contacts__val:hover{color:#fa0809}
.jg-contacts__socials{display:flex;gap:10px;align-items:center}
.jg-contacts__socials img{width:30px;height:30px}
.jg-cinfo{background:#fff;border:1px solid #ededed;border-radius:14px;padding:28px 26px;box-shadow:0 8px 26px rgba(0,0,0,.07);height:100%;box-sizing:border-box}
.jg-cinfo__title{font-size:22px;font-weight:700;margin:0 0 10px;color:#181818}
.jg-cinfo__list{list-style:none;margin:0 0 22px;padding:0}
.jg-cinfo__item{display:flex;align-items:flex-start;gap:14px;padding:15px 0;border-bottom:1px solid #f1f1f1}
.jg-cinfo__item:last-child{border-bottom:none}
.jg-cinfo__ico{flex:0 0 42px;width:42px;height:42px;display:flex;align-items:center;justify-content:center;background:#fdeaea;border-radius:50%;color:#fa0809}
.jg-cinfo__ico svg{width:20px;height:20px}
.jg-cinfo__body{display:flex;flex-direction:column;gap:3px;padding-top:2px}
.jg-cinfo__lbl{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#9a9a9a;font-weight:700}
.jg-cinfo__val{font-size:16px;color:#181818;text-decoration:none;line-height:1.4}
a.jg-cinfo__val:hover{color:#fa0809}
.jg-cinfo__socials{display:flex;gap:12px;align-items:center}
.jg-cinfo__socials img{width:36px;height:36px}

@media (max-width:640px){
	.jg-form-block{padding:22px 18px 20px}
	.jg-contacts{gap:18px}
}


/* ===== Корпоративное обслуживание (/corporate/) ===== */
.jg-corp{margin-top:8px}
.jg-corp-h2{font-size:36px;font-weight:700;color:#181818;margin:0 0 26px;text-align:center}
.jg-corp section{margin-bottom:52px}
.jg-corp-hero{position:relative;border-radius:16px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a,#2e2e2e);color:#fff}
.jg-corp-hero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.65}
.jg-corp-hero__row{position:relative;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:80px 60px;min-height:420px;flex-wrap:wrap}
.jg-corp-hero__title{font-size:38px;font-weight:800;margin:0 0 16px;color:#fff;line-height:1.1}
.jg-corp-hero__sub{font-size:18px;margin:0 0 26px;color:#f0f0f0;line-height:1.5;max-width:460px}
.jg-corp-circle{flex:0 0 auto;width:180px;height:180px;border-radius:50%;background:#fa0809;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-shadow:0 12px 32px rgba(250,8,9,.45)}
.jg-corp-circle b{font-size:30px;line-height:1}
.jg-corp-circle span{font-size:15px;margin-top:6px}
.jg-corp-list{list-style:none;margin:0 0 26px;padding:0;display:grid;gap:14px}
.jg-corp-list li{position:relative;padding-left:36px;font-size:16px;line-height:1.5;color:#333}
.jg-corp-list li::before{content:'✓';position:absolute;left:0;top:1px;width:23px;height:23px;background:#fa0809;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.jg-corp-adv__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.jg-corp-adv__item{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;padding:30px 22px;background:#fff;border:1px solid #eee;border-radius:14px;box-shadow:0 6px 20px rgba(0,0,0,.05);font-size:16px;font-weight:600;color:#222;line-height:1.4}
.jg-corp-adv__ico{width:64px;height:64px;display:flex;align-items:center;justify-content:center;background:#fdeaea;border-radius:50%}
.jg-corp-adv__ico img{width:34px;height:34px;object-fit:contain}
.jg-corp-band{text-align:center;background:#f6f6f6;border-radius:16px;padding:46px 30px}
.jg-corp-band__txt{font-size:17px;color:#555;max-width:560px;margin:0 auto 26px;line-height:1.5}
.jg-corp-band--accent{background:linear-gradient(rgba(18,18,18,.5),rgba(18,18,18,.5)),url('/resources/custom/japtheme/i/corp/bg2.png') center/cover no-repeat;color:#fff;padding:100px 40px;min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.jg-corp-band--accent .jg-corp-h2{color:#fff;margin-bottom:24px;font-size:30px;font-weight:500;line-height:130%}
.jg-corp-band--accent .btn{background:#fff;color:#fa0809}
.jg-corp-works__grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.jg-corp-works__item{display:flex;align-items:center;gap:14px;padding:18px 20px;background:#fff;border:1px solid #eee;border-radius:12px;font-size:15px;font-weight:600;color:#222;line-height:1.35}
.jg-corp-works__ico{flex:0 0 80px;width:80px;height:80px;display:flex;align-items:center;justify-content:center;background:#fdeaea;border-radius:50%}
.jg-corp-works__ico img{width:44px;height:44px;object-fit:contain}
.jg-corp-brands__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.jg-corp-brand{display:flex;align-items:center;justify-content:center;padding:22px;background:#fff;border:1px solid #eee;border-radius:12px;transition:box-shadow .15s,border-color .15s}
.jg-corp-brand:hover{border-color:#fa0809;box-shadow:0 6px 18px rgba(0,0,0,.08)}
.jg-corp-brand img{max-height:54px;max-width:120px;width:auto;height:auto;object-fit:contain}
.jg-corp-req{background:#fff;border:1px solid #eee;border-radius:16px;padding:34px 32px;box-shadow:0 6px 20px rgba(0,0,0,.05)}
.jg-corp-req__list{list-style:none;margin:0;padding:0}
.jg-corp-req__item{display:flex;gap:18px;padding:13px 0;border-bottom:1px solid #f0f0f0;flex-wrap:wrap}
.jg-corp-req__item:last-child{border-bottom:none}
.jg-corp-req__lbl{flex:0 0 250px;color:#9a9a9a;font-weight:600;font-size:14px}
.jg-corp-req__val{flex:1 1 280px;color:#181818;font-size:15px;font-weight:600}
.jg-corp-nums{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.jg-corp-num{text-align:center;padding:28px 18px;background:#fff;border:1px solid #eee;border-radius:14px}
.jg-corp-num b{display:block;font-size:56px;color:#fa0809;line-height:1}
.jg-corp-num span{display:block;margin-top:10px;font-size:15px;color:#555;line-height:1.35}
@media(max-width:900px){.jg-corp-adv__grid,.jg-corp-works__grid,.jg-corp-brands__grid,.jg-corp-nums{grid-template-columns:repeat(2,1fr)}.jg-corp-hero__title{font-size:30px}.jg-corp-h2{font-size:24px}}
@media(max-width:560px){.jg-corp-adv__grid,.jg-corp-works__grid,.jg-corp-brands__grid{grid-template-columns:1fr}.jg-corp-hero__row{padding:32px 24px}.jg-corp-circle{width:150px;height:150px}.jg-corp-req__lbl{flex-basis:100%}}
.jg-corp-map{margin-top:44px}
.jg-corp-band--photo{background:linear-gradient(rgba(18,18,18,.55),rgba(18,18,18,.55)),url('/resources/custom/japtheme/i/corp/bg1.png') center/cover no-repeat;color:#fff;padding:70px 40px}
.jg-corp-band--photo .jg-corp-h2{color:#fff;font-size:36px}
.jg-corp-band--photo .jg-corp-band__txt{color:#f1f1f1}
.jg-corp-prog{display:flex;align-items:center;gap:46px;flex-wrap:wrap;margin-bottom:80px}
.jg-corp-prog__ico{flex:0 0 30%;display:flex;justify-content:center}
.jg-corp-prog__ico img{max-width:100%;height:auto}
.jg-corp-prog__body{flex:1 1 55%;min-width:280px}
@media(max-width:700px){.jg-corp-prog__ico{flex-basis:100%}}
/* ===== /about/ ===== */
.jg-about-hero{background:linear-gradient(135deg,#fa0809,#c70607);color:#fff;border-radius:16px;padding:46px 44px;margin:8px 0 38px;box-shadow:0 12px 30px rgba(250,8,9,.25)}
.jg-about-hero .jg-page__title{color:#fff;margin:0 0 18px;font-size:30px;line-height:1.25}
.jg-about-lead{font-size:18px;line-height:1.55;color:#fff;margin:0;max-width:800px}
.jg-about .textb h2{font-size:26px;margin:32px 0 16px}
.jg-about .textb h3{font-size:21px;margin:28px 0 14px}
.jg-about .textb ul{list-style:none;padding:0;margin:18px 0;display:grid;gap:11px}
.jg-about .textb ul li{position:relative;padding-left:32px;line-height:1.5;color:#333}
.jg-about .textb ul li::before{content:'✓';position:absolute;left:0;top:3px;width:21px;height:21px;background:#fa0809;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}
@media(max-width:560px){.jg-about-hero{padding:32px 24px}.jg-about-hero .jg-page__title{font-size:24px}.jg-about-lead{font-size:16px}}
.jg-about-cols{display:grid;grid-template-columns:60% 40%;gap:40px;align-items:start;margin-top:8px}
.jg-about-col h2,.jg-about-col h3{margin-top:0}
.jg-about-col--cert h3{display:none}
.jg-about-col--cert img{display:block;max-width:180px;height:auto;margin:16px 0 0;border:1px solid #ededed;border-radius:8px;cursor:pointer;transition:transform .15s,box-shadow .15s}
.jg-about-cert:hover img{transform:translateY(-4px);box-shadow:0 10px 24px rgba(0,0,0,.16);border-color:#fa0809}
@media(max-width:760px){.jg-about-cols{grid-template-columns:1fr;gap:24px}}
/* ===== /reviews/ — отзывы (список .coml + форма .comwr, стили базово в japtheme) ===== */
.jg-reviews .coml{margin-top:24px}
.jg-reviews .comwr{margin-top:48px;max-width:856px}
.jg-reviews .comwr__subtitle{margin-bottom:6px}
.jg-reviews .comwr .fc-field{margin-top:22px}
.jg-reviews .comwr .fc-field--consent{margin-top:24px}
.jg-reviews .comwr__rating .ec-rating-stars span{font-size:18px;line-height:18px}
.jg-reviews .comwr__bt{margin-top:32px}

/* ===== 404 / 403 — страница не найдена ===== */
.jg-404{padding:48px 0 72px}
.jg-404__inner{max-width:760px;margin:0 auto;text-align:center}
.jg-404__code{
	font-weight:800;line-height:.9;letter-spacing:-.02em;
	font-size:clamp(120px,22vw,240px);
	background:linear-gradient(180deg,#fa0809 0%,#c70607 100%);
	-webkit-background-clip:text;background-clip:text;
	-webkit-text-fill-color:transparent;color:#fa0809;
	text-shadow:0 14px 30px rgba(250,8,9,.12);
}
.jg-404__title{margin:8px 0 0;font-size:clamp(24px,4vw,34px);font-weight:700;color:#101010}
.jg-404__text{margin:16px auto 0;max-width:520px;font-size:16px;line-height:1.6;color:#5c5c5c}
.jg-404__actions{margin-top:32px}
.jg-404__home{display:inline-flex;align-items:center;gap:10px}
.jg-404__home i{font-size:14px}
.jg-404__links{margin-top:34px;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 18px}
.jg-404__links-lbl{width:100%;font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:#9a9a9a;margin-bottom:2px}
.jg-404__links a{font-size:15px;font-weight:600;color:#101010;border-bottom:1px solid transparent;transition:color .15s,border-color .15s}
.jg-404__links a:hover{color:#fa0809;border-color:#fa0809}
.jg-404__call{margin-top:36px;padding-top:24px;border-top:1px solid #eee;font-size:15px;color:#5c5c5c}
.jg-404__call .zphone{font-weight:700;color:#fa0809;white-space:nowrap}
@media (max-width:600px){
	.jg-404{padding:32px 0 48px}
	.jg-404__links{gap:8px 14px}
}

/* сообщение об ошибке кастомного обработчика отзыва */
.jg-reviews .fc-form-msg--error{margin-top:18px;padding:14px 16px;border-radius:8px;background:#fdeaea;border:1px solid #f5b5b5;color:#c70607;font-size:15px}

/* акции: отступ под заголовком на детальной странице */
.jg-akcii-detail__title{margin-bottom:26px}

/* /about/ — реквизиты и цифры с /corporate/: отступ сверху после текста */
.jg-about-extra{margin-top:40px}

/* /order/ — онлайн-запись: форма шире, карточка контактов уже (как на проде) */
.jg-order .jg-ccol--form{flex:1 1 calc(62% - 20px)}
.jg-order .jg-ccol--info{flex:1 1 calc(38% - 20px)}
.jg-order .jg-ccol--form .fc-field--consent{margin-top:18px}
@media (max-width:860px){
	.jg-order .jg-ccol--form,.jg-order .jg-ccol--info{flex:1 1 100%}
}

/* /order/ — поля формы в 2 колонки (как на проде): Имя|Телефон, Email|Фото; Сообщение и низ — на всю ширину */
.jg-order .fc-form{display:grid;grid-template-columns:1fr 1fr;column-gap:20px;align-items:start}
.jg-order .fc-form>input[type=hidden]{display:none}
.jg-order .fc-form .fc-field{margin:0 0 16px}
.jg-order .fc-form .fc-field:has(textarea){grid-column:1 / -1}
.jg-order .fc-form .fc-field--consent{grid-column:1 / -1}
.jg-order .fc-form>button,.jg-order .fc-form .btn-cta{grid-column:1 / -1}
@media (max-width:520px){
	.jg-order .fc-form{grid-template-columns:1fr}
	.jg-order .fc-form .fc-field{grid-column:1 / -1}
}

/* /order/ — кнопка «Записаться» слева + согласие справа от неё */
.jg-order .fc-form .fc-form__bot{grid-column:1 / -1;display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:4px}
.jg-order .fc-form__bot>.btn-cta{width:auto;flex:0 0 auto;margin:0}
.jg-order .fc-form__bot .fc-field--consent{flex:1 1 240px;margin:0}
@media (max-width:520px){.jg-order .fc-form__bot>.btn-cta{width:100%}}

/* /order/ — выравнивание полей по уровню + аккуратное оформление формы */
.jg-order .fc-form{column-gap:24px}
.jg-order .fc-form .fc-field{margin:0 0 18px}
.jg-order .fc-field__label{min-height:20px;display:flex;align-items:flex-end;color:#3a3a3a}
.jg-order .fc-form .form-control{padding:13px 15px;border-radius:10px;background:#fafafa}
.jg-order .fc-form .form-control:focus{background:#fff}
.jg-order .fc-form textarea.form-control{min-height:120px}
/* поле прикрепления фото — фирменная кнопка + пунктирная зона */
.jg-order .fc-form input[type=file]{width:100%;box-sizing:border-box;padding:10px 14px;font-size:14px;color:#7a7a7a;background:#fafafa;border:1px dashed #cfcfcf;border-radius:10px;cursor:pointer;transition:border-color .15s,background .15s;line-height:1.5}
.jg-order .fc-form input[type=file]:hover{border-color:#fa0809;background:#fff6f6}
.jg-order .fc-form input[type=file]::file-selector-button{margin-right:12px;padding:9px 16px;border:none;border-radius:8px;background:#fa0809;color:#fff;font-weight:600;font-size:13px;cursor:pointer;font-family:inherit;transition:background .15s}
.jg-order .fc-form input[type=file]:hover::file-selector-button{background:#d70708}
.jg-order .fc-form__bot{margin-top:10px;padding-top:18px}

/* /order/ — кнопка «Записаться» и согласие по центру по вертикали */
.jg-order .fc-form__bot{align-items:center}
.jg-order .fc-form__bot .fc-field--consent{display:flex;align-items:center;min-height:100%}
.jg-order .fc-form__bot .fc-consent{align-items:center}

/* /order/ — кнопка «Записаться» и согласие в одну строку, текст по центру относительно кнопки */
.jg-order .fc-form__bot{flex-wrap:nowrap;align-items:center;gap:18px}
.jg-order .fc-form__bot>.btn-cta{flex:0 0 auto;align-self:center}
.jg-order .fc-form__bot .fc-field--consent{flex:1 1 auto;min-width:0;display:flex;align-items:center;margin:0}
.jg-order .fc-form__bot .fc-consent{align-items:center}
@media (max-width:520px){
	.jg-order .fc-form__bot{flex-wrap:wrap}
	.jg-order .fc-form__bot>.btn-cta{width:100%}
	.jg-order .fc-form__bot .fc-field--consent{flex:1 1 100%}
}

/* /order/ — убрать нижний отступ 18px у полей */
.jg-order .fc-form .fc-field{margin-bottom:0}

/* /order/ — финальная раскладка низа формы: кнопка слева + согласие справа в одну строку, по центру */
.jg-order .fc-form__bot{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:18px;margin-top:10px;padding-top:18px}
.jg-order .fc-form__bot>.btn-cta{flex:0 0 auto;width:auto;align-self:center;margin:0}
.jg-order .fc-form__bot .fc-field--consent{flex:1 1 auto;min-width:0;min-height:0;display:flex;align-items:center;margin:0}
.jg-order .fc-form__bot .fc-consent{align-items:center;margin:0}
@media (max-width:560px){
	.jg-order .fc-form__bot{flex-wrap:wrap}
	.jg-order .fc-form__bot>.btn-cta{width:100%}
	.jg-order .fc-form__bot .fc-field--consent{flex:1 1 100%}
}

/* /order/ — ФИКС специфичности: nowrap тем же 3-классовым селектором, что и базовое правило */
.jg-order .fc-form .fc-form__bot{flex-wrap:nowrap;flex-direction:row;align-items:center;justify-content:flex-start}
@media (max-width:560px){
	.jg-order .fc-form .fc-form__bot{flex-wrap:wrap}
}

/* /order/ — чекбокс согласия по верху (первой строки), не по центру */
.jg-order .fc-form__bot .fc-consent{align-items:flex-start}

/* /order/ — форма + контакты ВПЛОТНУЮ в одной карточке; блок контактов на красном (как прод japgarage.ru/order/) */
.jg-cwrap.jg-order{gap:0;align-items:stretch;background:#fff;border:1px solid #ededed;border-radius:14px;box-shadow:0 8px 26px rgba(0,0,0,.07);overflow:hidden}
.jg-order .jg-ccol--form{flex:1 1 auto;background:transparent;border:none;border-radius:0;box-shadow:none;padding:36px 38px}
.jg-order .jg-ccol--info{flex:0 0 340px;min-width:0;padding:0;display:flex}
/* правый блок — красный фон, белый текст */
.jg-order .jg-ccol--info .jg-cinfo{background:#fa0809;border:none;border-radius:0;box-shadow:none;color:#fff;width:100%;padding:40px 32px 40px 40px}
.jg-order .jg-ccol--info .jg-cinfo__title{color:#fff}
.jg-order .jg-ccol--info .jg-cinfo__item{border-bottom-color:rgba(255,255,255,.20)}
.jg-order .jg-ccol--info .jg-cinfo__ico{background:rgba(255,255,255,.16);color:#fff}
.jg-order .jg-ccol--info .jg-cinfo__lbl{color:rgba(255,255,255,.75)}
.jg-order .jg-ccol--info .jg-cinfo__val,.jg-order .jg-ccol--info a.jg-cinfo__val{color:#fff}
.jg-order .jg-ccol--info a.jg-cinfo__val:hover{color:#fff;text-decoration:underline}
.jg-order .jg-ccol--info .jg-cinfo__socials img{background:#fff;border-radius:8px;padding:4px;box-sizing:content-box}
@media (max-width:760px){
	.jg-cwrap.jg-order{flex-direction:column}
	.jg-order .jg-ccol--form,.jg-order .jg-ccol--info{flex:1 1 auto}
}

/* /order/ — ФИКС: не давать колонкам переноситься (форма с min-width:0 сжимается, красный блок остаётся справа) */
.jg-cwrap.jg-order{flex-wrap:nowrap}
.jg-order .jg-ccol--form{flex:1 1 0%;min-width:0}
.jg-order .jg-ccol--info{flex:0 0 320px;min-width:0}
@media (max-width:760px){
	.jg-cwrap.jg-order{flex-wrap:wrap}
	.jg-order .jg-ccol--form,.jg-order .jg-ccol--info{flex:1 1 100%}
}

/* /order/ — правый блок контактов пошире */
.jg-order .jg-ccol--info{flex:0 0 400px}

/* /order/ — на мобиле правый блок снова на всю ширину (после расширения до 400px) */
@media (max-width:760px){
	.jg-order .jg-ccol--info{flex:1 1 100%}
}

/* /order/ — соцсети в красном блоке: тема .ms a{width:17px}+img{width:100%} ужимала и тянула по вертикали — перекрываем */
.jg-order .jg-ccol--info .jg-cinfo__socials{gap:10px}
.jg-order .jg-ccol--info .jg-cinfo__socials a{width:auto;margin:0;display:inline-flex}
.jg-order .jg-ccol--info .jg-cinfo__socials a img{width:24px;height:24px;background:#fff;border-radius:7px;padding:5px;box-sizing:content-box;display:block}

/* /order/ — правый красный блок ещё шире */
.jg-order .jg-ccol--info{flex:0 0 460px}
@media (max-width:760px){ .jg-order .jg-ccol--info{flex:1 1 100%} }

/* моб-меню: убрать паразитный отступ у пункта «Марки авто» (коллизия с темовым .brands{margin:25px 0 0} плитки марок на главной) */
.mm__list ul li.brands{margin:0}

/* /contacts/ — соцсети крупнее (перекрываем темовый .ms a{width:17px}+img{width:100%}) */
.page-contacts .jg-cinfo__socials{gap:12px}
.page-contacts .jg-cinfo__socials a{width:auto;margin:0;display:inline-flex}
.page-contacts .jg-cinfo__socials a img{width:42px;height:42px;display:block}

/* ===== Hero-шапка внутренней услуги (sd1) ===== */
.jg-shero{position:relative;border-radius:14px;overflow:hidden;background-size:cover;background-position:center;min-height:550px;display:flex;align-items:center;margin-bottom:28px}
.jg-shero__overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,18,20,.82) 0%,rgba(18,18,20,.5) 46%,rgba(18,18,20,0) 72%)}
.jg-shero__row{position:relative;z-index:2;display:flex;align-items:flex-end;justify-content:space-between;gap:30px;width:100%;padding:46px 56px;box-sizing:border-box}
.jg-shero__inner{max-width:620px;color:#fff}
.jg-shero__title{font-size:38px;line-height:1.18;font-weight:700;color:#fff;margin:0 0 20px}
.jg-shero__subtitle{font-size:19px;line-height:1.4;margin:0 0 30px;max-width:430px;color:#f1f1f1}
.jg-shero__btn{display:inline-block;background:#fa0809;color:#fff;font-size:17px;font-weight:600;padding:13px 52px;border-radius:30px;transition:background .2s;text-decoration:none}
.jg-shero__btn:hover{background:#c70607;color:#fff}
.jg-shero__discounts{list-style:none;margin:26px 0 0;padding:0}
.jg-shero__discounts li{font-size:20px;color:#fff;margin-bottom:7px}
.jg-shero__discounts li span{color:#fa0809;font-weight:700}
.jg-shero__badge{flex:0 0 190px;width:190px;height:190px;border-radius:50%;background:#fa0809;color:#fff;opacity:.8;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-shadow:0 10px 30px rgba(250,8,9,.35)}
.jg-shero__badge-pct{font-size:38px;font-weight:700;line-height:1}
.jg-shero__badge-pct i{font-size:18px;font-weight:400;font-style:normal}
.jg-shero__badge-txt{font-size:17px;margin-top:8px;line-height:1.2}
@media(max-width:1100px){.jg-shero__badge{flex-basis:160px;width:160px;height:160px}.jg-shero__badge-pct{font-size:32px}.jg-shero__badge-txt{font-size:15px}}
@media(max-width:768px){.jg-shero{min-height:360px}.jg-shero__overlay{background:linear-gradient(90deg,rgba(18,18,20,.85) 0%,rgba(18,18,20,.6) 100%)}.jg-shero__row{padding:32px 26px}.jg-shero__inner{max-width:100%}.jg-shero__title{font-size:27px}.jg-shero__subtitle{font-size:16px;margin-bottom:24px}.jg-shero__btn{padding:14px 32px;font-size:16px}.jg-shero__badge{display:none}}
@media(max-width:480px){.jg-shero__title{font-size:23px}.jg-shero__discounts li{font-size:15px}}

/* ===== Контент внутренней услуги: 2 колонки (текст+фото) + раскрывашка (rt1-rt3) ===== */
.jg-srv-content{margin-top:6px}
.jg-srv-content__row{display:flex;gap:42px;align-items:flex-start;margin-bottom:50px}
.jg-srv-content__text{flex:1 1 auto;min-width:0}
.jg-srv-content__text .textb{margin:0}
.jg-srv-content__photo{flex:0 0 46%;max-width:500px}
.jg-srv-content__photo img{width:100%;height:auto;border-radius:10px;display:block}
.jg-srv-content__full{display:none;margin-top:6px}
.jg-srv-content.is-open .jg-srv-content__full{display:block}
/* раскрывашка блока «Основной текст» марки: кламп по высоте + фейд, тоггл вне клампа */
.jg-srv-content--readmore .jg-srv-content__row{position:relative;max-height:300px;overflow:hidden;margin-bottom:0;transition:max-height .35s ease}
.jg-srv-content--readmore.is-open .jg-srv-content__row{max-height:6000px}
.jg-srv-content--readmore:not(.is-open) .jg-srv-content__row::after{content:'';position:absolute;left:0;right:0;bottom:0;height:96px;background:linear-gradient(rgba(255,255,255,0),#fff);pointer-events:none}
.jg-srv-content--readmore .jg-srv-toggle{margin-top:18px}

.jg-srv-content__full h2{text-align:center;font-family:'Lato',sans-serif;font-weight:600;font-size:32px;line-height:1.25;margin:40px 0 22px;color:#222}
.jg-srv-content__full h3{text-align:center;font-family:'Lato',sans-serif;font-weight:600}
.jg-srv-content__full .jg-srv-price-table{margin-top:26px}
.jg-srv-toggle{display:inline-flex;align-items:center;gap:9px;margin-top:24px;color:#fa0809;font-weight:600;font-size:18px;text-decoration:none;cursor:pointer}
.jg-srv-toggle span{text-decoration:underline}
.jg-srv-toggle:hover{color:#c70607}
.jg-srv-toggle svg{flex:0 0 auto}
.jg-srv-less{display:none}
.jg-srv-content.is-open .jg-srv-more{display:none}
.jg-srv-content.is-open .jg-srv-less{display:inline-flex}
@media(max-width:768px){.jg-srv-content__row{flex-direction:column;gap:22px}.jg-srv-content__photo{flex-basis:auto;max-width:100%;width:100%}.jg-srv-content__full h2{font-size:25px;margin-top:30px}}

/* ===== Заголовок «Стоимость услуг» перед таблицей цен (de1) ===== */
.jg-srv-price-head{text-align:center;margin:44px 0 26px}
.jg-srv-price-head h2{font-family:'Lato',sans-serif;font-weight:600;font-size:36px;line-height:1.25;margin:0 0 16px;color:#222}
.jg-srv-price-head p{max-width:680px;margin:0 auto;color:#555;font-size:17px;line-height:1.5}
@media(max-width:768px){.jg-srv-price-head{margin-top:32px}.jg-srv-price-head h2{font-size:25px}.jg-srv-price-head p{font-size:15px}}

/* sinfo нижний отступ */
.sinfo{margin-bottom:60px}

/* ===== Карточки подразделов услуги (de2) + отступ после раскрывашки ===== */
.jg-srv-content{margin-bottom:60px}
.jg-srv-works-head{text-align:center;margin:0 0 26px}
.jg-srv-works-head h2{font-family:'Lato',sans-serif;font-weight:600;font-size:36px;line-height:1.25;margin:0;color:#222}
.jg-works{list-style:none;margin:0 0 50px;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.jg-works__link{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border-radius:12px;box-shadow:0 6px 22px rgba(0,0,0,.06);padding:22px 26px;min-height:104px;color:#222;text-decoration:none;transition:box-shadow .2s,transform .2s}
.jg-works__link:hover{box-shadow:0 10px 30px rgba(0,0,0,.12);transform:translateY(-2px);color:#222}
.jg-works__title{font-size:17px;line-height:1.3;font-weight:400}
.jg-works__ico{flex:0 0 auto;width:56px;height:56px;display:flex;align-items:center;justify-content:center}
.jg-works__ico img{max-width:100%;max-height:100%;display:block}
@media(max-width:980px){.jg-works{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.jg-works{grid-template-columns:1fr}.jg-srv-works-head h2{font-size:25px}}

/* ===== Форма «Запишитесь на услугу онлайн» (w1) ===== */
.jg-online{position:relative;display:flex;gap:48px;align-items:center;background:#fff;border-radius:8px;box-shadow:0 8px 30px rgba(0,0,0,.07);padding:44px 48px 44px 54px;margin:75px 0 50px;overflow:hidden}
.jg-online::before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:#fa0809}
.jg-online__left{flex:0 0 34%;max-width:340px}
.jg-online__title{font-size:34px;line-height:1.15;font-weight:700;margin:0 0 18px;color:#1a1a1a}
.jg-online__title span{color:#fa0809}
.jg-online__sub{font-size:16px;line-height:1.5;color:#5c5c5c;margin:0}
.jg-online__right{flex:1 1 auto;min-width:0}
.jg-of__grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.jg-online .jg-of__input,.jg-online .jg-of__select{width:100%;box-sizing:border-box;height:50px;border:1px solid #e3e3e3;border-radius:10px;background:#fafafa;padding:0 20px;font-size:16px;color:#222;transition:border-color .15s,background .15s;outline:none}
.jg-of__input::placeholder{color:#9a9a9a}
.jg-of__input:focus,.jg-of__select:focus{border-color:#fa0809;background:#fff}
.jg-online .jg-of__select{appearance:none;-webkit-appearance:none;color:#9a9a9a;cursor:pointer;background-color:#fafafa;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 18px center;padding-right:44px}
.jg-of__select:valid{color:#222}
.jg-of__cell--error .jg-of__input,.jg-of__cell--error .jg-of__select{border-color:#fa0809}
.jg-of__bottom{margin-top:22px;display:flex;flex-direction:column;align-items:center;gap:14px}
.jg-of__btn{background:#fa0809;color:#fff;border:none;font-size:17px;font-weight:600;padding:13px 65px;border-radius:32px;cursor:pointer;transition:background .2s}
.jg-of__btn:hover{background:#c70607}
.jg-of__consent{font-size:12px;color:#8a8a8a;display:flex;align-items:flex-start;gap:7px;max-width:460px;text-align:left;line-height:1.4}
.jg-of__consent a{color:#fa0809}
.jg-of__err{color:#fa0809;font-size:13px;margin-top:10px;text-align:center}
@media(max-width:900px){.jg-online{flex-direction:column;gap:26px;align-items:stretch;padding:32px 26px 32px 30px}.jg-online__left{flex-basis:auto;max-width:100%}.jg-online__title{font-size:27px}}
@media(max-width:560px){.jg-of__grid{grid-template-columns:1fr}.jg-online .jg-of__input,.jg-online .jg-of__select{height:52px}.jg-of__btn{width:100%}}

/* ===== Страница /brands/ — сетка марок ===== */
.jg-brandsp-page{max-width:none;width:100%}
.jg-brandsp-sub{font-size:17px;line-height:1.5;color:#5c5c5c;max-width:680px;margin:0 0 34px}
.jg-brandsp{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;width:100%}
.jg-brandsp__card{display:flex;flex-direction:column;align-items:center;text-align:center;background:#fff;border:1px solid #ececec;border-radius:16px;padding:30px 22px 26px;text-decoration:none;color:#1a1a1a;transition:box-shadow .2s,transform .2s,border-color .2s}
.jg-brandsp__card:hover{box-shadow:0 14px 34px rgba(0,0,0,.12);transform:translateY(-4px);border-color:#fff;color:#1a1a1a}
.jg-brandsp__logo{display:flex;align-items:center;justify-content:center;height:84px;margin-bottom:16px}
.jg-brandsp__logo img{max-height:84px;max-width:150px;width:auto;height:auto;object-fit:contain;filter:grayscale(.15)}
.jg-brandsp__card:hover .jg-brandsp__logo img{filter:none}
.jg-brandsp__name{font-size:21px;font-weight:700;line-height:1.2}
.jg-brandsp__cnt{font-size:14px;color:#8a8a8a;margin-top:6px}
.jg-brandsp__go{margin-top:16px;font-size:14px;font-weight:600;color:#fa0809;display:inline-flex;align-items:center;gap:7px}
.jg-brandsp__go i{font-style:normal;transition:transform .2s}
.jg-brandsp__card:hover .jg-brandsp__go i{transform:translateX(4px)}
@media(max-width:1000px){.jg-brandsp{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){.jg-brandsp{grid-template-columns:repeat(2,1fr);gap:14px}.jg-brandsp__card{padding:24px 14px 20px}.jg-brandsp__name{font-size:18px}}
@media(max-width:400px){.jg-brandsp{grid-template-columns:1fr}}

/* 0611: центрирование заголовка блока марок на внутренних услугах */
.jg-srv-brands{margin-top:75px;text-align:center}
.jg-srv-brands h2{font-family:'Lato',sans-serif;font-weight:600;font-size:36px;line-height:1.25;margin:0 0 26px;color:#222}
@media(max-width:560px){.jg-srv-brands h2{font-size:25px}}

/* Мобильное сворачивание левого меню (услуги/марки) — свёрнуто по умолчанию */
@media (max-width:900px){
	.jg-srv-nav__title{cursor:pointer;position:relative;padding-right:48px}
	.jg-srv-nav__title::after{content:"";position:absolute;right:18px;top:50%;width:9px;height:9px;border-right:2px solid #fff;border-bottom:2px solid #fff;transform:translateY(-65%) rotate(45deg);transition:transform .2s}
	.jg-srv-nav.is-open .jg-srv-nav__title::after{transform:translateY(-30%) rotate(-135deg)}
	.jg-srv-nav .jg-srv-menu{display:none}
	.jg-srv-nav.is-open .jg-srv-menu{display:block}
}

/* цифры на главной после блока марок */
.jg-home-nums{margin-top:48px}
@media(max-width:1000px){.jg-home-nums{margin-top:32px}}

/* Перечень ремонтных работ — оформление блока на главной */
.about.jg-home-about{padding:60px 0;background:#fafafa}
.jg-home-about__title{font-size:clamp(23px,2.6vw,31px);line-height:1.28;font-weight:800;color:#1b1b1b;margin:0 0 28px;padding-bottom:18px;position:relative}
.jg-home-about__title::after{content:'';position:absolute;left:0;bottom:0;width:62px;height:4px;background:#fa0809;border-radius:2px}
.jg-home-about .textb{font-size:16px;line-height:1.7;color:#3a3a3a}
.jg-home-about .textb p{margin:0 0 16px}
.jg-home-about .textb a{color:#fa0809;text-decoration:underline}
.jg-home-about .textb h3{font-size:22px;font-weight:800;color:#1b1b1b;margin:34px 0 16px;padding-left:16px;border-left:4px solid #fa0809;line-height:1.3}
.jg-home-about .textb h2{margin-top:52px}
.jg-home-about .textb ul{list-style:none;padding:0;margin:22px 0;display:grid;grid-template-columns:repeat(2,1fr);gap:12px 22px}
.jg-home-about .textb ul li{position:relative;padding:14px 16px 14px 50px;background:#fff;border:1px solid #ececec;border-radius:12px;line-height:1.45;color:#2a2a2a;box-shadow:0 2px 10px rgba(0,0,0,.03);transition:box-shadow .2s,border-color .2s}
.jg-home-about .textb ul li:hover{border-color:#fa0809;box-shadow:0 6px 18px rgba(250,8,9,.10)}
.jg-home-about .textb ul li::before{content:'✓';position:absolute;left:15px;top:50%;transform:translateY(-50%);width:23px;height:23px;background:#fa0809;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}
@media(max-width:768px){.about.jg-home-about{padding:42px 0}.jg-home-about .textb ul{grid-template-columns:1fr;gap:11px}}
.jg-home-about .textb ul li::after{display:none}

.jg-price-acc .accordion-title{cursor:pointer}

/* services slider mobile fix: prevent image blow-up if slick mis-inits */
.services_slider{overflow:hidden}
/* swiper не должен раздуваться шире колонки */
.services_slider .swiper,.services_slider .swiper-wrapper{min-width:0}
.services_slider .services__item-img{display:block;height:200px;overflow:hidden;border-radius:5px}
.services_slider .services__item-img img{display:block;width:100%;height:100%;object-fit:cover}

/* services slider — Swiper pagination */
.services-swiper{padding-bottom:0}
/* services slider — уже по ширине + стрелки в боковых гаттерах, не налезают на слайды (0617c) */
.services_slider{max-width:1000px;margin:25px auto;padding:25px 72px;}
.services_slider .services__arr_l{left:0;margin-left:14px;}
.services_slider .services__arr_r{right:0;margin-right:14px;}
@media (max-width:768px){
	.services_slider{max-width:none;padding:20px 24px;}
	.services_slider .services__arr_l{margin-left:6px;}
	.services_slider .services__arr_r{margin-right:6px;}
}

/* ===== mm-fix: прокрутка мобильного меню на iOS/Safari (100vh + absolute) — 2026-06-18 ===== */
@media screen and (max-width:767px){
	.mm{position:fixed;height:100vh;height:100dvh}
	.mm__content{height:calc(100vh - 60px);height:calc(100dvh - 60px);-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
}
@media screen and (max-width:767px){
	/* off-screen панели drilldown не должны переполнять .mm__content по вертикали (преждевременный скролл на 1 уровне) */
	.mm__list ul.hide,.mm__list ul.hide2{max-height:0;overflow:hidden}
}
@media screen and (max-width:767px){
	/* увеличенная зона тапа по стрелке раскрытия подменю (Услуги): абсолютный оверлей на правую часть строки на всю высоту; визуально стрелка на месте */
	.mm__list ul li.serv i.ic-a{position:absolute;right:0;top:0;bottom:0;width:72px;height:auto;padding:0;z-index:2}
}
@media(max-width:560px){
	/* блок цифр на мобиле по 2 в ряд — уменьшенный шрифт */
	.jg-corp-num{padding:20px 12px}
	.jg-corp-num b{font-size:38px}
	.jg-corp-num span{font-size:13px}
}
/* reviews: звёзды-оценка не должны переноситься (floated span в flex сжимался) — 2026-06-18 */
.jg-reviews .comwr__rating .ec-rating-stars{flex:0 0 auto;width:100px;min-width:100px}
@media(max-width:768px){
	.jg-reviews .comwr__rating{flex-wrap:wrap}
	.jg-reviews .ec-rating{flex-wrap:wrap}
	.jg-reviews .ec-rating-description{flex-basis:100%;margin:6px 0 0 20px}
}
@media(max-width:768px){
	/* reviews: звёзды и подпись без левого отступа на мобиле */
	.jg-reviews .comwr__rating .ec-rating-stars{margin-left:0}
	.jg-reviews .ec-rating-description{margin-left:0}
}
/* подпись-подсказка размера файла в формах (Максимум N МБ) — мельче и приглушённее */
.form-text.small{font-size:12px;line-height:1.3;color:#999;margin-top:5px}
@media(max-width:768px){
	/* иконки блока работ мельче на мобиле */
	.jg-works__ico{width:40px;height:40px}
	.jg-works__title{font-size:16px}
	.jg-works__link{min-height:80px}
}
/* активный пункт верхнего меню (header__menu) — подсветка текущей страницы */
.header__menu li.active a{color:#fa0809}
/* активные пункты нижней панели (header__bot): Услуги/Цены + бренды */
.header__serv li.active a,.header__cat li.active a{color:#fa0809}
/* /corporate/ блок работ выведен catsections — пункты-ссылки на разделы услуг, иконка = фото категории */
.jg-corp-works__item{padding:0;overflow:hidden;transition:box-shadow .2s,border-color .2s}
.jg-corp-works__item:hover{border-color:#fa0809;box-shadow:0 6px 18px rgba(250,8,9,.10)}
.jg-corp-works__a{display:flex;align-items:center;gap:14px;padding:18px 20px;width:100%;color:#222;text-decoration:none;font-size:15px;font-weight:600;line-height:1.35}
.jg-corp-works__a:hover{color:#222}
.jg-corp-works__item .jg-corp-works__ico img{width:100%;height:100%;object-fit:cover;border-radius:50%}
/* /corporate/ марки: логотип + название в столбик */
.jg-corp-brand{flex-direction:column;gap:12px;text-decoration:none}
.jg-corp-brand__name{font-size:15px;font-weight:600;color:#222;text-align:center}
.jg-corp-brand:hover .jg-corp-brand__name{color:#fa0809}
/* /reviews/ — двухколоночная раскладка: список слева (поуже), sticky-форма справа (пошире) */
.jg-reviews__layout{display:flex;align-items:flex-start;gap:40px;margin-top:24px}
.jg-reviews__col-list{flex:1 1 auto;min-width:0}
.jg-reviews__col-list .coml{margin-top:0}
.jg-reviews__col-form{flex:0 0 480px;position:relative}
.jg-reviews__col-form .comwr{margin-top:0;max-width:none;background:#fff;border:1px solid #ececec;border-radius:14px;padding:26px 28px;box-shadow:0 6px 22px rgba(0,0,0,.05)}
@media(max-width:1000px){
	.jg-reviews__col-form{flex-basis:400px}
}
@media(max-width:900px){
	.jg-reviews__layout{flex-direction:column;gap:32px}
	.jg-reviews__col-form{flex:1 1 auto;width:100%;position:static}
}
/* overflow:clip вместо hidden у viewport-wrapper — клиппит фон .body:before, но НЕ создаёт скролл-контейнер, поэтому sticky (левое меню, формы) работает на всех страницах */
body .viewport-wrapper{overflow:clip}
/* /reviews/ — первый отзыв на одном уровне с верхом формы (убрать margin-top у первой карточки) */
.jg-reviews__col-list .coml__item:first-child{margin-top:0}
/* ===== /dogovor-ofertyi/ — документный вид в стиле сайта ===== */
.page-doc .jg-page{max-width:940px;margin:0 auto}
.page-doc .jg-page__title{font-size:clamp(22px,2.6vw,32px);line-height:1.3;margin-bottom:18px}
.page-doc .jg-page__text{background:#fff;border:1px solid #ececec;border-radius:16px;padding:44px 48px;box-shadow:0 6px 26px rgba(0,0,0,.05);font-size:15px;line-height:1.75;color:#3a3a3a}
.page-doc .jg-page__text p{margin:0 0 14px}
/* заголовки разделов = одиночные <p><strong> */
.page-doc .jg-page__text p:has(> strong){margin:38px 0 16px;padding-left:16px;border-left:3px solid #fa0809;font-size:18px;line-height:1.35;color:#1b1b1b}
.page-doc .jg-page__text p:has(> strong) strong{font-weight:700}
.page-doc .jg-page__text p:first-child{margin-top:0}
/* списки с фирменными маркерами */
.page-doc .jg-page__text ul{margin:6px 0 18px;padding-left:0;list-style:none}
.page-doc .jg-page__text ul li{position:relative;padding-left:24px;margin:9px 0}
.page-doc .jg-page__text ul li::before{content:"";position:absolute;left:7px;top:11px;width:6px;height:6px;border-radius:50%;background:#fa0809}
@media(max-width:768px){
	.page-doc .jg-page__text{padding:26px 20px;border-radius:12px}
	.page-doc .jg-page__text p:has(> strong){font-size:16px;margin:28px 0 12px}
}

/* ======================== ПОИСК ПО САЙТУ ======================== */
/* --- поле поиска в шапке (раскрытие по иконке) --- */
.jg-hsearch{position:relative}
.jg-hsearch__form{position:absolute;top:50%;left:calc(100% + 12px);transform:translateY(-50%) translateX(-10px);z-index:300;display:flex;align-items:stretch;width:340px;max-width:min(340px,46vw);height:38px;opacity:0;visibility:hidden;pointer-events:none;background:#fff;border:1px solid #e3e3e3;border-radius:0;box-shadow:none;padding:0;transition:opacity .22s ease,transform .22s ease,visibility .22s}
.jg-hsearch.is-open .jg-hsearch__form{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(-50%) translateX(0)}
.jg-hsearch.is-open .jg-hsearch__toggle{color:#fa0809}
.jg-hsearch .jg-hsearch__input{flex:1 1 auto;min-width:0;border:0;outline:0;-webkit-appearance:none;appearance:none;border-radius:0;background:transparent;font-size:14px;color:#222;height:auto;padding:0 14px}
.jg-hsearch__input::placeholder{color:#aaa}

.jg-hsearch__btn{flex:0 0 auto;width:43px;height:auto;border:0;border-radius:0;background:#fa0809;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:1}
.jg-hsearch__btn:before{content:'\e904';font-size:15px}
.jg-hsearch__btn:hover{background:#d80708}

/* --- выпадающие подсказки (общий вид для шапки и страницы) --- */
.jg-search__suggest,.jg-hsearch__suggest{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:320;background:#fff;border:1px solid #e3e3e3;border-radius:10px;box-shadow:0 12px 34px rgba(0,0,0,.16);max-height:70vh;overflow-y:auto;padding:6px 0}
.jg-hsearch__suggest{top:calc(100% + 4px);border-radius:0 0 10px 10px}
.jg-sg__group{padding:2px 0}
.jg-sg__group+.jg-sg__group{border-top:1px solid #f0f0f0;margin-top:2px;padding-top:4px}
.jg-sg__gtitle{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#9a9a9a;padding:6px 16px 4px}
.jg-sg__item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 16px;color:#222;text-decoration:none;font-size:14px;line-height:1.3}
.jg-sg__item:before{content:none!important;display:none}/* гасим унаследованный .header__search a:before (глиф-лупа) */
.jg-sg__item:hover,.jg-sg__item.is-active{background:#fcecec;color:#222}
.jg-sg__val{flex:1 1 auto;min-width:0}
.jg-sg__val mark{background:transparent;color:#fa0809;font-weight:600}
.jg-sg__price{flex:0 0 auto;color:#666;font-weight:600;font-size:13px;white-space:nowrap}
.jg-sg__empty{padding:12px 16px;color:#999;font-size:14px}

/* --- страница /search/ --- */
.jg-page--search{max-width:920px}
.jg-search{margin-top:26px}
.jg-search__form{position:relative;display:flex;gap:10px;margin-bottom:22px}
.jg-search .jg-search__input{flex:1 1 auto;min-width:0;height:52px;box-sizing:border-box;padding:0 20px;font-size:16px;color:#222;background:#fff;border:2px solid #e3e3e3;border-radius:12px;outline:0;transition:border-color .15s}
.jg-search .jg-search__input:focus{border-color:#fa0809}
.jg-search .jg-search__input::placeholder{color:#aaa}
.jg-search__submit{flex:0 0 auto;height:52px;padding:0 30px;border:0;border-radius:12px;background:#fa0809;color:#fff;font-size:15px;font-weight:600;cursor:pointer;transition:background .15s}
.jg-search__submit:hover{background:#d80708}
.jg-search__hint{color:#888;font-size:15px}
.jg-search__empty{color:#444;font-size:16px;line-height:1.5;background:#f7f7f7;border-radius:12px;padding:22px 24px}
.jg-search__count{color:#666;font-size:14px;margin-bottom:18px}
.jg-search__count b{color:#1c1c1c}
.jg-search__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.jg-search__item{display:flex;flex-direction:row-reverse;gap:20px;align-items:flex-start;padding:18px 20px;background:#fff;border:1px solid #ececec;border-radius:14px;box-shadow:0 4px 16px rgba(0,0,0,.045);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.jg-search__item:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(0,0,0,.10);border-color:#f7caca}
.jg-search__thumb{flex:0 0 124px;width:124px;height:92px;border-radius:10px;overflow:hidden;background:#f3f3f3;display:block}
.jg-search__thumb img{width:100%;height:100%;object-fit:cover}
.jg-search__main{flex:1 1 auto;min-width:0}
.jg-search__title{display:inline-block;font-size:19px;font-weight:700;color:#1c1c1c;text-decoration:none;line-height:1.3}
.jg-search__title:hover{color:#fa0809}
.jg-search__meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:6px 0}
.jg-search__tag{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:#fa0809;background:#fdecec;border-radius:6px;padding:3px 9px}
.jg-search__tag--brand{color:#1565c0;background:#e9f1fb}
.jg-search__tag--akcii{color:#1b7a3d;background:#e8f6ec}
.jg-search__tag--page{color:#6b6b6b;background:#efefef}
.jg-search__price{font-size:14px;font-weight:700;color:#222}
.jg-search__snippet{font-size:14px;color:#555;line-height:1.5;margin-top:4px}
.jg-search__snippet mark{background:#fff2b8;color:inherit;padding:0 1px;border-radius:2px}
.jg-search__url{display:inline-block;margin-top:8px;font-size:12px;color:#19a463;text-decoration:none;word-break:break-all}
.jg-search__url:hover{color:#fa0809}
.jg-search__pager{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px}
.jg-search__pg{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 12px;border:1px solid #e3e3e3;border-radius:9px;color:#333;text-decoration:none;font-size:14px;font-weight:600}
.jg-search__pg:hover{border-color:#fa0809;color:#fa0809}
.jg-search__pg.is-current{background:#fa0809;border-color:#fa0809;color:#fff}
.jg-search__dots{display:inline-flex;align-items:flex-end;justify-content:center;min-width:24px;height:40px;color:#9a9a9a;font-size:15px;padding-bottom:8px}
@media(max-width:768px){
	.header__search{position:static}
	.jg-hsearch__form{right:auto;left:10px;width:calc(100vw - 20px);max-width:none}
	.jg-search__form{flex-direction:column}
	.jg-search__submit{height:48px}
	.jg-search__input{height:48px}
	.jg-search__thumb{flex-basis:72px;width:72px;height:56px}
	.jg-search__title{font-size:16px}
}
/* page-doc: убрать дублирующий маркер темы (.textb ul li:after), оставить свой красный кружок */
.page-doc .jg-page__text ul li:after{display:none}
/* подвал: юр-ссылки в столбик */
.footer__link a{display:block;line-height:1.85}

/* лого шапки: {picture} ставит жёсткие width/height-атрибуты; height:auto чтобы темовое .header__logo img{width:135px} на мобиле не распирало лого по высоте */
.header__logo img{height:auto;max-width:100%}
/* марки на главной: {picture} ставит width/height-атрибуты — width:auto чтобы темовое .brands__item-logo img{max-height:100%} сохраняло пропорции (как на проде, натуральный размер) */
.brands__item-logo img{width:auto}
/* сертификаты на главной: тема даёт только max-width:100%, а {picture} ставит жёсткий height-атрибут -> растягивало по высоте; height:auto сохраняет пропорции (как на проде 163x229) */
.rev__list-item img{height:auto}

/* логотип Nissan (широкий знак) — уменьшить, чтобы не выглядел крупнее остальных */
img[src*="nissan-logo.svg"]{transform:scale(.8)}
img[src*="infiniti-emblem.svg"]{transform:scale(.8)}
.brand-logo[src*="infiniti-emblem"]{width:100px;max-width:100px;height:auto;transform:none}
.brands__item-logo img[src*="infiniti-emblem"]{width:100px;max-width:100px;height:auto;transform:none}
/* Infiniti на /corporate/ — эмблема крупнее остальных, уменьшить */
.jg-corp-brand img[src*="infiniti-emblem"]{transform:scale(.62)}

/* чёрная панель шапки: меню единым компонентом (Услуги/Цены/марки) на всю ширину — раньше .header__serv был левым блоком 286px, .header__cat правым (убран) */
.header__bot{padding-left:0}
.header__serv{position:static;width:auto}
.header__serv>ul{width:100%}

/* === Прайс-таблица на мобиле: строки → карточки (десктоп не меняется) === */
.price-table{width:100%}
@media(max-width:600px){
	.price-table thead{display:none}
	.price-table,.price-table tbody,.price-table tr,.price-table td{display:block;width:auto}
	.price-table tr{border:1px solid #ececec;border-radius:12px;margin-bottom:12px;padding:12px 16px;background:#fff}
	.price-table tbody td{border:none!important;padding:3px 0}
	.price-table td:nth-child(1){display:none}                 /* № скрыть */
	.price-table td:nth-child(2){font-weight:600;font-size:16px;line-height:1.3;margin-bottom:8px;color:#1c1c1c}
	.price-table td:nth-child(3){font-size:14px;color:#555}
	.price-table td:nth-child(3)::before{content:'Нормо-часов: ';color:#999}
	.price-table td:nth-child(4){font-size:17px;color:#fa0809;font-weight:700;margin-top:2px}
	.price-table td:nth-child(4)::before{content:'Стоимость: ';color:#999;font-weight:400;font-size:14px}
}

/* фикс: тем-CSS задаёт td фикс-высоту → длинные названия в карточках переполняют. Форсируем auto */
@media(max-width:600px){
	.price-table tbody td{height:auto!important;min-height:0!important;line-height:1.4!important}
	.price-table td:nth-child(2){margin-bottom:6px!important}
}

/* Sticky чёрный ряд навигации шапки (Услуги/Цены/бренды): прилипает к верху при скролле вниз.
   Ряд вынесен из <header> в .viewport-wrapper, поэтому sticky держится на всю высоту страницы. */
.header__bot_b{position:sticky;top:0;z-index:250}
/* верхние ряды шапки выше sticky-панели, иначе дропдаун поиска уходит под неё (оба были z-index:250, панель позже в DOM) */
.header{position:relative;z-index:260}
@media screen and (max-width:767px){.header__bot_b{position:static}
  /* мобила: шапка (бургер-ряд) прилипает к верху при скролле */
  .header{position:sticky;top:0;z-index:250}
}

/* Подсветка активного пункта в меню футера (Услуги/Марки/общее) — текущий раздел красным. */
.footer__menu li.active > a,
.footer__serv ul li.active a,
.footer__brands li.active a{color:#fa0809;font-weight:700}

/* лого марки — справа от H1 на той же строке (не переносить под заголовок) */
.jg-brand-head{flex-wrap:nowrap;justify-content:space-between}
.jg-brand-head .jg-page__title{flex:1 1 auto;min-width:0}
@media(max-width:600px){.jg-brand-head{flex-wrap:wrap}.jg-brand-head .jg-page__title{flex:1 1 100%}}

/* corporate hero: ограничить текстовую колонку, чтобы круг «1900 ₽» стоял справа, а не переносился вниз */
.jg-corp-hero__col{flex:1 1 0;min-width:0;max-width:640px}
.jg-corp-circle{flex:0 0 auto;margin-left:auto}
@media(max-width:780px){.jg-corp-hero__col{max-width:none;flex-basis:100%}.jg-corp-circle{margin-left:0}}

/* === Сообщение клиенту (fc-success) — фирстиль JapGarage === */
.fc-success__icon{background:#fa0809;color:#fff;box-shadow:0 8px 22px rgba(250,8,9,.30)}
.fc-success__phone{margin:14px 0 0;font-size:15px;color:#555}
.fc-success__phone a{color:#fa0809;font-weight:700;text-decoration:none;white-space:nowrap}
.fc-success__phone a:hover{text-decoration:underline}


/* Скидки (блок discounts_list, число из discount_pct) */
.jg-home-discounts{padding:36px 0}
.jg-home-discounts__title{font-size:28px;margin:0 0 18px}
ul.jg-discounts{list-style:none;margin:0;padding:0;display:grid;gap:12px;grid-template-columns:repeat(2,1fr)}
ul.jg-discounts li{background:#fff;border:1px solid #eee;border-left:4px solid #fa0809;border-radius:10px;padding:14px 18px;font-size:16px}
ul.jg-discounts li b{color:#fa0809;font-size:18px}
.jg-akcii-discounts{margin:0 0 28px}
@media(max-width:680px){ul.jg-discounts{grid-template-columns:1fr}}

/* «Популярные разделы» на 404 — из конструктора меню (code=popular) */
.jg-404__menu,.jg-404__links ul{width:100%;list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 18px}
.jg-404__menu a,.jg-404__links ul a{font-size:15px;font-weight:600;color:#101010;border-bottom:1px solid transparent;transition:color .15s,border-color .15s}
.jg-404__menu a:hover,.jg-404__links ul a:hover{color:#fa0809;border-color:#fa0809}
