/* CSS para la página de Servicios */
    :root {
      --primary: #182F5C;
      --secondary: #182F5C;
      --accent: #B02222;
      --light: #f8f9fa;
      --dark: #000000;
      --light-blue: #e6f2ff;
    }
    
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #f0f7ff;
      color: #333;
      padding-top: 0;
    }
    
    /* Header */
    .top-header {
      padding: 6px 0;
      font-size: 0.9rem;
      z-index: 1030;
    }
    
    .navbar {
      background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
      padding: 10px 0;
    }
    
    .navbar-brand {
      font-weight: 700;
      font-size: 1.5rem;
      letter-spacing: 0.5px;
    }
    
    .navbar-brand img {
      filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    }
    
    .nav-link {
      color: white !important;
      font-weight: 500;
      padding: 12px 18px !important;
      border-radius: 50px;
      transition: all 0.3s ease;
    }
    
    .nav-link:hover {
      background: rgba(255, 255, 255, 0.15);
    }
    
    .consultas-btn {
      background: #B02222;
      color: #ffffff !important;
      font-weight: 600;
      border-radius: 50px;
      padding: 10px 20px !important;
    }

       /* Hero servicios */
    .hero-servicios {
      background: #182F5C ;
      background-size: cover;
      background-position: center;
      min-height: 400px;
      display: flex;
      align-items: center;
      color: white;
      text-shadow: 0 2px 4px rgba(0,0,0,0.2);
      padding: 60px 0;
      margin-top: 1px;
    }
    
    .hero-servicios h1 {
      font-size: 3.5rem;
      font-weight: 800;
      margin-bottom: 20px;
    }
    
    .hero-servicios .breadcrumb {
      background: transparent;
      padding: 0;
    }
    
    .hero-servicios .breadcrumb-item a {
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
    }
    
    .hero-servicios .breadcrumb-item.active {
      color: var(--accent);
    }
    
    /* Categorías de servicios */
    .servicios-categorias {
      padding: 80px 0;
      background: white;
    }
    
    .categoria-header {
      text-align: center;
      margin-bottom: 50px;
    }
    
    .categoria-header h2 {
      font-weight: 800;
      color: var(--secondary);
      position: relative;
      display: inline-block;
      padding-bottom: 15px;
    }
    
    .categoria-header h2:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: var(--accent);
      border-radius: 10px;
    }
    
    .categoria-header p {
      font-size: 1.1rem;
      max-width: 700px;
      margin: 20px auto 0;
      color: #555;
    }
    
    .servicio-card {
      background: white;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0,0,0,0.08);
      transition: all 0.4s ease;
      height: 100%;
      margin-bottom: 30px;
    }
    
    .servicio-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }
    
    .servicio-img {
      height: 200px;
      overflow: hidden;
    }
    
    .servicio-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }
    
    .servicio-card:hover .servicio-img img {
      transform: scale(1.05);
    }
    
    .servicio-content {
      padding: 25px;
    }
    
    .servicio-content h3 {
      color: var(--secondary);
      font-weight: 700;
      margin-bottom: 15px;
    }
    
    .servicio-content p {
      color: #555;
      margin-bottom: 20px;
    }
    
    .servicio-list {
      list-style: none;
      padding: 0;
      margin-bottom: 25px;
    }
    
    .servicio-list li {
      padding: 8px 0;
      border-bottom: 1px dashed #eee;
      display: flex;
      align-items: center;
    }
    
    .servicio-list li:before {
      content: "\f00c";
      font-family: "Font Awesome 5 Free";
      font-weight: 900;
      color: var(--accent);
      margin-right: 10px;
    }
    
    .servicio-btn {
      background: var(--primary);
      color: white;
      font-weight: 600;
      border: none;
      border-radius: 8px;
      padding: 10px 20px;
      transition: all 0.3s ease;
      text-decoration: none;
      display: inline-block;
    }
    
    .servicio-btn:hover {
      background: var(--secondary);
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(13, 91, 209, 0.3);
      color: white;
    }
    
    /* CTA */
    .cta-section {
      padding: 80px 0;
      background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
      color: white;
      text-align: center;
    }
    
    .cta-section h2 {
      font-weight: 800;
      margin-bottom: 20px;
    }
    
    .cta-section p {
      font-size: 1.2rem;
      max-width: 700px;
      margin: 0 auto 30px;
      opacity: 0.9;
    }
    
    .btn-cta-primary {
      background: var(--accent);
      color: white;
      font-weight: 600;
      padding: 12px 30px;
      border-radius: 50px;
      border: none;
      transition: all 0.3s ease;
    }
    
    .btn-cta-primary:hover {
      background: #070ace;
      transform: translateY(-3px);
      box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    }
    
    /* Footer */
    .footer {
      background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
      color: white;
      padding: 40px 0 20px;
    }
    
    .footer h5 {
      font-weight: 700;
      margin-bottom: 20px;
    }
    
    .footer p {
      color: rgba(255,255,255,0.8);
    }
    
    .copyright {
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 20px;
      margin-top: 30px;
      text-align: center;
      color: rgba(255,255,255,0.7);
    }
    
    /* Responsive */
    @media (max-width: 992px) {
      .hero-servicios h1 {
        font-size: 2.8rem;
      }
    }
    
    @media (max-width: 768px) {
      .hero-servicios {
        min-height: 350px;
      }
      
      .hero-servicios h1 {
        font-size: 2.3rem;
      }
      
      .categoria-header h2 {
        font-size: 1.8rem;
      }
    }
    
    @media (max-width: 576px) {
      .hero-servicios h1 {
        font-size: 2rem;
      }
    }



             .emergency-badge {
            position: fixed;
            bottom: 25px;
            left: 25px; /* Cambiado de right a left */
            
            padding: 15px 25px;
            border-radius: 50px;
            box-shadow: 0 5px 25px rgba(21, 1, 202, 0);
            font-family: 'Montserrat', sans-serif;
            text-align: center;
            z-index: 10000;
            animation: pulse 5s infinite;
        }

        .emergency-icon {
            color: #ff0000;
            font-size: 28px;
            margin-bottom: 5px;
            animation: shake 0.8s infinite alternate;
        }

        .emergency-title {
            font-size: 14px;
            font-weight: 700;
            background-color: #182F5C;
            color: #ffffff;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 3px;
        }

        .emergency-number {
            font-size: 24px;
            font-weight: 800;
            color: #B02222;
            letter-spacing: 1px;
        }


        @keyframes pulse {
            0% { transform: scale(1); box-shadow: 0 5px 15px rgba(255, 0, 0, 0); }
            50% { transform: scale(1.02); box-shadow: 0 5px 25px rgba(255, 0, 0, 0); }
            100% { transform: scale(1); box-shadow: 0 5px 15px rgba(255, 0, 0, 0); }
        }

        @keyframes shake {
            0% { transform: rotate(-5deg); }
            100% { transform: rotate(5deg); }
        }