body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  color: #272727;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #031d44;
  color: white;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.cta a {
  color: #a9ecff;
  text-decoration: none;
  margin-left: 1rem;
  font-weight: bold;
}

.hero {
  text-align: center;
  padding: 3rem 1rem;
  background: #c0d6ff;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.servicios {
  padding: 2rem 1rem;
  max-width: 900px;
  margin: auto;
}

.servicios h2 {
  text-align: center;
  margin-bottom: 1rem;
}
.servicios h3 {
  text-align: center;
  margin-bottom: 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.card {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.contacto {
  background: #fafafa;
  padding: 2rem 1rem;
  max-width: 600px;
  margin: auto;
}

.contacto h2 {
  text-align: center;
  margin-bottom: 1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

input, textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

button {
  background: #20232a;
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}

button:hover {
  background: #9b9b9b;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #20232a;
  color: rgb(128, 128, 128);
  margin-top: 2rem;
}

.mapa {
  width: 100%;
  max-width: 700px;
  height: 400px;
  margin: 20px auto; 
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Estilos para pantallas de menos de 600px (mobile) */
@media (max-width: 600px) {
  .mapa {
    border-radius: 8px;
    padding: 0 10px; /* Espacio a los costados */
    box-sizing: border-box; /* Asegura que el padding no rompa el ancho */
  }
}

.mapa iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
  filter: invert(1);
}
#btnSubir {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 99;
  font-size: 18px;
  background-color: #20232a;
  color: white;
  border: none;
  outline: none;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  display: none;
  transition: opacity 0.3s ease-in-out;
}

#btnSubir:hover {
  background-color: #444;
}
.hero {
  text-align: center;
  padding: 6rem 1rem;
  background-image: url('img/fondo-hero.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
  min-height: 210px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  min-height: 350px;
  background-color: rgba(0, 0, 0, 0.5); /* filtro oscuro */
  z-index: 0;
}

.hero h1, .hero p {
  position: relative;
  z-index: 1;
}
.logo-mejorado {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(to right, #0b2c44, #11476d);
  border-bottom: 3px solid #5cd1f1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  border-radius: 0 0 8px 8px;
  width: fit-content;
  color: white;
  margin: 1rem;
}

.logo-mejorado img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}
.encabezado h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem; /* ajustá según tu gusto */
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1; /* ← esto es CLAVE */

  margin: 0;
}


.encabezado img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.servicios {
  margin-bottom: 2rem;
}

.servicios h3 {
  text-align: center;
  color: #1f1f1f;
  margin-bottom: 0.8rem;
}

.servicios ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  font-size: 1rem;
  color: #333;
}
.card ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  color: #444;
  margin: 0;
}

.card h3 {
  text-align: center;
  margin-bottom: 0.5rem;
}
.btn-presupuesto {
  display: inline-block;
  background-color: #0e76a8;
  color: white;
  padding: 0.8rem 1.5rem;
  margin-top: 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.btn-presupuesto:hover {
  background-color: #095b86;
}
.hero {
  position: relative; /* Para que el botón se posicione relativo a .hero */
  text-align: center;
  padding: 6rem 1rem;
  background-image: url('img/fondo-hero.jpg');
  background-size: cover;
  background-position: center;
  color: white;
}

.btn-top-left {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.9rem;
}

.contacto h6 {
  color: rgb(255, 255, 255); 
}
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta {
    margin-top: 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .cta a {
    margin-left: 0;
    padding: 0.5rem;
    background-color: #11476d;
    color: white;
    border-radius: 5px;
    text-align: center;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn-top-left {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  form {
    gap: 0.5rem;
  }

  input, textarea {
    font-size: 0.9rem;
    padding: 0.6rem;
  }

  button {
    font-size: 0.9rem;
    padding: 0.6rem;
  }

  footer {
    font-size: 0.8rem;
  }
}


.urgencias {
  color: #e60000;
  font-weight: bold;
  font-size: 1.2rem;
  background-color: #fff3f3;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(230, 0, 0, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(230, 0, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 0, 0, 0); }
}

#contacto {
  padding: 1px 10px;
  background : transparent;
  color : white;
  max-width: 700px;

}

.globalForm {
  background: linear-gradient(to bottom right, #0d0356, #0f8d6d);
  padding: 1px 1px;
}

#contacto form {
  max-width: 700px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
html {
  scroll-behavior: smooth;
}

.oficios h2{
  text-align: center;

} 