@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --emergency: #dc2626;
  --emergency-dark: #b91c1c;
  --dark: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { color: var(--gray-600); }

a { text-decoration: none; color: inherit; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

.section-label {
  display: inline-block;
  background: rgba(30, 64, 175, 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 3rem;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-accent {
  background: var(--accent);
  color: white;
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-emergency {
  background: var(--emergency);
  color: white;
}
.btn-emergency:hover {
  background: var(--emergency-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}
.btn-outline:hover {
  background: white;
  color: var(--primary);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 10px;
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 38px;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
  padding: 1.4rem 0;
}

.navbar.scrolled {
  background: var(--dark);
  padding: 1rem 0;
  box-shadow: var(--shadow-lg);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-weight: 800;
  font-size: 1.3rem;
}

.nav-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-logo .logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.8;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
  background: rgba(255,255,255,0.1);
}

.nav-emergency {
  background: var(--emergency) !important;
  color: white !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: 8px !important;
  animation: pulse-emergency 2s infinite;
}

@keyframes pulse-emergency {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s;
}

/* ===== TOP BAR ===== */
.top-bar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1001;
  background: var(--primary-dark);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar a {
  color: rgba(255,255,255,0.9);
  transition: color 0.2s;
}
.top-bar a:hover { color: var(--accent); }

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,24,39,0.92) 0%, rgba(30,64,175,0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 9rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: white;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.2rem;
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--dark);
  padding: 1.5rem 0;
}

.trust-bar .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-item i {
  color: var(--accent);
  font-size: 1.25rem;
}

/* ===== SERVICES ===== */
.services-section {
  background: var(--gray-100);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(30, 64, 175, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.service-price {
  display: inline-block;
  background: rgba(30, 64, 175, 0.08);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
}

/* ===== WHY CHOOSE US ===== */
.why-section {
  background: white;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 500px;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-image .experience-badge {
  position: absolute;
  bottom: 2rem;
  right: -1rem;
  background: var(--accent);
  color: white;
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.experience-badge .years {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.experience-badge .years-label {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.9;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.why-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(30, 64, 175, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1.1rem;
}

.why-feature-text h4 {
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.why-feature-text p {
  font-size: 0.9rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: var(--primary-dark);
}

.testimonials-section .section-label {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}

.testimonials-section .section-title {
  color: white;
}

.testimonials-section .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  color: white;
  font-size: 0.95rem;
}

.testimonial-location {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* ===== EMERGENCY CTA ===== */
.emergency-cta {
  background: var(--emergency);
  padding: 4rem 0;
}

.emergency-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.emergency-cta h2 {
  color: white;
  font-size: 2rem;
}

.emergency-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.emergency-cta .btn-white {
  background: white;
  color: var(--emergency);
  font-weight: 700;
}

.emergency-cta .btn-white:hover {
  background: var(--gray-100);
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 10.5rem 0 4rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?auto=format&fit=crop&w=1920&q=40') center/cover;
  opacity: 0.08;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: white;
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.breadcrumb a:hover { color: white; }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: var(--accent); font-weight: 500; }

/* ===== SERVICES PAGE ===== */
.service-detail-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2rem;
  border: 1px solid var(--gray-200);
}

.service-detail-card.reverse {
  direction: rtl;
}

.service-detail-card.reverse > * {
  direction: ltr;
}

.service-detail-img {
  height: 320px;
  overflow: hidden;
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-detail-card:hover .service-detail-img img {
  transform: scale(1.05);
}

.service-detail-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-features-list {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.service-features-list li i {
  color: var(--primary);
  font-size: 0.9rem;
}

/* ===== QUOTE FORM ===== */
.quote-section {
  background: var(--gray-100);
}

.quote-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-xl);
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--dark);
  transition: border-color 0.2s;
  background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ===== ABOUT PAGE ===== */
.about-story {
  background: white;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  height: 450px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.value-item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--gray-100);
  border-radius: 12px;
}

.value-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.value-item h4 { margin-bottom: 0.25rem; }
.value-item p { font-size: 0.85rem; }

/* ===== TEAM ===== */
.team-section {
  background: var(--gray-100);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.team-photo {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.05);
}

.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,24,39,0.7) 0%, transparent 60%);
}

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--dark);
}

.team-role {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.team-years {
  color: var(--gray-400);
  font-size: 0.85rem;
}

/* ===== CERTIFICATIONS ===== */
.cert-section {
  background: white;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.cert-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--gray-100);
  border-radius: 16px;
  border: 2px solid var(--gray-200);
  transition: all 0.2s;
}

.cert-card:hover {
  border-color: var(--primary);
  background: rgba(30, 64, 175, 0.05);
}

.cert-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.cert-card h4 {
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.cert-card p {
  font-size: 0.8rem;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  background: var(--gray-100);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-card {
  background: var(--dark);
  border-radius: 20px;
  padding: 2.5rem;
  color: white;
}

.contact-info-card h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.contact-info-card > p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.contact-detail p, .contact-detail a {
  color: white;
  font-size: 0.95rem;
}

.contact-detail a:hover { color: var(--accent); }

.hours-grid {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
}

.hours-grid h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hours-row .day { color: rgba(255,255,255,0.6); }
.hours-row .time { color: white; font-weight: 500; }
.hours-row .emergency-text { color: var(--accent); font-weight: 600; }

.lead-form-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
}

.lead-form-card h3 {
  margin-bottom: 0.5rem;
}

.lead-form-card > p {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* ===== REVIEW SECTION ===== */
.review-section {
  background: white;
}

.review-cta-card {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.review-cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.review-cta-card h3 {
  color: white;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.review-cta-card p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
}

.review-stars-display {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.review-btn {
  background: white;
  color: var(--primary);
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.review-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ===== EMERGENCY PAGE ===== */
.emergency-hero {
  background: linear-gradient(135deg, #7f1d1d 0%, #dc2626 100%);
  padding: 10.5rem 0 4rem;
  text-align: center;
  position: relative;
}

.emergency-hero h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.emergency-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.pulse-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  position: relative;
}

.pulse-ring::before, .pulse-ring::after {
  content: '';
  position: absolute;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  animation: pulse-expand 2s ease-out infinite;
}

.pulse-ring::after {
  animation-delay: 1s;
}

@keyframes pulse-expand {
  0% { width: 80px; height: 80px; opacity: 1; }
  100% { width: 160px; height: 160px; opacity: 0; }
}

.pulse-ring i {
  font-size: 2rem;
  color: white;
  z-index: 1;
}

.emergency-content {
  background: var(--gray-100);
  padding: 5rem 0;
}

.emergency-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: start;
}

.emergency-form-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  border-top: 4px solid var(--emergency);
}

.emergency-form-card h3 {
  margin-bottom: 0.5rem;
}

.emergency-form-card > p {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.emergency-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.emergency-phone-card {
  background: var(--emergency);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  color: white;
}

.emergency-phone-card h3 {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.emergency-phone-card .phone-number {
  font-size: 1.75rem;
  font-weight: 900;
  color: white;
  display: block;
  margin: 0.75rem 0;
}

.emergency-phone-card p {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
}

.tips-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.tips-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tips-card h3 i { color: var(--accent); }

.tips-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.tips-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.tips-list li i {
  color: var(--primary);
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* ===== CHATBOT ===== */
.chatbot-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 62px;
  height: 62px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: var(--shadow-xl);
  transition: all 0.3s ease;
  border: none;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
  background: var(--primary-dark);
}

.chatbot-toggle i {
  font-size: 1.5rem;
  color: white;
  transition: all 0.3s;
}

.chatbot-toggle .chat-notification {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: var(--emergency);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: white;
  font-weight: 700;
  border: 2px solid white;
}

.chatbot-window {
  position: fixed;
  bottom: 7rem;
  right: 2rem;
  width: 380px;
  height: 520px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.8) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: bottom right;
}

.chatbot-window.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chatbot-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chatbot-avatar {
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.chatbot-header-info h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

.chatbot-header-info p {
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
}

.online-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  margin-right: 4px;
}

.chatbot-close {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.chatbot-close:hover { color: white; }

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  background: var(--gray-100);
}

.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--gray-400); border-radius: 2px; }

.chat-message {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
  animation: chatFadeIn 0.3s ease;
}

@keyframes chatFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-message.user {
  flex-direction: row-reverse;
}

.msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: white;
  flex-shrink: 0;
}

.chat-message.user .msg-avatar {
  background: var(--gray-700);
}

.msg-bubble {
  max-width: 78%;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.chat-message.bot .msg-bubble {
  background: white;
  color: var(--dark);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow);
}

.chat-message.user .msg-bubble {
  background: var(--primary);
  color: white;
  border-bottom-right-radius: 4px;
}

.chatbot-quick-replies {
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: white;
  border-top: 1px solid var(--gray-200);
}

.quick-reply-btn {
  background: rgba(30, 64, 175, 0.08);
  color: var(--primary);
  border: 1px solid rgba(30, 64, 175, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.875rem;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.quick-reply-btn:hover {
  background: var(--primary);
  color: white;
}

.chatbot-input-area {
  display: flex;
  padding: 0.875rem 1rem;
  gap: 0.5rem;
  background: white;
  border-top: 1px solid var(--gray-200);
}

.chatbot-input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}

.chatbot-input:focus {
  border-color: var(--primary);
}

.chatbot-send {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.chatbot-send:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

/* ===== SUCCESS MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background: white;
  border-radius: 24px;
  padding: 3rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-xl);
}

.modal-overlay.open .modal-card {
  transform: scale(1);
}

.modal-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.modal-icon.success {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
}

.modal-icon.alert {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-dark);
}

.modal-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.modal-card p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.modal-sequence {
  background: var(--gray-100);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: left;
  margin-bottom: 1.5rem;
}

.modal-sequence h4 {
  font-size: 0.85rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.875rem;
}

.sequence-step {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.sequence-step:last-child { margin-bottom: 0; }

.sequence-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.sequence-step .step-time {
  color: var(--gray-400);
  font-size: 0.8rem;
  margin-left: auto;
  white-space: nowrap;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  padding: 4rem 0 0;
  color: rgba(255,255,255,0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
  font-size: 0.95rem;
}

.social-link:hover {
  background: var(--primary);
  color: white;
}

.footer-col h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover { color: var(--accent); }
.footer-links a i { font-size: 0.7rem; color: var(--primary-light); }

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-contact-item a:hover { color: white; }

.footer-emergency {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
}

.footer-emergency p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}

.footer-emergency a {
  color: var(--emergency);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.footer-emergency a:hover { color: #f87171; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

/* ===== ALERTS / NOTIFICATIONS ===== */
.text-alert-banner {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.text-alert-banner i {
  color: var(--accent-dark);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.text-alert-banner strong { color: var(--accent-dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-grid,
  .about-story-grid {
    grid-template-columns: 1fr;
  }
  .why-image,
  .about-image {
    height: 350px;
  }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
  }

  .hero-buttons { flex-direction: column; }
  .hero-stats { gap: 1.5rem; }

  .form-row { grid-template-columns: 1fr; }

  .service-detail-card {
    grid-template-columns: 1fr;
  }

  .service-detail-card.reverse {
    direction: ltr;
  }

  .service-detail-img { height: 220px; }

  .contact-grid,
  .emergency-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .trust-bar .container {
    gap: 1rem;
  }

  .chatbot-window {
    width: calc(100vw - 2rem);
    right: 1rem;
    bottom: 6rem;
    height: 460px;
  }

  .emergency-cta .container {
    text-align: center;
  }

  .top-bar-left {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .top-bar { font-size: 0.75rem; }
  .top-bar-right { display: none; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
}
