/* Urban Spark - Modern Home Services Design System & Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* ==========================================================================
     Modern Home Service Theme - Light Mode (Default)
     Clean, bright, trustworthy, hygienic domestic aesthetic
     ========================================================================== */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-surface: #ffffff;
  --bg-input: #ffffff;
  --bg-subtle: #f8fafc;

  --text-heading: #0f172a;
  --text-main: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --accent-gold: #f59e0b;
  --accent-gold-light: #d97706;
  --accent-spark: #ea580c;
  --accent-spark-hover: #c2410c;
  --accent-blue: #2563eb;
  --accent-blue-deep: #1d4ed8;
  --accent-indigo: #4f46e5;
  --accent-emerald: #059669;
  --accent-rose: #e11d48;
  --accent-cyan: #0284c7;

  --gradient-spark: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%);
  --gradient-blue: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  --gradient-card: #ffffff;
  --gradient-hero: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.12) 0%, rgba(37, 99, 235, 0.05) 45%, transparent 75%);

  /* Border & Glass */
  --border-subtle: #e2e8f0;
  --border-focus: #ea580c;
  --border-card: #e2e8f0;
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-border: #e2e8f0;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-spark: 0 6px 20px -2px rgba(234, 88, 12, 0.3);
  --shadow-blue: 0 6px 20px -2px rgba(37, 99, 235, 0.25);

  /* Layout & Spacing */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Category Pastel Tints for Visual Identification */
  --cat-painting-bg: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  --cat-electrical-bg: linear-gradient(135deg, #fefce8 0%, #fef08a 100%);
  --cat-tile-bg: linear-gradient(135deg, #f0fdf4 0%, #bbf7d0 100%);
  --cat-shifting-bg: linear-gradient(135deg, #eff6ff 0%, #bfdbfe 100%);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  color-scheme: light dark;
}

/* ==========================================================================
   Dark Theme Overrides
   ========================================================================== */
[data-theme="dark"] {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #162032;
  --bg-card-hover: #1c2a42;
  --bg-surface: #1f2d47;
  --bg-input: #0d1424;
  --bg-subtle: #1e293b;

  --text-heading: #f8fafc;
  --text-main: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-gold-light: #fbbf24;

  --gradient-spark: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  --gradient-card: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
  --gradient-hero: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.15) 0%, rgba(59, 130, 246, 0.08) 40%, transparent 70%);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(17, 24, 39, 0.88);
  --glass-border: rgba(255, 255, 255, 0.12);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);

  --cat-painting-bg: linear-gradient(135deg, #451a03 0%, #7c2d12 100%);
  --cat-electrical-bg: linear-gradient(135deg, #422006 0%, #713f12 100%);
  --cat-tile-bg: linear-gradient(135deg, #022c22 0%, #064e3b 100%);
  --cat-shifting-bg: linear-gradient(135deg, #172554 0%, #1e3a8a 100%);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Subtle background atmosphere */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  pointer-events: none;
  z-index: 0;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-heading);
}

.gradient-text {
  background: var(--gradient-spark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-blue-text {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #b45309;
}

[data-theme="dark"] .badge {
  color: var(--accent-gold-light);
}

.badge.badge-blue {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.25);
  color: #1d4ed8;
}

[data-theme="dark"] .badge.badge-blue {
  color: #93c5fd;
}

.badge.badge-emerald {
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.25);
  color: #047857;
}

[data-theme="dark"] .badge.badge-emerald {
  color: #6ee7b7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-spark);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.4);
  filter: brightness(1.05);
}

.btn-blue {
  background: var(--gradient-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-heading);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Navigation Bar & Announcement Banner
   ========================================================================== */
.top-notice-bar {
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 0;
  font-size: 0.8rem;
  color: #cbd5e1;
  position: relative;
  z-index: 1001;
}

.notice-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.notice-message {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pulse-spark {
  color: #fbbf24;
  font-size: 0.95rem;
  display: inline-block;
  animation: pulse-spark 1.8s infinite ease-in-out;
}

@keyframes pulse-spark {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 2px rgba(245, 158, 11, 0.6));
  }

  50% {
    transform: scale(1.2);
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 1));
  }
}

