/* ==========================================================================
   Boatbill Heating Air Conditioning HVAC Services - Production Stylesheet
   Pure CSS3 - Zero External Dependencies - Asura Hosting Upload Ready
   ========================================================================== */

:root {
  /* Color Palette */
  --primary: #0f2942;
  --primary-dark: #0a1b2d;
  --primary-light: #1c4267;
  
  --heat-accent: #e65100;
  --heat-accent-hover: #c94600;
  --heat-accent-soft: #fff3e0;
  
  --cool-accent: #0284c7;
  --cool-accent-hover: #0369a1;
  --cool-accent-soft: #e0f2fe;

  --success: #15803d;
  --success-soft: #dcfce7;
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --text-white: #ffffff;

  --border-color: #e2e8f0;
  --border-focus: #0284c7;

  /* Elevation */
  --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 -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);

  /* Typography */
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --header-height: 76px;
  --topbar-height: 40px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-page);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* Core Container Constraints */
.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

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

/* Typography Utilities */
h1, h2, h3, h4 {
  color: var(--primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.125rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.375rem);
  margin-bottom: 0.75rem;
  text-align: center;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  max-width: 75ch;
}

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

.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-header p {
  margin-left: auto;
  margin-right: auto;
  font-size: 1.075rem;
  color: var(--text-muted);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background-color: var(--cool-accent-soft);
  color: var(--cool-accent);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.section-badge.heat {
  background-color: var(--heat-accent-soft);
  color: var(--heat-accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-height: 48px;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--heat-accent);
  color: var(--text-white);
  box-shadow: 0 2px 4px rgba(230, 81, 0, 0.25);
}

.btn-primary:hover {
  background-color: var(--heat-accent-hover);
  color: var(--text-white);
}

.btn-secondary {
  background-color: var(--cool-accent);
  color: var(--text-white);
  box-shadow: 0 2px 4px rgba(2, 132, 199, 0.25);
}

.btn-secondary:hover {
  background-color: var(--cool-accent-hover);
  color: var(--text-white);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-white);
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: #f8fafc;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem;
  min-height: 38px;
}

.btn-block {
  width: 100%;
}

/* Top Information Bar */
.top-bar {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

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

.top-bar-item a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.top-bar-item svg {
  width: 15px;
  height: 15px;
  color: var(--heat-accent);
}

.top-bar-badge {
  background-color: rgba(22, 163, 74, 0.2);
  color: #4ade80;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
}

/* Header & Navigation */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

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

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

.brand-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

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

.nav-links a {
  font-size: 0.935rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.4rem 0.2rem;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cool-accent);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--cool-accent);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.phone-quick-btn {
  display: flex;
  flex-direction: column;
  text-align: right;
  padding: 0.2rem 0.5rem;
}

.phone-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
}

.phone-number {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.phone-number svg {
  width: 16px;
  height: 16px;
  color: var(--heat-accent);
}

.phone-number:hover {
  color: var(--heat-accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--primary);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Navigation Drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 85vw);
  background-color: #ffffff;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
}

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

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

.drawer-close-btn {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

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

.mobile-nav-links {
  list-style: none;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-links a {
  display: block;
  padding: 0.75rem 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--cool-accent);
}

.drawer-footer {
  margin-top: auto;
  padding: 1.25rem;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Sections Global */
section {
  padding: 4.5rem 0;
  position: relative;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
  padding: 3.5rem 0 4.5rem;
  border-bottom: 1px solid var(--border-color);
}

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

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

.hero-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cool-accent);
  background-color: var(--cool-accent-soft);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  width: fit-content;
}

