/* ============================================================
   Profile — mobile luxury experience ONLY
   Desktop (≥821px) is untouched: this file is a no-op there.
   ============================================================ */

.profile-m { display: none; }
.profile-hero__img--m-only { display: none; }

@media (max-width: 820px) {
  html { scroll-behavior: smooth; }

  /* —— Hide desktop identity / crumbs clutter —— */
  .profile-identity--desk { display: none !important; }
  .profile-crumbs { display: none; }
  .profile-m { display: block; }
  .profile-hero__img--m-only { display: block; }

  /* —— Full-bleed cinematic hero —— */
  .profile-page { overflow-x: hidden; }
  .profile-hero {
    min-height: min(92dvh, 920px);
    min-height: min(92vh, 920px);
    margin: 0 0 0;
    padding: 0;
    align-items: flex-end;
  }
  .profile-hero--photo .profile-hero__img {
    object-position: center 18%;
  }
  .profile-hero__veil {
    background:
      linear-gradient(180deg,
        rgba(9, 9, 11, 0) 0%,
        rgba(9, 9, 11, 0.08) 42%,
        rgba(9, 9, 11, 0.55) 68%,
        rgba(9, 9, 11, 0.92) 100%);
  }
  .profile-hero__content {
    padding: 0 20px 28px;
    width: 100%;
    max-width: none;
  }
  .profile-hero__content.wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* —— Mobile sheet: hierarchy —— */
  .profile-m {
    animation: profileMFade 0.7s ease both;
  }
  @keyframes profileMFade {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }

  .profile-m__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin: 0 0 18px;
  }
  .profile-m__badges .badge {
    letter-spacing: 0.14em;
    font-size: 10px;
    padding: 7px 12px;
    background: transparent;
    border-color: rgba(201, 169, 98, 0.45);
    color: rgba(244, 239, 230, 0.88);
  }
  .profile-m__badges .badge--gold {
    border-color: rgba(201, 169, 98, 0.7);
    color: var(--brand);
  }

  .profile-m__name {
    margin: 0;
    font-size: clamp(2.15rem, 9vw, 2.85rem);
    line-height: 1.05;
    letter-spacing: 0.02em;
    color: #f4efe6;
  }

  .profile-m__verified {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 0;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6ecf8e;
    font-weight: 500;
  }
  .profile-m__verified svg {
    width: 16px;
    height: 16px;
    flex: none;
  }

  .profile-m__city {
    margin: 10px 0 0;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(201, 169, 98, 0.95);
  }
  .profile-m__city span { color: rgba(244, 239, 230, 0.55); letter-spacing: 0.12em; }

  .profile-m__tagline {
    margin: 16px 0 0;
    font-family: var(--display);
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.45;
    color: rgba(244, 239, 230, 0.82);
    max-width: 28ch;
  }

  /* —— Primary CTA —— */
  .profile-m__cta {
    margin-top: 26px;
    min-height: 52px;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  }
  .profile-m__cta:active {
    transform: scale(0.985);
    opacity: 0.92;
  }

  .profile-m__gallery {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 12px 0;
    border: 0;
    background: transparent;
    color: rgba(244, 239, 230, 0.72);
    font: 500 12px/1 var(--ui);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: color 0.25s ease, letter-spacing 0.25s ease;
  }
  .profile-m__gallery:active {
    color: var(--brand);
  }

  .profile-m__trust {
    list-style: none;
    margin: 18px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid rgba(244, 239, 230, 0.12);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
  }
  .profile-m__trust li {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(244, 239, 230, 0.55);
  }
  .profile-m__trust li::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-right: 8px;
    border-radius: 50%;
    background: rgba(201, 169, 98, 0.7);
    vertical-align: middle;
  }

  /* —— Body: breathe —— */
  .profile-body {
    padding-top: 8px;
    padding-bottom: 96px;
  }
  .profile-body.cols {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .profile-main {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* Story before specs */
  .profile-sec--lang { order: 1; margin: 8px 0 4px; }
  .profile-sec--about { order: 2; }
  .profile-sec--services { order: 3; }
  .profile-sec--availability { order: 4; }
  .profile-sec--details { order: 5; }
  .profile-sec--gallery { order: 6; }
  .profile-sec--message { order: 7; }
  .profile-sec--seo { order: 9; }
  .profile-aside { order: 8; margin-top: 28px; }

  .profile-sec.card,
  .profile-aside .card {
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(244, 239, 230, 0.1);
    padding: 36px 4px 8px;
    margin: 0;
    animation: profileSecIn 0.65s ease both;
  }
  .profile-sec.card + .profile-sec.card,
  .card + .card { margin-top: 0; }

  .profile-sec--about { animation-delay: 0.05s; }
  .profile-sec--services { animation-delay: 0.1s; }
  .profile-sec--details { animation-delay: 0.12s; }
  .profile-sec--gallery { animation-delay: 0.16s; }
  .profile-sec--message { animation-delay: 0.2s; }

  @keyframes profileSecIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
  }

  @media (prefers-reduced-motion: reduce) {
    .profile-m,
    .profile-sec.card,
    .profile-aside .card { animation: none; }
    html { scroll-behavior: auto; }
  }

  .profile-sec .card-h,
  .profile-aside .card-h {
    font-family: var(--ui);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand);
    margin: 0 0 18px;
  }

  .profile-sec .prose {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(244, 239, 230, 0.86);
  }

  /* —— Elegant details (not spec pills) —— */
  .profile-sec--details.stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 0;
    padding: 36px 4px 8px;
    border-top: 1px solid rgba(244, 239, 230, 0.1);
    background: transparent;
  }
  .profile-sec--details .stat-pill {
    border: 0;
    background: transparent;
    padding: 16px 8px 16px 0;
    min-width: 0;
    border-bottom: 1px solid rgba(244, 239, 230, 0.08);
  }
  .profile-sec--details .stat-pill span {
    font-size: 10px;
    letter-spacing: 0.16em;
    color: rgba(154, 147, 136, 0.95);
    margin-bottom: 6px;
  }
  .profile-sec--details .stat-pill b {
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 500;
    color: #f4efe6;
  }

  /* —— Gallery —— */
  .profile-sec--gallery .gallery {
    gap: 6px;
  }
  .profile-sec--gallery .gallery__btn {
    transition: opacity 0.3s ease, transform 0.35s ease;
  }
  .profile-sec--gallery .gallery__btn:active {
    opacity: 0.88;
  }
  .profile-sec--gallery .gallery__btn img {
    transition: transform 0.5s ease;
  }

  /* —— Aside / rates —— */
  .profile-aside .side {
    position: static;
  }
  .profile-aside .kv {
    padding: 14px 0;
    font-size: 14px;
  }

  .seo-mini {
    padding: 28px 4px 0;
    opacity: 0.7;
    font-size: 12px;
  }

  /* Mobile services list */
  .profile-svc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
  }
  .profile-svc-list__item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 15px;
  }
  .profile-svc-list__ico {
    flex: none;
    width: 6px;
    height: 6px;
    margin-top: 0.45em;
    border-radius: 50%;
    background: var(--brand);
  }

  .profile-page .btn {
    transition: transform 0.22s ease, opacity 0.22s ease;
  }
  .profile-page .btn:active {
    transform: scale(0.985);
  }

  /* Lightbox: quieter chrome on mobile */
  .lightbox__cap,
  #lb-cap {
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 11px;
  }
}
