.site-footer {
  background-color: #033840;
  color: white;
  padding: 3.5rem 2rem 2rem 2rem;
  font-family: 'Poppins', sans-serif;
  min-height: 250px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Alinea todo a la izquierda */
}

.footer-column-logo {
  flex: 1 1 200px;
  min-width: 200px;
  display: flex;
  margin-right: 4rem;
  flex-direction: column;
  align-items: flex-start; /* Alinea todo a la izquierda */
}

.footer-column h2,
.footer-column h3 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fefefe;
  text-align: left; /* Asegura alineación izquierda */
}


.footer-logo img {
  max-width: 200px;
  height: auto;
  margin-bottom: 0rem;
}

.footer-logo-placeholder {
  display: none;
  line-height: 9px;
}

.footer-copyright {
  background-color: rgba(255, 255, 255, 0.904);
  color: #022e47;
  text-align: center;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 500;
  margin-top: 1.5rem;
  width: 180px;
      height: 47px;
    margin-left: 1rem;
    padding: 0.3rem;
}


.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.5rem;
  text-align: left;
  line-height: 1;
}

.footer-column a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #6265fe;
}
.footer-column p,
.footer-column li {
  font-size: 0.85rem; /* Ajusta el tamao a gusto (por defecto es ~1rem) */
}

.footer-column p {
  line-height: 2.1;
}

.arrow {
  font-size: 1.4rem;
  color: #f4f5f5 !important;
  margin-right: 0.4rem;
  vertical-align: middle;
}
.footer-container .footer-column:nth-child(3) {
  margin-left: -4rem !important;
}
/* ===========================
   FOOTER RESPONSIVE
   (añadir al final)
   =========================== */

/* --- ≤ 1200px: respiración general --- */
@media (max-width: 1200px){
  .footer-container{
    gap: 1.8rem 2rem;
    padding: 0 1rem;
    max-width: 1040px;
  }
  /* reduce el offset agresivo de la 3ª columna */
  .footer-container .footer-column:nth-child(3){
    margin-left: -2rem !important;
  }
  .footer-logo img{ max-width: 190px; }
}

/* --- ≤ 1024px: 3 columnas “flexibles” --- */
@media (max-width: 1024px){
  .site-footer{
    padding: 3rem 1.5rem 1.8rem;
    min-height: auto;
  }
  .footer-container{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem 1.6rem;
    max-width: 940px;
  }
  .footer-column,
  .footer-column-logo{
    min-width: 0;
    margin-right: 0;
    align-items: flex-start;
  }
  .footer-logo img{ max-width: 180px; }
  .footer-column h2,
  .footer-column h3{ margin-bottom: .8rem; }
  .footer-column p,
  .footer-column li{ font-size: .84rem; }

  /* sin empuje lateral en grid */
  .footer-container .footer-column:nth-child(3){
    margin-left: 0 !important;
  }
}

/* --- ≤ 768px: 2 columnas y elementos touch-friendly --- */
@media (max-width: 768px){
  .site-footer{ padding: 2.2rem 1.2rem 1.4rem; }
  .footer-container{
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 1rem;
    max-width: 680px;
  }
  .footer-logo img{ max-width: 170px; }
  .footer-column h2,
  .footer-column h3{ font-size: 1.05rem; }
  .footer-column a{
    display: inline-block;
    padding: .15rem 0;           /* mayor área táctil */
    line-height: 1.25;
  }
  .footer-column li{ margin-bottom: .55rem; }
  .footer-column p{ line-height: 1.8; }

  .footer-copyright{
    width: 100%;
    max-width: 220px;
    height: auto;
    margin: 1rem 0 0 0;
    padding: .5rem .7rem;
    border-radius: 12px;
    font-size: .75rem;
  }
}

/* --- ≤ 560px: 1 columna, todo apilado --- */
@media (max-width: 560px){
  .footer-container{
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 100%;
    padding: 0;                  /* quita rellenos extra */
  }
  .footer-logo img{ max-width: 160px; }
  .footer-column h2,
  .footer-column h3{ font-size: 1rem; }
  .footer-column p,
  .footer-column li{ font-size: .8rem; }
  .footer-column{ padding-right: .2rem; }
  .footer-column ul{ margin-top: .25rem; }

  .arrow{
    font-size: 1.2rem;
    margin-right: .35rem;
  }
}

/* --- ≤ 360px: micro-ajustes --- */
@media (max-width: 360px){
  .site-footer{ padding: 2rem .9rem 1.2rem; }
  .footer-logo img{ max-width: 145px; }
  .footer-column p,
  .footer-column li{ font-size: .78rem; }
  .footer-column a{ line-height: 1.2; }
}
