:root {
  --accent: #10a89b;
  --accent-dark: #08766e;
  --accent-soft: #e6faf8;
  --red: #e23b3b;
  --text: #202124;
  --muted: #74777d;
  --line: #e9edf2;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --star: #f1b831;
  --shadow: 0 14px 38px rgba(31, 45, 61, 0.08);
  --radius: 18px;
  --container: min(1130px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.wrapper {
  min-height: 100vh;
  overflow-x: hidden;
}

.cookie {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: none;
}

.cookie.is-visible {
  display: block;
}

.cookie__row {
  max-width: 940px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.94);
  border-radius: 10px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.cookie p {
  margin: 0;
  flex: 1;
  font-size: 13px;
}

.cookie__btn {
  border: 0;
  padding: 9px 16px;
  color: #ffffff;
  background: var(--accent);
  border-radius: 7px;
  font-weight: 700;
  cursor: pointer;
}

.header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.header__top {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 255px;
  font-size: 20px;
  font-weight: 800;
}

.logo__mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--accent);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 900;
}

.menu-btn {
  display: none;
  width: 28px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 3px;
  margin: 5px 0;
  background: #111111;
  border-radius: 4px;
}

.header__nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 35px;
  font-size: 14px;
}

.header__nav a {
  transition: color 0.2s ease;
}

.header__nav a:hover,
.header__phone:hover,
.page-info__desc a:hover,
.contacts__phone:hover,
.footer__phone:hover {
  color: var(--accent);
}

.nav-call {
  display: none;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.header__advantages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 22px 0 24px;
  border-top: 1px solid var(--line);
}

.advantage,
.benefit {
  display: flex;
  align-items: center;
  gap: 13px;
}

.advantage__icon,
.benefit__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--accent);
  border-radius: 50%;
  font-size: 19px;
  font-weight: 900;
}

.advantage strong,
.benefit strong {
  display: block;
  font-size: 16px;
  line-height: 1.1;
}

.advantage small,
.benefit small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.15;
}

.main {
  padding: 30px 0 50px;
}

.main__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 305px;
  gap: 50px;
  align-items: start;
}

.main__left {
  min-width: 0;
}

.page-info__title {
  margin: 0 0 20px;
  max-width: 780px;
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: 0;
}

.page-info__row {
  display: grid;
  grid-template-columns: minmax(0, 315px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.master {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
}

.master__photo {
  position: relative;
  width: 118px;
  height: 118px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-soft);
}

.master__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 35%;
}

.master__status-dot {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 16px;
  height: 16px;
  background: #63b738;
  border: 3px solid #ffffff;
  border-radius: 50%;
}

.master__name {
  padding-bottom: 12px;
  border-bottom: 2px solid #d5dbe3;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.master__name span {
  display: inline-block;
  margin-left: 4px;
  color: #63a735;
  font-size: 14px;
  vertical-align: super;
}

.master__job {
  margin-top: 11px;
  color: var(--muted);
}

.master__rating {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  color: #222222;
  font-size: 14px;
}

.master__rating span:first-child {
  color: var(--star);
}

.page-info__desc {
  color: #333333;
  font-weight: 300;
}

.page-info__desc p {
  margin: 0 0 10px;
}

.page-info__desc a {
  color: #0943e2;
  font-weight: 800;
  text-decoration: underline;
}

.advantages-block {
  display: none;
}

.mobile-action {
  display: none;
}

.callback {
  position: relative;
  overflow: hidden;
  margin: 38px 0;
  padding: 38px 58px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), #0b8279);
  border-radius: 20px;
}

.callback::after {
  content: "";
  position: absolute;
  right: -75px;
  bottom: -120px;
  width: 310px;
  height: 310px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.callback h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 24px;
  font-size: 26px;
  line-height: 1.12;
}

.callback__form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 16px;
  max-width: 620px;
}

.callback__form input[type="tel"],
.promo__form input[type="tel"] {
  height: 48px;
  width: 100%;
  border: 0;
  padding: 0 18px;
  background: #ffffff;
  outline: none;
}

.callback__form button,
.promo__form button {
  height: 48px;
  border: 0;
  color: #ffffff;
  background: #222222;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.callback__form button:hover,
.promo__form button:hover {
  background: #000000;
  transform: translateY(-1px);
}

.check,
.form-message {
  grid-column: 1 / -1;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  line-height: 1.3;
}

.check input {
  margin-top: 1px;
}

.form-message {
  min-height: 18px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.price-block {
  margin-top: 40px;
}

.price-block h2,
.reviews h2,
.faq h2,
.contacts h2 {
  margin: 0 0 18px;
  font-size: 25px;
  line-height: 1.2;
}

.price-block__items {
  display: grid;
  gap: 10px;
}

.price-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 18px 22px;
  background: var(--bg-soft);
  border-radius: 10px;
}

.price-item h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
}

.price-item span {
  flex: 0 0 auto;
  font-size: 19px;
  font-weight: 800;
  text-align: right;
}

.price-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.reviews {
  margin-top: 42px;
}

.reviews__head {
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: var(--bg-soft);
  border-radius: 14px;
}

.reviews__head strong {
  font-size: 21px;
}

.reviews__head span {
  color: var(--muted);
  font-size: 14px;
}

