/* ─── PAGE HERO ─── */
.page-hero {
  background: linear-gradient(135deg, #1e4a22 0%, #2d6635 40%, #398141 100%);
  color: #fff;
  padding: 64px 24px 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 420px;
  height: 420px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}
.page-hero-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.page-hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #c8e6c8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.page-hero h1 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 16px;
}
.page-hero h1 em {
  font-style: normal;
  color: #9ed9a0;
}
.page-hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto;
}

/* ─── TEAM SECTION ─── */
.team-section {
  background: var(--cream);
  padding: 80px 24px;
}
.team-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ─── TEAM GRID ─── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

/* ─── TEAM CARD ─── */
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ─── CARD PHOTO ─── */
.card-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--green-light);
  position: relative;
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.35s;
}
.team-card:hover .card-photo img { transform: scale(1.04); }
.card-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  color: var(--green);
}

/* ─── CARD BODY ─── */
.card-body {
  padding: 24px 24px 20px;
}
.card-name {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.card-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
}
.card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ─── BUTTONS ─── */
.btn-meet {
  flex: 1;
  background: var(--green-light);
  color: var(--green);
  border: none;
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  text-align: center;
}
.btn-meet:hover,
.btn-meet.active {
  background: var(--green);
  color: #fff;
}
.btn-linkedin {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  color: #0a66c2;
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s;
  flex-shrink: 0;
}
.btn-linkedin:hover {
  border-color: #0a66c2;
  background: #e8f1fb;
}

/* ─── BIO OVERLAY (full-screen page) ─── */
.card-bio {
  display: none;
}
.card-bio.open {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--cream);
  overflow-y: auto;
  animation: bioFadeIn 0.3s ease;
}
@keyframes bioFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to   { opacity: 1; transform: scale(1); }
}
.bio-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  animation: backdropFadeIn 0.25s ease forwards;
}
@keyframes backdropFadeIn {
  to { opacity: 1; }
}
.bio-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
}
.bio-close:hover {
  background: var(--green);
  color: #fff;
}
body.bio-lock {
  overflow: hidden;
}
.card-bio-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 32px 64px;
}
.card-bio-inner p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.card-bio-inner p:last-child {
  margin-bottom: 0;
}

/* ─── CTA BANNER ─── */
.cta-banner {
  background: linear-gradient(135deg, #1e4a22 0%, #398141 100%);
  color: #fff;
  text-align: center;
  padding: 72px 24px;
}
.cta-banner h2 {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
}
.cta-banner p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-white {
  padding: 14px 28px;
  background: #fff;
  color: var(--green-dark);
  border-radius: 50px;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}
.btn-outline-white {
  padding: 14px 28px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 50px;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s;
}
.btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .team-section { padding: 48px 20px; }
  .team-grid { grid-template-columns: 1fr; }
  .card-bio-inner { padding: 64px 20px 48px; }
}
