/* Effika v14 — Qui som Figma 3521:5649 + control de línies i amplada de títols de serveis. */

/* ------------------------------------------------------------------
   INICI — salts de línia demanats
   ------------------------------------------------------------------ */
@media (min-width:821px){
  html.effika-home-route #effika-home .home-values .home-value:nth-child(2) h3{
    width:118px!important;
    max-width:118px!important;
  }
}
@media (max-width:820px){
  html.effika-home-route #effika-home .home-values .home-value:nth-child(1) h3{
    width:92px!important;
    max-width:92px!important;
  }
  html.effika-home-route #effika-home .home-values .home-value:nth-child(2) h3{
    width:92px!important;
    max-width:92px!important;
  }
}

/* ------------------------------------------------------------------
   TARGETES DE SERVEIS — el text no entra mai sota la fletxa
   ------------------------------------------------------------------ */
html.effika-home-route #effika-home .home-service-card h3{
  width:calc(100% - 72px)!important;
  max-width:calc(100% - 72px)!important;
  padding-right:0!important;
}
#effika-home.services-page .services-card h2{
  width:calc(100% - 72px)!important;
  max-width:calc(100% - 72px)!important;
  padding-right:0!important;
}
#effika-home.about-page .about-service-card__text,
#effika-home.service-detail-page .service-detail-card__text{
  flex:0 1 calc(100% - 57px)!important;
  width:calc(100% - 57px)!important;
  max-width:calc(100% - 57px)!important;
  min-width:0!important;
  padding-right:0!important;
}
#effika-home.about-page .about-service-card__arrow,
#effika-home.service-detail-page .service-detail-card__arrow{
  margin-left:18px!important;
  flex:0 0 39px!important;
}
@media (max-width:820px){
  html.effika-home-route #effika-home .home-service-card h3,
  #effika-home.services-page .services-card h2{
    width:calc(100% - 58px)!important;
    max-width:calc(100% - 58px)!important;
  }
}

/* ------------------------------------------------------------------
   QUI SOM — Figma 3521:5649
   ------------------------------------------------------------------ */
#effika-home.about-page .about-v14-main{display:block;background:#fff;color:#090d19}
#effika-home.about-page .about-v14-container{width:min(1245px,calc(100% - 48px));margin-inline:auto}
#effika-home.about-page .about-v14-kicker{margin:0;color:#6265fe;font:500 18px/20px "Afacad Flux",sans-serif;letter-spacing:0}

#effika-home.about-page .about-v14-hero{background:#eff0ff;padding:57px 0}
#effika-home.about-page .about-v14-intro-row{display:grid;grid-template-columns:minmax(0,834px) 312px;justify-content:space-between;gap:57px;align-items:end}
#effika-home.about-page .about-v14-copy h1{width:100%;margin:26px 0 0;font:500 40px/60px Montserrat,sans-serif;letter-spacing:0}
#effika-home.about-page .about-v14-copy h1 strong{color:#6265fe;font-weight:600}
#effika-home.about-page .about-v14-lead{width:834px;max-width:100%;margin-top:26px;font:500 18px/30px Montserrat,sans-serif;color:#090d19}
#effika-home.about-page .about-v14-lead p{margin:0}
#effika-home.about-page .about-v14-lead p+p{margin-top:30px}
#effika-home.about-page .about-v14-photo{width:312px;height:266px;border-radius:20px;background:#b6bbff}
#effika-home.about-page .about-v14-profile{margin-top:57px}
#effika-home.about-page .about-v14-profile-cards{display:flex;gap:10px;align-items:stretch;margin-top:26px}
#effika-home.about-page .about-v14-profile-card{min-width:0;padding:32px;border:2px solid #dfdfdf;border-radius:10px;background:#fff}
#effika-home.about-page .about-v14-profile-card:first-child{width:407px}
#effika-home.about-page .about-v14-profile-card:last-child{width:290px}
#effika-home.about-page .about-v14-profile-card h2{margin:0;font:600 22px/33px Montserrat,sans-serif;color:#090d19}
#effika-home.about-page .about-v14-profile-card p{margin:17px 0 0;font:400 17px/24px "Afacad Flux",sans-serif;color:#090d19}

#effika-home.about-page .about-v14-origin{background:#fff;padding:57px 0}
#effika-home.about-page .about-v14-origin-row{display:grid;grid-template-columns:minmax(0,834px) 283px;gap:57px;justify-content:space-between;align-items:center}
#effika-home.about-page .about-v14-origin-copy h2{margin:26px 0 0;font:500 40px/60px Montserrat,sans-serif}
#effika-home.about-page .about-v14-origin-copy h2 strong{color:#6265fe;font-weight:600}
#effika-home.about-page .about-v14-origin-copy>p:last-child{width:834px;max-width:100%;margin:26px 0 0;font:500 18px/30px Montserrat,sans-serif}
#effika-home.about-page .about-v14-origin-mark{display:block;width:283px;height:222px;object-fit:contain}

