/* Responsive Styles */

/* Tablet & Smaller Desktops */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  /* Hero Section */
  .hero-section {
    padding: 140px 0 80px;
  }
  
  .hero-content h1 {
    font-size: 2.4rem;
  }
  
  /* Benefits Section */
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Services Section */
  .services-grid {
    gap: var(--spacing-md);
  }

  /* Why Us Section */
  .why-us-section .container {
    flex-direction: column;
    gap: var(--spacing-xl);
  }
  
  .why-us-image {
    order: -1;
  }
  
  /* Contact Section */
  .contact-content {
    gap: var(--spacing-lg);
  }

  /* Footer */
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
}

/* Tablets */
@media (max-width: 768px) {
  section {
    padding: var(--spacing-lg) 0;
  }
  
  .section-header {
    margin-bottom: var(--spacing-lg);
  }
  
  /* Navigation */
  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: white;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    text-align: center;
  }
  
  .nav-list li {
    margin: var(--spacing-md) 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .nav-cta {
    display: none;
  }
  
  /* Hero Section */
  .hero-section .container {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  /* Contact Section */
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    text-align: center;
  }
  
  .contact-info .section-header {
    text-align: center;
  }
  
  .contact-item {
    justify-content: center;
  }
  
  .social-media {
    justify-content: center;
  }
  
  /* CTA Section */
  .cta-content h2 {
    font-size: 1.8rem;
  }
  
  /* Testimonials */
  .testimonial-controls {
    gap: var(--spacing-sm);
  }
}

/* Mobile Phones */
@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  /* Hero Section */
  .hero-section {
    padding: 120px 0 60px;
  }
  
  .hero-content .subtitle {
    font-size: 1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  /* Benefits Section */
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  /* Services Section */
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  /* Contact Form */
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .full-width {
    grid-column: 1;
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-xs);
  }
  
  .newsletter-form button {
    border-radius: var(--radius-md);
  }
}

/* =========================================
   RESPONSIVE PARA NUEVAS SECCIONES
   ========================================= */
@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: 1 fr;
    }
    
    .team-grid {
        grid-template-columns: 1 fr;
        gap: 25px;
    }
    
    .team-card {
        padding: 25px;
    }
    
    .metric-data {
        flex-direction: row; /* Mantiene los números uno al lado del otro si caben */
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .faq-item {
        padding: 20px;
    }
}

