/* ===== About Physical Therapy — Premium Editorial Profile ===== */

:root {
  --apt-gold: #AC8D62;
  --apt-gold-light: #C9A97C;
  --apt-dark: #2B2B2B;
  --apt-charcoal: #3A3530;
  --apt-cream: #F7F2EC;
  --apt-text: #4A4540;
  --apt-text-light: #8A857F;
  --apt-white: #FFFFFF;
}

/* ===== 1. HERO ===== */
.doctor-profile {
  background: #FFFFFF;
  padding: 120px 0 80px;
  overflow: hidden;
  position: relative;
}
.doctor-profile::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(172,141,98,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.doctor-profile .dc-container {
  max-width: 1240px;
  padding: 0 24px;
}
.doctor-profile__grid {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 56px;
  align-items: center;
}
.doctor-profile__image {
  position: relative;
  z-index: 2;
}
.doctor-profile__image::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(172,141,98,0.4), transparent);
}
.doctor-profile__image img {
  width: 100%;
  max-width: 460px;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.15));
  border-radius: 8px;
}
.doctor-profile__content {
  color: var(--apt-dark);
}
.doctor-profile__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--apt-gold);
  margin-bottom: 20px;
  padding: 0;
  background: none;
  border-radius: 0;
}
.doctor-profile__name {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--apt-dark);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.doctor-profile__position {
  font-size: 17px;
  font-weight: 500;
  color: var(--apt-gold);
  margin: 0 0 28px;
  line-height: 1.5;
}
.doctor-profile__desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--apt-text);
  margin-bottom: 28px;
}
.doctor-profile__desc p {
  margin: 0 0 16px;
}
.doctor-profile__desc p:last-child {
  margin-bottom: 0;
}
.apt-hero__quote {
  font-size: 17px;
  line-height: 1.85;
  color: var(--apt-text);
  font-style: italic;
  border-left: 2px solid var(--apt-gold);
  padding-left: 20px;
  margin: 0 0 32px;
}
.apt-hero__stats {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}
.apt-hero__stat {
  flex: 1;
  text-align: center;
  padding: 18px 12px;
  background: var(--apt-cream);
  border: 1px solid rgba(172,141,98,0.15);
  border-radius: 12px;
  transition: border-color 0.3s;
}
.apt-hero__stat:hover {
  border-color: rgba(172,141,98,0.4);
}
.apt-hero__stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--apt-gold);
  line-height: 1;
}
.apt-hero__stat-label {
  font-size: 11px;
  color: var(--apt-text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}
.doctor-profile__actions {
  margin-top: 8px;
}
.doctor-profile__actions .btn-dc-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--apt-gold);
  color: #fff;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.doctor-profile__actions .btn-dc-gold:hover {
  background: var(--apt-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(172,141,98,0.3);
}

/* ===== 2. MAIN LAYOUT — Sidebar + Content ===== */
.apt-body {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}
.apt-body__grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

/* ===== 3. STICKY SIDEBAR ===== */
.apt-sidebar {
  position: sticky;
  top: 100px;
}
.apt-sidebar__nav {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 1px solid rgba(172,141,98,0.2);
}
.apt-sidebar__nav li {
  margin: 0;
}
.apt-sidebar__nav a {
  display: block;
  padding: 10px 0 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--apt-text-light);
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: all 0.25s;
  line-height: 1.4;
}
.apt-sidebar__nav a:hover {
  color: var(--apt-dark);
  border-left-color: rgba(172,141,98,0.4);
}
.apt-sidebar__nav a.is-active {
  color: var(--apt-gold);
  border-left-color: var(--apt-gold);
  font-weight: 600;
}

/* ===== MOBILE ANCHOR CHIPS ===== */
.apt-anchor-chips {
  display: none;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: var(--apt-cream);
  border-bottom: 1px solid rgba(172,141,98,0.15);
  position: sticky;
  top: 60px;
  z-index: 50;
}
.apt-anchor-chips::-webkit-scrollbar {
  display: none;
}
.apt-anchor-chips a {
  flex-shrink: 0;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--apt-text);
  background: #fff;
  border: 1px solid rgba(172,141,98,0.2);
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s;
}
.apt-anchor-chips a:hover,
.apt-anchor-chips a.is-active {
  background: var(--apt-gold);
  color: #fff;
  border-color: var(--apt-gold);
}

/* ===== 4. CONTENT SECTIONS ===== */
.apt-section {
  margin-bottom: 64px;
  scroll-margin-top: 100px;
}
.apt-section:last-child {
  margin-bottom: 0;
}
.apt-section__eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--apt-gold);
  margin-bottom: 10px;
}
.apt-section__title {
  font-size: 28px;
  font-weight: 800;
  color: var(--apt-dark);
  margin: 0 0 16px;
  line-height: 1.25;
}
.apt-section__divider {
  width: 48px;
  height: 2px;
  background: var(--apt-gold);
  margin-bottom: 28px;
  border-radius: 1px;
}

/* ===== 5. EDUCATION ===== */
.apt-education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.apt-education-item {
  display: flex;
  gap: 16px;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(172,141,98,0.12);
  border-radius: 14px;
  transition: border-color 0.3s;
}
.apt-education-item:hover {
  border-color: rgba(172,141,98,0.3);
}
.apt-education-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(172,141,98,0.08);
}
.apt-education-item__icon .material-symbols-outlined {
  font-size: 22px;
  color: var(--apt-gold);
}
.apt-education-item__content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--apt-dark);
  margin: 0 0 6px;
  line-height: 1.3;
}
.apt-education-item__content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--apt-text-light);
  margin: 0;
}

