/* ====================== ESTILO AUTOMOTRIZ PROFESIONAL ====================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    background: linear-gradient(to bottom, #f8f9fa, #e2e8f0);
    color: #1e2937;
    line-height: 1.75;
    min-height: 100vh;
}

/* Header estilo mecánica */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
    background: linear-gradient(to right, #1e3a8a, #1e40af);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.site-logo {
    color: #f1f5f9;
    font-size: 1.85rem;
    font-weight: bold;
    text-decoration: none;
}

.site-logo:hover {
    color: #facc15;
}

/* Contenido principal */
.contenido {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 25px;
}

h1 {
    text-align: center;
    font-size: 3.3rem;
    color: #1e3a8a;
    margin-bottom: 30px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 2.2rem;
    color: #1e40af;
    margin: 55px 0 25px;
    border-left: 7px solid #facc15;
    padding-left: 20px;
    background: linear-gradient(to right, #f8fafc, transparent);
    padding-top: 8px;
    padding-bottom: 8px;
}

p {
    font-size: 1.18rem;
    margin: 24px 0;
    text-align: justify;
}

/* Resaltados en rojo (importante para automotriz) */
.resaltado-rojo {
    color: #dc2626;
    font-weight: 700;
}

/* Imágenes con estilo profesional */
.imagen-centro {
    text-align: center;
    margin: 45px 0;
}

.imagen-centro img {
    max-width: 85%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    border: 4px solid #1e40af;
    transition: all 0.4s ease;
}

.imagen-centro img:hover {
    transform: scale(1.04);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.pie-imagen {
    margin-top: 15px;
    font-size: 1.08rem;
    color: #475569;
    font-style: italic;
    font-weight: 500;
}

/* Botones */
.fila-botones {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 70px 0 50px;
    flex-wrap: wrap;
}

.fila-botones a {
    flex: 1;
    max-width: 260px;
    text-align: center;
    padding: 16px 25px;
    background-color: #1e40af;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.18rem;
    font-weight: 600;
    transition: all 0.35s ease;
    box-shadow: 0 6px 18px rgba(30, 64, 175, 0.35);
}

.fila-botones a:hover {
    background-color: #facc15;
    color: #1e3a8a;
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(250, 204, 21, 0.45);
}

.btn-centro {
    background-color: #334155 !important;
}

.btn2 {
    background-color: #475569 !important;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    text-align: center;
    padding: 40px 20px;
    margin-top: 80px;
}

.footer p {
    margin: 10px 0;
    font-size: 1.15rem;
}

.footer-sub {
    color: #64748b;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.7rem; }
    h2 { font-size: 2rem; }
    
    .fila-botones a {
        max-width: none;
        width: 100%;
    }
    
    .imagen-centro img {
        max-width: 95%;
    }
}