:root {
  color-scheme: dark;
  --bg: #191919;
  --green: #002817;
  --green-logo: #0b4a28;
  --white: #f7f7f5;
  --text: #f4f4f2;
  --muted: #d0d0ce;
  --line: rgba(255, 255, 255, .2);
  --display: "Bewlay Br1 Cyrillic", "Arial Narrow", Impact, sans-serif;
  --body: "Arial", "Helvetica Neue", sans-serif;
  --page-width: 1680px;
  --content-width: 1394px;
  --page-gutter: clamp(20px, 6.25vw, 120px);
  --header-height: 96px;
}

@font-face {
  font-family: "Bewlay Br1 Cyrillic";
  src: url("../fonts/Bewlay-Br1-Cyrillic.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; scrollbar-width: none; -ms-overflow-style: none; background: var(--bg); }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.45 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked, body.is-menu-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.content-width { width: min(calc(100% - var(--page-gutter) * 2), var(--content-width)); margin-inline: auto; }
.section-frame { width: min(calc(100% - var(--page-gutter) * 2), var(--page-width)); margin-inline: auto; }
.display-title {
  margin: 0;
  color: var(--white);
  font: 400 60px/1 var(--display);
  letter-spacing: .012em;
  text-align: center;
  text-transform: uppercase;
}
.section-lead { max-width: 900px; margin: 24px auto 0; color: var(--muted); font-size: 18px; line-height: 1.4; text-align: center; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 32px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #064027;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease;
}
.button:hover { background: #e9eee9; transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, summary:focus-visible, .menu-toggle:focus-visible { outline: 2px solid #aed5bb; outline-offset: 3px; }
.button__icon { width: 21px; height: 21px; flex: 0 0 auto; fill: currentColor; }

.preloader {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: none;
  align-content: center;
  justify-items: center;
  gap: 26px;
  background: var(--bg);
  transition: opacity .4s ease, visibility .4s ease;
}
.js .preloader { display: grid; }
.preloader.is-hidden { visibility: hidden; opacity: 0; pointer-events: none; }
.preloader__logo { width: 230px; height: auto; }
.preloader__line { width: 125px; height: 2px; overflow: hidden; background: rgba(255,255,255,.18); }
.preloader__line::after { display: block; width: 40%; height: 100%; background: #d7e2da; content: ""; animation: loader 1.1s ease-in-out infinite; }
@keyframes loader { from { transform: translateX(-120%); } to { transform: translateX(280%); } }

.site-header {
  position: absolute;
  z-index: 20;
  top: 20px;
  left: 50%;
  display: flex;
  width: min(calc(100% - var(--page-gutter) * 2), var(--page-width));
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-radius: 20px;
  background: var(--green);
  transform: translateX(-50%);
}
.brand { display: flex; align-items: center; }
.brand__logo { width: 270px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a {
  display: flex;
  min-width: 100px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 12px;
  background: #fff;
  color: #123927;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}
.site-nav a:hover { background: #e9eee9; }
.menu-toggle { display: none; }
.nav-label--mobile { display: none; }

.hero {
  position: relative;
  display: grid;
  height: clamp(560px, 44.4vw, 764px);
  place-items: start center;
  margin-top: 116px;
  overflow: hidden;
  background: var(--bg);
}
.hero__image {
  position: absolute;
  inset: 0;
  background-color: var(--bg);
  background-image: url("../images/hero-car.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% auto;
}
.hero__content { position: relative; z-index: 1; display: flex; width: 100%; flex-direction: column; align-items: center; padding: clamp(100px, 9.17vw, 176px) 24px 30px; text-align: center; }
.hero__mark { width: clamp(110px, 12.6vw, 242px); height: auto; aspect-ratio: 242 / 184; object-fit: contain; }
.hero h1 { max-width: 100%; margin: clamp(22px, 2.76vw, 53px) 0 0; font: 400 clamp(46px, 6.25vw, 120px)/.98 var(--display); letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
.hero__actions { display: flex; justify-content: center; gap: clamp(14px, 1.56vw, 30px); margin-top: clamp(20px, 2.03vw, 39px); }
.hero__actions-row { display: contents; }

.about { padding-top: 30px; padding-bottom: 70px; }
.about__copy { max-width: 1110px; margin: 0 auto; color: var(--text); font-size: 18px; line-height: 1.35; text-align: center; }
.intro { padding: 0 0 70px; text-align: center; }
.intro .display-title { font-size: 120px; line-height: .98; }
.intro .section-lead { margin-top: 27px; }

.complexes { padding: 20px 0 72px; text-align: center; }
.complexes .display-title { font-size: 60px; line-height: 1.05; }
.complexes__grid { display: grid; width: min(100%, 1420px); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 60px auto 0; }
.complex-card {
  display: flex;
  min-width: 0;
  height: 184px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px;
  border: 0;
  border-radius: 28px;
  background: #fff;
  color: var(--green-logo);
  cursor: pointer;
  transition: transform .18s ease;
}
.complex-card:hover { transform: translateY(-3px); }
.complex-card__mark { width: 61px; height: 46px; object-fit: contain; }
.complex-card__name { font: 400 46px/.98 var(--display); letter-spacing: .01em; }

.services { padding: 0 0 18px; }
.services__title { margin-bottom: 23px; }
.price-head { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 115px); align-items: center; gap: 24px; margin-bottom: 4px; color: var(--white); font-size: 18px; text-align: center; }
.price-head span:first-child { text-align: left; }
.service-group { background: var(--bg); }
.service-group__toggle {
  display: grid;
  width: 100%;
  min-height: 54px;
  grid-template-columns: minmax(0, 1fr) 26px;
  align-items: center;
  gap: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f3f3f1;
  text-align: left;
  cursor: pointer;
}
.service-group__name { font-size: 20px; font-weight: 600; line-height: 1.25; }
.service-group__icon { position: relative; display: block; width: 22px; height: 22px; color: currentColor; }
.service-group__icon::before, .service-group__icon::after { position: absolute; top: 50%; left: 50%; width: 18px; height: 3px; border-radius: 2px; background: currentColor; content: ""; transform: translate(-50%, -50%); transition: opacity .24s ease, transform .24s ease; }
.service-group__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.service-group.is-open > .service-group__toggle { color: #f3f3f1; }
.service-group.is-open .service-group__icon::after { opacity: 0; transform: translate(-50%, -50%) rotate(0); }
.accordion-panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .34s ease, opacity .24s ease; }
.service-group__toggle[aria-expanded="true"] + .accordion-panel,
.service-row__toggle[aria-expanded="true"] + .accordion-panel { grid-template-rows: 1fr; opacity: 1; }
.accordion-panel__inner { min-height: 0; overflow: hidden; }
.service-group__content { padding: 5px 0 15px; }
.service-row { background: transparent; }
.service-row__toggle {
  display: grid;
  width: 100%;
  min-height: 62px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 393px);
  align-items: center;
  gap: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f3f3f1;
  text-align: left;
  cursor: pointer;
}
.service-row__toggle--static { cursor: default; }
.service-row__name { display: flex; min-width: 0; align-items: center; gap: 18px; padding-right: 12px; font-size: 20px; font-weight: 500; line-height: 1.25; }
.service-row__prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-row__chevron { width: 11px; height: 11px; flex: 0 0 11px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .24s ease; }
.service-row.is-open .service-row__chevron { transform: translateY(3px) rotate(225deg); }
.service-row__price { color: #f1f1ef; font-size: 20px; text-align: center; white-space: nowrap; }
.service-row__panel { color: #f3f3f1; }
.service-row__details { padding: 0 0 20px 14px; }
.service-row__bullets { margin: 8px 0 18px; padding-left: 22px; font-size: 20px; line-height: 1.36; }
.service-row__bullets li { padding-left: 3px; }
.service-row__note { margin: 5px 0 10px; color: #f3f3f1; font-size: 20px; font-weight: 500; }
.service-group__toggle:focus-visible, .service-row__toggle:focus-visible { outline: 2px solid #aed5bb; outline-offset: 3px; }

.classes { padding-top: 44px; padding-bottom: 122px; }
.classes__copy { max-width: 1110px; margin: 0 auto; color: var(--text); font-size: 16px; line-height: 1.38; text-align: center; }
.classes__copy p { display: flex; flex-direction: column; gap: 2px; margin: 0 0 28px; }
.classes__copy strong { color: var(--white); font-weight: 600; }
.classes__copy p:last-child { margin: 0; }

.reviews { width: 100%; padding: 0 0 40px; }
.reviews__heading { width: min(calc(100% - var(--page-gutter) * 2), 1100px); margin: 0 auto 32px; text-align: center; }
.reviews__heading .display-title { font-size: 120px; line-height: .98; }
.reviews__heading .section-lead { margin-top: 25px; }
.reviews-title--mobile { display: none; }
.reviews__viewport {
  --reviews-visible: 4;
  --review-card-width: clamp(250px, 15.75vw, 302px);
  --reviews-gap: clamp(32px, 3.3vw, 64px);
  position: relative;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}
.reviews__rail { display: flex; width: max-content; gap: var(--reviews-gap); transition: transform .55s cubic-bezier(.22,.75,.24,1); will-change: transform; }
.reviews__viewport.is-dragging { cursor: grabbing; user-select: none; }
.reviews__rail.is-dragging { cursor: grabbing; user-select: none; transition: none; }
.reviews__rail.is-jumping { transition: none !important; }
.reviews__viewport:focus-visible { outline: 2px solid #aed5bb; outline-offset: -2px; }
.review-card { width: var(--review-card-width); height: 536px; flex: 0 0 var(--review-card-width); border-radius: 28px; background: #fff; }

@media (max-width: 1439px) and (min-width: 1200px) {
  .reviews__viewport { --reviews-visible: 3; --review-card-width: clamp(252px, 21vw, 290px); --reviews-gap: clamp(28px, 2.8vw, 40px); }
}
@media (max-width: 1199px) and (min-width: 601px) {
  .reviews__viewport { --reviews-visible: 2; --review-card-width: clamp(220px, 29vw, 300px); --reviews-gap: clamp(20px, 2.5vw, 30px); }
}
@media (max-width: 600px) {
  .reviews__viewport { --reviews-visible: 1; --review-card-width: 157px; --reviews-gap: 20px; }
}

.contacts { padding: 20px 0 78px; }
.contacts__heading { text-align: center; }
.contacts__heading .display-title { font-size: 60px; }
.contacts__details { display: flex; justify-content: center; gap: 34px; margin-top: 22px; }
.contacts__details a, .contacts__heading > p { color: #e8e8e6; font-size: 18px; }
.contacts__details a:hover { color: #c7dccd; }
.contacts__heading > p { margin: 22px 0 0; }
.contacts__heading > p + p { margin-top: 23px; }
.contacts__map { position: relative; width: 100%; aspect-ratio: 1394 / 736; margin-top: 34px; overflow: hidden; border-radius: 28px; background: #ededeb; }
.contacts__map iframe { display: block; width: 100%; height: 100%; border: 0; }

.site-footer { display: flex; min-height: 330px; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 40px 20px calc(40px + env(safe-area-inset-bottom)); }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.footer-brand__mark { width: 112px; height: 86px; object-fit: contain; }
.footer-brand__wordmark { width: 230px; height: 63px; object-fit: contain; }
.footer-brand > span { color: #fff; font: 400 18px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.site-footer__socials { display: flex; gap: 24px; }
.site-footer__socials a { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 10px; background: #fff; color: var(--green-logo); }
.site-footer__socials img { max-width: 39px; max-height: 39px; object-fit: contain; }

.package-modal { position: fixed; z-index: 51; width: min(944px, calc(100% - 24px)); max-height: min(90vh, 900px); max-height: min(90dvh, 900px); margin: auto; padding: 66px 60px 58px; overflow: auto; scrollbar-width: none; border: 0; border-radius: 28px; background: #fff; color: #171b18; box-shadow: 0 24px 100px rgba(0,0,0,.45); }
.package-modal::-webkit-scrollbar { display: none; }
.package-modal::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(4px); animation: modal-backdrop-in .38s ease both; }
.package-modal[open] { animation: modal-in .38s cubic-bezier(.2,.8,.2,1) both; }
.package-modal.is-closing { animation: modal-out .32s ease-in both; }
.package-modal.is-closing::backdrop { animation: modal-backdrop-out .32s ease-in both; }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(.975); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes modal-out { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(12px) scale(.985); } }
@keyframes modal-backdrop-in { from { background-color: rgba(0,0,0,0); backdrop-filter: blur(0); } to { background-color: rgba(0,0,0,.72); backdrop-filter: blur(4px); } }
@keyframes modal-backdrop-out { from { background-color: rgba(0,0,0,.72); backdrop-filter: blur(4px); } to { background-color: rgba(0,0,0,0); backdrop-filter: blur(0); } }
.package-modal__close { position: absolute; top: 62px; right: 56px; display: grid; width: 42px; height: 42px; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #102e1f; font-size: 38px; line-height: 1; cursor: pointer; }
.package-modal__title { margin: 0 52px 34px 0; color: var(--green-logo); font: 400 56px/1.08 var(--display); text-transform: uppercase; }
.package-modal__features { display: grid; gap: 0; margin: 0; padding-left: 27px; color: #303630; font-size: 18px; line-height: 1.31; }
.package-modal__features li::marker { color: var(--green-logo); }
.package-modal__prices { display: grid; width: min(680px, 100%); grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 38px auto 34px; }
.package-modal__price { text-align: center; }
.package-modal__price span { display: block; color: var(--green-logo); font: 400 24px/1.15 var(--display); text-transform: uppercase; }
.package-modal__price strong { display: block; margin-top: 19px; color: #102e1f; font: 600 32px/1.1 var(--body); white-space: nowrap; }
.package-modal__classes { color: #222722; font-size: 12px; line-height: 1.3; }
.package-modal__classes p { margin: 0 0 13px; }
.package-modal__classes p:last-child { margin-bottom: 0; }
.package-modal__classes strong { font-weight: 600; }
.modal-backdrop { position: fixed; z-index: 50; inset: 0; background: rgba(0,0,0,.72); animation: modal-backdrop-in .38s ease both; }
.modal-backdrop.is-closing { animation: modal-backdrop-out .32s ease-in both; }

@media (max-width: 1120px) {
  :root { --page-gutter: 42px; }
  .site-header { gap: 20px; }
  .brand__logo { width: 230px; }
  .site-nav { gap: 16px; }
  .site-nav a { min-width: 86px; padding-inline: 14px; font-size: 15px; }
  .hero { margin-top: 116px; }
  .hero__actions { flex-direction: column; align-items: center; gap: 12px; }
  .hero__actions-row { display: flex; justify-content: center; gap: 14px; }
  .button { min-height: 46px; padding-inline: clamp(12px, 2vw, 22px); font-size: clamp(14px, 1.8vw, 20px); }
  .complexes__grid { gap: 20px; }
  .complex-card__name { font-size: 36px; }
  .price-head { grid-template-columns: minmax(0, 1fr) repeat(3, 84px); gap: 16px; }
  .service-row__toggle { grid-template-columns: minmax(0, 1fr) minmax(0, 284px); gap: 16px; }
  .service-row__prices { gap: 16px; }
  .service-row__price { font-size: 16px; }
  .service-row__name, .service-row__bullets { font-size: 17px; }
  .package-modal__close { top: 48px; right: 42px; }
}

@media (max-width: 760px) {
  :root { --page-gutter: 32px; --header-height: 64px; }
  html { scroll-padding-top: 74px; }
  body { font-size: 14px; }
  .content-width { width: calc(100% - var(--page-gutter) * 2); }
  .section-frame { width: 100%; }
  .display-title { font-size: 40px; line-height: 1; }
  .section-lead { max-width: 340px; margin-top: 38px; font-size: 14px; line-height: 1.4; }

  .site-header { position: relative; top: auto; left: auto; width: 100%; height: calc(var(--header-height) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 32px 0 40px; border-radius: 0; transform: none; }
  .site-header.is-menu-open { position: fixed; top: 0; left: 0; width: 100%; padding-top: env(safe-area-inset-top); transform: none; }
  .brand__logo { width: 160px; }
  .menu-toggle { display: grid; width: 38px; height: 44px; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle__icon { display: grid; width: 38px; gap: 7px; }
  .menu-toggle__icon i { display: block; width: 100%; height: 2px; background: #fff; transition: transform .34s cubic-bezier(.2,.8,.2,1), opacity .25s ease; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child { transform: translateY(9px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child { transform: translateY(-9px) rotate(-45deg); }
  .site-nav { position: fixed; z-index: 21; inset: calc(var(--header-height) + env(safe-area-inset-top)) 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 28px 20px calc(28px + env(safe-area-inset-bottom)); background: var(--green); opacity: 0; visibility: hidden; transform: translateY(-14px); transition: opacity .36s ease, transform .42s cubic-bezier(.2,.8,.2,1), visibility 0s linear .42s; }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .36s ease, transform .42s cubic-bezier(.2,.8,.2,1), visibility 0s; }
  .site-nav a { min-width: 116px; min-height: 46px; padding: 0 20px; border-radius: 12px; font-size: 16px; opacity: 0; transform: translateY(9px); transition: opacity .28s ease, transform .34s cubic-bezier(.2,.8,.2,1); }
  .site-nav.is-open a { opacity: 1; transform: translateY(0); }
  .site-nav.is-open a:nth-child(1) { transition-delay: .04s; }
  .site-nav.is-open a:nth-child(2) { transition-delay: .09s; }
  .site-nav.is-open a:nth-child(3) { transition-delay: .14s; }
  .site-nav a[href="#reviews"] .nav-label--mobile { display: none; }

  .hero { height: 360px; min-height: 360px; margin-top: 0; }
  .hero__image { background-position: center 45%; background-size: 100% auto; }
  .hero__content { padding: 62px 16px 20px; }
  .hero__mark { width: 80px; height: 61px; }
  .hero h1 { margin-top: 28px; font-size: 40px; line-height: 1; letter-spacing: -.025em; }
  .hero__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 20px; }
  .hero__actions-row { display: flex; justify-content: center; gap: 24px; }
  .hero__actions-row:first-child .button { width: 110px; }
  .hero__actions-row:last-child .button:first-child { width: 134px; }
  .hero__actions-row:last-child .button:last-child { width: 145px; }
  .hero__actions .button { min-height: 39px; padding: 0 10px; border-radius: 11px; font-size: 14px; }
  .button__icon { width: 19px; height: 19px; }

  .about { padding-top: 38px; padding-bottom: 67px; }
  .about__copy { max-width: 340px; font-size: 14px; line-height: 1.36; }
  .intro { padding-bottom: 84px; }
  .intro .display-title { font-size: 40px; }
  .intro .section-lead { margin-top: 38px; }

  .complexes { padding: 0 0 70px; }
  .complexes .display-title { max-width: 320px; margin-inline: auto; font-size: 29px; line-height: 1.1; }
  .complexes__grid { width: 238px; grid-template-columns: 1fr; gap: 23px; margin-top: 39px; }
  .complex-card { height: 96px; gap: 12px; padding: 8px; border-radius: 28px; }
  .complex-card__mark { width: 35px; height: 27px; }
  .complex-card__name { font-size: 21px; }

  .services { width: calc(100% - 40px); padding-bottom: 18px; }
  .services__title { margin-bottom: 40px; font-size: 30px; }
  .price-head { grid-template-columns: minmax(0, 1fr) repeat(3, 62px); gap: 5px; margin: 0 0 38px; font-size: 13px; }
  .service-group__toggle { min-height: 54px; grid-template-columns: minmax(0, 1fr) 22px; gap: 10px; }
  .service-group__name { font-size: 15px; line-height: 1.25; }
  .service-group__content { padding-bottom: 12px; }
  .service-row__toggle { min-height: 48px; grid-template-columns: minmax(0, 1fr) 20px; grid-template-rows: auto auto; gap: 7px 8px; padding: 8px 0; }
  .service-row__name { position: relative; grid-column: 1 / 3; grid-row: 1; gap: 8px; padding-right: 28px; font-size: 15px; line-height: 1.25; }
  .service-row__toggle--static .service-row__name { padding-right: 0; }
  .service-row__prices { grid-column: 1 / 3; grid-row: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .service-row__chevron { position: absolute; top: 50%; right: 2px; width: 9px; height: 9px; border-width: 1.5px; transform: translateY(-50%) rotate(45deg); }
  .service-row.is-open .service-row__chevron { transform: translateY(-50%) rotate(225deg); }
  .service-row__price { font-size: 14px; text-align: left; white-space: nowrap; }
  .service-row__details { padding: 0 0 12px; }
  .service-row__bullets { margin: 6px 0 14px; padding-left: 19px; font-size: 14px; line-height: 1.35; }
  .service-row__note { font-size: 14px; }

  .classes { padding: 20px 0 160px; }
  .classes__copy { font-size: 13px; line-height: 1.3; }
  .classes__copy p { gap: 1px; margin-bottom: 20px; }

  .reviews { padding-bottom: 30px; }
  .reviews__heading { width: calc(100% - var(--page-gutter) * 2); margin-bottom: 32px; }
  .reviews__heading .display-title { font-size: 40px; line-height: 1; }
  .reviews-title--desktop { display: none; }
  .reviews-title--mobile { display: inline; }
  .reviews__heading .section-lead { max-width: 340px; margin-top: 25px; font-size: 13px; line-height: 1.35; }
  .reviews__rail { gap: var(--reviews-gap); padding-inline: 0; }
  .review-card { width: var(--review-card-width); height: 252px; flex-basis: var(--review-card-width); border-radius: 26px; }

  .contacts { padding: 0 0 52px; }
  .contacts__heading .display-title { font-size: 40px; }
  .contacts__details { flex-direction: column; gap: 20px; margin-top: 28px; }
  .contacts__details a, .contacts__heading > p { font-size: 14px; }
  .contacts__heading > p { margin-top: 24px; }
  .contacts__heading > p + p { margin-top: 24px; }
  .contacts__map { aspect-ratio: 1394 / 736; margin-top: 28px; border-radius: 26px; }

  .site-footer { min-height: 280px; gap: 22px; padding: 28px 20px calc(28px + env(safe-area-inset-bottom)); }
  .footer-brand { gap: 3px; }
  .footer-brand__mark { width: 80px; height: 62px; }
  .footer-brand__wordmark { width: 200px; height: 55px; }
  .footer-brand > span { font-size: 14px; }
  .site-footer__socials { gap: 22px; }
  .site-footer__socials a { width: 52px; height: 52px; }

  .package-modal { width: calc(100% - 24px); max-height: calc(100vh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); padding: 34px 22px 24px; border-radius: 20px; }
  .package-modal__close { top: 10px; right: 10px; width: 36px; height: 36px; font-size: 30px; }
  .package-modal__title { margin: 0 34px 24px 0; font-size: 36px; }
  .package-modal__features { gap: 1px; padding-left: 19px; font-size: 13px; line-height: 1.32; }
  .package-modal__prices { gap: 6px; margin: 28px auto 25px; }
  .package-modal__price span { font-size: 16px; }
  .package-modal__price strong { margin-top: 10px; font-size: 18px; }
  .package-modal__classes { font-size: 10px; line-height: 1.3; }
  .package-modal__classes p { margin-bottom: 10px; }
}

@media (max-width: 380px) {
  :root { --page-gutter: 24px; }
  .brand__logo { width: 146px; }
  .hero h1 { font-size: 36px; }
  .hero__actions-row { gap: 14px; }
  .services { width: calc(100% - 40px); }
  .price-head { grid-template-columns: minmax(0, 1fr) repeat(3, 56px); gap: 4px; font-size: 11px; }
  .service-row__toggle { grid-template-columns: minmax(0, 1fr) 20px; }
  .service-row__price { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* GOAT redesign — refined premium detailing interface */
:root {
  --bg: #101512;
  --green: #082d1d;
  --green-logo: #0b4a28;
  --text: #edf2ed;
  --muted: #aab7ad;
  --line: rgba(219, 237, 224, .14);
  --page-gutter: clamp(22px, 7vw, 132px);
}
html { scrollbar-width: thin; scrollbar-color: #315b42 #101512; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: initial; width: 7px; height: 7px; }
html::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb { background: #315b42; border-radius: 10px; }
body { background: radial-gradient(ellipse at 50% 0%, #1b2a20 0, #101512 42rem); }
.site-header {
  position: absolute; top: 24px; height: 82px; padding: 0 34px;
  border: 1px solid rgba(255,255,255,.13); border-radius: 18px;
  background: rgba(7, 35, 22, .88); backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}
.brand__logo { width: 230px; }
.site-nav { gap: 8px; }
.site-nav a {
  min-width: auto; min-height: 42px; padding: 0 17px; border-radius: 10px;
  background: transparent; color: #e9f0ea; font-size: 14px; transition: .22s ease;
}
.site-nav a:hover { background: rgba(255,255,255,.1); color: #b6e0c2; }
.hero {
  height: min(760px, 58vw); min-height: 590px; margin-top: 0;
  border-radius: 0 0 34px 34px; background: #101512;
}
.hero__image {
  inset: 0; background-position: center 55%; background-size: cover;
  filter: saturate(.82);
}
.hero::after {
  position: absolute; inset: 0; z-index: 0; content: "";
  background: linear-gradient(180deg, rgba(5,17,10,.36) 0%, rgba(5,17,10,.12) 35%, #101512 100%),
              linear-gradient(90deg, rgba(5,17,10,.38), transparent 70%);
}
.hero__content { z-index: 1; padding-top: clamp(145px, 13vw, 205px); }
.hero__eyebrow, .section-kicker, .about__eyebrow {
  display: block; color: #9bc7a7; font-size: 11px; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
}
.hero__mark { width: clamp(95px, 10vw, 160px); }
.hero h1 { margin-top: 26px; font-size: clamp(54px, 7.4vw, 112px); text-shadow: 0 8px 36px rgba(0,0,0,.42); }
.hero__subtitle { margin: 18px 0 0; color: #d2ddd4; font-size: clamp(15px, 1.5vw, 20px); letter-spacing: .02em; }
.hero__actions { margin-top: 34px; gap: 12px; }
.hero__actions-row { display: flex; gap: 12px; }
.button {
  min-height: 50px; padding: 0 24px; border: 1px solid rgba(226,244,231,.24);
  border-radius: 12px; background: rgba(7,45,28,.82); color: #f5faf5;
  font-size: 14px; font-weight: 600; backdrop-filter: blur(12px);
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.button:hover { transform: translateY(-3px); border-color: #9bc7a7; background: #145332; }
.button__icon { width: 18px; height: 18px; }
.about { padding-top: 80px; padding-bottom: 100px; text-align: center; }
.about__eyebrow { margin-bottom: 18px; }
.about__title {
  margin: 0 auto 26px; color: #f3f7f3; font: 400 clamp(36px, 5.2vw, 68px)/.98 var(--display);
  letter-spacing: .015em; text-transform: uppercase;
}
.about__title span { color: #9bc7a7; }
.about__copy { max-width: 900px; color: #b9c5bc; font-size: 16px; line-height: 1.75; }
.intro { padding-bottom: 52px; }
.intro .section-kicker, .complexes .section-kicker, .services .section-kicker { margin-bottom: 14px; text-align: center; }
.intro .display-title { font-size: clamp(58px, 8vw, 104px); }
.intro .section-lead, .complexes .section-lead {
  max-width: 620px; margin: 20px auto 0; color: var(--muted); font-size: 15px; line-height: 1.65;
}
.complexes { padding: 52px 0 100px; }
.complexes .display-title { font-size: clamp(42px, 5.3vw, 68px); }
.complexes__grid { max-width: 1120px; gap: 20px; margin-top: 42px; }
.complex-card {
  position: relative; height: 220px; overflow: hidden; gap: 20px;
  border: 1px solid rgba(220,240,225,.12); border-radius: 18px;
  background: linear-gradient(145deg, #f2f5f1, #dce5dd);
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.complex-card::before {
  position: absolute; inset: 0; content: ""; opacity: 0;
  background: radial-gradient(circle at 50% 20%, rgba(70,140,91,.18), transparent 65%);
  transition: opacity .3s ease;
}
.complex-card:hover { transform: translateY(-7px); border-color: rgba(155,199,167,.65); box-shadow: 0 24px 55px rgba(0,0,0,.28); }
.complex-card:hover::before { opacity: 1; }
.complex-card__mark, .complex-card__name { position: relative; z-index: 1; }
.complex-card__mark { width: 54px; height: 42px; }
.complex-card__name { color: #103b25; font-size: 43px; }
.services { padding: 68px 0 26px; }
.services__title { margin-bottom: 12px; font-size: clamp(48px, 6vw, 76px); }
.services__hint { max-width: 650px; margin: 0 auto 36px; color: var(--muted); font-size: 14px; line-height: 1.6; text-align: center; }
.price-head { color: #9bc7a7; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.service-group {
  margin: 0 0 10px; padding: 0 22px; border: 1px solid var(--line);
  border-radius: 13px; background: rgba(255,255,255,.025); transition: border-color .2s ease, background .2s ease;
}
.service-group.is-open { border-color: rgba(155,199,167,.42); background: rgba(255,255,255,.045); }
.service-group__toggle { min-height: 66px; }
.service-group__name { font-size: 16px; font-weight: 600; }
.service-row { border-top: 1px solid rgba(255,255,255,.08); }
.service-row__toggle { min-height: 58px; }
.service-row__name { font-size: 15px; color: #dce6de; }
.service-row__price { color: #c3d5c7; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.service-row__bullets { color: #b8c6bb; font-size: 15px; line-height: 1.65; }
.service-row__note { color: #a6c9ae; font-size: 14px; }
.classes { padding: 34px 0 105px; }
.classes__copy { max-width: 1050px; color: #9eada2; font-size: 13px; line-height: 1.6; }
.classes__copy strong { color: #b8d7bf; font-size: 14px; }
.contacts { display: grid; grid-template-columns: .8fr 1.2fr; align-items: stretch; gap: 42px; padding-top: 58px; padding-bottom: 100px; }
.contacts__heading .section-kicker { margin-bottom: 14px; }
.contacts__heading .display-title { text-align: left; font-size: clamp(48px, 5vw, 70px); }
.contacts__details { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 34px; }
.contacts__details a { color: #e2ebe4; font-size: 16px; transition: color .2s ease; }
.contacts__details a:hover { color: #9bc7a7; }
.contacts__heading > p { margin-top: 28px; color: #aab7ad; font-size: 15px; }
.contacts__map { min-height: 380px; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #1b2820; }
.contacts__map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; filter: saturate(.78) contrast(1.03); }
.site-footer {
  min-height: 220px; border-top: 1px solid var(--line);
  background: #09110c; gap: 30px; padding: 36px 24px;
}
.footer-brand__mark { width: 56px; height: 44px; }
.footer-brand__wordmark { width: 190px; height: 52px; }
.footer-brand > span { color: #91a397; font-size: 13px; }
.site-footer__socials a { border: 1px solid rgba(255,255,255,.16); background: #102519; transition: transform .2s ease, background .2s ease; }
.site-footer__socials a:hover { transform: translateY(-3px); background: #1b5030; }
.package-modal {
  border: 1px solid rgba(155,199,167,.3); border-radius: 20px;
  background: #111a14; box-shadow: 0 30px 100px rgba(0,0,0,.55);
}
.package-modal::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(6px); }
.package-modal__title { color: #f0f6f1; }
.package-modal__features { color: #c4d0c7; }
.package-modal__price strong { color: #a8d1b2; }
:focus-visible { outline: 2px solid #a8d1b2; outline-offset: 4px; }

@media (max-width: 900px) {
  .contacts { grid-template-columns: 1fr; gap: 28px; }
  .contacts__heading .display-title { text-align: center; }
  .contacts__heading .section-kicker { text-align: center; }
  .contacts__details { align-items: center; }
  .contacts__heading > p { text-align: center; }
}
@media (max-width: 760px) {
  :root { --page-gutter: 20px; --header-height: 68px; }
  .site-header { position: relative; top: auto; left: auto; width: 100%; height: 72px; padding: 0 22px; border: 0; border-radius: 0; background: #082d1d; box-shadow: none; }
  .brand__logo { width: 164px; }
  .site-nav { gap: 20px; }
  .site-nav a { min-height: 44px; font-size: 17px; }
  .hero { min-height: 510px; height: 590px; margin-top: 0; border-radius: 0 0 24px 24px; }
  .hero__image { background-size: cover; background-position: 56% center; }
  .hero__content { padding: 76px 18px 24px; }
  .hero__eyebrow { font-size: 9px; letter-spacing: .18em; }
  .hero__mark { width: 82px; height: 62px; margin-top: 25px; }
  .hero h1 { max-width: 360px; margin-top: 20px; font-size: clamp(38px, 10vw, 56px); white-space: normal; }
  .hero__subtitle { max-width: 290px; margin-top: 14px; font-size: 14px; line-height: 1.5; }
  .hero__actions { gap: 10px; margin-top: 25px; }
  .hero__actions-row { gap: 9px; }
  .hero__actions .button { min-height: 44px; width: auto !important; padding: 0 15px; font-size: 13px; }
  .about { padding-top: 66px; padding-bottom: 74px; }
  .about__title { font-size: 39px; line-height: 1.04; }
  .about__copy { font-size: 14px; line-height: 1.7; }
  .intro { padding-bottom: 40px; }
  .intro .display-title { font-size: 54px; }
  .complexes { padding: 38px 0 68px; }
  .complexes .display-title { max-width: none; font-size: 37px; }
  .complexes__grid { width: 100%; grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .complex-card { height: 130px; flex-direction: row; border-radius: 15px; }
  .complex-card__name { font-size: 32px; }
  .services { width: calc(100% - 36px); padding-top: 40px; }
  .services__title { margin-bottom: 12px; font-size: 48px; }
  .services__hint { margin-bottom: 24px; font-size: 13px; }
  .price-head { grid-template-columns: minmax(0, 1fr) repeat(3, 58px); gap: 4px; margin-bottom: 12px; font-size: 10px; }
  .service-group { padding: 0 13px; margin-bottom: 8px; border-radius: 10px; }
  .service-group__toggle { min-height: 58px; }
  .service-group__name { font-size: 14px; }
  .service-row__toggle { min-height: 54px; }
  .service-row__name { font-size: 13px; }
  .service-row__price { font-size: 12px; }
  .service-row__bullets { font-size: 13px; }
  .classes { padding: 20px 0 70px; }
  .classes__copy { font-size: 12px; }
  .contacts { padding-top: 34px; padding-bottom: 70px; }
  .contacts__heading .display-title { font-size: 48px; }
  .contacts__details a { font-size: 14px; }
  .contacts__map, .contacts__map iframe { min-height: 280px; }
  .site-footer { min-height: 210px; }
}
@media (max-width: 380px) {
  .hero { min-height: 480px; height: 520px; }
  .hero h1 { font-size: 36px; }
  .hero__actions-row { gap: 7px; }
  .hero__actions .button { padding: 0 11px; font-size: 12px; }
  .price-head { grid-template-columns: minmax(0, 1fr) repeat(3, 52px); font-size: 9px; }
}


/* Contrast correction: vehicle class descriptions */
.classes__copy,
.classes__copy p,
.classes__copy p span {
  color: #c7d2ca !important;
}
.classes__copy p strong {
  color: #a8d6b4 !important;
  font-weight: 700;
}
.classes__copy p {
  margin-bottom: 22px;
}
.classes__copy {
  max-width: 1050px;
  font-size: 14px;
  line-height: 1.75;
}
@media (max-width: 760px) {
  .classes__copy { font-size: 13px; line-height: 1.65; }
}


/* Yandex reviews and business profile */
.reviews {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(320px, 1.15fr);
  align-items: start;
  gap: 36px 54px;
  padding-top: 70px;
  padding-bottom: 82px;
}
.reviews__heading { padding-top: 12px; }
.reviews__heading .section-kicker { margin-bottom: 14px; }
.reviews__heading .display-title { text-align: left; font-size: clamp(46px, 5vw, 68px); }
.reviews__lead { max-width: 380px; margin: 18px 0 24px; color: #aab7ad; font-size: 15px; line-height: 1.65; }
.reviews__rating iframe { display: block; width: 150px; height: 50px; border: 0; }
.reviews__widget {
  position: relative; height: 570px; overflow: hidden;
  border: 1px solid rgba(219,237,224,.14); border-radius: 16px;
  background: #111a14;
}
.reviews__widget iframe { display: block; width: 100%; height: calc(100% - 28px); border: 0; }
.reviews__widget > a {
  display: block; height: 28px; overflow: hidden; padding: 5px 12px;
  color: #9eada2; font-size: 10px; text-align: center; white-space: nowrap;
  text-overflow: ellipsis; background: #111a14;
}
.reviews__widget > a:hover { color: #b6dfc0; }
.reviews__map-link {
  grid-column: 1 / -1; justify-self: center; display: inline-flex; align-items: center;
  gap: 12px; min-height: 48px; padding: 0 22px; border: 1px solid rgba(155,199,167,.34);
  border-radius: 11px; color: #d9e8dc; font-size: 14px; font-weight: 600;
  transition: background .2s ease, border-color .2s ease;
}
.reviews__map-link:hover, .contacts__yandex-link:hover { background: rgba(155,199,167,.1); border-color: #9bc7a7; }
.contacts__yandex-link {
  display: inline-flex; width: fit-content; margin-top: 18px; padding: 12px 16px;
  border: 1px solid rgba(155,199,167,.3); border-radius: 10px;
  color: #b8d7bf; font-size: 13px; transition: background .2s ease, border-color .2s ease;
}
@media (max-width: 900px) {
  .reviews { grid-template-columns: 1fr; gap: 24px; padding-top: 48px; padding-bottom: 60px; }
  .reviews__heading { text-align: center; }
  .reviews__heading .section-kicker { text-align: center; }
  .reviews__heading .display-title { text-align: center; }
  .reviews__lead { margin-inline: auto; }
  .reviews__rating iframe { margin-inline: auto; }
  .reviews__widget { width: min(100%, 560px); height: 600px; margin-inline: auto; }
  .reviews__map-link { grid-column: auto; }
  .contacts__yandex-link { margin-inline: auto; }
}
@media (max-width: 760px) {
  .reviews { padding-top: 36px; padding-bottom: 48px; }
  .reviews__heading .display-title { font-size: 46px; }
  .reviews__lead { font-size: 13px; }
  .reviews__widget { height: 620px; border-radius: 13px; }
  .reviews__map-link { min-height: 46px; padding-inline: 16px; font-size: 12px; }
}


/* Floating quick-contact widget */
.contact-widget {
  position: fixed; z-index: 80; right: 24px; bottom: max(24px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
}
.contact-widget__panel {
  display: flex; width: 190px; flex-direction: column; gap: 10px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(12px) scale(.97); transform-origin: bottom right;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}
.contact-widget.is-open .contact-widget__panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1);
}
.contact-widget__item {
  display: flex; min-height: 48px; align-items: center; gap: 12px;
  padding: 5px 14px 5px 8px; border: 1px solid rgba(255,255,255,.6);
  border-radius: 999px; background: #fff; color: #171b18;
  box-shadow: 0 7px 22px rgba(0,0,0,.16); font-size: 14px; font-weight: 500;
  white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease;
}
a.contact-widget__item:hover { transform: translateX(-4px); box-shadow: 0 10px 26px rgba(0,0,0,.23); }
.contact-widget__item.is-disabled { cursor: default; opacity: .88; }
.contact-widget__icon {
  display: grid; width: 36px; height: 36px; flex: 0 0 36px;
  place-items: center; border-radius: 50%; color: #fff;
}
.contact-widget__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-widget__icon--whatsapp { background: #20c86a; }
.contact-widget__icon--telegram { background: #229ed9; }
.contact-widget__icon--telegram svg { fill: #fff; stroke: none; width: 21px; }
.contact-widget__icon--max { background: linear-gradient(135deg,#10b8e9,#6847ff 65%,#a52cff); font-size: 18px; font-weight: 800; }
.contact-widget__icon--request { background: #171a18; }
.contact-widget__icon--request svg { width: 19px; height: 19px; fill: none; }
.contact-widget__icon--call { background: #111513; }
.contact-widget__icon--call svg { fill: #fff; stroke: none; width: 19px; height: 19px; }
.contact-widget__toggle {
  display: grid; width: 62px; height: 62px; place-items: center;
  border: 0; border-radius: 50%; background: #101311; color: #fff;
  box-shadow: 0 9px 28px rgba(0,0,0,.3); cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.contact-widget__toggle:hover { transform: translateY(-2px); background: #173b27; }
.contact-widget__toggle-icon { position: relative; width: 22px; height: 22px; }
.contact-widget__toggle-icon::before, .contact-widget__toggle-icon::after {
  position: absolute; top: 10px; left: 0; width: 22px; height: 2px;
  border-radius: 2px; background: #fff; content: ""; transition: transform .2s ease;
}
.contact-widget__toggle-icon::before { transform: rotate(45deg); }
.contact-widget__toggle-icon::after { transform: rotate(-45deg); }
.contact-widget:not(.is-open) .contact-widget__toggle-icon::before { transform: rotate(0) translateY(-4px); }
.contact-widget:not(.is-open) .contact-widget__toggle-icon::after { transform: rotate(0) translateY(4px); }
@media (max-width: 760px) {
  .contact-widget { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); gap: 10px; }
  .contact-widget__panel { width: 180px; gap: 8px; }
  .contact-widget__item { min-height: 46px; font-size: 13px; }
  .contact-widget__toggle { width: 58px; height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-widget *, .contact-widget *::before, .contact-widget *::after { transition-duration: .01ms !important; }
}


/* V5: lighter brushed-metal / graphite palette and stronger legibility */
:root {
  --bg: #20282b;
  --green: #29483a;
  --green-logo: #315b47;
  --white: #f4f7f5;
  --text: #edf2ef;
  --muted: #c2ceca;
  --line: rgba(225, 236, 232, .2);
}
html, body { background: #20282b; color: #edf2ef; }
body {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(151,171,165,.18), transparent 42rem),
    linear-gradient(145deg, #273236 0%, #1e272a 48%, #202a2c 100%);
}
.site-header {
  background: linear-gradient(135deg, rgba(53,76,68,.97), rgba(34,53,47,.97));
  border-color: rgba(220,235,228,.22);
  box-shadow: 0 16px 44px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.08);
}
.site-nav a { color: #f0f5f1; }
.site-nav a:hover { background: rgba(255,255,255,.14); color: #fff; }
.hero { background: #273235; }
.hero::after {
  background: linear-gradient(180deg, rgba(14,24,21,.3) 0%, rgba(17,29,24,.22) 42%, #20282b 100%),
              linear-gradient(90deg, rgba(13,23,20,.35), transparent 72%);
}
.about__copy, .section-lead, .services__hint, .reviews__lead { color: #c6d1cd; }
.complex-card {
  background: linear-gradient(145deg, #f0f3f1 0%, #cbd5d1 100%);
  border-color: rgba(255,255,255,.58);
}
.complex-card__name { color: #294638; }
.service-group { background: rgba(231,239,235,.055); border-color: rgba(220,235,228,.19); }
.service-group.is-open { background: rgba(231,239,235,.09); border-color: rgba(172,211,187,.55); }
.service-group__name { color: #f0f5f2; }
.service-row { border-top-color: rgba(225,236,232,.14); }
.service-row__name { color: #e5ece8; }
.service-row__price { color: #d2e4d8; }
.classes__copy,
.classes__copy p,
.classes__copy p span {
  color: #f0f4f2 !important;
  opacity: 1 !important;
  text-shadow: 0 1px 1px rgba(0,0,0,.22);
}
.classes__copy p strong {
  color: #b9e2c6 !important;
  font-weight: 700;
}
.classes__copy { max-width: 1100px; font-size: 14px; line-height: 1.8; }
.classes__copy p { margin-bottom: 24px; }
.contacts__details a { color: #eef4f0; }
.contacts__heading > p { color: #c6d1cc; }
.contacts__map { border-color: rgba(225,236,232,.22); }
.site-footer { background: #172124; border-top-color: rgba(225,236,232,.18); }
.package-modal { background: #263236; border-color: rgba(190,220,202,.4); }
.package-modal__features { color: #e1e9e4; }
.package-modal__classes { color: #cbd5d0; }

/* High-visibility mobile navigation control */
.menu-toggle {
  display: grid !important; width: 48px; height: 48px; place-items: center;
  border: 1px solid rgba(255,255,255,.62) !important; border-radius: 50%;
  background: linear-gradient(145deg, #dce5e1, #aebdb6) !important;
  box-shadow: 0 5px 18px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.8);
}
.menu-toggle__icon { width: 22px; gap: 6px; }
.menu-toggle__icon i {
  height: 2px; border-radius: 2px;
  background: #183126 !important;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child { transform: translateY(-8px) rotate(-45deg); }
.site-nav { background: linear-gradient(145deg, #2d3b3e, #1d2b2e); }

/* Make the floating contact launcher unmistakable */
.contact-widget__toggle {
  width: 66px; height: 66px;
  border: 2px solid rgba(255,255,255,.78);
  background: linear-gradient(145deg, #dce5e1, #9fb4a8);
  box-shadow: 0 9px 28px rgba(0,0,0,.38), 0 0 0 5px rgba(190,215,201,.13);
}
.contact-widget__toggle:hover { background: linear-gradient(145deg, #eff5f1, #b5c9bd); }
.contact-widget__toggle-icon::before,
.contact-widget__toggle-icon::after { background: #183126; height: 2.5px; }
.contact-widget__item {
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
}
.contact-widget__panel { filter: drop-shadow(0 5px 15px rgba(0,0,0,.12)); }
@media (max-width: 760px) {
  .menu-toggle { width: 48px; height: 48px; }
  .contact-widget__toggle { width: 62px; height: 62px; }
  .classes__copy { font-size: 13px; line-height: 1.7; }
}


/* V6: clean transparent header and minimal copyright footer */
.site-header {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.site-nav { background: transparent !important; }
.site-nav a { background: transparent; }
.site-nav a:hover { background: rgba(225,238,230,.12); }

/* The round hamburger control is mobile-only; hide the desktop artefact. */
@media (min-width: 761px) {
  .menu-toggle { display: none !important; }
}
@media (max-width: 760px) {
  .site-header {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  .site-header.is-menu-open {
    background: rgba(35,48,48,.96) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
  }
}

/* Replace the former large footer with a quiet copyright line. */
.site-footer.site-footer--copyright {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  border-top: 1px solid rgba(225,236,232,.12);
  background: transparent;
}
.site-footer--copyright p {
  margin: 0;
  color: #b9c5c0;
  font-size: 12px;
  letter-spacing: .04em;
  text-align: center;
}


/* V7: unified graphite-metal surface with subtle animated light reflections */
html, body { background: #222c2f !important; }
body {
  position: relative;
  isolation: isolate;
  background: linear-gradient(135deg, #263235 0%, #202a2d 48%, #273336 100%) !important;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: -18%;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse at 18% 28%, rgba(143,171,160,.15), transparent 30%),
    radial-gradient(ellipse at 78% 18%, rgba(109,139,128,.12), transparent 28%),
    radial-gradient(ellipse at 64% 78%, rgba(157,174,166,.10), transparent 32%);
  background-size: 140% 140%;
  animation: goat-metal-glow 24s ease-in-out infinite alternate;
}
@keyframes goat-metal-glow {
  0% { transform: translate3d(-2%, -1%, 0) scale(1); filter: blur(0); }
  50% { transform: translate3d(2%, 1%, 0) scale(1.04); filter: blur(8px); }
  100% { transform: translate3d(-1%, 2%, 0) scale(1.02); filter: blur(2px); }
}
/* Keep the page sections on one consistent metallic base. */
main, .about, .intro, .complexes, .services, .classes, .contacts, .reviews {
  background-color: transparent !important;
}
.site-footer.site-footer--copyright { background: transparent !important; }
.service-group { background: rgba(224,235,230,.045); }
.service-group.is-open { background: rgba(224,235,230,.085); }
.complex-card { box-shadow: 0 14px 36px rgba(0,0,0,.16); }

/* Yandex rating and review section */
.reviews {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(340px, 1.2fr);
  align-items: start;
  gap: 30px 48px;
  padding-top: 64px;
  padding-bottom: 78px;
}
.reviews__intro { padding-top: 10px; }
.reviews__intro .section-kicker { margin-bottom: 14px; }
.reviews__intro .display-title {
  font-size: clamp(42px, 5vw, 66px);
  text-align: left;
}
.reviews__lead {
  max-width: 410px;
  margin: 18px 0 22px;
  color: #d1dbd6;
  font-size: 15px;
  line-height: 1.65;
}
.reviews__rating { margin: 0 0 22px; }
.reviews__rating iframe { display: block; width: 150px; height: 50px; border: 0; }
.reviews__widget {
  height: 570px;
  overflow: hidden;
  border: 1px solid rgba(222,237,229,.22);
  border-radius: 16px;
  background: rgba(15,23,22,.58);
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
}
.reviews__widget iframe {
  display: block;
  width: 100%;
  height: calc(100% - 28px);
  border: 0;
}
.reviews__widget > a {
  display: block;
  height: 28px;
  overflow: hidden;
  padding: 5px 12px;
  background: #17201f;
  color: #c3cfca;
  font-size: 10px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reviews__map-link {
  grid-column: 1 / -1;
  justify-self: center;
  color: #e4ece7;
  font-size: 13px;
  border-bottom: 1px solid rgba(218,231,224,.4);
  padding: 8px 2px;
}
.reviews__map-link:hover { color: #fff; border-color: #fff; }

/* Yandex Business CTA — recognizable red/black treatment */
.yandex-business-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding: 7px 17px 7px 8px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: #111314;
  color: #fff;
  box-shadow: 0 9px 24px rgba(0,0,0,.24);
  font-size: 14px;
  font-weight: 650;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.yandex-business-button:hover {
  transform: translateY(-2px);
  background: #080909;
  box-shadow: 0 13px 30px rgba(0,0,0,.34);
}
.yandex-business-button__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: #e21b23;
  color: #fff;
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
}
.yandex-business-button__arrow { margin-left: 5px; color: #ff666b; font-size: 17px; }

.contacts__yandex-link {
  border-color: #d51e27 !important;
  background: #151617 !important;
  color: #fff !important;
}
.contacts__yandex-link:hover { background: #d51e27 !important; border-color: #d51e27 !important; }

@media (max-width: 900px) {
  .reviews { grid-template-columns: 1fr; gap: 24px; padding-top: 48px; padding-bottom: 60px; }
  .reviews__intro { text-align: center; }
  .reviews__intro .section-kicker { text-align: center; }
  .reviews__intro .display-title { text-align: center; }
  .reviews__lead { margin-inline: auto; }
  .reviews__rating iframe { margin-inline: auto; }
  .reviews__widget { width: min(100%, 560px); height: 590px; margin-inline: auto; }
  .reviews__map-link { grid-column: auto; }
}
@media (max-width: 760px) {
  .reviews { padding-top: 38px; padding-bottom: 48px; }
  .reviews__intro .display-title { font-size: 43px; }
  .reviews__lead { font-size: 13px; }
  .reviews__widget { height: 610px; }
  .yandex-business-button { min-height: 48px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none !important; }
}


/* V8: center the complete contacts block */
.contacts {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
}
.contacts__heading {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  text-align: center !important;
}
.contacts__heading .section-kicker,
.contacts__heading .display-title,
.contacts__heading > p {
  width: 100%;
  text-align: center !important;
}
.contacts__heading .contacts__details {
  width: 100%;
  flex-direction: column;
  align-items: center !important;
  justify-content: center;
  gap: 14px;
  text-align: center;
}
.contacts__heading .contacts__details a {
  text-align: center;
}
.contacts__heading > p {
  margin-top: 22px;
}
.contacts__heading > p + p {
  margin-top: 0;
}
.contacts__heading .contacts__yandex-link {
  align-self: center;
  margin: 24px auto 0;
}
.contacts__map {
  width: 100%;
  max-width: 1000px;
  min-height: 360px;
}
@media (max-width: 760px) {
  .contacts { gap: 26px; }
  .contacts__heading .display-title { text-align: center !important; }
  .contacts__heading .contacts__details { align-items: center !important; }
  .contacts__heading .contacts__yandex-link { margin-inline: auto; }
}


/* V9: replace the row of utility buttons with a focused sales message */
.hero__actions { display: none !important; }
.hero__conversion {
  display: flex;
  max-width: 610px;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 28px auto 0;
  text-align: center;
}
.hero__conversion-copy {
  max-width: 570px;
  margin: 0;
  color: #f0f5f2;
  font-size: clamp(16px, 1.7vw, 21px);
  line-height: 1.55;
  text-shadow: 0 2px 14px rgba(0,0,0,.4);
}
.hero__conversion-cta {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 26px;
  border: 1px solid rgba(222,241,229,.62);
  border-radius: 12px;
  background: linear-gradient(135deg, #dbe7e0, #a9c0b4);
  color: #1d3028;
  box-shadow: 0 12px 30px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.8);
  font-size: 14px;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.hero__conversion-cta:hover {
  transform: translateY(-3px);
  filter: brightness(1.07);
  box-shadow: 0 16px 36px rgba(0,0,0,.34), 0 0 24px rgba(184,219,199,.16);
}
.hero__conversion-cta span { font-size: 19px; }
.hero__conversion-note {
  color: #d2ddd6;
  font-size: 12px;
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}
@media (max-width: 760px) {
  .hero__conversion { max-width: 340px; gap: 12px; margin-top: 22px; padding: 0 10px; }
  .hero__conversion-copy { font-size: 15px; }
  .hero__conversion-cta { width: 100%; min-height: 50px; padding-inline: 16px; font-size: 13px; }
  .hero__conversion-note { font-size: 11px; }
}


/* V10: contact chooser modal launched from the main hero CTA */
.hero__conversion-cta {
  appearance: none;
  cursor: pointer;
  font-family: inherit;
}
.contact-modal {
  position: fixed;
  width: min(92vw, 480px);
  max-width: 480px;
  max-height: min(86vh, 720px);
  overflow: auto;
  padding: 34px 28px 28px;
  border: 1px solid rgba(206,229,215,.34);
  border-radius: 20px;
  background: linear-gradient(145deg, #2b383a, #1d292c);
  color: #f2f6f3;
  box-shadow: 0 28px 100px rgba(0,0,0,.58), inset 0 1px rgba(255,255,255,.08);
}
.contact-modal[open] { display: block; animation: contact-modal-in .22s ease-out; }
.contact-modal::backdrop { background: rgba(8,13,13,.72); backdrop-filter: blur(7px); }
@keyframes contact-modal-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.contact-modal__close {
  position: absolute; top: 12px; right: 14px;
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%; background: rgba(255,255,255,.08); color: #fff;
  font-size: 25px; line-height: 1; cursor: pointer;
}
.contact-modal .section-kicker { margin: 0 0 10px; }
.contact-modal__title {
  margin: 0; color: #f2f6f3; font: 400 clamp(30px, 5vw, 42px)/1.08 var(--display);
  text-align: center; text-transform: uppercase;
}
.contact-modal__text {
  max-width: 380px; margin: 14px auto 24px; color: #cbd6d0;
  font-size: 14px; line-height: 1.6; text-align: center;
}
.contact-modal__choices {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.contact-modal__choices .contact-widget__item {
  width: min(100%, 260px); min-height: 50px;
}
.contact-modal__choices .contact-widget__item.is-disabled { opacity: .62; }
.contact-modal__choices .contact-widget__item.is-disabled::after {
  content: "Скоро"; margin-left: auto; color: #68766f; font-size: 10px;
}
body.contact-modal-open { overflow: hidden; }

/* Cookie consent banner */
.cookie-banner {
  position: fixed; z-index: 120; left: 22px; right: 22px; bottom: 20px;
  display: flex; max-width: 920px; align-items: center; justify-content: space-between;
  gap: 24px; margin: 0 auto; padding: 18px 20px;
  border: 1px solid rgba(208,229,216,.25); border-radius: 15px;
  background: rgba(24,34,35,.97); color: #eef4f0;
  box-shadow: 0 16px 55px rgba(0,0,0,.42); backdrop-filter: blur(16px);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner__copy { flex: 1; min-width: 0; }
.cookie-banner__copy strong { display: block; margin-bottom: 5px; font-size: 14px; }
.cookie-banner__copy p { margin: 0; color: #c4d0c9; font-size: 12px; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex: 0 0 auto; gap: 8px; }
.cookie-banner__button {
  min-height: 40px; padding: 0 16px; border: 1px solid rgba(225,239,230,.3);
  border-radius: 9px; cursor: pointer; font: 600 12px/1 inherit;
}
.cookie-banner__button--accept { background: #cbdcd1; color: #1c3026; }
.cookie-banner__button--decline { background: transparent; color: #e6eee9; }
.cookie-banner__button:hover { filter: brightness(1.08); }
@media (max-width: 640px) {
  .contact-modal { padding: 30px 18px 22px; }
  .cookie-banner {
    left: 12px; right: 12px; bottom: 12px; align-items: stretch;
    flex-direction: column; gap: 13px; padding: 15px;
  }
  .cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-banner__button { min-height: 42px; }
}


/* V11: layout normalization — consistent content widths and aligned sections */
:root {
  --page-gutter: clamp(20px, 4vw, 64px);
  --content-width: 1180px;
}
.content-width {
  width: min(calc(100% - var(--page-gutter) * 2), 1180px) !important;
  max-width: 1180px;
  margin-left: auto !important;
  margin-right: auto !important;
}
main { width: 100%; overflow: clip; }
.about, .intro, .complexes, .services, .classes, .reviews, .contacts {
  box-sizing: border-box;
}
.about, .intro, .complexes, .services, .classes {
  margin-left: auto;
  margin-right: auto;
}
.complexes__grid, .services__list, .classes__copy {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* Reviews: centered two-column composition; keep Yandex's native 560px widget size. */
.reviews.content-width {
  display: grid;
  width: min(calc(100% - var(--page-gutter) * 2), 1080px) !important;
  max-width: 1080px;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 560px);
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 56px);
  padding: 72px 0;
}
.reviews__intro {
  width: 100%;
  min-width: 0;
  text-align: left;
}
.reviews__intro .section-kicker,
.reviews__intro .display-title { text-align: left; }
.reviews__intro .display-title { font-size: clamp(42px, 4.2vw, 60px); }
.reviews__lead { max-width: 390px; margin: 18px 0 22px; }
.reviews__rating { margin: 0 0 22px; }
.reviews__widget {
  width: 560px !important;
  max-width: 100%;
  height: 800px !important;
  justify-self: center;
  flex: none;
}
.reviews__widget iframe {
  width: 100% !important;
  height: calc(100% - 28px) !important;
}
.reviews__map-link { grid-column: 1 / -1; justify-self: center; }

/* Contacts: consistent centered block and a readable map width. */
.contacts.content-width {
  display: flex !important;
  width: min(calc(100% - var(--page-gutter) * 2), 1000px) !important;
  max-width: 1000px;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  padding-top: 64px;
  padding-bottom: 72px;
}
.contacts__heading {
  width: 100%;
  max-width: 650px;
  align-items: center;
  text-align: center;
}
.contacts__details {
  width: 100%;
  align-items: center !important;
}
.contacts__map {
  width: 100%;
  max-width: 1000px;
  min-height: 380px;
  margin: 0 auto;
}
.contacts__map iframe {
  width: 100%;
  min-height: 380px;
}

/* Make headings and body copy use predictable readable scales. */
.section-kicker { font-size: 11px; letter-spacing: .2em; }
.about__copy, .reviews__lead, .services__hint, .section-lead {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.7;
}
.classes__copy { font-size: 14px; line-height: 1.75; }
.service-group__name, .service-row__name { line-height: 1.45; }

@media (max-width: 900px) {
  .reviews.content-width {
    width: min(calc(100% - 40px), 600px) !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 52px 0;
  }
  .reviews__intro { text-align: center; }
  .reviews__intro .section-kicker,
  .reviews__intro .display-title { text-align: center; }
  .reviews__lead { margin: 16px auto 22px; }
  .reviews__rating iframe { margin-inline: auto; }
  .reviews__widget {
    width: min(560px, 100%) !important;
    height: min(800px, 115vw) !important;
    min-height: 560px;
  }
  .reviews__map-link { grid-column: auto; }
  .contacts.content-width {
    width: min(calc(100% - 40px), 700px) !important;
    padding-top: 48px;
    padding-bottom: 56px;
  }
}
@media (max-width: 600px) {
  .content-width {
    width: calc(100% - 36px) !important;
  }
  .reviews.content-width { width: calc(100% - 36px) !important; }
  .reviews__intro .display-title { font-size: 42px; }
  .reviews__widget {
    width: 100% !important;
    height: 650px !important;
    min-height: 0;
  }
  .contacts.content-width { width: calc(100% - 36px) !important; }
  .contacts__map, .contacts__map iframe { min-height: 280px; }
}


/* V12: softer transparent Yandex Business button, no arrow */
.yandex-business-button {
  background: rgba(17, 19, 20, .28) !important;
  border-color: rgba(225, 235, 229, .24) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.10) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.yandex-business-button:hover {
  background: rgba(17, 19, 20, .46) !important;
  border-color: rgba(225, 235, 229, .38) !important;
}
.yandex-business-button__arrow { display: none !important; }


/* V13: clip the Yandex rating badge corners cleanly */
.reviews__rating {
  display: block;
  width: 150px;
  height: 50px;
  overflow: hidden;
  border-radius: 7px;
  isolation: isolate;
  background: #20282b;
}
.reviews__rating iframe {
  display: block;
  width: 150px !important;
  height: 50px !important;
  border: 0 !important;
  border-radius: 7px;
  overflow: hidden;
  background: transparent !important;
}


/* V14: nine-photo detailing gallery */
.gallery.content-width {
  width: min(calc(100% - var(--page-gutter) * 2), 1180px) !important;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 70px;
  padding-bottom: 72px;
}
.gallery__heading {
  max-width: 700px;
  margin: 0 auto 30px;
  text-align: center;
}
.gallery__heading .section-kicker { margin-bottom: 12px; }
.gallery__heading .display-title {
  margin: 0;
  font-size: clamp(42px, 5vw, 64px);
  text-align: center;
}
.gallery__lead {
  max-width: 590px;
  margin: 16px auto 0;
  color: #cbd6d0;
  font-size: 15px;
  line-height: 1.65;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(220,235,227,.18);
  border-radius: 13px;
  background: #1b2528;
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}
.gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}
.gallery__item:hover img {
  transform: scale(1.055);
  filter: brightness(1.08);
}
@media (max-width: 760px) {
  .gallery.content-width {
    width: calc(100% - 36px) !important;
    padding-top: 48px;
    padding-bottom: 52px;
  }
  .gallery__heading .display-title { font-size: 42px; }
  .gallery__lead { font-size: 13px; }
  .gallery__grid { gap: 8px; }
  .gallery__item { border-radius: 9px; }
}


/* V15: premium polished-metal palette — deep graphite, liquid steel highlights */
:root {
  --bg: #171e20;
  --green: #29463b;
  --green-logo: #3c6654;
  --white: #f4f7f5;
  --text: #edf2ef;
  --muted: #b9c5c0;
  --line: rgba(214, 229, 221, .16);
}
html, body {
  background: #171e20 !important;
  color: #edf2ef;
}
body {
  background:
    radial-gradient(ellipse at 50% -12%, rgba(166,188,180,.15), transparent 38rem),
    radial-gradient(ellipse at 4% 42%, rgba(69,103,91,.12), transparent 34rem),
    linear-gradient(135deg, #202a2d 0%, #151d20 44%, #202a2d 100%) !important;
}
body::before {
  background:
    radial-gradient(ellipse at 18% 24%, rgba(190,207,199,.11), transparent 28%),
    radial-gradient(ellipse at 78% 18%, rgba(106,143,128,.12), transparent 27%),
    radial-gradient(ellipse at 63% 78%, rgba(151,171,163,.08), transparent 32%);
  opacity: .9;
  animation-duration: 30s;
}

/* Subtle polished-steel sheen on key surfaces, without turning the page silver. */
.site-header {
  background: linear-gradient(115deg, rgba(37,54,51,.42), rgba(18,27,29,.22) 52%, rgba(74,91,86,.18)) !important;
  border-color: rgba(210,228,219,.13) !important;
}
.site-nav a { color: #e8efeb; }
.service-group {
  background: linear-gradient(135deg, rgba(74,91,87,.28), rgba(27,39,40,.52)) !important;
  border-color: rgba(206,223,215,.15) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.035), 0 12px 30px rgba(0,0,0,.12);
}
.service-group.is-open {
  background: linear-gradient(135deg, rgba(88,115,104,.30), rgba(31,46,43,.65)) !important;
  border-color: rgba(181,214,195,.34) !important;
}
.complex-card {
  background: linear-gradient(145deg, #dce4df 0%, #aebdb6 48%, #d1dbd5 100%) !important;
  border-color: rgba(244,249,246,.55) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.72), 0 16px 38px rgba(0,0,0,.22);
}
.gallery__item {
  background: linear-gradient(145deg, #354447, #151e21) !important;
  border-color: rgba(206,225,215,.22) !important;
  box-shadow: 0 16px 38px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.05);
}
.reviews__widget {
  background: #151d1f !important;
  border-color: rgba(203,222,211,.2) !important;
  box-shadow: 0 20px 52px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.04);
}
.contact-modal {
  background: linear-gradient(145deg, #303d3e 0%, #1b2729 58%, #202d2d 100%) !important;
  border-color: rgba(206,228,215,.28) !important;
}
.cookie-banner {
  background: rgba(22,31,33,.96) !important;
  border-color: rgba(205,224,214,.2) !important;
}

/* Buttons: brushed alloy gradient with dark lettering and restrained glow. */
.hero__conversion-cta {
  background: linear-gradient(120deg, #e2e9e5 0%, #b9c9c1 38%, #d7e0db 68%, #aabbb2 100%) !important;
  border-color: rgba(248,252,249,.72) !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.32), inset 0 1px 1px rgba(255,255,255,.92), inset 0 -1px 1px rgba(63,82,73,.16) !important;
}
.hero__conversion-cta:hover {
  filter: brightness(1.08) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.38), 0 0 26px rgba(189,218,201,.14), inset 0 1px rgba(255,255,255,.95) !important;
}
.contact-widget__toggle {
  background: linear-gradient(145deg, #e0e8e3 0%, #b4c4bb 52%, #d1ddd6 100%) !important;
  border-color: rgba(247,251,248,.76) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.92) !important;
}
.yandex-business-button {
  background: rgba(12,17,18,.22) !important;
  border-color: rgba(219,232,225,.18) !important;
}
.yandex-business-button:hover {
  background: rgba(12,17,18,.4) !important;
}
.site-footer--copyright {
  border-top-color: rgba(211,228,218,.1) !important;
}
.site-footer--copyright p { color: #aebdb6 !important; }

/* Slightly more dimensional section transitions, retaining a unified base. */
.about, .intro, .complexes, .services, .classes, .gallery, .reviews, .contacts {
  position: relative;
}
.about::before, .complexes::before, .services::before, .gallery::before, .reviews::before {
  content: "";
  display: block;
  width: min(100%, 180px);
  height: 1px;
  margin: 0 auto 30px;
  background: linear-gradient(90deg, transparent, rgba(202,222,211,.25), transparent);
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none !important; }
}


/* V16: simplified contacts layout — information left, map right */
.contacts.content-width {
  display: grid !important;
  width: min(calc(100% - var(--page-gutter) * 2), 1180px) !important;
  max-width: 1180px;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 5vw, 72px);
  padding-top: 76px;
  padding-bottom: 82px;
}
.contacts__heading {
  display: flex;
  width: 100%;
  max-width: 440px;
  flex-direction: column;
  align-items: flex-start !important;
  justify-self: end;
  text-align: left !important;
}
.contacts__heading .section-kicker,
.contacts__heading .display-title,
.contacts__heading > p {
  width: 100%;
  text-align: left !important;
}
.contacts__heading .display-title {
  margin-bottom: 22px;
}
.contacts__details {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 13px;
  text-align: left;
}
.contacts__details a {
  color: #edf2ef;
  text-align: left !important;
  transition: color .2s ease;
}
.contacts__details a:hover { color: #c7d9cf; }
.contacts__heading > p {
  margin: 16px 0 0;
  color: #c4d0ca;
  line-height: 1.6;
}
.contacts__heading > p + p { margin-top: 7px; }
.contacts__heading .contacts__yandex-link { display: none !important; }
.contacts__map {
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 420px;
  margin: 0;
  justify-self: stretch;
  overflow: hidden;
  border: 1px solid rgba(206,225,215,.2);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0,0,0,.25);
}
.contacts__map iframe {
  display: block;
  width: 100% !important;
  height: 420px;
  min-height: 420px;
  border: 0;
}
@media (max-width: 850px) {
  .contacts.content-width {
    width: min(calc(100% - 40px), 650px) !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 52px;
    padding-bottom: 60px;
  }
  .contacts__heading {
    max-width: 100%;
    justify-self: stretch;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .contacts__heading .section-kicker,
  .contacts__heading .display-title,
  .contacts__heading > p { text-align: left !important; }
  .contacts__map, .contacts__map iframe {
    min-height: 340px;
    height: 340px;
  }
}
@media (max-width: 600px) {
  .contacts.content-width { width: calc(100% - 36px) !important; }
  .contacts__map, .contacts__map iframe {
    min-height: 280px;
    height: 280px;
    border-radius: 12px;
  }
}


/* V17: center the contact copy while keeping the map alongside it on desktop */
.contacts.content-width {
  display: grid !important;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(28px, 4vw, 60px);
}
.contacts__heading {
  display: flex !important;
  width: 100%;
  max-width: 620px;
  flex-direction: column;
  align-items: center !important;
  justify-self: center;
  text-align: center !important;
}
.contacts__heading .section-kicker,
.contacts__heading .display-title,
.contacts__heading > p {
  width: 100%;
  text-align: center !important;
}
.contacts__details {
  display: flex !important;
  width: 100%;
  flex-direction: column;
  align-items: center !important;
  gap: 14px;
  text-align: center !important;
}
.contacts__details a {
  width: 100%;
  text-align: center !important;
}
.contacts__heading > p {
  margin: 9px 0 0;
  color: #cbd6d0;
  text-align: center !important;
}
.contacts__map {
  width: 100%;
  max-width: 100%;
  justify-self: stretch;
  overflow: hidden;
  border-radius: 14px;
}
.contacts__map iframe {
  display: block;
  width: 100% !important;
  height: 380px !important;
  min-height: 320px;
  border: 0;
}
@media (max-width: 900px) {
  .contacts.content-width {
    grid-template-columns: minmax(0, 1fr);
    width: min(calc(100% - 40px), 680px) !important;
    gap: 26px;
    padding-top: 50px;
    padding-bottom: 58px;
  }
  .contacts__heading {
    justify-self: center;
    align-items: center !important;
    text-align: center !important;
  }
  .contacts__map { width: 100%; }
  .contacts__map iframe { height: 340px !important; }
}
@media (max-width: 600px) {
  .contacts.content-width { width: calc(100% - 36px) !important; }
  .contacts__heading .display-title { font-size: 42px; }
  .contacts__details { gap: 12px; }
  .contacts__map iframe { height: 280px !important; min-height: 280px; }
}

/* Keep the cookie notice visually clear against the dark metallic background. */
.cookie-banner {
  z-index: 150 !important;
  border: 1px solid rgba(213,230,220,.3) !important;
  background: rgba(19,28,30,.97) !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.48) !important;
}
.cookie-banner__copy strong { color: #f2f6f3; }
.cookie-banner__copy p { color: #cbd6d0; }
.cookie-banner__button--accept {
  background: linear-gradient(135deg, #dce6e0, #afc2b7) !important;
  color: #1b2c25 !important;
}
.cookie-banner__button--decline {
  border-color: rgba(223,236,228,.34) !important;
  color: #edf3ef !important;
}


/* V18: gallery 2 columns × 4 rows, all images landscape */
.gallery__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(12px, 1.6vw, 20px) !important;
}
.gallery__item {
  aspect-ratio: 16 / 9 !important;
  border-radius: 12px;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 640px) {
  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .gallery__item { aspect-ratio: 16 / 9 !important; }
}

/* Contacts: center the entire left-hand information block, not only its links. */
.contacts__heading {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: center !important;
  width: 100% !important;
  max-width: 620px !important;
  text-align: center !important;
}
.contacts__heading > *,
.contacts__heading .section-kicker,
.contacts__heading .display-title,
.contacts__heading .contacts__details,
.contacts__heading .contacts__details a,
.contacts__heading > p {
  text-align: center !important;
}
.contacts__heading .section-kicker,
.contacts__heading .display-title,
.contacts__heading .contacts__details,
.contacts__heading > p {
  align-self: center !important;
  width: 100% !important;
}
.contacts__heading .display-title {
  margin-left: auto !important;
  margin-right: auto !important;
}
.contacts__heading .contacts__details {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}
.contacts__heading .contacts__details a {
  display: block;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
}
.contacts__heading > p {
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (max-width: 900px) {
  .contacts__heading { margin-left: auto !important; margin-right: auto !important; }
}

/* Cookie banner: force it to appear for visitors who have not chosen in the new consent version. */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner:not([hidden]) {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* V19: remove the mobile hamburger; keep all navigation links visible */
@media (max-width: 760px) {
  .menu-toggle,
  [data-menu-toggle] {
    display: none !important;
  }
  .site-header,
  .site-header.is-menu-open {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    display: flex !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    padding: calc(18px + env(safe-area-inset-top)) 18px 14px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }
  .site-header .brand {
    justify-content: center;
    width: 100%;
  }
  .site-header .brand__logo {
    width: 148px !important;
    max-width: 58vw;
  }
  .site-header .site-nav,
  .site-header .site-nav.is-open {
    position: static !important;
    inset: auto !important;
    display: grid !important;
    width: min(100%, 420px) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none !important;
  }
  .site-header .site-nav a,
  .site-header .site-nav.is-open a {
    display: flex !important;
    min-width: 0 !important;
    min-height: 40px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 10px !important;
    border: 1px solid rgba(210,229,218,.18) !important;
    border-radius: 9px !important;
    background: rgba(218,231,223,.055) !important;
    color: #edf3ef !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: normal !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: background .2s ease, border-color .2s ease !important;
  }
  .site-header .site-nav a:hover,
  .site-header .site-nav a:focus-visible {
    background: rgba(218,231,223,.12) !important;
    border-color: rgba(210,229,218,.34) !important;
  }
  body.is-menu-locked { overflow: auto !important; }
}
