/* ============================================ */
/* FOOTER STYLING - footer-security prefix      */
/* ============================================ */

.footer-security {
    background: var(--dark);
    color: white;
    padding: 4rem 2rem 2rem;
    border-top: 4px solid var(--red);
    position: relative;
    overflow: hidden;
  }
  
  .footer-security::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), var(--red-dark), var(--red), transparent);
    animation: footerGlow 3s ease-in-out infinite;
  }
  
  @keyframes footerGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
  }
  
  .footer-security .container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  
  /* Footer Grid */
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 2rem;
  }
  
  /* Brand Column */
  .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
  }
  
  .footer-logo .nav-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .footer-logo .nav-logo-icon img {
    width: auto;
    height: 70px;
    max-width: 200px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
  }
  
  .footer-logo .nav-logo-icon img:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(230, 57, 70, 0.3));
  }
  
  .footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
  }
  
  /* Emergency Phone */
  .footer-emergency {
    background: rgba(230, 57, 70, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border-left: 3px solid var(--red);
    transition: all 0.3s ease;
  }
  
  .footer-emergency:hover {
    background: rgba(230, 57, 70, 0.15);
    transform: translateX(5px);
  }
  
  .emergency-phone {
    color: var(--red);
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .emergency-phone::before {
    content: '📞';
    font-size: 1.2rem;
    animation: phonePulse 2s ease-in-out infinite;
  }
  
  @keyframes phonePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
  }
  
  /* Social Links */
  .footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
  }
  
  .social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .social-link:hover {
    background: var(--red);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.3);
    border-color: var(--red);
  }
  
  /* Footer Columns */
  .footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-col h4 {
    font-family: var(--font-display);
    color: var(--red);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
    position: relative;
  }
  
  .footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
  }
  
  .footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
  }
  
  .footer-col a::before {
    content: '›';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--red);
    font-weight: 700;
  }
  
  .footer-col a:hover {
    color: white;
    padding-left: 1.5rem;
  }
  
  .footer-col a:hover::before {
    opacity: 1;
  }
  
  /* Footer Bottom */
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    padding-top: 0.5rem;
  }
  
  .footer-legal {
    display: flex;
    gap: 2rem;
  }
  
  .footer-legal a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
  }
  
  .footer-legal a:hover {
    color: var(--red);
  }
  
  /* ============================================ */
  /* SERVICE MODAL - modal-security prefix        */
  /* ============================================ */
  
  .modal-security {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .modal-security.active {
    display: flex;
    opacity: 1;
  }
  
  .modal-content {
    background: var(--dark-light);
    border-radius: 24px;
    max-width: 600px;
    width: 90%;
    position: relative;
    padding: 3rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
  }
  
  .modal-security.active .modal-content {
    transform: scale(1) translateY(0);
  }
  
  .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .modal-close:hover {
    background: rgba(230, 57, 70, 0.2);
    border-color: var(--red);
    transform: rotate(90deg);
  }
  
  .modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  
  .modal-icon {
    font-size: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(230, 57, 70, 0.1);
  }
  
  .modal-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
  }
  
  .modal-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 1rem;
  }
  
  .modal-features {
    margin-top: 0.5rem;
  }
  
  .modal-features h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--red);
    margin-bottom: 0.8rem;
  }
  
  .modal-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
  }
  
  .modal-features li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .modal-features li::before {
    content: '✓';
    color: var(--red);
    font-weight: 700;
  }
  
  .modal-cta {
    background: var(--red);
    border: none;
    color: white;
    padding: 1.2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
  }
  
  .modal-cta:hover {
    background: var(--red-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(230, 57, 70, 0.3);
    gap: 1.2rem;
  }
  
  .modal-cta::after {
    content: '→';
    transition: transform 0.3s ease;
  }
  
  .modal-cta:hover::after {
    transform: translateX(5px);
  }
  
  /* ============================================ */
  /* RESPONSIVE - footer & modal                  */
  /* ============================================ */
  
  @media (max-width: 1200px) {
    .footer-grid {
      grid-template-columns: 2fr 2fr 1fr 1fr;
      gap: 2rem;
    }
  }
  
  @media (max-width: 992px) {
    .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 2.5rem;
    }
    
    .footer-brand {
      grid-column: span 2;
    }
    
    .footer-logo .nav-logo-icon img {
      height: 60px;
      max-width: 180px;
    }
  }
  
  @media (max-width: 768px) {
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    
    .footer-brand {
      grid-column: span 1;
    }
    
    .footer-logo .nav-logo-icon img {
      height: 50px;
      max-width: 150px;
    }
    
    .footer-bottom {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
    }
    
    .footer-legal {
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
    }
    
    .footer-col h4::after {
      left: 50%;
      transform: translateX(-50%);
    }
    
    .footer-col a {
      text-align: center;
    }
    
    .footer-col a:hover {
      padding-left: 0;
    }
    
    .footer-col a::before {
      display: none;
    }
    
    .footer-social {
      justify-content: center;
    }
    
    .footer-emergency {
      text-align: center;
    }
    
    .modal-content {
      padding: 2rem 1.5rem;
    }
    
    .modal-features ul {
      grid-template-columns: 1fr;
    }
    
    .modal-content h2 {
      font-size: 1.6rem;
    }
    
    .modal-icon {
      width: 60px;
      height: 60px;
      font-size: 2.5rem;
    }
  }
  
  @media (max-width: 480px) {
    .footer-security {
      padding: 3rem 1rem 1.5rem;
    }
    
    .footer-logo .nav-logo-icon img {
      height: 40px;
      max-width: 120px;
    }
    
    .footer-logo {
      font-size: 1.2rem;
    }
    
    .emergency-phone {
      font-size: 0.9rem;
    }
    
    .modal-content {
      padding: 1.5rem 1rem;
    }
    
    .modal-close {
      width: 36px;
      height: 36px;
      font-size: 1.2rem;
    }
  }