

/* Start:/local/templates/level5/styles.css?178222379926784*/
:root {
  --dark: #0d1b3e;
  --navy: #14285e;
  --blue: #1C53A5;
  --red: #c0392b;
  --white: #ffffff;
  --text: #1a2545;
  --muted: #6b7a99;
  --border: #d0d7e8;
  --bg: #f7f8fc;
  --font: 'Montserrat', sans-serif;
  --r: 4px;
  --shadow: 0 4px 20px rgba(13, 27, 62, 0.12);
  --tr: 180ms cubic-bezier(.16, 1, .3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: none;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1 {color: #fff;font-size: 34px;}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: var(--r);
}

.container {
  max-width: 1200px;
  margin-inline: auto;
/*  padding-inline: clamp(1rem, 4vw, 2rem);*/
padding-inline: clamp(0.8rem, 3vw, 0.8rem);
}

.section {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.section--compact {
  padding-top: 0;
}

.section--muted {
  background: var(--bg);
}

.section__title {
    margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
    font-size: clamp(1.4rem, 3.5vw, 3rem);
    font-weight: 500;
    color: var(--dark);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #000E4A;
  padding-block: 0; /* Убираем вертикальные отступы, чтобы кнопки меню прилегали к краям */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px; /* Фиксируем высоту шапки */
}

.site-header__logo {
  display: flex;
  align-items: center;
}

.site-header__logo img,
.site-footer__logo img {
  width: auto;
  height: 42px;
}

.site-header__nav {
  display: flex;
  justify-content: center;
  flex: 1; /* Позволяет меню занять центральную часть */
  margin: 0 2rem;
}

.header-nav__list {
  display: flex;
  align-items: stretch;
  gap: 10px;
  height: 50px;
}

.header-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  height: 100%;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #4688f1; /* Голубой цвет пунктов меню */
  white-space: nowrap;
  transition: background var(--tr);
  position: relative;
  
  /* Скошенный левый верхний угол для каждого пункта */
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
}

/* Эффект наведения и активный пункт */
.header-nav__link:hover,
.header-nav__link--active {
  background: #3470cc; /* Чуть более темный при наведении/активности */
}

/* Красный треугольник в левом верхнем углу для активного пункта */
.header-nav__link--active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 12px 0 0;
  border-color: #c0392b transparent transparent transparent; /* Красный цвет уголка */
  z-index: 2;
}

/* Скрываем красный уголок, который отрезается из-за clip-path. 
   Чтобы он был виден корректно поверх скоса, нужно его немного сместить */
.header-nav__link--active::before {
  border-width: 16px 16px 0 0;
  transform: translate(-4px, -4px); 
}

.site-header__phone {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  transition: color var(--tr);
}

.site-header__phone:hover {
  color: #4688f1;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 20px;
}

.burger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(300px, 50vw, 620px);
  display: flex;
  align-items: flex-end;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13, 27, 62, 0.2) 50%, rgb(13 27 62 / 50%) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(2rem, 5vw, 5rem) 0 clamp(1.5rem, 4vw, 4rem);
}

/* intro */
.intro {
  padding-block: clamp(2rem, 4vw, 3.5rem);
}

.intro__accent {
    display: block;
    width: 100px;
    height: 20px;
    background: var(--red);
    margin-bottom: 1rem;
    border-radius: 0;
    clip-path: polygon(15px 0%, 100% 0%, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0% 100%, 0% 15px);
}

.intro__text {
    margin: 0;
    font-size: clamp(1.1rem, 2vw, 2rem);
    font-weight: 400;
    color: var(--blue);
    line-height: 1.45;
}

/* profile */
.profile__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.profile__card {
  min-height: 88px;
  padding: 1rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  transition: background var(--tr);
}

.profile__card:hover {
  background: #1c3575;
}

/* clients */
.clients__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
/*    gap: 20px;*/
}

.clients__item {
padding-left: 1rem;
    font-size: .95rem;
    font-weight: 500;
    color: #1c53a5;
    line-height: 1.2;
    border-left: 4px solid #b32a1e;
    min-height: 52px;
    display: flex;
    align-items: center;
}

