.service-prototype {
  --service-anchor-offset: 166px;
  background: linear-gradient(180deg, rgba(255, 248, 242, .96), rgba(246, 234, 223, .62) 42%, rgba(255, 248, 242, 1));
  max-width: 100%;
  overflow-x: clip;
  scroll-padding-top: var(--service-anchor-offset);
}

.service-prototype *,
.service-prototype *::before,
.service-prototype *::after {
  min-width: 0;
}

.service-hero {
  position: relative;
  padding: 54px 0 72px;
  background:
    radial-gradient(circle at 14% 10%, rgba(243, 107, 33, .16), transparent 32%),
    radial-gradient(circle at 86% 16%, rgba(148, 59, 19, .22), transparent 38%),
    linear-gradient(135deg, #130b08 0%, #20100b 42%, #38190d 72%, #5a260f 100%);
  color: var(--white);
  overflow: hidden;
}

.service-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -76px;
  height: 118px;
  background: linear-gradient(180deg, rgba(255, 248, 242, 0) 0%, rgba(255, 248, 242, .34) 60%, var(--cream) 100%);
  pointer-events: none;
}

.service-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 38px;
  align-items: center;
}

.service-hero__content {
  max-width: 780px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .74);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumbs a {
  color: var(--white);
}


.service-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.service-hero__lead {
  max-width: 740px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .86);
  font-size: 17px;
}

.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.service-hero .btn--ghost {
  border-color: rgba(255, 255, 255, .42);
  color: var(--white);
  background: rgba(255, 255, 255, .08);
}

.service-consult {
  position: relative;
  top: auto;
  background: rgba(255, 250, 246, .96);
}

.service-consult .consult-card__title {
  font-size: 24px;
}

.service-consult .form {
  gap: 10px;
}

.service-consult__note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.service-section {
  padding: 34px 0 86px;
}

.content-card[id],
.faq-section[id],
.city-links-section[id] {
  scroll-margin-top: var(--service-anchor-offset);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: start;
}

.service-main {
  display: grid;
  gap: 24px;
}

.content-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 48px rgba(55, 28, 13, .08);
}

.content-card h2 {
  max-width: 830px;
  margin-bottom: 18px;
  color: var(--dark);
  font-size: clamp(28px, 2.6vw, 34px);
  line-height: 1.08;
  letter-spacing: 0;
}

.content-card h3 {
  margin: 24px 0 10px;
  color: var(--dark-2);
  font-size: 22px;
  line-height: 1.2;
}

.content-card p,
.content-card li {
  color: var(--muted);
  font-size: 16px;
}

.content-card :where(p, figure, .wp-caption, .wp-block-image) img {
  border-radius: var(--radius);
}

.content-card--intro {
  border-top: 5px solid var(--orange);
}

.factor-grid,
.family-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.factor-grid div,
.family-grid div {
  min-height: 76px;
  padding: 18px;
  border: 1px solid rgba(111, 53, 22, .13);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--dark);
  font-weight: 800;
}

.factor-grid__title {
  display: block;
  color: var(--dark);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.22;
}

.factor-grid small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.medical-note {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 18px;
  padding: 18px;
  border-left: 4px solid #61735b;
  border-radius: var(--radius);
  background: rgba(97, 115, 91, .1);
  color: #394632;
}

.medical-note strong {
  color: #2e3b29;
  font-weight: 900;
}

.media-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: stretch;
}

.service-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.service-step {
  min-height: 228px;
  padding: 22px;
  border: 1px solid rgba(111, 53, 22, .13);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), var(--cream));
}

.service-step > span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.service-step__title {
  margin-top: 18px;
  margin-bottom: 8px;
  color: var(--dark-2);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.22;
}

.service-step p {
  margin-bottom: 0;
  font-size: 14px;
}

