/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #1e1e2a 100%);
  color: #1e1e2a;
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ===== ПРЕЛОАДЕР ===== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #1e1e2a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  position: relative;
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 700;
  color: white;
  text-align: center;
  padding: 0 20px;
  width: 100%;
  max-width: 800px;
}

.loader-name {
  margin-bottom: 0.5rem;
  min-height: 3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.loader-subtitle {
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  color: white;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Красный цвет для слова Logistics */
.red-letter {
  color: #8b1e1e;
}

.loader-cursor {
  display: inline-block;
  width: 4px;
  height: 3rem;
  background-color: #f0b90b;
  margin-left: 5px;
  vertical-align: middle;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.letter {
  display: inline-block;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.2s, transform 0.2s;
}
.letter.visible {
  opacity: 1;
  transform: translateX(0);
}
.letter.space {
  width: 0.3em;
}

/* Мобильные стили для прелоадера */
@media (max-width: 768px) {
  .loader-content {
    font-size: clamp(1.5rem, 6vw, 2rem);
    padding: 0 15px;
  }
  .loader-name,
  .loader-subtitle {
    white-space: normal !important;
    word-break: break-word !important;
    width: 100%;
    max-width: 100%;
    text-align: center;
    hyphens: auto;
  }
  .loader-cursor {
    height: 2rem;
  }
}

@media (max-width: 480px) {
  .loader-content {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
  }
  .loader-name {
    font-size: 1.2rem;
  }
  .loader-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 360px) {
  .loader-content {
    font-size: 1.1rem;
    padding: 0 10px;
  }
  .loader-name {
    font-size: 1.1rem;
  }
  .loader-subtitle {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  .loader-cursor {
    height: 1.2rem;
    width: 3px;
    margin-left: 2px;
    vertical-align: middle;
  }
}
/* ===== ШАПКА ===== */
.header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
}

.header__container {
  width: fit-content;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 10px 30px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 50px;
  border: 1px solid rgba(139,30,30,0.2);
  max-width: calc(100% - 40px);
}

.header__logo-link img {
  max-height: 40px;
  width: auto;
}

.header__nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.header__nav a {
  text-decoration: none;
  color: #1e1e2a;
  font-weight: 500;
  transition: color 0.3s;
}

.header__nav a:hover {
  color: #8b1e1e;
}

/* ГАМБУРГЕР (стилизованный чекбокс) */
.header__checkbox {
  display: none;
}

.header__toggle {
  position: relative;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition-duration: 0.3s;
  margin-left: 10px;
}

.header__toggle .bars {
  width: 100%;
  height: 4px;
  background-color: #8b1e1e;
  border-radius: 5px;
  transition-duration: 0.3s;
}

/* Анимация при открытом меню */
.header__checkbox:checked + .header__toggle #bar2 {
  transform: translateY(12px) rotate(60deg);
  transform-origin: right;
}

.header__checkbox:checked + .header__toggle #bar1 {
  transform: translateY(20px) rotate(-60deg);
  transform-origin: left;
}

.header__checkbox:checked + .header__toggle {
  transform: rotate(-90deg);
}

.header__checkbox:checked + .header__toggle #bar3 {
  opacity: 0;
  transform: scaleX(0);
}

/* На десктопе гамбургер скрыт */
@media (min-width: 993px) {
  .header__checkbox,
  .header__toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 50%;
  left: -320px;
  transform: translateY(-50%);
  width: 300px;
  background: white;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  padding: 2rem 1.5rem;
  transition: left 0.3s ease;
  z-index: 200;
  border-radius: 20px;
  max-height: 90vh;
  overflow-y: auto;
}

.mobile-menu.active {
  left: 20px;
}

.mobile-menu__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #8b1e1e;
}

.mobile-menu nav ul {
  list-style: none;
  margin-top: 2rem;
}

.mobile-menu nav li {
  margin-bottom: 1.5rem;
}

.mobile-menu nav a {
  text-decoration: none;
  color: #1e1e2a;
  font-size: 1.2rem;
  font-weight: 500;
  transition: color 0.3s;
}

.mobile-menu nav a:hover {
  color: #8b1e1e;
}

/* Оверлей */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 600px) {
  .mobile-menu {
    width: 260px;
    left: -280px;
  }
  .mobile-menu.active {
    left: 10px;
  }
}

/* ===== ЗАГОЛОВКИ ===== */
.section-title {
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: #1e1e2a;
}

@media (max-width: 768px) {
  .section-title { font-size: 2rem; }
}

