/* Media queries para diseño responsive */

/* Mobile First - Base styles para móvil */
@media screen and (max-width: 767px) {
  .container {
    padding: 0 15px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Tablet styles */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .container {
    padding: 0 30px;
  }
  
  .section {
    padding: 50px 0;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
}

/* Desktop styles */
@media screen and (min-width: 1024px) {
  .container {
    padding: 0 40px;
  }
  
  .section {
    padding: 80px 0;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
  }
}
/* Header responsive styles */

/* Mobile styles */
@media screen and (max-width: 767px) {
  .header-content {
    padding: 0.8rem 0;
  }
  
  .header.scrolled .header-content {
    padding: 0.6rem 0;
  }
  
  .logo h1 {
    font-size: 1.5rem;
  }
  
  .header.scrolled .logo h1 {
    font-size: 1.3rem;
  }
  
  .logo .tagline {
    font-size: 0.8rem;
  }
  
  .header.scrolled .logo .tagline {
    font-size: 0.7rem;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2rem;
    gap: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
  }
  
  .header.scrolled .nav-menu {
    top: 60px;
    height: calc(100vh - 60px);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    width: 80%;
    text-align: center;
    border-radius: var(--border-radius);
  }
  
  main {
    margin-top: 0;
  }
  
  .header.scrolled + main {
    margin-top: 0;
  }
}

/* Tablet styles */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .header-content {
    padding: 1rem 0;
  }
  
  .header.scrolled .header-content {
    padding: 0.8rem 0;
  }
  
  .logo h1 {
    font-size: 1.8rem;
  }
  
  .header.scrolled .logo h1 {
    font-size: 1.6rem;
  }
  
  .nav-menu {
    gap: 1.5rem;
  }
  
  .nav-link {
    font-size: 0.95rem;
    padding: 0.4rem 0.8rem;
  }
  
  main {
    margin-top: 0;
  }
  
  .header.scrolled + main {
    margin-top: 0;
  }
}

/* Desktop styles */
@media screen and (min-width: 1024px) {
  .header-content {
    padding: 1.2rem 0;
  }
  
  .header.scrolled .header-content {
    padding: 1rem 0;
  }
  
  .logo h1 {
    font-size: 2.2rem;
  }
  
  .header.scrolled .logo h1 {
    font-size: 2rem;
  }
  
  .nav-menu {
    gap: 2.5rem;
  }
  
  .nav-link {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
  
  .nav-link:hover {
    transform: translateY(-2px);
  }
  
  main {
    margin-top: 0;
  }
  
  .header.scrolled + main {
    margin-top: 0;
  }
}
/* Carousel responsive styles */

/* Mobile styles */
@media screen and (max-width: 767px) {
  .carousel-container {
    height: 300px;
  }
  
  .carousel-caption {
    padding: 2rem 1rem 1rem;
  }
  
  .carousel-caption h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .carousel-caption p {
    font-size: 1rem;
  }
  
  .carousel-prev,
  .carousel-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .carousel-prev {
    left: 10px;
  }
  
  .carousel-next {
    right: 10px;
  }
  
  .carousel-indicators {
    bottom: 15px;
  }
  
  .carousel-indicator {
    width: 10px;
    height: 10px;
  }
}

/* Tablet styles */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .carousel-container {
    height: 400px;
  }
  
  .carousel-caption {
    padding: 2.5rem 1.5rem 1.5rem;
  }
  
  .carousel-caption h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }
  
  .carousel-caption p {
    font-size: 1.1rem;
  }
  
  .carousel-prev,
  .carousel-next {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
  
  .carousel-prev {
    left: 15px;
  }
  
  .carousel-next {
    right: 15px;
  }
}

/* Desktop styles */
@media screen and (min-width: 1024px) {
  .carousel-container {
    height: 600px;
  }
  
  .carousel-caption {
    padding: 4rem 3rem 3rem;
  }
  
  .carousel-caption h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
  }
  
  .carousel-caption p {
    font-size: 1.3rem;
  }
  
  .carousel-prev,
  .carousel-next {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }
  
  .carousel-prev {
    left: 30px;
  }
  
  .carousel-next {
    right: 30px;
  }
  
  .carousel-prev:hover,
  .carousel-next:hover {
    transform: translateY(-50%) scale(1.2);
  }
  
  .carousel-indicators {
    bottom: 30px;
  }
  
  .carousel-indicator {
    width: 14px;
    height: 14px;
  }
}
/* Services responsive styles */

/* Mobile styles */
@media screen and (max-width: 767px) {
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .services-grid {
    gap: 2rem;
  }
  
  .service-category {
    padding: 1.5rem;
  }
  
  .service-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .service-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 1rem;
  }
  
  .service-card img {
    height: 150px;
  }
  
  .service-card h4 {
    font-size: 1.1rem;
  }
}

/* Tablet styles */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  .services-grid {
    gap: 3rem;
  }
  
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .service-card img {
    height: 180px;
  }
}

/* Desktop styles */
@media screen and (min-width: 1024px) {
  .service-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .service-card:hover {
    transform: translateY(-8px);
  }
}
/* About section responsive styles */

/* Mobile styles */
@media screen and (max-width: 767px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-text h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
  }
  
  .about-stats {
    padding: 1.5rem;
  }
  
  .stat h4 {
    font-size: 2.5rem;
  }
  
  .stat p {
    font-size: 1rem;
  }
}

/* Tablet styles */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .about-content {
    gap: 3rem;
  }
  
  .about-stats {
    padding: 1.8rem;
  }
}

/* Desktop styles */
@media screen and (min-width: 1024px) {
  .about-content {
    gap: 5rem;
  }
}
/* Contact section responsive styles */

/* Mobile styles */
@media screen and (max-width: 767px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .contact-item {
    margin-bottom: 1.5rem;
  }
  
  .contact-item h4 {
    font-size: 1.1rem;
  }
  
  .contact-form-container {
    padding: 1.5rem;
  }
  
  .form-group {
    gap: 1rem;
  }
  
  .btn-primary {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}

/* Tablet styles */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .contact-content {
    gap: 3rem;
  }
  
  .contact-form-container {
    padding: 1.8rem;
  }
}

/* Desktop styles */
@media screen and (min-width: 1024px) {
  .contact-content {
    gap: 5rem;
  }
  
  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
  }
}
/* Footer responsive styles */

/* Mobile styles */
@media screen and (max-width: 767px) {
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-section h3 {
    font-size: 1.3rem;
  }
  
  .footer-section h4 {
    font-size: 1.1rem;
  }
  
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 15px;
    right: 15px;
    font-size: 1.3rem;
  }
}

/* Tablet styles */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop styles */
@media screen and (min-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
  }
}
/* Responsive para imagen estática del mapa */
@media screen and (max-width: 767px) {
  .static-map-image {
    height: 150px;
  }
  
  .map-overlay {
    padding: 10px;
  }
  
  .map-overlay-text {
    font-size: 0.8rem;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .static-map-image {
    height: 180px;
  }
}