/* ============================================================
   EXPERTISE PAGE — Premium Team Layout
   ============================================================ */

.exp-page-wrap { padding: 48px 0 80px; }

/* Section dividers */
.exp-section { margin-bottom: 72px; }
.exp-section-label {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 44px;
}
.exp-section-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(32,39,67,.18), transparent); }
.exp-section-title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 1.1rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--red, #D0202B);
  white-space: nowrap; padding: 0 8px;
}

/* ── Management Grid (2 col, big cards) ── */
.exp-grid--mgmt {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

/* ── Solution Grid (4 col responsive) ── */
.exp-grid--sol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── Card Base ── */
.exp-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(32,39,67,.08);
  box-shadow: 0 4px 24px rgba(32,39,67,.07);
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.exp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(32,39,67,.14);
}

/* Photo container */
.exp-photo {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #202743 0%, #2D3748 100%);
}
.exp-card--big .exp-photo { aspect-ratio: 4/5; }
.exp-card:not(.exp-card--big) .exp-photo { aspect-ratio: 3/4; }

.exp-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .4s ease;
}
.exp-card:hover .exp-photo img { transform: scale(1.04); }

/* Avatar fallback */
.exp-avatar {
  width: 100%; height: 100%;
  min-height: 260px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display, serif);
  font-size: 4rem; font-weight: 700;
  color: rgba(255,255,255,.7);
  background: linear-gradient(135deg, #202743 0%, #D0202B 200%);
}

/* Role badge (top of photo) */
.exp-role-badge {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(208,32,43,.88);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  padding: 5px 11px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.18);
}
[dir=rtl] .exp-role-badge { left: auto; right: 12px; }

/* Info section */
.exp-info {
  padding: 20px 22px 24px;
  flex: 1; display: flex; flex-direction: column;
}
.exp-name {
  font-family: var(--font-display, serif);
  font-size: 1.1rem; font-weight: 700;
  color: var(--navy, #202743);
  margin: 0 0 10px; line-height: 1.3;
}
.exp-card--big .exp-name { font-size: 1.35rem; }

.exp-quote {
  margin: 0;
  font-size: 0.875rem; line-height: 1.65;
  color: #5A6478;
  border-left: 3px solid var(--red, #D0202B);
  padding-left: 14px;
  font-style: italic;
  /* Clamp to 4 lines for solution team */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.exp-card--big .exp-quote { -webkit-line-clamp: 6; }
.exp-card:not(.exp-card--big) .exp-quote { -webkit-line-clamp: 4; }
[dir=rtl] .exp-quote { border-left: none; border-right: 3px solid var(--red, #D0202B); padding-left: 0; padding-right: 14px; }

/* ── Stats Bar ── */
.exp-stats-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 0;
  background: linear-gradient(135deg, #202743 0%, #2D3A70 100%);
  border-radius: 24px;
  padding: 40px 48px;
  margin-top: 64px;
  box-shadow: 0 20px 60px rgba(32,39,67,.25);
}
.exp-stat {
  flex: 1; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.exp-stat-num {
  font-family: var(--font-display, serif);
  font-size: 3rem; font-weight: 700;
  color: #fff; line-height: 1;
}
.exp-stat-label {
  font-size: .85rem; font-weight: 500;
  color: rgba(255,255,255,.65);
  letter-spacing: .5px; text-transform: uppercase;
}
.exp-stat-div {
  width: 1px; height: 56px;
  background: rgba(255,255,255,.15);
  flex: 0 0 1px;
  margin: 0 24px;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .exp-grid--sol { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .exp-grid--mgmt { grid-template-columns: 1fr 1fr; }
  .exp-grid--sol { grid-template-columns: repeat(2, 1fr); }
  .exp-stats-bar { padding: 32px 24px; }
  .exp-stat-num { font-size: 2.2rem; }
  .exp-stat-div { margin: 0 16px; }
}
@media (max-width: 600px) {
  .exp-grid--mgmt, .exp-grid--sol { grid-template-columns: 1fr 1fr; }
  .exp-stats-bar { flex-wrap: wrap; gap: 32px; border-radius: 16px; padding: 32px 20px; }
  .exp-stat-div { display: none; }
  .exp-stat { flex: 0 0 40%; }
}
@media (max-width: 400px) {
  .exp-grid--mgmt, .exp-grid--sol { grid-template-columns: 1fr; }
}
