@charset "UTF-8";
/* ========================================
   TEAM GRID - VARIABLES
   ======================================== */
:root {
  --team-section-padding: 5rem 0;
  --team-card-width: 420px;
  --team-photo-width: 120px;
  --team-photo-height: 140px;
  --team-photo-radius: 16px;
  --team-badge-size: 40px;
  --team-border-radius: 20px;
  --team-border-radius-sm: 12px;
  --team-transition: all 0.3s ease;
  --team-highlight-icon-size: 30px;
}

/* ========================================
   TEAM GRID CONTAINER
   ======================================== */
.team-grid-wrapper {
  padding: var(--team-section-padding);
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
  position: relative;
}
.team-grid-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-primary-light) 50%, transparent 100%);
}

/* ========================================
   SECTION HEADER
   ======================================== */
.team-header {
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.team-subtitle {
  font-family: var(--font-text);
  font-weight: var(--font-semibold);
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  color: var(--color-primary);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.team-subtitle i {
  font-size: 1.1em;
  color: var(--color-secondary);
  margin-right: 0.5rem;
}

.team-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin-bottom: 1.5rem;
  text-wrap: balance;
  position: relative;
  background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-primary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.team-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 2px;
}

.team-description {
  font-family: var(--font-text);
  font-weight: var(--font-regular);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: var(--lh-relaxed);
  color: var(--color-gray-700);
  margin-bottom: 0;
}

/* ========================================
   TEAM MEMBERS GRID
   ======================================== */
.team-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--team-card-width), 1fr));
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* ========================================
   MEMBER CARDS
   ======================================== */
.team-member-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--team-border-radius);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.12), 0 4px 16px rgba(31, 38, 135, 0.08);
  transition: var(--team-transition);
  overflow: hidden;
  position: relative;
}
.team-member-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
  border-radius: var(--team-border-radius) var(--team-border-radius) 0 0;
  pointer-events: none;
  z-index: 1;
}
.team-member-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(31, 38, 135, 0.2), 0 10px 30px rgba(31, 38, 135, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}
.team-member-card:hover .member-photo {
  transform: scale(1.05);
  filter: brightness(1.05) saturate(1.1);
}
.team-member-card:hover .member-badge {
  transform: scale(1.1) rotate(10deg);
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
}
.team-member-card:hover .highlight-item-fixed {
  transform: translateX(5px);
  background: rgba(93, 163, 160, 0.15);
}
.team-member-card:hover .member-key-metric .metric-value {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* ========================================
   CARD HEADER CON FOTO
   ======================================== */
.member-card-header {
  display: flex;
  align-items: flex-start;
  padding: 2rem 2rem 1rem 2rem;
  position: relative;
  z-index: 2;
}

.member-photo-container {
  position: relative;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.member-photo {
  width: var(--team-photo-width);
  height: var(--team-photo-height);
  border-radius: var(--team-photo-radius);
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center top;
     object-position: center top;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: var(--team-transition);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.member-photo-placeholder {
  width: var(--team-photo-width);
  height: var(--team-photo-height);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 50%, var(--color-secondary) 100%);
  border-radius: var(--team-photo-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.8);
}
.member-photo-placeholder i {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.member-badge {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: var(--team-badge-size);
  height: var(--team-badge-size);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(93, 163, 160, 0.3), 0 2px 6px rgba(0, 0, 0, 0.15);
  border: 3px solid white;
  transition: var(--team-transition);
  z-index: 3;
}

.member-basic-info {
  flex: 1;
  min-width: 0;
}

.member-name {
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  line-height: var(--lh-tight);
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
  text-wrap: balance;
}

.member-position {
  font-family: var(--font-text);
  font-weight: var(--font-semibold);
  font-size: 0.9rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-bottom: 0.75rem;
}

.member-company {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-text);
  font-size: 0.8rem;
  color: var(--color-gray-600);
}
.member-company i {
  font-size: 0.7rem;
  color: var(--color-primary-light);
}

/* ========================================
   CARD BODY
   ======================================== */
.member-card-body {
  padding: 0 2rem 1.5rem 2rem;
  position: relative;
  z-index: 2;
}

.member-description {
  font-family: var(--font-text);
  font-size: 0.9rem;
  line-height: var(--lh-relaxed);
  color: var(--color-gray-700);
  margin-bottom: 1.5rem;
  min-height: 90px;
}

.member-key-metric {
  text-align: center;
  padding: 1.2rem;
  background: rgba(93, 163, 160, 0.08);
  border: 1px solid rgba(93, 163, 160, 0.15);
  border-radius: var(--team-border-radius-sm);
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}
.member-key-metric::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
  border-radius: var(--team-border-radius-sm) var(--team-border-radius-sm) 0 0;
}
.member-key-metric .metric-value {
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: var(--team-transition);
  position: relative;
  z-index: 1;
}
.member-key-metric .metric-label {
  font-family: var(--font-text);
  font-size: 0.75rem;
  color: var(--color-gray-600);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-top: 0.25rem;
  position: relative;
  z-index: 1;
}

/* ========================================
   CARD FOOTER CON HIGHLIGHTS
   ======================================== */
.member-card-footer {
  padding: 0 2rem 2rem 2rem;
  position: relative;
  z-index: 2;
}

.member-highlights-preview {
  margin-bottom: 1.5rem;
}
.member-highlights-preview h4 {
  font-family: var(--font-display);
  font-weight: var(--font-semibold);
  font-size: 0.9rem;
  color: var(--color-gray-900);
  margin-bottom: 1rem;
  text-align: center;
}

/* ========================================
   HIGHLIGHTS GRID - UN ITEM POR LÍNEA
   ======================================== */
.highlights-grid {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.highlight-item-fixed {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: rgba(93, 163, 160, 0.08);
  border: 1px solid rgba(93, 163, 160, 0.15);
  border-radius: var(--team-border-radius-sm);
  transition: var(--team-transition);
  position: relative;
  overflow: hidden;
}
.highlight-item-fixed::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  border-radius: var(--team-border-radius-sm) var(--team-border-radius-sm) 0 0;
  pointer-events: none;
}
.highlight-item-fixed:hover {
  background: rgba(93, 163, 160, 0.12);
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(93, 163, 160, 0.15);
}
.highlight-item-fixed:hover .highlight-icon-fixed {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
}

.highlight-icon-fixed {
  width: var(--team-highlight-icon-size);
  height: var(--team-highlight-icon-size);
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  transition: var(--team-transition);
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(93, 163, 160, 0.2);
  position: relative;
  z-index: 1;
}

.highlight-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  position: relative;
  z-index: 1;
}

