* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Arial, sans-serif; background-color: #ffffff;
  color: #000000;
} 
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
}
header img {
  height: 50px;
}
nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #c62828;
  font-weight: bold;
}
.hero {
  background-image: url('https://source.unsplash.com/1600x700/?construction,building');
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero h1 {
position: relative;
  z-index: 2;
  color: #ffffff;
  font-size: 56px;
  font-weight: 900;
  text-shadow:
    0 0 10px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(0, 0, 0, 0.5);
  letter-spacing: 1.2px;
}
.section {
  padding: 60px 40px;
  max-width: 1200px;
  margin: auto;
}
.section h2 {
  font-size: 32px;
  color: #c62828;
  margin-bottom: 20px;
}
.section p {
  font-size: 18px;
  line-height: 1.6;
}
.services-grid, .projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card p {
  padding: 15px;
  font-weight: bold;
  text-align: center;
}
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 30px 10px;
}
a { color: inherit; }
.hero {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero .marca-agua {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;        /* cubre todo el ancho */
  height: 100%;       /* cubre toda la altura del hero */
  object-fit: cover;  /* mantiene proporción y llena sin deformarse */
  opacity: 0.45;      /* ajusta visibilidad */
  z-index: 1;
  pointer-events: none;
}
.hero {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.formulario-contacto {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: auto;
}

.formulario-contacto label {
  color: #000000;
  font-weight: bold;
}

.formulario-contacto input,
.formulario-contacto textarea {
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #000000
  background-color: #ffffff;
  color: #000000;
}

.formulario-contacto button {
  padding: 12px;
  background-color: #c62828;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.formulario-contacto button:hover {
  background-color: #ff5252;
}
