/* ==============================================
   COLABORADORES — CSS
   Usa --page-margin de estilos.css: clamp(20px, 6vw, 120px)
   hero-title-overlay y page-title vienen de estilos.css
   highlight-text: sobreescribe a azul marino (igual que sobre_iniciativa)
   ============================================== */

/* ── Contenedor con márgenes estándar ── */
.colab-container {
  width: 100%;
  max-width: min(1440px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding-left:  var(--page-margin, clamp(20px, 6vw, 120px));
  padding-right: var(--page-margin, clamp(20px, 6vw, 120px));
  box-sizing: border-box;
}

/* ==============================================
   HERO
   ============================================== */
.hero-title-overlay-colaboradores {
  position: absolute !important;
  z-index: 3 !important;
  background-color: #F7AD3E !important;
  width: clamp(220px, 38vw, 732px) !important;
  min-height: clamp(72px, 10vw, 184px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 0 24px 0 24px !important;
  border: 4px solid #142139 !important;
  box-shadow: 8px 8px 0 #142139 !important;
  bottom: clamp(72px, 22vw, 512px) !important;
  left: clamp(16px, 13vw, 240px) !important;
  padding: clamp(10px, 2vw, 20px) clamp(16px, 3vw, 40px) !important;
  box-sizing: border-box !important;
}

/* Móvil: centrado horizontalmente */
@media (max-width: 1024px) {
  .hero-title-overlay-colaboradores {
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: clamp(65%, 8vw, 48px) !important;
    width: min(88vw, 480px) !important;
    padding: clamp(12px, 3vw, 20px) clamp(16px, 4vw, 32px) !important;
  }
}

.colaboradores-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding-bottom: clamp(40px, 8vw, 160px);
  padding-left: var(--page-margin, clamp(20px, 6vw, 120px));
}

.colaboradores-hero .hero-background {
  position: absolute;
  inset: 0;
  background-image: url('/assets/Imagenes de alta resolucion/colaboradores-portada.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.colaboradores-hero .hero-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 2;
}

/* ==============================================
   DESCRIPCIÓN
   ============================================== */
.colaboradores-description {
  background: #EBEBF0;
  padding: clamp(56px, 8vw, 144px) 0 clamp(64px, 10vw, 192px);
}

.colaboradores-description .description-text {
  font-family: 'Switzer', sans-serif;
  font-size: clamp(18px, 2.4vw, 40px);
  font-weight: 600;
  color: #2D3139;
  text-align: center;
  line-height: 1.3;
  margin: 0;
}

/* highlight en azul marino para esta página */
.colaboradores-description .highlight-text,
.agradecimientos-section .highlight-text {
  color: #072A40 !important;
  font-weight: 600 !important;
}

/* ==============================================
   TARJETAS DE COLABORADORES
   Base compartida + modificadores de color
   ============================================== */
.colaboradores-cards-section {
  background: #EBEBF0;
  padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 120px);
}

/* Base */
.colaborador-card {
  background: #EDF1F7;
  border-radius: 20px;
  padding: clamp(24px, 3vw, 40px) clamp(20px, 2.5vw, 30px);
  text-align: center;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 4px solid;
}

/* Hover genérico */
.colaborador-card:hover {
  transform: translateY(-8px);
}

/* Modificadores — solo color de borde y sombra */
.card-pdp   { border-color: #0E5D8B; box-shadow: 8px 8px 0 #0E5D8B,   1px 3px 8px rgba(0,0,0,.2); }
.card-usb   { border-color: #FF7F00; box-shadow: 8px 8px 0 #FF7F00,   1px 3px 8px rgba(0,0,0,.2); }
.card-sd    { border-color: #247138; box-shadow: 8px 8px 0 #247138,   1px 3px 8px rgba(0,0,0,.2); }
.card-york  { border-color: #32404D; box-shadow: 8px 8px 0 #32404D,   1px 3px 8px rgba(0,0,0,.2); }
.card-medeor{ border-color: #005FAC; box-shadow: 8px 8px 0 #005FAC,   1px 3px 8px rgba(0,0,0,.2); border-radius: 10px; }

.card-pdp:hover   { box-shadow: 12px 12px 0 #0E5D8B,  4px 6px 16px rgba(0,0,0,.25); }
.card-usb:hover   { box-shadow: 12px 12px 0 #FF7F00,  4px 6px 16px rgba(0,0,0,.25); }
.card-sd:hover    { box-shadow: 12px 12px 0 #247138,  4px 6px 16px rgba(0,0,0,.25); }
.card-york:hover  { box-shadow: 12px 12px 0 #32404D,  4px 6px 16px rgba(0,0,0,.25); }
.card-medeor:hover{ box-shadow: 12px 12px 0 #005FAC,  4px 6px 16px rgba(0,0,0,.25); }

/* Logo */
.colaborador-logo {
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(20px, 2.5vw, 30px);
  background: #ffffff;
  border-radius: 20px;
}

.colaborador-logo img {
  max-width: 100%;
  object-fit: contain;
  height: clamp(100px, 12vw, 184px);
}

/* Título */
.colaborador-title {
  font-family: 'Switzer', sans-serif;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 600;
  color: #072A40;
  margin-bottom: clamp(20px, 2.5vw, 30px);
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Botón */
.colaborador-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1vw, 16px);
  background-color: #F7AD3E;
  color: #092C44;
  font-family: 'Switzer', sans-serif;
  font-size: clamp(15px, 1.4vw, 24px);
  font-weight: 600;
  padding: clamp(10px, 1vw, 14px) clamp(16px, 1.6vw, 24px);
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 8px 8px 0 #092C44;
  border: 4px solid #092C44;
  transition: all 0.4s ease;
}

.colaborador-btn:hover {
  background-color: #e69e36;
  color: #072A40;
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 #072A40;
  text-decoration: none;
}

.colaborador-btn:active {
  transform: translateY(3px);
  box-shadow: 3px 3px 0 #072A40;
}

/* ==============================================
   AGRADECIMIENTOS
   ============================================== */
.agradecimientos-section {
  background: #EBEBF0;
  padding: clamp(56px, 8vw, 180px) 0;
}

.agradecimientos-title {
  font-family: 'Switzer', sans-serif;
  font-size: clamp(28px, 4vw, 64px);
  font-weight: 700;
  color: #142139;
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 100px);
}

.agradecimientos-text {
  font-family: 'Switzer', sans-serif;
  font-size: clamp(18px, 2.4vw, 40px);
  font-weight: 400;
  color: #142139;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 96px;
}