/* ==========================================================================
   OUR TEAM — Page-Specific Styles
   Upload to: /assets/css/our-team.css
========================================================================== */

:root {
  --hero-bg: #F5F5F5;
}

/* ── LAYOUT ────────────────────────────────────────────────────────────────
   .wrap is the page's inner container (equivalent to .container in main.css)
─────────────────────────────────────────────────────────────────────────── */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section.section {
  padding: 5rem 0;
}

/* ── TRUST BAR ─────────────────────────────────────────────────────────────
   main.css defines .trust for other pages; redefine here for our-team
─────────────────────────────────────────────────────────────────────────── */
.trust {
  background: var(--brand-black);
  padding: 1.25rem 0;
}
.trust .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.titem {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 500;
}
.titem-ico {
  width: 20px;
  height: 20px;
  color: var(--brand-red);
  flex-shrink: 0;
}
.titem-ico svg {
  width: 20px;
  height: 20px;
}
.titem strong {
  color: var(--brand-white);
  font-weight: 600;
}
.titem-lbl {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.titem-val {
  display: block;
  font-size: 0.9375rem;
  color: var(--brand-white);
  font-weight: 700;
  margin-top: 0.1rem;
}
.tdiv {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.15);
}
@media (max-width: 768px) {
  .trust .wrap { gap: 1rem; }
  .tdiv { display: none; }
}

/* ── HERO (page-specific layout) ── */
.hero {
  background: var(--hero-bg);
  padding: 13rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: .5;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: rgba(0,0,0,.06);
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }

/* Breadcrumb — dark text for light grey hero background */
.breadcrumb,
.breadcrumb a,
.breadcrumb span {
  color: var(--text-secondary) !important;
}
.breadcrumb a:hover { color: var(--brand-red) !important; }

/* Hero stats row */
.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,.08);
}
.hstat .num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-red);
  line-height: 1;
}
.hstat .lbl { font-size: .875rem; color: var(--text-secondary); font-weight: 500; margin-top: .25rem; }

/* ── LEADERSHIP ── */
.leadership { background: var(--brand-white); }

/* Section header — centered with spacing before the card below */
.section-hd {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-hd .section-sub {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.leader-card {
  background: white;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.leader-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.12); transform: translateY(-6px); }

.leader-primary {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: stretch;
  margin-bottom: 2rem;
}
.leader-photo {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--brand-grey);
}
.leader-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.leader-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(160deg, #e8e8e8 0%, #d0d0d0 100%);
  color: var(--text-muted); gap: 1rem;
}
.avatar-large {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c8c8c8 0%, #b0b0b0 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem; font-weight: 700; color: white;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.photo-note {
  font-size: .75rem; font-weight: 500;
  text-align: center; max-width: 160px;
  line-height: 1.4; opacity: .7;
}

.leader-body { padding: 2.5rem; }
.leader-role { display: inline-flex; align-items: center; gap: .375rem; margin-bottom: 1rem; }
.leader-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem; font-weight: 600;
  line-height: 1.15; letter-spacing: -.02em;
  color: var(--brand-black); margin-bottom: .375rem;
}
.leader-title { font-size: .9375rem; color: var(--text-secondary); font-weight: 500; margin-bottom: 1.5rem; }
.leader-certs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.leader-bio { font-size: 1rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 1.25rem; }
.leader-spc { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.leader-quote {
  border-left: 3px solid var(--brand-red);
  padding: 1rem 1.25rem;
  background: var(--brand-red-light);
  border-radius: 0 4px 4px 0;
  margin-bottom: 1.75rem;
}
.leader-quote p {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--text-primary);
  line-height: 1.65;
}

/* Partner cards */
.partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.partner-card {
  background: white;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.partner-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.12); transform: translateY(-6px); }
.partner-photo { height: 320px; background: var(--brand-grey); position: relative; overflow: hidden; }
.partner-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.partner-photo-ph {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .75rem;
  background: linear-gradient(160deg, #e8e8e8 0%, #d0d0d0 100%);
  color: var(--text-muted);
}
.avatar-med {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c8c8c8 0%, #b0b0b0 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem; font-weight: 700; color: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.partner-body { padding: 1.75rem 2rem 2rem; }
.partner-role { margin-bottom: .75rem; }
.partner-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem; font-weight: 600;
  line-height: 1.2; letter-spacing: -.02em;
  color: var(--brand-black); margin-bottom: .25rem;
}
.partner-title { font-size: .9rem; color: var(--text-secondary); font-weight: 500; margin-bottom: 1.25rem; }
.partner-bio { font-size: .9375rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.25rem; }
.partner-spc { display: flex; flex-wrap: wrap; gap: .375rem; }

/* ── CLINICAL TEAM ── */
.clinical { background: var(--brand-grey); }

.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.staff-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex; flex-direction: column;
}
.staff-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.12); transform: translateY(-5px); }

.staff-photo { height: 266px; position: relative; overflow: hidden; }
.staff-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.staff-photo-ph {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .625rem;
  background: linear-gradient(160deg, #eaeaea 0%, #d5d5d5 100%);
  color: var(--text-muted);
}
.avatar-sm {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c8c8c8 0%, #b0b0b0 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem; font-weight: 700; color: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.staff-loc {
  position: absolute; bottom: .75rem; left: .75rem;
  background: var(--brand-black); color: white;
  padding: .25rem .75rem;
  border-radius: 100px;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
}
.staff-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.staff-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem; font-weight: 600;
  line-height: 1.2; color: var(--brand-black); margin-bottom: .2rem;
}
.staff-role {
  font-size: .875rem; color: var(--brand-blue);
  font-weight: 600; text-transform: uppercase;
  letter-spacing: .05em; margin-bottom: 1rem;
}
.staff-bio { font-size: .9rem; color: var(--text-secondary); line-height: 1.65; flex: 1; margin-bottom: 1rem; }
.staff-exp {
  display: flex; align-items: center; gap: .375rem;
  font-size: .8125rem; font-weight: 600; color: var(--text-muted);
}
.staff-exp svg { width: 14px; height: 14px; color: var(--brand-red); flex-shrink: 0; }

