﻿/* ============================================================
   SUBFOOTER — Estilos completos
   pinturaelectrostaticacolombia.com
   ============================================================ */

/* ══════════════════════════════════════════════
   NEUTRALIZAR WRAPPERS DE JOOMLA / BOOTSTRAP
   Joomla envuelve el módulo en: section#sp-subfooter >
   .container > .container-inner > .row > .col-lg-12 >
   .sp-column > .sp-module > .sp-module-content > .mod-custom
   Todo eso tiene padding/margin/max-width de Bootstrap
   que hay que cancelar para que el subfooter sea full-width
═══════════════════════════════════════════════ */
section#sp-subfooter {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
}

section#sp-subfooter > .container,
section#sp-subfooter > .container > .container-inner {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

section#sp-subfooter .row {
  margin: 0 !important;
}

section#sp-subfooter .col-lg-12,
section#sp-subfooter .sp-column,
section#sp-subfooter .sp-module,
section#sp-subfooter .sp-module-content,
section#sp-subfooter .mod-custom {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

.subfooter {
  background: #0d111b;
  padding: 60px 0 0;
  color: rgba(255,255,255,0.75);
  border-top: 2px solid rgba(240,78,35,0.3);
}

.subfooter-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px 50px;
}

/* Columna 1 — Logo + descripción */
.sf-logo-img {
  height: 62px;
  width: auto;
  margin-bottom: 10px;
}

.sf-tagline {
  font-size: 12px;
  font-weight: 700;
  color: #F04E23;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.sf-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-bottom: 16px;
}

.sf-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.sf-badge {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 4px 10px;
  white-space: nowrap;
}

.sf-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 18px;
}

.sf-stats {
  display: flex;
  gap: 0;
}

.sf-stat {
  flex: 1;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.sf-stat:last-child {
  border-right: none;
}

.sf-stat strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #F04E23;
  line-height: 1.2;
}

.sf-stat span {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Columna 2 — Contacto */
.sf-col-title {
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
}

.sf-col-bar {
  width: 40px;
  height: 2px;
  background: #F04E23;
  margin-bottom: 24px;
}

.sf-contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.sf-ci-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-top: 2px;
}

.sf-ci-text span {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 3px;
}

.sf-ci-text strong {
  font-size: 16px;
  color: white;
  font-weight: 700;
}

.sf-ci-text a {
  color: white;
  text-decoration: none;
}

.sf-ci-text a:hover {
  color: #F04E23;
}

/* Columna 3 — Newsletter */
.sf-news-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 20px;
}

.sf-news-form {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.sf-news-input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: white;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.sf-news-input:focus {
  border-color: #F04E23;
}

.sf-news-input::placeholder {
  color: #999;
}

.sf-news-btn {
  padding: 12px 20px;
  background: #F04E23;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.sf-news-btn:hover {
  background: #d03d18;
}

.sf-news-note {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
}

.sf-news-note strong {
  color: #1a7ae8;
}

.sf-news-highlights {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sf-news-hl-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(240,78,35,0.2);
  border-radius: 8px;
  padding: 9px 12px;
  transition: background 0.2s;
}

.sf-news-hl-item:hover {
  background: rgba(240,78,35,0.08);
}

.sf-news-hl-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.sf-news-hl-text {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
}

/* Columna 4 — Galería */
.sf-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.sf-gallery-img {
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
}

.sf-gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.sf-gallery-img:hover img {
  transform: scale(1.08);
}

/* Subfooter bottom — barra de copyright */
.subfooter-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 26px 50px 50px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.subfooter-bottom p {
  font-size: 15px;
  color: rgba(255,255,255,0.38);
  margin: 3px 0;
  line-height: 1.7;
}

.subfooter-bottom strong {
  color: rgba(255,255,255,0.65);
}

.subfooter-bottom .sf-bottom-logo {
  margin-top: 16px;
  opacity: 0.4;
  height: 40px;
  width: auto;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .subfooter-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 30px 40px;
  }
}

@media (max-width: 700px) {
  .subfooter-grid {
    grid-template-columns: 1fr;
    padding: 0 20px 30px;
  }

  .subfooter-bottom {
    padding: 26px 30px 120px !important;
  }
}

/* ============================================================
   Línea gráfica IMPROCOL igual a footer-contacto y footer-new
   ============================================================ */
