/* =========================================================
   FOOTER MAESTRO UNIFICADO (SEO LOCAL + RESPONSIVE + DARK MODE)
   ========================================================= */
.ctc-footer-master {
  background-color: #0f172a;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 1.5rem 2rem;
  margin-top: 4rem;
  position: relative;
  z-index: 10;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

.ctc-footer-container {
  max-width: 1240px;
  margin: 0 auto;
}

.ctc-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Columna Marca */
.ctc-footer-brand .ctc-f-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #14b8a6;
  text-decoration: none;
  margin-bottom: 1rem;
}

.ctc-footer-brand .ctc-f-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
}

.ctc-footer-brand .ctc-f-logo span strong {
  color: #f8fafc;
}

.ctc-footer-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 340px;
}

.ctc-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ctc-trust-pill {
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.3);
  color: #5eead4;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Títulos y Enlaces de Columnas */
.ctc-footer-col h4 {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 1.15rem;
}

.ctc-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ctc-footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ctc-footer-links a:hover {
  color: #2dd4bf;
  transform: translateX(3px);
}

.ctc-footer-links a i {
  color: #14b8a6;
  width: 16px;
  text-align: center;
  font-size: 0.85rem;
}

/* Columna Contacto y Portal */
.ctc-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
}

.ctc-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #cbd5e1;
}

.ctc-contact-list li i {
  color: #f59e0b;
  margin-top: 3px;
  width: 16px;
  text-align: center;
}

.ctc-contact-list a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.ctc-contact-list a:hover {
  color: #2dd4bf;
}

.ctc-footer-portal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #0f766e;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.72rem 1rem;
  border-radius: 10px;
  border: 1px solid #14b8a6;
  transition: background 0.2s ease;
}

.ctc-footer-portal-btn:hover {
  background: #115e59;
}

/* Barra Inferior Legal y Cobertura Local */
.ctc-footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #64748b;
}

.ctc-footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.ctc-footer-bottom-links a {
  color: #94a3b8;
  text-decoration: none;
}

.ctc-footer-bottom-links a:hover {
  color: #2dd4bf;
}

/* Responsive Tablets y Móviles */
@media (max-width: 980px) {
  .ctc-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .ctc-footer-master {
    padding: 3rem 1.25rem 5.5rem; /* Espacio extra abajo para no tapar el botón flotante de WhatsApp */
  }

  .ctc-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ctc-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
