/* Variables globales */
:root {
  --primary-color: #0077cc;
  --primary-dark: #005fa3;
  --secondary-color: #ff9500;
  --accent-color: #00c4cc;
  --text-color: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --black: #000000;
  --gray-light: #f5f5f5;
  --gray-medium: #e0e0e0;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --border-radius: 8px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --container-width: 1200px;
}

/* Configuración general */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.section-tag {
  display: inline-block;
  background-color: rgba(0, 119, 204, 0.1);
  color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 {
  font-size: 3.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.section-header p {
  font-size: 1.8rem;
  color: var(--text-light);
  max-width: 70rem;
  margin: 0 auto;
}

.section-header.left-aligned {
  text-align: left;
}

.section-header.left-aligned p {
  margin: 0 0 2rem 0;
}

.text-link {
  color: var(--primary-color);
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.text-link:hover {
  border-bottom-color: var(--primary-color);
}

/* Botones */
.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 600;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.cta-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-button.secondary {
  background-color: transparent;
  border: 2px solid var(--white);
  padding: 1rem 2.3rem;
}

.cta-button.secondary:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.cta-button.full-width {
  width: 100%;
}

/* Header y navegacion */
.landing-header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.landing-header.scrolled {
  padding: 1rem 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

.logo h1 {
  font-size: 2.4rem;
  font-weight: 700;
}

.logo span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-links a {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-color);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-button {
  background-color: var(--primary-color);
  color: var(--white) !important;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
}

.nav-button:hover {
  background-color: var(--primary-dark);
}

.nav-links .nav-button::after {
  display: none;
}

.burger-menu {
  display: none;
  cursor: pointer;
}

.burger-menu div {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px;
  transition: var(--transition);
}

/* Hero section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 60rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  margin-top: 7rem;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.video-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, 1));
  z-index: 1;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  max-width: 80rem;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1.2s ease-out;
}

.hero h1 {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero p {
  font-size: 2rem;
  margin-bottom: 3rem;
  max-width: 70rem;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 5rem;
  margin-top: 4rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 3.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat-number .fa-star {
  color: var(--warning-color);
  font-size: 2.4rem;
}

.stat-label {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Benefits Section */
.benefits {
  padding: 10rem 4rem;
  background-color: var(--white);
}

.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 3rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

.benefit-card {
  background-color: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card:hover {
  transform: translateY(-10px);
}

.benefit-icon {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 2rem;
  background-color: rgba(0, 119, 204, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
  background-color: var(--primary-color);
  color: var(--white);
}

.benefit-icon i {
  font-size: 3.2rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.benefit-card:hover .benefit-icon i {
  color: var(--white);
}

.benefit-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.benefit-card p {
  color: var(--text-light);
  font-size: 1.6rem;
}

/* Testimonials Section */
.testimonials {
  padding: 10rem 4rem;
  background-color: var(--gray-light);
  position: relative;
}

.testimonial-slider {
  max-width: 90rem;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 4rem;
  margin: 2rem;
}

.testimonial-content {
  margin-bottom: 3rem;
}

.testimonial-content p {
  font-size: 1.8rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--text-color);
}

.testimonial-content p::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--primary-color);
  position: relative;
  top: 1rem;
  margin-right: 0.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 2rem;
  border: 3px solid var(--primary-color);
}

.author-info h4 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.author-info p {
  color: var(--text-light);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.rating i {
  color: var(--warning-color);
  font-size: 1.4rem;
  margin-right: 0.2rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
}

.testimonial-arrow {
  background-color: var(--white);
  color: var(--primary-color);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.testimonial-arrow:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.testimonial-dots {
  display: flex;
  gap: 0.8rem;
  margin: 0 2rem;
}

.dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: var(--gray-medium);
  transition: var(--transition);
  cursor: pointer;
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* How it Works Section */
.how-it-works {
  padding: 10rem 4rem;
  background-color: var(--white);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 4rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

.step-card {
  text-align: center;
  position: relative;
  padding: 4rem 3rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-10px);
}

.step-number {
  position: absolute;
  top: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5rem;
  height: 5rem;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(0, 119, 204, 0.3);
}

.step-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.step-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.step-card p {
  color: var(--text-light);
  font-size: 1.6rem;
}

/* Registration Form Section */
.registration {
  padding: 10rem 4rem;
  background-color: var(--gray-light);
}

.registration-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: var(--container-width);
  margin: 0 auto;
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.registration-image {
  height: 100%;
}

.registration-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.registration-form-container {
  padding: 5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--gray-medium);
  border-radius: var(--border-radius);
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.form-checkbox input {
  width: 1.8rem;
  height: 1.8rem;
}

.form-checkbox label {
  margin-bottom: 0;
  font-size: 1.4rem;
}

/* FAQ Section */
.faq-section {
  padding: 10rem 4rem;
  background-color: var(--white);
}

.faq-container {
  max-width: 80rem;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 2rem;
  border: 1px solid var(--gray-medium);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  padding: 2rem;
  background-color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: rgba(0, 119, 204, 0.05);
}

.faq-question h3 {
  font-size: 1.8rem;
  font-weight: 500;
}

.faq-icon {
  color: var(--primary-color);
  font-size: 1.6rem;
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-answer {
  padding: 0 2rem 2rem;
  max-height: 500px;
}

.faq-item.active .faq-icon i {
  transform: rotate(45deg);
}

/* Final CTA Section */
.final-cta {
  padding: 10rem 4rem;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url('https://welcometomazatlan.com/mazatlan.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.7);
}


.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 119, 204, 0.2), transparent 70%);
  z-index: 1;
}

.cta-content {
  max-width: 70rem;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1.2s ease-out;
}

.cta-content h2 {
  font-size: 3.6rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.cta-content p {
  font-size: 1.8rem;
  margin-bottom: 3rem;
}

.cta-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.social-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.social-icon i {
  font-size: 1.8rem;
}

/* Footer */
footer {
  background-color: #1a1a1a;
  color: var(--white);
  padding: 6rem 4rem 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 6rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

.footer-logo h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

.footer-logo p {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
}

.footer-app-links {
  display: flex;
  gap: 1.5rem;
}

.app-button {
  display: flex;
  align-items: center;
  background-color: #333;
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.app-button:hover {
  background-color: var(--primary-color);
}

.app-button i {
  font-size: 2rem;
  margin-right: 1rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.footer-column h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 3rem;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-column a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-bottom {
  max-width: var(--container-width);
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--white);
  width: 80%;
  max-width: 80rem;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
  color: var(--white);
  cursor: pointer;
  z-index: 100;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.tqr-tech {
    padding: 10rem 4rem;
    background-color: var(--gray-light);
    overflow: hidden;
}

.tqr-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: var(--container-width);
    margin: 0 auto;
    align-items: center;
}

.tqr-content {
    padding: 2rem;
}

.tqr-buttons {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.tqr-button {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.tqr-button:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.tqr-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.tqr-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.tqr-image:hover img {
    transform: scale(1.05);
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .navbar, 
  .benefits-container, 
  .steps-container, 
  .registration-container,
  .footer-content {
    max-width: 100%;
  }
}

@media screen and (max-width: 992px) {
  html {
    font-size: 58%;
  }
  
  .registration-container {
    grid-template-columns: 1fr;
  }
  
  .registration-image {
    display: none;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
  
   .tqr-container {
        grid-template-columns: 1fr;
    }
    
    .tqr-content {
        order: 1;
    }
    
    .tqr-image {
        order: 2;
    }
}

@media screen and (max-width: 768px) {
  .navbar {
    padding: 1.5rem 2rem;
  }
  
  .nav-links {
    position: fixed;
    top: 7rem;
    right: -100%;
    width: 75%;
    height: calc(100vh - 7rem);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 5rem;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: 0.5s ease-in-out;
    gap: 4rem;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .burger-menu {
    display: block;
  }
  
  .hero h1 {
    font-size: 3.6rem;
  }
  
  .hero p {
    font-size: 1.8rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }
  
  .benefits, 
  .testimonials, 
  .how-it-works, 
  .registration,
  .faq-section {
    padding: 6rem 2rem;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  .section-header h2 {
    font-size: 3rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
   .tqr-tech {
        padding: 6rem 2rem;
    }
    
    .tqr-buttons {
        flex-direction: column;
    }
}
}

@media screen and (max-width: 480px) {
  html {
    font-size: 55%;
  }
  
  .navbar {
    padding: 1rem;
  }
  
  .logo h1 {
    font-size: 2rem;
  }
  
  .registration-form-container {
    padding: 3rem 2rem;
  }
  
  .testimonial-card {
    padding: 2rem;
  }
  
  .modal-content {
    width: 95%;
  }
}