/* ============================================================
   INNER PAGE STYLES — shared across all non-home pages
   ============================================================ */

/* ---- Two-column layout ---- */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col-layout.reverse { direction: rtl; }
.two-col-layout.reverse > * { direction: ltr; }

.two-col-text .section-eyebrow { text-align: left; }
.two-col-text h2 { margin-bottom: 16px; }
.two-col-text .lead-text { font-size: 1.08rem; color: var(--text-muted); margin-bottom: 14px; }
.two-col-text p { margin-bottom: 12px; }

.about-svg, .services-svg { width: 100%; border-radius: var(--radius-lg); }

.highlight-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  padding: 18px;
  background: var(--gray-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--teal);
}
.hb-item { font-size: 0.85rem; color: var(--text); }
.hb-item strong { color: var(--navy); }

/* ---- Background variants ---- */
.bg-light { background: var(--gray-light); }
.bg-navy  { background: var(--navy); color: white; }
.bg-teal  { background: var(--teal); color: white; }

/* ---- Vision & Mission ---- */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.vm-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}
.vm-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.vm-card--vision { border-top: 4px solid var(--teal); }
.vm-card--mission { border-top: 4px solid var(--navy); }
.vm-icon { margin-bottom: 20px; }
.vm-card h3 { margin-bottom: 12px; }
.vm-card p { font-size: 0.95rem; color: var(--text-muted); }

/* ---- Leadership ---- */
.leadership-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
.leader-card {
  display: flex;
  gap: 24px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  align-items: flex-start;
}
.leader-card:hover { box-shadow: var(--shadow); border-color: var(--teal); }
.leader-avatar { flex-shrink: 0; }
.avatar-placeholder {
  width: 80px;
  height: 80px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--teal);
  overflow: hidden;
}
.leader-info h3 { margin-bottom: 4px; }
.leader-title {
  display: block;
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.leader-info p { font-size: 0.88rem; }

/* ---- Engagement Philosophy ---- */
.philosophy-steps {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.phil-step {
  flex: 1;
  min-width: 180px;
  background: white;
  border-radius: var(--radius);
  padding: 28px 22px;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}
.phil-step:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.step-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--teal);
  opacity: 0.25;
  font-family: var(--font-head);
  line-height: 1;
  margin-bottom: 12px;
}
.phil-step h4 { margin-bottom: 8px; color: var(--black); }
.phil-step p { font-size: 0.88rem; }
.step-arrow {
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--teal);
  padding-top: 44px;
  opacity: 0.5;
}

/* ---- Industries ---- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.industry-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
}
.industry-card:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-3px); }
.ind-icon { font-size: 2.4rem; margin-bottom: 14px; }
.industry-card h4 { margin-bottom: 8px; font-size: 0.95rem; }
.industry-card p { font-size: 0.85rem; }

/* ---- Clients grid ---- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.client-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
}
.client-card:hover { box-shadow: var(--shadow); border-color: var(--teal); }
.client-logo-placeholder {
  height: 70px;
  background: var(--gray-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 12px;
  border: 1px dashed var(--border);
}
.client-desc { font-size: 0.8rem; color: var(--text-muted); }

/* ---- Services page ---- */
.service-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.service-section:last-of-type { border-bottom: none; }
.service-section-header { margin-bottom: 36px; }
.service-section-header h2 { margin-bottom: 10px; }
.service-section-header p { font-size: 0.95rem; max-width: 640px; }

.service-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.service-item {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: all var(--transition);
}
.service-item:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.service-item h4 { margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.service-item p { font-size: 0.88rem; }
.si-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  display: inline-block;
}