.media-content {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.media-content__image {
  min-height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}

.media-content__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.family-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.family-grid__title {
  display: block;
  margin-top: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.22;
}

.family-grid p {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}


@media (min-width: 1021px) {
  .service-timeline.is-four-items > .service-step:nth-child(4),
  .family-grid.is-four-items > div:nth-child(4) {
    grid-column: 1 / -1;
  }

  .service-timeline.is-four-items > .service-step:nth-child(4) {
    min-height: 0;
    align-content: start;
  }

  .service-timeline.is-four-items > .service-step:nth-child(4) .service-step__title,
  .service-timeline.is-four-items > .service-step:nth-child(4) p,
  .family-grid.is-four-items > div:nth-child(4) .family-grid__title,
  .family-grid.is-four-items > div:nth-child(4) p {
    max-width: none;
    width: 100%;
  }
}
.service-advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.service-advantage {
  display: grid;
  min-height: 216px;
  align-content: center;
  justify-items: center;
  gap: 24px;
  padding: 24px 18px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--white);
  text-align: center;
}

.service-advantage img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.service-advantage strong {
  max-width: 156px;
  color: var(--white);
  font-size: 15px;
  line-height: 1.22;
}

.price-card {
  border-color: rgba(243, 107, 33, .22);
  background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(255, 248, 242, .95));
}

.price-table-wrap {
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(111, 53, 22, .14);
  border-radius: var(--radius);
  background: var(--white);
}

.price-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  color: var(--dark);
  font-size: 15px;
}

.price-table__service-col {
  width: 65%;
}

.price-table__cost-col {
  width: 35%;
}

.price-table th,
.price-table td {
  padding: 15px 18px;
  border-bottom: 1px solid rgba(111, 53, 22, .1);
  text-align: left;
  vertical-align: top;
}

