/* Общие стили кнопок */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background-color: var(--secondary);
  color: white;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  border: none;
  cursor: pointer;
  margin: 0;
  font-size: 1rem;
  box-shadow: 0 10px 20px rgba(34, 85, 245, 0.18);
}

.btn:hover {
  background-color: #1b49e6;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(34, 85, 245, 0.25);
}

.btn-outline {
  background-color: white;
  border: 1px solid #dfe4f3;
  color: #193fbe;
}

.btn-outline:hover {
  background-color: #f2f5ff;
  color: #193fbe;
}

.btn-accent {
  background-color: var(--accent);
  color: #1f1c1c;
  box-shadow: 0 8px 22px rgba(34, 40, 20, 0.14);
}

.btn-accent:hover {
  background-color: #b4ea25;
  box-shadow: 0 10px 26px rgba(34, 40, 20, 0.18);
}

.btn:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(34, 85, 245, 0.16);
}

/* Герой-секция */
.hero {
  position: relative;
  width: 100%;
  margin: 0 auto;
  background: linear-gradient(140deg, rgba(236, 240, 255, 0) 29.68%, rgba(227, 237, 255, 0.5) 58.82%, rgba(211, 219, 254, 0.5) 74.13%, rgba(226, 221, 251, 0.5) 86.2%), #f7f9ff;
  padding: 50px 0;
  text-align: left;
  color: var(--primary);
  overflow: hidden;
  animation: fadeIn 0.6s ease-out;
  border-radius: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.hero-bg {
  position: absolute;
  right: 0;
  top: -20%;
  width: min(420px, 100%);
  height: 420px;
  background: radial-gradient(circle at 30% 30%, rgba(34, 85, 245, 0.15), rgba(0, 162, 255, 0.1));
  filter: blur(10px);
  border-radius: 50%;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 48px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-media {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.hero-media-card {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  padding: 16px;
  box-shadow: 0 20px 50px rgba(34, 85, 245, 0.18);
  border: 1px solid #e3e8f7;
  width: 100%;
  max-width: none;
}

.hero-media-card img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 20px;
}

.hero-media-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  color: var(--primary);
  box-shadow: 0 8px 16px rgba(34, 85, 245, 0.12);
}

.hero-media-badge strong {
  font-size: 1rem;
}

.hero-title {
  font-size: 3.2rem;
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--gray);
  max-width: 620px;
  margin-left: 0;
  margin-right: 0;
  line-height: 1.6;
}

.hero-subtitle .hero-highlight {
  background: #bbff00;
  color: #1f1c1c;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 600;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 20px;
}

.hero-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

/* Pills */
.pill-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.pill {
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid #d5dde8;
  background: #ffffff;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition:
  background-color 0.28s ease,
  color 0.28s ease,
  border-color 0.28s ease,
  box-shadow 0.28s ease,
  transform 0.2s ease;
}

.pill:hover {
  background: #f3f5fa;
  border-color: #c8d2e4;
  transform: translateY(-1px);
}

.pill:active {
  transform: translateY(0);
}

.pill:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

.pill--active {
  background: var(--secondary);
  color: white;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(34, 85, 245, 0.28);
}

.pill--active:hover {
  background: #1b49e6;
  color: #fff;
  border-color: transparent;
}

.tariff-panels {
  position: relative;
}

.tariff-panel[hidden] {
  display: none !important;
}

.tariff-panel:not([hidden]) {
  animation: tariffPanelEnter 0.38s ease;
}

@keyframes tariffPanelEnter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
to {
  opacity: 1;
  transform: translateY(0);
}
}

/* Tariff cards */
.tariff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* Секция услуг — компактный блок относительно остальных секций */
#services.section {
  background: linear-gradient(180deg, #eceff5 0%, #f2f4fa 38%, #f7f9ff 100%);
  padding-top: 28px;
  padding-bottom: 32px !important;
}

#services .pill-row {
  margin-bottom: 12px;
}

#services .section-heading {
  margin-bottom: 14px;
  gap: 6px;
}

/* Плашка по ширине контейнера (как остальные блоки), без отдельного max-width */
#services .tariff-life {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 12px 12px 14px;
  border-radius: 16px;
  background: #fbfbfc;
  border: 1px solid #e6e9f0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  box-sizing: border-box;
}

#services .tariff-grid--life {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  align-items: stretch;
}

