.footer-bottom-section.bottom-section {
  flex: 0 0 30dvh;
  min-height: 30dvh;
  max-height: 30dvh;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0;               /* Eliminamos cualquier margen residual */
  padding: 0;
}

/* ===== SECCIÓN INFERIOR - FONDO NEGRO PEGADO AL FONDO ===== */
.footer-bottom-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 0 20px 0;
  padding-left: clamp(50px, 10vw, 320px);  /* Se ajusta seg��n el ancho de pantalla */
  box-sizing: border-box;
}
.footer-bottom-main {
  display: grid;
  grid-template-columns: 300px 1fr auto;
  gap: 80px;
  align-items: start;
  position: relative;
}

/* COLUMNA 1: LOGO Y CONTACTO */
.footer-left-section {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-right: 10px;
}

.footer-left-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-left: -220px; /* ajusta: -10px, -15px, -20px */
}


.footer-logo-main {
  flex-shrink: 0;
}

.logo-img-large {
  height: 180px;
  width: auto;
  display: block;
  margin-left: -150px;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  margin-left: -150px;
}

.logo-img2 {
  height: 60px;
  width: auto;
}

.contact-block-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  align-items: start;
}

.contact-item i {
  font-size: 1.0rem;
  color: #fff;
  margin-top: 8px;
  min-width: 16px;
}

.contact-text p {
  font-size: 1.0rem;
  color: #d0d0d0;
  line-height: 1.5;
  margin: 0;
}

/* LÍNEA DIVISORIA */
.column-divider {
  position: absolute;
  right: 80px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 10%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.1) 90%,
    transparent 100%
  );
}

.column-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* COLUMNA 2: NAVEGACIÓN Y NEWSLETTER */
.footer-center-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
  margin-left: -40px;
}

.footer-nav {
  display: flex;
  gap: 18px; /* Ajustado para espaciado óptimo */
  align-items: center;
  flex-wrap: nowrap;
  padding-bottom: 8px; /* Espacio para la línea del hover */
  overflow: visible; /* Importante: permite que el ::after sea visible */
}

.footer-nav-link {
  color: #d0d0d0;
  text-decoration: none;
  font-size: 0.90rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
  padding-bottom: 4px; /* Espacio interno para el ::after */
}

.footer-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0; /* Cambiado de -4px a 0 para que esté dentro del padding */
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

.footer-nav-link:hover {
  color: #fff;
}

.footer-nav-link:hover::after {
  width: 100%;
}

.newsletter-section {
  max-width: 450px;
}

.newsletter-section {
  max-width: 450px;
}

.email-input-wrapper {
  display: flex;
  gap: 0;
  margin-bottom: 8px;
}

.newsletter-email-input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid #333;
  background: #1a1a1a;
  color: #fff;
  font-size: 0.9rem;
  border-radius: 4px 0 0 4px;
  transition: all 0.3s ease;
  min-height: 42px;
}

.newsletter-email-input:focus {
  outline: none;
  border-color: #4caf50;
  background: #222;
}

.newsletter-email-input::placeholder {
  color: #888;
}

.newsletter-submit-btn {
  padding: 10px 26px;
  background: #4caf50;
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-height: 42px;
}

.newsletter-submit-btn:hover {
  background: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.newsletter-note {
  font-size: 0.8rem;
  color: #888;
  line-height: 1.4;
}

/* COLUMNA 3: LOGOS Y REDES SOCIALES */
.footer-right-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
  min-width: 300px;
}

.partner-logos {
  width: 600px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-right: -70px;
}

.partner-logos img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
  margin-top: -140px;
}

.partner-logos-row2 {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.partner-logo-small {
  height: 35px;
  width: auto;
}

.social-links-bottom {
  display: flex;
  gap: 15px;
  margin-top: -120px;
}

.social-icon-bottom {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #333;
  border-radius: 4px;
  color: #d0d0d0;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.social-icon-bottom:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-2px);
}

/* COPYRIGHT PEGADO AL FONDO */
.footer-bottom-bar {
  width: 100%;
  padding: 20px 0 10px;
  border-top: 1px solid #222;
  display: flex;
  justify-content: center;
}

.copyright {
  font-size: 0.8rem;
  color: #888;
margin-top: -80px;
  text-align: center;
}