/* ==========================================================
   FOOTER
========================================================== */

.alvar-whatsapp-button {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #40c900;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(0,0,0,.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(15px);
    transition:
        opacity .3s ease,
        visibility .3s ease,
        background-color .25s ease,
        transform .3s ease;
}

.alvar-whatsapp-button.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.alvar-whatsapp-button svg {
    width: 26px;
    height: 26px;
    display: block;
}

.alvar-whatsapp-button.is-visible:hover {
    background: #35b000;
    color: #fff;
    transform: scale(1.08);
}

@media (max-width: 767px) {
    .alvar-whatsapp-button {
        right: 15px;
        bottom: 15px;
        width: 50px;
        height: 50px;
    }

    .alvar-whatsapp-button svg {
        width: 24px;
        height: 24px;
    }
}

.site-footer{
    background:#f6f6f6;
    color:var(--color-black);
}

.site-footer__main{
    display:grid;
    grid-template-columns:minmax(320px, 1fr) auto;
    align-items:start;
    gap:clamp(3rem, 7vw, 8rem);

    padding-top:clamp(4rem, 7vw, 7rem);
    padding-bottom:clamp(4rem, 7vw, 7rem);
    
    margin: 0 auto;
}

.site-footer__menus{
    display:grid;
    grid-template-columns:repeat(3, minmax(180px, 210px));
    gap:clamp(2rem, 3vw, 4rem);
    justify-content:end;
}

.site-footer__column{
    width:100%;
}

.site-footer__newsletter{
    max-width:420px;
}

.site-footer__title{
    margin:0 0 1.25rem;

    font-family:var(--font-primary);
    font-size:1.15rem;
    font-weight:var(--fw-semibold);
    line-height:1.3;
}

.site-footer__title.first {
        text-transform: uppercase;
        font-weight: 400;
        font-size: 1.4rem;
}

.site-footer__title.first em {
        font-weight: 500;
}

.site-footer__description{
    max-width:36ch;
    margin:0 0 2rem;

    font-size:.95rem;
    line-height:1.7;
}





.site-footer .site-footer__form {
    display: block;
    width: 100%;
    max-width: 360px;
    border: 0;
}

.site-footer .site-footer__form .wpcf7,
.site-footer .site-footer__form .wpcf7 form {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.site-footer .newsletter-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    box-sizing: border-box;
}

.site-footer .newsletter-footer > p {
    display: contents;
}

.site-footer .newsletter-footer .wpcf7-form-control-wrap {
    display: block;
    flex: 1 1 0;
    min-width: 0;
}

.site-footer .newsletter-footer input[type="email"] {
    display: block;
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    color: inherit;
    font-family: var(--font-primary);
    font-size: .95rem;
    outline: none;
    box-sizing: border-box;
}

.site-footer .newsletter-footer input[type="email"]::placeholder {
    color: #555;
    opacity: 1;
}

.site-footer .newsletter-footer input[type="submit"] {
    display: block;
    flex: 0 0 auto;
    width: auto;
    min-height: 38px;
    padding: .65rem 1.2rem;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #000;
    color: #fff;
    font-family: var(--font-primary);
    font-size: .85rem;
    font-weight: var(--fw-semibold);
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease;
}

.site-footer .newsletter-footer input[type="submit"]:hover {
    background: #9cb6c1;
    color: #000;
}

.site-footer .newsletter-footer .wpcf7-spinner {
    display: none;
}

.site-footer .newsletter-footer .wpcf7-not-valid-tip {
    font-size: 11px;
    margin-top: 5px;
}

.site-footer .site-footer__form .wpcf7-response-output {
    margin: 12px 0 0;
    padding: 10px;
    font-size: 12px;
}


.site-footer .newsletter-footer > p {
    display: contents;
}

.site-footer__social-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.site-footer__social-list a {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: inherit;
    text-decoration: none;
    font-size: 14px;
    transition: opacity .25s ease;
}

.site-footer__social-list a:hover {
    opacity: .65;
}

.site-footer__social-list svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: currentColor;
}

/* Instagram: ícono de líneas */
.site-footer__social-list a:nth-child(2) svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.site-footer__social-list span {
    line-height: 1.4;
}


.site-footer__column ul{
    margin:0;
    padding:0;
    list-style:none;
}

.site-footer__column li + li{
    margin-top:.75rem;
}

.site-footer__column a{
    color:inherit;
    font-size:.95rem;
    line-height:1.4;
    text-decoration:none;
}

.site-footer__column a:hover{
    text-decoration:underline;
    text-underline-offset:4px;
}

.site-footer__bottom{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:2rem;

    min-height:84px;
    padding-top:1.5rem;
    padding-bottom:1.5rem;

    border-top:1px solid #dedede;
    max-width: 1470px;
    margin: 0 auto;
}

.site-footer__copyright{
    margin:0;
    font-size:.85rem;
}

.site-footer__logo{
    display:block;
    justify-self:center;
}

.site-footer__logo img{
    display:block;
    width:min(150px, 18vw);
    height:auto;
}

.site-footer__payments{
    justify-self:end;

    display:flex;
    align-items:center;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:.5rem;
}

.site-footer__payments span{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-height:27px;
    padding:.25rem .5rem;

    border:1px solid #dedede;
    border-radius:3px;
    background:#fff;

    font-size:.65rem;
    font-weight:var(--fw-semibold);
    line-height:1;
}


/* Sedes en el footer inferior */

.site-footer__locations {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0;
}

.site-footer__locations a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    color: inherit;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .25s ease;
}

.site-footer__locations a + a {
    border-left: 1px solid #ccc;
}

.site-footer__locations a:hover {
    opacity: .55;
}

.site-footer__locations svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* Responsive */

@media (max-width: 768px) {
    .site-footer__locations {
        justify-content: center;
        row-gap: 12px;
    }

    .site-footer__locations a {
        padding: 0 10px;
    }
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1023px) {

    .site-footer__main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .site-footer__menus {
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
        justify-content: stretch;
        gap: 2rem;
    }

}

@media (max-width: 767px) {



}

@media (max-width: 767px) {

    .site-footer__menus {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        justify-content: stretch;
        width: 100%;
    }

    .site-footer__column[aria-labelledby="footer-social-title"] {
        grid-column: 1 / -1;
    }

}



@media (max-width:700px){

    .site-footer__main{
        grid-template-columns:1fr;
        gap:3rem;
    }

    .site-footer__newsletter{
        max-width:480px;
    }

    .site-footer__bottom{
        grid-template-columns:1fr;
        justify-items:center;
        text-align:center;
    }

    .site-footer__copyright,
    .site-footer__logo,
    .site-footer__payments{
        justify-self:center;
    }

    .site-footer__payments{
        justify-content:center;
    }

    .site-footer__logo img{
        width:145px;
    }

}

@media (max-width:480px){

    .site-footer__form{
        grid-template-columns:1fr;
        border-bottom:0;
    }

    .site-footer__form input{
        padding:0 1rem;
        border-bottom:1px solid currentColor;
    }

    .site-footer__form button{
        margin-top:.75rem;
    }
    
    .site-footer__form {
        max-width: 100%;
    }

}

@media (max-width:380px){
    .site-footer__menus {
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-content: stretch;
        width: 100%;
    }

    .site-footer__column {
        width: 100%;
        text-align: center;
    }
    .site-footer__social-list {
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
}
}