
/* =====================================================
   FOOTER SISTEMAS MARMOTAS
   Diseño corporativo moderno
===================================================== */


/* =====================================================
   VARIABLES
===================================================== */

:root {

    --marmotas-blue: #0866e8;
    --marmotas-blue-light: #2d83f6;
    --marmotas-navy: #09234b;

    --marmotas-text: #18345d;
    --marmotas-muted: #61799f;

    --marmotas-bg: #f4f6fb;
    --marmotas-white: #ffffff;

    --marmotas-border: #dce5f2;

}


/* =====================================================
   CONTENEDOR GENERAL
===================================================== */

#footer.footer-marmotas {

    position: relative;

    width: 100%;

    background: var(--marmotas-navy);

    color: var(--marmotas-text);

    font-family: "Montserrat", sans-serif;

    font-size: 14px;

    overflow: hidden;

}


/* =====================================================
   FOOTER PRINCIPAL
===================================================== */

#footer .footer-main {

    position: relative;

    background:

        radial-gradient(
            circle at 90% 40%,
            rgba(8, 102, 232, 0.055),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #f8f9fd 0%,
            #eef2f9 100%
        );

    padding: 65px 0 55px;

    overflow: hidden;

}


/* =====================================================
   MARCA DE AGUA
===================================================== */

#footer .footer-main::after {

    content: "";

    position: absolute;

    right: -100px;

    bottom: -120px;

    width: 420px;

    height: 500px;

    background-image: url("img/marm.png");

    background-repeat: no-repeat;

    background-position: center;

    background-size: contain;

    opacity: 0.055;

    pointer-events: none;

    z-index: 0;

}


/* =====================================================
   CONTENEDOR CENTRAL
===================================================== */

#footer .footer-container {

    width: 100%;

    max-width: 1450px;

    margin: 0 auto;

    padding: 0 40px;

    position: relative;

    z-index: 1;

}


/* =====================================================
   GRID DE COLUMNAS
===================================================== */

#footer .footer-grid {

    display: grid;

    grid-template-columns:

        minmax(0, 0.9fr)

        minmax(0, 1fr)

        minmax(0, 1.45fr);

    gap: 65px;

    align-items: start;

}


/* =====================================================
   COLUMNAS
===================================================== */

#footer .footer-column {

    min-width: 0;

    position: relative;

}


/* =====================================================
   LOGOTIPO
===================================================== */

#footer .footer-logo {

    display: inline-flex;

    align-items: center;

    margin-bottom: 25px;

    transition: transform 0.3s ease;

}

#footer .footer-logo:hover {

    transform: translateY(-3px);

}

#footer .footer-logo img {

    display: block;

    width: 100%;

    max-width: 290px;

    height: auto;

    object-fit: contain;

}


/* =====================================================
   ENCABEZADOS
===================================================== */

#footer .footer-heading {

    font-family: "Montserrat", sans-serif;

    font-size: 17px;

    font-weight: 800;

    letter-spacing: 0.4px;

    line-height: 1.5;

    color: var(--marmotas-navy);

    margin: 0 0 15px;

    text-transform: uppercase;

}


/* =====================================================
   LÍNEA DECORATIVA
===================================================== */

#footer .footer-heading-line {

    width: 55px;

    height: 4px;

    background: linear-gradient(

        90deg,

        var(--marmotas-blue),

        var(--marmotas-blue-light)

    );

    border-radius: 10px;

    margin-bottom: 30px;

}


/* =====================================================
   MENÚ DE NAVEGACIÓN
===================================================== */

#footer .footer-menu {

    list-style: none;

    margin: 0;

    padding: 0;

}

#footer .footer-menu li {

    margin: 0;

    padding: 0;

}

#footer .footer-menu li a {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 9px 0;

    color: var(--marmotas-text);

    font-size: 14px;

    font-weight: 500;

    text-decoration: none;

    transition:

        color 0.3s ease,

        transform 0.3s ease;

}

#footer .footer-menu li a i {

    font-size: 17px;

    color: var(--marmotas-blue);

    transition: transform 0.3s ease;

}

#footer .footer-menu li a:hover {

    color: var(--marmotas-blue);

    transform: translateX(5px);

}

#footer .footer-menu li a:hover i {

    transform: translateX(3px);

}


/* =====================================================
   CONTACTO
===================================================== */

#footer .footer-contact-item {

    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 27px;

}


/* =====================================================
   ICONOS DE CONTACTO
===================================================== */

#footer .footer-contact-icon {

    flex: 0 0 54px;

    width: 54px;

    height: 54px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(8, 102, 232, 0.09);

    border: 1px solid rgba(8, 102, 232, 0.08);

    border-radius: 50%;

    color: var(--marmotas-blue);

    font-size: 21px;

    transition: all 0.3s ease;

}

#footer .footer-contact-item:hover .footer-contact-icon {

    background: var(--marmotas-blue);

    color: var(--marmotas-white);

    transform: translateY(-2px);

}