.hero-location-tag svg {
  width: 16px;
  height: 16px;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

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

.hero-card-visual {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-visual-header {
  background-color: var(--primary);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-visual-header h3 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 0;
}

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

.hero-badge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hero-stat-box {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}

.stat-icon {
  margin: 0 auto 0.4rem;
  width: 28px;
  height: 28px;
}

.stat-icon.heat svg {
  color: var(--heat-accent);
}

.stat-icon.cool svg {
  color: var(--cool-accent);
}

.stat-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-desc {
  font-size: 0.75rem;
  color: var(--text-light);
}

.hero-emergency-bar {
  background-color: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-emergency-bar svg {
  width: 22px;
  height: 22px;
  color: #e11d48;
  flex-shrink: 0;
}

.hero-emergency-text {
  font-size: 0.825rem;
  color: #9f1239;
  line-height: 1.4;
}

.hero-emergency-text strong {
  display: block;
}

/* Emergency Alert Ribbon */
.emergency-ribbon {
  background-color: var(--primary);
  color: #ffffff;
  padding: 1.25rem 0;
  border-top: 3px solid var(--heat-accent);
}

.emergency-ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.emergency-ribbon-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.emergency-icon-circle {
  width: 44px;
  height: 44px;
  background-color: rgba(230, 81, 0, 0.2);
  border: 1px solid var(--heat-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.emergency-icon-circle svg {
  width: 22px;
  height: 22px;
  color: #ff9800;
}

.emergency-text h3 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.emergency-text p {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Services Section */
.services-section {
  background-color: var(--bg-page);
}

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

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.service-icon-box.heat {
  background-color: var(--heat-accent-soft);
  color: var(--heat-accent);
}

.service-icon-box.cool {
  background-color: var(--cool-accent-soft);
  color: var(--cool-accent);
}

.service-icon-box.dual {
  background: linear-gradient(135deg, var(--cool-accent-soft) 0%, var(--heat-accent-soft) 100%);
  color: var(--primary);
}

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

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.935rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.service-checklist li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.service-checklist li svg {
  width: 14px;
  height: 14px;
  color: var(--cool-accent);
  flex-shrink: 0;
}

/* Why Choose Us Section */
.why-section {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.why-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: left;
}

.why-icon {
  width: 44px;
  height: 44px;
  background-color: var(--primary-dark);
  color: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

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

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

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

/* Our Process Section */
.process-section {
  background-color: var(--bg-subtle);
}

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

.process-step-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-number {
  width: 38px;
  height: 38px;
  background-color: var(--cool-accent);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.process-step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.process-step-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Service Areas Section */
.areas-section {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

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

.areas-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.areas-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.area-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.area-chip svg {
  width: 14px;
  height: 14px;
  color: var(--cool-accent);
}

.area-highlight-box {
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--cool-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem;
}

.area-highlight-box h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.area-highlight-box p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.areas-visual-card {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.location-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.location-detail-row svg {
  width: 20px;
  height: 20px;
  color: var(--heat-accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.location-detail-text h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.location-detail-text p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* FAQ Section */
.faq-section {
  background-color: var(--bg-page);
}

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

.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: var(--cool-accent);
}

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

.faq-toggle-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--bg-subtle);
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.faq-toggle-icon svg {
  width: 14px;
  height: 14px;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  background-color: var(--cool-accent);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 1.25rem;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 1.25rem 1.25rem;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
}

.faq-answer p {
  font-size: 0.935rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Contact & Quote Section */
.contact-section {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
}

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

.contact-card-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

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

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

.contact-meta h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-meta a {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
}

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

.contact-meta p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Form Styling */
.quote-form-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.quote-form-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.quote-form-card p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

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

.form-note {
  font-size: 0.775rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  line-height: 1.4;
}

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

.form-alert.info {
  display: block;
  background-color: var(--cool-accent-soft);
  border: 1px solid #bae6fd;
  color: #0369a1;
}

/* Final CTA Banner */
.final-cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 4rem 0;
  text-align: center;
}

.final-cta-section h2 {
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.final-cta-section p {
  color: #cbd5e1;
  font-size: 1.1rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.final-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Social Media Section */
.social-links-section {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 2.25rem 0;
}

.social-section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.social-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

.social-icons-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--primary);
  transition: all 0.2s ease;
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
}

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

/* Footer */
.site-footer {
  background-color: var(--primary-dark);
  color: #94a3b8;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-col p {
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.6;
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.875rem;
}

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

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--heat-accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

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

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

.footer-bottom p {
  color: #64748b;
  margin-bottom: 0;
}

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

.footer-bottom-links a {
  color: #64748b;
}

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

/* Mobile Quick Call Floating Bar */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  padding: 0.65rem 1rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--border-color);
  z-index: 90;
}

.mobile-call-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--cool-accent);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* Download Production Zip Toolbar */
.zip-download-bar {
  background-color: #042f2e;
  color: #ccfbf1;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #115e59;
}

.zip-download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.zip-badge-info {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.zip-badge-info svg {
  width: 16px;
  height: 16px;
  color: #2dd4bf;
  flex-shrink: 0;
}

.btn-zip-download {
  background-color: #0d9488;
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background-color 0.2s ease;
}

.btn-zip-download:hover {
  background-color: #14b8a6;
}

/* 404 Page Styling */
.error-page-wrapper {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}

.error-card {
  max-width: 550px;
  background: #ffffff;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.error-code {
  font-size: 5rem;
  font-weight: 900;
  color: var(--cool-accent);
  line-height: 1;
  margin-bottom: 1rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   Ensures complete compliance across:
   1920px, 1440px, 1366px, 1280px, 1200px, 1024px, 768px, 480px, 390px, 375px
   ========================================================================== */

/* 1024px and below (Tablets & Smaller Desktops) */
@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

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

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

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

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

/* 768px and below (Tablets & Phablets) */
@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  section {
    padding: 3.5rem 0;
  }

  .top-bar {
    display: none; /* Hide top bar on mobile to prioritize main CTA and prevent clutter */
  }

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

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

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

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

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

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

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

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

  .mobile-call-bar {
    display: block;
  }

  body {
    padding-bottom: 60px; /* Offset for fixed mobile call bar */
  }

  .back-to-top {
    bottom: 5.5rem;
    right: 1rem;
  }

  .phone-quick-btn {
    display: none; /* In header, replaced by mobile CTA & drawer */
  }
}

/* 480px, 390px, 375px and below (Small Smartphones) */
@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .final-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .final-cta-buttons .btn {
    width: 100%;
  }

  .hero-badge-grid {
    grid-template-columns: 1fr;
  }

  .quote-form-card {
    padding: 1.5rem 1.15rem;
  }

  .brand-title {
    font-size: 0.95rem;
  }

  .brand-subtitle {
    font-size: 0.65rem;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
  }
}
