/* Importar fuente moderna desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Estilos generales optimizados para SEO */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.8;
}

/* Contenedor principal */
.container {
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Encabezados optimizados */
h1, h2, h3, h4 {
    text-align: center;
    color: #1C3D5A; /* Azul oscuro técnico */
    font-weight: 600;
    margin-bottom: 15px;
}

h2 {
    border-bottom: 3px solid #1C3D5A;
    padding-bottom: 5px;
}

/* Texto */
p {
    font-size: 16px;
}

/* Breadcrumbs (migas de pan) para mejorar navegación y SEO */
.breadcrumb {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.breadcrumb a {
    color: #007BFF;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Listas optimizadas */
ul, ol {
    padding-left: 25px;
}

ul li, ol li {
    margin-bottom: 10px;
    font-size: 16px;
}

/* Botón de llamada a la acción optimizado */
.cta {
    text-align: center;
    margin-top: 20px;
}

.cta a {
    display: inline-block;
    background: #1C3D5A; /* Azul oscuro técnico */
    color: white;
    padding: 14px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}

.cta a:hover {
    background: #162B40; /* Azul más profundo para contraste */
    transform: scale(1.05);
}

/* Header optimizado */
header {
    background: #1C3D5A; /* Azul profesional */
    padding: 15px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 5%;
}

header #logo img {
    max-width: 180px; /* Reducir tamaño del logo */
    height: auto;
}

/* Ajuste para la imagen del teléfono */
header #search img {
    max-width: 120px; /* Reducir tamaño del teléfono */
    height: auto;
}

/* Estilos responsivos para mejorar SEO móvil */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    header #logo img {
        max-width: 150px; /* Más pequeño en móviles */
    }

    header #search img {
        max-width: 100px; /* Ajuste más pequeño en móviles */
    }

    .container {
        width: 95%;
        padding: 15px;
    }

    .cta a {
        font-size: 16px;
        padding: 12px 20px;
    }
}

/* Menú de navegación optimizado */
nav {
    background: #162B40; /* Azul más oscuro */
    padding: 10px 0;
}

nav .menu ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav .menu ul li {
    margin: 0 15px;
}

nav .menu ul li a {
    color: white;
    font-size: 16px;
    text-decoration: none;
    padding: 10px 15px;
    transition: background 0.3s;
}

nav .menu ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* Footer optimizado */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer a {
    color: #B0C4DE; /* Gris azulado para un toque elegante */
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Optimización de imágenes */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Evitar uso de display: none en contenido importante */
.hidden {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}
