.site-footer
{
  background-color: #dd0812;
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}
.site-footer::before
{
  content: "";
  background:url('/wp-content/uploads/2026/05/saez-formworks-logo-2026-blanco-001.webp') no-repeat center center;
  background-size: cover;
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  opacity: 0.15;
  width: 100%;
  max-width: 652px;
  height: 100%;
  max-height: 372px;
  overflow: hidden;
}
.site-footer .first-column
{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
  padding: clamp(34px, 4.84vw, 93px) 0 clamp(46px, 5.2vw, 84px);
  box-sizing: border-box;
}
.site-footer .contain-footer p, .site-footer .contain-footer a
{
  color: #fff;
  font-size: 18px;
}
.site-footer .contain-footer:first-child
{
  max-width: 251px;
  max-height: 192px;
  margin-right: clamp(30px, 8.59vw, 160px);
}
.site-footer .contain-footer:first-child img
{
  width: 100%;
  height: auto;
  object-fit: cover;
}
.site-footer .contain-footer:nth-child(2)
{
    margin-right: clamp(30px,4.27vw, 82px);
}
.site-footer .contain-footer:nth-child(2) p
{
  margin-top: 0;
  margin-bottom: 11px;
}
.site-footer .contain-footer:nth-child(2) p:last-of-type
{
  margin-bottom: 0;
}
.site-footer .contain-footer.links
{
  display: flex;
  flex-direction: column;
  margin-right: clamp(30px,5.20vw, 100px);
}
.site-footer .contain-footer:nth-child(4)
{
  margin-right: clamp(30px,5.52vw, 106px);
  position: relative;
  min-height: 135px;
}
.site-footer .contain-footer:nth-child(4)::before
{
  content: "";
  position: absolute;
  height: 100%;
  width: 2px;
  background-color: #fff;
  top: 0;
  display: block;
}
.site-footer .contain-footer.links a
{
  text-decoration: none;
}
.site-footer .contain-footer.links a span
{
  font-weight: normal;
  font-size: 14px;
}
.site-footer .contain-footer.links a:nth-child(2)
{
  margin-bottom: 6px;
}
.site-footer .contain-footer.links a:nth-child(2), .site-footer .contain-footer.links a:last-child
{
  font-weight: 700;
}
.site-footer .contain-footer.links a:first-child
{
  margin-bottom: 26px;
}
.site-footer .contain-footer.menu #menu-2
{
  padding: 0;
  margin: 0;
  list-style: none;
}
.site-footer .contain-footer.menu #menu-2 li
{
  margin-bottom: 2px;
}
.site-footer .contain-footer.menu #menu-2 li a
{
  text-decoration: none;
}
/* Ajuste final: contenido principal arriba y legal-footer debajo */
.site-footer .legal-footer
{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2vw, 36px);
  padding: 16px clamp(24px, 5vw, 100px);
  box-sizing: border-box;
  background-color: #35373a;
  position: relative;
  z-index: 1;
}
.site-footer .legal-footer .content
{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  text-align: center;
}
.site-footer .legal-footer .content p,
.site-footer .legal-footer .content a
{
  margin: 0;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
}
.site-footer .legal-footer .content a:hover
{
  text-decoration: underline;
}
.site-footer .legal-footer > img
{
  width: auto;
  max-height: 28px;
  object-fit: contain;
}

@media (max-width: 1024px)
{
  .site-footer .first-column
  {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 22px;
  }
  .site-footer .first-column .contain-footer:first-child
  {
    margin-right: 40px;
  }
  .site-footer .first-column .contain-footer:nth-child(2)
  {
    margin-right: 40px;
  }
  .site-footer .first-column .contain-footer.links
  {
    margin-right: 40px;
  }
}

@media (max-width: 767px)
{
  .site-footer .first-column
  {
    padding: 30px 24px 36px;
	flex-direction:column;
  }
  .site-footer .first-column .contain-footer:first-child,
  .site-footer .first-column .contain-footer:nth-child(2),
  .site-footer .first-column .contain-footer.links,
  .site-footer .first-column .contain-footer:nth-child(4)
  {
    margin-right: 0;
  }
  .site-footer .contain-footer:first-child
  {
    max-width: 150px;
    height: auto;
  }
  .site-footer .first-column .contain-footer:nth-child(4)
  {
    min-height: 0px;
  }
	.site-footer .first-column .contain-footer.menu
	{
		text-align:center;
		width:100%;
	}
  .site-footer .legal-footer
  {
    flex-direction: column;
    padding: 14px 18px;
    gap: 10px;
  }
  .site-footer::before
  {
    content: none;
  }
  .site-footer .contain-footer:nth-child(4)::before
  {
    content: none;
  }
  .site-footer .first-column .contain-footer:nth-child(2)
  {
    text-align: center;
  }
}
