/* ==========================================================================
   CRAB-PLOVER HAPPILY PLUMBING SOLUTIONS - SLEEK INTERFACE THEME
   100% Pure Vanilla CSS3 | Optimized for Asura Hosting & Fast Performance
   ========================================================================== */

/* 1. CSS Variables & Theme Configuration (Sleek Interface) */
:root {
  /* Brand Palette */
  --primary: #0284c7;         /* Sky 600 - Clean Vibrant Blue */
  --primary-dark: #0369a1;    /* Sky 700 - Deep Oceanic Blue */
  --primary-deep: #075985;    /* Sky 800 - Deep Navy Accent */
  --primary-light: #e0f2fe;   /* Sky 100 - Soft Ice Tint */
  --primary-subtle: #f0f9ff;  /* Sky 50 - Ultra light tint */
  
  /* Accent & Secondary */
  --secondary: #f59e0b;       /* Amber 500 - High Contrast Golden Accent */
  --secondary-dark: #d97706;  /* Amber 600 */
  --secondary-light: #fef3c7; /* Amber 100 */
  --accent: #f59e0b;          /* Unified Secondary Accent */
  --accent-dark: #d97706;
  --accent-light: #fef3c7;
  
  /* Neutrals & Surfaces */
  --text-main: #1e293b;       /* Slate 800 - Main Heading & Dark Text */
  --text-muted: #64748b;      /* Slate 500 - Body & Description */
  --text-light: #94a3b8;      /* Slate 400 */
  --bg: #f8fafc;              /* Slate 50 - Background */
  --bg-alt: #f1f5f9;          /* Slate 100 - Soft Section Bg */
  --white: #ffffff;
  --dark: #0f172a;            /* Slate 900 */
  --navy: #075985;
  
  /* Borders & Outlines */
  --border: #e2e8f0;          /* Slate 200 - Clean Subtle Border */
  --border-hover: #cbd5e1;    /* Slate 300 */
  --border-focus: #0284c7;
  
  /* Semantic */
  --success: #10b981;
  --success-bg: #d1fae5;
  --error: #ef4444;
  --error-bg: #fee2e2;
  
  /* Typography */
  --font-family: 'Segoe UI', Roboto, Helvetica, Arial, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: var(--font-family);
  --font-body: var(--font-family);
  
  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Sleek Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(2, 132, 199, 0.2);
  
  /* Layout */
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
  --topbar-height: 38px;
}

/* 2. Global Resets & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

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

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

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

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Containers */
.container {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.container-narrow {
  width: min(840px, calc(100% - 32px));
  margin-inline: auto;
}

/* Section Spacing & Layout */
section {
  padding: clamp(3rem, 5.5vw, 5rem) 0;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.section-bg-alt {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-bg-dark {
  background: linear-gradient(135deg, #0f172a 0%, #075985 100%);
  color: var(--white);
}

/* Section Header Typography */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.75rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  border: 1px solid rgba(2, 132, 199, 0.15);
}

.section-badge-dark {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-bg-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: clamp(0.9375rem, 1.1vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.6;
}

.section-bg-dark .section-subtitle {
  color: #cbd5e1;
}

/* 3. Sleek Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  min-height: 42px;
  text-align: center;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.btn-primary:hover {
  background-color: var(--secondary-dark);
  color: var(--text-main);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.btn-accent {
  background-color: var(--secondary);
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.btn-accent:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.12);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8125rem;
  min-height: 36px;
}

.btn-lg {
  padding: 12px 26px;
  font-size: 1rem;
  min-height: 48px;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* 4. Top Information Bar (Sleek Interface) */
.topbar {
  background-color: var(--primary-dark);
  color: var(--white);
  font-size: 0.75rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-items {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
}

.topbar-item a:hover {
  color: #bae6fd;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.6875rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* 5. Header & Navigation (Sleek Interface) */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-scrolled {
  box-shadow: var(--shadow-md);
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon-wrap {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.15;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--text-muted);
  position: relative;
  padding: 6px 2px;
  transition: var(--transition);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.2s ease;
  border-radius: 2px;
}

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

/* Header CTAs */
.header-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.phone-cta-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
}

.phone-cta-link:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-color: rgba(2, 132, 199, 0.25);
}

.phone-icon-pulse {
  color: var(--primary);
  display: flex;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background-color: var(--bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  z-index: 1100;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Drawer Overlay */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: min(320px, 85vw);
  height: 100vh;
  background-color: var(--white);
  z-index: 1060;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  transition: right 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-main);
  border-radius: var(--radius-sm);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

.mobile-drawer-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* 6. Hero Section (Sleek Interface Gradient & Frame) */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0284c7 0%, #075985 100%);
  color: var(--white);
  padding: clamp(3.25rem, 5.5vw, 4.75rem) 0;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
}

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

.hero-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
  width: fit-content;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.hero-title-highlight {
  color: #fef08a; /* Soft golden highlight */
  position: relative;
}

.hero-description {
  font-size: clamp(0.9375rem, 1.1vw, 1.05rem);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.hero-guarantees {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.guarantee-icon {
  width: 20px;
  height: 20px;
  color: #bae6fd;
  flex-shrink: 0;
  margin-top: 2px;
}

.guarantee-text strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--white);
  line-height: 1.2;
}

.guarantee-text span {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Hero Media Box */
.hero-media {
  position: relative;
}

.hero-card-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.hero-illustration {
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--primary-light);
}

.hero-floating-badge {
  position: absolute;
  bottom: -14px;
  left: 20px;
  background-color: var(--text-main);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.badge-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1;
}

.badge-label {
  font-size: 0.6875rem;
  line-height: 1.2;
  color: #cbd5e1;
}

/* 7. Services Section (Sleek Interface Cards) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(2, 132, 199, 0.12);
  border-color: var(--primary);
}

.service-card-popular {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.1);
}

.popular-badge {
  position: absolute;
  top: -11px;
  right: 18px;
  background-color: var(--secondary);
  color: var(--text-main);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.service-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background-color: var(--primary);
  color: var(--white);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.3;
}

.service-description {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
  flex-grow: 1;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  color: var(--text-main);
  font-weight: 500;
}

.service-feature-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* 8. Why Choose Us Section */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.why-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.why-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.why-icon-wrap {
  width: 44px;
  height: 44px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.why-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

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

/* 9. Service Areas Section */
.areas-wrapper {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 3.5vw, 36px);
  box-shadow: var(--shadow-sm);
}

.areas-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 24px auto;
}

.areas-chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.area-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-main);
  transition: var(--transition);
}

