/* Expertos Freelance — portada (resto de secciones), pie y ajustes de móvil. */

/* Iconos de "Cómo funciona" y "Por qué": misma paleta lila/morado */
.gsc-icon-box .icon-container { background:#F4EEFC !important; color:#714B67 !important; }
.gsc-icon-box .title { color:#1F2330 !important; font-weight:700 !important; text-transform:none !important; }
.gsc-icon-box .desc, .gsc-icon-box .desc p { color:#4A5060 !important; font-size:15.5px !important; line-height:1.55 !important; }
.gsc-heading .sub-title { color:#714B67 !important; letter-spacing:.12em; }

/* Llamada final para freelancers: panel morado */
.gsc-call-to-action { background:#714B67; border-radius:24px; padding:52px 32px !important; max-width:1080px; margin:0 auto; }
.gsc-call-to-action .title { color:#fff !important; font-size:32px !important; font-weight:800 !important; text-transform:none !important; }
.gsc-call-to-action .desc, .gsc-call-to-action .desc p, .gsc-call-to-action .content p { color:#F1E6EF !important; font-size:17px !important; }
.gsc-call-to-action a.btn-theme, .gsc-call-to-action .btn-theme { background:#fff !important; border-color:#fff !important; color:#714B67 !important; border-radius:999px !important; padding:15px 28px !important; line-height:1 !important; font-weight:800 !important; text-transform:none !important; display:inline-flex !important; align-items:center; gap:8px; }
.gsc-call-to-action a.btn-theme:hover { background:#F4EEFC !important; }
.gbb-row:has(.gsc-call-to-action) { background:#fff !important; }

/* Blog: menos hueco entre título y tarjetas */
.gbb-row:has(.news-grid-3-2) .bb-inner { padding-top:24px !important; }
.gbb-row:has(+ .gbb-row .news-grid-3-2) .bb-inner { padding-bottom:0 !important; }

/* ---------- Pie ---------- */
#footer { background:#FAF8FC !important; border-top:1px solid #ECE6F2; color:#4A5060; background-image:none !important; }
#footer .footer-center { padding:56px 0 0 !important; }
#footer .footer-first:has(.ef-foot) { flex:0 0 100%; max-width:100%; width:100%; }
#footer .footer-second:not(:has(.block)), #footer .footer-third:not(:has(.block)), #footer .footer-four:not(:has(.block)) { display:none; }
#footer .footer-bottom:not(:has(.block)), #footer .copyright:empty { display:none; }
.ef-foot { font-family:Figtree, system-ui, sans-serif; }
.ef-foot__grid { display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; }
.ef-foot__logo img { height:48px; width:auto; }
.ef-foot__brand p { margin:16px 0 18px; font-size:15.5px; line-height:1.6; color:#4A5060; max-width:340px; }
.ef-foot h2 { font-size:15px !important; font-weight:800 !important; color:#1F2330 !important; margin:4px 0 14px !important; text-transform:none !important; letter-spacing:0; }
.ef-foot h2.ef-foot__h2b { margin-top:26px !important; }
.ef-foot ul { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.ef-foot li { margin:0; padding:0; }
.ef-foot li::before { display:none !important; }
.ef-foot a { color:#4A5060 !important; font-size:15px; text-decoration:none !important; }
.ef-foot a:hover { color:#714B67 !important; text-decoration:underline !important; text-underline-offset:3px; }
.ef-foot__contact a { display:inline-flex; align-items:center; gap:8px; }
.ef-foot__contact i { color:#714B67; width:16px; }
.ef-foot__more { color:#714B67 !important; font-weight:700; }
.ef-foot__bottom { margin-top:44px; padding:20px 0 28px; border-top:1px solid #ECE6F2; display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; font-size:14px; color:#6B7180; }

/* ---------- Móvil ---------- */
@media (max-width: 767px) {
  .hero-expertos > .bb-inner, .hero-expertos .bb-inner.padding-top-large { padding-top:20px !important; padding-bottom:28px !important; }
  .hero-expertos .hero-title { font-size:30px !important; line-height:1.15 !important; margin-bottom:10px !important; }
  .hero-expertos .hero-subtitle { font-size:16px !important; line-height:1.5 !important; margin-bottom:18px !important; }
  /* enlaces bajo el buscador: una fila deslizable en vez de 4 líneas */
  .hero-expertos ul:has(a[href^="/listings/"]) { display:flex !important; flex-wrap:nowrap !important; overflow-x:auto; gap:8px; padding-bottom:6px !important; margin-top:14px !important; scrollbar-width:none; justify-content:flex-start !important; }
  .hero-expertos ul:has(a[href^="/listings/"])::-webkit-scrollbar { display:none; }
  .hero-expertos ul:has(a[href^="/listings/"]) li { flex:0 0 auto; margin:0 !important; white-space:nowrap; }
  .hero-expertos ul:has(a[href^="/listings/"]) li:first-child { align-self:center; font-size:14px; }
  /* secciones con menos aire */
  .gbb-row .bb-inner.padding-top-large { padding-top:48px !important; }
  .gbb-row .bb-inner.padding-bottom-large { padding-bottom:48px !important; }
  .gsc-heading .title { font-size:26px !important; }
  .gsc-call-to-action { padding:36px 20px !important; border-radius:18px; }
  .gsc-call-to-action .title { font-size:24px !important; }
  .ef-foot__grid { grid-template-columns:1fr 1fr; gap:28px 20px; }
  .ef-foot__brand { grid-column:1 / -1; }
  .ef-foot__bottom { flex-direction:column; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .ef-foot__grid { grid-template-columns:1fr 1fr; }
}

/* "Explora por población": tarjetas */
.ef-towns { display:grid !important; grid-template-columns:repeat(3, 1fr) !important; gap:24px !important; }
.ef-town { background:#fff; border:1px solid #E7E1F0; border-radius:16px; padding:22px 24px; }
.ef-town h3 { display:flex; align-items:center; gap:8px; margin:0 0 14px !important; font-size:19px !important; font-weight:800 !important; color:#1F2330 !important; }
.ef-town h3 i { color:#714B67; font-size:16px; }
.ef-town h3 small { margin-left:auto; font-size:13px; font-weight:600; color:#714B67; background:#F4EEFC; border-radius:999px; padding:3px 10px; }
.ef-town ul { gap:0 !important; }
.ef-town li { display:flex; justify-content:space-between; gap:10px; padding:9px 0; border-top:1px solid #F2EFF6; font-size:15.5px; }
.ef-town li::before { display:none !important; }
.ef-town li a { color:#1F2330 !important; }
.ef-town li a:hover { color:#714B67 !important; }
.ef-town li span { color:#6B7180; font-size:14px; }
.ef-towns__more { margin:22px 0 0; text-align:center; color:#4A5060; font-size:15px; }
.ef-towns__more a { color:#714B67 !important; font-weight:700; }
@media (max-width: 991px) { .ef-towns { grid-template-columns:1fr 1fr !important; } }
@media (max-width: 575px) { .ef-towns { grid-template-columns:1fr !important; } }
.ef-foot__legal { display:flex; gap:18px; flex-wrap:wrap; }
.ef-foot__legal a { font-size:14px !important; color:#6B7180 !important; }