.price-table th {
  background: var(--dark);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.price-table td:first-child {
  color: #3a2b22;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: normal;
}

.price-table th:last-child,
.price-table td:last-child {
  width: 35%;
  color: var(--orange);
  font-weight: 600;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.price-table th:last-child {
  color: var(--white);
}

.price-table__group td,
.price-table__subhead td,
.price-table__note td {
  width: auto;
  white-space: normal;
}

.price-table__group td {
  background: rgba(243, 107, 33, .08);
  color: var(--dark);
}

.price-table__subhead td {
  background: rgba(111, 53, 22, .055);
  color: var(--brown);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-table__note td {
  background: rgba(243, 107, 33, .06);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.service-sidebar {
  position: sticky;
  top: 150px;
  display: grid;
  gap: 14px;
}

.sidebar-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.sidebar-card__label {
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.sidebar-card__phone {
  display: block;
  margin-bottom: 12px;
  color: var(--dark);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
}

.sidebar-card p {
  color: var(--muted);
  font-size: 14px;
}

.sidebar-card .btn {
  width: 100%;
  justify-content: center;
}

.sidebar-phone-card {
  background: linear-gradient(180deg, var(--white), var(--cream));
}

.related-services {
  display: grid;
  gap: 8px;
}

.related-services a,
.city-links-grid a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(111, 53, 22, .12);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--dark);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.related-services a:hover,
.city-links-grid a:hover {
  transform: translateY(-1px);
  border-color: rgba(243, 107, 33, .36);
  color: var(--orange);
}

.content-author-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid rgba(243, 107, 33, .72);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--white), rgba(255, 248, 242, .78));
  box-shadow: 0 12px 28px rgba(55, 28, 13, .05);
}

.content-author-card__person {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.content-author-card__person img {
  width: 74px;
  height: 74px;
  border-radius: var(--radius);
  object-fit: cover;
}

.content-author-card__label {
  margin-bottom: 4px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.content-author-card h3 {
  margin: 0 0 5px;
  color: var(--dark);
  font-size: 20px;
  line-height: 1.15;
}

.content-author-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.content-author-card__link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 107, 33, .3);
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.service-proof {
  padding: 82px 0;
  background: var(--dark);
  color: var(--white);
}

.service-proof .section-head h2,
.service-proof .section-head p {
  color: var(--white);
}

.service-proof .section-head p {
  color: rgba(255, 255, 255, .72);
}

.ymyl-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}

.proof-slider-card {
  min-width: 0;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
}

.proof-slider-card span {
  margin-bottom: 14px;
  color: var(--orange-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-slider-card h3 {
  margin: 0;
  color: var(--white);
  font-size: 22px;
  line-height: 1.14;
}

.proof-slider-card__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  margin-bottom: 18px;
}

.proof-slider-card__head .btn {
  min-height: 40px;
  padding: 12px 16px;
  white-space: nowrap;
}

.proof-slider-card .proof-scroll-wrap {
  margin-top: auto;
  overflow: hidden;
}

.service-proof-scroll {
  gap: 0;
  padding: 0;
}

.service-proof-scroll img {
  flex: 0 0 100%;
  min-width: 100%;
  max-width: 100%;
  width: 100%;
  height: 490px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: var(--white);
}

.service-proof .slider-dots {
  margin-top: 18px;
}

.faq-section {
  padding: 82px 0;
  background: var(--cream);
}

.faq-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.faq-grid h2 {
  color: var(--dark);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(55, 28, 13, .07);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--dark);
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.service-final-cta {
  padding: 82px 0 0;
  background: var(--cream);
}

.city-links-section {
  padding: 56px 0 70px;
  background: linear-gradient(180deg, var(--cream), rgba(255, 248, 242, .82));
}

.city-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 1100px) {
  .service-prototype {
    --service-anchor-offset: 154px;
  }

  .service-hero__grid,
  .service-layout,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .service-consult,
  .service-sidebar {
    position: static;
  }

  .service-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-advantages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ymyl-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .service-hero {
    padding: 42px 0 66px;
    background:
      radial-gradient(circle at 8% 12%, rgba(243, 107, 33, .14), transparent 34%),
      linear-gradient(145deg, #130b08 0%, #20100b 55%, #4b210f 100%);
  }

  .service-hero h1 {
    font-size: 44px;
  }

  .factor-grid,
  .media-content,
  .family-grid,
  .ymyl-proof-grid,
  .city-links-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .content-card {
    padding: 26px;
  }

  .service-section,
  .service-proof,
  .city-links-section,
  .faq-section {
    padding: 56px 0;
  }

  .service-timeline {
    grid-template-columns: 1fr;
  }

  .service-advantages-grid {
    grid-template-columns: 1fr;
  }

  .service-advantage {
    min-height: 168px;
  }

  .media-content__image {
    min-height: 280px;
  }

  .proof-slider-card__head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .service-hero h1 {
    font-size: 30px;
  }

  .content-card h2,
  .city-links-section .section-head h2,
  .faq-grid h2 {
    font-size: 22px;
    line-height: 1.14;
  }

  .breadcrumbs {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .breadcrumbs a,
  .breadcrumbs span {
    flex: 0 0 auto;
  }

  .service-hero__actions {
    flex-direction: column;
  }

  .service-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .content-card,
  .sidebar-card,
  .proof-slider-card {
    padding: 22px;
  }

  .content-author-card {
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 12px;
    padding: 14px;
  }

  .content-author-card__person {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 11px;
  }

  .content-author-card__person img {
    width: 58px;
    height: 58px;
    border-radius: 10px;
  }

  .content-author-card h3 {
    font-size: 17px;
  }

  .content-author-card p {
    font-size: 11px;
  }

  .medical-note {
    grid-template-columns: 1fr;
  }
}

/* Final service layout fixes. */
.city-links-section .section-head {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  align-items: start !important;
}

.city-links-section .section-head > div,
.city-links-section .section-head h2 {
  width: 100%;
  max-width: none;
}

.service-prototype .family-grid > div {
  min-width: 0;
}

.service-prototype .family-grid__title {
  display: block !important;
  min-height: 0 !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--dark) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.22 !important;
}

.service-prototype .family-grid.is-four-items > div:nth-child(4) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
  column-gap: 28px;
  align-items: start;
}

.service-prototype .family-grid.is-four-items > div:nth-child(4) .family-grid__title {
  margin-bottom: 0 !important;
}

.service-prototype .family-grid.is-four-items > div:nth-child(4) p {
  width: 100%;
  max-width: none;
}

.service-prototype .service-step > span {
  margin-bottom: 16px;
}

.service-prototype .service-step__title {
  margin-top: 0 !important;
}

@media (max-width: 820px) {
  .service-prototype .family-grid.is-four-items > div:nth-child(4) {
    display: block;
    grid-column: auto;
  }

  .service-prototype .family-grid.is-four-items > div:nth-child(4) .family-grid__title,
  .service-prototype .family-grid__title {
    margin-bottom: 10px !important;
  }
}
