.clients-section {
    padding: 60px 0;
    background: #f8f9fa;
    overflow: hidden;
}

.logo-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    width: calc(250px * 10);
    animation: scroll 25s linear infinite;
}

.logo-track img {
    width: 180px;
    height: auto;
    margin: 0 40px;
    opacity: 0.7;
    transition: 0.3s ease;
}

.logo-track img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Animación infinita */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Efecto degradado elegante en los lados */
.logo-slider::before,
.logo-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.logo-slider::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa 0%, rgba(248, 249, 250, 0) 100%);
}

.logo-slider::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa 0%, rgba(248, 249, 250, 0) 100%);
}


/*IMAGENES FLOTANTES*/
.about-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.about-section .container {
    position: relative;
    z-index: 3;
}

/* Imágenes flotantes */
.floating {
    position: absolute;
    width: 120px;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

/* Grupo derecha: 1-4 */
.floating-1 { top: 10%; right: 5%; animation-delay: 0s; }
.floating-2 { top: 30%; right: 10%; animation-delay: 1s; }
.floating-3 { top: 50%; right: 15%; animation-delay: 2s; }
.floating-4 { top: 70%; right: 20%; animation-delay: 3s; }

/* Grupo centro: 5-8 */
.floating-5 { top: 15%; left: 45%; animation-delay: 0.5s; }
.floating-6 { top: 35%; left: 50%; animation-delay: 1.5s; }
.floating-7 { top: 55%; left: 47%; animation-delay: 2.5s; }
.floating-8 { top: 75%; left: 52%; animation-delay: 3.5s; }

/* Grupo izquierda: 9-12 */
.floating-9  { top: 10%; left: 5%; animation-delay: 0s; }
.floating-10 { top: 30%; left: 10%; animation-delay: 1s; }
.floating-11 { top: 50%; left: 15%; animation-delay: 2s; }
.floating-12 { top: 70%; left: 20%; animation-delay: 3s; }

/* Animación flotante */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Animación suave */
@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10px, -20px);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* ===== SECCIÓN MODERNA ===== */
/* Espaciado más moderno */
section {
    padding: 120px 0;
}

/* Imagen con profundidad */
.modern-img {
    border-radius: 20px;
    transition: 0.5s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.modern-img:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

/* Cards modernas */
.modern-card {
    border-radius: 20px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

.modern-card:hover {
    transform: translateY(-8px);
}

/* Glow usando tu color principal */
.modern-card::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--id-color-2);
    opacity: 0.15;
    border-radius: 50%;
    top: -50px;
    right: -50px;
    transition: 0.5s ease;
}

.modern-card:hover::before {
    transform: scale(1.3);
}

/* Títulos más elegantes */
h2 {
    letter-spacing: 1px;
}

/* Responsive refinado */
@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
}

.shape {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--id-color-2);
    opacity: 0.05;
    top: 20%;
    left: -80px;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--id-color-2);
    opacity: 0.05;
    bottom: 10%;
    right: -60px;
}

.subtitle {
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
}

h2 span {
    position: relative;
}

h2 span::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 6px;
    background: var(--id-color-2);
    bottom: 5px;
    left: 0;
    z-index: -1;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .modern-card {
        padding: 25px;
    }

    h2 {
        font-size: 28px;
    }

    .modern-img {
        margin-bottom: 20px;
    }
}

/* Card estilo limpio moderno */
.light-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    transition: 0.4s ease;
}

.light-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Texto oscuro elegante */
.light-card h2 {
    color: #222;
    font-weight: 700;
}

.light-card span {
    color: #666;
    font-size: 14px;
}

/* Icono más moderno */
.light-card img {
    filter: brightness(0);
    opacity: 0.7;
}

