/* --------------------------------------------------
   DESIGN SYSTEM & CUSTOM PROPERTIES
   -------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #E63946;
  --primary-hover: #C32F3A;
  --secondary: #1D3557;
  --secondary-hover: #152741;
  --accent: #F4A261;
  --accent-hover: #E76F51;
  --success: #2A9D8F;
  --danger: #E63946;
  
  --bg-dark: #0F172A;
  --bg-light: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-dark: #1E293B;
  
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(226, 232, 240, 0.8);
  --glass-bg-dark: rgba(15, 23, 42, 0.85);
  --glass-border-dark: rgba(51, 65, 85, 0.5);
  
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

/* --------------------------------------------------
   BASE RESET & LAYOUT
   -------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  touch-action: pan-y; /* Restrict gestures to vertical scrolling */
  padding-bottom: 75px; /* Space for sticky mobile CTA bar */
}

body.menu-open {
  overflow: hidden !important;
}

@media(min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary);
  word-break: break-word;
  overflow-wrap: break-word;
}

h1, .hero-content h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: -0.5px;
}

h2, .section-title {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 4vw, 1.75rem);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

img, video, iframe, picture, svg, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media(min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }

.section-padding {
  padding: 3rem 0;
}

@media(min-width: 768px) {
  .section-padding {
    padding: 5rem 0;
  }
}

/* --------------------------------------------------
   HEADER & NAVIGATION
   -------------------------------------------------- */
.top-bar {
  background-color: var(--secondary);
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  font-weight: 500;
  width: 100%;
  overflow: hidden;
}

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

.top-bar-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  word-break: break-all;
}

.top-bar-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media(max-width: 576px) {
  .top-bar .container {
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
  }
  .top-bar-info {
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
    align-items: center;
  }
  .top-bar-badge {
    justify-content: center;
    font-size: 0.78rem;
    width: 100%;
  }
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--text-light);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
}

.logo-text {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--text-light);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background-color: var(--secondary);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1100;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--secondary);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

@media(max-width: 992px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background-color: var(--bg-card);
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    z-index: 1050;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
    padding: 2rem;
  }
  
  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
  }
  
  .header-cta {
    display: none;
  }
  
  .mobile-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .mobile-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* --------------------------------------------------
   HERO SECTIONS
   -------------------------------------------------- */
.hero-section {
  position: relative;
  background-color: var(--secondary);
  color: var(--text-light);
  overflow: hidden;
  padding: 4rem 0 3rem 0;
  width: 100%;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, var(--bg-light), transparent);
  z-index: 2;
}

.hero-section .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

@media(max-width: 992px) {
  .hero-section {
    padding: 5rem 0 3.5rem 0;
  }
  .hero-section .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
}

.hero-content h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--text-light);
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

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

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #cbd5e1;
  max-width: 600px;
}

@media(max-width: 992px) {
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(230, 57, 70, 0.2);
  color: var(--accent);
  border: 1px solid rgba(244, 162, 97, 0.4);
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.825rem;
  margin-bottom: 1.25rem;
  max-width: 100%;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

@media(max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

.hero-features {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  flex-wrap: wrap;
  width: 100%;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hero-feature-item svg {
  color: var(--accent);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hero-feature-item span {
  font-weight: 600;
  font-size: 0.9rem;
}

@media(max-width: 992px) {
  .hero-features {
    justify-content: center;
  }
}

@media(max-width: 576px) {
  .hero-features {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    display: flex;
    width: 100%;
  }
}

.hero-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-md);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: var(--text-dark);
  width: 100%;
  max-width: 100%;
}

@media(min-width: 768px) {
  .hero-card {
    padding: 2.5rem;
  }
}

.hero-card h3 {
  margin-bottom: 1.25rem;
  font-size: 1.35rem;
  text-align: center;
}

.hero-card-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 2px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--border-radius-md);
  padding: 1.25rem 1rem;
  margin: 1.25rem 0;
  box-shadow: inset 0 2px 4px rgba(239, 68, 68, 0.03), 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  text-align: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.hero-card-phone:hover {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.1), 0 4px 6px -2px rgba(239, 68, 68, 0.05);
}

.hero-card-phone span {
  font-size: 0.78rem;
  font-weight: 800;
  color: #ef4444;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.hero-card-phone a {
  font-size: clamp(1.2rem, 5vw, 1.85rem);
  font-weight: 850;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  width: 100%;
  word-break: break-word;
}

.hero-card-phone a svg {
  color: #ef4444;
  transition: transform var(--transition-smooth);
  flex-shrink: 0;
}

.hero-card-phone:hover a svg {
  transform: scale(1.1) rotate(-10deg);
}