.area-chip:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
}

.area-chip-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.areas-zip-box {
  background-color: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  border: 1px dashed var(--border-hover);
  text-align: center;
}

.zip-title {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.875rem;
  margin-bottom: 6px;
}

.zip-list {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 10. Our Process Section */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}

.process-step {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.step-badge {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 14px;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

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

/* 11. FAQ Section (Sleek Accordion) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item[open] {
  background-color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-main);
  cursor: pointer;
  user-select: none;
  list-style: none;
  gap: 12px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  color: var(--primary);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  padding: 0 20px 18px 20px;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  border-top: 1px solid var(--border);
  margin-top: 2px;
  padding-top: 14px;
}

/* 12. Contact & Quote Section (Sleek Interface Form Layout) */
.quote-section {
  background-color: var(--white);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: flex-start;
}

.quote-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-card {
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-icon-box {
  width: 38px;
  height: 38px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.contact-val {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
}

.contact-val a:hover {
  color: var(--primary);
}

.emergency-alert-card {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.emergency-icon {
  width: 32px;
  height: 32px;
  background-color: var(--secondary);
  color: var(--text-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: bold;
}

.emergency-text h4 {
  font-size: 0.875rem;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 2px;
}

.emergency-text p {
  font-size: 0.75rem;
  color: #b45309;
}

/* Quote Form Container */
.quote-form-container {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 3.5vw, 32px);
  box-shadow: var(--shadow-md);
}

.form-header {
  margin-bottom: 20px;
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

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

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-label span.req {
  color: var(--error);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  color: var(--text-main);
  font-size: 0.875rem;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

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

.form-note {
  font-size: 0.6875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.form-alert {
  display: none;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-top: 10px;
}

.form-alert-success {
  background-color: var(--success-bg);
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-alert-error {
  background-color: var(--error-bg);
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* 13. Final Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, #0284c7 0%, #075985 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-content {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
}

.cta-desc {
  font-size: clamp(0.9375rem, 1.1vw, 1.05rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* 14. Social Links Bar (Sleek Interface) */
.social-links-section {
  padding: 18px 0;
  background-color: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.social-links-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

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

.social-icons-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.social-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* 15. Footer (Sleek Interface) */
.footer {
  background-color: var(--white);
  color: var(--text-muted);
  padding: 50px 0 20px 0;
  font-size: 0.8125rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
  position: relative;
  padding-bottom: 6px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  color: var(--text-muted);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover {
  color: var(--primary);
  transform: translateX(2px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--text-light);
  font-size: 0.75rem;
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* 16. Floating Emergency Bar (Mobile / Quick Action) */
.floating-call-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: var(--secondary);
  color: var(--text-main);
  padding: 12px 18px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.875rem;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.floating-call-btn:hover {
  background-color: var(--secondary-dark);
  transform: scale(1.03);
}

/* 17. Responsive Media Queries */
@media (max-width: 1080px) {
  .nav-menu {
    gap: 14px;
  }
  .phone-cta-link span.phone-text {
    display: none;
  }
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 920px) {
  .nav-menu, .header-ctas .phone-cta-link {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .mobile-drawer-overlay {
    display: block;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .quote-grid {
    grid-template-columns: 1fr;
  }
  .floating-call-btn {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .topbar-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-guarantees {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .process-timeline {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-actions .btn {
    width: 100%;
  }
  .social-links-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