/* advantages */
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 1.5rem;
}

.advantages__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .75rem;
}

.advantages__icon {
  width: 56px;
  height: 56px;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantages__icon svg {
  width: 100%;
  height: 100%;
}

.advantages__text {
  margin: 0;
  max-width: 18ch;
  font-size: .95rem;
  line-height: 1.4;
}

/* projects slider */
.projects__slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--dark);
}

.projects__track {
  display: flex;
  width: 100%;
  transition: transform .4s cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}

.projects__slide {
  flex: 0 0 100%;
  position: relative;
  max-width: 100%;
}

.projects__slide img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.projects__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 5rem 1.5rem 1.75rem;
  background: linear-gradient(to top, rgba(13, 27, 62, 0.9) 0%, transparent 100%);
}

.projects__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.projects__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem
  color: #fff;
  white-space: nowrap;
}

.projects__meta span + span {
  position: relative;
  padding-left: 1.25rem;
}

.projects__meta span + span::before {
  content: '|';
  position: absolute;
  left: .5rem;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  border: 2px solid rgba(255, 255, 255, .6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tr);
  backdrop-filter: blur(4px);
}

.slider-btn:hover {
  background: rgba(255, 255, 255, .3);
}

.slider-btn--prev {
  left: 1rem;
}

.slider-btn--next {
  right: 1rem;
}

.slider-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* form */
.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: .95rem
  font-weight: 300;
  color: var(--text);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: .625rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: .95rem
  color: var(--text);
  background: #fff;
  transition: border-color var(--tr), box-shadow var(--tr);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(42, 109, 217, .15);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-check {
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  font-size: .75rem;
  color: var(--muted);
}

.form-check input {
  width: 14px;
  height: 14px;
  accent-color: var(--blue);
  cursor: pointer;
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 1rem 2rem;
  background: var(--red);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  border-radius: var(--r);
  border: none;
  letter-spacing: .02em;
  transition: background var(--tr), transform var(--tr);
}

.btn-submit:hover {
  background: #a93226;
}

.btn-submit:active {
  transform: scale(.99);
}

.form-success {
  display: none;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: 8px;
  color: #2e7d32;
  font-weight: 600;
  text-align: center;
}

/* footer */
.site-footer {
  background: var(--dark);
  padding-block: clamp(2rem, 4vw, 3.5rem);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.site-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: 1rem;
}

.site-footer__contact-link {
  font-size: .95rem
  font-weight: 600;
  color: #fff;
  transition: color var(--tr);
}

.site-footer__contact-link:hover {
  color: var(--blue);
}

.site-footer__legal {
  max-width: 480px;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .375rem;
  font-size: .75rem;
  color: rgba(255, 255, 255, .9);
}

.site-footer__legal a {
  color: rgba(255, 255, 255, .9);
  text-decoration: underline;
  transition: color var(--tr);
}

.site-footer__legal a:hover {
  color: #fff;
}

.site-footer__copy {
  margin-top: 1.5rem;
  font-size: .75rem;
  color: rgba(255, 255, 255, .9);
}

.footer-nav__list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  text-align: right;
}

.footer-nav__link {
  font-size: .95rem; 
  color: rgba(255, 255, 255, .65);
  transition: color var(--tr);
}

.footer-nav__link:hover {
  color: #fff;
}

.footer-nav__link--active {
  color: var(--blue);
}