#services .tariff-grid--life > .tariff-card {
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Герой визуально как боковые: колонка, фото сверху на всю ширину, футер внизу карточки */
#services .tariff-grid--life > .tariff-card--hero .tariff-card--hero__inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
  padding: 0;
  gap: 0;
}

#services .tariff-grid--life > .tariff-card--hero .tariff-card--hero__copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 10px 12px 12px;
}

#services .tariff-grid--life > .tariff-card--hero .tariff-card__footer {
  margin-top: auto;
}

#services .tariff-grid--life .tariff-card--hero__logos {
  display: none;
}

#services .tariff-grid--life .tariff-card--hero__visual {
  order: -1;
  width: 100%;
  max-width: none;
  margin: 0;
}

/* Десктоп: три одинаковых карточки, одинаковая высота превью */
@media (min-width: 860px) {
  #services .tariff-grid--life {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
  }

#services .tariff-grid--life .tariff-card--hero__visual,
#services .tariff-grid--life .tariff-card--side .tariff-card__media {
  height: 96px;
  min-height: 96px;
  max-height: 96px;
}

#services .tariff-grid--life .tariff-card--side:hover .tariff-card__media {
  height: 96px;
}
}

/* Узкий планшет: одна колонка — ниже герой снова «как карточка» */
@media (min-width: 640px) and (max-width: 859px) {
  #services .tariff-grid--life {
    grid-template-columns: 1fr;
  }
}

/* Превью: одна высота у всех карточек, без вылезания картинки за скругление */
#services .tariff-grid--life .tariff-card--hero__visual,
#services .tariff-grid--life .tariff-card--side .tariff-card__media {
  height: 88px;
  min-height: 88px;
  max-height: 88px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}

#services .tariff-grid--life .tariff-card--hero__visual img,
#services .tariff-grid--life .tariff-card__media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 600px) {
  #services .tariff-life {
    padding: 8px 8px 10px;
    border-radius: 14px;
  }

#services .tariff-grid--life .tariff-card--hero__visual,
#services .tariff-grid--life .tariff-card--side .tariff-card__media {
  height: 72px;
  min-height: 72px;
  max-height: 72px;
}

#services .tariff-grid--life .tariff-card--side:hover .tariff-card__media {
  height: 72px;
}
}

/* Плотная типографика и мелкие контролы в блоке услуг */
#services .tariff-grid--life .tariff-card--hero,
#services .tariff-grid--life .tariff-card--side {
  border-radius: 14px;
  overflow: hidden;
}

#services .tariff-grid--life .tariff-mini-ico {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  font-size: 0.72rem;
}

#services .tariff-grid--life .tariff-card--hero .tariff-card__head {
  margin-bottom: 4px;
}

#services .tariff-grid--life .tariff-card--hero .tariff-card__head h3 {
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.2;
}

#services .tariff-grid--life .tariff-card--hero .tariff-card__badges {
  margin-bottom: 4px;
}

#services .tariff-grid--life .tariff-card--hero .tariff-list--short {
  margin-bottom: 4px;
}

#services .tariff-grid--life .tariff-card--hero .tariff-list--short li {
  font-size: 0.78rem;
  line-height: 1.28;
}

#services .tariff-grid--life .tariff-price--hero {
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
}

#services .tariff-grid--life .tariff-card--side .tariff-card__body {
  padding: 10px 12px 12px;
}

#services .tariff-grid--life .tariff-card--side .tariff-card__head {
  margin-bottom: 4px;
  padding-right: 30px;
}

#services .tariff-grid--life .tariff-card--side .tariff-card__head h3 {
  font-size: 0.92rem;
  line-height: 1.2;
}

#services .tariff-grid--life .tariff-card--side .tariff-card__badges {
  margin-bottom: 4px;
}

#services .tariff-grid--life .tariff-card--side .tariff-list--short {
  margin-bottom: 4px;
}

#services .tariff-grid--life .tariff-card--side .tariff-list--short li {
  font-size: 0.76rem;
  line-height: 1.28;
}

#services .tariff-grid--life .tariff-card--side .tariff-price {
  font-size: 0.92rem;
}

#services .tariff-grid--life .tariff-badge {
  padding: 3px 7px;
  font-size: 0.68rem;
}

#services .tariff-grid--life .tariff-card__badges {
  gap: 4px;
}