.notice-highlight {
  color: #ffffff;
  font-weight: 600;
}

.notice-details {
  color: #94a3b8;
}

.notice-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.notice-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: #e2e8f0;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition-fast);
}

.notice-action-link:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--accent-gold);
  color: #ffffff;
}

.notice-action-link strong {
  color: #fbbf24;
}

.notice-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.35);
  color: #4ade80;
}

.notice-whatsapp:hover {
  background: rgba(37, 211, 102, 0.25);
  border-color: #25d366;
  color: #ffffff;
}

/* Header Nav Container */
.header-nav {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-normal);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  position: relative;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  user-select: none;
}

.brand-icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient-spark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
  position: relative;
  overflow: hidden;
}

.brand-icon-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

.brand-name {
  color: var(--text-heading);
  display: flex;
  align-items: baseline;
}

.brand-accent {
  background: var(--gradient-spark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* City Select Pill (Desktop) */
.city-select-pill {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.75rem 0.35rem 0.65rem;
  font-size: 0.82rem;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.city-select-pill:hover,
.city-select-pill:focus-within {
  border-color: var(--accent-spark);
  box-shadow: 0 0 10px rgba(234, 88, 12, 0.15);
}

.city-icon {
  font-size: 0.85rem;
}

.city-select-pill select {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-heading);
  padding-right: 0.2rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.city-select-pill select option {
  background: var(--bg-card);
  color: var(--text-heading);
}

.select-chevron {
  font-size: 0.65rem;
  color: var(--text-dim);
  pointer-events: none;
}

/* Center Desktop Navigation */
.nav-center {
  display: flex;
  align-items: center;
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--text-heading);
  background: rgba(15, 23, 42, 0.05);
}

[data-theme="dark"] .nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: var(--accent-spark);
  background: rgba(234, 88, 12, 0.08);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 2px;
  background: var(--accent-spark);
  border-radius: 2px;
  box-shadow: 0 0 6px var(--accent-spark);
}

/* Right Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-heading);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-spark);
  transform: translateY(-1px);
}

/* Theme Icons Toggle */
.theme-icon-light {
  display: none;
}

.theme-icon-dark {
  display: inline-block;
}

[data-theme="dark"] .theme-icon-light {
  display: inline-block;
}

[data-theme="dark"] .theme-icon-dark {
  display: none;
}

.cart-btn-indicator {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-heading);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.cart-btn-indicator:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-spark);
  transform: translateY(-1px);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-spark);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-card);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Book CTA Button */
.btn-nav-cta {
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
  border-radius: 10px;
  font-weight: 700;
}

.cta-text-compact {
  display: none;
}

/* Animated Hamburger Menu Button */
.mobile-menu-btn {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  padding: 10px 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
  background: var(--bg-secondary);
  border-color: #cbd5e1;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.mobile-menu-btn.is-active {
  border-color: var(--accent-spark);
  background: rgba(234, 88, 12, 0.08);
}

.mobile-menu-btn.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer Panel */
.mobile-nav-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 999;
}

