body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #ffffff;
    color: #1A2B48;
}

html,
body {
    overflow-x: hidden;
}

.colorGreen {
    color: #103e27;
}

/*NAVBAR FLOTANTE */
.navbar-wrapper {
    position: fixed;
    top: 10px;
    /* separación desde arriba */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    background: #103e27;
    /* verde oscuro */
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 0rem 1rem;
}

.navbar-brand {
    font-weight: 700;
    color: #fff !important;
    font-size: 1.3rem;
}

.navbar-brand span {
    color: #f5c518;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #f5c518 !important;
}

.nav-link.active::after {
    content: "";
    display: block;
    height: 2px;
    background-color: #f5c518;
    width: 30%;
    margin: 4px auto 0;
    border-radius: 2px;
}

.btn-contact {
    background-color: #f5c518;
    color: #103e27;
    font-weight: 600;
    border-radius: 30px;
    padding: 0.45rem 1.5rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: #ffd84d;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

main {
    margin-top: 120px;
    /* espacio para navbar flotante */
}

footer {
    background-color: #f8f9fa;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
}

@media (max-width: 992px) {
    .navbar-wrapper {
        border-radius: 25px;
        width: 95%;
        padding: 0.5rem 1rem;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Tarjeta ovalada */
.social-card {
    background-color: #fff;
    border-radius: 50px;
    padding: 30px 15px;
    height: 170px;
    width: 130px;
    margin: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* Fondo del ícono circular */
.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Hover */
.social-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.social-card:hover .icon-wrapper {
    transform: scale(1.1);
}

.message-luck {
    background-color: #ffd84d;
    color: #1A2B48;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 100%;
    white-space: nowrap;
}

/* texto desplazándose con espacio entre frases */
.message-luck .scrolling-text {
    display: inline-block;
    animation: scroll 40s linear infinite;
    padding: 12px 0;
}

/* separación entre frases */
.message-luck .scrolling-text span {
    margin-right: 6rem;
    /* ajusta más o menos espacio */
    display: inline-block;
}

/* contenedor de la imagen */
.custom-img {
    width: 500px;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.carousel-item img:hover {
    transform: scale(1.05);
    transition: transform 0.4s ease;
    cursor: zoom-in;
}

/* Flechas más pequeñas y centradas */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 35px;
    height: 35px;
    filter: invert(30%) sepia(10%) saturate(300%) hue-rotate(30deg) brightness(90%);
    transition: transform 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    transform: scale(1.15);
}

/* Asegura que las flechas no se corten */
.carousel-control-prev,
.carousel-control-next {
    width: 8%;
}

/* Responsivo */
@media (max-width: 768px) {
    .custom-img {
        width: 280px;
        height: 280px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 25px;
        height: 25px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }
}

/* === Banner informativo completo === */
.promo-banner-full {
    position: relative;
    background-color: #ffd84d;
    width: 100%;
    color: #1A2B48;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    padding: 0;
    /* sin padding */
    margin-bottom: 0;
    /* evita espacio abajo */
}

/* Centra texto y mantiene proporción */
.promo-banner-full .row {
    align-items: stretch;
    min-height: 360px;
    /* 🔽 antes 400px */
    margin-bottom: 0;
    /* evita margen residual */
}

/* Columna de texto */
.promo-banner-full .col-md-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 50px;
    /* un poco menos */
}

/* Imagen pegada abajo */
.promo-img {
    position: absolute;
    bottom: 0;
    right: 8%;
    max-width: 265px;
    height: auto;
    object-fit: contain;
    z-index: 1;
    margin-bottom: -2px;
    /*elimina microespacio visual inferior */
}

/* =============================
   RESPONSIVO
============================= */
@media (max-width: 992px) {
    .promo-banner-full {
        padding: 15px 10px;
    }

    .promo-banner-full .col-md-6 {
        padding: 20px;
    }

    .promo-img {
        max-width: 230px;
    }
}

@media (max-width: 768px) {
    .promo-banner-full {
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 100vh;
    }

    .promo-banner-full .col-md-6 {
        padding: 20px;
    }

    .promo-img {
        position: relative;
        bottom: 0;
        display: block;
        width: 100%;
        max-width: 250px;
        margin: 0 auto -6px auto;
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .promo-banner-full {
        min-height: auto;
        padding-bottom: 0;
    }

    .promo-banner-full h3 {
        font-size: 1.3rem;
    }

    .promo-banner-full p {
        font-size: 0.95rem;
    }

    .promo-banner-full .promo-img {
        max-width: 240px;
        margin-bottom: -20px;
        display: block;
    }
}