/* responsive */
@media (max-width: 1024px) {
  .profile__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-header__inner {
    height: 60px; /* Уменьшаем шапку на мобилках */
  }

  .burger {
    display: flex;
  }

  .site-header__phone {
    display: none;
  }

  .site-header__nav {
    position: fixed;
    top: 60px;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 199;
    background: #020c26;
    padding: 2rem 1.5rem;
    margin: 0;
    transform: translateX(100%);
    transition: transform 240ms ease;
    overflow-y: auto;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .site-header__nav.is-open {
    transform: translateX(0);
  }

  .header-nav__list {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    gap: 8px;
  }

  .header-nav__link {
    display: flex;
    height: 50px;
    clip-path: polygon(15px 0, 100% 0, 100% 100%, 0 100%, 0 15px);
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .form-group--full {
    grid-column: 1;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .footer-nav__list {
    text-align: left;
  }

  .projects__slide img {
    height: 320px;
  }
}

@media (max-width: 480px) {
  .profile__grid {
    grid-template-columns: 1fr;
  }

  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects__caption {
    flex-direction: column;
    align-items: flex-start;
  }

  .projects__slide img {
    height: 260px;
  }

  .form-checkboxes {
    flex-direction: column;
    gap: .75rem;
  }
}








/* ============================================================
   ПРОФИЛЬ (Карточки со скошенными левыми углами)
   ============================================================ */
.profile__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.profile__card {
  min-height: 100px;
  padding: 1.5rem 1.25rem;
  background: #000E4A; /* Тёмно-синий из макета */
  color: #fff;
  font-size: 0.95rem
  font-weight: 500;
  line-height: 1.4;
  transition: transform var(--tr), background var(--tr);
  
/*  clip-path: polygon(
    15px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 15px
  );*/
  clip-path: polygon(15px 0%, 100% 0%, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0% 100%, 0% 15px);
}

.profile__card:hover {
  background: #14285e;
  transform: translateY(-2px);
}

.profile__card p {
  margin: 0;
}

/* ============================================================
   КЛИЕНТЫ (Список с красными разделителями)
   ============================================================ */
.clients__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.clients__item {
  padding-left: 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--blue);
  line-height: 1.2;
  border-left: 4px solid #b32a1e;
  width: 15%;
}

/* ============================================================
   ПРЕИМУЩЕСТВА (Иконки и текст)
   ============================================================ */
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem 1.5rem;
}

.advantages__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.advantages__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantages__icon img {
  width: 100%;
  height: auto;
}

.advantages__text {
  margin: 0;
  font-size: 0.95rem
  line-height: 1.3;
  color: var(--dark);
}

/* ============================================================
   ПРОЕКТЫ
   ============================================================ */
.projects__slide img {
  display: block;
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.projects__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 6rem 2rem 2rem;
  background: linear-gradient(to top, rgba(2, 17, 54, 0.95) 0%, transparent 100%);
  color: #fff;
}

.projects__name {
  font-size: 1.5rem;
  font-weight: 500;
}

/* Стрелки в темно-синих кругах */
.slider-btn {
  background: #000E4A;
  border: none;
  width: 48px;
  height: 48px;
}
.slider-btn:hover {
  background: var(--blue);
}

/* ============================================================
   ФОРМА СВЯЗИ (Серый фон инпутов, оранжевая кнопка с уголками)
   ============================================================ */
.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.5rem;
  margin-bottom: 2rem;
}

.contact-form__col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-label {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 0.5rem;
  display: block;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #c9cdd4;
  border-radius: 0; /* В макете прямые углы */
  font-size: 0.95rem;
  background: #e9eaec; /* Светло-серый фон из PDF */
  color: var(--dark);
  transition: border-color var(--tr);
}

.form-textarea {
  min-height: 180px;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}

/* Блок подвала формы: чекбоксы слева, кнопка справа (или на новой строке) */
.contact-form__footer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-checkboxes {
  display: flex;
  gap: 2rem;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  cursor: pointer;
}

.form-check input {
  width: 16px;
  height: 16px;
}

.btn-submit {
  align-self: flex-start;
  padding: 1.2rem 4rem;
  background: #c33a21; /* Красно-оранжевый из макета */
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background var(--tr);
  
  /* Скошенные уголки как на макете */
  clip-path: polygon(
    15px 0%, 100% 0%, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0% 100%, 0% 15px
  );
}

.btn-submit:hover {
  background: #9c2d18;
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 900px) {
  .profile__grid,
  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .profile__grid,
  .advantages__grid {
    grid-template-columns: 1fr;
  }
  
  .form-checkboxes {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-submit {
    align-self: stretch;
    width: 100%;
  }

  .clients__list {
    flex-direction: column;
    align-items: flex-start;
  }
}

.site-footer__legal-links {
  display: flex;
  flex-direction: column;
  gap: .375rem;
}


.form-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(13, 27, 62, 0.6);
}

