* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f4f4f4;
  color: #222;
}

header {
  background: #111;
  color: white;
  padding: 15px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 90px;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  font-weight: bold;
}

.hero {
  min-height: 420px;
  background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)), url("../img/banner.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
  padding: 40px 8%;
}

.hero h1 {
  font-size: 42px;
  max-width: 700px;
}

.hero p {
  font-size: 20px;
  margin: 15px 0;
}

.btn,
button {
  background: #00b894;
  color: white;
  border: none;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.section {
  padding: 45px 8%;
}

.section h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 30px;
}

.center {
  text-align: center;
  margin-bottom: 20px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,.1);
}

.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  margin-bottom: 10px;
}

form {
  max-width: 600px;
  margin: auto;
  background: white;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,.1);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

textarea {
  min-height: 100px;
}

.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #25d366;
  color: white;
  padding: 14px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 20px;
}

.eliminar {
  background: #d63031;
  margin-top: 10px;
}

@media (max-width: 700px) {
  header {
    flex-direction: column;
    gap: 10px;
  }

  .hero h1 {
    font-size: 30px;
  }

  nav a {
    display: inline-block;
    margin: 5px;
  }
}
#respuestaForm {
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
  color: green;
}

.card button {
  margin-right: 8px;
  margin-top: 10px;
}

.card img {
  background: #eee;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f4f4f4;
  color: #111;
}

header {
  background: #111;
  color: white;
  padding: 15px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 90px;
  height: auto;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  font-weight: bold;
}

.hero {
  min-height: 420px;
  background: linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)), url("../img/banner.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
  padding: 40px 8%;
}

.hero h1 {
  font-size: 42px;
  max-width: 750px;
}

.hero p {
  font-size: 20px;
  margin: 15px 0;
}

.section {
  padding: 45px 8%;
}

.section h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 30px;
}

.center {
  text-align: center;
  margin-bottom: 20px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,.1);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  margin-bottom: 8px;
}

.galeria {
  width: 100%;
  height: 280px;
  background: #eee;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}

.galeria img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f1f1f1;
  display: block;
}

.botones-galeria {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.btn,
button {
  background: #00b894;
  color: white;
  border: none;
  padding: 12px 18px;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  display: inline-block;
}

.eliminar {
  background: #d63031;
}

.editar {
  background: #0984e3;
}

.whatsapp-btn {
  background: #25d366;
}

form {
  max-width: 650px;
  margin: auto;
  background: white;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,.1);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

textarea {
  min-height: 100px;
}

footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 20px;
}

#respuestaForm {
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
  color: green;
}

#notificacion {
  background: red;
  color: white;
  padding: 4px 9px;
  border-radius: 50%;
  font-size: 14px;
}

.acciones {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

@media (max-width: 700px) {
  header {
    flex-direction: column;
    gap: 10px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .galeria {
    height: 220px;
  }

  nav a {
    display: inline-block;
    margin: 5px;
  }
}
.whatsapp-flotante {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #25d366;
  color: white;
  padding: 15px 20px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0,0,0,.25);
  z-index: 999;
}

.social {
  margin-top: 10px;
}

.social a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
}

.galeria img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}