/* ===================== SERVICE PAGE OVERRIDES ===================== */
html.service-page,
html.service-page body {
  overflow: auto;
  height: auto;
}

html.service-page body {
  background-image: url('Фон 2.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===================== HERO ===================== */
.service-hero {
  position: relative;
  height: calc(100vh - var(--header-h));
  min-height: 560px;
  margin-top: var(--header-h);
  display: flex;
  align-items: flex-end;
  padding: 0 80px 72px;
  overflow: hidden;
}

.service-hero .cell__bg {
  transform: none;
  transition: none;
}

.service-hero .cell__video {
  animation: heroBurns 22s ease-in-out infinite alternate;
}

@keyframes heroBurns {
  from { transform: scale(1);    }
  to   { transform: scale(1.09); }
}

.service-hero__back    { animation: heroFadeIn 0.7s ease 0.1s both; }
.service-hero__label   { animation: heroFadeUp 0.8s ease 0.25s both; }
.service-hero__title   { animation: heroFadeUp 0.9s ease 0.4s both; }
.service-hero__sub     { animation: heroFadeUp 0.9s ease 0.6s both; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.service-hero__back {
  position: absolute;
  top: 40px;
  left: 80px;
  z-index: 3;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}

.service-hero__back:hover { color: #fff; }

.service-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.service-hero__label {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}

.service-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 300;
  font-style: italic;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 28px;
}

.service-hero__sub {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.05em;
  max-width: 520px;
}

/* ===================== INTRO ===================== */
.service-intro {
  background: transparent;
  padding: 80px;
  border-bottom: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.service-intro__text {
  background: transparent;
  border: none;
  padding: 0;
  max-width: 100%;
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.65;
  color: #fff;
  letter-spacing: 0.02em;
}

.service-intro__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 0;
}

.service-intro__fact {
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.35);
  padding: 0 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-intro__fact-val {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  font-style: italic;
  color: #fff;
  line-height: 1;
}

.service-intro__fact-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ===================== PROBLEM ===================== */
.service-problem {
  background: #111;
  padding: 100px 80px;
}

.service-problem__inner {
  max-width: 900px;
  border-left: 1px solid rgba(255,255,255,0.12);
  padding-left: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-problem__label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.service-problem__text {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.service-problem__sub {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  max-width: 560px;
}

/* ===================== SERVICES ===================== */
.service-services {
  background: transparent;
  padding: 80px;
  border-bottom: none;
}

.service-services__head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.service-services__head::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.2);
}

.service-services__title {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.15);
}

.service-card { grid-column: span 2; }

.service-card:nth-child(4) { grid-column: 2 / 4; }
.service-card:nth-child(5) { grid-column: 4 / 6; }

.service-card {
  background: transparent;
  border: none;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-card__num {
  font-family: var(--font-serif);
  font-size: 11px;
  font-style: italic;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  color: #fff;
  line-height: 1.25;
}

.service-card__text {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.03em;
}

/* ===================== PROCESS ===================== */
.service-process {
  background: transparent;
  padding: 80px;
  border-bottom: none;
}

.service-process__list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  align-items: start;
}

.service-step:last-child { border-bottom: 1px solid rgba(255,255,255,0.2); }

.service-step__num {
  font-family: var(--font-serif);
  font-size: 11px;
  font-style: italic;
  color: rgba(255,255,255,0.35);
  padding-top: 4px;
  letter-spacing: 0.1em;
}

.service-step__body { display: flex; flex-direction: column; gap: 10px; }

.service-step__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
  color: #fff;
}

.service-step__text {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.03em;
  max-width: 640px;
}

/* ===================== CTA MID ===================== */
.service-cta-mid {
  background: rgba(26,26,26,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 72px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.service-cta-mid__text {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 300;
  font-style: italic;
  color: #fff;
  max-width: 560px;
  line-height: 1.5;
}

.service-cta-mid__btn {
  flex-shrink: 0;
  padding: 14px 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}

.service-cta-mid__btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

/* ===================== CTA FINAL ===================== */
.service-cta {
  background: #1a1a1a;
  padding: 120px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}

.service-cta__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  font-style: italic;
  color: #fff;
  letter-spacing: 0.02em;
}

.service-cta__sub {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  line-height: 1.8;
  max-width: 420px;
}

.service-cta__btn {
  margin-top: 8px;
  padding: 16px 52px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.9);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}

.service-cta__btn:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.6);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .service-intro { grid-template-columns: 1fr; gap: 48px; }
  .service-cta-mid { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .service-hero { height: 60vh; padding: 0 24px 56px; }
  .service-hero__back { left: 24px; top: 20px; }
  .service-intro,
  .service-services,
  .service-process { padding: 64px 24px; }
  .service-problem { padding: 64px 24px; }
  .service-problem__inner { padding-left: 24px; }
  .service-cta,
  .service-cta-mid { padding: 80px 24px; }
  .service-step { grid-template-columns: 48px 1fr; gap: 20px; }
}
