.profile-head {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .profile-head {
    grid-template-columns: 240px 1fr;
    align-items: start;
  }
}
@media (min-width: 1200px) {
  .profile-head {
    grid-template-columns: 280px 1fr 300px;
  }
}

.profile-photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #f5f5ff;
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-photo__placeholder {
  display: grid;
  place-content: center;
  height: 100%;
  color: #4f46e5;
}
.profile-photo__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(20, 20, 50, 0.75));
}
.profile-photo__overlay .script {
  display: block;
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.profile-photo__name {
  display: block;
  color: #ffffff;
  font-weight: 700;
}
.profile-photo__name span {
  display: block;
  font-weight: 400;
  font-size: 0.82rem;
  opacity: 0.85;
}

.profile-intro {
  min-width: 0;
}
.profile-intro h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}
.profile-intro__slogan {
  font-size: 1.05rem;
  color: #565d76;
  margin: 6px 0 14px;
}
.profile-intro__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.profile-intro__loc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #8a90a6;
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.profile-intro__loc > svg {
  width: 18px;
  height: 18px;
  color: #4f46e5;
}
.profile-intro__loc .link-arrow {
  font-size: 0.88rem;
}
.profile-intro .tags {
  margin-bottom: 20px;
}

.profile-stats {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
  padding-top: 18px;
  border-top: 1px solid #e7e7f2;
}
@media (min-width: 1024px) {
  .profile-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.profile-stat {
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile-stat__ic {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #e7e7f2;
  color: #4f46e5;
  display: grid;
  place-content: center;
  flex: none;
}
.profile-stat__num {
  font-weight: 700;
  color: #1e2340;
  font-size: 0.95rem;
  display: block;
}
.profile-stat__label {
  display: block;
  color: #8a90a6;
  font-size: 0.8rem;
}

.profile-visual {
  position: relative;
}
@media (min-width: 768px) {
  .profile-visual {
    grid-column: 1/-1;
  }
}
@media (min-width: 1200px) {
  .profile-visual {
    grid-column: auto;
  }
}
.profile-visual .hero-visual {
  display: none;
  aspect-ratio: 4/3;
}
@media (min-width: 1200px) {
  .profile-visual .hero-visual {
    display: block;
  }
}

.profile-actions {
  display: flex;
  gap: 8px;
}
@media (min-width: 1200px) {
  .profile-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
  }
}
.profile-actions .is-active svg {
  color: #e11d48;
  fill: currentColor;
}

.profile-visual__script {
  display: none;
}
@media (min-width: 1200px) {
  .profile-visual__script {
    display: block;
    position: absolute;
    top: 52px;
    right: 12px;
    z-index: 2;
    text-align: right;
    font-size: 1.2rem;
    color: #ffffff;
    text-shadow: 0 1px 8px rgba(20, 20, 50, 0.45);
  }
}

.profile-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #e7f8ef;
  color: #157347;
  font-size: 0.85rem;
  font-weight: 600;
}
.profile-badge svg {
  color: #16a34a;
  flex: none;
}

.profile-tabs-wrap {
  position: sticky;
  top: 63px;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid #e7e7f2;
}
@media (min-width: 1024px) {
  .profile-tabs-wrap {
    top: 71px;
  }
}
.admin-bar .profile-tabs-wrap {
  top: 109px;
}
@media (min-width: 783px) {
  .admin-bar .profile-tabs-wrap {
    top: 95px;
  }
}
@media (min-width: 1024px) {
  .admin-bar .profile-tabs-wrap {
    top: 103px;
  }
}

.profile-tabs {
  border-bottom: none;
}

.profile-layout {
  display: grid;
  gap: 30px;
}
@media (min-width: 1024px) {
  .profile-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
  }
}

.profile-main {
  min-width: 0;
}

