/* Footer d'escriptori segons Figma. La versió mòbil conserva els estils existents. */
.home-social__asset{display:none}

@media (min-width:721px){
  #effika-home .home-footer{
    padding:57px 0 28px;
    border-top:0;
    background:#fff;
  }
  #effika-home .home-footer>.home-container{
    width:min(1245px,calc(100% - 48px));
  }
  #effika-home .home-footer__top,
  #effika-home .service-detail-footer .home-footer__top{
    display:grid;
    grid-template-columns:minmax(300px,1fr) 141px 247px 157px;
    gap:67px;
    min-height:232px;
    align-items:start;
  }
  #effika-home .home-footer__brand,
  #effika-home .service-detail-footer .home-footer__brand{
    min-height:232px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    grid-column:auto;
  }
  #effika-home .home-footer__brand .home-logo img{
    display:block;
    width:158px;
    height:auto;
  }
  #effika-home .home-footer__tagline{
    margin:10px 0 0;
    color:#6265fe;
    font:500 16px/28px Montserrat,sans-serif;
    letter-spacing:-.12px;
  }
  #effika-home .home-socials{
    display:flex;
    gap:8px;
    margin-top:auto;
  }
  #effika-home .home-social{
    position:relative;
    width:39px;
    height:39px;
    padding:0;
    border:0;
    border-radius:8px;
    display:block;
    background:transparent;
    color:#6265fe!important;
    overflow:visible;
    outline:none;
  }
  #effika-home .home-social svg{display:none}
  #effika-home .home-social__asset{
    display:block;
    width:39px;
    height:39px;
    object-fit:contain;
    pointer-events:none;
  }
  #effika-home .home-social::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    border-radius:8px;
    background-position:center;
    background-repeat:no-repeat;
    background-size:39px 39px;
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease;
  }
  #effika-home .home-social--instagram::after{background-image:url('/assets/footer-instagram-hover-v67.png')}
  #effika-home .home-social--whatsapp::after{background-image:url('/assets/footer-whatsapp-hover-v67.png')}
  #effika-home .home-social--linkedin::after{background-image:url('/assets/footer-linkedin-hover-v67.png')}
  #effika-home .home-social:hover::after,
  #effika-home .home-social:focus-visible::after{opacity:1}
  #effika-home .home-social:focus-visible{outline:3px solid rgba(98,101,254,.28);outline-offset:3px}
  #effika-home .home-social--x{display:none}

  #effika-home .home-footer h3{
    margin:0 0 16px;
    color:#000;
    font:600 16px/28px Montserrat,sans-serif;
    letter-spacing:-.12px;
  }
  #effika-home .home-footer nav,
  #effika-home .home-footer__services,
  #effika-home .home-footer__contact,
  #effika-home .service-detail-footer .home-footer nav,
  #effika-home .service-detail-footer .home-footer__services,
  #effika-home .service-detail-footer .home-footer__contact{
    display:grid;
    gap:12px;
    color:#4b5563;
    font:400 18px/28px "Afacad Flux",sans-serif;
    letter-spacing:-.12px;
  }
  #effika-home .home-footer nav a,
  #effika-home .home-footer__services a,
  #effika-home .home-footer__contact a,
  #effika-home .home-footer__legal a{transition:color .2s ease}
  #effika-home .home-footer nav a:hover,
  #effika-home .home-footer__services a:hover,
  #effika-home .home-footer__contact a:hover,
  #effika-home .home-footer__legal a:hover{color:#6265fe}
  #effika-home .home-footer__bottom{
    border-top:1px solid #dfdfdf;
    margin-top:32px;
    padding-top:23px;
    display:flex;
    justify-content:space-between;
    gap:30px;
    align-items:center;
    color:#4b5563;
    font:400 14px/24px Montserrat,sans-serif;
    letter-spacing:-.08px;
  }
  #effika-home .home-footer__legal{display:flex;gap:24px}
}

@media (min-width:721px) and (max-width:1180px){
  #effika-home .home-footer__top,
  #effika-home .service-detail-footer .home-footer__top{
    grid-template-columns:minmax(250px,1fr) 125px 220px 165px;
    gap:34px;
  }
}

@media (prefers-reduced-motion:reduce){
  #effika-home .home-social::after{transition:none}
}

/* v68 — subratllat del footer d'escriptori i composició mòbil segons Figma. */
@media (min-width:721px){
  #effika-home .home-footer nav a:hover,
  #effika-home .home-footer__services a:hover,
  #effika-home .home-footer__contact a:hover,
  #effika-home .home-footer__contact span:hover,
  #effika-home .home-footer__legal a:hover{
    text-decoration:underline;
    text-decoration-thickness:1px;
    text-underline-offset:3px;
  }
}

