/* =============================================
   PERFIL DE COLABORADOR - ESTILOS CSS SIN TAILWIND
   ============================================= */

/* Contenedor principal */
.perfil-container {
  max-width: 64rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   BOTÓN VOLVER
   ============================================= */

.perfil-volver {
  margin-bottom: 1.5rem;
}

.perfil-volver-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  color: #0044a5;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}

.perfil-volver-link:hover {
  color: #1A1A1A;
}

.perfil-volver-link svg {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* =============================================
   TARJETA PRINCIPAL
   ============================================= */

.perfil-card {
  background-color: #ffffff;
  border: 1px solid #f3f4f6;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 0.75rem;
}

@media (min-width: 768px) {
  .perfil-card {
    flex-direction: row;
  }
}

/* =============================================
   CONTENEDOR DE IMAGEN
   ============================================= */

.perfil-imagen-container {
  width: 100%;
  position: relative;
  height: 20rem;
  background-color: #f3f4f6;
}

@media (min-width: 768px) {
  .perfil-imagen-container {
    width: 40%;
    height: auto;
  }
}

.perfil-imagen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* Gradiente overlay solo en mobile */
.perfil-imagen-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

@media (min-width: 768px) {
  .perfil-imagen-overlay {
    display: none;
  }
}

/* =============================================
   CONTENEDOR DE TEXTO
   ============================================= */

.perfil-content {
  width: 100%;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .perfil-content {
    width: 60%;
    padding: 3.5rem;
  }
}

/* =============================================
   ENCABEZADO DEL PERFIL
   ============================================= */

.perfil-header {
  margin-bottom: 2rem;
}

.perfil-cargo {
  color: #0044a5;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
}

.perfil-nombre {
  font-size: 2.25rem;
  font-weight: 500;
  color: #1A1A1A;
  line-height: 1.25;
  margin: 0;
}

@media (min-width: 768px) {
  .perfil-nombre {
    font-size: 3rem;
  }
}

.perfil-divider {
  width: 3rem;
  height: 1px;
  background-color: #0044a5;
  margin-top: 1.5rem;
  border: none;
}

/* =============================================
   DESCRIPCIÓN
   ============================================= */

.perfil-descripcion {
  margin-bottom: 2.5rem;
  color: #4b5563;
  font-weight: 300;
  line-height: 1.625;
  font-size: 0.875rem;
}

.perfil-descripcion > * + * {
  margin-top: 1rem;
}

.perfil-descripcion p {
  margin: 0;
}

.perfil-descripcion .highlight {
  font-weight: 500;
  color: #1A1A1A;
}

/* =============================================
   GRID DE BOTONES DE CONTACTO
   ============================================= */

.perfil-contacto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: auto;
}

@media (min-width: 640px) {
  .perfil-contacto-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Botón de contacto base */
.perfil-contacto-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  color: #1A1A1A;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 0.75rem;
}

.perfil-contacto-btn:hover {
  border-color: #0044a5;
  background-color: #0044a5;
  color: #ffffff;
}

.perfil-contacto-btn:hover .perfil-contacto-icon {
  color: #ffffff;
}

/* WhatsApp tiene hover verde */
.perfil-contacto-btn-whatsapp:hover {
  border-color: #25D366;
  background-color: #25D366;
  color: #ffffff;
}

.perfil-contacto-btn-whatsapp:hover .perfil-contacto-icon-whatsapp {
  color: #ffffff;
}

/* Iconos */
.perfil-contacto-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-bottom: 0.5rem;
  color: #0044a5;
  transition: color 0.3s ease;
}

.perfil-contacto-icon-whatsapp {
  width: 1.25rem;
  height: 1.25rem;
  margin-bottom: 0.5rem;
  color: #25D366;
  transition: color 0.3s ease;
}

/* Texto del botón */
.perfil-contacto-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* =============================================
   UTILIDADES ADICIONALES
   ============================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}