:root {
    --dark-bg: #0b0b1a;
    --card-dark: #171733;
    --blue-main: #3245FF;
    --pink-gradient: #e91e63;
    --white: #FFFFFF;
}

body {
    background-color: var(--dark-bg);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    padding: 1.25rem 0;
    background: rgba(11, 11, 26, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.nav-link {
    color: var(--white) !important;
    font-size: 15px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 1;
}

/* BOTONES - Sistema unificado */
.btn-pill {
    display: inline-block;
    text-decoration: none;
    border-radius: 80px;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

/* Variante: Borde degradado */
.btn-outline-pill {
    color: var(--white);
    border: 2px solid transparent;
    background-image: linear-gradient(var(--dark-bg), var(--dark-bg)), 
                      linear-gradient(90deg, var(--blue-main), var(--pink-gradient));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.btn-outline-pill:hover, .btn-gradient-pill:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Variante: Fondo degradado */
.btn-gradient-pill {
    background: linear-gradient(90deg, var(--blue-main), var(--pink-gradient));
    color: var(--white);
}

/* Variante: Glassmorphism */
.btn-hero-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-hero-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--blue-main);
}

/* Variante: Blanco */
.btn-white-pill {
    background: var(--white);
    color: var(--dark-bg);
}

/* HERO SECTION */
.hero-banner-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 160px 0px 80px 0px;
}

/* .partners-subtitle{
    font-size: 19px;
} */

.hero-center-icon {
    width: 120px;
    height: auto;
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px); /* Tamaño responsivo */
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    line-height: 1.6;
}

/* CARDS */
.solution-card {
    height: 320px;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 30px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.solution-card:hover {
    transform: translateY(-12px);
}

.info-map-section {
    background-image: url('../img/mapa.png'); /* Asegúrate que el nombre y ruta coincidan */
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.info-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
}

.stat-item h3 {
    font-size: 2rem;
    letter-spacing: -1px;
}

.stat-item p {
    letter-spacing: 1px;
    margin-top: 5px;
}

.solution-img-wrapper {
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.solution-img-wrapper:hover {
    transform: translateY(-8px);
    filter: brightness(1.1);
}

.rounded-4 {
    border-radius: 20px !important;
}

/* Espaciado extra para la sección */
.solutions-section, .services-section {
    padding: 80px 0;
    background-color: var(--dark-bg);
}

.services-section-salesforce{
    background-image: url('../../assets/img/fondo-de-papel-tapiz-colorido-borroso-vivo.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.services-section-modalidades{
    background-image: url('../../assets/img/fondo-estetico-con-efecto-de-luz-led-neon-degradado\ 1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.div-container img{
    width: 100%;
}

.contact-image-card{
    background-image: url('../../assets/img/pseudo.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* === FORMULARIO CONTACTO === */
.contact-form-card .form-control {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 6px;
    box-shadow: none;
}

/* Placeholder */
.contact-form-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Focus */
.contact-form-card .form-control:focus {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: #7b6cff; /* o tu color primario */
    color: #ffffff;
    box-shadow: 0 0 0 0.15rem rgba(123, 108, 255, 0.25);
}

/* Textarea resize opcional */
.contact-form-card textarea.form-control {
    resize: none;
}

.contact-form-card {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.05);
}

.hero-banner-container-piepagina {
    background-image: url('../../assets/img/fondopiedepagina.png');
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0px 80px 0px;
}

.partners-section {
    background-color: #0b0f19; /* opcional */
}

.partners-subtitle {
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto;
}

.partner-logo {
    max-width: 120px;
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Mobile */
@media (max-width: 576px) {
    .partner-logo {
        max-width: 100px;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .partner-logo {
        max-width: 130px;
    }
}

/* Ajuste para móviles para que el texto sea legible */
@media (max-width: 991.98px) {
    .info-map-section{
        background-position: left !important;
        padding: 50px 15px !important;
    }

    #footer .div-section-1 img{
        width: 60% !important;
    }

    #footer .div-section-1, #footer .div-section-2{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .info-text {
        margin-left: auto;
        margin-right: auto;
    }
    .stat-item {
        flex: 1;
    }
}

/* WHATSAPP BUTTON */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.6);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: white;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }
}