@import url('https://fonts.googleapis.com/css2?family=Wix+Madefor+Display:wght@400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
:root {
  --section-bg-light:    #ffffff; 
  --section-bg-darck:    #f7f7f7; 
  --section-px:    50px;
  --section-py:    70px;

  --title-color:   #0067AC;  
  --title-size:    32px;     
  --title-weight:  700;

  --grid-gap:      20px;

  --card-bg:       #ffffff;  
  --card-radius:   10px;
  --card-px:       20px;
  --card-py:       20px;

  --item-title-size:   16px;
  --item-title-weight: 700;
  --item-title-color:  #013F92;

  --text-size:     16px;
  --text-height:   1.4;
  --text-color:    #000000;

  --max-width:     1280px;
  --font-family:   "Montserrat", sans-serif;
  --font-family-text: "Roboto", sans-serif;;
}
body {
  background-color: #f5f5f5;
  line-height: 1.2;
}
main {
  max-width: var(--max-width);
  margin: auto;
}
section {
  max-width: var(--max-width);
  margin: 0;
  font-family: var(--font-family);
  padding: var(--section-py) var(--section-px);
}
section h2 {
  text-align: left;
  margin: 0 0 30px;
  font-size: var(--title-size);
  font-weight: var(--title-weight);
  color: var(--title-color);  /* #0067AC */
  text-transform: uppercase;
}
header svg:hover, footer svg:hover, footer svg:hover > *, header svg:hover > *{
  fill: #0057FF;
  stroke: #0057FF;
  transition: all 0.3s;
}
/* ===== Наши газовые электростанции ===== */
.stations, .variants {
  background: var(--section-bg-darck);
}

.stations__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, calc((100% - 40px) / 3));
  gap: var(--grid-gap);
}

.stations__item {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  padding: var(--card-py) var(--card-px);
  border: 1px solid #C6DBF0;
}

.stations__item h3 {
  margin: 0 0 10px;
  font-size: var(--item-title-size);
  font-weight: var(--item-title-weight);
  color: var(--item-title-color);
  text-transform: uppercase;
}

.stations__item p {
  margin: 0;
  font-size: var(--text-size);
  line-height:  var(--text-height);
  color: var(--text-color);
  font-family: var(--font-family-text);
  height: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-clamp: 5;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}

/* ===== НАПРАВЛЕНИЯ ДЕЯТЕЛЬНОСТИ ===== */

.directions {
    background: var(--section-bg-darck);
}

/* вводный текст */
.directions__lead {
  margin: 0 0 30px;
  color: var(--text-color);
  font-size: var(--text-size);
  line-height: var(--text-height);
  font-family: var(--font-family-text);
}

/* ===== Техническое и сервисное обслуживание ===== */

.technics {
    background: var(--section-bg-darck);
}

.technics__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, calc((100% - 20px) / 2));
    gap: var(--grid-gap);
}

.technics__item {
    background: var(--card-bg);
    border-radius: var(--card-radius);
    padding: var(--card-py) var(--card-px);
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
}

.technics__item h3 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: var(--item-title-weight);
    color: var(--item-title-color);
    text-transform: uppercase;
}
.technics__item p {
  font-family: var(--font-family-text);
}

.technics__item div {
  margin: 0;
  font-size: var(--text-size);
  line-height:  var(--text-height);
  color: var(--text-color);
  font-family: var(--font-family-text);
}
.technics__item div:not(.no_max_height) {
  height: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-clamp: 5;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}
.technics__item div ul {
  padding-left: 20px;
}
.technics__item a {
  margin-top: 20px;
  width: 100%;
  text-align: right;
  color: #0057FF;
  line-height: 1.3;
  font-size: var(--text-size);
  display: block;
  transition: all 0.3s;
  text-decoration: none;
  cursor: pointer;
}
.technics__item a:hover {
  color: #0057FF99;
}