/* ===== ГЕРОЙ ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
}

.hero__title {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
  z-index: 2;
  position: relative;
}

.hero__title span {
  color: #f0b90b;
  display: block;
}

.hero__subtitle {
  font-size: 1.8rem;
  font-weight: 300;
  z-index: 2;
  position: relative;
}

.hero__subtitle strong {
  font-weight: 600;
  color: #f0b90b;
}

/* Карточка */
.hero-card {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  width: 280px;
  height: 200px;
  z-index: 20;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.content {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 8px;
  will-change: transform;
}

/* Поворот только через активный класс (для мобильных) */
.hero-card.active .content {
  transform: rotateY(180deg);
}

/* Для десктопа — поворот при наведении */
@media (hover: hover) and (pointer: fine) {
  .hero-card:hover .content {
    transform: rotateY(180deg);
  }
}

.front, .back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 8px;
  overflow: hidden;
  background-color: #151515;
}

.back {
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotateY(0deg);
}

.back::before {
  content: '';
  position: absolute;
  width: 160px;
  height: 160%;
  background: linear-gradient(90deg, transparent, #ff9966, #ff9966, #ff9966, #ff9966, transparent);
  animation: rotation_481 5000ms infinite linear;
}

.back-content {
  position: relative;
  width: 98%;
  height: 98%;
  background-color: #151515;
  border-radius: 7px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 1;
}

.front {
  transform: rotateY(180deg);
  color: white;
}

.front .img {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.front-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.badge {
  background-color: rgba(0,0,0,0.4);
  padding: 3px 10px;
  border-radius: 10px;
  backdrop-filter: blur(2px);
  width: fit-content;
  font-size: 10px;
}

.description {
  box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.3);
  padding: 12px;
  background-color: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  border-radius: 8px;
}

.title {
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.card-footer {
  color: rgba(255,255,255,0.7);
  font-size: 10px;
  margin-bottom: 10px;
}

.card-btn {
  display: block;
  width: 100%;
  padding: 8px;
  background: #ff8866;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 11px;
  font-weight: bold;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: 0.3s;
  cursor: pointer;
  position: relative;
  z-index: 3;
}

.card-btn:hover {
  background: #ff9966;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255,136,102,0.4);
}

/* Анимация вращающейся рамки */
@keyframes rotation_481 {
  0% { transform: rotateZ(0deg); }
  100% { transform: rotateZ(360deg); }
}

/* Плавающие круги */
.circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: #ffbb66;
  position: absolute;
  filter: blur(15px);
  animation: floating 2600ms infinite linear;
}

#bottom {
  background-color: #ff8866;
  left: 100px;
  top: 20px;
  width: 150px;
  height: 150px;
  animation-delay: -800ms;
}

#right {
  background-color: #ff2233;
  left: 20px;
  top: -50px;
  width: 50px;
  height: 50px;
  animation-delay: -1800ms;
}

@keyframes floating {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(10px); }
}

.hero-svg {
  width: 60px;
  height: 60px;
  margin-bottom: 5px;
}

.hero-sub {
  font-size: 10px;
  opacity: 0.7;
}

/* Адаптивность */
@media (max-width: 768px) {
  .hero__title { font-size: 3rem; }
  .hero__subtitle { font-size: 1.4rem; }
  .hero-card { bottom: 50px; }
}
/* ===== О НАС ===== */

/* ===== КНОПКА В СЕКЦИИ "О КОМПАНИИ" ===== */
.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ac3939, #be1a1a);
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 30px;
  margin-top: 25px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px -5px rgba(139,30,30,0.4);
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-weight: 1000;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

.btn-mon {
  color: #ffffff;
  transition: color 0.3s;
}

.btn-group {
  color: #1e1e2a;
  transition: color 0.3s;
}

.about-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(240,185,11,0.3), transparent);
  transition: left 0.5s ease;
  z-index: -1;
}

.about-btn:hover {
  background: linear-gradient(135deg, #6d1717, #8b1e1e);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(139,30,30,0.6);
  border-color: rgba(240,185,11,0.5);
}

.about-btn:hover::before {
  left: 100%;
}

.about-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -5px rgba(139,30,30,0.4);
}

/* Адаптивность */
@media (max-width: 768px) {
  .about-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.95rem;
  }
}

.about {
  padding: 100px 0;
  background: transparent;
}

.about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  background: rgba(255,255,255,0.8);
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.about__addition {
  font-style: italic;
  color: #4a4a5a;
  border-left: 4px solid #8b1e1e;
  padding-left: 20px;
}

