/* ============================================================
   Mario Hitch SEO — service.css
   Стили внутренней страницы услуги
   Подключается ПОСЛЕ style.css
   ============================================================ */

/* ── BREADCRUMBS ─────────────────────────────────────────── */
.breadcrumbs {
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 0;
}
.breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--grey-3);
}
.breadcrumbs__link {
  color: var(--grey-3);
  transition: color 0.2s;
}
.breadcrumbs__link:hover { color: var(--white); }
.breadcrumbs__sep { display: flex; align-items: center; color: var(--grey-2); }
.breadcrumbs__item--current { color: var(--white-dim); }

/* ── SERVICE HERO ────────────────────────────────────────── */
.svc-hero {
  position: relative;
  padding: 60px 0 100px;
  overflow: hidden;
}
.svc-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.svc-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 70% at 60% 20%, black 30%, transparent 100%);
}
.svc-hero__glow {
  position: absolute;
  top: -80px;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.045) 0%, transparent 65%);
  filter: blur(40px);
}
.svc-hero__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.svc-hero__title {
  display: flex;
  flex-direction: column;
  font-family: var(--ff-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.svc-hero__title-top  { font-size: clamp(36px, 5vw, 64px); color: var(--grey-3); }
.svc-hero__title-main { font-size: clamp(72px, 10vw, 128px); color: var(--pure); }

.svc-hero__lead {
  font-size: 17px;
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}
.svc-hero__meta {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
  border: 1px solid var(--grey-1);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
}
.svc-meta-item {
  padding: 18px 28px;
  text-align: center;
}
.svc-meta-item__val {
  font-family: var(--ff-display);
  font-size: 22px;
  color: var(--pure);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}
.svc-meta-item__label {
  font-size: 11px;
  color: var(--grey-3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.svc-meta-divider {
  width: 1px;
  height: 48px;
  background: var(--grey-1);
  flex-shrink: 0;
}
.svc-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Service hero card */
.svc-hero__card {
  position: relative;
  background: var(--black-2);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(255,255,255,0.04), 0 32px 64px rgba(0,0,0,0.6);
}
.svc-hero__card-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.svc-hero__card-label {
  font-size: 16px;
  font-weight: 300;
  color: var(--grey-3);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.svc-hero__card-big {
  font-family: var(--ff-display);
  font-size: clamp(52px, 6vw, 80px);
  line-height: 0.92;
  color: var(--pure);
  text-shadow: var(--neon-glow);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}
.svc-hero__card-icon {
  color: var(--grey-2);
}
/* Угловые акценты */
.svc-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.svc-corner--tl { top: 14px; left: 14px;    border-top: 2px solid rgba(255,255,255,0.5);  border-left: 2px solid rgba(255,255,255,0.5);  border-radius: 3px 0 0 0; }
.svc-corner--tr { top: 14px; right: 14px;   border-top: 2px solid rgba(255,255,255,0.5);  border-right: 2px solid rgba(255,255,255,0.5); border-radius: 0 3px 0 0; }
.svc-corner--bl { bottom: 14px; left: 14px;  border-bottom: 2px solid rgba(255,255,255,0.5); border-left: 2px solid rgba(255,255,255,0.5);  border-radius: 0 0 0 3px; }
.svc-corner--br { bottom: 14px; right: 14px; border-bottom: 2px solid rgba(255,255,255,0.5); border-right: 2px solid rgba(255,255,255,0.5); border-radius: 0 0 3px 0; }

/* ── INCLUDES ────────────────────────────────────────────── */
.svc-includes { background: var(--black-1); }
.includes__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}
.includes__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.includes__item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--grey-1);
  transition: background 0.2s;
}
.includes__item:first-child { border-top: 1px solid var(--grey-1); }
.includes__check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--black-3);
  border: 1px solid var(--grey-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure);
  margin-top: 2px;
  transition: border-color 0.2s, box-shadow 0.3s;
}
.includes__item:hover .includes__check {
  border-color: var(--grey-3);
  box-shadow: 0 0 12px rgba(255,255,255,0.08);
}
.includes__item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--pure);
  margin-bottom: 6px;
}
.includes__item p {
  font-size: 13px;
  color: var(--grey-4);
  line-height: 1.6;
}

/* Aside */
.includes__aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.includes__aside-card {
  background: var(--black-2);
  border: 1px solid var(--grey-1);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.includes__aside-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-3);
  margin-bottom: 20px;
}
.includes__aside-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.includes__aside-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--white-dim);
}
.includes__aside-list li svg { color: var(--grey-2); flex-shrink: 0; }

