* {
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #fdfdfd;
  color: #333;
}

.main-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
  z-index: 2;
}

.logo {
  width: 320px;
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.verticales {
	font-size: 1.1em;
	margin-bottom: 30px;
	font-weight: 500;
}

.construccion {
  font-size: 2em;
  margin-bottom: 0px;
  color: #444;
}

.marcas-title {
   font-size: 2em;
  margin-top: 80px;
 
  color: #444;
}

.divider {
  width: 80px;
  height: 3px;
  background: #ccc;
  margin: 10px auto 30px;
  border-radius: 2px;
}

.marcas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: auto;
  padding-bottom: 60px;
}

.marca-card {
  background: #f1f1f1;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.marca-card:hover {
  background: #e2e2e2;
  color: #000;
}

.lineas-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.lineas-img {
  max-width: 1000px;
  width: 100%;
  height: auto;
  opacity: 0.5;
}

/* Fondo decorativo detrás del footer */
.container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: contain;
  z-index: 1;
  max-width: 100%;
  background: url('LINEAS.webp') center center no-repeat;
  background-size: contain;
  position: relative;
  z-index: 1;
  bottom: auto;
  width: 100%;
  height: 160px;
  
  z-index: 1;
}

/* Footer bien estructurado */
.site-footer {
  width: 100%;
  background: #111;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 40px 20px 80px;
  position: relative;
  z-index: 1;
  z-index: 2;
  gap: 60px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  text-align: left;
}

.footer-column h3 {
  margin-bottom: 12px;
  font-size: 1.1em;
  color: #f0f0f0;
  text-align:left;
}

.footer-column p, .footer-column a {
  color: #fff;

  font-size: 0.95em;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 0px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.footer-column a:hover {
  color: #ccc;
}

.footer-column i {
  color: #999;
}

.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 5px;
}

.social-icons a {
  font-size: 1.4em;
  color: #ccc;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
  }
  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-column {
    text-align: center;
  }
}


.footer-inner {
  flex-wrap: nowrap;
  flex-direction: row;

  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 60px;
}
.site-footer {
  padding: 40px 20px 80px;
}
.site-footer > .footer-column {
  margin: 0;
}

.construccion-img {
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  display: block;
  height: auto;
}