.image-card {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.image-card:hover { transform: scale(1.02); }
.image-card img { width: 100%; height: auto; display: block; }

@media (max-width: 992px) {
  .about__container { grid-template-columns: 1fr; text-align: center; }
  .about__addition { border-left: none; border-top: 4px solid #8b1e1e; padding-top: 20px; }
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.advantages {
  padding: 100px 0;
  background: transparent;
}

.advantages__grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.cards-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cards-row.wide {
  margin-top: 20px;
}

.advantage-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  height: 260px;
  width: 240px;
  border-radius: 24px;
  color: white;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
  padding: 25px 20px;
  box-shadow: 0 15px 30px -10px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(5px);
  background: linear-gradient(145deg, var(--grad-start), var(--grad-end));
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.2), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}

.advantage-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 40px -10px rgba(139,30,30,0.4);
}

.advantage-card:hover::before {
  opacity: 1;
}

.advantage-card.wide-card {
  width: 100%;
  max-width: 1040px;
  height: 180px;
  flex-direction: row;
  gap: 30px;
  padding: 30px 40px;
  justify-content: flex-start;
}

.advantage-card .advantage-svg {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  color: #f0b90b;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  transition: transform 0.4s;
}

.advantage-card:hover .advantage-svg {
  transform: scale(1.1) rotate(5deg);
}

.advantage-card.wide-card .advantage-svg {
  margin-bottom: 0;
  margin-right: 20px;
  width: 80px;
  height: 80px;
}