/* ---- Insights / Blog list ---- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.post-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--teal-light), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.post-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.post-meta { display: flex; gap: 12px; margin-bottom: 10px; align-items: center; }
.post-cat {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal); background: var(--teal-light);
  padding: 3px 10px; border-radius: 20px;
}
.post-date { font-size: 0.75rem; color: var(--gray); }
.post-card h3 { font-size: 1rem; margin-bottom: 10px; }
.post-card p { font-size: 0.88rem; flex: 1; margin-bottom: 16px; }
.post-link { font-size: 0.85rem; font-weight: 600; color: var(--teal); }
.post-link:hover { color: var(--navy); }

/* ---- Contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
}
.contact-form { background: white; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 0.92rem;
  color: var(--text);
  background: white;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(67,157,145,0.12); }
.form-group textarea { resize: vertical; min-height: 130px; }

.contact-info .contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.contact-icon {
  width: 44px; height: 44px;
  background: var(--teal-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.contact-detail h4 { margin-bottom: 4px; font-size: 0.9rem; }
.contact-detail p { font-size: 0.88rem; }

/* ---- Careers ---- */
.job-list { display: flex; flex-direction: column; gap: 16px; }
.job-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  transition: all var(--transition);
}
.job-card:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.job-title { font-weight: 600; font-size: 1rem; color: var(--black); margin-bottom: 6px; }
.job-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.job-tag {
  font-size: 0.72rem; font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--gray-light);
  color: var(--gray-dark);
}
.job-tag.full-time { background: var(--teal-light); color: var(--teal-dark); }
.job-tag.urgent { background: var(--red-light); color: var(--red); }

/* ---- Events ---- */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.event-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.event-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.event-date-badge {
  background: var(--navy);
  color: white;
  padding: 16px;
  text-align: center;
}
.event-day { font-size: 2rem; font-weight: 700; line-height: 1; }
.event-month { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }
.event-info { padding: 20px; }
.event-info h4 { margin-bottom: 8px; }
.event-info p { font-size: 0.88rem; margin-bottom: 12px; }
.event-tag {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--teal); background: var(--teal-light); padding: 3px 10px; border-radius: 20px;
}

/* ---- Gallery ---- */
.gallery-grid { columns: 3; gap: 16px; }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--gray-light);
}
.gallery-placeholder {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gray);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* ---- Milestones timeline ---- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--navy));
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-dot {
  position: absolute;
  left: -36px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--teal);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--teal);
}
.timeline-year {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.timeline-item h4 { margin-bottom: 4px; }
.timeline-item p { font-size: 0.88rem; }

/* ---- Comment section ---- */
.comment-section { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border); }
.comment-section h3 { margin-bottom: 24px; }
.comment-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.comment-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--gray-light);
  border-radius: var(--radius);
}
.comment-avatar {
  width: 40px; height: 40px;
  background: var(--teal-light);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--teal-dark);
}
.comment-meta { font-size: 0.8rem; color: var(--gray); margin-bottom: 6px; }
.comment-text { font-size: 0.9rem; }

/* ---- Breadcrumb back button ---- */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 600;
  cursor: pointer;
  transition: gap var(--transition);
  border: none;
  background: none;
  padding: 0;
}
.back-btn:hover { gap: 10px; color: var(--navy); }

/* ============================================================
   RESPONSIVE INNER PAGES
   ============================================================ */
@media (max-width: 1024px) {
  .industry-grid  { grid-template-columns: repeat(2, 1fr); }
  .clients-grid   { grid-template-columns: repeat(2, 1fr); }
  .posts-grid     { grid-template-columns: repeat(2, 1fr); }
  .events-grid    { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid   { columns: 2; }
}

@media (max-width: 800px) {
  .two-col-layout { grid-template-columns: 1fr; gap: 32px; }
  .vm-grid        { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; }
  .philosophy-steps { flex-direction: column; }
  .step-arrow     { display: none; }
}

@media (max-width: 640px) {
  .industry-grid  { grid-template-columns: 1fr 1fr; }
  .clients-grid   { grid-template-columns: 1fr 1fr; }
  .posts-grid     { grid-template-columns: 1fr; }
  .events-grid    { grid-template-columns: 1fr; }
  .gallery-grid   { columns: 1; }
  .job-card       { flex-direction: column; align-items: flex-start; }
  .service-items-grid { grid-template-columns: 1fr; }
  .leader-card    { flex-direction: column; align-items: center; text-align: center; }
}

/* ============================================================
   SERVICE SECTION WITH IMAGE LAYOUT
   ============================================================ */
.service-with-image {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: start;
}
.service-with-image--reverse {
  grid-template-columns: 1fr 380px;
}
.service-with-image--reverse > img {
  order: 2;
}
.service-with-image--reverse > .service-items-grid {
  order: 1;
}
.service-section-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  max-height: 340px;
  position: sticky;
  top: 96px; /* sticks as you scroll the service list */
}