@media (max-width:720px){
  #effika-home .home-footer{
    padding:40px 0 28px!important;
    border-top:0!important;
    background:#fff!important;
  }
  #effika-home .home-footer>.home-container{
    width:100%!important;
    max-width:none!important;
    padding:0 20px!important;
    margin:0!important;
  }
  #effika-home .home-footer__top,
  #effika-home .service-detail-footer .home-footer__top{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 157px!important;
    grid-template-rows:auto auto minmax(112px,1fr)!important;
    column-gap:10px!important;
    row-gap:0!important;
    min-height:232px!important;
    align-items:start!important;
  }
  #effika-home .home-footer__brand,
  #effika-home .service-detail-footer .home-footer__brand{
    display:contents!important;
  }
  #effika-home .home-footer__brand .home-logo{
    grid-column:1/-1!important;
    grid-row:1!important;
    justify-self:start!important;
  }
  #effika-home .home-footer__brand .home-logo img{
    display:block!important;
    width:145px!important;
    height:auto!important;
  }
  #effika-home .home-footer__tagline{
    grid-column:1/-1!important;
    grid-row:2!important;
    margin:9px 0 0!important;
    color:#6265fe!important;
    font:500 14.7px/25.8px Montserrat,sans-serif!important;
    letter-spacing:-.11px!important;
  }
  #effika-home .home-footer__effika-column,
  #effika-home .home-footer__services-column{
    display:none!important;
  }
  #effika-home .home-socials{
    grid-column:1!important;
    grid-row:3!important;
    align-self:end!important;
    justify-self:start!important;
    display:flex!important;
    gap:8px!important;
    margin:0!important;
  }
  #effika-home .home-social{
    position:relative!important;
    display:block!important;
    width:39px!important;
    height:39px!important;
    padding:0!important;
    border:0!important;
    border-radius:8px!important;
    background:transparent!important;
    color:#6265fe!important;
    overflow:visible!important;
    -webkit-tap-highlight-color:transparent!important;
    touch-action:manipulation!important;
  }
  #effika-home .home-social svg{display:none!important}
  #effika-home .home-social__asset{
    display:block!important;
    width:39px!important;
    height:39px!important;
    object-fit:contain!important;
    pointer-events:none!important;
  }
  #effika-home .home-social::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    border-radius:8px;
    background-position:center;
    background-repeat:no-repeat;
    background-size:39px 39px;
    opacity:0;
    pointer-events:none;
    transition:opacity .08s linear;
  }
  #effika-home .home-social--instagram::after{background-image:url('/assets/footer-instagram-hover-v67.png')}
  #effika-home .home-social--whatsapp::after{background-image:url('/assets/footer-whatsapp-hover-v67.png')}
  #effika-home .home-social--linkedin::after{background-image:url('/assets/footer-linkedin-hover-v67.png')}
  #effika-home .home-social:hover::after,
  #effika-home .home-social:focus::after{opacity:0!important}
  #effika-home .home-social:active::after{opacity:1!important}
  #effika-home .home-social--x{display:none!important}

  #effika-home .home-footer__contact-column{
    grid-column:2!important;
    grid-row:3!important;
    align-self:end!important;
    justify-self:end!important;
    display:block!important;
    text-align:right!important;
  }
  #effika-home .home-footer__contact-column>h3{display:none!important}
  #effika-home .home-footer__contact{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-end!important;
    gap:0!important;
    color:#4b5563!important;
    font:400 14px/28px "Afacad Flux",sans-serif!important;
    letter-spacing:-.12px!important;
    white-space:nowrap!important;
  }
  #effika-home .home-footer__contact a:hover,
  #effika-home .home-footer__contact span:hover{
    color:#4b5563!important;
    text-decoration:none!important;
  }
  #effika-home .home-footer__bottom{
    margin-top:30px!important;
    padding-top:30px!important;
    border-top:1px solid #dfdfdf!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:0!important;
    color:#4b5563!important;
    text-align:center!important;
    font:400 10px/24px Montserrat,sans-serif!important;
    letter-spacing:-.08px!important;
  }
  #effika-home .home-footer__legal{
    display:flex!important;
    justify-content:center!important;
    gap:24px!important;
  }
  #effika-home .home-footer__legal a:hover{
    color:#4b5563!important;
    text-decoration:none!important;
  }
}

@media (max-width:380px){
  #effika-home .home-footer__top,
  #effika-home .service-detail-footer .home-footer__top{
    grid-template-columns:minmax(0,1fr) 145px!important;
    column-gap:6px!important;
  }
  #effika-home .home-footer__contact{font-size:13px!important}
}