#services .tariff-grid--life .tariff-actions--compact .btn-accent {
  padding: 6px 12px;
  font-size: 0.78rem;
}

#services .tariff-grid--life .tariff-info-icon {
  width: 32px;
  height: 32px;
  font-size: 0.78rem;
}

#services .tariff-grid--life .tariff-card__footer {
  gap: 6px;
}

#services .tariff-view-all {
  margin-top: 10px;
}

@media (max-width: 768px) {
  #services .tariff-grid--life .tariff-card--hero__inner {
    padding: 0;
  }

#services .tariff-grid--life .tariff-card--hero__visual {
  margin: 0;
  min-height: 0;
}
}

/* Герой в витрине: та же логика, что у боковых карточек — фото сверху на всю ширину */
.tariff-card--hero {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 10px 36px rgba(25, 25, 50, 0.08);
  border: 1px solid #e4e9f2;
  overflow: hidden;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tariff-card--hero.tariff-card--highlight {
  box-shadow: 0 14px 40px rgba(34, 85, 245, 0.14);
  border-color: rgba(34, 85, 245, 0.22);
}

.tariff-card--hero__inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: 0;
  padding: 0;
}

.tariff-card--hero__copy {
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  justify-content: flex-start;
}

.tariff-card--hero .tariff-card__head {
  margin-bottom: 12px;
}

.tariff-card--hero .tariff-card__head .tariff-card__icon {
  display: none;
}

.tariff-card--hero .tariff-card__head h3 {
  font-size: clamp(1.28rem, 2.1vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tariff-card--hero__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tariff-mini-ico {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #e8eeff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2255f5;
  font-size: 0.92rem;
}

.tariff-card--hero__visual {
  position: relative;
  order: -1;
  width: 100%;
  margin: 0;
  flex-shrink: 0;
  min-height: 160px;
  max-height: 200px;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  background: linear-gradient(160deg, #dde5f7, #eef2ff);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.tariff-card--hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.tariff-card--hero .tariff-card__badges {
  margin-bottom: 14px;
}

.tariff-list--short {
  margin-bottom: 12px;
}

.tariff-card--hero .tariff-list--short li {
  font-size: 0.92rem;
}

.tariff-grid--life .tariff-card--hero .tariff-card__footer {
  margin-top: auto;
  padding-top: 6px;
}

.tariff-price--hero {
  font-size: clamp(1.35rem, 2.4vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tariff-actions--compact {
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 11px;
}

.tariff-grid--life .tariff-actions--compact .btn-accent {
  padding: 11px 24px;
  font-weight: 700;
  font-size: 0.95rem;
}

.tariff-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  font-size: 0.95rem;
  background: #fff;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tariff-info-icon:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-1px);
}

/* Узкие карточки: единый белый блок, фото сверху без «ступеньки» */
.tariff-card--side {
  background: #fff;
  border-radius: 24px;
  border: 1px solid #e4e9f2;
  box-shadow: 0 8px 28px rgba(25, 25, 50, 0.07);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tariff-card--side .tariff-card__media {
  height: 152px;
  border-radius: 0;
}

.tariff-card--side .tariff-card__body {
  padding: 20px 18px 22px;
  margin-top: 0;
  border-radius: 0;
  box-shadow: none;
  border-top: 1px solid #eef1f6;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.tariff-card--side .tariff-card__head {
  margin-bottom: 10px;
  padding-right: 48px;
}

.tariff-card--side .tariff-card__head h3 {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tariff-card--side .tariff-card__badges {
  margin-bottom: 12px;
}

.tariff-card--side .tariff-list--short {
  margin-bottom: 10px;
}

.tariff-grid--life .tariff-card--side .tariff-card__footer {
  margin-top: auto;
  padding-top: 4px;
}

.tariff-card--side .tariff-price {
  font-size: 1.18rem;
  font-weight: 800;
}

.tariff-view-all {
  margin: 24px 0 0;
  text-align: right;
}

.tariff-view-all__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--secondary);
  text-decoration: none;
}

.tariff-view-all__link:hover {
  text-decoration: underline;
}

.tariff-grid--life .tariff-card--hero:hover,
.tariff-grid--life .tariff-card--side:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(25, 25, 50, 0.1);
}

#services .tariff-grid--life .tariff-card--side:hover .tariff-card__media {
  height: 88px;
  opacity: 1;
  transform: none;
}

.tariff-grid--life .tariff-card--side:hover .tariff-card__body {
  margin-top: 0;
  border-radius: 0;
  transform: none;
  padding-top: 20px;
  padding-bottom: 22px;
  box-shadow: none;
}

#services .tariff-grid--life .tariff-card--side:hover .tariff-card__body {
  padding-top: 8px;
  padding-bottom: 10px;
}

#services .tariff-grid--life .tariff-card--hero:hover,
#services .tariff-grid--life .tariff-card--side:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(25, 25, 50, 0.07);
}