/* ── About engagement philosophy layout ── */
.philosophy-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 48px;
  align-items: start;
}
.phil-img img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  max-height: 420px;
}

/* ── Leader avatar enlarged ── */
.avatar-placeholder.leader-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--teal);
}

/* ── Two-col visual — full height image ── */
.two-col-visual img.section-img {
  max-height: 420px;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .service-with-image,
  .service-with-image--reverse {
    grid-template-columns: 1fr;
  }
  .service-with-image--reverse > img { order: 0; }
  .service-section-img {
    position: static;
    max-height: 260px;
    width: 100%;
  }
  .philosophy-layout { grid-template-columns: 1fr; }
  .phil-img { display: none; }
}

@media (max-width: 640px) {
  .service-with-image > img,
  .service-with-image--reverse > img {
    display: none; /* hide on mobile to keep it clean */
  }
}


/* ============================================================
   LEADERSHIP THUMBNAILS + PROFILE MODAL
   ============================================================ */

/* ── Thumbnail grid ── */
.leadership-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  max-width: 900px;
}

.leader-thumb {
  cursor: pointer;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: white;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.leader-thumb:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}

.leader-thumb-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--teal-light);
}
.leader-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}
.leader-thumb:hover .leader-thumb-img { transform: scale(1.06); }

.leader-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(31,90,82,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.leader-thumb:hover .leader-thumb-overlay { opacity: 1; }

.thumb-view-btn {
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid white;
  padding: 8px 18px;
  border-radius: 4px;
}

.leader-thumb-info {
  padding: 14px 16px 16px;
  text-align: center;
}
.leader-thumb-info h4 {
  font-size: 0.95rem;
  color: var(--black);
  margin-bottom: 3px;
}
.leader-thumb-info span {
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 8px;
}
.leader-thumb-social { display: flex; justify-content: center; gap: 6px; }
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  text-decoration: none;
  transition: background var(--transition);
}
.social-pill:hover { background: var(--teal); color: white; }

/* Add profile tile */
.leader-thumb--add {
  border-style: dashed;
  border-color: var(--border);
  opacity: 0.65;
}
.leader-thumb--add:hover { opacity: 1; border-color: var(--teal); }
.leader-add-wrap {
  aspect-ratio: 1;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.leader-add-icon {
  font-size: 3rem;
  color: var(--teal);
  font-weight: 300;
  line-height: 1;
}

/* ── MODAL ── */
.profile-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.profile-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.profile-modal-box {
  background: white;
  border-radius: var(--radius-xl);
  max-width: 900px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
  animation: modalSlideUp 0.3s ease;
}
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.profile-modal-close {
  position: sticky;
  top: 0;
  float: right;
  margin: 16px 16px 0 0;
  z-index: 10;
  width: 36px; height: 36px;
  background: var(--gray-light);
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background var(--transition);
}
.profile-modal-close:hover { background: var(--red-light); color: var(--red); }

/* ── Profile content inside modal ── */
.profile-content {
  display: none;
  gap: 0;
  padding-top: 8px;
}
.profile-content[style*="flex"] { display: flex !important; }

/* Left panel */
.pm-left {
  width: 240px;
  flex-shrink: 0;
  background: var(--teal-deeper);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-radius: 0 0 0 var(--radius-xl);
}
.pm-photo-wrap {
  width: 160px; height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.25);
  flex-shrink: 0;
}
.pm-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.pm-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.pm-contact-item {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  word-break: break-all;
  transition: color var(--transition);
}
.pm-contact-item:hover { color: white; }