.includes__aside-stat {
  background: var(--black-2);
  border: 1px solid var(--grey-1);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
}
.includes__aside-stat-num {
  font-family: var(--ff-display);
  font-size: 36px;
  color: var(--pure);
  line-height: 1;
  margin-bottom: 4px;
}
.includes__aside-stat-label {
  font-size: 12px;
  color: var(--grey-3);
  letter-spacing: 0.04em;
}

/* ── PRICING ─────────────────────────────────────────────── */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 24px;
}
.pricing-card {
  position: relative;
  border: 1px solid var(--grey-1);
  border-radius: var(--radius-lg);
  padding: 36px 32px 40px;
  background: var(--black-2);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.pricing-card:hover {
  border-color: var(--grey-3);
  box-shadow: 0 0 40px rgba(255,255,255,0.04);
}
.pricing-card--featured {
  border-color: rgba(255,255,255,0.2);
  background: var(--black-3);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 0 60px rgba(255,255,255,0.04);
  /* Сдвинуть вверх */
  margin-top: -20px;
  padding-top: 52px;
}
.pricing-card__popular {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pure);
  color: var(--black);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 0 0 8px 8px;
  white-space: nowrap;
}
.pricing-card__glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.pricing-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.pricing-card__name {
  font-family: var(--ff-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--pure);
  letter-spacing: 0.04em;
}
.pricing-card__badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-3);
  border: 1px solid var(--grey-1);
  border-radius: 4px;
  padding: 3px 10px;
}
.pricing-card__badge--white {
  color: var(--pure);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 0 10px rgba(255,255,255,0.08);
}
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
}
.pricing-card__from {
  font-size: 13px;
  color: var(--grey-3);
}
.pricing-card__num {
  font-family: var(--ff-display);
  font-size: 42px;
  color: var(--pure);
  line-height: 1;
  letter-spacing: 0.02em;
}
.pricing-card__cur {
  font-size: 14px;
  color: var(--grey-4);
}
.pricing-card__desc {
  font-size: 13px;
  color: var(--grey-4);
  line-height: 1.65;
  margin-bottom: 28px;
  min-height: 44px;
}
.pricing-card__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
}
.pricing-card__li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid var(--grey-1);
  transition: color 0.2s;
}
.pricing-card__li:last-child { border-bottom: none; }
.pricing-card__li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 10px;
}
.pricing-card__li--yes {
  color: var(--white-dim);
}
.pricing-card__li--yes::before {
  background-color: rgba(255,255,255,0.08);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.pricing-card__li--no {
  color: var(--grey-2);
  text-decoration: line-through;
  text-decoration-color: var(--grey-1);
}
.pricing-card__li--no::before {
  background-color: var(--black-3);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 6L6 18M6 6l12 12' stroke='%23444450' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.pricing__note {
  font-size: 12px;
  color: var(--grey-2);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ── PROMO BANNER ────────────────────────────────────────── */
.svc-promo { padding: 0 0 100px; }
.promo-banner {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--black-2);
  overflow: hidden;
  /* Пульсирующее свечение */
  animation: promo-glow-pulse 2.8s ease-in-out infinite;
}
@keyframes promo-glow-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.12),
      0 0 30px rgba(255,255,255,0.05);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.28),
      0 0 60px rgba(255,255,255,0.12),
      0 0 100px rgba(255,255,255,0.04);
  }
}

/* Бегущие линии рамки */
.promo-banner__border {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  pointer-events: none;
  overflow: hidden;
}
.promo-border-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
}
.promo-border-line--top    { top: 0;    left: -100%; width: 100%; height: 1px; animation: border-run-h 3s linear infinite; }
.promo-border-line--bottom { bottom: 0; left: 100%;  width: 100%; height: 1px; animation: border-run-h 3s linear 1.5s infinite; animation-direction: reverse; }
.promo-border-line--right  { right: 0;  top: -100%;  width: 1px; height: 100%; animation: border-run-v 3s linear 0.75s infinite; background: linear-gradient(180deg, transparent, rgba(255,255,255,0.6), transparent); }
.promo-border-line--left   { left: 0;   top: 100%;   width: 1px; height: 100%; animation: border-run-v 3s linear 2.25s infinite; animation-direction: reverse; background: linear-gradient(180deg, transparent, rgba(255,255,255,0.6), transparent); }

@keyframes border-run-h {
  from { left: -100%; }
  to   { left: 200%;  }
}
@keyframes border-run-v {
  from { top: -100%; }
  to   { top: 200%;  }
}

