.prac-profile .home-wrap { padding: 32px 24px 96px; }
.prac-profile a.prac-profile__back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.prac-profile a.prac-profile__back:hover { text-decoration: underline; }

.prac-profile__band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  margin-top: 12px;
  padding: 40px;
  border-radius: 24px;
  background: #F3F8FC;
}
.prac-profile__photo {
  flex: 0 0 180px;
  width: 180px;
  height: 180px;
  border-radius: 24px;
  background: #E3ECF4;
  overflow: hidden;
}
.prac-profile__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}
.prac-profile__intro {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prac-profile .prac-profile__intro h1 {
  font-size: clamp(30px, 7vw, 40px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.prac-profile__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  font-size: 16px;
  color: #3A4A5A;
}
.prac-profile__meta span,
.prac-chip,
.prac-profile__duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.prac-profile__meta .prac-profile__languages { gap: 6px; }
.prac-profile__languages .badge {
  padding: 4px 7px;
  font-size: 12px;
}
.prac-profile__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.prac-chip {
  padding: 6px 14px;
  border: 1px solid #D8E0E8;
  border-radius: 999px;
  background: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  color: #495A6F;
}
.prac-chip--rating {
  font-weight: 700;
  color: #12212E;
}

.prac-profile__columns {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  margin-top: 40px;
}
.prac-profile__booking {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border: 1px solid #D8E0E8;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(16, 40, 70, 0.06);
}
.prac-profile__terms {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.prac-profile .prac-profile__price {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 700;
  color: #12212E;
}
.prac-profile__duration {
  font-size: 16px;
  font-weight: 600;
  color: #12212E;
}
.prac-profile .prac-profile__booking a.home-btn {
  display: flex;
  align-self: stretch;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
  text-align: center;
}
.prac-profile .prac-profile__booking a.home-btn--outline { min-height: 48px; }
.prac-profile__booking a.home-btn--outline .benefits-icon { color: inherit; }
.prac-profile .prac-profile__helper {
  margin-top: -8px;
  font-size: 14px;
  text-align: center;
  color: #495A6F;
}
.prac-profile .prac-profile__policy {
  padding-top: 16px;
  border-top: 1px solid #D8E0E8;
  font-size: 14px;
  color: #495A6F;
}
.prac-profile__policy a { font-weight: 700; }

.prac-profile__main {
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.prac-profile .prac-profile__main h2 {
  margin-bottom: 14px;
  font-size: 26px;
  line-height: 1.2;
}
.prac-profile #profileAbout p {
  max-width: 68ch;
  text-align: left;
  overflow-wrap: anywhere;
}
.prac-profile__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.prac-profile__card {
  padding: 22px 24px;
  border: 1px solid #D8E0E8;
  border-radius: 20px;
}
.prac-profile .prac-profile__ticks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.prac-profile__ticks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #12212E;
  overflow-wrap: anywhere;
}
.prac-profile__ticks .benefits-icon { margin-top: 4px; }
.prac-profile__ticks span { min-width: 0; }

.prac-profile__reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 16px;
}
.prac-profile .prac-profile__reviews-head h2 { margin-bottom: 0; }
.prac-profile .prac-profile__summary {
  font-size: 16px;
  font-weight: 700;
  color: #12212E;
}
.prac-profile__empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 32px;
  border-radius: 20px;
  background: #F3F8FC;
}
.prac-profile__empty-icon {
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #FFFFFF;
}
.prac-profile__empty > div:last-child {
  flex: 1 1 260px;
  min-width: 0;
}
.prac-profile .prac-profile__empty h3 {
  margin-bottom: 2px;
  font-size: 18px;
}
.prac-profile .prac-profile__empty p { font-size: 15px; }

.prac-profile__filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 16px;
}
.prac-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #12212E;
  cursor: pointer;
}
.prac-switch input {
  position: absolute;
  opacity: 0;
  width: 44px;
  height: 24px;
  margin: 0;
}
.prac-switch__track {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #9AA9B8;
  transition: background 0.15s;
}
.prac-switch__track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFFFFF;
  transition: transform 0.15s;
}
.prac-switch input:checked + .prac-switch__track { background: #1072BA; }
.prac-switch input:checked + .prac-switch__track::after { transform: translateX(20px); }
.prac-switch input:focus-visible + .prac-switch__track {
  outline: 2px solid #1072BA;
  outline-offset: 3px;
}
.prac-profile .prac-profile__count {
  font-size: 14px;
  color: #495A6F;
}

.prac-profile__reviews {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.prac-review {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid #D8E0E8;
  border-radius: 20px;
}
.prac-review[hidden] { display: none; }
.prac-review__head,
.prac-review__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.prac-review__head { justify-content: space-between; }
.prac-profile .prac-review__name {
  font-weight: 700;
  color: #12212E;
  overflow-wrap: anywhere;
}
.prac-profile .prac-review__date {
  font-size: 14px;
  color: #495A6F;
}
.prac-profile input[name="rating"] { display: none; }
.prac-profile .k-rating {
  display: inline-flex;
  align-items: center;
  pointer-events: none;
  margin: 0 0 0 -6px !important;
  font-size: 0 !important;
}
.prac-profile .k-rating-container .k-rating-item { padding: 0 !important; }
.prac-profile .k-rating-container .k-rating-item .k-rating-precision-complement,
.prac-profile .k-rating-container .k-rating-item .k-rating-precision-part { top: 0; }
.prac-profile .k-rating-container .k-rating-item .k-rating-precision-part { left: 0; }
.prac-profile .k-rating-item .k-icon {
  font-size: 18px !important;
  margin: 0 !important;
}
.prac-profile .k-rating-label {
  margin: 0 0 0 12px;
  font-size: 14px;
}
.prac-profile .k-rating-label span {
  font-size: 14px;
  color: #495A6F;
}
.prac-chip .k-rating { margin-left: -2px !important; }
.prac-profile .prac-profile__none {
  margin-bottom: 16px;
  padding: 20px 24px;
  border-radius: 20px;
  background: #F3F8FC;
  font-size: 15px;
}
.prac-profile .prac-review__text {
  max-width: 68ch;
  font-size: 16px;
  overflow-wrap: anywhere;
}
.prac-review__toggle {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: #1072BA;
  text-decoration: underline;
  cursor: pointer;
}
.prac-review__reply {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #F3F8FC;
}
.prac-profile .prac-review__reply p {
  font-size: 15px;
  overflow-wrap: anywhere;
}
.prac-profile .prac-review__reply .prac-review__reply-from {
  font-weight: 700;
  color: #12212E;
}
.prac-profile .prac-pager { margin: 24px 0 0; }

.k-window { max-width: 90%; }
.k-window-titlebar a.k-window-action { margin-right: 3px; }

@media (max-width: 600px) {
  .prac-profile .home-wrap { padding: 16px 16px 64px; }
  .prac-profile__band {
    gap: 20px;
    padding: 24px;
  }
  .prac-profile__photo {
    flex-basis: 120px;
    width: 120px;
    height: 120px;
    border-radius: 20px;
  }
  .prac-profile__columns {
    gap: 32px;
    margin-top: 24px;
  }
  .prac-profile__booking,
  .prac-review,
  .prac-profile__empty { padding: 20px; }
  .prac-profile__main { gap: 40px; }
}