#effika-home.about-page .about-v14-services{background:#e2f1ff;padding:57px 0}
#effika-home.about-page .about-v14-services-heading h2{margin:26px 0 0;font:500 40px/60px Montserrat,sans-serif}
#effika-home.about-page .about-v14-services-heading h2 strong{color:#6265fe;font-weight:600}
#effika-home.about-page .about-v14-services-heading>p:last-child{width:711px;max-width:100%;margin:26px 0 0;font:400 20px/30px "Afacad Flux",sans-serif;color:#090d19}
#effika-home.about-page .about-v14-services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:57px}
#effika-home.about-page .about-v14-services-grid .about-service-card{min-height:104px;padding:20px 32px;border-width:2px;align-items:center}
#effika-home.about-page .about-v14-services-grid .about-service-card__text{font:500 18px/30px Montserrat,sans-serif;letter-spacing:0}

#effika-home.about-page .about-v14-cta{background:#090d19;padding:86px 0;color:#fff;text-align:center}
#effika-home.about-page .about-v14-cta-inner{width:min(973.051px,calc(100% - 48px));margin-inline:auto;display:flex;flex-direction:column;align-items:center}
#effika-home.about-page .about-v14-cta .about-v14-kicker{color:#b6bbff}
#effika-home.about-page .about-v14-cta h2{margin:26px 0 0;font:500 40px/60px Montserrat,sans-serif;color:#fff}
#effika-home.about-page .about-v14-cta h2 strong{color:#fffd98;font-weight:600}
#effika-home.about-page .about-v14-cta-inner>p:not(.about-v14-kicker){margin:26px 0 0;font:400 20px/30px "Afacad Flux",sans-serif;color:#fff}
#effika-home.about-page .about-v14-actions{display:flex;gap:34px;align-items:center;justify-content:center;margin-top:57px}

@media (max-width:1100px) and (min-width:821px){
  #effika-home.about-page .about-v14-intro-row{grid-template-columns:minmax(0,1fr) 260px;gap:40px}
  #effika-home.about-page .about-v14-photo{width:260px;height:222px}
  #effika-home.about-page .about-v14-origin-row{grid-template-columns:minmax(0,1fr) 240px;gap:40px}
  #effika-home.about-page .about-v14-origin-mark{width:240px;height:auto}
}

@media (max-width:820px){
  #effika-home.about-page .about-v14-container{width:calc(100% - 40px)}
  #effika-home.about-page .about-v14-kicker{font:500 16px/30px "Afacad Flux",sans-serif}
  #effika-home.about-page .about-v14-hero{padding:40px 0}
  #effika-home.about-page .about-v14-intro-row{display:flex;flex-direction:column;gap:40px;align-items:stretch}
  #effika-home.about-page .about-v14-copy h1{margin-top:10px;font:500 30px/42px Montserrat,sans-serif}
  #effika-home.about-page .about-v14-lead{margin-top:20px;font:500 14px/26px Montserrat,sans-serif}
  #effika-home.about-page .about-v14-lead p+p{margin-top:20px}
  #effika-home.about-page .about-v14-photo{width:100%;height:260px;border-radius:16px}
  #effika-home.about-page .about-v14-profile{margin-top:40px}
  #effika-home.about-page .about-v14-profile-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
  #effika-home.about-page .about-v14-profile-card,
  #effika-home.about-page .about-v14-profile-card:first-child,
  #effika-home.about-page .about-v14-profile-card:last-child{width:auto;padding:15px}
  #effika-home.about-page .about-v14-profile-card h2{font:600 18px/30px Montserrat,sans-serif}
  #effika-home.about-page .about-v14-profile-card p{margin-top:10px;font:400 14px/20px "Afacad Flux",sans-serif}

  #effika-home.about-page .about-v14-origin{padding:40px 0}
  #effika-home.about-page .about-v14-origin-row{display:flex;flex-direction:column;gap:40px;align-items:flex-start}
  #effika-home.about-page .about-v14-origin-copy h2{margin-top:10px;font:500 26px/42px Montserrat,sans-serif}
  #effika-home.about-page .about-v14-origin-copy>p:last-child{margin-top:20px;font:500 14px/26px Montserrat,sans-serif}
  #effika-home.about-page .about-v14-origin-mark{width:220px;height:auto;align-self:center}

  #effika-home.about-page .about-v14-services{padding:40px 0;background:rgba(207,231,255,.6)}
  #effika-home.about-page .about-v14-services-heading h2{margin-top:10px;font:500 26px/42px Montserrat,sans-serif}
  #effika-home.about-page .about-v14-services-heading>p:last-child{margin-top:20px;font:400 18px/26px "Afacad Flux",sans-serif}
  #effika-home.about-page .about-v14-services-grid{grid-template-columns:1fr;gap:16px;margin-top:40px}
  #effika-home.about-page .about-v14-services-grid .about-service-card{min-height:0;padding:15px;border-width:2px}
  #effika-home.about-page .about-v14-services-grid .about-service-card__text{font:500 18px/30px Montserrat,sans-serif}

  #effika-home.about-page .about-v14-cta{padding:40px 0}
  #effika-home.about-page .about-v14-cta-inner{width:calc(100% - 40px)}
  #effika-home.about-page .about-v14-cta h2{margin-top:10px;font:500 26px/42px Montserrat,sans-serif}
  #effika-home.about-page .about-v14-cta-inner>p:not(.about-v14-kicker){margin-top:20px;font:400 18px/26px "Afacad Flux",sans-serif}
  #effika-home.about-page .about-v14-actions{flex-wrap:wrap;gap:16px 34px;margin-top:40px}
}

@media (max-width:420px){
  #effika-home.about-page .about-v14-profile-cards{grid-template-columns:1fr}
}
