/**
 * Spinetail Tara Roofing Services - Production Stylesheet
 * Vanilla CSS3 - Optimized for Fast Loading & Mobile-First Responsiveness
 * Color Palette: #7f5539, #9c6644, #b08968, #ddb892, #e6ccb2
 */

:root {
  /* Brand Color Palette */
  --c-primary-dark: #7f5539;
  --c-primary-accent: #9c6644;
  --c-secondary-accent: #b08968;
  --c-soft-accent: #ddb892;
  --c-cream: #e6ccb2;

  /* Refined Neutrals & Surfaces */
  --c-bg-page: #fbf9f6;
  --c-bg-surface: #ffffff;
  --c-bg-warm: #f6efe8;
  --c-bg-dark: #231913;
  --c-bg-dark-surface: #2d211a;
  
  --c-text-main: #231913;
  --c-text-muted: #5e4a3d;
  --c-text-light: #8a7364;
  --c-text-inverse: #ffffff;
  --c-text-inverse-muted: #e6ccb2;

  --c-border: #e8ded4;
  --c-border-hover: #b08968;
  --c-border-subtle: #f0e7dd;

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(127, 85, 57, 0.06);
  --shadow-md: 0 8px 24px rgba(127, 85, 57, 0.08);
  --shadow-lg: 0 16px 36px rgba(127, 85, 57, 0.12);

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Layout */
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --header-height: 80px;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--c-bg-page);
  color: var(--c-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  text-rendering: optimizeLegibility;
}

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: inherit;
}

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

/* Safe Central Container */
.container {
  width: min(var(--container-max), calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Typography & Shared Components
   ========================================================================== */
h1, h2, h3, h4 {
  color: var(--c-text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
}

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

.section-header p {
  margin-top: 0.85rem;
  color: var(--c-text-muted);
  font-size: 1.125rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background-color: var(--c-bg-warm);
  border: 1px solid var(--c-border);
  color: var(--c-primary-dark);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: #2e7d32;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

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

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--c-primary-dark);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(127, 85, 57, 0.25);
}

.btn-primary:hover {
  background-color: var(--c-primary-accent);
  box-shadow: 0 6px 16px rgba(156, 102, 68, 0.3);
}

.btn-secondary {
  background-color: var(--c-bg-surface);
  color: var(--c-primary-dark);
  border-color: var(--c-border);
}

.btn-secondary:hover {
  background-color: var(--c-bg-warm);
  border-color: var(--c-secondary-accent);
}

.btn-inverse {
  background-color: #ffffff;
  color: var(--c-primary-dark);
}

.btn-inverse:hover {
  background-color: var(--c-cream);
  color: var(--c-bg-dark);
}

.btn-outline-inverse {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-inverse:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  min-height: 40px;
}

/* ==========================================================================
   1. Top Information Bar
   ========================================================================== */
.top-bar {
  background-color: var(--c-bg-dark);
  color: var(--c-cream);
  font-size: 0.875rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(221, 184, 146, 0.15);
}

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

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

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

.top-bar-item svg {
  color: var(--c-soft-accent);
  flex-shrink: 0;
}

.top-bar-phone {
  font-weight: 700;
  color: #ffffff;
}

.top-bar-phone:hover {
  color: var(--c-soft-accent);
  text-decoration: underline;
}

.zip-download-badge {
  background: rgba(221, 184, 146, 0.2);
  color: #ffffff;
  border: 1px solid rgba(221, 184, 146, 0.4);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.zip-download-badge:hover {
  background: var(--c-soft-accent);
  color: var(--c-bg-dark);
}

/* ==========================================================================
   2. Main Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: box-shadow 0.2s ease;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--c-primary-dark);
  flex-shrink: 0;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background-color: var(--c-primary-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-soft-accent);
  flex-shrink: 0;
}

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

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

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--c-text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--c-text-main);
  padding: 0.5rem 0.25rem;
  position: relative;
}

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

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

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

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

.header-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--c-primary-dark);
  font-size: 0.9375rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  background-color: var(--c-bg-warm);
}

.header-phone-link:hover {
  background-color: var(--c-cream);
}

/* Mobile Menu Toggle Button */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--c-primary-dark);
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.mobile-toggle:hover {
  background-color: var(--c-bg-warm);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(340px, 85vw);
  height: 100vh;
  background-color: var(--c-bg-surface);
  z-index: 2000;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  padding: 1.5rem;
}

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

.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35, 25, 19, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

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

.mobile-close-btn {
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--c-text-main);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-close-btn:hover {
  background-color: var(--c-bg-warm);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--c-text-main);
}

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

.mobile-drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
}