.advantage-card p.tip {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.advantage-card p.second-text {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.5;
  max-width: 200px;
  margin: 0 auto;
}

.advantage-card.wide-card p.second-text {
  max-width: 500px;
}

.card--payment { --grad-start: #8b1e1e; --grad-end: #b84a4a; }
.card--experience { --grad-start: #b84a4a; --grad-end: #d4a00b; }
.card--customs { --grad-start: #d4a00b; --grad-end: #8b1e1e; }
.card--individual { --grad-start: #b84a4a; --grad-end: #f0b90b; }
.card--active { --grad-start: #6d1717; --grad-end: #8b1e1e; }

@media (max-width: 992px) {
  .cards-row { gap: 15px; }
  .advantage-card { width: 210px; height: 240px; padding: 20px 15px; }
  .advantage-card.wide-card { height: auto; flex-direction: column; padding: 30px 20px; }
  .advantage-card.wide-card .advantage-svg { margin-right: 0; margin-bottom: 15px; }
  .advantage-card p.tip { font-size: 1.2rem; }
}

@media (max-width: 768px) {
  .cards-row { gap: 12px; }
  .advantage-card { width: calc(50% - 6px); height: 220px; }
  .advantage-card.wide-card { width: 100%; }
}

@media (max-width: 480px) {
  .advantage-card { width: 100%; height: 200px; }
  .advantage-card.wide-card { height: auto; }
}

.cards-row:hover > .advantage-card:not(:hover) {
  filter: blur(3px);
  transform: scale(0.98);
  opacity: 0.7;
}

/* ===== АККОРДЕОН ===== */
.how {
  padding: 100px 0;
  background: transparent;
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 1.5rem;
  border: none;
  border-radius: 24px;
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05), 0 1px 3px rgba(139,30,30,0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

.accordion-item.active {
  box-shadow: 0 20px 40px -8px rgba(139,30,30,0.2), 0 0 0 1px rgba(240,185,11,0.3);
}

.accordion-header {
  display: flex;
  align-items: center;
  padding: 1.8rem 2rem;
  cursor: pointer;
  gap: 20px;
  background: white;
  transition: background 0.3s;
  position: relative;
  z-index: 2;
}

.accordion-header:hover { background: rgba(139,30,30,0.02); }

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(139,30,30,0.1);
  border-radius: 16px;
  transition: all 0.3s;
}

.step-icon svg {
  width: 28px;
  height: 28px;
  stroke: #8b1e1e;
  transition: stroke 0.3s;
}

.accordion-item.active .step-icon {
  background: linear-gradient(135deg, #f0b90b, #d4a00b);
  box-shadow: 0 10px 20px -5px rgba(240,185,11,0.3);
}
.accordion-item.active .step-icon svg { stroke: #1e1e2a; }

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, #8b1e1e, #b84a4a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
  color: white;
  box-shadow: 0 10px 15px -5px rgba(139,30,30,0.4);
  transition: all 0.3s;
}

.accordion-item.active .step-number {
  background: linear-gradient(145deg, #f0b90b, #d4a00b);
  color: #1e1e2a;
  box-shadow: 0 10px 20px -5px rgba(240,185,11,0.4);
  transform: scale(1.05);
}

.step-title {
  font-size: 1.4rem;
  font-weight: 600;
  flex-grow: 1;
  color: #1e1e2a;
  letter-spacing: -0.02em;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  position: relative;
}
.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background-color: #8b1e1e;
  border-radius: 2px;
  transition: all 0.3s;
}
.accordion-icon::before {
  width: 2px;
  height: 18px;
  top: 3px;
  left: 11px;
}
.accordion-icon::after {
  width: 18px;
  height: 2px;
  top: 11px;
  left: 3px;
}
.accordion-item.active .accordion-icon::before {
  transform: rotate(90deg);
  background-color: #f0b90b;
}
.accordion-item.active .accordion-icon::after {
  background-color: #f0b90b;
}

.accordion-content {
  max-height: 0;
  padding: 0 2rem;
  background: #fafafa;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.accordion-item.active .accordion-content {
  max-height: 600px;
  padding: 0 2rem 2rem 2rem;
}

.step1-layout {
  display: flex;
  gap: 40px;
  align-items: center;
}
.step1-text { flex: 1; }
.step1-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #1e1e2a;
  margin-bottom: 25px;
}
.step-image-right {
  flex: 1;
  height: 240px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.step-image-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.step-image-right:hover img { transform: scale(1.05); }

.step-row {
  display: flex;
  gap: 40px;
  align-items: center;
}
.step-row.reverse { flex-direction: row-reverse; }
.step-text { flex: 1; }
.step-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #1e1e2a;
  margin-bottom: 0;
}
.step-image {
  flex: 1;
  height: 240px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.step-image:hover img { transform: scale(1.05); }

@media (max-width: 768px) {
  .accordion-header { padding: 1.5rem; gap: 12px; }
  .step-icon { width: 40px; height: 40px; }
  .step-icon svg { width: 22px; height: 22px; }
  .step-number { width: 40px; height: 40px; font-size: 1.2rem; }
  .step-title { font-size: 1.2rem; }
  .step1-layout, .step-row, .step-row.reverse { flex-direction: column; gap: 20px; }
  .step-image-right, .step-image { width: 100%; height: 200px; }
  .step1-text p, .step-text p { font-size: 1rem; }
}

@media (max-width: 480px) {
  .accordion-header { padding: 1.2rem; }
  .step-title { font-size: 1.1rem; }
  .accordion-content { padding: 0 1.2rem; }
  .accordion-item.active .accordion-content { padding: 0 1.2rem 1.5rem 1.2rem; }
}

.animated-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 32px;
  border: 4px solid transparent;
  font-size: 16px;
  background: transparent;
  border-radius: 100px;
  font-weight: 600;
  color: #8b1e1e;
  box-shadow: 0 0 0 2px #8b1e1e;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23,1,0.32,1);
  text-decoration: none;
  margin-top: 20px;
}
.animated-button svg { position: absolute; width: 24px; fill: #8b1e1e; z-index: 9; transition: all 0.8s; }
.animated-button .arr-1 { right: 16px; }
.animated-button .arr-2 { left: -25%; }
.animated-button .circle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 20px; height: 20px;
  background: #f0b90b;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s;
  z-index: 0;
}
.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s;
  color: #8b1e1e;
}
.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #1e1e2a;
  border-radius: 12px;
}
.animated-button:hover .arr-1 { right: -25%; }
.animated-button:hover .arr-2 { left: 16px; }
.animated-button:hover .text { transform: translateX(12px); color: #1e1e2a; }
.animated-button:hover svg { fill: #1e1e2a; }
.animated-button:active { scale: 0.95; box-shadow: 0 0 0 4px #f0b90b; }
.animated-button:hover .circle { width: 220px; height: 220px; opacity: 1; background: #f0b90b; }
/* Стили для нового этапа "Предоставьте документы" */
.docs-intro {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: #1e1e2a;
}

.docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 25px;
}

.docs-list {
  list-style: none;
  padding: 0;
}

.docs-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: #4a4a5a;
  font-size: 0.95rem;
  line-height: 1.5;
}

.docs-list li::before {
  content: '📄';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1rem;
  opacity: 0.7;
}

.docs-note {
  font-style: italic;
  color: #8b1e1e;
  background: rgba(139, 30, 30, 0.05);
  padding: 15px 20px;
  border-radius: 16px;
  border-left: 4px solid #f0b90b;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .docs-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .docs-list li {
    font-size: 0.9rem;
  }
}
/* ===== СЛАЙДЕР УСЛУГ (с прокруткой длинного текста) ===== */
.services {
  padding: 100px 0;
  background: transparent;
}

.services-swiper {
  width: 100%;
  height: 700px; /* фиксированная высота, слайдер не ломается */
  padding: 20px 0 60px;
  overflow: hidden;
}

.services-swiper .swiper-slide {
  background-position: center;
  background-size: cover;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transition: all 0.3s;
  position: relative;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.services-swiper .swiper-slide::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%);
  z-index: 1;
}

.services-swiper .swiper-slide .swiper-content {
  position: absolute;
  bottom: 6%;
  left: 6%;
  right: 6%;
  width: auto;
  max-width: 600px;
  padding: 25px 30px;
  color: #fff;
  background: rgba(139,30,30,0.9);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  border-left: 6px solid #f0b90b;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3);
  z-index: 2;
  transition: transform 0.4s, background 0.3s;
}

.services-swiper .swiper-slide:hover .swiper-content {
  background: rgba(139,30,30,0.95);
  transform: translateY(-5px);
  box-shadow: 0 30px 50px -10px rgba(0,0,0,0.4);
}

.services-swiper .swiper-slide .swiper-content .swiper-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.services-swiper .swiper-slide .swiper-content .swiper-caption {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 15px;
  background: rgba(240,185,11,0.2);
  border-radius: 40px;
  margin-bottom: 12px;
  border: 1px solid rgba(240,185,11,0.4);
}

.services-swiper .swiper-slide .swiper-content .swiper-description {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  opacity: 0.9;
  /* Прокрутка, если текст не помещается */
  max-height: 120px; /* примерно 5-6 строк при таком line-height */
  overflow-y: auto;
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: #f0b90b rgba(255,255,255,0.2);
}

.services-swiper .swiper-slide .swiper-content .swiper-description::-webkit-scrollbar {
  width: 5px;
}

.services-swiper .swiper-slide .swiper-content .swiper-description::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
}

.services-swiper .swiper-slide .swiper-content .swiper-description::-webkit-scrollbar-thumb {
  background: #f0b90b;
  border-radius: 10px;
}

.services-swiper .swiper-slide .swiper-content .swiper-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 24px;
  background: linear-gradient(135deg, #f0b90b, #d4a00b);
  border-radius: 50px;
  transition: all 0.3s;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 10px 20px -5px rgba(240,185,11,0.4);
}

.services-swiper .swiper-slide .swiper-content .swiper-link:hover {
  background: linear-gradient(135deg, #d4a00b, #f0b90b);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(240,185,11,0.6);
}

/* Пагинация и стрелки без изменений */
.services-swiper .swiper-pagination { bottom: 0 !important; }
.services-swiper .swiper-pagination-bullet {
  margin: 0 12px;
  width: 12px;
  height: 12px;
  background: #8b1e1e;
  opacity: 0.4;
  transition: all 0.3s;
  position: relative;
}
.services-swiper .swiper-pagination-bullet::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 20px; height: 20px;
  transform: translate(-50%,-50%);
  border: 2px solid transparent;
  border-radius: 50%;
  transition: all 0.3s;
}
.services-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: #f0b90b;
  transform: scale(1.2);
}
.services-swiper .swiper-pagination-bullet-active::before { border-color: #f0b90b; }

.services-swiper .swiper-button-prev,
.services-swiper .swiper-button-next {
  color: #fff;
  background: #8b1e1e;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(139,30,30,0.4);
  transition: all 0.3s;
  backdrop-filter: blur(5px);
  border: 2px solid rgba(240,185,11,0.3);
}
.services-swiper .swiper-button-prev:after,
.services-swiper .swiper-button-next:after { font-size: 24px; font-weight: bold; }
.services-swiper .swiper-button-prev:hover,
.services-swiper .swiper-button-next:hover {
  background: #f0b90b;
  color: #1e1e2a;
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(240,185,11,0.5);
  border-color: #8b1e1e;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .services-swiper { height: 650px; }
  .services-swiper .swiper-slide .swiper-content { padding: 20px 25px; }
  .services-swiper .swiper-slide .swiper-content .swiper-title { font-size: 22px; }
}
@media (max-width: 992px) {
  .services-swiper { height: 600px; }
  .services-swiper .swiper-slide .swiper-content { bottom: 5%; left: 5%; right: 5%; padding: 18px 22px; }
  .services-swiper .swiper-slide .swiper-content .swiper-title { font-size: 20px; }
  .services-swiper .swiper-slide .swiper-content .swiper-caption { font-size: 13px; }
  .services-swiper .swiper-slide .swiper-content .swiper-description { font-size: 13px; max-height: 110px; }
  .services-swiper .swiper-slide .swiper-content .swiper-link { font-size: 13px; padding: 8px 20px; }
  .services-swiper .swiper-button-prev, .services-swiper .swiper-button-next { width: 44px; height: 44px; }
  .services-swiper .swiper-button-prev:after, .services-swiper .swiper-button-next:after { font-size: 20px; }
}
@media (max-width: 768px) {
  .services-swiper { height: 550px; padding: 20px 0 50px; }
  .services-swiper .swiper-slide .swiper-content { padding: 15px 18px; border-left-width: 4px; }
  .services-swiper .swiper-slide .swiper-content .swiper-title { font-size: 18px; }
  .services-swiper .swiper-slide .swiper-content .swiper-caption { font-size: 12px; padding: 4px 12px; }
  .services-swiper .swiper-slide .swiper-content .swiper-description { font-size: 12px; max-height: 100px; }
  .services-swiper .swiper-slide .swiper-content .swiper-link { font-size: 12px; padding: 7px 18px; }
  .services-swiper .swiper-pagination-bullet { width: 10px; height: 10px; margin: 0 8px; }
}
@media (max-width: 576px) {
  .services-swiper { height: 500px; }
  .services-swiper .swiper-slide { border-radius: 20px; }
  .services-swiper .swiper-slide .swiper-content { bottom: 4%; left: 4%; right: 4%; padding: 12px 15px; }
  .services-swiper .swiper-slide .swiper-content .swiper-title { font-size: 16px; margin-bottom: 5px; }
  .services-swiper .swiper-slide .swiper-content .swiper-caption { font-size: 11px; margin-bottom: 8px; }
  .services-swiper .swiper-slide .swiper-content .swiper-description { font-size: 11px; max-height: 90px; }
  .services-swiper .swiper-slide .swiper-content .swiper-link { font-size: 11px; padding: 6px 15px; }
  .services-swiper .swiper-button-prev, .services-swiper .swiper-button-next { width: 36px; height: 36px; }
  .services-swiper .swiper-button-prev:after, .services-swiper .swiper-button-next:after { font-size: 16px; }
}
@media (max-width: 400px) {
  .services-swiper { height: 450px; }
  .services-swiper .swiper-slide .swiper-content .swiper-title { font-size: 14px; }
  .services-swiper .swiper-slide .swiper-content .swiper-caption { font-size: 10px; }
  .services-swiper .swiper-slide .swiper-content .swiper-description { font-size: 10px; max-height: 80px; }
  .services-swiper .swiper-slide .swiper-content .swiper-link { font-size: 10px; padding: 5px 12px; }
}

/* ===== КОНТАКТЫ / ФУТЕР ===== */
.contacts {
  background: transparent;
  color: #ffffff;
  padding: 60px 0 0;
}
.contacts .section-title { color: #ffffff; margin-bottom: 40px; }
.contacts .section-title::after { background: linear-gradient(90deg, #8b1e1e, #f0b90b); }

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.2fr; /* последняя колонка шире */
  gap: 40px;
  margin-bottom: 50px;
}

.contacts__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 15px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(139, 30, 30, 0.1), 0 5px 10px -5px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(139, 30, 30, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.footer-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(139, 30, 30, 0.2);
}

.footer-logo img {
  display: block;
  max-height: 40px;
  width: auto;
}
.brand-description {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
}


.footer-social { display: flex; gap: 15px; }
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  border-radius: 50%;
  color: #8b1e1e;
  font-size: 1.2rem;
  transition: all 0.3s;
  border: 1px solid rgba(139,30,30,0.1);
}
.social-icon:hover {
  background: #8b1e1e;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(139,30,30,0.2);
}

.contacts__nav h3,
.contacts__services h3,
.contacts__info h3 {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.contacts__nav h3::after,
.contacts__services h3::after,
.contacts__info h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #f0b90b;
  border-radius: 2px;
}
.contacts__nav ul, .contacts__services ul { list-style: none; }
.contacts__nav li, .contacts__services li { margin-bottom: 10px; }
.contacts__nav a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}
.contacts__nav a:hover {
  color: #ffffff;
  transform: translateX(5px);
}
.contacts__services li {
  color: #ffffff;
  font-size: 0.95rem;
  transition: all 0.3s;
  cursor: default;
}
.contacts__services li:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.contacts__info-map {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.contacts__info address { font-style: normal; color: #ffffff; }
.contacts__info p {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}
.contacts__info i {
  width: 20px;
  color: #8b1e1e;
  font-size: 1.1rem;
}
.contacts__info a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}
.contacts__info a:hover { color: #8b1e1e; }

.contacts__map {
  width: 100%;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border: 1px solid rgba(139,30,30,0.1);
}
.contacts__map iframe { width: 100%; height: 100%; border: none; }

.footer-bottom {
  background: #f0f5fa; /* светлее основного фона */
  padding: 20px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(139,30,30,0.1);
}
.footer-bottom__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.copyright { color: #ffffff; font-size: 0.9rem; margin: 0; }
.privacy-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.privacy-link:hover { color: #8b1e1e; }

@media (max-width: 1024px) {
  .contacts__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .contacts__grid { grid-template-columns: 1fr; gap: 30px; }
  .contacts__info-map { flex-direction: column; }
  .contacts__map { height: 250px; }
  .footer-bottom__container { flex-direction: column; text-align: center; }
}

/* ===== КНОПКА ЗАКАЗАТЬ ===== */
.button-wrapper { display: flex; justify-content: center; margin: 40px 0; }
.type--C { --line_color: #8b1e1e; --back_color: #fef5e7; }
.button {
  position: relative; width: 240px; height: 56px; text-decoration: none; font-size: 14px;
  font-weight: bold; color: var(--line_color); letter-spacing: 2px; transition: all 0.3s; display: inline-block;
}
.button__text { display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; }
.button::before, .button::after, .button__text::before, .button__text::after {
  content: ""; position: absolute; height: 3px; border-radius: 2px; background: var(--line_color); transition: all 0.5s;
}
.button::before { top: 0; left: 54px; width: calc(100% - 56px*2 - 16px); }
.button::after { top: 0; right: 54px; width: 8px; }
.button__text::before { bottom: 0; right: 54px; width: calc(100% - 56px*2 - 16px); }
.button__text::after { bottom: 0; left: 54px; width: 8px; }
.button__line { position: absolute; top: 0; width: 56px; height: 100%; overflow: hidden; }
.button__line::before {
  content: ""; position: absolute; top: 0; width: 150%; height: 100%; box-sizing: border-box;
  border-radius: 300px; border: solid 3px var(--line_color);
}
.button__line:nth-child(1), .button__line:nth-child(1)::before { left: 0; }
.button__line:nth-child(2), .button__line:nth-child(2)::before { right: 0; }
.button:hover { letter-spacing: 6px; }
.button:hover::before, .button:hover .button__text::before { width: 8px; }
.button:hover::after, .button:hover .button__text::after { width: calc(100% - 56px*2 - 16px); }
.button__drow1, .button__drow2 { position: absolute; z-index: -1; border-radius: 16px; transform-origin: 16px 16px; }
.button__drow1 { top: -16px; left: 40px; width: 32px; height: 0; transform: rotate(30deg); }
.button__drow2 { top: 44px; left: 77px; width: 32px; height: 0; transform: rotate(-127deg); }
/* ... остальные стили кнопки (длинные) ... */
/* для краткости они опущены, но в реальном коде их нужно сохранить */

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal-overlay {
  position: fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.6);
  backdrop-filter: blur(8px); display:flex; justify-content:center; align-items:center;
  z-index:1000; opacity:0; visibility:hidden; transition:all 0.4s ease;
}
.modal-overlay.active { opacity:1; visibility:visible; }
.modal-container {
  background: linear-gradient(145deg, #ffffff, #fcf5f0);
  border-radius: 32px; padding:40px 35px; width:90%; max-width:520px;
  box-shadow:0 30px 60px -10px rgba(139,30,30,0.3), 0 0 0 1px rgba(240,185,11,0.2) inset;
  position:relative; transform:scale(0.9) translateY(20px); transition:transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
  border:1px solid rgba(240,185,11,0.3);
}
.modal-overlay.active .modal-container { transform:scale(1) translateY(0); }
.modal-close {
  position:absolute; top:18px; right:22px; font-size:32px; background:none; border:none;
  cursor:pointer; color:#8b1e1e; width:44px; height:44px; display:flex; align-items:center;
  justify-content:center; border-radius:50%; transition:all 0.3s; z-index:10; line-height:1;
}
.modal-close:hover {
  background:#f0b90b; color:white; transform:rotate(90deg) scale(1.1);
  box-shadow:0 10px 20px -5px rgba(240,185,11,0.4);
}
.modal-title {
  font-size:30px; font-weight:700; margin-bottom:30px; color:#8b1e1e; text-align:center;
  letter-spacing:-0.02em; text-shadow:0 2px 5px rgba(240,185,11,0.2); position:relative; padding-bottom:15px;
}
.modal-title::after {
  content:''; position:absolute; bottom:0; left:50%; transform:translateX(-50%);
  width:60px; height:4px; background:linear-gradient(90deg, #8b1e1e, #f0b90b); border-radius:4px;
}
.progress-bar-container {
  width:100%; height:8px; background:#e9e2dd; border-radius:30px; margin-bottom:30px;
  overflow:hidden; box-shadow:inset 0 2px 4px rgba(0,0,0,0.1);
}
.progress-bar-fill {
  height:100%; background:linear-gradient(90deg, #f0b90b, #d4a00b); width:20%;
  transition:width 0.3s ease; border-radius:30px; box-shadow:0 0 10px #f0b90b;
  position:relative; overflow:hidden;
}
.progress-bar-fill::after {
  content:''; position:absolute; top:0; left:-100%; width:100%; height:100%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation:shimmer 1.5s infinite;
}
@keyframes shimmer { 100% { left:100%; } }
.step { text-align:center; }
.step label {
  display:block; font-weight:600; margin-bottom:12px; color:#1e1e2a;
  font-size:1.2rem; text-align:left; letter-spacing:-0.01em;
}
.step input, .step select, .step textarea {
  width:100%; padding:16px 20px; border:2px solid #e0d6d0; border-radius:20px;
  margin-bottom:25px; font-family:'Inter',sans-serif; font-size:1rem; transition:all 0.3s;
  background:white; box-shadow:0 4px 10px rgba(0,0,0,0.02);
}
.step input:focus, .step select:focus, .step textarea:focus {
  outline:none; border-color:#f0b90b; box-shadow:0 0 0 4px rgba(240,185,11,0.15), 0 4px 15px rgba(0,0,0,0.05);
}
.step input:hover, .step select:hover, .step textarea:hover { border-color:#8b1e1e; }
.step select {
  cursor:pointer; appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b1e1e' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat:no-repeat; background-position:right 20px center; background-size:16px;
}
.next-btn, .submit-btn {
  background:linear-gradient(135deg, #8b1e1e, #6d1717); color:white; border:none;
  padding:16px 30px; border-radius:50px; font-weight:600; font-size:1.1rem; cursor:pointer;
  transition:all 0.3s; width:100%; letter-spacing:0.5px;
  box-shadow:0 10px 25px -5px rgba(139,30,30,0.4); border:1px solid rgba(255,255,255,0.2);
  position:relative; overflow:hidden;
}
.next-btn::before, .submit-btn::before {
  content:''; position:absolute; top:50%; left:50%; width:0; height:0;
  border-radius:50%; background:rgba(255,255,255,0.2); transform:translate(-50%,-50%);
  transition:width 0.5s, height 0.5s;
}
.next-btn:hover::before, .submit-btn:hover::before { width:300px; height:300px; }
.next-btn:hover, .submit-btn:hover {
  background:linear-gradient(135deg, #6d1717, #8b1e1e); transform:translateY(-3px);
  box-shadow:0 15px 30px -5px rgba(139,30,30,0.6);
}
.summary-list {
  list-style:none; text-align:left; background:#f9f5f0; border-radius:20px;
  padding:20px; margin-bottom:25px; border:1px solid rgba(240,185,11,0.3);
}
.summary-list li {
  margin-bottom:12px; color:#1e1e2a; font-size:1rem; padding:10px 15px;
  background:white; border-radius:16px; box-shadow:0 2px 5px rgba(0,0,0,0.02);
  border-left:4px solid #f0b90b;
}
.summary-list li strong { color:#8b1e1e; margin-right:8px; font-weight:600; }
.step-5 p { font-size:1.1rem; margin-bottom:15px; color:#1e1e2a; text-align:left; }

@media (max-width:600px) {
  .modal-container { padding:30px 25px; width:95%; }
  .modal-title { font-size:26px; margin-bottom:25px; }
  .step input, .step select, .step textarea { padding:14px 18px; margin-bottom:20px; }
  .next-btn, .submit-btn { padding:14px 20px; font-size:1rem; }
  .summary-list { padding:15px; }
  .summary-list li { padding:8px 12px; font-size:0.95rem; }
}
@media (max-width:400px) {
  .modal-container { padding:25px 20px; }
  .modal-title { font-size:24px; }
  .step label { font-size:1rem; }
}

/* Исправление видимости гамбургера на мобильных */
@media (max-width: 992px) {
  .header__container { gap: 10px !important; }
  .header__toggle { display: flex !important; }
  .header__nav { display: none !important; }
}


