/* Fondo unificado para logo y menú */
.logo-bg, .menu-bg {
    background: #f8f9fa;
}
/* Botón especial para SEGUROS */
.btn-seguros {
    background: #0dcaf0 !important;
    color: #fff !important;
    border-radius: 4px;
    margin: 0 5px;
    transition: background 0.2s;
}
.btn-seguros:hover,
.btn-seguros.active {
    background: #0aa6c2 !important;
    color: #fff !important;
}
/* Botones del menú principal */
.navbar-nav .nav-link {
    background: #235789;
    color: #fff !important;
    border-radius: 4px;
    margin: 0 5px;
    transition: background 0.2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: #163a5c;
    color: #fff !important;
}
/* Títulos de misión, visión y valores en azul corporativo */
.mision-v-v-t {
    color: #235789 !important;
}
/* Círculo de valores con flechas */
.valores-circulo {
    position: relative;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: #f8f9fa;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.logo-centro {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: contain;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    z-index: 2;
}
.flecha {
    position: absolute;
    width: 110px;
    height: 32px;
    background: #235789;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 16px;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.flecha-top {
    left: 50%;
    top: -20px;
    transform: translateX(-50%);
}
.flecha-bottom {
    left: 50%;
    bottom: -20px;
    transform: translateX(-50%);
    /* aqui ajuste el tamaño de la fuente de flecha-bottom*/
    font-size: 0.875rem !important;
}
.flecha-right {
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
}
.flecha-left {
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}
/* Opcional: agregar una pequeña "punta" de flecha con ::after */
.flecha-top::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border-width: 14px 14px 0 14px;
    border-style: solid;
    border-color: #235789 transparent transparent transparent;
}
.flecha-bottom::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    border-width: 0 14px 14px 14px;
    border-style: solid;
    border-color: transparent transparent #235789 transparent;
    font-size: 0.875rem !important;
}
.flecha-right::after {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 14px 14px 14px 0;
    border-style: solid;
    border-color: transparent #235789 transparent transparent;
}
.flecha-left::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 14px 0 14px 14px;
    border-style: solid;
    border-color: transparent transparent transparent #235789;
}
/* Íconos sociales en línea */
.social-custom a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #235789;
    color: #fff;
    font-size: 1.1rem;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}
.social-custom a:hover {
    background: #193a5e;
    color: #fff;
}
.social-custom {
    display: flex;
    gap: 1rem;
    padding-left: 0;
    list-style: none;
}
.social-custom li {
    display: flex;
    align-items: center;
}
/* Estilos del carrusel corregidos para evitar scroll horizontal */
header {
    position: relative;
    width: 100%;
    min-height: 60vh;
    padding: 0;
    background: #0d6efd;
    overflow: hidden;
}

#myCarousel {
    width: 100%;
    min-height: 80vh;
}
.carousel-inner, .carousel-item, .carousel-item svg {
    width: 100%;
    min-height: 80vh;
    height: 80vh;
}

.carousel-caption {
    bottom: 20%;
}
/* Fin del carrusel */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

h1, h2 {
    font-weight: 700;
}

footer {
    margin-top: 2rem;
}
