/* CSS Contacto */
    :root {
      --primary: #182F5C;
      --secondary: #182F5C;
      --accent: #B02222;
      --light: #f8f9fa;
      --dark: #212529;
      --light-blue: #e6f2ff;
    }
    
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #f0f7ff;
      color: #333;
      padding-top: 0;
    }
    
    /* Header */
    .top-header {
      background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
      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: linear-gradient(135deg, #B02222 0%, #B02222 100%);
      color: #ffffff !important;
      font-weight: 600; 
      border-radius: 50px;
      padding: 10px 20px !important;
    }
    
    /* Hero Contacto */
    .hero-contacto {
      background: linear-gradient(rgba(13, 91, 209, 0.37), rgba(13, 91, 209, 0.39)), url('https://cdn.pixabay.com/photo/2019/05/10/14/23/contact-us-4193637_640.jpg');
      background-size: cover;
      background-position: center;
      min-height: 300px;
      display: flex;
      align-items: center;
      color: white;
      text-shadow: 0 2px 4px rgba(0,0,0,0.2);
      padding: 60px 0;
      margin-top: 0px;
    }
    
    .hero-contacto h1 {
      font-size: 3.5rem;
      font-weight: 800;
      margin-bottom: 20px;
    }
    
    .hero-contacto .breadcrumb {
      background: transparent;
      padding: 0;
    }
    
    .hero-contacto .breadcrumb-item a {
      color: rgba(3, 3, 3, 0.8);
      text-decoration: none;
    }
    
    .hero-contacto .breadcrumb-item.active {
      color: var(--accent);
    }
    
    /* Sección de Contacto */
    .contact-section {
      padding: 80px 0;
      background: white;
    }
    
    .section-header {
      text-align: center;
      margin-bottom: 50px;
    }
    
    .section-header h2 {
      font-weight: 800;
      color: var(--secondary);
      position: relative;
      display: inline-block;
      padding-bottom: 15px;
    }
    
    .section-header h2:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: var(--accent);
      border-radius: 10px;
    }
    
    .section-header p {
      font-size: 1.1rem;
      max-width: 700px;
      margin: 20px auto 0;
      color: #555;
    }
    
    .contact-card {
      background: white;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.08);
      padding: 40px;
      height: 100%;
      transition: all 0.3s ease;
    }
    
    .contact-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }
    
    .contact-card h3 {
      color: var(--secondary);
      font-weight: 700;
      margin-bottom: 25px;
      padding-bottom: 15px;
      border-bottom: 2px solid var(--light-blue);
    }
    
    .contact-info {
      margin-bottom: 30px;
    }
    
    .contact-item {
      display: flex;
      align-items: flex-start;
      margin-bottom: 20px;
    }
    
    .contact-icon {
      background: var(--light-blue);
      width: 45px;
      height: 45px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 15px;
      color: var(--primary);
      font-size: 1.2rem;
    }
    
    .contact-details h4 {
      font-weight: 600;
      margin-bottom: 5px;
    }
    
    .contact-details p {
      margin: 0;
      color: #555;
    }
    
    .contact-details a {
      color: var(--primary);
      text-decoration: none;
      transition: all 0.3s ease;
    }
    
    .contact-details a:hover {
      color: var(--secondary);
      text-decoration: underline;
    }
    
    .horario-item {
      display: flex;
      justify-content: space-between;
      padding: 10px 0;
      border-bottom: 1px dashed #eee;
    }
    
    .horario-item:last-child {
      border-bottom: none;
    }
    
    .horario-dias {
      font-weight: 500;
    }
    
    .horario-horas {
      color: var(--primary);
      font-weight: 600;
    }
    
    .form-group {
      margin-bottom: 25px;
    }
    
    .form-control {
      border: 1px solid #ddd;
      border-radius: 8px;
      padding: 12px 15px;
      height: 50px;
      transition: all 0.3s ease;
    }
    
    .form-control:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(26, 109, 255, 0.1);
    }
    
    textarea.form-control {
      height: 150px;
      resize: none;
    }
    
    .btn-submit {
      background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
      color: white;
      font-weight: 600;
      border: none;
      border-radius: 8px;
      padding: 14px 30px;
      width: 100%;
      transition: all 0.3s ease;
      font-size: 1.1rem;
    }
    
    .btn-submit:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(13, 91, 209, 0.4);
    }
    
    .map-container {
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
      height: 100%;
    }
    
    .map-container iframe {
      width: 100%;
      height: 100%;
      min-height: 400px;
      border: none;
    }
    
    /* Preguntas Frecuentes */
    .faq-section {
      padding: 80px 0;
      background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    }
    
    .accordion-item {
      border: none;
      border-radius: 10px;
      margin-bottom: 15px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.05);
      overflow: hidden;
    }
    
    .accordion-button {
      background: white;
      color: var(--secondary);
      font-weight: 600;
      padding: 20px 25px;
      border: none;
    }
    
    .accordion-button:not(.collapsed) {
      background: var(--light-blue);
      color: var(--secondary);
      box-shadow: none;
    }
    
    .accordion-button:focus {
      box-shadow: none;
    }
    
    .accordion-button::after {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a6dff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    }
    
    .accordion-body {
      padding: 20px 25px;
      background: white;
      color: #555;
    }
    
    /* 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-contacto h1 {
        font-size: 2.8rem;
      }
    }
    
    @media (max-width: 768px) {
      .hero-contacto {
        min-height: 250px;
      }
      
      .hero-contacto h1 {
        font-size: 2.3rem;
      }
      
      .section-header h2 {
        font-size: 1.8rem;
      }
    }
    
    @media (max-width: 576px) {
      .hero-contacto 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); }
        }