/* @section: DANISMAN — profile detail page */
.consultant-page {
  min-height: 60vh;
  padding-bottom: clamp(42px, 6vw, 72px);
  background:
    linear-gradient(180deg, #eef2f5 0, #f7f8fa 360px, #f7f8fa 100%);
}

.consultant-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.consultant-empty {
  width: min(620px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
  text-align: center;
}

.consultant-empty h1 {
  margin: 0 0 10px;
  font-size: 28px;
}

.consultant-empty p {
  margin: 0 0 22px;
  color: var(--muted);
}

.consultant-hero {
  padding: clamp(28px, 5vw, 56px) 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(32, 42, 51, .98), rgba(44, 54, 64, .94)),
    linear-gradient(90deg, rgba(201, 0, 0, .22), transparent);
}

.consultant-hero-grid {
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 4vw, 42px);
}

.consultant-photo {
  width: min(190px, 100%);
  aspect-ratio: 1;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 5px solid rgba(255,255,255,.92);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0,0,0,.32);
}

.consultant-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consultant-photo span {
  color: var(--ink);
  font-size: 58px;
  font-weight: 800;
}

.consultant-kicker {
  margin: 0 0 8px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.consultant-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

.consultant-title {
  margin: 8px 0 0;
  color: rgba(255,255,255,.86);
  font-size: 17px;
  font-weight: 700;
}

.consultant-lead {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.65;
}

.consultant-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.consultant-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 17px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.consultant-btn:hover {
  transform: translateY(-2px);
}

.consultant-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
}

.consultant-btn-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 26px rgba(201,0,0,.28);
}

.consultant-btn-whatsapp {
  color: #fff;
  background: #159947;
  box-shadow: 0 12px 26px rgba(21,153,71,.24);
}

.consultant-btn-ghost {
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
}

.consultant-hero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.consultant-market-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.1);
  font-size: 13px;
  font-weight: 800;
  transition: background .15s ease, transform .15s ease;
}

.consultant-market-link:hover {
  background: rgba(255,255,255,.16);
  transform: translateY(-2px);
}

.consultant-market-link svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: #ffd429;
  fill: currentColor;
}

.consultant-hero-socials {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.consultant-hero-socials a {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.1);
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.consultant-hero-socials a:hover {
  color: #ffd429;
  background: rgba(255,255,255,.16);
  transform: translateY(-2px);
}

.consultant-hero-socials svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.consultant-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  align-items: start;
  gap: 24px;
  margin-top: 28px;
}

.consultant-main {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.consultant-panel {
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20,28,36,.06);
}

.consultant-sticky {
  position: sticky;
  top: 18px;
}

.consultant-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.consultant-section-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

.consultant-section-head h2 span {
  color: var(--muted);
  font-weight: 700;
}

.consultant-section-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 38px;
  border-radius: 8px;
  color: var(--red);
  background: rgba(201,0,0,.08);
}

.consultant-section-icon svg,
.consultant-info-icon svg,
.consultant-link-list svg,
.consultant-socials svg,
.consultant-listing-media span svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.consultant-about {
  white-space: pre-wrap;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
}

.consultant-muted {
  margin: 0;
  color: var(--muted);
}

.consultant-info-list {
  display: grid;
  gap: 10px;
}

.consultant-info-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #e5e9ed;
  border-radius: 8px;
  color: inherit;
  background: #fafbfc;
}

a.consultant-info-item:hover {
  border-color: rgba(201,0,0,.35);
  background: #fff;
}

.consultant-info-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #e7ebef;
}

.consultant-info-item small,
.consultant-link-list small {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.consultant-info-item strong,
.consultant-link-list strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.consultant-side-block {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.consultant-side-block h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.consultant-link-list {
  display: grid;
  gap: 10px;
}

.consultant-link-list a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid #e5e9ed;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}

.consultant-link-list a:hover {
  border-color: rgba(201,0,0,.35);
}

.consultant-link-list svg {
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 8px;
  color: var(--red);
  background: rgba(201,0,0,.08);
}

.consultant-link-list a.consultant-link-market svg {
  color: #222;
  background: #ffd429;
}

.consultant-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.consultant-socials a {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #e2e7ec;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  transition: color .15s ease, border-color .15s ease, transform .15s ease;
}

.consultant-socials a:hover {
  color: var(--red);
  border-color: rgba(201,0,0,.38);
  transform: translateY(-2px);
}

.consultant-listings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

.consultant-listing-card {
  overflow: hidden;
  display: block;
  border: 1px solid #e1e6eb;
  border-radius: 8px;
  color: inherit;
  background: #fff;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.consultant-listing-card:hover {
  border-color: rgba(201,0,0,.28);
  box-shadow: 0 14px 28px rgba(20,28,36,.12);
  transform: translateY(-3px);
}

.consultant-listing-media {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: #9aa3ad;
  background: var(--soft);
}

.consultant-listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consultant-listing-media span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
}

.consultant-listing-body {
  display: grid;
  gap: 4px;
  padding: 13px 14px 14px;
}

.consultant-listing-body strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}

.consultant-listing-body span {
  color: var(--muted);
  font-size: 13px;
}

.consultant-listing-body small {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 860px) {
  .consultant-content {
    grid-template-columns: 1fr;
  }

  .consultant-side {
    order: -1;
  }

  .consultant-sticky {
    position: static;
  }
}

@media (max-width: 640px) {
  .consultant-wrap {
    width: min(100% - 28px, 1120px);
  }

  .consultant-hero-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .consultant-photo {
    width: 148px;
    border-radius: 16px;
  }

  .consultant-hero-actions {
    width: 100%;
    justify-content: center;
  }

  .consultant-hero-links {
    width: 100%;
    justify-content: center;
  }

  .consultant-market-link {
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }

  .consultant-hero-socials {
    justify-content: center;
  }

  .consultant-btn {
    width: 100%;
    max-width: 360px;
  }

  .consultant-panel {
    padding: 18px;
  }

  .consultant-section-head {
    align-items: flex-start;
  }

  .consultant-listings {
    grid-template-columns: 1fr;
  }
}