@media (max-width: 768px) {
  .tariff-card--hero__inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 8px;
  }

.tariff-card--hero__visual {
  order: -1;
  margin: 8px 8px 0;
  min-height: 200px;
  max-height: 240px;
}

.tariff-card--hero__copy {
  padding: 18px 18px 22px;
}

.tariff-card--hero__visual img {
  min-height: 200px;
  max-height: 240px;
}

.tariff-card--side .tariff-card__media {
  height: 160px;
}
}

.tariff-card {
  background: transparent;
  border-radius: 28px;
  padding: 0;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease-in-out, box-shadow 0.35s ease-in-out, min-height 0.35s ease-in-out;
  background-color: transparent;
  min-height: auto;
}

.tariff-card__media {
  height: 190px;
  margin: 0;
  padding: 0;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
  background: transparent;
  opacity: 1;
  transform: none;
  transition: height 0.35s ease-in-out, opacity 0.35s ease-in-out, transform 0.35s ease-in-out;
  position: relative;
  z-index: 1;
  will-change: transform, height, opacity;
}

.tariff-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.tariff-card__body {
  background: #ffffff;
  margin: 0;
  border-radius: 28px;
  padding: 28px 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: margin-top 0.35s ease-in-out, box-shadow 0.35s ease-in-out, border-radius 0.35s ease-in-out, transform 0.35s ease-in-out;
  position: relative;
  z-index: 2;
  transform: none;
  will-change: transform, margin-top;
}

.tariff-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  position: relative;
}

.tariff-card__head h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #191932;
  flex: 1;
}

.tariff-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef2ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2255f5;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: -4px;
}

.tariff-grid--life .tariff-card--side .tariff-card__icon {
  position: absolute;
  top: 18px;
  right: 16px;
  margin: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e8eeff;
}

.tariff-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.tariff-badge {
  padding: 6px 10px;
  border-radius: 8px;
  background: #eef1fa;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.tariff-badge--accent {
  background: #bbff00;
  color: #1f1c1c;
}

.tariff-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: grid;
  gap: 10px;
  color: var(--text-muted-strong);
}

.tariff-list li::before {
  content: "●";
  color: var(--secondary);
  margin-right: 8px;
}

.tariff-card__footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
}

.tariff-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
}

.tariff-price span {
  font-weight: 500;
  color: var(--text-muted-strong);
  margin-right: 6px;
}

.tariff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tariff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.tariff-card:hover .tariff-card__media {
  height: 190px;
  opacity: 1;
  transform: none;
  border-radius: 28px 28px 0 0;
}

.tariff-card:hover .tariff-card__body {
  margin-top: 0;
  border-radius: 0 0 28px 28px;
  box-shadow: var(--shadow-md);
  transform: none;
  padding-top: 28px;
  padding-bottom: 28px;
}

@media (max-width: 768px) {
  .tariff-grid {
    padding-bottom: 0;
    margin-bottom: 0;
  }

#services.section {
  padding-bottom: 28px !important;
  padding-top: 32px;
}

.tariff-card {
  border-radius: 24px;
}

.tariff-card__media {
  height: 170px;
  border-radius: 24px 24px 0 0;
  opacity: 1;
  transform: none;
}

.tariff-card__body {
  margin-top: 0;
  border-radius: 0 0 24px 24px;
  padding: 24px 20px 24px;
  transform: none;
}

.tariff-card:hover .tariff-card__media {
  height: 170px;
  opacity: 1;
  transform: none;
}

.tariff-card:hover .tariff-card__body {
  margin-top: 0;
  border-radius: 0 0 24px 24px;
  transform: none;
  padding-top: 24px;
  padding-bottom: 24px;
}

.tariff-card__head h3 {
  font-size: 1.2rem;
}

