.image-box {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 25px 45px rgba(0,0,0,0.25);
}

.image-box img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.image-box:hover img {
    transform: scale(1.08);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

/*carrousel*/
/* CONTENEDOR GENERAL */
.social-wrapper {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}








/* BOTÓN FIND US */
.find-us {
    background: #12737a;
    color: #fff;
    padding: 12px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.find-us:hover {
    transform: scale(1.05);
}

/* BOTONERA */
.social-float {
    display: flex;
    flex-direction: column;
    gap: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.35s ease;
}

/* MOSTRAR AL HOVER */
.social-wrapper:hover .social-float {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* BOTÓN INDIVIDUAL */
.social-btn {
    position: relative;
    width: 52px;
    height: 52px;
    background: #000;
    border-radius: 30px;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-decoration: none;
    transition: width 0.35s ease, background 0.35s ease;
}

.social-btn img {
    width: 26px;
    margin-left: 13px;
}

.social-btn span {
    position: absolute;
    right: 15px;
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

/* EXPANSIÓN INDIVIDUAL */
.social-btn:hover {
    width: 170px;
    background: #022f7e;
}

.social-btn:hover span {
    opacity: 1;
    transform: translateX(0);
}












@media (max-width: 768px) {

    .social-wrapper {
        right: auto;
        left: 50%;
        top: auto;
        bottom: 15px;
        transform: translateX(-50%);
		width: 416px
    }

    .find-us {
        display: none;
    }

    .social-float {
/*        flex-direction: row;*/
        opacity: 1;
        pointer-events: auto;
/*        background: rgba(0,0,0,0.85);*/
        padding: 10px 14px;
/*
        border-radius: 40px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.35);
*/
    }

    .social-btn {
        width: 52px;
    }

    .social-btn:hover {
        width: 52px;
    }

    .social-btn span {
        display: none;
    }
}



/* SECTION BACKGROUND */
.why-section {
    background: linear-gradient(135deg, #f8f9fa, #eef2f7);
}

/* TITLES */
.subtitle {
    letter-spacing: 4px;
    font-size: 13px;
    color: #022f7e;
    font-weight: 700;
}

.main-title {
    font-size: 36px;
    font-weight: 700;
}

.section-desc {
    color: #666;
    margin-top: 10px;
}

/* CARDS */
.elegant-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100%;
}

.elegant-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: #022f7e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

/* LINKS */
.card-link {
    display: inline-block;
    margin-top: 15px;
    color: #022f7e;
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.card-link::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: #022f7e;
    transition: width 0.3s ease;
}

.card-link:hover::after {
    width: 100%;
}

/* CTA BANNER */
.cta-banner {
   background: url("../img/about-6.jpg") center center / cover no-repeat;
position: relative;
overflow: hidden;

    color: #fff;
    padding: 50px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.cta-banner h3 {
    margin-bottom: 10px;
}

.cta-banner {
    position: relative;
    padding: 70px 50px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    color: #fff;
}

/* Overlay oscuro elegante */
.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.55)
    );
    z-index: 1;
}

/* Mantener contenido encima */
.cta-banner > * {
    position: relative;
    z-index: 2;
}