.images__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 20%);
    gap: 0;
}
.images__grid a {
    display: block;
    position: relative;
    width: fit-content;
}
.images__grid a:hover::after {
    opacity: 0.5;
}
.images__grid a:after {
    content: "";
    opacity: 0;
    display: block;
    background-color: #0057FF;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    background-color: #0057FF;
    transition: all, 0.5s;
}
.variants__grid {
  gap: 30px;
  display: flex;
  flex-direction: column;
}
.variants__card {
  padding: 30px 20px;
  gap: 10px;
  display: flex;
  flex-direction: column;
  background: var(--section-bg-light);
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}
.variants__card h3 {
  text-align: left;
  font-size: 28px;
  font-weight: var(--title-weight);
  color: var(--title-color);  /* #0067AC */
  text-transform: uppercase;
  margin: 0;
}
.variants__col {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.variants__col p {
  margin: 0;
  font-size: var(--text-size);
  line-height:  var(--text-height);
  color: var(--text-color);
  font-family: var(--font-family-text);
}
.variants__col img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top;
}
.variants__col ul {
  padding-left: 24px;
  gap: 10px;
  display: flex;
  margin: 0;
  flex-direction: column;
}
.variants__col ul li {
  font-family: var(--font-family-text);
}
.variants__col b {
  margin: 0;
  font-size: 18px;
  line-height:  1.2;
  color: var(--text-color);
  margin-bottom: 10px;
  display: inline-block;
}

/* FAQ */

.faq {
  display: flex;
  gap: 20px;    
}
.faq__form {
  padding: 20px;
  background: #5A5A5A;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: fit-content;
  max-width: 300px;
}
.faq__form > * {
  margin: 0;
}
.faq__form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.faq__form h3 {
  font-size: 24px;
  line-height:  1.2;
  color: #fff;
}
.faq__form p {
  font-size: 16px;
  line-height:  1.2;
  color:  #fff;
}
.faq__form input[type="text"] {
  height: 69px;
  padding: 10px 20px;
  color: var(--text-color);
  font-family: var(--font-family-text);
  background-color: #fff;
  font-size: 18px;
  line-height: 1.2;
  box-sizing: border-box;
  border-radius: 7px;
  border: none;
  box-shadow: none;
  padding-top: 37px;
  width: 100%;
}
.faq__form label[for="phone"] {
  position: absolute;
  top: 10px;
  left: 20px;
  color: #5A5A5A;
  font-size: 14px;
  line-height: 1.2;
}
.faq__form textarea {
  height: 245px;
  color: var(--text-color);
  font-family: var(--font-family-text);
  background-color: #fff;
  font-size: 18px;
  line-height: 1.2;
  box-sizing: border-box;
  border-radius: 7px;
  border: none;
  box-shadow: none;    
  padding: 10px 15px;
}
.faq__form button {
  padding: 18px;
  border-radius: 7px;
  border: none;
  box-shadow: none;
  background-color: #028DFF;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 20px;
  transition: all 0.3s;
  cursor: pointer;
}
.faq__form button:hover {
  background-color: #FF0000;
}
.faq__form input[type="checkbox"] {
  min-width: 24px;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  border: none;
  box-shadow: none;  
  background-color: #fff !important;  
  margin: 0;
  accent-color: #fff;
  color: #0057FF;
}
.faq__form span, .faq__form span > * {
  margin: 0;
  font-size: 14px;
  line-height:  1.2;
  color: #fff;
}
.faq__form label[for="agreement"] {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* container */
.faq__container{
  width: 100%;
  border-top: 1px solid #e6e6e6;
}

/* item */
.faq__item{
  border-bottom: 1px solid #e6e6e6;
}

/* question button */
.faq__item > button{
  width: 100%;
  padding: 18px 52px 18px 0px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;

  font: inherit;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;

  position: relative;
}

.faq__item > button:hover{
  background: #f7f7f7;
}

.faq__item > button:focus-visible{
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
  border-radius: 6px;
}

/* chevron */
.faq__item > button::after{
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  border-right: 2px solid #222;
  border-bottom: 2px solid #222;
  transition: transform .25s ease;
}


.faq__item.open > button::after{
  transform: translateY(-50%) rotate(-135deg);
}

/* answer */
.faq__item > .faq__text {
  margin: 0;
  padding: 0 16px;           /* в закрытом состоянии “схлопываем” */
  height: 0;
  overflow: hidden;
  opacity: 0;
  box-sizing: border-box;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 6px rgba(0,0,0,.08);

  font-size: 16px;
  line-height: 1.45;

  transition: height .28s ease, opacity .2s ease, padding .28s ease, margin .28s ease;
}
.faq__item.open > .faq__text{
  opacity: 1;
  height: fit-content;
  padding: 16px;
  margin: 16px 0;
}
.faq__col {
    width: 100%;
}

/* ===== MODEL BLOCK (в стиле сайта) ===== */
:root{
  /* локальные переменные блока (чтобы не дублировать значения) */
  --model-selector-width: 280px;
  --model-gap: 20px;
  --model-border: #C6DBF0;
  --model-active-bg: #EAF4FF;
  --model-muted: #5A5A5A;

  --model-card-pad: 30px;
  --model-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);

  --model-btn-radius: 10px;
  --model-list-maxh: 531px;

  --model-link: #0057FF;
  --model-cta:  #028DFF;
}