.tariff-card__icon {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}
}

.service-tab-panel {
  display: none;
}

.service-tab-panel.is-active {
  display: grid;
  animation: fadeIn 0.35s ease;
}

/* Promo strip */
.promo-strip {
  padding: 40px 0;
}

.promo-strip__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(90deg, #2255f5 0%, #00a2ff 100%);
  color: white;
  border-radius: var(--border-radius-large);
  padding: 28px 32px;
  box-shadow: 0 20px 40px rgba(34, 85, 245, 0.2);
}

.promo-strip__info h2 {
  font-size: 1.8rem;
  margin: 12px 0 8px;
}

.promo-strip__info p {
  opacity: 0.9;
  margin: 0;
}

/* Promo cards */
.promo-cards.section {
  background: linear-gradient(180deg, #f6f8ff 0%, #ffffff 38%, #ffffff 100%);
}

.promo-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.promo-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  border-radius: 22px;
  padding: 24px 24px 22px;
  border: 1px solid #c5cee4;
  box-shadow:
  0 1px 0 rgba(255, 255, 255, 0.92) inset,
  0 2px 6px rgba(15, 23, 42, 0.04),
  0 14px 36px rgba(34, 85, 245, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  transition:
  transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
  box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
  border-color 0.35s ease;
}

.promo-card__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  background: #c8f542;
  color: #141810;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.promo-card h3 {
  margin: 18px 0 10px;
  color: var(--primary);
  font-size: 1.22rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.promo-card p {
  color: var(--gray);
  margin: 0 0 22px;
  line-height: 1.55;
  flex: 1 1 auto;
}

.promo-card .btn {
  align-self: stretch;
  justify-content: center;
  text-align: center;
  margin-top: auto;
  padding-top: 12px;
  padding-bottom: 12px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

@media (max-width: 1024px) {
  .hero {
    padding: 50px 0;
  }
.hero-container {
  padding: 0 15px;
}
.hero-title {
  font-size: 2.6rem;
}
.hero-grid {
  grid-template-columns: 1fr;
  gap: 32px;
}
.hero-media {
  justify-content: flex-start;
}
.hero-media-card {
  max-width: 100%;
}
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0;
  }
.hero-container {
  padding: 0 15px;
}
.hero-buttons {
  flex-direction: column;
  align-items: center;
}
.hero-buttons .btn {
  width: 100%;
  max-width: 300px;
}
.hero-media-card img {
  height: 240px;
}

.promo-strip__content {
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 20px;
}

.pill-row {
  gap: 10px;
}

.tariff-actions {
  flex-direction: column;
}

.hero-subtitle {
  line-height: 1.55;
}
}

/* Как мы работаем */
.how-we-work {
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 55%, #ffffff 100%);
  position: relative;
}

.how-we-work .section-heading {
  margin-bottom: 32px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.how-we-work .process-step.reveal {
  transition:
  opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
  transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
  box-shadow 0.4s ease,
  border-color 0.35s ease;
}

.how-we-work .process-step.reveal:nth-child(1) {
  transition-delay: 0.04s;
}
.how-we-work .process-step.reveal:nth-child(2) {
  transition-delay: 0.1s;
}
.how-we-work .process-step.reveal:nth-child(3) {
  transition-delay: 0.16s;
}
.how-we-work .process-step.reveal:nth-child(4) {
  transition-delay: 0.22s;
}
.how-we-work .process-step.reveal:nth-child(5) {
  transition-delay: 0.28s;
}

.process-step {
  background: #ffffff;
  border-radius: 22px;
  padding: 20px 16px 18px;
  border: 1px solid #e3e8f7;
  box-shadow: 0 8px 22px rgba(34, 85, 245, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  min-height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.35s ease;
}

.how-we-work .process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2255f5, #00a2ff);
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left center;
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.how-we-work .process-step:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.process-step__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(145deg, #ecf0ff 0%, #e0e8ff 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.35s ease;
}

.process-step__icon i {
  display: block;
  transition: transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.how-we-work .process-step:hover .process-step__icon {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(34, 85, 245, 0.18);
}

.how-we-work .process-step:hover .process-step__icon i {
  transform: scale(1.12) rotate(-5deg);
}

.process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 6px;
  border-radius: 8px;
  background: var(--brand-accent);
  color: #1f1c1c;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.35s ease;
}

.how-we-work .process-step:hover .process-step__num {
  transform: scale(1.08) translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.process-step__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--primary);
  transition: color 0.3s ease;
}

.how-we-work .process-step:hover .process-step__title {
  color: #193fbe;
}

.process-step__text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--gray);
}

