/* Responsive overrides for anton-psy */

/* Global container fixes */
html, body {
  overflow-x: hidden;
  width: 100%;
}
section, nav, header, footer {
  max-width: 100%;
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
}

/* Feature Bar */
.feature-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  background: #47433B;
  min-height: 76px;
  padding: 20px 0;
}
.mobile-text { display: none; }
.desktop-text { display: inline-block; }
.feature-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hero Section */
.hero-content {
  position: absolute;
  z-index: 10;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1320px;
  bottom: 160px;
  padding: 0 20px;
  box-sizing: border-box;
}
.hero-content h1 {
  font-size: 50px;
}

/* Flex layout wrappers for replacing absolute split */
.split-section {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 60px;
}
.split-left, .split-right {
  flex: 1;
}

/* Services */
.services-section {
  height: auto !important;
}
.services-grid-wrapper {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  margin-top: 60px;
}
.services-images {
  display: flex;
  gap: 20px;
  position: static;
  flex-shrink: 0;
  align-items: flex-end;
}
.services-cards {
  position: static;
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 50px;
  column-gap: 20px;
  flex: 1;
}

/* Work stages */
.stages-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 64px;
}
.stage-row {
  position: relative;
  width: 100%;
  padding: 25px 0 25px 60px;
  height: auto;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  border-top: 1px solid rgba(47,52,49,0.2);
}
.stage-row::before { display: none; } /* Using border-top instead */
.stage-num {
  position: absolute; left: 0; top: 25px;
}
.stage-row h3 {
  position: static;
  width: 400px;
}
.stage-row p {
  position: static;
  flex: 1;
  min-width: 300px;
  padding-right: 60px; /* Отступ справа, чтобы текст не налезал на стрелку */
}
.stage-row .arrow {
  position: absolute;
  right: 0; top: 25px;
}

/* Stats */
.stats-container {
  display: flex;
  gap: 20px;
}
.stat-card-1 { width: 315px; }
.stat-card-2 { width: 650px; }

/* Vertical divider between the two columns of the dark stat card */
.stat-card-2::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: rgba(255,255,255,0.15);
  transform: translateX(-50%);
}
/* Limit paragraph width so text stays in its column */
.stat-card-2 p {
  max-width: calc(50% - 50px);
}