/* сетка секции (и на случай если добавишь <h2> сверху) */
section.directions.model{
  display: grid;
  grid-template-columns: var(--model-selector-width) 1fr;
  gap: 0 var(--model-gap);
  align-items: start;
  background: var(--section-bg-light);
  grid-template-areas:
    "title title"
    "selector content";
  box-shadow: 0 0 15px #00000066;
  z-index: 10;
  position: relative;
}

section.directions.model > h2{
  grid-area: title;
}

/* левая колонка */
.directions.model .model__selector{
  grid-area: selector;
  max-height: var(--model-list-maxh);
  min-height: var(--model-list-maxh);
  overflow-y: auto;
  padding-right: 10px;
  border-right: 2px solid var(--model-border);
  max-width: 280px;
}

/* скролл */
.directions.model .model__selector::-webkit-scrollbar{ width: 8px; }
.directions.model .model__selector::-webkit-scrollbar-thumb{
  background: var(--model-border);
  border-radius: 999px;
}
.directions.model .model__selector::-webkit-scrollbar-track{ background: transparent; }

/* заголовки групп */
.directions.model .group__title{
  margin: 0 0 2px;
  padding: 10px 10px 12px;
  color: var(--title-color);
  font-weight: var(--title-weight);
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1.2;
  border-bottom: 1px solid #0067AC;
}
.directions.model .group__title:not(:first-child) {
  border-top: 1px solid #0067AC;
  padding-top: 2px;
}

/* кнопки списка */
.directions.model .model_select{
  width: 100%;
  text-align: left;
  border: 1px solid #ffffff;
  background: transparent;
  color: var(--item-title-color);
  font-size: var(--item-title-size);
  font-weight: var(--item-title-weight);

  padding: 11px 10px;
  cursor: pointer;
  transition: .18s ease;

  margin-bottom: 2px;
  position: relative;
}