.how-we-work .process-step:focus-within {
  outline: none;
  box-shadow: 0 12px 32px rgba(34, 85, 245, 0.14), 0 0 0 3px rgba(34, 85, 245, 0.22);
  border-color: rgba(34, 85, 245, 0.35);
}

.how-we-work .process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(34, 85, 245, 0.14);
  border-color: rgba(34, 85, 245, 0.22);
}

@media (max-width: 1100px) {
  .process-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .process-steps {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Меню ремонта */
.repair-menu-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.repair-menu-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.repair-menu-group__head h3 {
  font-size: 1.3rem;
  margin: 0;
  color: var(--brand-text);
}

.repair-menu-group__hint {
  font-size: 0.95rem;
  color: var(--brand-text-muted);
}

.repair-menu-cards {
  display: grid;
  gap: 16px;
}

.repair-menu-card {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  border-radius: var(--brand-radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.repair-menu-card h4 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.repair-menu-card p {
  margin: 0;
  color: var(--brand-text-muted);
  font-size: 0.95rem;
}

.repair-menu-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--brand-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.repair-menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(34, 85, 245, 0.16);
}

.repair-menu-list {
  display: flex;
  flex-direction: column;
  padding: 4px;
  border-radius: var(--brand-radius-lg);
  overflow: hidden;
}

.repair-menu-list__item {
  display: flex;
  gap: 16px;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.repair-menu-list__item + .repair-menu-list__item {
  border-top: 1px solid var(--brand-border);
}

.repair-menu-list__item h4 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.repair-menu-list__item p {
  margin: 0;
  color: var(--brand-text-muted);
  font-size: 0.95rem;
}

.repair-menu-list__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--brand-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.repair-menu-list__item:hover {
  background: rgba(236, 240, 255, 0.7);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .repair-menu-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .repair-menu-group__head {
    flex-direction: column;
    align-items: flex-start;
  }

.repair-menu-card,
.repair-menu-list__item {
  padding: 16px;
}
}

/* Усиленные эффекты */
.tariff-card,
.advantage-card,
.service-offer-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tariff-card:hover,
.advantage-card:hover,
.service-offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(34, 85, 245, 0.14);
  border-color: rgba(34, 85, 245, 0.2);
}

.promo-card:hover {
  transform: translateY(-8px) scale(1.012);
  border-color: rgba(34, 85, 245, 0.45);
  box-shadow:
  0 1px 0 rgba(255, 255, 255, 0.95) inset,
  0 10px 24px rgba(15, 23, 42, 0.08),
  0 26px 56px rgba(34, 85, 245, 0.18);
}

.promo-card:hover .promo-card__label {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.promo-card:hover h3 {
  color: #193fbe;
}

.hero-media-card {
  animation: floatSoft 10s ease-in-out infinite;
}

@keyframes floatSoft {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* Плавное появление блоков */
.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .hero-media-card {
    animation: none;
  }

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.pill {
  transition: none;
}

.pill:hover,
.pill:active {
  transform: none;
}

.tariff-panel:not([hidden]) {
  animation: none;
}

.callback-promo__phone:hover {
  transform: none;
}

.how-we-work .process-step:hover,
.how-we-work .process-step:hover .process-step__icon,
.how-we-work .process-step:hover .process-step__icon i,
.how-we-work .process-step:hover .process-step__num {
  transform: none;
  box-shadow: 0 8px 22px rgba(34, 85, 245, 0.06);
}

.how-we-work .process-step::before {
  transition: none;
  opacity: 0;
  transform: none;
}

.how-we-work .process-step:focus-within {
  box-shadow: 0 8px 22px rgba(34, 85, 245, 0.06);
}

.promo-card:hover {
  transform: none;
}

.promo-card:hover .promo-card__label {
  transform: none;
}
}

/* Услуги */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e3e8f7;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;

}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(34, 85, 245, 0.15);
  border-color: rgba(34, 85, 245, 0.2);
}

.service-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid #eef1fa;
}

.service-content {
  padding: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-table-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f2f5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.service-description {
  color: var(--gray);
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Документы */
.documents-container {
  display: flex;
  justify-content: center;
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
}

.document-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e3e8f7;
  border-radius: 24px;
  padding: 35px 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.document-card:hover {
  border-color: rgba(34, 85, 245, 0.2);
  box-shadow: 0 20px 40px rgba(34, 85, 245, 0.12);
  transform: translateY(-6px);
}

.document-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f2f5ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--secondary);
  margin: 0 auto 20px;
}

.document-card-title {
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 1.2rem;
}

.document-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.document-link i {
  margin-left: 8px;
  transition: transform 0.3s;
}

.document-link:hover {
  color: var(--accent);
}

.document-link:hover i {
  transform: translateX(5px);
}

/* Преимущества — сетка карточек на главной */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.advantage-card {
  background: #f7f9ff;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid #e3e8f7;
}

.advantage-card h3 {
  margin: 16px 0 10px;
}

.advantage-card p {
  color: var(--gray);
}

.advantage-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #eef1fa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.4rem;
}