.mobile-nav-panel.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav-inner {
  padding: 1.25rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.mobile-city-selector {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.mobile-city-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.mobile-city-dropdown {
  background: transparent;
  border: none;
  color: var(--text-heading);
  font-weight: 600;
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
  text-align: right;
  max-width: 190px;
}

.mobile-city-dropdown option {
  background: var(--bg-card);
  color: var(--text-heading);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
  color: var(--text-heading);
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
  background: rgba(234, 88, 12, 0.08);
  border-color: var(--accent-spark);
  color: var(--accent-spark);
}

.mobile-nav-item .item-icon {
  font-size: 1.1rem;
  width: 28px;
  flex-shrink: 0;
}

.mobile-nav-item .item-text {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 600;
}

.mobile-nav-item .item-chevron {
  color: var(--text-dim);
  font-size: 1.1rem;
  font-weight: 700;
}

.mobile-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.25rem;
}

.mobile-nav-contact-actions {
  display: flex;
  gap: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-headline {
  font-size: 3.4rem;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text-heading);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.65;
}

/* Live Instant Search Bar */
.hero-search-box {
  position: relative;
  margin-top: 0.5rem;
  max-width: 600px;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.5rem 0.6rem 0.5rem 1.25rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.search-input-wrapper:focus-within {
  border-color: var(--accent-spark);
  box-shadow: 0 10px 30px rgba(234, 88, 12, 0.15), 0 0 0 2px rgba(234, 88, 12, 0.2);
}

.search-icon {
  color: var(--text-muted);
  font-size: 1.25rem;
  margin-right: 0.75rem;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--text-heading);
}

.search-input::placeholder {
  color: var(--text-dim);
}

.search-suggestions-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 50;
  max-height: 320px;
  overflow-y: auto;
  display: none;
  backdrop-filter: blur(20px);
}

.search-suggestions-dropdown.open {
  display: block;
}

.search-suggestion-item {
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast);
}

.search-suggestion-item:last-child {
  border-bottom: none;
}

.search-suggestion-item:hover {
  background: rgba(234, 88, 12, 0.08);
}

.suggestion-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.suggestion-icon {
  font-size: 1.15rem;
}

.suggestion-title {
  font-weight: 600;
  color: var(--text-heading);
}

.suggestion-cat {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.suggestion-price {
  font-weight: 700;
  color: var(--accent-spark);
  font-size: 0.9rem;
}

/* Trust Badges in Hero */
.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.trust-icon {
  color: var(--accent-spark);
  font-size: 1.2rem;
}

.trust-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-heading);
}

.trust-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero Right Interactive Card (Quick Category Pill) */
.hero-visual-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.visual-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.visual-card-header h3 {
  font-size: 1.25rem;
  color: var(--text-heading);
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

[data-theme="dark"] .live-indicator {
  color: #34d399;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse-dot 1.6s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.3);
  }
}

/* 4 Core Category Shortcuts Grid */
.core-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cat-shortcut-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.cat-shortcut-card:hover {
  background: var(--bg-card);
  border-color: var(--accent-spark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cat-shortcut-card.active {
  border-color: var(--accent-spark);
  background: rgba(234, 88, 12, 0.08);
}

.cat-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.icon-painting {
  background: #fff1f2;
  color: #e11d48;
}

.icon-electrical {
  background: #fef3c7;
  color: #d97706;
}

.icon-tile {
  background: #f0fdfa;
  color: #0d9488;
}

.icon-shifting {
  background: #eff6ff;
  color: #2563eb;
}

[data-theme="dark"] .icon-painting {
  background: rgba(244, 63, 94, 0.2);
  color: #fb7185;
}

[data-theme="dark"] .icon-electrical {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

[data-theme="dark"] .icon-tile {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

[data-theme="dark"] .icon-shifting {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.cat-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
}

.cat-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cat-rate {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-spark);
  margin-top: auto;
}

/* Mini Quick Estimator inside Hero Card */
.quick-calc-box {
  background: var(--bg-secondary);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.quick-calc-info strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-heading);
}

.quick-calc-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Four Pillars Service Showcase (Highlights)
   ========================================================================== */
.services-section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-heading);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Category Filter Tabs */
.category-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-tab {
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.filter-tab:hover {
  border-color: #cbd5e1;
  color: var(--text-heading);
  background: var(--bg-secondary);
}

.filter-tab.active {
  background: var(--gradient-spark);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
}

/* Service Cards Grid */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(234, 88, 12, 0.35);
  box-shadow: var(--shadow-lg);
}

.service-card-header {
  height: 180px;
  position: relative;
  background: var(--bg-secondary);
  overflow: hidden;
}

/* Category Specific Illustration Backgrounds */
.service-cat-painting .service-illustration {
  background: var(--cat-painting-bg) !important;
}

.service-cat-electrical .service-illustration {
  background: var(--cat-electrical-bg) !important;
}

.service-cat-tile .service-illustration {
  background: var(--cat-tile-bg) !important;
}

.service-cat-shifting .service-illustration {
  background: var(--cat-shifting-bg) !important;
}

.service-illustration {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-badge-floating {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.service-rating-chip {
  position: absolute;
  bottom: 0.75rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fef08a;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-name {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--text-heading);
}

.service-brief {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.service-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-features-list li {
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.service-features-list li svg {
  color: var(--accent-spark);
  flex-shrink: 0;
  margin-top: 3px;
}

.service-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.meta-item strong {
  color: var(--text-heading);
}

.service-pricing-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 0.75rem;
}

.price-display {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
}

.price-amount {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-heading);
  font-family: var(--font-display);
}

.price-original {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-left: 0.35rem;
}

.card-action-btns {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   Interactive Cost Estimator & Calculator Section
   ========================================================================== */
.calculator-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
  position: relative;
}

.calc-container {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2.5rem;
}

.calc-controls-pane h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-heading);
}

.calc-controls-pane p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.form-group-custom {
  margin-bottom: 1.5rem;
}

.form-label-custom {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-heading);
}

