/*==================================================
    MÁSXMENOS ARGENTINA - style.css
==================================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*=========================
    VARIABLES
=========================*/

:root {
    --azul: #0B2A63;
    --azul-hover: #154DA6;
    --celeste: #2E8BFF;
    --celeste-claro: #EAF4FF;
    --gris: #0B2A63;
    --gris-claro: #F5F7FA;
    --blanco: #FFFFFF;
    --radio: 22px;
    --sombra: 0 10px 35px rgba(0,0,0,.08);
}

/*=========================
    RESET & BASE
=========================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #FFFFFF;
    color: #222;
    padding-top: 85px; /* Compensación base para el header alto */
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

section {
    padding: 30px 0;
}

/*=========================
    HEADER Y LOGO
=========================*/

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #081C45;
    z-index: 9999;
    transition: .35s;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

.navbar {
    min-height: 95px;
    margin-left: 190px;
}

.logo {
    height: 120px;
    width: auto;
    transition: .3s;
    margin-left: 20px;
}

.logo:hover {
    transform: scale(1.03);
}

.navbar-nav {
    gap: 18px;
}

.nav-link {
    font-size: 20px;
    color: #FFFFFF !important;
    font-weight: 500;
    position: relative;
    transition: .30s;
    padding: 10px 5px !important;
}

.nav-link:hover {
    color: var(--celeste) !important;
}

.nav-link.active {
    color: #FFFFFF !important;
    font-weight: 600;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    border-radius: 50px;
    background: var(--celeste);
}

/*==================================================
    HERO & SLIDER
==================================================*/

main {
    padding-top: 0;
}

#image-slider, 
.hero, 
.contacto-hero {
    margin-top: 30px !important;
}

.hero {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff, #f6faff);
    overflow: hidden;
}

.badge-hero {
    display: inline-block;
    background: #EAF4FF;
    color: var(--azul);
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero-title {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--azul);
}

.hero-title span {
    color: var(--celeste);
}

.hero-text {
    margin: 30px 0;
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    margin-bottom: 45px;
}

.btn-principal {
    background: var(--azul);
    color: #fff;
    border-radius: 50px;
    padding: 15px 35px;
    font-weight: 600;
}

.btn-principal:hover {
    background: var(--celeste);
    color: #fff;
}

.btn-secundario {
    border: 2px solid var(--azul);
    color: var(--azul);
    border-radius: 50px;
    padding: 15px 35px;
    font-weight: 600;
}

.btn-secundario:hover {
    background: var(--azul);
    color: #fff;
}

.hero-image {
    position: relative;
    text-align: center;
}

/* Redondeo de bordes en imágenes Hero */
.hero-image img,
.contacto-hero img {
    width: 100%;
    max-width: 520px;
    border-radius: 24px !important;
    overflow: hidden;
    margin: 0 auto;
}

.floating-card {
    position: absolute;
    right: -10px;
    bottom: 40px;
    width: 300px;
    background: #fff;
    padding: 25px;
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.floating-card .icono {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--celeste);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

.floating-card h5 {
    color: var(--azul);
    font-weight: 700;
}

.floating-card p {
    margin: 8px 0 0;
    color: #666;
    font-size: 14px;
}

#image-slider .carousel-item img {
    display: block;
    width: 100%;
    overflow: hidden;
}

/*==================================================
    CONTACTO HERO
==================================================*/

.contacto-hero {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #ffffff, #f3f9ff);
}

.contacto-hero h1 {
    font-size: 58px;
    font-weight: 800;
    color: #0B2A63;
    margin-bottom: 25px;
}

.contacto-hero p {
    font-size: 19px;
    line-height: 1.9;
    color: #64748B;
}

/*==================================================
    SERVICIOS
==================================================*/

.servicios {
    background: #F7FAFF;
}

.subtitulo {
    display: inline-block;
    background: #EAF4FF;
    color: var(--celeste);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 20px;
}

.titulo-seccion {
    font-size: 42px;
    font-weight: 700;
    color: var(--azul);
    margin-bottom: 20px;
}

.descripcion-seccion {
    max-width: 700px;
    margin: auto;
    color: #666;
    font-size: 18px;
    line-height: 1.7;
}

.card-servicio {
    background: #FFF;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
    transition: .35s;
    height: 100%;
    max-width: 360px;
}

.card-servicio:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0,0,0,.12);
}

.imagen-servicio {
    height: 200px;
    overflow: hidden;
}

.imagen-servicio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
    object-position: center 10%;
}

.card-servicio:hover img {
    transform: scale(1.08);
}

.contenido-servicio {
    padding: 20px;
}

.icono-servicio {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--celeste);
    color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    margin-bottom: 12px;
}

