* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}
.contenedor {
  max-width: 1200px; /* Cambia este valor según lo que prefieras */
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .contenedor {
    max-width: 98vw;
    padding-left: 8px;
    padding-right: 8px;
  }
}
body {
  overflow-x: hidden;
  background: #ffffff;
  color: #000000;
}
header {
  margin-top: 0;
  padding-top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  text-align: center;
  animation: fadeIn 2s ease-in;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.logo-wrapper {
    margin-top: 0;
  padding-top: 0;
  display: inline-block;
  animation: bounce 2s infinite;
  transition: transform 0.3s ease;
}

.logo-wrapper:hover {
  transform: scale(1.1);
}

.logo-wrapper img {
  width: 250px;
  display: block;
}
.btn-ver-mas {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #000;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-ver-mas:hover {
  background-color: #222;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}


header h1 {
  margin-top: 0;
  padding-top: 0;
  font-size: 5rem;
  letter-spacing: 2px;
}
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
    max-width: 100vw;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-bottom: 1px solid #eaeaea;
  transition: top 0.3s;

}
nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
    display:inline-block;
  /*overflow: hidden;*/
}

nav a::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.05);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 20px;
}

nav a:hover {
  transform: scale(1.50);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  background-color: #f7f7f7;
  transition: transform 0.25s cubic-bezier(.4,2,.3,1), box-shadow 0.25s, background 0.25s;
}
section {
  padding: 80px 20px;
  width: 100%;
  min-height: 100vh; 
  margin: auto;
}
h2 {
  font-size: 5rem;
  margin-bottom: 20px;
}
p, li {
  font-size: 1.1rem;
  line-height: 1.6;
}
.contact-info {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
}

.contact-info a img {
  width: 200px;
  height: 200px;
  aspect-ratio: 1/1;
  object-fit: contain;
  border-radius: 16px;
  transition: transform 0.3s;
  cursor: pointer;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 16px; /* Más padding para centrar mejor */
}

.contact-info a img:hover {
  transform: scale(1.18);
}
footer {
  text-align: center;
  padding: 20px;
  background: #000;
  color: #fff;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.btn-claro {
  background-color: #fff;
  color: #000;
}

.btn-claro:hover {
  background-color: #ddd;
  color: #000;
}

/* Fondos diferenciados por sección */
.fondo-claro {
  background-color: #f9f9f9;
  color: #000;
  padding: 80px 20px;
  text-align: center;
  width: 100%;
  margin-bottom: 20px;
  margin-top: 20px;
}

.fondo-oscuro {
  background-color: #000;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  width: 100%;
  margin-bottom: 20px;
  margin-top: 20px;
}

.fondo-oscuro h2 {
  color: #fff;
}

.fondo-oscuro p {
  color: #ddd;
}

/* Botones */
.btn-claro {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #fff;
  color: #000;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-claro:hover {
  background-color: #ddd;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(255, 255, 255, 0.1);
}
.contenedor {
  max-width: 1000px;
  margin: 0 auto;
}
/* Layout para la sección Nosotros */
.contenedor-nosotros {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.right-image {
  flex: 1 1 300px;
  max-width: 400px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  margin-left: auto;
}
.nosotros-texto {
  flex: 1 1 350px;
  text-align: left;
  /* Opcional: limita el ancho del bloque de texto */
  max-width: 600px;
}

.centrar-boton {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
@media (max-width: 900px) {
  .contenedor-nosotros {
    flex-direction: column;
    align-items: flex-start;
  }
  .right-image {
    margin: 30px 0 0 0;
    max-width: 100%;
    width: 100%;
  }
  .nosotros-texto {
    width: 100%;
  }
}
.flecha-abajo-fija {
  position: fixed;
  left: 48.7%; /* antes: 50% */
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 9999;
  animation: bounce 2s infinite;
  cursor: pointer;
 transition: opacity 0.4s;
}
.contenedor-proyectos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.proyectos-texto {
  flex: 1;
}
.right-image {
  max-width: 400px;
  height: auto;
  border-radius: 16px;
  margin-left: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
@media (max-width: 900px) {
  .contenedor-proyectos {
    flex-direction: column;
    align-items: center;
  }
  .right-image {
    margin-left: 0;
    margin-top: 24px;
    max-width: 100vw;
  }
}
.flecha-abajo-fija svg {
  display: block;
  background: #fff;
  border: 2px solid #000;
  border-radius: 50%;
  padding: 8px;
  box-sizing: content-box;
  width: 20px;
  height: 20px;
}
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ...existing code... */
.clientes-scroll {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  align-items: center;
}

.clientes-row {
  display: flex;
  gap: 40px;
  align-items: center;
  min-width: 700px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 80px;
}

.cliente-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: transform 0.3s ease, filter 0.3s ease;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.cliente-logo:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
}

.clientes-arrow {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s;
  position: absolute;
  z-index: 2;
}

.clientes-arrow.left {
  left: -20px;
}

.clientes-arrow.right {
  right: -20px;
}

.clientes-arrow:hover {
  background: #eee;
}
.valores-lista {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
  max-width: 800px;
  margin: 32px auto 0 auto;
  padding: 0;
  list-style: none;
}

.valores-lista li {
  background: #fff;
  color: #222;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 16px 24px;
  margin-bottom: 16px;
  width: 100%;
  font-size: 1.08rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 8px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #222;
  border-radius: 2px;
  transition: 0.3s;
}

/* Responsive navbar */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: absolute;
    top: 56px;
    left: 0;
    width: 100vw;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    display: none;
    padding: 16px 0;
    z-index: 99;
  }
  .nav-links.active {
    display: flex;
  }
  nav a {
    padding: 16px 24px;
    width: 100%;
    font-size: 1.1rem;
    border-bottom: 1px solid #eee;
  }
}
@media (max-width: 900px) {
  .right-image {
    display: none;
  }
}
/* ...existing code... */
.contact-info {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

@media (max-width: 700px) {
  .contact-info {
    flex-direction: row;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
  }
  .contact-info a img {
    width: 110px !important;
    height: 110px !important;
  }
  .btn-ver-mas, .btn-claro {
    width: 100%;
    box-sizing: border-box;
  }
  .contenedor {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 700px) {
  .titulo-servicio {
    font-size: 3.5rem;
    word-break: break-word;
    hyphens: auto;
  }
}