.subfooter {
  background: #1F1F1F !important;
  padding: 92px 0 0 !important;
  color: #D6D6D2 !important;
  border-top: 1px solid rgba(255,199,44,0.28) !important;
  font-family: "Inter", system-ui, sans-serif !important;
}

.subfooter-grid {
  max-width: 1400px !important;
  padding: 0 50px 70px !important;
  grid-template-columns: 1.1fr 1fr 1fr 1fr !important;
  gap: 58px !important;
}

.sf-logo-img {
  width: min(310px, 96%) !important;
  height: auto !important;
  margin-bottom: 18px !important;
}

.sf-tagline,
.sf-col-title {
  font-family: "Archivo", sans-serif !important;
  color: #F4F4F2 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
}

.sf-tagline {
  color: #FFC72C !important;
  font-size: 13px !important;
  letter-spacing: 0.12em !important;
}

.sf-col-title {
  font-size: 24px !important;
  line-height: 1.05 !important;
  margin-bottom: 18px !important;
}

.sf-col-bar {
  width: 48px !important;
  height: 2px !important;
  background: #FFC72C !important;
  margin-bottom: 28px !important;
}

.sf-desc,
.sf-news-desc,
.sf-news-note,
.subfooter-bottom p {
  color: #8A8A8A !important;
  line-height: 1.7 !important;
}

.sf-badge,
.sf-news-hl-item,
.sf-schedule-card {
  background: #242424 !important;
  border: 1px solid rgba(214,214,210,0.16) !important;
  border-radius: 0 !important;
  color: #F4F4F2 !important;
}

.sf-badge {
  color: #D6D6D2 !important;
  padding: 6px 10px !important;
}

.sf-divider,
.sf-stat,
.sf-contact-item {
  border-color: rgba(214,214,210,0.16) !important;
}

.sf-stat strong {
  color: #FFC72C !important;
  font-family: "Archivo", sans-serif !important;
}

.sf-stat span,
.sf-ci-text span,
.sf-news-hl-text {
  color: #8A8A8A !important;
}

.sf-ci-icon {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #FFC72C !important;
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
}

.sf-ci-text strong,
.sf-ci-text a,
.subfooter-bottom strong {
  color: #F4F4F2 !important;
}

.sf-ci-text a:hover {
  color: #FFC72C !important;
}

.sf-news-input {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #5A5A5A !important;
  border-radius: 0 !important;
  color: #F4F4F2 !important;
  padding: 12px 0 !important;
  box-shadow: none !important;
}

.sf-news-input::placeholder {
  color: #D6D6D2 !important;
  opacity: 1 !important;
}

.sf-news-input:focus {
  border-color: #FFC72C !important;
}

.sf-news-btn {
  background: #FFC72C !important;
  color: #1F1F1F !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-family: "Archivo", sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

.sf-news-btn:hover {
  background: #FFD752 !important;
  color: #1F1F1F !important;
}

.sf-news-note strong,
.sf-news-hl-icon {
  color: #FFC72C !important;
}

.sppb-gallery li a,
.sppb-gallery li img,
.sppb-img-responsive {
  border-radius: 0 !important;
}

.sppb-gallery li a {
  border: 1px solid rgba(255,199,44,0.24) !important;
  background: #242424 !important;
  display: block !important;
  overflow: hidden !important;
}

.subfooter-bottom {
  max-width: 1400px !important;
  padding: 26px 50px 150px !important;
  border-top: 1px solid rgba(214,214,210,0.16) !important;
}
.sf-bottom-logo {
  width: min(250px, 70%) !important;
  height: auto !important;
  opacity: 0.75 !important;
}

@media (max-width: 1024px) {
  .subfooter-grid {
    grid-template-columns: 1fr 1fr !important;
    padding: 0 30px 50px !important;
    gap: 42px !important;
  }

  .subfooter-bottom {
    padding: 26px 30px 150px !important;
  }
}

@media (max-width: 700px) {
  .subfooter {
    padding-top: 62px !important;
  }

  .subfooter-grid {
    grid-template-columns: 1fr !important;
    padding: 0 20px 44px !important;
    gap: 40px !important;
  }

  .subfooter-bottom {
    padding: 24px 20px 150px !important;
  }
}

.sf-ci-icon svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
}

.sf-news-hl-icon svg {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
}

#sf-email-input {
  background: #000 !important;
}