.calc-category-radio-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.calc-radio-pill {
  border: 1px solid var(--border-subtle);
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calc-radio-pill:hover {
  border-color: #cbd5e1;
}

.calc-radio-pill.active {
  border-color: var(--accent-spark);
  background: rgba(234, 88, 12, 0.08);
  color: var(--accent-spark);
}

.calc-radio-pill .icon {
  font-size: 1.3rem;
  display: block;
  margin-bottom: 0.25rem;
}

.calc-radio-pill .label {
  font-size: 0.8rem;
  font-weight: 600;
}

.dynamic-calc-subfields {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.custom-select,
.custom-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  color: var(--text-heading);
  outline: none;
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
}

.custom-select:focus,
.custom-input:focus {
  border-color: var(--accent-spark);
}

/* Range Slider Styling */
.range-slider-wrapper {
  margin-top: 0.5rem;
}

.range-val-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.range-val-display strong {
  color: var(--accent-spark);
}

input[type=range] {
  width: 100%;
  accent-color: var(--accent-spark);
  cursor: pointer;
}

/* Calculator Summary Pane */
.calc-summary-pane {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #f8fafc;
}

.summary-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.summary-header h4 {
  font-size: 1.2rem;
  color: #ffffff;
}

.summary-breakdown-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.summary-breakdown-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #94a3b8;
}

.summary-breakdown-list li span:last-child {
  color: #ffffff;
  font-weight: 600;
}

.summary-total-box {
  background: rgba(245, 158, 11, 0.12);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.summary-total-box .total-label {
  font-size: 0.85rem;
  color: #cbd5e1;
}

.summary-total-box .total-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fbbf24;
  font-family: var(--font-display);
}

.estimator-guarantee {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 1rem;
  justify-content: center;
}

/* ==========================================================================
   Before / After Visual Transformation
   ========================================================================== */
.transform-section {
  padding: 5rem 0;
  position: relative;
}