/* =====================================================
   INFORMACIÓN DE CONTACTO
===================================================== */

#footer .footer-contact-info {

    display: flex;

    flex-direction: column;

    gap: 6px;

    min-width: 0;

}

#footer .footer-contact-label {

    display: block;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    color: var(--marmotas-muted);

    text-transform: uppercase;

}

#footer .footer-contact-info a {

    color: var(--marmotas-navy);

    font-size: 15px;

    font-weight: 600;

    text-decoration: none;

    overflow-wrap: anywhere;

    transition: color 0.3s ease;

}

#footer .footer-contact-info a:hover {

    color: var(--marmotas-blue);

}


/* =====================================================
   REDES SOCIALES
===================================================== */

#footer .footer-social-section {

    margin-top: 35px;

}

#footer .footer-social-section .footer-contact-label {

    margin-bottom: 15px;

}


#footer .footer-social-links {

    display: flex;

    align-items: center;

    gap: 12px;

}


#footer .footer-social-links a {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 43px;

    height: 43px;

    border-radius: 50%;

    background: var(--marmotas-blue);

    color: var(--marmotas-white);

    font-size: 19px;

    text-decoration: none;

    box-shadow: 0 5px 15px rgba(8, 102, 232, 0.15);

    transition: all 0.3s ease;

}


#footer .footer-social-links a:hover {

    background: var(--marmotas-navy);

    transform: translateY(-4px);

    box-shadow: 0 8px 20px rgba(9, 35, 75, 0.2);

}


/* =====================================================
   ESLOGAN
===================================================== */

#footer .footer-tagline {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-top: 35px;

    padding-top: 20px;

    border-top: 1px solid var(--marmotas-border);

}


#footer .footer-tagline > span {

    display: block;

    width: 4px;

    height: 35px;

    background: var(--marmotas-blue);

    border-radius: 10px;

}


#footer .footer-tagline p {

    margin: 0;

    color: var(--marmotas-muted);

    font-size: 13px;

    font-weight: 500;

    line-height: 1.8;

}


#footer .footer-tagline b {

    color: var(--marmotas-blue);

    margin: 0 5px;

}


/* =====================================================
   FORMULARIO
===================================================== */

#footer .footer-contact-form {

    display: flex;

    flex-direction: column;

    gap: 13px;

    width: 100%;

}


#footer .footer-form-row {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;

}


/* =====================================================
   CAMPOS DEL FORMULARIO
===================================================== */

#footer .footer-input-group {

    position: relative;

    display: flex;

    align-items: center;

    width: 100%;

    min-width: 0;

    background: rgba(255, 255, 255, 0.88);

    border: 1px solid var(--marmotas-border);

    border-radius: 30px;

    box-shadow: 0 4px 15px rgba(18, 54, 100, 0.035);

    transition:

        border-color 0.3s ease,

        box-shadow 0.3s ease,

        background 0.3s ease;

}


#footer .footer-input-group:focus-within {

    background: var(--marmotas-white);

    border-color: var(--marmotas-blue);

    box-shadow: 0 0 0 3px rgba(8, 102, 232, 0.08);

}


#footer .footer-input-group > i {

    position: absolute;

    left: 19px;

    top: 50%;

    transform: translateY(-50%);

    font-size: 16px;

    color: var(--marmotas-muted);

    pointer-events: none;

}


#footer .footer-input-group input,

#footer .footer-input-group textarea {

    display: block;

    width: 100%;

    min-width: 0;

    margin: 0;

    padding: 14px 18px 14px 48px;

    border: none;

    outline: none;

    background: transparent;

    color: var(--marmotas-navy);

    font-family: inherit;

    font-size: 13px;

    font-weight: 500;

    box-shadow: none;

}


#footer .footer-input-group input {

    height: 49px;

}


#footer .footer-input-group input::placeholder,

#footer .footer-input-group textarea::placeholder {

    color: #7b8ba7;

    opacity: 1;

}


#footer .footer-input-group input:focus,

#footer .footer-input-group textarea:focus {

    outline: none;

    box-shadow: none;

}


/* =====================================================
   CAMPO DE MENSAJE
===================================================== */

#footer .footer-message-group {

    align-items: flex-start;

    border-radius: 22px;

}


#footer .footer-message-group > i {

    top: 23px;

    transform: none;

}


#footer .footer-message-group textarea {

    min-height: 85px;

    max-height: 180px;

    resize: vertical;

    line-height: 1.6;

}


/* =====================================================
   RECAPTCHA
===================================================== */

#footer .footer-recaptcha {

    width: 100%;

    margin-top: 2px;

    overflow: hidden;

}


#footer .footer-recaptcha .g-recaptcha {

    max-width: 100%;

}


/* =====================================================
   BOTÓN ENVIAR
===================================================== */