.contenido-servicio h3 {
    color: var(--azul);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
}

.contenido-servicio p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-servicio {
    color: var(--azul);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: .3s;
}

.btn-servicio:hover {
    color: var(--celeste);
    gap: 16px;
}

/*==================================================
    BENEFICIOS & ESTADÍSTICAS
==================================================*/

.beneficios {
    padding: 100px 0;
    background: linear-gradient(135deg,#0B2A63,#154DA6);
    color: #fff;
}

.badge-beneficios {
    display: inline-block;
    background: rgba(255,255,255,.15);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-weight: 600;
}

.beneficios h2 {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
}

.beneficios p {
    font-size: 18px;
    line-height: 1.8;
    opacity: .9;
}

.lista-beneficios {
    margin: 40px 0;
}

.item-beneficio {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 18px;
}

.item-beneficio i {
    color: #57C4FF;
    font-size: 22px;
}

.btn-beneficios {
    display: inline-block;
    background: #fff;
    color: #0B2A63;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    transition: .3s;
}

.btn-beneficios:hover {
    background: #2E8BFF;
    color: #fff;
}

.panel-estadisticas {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 25px;
}

.estadistica {
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transition: .3s;
}

.estadistica:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,.18);
}

.estadistica h3 {
    font-size: 48px;
    font-weight: 800;
    color: #57C4FF;
    margin-bottom: 12px;
}

.estadistica p {
    margin: 0;
    font-size: 17px;
}

/*==================================================
    NOSOTROS, MISIÓN & CTA
==================================================*/

.nosotros {
    padding: 100px 0;
    background: #ffffff;
}

.nosotros h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--azul);
    line-height: 1.2;
    margin-bottom: 25px;
}

.nosotros p {
    color: #6b7280;
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 35px;
}

.nosotros img {
    border-radius: 35px;
    box-shadow: 0 25px 60px rgba(0,0,0,.12);
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}

.check-list div {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 500;
    color: #334155;
}

.check-list i {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #EAF4FF;
    color: var(--celeste);
    font-size: 18px;
}

.mision {
    padding: 90px 0;
    background: #F8FBFF;
}

.card-mision {
    background: #FFF;
    padding: 45px 35px;
    border-radius: 30px;
    text-align: center;
    height: 100%;
    transition: .35s;
    box-shadow: 0 15px 35px rgba(0,0,0,.06);
}

.card-mision:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 55px rgba(0,0,0,.12);
}

.card-mision i {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--celeste),var(--azul));
    color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    margin: auto auto 25px;
}

.card-mision h3 {
    color: var(--azul);
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}

.card-mision p {
    color: #6b7280;
    line-height: 1.8;
    margin: 0;
}

.cta {
    padding: 100px 0;
    background: #F8FBFF;
    text-align: center;
}

.cta h2 {
    color: var(--azul);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 40px;
    color: #6b7280;
    font-size: 18px;
    line-height: 1.8;
}

.btn-cta {
    display: inline-block;
    padding: 18px 42px;
    border-radius: 50px;
    background: linear-gradient(135deg,var(--celeste),var(--azul));
    color: #FFF;
    font-size: 17px;
    font-weight: 600;
    transition: .35s;
    box-shadow: 0 15px 35px rgba(46,139,255,.35);
}

.btn-cta:hover {
    color: #FFF;
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(46,139,255,.45);
}
/*==================================================
    TARJETAS DE CONTACTO & MAPA
==================================================*/

.contacto {
    padding: 60px 0 0 0 !important;
    background: #FFF;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 620px)); /* Limita el ancho máximo de las columnas */
    justify-content: center; /* Centra el grid completo en el contenedor */
    gap: 30px; /* Separación reducida entre tarjetas */
    margin-right: 80px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px; /* Padding interno más compacto */
    background: #FFF;
    border-radius: 12px;
    box-shadow: 0 12px 15px rgba(0, 0, 0, .05);
    transition: .3s;
}

.info-item:hover {
    transform: translateY(-3px);
}

.info-item i {
    width: 36px; /* Icono ajustado a tamaño reducido */
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, #2E8BFF, #0B2A63);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    font-size: 15px;
}

.info-item h5 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #000000;
}

.info-item p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 0;
    color: #000000;
}

.mapa {
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    background: transparent;
}

.mapa iframe {
    width: 100%;
    height: 500px;
    border: 0;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: 0 20px 50px rgba(11, 42, 99, .12);
}

/* RESPONSIVE PARA MÓVILES (Opcional recomendado) */
@media (max-width: 576px) {
    .info-grid {
        grid-template-columns: 1fr; /* Pasa a 1 sola columna en pantallas pequeñas */
        max-width: 320px;
        margin: 0 auto;
    }
}