@media (max-width: 768px) {

    .modern-img {
        border-radius: 14px;
    }

    .modern-card {
        padding: 20px !important;
    }

    .modern-card h2 {
        font-size: 22px;
    }

    .modern-card span {
        font-size: 12px;
    }

    .w-60px {
        width: 35px !important;
    }

    .ps-80 {
        padding-left: 55px !important;
    }
}

.mosaic-equal .modern-img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.mosaic-equal .light-card {
    min-height: 140px;
    display: flex;
    align-items: center;
}


.de_count {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    /* IMPORTANTE */
}

.de_count span {
    white-space: normal;
    word-break: break-word;
}

@media (max-width: 768px) {

    .de_count span {
        font-size: 13px;
        line-height: 1.15;
        letter-spacing: 0;
        word-spacing: normal;
    }

}

@media (max-width: 768px) {

    .ps-80 {
        padding-left: 50px !important;
    }

    .modern-card {
        padding: 18px !important;
    }

}

.stat-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.1;
    color: #555;
}

.modern-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--id-color-2);
    position: relative;
    padding: 8px 20px;
}

/* Línea decorativa moderna */
.modern-subtitle::before,
.modern-subtitle::after {
    content: "";
    position: absolute;
    height: 2px;
    width: 40px;
    background: var(--id-color-2);
    top: 50%;
    transform: translateY(-50%);
}

.modern-subtitle::before {
    left: -50px;
}

.modern-subtitle::after {
    right: -50px;
}

.subtitle {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1.5px;
}

/* CARD MODERNA */
.about-card {
    background: var(--background);
    padding: 20px 22px;
    /* antes 40px */
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.08);
}

/* Detalle decorativo con tu naranja */
.about-card::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(var(--primary-color-rgb), 0.15);
    border-radius: 50%;
    top: -40px;
    right: -40px;
}

/* SUBTITLE */
.modern-subtitle {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
}

/* TEXTO */
.about-text {
    color: var(--body-font-color);
    line-height: 1.7;
    text-align: justify;
    margin: 0 auto;
    max-width: 500px;
}

.about-card {
    border-left: 5px solid var(--primary-color);
}

@media (max-width: 768px) {
    .about-card {
        padding: 25px;
    }

    .about-text {
        text-align: left;
    }
}

/*------- CONTENEDOR DEL TÍTULO ------*/
.section-heading {
    margin-bottom: 0px;
}

/* TÍTULO PRINCIPAL */
.main-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--title-font-color);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

/* 📱 Móviles grandes */
@media (max-width: 768px) {
    .main-title {
        font-size: 24px !important;
        line-height: 1.3;
    }
}

/* 📱 Móviles pequeños */
@media (max-width: 480px) {
    .main-title {
        font-size: 20px !important;
        line-height: 1.4;
        letter-spacing: 0.5px;
    }
}

.main-title {
    font-size: clamp(20px, 5vw, 42px);
}

/* TEXTO DESTACADO */
.main-title .highlight {
    color: var(--primary-color);
    position: relative;
}

/* Línea decorativa elegante debajo */
.main-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 18px auto 0;
    border-radius: 3px;
}

.main-title .highlight {
    background: linear-gradient(to top,
            rgba(var(--primary-color-rgb), 0.3) 40%,
            transparent 40%);
}

.main-title {
    font-size: 48px;
    font-weight: 800;
}

.main-title .highlight {
    color: var(--primary-color);
    text-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.3);
}

/*------- FIN CONTENEDOR DEL TÍTULO ------*/

/* TARJETAS MODERNAS */

.bg-color {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}

.bg-color:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}


/* IMAGEN CUADRADA */

.image-square {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}


/* FONDO PIXELEADO */

.image-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(15px);
    transform: scale(1.2);
    opacity: 0.6;
}


/* IMAGEN PRINCIPAL */

.image-square img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
}


/* TEXTO TARJETA */

.bg-color p {
    font-size: 15px;
    line-height: 1.6;
    color: #ddd;
}

/* -----------FIN TARJETAS MODERNAS --------------*/