/* Pricing */
.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 60px;
}
.pricing-card {
  width: 100%;
  height: auto;
  padding: 30px 0;
  border-top: 1px solid rgba(47,52,49,0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.pricing-card::before { display: none; }
.pricing-left {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-right {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.pricing-card .card-title, .pricing-card .card-subtitle, .pricing-card .card-price,
.pricing-card .card-detail1, .pricing-card .card-detail2, .pricing-card .card-desc,
.pricing-card .cta-btn {
  position: static;
}
.pricing-card .card-price { margin-top: auto; padding-top: 20px; }

/* Results */
.results-grid {
  display: flex;
  gap: 40px;
  margin-top: 60px;
}
.results-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  flex: 1;
}
.result-card {
  width: 100%;
  position: relative;
}
.results-images {
  display: flex;
  gap: 20px;
  flex: 1;
}

/* FAQ */
.faq-columns {
  display: flex;
  gap: 20px;
  margin-top: 60px;
}
.faq-col {
  flex: 1;
  width: 100%;
}
.faq-item { width: 100%; }
.faq-toggle { width: 100%; }

/* Contacts desktop layout */
.contacts-inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.contacts-inner .img-side {
  flex: 0 0 480px;
  height: 520px;
}
.contacts-inner .text-side {
  flex: 1;
}
/* Mobile photo hidden on desktop */
.contacts-photo-mobile { display: none; }

/* Делаем так, чтобы кнопки умещались в контейнер на десктопе */
.contact-btn {
  flex: 1;
  width: auto;
  min-width: 0;
}
.social-btn {
  flex: 1;
  width: auto;
  min-width: 0;
}

/* Contacts / CTA / About layout */
.content-split {
  display: flex;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.content-split .img-side {
  flex: 1;
  height: 560px;
  max-width: 650px;
  position: relative;
}
.content-split .text-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  padding: 40px 0;
}
.content-split-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; width: 50%;
  background: #E0DFDC;
  z-index: -1;
}

/* Reviews slider */
.review-track-wrapper {
  overflow: hidden;
  margin-top: 56px;
  width: 100%;
}

@media (max-width: 768px) {
  .review-track-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }
  .review-track-wrapper::-webkit-scrollbar { display: none; }
  .review-track {
    transition: none !important; /* отключаем JS-анимацию на мобиле, используем нативный скролл */
    scroll-snap-align: start;
  }
  .review-track > div {
    scroll-snap-align: start;
    width: 72vw !important; /* Карточка 72% — следующая видна примерно наполовину */
    height: auto !important;
    min-height: 200px;
  }
}

/* Desktop spacing */
.section-spacing {
  margin-top: 180px;
}

/* =========================================
   MOBILE & TABLET ADAPTATION
   ========================================= */

@media (max-width: 1024px) {
  .services-grid-wrapper {
    flex-direction: column-reverse;
    margin-top: 40px;
  }
  .services-images {
    width: 100%;
  }
  .services-images > div {
    flex: 1 1 0;
    width: auto !important;
    height: auto !important;
  }
  .services-images > div:first-child  { aspect-ratio: 680 / 943; }    /* фото 1 — родная пропорция, лицо не режет */
  .services-images > div:nth-child(2) { aspect-ratio: 4096 / 2731; }  /* фото 2 — родная пропорция кабинета */
  .services-cards {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .content-split-bg { display: none; }
}

@media (max-width: 1024px) {
  /* Features */
  .feature-bar-inner {
    justify-content: center;
  }
  .hero-content { bottom: 140px; }
  
  /* Split layouts */
  .content-split {
    flex-direction: column;
  }
  .content-split.reverse-mobile {
    flex-direction: column-reverse;
  }
  .content-split .img-side {
    width: 100%;
    height: 400px;
  }
  
  /* Stats */
  .stats-container {
    flex-direction: column;
  }
  .stat-card-1 { width: 100%; }
  .stat-card-2 { width: 100%; }
  .stat-card-2 p { width: 90% !important; }
  .stat-card-2 span:nth-child(4) { left: 50% !important; }
  .stat-card-2 p:nth-child(5) { left: 50% !important; }

  /* Results */
  .results-grid {
    flex-direction: column;
  }
  
  /* Pricing & Stages (Remove hard min-widths) */
  .pricing-left, .pricing-right { min-width: 0; }
  .stage-row p { min-width: 0; }
  
  /* Pricing on mobile */
  .pricing-card { flex-direction: column; }
  .pricing-right { padding-left: 0; border-left: none; }
  .pricing-card .cta-btn {
    position: static !important;
    width: 100% !important;
    margin-top: 16px;
  }
  
  /* FAQ */
  .faq-columns { flex-direction: column; gap: 0; }
  
  .stage-row h3 { width: 100%; padding-bottom: 10px; }
  .stage-row p { width: 100%; }
  .stage-row { padding-left: 0; padding-top: 60px; }
  .stage-num { top: 20px; }
  .stage-row .arrow { top: 20px; right: 0; }
}

@media (max-width: 768px) {
  .section-spacing { margin-top: 100px; }
  .section-title { font-size: 28px; line-height: 1.3em; }
  
  nav .nav-pill { display: none; }
  .hero-content { bottom: 120px; text-align: center; }
  .hero-content h1 { font-size: 32px; margin-top: 10px; }
  .hero-content p { font-size: 14px; margin-top: 15px; margin-left: auto; margin-right: auto; }
  
  /* Stages (Этапы работы) */
  .stage-row {
    width: 100% !important;
    height: auto !important;
    padding: 20px 0 20px 50px !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .stage-row::before {
    width: 100% !important;
  }
  .stage-num {
    position: absolute;
    left: 0 !important;
    top: 20px !important;
    font-size: 24px;
  }
  .stage-row h3 {
    position: static !important;
    font-size: 22px !important;
    width: 100%;
  }
  .stage-row p {
    position: static !important;
    width: 100% !important;
    left: auto !important;
    top: auto !important;
    padding-right: 0; /* На мобиле стрелки нет, отступ не нужен */
  }
  .stage-row .arrow {
    position: static !important;
    display: none; /* на мобиле стрелки убираем */
  }

  /* Services — карточки сверху, фото снизу */
  .services-grid-wrapper { flex-direction: column-reverse; gap: 30px; }
  .services-images { 
    display: flex; 
    width: 100%; 
    gap: 12px;
  }
  .services-images > div {
    flex: 1;
    width: 100% !important;
    height: auto !important;
  }
  .services-images > div:nth-child(2) { display: none; }            /* на мобиле прячем фото кабинета (стул) */
  .services-images > div:first-child  { aspect-ratio: 680 / 943; }  /* остаётся одно фото в родной пропорции */
  .services-cards { grid-template-columns: 1fr; width: 100%; }
  .service-card { 
    width: 100% !important; 
    height: auto !important; 
    position: static; 
  }
  .service-card p { 
    position: static !important; 
    width: 100% !important; 
    margin-top: 10px;
  }
  .service-card .divider { 
    position: static !important; 
    width: 100% !important; 
    display: block;
    margin: 10px 0 0;
    height: 1px;
  }
  
  /* Feature bar (Mobile Column Layout) */
  .feature-bar { padding: 16px 0; }
  .feature-bar-inner { 
    flex-direction: row; 
    flex-wrap: nowrap; 
    justify-content: space-between;
  }
  .feature-item { 
    gap: 8px; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0; 
  }
  .feature-icon { background: transparent !important; }
  .feature-icon img { 
    width: 24px !important; 
    height: 24px !important; 
    filter: brightness(0) invert(85%) sepia(20%); /* Turns dark SVG into light beige */
  }
  .desktop-text { display: none !important; }
  .mobile-text { 
    display: block !important; 
    font-size: 11px !important; 
    letter-spacing: 0.05em; 
    white-space: nowrap; 
    color: #C0C1B0 !important; /* Approximate beige color from image */
  }
  
  /* Results */
  .results-cards { grid-template-columns: 1fr; }
  .results-images { flex-direction: column; }
  .results-images div { width: 100% !important; height: 350px !important; }
  .results-photo-2 { display: none !important; }

  /* Contacts mobile */
  .contacts-inner { flex-direction: column; gap: 0; }
  .contacts-inner .text-side { padding-right: 0; }
  .contacts-inner .img-side { display: none; }       /* скрываем десктопное фото */
  .contacts-photo-mobile { display: block; margin: 16px 0; } /* показываем мобильное */
  /* кнопки-текст в одну строку */
  .contact-btn { flex: 1; text-align: center; }
  /* иконки: мессенджеры сверху по 3 в ряд, видеоканалы снизу */
  .social-btn { 
    flex: 0 0 calc(33.33% - 7px); 
    width: calc(33.33% - 7px); 
    height: 56px; 
  }
  /* видеоканалов четыре — 2+2 */
  .contacts-buttons-row:not(.contacts-messengers-row) .social-btn {
    flex-basis: calc(50% - 5px);
    width: calc(50% - 5px);
  }
  .contacts-buttons-row {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* =========================================
   VIDEO TEASER (секция перед отзывами)
   ========================================= */
.video-split {
  display: flex;
  gap: 40px;
  align-items: center;
}
.video-split .video-side {
  position: relative;
  flex: 1 1 650px;
  min-width: 0;
  max-width: 760px;
}
.video-teaser {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #2F3431;
  object-fit: cover;
}
.video-split .video-text-side {
  flex: 1 1 0;
  min-width: 0;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.video-full-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
  height: 47px;
  padding: 0 28px;
  border: 1px solid rgba(47, 52, 49, 0.2);
  color: #2F3431;
  font-size: 16px;
  line-height: 1.2em;
  text-decoration: none;
  transition: background 0.3s;
}
.video-full-link:hover { background: #E0DFDC; }

/* Кнопка звука поверх видео */
.video-sound {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: none;
  background: rgba(47, 52, 49, 0.72);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.2em;
  cursor: pointer;
  transition: background 0.3s;
}
.video-sound:hover { background: rgba(47, 52, 49, 0.9); }

@media (max-width: 1024px) {
  .video-split {
    flex-direction: column;
    align-items: stretch;
  }
  .video-split .video-side,
  .video-split .video-text-side {
    max-width: 100%;
  }
  /* в колонке flex-basis становится высотой: блок растягивался,
     и кнопка звука уезжала в пустоту под видео */
  .video-split .video-side {
    flex: 0 0 auto;
  }
}

@media (max-width: 768px) {
  .video-sound {
    left: 12px;
    bottom: 12px;
    padding: 8px 12px;
    font-size: 13px;
  }
  .video-full-link {
    align-self: stretch;
    padding: 0 16px;
  }
}

/* =========================================
   МОДАЛКА ЗАПИСИ
   ========================================= */
.booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(47, 52, 49, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.booking-overlay[hidden] { display: none; }

.booking-modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  background: #F5F5F3;
  padding: 40px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.booking-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: #2F3431;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}
.booking-close:hover { opacity: 1; }

.booking-title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2em;
  color: #2F3431;
  margin: 0;
}
.booking-lead,
.booking-privacy {
  font-size: 15px;
  line-height: 1.4em;
  color: #2F3431;
  opacity: 0.72;
  margin: 0;
}
.booking-privacy {
  font-size: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(47, 52, 49, 0.2);
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.booking-field > span {
  font-size: 14px;
  line-height: 1.2em;
  color: #2F3431;
  opacity: 0.72;
}
.booking-field input,
.booking-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid rgba(47, 52, 49, 0.2);
  background: #FFFFFF;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4em;
  color: #2F3431;
  resize: vertical;
}
.booking-field input:focus,
.booking-field textarea:focus {
  outline: none;
  border-color: #A2A685;
}

.booking-channels-label {
  font-size: 15px;
  line-height: 1.2em;
  color: #2F3431;
  margin: 4px 0 0;
}
.booking-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.booking-channel {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 47px;
  background: #A2A685;
  color: #FFFFFF;
  font-size: 16px;
  line-height: 1.2em;
  text-decoration: none;
  transition: filter 0.3s;
}
.booking-channel:hover { filter: brightness(1.1); }

.booking-hint {
  font-size: 14px;
  line-height: 1.4em;
  color: #6F8F7A;
  margin: 0;
  min-height: 20px;
}

@media (max-width: 560px) {
  .booking-modal { padding: 28px 20px; gap: 14px; }
  .booking-title { font-size: 24px; }
  .booking-channels { grid-template-columns: 1fr; }
}

/* =========================================
   ДИПЛОМ (блок «Обо мне»)
   ========================================= */
.diploma-card {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 560px;
  padding: 14px;
  background: #FFFFFF;
  border: 1px solid #E0DFDC;
  font-family: inherit;
  text-align: left;
  color: #2F3431;
  cursor: pointer;
  transition: border-color 0.3s;
}
.diploma-card:hover { border-color: #A2A685; }
.diploma-card img { display: block; width: 140px; height: auto; flex-shrink: 0; }
.diploma-text { display: flex; flex-direction: column; gap: 6px; }
.diploma-title { font-family: 'Playfair Display', serif; font-size: 20px; line-height: 1.2em; }
.diploma-meta { font-size: 14px; line-height: 1.4em; opacity: 0.72; }
.diploma-link { font-size: 14px; line-height: 1.2em; color: #6F8F7A; }

.diploma-dialog {
  max-width: min(1100px, 94vw);
  margin: auto; /* сброс стилей обнуляет штатное центрирование dialog */
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-out;
}
.diploma-dialog::backdrop { background: rgba(47, 52, 49, 0.85); }
.diploma-dialog img { display: block; width: 100%; height: auto; max-height: 90vh; object-fit: contain; }
.diploma-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(47, 52, 49, 0.7);
  color: #FFFFFF;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 560px) {
  .diploma-card { gap: 14px; padding: 12px; }
  .diploma-card img { width: 96px; }
  .diploma-title { font-size: 18px; }
}

/* =========================================
   ПРАВКИ КЛИЕНТА 01.12.2026
   ========================================= */
/* Первый экран: цифры и подпись под кнопкой */
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 28px;
}
.hero-stats > div { display: flex; flex-direction: column; gap: 4px; }
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  line-height: 1.15em;
  color: #FFFFFF;
}
.hero-stat-label {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.3em;
  color: rgba(255,255,255,0.72);
}
.hero-content .hero-note {
  margin-top: 12px;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.4em;
  color: rgba(255,255,255,0.72);
}

/* Цифры: карточки со словом вместо числа */
.stat-word {
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.2em;
  color: #FFFFFF;
  overflow-wrap: break-word;
}

/* Тарифы: старая цена и экономия */
.card-price-old {
  margin-left: 8px;
  font-weight: 400;
  opacity: 0.6;
}
.pricing-card .card-saving { color: #6F8F7A; font-weight: 500; }

/* Видео-приветствие: кнопка запуска поверх постера */
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: none;
  background: rgba(47, 52, 49, 0.78);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.2em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s;
}
.video-play:hover { background: rgba(47, 52, 49, 0.92); }
.video-play[hidden] { display: none; }

@media (max-width: 768px) {
  .hero-stats { justify-content: center; gap: 28px; margin-top: 20px; }
  .hero-stat-num { font-size: 26px; }
  .hero-stat-label { font-size: 13px; }
  .hero-content .hero-note { font-size: 13px; margin-top: 10px; }
  .video-play { padding: 10px 16px; font-size: 14px; }
}
.hero-content a.booking-open { max-width: 100%; }
/* Низкие телефоны (iPhone SE 1-го поколения и т.п.): прячем абзац, чтобы блок не залезал под шапку */

/* Телефон: имя и «Практикующий психолог» — наверху, в пустом месте слева от иконок (просьба клиента 01.12.2026).
   Внизу первого экрана они скрыты визуально; h1 остаётся в разметке для поиска */
.mobile-brand { display: none; }
@media (max-width: 768px) {
  .mobile-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    margin-top: 6px;
    font-family: 'Playfair Display', serif;
    color: #FFFFFF;
  }
  .mobile-brand-name { font-size: clamp(18px, 5.8vw, 26px); line-height: 1.15em; }
  .mobile-brand-role { font-size: clamp(14px, 4.1vw, 17px); line-height: 1.2em; color: rgba(255,255,255,0.8); }
  .hero-content .hero-role { display: none; }
  .hero-content h1.hero-name {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .hero-content > p.delay-2 { margin-top: 0; }
}
/* Отзывы на телефоне: текст сразу под именем, без пустоты в коротких карточках */
@media (max-width: 768px) {
  .review-track { align-items: flex-start; }
  .review-track > div > p { margin-top: 16px !important; padding-top: 0 !important; }
}
/* Узкие телефоны (320): подписи нижней полоски и строка под кнопкой помещаются в край */
@media (max-width: 359px) {
  .feature-bar-inner { gap: 8px; }
  .mobile-text { font-size: 10px !important; letter-spacing: 0; }
  .section-title { font-size: 25px; }
  .video-play { font-size: 13px; padding: 10px 12px; gap: 6px; }
  .hero-content .hero-note { font-size: 11.5px; letter-spacing: -0.01em; white-space: nowrap; }
  .result-card, .result-card .divider, .service-card, .service-card .divider { max-width: 100%; min-width: 0; }
}
/* Низкие телефоны: абзац ложился на лицо */
@media (max-width: 768px) and (max-height: 600px) {
  .hero-content > p.delay-2 { display: none; }
}
@media (max-width: 768px) {
  .content-split .text-side { min-width: 0; max-width: 100%; box-sizing: border-box; }
}
/* Запросы: карточка в потоке, линия идёт под названием любой длины */
@media (min-width: 769px) {
  .services-cards { min-width: 0; }
  .service-card { width: 100%; max-width: 315px; height: auto; min-height: 101px; }
  .service-card .divider { position: static; width: 100%; margin: 14px 0 15px; }
  .service-card p { position: static; }
}
@media (min-width: 769px) and (max-width: 1400px) { .services-cards { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
