﻿.profile-hero {
  padding: 0.75rem 0 0;
  background: radial-gradient(circle at top left, #13131a, #0a0a0d 65%);
}

.profile-hero__container {
  width: min(1400px, 100% - 2rem);
  margin-inline: auto;
  display: grid;
  gap: 1rem;
}

.profile-hero__left,
.profile-hero__booking,
.profile-hero__social {
  background: linear-gradient(145deg, #15151b, #101016);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.profile-hero__left {
  overflow: hidden;
}

.profile-hero__photo-wrap {
  position: relative;
  margin: 0;
  isolation: isolate;
  background: #0b0b10;
  width: 100%;
  aspect-ratio: 1 / 1;
  align-self: start;
  overflow: hidden;
}

.profile-hero__photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0) 38%);
  pointer-events: none;
}

.profile-hero__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-bottom: 1px solid rgba(255, 122, 0, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 122, 0, 0.18), 0 14px 35px rgba(0, 0, 0, 0.45);
}

.profile-hero__content {
  padding: 1.25rem;
}

.profile-hero__name {
  margin: 0 0 0.75rem;
  font-family: var(--title-font);
  font-size: clamp(2rem, 7vw, 3.5rem);
  letter-spacing: 0.06em;
}

.profile-hero__disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.profile-hero__badge {
  padding: 0.3rem 0.8rem;
  border: 1px solid #333344;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.profile-hero__description {
  margin: 0;
  color: var(--text-soft);
}

.profile-hero__booking,
.profile-hero__social {
  padding: 1.25rem;
}

.profile-hero__title {
  margin: 0 0 1rem;
  font-family: var(--title-font);
  letter-spacing: 0.08em;
  font-size: 1.4rem;
}

.profile-hero__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.3rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  color: #0b0b0f;
  font-family: var(--title-font);
  letter-spacing: 0.08em;
  font-size: 1.2rem;
}

.profile-hero__button--ghost {
  border: 1px solid rgba(255, 153, 64, 0.38);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.profile-hero__button--ghost:hover {
  border-color: rgba(255, 153, 64, 0.7);
  box-shadow: 0 10px 24px rgba(255, 122, 0, 0.18);
}

.profile-hero__testimonial-entry {
  margin-top: 1rem;
}

body.profile-testimonial-modal-open {
  overflow: hidden;
}

body.profile-booking-modal-open {
  overflow: hidden;
}

.profile-hero__testimonial-card {
  display: grid;
  gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-hero__testimonial-kicker {
  margin: 0;
  color: rgba(255, 162, 82, 0.92);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-hero__testimonial-copy {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.profile-testimonial-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.1rem;
}

.profile-testimonial-modal[hidden] {
  display: none;
}

.profile-testimonial-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 9, 14, 0.78);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.profile-testimonial-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 36rem);
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 153, 64, 0.24);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(21, 18, 26, 0.98), rgba(10, 12, 18, 0.98)),
    radial-gradient(circle at top left, rgba(255, 122, 0, 0.16), rgba(255, 122, 0, 0) 42%);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45);
}

.profile-testimonial-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.profile-testimonial-modal__kicker {
  margin: 0 0 0.35rem;
  color: rgba(255, 162, 82, 0.92);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-testimonial-modal__title {
  margin: 0;
  color: #fff4e7;
  font-family: var(--title-font);
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profile-testimonial-modal__copy {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.profile-testimonial-modal__close {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 153, 64, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff3e2;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.profile-testimonial-modal__close:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 153, 64, 0.6);
  box-shadow: 0 10px 24px rgba(255, 122, 0, 0.18);
}

.profile-testimonial-modal__form {
  gap: 0.85rem;
}

.profile-booking-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.1rem;
}

.profile-booking-modal[hidden] {
  display: none;
}

.profile-booking-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 9, 14, 0.78);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.profile-booking-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 42rem);
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 153, 64, 0.24);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(21, 18, 26, 0.98), rgba(10, 12, 18, 0.98)),
    radial-gradient(circle at top left, rgba(255, 122, 0, 0.16), rgba(255, 122, 0, 0) 42%);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45);
}

