﻿
:root {
    --color-primario: #2fa4e7;
    --color-secundario: #6cc6ff;
    --color-acento: #e5097f;
    --color-oscuro: #2b2a29;
    --color-gris: #f4f8fb;
    --color-blanco: #ffffff;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--color-blanco);
    padding-top: 120px;
}

/* NAVBAR */
.navbar {
    background-color: var(--color-blanco);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

    .navbar a {
        color: var(--color-oscuro) !important;
        font-weight: 600;
    }

.logo-placeholder img {
    max-height: 90px;
    width: auto;
    max-width: 100%;
}

@media (max-width: 768px) {
    .logo-placeholder img {
        max-height: 60px;
    }
}

/* HERO */
.hero {
    background: linear-gradient(rgba(47,164,231,0.12), rgba(47,164,231,0.03));
    color: var(--color-oscuro);
    padding: 80px 20px 60px 20px;
}


.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}


.hero-text {
    flex: 1 1 55%;
}

.hero-image {
    flex: 1 1 45%;
    text-align: center;
}


    .hero-image img {
        max-width: 100%;
        width: 420px;
        border-radius: 16px;
        box-shadow: 0 8px 26px rgba(0,0,0,0.12);
    }


@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image img {
        width: 100%;
        max-width: 480px;
    }
}


.section-padding {
    padding: 70px 15px;
}

/* SECTORES */
.sector-box {
    background-color: var(--color-gris);
    padding: 30px;
    border-radius: 18px;
    height: 100%;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .sector-box:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 32px rgba(0,0,0,0.15);
    }

/* SLIDER LOGOS */
.logo-slider {
    overflow: hidden;
    width: 100%;
}

.logo-track {
    display: flex;
    width: max-content;
    animation: scroll-logos 70s linear infinite;
}

.logo-item {
    flex: 0 0 auto;
    width: 180px;
    height: 120px;
    margin: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

    .logo-item img {
        max-width: 100%;
        max-height: 90px;
        object-fit: contain;
        opacity: 0.9;
        transition: all 0.35s ease;
    }

        .logo-item img:hover {
            opacity: 1;
            transform: scale(1.08);
            filter: drop-shadow(0 6px 10px rgba(47,164,231,0.35));
        }

@keyframes scroll-logos {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* SLIDER LOGOS */
.logo-slider {
    overflow: hidden;
    width: 100%;
}

.logo-track {
    display: flex;
    width: max-content;
    animation: scroll-logos 70s linear infinite;
}

.logo-item {
    flex: 0 0 auto;
    width: 180px;
    height: 120px;
    margin: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

    .logo-item img {
        max-width: 100%;
        max-height: 90px;
        object-fit: contain;
        opacity: 0.9;
        transition: all 0.35s ease;
    }

        .logo-item img:hover {
            opacity: 1;
            transform: scale(1.08);
            filter: drop-shadow(0 6px 10px rgba(47,164,231,0.35));
        }

@keyframes scroll-logos {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* FOOTER */
footer {
    background-color: #eef4f9;
    color: var(--color-oscuro);
    padding: 50px 15px 20px 15px;
    border-top: 1px solid #d5e3ee;
}

    footer a {
        color: var(--color-primario);
        text-decoration: none;
    }

/* COOKIES */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #2b2a29;
    color: #fff;
    padding: 15px 10px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
}


    .cookie-banner a {
        color: #6cc6ff;
        text-decoration: underline;
    }


.cookie-buttons button {
    min-width: 100px;
}

.btn-primary-custom {
    background-color: var(--color-primario);
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
}

.contact-card {
    background: #f4f8fb;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    font-size: 1rem;
    color: #2b2a29;
}

    .contact-item i {
        font-size: 1.2rem;
        color: var(--color-primario);
        margin-right: 10px;
    }

.contact-card {
    margin-top: 38px;
}

.contact-img {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
}
.mpfactu-diagrama {
    width: 60%;
    max-width: 420px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    padding: 8px;
    background: #fff;
}
.form-check-input {
    margin-top: 0.25rem;
}


