/* ===================================================
   echipa.css – Let's Move Echipa Noastră Page
   =================================================== */

/* Page Wrapper — no background here; uses body gradient from style.css */
.echipa-page-wrap {
  min-height: 100vh;
  position: relative;
  font-family: 'Poppins', sans-serif;
}

/* ── Container ── */
.ep-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════ */
.ep-hero {
  padding: 140px 0 48px;
}
.ep-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ep-hero-left {
  max-width: 777px;
}

/* Badge */
.ep-badge {
  display: inline-block;
  background: #f9a61a;
  color: #fdfefe;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 23px;
  border-radius: 44px;
  box-shadow: 0 4px 20px rgba(249,166,26,0.45);
  margin-bottom: 32px;
}

/* Title */
.ep-hero-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  background: linear-gradient(135deg, #fdfefe 0%, #f9a61a 98%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 16px 0;
}

/* Subtitle */
.ep-hero-sub {
  font-size: 16px;
  font-weight: 500;
  color: #a0a1a1;
  line-height: 1.6;
  margin: 0;
}

/* Arrow icon circle */
.ep-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f9a61a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(249,166,26,0.40);
}

/* ══════════════════════════════════════════
   TEAM GRID
══════════════════════════════════════════ */
.ep-grid-section {
  padding-bottom: 80px;
}
.ep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.ep-card {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 5px 10px rgba(253,254,254,0.30);
}
.ep-card > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* ── Frosted-glass overlay ── */
.ep-card__blur-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 33.333%;
  backdrop-filter: blur(14px) brightness(0.75);
  -webkit-backdrop-filter: blur(14px) brightness(0.75);
  background: rgba(20, 20, 20, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px 16px;
  gap: 6px;
}
.ep-card__name {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.ep-card__role {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.35;
}

/* ── Icon badge (top-right) ── */
.ep-card__icon-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.ep-card__icon-badge img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ══════════════════════════════════════════
   TRAINER CARD
══════════════════════════════════════════ */
.trainer-card {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.trainer-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.trainer-card__blur-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 33.333%;
  backdrop-filter: blur(14px) brightness(0.75);
  -webkit-backdrop-filter: blur(14px) brightness(0.75);
  background: rgba(20, 20, 20, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px 16px;
  gap: 6px;
}
.trainer-card__name {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.trainer-card__role {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.35;
}
.trainer-card__icon-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f9a61a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.trainer-card__icon-badge svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
  flex-shrink: 0;
}
.trainer-card__icon-badge img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* ── Responsive ── */

@media (max-width: 960px) {
  .ep-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .ep-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ep-hero-title { font-size: 24px; }
  .ep-hero-icon  { display: none; }
  .ep-hero { padding: 140px 0 32px; }
}
