﻿@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  --primary: #d90429;
  --primary-dark: #b8001f;
  --primary-light: #ef233c;
  --accent: #ffb703;
  --accent-hover: #fb8500;
  --dark: #0f172a;
  --dark-surface: #1e293b;
  --light-bg: #f8fafc;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --success: #10b981;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Pulse animation for emergency buttons */
@keyframes emergency-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(217, 4, 41, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(217, 4, 41, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(217, 4, 41, 0);
  }
}

@keyframes green-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.btn-emergency-pulse {
  animation: emergency-pulse 2s infinite;
}

.btn-whatsapp-pulse {
  animation: green-pulse 2.2s infinite;
}

/* Beacon live status */
.live-beacon {
  width: 10px;
  height: 10px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}
.live-beacon::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.4);
  animation: beacon-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes beacon-ping {
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Hero gradient overlay */
.hero-gradient {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.85) 60%, rgba(184, 0, 31, 0.75) 100%);
}

/* Card hover glow */
.service-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04), 0 0 0 2px rgba(217, 4, 41, 0.2);
}

.faq-item[open] summary svg {
  transform: rotate(180deg);
}
