body {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    box-sizing: border-box;
}

.barra-opciones {
    background-color: #000000;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.barra-opciones ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}


.barra-opciones ul a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    margin-right: 20px;
}

.barra-opciones ul :hover {
    color: #007bff;
}

.barra-opciones ul a li {
    padding: 10px 0;
}

.barra-opciones ul a:last-child {
    margin-right: 0;
}

.logo img {
    width: 250px;
    height: auto;
}

.barra-opciones .logo {
    display: flex;
    align-items: center;
}

.barra-opciones .logo .icon {
    width: 30px;
    height: 30px;
    background-color: #007bff;
    border-radius: 50%;
    margin-right: 10px;
}

.contacto-info {
    padding: 20px;
    text-align: center;
}

.contacto-info h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #0099ff;
}

.contacto-info .imagen-principal {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contacto-info .imagen-principal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contacto-info .descripcion {
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.contacto-caja {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease-in-out;
}

.contacto-caja:hover {
    transform: translateY(-5px);
}

.contacto-caja img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.contacto-caja span {
    font-weight: bold;
}

footer {
    background-color: #0099ff;
    color: white;
    padding: 20px;
    text-align: center;
}

footer .redes-sociales {
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer .redes-sociales a {
    display: block;
}

footer .redes-sociales .icono-red-social-footer {
    width: 30px;
    height: 30px;
}

/* Estilos para pantallas más pequeñas (móviles) */
@media (max-width: 768px) {
    .barra-opciones {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .barra-opciones ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .barra-opciones ul a {
        margin-right: 0;
        width: 100%;
    }

    .barra-opciones ul a li {
        border-bottom: 1px solid #555;
        padding: 10px;
    }

    .barra-opciones ul a:last-child li {
        border-bottom: none;
    }

    .barra-opciones .logo {
        margin-bottom: 10px;
    }

    .barra-opciones .redes-sociales {
        margin-top: 10px;
    }

    .contacto-info h1 {
        font-size: 2em;
    }

    .contacto-info .imagen-principal {
        width: 120px;
        height: 120px;
    }

    .contacto-info .descripcion {
        font-size: 0.9em;
    }

    .contact-methods {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }

    .contacto-caja {
        padding: 15px;
    }

    .contacto-caja img {
        width: 45px;
        height: 45px;
        margin-bottom: 5px;
    }

    .contacto-caja span {
        font-size: 0.9em;
    }

    footer {
        padding: 15px;
    }

    footer .redes-sociales {
        gap: 10px;
    }

    footer .redes-sociales .icono-red-social-footer {
        width: 25px;
        height: 25px;
    }
}

/* Estilos para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .contacto-info h1 {
        font-size: 2.2em;
    }

    .contacto-info .imagen-principal {
        width: 140px;
        height: 140px;
    }

    .contact-methods {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .contacto-caja {
        padding: 18px;
    }

    .contacto-caja img {
        width: 45px;
        height: 45px;
    }

    .contacto-caja span {
        font-size: 1em;
    }
}