/* ============================================================
   SECCIÓN EQUIPO / TRABAJADORES (CARRUSEL)
   ============================================================ */

.eq2 {
  padding: 60px 60px 72px;
  background: #fff;
}

.eq2__label {
  display: block;
  font-family: 'Geist-Light';
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #DAB56C;
  margin-bottom: 32px;
}



.eq2__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 10px 0 8px;
}
.eq2__track::-webkit-scrollbar { display: none; }

/* ---------- Card base ---------- */
.eq2__card {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 350px;
  border-radius: 22px;
  overflow: hidden;
  background: #f0f0f0;
transform: scale(1);
transition: transform 0.35s ease;
z-index: 0;
}

.eq2__card:hover {
  transform: scale(1.04);
  z-index: 1;
}

/* ---------- LinkedIn ---------- */
.eq2__linkedin {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0A66C2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.eq2__linkedin:hover { transform: scale(1.15); }
.eq2__linkedin svg { width: 15px; height: 15px; }

/* ---------- Photo ---------- */
.eq2__photo-wrap {
  position: absolute;
  inset: 0;
}

.eq2__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%);
  transition: filter 0.45s ease;
  display: block;
}

.eq2__card:hover .eq2__photo {
  filter: grayscale(0%);
transform: scale(1);
}

/* ---------- Info (franja blanca sobre la foto, abajo-izquierda) ---------- */
.eq2__info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    height: 50px;
    padding: 8px 12px 0px;
    background: #fff;
    border-radius: 0 30px 0 0;
    z-index: 1;
}

/* Esquina inferior-derecha: cóncava 20px */
.eq2__info::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 100% 100%, transparent 20px, #fff 20.5px);
}

.eq2__name {
  font-family: 'Geist-Regular';
      font-weight: 600;
  font-size: 13px;
  color: #111;
  line-height: 1;
  margin: 0 0 2px;
}

.eq2__role {
  font-family: 'Geist-Light';
  font-size: 11px;
  color: #888;
  margin: 0;
}

/* ---------- CTA card ---------- */
.eq2__card--cta {
  background: #971921;
}

/* Contenido (título + botón) en la zona roja superior */
.eq2__cta-content {
  position: absolute;
  top: 20px;
  left: 14px;
  right: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Franja blanca vacía (igual que los otros cards) */
.eq2__card--cta .eq2__info {
  min-height: 54px;
}

.eq2__cta-title {
    font-family: 'Geist-Regular';
    font-size: 35px;
    font-weight: 500;
    color: #fff;
    line-height: 1.25;
    margin: 0;
}

.eq2__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0px;
    width: 220px;
    padding: 0px 10px;
    border-radius: 50px;
    font-family: 'Geist-Regular';
    font-size: 17px;
    color: #fff;
    background: #971921;
    border: 1px solid #fff;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s ease, color 0.3s ease, transform 0.25s ease;
}
.eq2__cta-btn:hover {
  color:#971921;
background:#fff;
  transform: scale(1.05);
}

/* ============================================================
   POPUP: POSTULATE
   ============================================================ */

.apply-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.apply-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.apply-modal {
  background: #fff;
  border-radius: 24px;
  padding: 48px 44px 44px;
  width: 440px;
  max-width: 92vw;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.apply-overlay.is-open .apply-modal {
  transform: translateY(0);
}

.apply-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: color 0.2s ease;
}
.apply-close:hover { color: #000; }
.apply-close svg { width: 20px; height: 20px; }

.apply-title {
  font-family: 'Geist-Regular';
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin: 0 0 6px;
}

.apply-subtitle {
  font-family: 'Geist-Light';
  font-size: 15px;
  color: #777;
  margin: 0 0 28px;
}

.apply-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.apply-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-family: 'Geist-Light';
  font-size: 16px;
  color: #111;
  outline: none;
  transition: border-color 0.2s ease;
}
.apply-input:focus { border-color: #8B2020; }
.apply-input::placeholder { color: #bbb; }

.apply-file-label {
  display: block;
  cursor: pointer;
}
.apply-file-input { display: none; }

.apply-file-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px dashed #ccc;
  border-radius: 10px;
  font-family: 'Geist-Light';
  font-size: 16px;
  color: #666;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.apply-file-label:hover .apply-file-btn { border-color: #8B2020; color: #8B2020; }
.apply-file-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.apply-submit {
  width: 100%;
  padding: 14px;
  background: #8B2020;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: 'Geist-Regular';
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.25s ease;
}
.apply-submit:hover {
  background: #6e1919;
  transform: scale(1.02);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .eq2 { padding: 40px 16px 52px; }

  .eq2__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .eq2__card {
    flex: none;
    width: 260px;
    height: 350px;
    flex-shrink: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .apply-modal { padding: 40px 28px 36px; }
}