.highlight-title-fixed {
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  font-size: 0.8rem;
  color: var(--color-gray-900);
  line-height: 1.2;
  text-align: left;
}

.highlight-subtitle-fixed {
  font-family: var(--font-text);
  font-weight: var(--font-regular);
  font-size: 0.7rem;
  color: var(--color-gray-600);
  line-height: 1.3;
  text-align: left;
}

/* ========================================
   MEMBER CTA
   ======================================== */
.member-cta {
  text-align: center;
}

.btn-member-profile {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 25px;
  font-family: var(--font-text);
  font-weight: var(--font-semibold);
  font-size: 0.85rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  transition: var(--team-transition);
}
.btn-member-profile i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}
.btn-member-profile:hover {
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(93, 163, 160, 0.3);
}
.btn-member-profile:hover i {
  transform: translateX(3px);
}

/* ========================================
   SECTION CTA
   ======================================== */
.team-cta {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.team-grid-wrapper .btn-team,
.team-grid-wrapper .btn.btn-team {
  padding: 1rem 2.5rem !important;
  font-family: var(--font-text) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  background: var(--color-primary) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 30px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 250px !important;
  cursor: pointer !important;
  box-shadow: 0 6px 20px rgba(93, 163, 160, 0.3) !important;
  transition: all 0.3s ease !important;
}
.team-grid-wrapper .btn-team i,
.team-grid-wrapper .btn.btn-team i {
  margin-right: 0.6rem !important;
  font-size: 0.9rem !important;
  transition: all 0.3s ease !important;
}
.team-grid-wrapper .btn-team:hover, .team-grid-wrapper .btn-team:focus,
.team-grid-wrapper .btn.btn-team:hover,
.team-grid-wrapper .btn.btn-team:focus {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 30px rgba(93, 163, 160, 0.4) !important;
  background: var(--color-primary-dark) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}
.team-grid-wrapper .btn-team:hover i, .team-grid-wrapper .btn-team:focus i,
.team-grid-wrapper .btn.btn-team:hover i,
.team-grid-wrapper .btn.btn-team:focus i {
  transform: translateX(3px) !important;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */
@media (max-width: 768px) {
  :root {
    --team-section-padding: 3rem 0;
    --team-card-width: 100%;
    --team-photo-width: 100px;
    --team-photo-height: 120px;
    --team-badge-size: 35px;
    --team-highlight-icon-size: 28px;
  }
  .team-header {
    margin-bottom: 3rem;
  }
  .team-header .team-title::after {
    width: 50px;
    height: 3px;
  }
  .team-members-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1rem 0;
  }
  .member-card-header {
    flex-direction: column;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
  }
  .member-card-header .member-photo-container {
    margin-right: 0;
    margin-bottom: 1rem;
    align-self: center;
  }
  .member-card-body,
  .member-card-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .highlight-item-fixed {
    padding: 0.7rem;
    gap: 0.7rem;
  }
  .highlight-title-fixed {
    font-size: 0.75rem;
  }
  .highlight-subtitle-fixed {
    font-size: 0.65rem;
  }
}
@media (max-width: 480px) {
  :root {
    --team-section-padding: 2rem 0;
    --team-photo-width: 80px;
    --team-photo-height: 100px;
    --team-badge-size: 30px;
    --team-highlight-icon-size: 26px;
  }
  .member-card-header,
  .member-card-body,
  .member-card-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .highlight-item-fixed {
    padding: 0.6rem;
    gap: 0.6rem;
  }
  .btn-member-profile {
    width: 100%;
    justify-content: center;
  }
  .highlight-title-fixed {
    font-size: 0.7rem;
  }
  .highlight-subtitle-fixed {
    font-size: 0.6rem;
  }
}
/* ========================================
   CONTACT INFO STYLES
   ======================================== */
/* Información de contacto del miembro */
.member-contact-info {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(var(--bs-primary-rgb), 0.1);
}

.member-email {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--bs-secondary);
  transition: all 0.3s ease;
}

