.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: -5px; /* 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: -30px;
  text-align: center;
}























/* =====================================================================
   FOOTER - CORRECCIÓN DE ALTURA Y EMPALME (ZOOM 110%+)
   ===================================================================== */



/*
@media (max-width: 1899px) and (min-width: 1367px) {
  .footer-bottom-section.bottom-section {
    flex: 0 1 auto; 
    min-height: auto;
    max-height: none;
    height: auto;
    padding: 25px 0;
  }

  .footer-bottom-wrapper {
    max-width: 90%;
    padding: 0;
    margin: 0 auto;
    height: auto;
  }

  .footer-bottom-main {
    grid-template-columns: minmax(250px, auto) 1fr minmax(350px, auto);
    gap: 20px; 
    align-items: center;
  }

  .logo-img-large, 
  .contact-info-block,
  .footer-center-section,
  .partner-logos {
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
  }

  .logo-img-large {
    height: 110px;
  }

  .contact-block-title {
    font-size: 0.95rem;
    margin-bottom: 5px;
  }

  .contact-text p {
    font-size: 0.8rem;
  }

  .footer-nav {
    gap: 15px;
    justify-content: center;
  }

  .footer-nav-link {
    font-size: 0.8rem;
  }

  .newsletter-section {
    max-width: 300px;
    margin: 0 auto;
  }

  .partner-logos {
    width: 320px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .partner-logos img {
    width: 100%;
    height: auto;
    margin-top: 0;
  }

  .social-links-bottom {
    margin-top: 10px;
    position: static;
  }

  .copyright {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.7rem;
  }
}
*/


/* Escritorio Extendido y monitores 4K (Desde 1601px en adelante) */
@media screen and (min-width: 1601px) {
  .contact-info-content {
    max-width: 550px;
    margin: 0 auto; /* Centra el bloque completo en su mitad */
    text-align: left;
    left: 0 !important;
  }

  /* Alineación interna uniforme para simular el 20% pero controlado */
  .contact-info-title,
  .contact-info-block {
    padding-left: 10%; 
  }
}

