* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: #2A7B9B;
  background: linear-gradient(90deg,rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%, rgba(237, 221, 83, 1) 100%);
  color: #333;
}

h1, h2, h3, h4 {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  background-color:#792A9B;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

header h1 {
  font-size: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 20px;
  background-color: #880e4f;
  list-style: none;
  margin: 0;
}

.menu li {
  display: flex;
  align-items: center;
}

.menu a {
  color: #fff;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.3s;
}

.menu a:hover {
  background-color: #ad1457;
}

.menu input {
  padding: 6px 10px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
}

.menu button {
  padding: 6px 12px;
  background-color: #d81b60;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  margin-left: 5px;
  transition: background-color 0.3s;
}

.menu button:hover {
  background-color: #ad1457;
}

.img{
  text-align: center;
  padding: 25px;
}

.logo{
  padding: 15px;
}

.seccion {
  padding: 50px 20px;
  text-align: center;
}

.bg-light {
  margin-top: 15px;
  text-align: center;
  align-content: center;
  padding: 25px;
}

.acerca{
  margin-left: 455px;
  width: 500px;
  text-align: center;
  padding: 15px;
  align-content: center;
  background: beige;
  border-radius: 8px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 30px;
  padding: 0 10px;
}

.principal{
  display: flex;
  grid-column-end: center;
}

.card {
  background: #fff3e0;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s ease-in-out;
}

.card:hover {
  transform: scale(1.03);
}

.card h3 {
  color: #d84315;
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
}



.bloque1{
  text-align: center;
  align-content: center;
  
}

.servicio{
  margin-left: 550px;
  width: 400px;
  text-align: center;
  padding: 15px;
  align-content: center;
  background: beige;
  margin-top: 15px;
  border-radius: 8px;
}

.valores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.valores div {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 250px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.valores ul {
  list-style: disc inside;
  padding: 0;
  text-align: left;
}


.social {
  display: flex;
  justify-content: center;
  gap: 25px;
  font-size: 1.2em;
  margin-top: 20px;
}

.social a {
  color: #880e4f;
  transition: color 0.3s ease;
}

.social a:hover {
  color: #d81b60;
}



footer {
  background-color: #424242;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9em;
}