.split-slider-container {
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.split-tabs-header {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.split-tab-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.split-tab-btn.active {
  background: var(--accent-spark);
  color: #ffffff;
  border-color: var(--accent-spark);
}

.split-view-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  user-select: none;
  border: 1px solid var(--border-subtle);
}

.split-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.split-layer-before {
  z-index: 1;
}

.split-layer-after {
  z-index: 2;
  width: 50%;
  overflow: hidden;
  border-right: 3px solid var(--accent-spark);
}

.split-layer-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.split-label-tag {
  position: absolute;
  top: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 3;
}

.split-label-before {
  right: 1.25rem;
  background: rgba(15, 23, 42, 0.85);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.split-label-after {
  left: 1.25rem;
  background: rgba(15, 23, 42, 0.85);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.split-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 44px;
  height: 44px;
  background: var(--accent-spark);
  color: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, calc(210px - 22px));
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  box-shadow: 0 0 20px rgba(234, 88, 12, 0.6);
  font-weight: 800;
}

/* ==========================================================================
   Live Tracking Simulator
   ========================================================================== */
.tracking-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.tracking-card-container {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}

.tracking-search-bar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.tracking-input {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  color: var(--text-heading);
  outline: none;
  font-size: 0.95rem;
}

.tracking-input:focus {
  border-color: var(--accent-spark);
}

.tracking-status-display {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.tracking-job-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.job-id-tag {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-heading);
}

.job-service-name {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Progress Step Tracker */
.steps-tracker {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2.5rem;
}

.steps-tracker::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: var(--border-subtle);
  z-index: 1;
}

.step-progress-line {
  position: absolute;
  top: 18px;
  left: 30px;
  width: 66%;
  height: 3px;
  background: var(--gradient-spark);
  z-index: 2;
  transition: width 0.5s ease;
}

.step-node {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 90px;
  text-align: center;
}

.step-bubble {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 700;
  transition: all var(--transition-fast);
}

.step-node.completed .step-bubble {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
}

.step-node.active .step-bubble {
  background: var(--accent-spark);
  border-color: var(--accent-spark);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(234, 88, 12, 0.4);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.6);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(234, 88, 12, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(234, 88, 12, 0);
  }
}

.step-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.step-node.active .step-label {
  color: var(--text-heading);
}

/* Technician Profile Card Inside Tracking */
.tech-profile-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.tech-details {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tech-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 2px solid var(--accent-spark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-heading);
  font-size: 1.3rem;
}

.tech-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-heading);
}

.tech-badge-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tech-rating {
  color: #d97706;
  font-weight: 700;
}

/* ==========================================================================
   Why Urban Spark (Features & Trust Grid)
   ========================================================================== */
.features-section {
  padding: 5rem 0;
  position: relative;
}

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

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  transition: all var(--transition-normal);
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: rgba(234, 88, 12, 0.35);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-spark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-heading);
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Customer Testimonials Section
   ========================================================================== */
.reviews-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: #f59e0b;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.review-quote {
  font-size: 0.92rem;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.reviewer-pic {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-spark);
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-heading);
}

.reviewer-service {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ==========================================================================
   City & Pincode Coverage Checker
   ========================================================================== */
.pincode-section {
  padding: 4rem 0;
  background: #0f172a;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  color: #f8fafc;
}

.pincode-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.pincode-card h3 {
  color: #ffffff;
}

.pincode-form-row {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 1.5rem auto 0.75rem;
}

.pincode-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: #ffffff;
  outline: none;
}

.pincode-input::placeholder {
  color: #94a3b8;
}

.pincode-result {
  font-size: 0.88rem;
  min-height: 24px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-question-btn {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-heading);
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent-spark);
  transition: transform var(--transition-normal);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 250px;
  padding: 0 1.5rem 1.25rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #0b1120;
  border-top: 1px solid #1e293b;
  padding: 4.5rem 0 2rem;
  color: #94a3b8;
}

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

.footer-brand p {
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
  max-width: 320px;
  color: #94a3b8;
}

.footer-brand .brand-name {
  color: #ffffff;
}

.footer-col h5 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #fbbf24;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
  color: #94a3b8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #64748b;
}

/* ==========================================================================
   Interactive Modals & Drawers
   ========================================================================== */
/* Overlay Backdrop */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Booking Modal Dialog */
.booking-modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-normal);
}

.modal-backdrop.open .booking-modal-box {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-header h3 {
  font-size: 1.35rem;
  color: var(--text-heading);
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-heading);
}

.modal-body {
  padding: 1.75rem;
}

/* Booking Stepper in Modal */
.modal-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.modal-stepper::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 25px;
  right: 25px;
  height: 2px;
  background: var(--border-subtle);
  z-index: 1;
}

.m-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.m-step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.m-step.active .m-step-circle {
  background: var(--accent-spark);
  border-color: var(--accent-spark);
  color: #ffffff;
}

.m-step.done .m-step-circle {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
}