.profile-booking-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.profile-booking-modal__kicker {
  margin: 0 0 0.35rem;
  color: rgba(255, 162, 82, 0.92);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-booking-modal__title {
  margin: 0;
  color: #fff4e7;
  font-family: var(--title-font);
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profile-booking-modal__copy {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.profile-booking-modal__close {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 153, 64, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff3e2;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.profile-booking-modal__close:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 153, 64, 0.6);
  box-shadow: 0 10px 24px rgba(255, 122, 0, 0.18);
}

.profile-booking-form {
  display: grid;
  gap: 0.85rem;
}

.profile-booking-form__grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-booking-form__grid > div {
  display: grid;
  gap: 0.35rem;
}

.profile-booking-form__wide {
  grid-column: 1 / -1;
}

.profile-booking-form label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff0da;
}

.profile-booking-form input,
.profile-booking-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(9, 11, 17, 0.9);
  color: #fffaf1;
  padding: 0.9rem 1rem;
  resize: vertical;
  font: inherit;
  line-height: 1.5;
}

.profile-booking-form textarea {
  min-height: 8rem;
}

.profile-booking-form input:focus,
.profile-booking-form textarea:focus {
  outline: none;
  border-color: rgba(255, 153, 64, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.16);
}

.profile-booking-form__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--text-soft);
  font-size: 0.8rem;
}

.profile-booking-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.profile-booking-modal__submit,
.profile-booking-modal__cancel {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.3rem 1.3rem;
  border-radius: 999px;
  font-family: var(--title-font);
  letter-spacing: 0.08em;
  font-size: 1rem;
  cursor: pointer;
}

.profile-booking-modal__submit {
  border: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  color: #0b0b0f;
}

.profile-booking-modal__cancel {
  border: 1px solid rgba(255, 153, 64, 0.38);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.profile-booking-modal__submit:hover {
  box-shadow: 0 10px 24px rgba(255, 122, 0, 0.18);
}

.profile-booking-modal__cancel:hover {
  border-color: rgba(255, 153, 64, 0.7);
  box-shadow: 0 10px 24px rgba(255, 122, 0, 0.18);
}

.profile-booking-form__feedback {
  margin: 0;
  min-height: 1.25rem;
}

.profile-booking-form__feedback.is-error {
  color: #ff8d8d;
}

.profile-booking-form__feedback.is-success {
  color: #95e5b3;
}

.profile-hero__testimonial-form {
  display: grid;
  gap: 0.7rem;
}

.profile-hero__testimonial-form label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff0da;
}

.profile-hero__testimonial-form textarea {
  width: 100%;
  min-height: 8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(9, 11, 17, 0.9);
  color: #fffaf1;
  padding: 0.9rem 1rem;
  resize: vertical;
  font: inherit;
  line-height: 1.5;
}

.profile-hero__testimonial-form textarea:focus {
  outline: none;
  border-color: rgba(255, 153, 64, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.16);
}

.profile-hero__testimonial-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--text-soft);
  font-size: 0.8rem;
}

.profile-hero__testimonial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.profile-hero__testimonial-feedback {
  margin: 0;
  min-height: 1.25rem;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.profile-hero__testimonial-feedback.is-error {
  color: #ff8d8d;
}

.profile-hero__testimonial-feedback.is-success {
  color: #95e5b3;
}

@media (max-width: 640px) {
  .profile-testimonial-modal {
    padding: 0.8rem;
  }

  .profile-booking-modal {
    padding: 0.8rem;
  }

  .profile-testimonial-modal__dialog {
    padding: 1rem;
    border-radius: 22px;
  }

  .profile-booking-modal__dialog {
    padding: 1rem;
    border-radius: 22px;
  }

  .profile-testimonial-modal__head {
    gap: 0.8rem;
  }

  .profile-booking-modal__head {
    gap: 0.8rem;
  }

  .profile-testimonial-modal__close {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.35rem;
  }

  .profile-booking-modal__close {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.35rem;
  }

  .profile-booking-form__grid {
    grid-template-columns: 1fr;
  }
}

.profile-hero__social-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.profile-hero__social-item a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-soft);
}

.profile-hero__social-item i {
  width: 1rem;
  text-align: center;
  color: var(--text);
}

@media (min-width: 900px) {
  .profile-hero {
    padding: 1.25rem 0;
  }

  .profile-hero__container {
    grid-template-columns: 3fr 1fr 1fr;
    gap: 1rem;
  }

  .profile-hero__left {
    display: grid;
    grid-template-columns: 240px 1fr;
    align-items: start;
  }

  .profile-hero__photo {
    height: 100%;
  }

  .profile-hero__content {
    padding: 2rem;
  }
}
