body {
  
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8f8f8;
  color: #333;
}

header {
    background-color: #f2f3f6a7;
    width: 80%;
    margin: 0 auto; /* Centra el header horizontalmente */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}



.logo {
  font-size: 1rem;
  font-weight: bold;

}
.logo-img {
  width: 300px;
  height: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}


nav a {
  color: white;
  margin-left: 1rem;
  text-decoration: none;
}

nav a:hover img {
  transform: scale(1.05);
  transition: transform 0.2s ease-in-out;
}


.hero {
  background-color: #1f4d85;
  color: white;
  text-align: center;
  padding: 20px 0; /* reduce el alto vertical */
}

.btn {
  background-color: white;
  color: #e63946;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.destacados {
  padding: 2rem;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  background-color: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.card img {
  width:25%;
  height: 600px;
  object-fit: cover;
  border-radius: 4px;
}

.iconos-menu{
  height: 60px;
}

.precio {
  font-weight: bold;
  color: #e63946;
}

footer {
  background-color: #1a1a1a;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

.hero h2{
  font-size: 38px;
}

.iconos-gral {
  width: 28px;
  height: 28px;
}

.parrafo-footer{
  text-align: center;
  font-size: 20px;
  line-height: 0.5;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    width: 100%;
    padding: 1rem 0;
  }

  .logo-container {
    text-align: center;
    margin-bottom: 1rem;
  }

  nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
  }

  .iconos-menu {
    height: 48px;
  }

  nav a {
    margin: 0;
  }
}

.carousel{
  padding: 0;
}

.nosotros {    
  padding-top: 20px;
  padding-left: 300px;
  padding-bottom: 50px;
  padding-right: 300PX;
}


.parrafo-nosotros {
  padding: 0;
  margin: 0;
  
  text-align: justify;
  font-size: 24px;
  line-height: 1;         /* Iterlineado dentro del párrafo */
  margin-bottom: 2em;     /* Espacio entre párrafos */
}

.parrafo-contacto {
  padding: 30;
  margin: 30;
  text-align: center;
  font-size: 36px;
  line-height: 1;
  font-weight: bold;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-right: 15px;
}

form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}