/* TITAN Insumos — footer compacto y liviano */
.footer-titan {
  background: linear-gradient(180deg, #f8fbff 0%, #f2f7fc 100%);
  color: #12365c;
  border-top: 1px solid #dbe7f2;
  font-family: inherit;
}

.footer-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 28px 14px;
}

.footer-compact-main {
  display: grid;
  grid-template-columns: minmax(270px, 1.25fr) repeat(3, auto) auto;
  align-items: center;
  gap: 26px;
  min-height: 92px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.footer-brand-logo {
  width: 100px;
  height: 76px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-brand-copy {
  padding-left: 18px;
  border-left: 1px solid #cbd9e8;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #173b61;
  max-width: 255px;
}


.footer-email-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.footer-contact-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #173b61;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.94rem;
  transition: color .2s ease, transform .2s ease;
}

.footer-contact-inline:hover {
  color: #0a7db7;
  transform: translateY(-1px);
}

.footer-contact-inline svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  color: #087daf;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 9px;
  background: linear-gradient(135deg, #0868bf 0%, #0759a4 100%);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(8, 104, 191, .14);
  transition: transform .2s ease, box-shadow .2s ease;
}

.footer-whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(8, 104, 191, .22);
}

.footer-whatsapp svg {
  width: 21px;
  height: 21px;
}

.footer-bottom {
  border-top: 1px solid #d5e1ed;
  margin-top: 14px;
  padding-top: 12px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: #5b6f84;
  font-size: 0.82rem;
}

.footer-bottom-content p { margin: 0; }
.footer-tagline { text-align: right; }

@media (max-width: 1180px) {
  .footer-compact-main {
    grid-template-columns: minmax(280px, 1.2fr) 1fr 1fr;
    gap: 18px 24px;
  }
  .footer-whatsapp { justify-self: start; }
}

@media (max-width: 820px) {
  .footer-content { padding: 22px 20px 14px; }
  .footer-compact-main {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand-copy { max-width: none; }
  .footer-whatsapp { width: 100%; }
  .footer-bottom-content { align-items: flex-start; }
}

@media (max-width: 560px) {
  .footer-content { padding: 20px 16px 12px; }
  .footer-compact-main { grid-template-columns: 1fr; gap: 14px; }
  .footer-brand { gap: 14px; }
  .footer-brand-logo { width: 82px; height: 66px; }
  .footer-brand-copy { font-size: .88rem; padding-left: 14px; }
  .footer-contact-inline { white-space: normal; }
  .footer-bottom-content { flex-direction: column; gap: 5px; }
  .footer-tagline { text-align: left; }
}
