.service-detail-page {
  color: #212529;
  background: #fff;
  font-family: "Noto Sans", sans-serif;
}

.service-detail-page *,
.service-detail-page *::before,
.service-detail-page *::after { box-sizing: border-box; }

.service-detail-page main { overflow: clip; }

.service-hero {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: clamp(560px, calc(100vh - var(--header-fixed-height, 168px)), 720px);
  min-height: clamp(560px, calc(100svh - var(--header-fixed-height, 168px)), 720px);
  color: #fff;
  background: #123a32;
  isolation: isolate;
}

.service-hero__media,
.service-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.service-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.service-hero__shade {
  background: linear-gradient(90deg, rgba(8, 33, 29, .93) 0%, rgba(8, 33, 29, .82) 38%, rgba(8, 33, 29, .45) 62%, rgba(8, 33, 29, .15) 100%),
              linear-gradient(0deg, rgba(8, 33, 29, .82), transparent 60%);
}
.service-hero__inner { display: flex; flex-direction: column; width: 100%; margin-block: 0; padding-top: 24px; padding-bottom: 32px; }
/* Справа внизу кнопка чата Jivo: на десктопе факты не заходят под нее. */
@media (min-width: 1200px) { .service-hero .service-facts { padding-right: 96px; } }
.service-hero .breadcrumbs { margin-bottom: auto; padding-bottom: 40px; }
.service-hero__inner > .service-facts { margin-top: auto; }
.service-hero__inner > h1 { margin-top: 0; }
.service-hero__inner > .service-button--hero { margin-bottom: 48px; }
.service-hero .breadcrumb { padding: 0; margin: 0; background: transparent; color: rgba(255,255,255,.78); }
.service-hero .breadcrumb a,
.service-hero .breadcrumb li { color: rgba(255,255,255,.82); }
.service-hero h1 {
  max-width: 760px;
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  overflow-wrap: break-word;
}
.service-hero__lead {
  max-width: 560px;
  margin: 0 0 36px;
  color: rgba(255,255,255,.94);
  font-size: var(--type-body, 1.125rem);
  line-height: var(--type-line-body, 1.6);
}
.service-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  border: 1px solid #047856;
  border-radius: 12px;
  background: #047856;
  color: #fff;
  font: 700 16px/1.2 "Noto Sans", sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease-out, border-color .15s ease-out, transform .15s ease-out;
}
.service-button:active { background: #024a35; border-color: #024a35; transform: scale(.98); }
.service-button:hover,
.service-button:focus-visible { background: #035d43; border-color: #035d43; color: #fff; transform: translateY(-1px); }
.service-button:focus-visible,
.service-option:focus-visible,
.service-faq summary:focus-visible { outline: 3px solid rgba(53, 122, 91, .45); outline-offset: 3px; }
.service-button--hero { align-self: flex-start; background: #fff; border-color: #fff; color: #123a32; }
.service-button--hero:hover,
.service-button--hero:focus-visible { background: #f4f7f5; border-color: #f4f7f5; color: #123a32; }
.service-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: auto 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.4);
}
.service-facts div { min-width: 0; }
.service-facts dt { margin-bottom: 7px; color: #ffb17e; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.service-facts dd { margin: 0; color: #fff; font-size: 15px; font-weight: 600; line-height: 1.4; overflow-wrap: break-word; }

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-template-areas: "content aside";
  gap: 56px;
  padding-top: 72px;
  padding-bottom: 72px;
}
.service-content { grid-area: content; min-width: 0; }
.service-aside { grid-area: aside; align-self: stretch; }
.service-booking-card {
  position: sticky;
  top: calc(var(--header-fixed-height, 176px) + 16px);
  padding: 24px;
  border: 1px solid #dce5e1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(18,58,50,.08);
}
.service-booking-card__price { text-wrap: pretty; margin: 0 0 24px; font-size: 23px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.service-booking-card label { display: block; margin: 15px 0 7px; font-size: 13px; font-weight: 700; }
.service-booking-card select,
.service-booking-card input {
  display: block;
  width: 100%;
  height: 48px;
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #c5d3cd;
  border-radius: 12px;
  background-color: #f8fbf9;
  color: #212529;
  font: 400 16px/1.45 "Noto Sans", sans-serif;
}
.service-booking-card select {
  padding-right: 44px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: #fff url('data:image/svg+xml;charset=US-ASCII,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 9L12 15L18 9" stroke="%23047856" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 14px center / 20px;
}
.service-booking-card select::-ms-expand { display: none; }
.service-booking-card .service-button { display: flex; width: 100%; margin-top: 22px; justify-content: center; }
.service-booking-card__contact .service-socials { display: grid; width: 100%; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.service-booking-card__contact .service-socials a { width: 100%; height: 44px; }
.service-booking-card__contact { display: grid; justify-items: start; gap: 10px; margin-top: 15px; padding-top: 16px; border-top: 1px solid #dce5e1; }
.service-booking-card__phone { display: inline-block; color: #047856; font-size: var(--type-card-title, 1.25rem); font-weight: 700; line-height: 1.3; text-decoration: none; }
.service-booking-card__phone:focus-visible { outline: 3px solid rgba(53, 122, 91, .45); outline-offset: 3px; }
.service-booking-card__contact .service-socials { margin-top: 0; }
.service-section + .service-section { margin-top: 72px; }
.service-section h2,
.service-contact h2,
.service-related h2,
.service-reviews h2 { margin: 0 0 28px; font-size: var(--type-h2, 2rem); font-weight: var(--type-weight-h2, 700); line-height: var(--type-line-h2, 1.2); }
.service-section h3 { margin: 0 0 8px; font-size: var(--type-h3, 1.5rem); font-weight: var(--type-weight-h3, 700); line-height: var(--type-line-h3, 1.25); }
.service-benefit h3,
.service-conditions h3 { font-size: var(--type-card-title, 1.25rem); font-weight: var(--type-weight-card-title, 700); line-height: 1.25; }
.service-section h4 { margin: 0 0 8px; font-size: var(--type-h4, 1.25rem); font-weight: var(--type-weight-h4, 600); line-height: var(--type-line-h4, 1.3); }
.service-section p { line-height: var(--type-line-body, 1.6); }
.service-benefits { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 28px; }
.service-benefit { display: flex; gap: 15px; padding-top: 16px; border-top: 1px solid #dce5e1; }
.service-benefit > div { flex: 1; }
.service-benefit p { margin: 0; color: #4c5a54; font-size: var(--type-small-body, 1rem); }
.service-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-width: 0; }
.service-gallery__item { position: relative; display: block; min-width: 0; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 20px; background: #f8fafc; }
.service-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.service-gallery__item:hover img,
.service-gallery__item:focus-visible img { transform: scale(1.03); }
.service-gallery__item:focus-visible { outline: 3px solid rgba(53, 122, 91, .45); outline-offset: 3px; }
.service-gallery--count-5plus { grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(168px, 1fr); }
.service-gallery--count-5plus .service-gallery__item.is-hero { grid-column: 1; grid-row: 1 / span 2; min-height: 100%; aspect-ratio: auto; }
.service-gallery--count-5plus .service-gallery__item:not(.is-hero) { aspect-ratio: 1 / 1; }
.service-gallery--count-5plus .service-gallery__item:nth-child(5) { grid-column: 3; grid-row: 2; }
.service-gallery__item.is-hidden { display: none !important; }
.service-gallery__overlay { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 18px; color: #fff; background: linear-gradient(180deg, rgba(15,23,42,0) 15%, rgba(15,23,42,.56) 100%); pointer-events: none; }
.service-gallery__overlay strong { font-size: var(--type-card-title, 1.25rem); font-weight: var(--type-weight-card-title, 700); line-height: 1.25; }
.service-gallery__overlay span { color: rgba(255,255,255,.84); font-size: .88rem; line-height: 1.35; }
.service-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: service-step; }
.service-steps li { position: relative; display: flex; min-height: 105px; flex-direction: column; justify-content: center; padding: 20px 0 20px 74px; border-top: 1px solid #dce5e1; counter-increment: service-step; }
.service-steps li::before { position: absolute; top: 50%; left: 0; display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: #fff1e8; color: #c2410c; content: counter(service-step); font-size: 18px; font-weight: 800; line-height: 1; transform: translateY(-50%); }
.service-steps h3 { margin-top: 0; font-size: 1.25rem; }
.service-steps p { margin: 0; color: #4c5a54; }
.service-options { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.service-option {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid #dce5e1;
  border-radius: 20px;
  background: #fff;
  color: #212529;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease-out, box-shadow .15s ease-out;
}
.service-option:hover { border-color: #9fbfb2; box-shadow: 0 12px 28px rgba(18,58,50,.1); }
.service-option__media { display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #e7eeeb; }
.service-option__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease-out; }
.service-option:hover .service-option__media img { transform: scale(1.03); }
.service-option__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px 22px 22px; }
.service-option strong { font-size: var(--type-card-title, 1.25rem); font-weight: var(--type-weight-card-title, 700); line-height: 1.25; }
.service-option__description { margin: 8px 0 20px; color: #4c5a54; font-size: var(--type-small-body, 1rem); line-height: 1.45; }
.service-option__action { display: inline-flex; min-height: 44px; margin-top: auto; align-items: center; padding: 0 20px; border: 1px solid #047856; border-radius: 12px; color: #047856; font-size: 15px; font-weight: 700; transition: background-color .15s ease-out, color .15s ease-out; }
.service-option__action:hover { background: #047856; color: #fff; }
.service-option:active .service-option__action { background: #035d43; border-color: #035d43; color: #fff; }
@media (prefers-reduced-motion: reduce) { .service-option__media img { transition: none; } .service-option:hover .service-option__media img { transform: none; } }
.service-conditions { display: grid; gap: 0; }
.service-conditions article { padding: 18px 0; border-top: 1px solid #dce5e1; }
.service-conditions h3 { margin-bottom: 5px; }
.service-conditions p { margin: 0; color: #4c5a54; }
.service-faq details { border-top: 1px solid #dce5e1; }
.service-faq details:last-child { border-bottom: 1px solid #dce5e1; }
.service-faq summary { position: relative; padding: 19px 42px 19px 0; font-weight: 700; cursor: pointer; list-style: none; }
.service-faq summary::-webkit-details-marker { display: none; }
.service-faq summary::after { position: absolute; right: 10px; content: "+"; color: #047856; font-size: 24px; line-height: 1; }
.service-faq details[open] summary::after { content: "−"; }
.service-faq p { max-width: 65ch; margin: 0 0 20px; color: #4c5a54; }
.service-faq summary::after { transition: transform .25s ease; }
.service-faq details[open] summary::after { transform: rotate(180deg); }
.service-faq__body { overflow: hidden; }
.service-editorial {
  max-width: 70ch;
  color: #212529;
  font-size: var(--type-body, 1.125rem);
  line-height: var(--type-line-body, 1.6);
  overflow-wrap: anywhere;
}

.service-editorial img,
.service-editorial video,
.service-editorial svg { max-width: 100%; height: auto; }
.service-editorial iframe { max-width: 100%; }
.service-editorial table,
.service-editorial pre { display: block; max-width: 100%; overflow-x: auto; }
.service-editorial > :first-child { margin-top: 0; }
.service-editorial p { margin: 0 0 var(--type-paragraph-gap, 1.125rem); line-height: var(--type-line-body, 1.6); }
.service-editorial h2 { margin: var(--sp-8, 2rem) 0 var(--sp-3, .75rem); font-size: var(--type-h2, 2rem); font-weight: var(--type-weight-h2, 700); line-height: var(--type-line-h2, 1.2); }
.service-editorial h3 { margin: var(--sp-8, 2rem) 0 var(--sp-3, .75rem); font-size: var(--type-h3, 1.5rem); font-weight: var(--type-weight-h3, 700); line-height: var(--type-line-h3, 1.25); }
.service-editorial h4 { margin: var(--sp-8, 2rem) 0 var(--sp-3, .75rem); font-size: var(--type-h4, 1.25rem); font-weight: var(--type-weight-h4, 600); line-height: var(--type-line-h4, 1.3); }
.service-editorial ul:not(.list-checked-green):not(.li-p):not(.li-p2):not(.li-p3),
.service-editorial ol:not(.list-checked-green):not(.li-p):not(.li-p2):not(.li-p3) {
  margin: 0 0 var(--type-paragraph-gap, 1.125rem);
  padding-left: var(--type-list-indent, 1.5em);
  line-height: var(--type-line-body, 1.6);
  list-style-position: outside;
}
.service-editorial ul:not(.list-checked-green):not(.li-p):not(.li-p2):not(.li-p3) { list-style-type: disc; }
.service-editorial ol:not(.list-checked-green):not(.li-p):not(.li-p2):not(.li-p3) { list-style-type: decimal; }
.service-editorial ul:not(.list-checked-green):not(.li-p):not(.li-p2):not(.li-p3) > li,
.service-editorial ol:not(.list-checked-green):not(.li-p):not(.li-p2):not(.li-p3) > li { margin: 0 0 var(--type-list-gap, 0.5rem); }
.service-editorial ul:not(.list-checked-green):not(.li-p):not(.li-p2):not(.li-p3) > li::marker,
.service-editorial ol:not(.list-checked-green):not(.li-p):not(.li-p2):not(.li-p3) > li::marker { color: #047856; }
.service-editorial ul:not(.list-checked-green):not(.li-p):not(.li-p2):not(.li-p3) ul:not(.list-checked-green):not(.li-p):not(.li-p2):not(.li-p3) { list-style-type: circle; }
.service-editorial ul:not(.list-checked-green):not(.li-p):not(.li-p2):not(.li-p3) ul:not(.list-checked-green):not(.li-p):not(.li-p2):not(.li-p3) ul:not(.list-checked-green):not(.li-p):not(.li-p2):not(.li-p3) { list-style-type: square; }
.service-editorial ol:not(.list-checked-green):not(.li-p):not(.li-p2):not(.li-p3) ol:not(.list-checked-green):not(.li-p):not(.li-p2):not(.li-p3) { list-style-type: lower-alpha; }
.service-editorial ol:not(.list-checked-green):not(.li-p):not(.li-p2):not(.li-p3) ol:not(.list-checked-green):not(.li-p):not(.li-p2):not(.li-p3) ol:not(.list-checked-green):not(.li-p):not(.li-p2):not(.li-p3) { list-style-type: lower-roman; }
.service-editorial a { color: #047856; }

.service-reviews { padding: 0 0 72px; }
.service-reviews h2 { text-align: center; }
.service-reviews__lead { max-width: 58ch; margin: 0 auto 22px; color: #4c5a54; font-size: var(--type-body, 1.125rem); line-height: var(--type-line-body, 1.6); text-align: center; }
.service-reviews__widget { position: relative; width: 100%; max-width: 560px; height: 800px; margin: 0 auto; overflow: hidden; border-radius: 20px; background: #f4f7f5; }
.service-reviews__widget iframe { display: block; width: 100%; height: 100%; border: 1px solid #e6e6e6; border-radius: 20px; box-sizing: border-box; }
.service-mobile-cta { display: none; }
@media (max-width: 991px) {
  .service-gallery--count-5plus { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .service-gallery--count-5plus .service-gallery__item,
  .service-gallery--count-5plus .service-gallery__item.is-hero { grid-column: auto; grid-row: auto; min-height: 0; aspect-ratio: 1 / 1; }
  .service-gallery--count-5plus .service-gallery__item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .service-gallery--count-5plus .service-gallery__item:nth-child(5) { grid-column: auto; grid-row: auto; }
}
.service-contact { padding: 72px 0; background: #f4f7f5; scroll-margin-top: var(--header-fixed-height, 176px); }
.service-contact__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }

.service-contact__copy,
.service-request-form { min-width: 0; }
.service-contact__copy > p:not([class]) { max-width: 45ch; color: #4c5a54; font-size: var(--type-body, 1.125rem); line-height: var(--type-line-body, 1.6); }
.service-contact__steps { display: grid; gap: 10px; margin: 24px 0 32px; padding: 0; list-style: none; }
.service-contact__steps li { position: relative; padding-left: 22px; color: #212529; font-size: 16px; font-weight: 600; line-height: 1.5; }
.service-contact__steps li::before { position: absolute; top: .62em; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: #047856; content: ""; }
.service-contact__card { max-width: 380px; padding: 24px 0 0; border-top: 1px solid #dce5e1; }
.service-contact__label { margin: 0 0 6px; color: #123a32; font-size: 16px; font-weight: 700; line-height: 1.4; }
.service-contact__copy a.service-contact__phone { display: inline-block; margin: 4px 0 0; color: #047856; font-size: 24px; font-weight: 800; line-height: 1.25; text-decoration: none; }
.service-contact__copy a.service-contact__phone:hover { color: #035d43; }
.service-contact__note { margin: 2px 0 16px; color: #5d6b65; font-size: 14px; line-height: 1.4; }
.service-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.service-socials a { display: flex; width: 40px; height: 40px; margin: 0; align-items: center; justify-content: center; border: 0; border-radius: 12px; background-color: #f0fdfa; color: #047856; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.service-socials a:hover { background-color: #047856; color: #fff; }
.service-contact__copy > a:focus-visible,
.service-socials a:focus-visible { outline: 3px solid rgba(53, 122, 91, .45); outline-offset: 3px; }

@media (max-width: 800px), (pointer: coarse) {
  .service-socials a { width: 44px; height: 44px; }
}
.service-socials svg { display: block; width: 22px; height: 22px; fill: currentColor; }
.service-socials svg path { fill: currentColor; }
.service-request-form {
  padding: 24px;
  border: 1px solid #dce5e1;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #fbfdfc 100%);
  box-shadow: 0 18px 40px rgba(18, 58, 50, .1);
}
.service-request-form h3 {
  margin: 0 0 16px;
  color: #123a32;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}
.service-request-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: end; }
.service-request-form__fields label { display: grid; grid-template-rows: auto 48px; gap: 6px; color: #384a43; font-size: 13px; font-weight: 700; line-height: 1.35; }
.service-request-form__wide { grid-column: 1 / -1; }
.service-request-form input,
.service-request-form select,
.service-request-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  height: 48px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #c5d3cd;
  border-radius: 12px;
  background: #f8fbf9;
  color: #212529;
  font: 400 16px/1.45 "Noto Sans", sans-serif;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.service-request-form__fields label.service-request-form__wide { grid-template-rows: auto auto; }
.service-request-form select {
  padding-right: 44px;
  -webkit-appearance: none;
  appearance: none;
  background: #f8fbf9 url('data:image/svg+xml;charset=US-ASCII,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 9L12 15L18 9" stroke="%23047856" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 14px center / 18px;
}
.service-request-form textarea { height: auto; min-height: 104px; resize: vertical; }
.service-request-form input::placeholder,
.service-request-form textarea::placeholder { color: #8a9a93; }
.service-request-form input:focus,
.service-request-form select:focus,
.service-request-form textarea:focus {
  border-color: #047856;
  outline: 3px solid rgba(4, 120, 86, .2);
  outline-offset: 1px;
  background: #fff;
}
.service-booking-card select:focus,
.service-booking-card input:focus { outline: 2px solid #047856; outline-offset: 2px; }
.service-request-form .service-button {
  display: flex;
  width: 100%;
  min-height: 52px;
  margin-top: 16px;
}
.service-request-form__privacy { margin: 10px 0 0; color: #5d6b65; font-size: 12px; line-height: 1.45; text-align: center; }
.service-request-form__privacy a { color: #047856; font-weight: 700; }
.service-request-form__feedback {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid #badfcf;
  border-left: 4px solid #047856;
  border-radius: 12px;
  background: #eef8f3;
  color: #035d43;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.service-request-form__feedback.is-error { border-color: #f2c5c1; border-left-color: #b42318; background: #fef4f2; color: #b42318; }
.service-request-form .form-supject { display: none; }
.service-related { padding: 72px 0; }
.service-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.service-related__item { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dce5e1; border-radius: 20px; background: #fff; color: #212529; text-decoration: none; transition: border-color .15s ease-out, box-shadow .15s ease-out; }
.service-related__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e7eeeb; }
.service-related__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease-out; }
.service-related__item:hover .service-related__media img { transform: scale(1.03); }
.service-related__item:hover { border-color: #047856; box-shadow: 0 12px 28px rgba(18,58,50,.1); color: #212529; }
.service-related__item:focus-visible { outline: 3px solid rgba(53, 122, 91, .45); outline-offset: 3px; }
.service-related__item h3 { margin: 0; padding: 18px 20px 20px; font-size: var(--type-card-title, 1.25rem); font-weight: var(--type-weight-card-title, 700); line-height: 1.3; overflow-wrap: anywhere; }
.service-detail-page #sale-coupon-link,
.service-detail-page #sale-coupon { display: none; }

@media (max-width: 899px) {
  .service-related__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 960px) {
  .service-layout { grid-template-columns: minmax(0,1fr) 280px; gap: 28px; }
  .service-contact__inner { gap: 30px; }
}

@media (min-width: 761px) and (max-width: 800px) {
  .service-layout { display: flex; flex-direction: column; gap: 32px; }
  .service-aside { width: 100%; }
  .service-booking-card { position: static; max-width: 560px; }
  .service-contact__inner { grid-template-columns: 1fr; gap: 25px; }
}

@media (min-width: 801px) and (max-height: 660px) {
  .service-booking-card { position: static; }
}
@media (max-width: 760px) {
  .service-detail-page #jivo_action,
  .service-detail-page #jvLabelWrap { display: none !important; }
  .service-hero__shade { background: linear-gradient(0deg, rgba(8,33,29,.91), rgba(8,33,29,.60) 70%, rgba(8,33,29,.45)); }
  .service-hero__inner { padding-top: 16px; padding-bottom: 24px; }
  .service-hero .breadcrumbs { padding-bottom: 24px; }
  .service-hero h1 { font-size: var(--type-display, 2.25rem); }
  .service-hero__lead { font-size: var(--type-body, 1.0625rem); }
  .service-facts { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 25px; }
  .service-facts > div:nth-child(3):last-child { grid-column: 1 / -1; }
  .service-facts dd { font-size: 13px; }
  .service-layout { display: flex; flex-direction: column; gap: 40px; padding-top: 48px; padding-bottom: 48px; }
  .service-aside { width: 100%; }
  .service-booking-card { position: static; padding: 22px; }
  .service-section + .service-section { margin-top: 48px; }
  .service-section h2, .service-contact h2, .service-related h2, .service-reviews h2 { font-size: var(--type-h2, 1.625rem); }
  .service-benefits, .service-options { grid-template-columns: 1fr; }
  .service-gallery:not(.service-gallery--count-5plus) { grid-template-columns: 1fr; }
  .service-contact { padding: 48px 0; }
  .service-contact__inner { grid-template-columns: 1fr; gap: 25px; }
  .service-related { padding: 48px 0; }
  .service-related__grid { grid-template-columns: 1fr; }
  .service-reviews__widget { height: 720px; }
  .service-mobile-cta {
    position: fixed;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    z-index: 240;
    display: grid;
    visibility: hidden;
    pointer-events: none;
    grid-template-columns: minmax(0, 1fr) 52px;
    gap: 8px;
    padding: 8px;
    opacity: 0;
    transform: translateY(calc(100% + 16px));
    transition: transform .25s ease, opacity .25s ease, visibility 0s linear .25s;
    border: 1px solid rgba(18,58,50,.12);
    border-radius: 20px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 12px 32px rgba(18,58,50,.16);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  .service-mobile-cta .service-button,
  .service-mobile-cta__phone {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
  }
  .service-mobile-cta .service-button { width: 100%; }
  .service-mobile-cta__phone { padding: 0; border: 1px solid #b7c7c0; background: #fff; color: #123a32; font-weight: 700; }
  .service-mobile-cta__phone:hover { border-color: #047856; background: #f4f7f5; color: #035d43; }
  .service-mobile-cta a:focus-visible { outline: 3px solid rgba(53, 122, 91, .45); outline-offset: 3px; }
  .service-mobile-cta__phone svg { display: block; width: 22px; height: 22px; }
  body.service-sheet-open .service-mobile-cta.is-visible { visibility: hidden; opacity: 0; pointer-events: none; }
  .service-mobile-cta.is-visible { visibility: visible; pointer-events: auto; opacity: 1; transform: none; transition: transform .25s ease, opacity .25s ease; }
  .service-reviews { padding-bottom: 48px; }
}

@media (max-width: 760px) and (max-height: 420px) {
  .service-mobile-cta { gap: 6px; padding: 6px; }
}
@media (max-width: 480px) {
  .service-hero h1 { font-size: var(--type-display, 2.25rem); }
  .service-hero__lead { font-size: var(--type-body, 1.0625rem); }
  .service-facts { grid-template-columns: 1fr; gap: 12px; }
  .service-facts dt { font-size: 10px; }
  .service-request-form { padding: 20px; }
  .service-request-form__fields { grid-template-columns: 1fr; }
  .service-request-form__wide { grid-column: auto; }
}

/* Форма заявки в выезжающей снизу панели (мобильные). */
.service-sheet { position: fixed; inset: 0; z-index: 10000; }
.service-sheet[hidden] { display: none; }
.service-sheet__backdrop { position: absolute; inset: 0; background: rgba(8, 33, 29, .5); opacity: 0; transition: opacity .3s ease; }
.service-sheet__panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  max-height: calc(100dvh - 40px);
  flex-direction: column;
  border-radius: 20px 20px 0 0;
  background: #fff;
  box-shadow: 0 -12px 40px rgba(18, 58, 50, .2);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.service-sheet.is-open .service-sheet__backdrop { opacity: 1; }
.service-sheet.is-open .service-sheet__panel { transform: none; }
.service-sheet__handle { width: 40px; height: 4px; margin: 10px auto 0; border-radius: 2px; background: #c5d3cd; }
.service-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px 6px 20px; }
.service-sheet__title { margin: 0; color: #123a32; font-size: 20px; font-weight: 700; line-height: 1.25; }
.service-sheet__close { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: #f4f7f5; color: #123a32; cursor: pointer; }
.service-sheet__close:focus-visible { outline: 3px solid rgba(53, 122, 91, .45); outline-offset: 2px; }
.service-sheet__body { overflow-y: auto; padding: 4px 20px calc(20px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
.service-sheet .service-request-form { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.service-sheet .service-request-form h3 { display: none; }
body.service-sheet-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .service-sheet__panel, .service-sheet__backdrop { transition: none; }
}

/* Jivo: поднимаем кнопку чата над нижней панелью, пока панель видна. */
@media (max-width: 760px) {
  .service-detail-page > jdiv jdiv[class*="_orientationRight"] { transition: transform .25s ease; }
  body.service-cta-shown > jdiv jdiv[class*="_orientationRight"] { transform: translateY(-72px); }
  body.service-sheet-open > jdiv { display: none; }
}


/* Состояния формы: необязательные поля, ошибки у полей, отправка. */
.service-request-form__optional { color: #6b7a74; font-weight: 400; }
.service-request-form__fields label.has-error { grid-template-rows: auto 48px auto; }
.service-request-form__fields label.service-request-form__wide.has-error { grid-template-rows: auto auto auto; }
.service-request-form input[aria-invalid="true"],
.service-request-form textarea[aria-invalid="true"] { border-color: #b42318; background: #fff; }
.service-request-form .form-field-error { color: #b42318; font-size: 13px; font-weight: 600; line-height: 1.35; }
.service-request-form .service-button.is-loading { pointer-events: none; opacity: .85; }
.service-request-form .service-button.is-loading::before {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: #fff;
  border-radius: 50%;
  content: "";
  animation: service-spin .7s linear infinite;
}
@keyframes service-spin { to { transform: rotate(360deg); } }
.service-request-form__success { padding: 8px 0 4px; text-align: center; }
.service-request-form__success svg { display: block; width: 48px; height: 48px; margin: 0 auto 12px; color: #047856; }
.service-request-form__success strong { display: block; margin-bottom: 6px; color: #123a32; font-size: 20px; }
.service-request-form__success p { margin: 0; color: #384a43; font-size: 16px; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) {
  .service-button, .service-button:hover, .service-button:active { transition: none; transform: none; }
  .service-request-form .service-button.is-loading::before { animation-duration: 2s; }
}
@media (prefers-reduced-motion: reduce) { .service-related__media img { transition: none; } .service-related__item:hover .service-related__media img { transform: none; } }
@media (max-width: 760px) {
  .service-option__body { align-items: stretch; }
  .service-option__action { justify-content: center; }
}

/* Фото карточек плавно проявляются после загрузки (класс ставит JS). */
img.is-fading { opacity: 0; transition: opacity .3s ease-out; }
img.is-fading.is-loaded { opacity: 1; }
@media (prefers-reduced-motion: reduce) { img.is-fading { opacity: 1; transition: none; } }
.service-hero__lead:empty { display: none; }

/* Поле даты на iOS: Safari рисует свое поле, выше и шире остальных, с датой по центру – 29.10.2026. */
.service-request-form input[type="date"],
.service-booking-card input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  max-width: 100%;
  box-sizing: border-box;
  line-height: 22px;
  text-align: left;
}
.service-request-form input[type="date"]::-webkit-date-and-time-value,
.service-booking-card input[type="date"]::-webkit-date-and-time-value {
  margin: 0;
  text-align: left;
}
.service-request-form input[type="date"]::-webkit-calendar-picker-indicator,
.service-booking-card input[type="date"]::-webkit-calendar-picker-indicator { opacity: .6; }
