:root {
  --primary-color: #F9A826;
  --secondary-color: #E67E22;
  --accent-color: #FFD54F;
  --text-color: #2C3E50;
  --light-text: #FFFFFF;
  --dark-text: #1A1A1A;
  --background-color: #FFF8E1;
  --card-background: #FFFFFF;
  --gradient-start: #F9A826;
  --gradient-end: #FF9800;
  --shadow-color: rgba(249, 168, 38, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', 'Arial', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
.header {
  background-color: var(--primary-color);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.logo-text {
  color: var(--light-text);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  padding-top: 100px;
  padding-bottom: 60px;
  text-align: center;
  color: var(--light-text);
  position: relative;
  overflow: hidden;
  border-radius: 0 0 30% 30% / 100px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--light-text);
  color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Beneficios Section */
.beneficios {
  padding: 5rem 0 3rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--text-color);
  position: relative;
  padding-bottom: 1rem;
  display: inline-block;
}

.section-title h2:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.beneficio-card {
  background-color: var(--card-background);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all 0.3s ease;
  text-align: center;
}

.beneficio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px var(--shadow-color);
}

.beneficio-icon {
  margin-bottom: 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.beneficio-card h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Como funciona */
.como-funciona {
  padding: 5rem 0;
  background-color: #FFF3CD;
}

.pasos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.paso {
  flex: 1 1 300px;
  max-width: 350px;
  background-color: var(--card-background);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px var(--shadow-color);
  position: relative;
}

.paso-numero {
  position: absolute;
  top: -20px;
  left: 20px;
  background-color: var(--primary-color);
  color: var(--light-text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.paso h3 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  text-align: center;
}

.cta-contenedor {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  padding: 3rem 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 25px var(--shadow-color);
  color: var(--light-text);
  max-width: 800px;
  margin: 0 auto;
}

.cta-contenedor h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-contenedor p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background-color: #222;
  color: #ccc;
  padding: 3rem 0 1.5rem;
}

.footer-contenido {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 32px;
  height: 32px;
}

.footer-links {
  margin-top: 1rem;
}

.footer-links a {
  display: inline-block;
  margin-right: 1.5rem;
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.copyright {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #888;
}

/* Media Queries para Responsiveness */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .beneficios-grid {
    grid-template-columns: 1fr;
  }
  
  .pasos {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-contenido {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .footer-links {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 0.7rem 1.5rem;
  }
  
  .section-title h2 {
    font-size: 1.6rem;
  }
}

/* Animaciones */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeUp {
  animation: fadeUp 0.8s ease forwards;
}
