/* ==========================================================================
   Carlsbad Heating Services - Professional Polish Design Theme
   Domain: https://carlsbadheatingservices.com/
   Phone: +1 833-602-1917
   ========================================================================== */

:root {
  /* Professional Polish Theme Palette */
  --navy: #0f172a;
  --navy-dark: #090d16;
  --navy-light: #1e293b;
  --blue: #1e40af;
  --blue-dark: #1e3a8a;
  --blue-light: #3b82f6;
  --blue-subtle: #eff6ff;
  --orange: #ea580c;
  --orange-hover: #c2410c;
  --orange-amber: #f97316;
  --orange-light: #fff7ed;
  --orange-glow: rgba(234, 88, 12, 0.4);
  --slate: #f8fafc;
  --text: #334155;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-white: #ffffff;
  
  /* Aliases for compatibility */
  --primary-navy: var(--navy);
  --primary-dark: var(--navy-dark);
  --primary-slate: var(--navy-light);
  --primary-blue: var(--blue);
  --accent-cyan: #0284c7;
  --accent-cyan-light: #e0f2fe;
  --accent-orange: var(--orange);
  --accent-orange-hover: var(--orange-hover);
  --accent-amber: var(--orange-amber);
  --accent-warm-light: var(--orange-light);
  
  /* Neutrals & Borders */
  --bg-main: #ffffff;
  --bg-subtle: var(--slate);
  --bg-card: #ffffff;
  --border-light: #f1f5f9;
  --border-medium: #e2e8f0;
  --border-dark: #cbd5e1;
  
  /* Status Colors */
  --success: #16a34a;
  --success-bg: #dcfce7;
  --warning: #d97706;
  --warning-bg: #fef3c7;
  --danger: #dc2626;
  
  /* Layout & Spacing */
  --container-max: 1200px;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Professional Shadows */
  --shadow-subtle: 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.07), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  --shadow-orange: 0 4px 14px var(--orange-glow);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;
}

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

html {
  font-family: 'Helvetica Neue', Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg-main);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: var(--text);
  background-color: #ffffff;
}

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

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

ul, ol {
  list-style: none;
}

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

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

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==========================================================================
   Typography & Layout
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--navy);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.2rem, 4vw + 1rem, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 2.5vw + 0.5rem, 2.4rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 1.5vw + 0.2rem, 1.6rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }

p {
  margin-bottom: 1rem;
  color: var(--text);
  line-height: 1.65;
}

p:last-child {
  margin-bottom: 0;
}

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

.section {
  padding: 5rem 0;
}

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

.section-dark {
  background-color: var(--navy);
  color: #e2e8f0;
}

.section-dark h2, .section-dark h3, .section-dark h4 {
  color: #ffffff;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background-color: var(--orange-light);
  color: var(--orange);
  border: 1px solid rgba(234, 88, 12, 0.2);
  margin-bottom: 1rem;
}

.section-badge.cyan {
  background-color: var(--blue-subtle);
  color: var(--blue);
  border-color: rgba(30, 64, 175, 0.2);
}

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

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

.section-dark .section-subtitle {
  color: #94a3b8;
}

/* ==========================================================================
   Buttons & CTAs (Professional Polish Aesthetic)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Vibrant Safety Orange Button with Glow */
.btn-primary, .btn-orange {
  background-color: var(--orange);
  color: #ffffff;
  box-shadow: var(--shadow-orange);
  border: 1px solid var(--orange);
}

.btn-primary:hover, .btn-orange:hover {
  background-color: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.5);
  color: #ffffff;
}

/* Royal Corporate Blue Button */
.btn-secondary, .btn-blue, .phone-cta {
  background-color: var(--blue);
  color: #ffffff;
  border: 1px solid var(--blue);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.btn-secondary:hover, .btn-blue:hover, .phone-cta:hover {
  background-color: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 64, 175, 0.35);
  color: #ffffff;
}

.btn-outline {
  border: 1px solid var(--border-dark);
  background-color: #ffffff;
  color: var(--navy);
  box-shadow: var(--shadow-subtle);
}

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

.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.85);
  background-color: transparent;
  color: #ffffff;
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--navy);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
}

.btn-icon {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

/* ==========================================================================
   Header & Topbar (Professional Polish)
   ========================================================================== */
.site-topbar, .top-bar {
  background-color: var(--navy);
  color: #ffffff;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-weight: 500;
  color: #cbd5e1;
}

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

.topbar-item svg {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--orange);
  flex-shrink: 0;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.03em;
  transition: color var(--transition-fast);
}

.topbar-phone:hover {
  color: #fdba74;
}

.topbar-phone svg {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--orange);
}

/* Site Header */
.site-header, .header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  transition: box-shadow var(--transition-fast);
}

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

.brand-logo, .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.brand-logo img {
  height: 48px;
  width: auto;
}

.nav-desktop, .nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-item {
  position: relative;
}

.nav-link, .nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.25rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

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

