@font-face {
  font-family: Onest;
  src: url("/assets/design/onest-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Onest;
  src: url("/assets/design/onest-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF, U+FFFD;
}

:root {
  --bg: #f3f6f1;
  --surface: #fcfdfb;
  --text: #172e35;
  --muted: #495f60;
  --primary: #20685e;
  --primary-dark: #174e46;
  --accent: #126d68;
  --accent-soft: #e6f0e8;
  --border: #cfddd5;
  --petrol: #102e35;
  --lime: #dcf5aa;
  --radius: 12px;
  --shadow: 0 10px 28px #184d3b0e;
  --container: 1280px;
  --gutter: clamp(20px, 5.8vw, 92px);
}

body { font-family: Onest, "Segoe UI", sans-serif; }
.container { width: min(var(--container), calc(100% - 2 * var(--gutter))); }
main { background: linear-gradient(180deg, transparent, var(--bg) 600px), repeating-linear-gradient(0deg, #265e580a 0 1px, transparent 1px 24px), repeating-linear-gradient(90deg, #265e580a 0 1px, transparent 1px 24px); }
main > .container:last-child { padding-bottom: clamp(28px, 5vw, 58px); }
:focus-visible { outline: 2px solid #22858f; outline-offset: 4px; }
.section-title, .rich-text h1, .rich-text h2 { line-height: 1.13; letter-spacing: -.038em; }
.section-title { font-size: clamp(1.55rem, 2.5vw, 2.25rem); }
.btn { background: var(--primary-dark); color: white; border-radius: 8px; box-shadow: none; }
.btn:hover { color: white; background: #22695c; box-shadow: none; }
.btn-outline { color: var(--primary-dark); background: transparent; border-color: #718f85; }
.btn-outline:hover { color: var(--primary-dark); background: var(--accent-soft); }
.service-link-card:hover { border-color: #83a69c; box-shadow: var(--shadow); }
.submenu, .table-wrap, .faq-item, .license-card { border-color: var(--border); }
.table-wrap th { background: #e2ede5; color: var(--text); }

:is(main p, .rich-text, .faq-answer, .table-wrap, .toc, .contact-location) a[href]:not(.btn) {
  color: var(--primary-dark);
  text-decoration: underline;
  text-decoration-thickness: max(1px, .08em);
  text-underline-offset: .16em;
}

:is(main p, .rich-text, .faq-answer, .table-wrap, .toc, .contact-location) a[href]:not(.btn):hover {
  text-decoration-thickness: max(2px, .12em);
}

.site-header { background: white; backdrop-filter: none; }
.site-topline { background: #e7eeea; color: #3e5657; font-size: .75rem; }
.site-topline .container { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.site-topline a { font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.header-top { min-height: 74px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; padding-block: 8px; }
.header-top .logo-link { margin: 0; line-height: 1.08; letter-spacing: -.042em; }
.logo-link img { width: 54px; height: 46px; object-fit: contain; }
.logo-link > span { white-space: nowrap; }
.logo-link img { clip-path: inset(0 0 22% 0); transform: translateY(10%); }
.logo-link small { display: block; color: var(--muted); margin-top: 5px; font-size: .62rem; font-weight: 550; letter-spacing: normal; }
.header-top .nav { border: 0; padding: 0; background: white; }
.header-top .menu { justify-content: center; gap: 3px; }
.header-top .menu > li > a { padding-inline: 9px; }
.header-actions { flex-wrap: nowrap; gap: 8px; }
.header-phone a { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 12px; border-radius: 100px; background: #edf3ef; font-size: .88rem; white-space: nowrap; }
.header-phone a:hover { background: #dcece4; }
.header-phone svg { width: 17px; height: 17px; flex: none; }
.header-messengers { gap: 3px; }
.header-messengers a { width: 27px; height: 34px; }
.header-messengers img { width: 23px; height: 23px; }
.burger { border-radius: 8px; }
.burger span { margin-block: 2.5px; }

.site-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--petrol); color: white; }
.site-hero__photo { position: absolute; inset: 0; z-index: -1; }
.site-hero__photo picture, .site-hero__photo img { display: block; width: 100%; height: 100%; }
.site-hero__photo img { object-fit: cover; object-position: center 47%; }
.site-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0e2b33 0%, #0e2b33fa 18%, #0e2b33e3 32%, #0e2b338a 47%, #0e2b3312 71%, transparent); }
.site-hero--service .site-hero__photo img { position: absolute; inset: 0 0 0 auto; width: 62%; }
.site-hero--service .site-hero__photo::after { background: linear-gradient(90deg, var(--petrol) 38%, #102e35ed 47%, #102e3580 62%, transparent 83%); }
.site-hero__inner { min-height: 565px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 68px 75px; }
.site-hero__availability { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: #dce9e7; font-size: .82rem; font-weight: 550; }
.site-hero__availability::before { content: ""; width: 7px; height: 7px; margin: 0 4px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px #d8f6ae26; }
.site-hero__availability strong { color: var(--lime); font-size: .78rem; }
.site-hero__meta { white-space: nowrap; }
.site-hero__meta::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 8px 2px 0; border-radius: 50%; background: currentColor; }
.site-hero h1 { max-width: 775px; margin: 21px 0 0; font-size: clamp(2.45rem, 4.25vw, 4rem); font-weight: 600; line-height: 1.035; letter-spacing: -.059em; }
.site-hero--service h1 { text-wrap: pretty; }
.site-hero__location { display: block; margin-top: 8px; color: #d3ecdf; font-family: Georgia, serif; font-size: .94em; font-style: italic; font-weight: 400; letter-spacing: -.06em; }
.site-hero__description { max-width: 395px; margin: 24px 0 0; color: #dce9e6; font-size: 1.05rem; line-height: 1.55; }
.site-hero--service .site-hero__description { max-width: 490px; }
.site-hero .cta-row { margin: 26px 0 0; }
.site-hero .btn { background: var(--lime); color: #1d3428; border-radius: 8px; }
.site-hero .btn:hover { background: #ebffcf; }
.site-hero .btn-outline { border-color: #d3e6df78; background: #182f3890; color: white; }
.site-hero .btn-outline:hover { background: #2e4d53; color: white; }
.site-hero .site-hero__price {
  flex-direction: column;
  gap: 3px;
  line-height: 1.15;
}
.site-hero__price strong { font-size: 1.25rem; white-space: nowrap; }
.site-hero__price span { font-size: .75rem; }
#lead-form-service { scroll-margin-top: 150px; }
@media (max-width: 340px) {
  .site-hero--with-price .cta-row .btn { padding-inline: 8px; }
}

.home-services { position: relative; isolation: isolate; overflow: hidden; padding: 60px 0 39px; background: linear-gradient(90deg, #265e5810 1px, transparent 1px), linear-gradient(#265e5810 1px, transparent 1px), linear-gradient(108deg, #f1f4ed 8%, #e8f0e9 58%, #deebdf 100%); background-size: 24px 24px, 24px 24px, 100% 100%; }
.home-services::before { content: ""; position: absolute; z-index: -1; width: min(800px, 62%); height: 150px; top: -9px; right: -72px; background: #32897f25; clip-path: polygon(0 49%, 23% 49%, 28% 43%, 34% 49%, 46% 49%, 50% 69%, 55% 10%, 60% 83%, 65% 49%, 71% 49%, 77% 36%, 82% 49%, 100% 49%, 100% 51%, 82% 51%, 77% 38%, 71% 51%, 65% 51%, 60% 87%, 55% 15%, 50% 73%, 46% 51%, 34% 51%, 28% 45%, 23% 51%, 0 51%); }
.home-services .section-head { align-items: baseline; margin-bottom: 24px; }
.home-services .section-title { font-size: clamp(1.75rem, 3.1vw, 2.9rem); font-weight: 650; letter-spacing: -.052em; }
.home-services .section-head a { border-bottom: 1px solid #668783; padding-bottom: 4px; color: #244b45; white-space: nowrap; }
.home-services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home-service { display: flex; flex-direction: column; overflow: hidden; color: var(--text); background: #fbfcfa; border: 1px solid var(--border); border-radius: 12px; }
.home-service:hover { color: var(--text); border-color: #83a69c; box-shadow: var(--shadow); }
.home-service img { width: 100%; aspect-ratio: 1.65; object-fit: cover; background: #ccd9ce; }
.home-service__body { display: flex; flex: 1; flex-direction: column; padding: 17px 17px 13px; }
.home-service h3 { margin: 0; color: inherit; font-size: clamp(1.02rem, 1.62vw, 1.5rem); font-weight: 710; letter-spacing: -.045em; line-height: 1.15; }
.home-service p { margin: 8px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.home-service__end { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; color: #315750; font-size: .82rem; font-weight: 700; }
.home-service__end strong { font-size: 1.1rem; }
.home-service__arrow { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: #e8f0eb; font-size: 1.1rem; font-weight: 500; }
.home-service:hover .home-service__arrow { background: #d4e8db; }

.home-details { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(255px, 1fr); gap: 24px; align-items: start; }
.home-content { margin: 0; }
.home-contact { padding: clamp(22px, 3vw, 36px); background: #e4efe6; border: 1px solid var(--border); border-radius: var(--radius); }
.home-contact h2 { margin: 0 0 11px; font-size: clamp(1.35rem, 2.1vw, 1.85rem); line-height: 1.14; letter-spacing: -.045em; }
.home-contact p { margin: 0 0 17px; color: var(--muted); }
.home-contact .contact-location { margin: 17px 0 0; font-size: .86rem; }
.home-documents { padding-bottom: 44px; }
.home-documents .service-block { margin-top: 0; }

.service-page .breadcrumbs { flex-wrap: wrap; white-space: normal; }
.service-emergency { margin: -4px 0 21px; color: var(--muted); font-size: .88rem; }
.service-emergency a { text-decoration: underline; text-underline-offset: 3px; }
.article-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-card { display: flex; flex-direction: column; align-items: stretch; gap: 0; overflow: hidden; padding: 0; }
.article-card img { width: 100%; height: auto; min-height: 0; aspect-ratio: 1.75; border-radius: 0; }
.article-card > div { padding: 18px; }
.article-card h2 { margin-bottom: 8px; font-size: 1.18rem; line-height: 1.2; letter-spacing: -.035em; }
.article-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.site-footer { background: #112f35; border-top: 1px solid #2e4b4e; color: #e3eeeb; }
.footer-main { padding: 44px 0 23px; }
.footer-grid { grid-template-columns: minmax(245px, 1.45fr) 1fr 1fr; gap: 26px; }
.footer-brand .footer-title { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.1; letter-spacing: -.055em; }
.footer-brand p { color: #d1e0db; max-width: 335px; }
.footer-brand .legal-small { color: #b5cbc3; font-size: .78rem; }
.footer-col h3 { color: #edf6f1; font-size: .92rem; }
.footer-col li { margin-bottom: 9px; font-size: .89rem; }
.footer-main a { color: #c1dad3; }
.footer-main a:hover { color: #f1ffdf; text-decoration: underline; text-underline-offset: 4px; }
.footer-cta .btn { background: var(--lime); color: #1d3428; }
.footer-cta .btn:hover { background: #ebffcf; color: #1d3428; }
.footer-cta .btn-outline { background: transparent; border-color: #bfded18c; color: #e9f5ef; }
.footer-cta .btn-outline:hover { background: #294951; color: white; }
.footer-cities { margin-top: 24px; }
.footer-cities summary { width: fit-content; color: #edf6f1; font-weight: 600; cursor: pointer; }
.footer-cities ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0 0; padding: 0; list-style: none; }
.footer-cities [aria-current] { font-weight: 700; }
.footer-bottom { margin-top: 26px; border-color: #ffffff28; }
.footer-note { color: #b5cbc3; }
.disclaimer { background: #0d252b; color: #d5e1dd; border-color: #ffffff24; }
.mobile-callbar { gap: 8px; }
.mobile-callbar, .mobile-callbar:hover { background: #1b584f; color: white; box-shadow: 0 6px 22px #153e3870; border-radius: 9px; }

@media (max-width: 1100px) {
  .header-top { gap: 8px; }
  .header-top .menu > li > a { padding-inline: 6px; font-size: .82rem; }
  .header-messengers { display: none; }
  .site-hero__inner { min-height: 510px; }
  .site-hero__photo img { object-position: 57% 46%; }
}

@media (min-width: 1101px) and (max-width: 1140px) {
  .header-top { gap: 12px; }
  .header-top .menu > li > a { padding-inline: 7px; }
}

@media (max-width: 340px), (min-width: 481px) and (max-width: 500px) {
  .site-header .header-top { width: calc(100% - 32px); }
}

@media (min-width: 901px) and (max-width: 1000px) {
  .header-top { width: calc(100% - 36px); }
  .header-top .menu { gap: 1px; }
  .header-top .menu > li > a { padding-inline: 5px; }
  .logo-link img { width: 44px; }
  .header-phone a { padding-inline: 9px; }
}

@media (min-width: 901px) {
  .home-contact { position: sticky; top: 130px; }
}

@media (max-width: 900px) {
  .header-top { grid-template-columns: 1fr auto; }
  .header-top .nav { position: absolute; inset: 100% var(--gutter) auto auto; width: min(360px, calc(100vw - 2 * var(--gutter))); max-height: 75vh; overflow-y: auto; padding: 9px; border: 1px solid var(--border); border-radius: 9px; box-shadow: 0 14px 28px #142e352e; }
  .header-top .menu > li > a { display: flex; font-size: .93rem; padding: 10px; }
  .header-top .menu-item.has-children > a::after { display: block; }
  .home-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-service h3 { font-size: 1.3rem; }
  .article-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .site-hero__photo { bottom: auto; height: clamp(245px, 57vw, 410px); }
  .site-hero__photo img { object-position: center 41%; }
  .site-hero--service .site-hero__photo img { width: 100%; }
  .site-hero__photo::after, .site-hero--service .site-hero__photo::after { background: linear-gradient(180deg, transparent 42%, #102e355c 67%, var(--petrol)); }
  .site-hero__inner { min-height: auto; padding-top: clamp(195px, 44vw, 334px); padding-bottom: 36px; }
  .site-hero h1 { margin-top: 12px; font-size: clamp(1.92rem, 6.7vw, 3.19rem); line-height: 1.07; }
  .site-hero h1 br { display: none; }
  .site-hero__description { margin-top: 17px; font-size: .94rem; }
  .site-hero--service[data-first-screen]:not([data-first-screen="default"]) .site-hero__photo { height: clamp(190px, 47vw, 340px); }
  .site-hero--service[data-first-screen]:not([data-first-screen="default"]) .site-hero__inner { padding-top: clamp(140px, 35vw, 264px); }
  .site-hero .cta-row { flex-direction: row; gap: 8px; margin-top: 20px; }
  .site-hero .btn { width: auto; min-height: 45px; padding: 9px 12px; font-size: .88rem; }
  .home-services { padding-block: 36px 28px; }
  .home-services .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 17px; }
  .home-services::before { right: -25%; width: 95%; top: -22px; }
  .home-details { grid-template-columns: 1fr; }
  .footer-main { padding-top: 33px; }
}

@media (max-width: 480px) {
  .site-topline { font-size: .64rem; }
  .site-topline .container { min-height: 30px; gap: 6px; }
  .site-topline span:last-child { text-align: right; white-space: nowrap; }
  .header-top { grid-template-columns: minmax(0, 1fr) auto; }
  .header-actions { display: contents; }
  .logo-link img { width: 42px; height: 36px; }
  .header-phone { grid-column: 1 / -1; grid-row: 2; }
  .header-phone a { justify-content: center; }
  .burger { grid-column: 2; grid-row: 1; width: 44px; height: 44px; }
  .home-services__grid { gap: 10px; }
  .home-service__body { padding: 12px 10px 8px; }
  .home-service h3 { font-size: clamp(.94rem, 4.5vw, 1.2rem); }
  .home-service p { font-size: .77rem; }
  .home-service__arrow { width: 26px; height: 26px; }
  .home-service__end { padding-top: 9px; font-size: .72rem; }
  .home-service__end strong { font-size: .94rem; }
  .article-list { grid-template-columns: 1fr; }
  .footer-grid { gap: 19px 12px; }
  .footer-col li { font-size: .83rem; }
}

/* Cover the area Telegram iOS paints above the viewport. See Telegram-iOS #2347. */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 480px) {
    body:not(.vision-mode)::before {
      content: "";
      position: sticky;
      top: -200px;
      height: 200px;
      margin-top: -200px;
      flex: none;
      z-index: 99;
      background: white;
      pointer-events: none;
    }
  }
}

body.vision-mode main, body.vision-mode .site-topline, body.vision-mode .site-hero, body.vision-mode .home-services, body.vision-mode .home-service, body.vision-mode .home-contact { background: white; color: black; }
body.vision-mode .site-hero__photo, body.vision-mode .home-services::before { display: none; }
body.vision-mode .site-hero__inner { min-height: auto; padding-block: 30px; }
body.vision-mode .site-hero__location, body.vision-mode .site-hero p, body.vision-mode .site-hero strong, body.vision-mode .home-service p, body.vision-mode .home-service__end, body.vision-mode .footer-title, body.vision-mode .footer-col h3, body.vision-mode .footer-brand p, body.vision-mode .footer-note { color: black; }
body.vision-mode .home-service__arrow { background: white; color: black; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
