﻿body {
    font-family: 'Montserrat', sans-serif !important;
}

.card-custom {
    background-color: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    max-width: 420px; /* menor ancho para evitar que se estire */
    width: 100%;
    height: 120px; /* altura fija para igualar visualmente */
}

.icon-box {
    background-color: #f1f1f1;
    border-radius: 12px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 12px;
    margin-right: 20px;
}

.icon-img {
    width: 50px;
    height: auto;
}

.title-blue {
    color: #0040ff;
    font-size: 1.1rem;
    line-height: 1.2;
    margin-bottom: 4px;
}

.text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.porque-block {
    background-color: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
    text-align: left; /* 🔹 clave: todo alineado a la izquierda */
}

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

.porque-title {
    color: #0040ff;
    font-size: 1.1rem;
    line-height: 1.3;
}

.porque-text {
    color: #444;
    max-width: 100%;
}

.contact-input {
    border-radius: 25px;
    border: 1px solid #ccc;
    padding: 10px 20px;
    font-size: 1rem;
}

.contact-input::placeholder {
    color: #aaa;
}

.map-responsive iframe {
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.seccion-respaldo {
    background-color: #f4f4f4; /* fondo gris claro */
}

.respaldo-title {
    color: #0040ff;
    font-size: 1.5rem;
}

.respaldo-logo {
    max-height: 100px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.respaldo-logo:hover {
    opacity: 1;
}

.footer-facweb {
    background-color: #0040ff;
}

.footer-facweb p {
margin-bottom: 0.4rem;
font-family: 'Montserrat', sans-serif;
font-size: 0.95rem;
}

.footer-facweb .btn-light {
color: #0040ff;
background-color: #fff;
border: none;
transition: background-color 0.2s ease;
}

.footer-facweb .btn-light:hover {
    background-color: #e6e6e6;
}

.footer-facweb i {
font-size: 1.2rem;
}

.social-icons a {
    color: #fff;
    font-size: 1.4rem;
    margin-right: 20px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.social-icons a:last-child {
    margin-right: 0;
}

.social-icons a:hover {
    transform: scale(1.15);
}

.footer-facweb a {
    font-family: 'Montserrat', sans-serif;
}

#mainNav {
    padding-top: 1.5rem;
    background: #f5f5ff; /* Fondo blanco-azulado para la parte inferior */
}

#mainNav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px; /* Altura de la banda azul */
    background: #0040ff; /* Color azul */
    z-index: 0;
}

/* Ajustar el contenido para que quede sobre la banda azul */
#mainNav > .container {
    position: relative;
    z-index: 1;
    padding-top: 15px;
    padding-bottom: 15px;
}

#mainNav .navbar-brand,
#mainNav .navbar-brand img {
    height: 70px;
    transition: all 0.3s ease;
}

/* Asegura que los logos mantengan su relación de aspecto */
#mainNav img {
    width: auto;
    max-height: 80px;
    object-fit: contain;
}



#mainNav .navbar-nav {
    gap: 2rem;
}

.map-responsive {
    position: relative;
    padding-bottom: 56.25%; /* Esto hace que sea responsive por defecto */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

/* iframe se adapta al contenedor */
.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Para pantallas mayores a 768px (tablet o desktop) usar tamaño fijo */
@media (min-width: 768px) {
    .map-responsive {
        padding-bottom: 0;
        height: 450px;
        width: 600px;
        margin: auto; /* opcional: centra el iframe */
    }

    .map-responsive iframe {
        width: 600px;
        height: 450px;
        position: static;
    }
}