/*==================================================
    FOOTER
==================================================*/

.footer {
    background: #081C45;
    color: #FFF;
    padding: 80px 0 30px;
}

.footer-logo {
    width: 220px;
    margin-bottom: 25px;
}

.footer-text {
    color: #d5def2;
    line-height: 1.8;
    margin-bottom: 30px;
}

.footer h5 {
    color: #FFF;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 14px;
}

.footer ul li a {
    color: #d5def2;
    transition: .3s;
}

.footer ul li a:hover {
    color: #57C4FF;
    padding-left: 6px;
}

.footer-contacto li {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    color: #d5def2;
}

.footer-contacto i {
    color: #57C4FF;
    width: 20px;
}

.social {
    display: flex;
    gap: 15px;
}

.social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #154DA6;
    color: #FFF;
    transition: .3s;
}

.social a:hover {
    background: #2E8BFF;
    transform: translateY(-5px);
}

.footer hr {
    border-color: rgba(255,255,255,.12);
    margin: 50px 0 25px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    color: #d5def2;
    font-size: 14px;
}

.image-slider .carousel-item img {
    width: 100%;
    height: 630px; /* Altura para escritorio */
    object-fit: cover;
}



/*==================================================
    RESPONSIVE MEDIA QUERIES
==================================================*/

/* Tableta y Laptops Pequeñas (<= 991px) */
@media (max-width: 991px) {
    body {
        padding-top: 90px;
    }

    .navbar {
        margin-left: 0 !important;
        padding: 10px 20px;
    }

    .logo {
        height: 60px !important;
        margin-left: 0 !important;
    }

    .navbar-collapse {
        margin-top: 10px;
        padding: 15px;
        background: #081C45;
        box-shadow: var(--sombra);
    }

    .hero, 
    .contacto-hero {
        text-align: center;
        padding: 60px 0 40px;
    }

    .hero-title, 
    .contacto-hero h1 {
        font-size: 42px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .floating-card {
        position: relative;
        width: 100%;
        right: 0;
        bottom: 0;
        margin-top: 25px;
    }

    .panel-estadisticas {
        margin-top: 50px;
    }

    .nosotros {
        text-align: center;
    }

    .nosotros h2 {
        font-size: 38px;
    }

    .nosotros img {
        margin-top: 50px;
    }

    .check-list {
        grid-template-columns: 1fr;
        margin-top: 35px;
    }

    .card-mision {
        margin-bottom: 30px;
    }

    .cta h2 {
        font-size: 36px;
    }

    #image-slider, 
    .hero, 
    .contacto-hero {
        margin-top: 15px !important;
    }
}

/* Móviles (<= 768px) */
@media (max-width: 768px) {
    .panel-estadisticas {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px; /* Espaciado más ajustado para móviles */
    }
    
    .estadistica {
        padding: 20px 10px; /* Reduce el relleno interno para que quepan mejor */
    }

    .estadistica h3 {
        font-size: 32px; /* Tamaño numérico adaptable */
    }


    .beneficios, 
    .footer {
        text-align: center;
    }

    .item-beneficio, 
    .footer-contacto li, 
    .footer-bottom, 
    .social {
        justify-content: center;
    }
}

/* Móviles Pequeños (<= 576px) */
@media (max-width: 576px) {
    .contacto-hero h1 {
        font-size: 30px !important;
        margin-bottom: 15px;
    }

    .contacto-hero p {
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-image img,
    .contacto-hero img,
    .contacto img {
        max-width: 80% !important;
        height: auto !important;
        border-radius: 20px !important;
    }

    #image-slider .carousel-item {
        max-height: 350px;
    }

    #image-slider .carousel-item img {
        height: 100%;
        object-fit: cover;
    }

    .mapa iframe {
        height: 350px !important;
    }

    .info-item {
        flex-direction: row !important;
        text-align: left !important;
        padding: 12px 15px !important;
    }
}

/* Quita márgenes por defecto del cuerpo y contenedor principal */
body, main {
    margin: 0 !important;
    padding: 0 !important;
}

/* Remueve cualquier espacio inferior en el header o navbar */
header, 
header .navbar {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Remueve cualquier espacio superior en la sección del carrusel */
#image-slider, 
#image-slider .carousel, 
#image-slider .carousel-inner {
    margin-top: 95px !important;
    padding-top: 0 !important;
}

/* Evita que la imagen del carrusel deje espacio de línea vertical */
#image-slider .carousel-item img {
    display: block;

    
}


.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 45px;
  right: 45px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  text-decoration: none !important;
  color: #FFF;
}


/* Contenedor general */
.whatsapp-container {
  position: fixed;
  bottom: 35px;
  right: 35px;
  z-index: 1000;
}