/* Responsive Styles */

/* Large Screens (Desktops) */
@media (max-width: 1200px) {
  .hero-title {
    font-size: var(--font-size-xxl);
  }
  
  .about-content {
    gap: var(--space-lg);
  }
}

/* Medium Screens (Tablets) */
@media (max-width: 992px) {
  .hero-container {
    padding: var(--space-xl) 0;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-features {
    justify-content: center;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  
  .about-image {
    margin-bottom: var(--space-lg);
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .about-stats {
    justify-content: center;
  }
  
  .stat {
    padding: 0 var(--space-md);
  }
  
  .ley-nietos-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }
  
  .ley-nietos-title {
    font-size: var(--font-size-xxl);
  }
  
  .title-underline {
    margin-left: auto;
    margin-right: auto;
  }
  
  .contact-content {
    flex-direction: column;
  }
  
  .footer-top {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .footer-logo {
    text-align: center;
  }
  
  .footer-links {
    justify-content: space-around;
    flex-wrap: wrap;
  }
}

/* Small Screens (Mobile) */
@media (max-width: 768px) {
  .navbar-container {
    padding: var(--space-sm) var(--space-md);
  }
  
  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--bg-light);
    padding: var(--space-xl) var(--space-md);
    transition: right var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }
  
  .navbar-menu.active {
    right: 0;
  }
  
  .navbar-links {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .nav-link {
    color: var(--text-dark);
    display: block;
    padding: var(--space-sm) 0;
    font-size: var(--font-size-lg);
  }
  
  .navbar-toggle {
    display: flex;
  }
  
  .navbar-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .navbar-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .navbar-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
  .navbar-cta {
    display: none;
  }
  
  .hero-title {
    font-size: var(--font-size-xl);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
  }
  
  .hero-cta {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
  }
  
  .hero-cta .btn {
    min-width: 200px;
  }
  
  .hero-features {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
  }
  
  .feature {
    justify-content: center;
    min-width: 200px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .ley-nietos-title {
    font-size: var(--font-size-xl);
  }
  
  .ley-nietos-highlight {
    font-size: var(--font-size-lg);
  }
  
  .about-stats {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--space-xl);
    text-align: center;
  }
  
  .footer-legal {
    flex-direction: column;
  }
  
  .legal-links {
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  body.menu-open {
    overflow: hidden;
  }
}

/* Extra Small Screens */
@media (max-width: 480px) {
  .section-title {
    font-size: var(--font-size-xl);
  }
  
  .section-subtitle {
    font-size: var(--font-size-md);
  }
  
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(135, 206, 235, 0.9) 0%,
      rgba(173, 216, 230, 0.75) 40%,
      rgba(255, 255, 255, 0.5) 70%,
      rgba(255, 255, 255, 0.3) 100%
    );
  }
  
  .faq-question h3 {
    font-size: var(--font-size-md);
  }
}