@media(max-width:768px) {

    .bg-color p {
        font-size: 13px;
    }

    .bg-color h4 {
        font-size: 16px;
    }

}

.text-light {
    color: var(--text-light);
}

/* BOTÓN WHATSAPP GLASS */
.btn-whatsapp-glass {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    color: #fff;

    background: rgba(37, 211, 102, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);

    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-glass i {
    font-size: 18px;
}

/* Hover elegante */
.btn-whatsapp-glass:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.45);
}

/* BOTÓN FLOTANTE */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 50px;
    width: 70px;
    height: 70px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    text-decoration: none;
    z-index: 9999;

    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulseWhatsapp 2s infinite;
}

/* Hover */
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}
/* Solo en PC */
@media (min-width: 992px){

.whatsapp-float{
    bottom: 80px!important; /* Más arriba */
}

}
/* Animación pulsante elegante */
@keyframes pulseWhatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {

    .btn-whatsapp-glass {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }

    .whatsapp-float {
        width: 65px;
        height: 65px;
        font-size: 22px;
        bottom: 30px;
        right: 30px;
    }
}

#section-intro h1 {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 1px;
}

.swiper-inner {
    position: relative;
}

.swiper-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.6) 40%,
            rgba(0, 0, 0, 0.2) 70%,
            transparent 100%);
}

/* Asegura que el contenido esté encima */
.swiper-inner>* {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {

    .swiper-inner {
        background-position: center center !important;
        background-size: cover !important;
    }

}

@media (max-width: 768px) {

    #section-intro {
        min-height: 60vh;
    }

    .swiper,
    .swiper-slide,
    .swiper-inner {
        height: 70vh !important;
    }

}

@media (max-width: 768px) {

    #section-intro {
        height: 50vh;
        min-height: 50vh;
    }

    #section-intro .v-center {
        min-height: 50vh !important;
        height: 50vh !important;
    }

    #section-intro .swiper,
    #section-intro .swiper-slide,
    #section-intro .swiper-inner {
        height: 50vh !important;
    }

}

/* HERO RESPONSIVE */

@media (max-width: 768px) {

    #section-intro h1 {
        font-size: 28px !important;
        line-height: 1.2;
    }

    #section-intro p {
        font-size: 14px;
        max-width: 100%;
    }

}

#section-intro h1 {
    font-size: clamp(28px, 5vw, 60px);
}

#section-intro p {
    font-size: clamp(14px, 2.5vw, 18px);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-whatsapp-glass {
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* MÓVIL */
@media (max-width: 768px) {

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-whatsapp-glass {
        width: 100%;
        justify-content: center;
        font-size: 14px;
        padding: 12px;
    }


    @media (max-width: 768px) {

        #section-intro h1 {
            font-size: 28px;
            line-height: 1.2;
            text-align: center;
        }

        #section-intro p {
            font-size: 14px;
            text-align: center;
            margin: 0 auto 20px auto;
        }

    }
}

@media (max-width: 768px) {

    .slider-extra {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .slider-extra .w-130px {
        width: 90px !important;
        padding: 10px !important;
    }

    .slider-extra img {
        width: 28px !important;
    }

    .slider-extra h6 {
        font-size: 12px;
    }

}

@media (max-width: 768px) {
    .btn-whatsapp-glass {
        display: none !important;
    }
}

@media (max-width: 768px) {

    #section-intro .col-lg-8 {
        text-align: center;
        margin: 0 auto;
    }

}

.image-square {
    position: relative;
    overflow: hidden;
}

.service-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.0));
    z-index: 5;
    display: flex;
    align-items: flex-end;
}

.service-title-overlay h3 {
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
    font-family: 'Poppins', sans-serif;

    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.6),
        0 8px 20px rgba(0, 0, 0, 0.4);
}

.service-title-overlay h3::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin-top: 8px;
    border-radius: 2px;
}