/* ── PHILOSOPHY / VALUES ── */
.philosophy { background: var(--brand-white); }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 1rem; }
.value-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: white;
}
.value-card:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.10);
  transform: translateY(-4px);
  border-color: rgba(204,0,0,.15);
}
.value-ico {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--brand-red-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.value-ico svg { width: 28px; height: 28px; color: var(--brand-red); }
.value-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem; font-weight: 600;
  color: var(--brand-black); margin-bottom: .75rem;
}
.value-card p { font-size: .9375rem; color: var(--text-secondary); line-height: 1.65; }

/* ── TEAM QUOTES (dark) ── */
.quotes { background: var(--brand-black); position: relative; overflow: hidden; }
.quotes::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(204,0,0,.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(16,118,158,.06) 0%, transparent 60%);
}
.quotes .wrap { position: relative; z-index: 1; }
.quotes .section-hd .label { color: rgba(255,255,255,.5); }
.quotes .section-hd h2 { color: white; }

.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.quote-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.quote-card:hover { background: rgba(255,255,255,.07); transform: translateY(-4px); }
.quote-mark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 5rem; line-height: .5;
  color: var(--brand-red); font-weight: 700;
  margin-bottom: 1rem; display: block;
}
.quote-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic; font-size: 1.0625rem;
  color: rgba(255,255,255,.9);
  line-height: 1.65; margin-bottom: 1.5rem;
}
.quote-author { display: flex; align-items: center; gap: .75rem; }
.quote-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand-red);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; color: white;
  font-family: 'Playfair Display', Georgia, serif; flex-shrink: 0;
}
.quote-who { font-size: .875rem; font-weight: 600; color: rgba(255,255,255,.9); }
.quote-dept { font-size: .75rem; color: rgba(255,255,255,.5); }

/* ── LOCATIONS ── */
.locations { background: var(--brand-grey); }

.loc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.loc-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.loc-card:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.10);
  transform: translateY(-4px);
  border-color: var(--brand-red);
}
.loc-ico {
  width: 48px; height: 48px;
  border-radius: 4px;
  background: var(--brand-red-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .875rem;
}
.loc-ico svg { width: 24px; height: 24px; color: var(--brand-red); }
.loc-name { font-family: 'Playfair Display', Georgia, serif; font-size: 1rem; font-weight: 600; color: var(--brand-black); margin-bottom: .25rem; }
.loc-state { font-size: .8125rem; color: var(--text-secondary); font-weight: 500; }

/* ── FAQ ── */
.faq-section { background: var(--brand-white); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 960px; margin: 0 auto; }
.faq-item {
  background: var(--brand-white);
  border: 1px solid var(--brand-grey-dark);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 1.25rem 1.5rem;
  text-align: left;
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 1rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem; font-weight: 600; color: var(--brand-black);
  line-height: 1.4; transition: all 0.3s ease;
}
.faq-q:hover { background: var(--brand-red-light); color: var(--brand-red); }
.faq-q[aria-expanded="true"] { background: var(--brand-red-light); color: var(--brand-red); }
.faq-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand-grey);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.3s ease;
}
.faq-q[aria-expanded="true"] .faq-icon { background: var(--brand-red); }
.faq-icon svg { width: 12px; height: 12px; transition: transform .3s ease; }
.faq-q[aria-expanded="true"] .faq-icon svg { color: white; transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: .9375rem; color: var(--text-secondary); line-height: 1.7;
}
.faq-a.open { display: block; }

/* ── CTA BAND ── */
.cta-band { background: var(--brand-black); padding: 5rem 0; position: relative; overflow: hidden; }
.cta-band .btn-ol-lt {
  background: transparent;
  border: 2px solid white;
  color: white;
}
.cta-band .btn-ol-lt:hover {
  background: white;
  color: var(--brand-black);
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 100%, rgba(204,0,0,.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 0%, rgba(16,118,158,.06) 0%, transparent 50%);
}
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 640px; margin: 0 auto; }
.cta-band .label { color: rgba(255,255,255,.5); }
.cta-band h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.75rem; font-weight: 600;
  line-height: 1.2; letter-spacing: -.02em;
  color: white; margin-bottom: 1rem;
}
.cta-band p { font-size: 1.125rem; color: rgba(255,255,255,.7); line-height: 1.75; margin-bottom: 2.5rem; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cta-phone {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem; margin-top: 1.5rem;
  color: rgba(255,255,255,.6); font-size: .9rem;
}
.cta-phone a { color: rgba(255,255,255,.85); font-weight: 600; }
.cta-phone a:hover { color: white; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .leader-primary { grid-template-columns: 1fr; }
  .leader-photo { min-height: 320px; }
  .partners-grid { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes-grid { grid-template-columns: 1fr 1fr; }
  .loc-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero { padding: 13rem 0 3.5rem; }
  .hero-stats { gap: 1.75rem; }
  .hstat .num { font-size: 2rem; }
  .staff-grid { grid-template-columns: 1fr; }
  .quotes-grid { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .cta-band h2 { font-size: 2rem; }
  .leader-body { padding: 1.5rem; }
  .partner-body { padding: 1.25rem 1.5rem 1.5rem; }
  .partners-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cta-actions { flex-direction: column; }
}