.nav-link svg.chevron {
  width: 0.85rem;
  height: 0.85rem;
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link svg.chevron {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 270px;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-normal);
  z-index: 1100;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.dropdown-link svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--orange);
  opacity: 0.9;
  flex-shrink: 0;
}

.dropdown-link:hover, .dropdown-link.active {
  background-color: var(--slate);
  color: var(--orange);
}

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

.header-cta-group .btn-primary {
  background-color: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.header-cta-group .btn-primary:hover {
  background-color: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 6px 16px rgba(30, 64, 175, 0.35);
}

.header-phone-box {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.header-phone-box span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.header-phone-box a {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}

.header-phone-box a:hover {
  color: var(--orange);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  padding: 0.5rem;
  color: var(--navy);
  border-radius: var(--radius-sm);
}

.mobile-toggle svg {
  width: 1.75rem;
  height: 1.75rem;
}

/* Mobile Menu Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background-color: #ffffff;
  z-index: 2000;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transition: right var(--transition-normal);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.6);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

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

.mobile-nav-close {
  padding: 0.5rem;
  color: var(--navy);
}

.mobile-nav-close svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-nav-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.75rem;
}

.mobile-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  padding: 0.4rem 0;
}

.mobile-dropdown {
  display: none;
  padding-left: 1rem;
  margin-top: 0.5rem;
  border-left: 2px solid var(--orange);
}

.mobile-dropdown.open {
  display: block;
}

.mobile-dropdown-link {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mobile-dropdown-link:hover {
  color: var(--orange);
}

.mobile-cta-box {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==========================================================================
   Hero Section (Professional Polish: Deep Royal Blue Gradient)
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: #ffffff;
  padding: 5.5rem 0 6rem 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 85% 20%, rgba(234, 88, 12, 0.25), transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(59, 130, 246, 0.2), transparent 45%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
}

.hero h1 {
  color: #ffffff;
  margin: 0 0 1.25rem 0;
  line-height: 1.15;
  font-weight: 800;
}

.hero h1 span.highlight {
  color: #fdba74;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 6px;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  align-items: center;
}

.hero-call-highlight {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(6px);
}

.hero-call-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: var(--shadow-orange);
}

.hero-call-icon svg {
  width: 22px;
  height: 22px;
}

.hero-call-text span {
  display: block;
  font-size: 0.75rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.hero-call-text a {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.hero-call-text a:hover {
  color: #fdba74;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #e2e8f0;
  font-weight: 500;
}

.hero-trust-item svg {
  width: 1.15rem;
  height: 1.15rem;
  color: #93c5fd;
  flex-shrink: 0;
}

.hero-card-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: #ffffff;
  color: var(--navy);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 290px;
}

.hero-floating-icon {
  width: 42px;
  height: 42px;
  background-color: var(--orange);
  color: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-orange);
}

.hero-floating-icon svg {
  width: 24px;
  height: 24px;
}

.hero-floating-card p {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}

/* Page Sub-Hero Banner */
.page-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: #ffffff;
  padding: 4rem 0;
  position: relative;
  border-bottom: 3px solid var(--orange);
}

.page-banner-content {
  max-width: 800px;
}

.page-banner-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.page-banner h1 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.page-banner p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #93c5fd;
  margin-bottom: 1.25rem;
}

.breadcrumbs a {
  color: #e2e8f0;
}

.breadcrumbs a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.breadcrumbs span {
  opacity: 0.7;
}

/* ==========================================================================
   Trust / Value Features (Professional Polish Cards)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--orange-light);
  color: var(--orange);
  border: 1px solid rgba(234, 88, 12, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon-box.cyan {
  background: var(--blue-subtle);
  color: var(--blue);
  border-color: rgba(30, 64, 175, 0.2);
}

.feature-icon-box svg {
  width: 26px;
  height: 26px;
}

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

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==========================================================================
   Services Grid (Professional Polish)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.service-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--navy-light);
}

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

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

.service-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.service-card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

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

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--orange);
  font-size: 0.95rem;
}

.service-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Image Slider / HVAC Gallery (Polished Navy Container)
   ========================================================================== */
.slider-section {
  position: relative;
  background-color: var(--navy);
  color: #ffffff;
  padding: 5rem 0;
  overflow: hidden;
}

.slider-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider-slide {
  min-width: 100%;
  position: relative;
  height: 500px;
  background-color: var(--navy);
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 2rem 2rem 2rem;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 70%, transparent 100%);
  color: #ffffff;
}

.slider-caption h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.slider-caption p {
  color: #cbd5e1;
  font-size: 1rem;
  max-width: 700px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background-color: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.slider-btn:hover {
  background-color: var(--orange);
  border-color: var(--orange);
  box-shadow: var(--shadow-orange);
}

.slider-btn svg {
  width: 22px;
  height: 22px;
}

.slider-btn.prev { left: 1.25rem; }
.slider-btn.next { right: 1.25rem; }

.slider-dots {
  position: absolute;
  bottom: 1rem;
  right: 2rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-xs);
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  background-color: var(--orange);
  width: 24px;
}

