/* Estilos Generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header y Titulos */
header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Tarjetas (Cards) */
.card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
}

h2, h3 {
    color: #1e3a8a;
    border-bottom: 2px solid #3b82f6;
    display: inline-block;
    padding-bottom: 5px;
}

strong {
    color: #2563eb;
}

/* Botonera */
.btn-primary {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    background-color: #059669;
    transform: scale(1.05);
}

/* Layout Flexible */
.flex-content {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    flex-wrap: wrap;
}

.flex-content.reverse {
    flex-direction: row-reverse;
}

.text {
    flex: 1;
    min-width: 300px;
}

/* Imagenes */
.hero-img {
    max-width: 200px;
    margin-bottom: 20px;
}

.side-img {
    max-width: 300px;
    border-radius: 10px;
}

.footer-img {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 10px;
}

/* Listas */
ul {
    list-style: none;
    padding: 0;
}

ul li {
    background: #f8fafc;
    margin: 10px 0;
    padding: 10px;
    border-left: 4px solid #3b82f6;
    border-radius: 4px;
}

/* Footer */
footer {
    background: #1e293b;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

/* Responsive */
@media (max-width: 768px) {
    .flex-content {
        flex-direction: column;
        text-align: center;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
}