/* ============================================
   FOOTER NUEVO - ESTILOS DEFINITIVOS (CORREGIDO MÓVIL)
   ============================================ */

/* Contenedor principal */
.footer-new {
  background: #f8f9fc;
  color: #4a5568;
  margin-top: 60px;
  position: relative;
  border-top: 1px solid #e2e8f0;
}

/* Contenido principal */
.footer-new__main {
  padding: 50px 0 30px;
}

/* Logo centrado arriba */
.footer-new__logo-top {
  text-align: center;
  margin-bottom: 20px;
}

.footer-new__logo-top img {
  max-height: 50px;
  width: auto;
}

.footer-new__title {
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f2920b, #d0710a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0;
}

/* Títulos de sección */
.footer-new__section-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
  color: #d0710a;
}

.footer-new__section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #f2920b;
  border-radius: 3px;
}

/* Columnas - por defecto flex para igual altura, pero en móvil se apilan */
.footer-new__row-equal {
  display: flex;
  flex-wrap: wrap;
}

.footer-new__col {
  display: flex;
  flex-direction: column;
}

.footer-new__section {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Contacto */
.footer-new__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.footer-new__contact-item i {
  width: 20px;
  color: #f2920b;
  margin-top: 3px;
  font-size: 0.9rem;
}

.footer-new__contact-item a {
  color: #4a5568;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-new__contact-item a:hover {
  color: #f2920b;
}

.footer-new__email {
  word-break: break-all;
}

/* Horario */
.footer-new__hours {
  background: #f1f5f9;
  border-radius: 12px;
  padding: 12px 15px;
  margin-top: 20px;
}

.footer-new__hours-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: #d0710a;
  font-size: 0.85rem;
}

.footer-new__hours-title i {
  margin-right: 6px;
}

.footer-new__hours-item {
  font-size: 0.8rem;
  color: #4a5568;
  margin-bottom: 4px;
}

/* Menús */
.footer-new__menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-new__menu li {
  margin-bottom: 10px;
}

.footer-new__menu a {
  color: #4a5568;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-new__menu a:hover {
  color: #f2920b;
  transform: translateX(5px);
}

/* Newsletter */
.footer-new__newsletter-text {
  font-size: 0.8rem;
  color: #718096;
  margin-bottom: 15px;
}

.footer-new__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-new__input {
  width: 100%;
  padding: 10px 12px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #4a5568;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.footer-new__input:focus {
  outline: none;
  border-color: #f2920b;
  box-shadow: 0 0 0 3px rgba(242, 146, 11, 0.1);
}

.footer-new__input::placeholder {
  color: #a0aec0;
}

.footer-new__btn {
  background: linear-gradient(135deg, #f2920b, #d0710a);
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-new__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 146, 11, 0.3);
}

.footer-new__btn i {
  margin-left: 6px;
}

.footer-new__message {
  font-size: 0.75rem;
  margin-top: 5px;
}

/* Redes Sociales */
.footer-new__social {
  background: #f1f5f9;
  padding: 15px 0;
  margin-top: 20px;
}

.footer-new__social-inner {
  text-align: center;
}

.footer-new__social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-new__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  color: #4a5568;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.footer-new__social-link:hover {
  transform: translateY(-3px);
}

.footer-new__social-link.whatsapp:hover { background: #25D366; color: white; }
.footer-new__social-link.facebook:hover { background: #1877F2; color: white; }
.footer-new__social-link.twitter:hover { background: #000; color: white; }
.footer-new__social-link.instagram:hover { background: #E4405F; color: white; }
.footer-new__social-link.tiktok:hover { background: #000; color: white; }
.footer-new__social-link.linkedin:hover { background: #0A66C2; color: white; }
.footer-new__social-link.telegram:hover { background: #0088CC; color: white; }

/* Copyright y certificación ISO juntos */
.footer-new__copyright {
  background: #e2e8f0;
  padding: 15px 0;
  font-size: 0.8rem;
  color: #4a5568;
}

.footer-new__copyright .d-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.footer-new__copyright p {
  margin: 0;
}

/* Certificación ISO con texto completo y logo legible */
.footer-new__cert-small {
  background: rgba(242, 146, 11, 0.08);
  padding: 6px 15px;
  border-radius: 40px;
  transition: all 0.3s ease;
}

.footer-new__cert-small:hover {
  background: rgba(242, 146, 11, 0.15);
}

.footer-new__cert-small a {
  color: #4a5568;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-new__cert-small img {
  height: 40px;
  width: auto;
}

.footer-new__cert-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.footer-new__cert-text span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #2d3748;
}

.footer-new__cert-text small {
  font-size: 0.7rem;
  color: #4a5568;
}

/* ============================================
   RESPONSIVE: MÓVIL (menos de 768px)
   ============================================ */
@media (max-width: 768px) {
  .footer-new__main {
    padding: 40px 0 20px;
  }

  /* Todas las columnas ocupan el 100% en móvil y se apilan */
  .footer-new__col {
    flex: 0 0 100%;
    margin-bottom: 30px;
  }

  /* Eliminamos el margen inferior de la última columna */
  .footer-new__col:last-child {
    margin-bottom: 0;
  }

  .footer-new__social-links {
    gap: 12px;
  }

  .footer-new__social-link {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .footer-new__copyright .d-flex {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-new__cert-small a {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .footer-new__cert-small img {
    height: 35px;
  }
}