/* ==========================================================================
   Service Areas Grid
   ========================================================================== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.area-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.area-card:hover {
  border-color: rgba(234, 88, 12, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.area-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.area-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--orange-light);
  color: var(--orange);
  border: 1px solid rgba(234, 88, 12, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.area-icon svg {
  width: 20px;
  height: 20px;
}

.area-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
}

.area-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.area-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--orange);
}

/* ==========================================================================
   Map Section
   ========================================================================== */
.map-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.map-info-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.map-info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.map-info-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.service-area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.area-tag {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background-color: var(--slate);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  transition: all var(--transition-fast);
}

.area-tag:hover {
  background-color: var(--orange-light);
  border-color: var(--orange);
  color: var(--orange);
}

.map-frame-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-medium);
  height: 420px;
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   FAQ Accordions
   ========================================================================== */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item.active {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}

/* Keep FAQ arrow icons compact and consistent on the FAQ page and all service pages */
.faq-question .chevron {
  width: 20px;
  height: 20px;
  min-width: 20px;
  flex: 0 0 20px;
  display: block;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-question .chevron {
  transform: rotate(180deg);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-xs);
  background-color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
  transition: transform var(--transition-normal), background-color var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background-color: var(--orange-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
  color: var(--text);
  font-size: 0.975rem;
  line-height: 1.7;
}

/* ==========================================================================
   SEO Content Section & Rich Article Styling
   ========================================================================== */
.seo-content-block {
  max-width: 960px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.seo-content-block h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-light);
}

.seo-content-block h2:first-child {
  margin-top: 0;
}

.seo-content-block h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.seo-content-block p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.seo-content-block ul, .seo-content-block ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.seo-content-block ul li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.seo-content-block ol li {
  list-style-type: decimal;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.callout-box {
  background-color: var(--orange-light);
  border-left: 4px solid var(--orange);
  padding: 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2rem 0;
}

.callout-box.cyan {
  background-color: var(--blue-subtle);
  border-left-color: var(--blue);
}

.callout-box h4 {
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.callout-box p {
  margin-bottom: 0;
  font-size: 0.975rem;
  color: var(--text);
}

/* ==========================================================================
   CTA Banner (Deep Royal Blue Gradient & Orange Accent)
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: #ffffff;
  padding: 4.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--orange);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(234, 88, 12, 0.25), transparent 70%);
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.cta-banner-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--orange);
  border: 1px solid var(--orange);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-orange);
  transition: all var(--transition-fast);
  text-transform: uppercase;
}

.cta-banner-phone:hover {
  background-color: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.5);
}

.cta-banner-phone svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #ffffff;
}

/* ==========================================================================
   Contact Form & Info
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

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

.contact-detail-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--orange-light);
  color: var(--orange);
  border: 1px solid rgba(234, 88, 12, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-form-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form-card h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.contact-form-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--navy);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
  outline: none;
}

.form-feedback {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  font-size: 0.95rem;
}

.form-feedback.success {
  display: block;
  background-color: var(--success-bg);
  color: var(--success);
  border: 1px solid #86efac;
}

.form-feedback.error {
  display: block;
  background-color: #fee2e2;
  color: var(--danger);
  border: 1px solid #fca5a5;
}

/* ==========================================================================
   Footer (Professional Polish: Navy with Orange Top Border)
   ========================================================================== */
.site-footer, .footer {
  background-color: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 2rem 0;
  margin-top: auto;
  border-top: 4px solid var(--orange);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.footer-phone-cta:hover {
  background-color: var(--orange);
  border-color: var(--orange);
  color: #ffffff;
  box-shadow: var(--shadow-orange);
}

.footer-phone-cta svg {
  width: 1.2rem;
  height: 1.2rem;
  color: #fdba74;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background-color: var(--orange);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.925rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

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

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

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

.footer-bottom-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   Mobile Bottom Floating Call Bar
   ========================================================================== */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--navy);
  padding: 0.75rem 1rem;
  z-index: 990;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
  border-top: 2px solid var(--orange);
}

.mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: var(--orange);
  color: #ffffff;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 1.05rem;
  text-align: center;
  box-shadow: var(--shadow-orange);
  text-transform: uppercase;
}

.mobile-call-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-image-wrapper img {
    height: 380px;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .map-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 860px) {
  .nav-desktop {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .site-header .header-cta-group {
    display: none;
  }
  
  .mobile-call-bar {
    display: block;
  }
  
  body {
    padding-bottom: 70px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.5rem 0;
  }
  
  .seo-content-block {
    padding: 1.75rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .slider-slide {
    height: 380px;
  }
  
  .slider-caption {
    padding: 1.25rem;
  }
  
  .slider-caption h3 {
    font-size: 1.15rem;
  }
  
  .slider-caption p {
    font-size: 0.875rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-floating-card {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }
  
  .topbar-content {
    justify-content: center;
    text-align: center;
  }
  
  .topbar-left {
    justify-content: center;
  }
}
