/* Forjando - estilos propios sobre Helix Ultimate (no editar desde el backend de contenido) */

/* ---------- Barra superior ---------- */
#sp-top-bar {
  padding: 0;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 1.4;
}
#sp-top-bar .container-inner > .row { align-items: center; }
#sp-top-bar #sp-top1 .sp-column,
#sp-top-bar #sp-top2 .sp-column { padding: 6px 0; }
#sp-top-bar #sp-top1 p,
#sp-top-bar #sp-top2 p { margin: 0; }
#sp-top-bar #sp-top1 b { font-weight: 700; }
#sp-top-bar .sp-module { margin: 0; }
#sp-top-bar a { color: #ffffff; }

/* Botón "Accede a tu cuenta" */
#sp-top-bar .AccesCuenta { display: inline-block; }
#sp-top-bar .AccesCuenta a {
  font-family: "Roboto", sans-serif;
  display: inline-block;
  padding: 4px 20px;
  line-height: normal;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  color: #ffffff;
  background: #a81c19;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.2s ease-in;
}
#sp-top-bar .AccesCuenta a:hover { background: #a7a7a7; color: #ffffff; }

/* ---------- Menú principal ---------- */
#sp-header { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12); }
.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
  text-transform: uppercase;
  letter-spacing: 0.2px;
  padding: 0 14px;
}
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li:hover > a { color: #cd2e2b; }
.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
  border-radius: 0;
  padding: 0;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
  padding: 10px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item:last-child > a { border-bottom: 0; }
.sp-megamenu-parent .sp-dropdown li.sp-menu-item { display: block; width: 100%; }
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a { display: block; width: 100%; }

/* ---------- Página de inicio ---------- */
.fj-intro { text-align: center; }
.fj-intro h2 { font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 18px; color: #6b6b6b; margin: 0 0 6px; line-height: 1.4 !important; }
.fj-intro h1 { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 26px; margin: 0; }
.fj-hero .sppb-container-inner, .fj-novedades .sppb-container-inner { max-width: 100%; }
.fj-portafolio .fj-card { text-align: left; margin-bottom: 20px; }
.fj-portafolio .fj-card img { width: 100%; height: auto; display: block; }
.fj-portafolio .fj-card h3 { margin: 14px 0 12px; font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 15px; }
.fj-portafolio .fj-card h3 a { color: #e0605b; text-decoration: none; }
.fj-portafolio .fj-btn {
  display: inline-block; padding: 6px 18px; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 11px;
  letter-spacing: .5px; color: #cd2e2b; background: #fff; border: 1px solid #f1b9b6; border-bottom: 3px solid #cd2e2b;
  text-decoration: none; box-shadow: 0 1px 3px rgba(0,0,0,.15); transition: all .2s;
}
.fj-portafolio .fj-btn:hover { background: #cd2e2b; color: #fff; }

/* ---------- Pie de página ---------- */
#sp-footer { padding: 0; }
#sp-footer .container-inner { padding: 18px 0; }
#sp-footer .fj-copy p { margin: 0 0 8px; font-family: "Roboto", sans-serif; font-size: 14px; color: #777; }
#sp-footer .g-powered-by img { vertical-align: middle; max-height: 24px; }
#sp-footer .rt-social-buttons { text-align: right; }
.FootForjando { padding: 0 1rem; max-height: 60px; width: auto; }
.Alborada { border-right: 2px solid #d31c1e; }
.FlamingoGroup { border-left: 2px solid #d31c1e; border-right: 2px solid #d31c1e; }
.Instagram { border-left: 2px solid #d31c1e; }
.rt-social-buttons a { display: inline-block; }
.footer-social { display: inline-block; vertical-align: middle; transition: transform .4s; }
.footer-social:hover, .footer-social:focus, .footer-social:active { transform: scale(0.9); transition-duration: .2s; }
@media (max-width: 991px) { #sp-footer .rt-social-buttons { text-align: center; margin-top: 10px; } #sp-footer .fj-copy { text-align: center; } }

/* ---------- Generales (del sitio original) ---------- */
p strong, p b { color: #cd2d2a; }
#sp-top-bar p strong, #sp-top-bar p b { color: #fff; }
.sppb-img-responsive-wpp { width: auto; max-width: 60px; height: auto; position: fixed; right: 25px; bottom: 137px; z-index: 999; }

/* Tarjetas y título de inicio (ajuste de tamaños) */
.fj-intro h2 { font-size: 22px; }
.fj-intro h1 { font-size: 30px; }
.fj-portafolio .fj-card h3 { font-size: 18px; }
.fj-portafolio .fj-btn { padding: 8px 22px; font-size: 12px; }
#sp-footer, footer#sp-footer { background: #dedede !important; color: #777777; }
#sp-footer a { color: #777777; }
#sp-footer a:hover { color: #cd2e2b; }
#sp-footer .container-inner { border-top: 0; }

/* Pie más bajo: el módulo SPPB del botón de WhatsApp (flotante) no debe ocupar alto en el pie */
#sp-footer .mod-sppagebuilder .sppb-section { padding: 0 !important; margin: 0 !important; height: 0; min-height: 0; }
#sp-footer .mod-sppagebuilder .sppb-row-container { height: 0; }
#sp-footer .container-inner { padding: 10px 0; }
#sp-footer .fj-copy p { margin: 0 0 4px; }
#sp-footer .FootForjando { max-height: 50px; }