.promo-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 36px 48px;
  flex-wrap: wrap;
}
.promo-banner__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--pure);
  color: var(--black);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.promo-pulse {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--black);
  position: relative;
  flex-shrink: 0;
}
.promo-pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(0,0,0,0.25);
  animation: promo-ring 1.4s ease-out infinite;
}
@keyframes promo-ring {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}
.promo-banner__text {
  flex: 1;
  font-size: 18px;
  font-weight: 500;
  color: var(--white-dim);
  line-height: 1.5;
}
.promo-banner__text strong { color: var(--pure); font-weight: 700; }
.promo-banner__accent {
  color: var(--pure);
  font-weight: 700;
}
.promo-banner__btn { flex-shrink: 0; }

/* ── FAQ ACCORDION ───────────────────────────────────────── */
.svc-faq { background: var(--black-1); }
.faq__layout { max-width: 820px; }
.faq__item {
  border-bottom: 1px solid var(--grey-1);
}
.faq__item:first-child { border-top: 1px solid var(--grey-1); }
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px 0;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.faq__question:hover { color: var(--pure); }
.faq__question[aria-expanded="true"] { color: var(--pure); }
.faq__question[aria-expanded="true"] .faq__icon svg {
  transform: rotate(180deg);
}
.faq__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--grey-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-3);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.faq__question[aria-expanded="true"] .faq__icon {
  border-color: var(--grey-3);
  background: var(--black-3);
  color: var(--pure);
}
.faq__icon svg { transition: transform 0.35s var(--ease-out); }

.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease-out);
}
.faq__answer:not([hidden]) {
  max-height: 500px;
}
/* Убираем нативный hidden, управляем через JS */
.faq__answer[hidden] { display: block; visibility: hidden; }
.faq__answer-inner {
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--grey-4);
  line-height: 1.75;
}

/* ── CASES SLIDER ────────────────────────────────────────── */
.svc-cases { background: var(--black); }
.svc-cases__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 0;
  /* section-title уже даёт margin-bottom:64, перекрываем */
}
.svc-cases__head .section-title { margin-bottom: 0; }
.slider-controls {
  display: flex;
  gap: 10px;
  padding-bottom: 4px;
}
.slider-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--grey-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-3);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.slider-btn:hover {
  border-color: var(--grey-3);
  color: var(--pure);
  background: var(--black-2);
}
.slider-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.slider-viewport {
  overflow: hidden;
  margin-top: 40px;
  margin-bottom: 28px;
}
.slider-track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s var(--ease-out);
  will-change: transform;
}
.slider-card {
  flex: 0 0 calc(33.333% - 11px);
  min-width: 0;
}
.case-card__excerpt {
  font-size: 13px;
  color: var(--grey-4);
  line-height: 1.65;
  margin-bottom: 24px;
  margin-top: 12px;
}

/* Dots */
.slider-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.slider-dot {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--grey-1);
  border: none;
  cursor: pointer;
  transition: background 0.2s, width 0.3s var(--ease-out);
  padding: 0;
}
.slider-dot.active {
  background: var(--pure);
  width: 36px;
  box-shadow: 0 0 8px rgba(255,255,255,0.5);
}

/* ── SERVICE FORM SECTION ────────────────────────────────── */
.svc-form-section { background: var(--black-1); }
.svc-form-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  border: 1px solid var(--grey-1);
  border-radius: 20px;
  padding: 64px;
  background: var(--black-2);
  overflow: hidden;
}
.svc-form-wrap__glow {
  position: absolute;
  top: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.svc-form__title {
  font-family: var(--ff-display);
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--pure);
  margin-bottom: 24px;
}
.svc-form__desc {
  font-size: 16px;
  color: var(--grey-4);
  line-height: 1.7;
  margin-bottom: 36px;
}
.svc-form__promise {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svc-promise-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--white-dim);
}
.svc-promise-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure);
  flex-shrink: 0;
}
.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%236b6b7a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.form-select option {
  background: var(--black-3);
  color: var(--white);
}

/* ── SERVICE PAGE ACTIVE HEADER ──────────────────────────── */
.service-page .header {
  background: rgba(7,7,8,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--grey-1);
}
.nav__link--active {
  color: var(--pure) !important;
}
.nav__link--active::after {
  width: 100% !important;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .svc-hero__inner    { grid-template-columns: 1fr; }
  .svc-hero__card     { max-width: 480px; }
  .includes__layout   { grid-template-columns: 1fr; }
  .includes__aside    { position: static; display: grid; grid-template-columns: 1fr 1fr 1fr; }
  .includes__aside-card { grid-column: 1 / -1; }
  .pricing__grid      { grid-template-columns: 1fr; gap: 16px; }
  .pricing-card--featured { margin-top: 0; }
  .svc-form-wrap      { grid-template-columns: 1fr; gap: 48px; padding: 40px; }
  .slider-card        { flex: 0 0 calc(50% - 8px); }
}

