@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}
/*:::::Pie de Pagina*/

.pie-pagina{
    width: 100%;
    background-color: #334155;
}
.pie-pagina .grupo-1{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap:50px;
    padding: 45px 0px;
}
.pie-pagina .grupo-1 .box figure{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pie-pagina .grupo-1 .box figure img{
    width: 250px;
}
.pie-pagina .grupo-1 .box h2{
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 20px;
}
.pie-pagina .grupo-1 .box p{
    color: #efefef;
    margin-bottom: 10px;
}
.pie-pagina .grupo-1 .red-social a{
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    color: #fff;
    margin-right: 10px;
    background-color: #0d2033;
    text-align: center;
    transition: all 300ms ease;
}
.pie-pagina .grupo-1 .red-social a:hover{
    color: aqua;
}
.pie-pagina .grupo-2{
    background-color: #0a1a2a;
    padding: 15px 10px;
    text-align: center;
    color: #fff;
}
.pie-pagina .grupo-2 small{
    font-size: 15px;
}
@media screen and (max-width:800px){
    .pie-pagina .grupo-1{
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        grid-gap:30px;
        padding: 35px 0px;
    }
}
/*=== FORZAR COLORES DEL LOGO ===*/
.navbar-brand {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #2427db !important; /* Negro */
}

.navbar-brand span,
.navbar-brand .text-primary {
    color: #15151b !important; /* Morado */
}
/* ==== FIX PARA QUE LOS ÍCONOS SÍ SE PUEDAN CLICKEAR ==== */
.sosmed-button a, 
.sosmed-button span {
    pointer-events: auto !important;
    z-index: 9999 !important;
    position: relative;
}
/* ==== NUEVO DISEÑO DE ÍCONOS (REDONDOS + ANIMADOS) ==== */
.pie-pagina .grupo-1 .red-social a {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 55px;
    background-color: #0d2033;  /* Azul corporativo */
    border-radius: 50%;  /* ICONO REDONDO */
    font-size: 24px;
    color: #ffffff;
    margin-right: 12px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Animación al pasar el mouse */
.pie-pagina .grupo-1 .red-social a:hover {
    transform: translateY(-6px) scale(1.12); /* SUBE + CRECE */
    background-color: #1d4ed8; /* Azul más vivo */
    color: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}
.titulo-redes {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    position: relative;
    margin-bottom: 20px;
    display: inline-block;
}

.titulo-redes::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 3px;
    background-color: #1d4ed8; /* Azul corporativo */
    transition: width 0.4s ease;
}

.titulo-redes:hover::after {
    width: 100%;
}
.menu {
    position: relative;
    width: 100%;
    padding: 15px 40px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.header {
    background-color: #fafafa;
    padding: 40px 0 60px 0;
    min-height: auto;
    display: flex;
    align-items: center;
}
/* -------------------------
   SERVICIOS GTR PROFESIONALES
-------------------------- */

.servicios {
    padding: 80px 20px;
    text-align: center;
}

.servicios h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #222;
}

/* GRID */
.servicios-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}

/* TARJETAS */
.servicio-1 {
    background: #fff;
    padding: 30px 25px;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.09);
    text-align: center;
    transition: all .35s ease;
    cursor: pointer;

    /* Animación de entrada */
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp .8s ease forwards;
}

/* ÍCONO EN CÍRCULO */
.servicio-1 i {
    font-size: 48px;
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    color: #fff;
    padding: 22px;
    border-radius: 50%;
    margin-bottom: 18px;
    transition: .35s;
}

/* TÍTULO */
.servicio-1 h3 {
    font-size: 20px;
    margin-top: 15px;
    font-weight: 600;
    color: #111;
}

/* HOVER EFECTO */
.servicio-1:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.servicio-1:hover i {
    background: linear-gradient(135deg, #002171, #0d47a1);
    transform: scale(1.15);
}

/* Animación */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación escalonada */
.servicio-1:nth-child(1) { animation-delay: .1s; }
.servicio-1:nth-child(2) { animation-delay: .25s; }
.servicio-1:nth-child(3) { animation-delay: .4s; }
.servicio-1:nth-child(4) { animation-delay: .55s; }
