/* ============================================
   LOGITRAX - INDUSTRIAL BLUE
   Azul principal:   #18496e
   Fondo:            #ffffff
   Texto:            #2c3e50
   Acentos / botones: #18496e
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #2c3e50;
    line-height: 1.6;
}

/* HEADER */
header {
    background-color: #18496e;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 1rem 5% 0 5%;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-bottom: 0.5rem;
}

.logo-container img {
    height: 50px;
    width: auto;
    display: block;
}

nav {
    display: flex;
    gap: 4px;
    align-items: flex-end;
}

nav a {
    background-color: #eef2f5;
    color: #18496e;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 8px 8px 0 0;
    transition: all 0.2s ease;
    display: inline-block;
}

nav a:hover {
    background-color: #ffffff;
    color: #0e5a8a;
    transform: translateY(-3px);
}

/* LAYOUT GENERAL */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #18496e;
    text-align: center;
    margin-bottom: 2rem;
}

/* GRID PARA CONTENIDO (TEXTO + IMAGEN) */
.grid-2cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.text-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #18496e;
    margin-bottom: 1rem;
}

.text-content p {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.image-content img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* LISTAS */
.lista-beneficios {
    list-style: none;
    margin-top: 1.5rem;
}

.lista-beneficios li {
    padding-left: 1.8rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.lista-beneficios li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #18496e;
    font-weight: 700;
    font-size: 1.1rem;
}

/* BOTONES */
.btn {
    display: inline-block;
    background-color: #18496e;
    color: #ffffff;
    padding: 0.75rem 1.8rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: #0e3a57;
    transform: translateY(-2px);
}

/* FOOTER */
footer {
    background-color: #18496e;
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 5% 1.5rem;
    margin-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col img {
    max-width: 140px;
    height: auto;
    margin-bottom: 1rem;
    display: block;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col p,
.footer-col a {
    font-size: 0.85rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    html {
        font-size: 16px;
    }

    header {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        gap: 1rem;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        border-radius: 8px;
        padding: 8px 12px;
    }

    .grid-2cols {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-col img {
        margin: 0 auto 1rem auto;
    }

    .section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        text-align: center;
    }
}

.footer-bottom a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Forzar alineación superior de imágenes */
.grid-2cols {
    align-items: flex-start !important;
}

.image-content {
    margin-top: 0;
    padding-top: 0;
}

.image-content img {
    display: block;
    margin-top: 0;
}