/* Сервисные пакеты — три карточки с превью и единой иерархией */
#documents.section {
  padding-top: 56px;
  padding-bottom: 64px;
}

#documents .section-heading {
  margin-bottom: 22px;
}

#documents .section-heading .section-subtitle {
  max-width: 46rem;
}

.services-offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.service-offer-card {
  background: #f7f9ff;
  border-radius: 22px;
  padding: 18px 16px 18px;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  box-sizing: border-box;
}

.service-offer-card--featured {
  border-color: #bbff00;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  position: relative;
  background: linear-gradient(180deg, #fbfff0 0%, #f7f9ff 55%);
}

.service-offer-card--featured::after {
  content: "Рекомендуем";
  position: absolute;
  top: 10px;
  right: 10px;
  background: #bbff00;
  color: #1f1c1c;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.service-offer-card > .btn.btn-accent {
  margin-top: 0;
  align-self: stretch;
  text-align: center;
  padding-top: 11px;
  padding-bottom: 11px;
  font-size: 0.95rem;
}

.service-offer-kind {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  line-height: 1.2;
  min-height: 2.4em;
}

.service-offer-card h3 {
  margin: 2px 0 0;
  font-size: 1.08rem;
  line-height: 1.25;
  color: var(--primary);
}

.service-offer-lead {
  margin: 0;
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.45;
}

.service-offer-card--with-thumb {
  padding-top: 0;
  overflow: hidden;
}

.service-offer-card__thumb {
  margin: 0 -16px 12px -16px;
  max-height: 120px;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(145deg, #e8ecf7 0%, #dce3f5 100%);
}

.service-offer-card__thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.service-offer-perks {
  margin: 2px 0 0;
  padding-left: 1rem;
  color: var(--gray);
  font-size: 0.8rem;
  line-height: 1.4;
}

.service-offer-perks li {
  margin-bottom: 4px;
}

.service-offer-perks li:last-child {
  margin-bottom: 0;
}

.service-offer-price-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 2px;
}

.service-offer-price-note {
  display: inline;
  margin-left: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray);
}

.service-offer-price-secondary {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1.35;
}

.service-offer-disclaimer {
  margin: auto 0 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #8b9099;
}

.service-offer-tag {
  display: flex;
  align-self: stretch;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  background: #bbff00;
  color: #1f1c1c;
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1.3;
  margin-top: 2px;
}

.service-offer-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.25;
  margin: 0;
}

.service-offer-price-block .service-offer-price-secondary {
  margin: 0;
}

@media (min-width: 901px) {
  .services-offers-grid .service-offer-lead {
    min-height: 4.6em;
  }

.services-offers-grid .service-offer-perks {
  min-height: 6.4em;
}

.services-offers-grid .service-offer-tag {
  min-height: 2.5em;
}

.services-offers-grid .service-offer-price-block {
  min-height: 4.4em;
}

.services-offers-grid .service-offer-disclaimer {
  min-height: 2.8em;
}

.services-offers-grid .service-offer-price-secondary {
  white-space: nowrap;
}
}

/* Форма обратной связи — двухколоночный блок */
#callback-form.section {
  padding-bottom: 100px;
}

.callback-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  grid-template-rows: auto auto;
  column-gap: 36px;
  row-gap: 28px;
  align-items: stretch;
}