/* ===== 6. EXPERTISE ===== */
.apt-expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.apt-expertise-card {
  padding: 32px;
  background: #fff;
  border: 1px solid rgba(172,141,98,0.12);
  border-radius: 14px;
  transition: border-color 0.3s, transform 0.3s;
}
.apt-expertise-card:hover {
  border-color: rgba(172,141,98,0.3);
  transform: translateY(-2px);
}
.apt-expertise-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(172,141,98,0.08);
  margin-bottom: 18px;
}
.apt-expertise-card__icon .material-symbols-outlined {
  font-size: 24px;
  color: var(--apt-gold);
}
.apt-expertise-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--apt-dark);
  margin: 0 0 10px;
}
.apt-expertise-card__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--apt-text);
  margin: 0;
}

/* ===== 7. EDITORIAL BIO SECTIONS ===== */
.apt-bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.apt-bio-section {
  max-width: 100%;
}
.apt-bio-section__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--apt-dark);
  margin: 0 0 12px;
  line-height: 1.3;
}
.apt-bio-section__divider {
  width: 40px;
  height: 2px;
  background: var(--apt-gold);
  margin-bottom: 20px;
  border-radius: 1px;
}
.apt-bio-section__text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--apt-text);
}
.apt-bio-section__text p {
  margin: 0 0 16px;
}
.apt-bio-section__text p:last-child {
  margin-bottom: 0;
}

/* ===== 8. TRAINING TIMELINE ===== */
.apt-training-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.apt-training-list::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 15px;
  width: 1px;
  background: rgba(172,141,98,0.25);
}
.apt-training-list li {
  position: relative;
  padding: 0 0 28px 48px;
}
.apt-training-list li:last-child {
  padding-bottom: 0;
}
.apt-training-list li::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 10px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--apt-gold);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(172,141,98,0.2);
}
.apt-training-list__icon {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 18px;
  color: var(--apt-gold);
  display: none;
}
.apt-training-list__title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--apt-dark);
  margin-bottom: 4px;
  line-height: 1.4;
}
.apt-training-list__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--apt-text-light);
  margin: 0;
}

/* ===== 9. CERTIFICATES ===== */
.apt-cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.apt-cert-card {
  text-align: center;
  cursor: pointer;
}
.apt-cert-card__frame {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(172,141,98,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}
.apt-cert-card__frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.apt-cert-card__img {
  width: 100%;
  border-radius: 8px;
  display: block;
  object-fit: contain;
  max-height: 400px;
}
.apt-cert-card__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--apt-dark);
  margin: 14px 0 4px;
}
.apt-cert-card__sub {
  font-size: 13px;
  color: var(--apt-text-light);
  margin: 0;
}

/* ===== 10. CTA ===== */
.apt-cta-wrapper {
  padding: 0 0 72px;
}
.apt-cta {
  background: #FFFFFF;
  border: 1px solid rgba(172,141,98,0.2);
  border-radius: 20px;
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.apt-cta::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(172,141,98,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.apt-cta__title {
  font-size: 26px;
  font-weight: 800;
  color: var(--apt-dark);
  margin: 0 0 12px;
  position: relative;
}
.apt-cta__text {
  font-size: 15px;
  color: var(--apt-text);
  margin: 0 0 28px;
  position: relative;
}
.apt-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}
.apt-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}
.apt-cta__btn--primary {
  background: var(--apt-gold);
  color: #fff;
}
.apt-cta__btn--primary:hover {
  background: var(--apt-gold-light);
  transform: translateY(-2px);
}
.apt-cta__btn--outline {
  background: transparent;
  color: var(--apt-dark);
  border: 1px solid rgba(172,141,98,0.3);
}
.apt-cta__btn--outline:hover {
  border-color: var(--apt-gold);
  color: var(--apt-gold);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .apt-body__grid {
    grid-template-columns: 1fr;
  }
  .apt-sidebar {
    display: none;
  }
  .apt-anchor-chips {
    display: flex;
  }
  .doctor-profile__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .doctor-profile__image img {
    max-width: 360px;
    height: 420px;
  }
  .doctor-profile__eyebrow {
    display: block;
  }
  .apt-hero__quote {
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  .apt-hero__stats {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .doctor-profile__actions {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .doctor-profile {
    padding: 80px 0 56px;
  }
  .doctor-profile__name {
    font-size: 30px;
  }
  .doctor-profile__position {
    font-size: 15px;
  }
  .doctor-profile__desc {
    font-size: 15px;
  }
  .apt-hero__quote {
    font-size: 15px;
  }
  .apt-hero__stat-num {
    font-size: 24px;
  }
  .apt-body {
    padding: 40px 16px 56px;
  }
  .apt-section {
    margin-bottom: 48px;
  }
  .apt-section__title {
    font-size: 24px;
  }
  .apt-education-grid,
  .apt-expertise-grid,
  .apt-bio-grid,
  .apt-cert-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .apt-education-item,
  .apt-expertise-card {
    padding: 22px;
  }
  .apt-bio-grid {
    gap: 32px;
  }
  .apt-cta {
    padding: 36px 24px;
    border-radius: 14px;
  }
  .apt-cta__title {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .apt-hero__stats {
    flex-direction: row;
  }
  .doctor-profile__name {
    font-size: 26px;
  }
}
