/* Broker — profile-card-first, listings + services */

.hero--profile {
  padding: var(--space-12) 0 var(--space-16);
  color: var(--warm-white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #1A1A2E 0%, #2A2D5A 100%);
}
.hero--profile .hero__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.35;
}
.hero--profile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 26, 46, 0.7), rgba(26, 26, 46, 0.92));
  z-index: -1;
  pointer-events: none;
}

.profile-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .profile-card {
    grid-template-columns: auto 1fr;
    text-align: left;
    gap: var(--space-8);
  }
}
.profile-card__avatar {
  width: 148px;
  height: 148px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--honey-gold), #E89714);
  position: relative;
  border-radius: var(--radius-full);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 5px rgba(255, 252, 251, 0.15), 0 18px 48px rgba(0, 0, 0, 0.35);
}
.profile-card__avatar .avatar__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-card__avatar .avatar__initials {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 48px;
  color: var(--hive-ink);
}
.profile-card__avatar .avatar__photo + .avatar__initials { display: none; }

@media (min-width: 768px) {
  .profile-card__avatar { width: 176px; height: 176px; }
}

.profile-card__body { display: flex; flex-direction: column; gap: var(--space-2); }
.profile-card__name {
  font-size: clamp(28px, 4.5vw, 40px);
  color: var(--warm-white);
  letter-spacing: -0.02em;
}
.profile-card__title {
  color: var(--honey-gold);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
}
.profile-card__license {
  color: rgba(255, 252, 251, 0.55);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  margin-top: -4px;
}
.profile-card__bio {
  color: rgba(255, 252, 251, 0.82);
  font-size: 15px;
  line-height: 1.6;
  max-width: 60ch;
  margin-top: var(--space-3);
}
.profile-card__bio strong { color: var(--warm-white); font-weight: 600; }

.profile-card__cta {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-5);
  justify-content: center;
}
@media (min-width: 768px) { .profile-card__cta { justify-content: flex-start; } }
.profile-card__cta .btn-outline {
  background: rgba(255, 252, 251, 0.06);
  color: var(--warm-white);
  border-color: rgba(255, 252, 251, 0.25);
}
.profile-card__cta .btn-outline:hover {
  background: rgba(255, 252, 251, 0.14);
  border-color: var(--warm-white);
}

.profile-card__stats {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  border-top: 1px solid rgba(255, 252, 251, 0.12);
  padding-top: var(--space-5);
}
.profile-card__stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}
@media (min-width: 768px) {
  .profile-card__stats li { align-items: flex-start; }
}
.profile-card__stats strong {
  color: var(--warm-white);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.profile-card__stats small {
  color: rgba(255, 252, 251, 0.55);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ---------- Content layout ---------- */
.content { padding: var(--space-10) 0 var(--space-12); }
.content__grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
.content__main { display: flex; flex-direction: column; gap: var(--space-10); }
.content__side { display: flex; flex-direction: column; gap: var(--space-4); }
@media (min-width: 960px) {
  .content { padding: var(--space-12) 0 var(--space-16); }
  .content__grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: var(--space-10);
  }
  .content__side { position: sticky; top: 100px; align-self: start; }
}

.section-head { margin-bottom: var(--space-5); }
.section-head .section-title { margin-top: 4px; font-size: clamp(22px, 3vw, 26px); }

/* ---------- Listings ---------- */
.listings {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
.listing {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: var(--space-4);
  align-items: center;
  text-align: left;
  width: 100%;
  padding: var(--space-4);
  background: var(--warm-white);
  border: 1px solid var(--soft-line);
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  color: var(--hive-ink);
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.listing:hover {
  border-color: var(--honey-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
@media (min-width: 768px) {
  .listing { grid-template-columns: 160px 1fr auto; padding: var(--space-5); gap: var(--space-5); }
}
.listing__thumb {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .listing__thumb { width: 160px; height: 120px; }
}
.listing__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.listing:hover .listing__thumb img { transform: scale(1.05); }
.listing__thumb img + .listing__fallback { display: none; }
.listing__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 10.5px;
  padding: 3px 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.listing__body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.listing__body h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
}
.listing__foot {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-top: 4px;
  flex-wrap: wrap;
}
.listing__price {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--honey-gold);
}
.listing__chev { color: var(--stone-gray); flex-shrink: 0; }

/* ---------- Services accordion ---------- */
.services {
  border: 1px solid var(--soft-line);
  border-radius: var(--radius-lg);
  background: var(--warm-white);
  overflow: hidden;
}
.service + .service { border-top: 1px solid var(--soft-line); }
.service__trigger {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-4);
  align-items: center;
  width: 100%;
  padding: var(--space-4) var(--space-5);
  text-align: left;
  color: var(--hive-ink);
  background: transparent;
  transition: background var(--dur-fast) var(--ease-out);
}
.service__trigger:hover { background: var(--light-stripe); }
.service__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--honey-tint);
  color: var(--hive-ink);
  flex-shrink: 0;
}
.service__label { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.service__label strong { font-family: var(--font-heading); font-size: 15px; font-weight: 700; }
.service__label small { color: var(--stone-gray); font-size: 13px; }
.service__chev {
  color: var(--stone-gray);
  transition: transform var(--dur-base) var(--ease-out);
}
.service__trigger[aria-expanded='true'] .service__chev { transform: rotate(180deg); color: var(--honey-gold); }
.service__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out);
}
.service__panel p {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--stone-gray);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- Sidebar cards ---------- */
.schedule-card { padding: var(--space-5); }
.schedule-card .info-card__body {
  padding-left: 0;
  color: rgba(255, 252, 251, 0.78);
  font-size: 14px;
}
.schedule-card .info-card__body strong { color: var(--warm-white); }
.schedule-card__btn { margin-top: var(--space-3); }

.stripe-card { background: var(--light-stripe); border-color: transparent; padding: var(--space-5); }
.stripe-card .info-card__body { padding-left: 50px; font-size: 14px; }
.stripe-card .info-card__body strong { font-family: var(--font-heading); font-size: 15px; color: var(--hive-ink); }