/* ==========================================================================
   3. Hero Section
   ========================================================================== */
.hero-section {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  background: linear-gradient(180deg, #fdfbf7 0%, var(--c-bg-warm) 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--c-border);
}

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

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

.hero-lead {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  color: var(--c-text-muted);
  margin-top: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  width: 100%;
}

.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  width: 100%;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(176, 137, 104, 0.3);
}

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

.trust-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background-color: var(--c-cream);
  color: var(--c-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-text-main);
  line-height: 1.25;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-border);
  background-color: #ffffff;
  width: 100%;
  object-fit: cover;
}

/* ==========================================================================
   4. Services Section
   ========================================================================== */
.services-section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  background-color: var(--c-bg-page);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

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

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-secondary-accent);
}

.service-card.is-featured {
  border-color: var(--c-primary-accent);
  background: linear-gradient(180deg, #ffffff 0%, #faf6f1 100%);
}

.service-card.is-featured::before {
  content: 'Most Requested';
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--c-primary-dark);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background-color: var(--c-bg-warm);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding: 8px;
}

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

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

.service-audience {
  background-color: var(--c-bg-warm);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--c-primary-dark);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

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

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

.service-features svg {
  color: var(--c-primary-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-cta-link {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--c-primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-cta-link:hover {
  color: var(--c-primary-accent);
  transform: translateX(3px);
}

/* ==========================================================================
   5. Why Choose Us Section
   ========================================================================== */
.why-us-section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  background-color: var(--c-bg-warm);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background-color: var(--c-bg-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--c-primary-dark);
  color: var(--c-soft-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-card h3 {
  font-size: 1.2rem;
}

.why-card p {
  font-size: 0.9375rem;
  color: var(--c-text-muted);
}

/* ==========================================================================
   6. Service Areas Section
   ========================================================================== */
.areas-section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  background-color: var(--c-bg-page);
}

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

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

.areas-info p {
  color: var(--c-text-muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.areas-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.area-pill-card {
  background-color: var(--c-bg-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.area-pill-card:hover {
  border-color: var(--c-secondary-accent);
  box-shadow: var(--shadow-sm);
}

.area-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-primary-dark);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.area-details {
  font-size: 0.8125rem;
  color: var(--c-text-muted);
}

.areas-map-card {
  background-color: var(--c-bg-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.map-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--c-border);
}

.map-card-header h4 {
  font-size: 1.15rem;
  color: var(--c-text-main);
}

.dispatch-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.dispatch-stat-box {
  background-color: var(--c-bg-warm);
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.dispatch-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-primary-dark);
}

.dispatch-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-text-muted);
}

/* ==========================================================================
   7. Our Process Section
   ========================================================================== */
.process-section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  background-color: var(--c-bg-warm);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  position: relative;
}

.process-card {
  background-color: var(--c-bg-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.process-step-num {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--c-cream);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.process-card p {
  font-size: 0.9375rem;
  color: var(--c-text-muted);
}

/* ==========================================================================
   8. FAQ Section
   ========================================================================== */
.faq-section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  background-color: var(--c-bg-page);
}

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

.faq-item {
  background-color: var(--c-bg-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

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

.faq-summary {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--c-text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  user-select: none;
}

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

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--c-primary-dark);
  transition: transform 0.2s ease;
}

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

.faq-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--c-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid var(--c-border-subtle);
  padding-top: 1rem;
}

/* ==========================================================================
   9. Contact / Quote Section
   ========================================================================== */
.contact-section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  background-color: var(--c-bg-warm);
  border-top: 1px solid var(--c-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-info-card {
  background-color: var(--c-bg-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

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

.contact-info-card p {
  color: var(--c-text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

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

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background-color: var(--c-bg-warm);
  border: 1px solid var(--c-border);
  color: var(--c-primary-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-text-muted);
  margin-bottom: 0.25rem;
}

.contact-detail-text p, .contact-detail-text a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text-main);
}

.contact-detail-text a:hover {
  color: var(--c-primary-accent);
  text-decoration: underline;
}

/* Quote Form Container */
.quote-form-card {
  background-color: var(--c-bg-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.quote-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.quote-form-card .form-subtitle {
  color: var(--c-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.75rem;
}

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

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

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

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

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

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--c-primary-dark);
  box-shadow: 0 0 0 3px rgba(127, 85, 57, 0.15);
}

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

.form-backend-note {
  margin-top: 1rem;
  padding: 0.75rem;
  background-color: var(--c-bg-warm);
  border: 1px dashed var(--c-secondary-accent);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--c-text-muted);
}

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

.form-status.success {
  display: block;
  background-color: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #c8e6c9;
}

.form-status.error {
  display: block;
  background-color: #ffebee;
  color: #b71c1c;
  border: 1px solid #ffcdd2;
}

/* ==========================================================================
   10. Final CTA Banner
   ========================================================================== */
.final-cta-section {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-bg-dark) 100%);
  color: #ffffff;
  text-align: center;
}

.final-cta-inner {
  max-width: 800px;
  margin: 0 auto;
}

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

.final-cta-section p {
  color: var(--c-cream);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

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

/* ==========================================================================
   11. Social Media Links Section
   ========================================================================== */
.social-links-section {
  padding: 2.5rem 0;
  background-color: var(--c-bg-dark-surface);
  border-top: 1px solid rgba(221, 184, 146, 0.15);
}

.social-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.social-header h3 {
  color: var(--c-cream);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.social-icons-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.social-link-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(221, 184, 146, 0.2);
  color: var(--c-cream);
  transition: all 0.2s ease;
}

.social-link-item:hover {
  background-color: var(--c-primary-dark);
  color: #ffffff;
  border-color: var(--c-soft-accent);
  transform: translateY(-2px);
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.site-footer {
  background-color: var(--c-bg-dark);
  color: var(--c-text-inverse-muted);
  padding: 4rem 0 2rem 0;
  font-size: 0.9375rem;
}

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

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

.footer-col p {
  color: var(--c-cream);
  line-height: 1.6;
  margin-top: 0.75rem;
}

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

.footer-links-list a {
  color: var(--c-cream);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(221, 184, 146, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(230, 204, 178, 0.7);
}

.footer-download-zip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background-color: rgba(221, 184, 146, 0.15);
  border: 1px solid rgba(221, 184, 146, 0.3);
  color: var(--c-cream);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
}

.footer-download-zip:hover {
  background-color: var(--c-soft-accent);
  color: var(--c-bg-dark);
}

/* ==========================================================================
   404 Page Specific Styles
   ========================================================================== */
.page-404-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: var(--c-bg-warm);
}

.not-found-wrapper {
  width: 100%;
  max-width: 580px;
}

.not-found-card {
  background-color: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.not-found-card .logo-mark {
  display: inline-flex;
  margin-bottom: 1.5rem;
}

.not-found-card .badge-tag {
  display: inline-block;
  background-color: var(--c-bg-warm);
  color: var(--c-primary-dark);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.not-found-card h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.not-found-card p {
  color: var(--c-text-muted);
  margin-bottom: 2rem;
}

.not-found-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Responsive Breakpoints
   Targets: 1920, 1440, 1366, 1280, 1200, 1024, 768, 480, 390, 375px
   ========================================================================== */

/* Tablet & Smaller Laptops (<= 1024px) */
@media screen and (max-width: 1024px) {
  .desktop-nav, .header-phone-link {
    display: none;
  }

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

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

  .hero-visual {
    order: -1;
    max-width: 540px;
    margin: 0 auto;
  }

  .areas-layout {
    grid-template-columns: 1fr;
  }

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

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

/* Tablets (<= 768px) */
@media screen and (max-width: 768px) {
  .top-bar-right {
    display: none;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }

  .top-bar-left {
    justify-content: center;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

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

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

  .quote-form-card {
    padding: 1.75rem 1.25rem;
  }

  .contact-info-card {
    padding: 1.75rem 1.25rem;
  }

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

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

/* Small Phones (<= 480px & down to 375px) */
@media screen and (max-width: 480px) {
  .container {
    width: calc(100% - 24px);
  }

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

  .brand-subtitle {
    display: none;
  }

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

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

  .service-card {
    padding: 1.5rem 1.25rem;
  }

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

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

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

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