.pm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}
.pm-tags span {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  text-align: center;
}

/* Right panel */
.pm-right {
  flex: 1;
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
}
.pm-name-block h2 {
  font-size: 1.5rem;
  color: var(--teal-deeper);
  margin-bottom: 4px;
}
.pm-title {
  font-size: 0.82rem;
  color: var(--gray);
  margin: 0;
}
.pm-lead {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
  border-left: 3px solid var(--teal);
  padding-left: 14px;
  margin: 0;
}
.pm-highlights { display: flex; flex-direction: column; gap: 8px; }
.pm-highlight-item {
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-muted);
  padding-left: 14px;
  border-left: 2px solid var(--teal-mid, #c2e8e3);
}

.pm-career h4, .pm-domains h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-deeper);
  margin-bottom: 10px;
}
.pm-timeline { display: flex; flex-direction: column; gap: 6px; }
.pm-tl-item { display: flex; gap: 10px; font-size: 0.83rem; }
.pm-tl-year {
  min-width: 100px;
  font-weight: 700;
  color: var(--teal-dark);
  font-size: 0.76rem;
  flex-shrink: 0;
}
.pm-tl-role { color: var(--text-muted); }

.pm-domain-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pm-domain-tags span {
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

/* Responsive modal */
@media (max-width: 700px) {
  .profile-content { flex-direction: column; }
  .pm-left { width: 100%; border-radius: 0; flex-direction: row; flex-wrap: wrap; padding: 20px; gap: 16px; align-items: flex-start; }
  .pm-photo-wrap { width: 100px; height: 100px; }
  .pm-right { padding: 20px; }
  .profile-modal-overlay { padding: 12px; }
  .pm-tl-item { flex-direction: column; gap: 2px; }
}

/* ============================================================
   CASE STUDIES — FULL PAGE
   ============================================================ */
.cs-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.cs-tab {
  padding: 8px 20px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.cs-tab:hover { border-color: var(--teal); color: var(--teal); }
.cs-tab.active { background: var(--teal-deeper); color: white; border-color: var(--teal-deeper); }

.cs-full-grid { display: flex; flex-direction: column; gap: 32px; }

.cs-full-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  background: white;
  transition: box-shadow var(--transition);
}
.cs-full-card:hover { box-shadow: var(--shadow-lg); }

/* Card header */
.cs-full-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 32px 24px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.cs-full-header-left { flex: 1; min-width: 280px; }
.cs-full-header-left h2 { font-size: 1.25rem; margin-bottom: 6px; }
.cs-subtitle { font-size: 0.82rem; color: var(--gray); margin: 0; }

.cs-tag-govt  { display: inline-block; background: #e6f0e6; color: #2a6e2a; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 10px; }
.cs-tag-bank  { display: inline-block; background: var(--navy-light); color: var(--navy); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 10px; }
.cs-tag-staffing { display: inline-block; background: var(--teal-light); color: var(--teal-dark); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 10px; }

/* KPI row */
.cs-full-header-right {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
  flex-shrink: 0;
}
.cs-kpi { text-align: center; }
.cs-kpi-num { display: block; font-size: 1.4rem; font-weight: 800; color: var(--teal-deeper); font-family: var(--font-head); line-height: 1; }
.cs-kpi-label { font-size: 0.68rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.06em; }

/* Body two-column */
.cs-full-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.cs-col { padding: 28px 32px; }
.cs-col:first-child { border-right: 1px solid var(--border); }

.cs-section-block { margin-bottom: 24px; }
.cs-section-block h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-deeper);
  margin-bottom: 10px;
}
.cs-section-block p { font-size: 0.88rem; line-height: 1.7; }