.member-email:hover {
  color: var(--bs-primary);
  transform: translateX(2px);
}

.member-email i {
  font-size: 1rem;
  color: var(--color-primary);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.member-email:hover i {
  opacity: 1;
  transform: scale(1.1);
  color: var(--bs-primary);
}

.email-link {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.email-link:hover {
  color: var(--bs-primary);
  text-decoration: underline;
}

/* Botones de contacto (si usas la opción 2) */
.member-contact-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(var(--bs-primary-rgb), 0.1);
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1rem;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  color: white;
}

.email-btn {
  background: linear-gradient(135deg, #dc3545, #c62d42);
}

.email-btn:hover {
  background: linear-gradient(135deg, #bb2d3b, #a02834);
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25d366, #1ebe56);
}

.whatsapp-btn:hover {
  background: linear-gradient(135deg, #1ebe56, #17a544);
}

.linkedin-btn {
  background: linear-gradient(135deg, #0077b5, #005885);
}

.linkedin-btn:hover {
  background: linear-gradient(135deg, #005885, #004a6b);
}

/* Sección de contacto separada (opción 3) */
.member-contact-section {
  margin-top: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.05), rgba(var(--bs-primary-rgb), 0.02));
  border-radius: 0.5rem;
  border: 1px solid rgba(var(--bs-primary-rgb), 0.1);
}

.contact-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--bs-primary);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.contact-label i {
  font-size: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(3px);
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item i {
  font-size: 1rem;
  width: 1.25rem;
  text-align: center;
  color: var(--bs-primary);
}

.contact-item a {
  color: var(--bs-dark);
  text-decoration: none;
  font-weight: 500;
  flex: 1;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--bs-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .member-contact-buttons {
    justify-content: center;
  }
  .contact-btn {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.9rem;
  }
  .member-contact-section {
    padding: 0.75rem;
  }
  .contact-item {
    padding: 0.375rem;
  }
}
/* Animaciones suaves */
@keyframes contactFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.member-contact-info,
.member-contact-buttons,
.member-contact-section {
  animation: contactFadeIn 0.6s ease forwards;
}/*# sourceMappingURL=team-grid.css.map */