.image-square:hover .service-title-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
    transition: 0.4s ease;
}

.image-square:hover h3 {
    transform: scale(1.05);
    transition: 0.4s ease;
}

@media (max-width: 768px) {
    .service-title-overlay h3 {

        font-size: 18px;
        /* antes 26px aprox */
        font-weight: 600;
        /* menos pesado */
        letter-spacing: 1px;
    }
}

.image-square:hover .service-title-overlay {
    background: linear-gradient(to top, #000000f2, rgba(0, 0, 0, 0.1));
    transition: 0.4s ease;
}

.image-square:hover h3 {
    transform: translateY(-5px);
    transition: 0.4s ease;
}

@media (max-width: 768px) {
    .service-title-overlay h3 {
        font-size: 18px;
    }
}

/*TARJETA EN HORIZONTAL SOLO EN CELULAR*/
@media (max-width: 768px) {

    .col-6 {
        width: 100% !important;
    }

    .bg-color {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }

    .image-square {
        width: 45%;
        height: auto;
    }

    .image-square img,
    .image-square .image-bg {
        height: 100%;
        object-fit: cover;
    }

    .bg-color .p-4 {
        width: 55%;
        padding: 20px !important;
        display: flex;
        align-items: center;
    }

}

@media (max-width: 768px) {

    .col-6:nth-child(even) .bg-color {
        flex-direction: row-reverse;
    }

}

@media (max-width: 768px) {

    .bg-color {
        border-radius: 15px;
        overflow: hidden;
        margin-bottom: 20px;
    }

}
.bg-color p {
    text-align: justify;
}
/*FIN TARJETA EN HORIZONTAL SOLO EN CELULAR*/

/* Letrero SOLO móvil y tablet */
@media (max-width: 992px) {

    .whatsapp-float::before {
        content: "Quiero contactarme  ";
        position: absolute;
        right: 60px; /* sale hacia la izquierda */
        top: 50%;
        transform: translateY(-50%);
        padding: 6px 11px;
        font-size: 12px;
        font-weight: 600;
        color: #25D366; /* verde WhatsApp */
        background: rgba(255, 255, 255, 0.75);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        border-radius: 20px;
        white-space: nowrap;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        opacity: 1;
        transition: 0.3s ease;
    }

}
@media (max-width: 992px) {

    .whatsapp-float::before {
        animation: slideIn 0.5s ease;
    }

}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* ===== IMAGENES ===== */

.modern-img{

border-radius:18px;

height:220px;

object-fit:cover;

box-shadow:0px 10px 25px rgba(0,0,0,0.08);

/* centrado dentro de la columna */
display:block;
margin:auto;

}



/* ===== TARJETAS ===== */

.modern-card2{

background:#fff;

border-radius:18px;

padding:22px 15px;

text-align:center;

box-shadow:0px 10px 25px rgba(0,0,0,0.08);
transition:0.3s;

height:100%;

display:flex;
flex-direction:column;
justify-content:center;
align-items:center;

}



.modern-card2:hover{

transform:translateY(-5px);

box-shadow:0px 20px 35px rgba(0,0,0,0.12);

}



.modern-card2 img{
width:45px;
margin-bottom:10px;

/* volver icono negro */
filter: brightness(0);
}



.modern-card2 span{

font-size:15px;

color:#555;

font-weight:500;

}



/* ===== MOVIL ===== */

@media(max-width:768px){

.modern-img{

height:140px;

}

.modern-card2{

padding:18px 10px;

}

.modern-card2 img{

width:38px;

}

.modern-card2 span{

font-size:14px;

}

}


logo-slider {
    overflow: hidden;
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: scrollLogos 20s linear infinite;
}

.logo-track img {
    height: 120px; /* Tamaño en PC */
    width: auto;
}

/* 📱 CELULAR */
@media (max-width: 768px) {

    .logo-track {
        gap: 20px; /* menos espacio entre logos */
    }

    .logo-track img {
        height: 70px; /* logos más pequeños */
    }

}
@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.join-label {
    display: inline-block;
    padding: 12px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #111; /* texto oscuro para contraste */
    background: var(--primary-color);
    border-radius: 50px;
    letter-spacing: 1px;
    box-shadow: 0px 6px 18px rgba(var(--primary-color-rgb),0.35);
    transition: 0.3s;
}

.join-label:hover {
    transform: translateY(-3px);
    box-shadow: 0px 10px 25px rgba(var(--primary-color-rgb),0.5);
}

/* Celular */
@media (max-width:768px){
    .join-label{
        font-size:16px;
        padding:10px 22px;
    }
}

/* Botón Llamanos */
.menu_side_area .btn-main {
    padding: 10px 22px;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* Hover → color primario y texto negro */
.menu_side_area .btn-main:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
}

/* 📱 Versión celular */
@media (max-width: 768px) {
    .menu_side_area .btn-main {
        padding: 6px 14px;
        font-size: 12px;
    }
}

/* Tamaño normal */
.responsive-img {
    height: 150px;
    width: auto;
}

/* Tamaño para pantallas pequeñas (celulares) */
@media (max-width: 768px) {
    .responsive-img {
        height: 75px; /* la mitad de 150px */
    }
}
.centered-img {
    left: 50%;              /* mover el punto de inicio al centro */
    transform: translateX(-50%); /* ajustar la imagen para que quede centrada */
    position: absolute;      /* necesario para que left y transform funcionen */
    bottom: 0;               /* sigue pegada al fondo */
    opacity: 0.3;            /* si quieres mantener la opacidad op-3 */
}
.paragraph-justify {
    text-align: justify;
}

.interlineado {
    line-height: 1.3;
}

@media (max-width: 768px) {
    /* Ajusta el texto dentro de las tarjetas */
    .modern-card2 span.interlineado {
        font-size: 12px;  /* más pequeño que en desktop */
    }

    /* Ajusta los iconos de FontAwesome */
    .modern-card2 i {
        font-size: 25px;  /* más pequeño que el original fs-40 */
    }

    /* Opcional: reduce padding/margin de la tarjeta si quieres */
    .modern-card2 {
        padding: 10px;
    }
}


/*ANIMACION DE LAS IMAGENE DE LOS LADOS*/
.scroll-section {
    position: relative;
    overflow: hidden;
}

/* Base */
.floating-img {
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    width: clamp(550px, 10vw, 750px);
    height: auto;
    pointer-events: none;
}
@media (max-width: 768px) {

    .floating-img {
        top: 10%;
        width: 150px; /* tamaño móvil */
        opacity: 0.9; /* opcional para que no moleste */
    }

}
/* Posición inicial fuera de pantalla */
.floating-left {
    left: 0;
    transform: translate(-120%, -50%);
}

.floating-right {
    right: 0;
    transform: translate(120%, -50%);
}

/*FIN DE LA ANIMACION DE LAS IMAGENE DE LOS LADOS*/

/*----MOSTRAMOS EL MAPA-----*/
.map-wrapper {
    position: relative;
    width: 80%;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
}

.map-wrapper iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

/* 🔥 Letrero flotante */
.map-label {
    position: absolute;
    top: 10px;
    left: 85%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #000;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 50px;
    font-size: 14px;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
}

/* Icono negro */
.map-label i {
    color: #000;
}

/* Hover elegante */
.map-wrapper:hover {
    transform: translateY(-5px);
}

/* 📱 Responsive */
@media (max-width: 768px) {

    .map-wrapper {
        width: 100%;
        border-radius: 20px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    }

    .map-wrapper iframe {
        height: 250px;
    }

    .map-label {
    left: 85%;
        font-size: 14px;
        padding: 4px 12px;
        top: 10px;
    }

}
/*---- FIN DE MOSTRAMOS EL MAPA-----*/