/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
}

/* NAVBAR */
.navbar {
  background-color: white;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 60px;
}

.nav-links li a {
  text-decoration: none;
  color: #d32f2f;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
}

.nav-links li a:hover {
  color: #b71c1c;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #faf9f7 0%, #f5f4f2 100%);
    padding: 80px 0 60px;
    text-align: center;
    border-bottom: 1px solid #f0efed;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: #c53030;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.25rem;
    color: #666;
    font-weight: 300;
}

/* Contenido principal */
.main-content {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 500;
    color: #c53030;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: -0.01em;
}

/* Sección de introducción */
.intro-section {
    margin-bottom: 100px;
    text-align: center;
}

.intro-text {
    font-size: 1.25rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 300;
}

/* Misión y Visión */
.mission-vision {
    margin-bottom: 100px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.card {
    background: #faf9f7;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #f0efed;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #c53030;
    margin-bottom: 20px;
}

.card-text {
    color: #666;
    line-height: 1.7;
    font-weight: 300;
}

/* Valores */
.values-section {
    margin-bottom: 100px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    background: #f5f4f2;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.value-item:hover {
    background: #f0efed;
}

.value-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #c53030;
    margin-bottom: 15px;
}

.value-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
}

/* Historia */
.history-section {
    margin-bottom: 80px;
}

.timeline {
    max-width: 600px;
    margin: 60px auto 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    align-items: flex-start;
}

.timeline-year {
    background: #c53030;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    margin-right: 30px;
    min-width: 70px;
    text-align: center;
}

.timeline-content {
    flex: 1;
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.timeline-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
}

/* Footer */
.footer {
    background: #faf9f7;
    padding: 40px 0;
    border-top: 1px solid #f0efed;
    text-align: center;
}

.footer-text {
    color: #888;
    font-size: 0.9rem;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-year {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 60px 0 40px;
    }
    
    .main-content {
        padding: 60px 0;
    }
    
    .card {
        padding: 30px 25px;
    }
    
    .intro-section,
    .mission-vision,
    .values-section {
        margin-bottom: 80px;
    }
}