/* Emergency Services Page Styles */
.emergency-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: var(--gradient-primary);
  overflow: hidden;
}

/* Light background for Emergency Services page */
.emergency-services {
  background: #f0f9ff;
}

.emergency-process {
  background: #f0f9ff;
}

.emergency-coverage {
  background: #f0f9ff;
}

.emergency-cta {
  background: var(--gradient-accent);
  color: white;
}
.emergency-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.emergency-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(231, 76, 60, 0.9) 0%,
    rgba(230, 126, 34, 0.8) 50%,
    rgba(44, 90, 160, 0.7) 100%
  );
}

.emergency-hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.emergency-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.2);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.emergency-badge svg {
  color: var(--warning-orange);
}

.emergency-badge span {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.emergency-hero h1 {
  color: white;
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: var(--space-sm);
}

.emergency-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  margin-bottom: var(--space-md);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.emergency-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.emergency-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.emergency-stat {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 150px;
}

.emergency-stat .stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--warning-orange);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.emergency-stat .stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.emergency-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.btn-emergency {
  background: var(--error-red);
  color: white;
  font-weight: 700;
  padding: var(--space-md) var(--space-xl);
  font-size: 1.1rem;
  animation: pulse 2s infinite;
}

.btn-emergency:hover {
  background: #c0392b;
  transform: translateY(-2px);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
  }
}

/* Emergency Services Section */
.emergency-services {
  background: var(--cream);
}

.emergency-service-card {
  height: 100%;
  border-left: 4px solid var(--error-red);
  transition: all 0.3s ease;
}

.emergency-service-card:hover {
  transform: translateY(-8px);
  border-left-color: var(--warning-orange);
}

.service-emergency-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--error-red);
  border-radius: 50%;
  color: white;
}

.emergency-service-card h3 {
  color: var(--error-red);
  text-align: center;
  margin-bottom: var(--space-md);
}

.emergency-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.emergency-features span {
  font-size: 0.9rem;
  color: var(--success-green);
  font-weight: 500;
}

/* Emergency Process Section */
.emergency-process {
  background: white;
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 25px;
  top: 60px;
  width: 2px;
  height: calc(100% + var(--space-xl));
  background: var(--light-gray);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.step-content h3 {
  color: var(--primary-blue);
  margin-bottom: var(--space-sm);
}

.step-time {
  background: var(--success-green);
  color: white;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-top: var(--space-sm);
}

.emergency-guarantee {
  background: var(--warm-beige);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-xxl);
  text-align: center;
}

.guarantee-content h3 {
  color: var(--primary-blue);
  margin-bottom: var(--space-md);
}

.guarantee-features {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--success-green);
  font-weight: 500;
}

/* Emergency Coverage Section */
.emergency-coverage {
  background: var(--light-gray);
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.coverage-area {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.coverage-area h3 {
  color: var(--primary-blue);
  margin-bottom: var(--space-md);
  text-align: center;
}

.coverage-area ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.coverage-area li {
  padding: var(--space-xs);
  border-left: 3px solid var(--accent-orange);
  padding-left: var(--space-sm);
  background: var(--warm-beige);
  border-radius: var(--radius-sm);
}

.coverage-note {
  text-align: center;
  background: var(--primary-blue);
  color: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
}

/* Emergency CTA Section */
.emergency-cta {
  background: var(--gradient-accent);
  color: white;
}

.emergency-cta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.cta-text h2 {
  color: white;
  margin-bottom: var(--space-md);
}

.cta-text p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-lg);
}

.emergency-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.9);
}

.benefit-item svg {
  color: white;
}

.cta-action {
  text-align: center;
}

.btn-emergency-large {
  background: white;
  color: var(--accent-orange);
  font-weight: 700;
  padding: var(--space-lg) var(--space-xl);
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.btn-emergency-large:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
}

.emergency-hours {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .emergency-stats {
    flex-direction: column;
    align-items: center;
  }
  
  .emergency-stat {
    width: 100%;
    max-width: 200px;
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
  }
  
  .process-step::after {
    display: none;
  }
  
  .emergency-cta-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .coverage-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .emergency-buttons {
    flex-direction: column;
  }
  
  .guarantee-features {
    flex-direction: column;
    align-items: center;
  }
}