/* =====================================================
   XEE CONSULTING
   AGENTS PAGE
===================================================== */

.xee-agents-page {
  --xee-primary: #af2027;
  --xee-primary-dark: #87171c;
  --xee-dark: #151515;
  --xee-text: #5d6268;
  --xee-light: #f6f5f2;
  --xee-border: #e8e7e3;

  background: #ffffff;
  overflow: hidden;
}

.xee-container {
  width: min(1320px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
   SECTION HEADER
===================================================== */

.xee-team-section {
  padding: 110px 0 100px;
  background:
    radial-gradient(
      circle at top right,
      rgba(175, 32, 39, 0.06),
      transparent 30%
    ),
    #ffffff;
}

.xee-section-heading {
  max-width: 700px;
  margin-bottom: 55px;
}

.xee-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--xee-primary);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.xee-eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--xee-primary);
}

.xee-section-heading h1,
.xee-team-intro-heading h2 {
  margin: 0;
  color: var(--xee-dark);
  letter-spacing: -1.5px;
  font-weight: 700;
}

.xee-section-heading h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
}

.xee-section-heading > p {
  max-width: 620px;
  margin: 23px 0 0;
  color: var(--xee-text);
  font-size: 17px;
  line-height: 1.8;
}

/* =====================================================
   SWIPER
===================================================== */

.xee-agents-slider-wrapper {
  position: relative;
}

.xee-agents-swiper {
  overflow: visible;
}

.xee-agents-swiper .swiper-slide {
  height: auto;
}

/* =====================================================
   AGENT CARD
===================================================== */

.xee-agent-card {
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--xee-border);
  border-radius: 8px;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.xee-agent-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: 0 25px 60px rgba(21, 21, 21, 0.1);
}

/* Image */

.xee-agent-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.8;
  background: #eeeeee;
}

.xee-agent-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.xee-agent-card:hover .xee-agent-image img {
  transform: scale(1.045);
}

.xee-agent-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

/* LinkedIn */

.xee-linkedin {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 5;

  display: flex;
  width: 46px;
  height: 46px;

  align-items: center;
  justify-content: center;

  background: #ffffff;
  border-radius: 50%;
  color: var(--xee-primary);

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.xee-linkedin svg {
  width: 20px;
  height: 20px;
}

.xee-linkedin:hover {
  background: var(--xee-primary);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Card Content */

.xee-agent-content {
  padding: 28px 28px 30px;
}

.xee-agent-position {
  display: block;
  margin-bottom: 8px;
  color: var(--xee-primary);
  font-size: 12px;
  letter-spacing: 1.2px;
  line-height: 1.5;
  font-weight: 700;
  text-transform: uppercase;
}

.xee-agent-content h3 {
  margin: 0 0 13px;
  color: var(--xee-dark);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
}

.xee-agent-content p {
  margin: 0 0 22px;
  color: var(--xee-text);
  font-size: 15px;
  line-height: 1.75;
}

.xee-agent-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: var(--xee-dark);
  text-decoration: none;

  font-size: 14px;
  line-height: 1;
  font-weight: 700;

  transition: color 0.25s ease;
}

.xee-agent-profile-link span {
  transition: transform 0.25s ease;
}

.xee-agent-profile-link:hover {
  color: var(--xee-primary);
}

.xee-agent-profile-link:hover span {
  transform: translateX(4px);
}

/* =====================================================
   SWIPER NAVIGATION
===================================================== */

.xee-slider-navigation {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 42px;
}

.xee-swiper-prev,
.xee-swiper-next {
  display: flex;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;

  align-items: center;
  justify-content: center;

  border: 1px solid var(--xee-border);
  border-radius: 50%;

  background: #ffffff;
  color: var(--xee-dark);

  font-size: 19px;
  cursor: pointer;

  transition: all 0.25s ease;
}

.xee-swiper-prev:hover,
.xee-swiper-next:hover {
  background: var(--xee-primary);
  border-color: var(--xee-primary);
  color: #ffffff;
}

.xee-swiper-pagination {
  position: relative !important;
  bottom: auto !important;
  width: auto !important;

  display: flex;
  align-items: center;
}

.xee-swiper-pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0 5px !important;
  background: #c9c9c9;
  opacity: 1;
}

.xee-swiper-pagination .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 20px;
  background: var(--xee-primary);
}

/* =====================================================
   SECOND SECTION
===================================================== */

.xee-team-intro {
  padding: 105px 0;
  background: var(--xee-light);
  border-top: 1px solid var(--xee-border);
}

.xee-team-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 100px;
}

.xee-team-intro-heading h2 {
  max-width: 600px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.08;
}

.xee-team-intro-content {
  position: relative;
  padding-left: 40px;
  border-left: 3px solid var(--xee-primary);
}

.xee-team-intro-content p {
  margin: 0;
  color: #4f555a;
  font-size: 19px;
  line-height: 1.9;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1024px) {
  .xee-team-section {
    padding: 85px 0;
  }

  .xee-team-intro {
    padding: 85px 0;
  }

  .xee-team-intro-grid {
    gap: 55px;
  }
}

@media (max-width: 767px) {
  .xee-container {
    width: min(100% - 30px, 1320px);
  }

  .xee-team-section {
    padding: 65px 0;
  }

  .xee-section-heading {
    margin-bottom: 38px;
  }

  .xee-section-heading h1 {
    font-size: 39px;
  }

  .xee-section-heading > p {
    font-size: 16px;
  }

  .xee-agent-content {
    padding: 24px;
  }

  .xee-slider-navigation {
    margin-top: 30px;
  }

  .xee-team-intro {
    padding: 70px 0;
  }

  .xee-team-intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .xee-team-intro-heading h2 {
    font-size: 37px;
  }

  .xee-team-intro-content {
    padding-left: 25px;
  }

  .xee-team-intro-content p {
    font-size: 17px;
    line-height: 1.8;
  }
}
