/* Variables de Color y Estilos Globales */
:root {
  --primary-color: #006847;       /* Verde bandera mexicana */
  --secondary-color: #CE1126;     /* Rojo bandera mexicana */
  --accent-color: #F5DA48;        /* Amarillo/dorado mexicano */
  --dark-color: #222222;
  --light-color: #FFFFFF;
  --text-color: #333333;
  --light-text: #FFFFFF;
  --gray-bg: #f8f9fa;
  --dark-bg: #131313;
  --border-radius: 10px;
  --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --section-spacing: 100px;
  --container-padding: 20px;
}

/* Reset y Estilos Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 20px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Botones y Enlaces de Acción */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--light-text);
  box-shadow: 0 4px 15px rgba(206, 17, 38, 0.3);
}

.btn-primary:hover {
  background-color: #b50d1f;
  color: var(--light-text);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(206, 17, 38, 0.5);
}

.btn-outline {
  background-color: transparent;
  color: var(--light-text);
  border: 2px solid var(--light-text);
}

.btn-outline:hover {
  background-color: var(--light-text);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* Header y Navegación */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
  padding: 20px 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 2px solid var(--accent-color);
}

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

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

.logo a {
  display: flex;
  align-items: center;
  color: var(--light-text);
  font-size: 1.8rem;
  font-weight: 700;
}

.logo-icon {
  margin-right: 10px;
}

.logo .accent {
  color: var(--accent-color);
}

.nav-menu ul {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-menu li a {
  color: var(--light-text);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.nav-menu li a:hover::after {
  width: 100%;
}

.nav-action {
  margin-left: 15px;
}

.nav-button {
  background-color: var(--accent-color);
  color: var(--primary-color) !important;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.nav-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--light-text);
  position: absolute;
  transition: var(--transition);
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 9px;
}

.menu-toggle span:nth-child(3) {
  top: 18px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

/* Hero Section */
.hero-section {
  padding: 180px 0 100px;
  background: linear-gradient(135deg, var(--primary-color), #003a27);
  color: var(--light-text);
  position: relative;
  overflow: hidden;
}

.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  margin-bottom: 25px;
  animation: fadeInUp 0.8s ease-out;
}

.highlight {
  color: var(--accent-color);
  position: relative;
  display: inline-block;
  padding: 0 5px;
}

.highlight::before {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: var(--secondary-color);
  opacity: 0.3;
  z-index: -1;
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.2s;
  animation-fill-mode: both;
}

.action-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  animation: fadeInUp 1.2s ease-out 0.4s;
  animation-fill-mode: both;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  animation: fadeInUp 1.4s ease-out 0.6s;
  animation-fill-mode: both;
}

.feature-tag {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 0.9rem;
  backdrop-filter: blur(5px);
}

.feature-icon {
  margin-right: 8px;
  color: var(--accent-color);
  font-style: normal;
  font-weight: 800;
}

.hero-visual {
  flex: 1;
  position: relative;
  animation: floatAnimation 6s ease-in-out infinite;
}

.visual-container {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.ai-visual {
  width: 100%;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
}

.visual-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--secondary-color);
  color: var(--light-text);
  padding: 8px 15px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  transform: rotate(15deg) translateY(-10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  animation: pulse 2s infinite;
}

.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
}

/* Benefits Section */
.benefits-section {
  padding: var(--section-spacing) 0;
  background-color: var(--light-color);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header p {
  color: #666;
  font-size: 1.1rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
}

.benefit-icon {
  margin-bottom: 20px;
  display: inline-block;
}

.benefit-card h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.benefit-card p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Process Section */
.process-section {
  padding: var(--section-spacing) 0;
  background-color: var(--gray-bg);
  position: relative;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.step:hover {
  transform: scale(1.03);
}

.step-number {
  background-color: var(--secondary-color);
  color: var(--light-text);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.step-content p {
  color: #666;
  margin-bottom: 0;
}

.process-cta {
  text-align: center;
  margin-top: 50px;
}

.pattern-divider {
  height: 50px;
  width: 100%;
  overflow: hidden;
  margin-top: 50px;
}

/* Testimonials Section */
.testimonials-section {
  padding: var(--section-spacing) 0;
  background-color: var(--light-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border-left: 5px solid var(--primary-color);
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.testimonial-rating {
  color: var(--accent-color);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.author-name {
  font-weight: 700;
  margin-bottom: 5px;
}

.author-city {
  color: #888;
  font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
  padding: var(--section-spacing) 0;
  background-color: var(--gray-bg);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.faq-question {
  padding: 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.faq-toggle {
  color: var(--secondary-color);
  font-size: 1.5rem;
  font-weight: 700;
  transition: var(--transition);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-answer p {
  padding-bottom: 25px;
  margin-bottom: 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--secondary-color), #a30d1a);
  color: var(--light-text);
  text-align: center;
}

.cta-section h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

/* Footer */
.footer {
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 70px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo p {
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #aaa;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-column h4 {
  color: var(--accent-color);
  margin-bottom: 25px;
  font-size: 1.2rem;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #ccc;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #888;
}

.adults-only {
  color: var(--secondary-color) !important;
  font-weight: 600;
}

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

@keyframes floatAnimation {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: rotate(15deg) translateY(-10px) scale(1);
  }
  50% {
    transform: rotate(15deg) translateY(-10px) scale(1.05);
  }
}

/* Media Queries */
@media (max-width: 992px) {
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-section .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .action-buttons, .hero-features {
    justify-content: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--primary-color);
    padding: 100px 30px 30px;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-action {
    margin: 20px 0 0;
  }
  
  h1 {
    font-size: 2.3rem;
  }
  
  .action-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-features {
    justify-content: center;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  .hero-text {
    font-size: 1rem;
  }
  
  .benefit-card, .step, .testimonial-card {
    padding: 20px;
  }
  
  .hero-section {
    padding: 150px 0 80px;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
}
