/* CORRECCIÓN ESPECÍFICA PARA PC - ELIMINAR FONDOS NEGROS */

/* SOLO PARA PANTALLAS DE PC (769px+) */
@media screen and (min-width: 769px) {
  
  /* FORZAR FONDOS BLANCOS EN TODOS LOS ELEMENTOS */
  html,
  body,
  * {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
  }
  
  /* SECCIONES PRINCIPALES */
  .section,
  .bg-light,
  .bg-dark {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
  }
  
  /* TARJETAS Y ELEMENTOS */
  .service-card,
  .project-item,
  .safety-item,
  .contact-item,
  .project-info,
  .cta-box,
  .about-content,
  .contact-content,
  .about-stats,
  .contact-info {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
  }
  
  /* GALERÍAS Y GRIDS */
  .projects-gallery,
  .services-grid,
  .safety-features {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
  }
  
  /* FAQ */
  .faq,
  .faq-item,
  .faq-q,
  .faq-a {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
  }
  
  /* EXCEPCIONES - MANTENER HERO CON IMAGEN */
  .hero,
  .hero *,
  .hero img.bg {
    background: initial !important;
    background-color: initial !important;
    background-image: initial !important;
  }
  
  /* EXCEPCIONES - BOTONES MANTIENEN SU COLOR */
  .btn,
  .btn-primary,
  .btn-whatsapp,
  .hero .btn,
  .hero .btn-primary,
  .hero #hero-cta {
    background: initial !important;
    background-color: initial !important;
  }
  
  /* FORZAR BOTÓN ROJO DEL HERO */
  .hero .btn-primary,
  .hero #hero-cta {
    background: #b71c1c !important;
    background-color: #b71c1c !important;
    color: #ffffff !important;
  }
  
  .hero .btn-primary:hover,
  .hero #hero-cta:hover {
    background: #c41e3a !important;
    background-color: #c41e3a !important;
  }
}

/* CORRECCIÓN ADICIONAL PARA BOTÓN HERO - MÁXIMA PRIORIDAD */
@media screen and (min-width: 769px) {
  
  /* BOTÓN HERO ROJO - FORZAR ESTILO */
  .hero .btn,
  .hero .btn-primary,
  .hero #hero-cta,
  a#hero-cta {
    background: #b71c1c !important;
    background-color: #b71c1c !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
  }
  
  .hero .btn:hover,
  .hero .btn-primary:hover,
  .hero #hero-cta:hover,
  a#hero-cta:hover {
    background: #c41e3a !important;
    background-color: #c41e3a !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
  }
}

/* TEXTO NEGRO PARA MEJOR CONTRASTE EN PC */
@media screen and (min-width: 769px) {
  
  /* TÍTULOS EN NEGRO */
  h1, h2, h3, h4, h5, h6,
  .h2,
  .section h1,
  .section h2,
  .section h3,
  .section h4,
  .service-card h3,
  .project-info h4,
  .safety-item h3,
  .contact-item h3,
  .about-values h3,
  .faq-q {
    color: #222222 !important;
    font-weight: 700 !important;
  }
  
  /* PÁRRAFOS Y TEXTO PRINCIPAL EN NEGRO */
  p,
  .lead2,
  .section p,
  .service-card p,
  .project-info p,
  .safety-item p,
  .contact-item p,
  .about-text,
  .about-text p,
  .faq-a,
  .final-text {
    color: #333333 !important;
    font-weight: 500 !important;
  }
  
  /* KICKERS Y TEXTO SECUNDARIO */
  .kicker,
  .note,
  .stat-label,
  .service-areas li {
    color: #666666 !important;
    font-weight: 600 !important;
  }
  
  /* ENLACES (NO BOTONES) */
  a:not(.btn):not(.hero-tab):not(.service-card) {
    color: #222222 !important;
    font-weight: 600 !important;
  }
  
  /* ESTADÍSTICAS - NÚMEROS ROJOS */
  .stat-number {
    color: #b71c1c !important;
    font-weight: 900 !important;
  }
  
  /* EXCEPCIONES - MANTENER HERO BLANCO */
  .hero,
  .hero *,
  .hero h1,
  .hero .lead,
  .hero .kicker,
  .hero p {
    color: #ffffff !important;
  }
  
  /* EXCEPCIONES - NAVEGACIÓN */
  header,
  header *,
  .nav,
  .nav *,
  .nav a {
    color: initial !important;
  }
}

