/* === Tipografía y base === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #F5F5F5;
  color: #000000;
}

/* === Encabezado === */
header {
  background-color: #FF6A00;
  color: #000000;
  text-align: center;
  padding: 2em 1em;
}

.logo {
  width: 160px;
  margin-bottom: 1.5em;
}

/* === Hero con fondo visual claro === */
.hero {
  position: relative;
  background: url('img/fondo-hero2.png') center center / cover no-repeat;
  text-align: center;
  padding: 6em 2em;
  color: #000000;
  z-index: 1;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.3);
  z-index: -1;
}

.hero h1 {
  font-size: 3.8em;
  font-weight: 700;
  letter-spacing: -1px;
  color: #000000;
  text-shadow: 0 2px 4px rgba(255,255,255,0.6);
  z-index: 2;
  position: relative;
}

.hero p {
  font-size: 1.3em;
  font-weight: 400;
  margin-bottom: 1em;
  position: relative;
  z-index: 2;
}

.boton-hero {
  background-color: #FF6A00;
  color: #FFFFFF;
  padding: 1em 2em;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  box-shadow: 0 4px 12px rgba(255,106,0,0.3);
  transition: background-color 0.3s ease;
  position: relative;
  z-index: 2;
  margin-top: 2em;
  display: inline-block;
}

.boton-hero:hover {
  background-color: #e65c00;
}

/* === Beneficios === */
.beneficios {
  display: flex;
  justify-content: center;
  gap: 2em;
  padding: 3em 10%;
  flex-wrap: wrap;
}

.beneficio {
  background: linear-gradient(135deg, #FF6A00, #FFA040);
  color: #FFFFFF;
  padding: 2.5em;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(255,106,0,0.3);
  width: 260px;
  animation: fadeInUp 0.8s ease;
}

.beneficio i {
  font-size: 2.5em;
  margin-bottom: 0.5em;
  color: #FFFFFF;
}

.beneficio h3 {
  font-size: 1.4em;
  margin-bottom: 0.5em;
}

/* === Secciones generales === */
section {
  padding: 3em 10%;
  background-color: #FFFFFF;
  color: #000000;
  margin: 1em auto;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(255, 106, 0, 0.2);
}

h2 {
  color: #FF6A00;
  font-size: 2em;
  border-bottom: 2px solid #FF6A00;
  padding-bottom: 0.5em;
  margin-bottom: 1em;
}

/* === Tabla de precios === */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
}

th, td {
  padding: 1em;
  border: 1px solid #CCCCCC;
  text-align: center;
}

th {
  background-color: #FF6A00;
  color: #FFFFFF;
}

/* === Formulario de contacto === */
form input, form textarea {
  width: 100%;
  padding: 1em;
  margin-bottom: 1em;
  border: 1px solid #CCCCCC;
  border-radius: 8px;
  background-color: #F9F9F9;
  color: #000000;
}

button {
  background-color: #FF6A00;
  color: #FFFFFF;
  padding: 1em 2em;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(255,106,0,0.3);
}

button:hover {
  background-color: #e65c00;
}

/* === Footer === */
footer {
  background-color: #FF6A00;
  color: #FFFFFF;
  text-align: center;
  padding: 1em;
  font-size: 0.9em;
}

/* === Animaciones === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Responsive === */
@media (max-width: 768px) {
  .beneficios {
    flex-direction: column;
    align-items: center;
  }

  .beneficio {
    width: 90%;
    margin-bottom: 2em;
  }

  section {
    padding: 2em 5%;
  }

  .hero h1 {
    font-size: 2.4em;
  }

  .hero p {
    font-size: 1.1em;
  }
}