.profile-block {
  scroll-margin-top: 140px;
}
.profile-block + .profile-block {
  margin-top: 42px;
}
.profile-block > h2,
.profile-block .head-row {
  margin-bottom: 20px;
}
.profile-block .head-row button {
  padding: 0;
}

.profile-about {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .profile-about {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}
.profile-about h2 {
  margin-bottom: 12px;
}
.profile-about__text {
  position: relative;
}
.profile-about__text > * + * {
  margin-top: 12px;
}
.profile-about__text.is-collapsed {
  max-height: 11.5em;
  overflow: hidden;
}
.profile-about__text.is-collapsed::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3em;
  background: linear-gradient(rgba(255, 255, 255, 0), #ffffff);
}
.profile-about__more {
  margin-top: 16px;
}
.profile-about__script {
  font-size: 1.3rem;
  text-align: right;
  max-width: 14ch;
}

.profile-services {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 576px) {
  .profile-services {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1200px) {
  .profile-services {
    grid-template-columns: repeat(4, 1fr);
  }
}

.svc-tile {
  background: #ffffff;
  border: 1px solid #e7e7f2;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(30, 30, 80, 0.07);
  padding: 18px;
  background: #f5f5ff;
  border-color: transparent;
  box-shadow: none;
}
.svc-tile__ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  color: #4f46e5;
  display: grid;
  place-content: center;
  margin-bottom: 12px;
}
.svc-tile h3 {
  font-size: 1.02rem;
  color: #1e2340;
  margin-bottom: 4px;
}
.svc-tile p {
  font-size: 0.85rem;
  color: #8a90a6;
}

.profile-projects {
  display: grid;
  gap: 16px;
  grid-auto-flow: column;
  grid-auto-columns: 70%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.profile-projects::-webkit-scrollbar {
  display: none;
}
.profile-projects > * {
  scroll-snap-align: start;
}
@media (min-width: 576px) {
  .profile-projects {
    grid-auto-columns: 42%;
  }
}
@media (min-width: 1024px) {
  .profile-projects {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
  }
}

.profile-pubs {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 576px) {
  .profile-pubs {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .profile-pubs {
    grid-template-columns: repeat(3, 1fr);
  }
}

.profile-reviews {
  display: grid;
  gap: 18px;
}
@media (min-width: 768px) {
  .profile-reviews {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}
.profile-reviews__list {
  display: grid;
  gap: 16px;
}

.profile-review-form {
  margin-top: 24px;
}

.review-form {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .review-form {
    grid-template-columns: 1fr 1fr;
  }
}
.review-form__heading {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
@media (min-width: 768px) {
  .review-form__note, .review-form__rating, .review-form__title, .review-form__text, .review-form__privacy,
  .review-form .form-submit {
    grid-column: 1/-1;
  }
}
.review-form__note {
  color: #8a90a6;
  font-size: 0.88rem;
}
.review-form__rating {
  border: 0;
  padding: 0;
}
.review-form__privacy a {
  color: #4f46e5;
  text-decoration: underline;
}

.star-input {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 2px;
}
.star-input input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.star-input label {
  cursor: pointer;
  color: #d9d9e6;
  line-height: 0;
  transition: color 0.1s ease;
}
.star-input label svg {
  width: 28px;
  height: 28px;
}
.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label {
  color: #f6b100;
}
.star-input input:focus-visible + label {
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.28);
  border-radius: 4px;
}

.profile-side {
  display: grid;
  gap: 20px;
}
@media (min-width: 1024px) {
  .profile-side {
    position: sticky;
    top: 140px;
  }
}
.profile-side__map-link {
  margin-top: 12px;
}

.profile-cta {
  background: linear-gradient(150deg, #5b53ea, #3f37c9);
  border-color: transparent;
  color: #ffffff;
}
.profile-cta__title {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.profile-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.profile-cta .btn--light {
  margin-bottom: 10px;
}
.profile-cta__alt {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}
.profile-cta__alt:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/*# sourceMappingURL=profile.css.map */
