/* ======================================================
   1. RESET & CONFIGURACIÓN GLOBAL
====================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: #ffffff;
  background-color: #0a0a0a;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background-color: #0a0a0a;
  color: #ffffff;
  overflow-x: hidden;
}

/* ======================================================
   2. HEADER & LOGO (ESTILO DE LA IMAGEN)
====================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 24px; /* Espacio entre imagen y texto */
}

.header img {
    height: 42px; /* Ajustado para coincidir con el texto */
    width: auto;
    border-radius: 4px;
}

/* Estilos específicos para el texto del logo */
.logo {
    margin: 0;
    display: flex;
    align-items: center;
}

.logo a {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 300;         /* Peso ligero (Light) */
    letter-spacing: 6px;     /* Espaciado amplio como en la imagen */
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;   /* Elimina el subrayado */
    line-height: 1;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.7;
}

/* ======================================================
   3. SECCIÓN DE EQUIPO (TEAM)
====================================================== */
.main-content {
    display: flex;
    margin-top: 80px; /* Para no quedar debajo del header fixed */
    min-height: calc(100vh - 80px);
}

.left-section {
    flex: 1;
    padding: 80px 60px;
}

.right-section {
    width: 12%;
    background-color: #8C1400; /* Tu color acento rojo */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
}

.member-image {
    width: 160px;
    height: 160px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #333;
    transition: border-color 0.3s ease;
}

.team-member:hover .member-image {
    border-color: #8C1400;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.member-role {
    font-size: 13px;
    font-weight: 700;
    color: #ff2600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.member-description {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 320px;
    margin: 0 auto 25px;
}

/* ======================================================
   4. ICONOS SOCIALES
====================================================== */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #c62222;
    transform: translateY(-3px);
}

/* ======================================================
   5. RESPONSIVE
====================================================== */
@media (max-width: 1024px) {
    .main-content { flex-direction: column; }
    .right-section { width: 100%; height: 20px; order: 2; }
    .left-section { padding: 60px 30px; }
}

@media (max-width: 768px) {
    .header .container { 
        gap: 15px; 
        padding: 0 20px;
    }
    .logo a { 
        font-size: 0.9rem; 
        letter-spacing: 3px; 
    }
    .header img { height: 35px; }
}