/* ================================================================
   ZNA Law Company – Đội ngũ Luật sư Page Styles
   Primary: #07568e  |  Accent: #fdeb01  |  Dark text: #454545
================================================================ */

/* ── HERO ────────────────────────────────────────── */
.team-hero {
  position: relative;
  height: 450px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.team-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  pointer-events: none;
}
.team-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1100px;
  padding: 0 40px;
}
.team-hero-title {
  font-family: 'Roboto', sans-serif;
  font-size: 45px;
  font-weight: 700;
  color: #d9d9d9;
  line-height: 1.3;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.team-hero-desc {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  line-height: 1.7;
}

/* ── HEADER CTA BUTTON ───────────────────────────── */
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 55px;
  padding: 0 42px;
  background: #fdeb01;
  color: #07568e;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 900;
  border: 2px solid #07568e;
  transition: background .2s, color .2s;
}
.header-cta:hover {
  background: #07568e;
  color: #fff;
}

/* Current page nav indicator */
.nav a[aria-current="page"] {
  color: #07568e;
}

/* ── TEAM MEMBERS ────────────────────────────────── */
.team-members {
  padding: 80px 0 60px;
  background: #fff;
}
.team-members-grid {
  display: flex;
  gap: 58px;
  justify-content: center;
}
.lawyer-card {
  flex: 1;
  max-width: 392px;
}
.lawyer-photo {
  width: 100%;
  height: 450px;
  overflow: hidden;
  background: #000;
}
.lawyer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.lawyer-name {
  font-family: 'Roboto', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #000;
  line-height: 1.3;
  margin: 30px 0 12px;
}
.lawyer-title {
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  font-weight: 400;
  color: #000;
  line-height: 1.3;
  margin-bottom: 20px;
}
.lawyer-bio {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #000;
  line-height: 1.6;
  margin-bottom: 12px;
}
.lawyer-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin-top: 12px;
  transition: color .2s;
}
.lawyer-more i {
  font-size: 14px;
}
.lawyer-more:hover {
  color: #07568e;
}

/* ── CTA SECTION ─────────────────────────────────── */
.team-cta-section {
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.team-cta-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .4;
  pointer-events: none;
}
.team-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
.team-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1300px;
  padding: 0 40px;
}
.team-cta-heading {
  font-family: 'Roboto', sans-serif;
  font-size: 60px;
  font-weight: 400;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 60px;
}
.team-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 75px;
  padding: 0 60px;
  background: #fdeb01;
  color: #000;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 900;
  border: 2px solid #000;
  text-transform: none;
  transition: background .2s;
}
.team-cta-btn:hover {
  background: #fff;
}

/* ── SERVICES INTRO ──────────────────────────────── */
.team-services-intro {
  padding: 60px 0 40px;
  background: #fff;
}
.services-intro-text {
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  font-weight: 400;
  color: #454545;
  line-height: 1.62;
  text-align: center;
  max-width: 1600px;
  margin: 0 auto 40px;
}
.services-stats-row {
  display: flex;
  justify-content: center;
  gap: 80px;
  max-width: 1600px;
  margin: 0 auto;
}
.svc-stat {
  text-align: center;
}
.svc-stat-num {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 60px;
  font-weight: 800;
  color: #454545;
  line-height: 1;
}
.svc-stat-lbl {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #000;
  line-height: 1.3;
  margin-top: 8px;
}

/* ── SERVICES GRID ───────────────────────────────── */
.team-services-grid-section {
  padding: 40px 0 80px;
  background: #fff;
}
.team-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 46px;
}
.ts-card {
  background: #d9d9d9;
  padding: 48px 40px 36px;
  position: relative;
  transition: background .2s, transform .2s;
}
.ts-card:hover {
  background: #e8e8e8;
  transform: translateY(-4px);
}
.ts-card:first-child {
  background: #fff;
  border: 1px solid #e0e0e0;
}
.ts-icon {
  font-size: 46px;
  color: #07568e;
  margin-bottom: 20px;
}
.ts-bar {
  width: 142px;
  height: 4px;
  background: #07568e;
  border-radius: 3px;
  margin-bottom: 20px;
}
.ts-card h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 39px;
  font-weight: 600;
  color: #454545;
  line-height: 1.3;
  letter-spacing: -1px;
  margin-bottom: 24px;
  min-height: 102px;
}
.ts-link {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #454545;
  transition: color .2s;
}
.ts-link:hover {
  color: #07568e;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1200px) {
  .team-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .team-cta-heading {
    font-size: 44px;
  }
  .team-members-grid {
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .team-hero {
    height: 360px;
  }
  .team-hero-title {
    font-size: 32px;
  }
  .team-hero-desc {
    font-size: 16px;
  }

  .team-members {
    padding: 50px 0 40px;
  }
  .team-members-grid {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .lawyer-card {
    max-width: 480px;
  }
  .lawyer-photo {
    height: 380px;
  }
  .lawyer-name {
    font-size: 32px;
    margin-top: 20px;
  }
  .lawyer-title {
    font-size: 24px;
  }
  .lawyer-bio {
    font-size: 16px;
  }

  .team-cta-section {
    height: 450px;
  }
  .team-cta-heading {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .services-intro-text {
    font-size: 22px;
  }
  .services-stats-row {
    flex-wrap: wrap;
    gap: 30px;
  }
  .svc-stat {
    flex: 0 0 40%;
  }
  .svc-stat-num {
    font-size: 44px;
  }
  .svc-stat-lbl {
    font-size: 18px;
  }

  .team-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .ts-card h3 {
    font-size: 30px;
    min-height: auto;
  }
}

@media (max-width: 700px) {
  .team-hero {
    height: 300px;
  }
  .team-hero-title {
    font-size: 26px;
  }

  .lawyer-photo {
    height: 320px;
  }

  .team-cta-section {
    height: 380px;
  }
  .team-cta-heading {
    font-size: 26px;
  }
  .team-cta-btn {
    height: 60px;
    padding: 0 40px;
    font-size: 16px;
  }

  .services-intro-text {
    font-size: 18px;
    padding: 0 20px;
  }
  .services-stats-row {
    gap: 20px;
  }
  .svc-stat-num {
    font-size: 36px;
  }
  .svc-stat-lbl {
    font-size: 15px;
  }

  .team-services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ts-card {
    padding: 36px 28px 28px;
  }
  .ts-card h3 {
    font-size: 26px;
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .team-hero {
    height: 250px;
  }
  .team-hero-title {
    font-size: 20px;
  }
  .team-hero-desc {
    font-size: 14px;
  }

  .lawyer-name {
    font-size: 26px;
  }
  .lawyer-title {
    font-size: 20px;
  }

  .team-cta-heading {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .services-stats-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .svc-stat {
    flex: auto;
  }

  .ts-card h3 {
    font-size: 22px;
  }
}