.form-popup[hidden] {
  display: none;
}

.form-popup__dialog {
  position: relative;
  width: min(100%, 460px);
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.form-popup__title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--dark);
}

.form-popup__message {
  font-size: 1rem;
  color: var(--text);
}

.form-popup__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--dark);
}

.is-invalid {
  border-color: #c0392b !important;
}

.form-error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.35;
  color: #c0392b;
}

.form-error[hidden],
.form-error:empty {
  display: none;
}

.form-message {
  width: 100%;
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.form-message[hidden] {
  display: none;
}

.form-message--error {
  color: #8f1f17;
  background: #fdeceb;
  border: 1px solid #f3c5c0;
}

.form-message--success {
  color: #146c43;
  background: #eaf7ef;
  border: 1px solid #b9e2c8;
}

.form-input.is-invalid,
.form-textarea.is-invalid {
  border-color: #c0392b !important;
  box-shadow: 0 0 0 1px rgba(192, 57, 43, 0.15);
}

.form-check input.is-invalid {
  outline: 1px solid #c0392b;
  outline-offset: 2px;
}

.btn-submit:disabled {
  opacity: 0.7;
  pointer-events: none;
}

#form-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

#form-popup[hidden] {
  display: none;
}

#form-popup .popup-inner {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  max-width: 480px;
  width: 90%;
  position: relative;
  text-align: center;
}

#form-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  color: #666;
}

#form-popup-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

#form-popup.is-success #form-popup-title { color: #437a22; }
#form-popup.is-error #form-popup-title { color: #a12c7b; }

#form-popup-message {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}


/* ============================
   ORDER POPUP
   ============================ */

#order-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

#order-popup[hidden] {
  display: none !important;
}

.order-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: overlayFadeIn 0.2s ease forwards;
}

@keyframes overlayFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.order-popup__inner {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  animation: popupSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes popupSlideIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

.order-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  cursor: pointer;
  color: #999;
  border-radius: 8px;
  transition: color 0.18s, background 0.18s;
}
.order-popup__close:hover { color: #333; background: #f0f0f0; }

.order-popup__title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
  line-height: 1.2;
}

.order-popup__subtitle {
  font-size: 14px;
  color: #888;
  margin-bottom: 28px;
  line-height: 1.5;
}

/* ============================
   ORDER FORM
   ============================ */

.order-form { display: flex; flex-direction: column; gap: 18px; }

.order-form__field { display: flex; flex-direction: column; gap: 6px; }

.order-form__label {
  font-size: 14px;
  font-weight: 500;
  color: #444;
}
.order-form__label span { color: #e04; }

.order-form__input {
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  color: #1a1a1a;
  background: #fafafa;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.order-form__input::placeholder { color: #bbb; }
.order-form__input:focus {
  border-color: #01696f; /* замените на цвет вашего бренда */
  background: #fff;
  box-shadow: 0 0 0 3px rgba(1, 105, 111, 0.12);
}
.order-form__input.is-invalid {
  border-color: #e04;
  box-shadow: 0 0 0 3px rgba(220, 0, 68, 0.1);
}

.order-form__error {
  font-size: 13px;
  color: #e04;
  line-height: 1.4;
}

.order-form__submit {
  margin-top: 6px;
  height: 52px;
  background: #01696f; /* замените на цвет вашего бренда */
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.18s, transform 0.12s;
}
.order-form__submit:hover  { background: #0c4e54; }
.order-form__submit:active { transform: scale(0.98); }
.order-form__submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Лоадер-спиннер */
.order-form__submit-loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Mobile */
@media (max-width: 480px) {
  .order-popup__inner { padding: 32px 20px; }
  .order-popup__title { font-size: 20px; }
}

.form-check a {
    color: #0b1a4a;
    text-decoration: underline;
}
/* End */
/* /local/templates/level5/styles.css?178222379926784 */