.m-step-title {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Time Slot Picker Grid */
.slot-chips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.slot-chip {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.slot-chip:hover {
  border-color: #cbd5e1;
}

.slot-chip.selected {
  background: rgba(234, 88, 12, 0.08);
  border-color: var(--accent-spark);
  color: var(--accent-spark);
}

/* Slide-over Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: var(--bg-card);
  border-left: 1px solid var(--border-card);
  box-shadow: -10px 0 35px rgba(15, 23, 42, 0.15);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-items-body {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-empty-message {
  text-align: center;
  color: var(--text-muted);
  margin-top: 3rem;
  font-size: 0.95rem;
}

.cart-item-row {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-item-info strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-heading);
}

.cart-item-info span {
  font-size: 0.78rem;
  color: var(--accent-spark);
  font-weight: 600;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0.3rem;
}

.cart-item-remove:hover {
  color: #ef4444;
}

.cart-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-heading);
}

.cart-total-row span:last-child {
  color: var(--accent-spark);
  font-size: 1.35rem;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--accent-spark);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  color: var(--text-heading);
  font-size: 0.88rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Breakpoints & Small Screen Optimizations
   ========================================================================== */

/* Tablet & Smaller Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-headline {
    font-size: 2.6rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .calc-container {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium Tablets & Mobile Devices (<= 992px) */
@media (max-width: 992px) {

  .desktop-only,
  .city-select-pill.desktop-only {
    display: none !important;
  }

  .nav-center {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex !important;
  }

  .cta-text-full {
    display: none !important;
  }

  .cta-text-compact {
    display: inline !important;
  }

  .btn-nav-cta {
    padding: 0.45rem 0.85rem !important;
    font-size: 0.82rem !important;
  }
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Top Notice Bar on Mobile */
  .notice-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .notice-details {
    display: none !important;
  }

  .hide-mobile {
    display: none !important;
  }

  .notice-message {
    font-size: 0.76rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .notice-action-link {
    font-size: 0.72rem;
    padding: 0.15rem 0.45rem;
  }

  /* Navbar */
  .navbar {
    height: 64px;
  }

  .brand-logo {
    font-size: 1.25rem;
  }

  .brand-icon-wrapper {
    width: 35px;
    height: 35px;
    font-size: 1.05rem;
  }

  .theme-toggle-btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .cart-btn-indicator {
    width: 38px;
    height: 38px;
  }

  .mobile-menu-btn {
    display: flex !important;
    width: 38px;
    height: 38px;
  }

  /* Hero Section */
  .hero-section {
    padding: 3rem 0 2.5rem;
  }

  .hero-headline {
    font-size: 2.1rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-trust-badges {
    flex-wrap: wrap;
    gap: 0.85rem;
  }

  .trust-item {
    font-size: 0.82rem;
  }

  /* Core Categories 2x2 on Mobile */
  .core-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .cat-shortcut-card {
    padding: 0.9rem;
  }

  .cat-title {
    font-size: 0.88rem;
  }

  .cat-subtitle {
    font-size: 0.72rem;
  }

  /* Services Grid */
  .service-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Category Filter Tabs Scrollable */
  .category-filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .category-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    white-space: nowrap;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    flex-shrink: 0;
  }

  /* Calculator */
  .calc-container {
    padding: 1.5rem 1rem;
  }

  .calc-category-radio-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .calc-radio-pill {
    padding: 0.6rem 0.35rem;
  }

  .calc-radio-pill .label {
    font-size: 0.75rem;
  }

  .calc-summary-pane {
    padding: 1.25rem 1rem;
  }

  /* Split Before/After Slider */
  .split-slider-container {
    padding: 1rem;
  }

  .split-view-wrapper {
    height: 300px;
  }

  .split-handle {
    width: 36px;
    height: 36px;
    transform: translate(-50%, calc(150px - 18px));
    font-size: 0.8rem;
  }

  .split-label-tag {
    font-size: 0.65rem;
    padding: 0.25rem 0.55rem;
  }

  .split-tab-btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
  }

  /* Live Tracking */
  .tracking-card-container {
    padding: 1.5rem 1rem;
  }

  .steps-tracker {
    flex-direction: column;
    gap: 1.25rem;
  }

  .steps-tracker::before,
  .step-progress-line {
    display: none;
  }

  .step-node {
    flex-direction: row;
    width: 100%;
    text-align: left;
    gap: 0.75rem;
  }

  .tech-profile-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  /* Features & Footer */
  .features-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Small Screens & Mobile Phones (<= 640px) */
.show-mobile-only {
  display: none;
}

@media (max-width: 640px) {
  .show-mobile-only {
    display: inline !important;
  }

  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  /* Top Announcement Ticker */
  .top-notice-bar {
    padding: 0.35rem 0;
  }

  .notice-container {
    gap: 0.35rem;
  }

  .notice-message {
    font-size: 0.72rem;
    min-width: 0;
    flex: 1;
  }

  .notice-highlight {
    font-size: 0.72rem;
  }

  .notice-actions {
    gap: 0.35rem;
    flex-shrink: 0;
  }

  .notice-action-link {
    font-size: 0.72rem;
    padding: 0.15rem 0.45rem;
  }

  /* Navbar */
  .navbar {
    height: 58px;
  }

  .brand-logo {
    font-size: 1.15rem;
    gap: 0.45rem;
  }

  .brand-icon-wrapper {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
    border-radius: 8px;
  }

  .nav-actions {
    gap: 0.4rem;
  }

  /* In <= 480px, theme toggle is prominently in mobile menu drawer */
  .header-nav .theme-toggle-btn {
    display: none !important;
  }

  .cart-btn-indicator {
    width: 35px;
    height: 35px;
    border-radius: 8px;
  }

  .cart-badge {
    width: 17px;
    height: 17px;
    font-size: 0.65rem;
    top: -3px;
    right: -3px;
  }

  .btn-nav-cta {
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
    border-radius: 8px;
    gap: 0.25rem;
  }

  .mobile-menu-btn {
    width: 35px;
    height: 35px;
    padding: 8px 6px;
    border-radius: 8px;
  }

  /* Hero Search input & button fit 100% without overflowing */
  .hero-search-box {
    width: 100%;
    max-width: 100%;
  }

  .search-input-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 0.35rem 0.45rem 0.35rem 0.75rem;
  }

  .search-icon {
    font-size: 1rem;
    margin-right: 0.4rem;
    flex-shrink: 0;
  }

  .search-input {
    font-size: 0.88rem;
    min-width: 0;
    width: 100%;
    flex: 1 1 0%;
  }

  .search-input-wrapper .btn-primary {
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
    flex-shrink: 0;
  }

  /* Hero Headline */
  .hero-headline {
    font-size: 1.85rem;
  }

  /* Section Titles */
  .section-title {
    font-size: 1.85rem;
  }

  /* Tracking Search Bar on Small Screens */
  .tracking-search-bar {
    flex-direction: column;
    gap: 0.6rem;
  }

  .tracking-search-bar .tracking-input {
    width: 100%;
  }

  .tracking-search-bar .btn {
    width: 100%;
  }

  /* Pincode Search Bar */
  .pincode-form-row {
    flex-direction: column;
    width: 100%;
  }

  .pincode-input {
    width: 100%;
  }

  .pincode-form-row .btn {
    width: 100%;
  }

  /* Modal Dialog on Small Screen */
  .booking-modal-box {
    max-width: 96vw;
    border-radius: var(--radius-md);
  }

  .modal-header {
    padding: 1rem 1.25rem;
  }

  .modal-body {
    padding: 1.25rem 1rem;
  }

  .modal-stepper {
    margin-bottom: 1.5rem;
  }

  .m-step-title {
    display: none;
  }

  .m-step-circle {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .slot-chips-grid {
    grid-template-columns: 1fr;
  }

  /* Slide-over Cart */
  .cart-drawer {
    max-width: 100vw;
  }
}