.cs-deliverables { display: flex; flex-direction: column; gap: 12px; }
.cs-deliverable { display: flex; gap: 12px; align-items: flex-start; font-size: 0.85rem; line-height: 1.6; }
.cs-del-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

.cs-tech-stack { margin-bottom: 20px; }
.cs-tech-tags, .cs-tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.cs-tech-tags span, .cs-tag-group span {
  background: var(--gray-light);
  color: var(--gray-dark);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

.cs-challenge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.cs-challenge-list span {
  background: var(--red-light);
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

/* Staff table */
.cs-staff-table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 8px; }
.cs-staff-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; }
.cs-staff-header { background: var(--teal-deeper); color: white; }
.cs-staff-header span { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 10px 16px; display: block; }
.cs-staff-row:not(.cs-staff-header) { border-top: 1px solid var(--border); }
.cs-staff-row:not(.cs-staff-header) span { font-size: 0.84rem; padding: 12px 16px; display: block; }
.cs-staff-client { font-weight: 600; color: var(--text); border-right: 1px solid var(--border); }
.cs-staff-resources { color: var(--text-muted); }

/* Download button */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

/* ── SPECIALIZED solution page extras ── */
.spec-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0;
  background: var(--teal-deeper);
  border-radius: var(--radius);
  padding: 20px;
}
.spec-stat { text-align: center; }
.spec-stat-num { display: block; font-size: 1.5rem; font-weight: 800; color: white; font-family: var(--font-head); }
.spec-stat-label { font-size: 0.7rem; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.06em; }

.spec-features { margin: 20px 0; }
.spec-features h4, .spec-solution-design h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-deeper);
  margin-bottom: 12px;
}
.spec-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.spec-feature-item {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 14px 16px;
  border-left: 3px solid var(--teal);
}
.spec-feature-item strong { display: block; font-size: 0.85rem; color: var(--black); margin-bottom: 4px; }
.spec-feature-item p { font-size: 0.8rem; line-height: 1.6; margin: 0; }

.spec-solution-design { margin-top: 16px; }
.spec-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.spec-tags span {
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .cs-full-body { grid-template-columns: 1fr; }
  .cs-col:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .spec-features-grid { grid-template-columns: 1fr; }
  .spec-stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cs-full-header { flex-direction: column; }
  .cs-full-header-right { flex-wrap: wrap; }
  .cs-staff-row { grid-template-columns: 1fr; }
  .cs-staff-client { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ══════════════════════════════════════════════
   INNER PAGE GRADIENT UPGRADES
══════════════════════════════════════════════ */

/* Spec stats row — gradient bar */
.spec-stats-row {
  background: linear-gradient(135deg, var(--teal-deeper) 0%, var(--navy-dark,#1e3a57) 100%) !important;
}

/* CS full header — subtle gradient */
.cs-full-header {
  background: linear-gradient(135deg, #f6fdfc 0%, #edf4fb 100%);
}

/* Leader photo col — gradient */
.pm-left {
  background: linear-gradient(160deg, var(--teal-deeper) 0%, var(--navy-dark,#1e3a57) 100%) !important;
}
.leader-photo-col {
  background: linear-gradient(160deg, var(--teal-deeper) 0%, var(--navy-dark,#1e3a57) 100%) !important;
}

/* Service section eyebrow — navy */
.service-section-header .section-eyebrow {
  color: var(--navy) !important;
}

/* CS tag for consulting */
.cs-tag-consult {
  background: linear-gradient(90deg, #ede4fb, #e4eefb);
  color: #5c1f9a;
}

/* Career CTA gradient block */
.cta-grad-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-deep,#2f7a6f) 100%) !important;
}