/* RESTAURAR BOTÓN VERDE DE WHATSAPP PARA PC */
@media screen and (min-width: 769px) {
  
  /* BOTÓN WHATSAPP VERDE */
  .btn-whatsapp,
  a[href*="wa.me"],
  a[href*="whatsapp"],
  .btn-wa {
    background: #25D366 !important;
    background-color: #25D366 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 16px 32px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
  }
  
  .btn-whatsapp:hover,
  a[href*="wa.me"]:hover,
  a[href*="whatsapp"]:hover,
  .btn-wa:hover {
    background: #128C7E !important;
    background-color: #128C7E !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
  }
  
  /* BOTÓN GRANDE ESPECÍFICO */
  .btn-large.btn-whatsapp {
    padding: 16px 32px !important;
    font-size: 18px !important;
    min-height: 56px !important;
  }
  
  /* ASEGURAR QUE NO SE SOBRESCRIBA EL COLOR */
  .cta-box .btn-whatsapp,
  .contact-cta .btn-whatsapp {
    background: #25D366 !important;
    background-color: #25D366 !important;
    color: #ffffff !important;
  }
}/* 
ESTILOS PARA REDES SOCIALES */
@media screen and (min-width: 769px) {
  
  /* CONTENEDOR DE REDES SOCIALES */
  .social-links {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
  }
  
  /* ENLACES DE REDES SOCIALES */
  .social-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: none !important;
    color: #ffffff !important;
  }
  
  /* FACEBOOK */
  .social-link.facebook {
    background: #1877F2 !important;
    color: #ffffff !important;
  }
  
  .social-link.facebook:hover {
    background: #166FE5 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3) !important;
  }
  
  /* INSTAGRAM */
  .social-link.instagram {
    background: linear-gradient(45deg, #F56040, #E1306C, #C13584, #833AB4, #5851DB) !important;
    color: #ffffff !important;
  }
  
  .social-link.instagram:hover {
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.3) !important;
  }
  
  /* ICONOS SVG */
  .social-link svg {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
  }
}

/* ESTILOS PARA MÓVIL */
@media screen and (max-width: 768px) {
  
  .social-links {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
  }
  
  .social-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 10px 14px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    color: #ffffff !important;
  }
  
  .social-link.facebook {
    background: #1877F2 !important;
    color: #ffffff !important;
  }
  
  .social-link.facebook:hover {
    color: #ffffff !important;
  }
  
  .social-link.instagram {
    background: linear-gradient(45deg, #F56040, #E1306C, #C13584, #833AB4, #5851DB) !important;
    color: #ffffff !important;
  }
  
  .social-link.instagram:hover {
    color: #ffffff !important;
  }
  
  .social-link svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
  }
}/* ES
TILOS PARA FOOTER CON REDES SOCIALES */
@media screen and (min-width: 769px) {
  
  .footer-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 40px !important;
    flex-wrap: wrap !important;
  }
  
  .footer-info {
    flex: 1 !important;
  }
  
  .footer-social {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 8px !important;
  }
  
  .footer-social p {
    margin: 0 !important;
    color: #666666 !important;
    font-size: 14px !important;
  }
  
  .footer-social .social-links {
    gap: 12px !important;
  }
  
  .footer-social .social-link {
    padding: 8px 12px !important;
    font-size: 13px !important;
  }
}

@media screen and (max-width: 768px) {
  
  .footer-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    text-align: center !important;
  }
  
  .footer-social {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
  }
  
  .footer-social p {
    margin: 0 !important;
    color: #666666 !important;
    font-size: 14px !important;
  }
  
  .footer-social .social-links {
    justify-content: center !important;
  }
}