@media(max-width: 480px) {
  .hero-card-phone a {
    font-size: 1.45rem;
  }
}

/* --------------------------------------------------
   SERVICES GRID (HOME)
   -------------------------------------------------- */
.section-title-wrapper {
  margin-bottom: 4rem;
}

.section-subtitle {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media(max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

.service-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(226, 232, 240, 0.2);
}

.service-card-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.service-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--primary);
  color: var(--text-light);
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}

.service-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-icon {
  background-color: #f1f5f9;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.service-card-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-card-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.service-card-list svg {
  color: var(--success);
  width: 16px;
  height: 16px;
}

.service-card-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-card-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.service-card-link:hover {
  gap: 0.5rem;
}

/* --------------------------------------------------
   TRUST / STATS SECTION
   -------------------------------------------------- */
.bg-secondary-section {
  background-color: var(--secondary);
  color: var(--text-light);
}

.bg-secondary-section h2 {
  color: var(--text-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media(max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media(max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-item {
  text-align: center;
  background-color: rgba(255,255,255,0.03);
  padding: 2.5rem;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition-smooth);
}

.stat-item:hover {
  background-color: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}

.stat-number {
  font-family: var(--font-headings);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-weight: 600;
  font-size: 1rem;
}

/* --------------------------------------------------
   FEATURES / WHY CHOOSE US
   -------------------------------------------------- */
.features-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media(max-width: 992px) {
  .features-section .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.features-visual {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.features-visual img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.features-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: var(--glass-bg-dark);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border-dark);
  color: var(--text-light);
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  max-width: calc(100% - 2rem);
}

@media(min-width: 768px) {
  .features-badge {
    bottom: 2rem;
    left: 2rem;
    right: auto;
    padding: 1.5rem;
    max-width: calc(100% - 4rem);
  }
}

.features-badge-icon {
  background-color: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.features-badge-text h4 {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.features-badge-text p {
  font-size: 0.8rem;
  color: #cbd5e1;
}

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

.feature-list-item {
  display: flex;
  gap: 1rem;
}

.feature-list-icon {
  background-color: rgba(230, 57, 70, 0.1);
  color: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-list-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.feature-list-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --------------------------------------------------
   MUNICIPALITIES / COVERAGE AREA
   -------------------------------------------------- */
.coverage-section {
  background-color: #f1f5f9;
}

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

@media(max-width: 992px) {
  .coverage-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.municipalities-box {
  background-color: var(--bg-card);
  padding: 1.5rem 1.25rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  width: 100%;
}

@media(min-width: 768px) {
  .municipalities-box {
    padding: 3rem;
  }
}

.municipalities-box h3 {
  margin-bottom: 1.25rem;
  font-size: 1.35rem;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.75rem;
}

.municipalities-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media(max-width: 480px) {
  .municipalities-list {
    grid-template-columns: 1fr;
  }
}

.municipality-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.municipality-item svg {
  color: var(--primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.map-wrapper {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  width: 100%;
}

.map-wrapper img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.map-overlay-card {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-lg);
  max-width: calc(100% - 2rem);
}

@media(min-width: 768px) {
  .map-overlay-card {
    top: 2rem;
    bottom: auto;
    left: 2rem;
    right: auto;
    padding: 1.5rem;
    max-width: calc(100% - 4rem);
  }
}

.map-overlay-card h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.map-overlay-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------
   TESTIMONIALS & REVIEWS
   -------------------------------------------------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media(max-width: 992px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

.review-card {
  background-color: var(--bg-card);
  padding: 1.5rem 1.25rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  display: flex;
  flex-direction: column;
}

@media(min-width: 768px) {
  .review-card {
    padding: 2.5rem;
  }
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: #fbbf24;
}

.review-stars svg {
  width: 16px;
  height: 16px;
}

.review-text {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

.review-author-avatar {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--text-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.review-author-info h4 {
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
}

.review-author-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------
   CONTACT FORM / QUICK QUOTE
   -------------------------------------------------- */
.contact-section {
  background-color: #f8fafc;
}

.contact-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: stretch;
}

@media(max-width: 992px) {
  .contact-cards-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.contact-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-md);
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

@media(min-width: 768px) {
  .contact-card {
    padding: 3rem 2.5rem;
  }
}

.contact-card-main {
  background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card-main h3 {
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-card-main p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.contact-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

.contact-card-phone-box {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--border-radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.contact-card-phone-box:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
}

.contact-card-phone-box span {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 0.4rem;
  display: block;
}

.contact-phone-link {
  font-size: clamp(1.2rem, 5vw, 1.85rem);
  font-weight: 850;
  color: var(--text-light) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  width: 100%;
  word-break: break-word;
}

.contact-phone-link svg {
  color: var(--accent);
  flex-shrink: 0;
}

.contact-card-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 0.75rem;
}

.contact-info-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  background-color: rgba(255,255,255,0.08);
  color: var(--accent);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-content h4 {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.contact-info-content p, 
.contact-info-content a {
  color: #cbd5e1;
  font-size: 0.9rem;
  word-break: break-word;
}

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

/* --------------------------------------------------
   SERVICE-SPECIFIC LAYOUTS & PRICING
   -------------------------------------------------- */
.service-details-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
}

@media(max-width: 992px) {
  .service-details-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.service-main-content h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin: 2rem 0 1rem 0;
}

.service-main-content h2:first-of-type {
  margin-top: 0;
}

.service-main-content p {
  color: #334155;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.service-main-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
}

.service-main-content ul li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.price-table-box {
  background-color: var(--bg-card);
  padding: 1.25rem 1rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  margin: 2rem 0;
  width: 100%;
}

@media(min-width: 768px) {
  .price-table-box {
    padding: 2.5rem;
    margin: 3rem 0;
  }
}

.price-table-box h3 {
  margin-bottom: 1.25rem;
  font-size: 1.35rem;
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 0.85rem;
  gap: 0.5rem;
}

@media(max-width: 480px) {
  .price-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
}

.price-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.price-service-name {
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.95rem;
}

.price-value {
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-headings);
  font-size: 1.05rem;
}

.price-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  text-align: center;
}

/* Sidebar components */
.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background-color: var(--bg-card);
  padding: 1.5rem 1.25rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  width: 100%;
}

@media(min-width: 768px) {
  .sidebar-widget {
    padding: 2.5rem;
  }
}

.sidebar-widget h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.5rem;
}

.sidebar-emergency-widget {
  background-color: var(--secondary);
  color: var(--text-light);
  border-color: var(--secondary);
}

.sidebar-emergency-widget h3 {
  color: var(--text-light);
  border-bottom-color: rgba(255,255,255,0.1);
}

.sidebar-emergency-widget p {
  color: #cbd5e1;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.sidebar-emergency-phone {
  background-color: rgba(255,255,255,0.05);
  border: 1px dashed rgba(255,255,255,0.2);
  border-radius: var(--border-radius-sm);
  padding: 1rem;
  text-align: center;
  margin-bottom: 1.25rem;
  transition: var(--transition-smooth);
}

.sidebar-emergency-phone:hover {
  background-color: rgba(255,255,255,0.08);
}

.sidebar-emergency-phone span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 1px;
}

.sidebar-emergency-phone a {
  font-size: clamp(1.2rem, 5vw, 1.75rem);
  font-weight: 800;
  color: var(--text-light);
  display: block;
  word-break: break-word;
}

.faq-accordion {
  margin-top: 2.5rem;
}

.faq-item {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-sm);
  margin-bottom: 0.85rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
  overflow: hidden;
}

.faq-header {
  padding: 1rem 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  font-size: 0.95rem;
}

.faq-icon {
  width: 18px;
  height: 18px;
  transition: var(--transition-smooth);
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.faq-body {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-item.open .faq-body {
  padding-bottom: 1rem;
  max-height: 500px;
}

/* --------------------------------------------------
   FOOTER
   -------------------------------------------------- */
.main-footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 3.5rem 0 1.5rem 0;
  border-top: 4px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media(max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}
@media(max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-widget h3 {
  color: var(--text-light);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-widget h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.footer-widget p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text-light);
  padding-left: 0.25rem;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  color: var(--primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-contact-item a:hover {
  color: var(--text-light);
}

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

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

.footer-bottom-links a:hover {
  color: var(--text-light);
}

/* --------------------------------------------------
   PERSISTENT MOBILE CALL-TO-ACTION BAR
   -------------------------------------------------- */
.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  background-color: var(--bg-card);
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1rem;
  z-index: 999;
  overflow: hidden;
}

.mobile-cta-info {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.mobile-cta-info-text h4 {
  font-size: 0.82rem;
  margin-bottom: 0.1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.mobile-cta-info-text p {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.mobile-cta-button {
  background-color: var(--primary);
  color: var(--text-light);
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.55rem 0.9rem;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  box-shadow: 0 4px 6px rgba(230, 57, 70, 0.2);
  animation: pulse-button 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-button {
  0% {
    box-shadow: 0 4px 6px rgba(230, 57, 70, 0.2);
  }
  50% {
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
  }
  100% {
    box-shadow: 0 4px 6px rgba(230, 57, 70, 0.2);
  }
}

@media(min-width: 768px) {
  .sticky-mobile-cta {
    display: none;
  }
}
