/* Reset o estilos básicos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Estilos generales */
body {
  font-family: Arial, sans-serif;
  color: #333;
}

/* Cabecera */
header {
  background-color: #d51c24;
  padding: 20px;
  text-align: center;
}

header .logo img {
  height: 100px;
  max-width: 100%;
}

/* Navegación */
nav {
  margin-top: 10px;
}

nav a {
  color: white;
  text-decoration: none;
  margin-right: 15px;
  font-size: 16px;
}

nav a:hover {
  text-decoration: underline;
}

/* Sección hero */
.hero {
  background-color: #f7f7f7;
  padding: 30px 20px;
  text-align: center;
}

.hero h1 {
  color: #d51c24;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
}

/* Secciones */
.section {
  padding: 20px;
  text-align: center;
}

/* Planes */
.plans {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.plan {
  border: 1px solid #ddd;
  padding: 20px;
  width: 250px;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.plan h3 {
  font-size: 20px;
  color: #d51c24;
  margin-bottom: 10px;
}

/* Botón contratar */
.btn-contratar {
  display: inline-block;
  background-color: #d51c24;
  color: #fff;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 10px;
}

.btn-contratar:hover {
  background-color: #b8181e;
}

/* Formulario */
form {
  max-width: 400px;
  margin: 0 auto;
  text-align: left;
}

form label {
  font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}

form button {
  background-color: #d51c24;
  color: #fff;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  border-radius: 4px;
}

form button:hover {
  background-color: #b8181e;
}

/* Pie de página */
footer {
  background-color: #333;
  color: white;
  padding: 10px 20px;
  text-align: center;
}

footer a {
  color: #d51c24;
  text-decoration: none;
  margin-left: 10px;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .plans {
    flex-direction: column;
    align-items: center;
  }
  .plan {
    width: 80%;
    margin-bottom: 15px;
  }
  nav {
    display: flex;
    flex-direction: column;
  }
  nav a {
    margin: 5px 0;
  }
}
