.eo-r38-services {
  --eo-r38-red: #ee3129;
  --eo-r38-red-dark: #d92720;
  --eo-r38-red-soft: #fff0ee;
  --eo-r38-ink: #202126;
  --eo-r38-muted: #7b808b;
  --eo-r38-line: #e6e7ea;
  width: 100%;
  padding: 44px 0 72px;
  color: var(--eo-r38-ink);
  font-family: "Manrope", "Montserrat", Arial, sans-serif;
}

.eo-r38-services *,
.eo-r38-services *::before,
.eo-r38-services *::after { box-sizing: border-box; }

.eo-r38-services__header {
  position: static;
  top: auto;
  z-index: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin: 0 0 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.eo-r38-services__heading { max-width: 780px; }
.eo-r38-services__heading h2 {
  margin: 0;
  color: var(--eo-r38-ink);
  font-size: clamp(28px, 3.1vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.03em;
}
.eo-r38-services__heading p {
  margin: 12px 0 0;
  color: var(--eo-r38-muted);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
}
.eo-r38-services__all {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid #f5aaa5;
  border-radius: 999px;
  background: var(--eo-r38-red-soft);
  color: #c9231d;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.eo-r38-services__all svg,
.eo-r38-promo__button svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.eo-r38-services__all:hover { border-color: var(--eo-r38-red); background: var(--eo-r38-red); color: #fff; }

.eo-r38-services__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 20px;
  align-items: stretch;
}
.eo-r38-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.eo-r38-service-card[data-service-category-id="194"] { order: 5; }
.eo-r38-service-card[data-service-product-id="353"] { order: 6; }
.eo-r38-service-card {
  display: flex;
  min-width: 0;
  min-height: 310px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--eo-r38-line);
  border-radius: 24px;
  background: #fff;
}
.eo-r38-service-card__icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--eo-r38-red-soft);
  color: var(--eo-r38-red);
}
.eo-r38-service-card__icon svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.eo-r38-service-card h3 {
  margin: 16px 0 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.02em;
}
.eo-r38-service-card h3 a { color: var(--eo-r38-ink); text-decoration: none; }
.eo-r38-service-card h3 a:hover { color: var(--eo-r38-red); }
.eo-r38-service-card__description {
  margin: 8px 0 0;
  color: var(--eo-r38-muted);
  font-size: 15px;
  line-height: 1.65;
}
.eo-r38-service-card__price {
  margin: 16px 0 0;
  color: var(--eo-r38-ink);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
}
.eo-r38-service-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}
.eo-r38-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.eo-r38-button--light { border-color: var(--eo-r38-line); background: #fff; color: var(--eo-r38-ink); }
.eo-r38-button--light:hover { border-color: var(--eo-r38-red); color: var(--eo-r38-red); }
.eo-r38-button--primary { border-color: var(--eo-r38-red); background: var(--eo-r38-red); color: #fff; box-shadow: 0 10px 24px rgba(238,49,41,.22); }
.eo-r38-button--primary:hover { border-color: var(--eo-r38-red-dark); background: var(--eo-r38-red-dark); color: #fff; }

.eo-r38-services__sidebar {
  display: flex;
  min-width: 0;
  height: 100%;
  align-self: stretch;
  flex-direction: column;
  gap: 20px;
}
.eo-r38-specialist {
  flex: 0 0 auto;
  padding: 32px;
  border: 1px solid var(--eo-r38-line);
  border-radius: 24px;
  background: #fff;
}
.eo-r38-specialist h3 {
  margin: 0;
  color: var(--eo-r38-ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.eo-r38-specialist__lead { margin: 12px 0 0; color: var(--eo-r38-muted); font-size: 16px; line-height: 1.65; }
.eo-r38-specialist__form { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.eo-r38-specialist__honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.eo-r38-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.eo-r38-field > span:first-child { color: var(--eo-r38-ink); font-size: 14px; font-weight: 700; }
.eo-r38-field input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--eo-r38-line);
  border-radius: 14px;
  outline: 0;
  background: #f7f8f9;
  color: var(--eo-r38-ink);
  font: inherit;
  font-size: 16px;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.eo-r38-field input::placeholder { color: #a3a7af; }
.eo-r38-field input:focus { border-color: var(--eo-r38-red); background: #fff; box-shadow: 0 0 0 4px rgba(238,49,41,.1); }
.eo-r38-specialist__submit,
.eo-r38-promo__button {
  display: inline-flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--eo-r38-red);
  border-radius: 14px;
  background: var(--eo-r38-red);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(238,49,41,.22);
  transition: background-color .18s ease, border-color .18s ease;
}
.eo-r38-specialist__submit:hover,
.eo-r38-promo__button:hover { border-color: var(--eo-r38-red-dark); background: var(--eo-r38-red-dark); }
.eo-r38-specialist .evo-feedback-error { min-height: 0; color: var(--eo-r38-red); font-size: 12px; }
.eo-r38-specialist .evo-feedback-result { min-height: 0; margin: 0; font-size: 13px; line-height: 1.45; }

.eo-r38-promo {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  overflow: hidden;
  padding: 32px;
  border: 1px solid #facdca;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(25,30,40,.04), 0 8px 24px rgba(25,30,40,.05);
}
.eo-r38-promo__glow { position: absolute; top: -40px; right: -40px; width: 128px; height: 128px; border-radius: 50%; background: var(--eo-r38-red-soft); opacity: .8; }
.eo-r38-promo__top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.eo-r38-promo__badge { display: inline-flex; min-height: 32px; align-items: center; padding: 0 12px; border-radius: 7px; background: var(--eo-r38-red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.eo-r38-promo__icon { display: flex; width: 44px; height: 44px; flex: 0 0 44px; align-items: center; justify-content: center; border-radius: 14px; background: var(--eo-r38-red-soft); color: var(--eo-r38-red); }
.eo-r38-promo__icon svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.eo-r38-promo h3 { position: relative; z-index: 1; max-width: 300px; margin: 24px 0 0; color: var(--eo-r38-ink); font-size: 30px; font-weight: 800; line-height: 1.04; letter-spacing: -.03em; }
.eo-r38-promo__lead { position: relative; z-index: 1; max-width: 340px; margin: 16px 0 0; color: var(--eo-r38-muted); font-size: 15px; line-height: 1.65; }
.eo-r38-promo__note { position: relative; z-index: 1; max-width: 340px; margin: 12px 0 0; color: #999da6; font-size: 13px; line-height: 1.65; }
.eo-r38-promo__button { position: relative; z-index: 1; margin-top: auto; }

@media (max-width: 1023px) {
  .eo-r38-services__layout { grid-template-columns: minmax(0, 1fr); }
  .eo-r38-services__sidebar {
    display: grid;
    height: auto;
    align-self: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .eo-r38-promo { height: auto; min-height: 0; flex: none; }
}
@media (max-width: 767px) {
  .eo-r38-services { padding: 36px 0 52px; }
  .eo-r38-services__header { align-items: flex-start; margin-bottom: 28px; }
  .eo-r38-services__sidebar { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .eo-r38-services__header { flex-direction: column; gap: 18px; }
  .eo-r38-services__grid { grid-template-columns: minmax(0, 1fr); }
  .eo-r38-service-card { min-height: 0; }
  .eo-r38-service-card__actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .eo-r38-specialist,
  .eo-r38-promo { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .eo-r38-services * { scroll-behavior: auto !important; transition: none !important; }
}