.reviews__rating {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.rating-row {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) 100px;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.rating-row i {
  height: 9px;
  overflow: hidden;
  background: #edf0f4;
  border-radius: 20px;
}

.rating-row b {
  display: block;
  height: 100%;
  background: var(--star);
}

.review-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.review {
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(31, 45, 61, 0.05);
}

.review strong {
  display: block;
  margin-bottom: 8px;
}

.review p {
  margin: 0 0 10px;
  color: #34363a;
}

.review small {
  color: var(--muted);
}

.faq {
  margin-top: 42px;
}

.faq__items {
  display: grid;
  gap: 10px;
}

.faq__item {
  background: var(--bg-soft);
  border-radius: 12px;
  overflow: hidden;
}

.faq__head {
  position: relative;
  width: 100%;
  border: 0;
  padding: 18px 56px 18px 20px;
  color: var(--text);
  background: transparent;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.faq__head::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 25px;
}

.faq__item.is-open .faq__head::after {
  content: "-";
}

.faq__text {
  display: none;
  padding: 0 20px 18px;
  color: #3f4247;
}

.faq__item.is-open .faq__text {
  display: block;
}

.contacts {
  margin-top: 42px;
  padding: 28px;
  background: var(--bg-soft);
  border-radius: 18px;
}

.contacts__phone {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 25px;
  font-weight: 900;
}

.contacts p {
  margin: 8px 0 0;
}

.main__right {
  position: relative;
}

.sidebar {
  position: sticky;
  top: 22px;
  display: grid;
  gap: 22px;
}

.side-benefits,
.promo {
  padding: 24px;
  background: var(--bg-soft);
  border-radius: 18px;
}

.side-benefits h3,
.promo h3 {
  margin: 0 0 20px;
  font-size: 23px;
  line-height: 1.15;
}

.side-benefits {
  display: grid;
  gap: 18px;
}

.promo {
  color: #ffffff;
  background: #202124;
}

.promo h3 span {
  color: #7ae1d7;
}

.promo h3 small {
  display: block;
  margin-top: 3px;
  font-size: 18px;
  font-weight: 400;
}

.promo__form {
  display: grid;
  gap: 12px;
}

.promo__info {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.footer {
  padding: 32px 0 24px;
  color: rgba(255, 255, 255, 0.78);
  background: #111827;
}

.footer__row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer__phone {
  color: #ffffff;
  font-size: 21px;
  font-weight: 900;
}

.footer p {
  margin: 8px 0 0;
}

.footer__info,
.footer__copy {
  font-size: 13px;
}

.footer__copy {
  margin-top: 18px;
}

.fixed-btn {
  display: none;
}

.call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 26px;
  color: #ffffff;
  background: var(--accent);
  border-radius: 999px;
  font-weight: 900;
}

.call-btn:hover {
  background: var(--accent-dark);
}

@media (max-width: 992px) {
  .main__row {
    grid-template-columns: 1fr;
  }

  .main__right {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --container: min(100vw - 30px, 1130px);
  }

  body {
    padding-bottom: 74px;
  }

  .cookie {
    left: 10px;
    right: 10px;
    bottom: 78px;
  }

  .cookie__row {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .header__top {
    min-height: 60px;
  }

  .logo {
    min-width: 0;
    font-size: 16px;
  }

  .logo__mark {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .menu-btn {
    display: block;
    margin-left: auto;
  }

  .header__phone {
    display: none;
  }

  .header__nav {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 50;
    width: 280px;
    padding: 86px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #ffffff;
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.18);
    transform: translateX(-105%);
    transition: transform 0.25s ease;
  }

  .header__nav.is-open {
    transform: translateX(0);
  }

  .header__nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
  }

  .nav-call {
    display: inline-flex;
    justify-content: center;
    margin-top: 18px;
    color: #ffffff;
    background: var(--accent);
    border: 0 !important;
    border-radius: 999px;
  }

  .header__advantages {
    display: none;
  }

  .main {
    padding-top: 22px;
  }

  .page-info__title {
    margin-bottom: 18px;
    font-size: 25px;
  }

  .page-info__row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .master {
    max-width: 340px;
  }

  .page-info__desc {
    font-size: 15px;
  }

  .advantages-block {
    display: block;
    margin: 22px 0;
  }

  .benefits--mobile {
    display: grid;
    gap: 18px;
    padding: 14px 0;
  }

  .mobile-action {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin: 18px 0 24px;
  }

  .mobile-action .call-btn {
    width: 100%;
  }

  .mobile-action__note {
    font-size: 14px;
    font-weight: 700;
  }

  .callback {
    display: none;
  }

  .price-block {
    margin-top: 34px;
  }

  .price-block h2,
  .reviews h2,
  .faq h2,
  .contacts h2 {
    font-size: 24px;
  }

  .price-item {
    min-height: 58px;
    padding: 15px 16px;
  }

  .price-item h3 {
    font-size: 15px;
  }

  .price-item span {
    font-size: 15px;
  }

  .reviews__head {
    flex-direction: column;
    gap: 8px;
  }

  .rating-row {
    grid-template-columns: 20px minmax(0, 1fr) 88px;
  }

  .contacts {
    padding: 22px 18px;
  }

  .contacts__phone {
    font-size: 22px;
  }

  .footer__row {
    flex-direction: column;
  }

  .footer__menu {
    flex-direction: column;
    gap: 12px;
  }

  .fixed-btn {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 55;
    display: block;
  }

  .fixed-btn .call-btn {
    width: 100%;
    min-height: 54px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  }
}