.directions.model .model_select:hover, .directions.model .model_select.open {
  background: linear-gradient(90deg, #C6DBF0, #C6DBF0, #FFFFFF 70%);
}

.directions.model .model_select:focus-visible{
  outline: 2px solid var(--model-cta);
  outline-offset: 2px;
}

/* правая колонка */
.directions.model .model__container{
  grid-area: content;
  min-height: var(--model-list-maxh);
}

/* карточка модели (только внутри контейнера!) */
.directions.model .model__container > .model{
  display: none;
  position: relative;
  background: var(--card-bg);
  padding: 0;
  padding-right: 380px;
  overflow: hidden;
}

.directions.model .model__container > .model.open{
  display: block;
  animation: modelFade .18s ease both;
}

@keyframes modelFade{
  from{ opacity:0; transform: translateY(6px); }
  to  { opacity:1; transform: translateY(0); }
}

/* заголовок внутри карточки (перебиваем section h3) */
.directions.model .model__container > .model h3{
  margin: 0 0 53px;
  font-size: 28px;
  font-weight: 500;
  color: var(--title-color);
  text-transform: none; /* важно */
  max-width: 500px;
  line-height: 1.2;
}

/* опции */
.directions.model .model__options{
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 20px;
  margin: 0 0 53px;
  max-width: 380px;
}

.directions.model .model__options p{
  margin: 0 0 5px;
  color: var(--title-color);
  font-size: 14px;
  line-height: 1.2;
  text-transform: uppercase;
}

.directions.model .model__options b{
  display:block;
  margin: 0;
  color: var(--title-color);
  font-size: 22px;
  line-height: 1.2;
}

/* CTA */
.directions.model .call_me{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 280px;
  width: 100%;
  line-height: 1.2;
  border: none;
  box-shadow: none;
  background: var(--title-color);
  color: #fff;

  padding: 14px;
  border-radius: var(--model-btn-radius);
  cursor: pointer;

  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;

  margin: 0 0 15px;
  transition: .18s ease;
}

.directions.model .call_me:hover{ background: #0067ACBF; }
.directions.model .call_me:active{ transform: translateY(1px); }

/* ссылки-«кнопки» */
.directions.model .model__container > .model a{
  display: block;
  width: fit-content;
  max-width: 280px;
  width: 100%;
  padding: 14px;
  line-height: 1.2;
  margin-top: 0px;
  margin-bottom: 15px;
  box-sizing: border-box;
  border: 1px solid #D6D6D6;
  border-radius: var(--model-btn-radius);
  font-size: 16px;
  color: var(--text-color);
  font-family: var(--font-family-text);
  background: #fff;
  text-decoration: none;
  transition: .18s ease;
  text-align: center;
}

.directions.model .model__container > .model a:hover{
  border-color: #0067AC;
}

/* картинка справа */
.directions.model .model__container > .model img{
  position: absolute;
  right: 0;
  top: 0;

  width: min(46%, 480px);
  height: auto;

  object-fit: contain;
  object-position: right bottom;

  pointer-events: none;
  user-select: none;
}

.hero {
  padding: 20px 650px 25px 50px;
  background: linear-gradient(#FFFFFF1A, #99999966);
  position: relative;
  box-shadow: 0 4px 4px #00000040;
}
.hero h1 {
  color: var(--title-color);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  margin-top: 0;
  text-transform: uppercase;
  max-width: 580px;
}
.hero p {
  color: var(--title-color);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 10px;
  margin-top: 0;
}
.hero p b {
  font-weight: 700;
}
.hero button {
  padding: 15px 20px;
  border-radius: 7px;
  border: none;
  box-shadow: none;
  background-color: #028DFF;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 20px;
  margin-top: 5px;
  transition: all 0.3s;
  cursor: pointer;
  font-family: var(--font-family);
}
.hero button:hover {
  background-color: #FF0000;
}
.hero img {
  position: absolute;
  right: 50px;
  top: 0;
  width: min(50%, 600px);
  height: auto;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
  user-select: none;
}

/* ===== HEADER (по макету) ===== */
.site-header{
  font-family: var(--font-family);
  background: #fff;
}

.site-header a{
  text-decoration: none;
  color: #0057FF;
  font-weight: 400;
  transition: all 0.3s;
}
.site-header a:hover {
 color: #0057FFB2;
}

.site-header .header__container{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-px);
  box-sizing: border-box;
}

/* верхняя полоса */
.header__top{
  border-bottom: 1px solid #e6e6e6;
  background: #fff;
}

.header__top .header__container{
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* меню слева */
.header__menu{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.header__menu a{
  font-size: 15px;
  line-height: 1.2;
  color: #111;
  padding: 2px 20px 2px 0;
  margin-right: 20px;
  position: relative;
  transition: all 0.3s;
}
.header__menu a:hover {
color: #FF0000;
}
.header__menu a:not(:last-child)::after{
  content: "|";
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  color: #B6B6B6;
}

/* справа в топе */
.header__top-right{
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__hours{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #606060;
  white-space: nowrap;
  line-height: 1.2;
}

.header__social{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header__social a{
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/* нижняя полоса */
.header__main{
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
}

.header__main .header__container{
  display: flex;
  align-items: center;
  gap: 22px;
  padding-top: 12px;
  padding-bottom: 12px;
}

/* логотип (текстом как на скрине) */
.header__logo{
  font-weight: 900;
  font-size: 48px;
  letter-spacing: -1px;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  user-select: none;
}

.header__logo .logo__black{ color: #111; }
.header__logo .logo__red{ color: #E31B23; }

/* подпись рядом */
.header__tagline{
  border-left: 1px solid #e6e6e6;
  padding-left: 18px;
  font-size: 16px;
  line-height: 1.2;
  color: #111;
  max-width: 260px;
}

/* контакты справа */
.header__contacts{
  margin-left: auto;
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.header__contact{
  display: flex;
  flex-direction: column;
  gap: 6px;
  white-space: nowrap;
}


.site-header a.header__value{
  font-size: 16px;
  font-weight: 500;
  color: #1C1C1C;
}

.header__note{
  font-size: 14px;
  color: #6a6a6a;
  line-height: 1.2;
}

.header__link{
  color: #0057FF;
  font-weight: 700;
}

/* ===== FOOTER (по картинке) ===== */
.site-footer{
  font-family: var(--font-family);
  background: #fff;
  border-top: 1px solid #e6e6e6;
}

.site-footer .footer__container{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-px);
  box-sizing: border-box;
}

/* top */
.footer__top{
  padding: 18px 0;
  border-bottom: 1px solid #e6e6e6;
}

.footer__top-grid{
  display: grid;
  grid-template-columns: 5.5fr 3fr 2.3fr;
  gap: 50px;
  align-items: start;
}

.footer__brand img{
  display: block;
  max-width: 260px;
  width: 100%;
  height: auto;
}

.footer__brand p{
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.2;
  color: #1C1C1C;
}

.footer__col{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer__col--right{
  align-items: flex-end;
  height: 100%;
  justify-content: space-between;
}

.footer__block{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__value{
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  color: #1C1C1C;
  text-decoration: none;
}

.footer__note{
  font-size: 14px;
  line-height: 1.2;
  color: #606060;
}

.footer__link{
  font-size: 14px;
  line-height: 1.2;
  color: #0057FF;
  text-decoration: none;
  transition: all 0.3s;
}
.footer__link:hover {
  color: #0057FF99;
}

.footer__social{
  display: inline-flex;
  gap: 12px;
  align-items: center;
}

.footer__social a{
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* meta row */
.footer__meta{
  padding: 18px 0;
  border-bottom: 1px solid #e6e6e6;
}

.footer__meta-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 20px;
}

.footer__meta-title{
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  color: #1C1C1C;
  margin-bottom: 6px;
}

.footer__meta-text{
  font-size: 14px;
  line-height: 1.35;
  color: #606060;
}

/* legal */
.footer__legal{
  padding: 18px 0 20px;
  border-bottom: 1px solid #e6e6e6;
}

.footer__legal-text{
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.45;
  color: #606060;
}

.footer__legal-links{
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer__legal-link{
  font-size: 16px;
  line-height: 1.2;
  color: #0057FF;
  text-decoration: none;
  transition: all 0.3s;
}
.footer__legal-link:hover{
  color: #0057FF99;
}

/* bottom */
.footer__bottom{
  padding: 16px 0;
}

.footer__bottom-row{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.footer__bottom-left,
.footer__bottom-right{
  font-size: 14px;
  line-height: 1.2;
  color: #606060;
}

.webenot {
  display: flex;
  align-items: center;
  flex-direction: row;
  font-size: 14px;
  line-height: 1.2;
  color: #606060;
  margin-left: auto;
  text-decoration: none;
}
.webenot img {
  width: 40px;
}

.faq__form .form-alert{
  margin: 0 0 10px;
  padding: 12px 14px;
  border-radius: 7px;
  font-family: var(--font-family-text);
  font-size: 14px;
  line-height: 1.25;
  color: #fff;
  border: 1px solid transparent;
}

/* Ошибка */
.faq__form .form-alert--error{
  background: rgba(255, 0, 0, 0.14);
  border-color: rgba(255, 0, 0, 0.35);
}

.faq__form .form-alert--success{
  background: rgba(2, 141, 255, 0.18);
  border-color: rgba(2, 141, 255, 0.35);
}

.faq__form .form-error{
  margin-top: -10px;
  margin-bottom: 10px;
  padding-left: 2px;
  font-family: var(--font-family-text);
  font-size: 13px;
  line-height: 1.2;
  color: #FFD2D2;
}
.faq__form span .form-error {
   margin-top: 10px;
}
.faq__form input.is-error,
.faq__form textarea.is-error{
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.9);
}

.faq__form label.is-error{
  padding: 10px;
  border-radius: 7px;
  background: rgba(255, 0, 0, 0.10);
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.55);
}

.faq__form input:focus,
.faq__form textarea:focus{
  outline: none;
  box-shadow: 0 0 0 2px rgba(2, 141, 255, 0.65);
}

.faq__form button:disabled{
  opacity: 0.7;
  cursor: not-allowed;
}

/* ===== MODAL ===== */
.modal__callback{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,.35);
  z-index: 9999;
}

.modal__callback.is-open{ display: flex; }

/*body.modal-open{ overflow: hidden; }*/

.modal_container{
  width: 100%;
  max-width: 462px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  position: relative;
  font-family: var(--font-family);
}

.modal_container h3{
  margin: 0 40px 10px 0;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--title-color);
  text-transform: uppercase;
}

.modal_container p{
  margin: 0 0 16px;
  font-family: var(--font-family-text);
  font-size: 16px;
  line-height: 1.35;
  color: #1C1C1C;
}

.modal_close{
  position: absolute;
  right: 18px;
  top: 18px;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal_close svg{ display: block; }

/* form */
.js_modal_form{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal_field{
  position: relative;
  display: block;
}

.modal_field input[type="text"]{
  width: 100%;
  height: 58px;
  padding: 0 16px;
  border: 1px solid #BDBDBD;
  border-radius: 7px;
  box-sizing: border-box;
  font-family: var(--font-family-text);
  font-size: 16px;
  line-height: 1.2;
  color: #1C1C1C;
  background: #fff;
}

.modal_field .placeholder{
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-family-text);
  font-size: 16px;
  color: #9A9A9A;
  pointer-events: none;
  transition: opacity .15s ease;
}


/* прячем псевдо-плейсхолдер при фокусе/значении */
.modal_field.is-filled .placeholder,
.modal_field:focus-within .placeholder, .modal_field:hover .placeholder{
  opacity: 0;
}

.modal_field input:focus{
  outline: none;
  box-shadow: 0 0 0 2px rgba(2, 141, 255, 0.35);
  border-color: rgba(2, 141, 255, 0.8);
}

/* button */
.modal_submit{
  height: 56px;
  border: none;
  border-radius: 8px;
  background: var(--title-color);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  font-family: var(--font-family);
  cursor: pointer;
  transition: all .2s ease;
}

.modal_submit:hover{ background: #0067ACBF; }

.modal_submit:disabled{
  opacity: .7;
  cursor: not-allowed;
}

/* agreement */
.modal_agreement{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-family-text);
}

.modal_agreement input[type="checkbox"]{
  margin-top: 2px;
  width: 22px;
  height: 22px;
  accent-color: var(--title-color);
}

.modal_agreement span{
  font-size: 16px;
  line-height: 1;
  color: #929292;
}

.modal_agreement a{
  color: #0057FF;
  text-decoration: underline;
}

/* alerts & errors (в модалке) */
.js_modal_form .form-alert{
  margin: 0 0 6px;
  padding: 12px 14px;
  border-radius: 7px;
  font-family: var(--font-family-text);
  font-size: 14px;
  line-height: 1.25;
  border: 1px solid transparent;
}

.js_modal_form .form-alert--error{
  background: rgba(255, 0, 0, 0.08);
  border-color: rgba(255, 0, 0, 0.25);
  color: #B00000;
}

.js_modal_form .form-alert--success{
  background: rgba(2, 141, 255, 0.10);
  border-color: rgba(2, 141, 255, 0.25);
  color: #0B4A82;
}

.js_modal_form .form-error{
  margin-top: 6px;
  padding-left: 2px;
  font-family: var(--font-family-text);
  font-size: 13px;
  line-height: 1.2;
  color: #B00000;
}

.js_modal_form input.is-error{
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.35);
  border-color: rgba(255, 0, 0, 0.7);
}

.js_modal_form label.is-error{
  border-radius: 7px;
  padding: 8px;
  background: rgba(255, 0, 0, 0.05);
}
.header__social.mobile {
  display: none;
}

/* скрытые элементы (используется JS) */
.directions.model .model__selector .is-hidden{
  display: none;
}

.directions.model .model__more{
  width: 100%;
  margin: 10px 0 18px;
  padding: 12px 10px;
  border-radius: 10px;
  border: 1px dashed #C6DBF0;
  background: #fff;
  cursor: pointer;

  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--title-color);
}
.directions.model .model__more:hover{
  border-color: #0067AC;
}
/* ===== MOBILE BOTTOM NAV ===== */
.mobile_nav{
  display: none;
}
.hero_cont {
  max-width: var(--max-width);
  margin-left: calc((100% - var(--max-width)) / 2);
  position: relative;
  width: var(--max-width);
  padding: 20px 650px 25px 50px;
  box-sizing: border-box;
}
.hero {
  padding: 0;
  background: linear-gradient(#FFFFFF1A, #99999966);
  box-shadow: 0 4px 4px #00000040;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  position: absolute;
  left: 0;
} 
.hero_phisics {
  height: 470px;
}

/* ===== MOBILE MENU MODAL ===== */
.mobile_menu_modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.38);
  z-index: 9999;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.mobile_menu_modal.is-open{
  display: flex;
}

body.mobile-menu-open{
  overflow: hidden;
}

.mobile_menu_modal__dialog{
  width: 100%;
  max-width: 100%;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 30px rgba(0,0,0,.18);
  padding: 18px 15px calc(20px + env(safe-area-inset-bottom));
  box-sizing: border-box;
  font-family: var(--font-family);
  transform: translateY(100%);
  transition: transform .25s ease;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.mobile_menu_modal.is-open .mobile_menu_modal__dialog{
  transform: translateY(0);
}

.mobile_menu_modal__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.mobile_menu_modal__title{
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--title-color);
  text-transform: uppercase;
}

.mobile_menu_modal__close{
  width: 40px;
  height: 40px;
  border: 1px solid #D6D6D6;
  border-radius: 10px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s;
  flex-shrink: 0;
}

.mobile_menu_modal__close:hover{
  border-color: #0067AC;
}

.mobile_menu_modal__body{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile_menu_modal__block{
  border: 1px solid #C6DBF0;
  border-radius: 10px;
  background: #fff;
  padding: 15px;
}

.mobile_menu_modal__subtitle{
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--title-color);
  text-transform: uppercase;
}

.mobile_menu_links{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile_menu_links a{
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  background: #F7F7F7;
  color: #1C1C1C;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.2;
  transition: all .3s;
}

.mobile_menu_links a:hover{
  background: #EAF4FF;
  color: #0057FF;
}

.mobile_menu_contacts{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile_menu_contacts a{
  color: #1C1C1C;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
}

.mobile_menu_contacts .mobile_menu_link{
  color: #0057FF;
  font-size: 15px;
  font-weight: 400;
}

.mobile_menu_social{
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.mobile_menu_social a{
  width: 42px;
  height: 42px;
  border: 1px solid #D6D6D6;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: all .3s;
}

.mobile_menu_social a:hover{
  border-color: #0067AC;
  background: #EAF4FF;
}

.mobile_menu_social a svg,
.mobile_menu_social a svg *{
  transition: all .3s;
}

.mobile_menu_social a:hover svg *,
.mobile_menu_social a:hover svg{
  fill: #0057FF;
  stroke: #0057FF;
}

@media screen and (min-width: 769px){
  .mobile_menu_modal{
    display: none !important;
  }
}