#footer .footer-submit {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    width: 100%;

    min-height: 54px;

    margin-top: 3px;

    padding: 14px 25px;

    border: none;

    border-radius: 35px;

    background: linear-gradient(

        110deg,

        #0866e8,

        #0755cb

    );

    color: var(--marmotas-white);

    font-family: inherit;

    font-size: 15px;

    font-weight: 700;

    letter-spacing: 0.3px;

    cursor: pointer;

    box-shadow: 0 8px 20px rgba(8, 102, 232, 0.18);

    transition: all 0.3s ease;

}


#footer .footer-submit i {

    font-size: 16px;

}


#footer .footer-submit:hover {

    background: linear-gradient(

        110deg,

        #0755cb,

        #09234b

    );

    transform: translateY(-2px);

    box-shadow: 0 12px 25px rgba(8, 102, 232, 0.25);

}


#footer .footer-submit:active {

    transform: translateY(0);

}


/* =====================================================
   BARRA INFERIOR
===================================================== */

#footer .footer-bottom {

    position: relative;

    background: linear-gradient(

        110deg,

        #071d3e,

        #0a2a58

    );

    border-top: 4px solid var(--marmotas-blue);

}


#footer .footer-bottom-container {

    max-width: 1450px;

    margin: 0 auto;

    padding: 25px 40px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

}


/* =====================================================
   IDENTIDAD INFERIOR
===================================================== */

#footer .footer-bottom-brand {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 20px;

}


#footer .footer-bottom-name {

    color: var(--marmotas-white);

    font-size: 15px;

    font-weight: 800;

    letter-spacing: 2px;

}


#footer .footer-bottom-divider {

    display: block;

    width: 1px;

    height: 30px;

    background: rgba(255, 255, 255, 0.4);

}


#footer .footer-bottom-brand p {

    margin: 0;

    color: #d0def2;

    font-size: 13px;

    font-weight: 400;

    font-style: italic;

}


/* =====================================================
   COPYRIGHT
===================================================== */

#footer .footer-bottom-copy {

    color: #c7d5e9;

    font-size: 12px;

    line-height: 1.8;

    text-align: right;

}


/* =====================================================
   TABLETS
===================================================== */

@media (max-width: 1100px) {

    #footer .footer-container {

        padding: 0 30px;

    }

    #footer .footer-grid {

        grid-template-columns:

            minmax(0, 1fr)

            minmax(0, 1fr);

        gap: 45px;

    }

    #footer .footer-form-column {

        grid-column: 1 / -1;

        max-width: 650px;

        width: 100%;

    }

    #footer .footer-logo img {

        max-width: 260px;

    }

    #footer .footer-bottom-container {

        padding: 25px 30px;

    }

}


/* =====================================================
   MÓVILES
===================================================== */

@media (max-width: 767px) {

    #footer .footer-main {

        padding: 45px 0 40px;

    }

    #footer .footer-container {

        padding: 0 22px;

    }

    #footer .footer-grid {

        grid-template-columns: 1fr;

        gap: 40px;

    }

    #footer .footer-column {

        width: 100%;

    }

    #footer .footer-form-column {

        grid-column: auto;

        max-width: 100%;

    }

    #footer .footer-logo {

        margin-bottom: 20px;

    }

    #footer .footer-logo img {

        max-width: 250px;

    }

    #footer .footer-heading {

        font-size: 16px;

    }

    #footer .footer-heading-line {

        margin-bottom: 23px;

    }

    #footer .footer-contact-item {

        gap: 14px;

        margin-bottom: 22px;

    }

    #footer .footer-contact-icon {

        flex-basis: 48px;

        width: 48px;

        height: 48px;

        font-size: 19px;

    }

    #footer .footer-contact-info a {

        font-size: 14px;

    }

    #footer .footer-form-row {

        grid-template-columns: 1fr;

        gap: 13px;

    }

    #footer .footer-bottom-container {

        flex-direction: column;

        align-items: flex-start;

        gap: 18px;

        padding: 25px 22px;

    }

    #footer .footer-bottom-brand {

        gap: 12px;

    }

    #footer .footer-bottom-name {

        font-size: 13px;

        letter-spacing: 1.5px;

    }

    #footer .footer-bottom-divider {

        display: none;

    }

    #footer .footer-bottom-brand p {

        width: 100%;

        font-size: 12px;

    }

    #footer .footer-bottom-copy {

        text-align: left;

        font-size: 11px;

    }

    #footer .footer-main::after {

        width: 250px;

        height: 300px;

        right: -90px;

        bottom: -80px;

        opacity: 0.04;

    }

}


/* =====================================================
   MÓVILES PEQUEÑOS
===================================================== */

@media (max-width: 400px) {

    #footer .footer-container {

        padding: 0 16px;

    }

    #footer .footer-bottom-container {

        padding: 22px 16px;

    }

    #footer .footer-heading {

        font-size: 15px;

    }

    #footer .footer-contact-info a {

        font-size: 13px;

    }

    #footer .footer-input-group input,

    #footer .footer-input-group textarea {

        font-size: 12px;

    }

}