.callback-layout__head {
  grid-column: 1 / -1;
  min-width: 0;
}

.callback-layout__head h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.callback-layout__head p {
  color: var(--gray);
  margin: 0;
}

/* Одна строка сетки: белая карточка и синий блок одинаковой высоты */
.callback-layout__form-area {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.callback-layout__form-area .contact-form-container {
  flex: 1;
  min-height: 100%;
  margin: 0;
  max-width: none;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.callback-layout__form-area .contact-form-container:hover {
  transform: none;
  box-shadow: var(--shadow);
}

.callback-layout__form-area .request-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.callback-layout__form-area .request-form > button[type="submit"] {
  margin-top: auto;
}

.callback-layout__aside {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.callback-promo {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  height: 100%;
  padding: 22px 22px 20px;
  border-radius: 24px;
  background: linear-gradient(155deg, #2255f5 0%, #193fbe 52%, #0f2870 100%);
  color: #fff;
  box-shadow: 0 16px 36px rgba(34, 85, 245, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.callback-promo__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16);
  color: #eef2ff;
}

.callback-promo__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.93);
}

.callback-promo__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
}

.callback-promo__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.callback-promo__list i {
  margin-top: 2px;
  color: var(--accent);
  width: 1.15rem;
  flex-shrink: 0;
  text-align: center;
}

.callback-promo__middle {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 4px 0 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 4px;
}

.callback-promo__middle-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.callback-promo__steps {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.callback-promo__steps li {
  padding-left: 0.25rem;
}

.callback-promo__steps li + li {
  margin-top: 0.35rem;
}

.callback-promo__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.callback-promo__nav a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}

.callback-promo__nav a:hover {
  background: #fff;
  transform: translateY(-1px);
}

.callback-promo__nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.callback-promo__map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #e8f9a8;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.callback-promo__map-link:hover {
  text-decoration: underline;
}

.callback-promo__map-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 4px;
}

.callback-promo__map-link i {
  color: var(--accent);
  font-size: 1rem;
}

.callback-promo__actions {
  flex-shrink: 0;
  padding-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

.callback-promo__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #151322;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.callback-promo__phone:hover {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.callback-promo__phone:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.callback-promo__hours {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .section {
    padding: 80px 0;
  }

.hero {
  padding: 120px 0;
}

.hero-title {
  font-size: 2.8rem;
}

.advantages-grid {
  grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 900px) {
  .advantages-grid,
  .documents-grid {
    grid-template-columns: repeat(2, 1fr);
  }

.services-offers-grid {
  grid-template-columns: 1fr;
  grid-template-rows: none;
  gap: 18px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.service-offer-card {
  display: flex;
  flex-direction: column;
  grid-row: auto;
  gap: 10px;
}

.service-offer-card > .btn.btn-accent {
  margin-top: auto;
}
}

@media (max-width: 768px) {

  .hero-title {
    font-size: 2.3rem;
  }

.hero-subtitle {
  font-size: 1.1rem;

}

.hero-buttons {
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: 2rem;
}

.service-card,
.advantage-card,
.service-offer-card,
.process-step,
.document-card {
  max-width: 400px;
  margin: 0 auto;
}

.advantages-grid {
  grid-template-columns: 1fr;

}

.callback-layout {
  grid-template-columns: 1fr;
  grid-template-rows: none;
  row-gap: 24px;
}

.callback-layout__head {
  grid-column: 1;
  grid-row: auto;
}

.callback-layout__form-area {
  grid-column: 1;
  grid-row: auto;
}

.callback-layout__aside {
  grid-column: 1;
  grid-row: auto;
}

.callback-layout__form-area .contact-form-container {
  margin: 0;
  min-height: 0;
  display: block;
  flex: none;
}

.callback-layout__form-area .request-form {
  flex: none;
  display: block;
  min-height: 0;
}

.callback-layout__form-area .request-form > button[type="submit"] {
  margin-top: 10px;
}

.callback-promo {
  height: auto;
  min-height: 0;
  padding: 20px 18px 18px;
}

.callback-promo__phone:hover {
  transform: none;
}
}

@media (max-width: 600px) {
  .advantages-grid,
  .documents-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 0;
  }

.hero-title {
  font-size: 2rem;
}

.section {
  padding: 70px 0;
}

.btn {
  margin: 5px 0;
  width: 100%;
  max-width: 300px;
}
}
