/* ============================================================
   SIMEM · footer.css — pie de página (compartido)
   ============================================================ */

.site-footer {
  background: var(--navy-deep);
  color: #9FB0C7;
  padding-block: clamp(2.25rem, 5vw, 3.25rem) 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 1.5rem 2rem;
  padding-bottom: 2rem;
}

.site-footer__brand img { height: 34px; width: auto; margin-bottom: .85rem; }
.site-footer__brand p {
  max-width: 34ch;
  font-size: .88rem;
  line-height: 1.6;
}

.site-footer__col h3,
.site-footer__col-toggle {
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #6E82A0;
  margin-bottom: .7rem;
}
.site-footer__col-toggle {
  padding: 0;
  background: none;
  border: 0;
  text-align: left;
}
.site-footer__col ul { display: grid; gap: .45rem; }
.site-footer__col a,
.site-footer__col li {
  font-size: .9rem;
  color: #B9C6D9;
  transition: color .14s var(--ease);
}
.site-footer__col a:hover { color: #fff; }

.site-footer__contact li {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
}
.site-footer__contact svg {
  width: 15px; height: 15px; flex: none;
  margin-top: .2rem;
  color: var(--orange);
}
.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1rem;
}
.site-footer__social a {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: .35rem .7rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  font-family: var(--ff-head);
  font-size: .78rem;
  font-weight: 600;
}
.site-footer__social a svg {
  width: .95rem;
  height: .95rem;
  flex: none;
}
.site-footer__social a:hover {
  border-color: var(--orange);
  color: #fff;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: #6E82A0;
}
.site-footer__credit {
  height: 28px;
  width: auto;
  margin-left: auto;
  opacity: .9;
}

@media (max-width: 860px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.5rem;
  }
  .site-footer__brand { grid-column: 1 / -1; }
}
/* Móvil: Servicios y Empresa colapsables; Contacto siempre visible */
@media (max-width: 600px) {
  .site-footer { padding-top: 2rem; }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 1.25rem;
  }
  .site-footer__brand { margin-bottom: .75rem; }
  .site-footer__brand p { display: none; }

  .site-footer__col--acc { border-top: 1px solid rgba(255, 255, 255, .09); }
  .site-footer__col--acc .site-footer__col-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0;
    padding: 1rem 0;
    cursor: pointer;
  }
  .site-footer__col--acc .site-footer__col-toggle::after {
    content: "";
    width: 8px; height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s var(--ease);
  }
  .site-footer__col--acc .site-footer__col-toggle[aria-expanded="true"]::after {
    transform: rotate(-135deg);
  }
  .site-footer__col--acc ul { display: none; padding-bottom: 1rem; }
  .site-footer__col--acc.is-open ul { display: grid; }

  .site-footer__contact {
    border-top: 1px solid rgba(255, 255, 255, .09);
    padding-top: 1.1rem;
    margin-top: .1rem;
  }
  .site-footer__contact h3 { color: #B9C6D9; }

  .site-footer__bottom { gap: .75rem 1rem; }
}