/* Pantallas Pro / Tu monitor (1367px - 1600px) */
@media screen and (max-width: 1600px) and (min-width: 1367px) {
  .contact-info-side {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .contact-info-content {
    max-width: 480px;
    margin: 0 auto;
    left: 0 !important;
  }

  /* Ajuste de alineación para los textos específicos */
  .contact-info-title,
  .contact-info-block {
    padding-left: 5%;
    text-align: left;
  }
}

/* Laptops Estándar (Hasta 1366px) */
@media screen and (max-width: 1366px) and (min-width: 1025px) {
  .contact-info-content {
    max-width: 420px;
    margin: 0 auto;
    left: 0 !important;
  }

  .contact-info-block {
    padding-left: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Mantiene iconos y texto alineados a la izquierda */
  }
}

/* Laptop grande (1025px - 1366px) */
@media (max-width: 1366px) and (min-width: 1025px) {
  .footer-bottom-wrapper {
    max-width: 1250px;
    margin-right: 90px;
  }

  .footer-bottom-main {
    grid-template-columns: 290px 1fr auto;
    gap: 65px;
  }

  .logo-img-large {
    height: 170px;
    margin-left: -140px;
  }

  .contact-info-block {
    margin-left: -140px;
  }

  .partner-logos {
    width: 550px;
    height: 280px;
    margin-right: -65px;
  }

  .partner-logos img {
    margin-top: -130px;
  }

  .social-links-bottom {
    margin-top: -110px;
  }
}



/* Tablet (768px - 1024px) - CENTRADO */
@media (max-width: 1024px) and (min-width: 768px) {
  .footer-bottom-section.bottom-section {
    flex: 0 0 auto !important;
    min-height: auto !important;
    max-height: none !important;
    height: auto !important;
  }

  .footer-bottom-wrapper {
    margin-right: 0;
    padding: 38px 35px 22px;
    padding-left: 35px; /* 👈 CAMBIO: padding uniforme, sin clamp */
  }

  .footer-bottom-main {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .footer-left-section {
    display: flex;
    flex-direction: column;
    align-items: center; /* 👈 MANTENER: centrado */
  }

  .footer-left-content {
    flex-direction: column;
    gap: 25px;
    align-items: center; /* 👈 MANTENER: centrado */
    margin-left: 0; /* 👈 CAMBIO: eliminar margen negativo */
  }

  .logo-img-large {
    height: 160px;
    margin-left: 0; /* 👈 MANTENER: sin margen */
  }

  .contact-info-block {
    margin-left: 0; /* 👈 MANTENER: sin margen */
    text-align: center; /* 👈 MANTENER: centrado */
  }

  .contact-item {
    justify-content: center; /* 👈 MANTENER: centrado */
  }

  .column-divider {
    display: none;
  }

  .footer-center-section {
    margin-left: 0;
    align-items: center;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
  }

  .newsletter-section {
    max-width: 100%;
  }

  .footer-right-section {
    align-items: center;
  }

  .partner-logos {
    width: 480px;
    height: 240px;
    margin-right: 0;
  }

  .partner-logos img {
    margin-top: -90px;
  }

  .social-links-bottom {
    margin-top: -70px;
  }
}

/* Móviles (≤ 768px) - CENTRADO */
@media (max-width: 768px) {
  /* FIX CRÍTICO: Permitir que el footer crezca en móviles */
  .footer-bottom-section.bottom-section {
    flex: 1 0 auto !important;
    min-height: auto !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }

  .footer-bottom-wrapper {
    padding: 35px 25px 20px;
    padding-left: 25px; /* 👈 CAMBIO: padding uniforme */
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }

  /* AQUÍ LA CLAVE: Cambiar a display block en lugar de grid */
  .footer-bottom-main {
    display: block;
    width: 100%;
    position: relative;
    height: auto !important;
    min-height: auto !important;
  }

  /* CORRECCIÓN IMPORTANTE: Seleccionar las columnas correctas del HTML */
  .footer-bottom-main > .footer-left-section,
  .footer-bottom-main > .footer-center-section,
  .footer-bottom-main > .footer-right-section {
    display: block;
    width: 100%;
    margin-bottom: 40px;
    text-align: center; /* 👈 MANTENER: centrado */
    position: relative;
    height: auto !important;
    overflow: visible !important;
  }

  /* Estilos específicos para la primera columna */
  .footer-left-section {
    padding-right: 0;
    height: auto !important;
    align-items: center; /* 👈 MANTENER: centrado */
  }

  /* Línea divisoria en móvil - la convertimos en horizontal */
  .column-divider {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 80% !important;
    height: 1px !important;
    margin: 30px auto !important;
    background: linear-gradient(
      to right,
      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%
    ) !important;
  }

  .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);
  }

  .footer-left-content {
    flex-direction: column;
    align-items: center; /* 👈 MANTENER: centrado */
    gap: 25px;
    height: auto !important;
    margin-left: 0; /* 👈 CAMBIO: eliminar margen negativo */
  }

  .logo-img-large {
    margin-left: 0; /* 👈 MANTENER: sin margen */
  }

  .contact-info-block {
    margin-left: 0; /* 👈 MANTENER: sin margen */
    text-align: center; /* 👈 MANTENER: centrado */
    height: auto !important;
  }

  .contact-block-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .contact-text p {
    font-size: 0.97rem;
  }

  .contact-item {
    justify-content: center; /* 👈 MANTENER: centrado */
    margin-bottom: 12px;
  }

  /* Centro (navegación y newsletter) */
  .footer-center-section {
    margin-left: 0;
    height: auto !important;
  }

  .footer-nav {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
  }

  .footer-nav-link {
    font-size: 0.93rem;
    padding: 8px 0;
  }

  .newsletter-section {
    max-width: 100%;
    height: auto !important;
  }

  .email-input-wrapper {
    flex-direction: column;
    gap: 12px;
    max-width: 320px;
    margin: 0 auto;
  }

  .newsletter-email-input,
  .newsletter-submit-btn {
    border-radius: 6px;
    min-height: 46px;
    width: 100%;
    font-size: 0.9rem;
  }

  .newsletter-email-input {
    border-radius: 6px !important;
    border: 1px solid #333 !important;
  }

  .newsletter-submit-btn {
    border-radius: 6px !important;
  }

  .newsletter-note {
    text-align: center;
    margin-top: 10px;
    font-size: 0.8rem;
  }

  /* Derecha (logos partners y sociales) */
  .footer-right-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: auto !important;
    gap: 30px !important;
    height: auto !important;
  }

  .partner-logos {
    width: 100% !important;
    max-width: 400px !important;
    height: auto !important;
    min-height: 180px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .partner-logos img {
    margin-top: 0 !important;
    max-width: 90% !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
  }

  .social-links-bottom {
    margin-top: 0 !important;
    justify-content: center !important;
    gap: 15px !important;
  }

  .social-icon-bottom {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
  }

  .footer-bottom {
    width: 100%;
    padding: 20px 0 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .copyright {
    font-size: 0.78rem;
    text-align: center;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
}

/* Móviles medianos (≤ 480px) */
@media (max-width: 480px) {
  .footer-bottom-wrapper {
    padding: 30px 20px 18px;
    padding-left: 20px; /* 👈 CAMBIO: padding uniforme */
  }

  .footer-bottom-main > .footer-left-section,
  .footer-bottom-main > .footer-center-section,
  .footer-bottom-main > .footer-right-section {
    margin-bottom: 35px;
  }

  .contact-block-title {
    font-size: 1.05rem;
  }

  .contact-text p {
    font-size: 0.94rem;
  }

  .footer-nav-link {
    font-size: 0.9rem;
  }

  .newsletter-email-input,
  .newsletter-submit-btn {
    min-height: 44px;
    font-size: 0.9rem;
  }

  .partner-logos {
    max-width: 340px !important;
    min-height: 150px !important;
  }

  .partner-logos img {
    max-width: 85% !important;
  }

  .social-icon-bottom {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.9rem !important;
  }

  .column-divider {
    margin: 25px auto !important;
    width: 85% !important;
  }
}

/* Móviles estándar (≤ 390px) */
@media (max-width: 390px) {
  .footer-bottom-wrapper {
    padding: 28px 18px 16px;
    padding-left: 18px; /* 👈 CAMBIO: padding uniforme */
  }

  .footer-bottom-main > .footer-left-section,
  .footer-bottom-main > .footer-center-section,
  .footer-bottom-main > .footer-right-section {
    margin-bottom: 30px;
  }

  .contact-block-title {
    font-size: 1rem;
  }

  .contact-text p {
    font-size: 0.91rem;
  }

  .footer-nav {
    gap: 12px;
  }

  .footer-nav-link {
    font-size: 0.87rem;
  }

  .email-input-wrapper {
    max-width: 280px;
  }

  .newsletter-note {
    font-size: 0.79rem;
  }

  .partner-logos {
    max-width: 300px !important;
    min-height: 130px !important;
  }

  .social-links-bottom {
    gap: 12px !important;
  }

  .copyright {
    font-size: 0.74rem;
  }

  .column-divider {
    margin: 20px auto !important;
    width: 90% !important;
  }
}

/* Móviles pequeños (≤ 375px) */
@media (max-width: 375px) {
  .footer-bottom-wrapper {
    padding: 25px 16px 14px;
    padding-left: 16px; /* 👈 CAMBIO: padding uniforme */
  }

  .contact-block-title {
    font-size: 0.96rem;
    margin-bottom: 12px;
  }

  .contact-item {
    margin-bottom: 11px;
  }

  .contact-text p {
    font-size: 0.89rem;
  }

  .footer-nav-link {
    font-size: 0.85rem;
  }

  .newsletter-email-input,
  .newsletter-submit-btn {
    min-height: 42px;
    font-size: 0.87rem;
  }

  .partner-logos {
    max-width: 280px !important;
    min-height: 120px !important;
  }

  .social-icon-bottom {
    width: 30px !important;
    height: 30px !important;
  }

  .copyright {
    font-size: 0.72rem;
  }
}

/* Móviles muy pequeños (≤ 360px) */
@media (max-width: 360px) {
  .footer-bottom-wrapper {
    padding: 22px 14px 12px;
    padding-left: 14px; /* 👈 CAMBIO: padding uniforme */
  }

  .contact-block-title {
    font-size: 0.93rem;
  }

  .contact-text p {
    font-size: 0.87rem;
  }

  .footer-nav-link {
    font-size: 0.83rem;
  }

  .email-input-wrapper {
    max-width: 260px;
  }

  .newsletter-note {
    font-size: 0.77rem;
  }

  .partner-logos {
    max-width: 260px !important;
    min-height: 110px !important;
  }

  .social-icon-bottom {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.85rem !important;
  }

  .copyright {
    font-size: 0.7rem;
  }

  .column-divider {
    margin: 15px auto !important;
  }
}