@media (max-width: 768px) {
  .svc-hero { padding: 40px 0 72px; }
  .svc-hero__meta { flex-direction: column; width: 100%; border-radius: var(--radius); }
  .svc-meta-item { padding: 16px; width: 100%; }
  .svc-meta-divider { width: 100%; height: 1px; }
  .svc-hero__actions { flex-direction: column; }
  .svc-hero__actions .btn-primary,
  .svc-hero__actions .btn-ghost { width: 100%; justify-content: center; }

  .includes__aside { grid-template-columns: 1fr; }

  .promo-banner__inner { padding: 28px 24px; flex-direction: column; align-items: flex-start; }
  .promo-banner__btn { width: 100%; justify-content: center; }

  .slider-card { flex: 0 0 calc(100% - 0px); }
  .svc-cases__head { flex-direction: column; align-items: flex-start; gap: 16px; }

  .svc-form-wrap { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .svc-hero__title-main { font-size: clamp(64px, 18vw, 96px); }
  .pricing-card { padding: 28px 20px 32px; }
  .pricing-card__num { font-size: 34px; }
}

/* ── REDUCED MOTION ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .promo-banner, .promo-border-line, .promo-pulse::before,
  .photo-neon-border, .faq__answer, .slider-track { animation: none !important; transition: none !important; }
}
.svc-seo-text {
  padding: 60px 0;
  background: var(--black);
}

.seo-text__content {
  max-height: 250px; /* Высота, при которой скрыто ~70% текста */
  overflow: hidden;
  position: relative;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--white-dim);
  font-size: 16px;
  line-height: 1.7;
}

/* Эффект затухания внизу */
.seo-text__content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(transparent, var(--black));
  pointer-events: none;
  transition: opacity 0.3s;
}

/* Класс для развернутого состояния */
.seo-text__content.is-expanded {
  max-height: 2000px; /* Достаточная высота для всего текста */
}

.seo-text__content.is-expanded::after {
  opacity: 0;
}

.seo-text__btn {
  margin-top: 25px;
  background: none;
  border: none;
  color: var(--green);
  font-family: var(--ff-b);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  padding: 0;
  border-bottom: 1px dashed var(--green);
  transition: color 0.3s;
}

.seo-text__btn:hover {
  color: var(--pure);
  border-color: var(--pure);
}
.form-message {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 700;
    min-height: 20px;
}

/* Вставь в самый низ service.css */

@media (max-width: 768px) {
    /* 1. Заставляем все основные блоки выстраиваться в колонку */
    section > div, 
    header > div,
    main > div {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding-left: 15px !important; /* Безопасный отступ слева */
        padding-right: 15px !important; /* Безопасный отступ справа */
        box-sizing: border-box !important;
    }

    /* 2. Если где-то была жесткая ширина, сбрасываем её */
    div, section, header {
        max-width: 100% !important;
        min-width: 0 !important; /* Лечит вылезание за край */
    }
    
    /* 3. Уменьшаем гигантские заголовки */
    h1, h2, .hero__title {
    /* 1. Делаем шрифт меньше. Было 2rem, ставим умный размер: */
    /* Текст будет подстраиваться под ширину экрана (8% от ширины) */
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important; 
    
    line-height: 1.1 !important;
    
    /* 2. Лечим некрасивый разрыв слов */
    word-break: normal !important;      /* Запрещаем ломать слова где попало */
    overflow-wrap: break-word !important; /* Переносить только если совсем не влезает */
    
    /* 3. Включаем красивые переносы по слогам (прод-ви-же-ние) */
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto; 
}

/* ═════ СЕО-СТАТЬЯ ═════ */
.svc-article {
  padding: 80px 0;
}

.article-wrapper {
  position: relative;
  max-height: 250px; /* Высота видимой части до раскрытия */
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-wrapper.is-open {
  max-height: 3000px; /* С запасом для полного текста */
}

/* Эффект затухания текста */
.article-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  /* rgba(10,10,10) - замени на цвет фона твоего сайта при необходимости */
  background: linear-gradient(to bottom, rgba(10,10,10,0) 0%, rgba(10,10,10,1) 90%);
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.article-wrapper.is-open .article-fade {
  opacity: 0;
}

.article-action {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.btn-icon-arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.is-open-btn .btn-icon-arrow {
  transform: rotate(180deg);
}

/* Оформление самого текста */
.article-content h3 {
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 1.25rem;
  color: #fff;
}

.article-content p {
  margin-bottom: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.article-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.article-list li {
  margin-bottom: 8px;
  line-height: 1.5;
}