/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f5f7fa;
  color: #333;
  scroll-behavior: smooth;
}

/* HEADER CON IMAGEN */
header {
  background: 
    linear-gradient(rgba(10, 42, 102, 0.8), rgba(29, 78, 216, 0.8)),
    url('logo.png');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: white;
  padding: 100px 20px;
  text-align: center;
  animation: fadeIn 1s ease;
}

header h1 {
  font-size: 2.7rem;
}

header p {
  margin: 20px 0;
  font-size: 1.2rem;
}

/* BOTONES */
.btn {
  background: #dc2626;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #b91c1c;
}

/* SECCIONES */
section {
  padding: 60px 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

section.show {
  opacity: 1;
  transform: translateY(0);
}

.container {
  max-width: 1100px;
  margin: auto;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.3s;
  border-top: 5px solid #dc2626;
}

.card:hover {
  transform: translateY(-8px);
}

/* MAPA */
iframe {
  width: 100%;
  height: 300px;
  border-radius: 15px;
  border: none;
}

/* FORM */
input, textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 10px;
  border: 1px solid #ccc;
}

/* FOOTER */
footer {
  background: #0a2a66;
  color: white;
  padding: 20px;
  text-align: center;
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  padding: 16px;
  border-radius: 50%;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* ANIMACIÓN */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}