/* ============================================================
   Taylor's Earth Works - Contractor Website Stylesheet
   Modern, rugged, mobile-first, zero-dependency CSS
   ============================================================ */

:root {
  --primary: #f2d82b;        /* Equipment Yellow from Logo */
  --primary-hover: #dfc418;  /* Deep Gold / Amber hover */
  --primary-dark: #bfa408;   /* Darker Gold Accent */
  --primary-text: #191817;   /* High-contrast dark text on yellow */
  --secondary: #242321;      /* Charcoal from Logo center box */
  --dark: #191817;           /* Deep Matte Black / Charcoal */
  --dark-surface: #272624;   /* Logo card inner slate/charcoal */
  --dark-elevated: #3a3937;  /* Logo card border/raised tone */
  --steel: #6e6d6b;          /* Diamond plate steel gray */
  --steel-light: #9c9b98;    /* Diamond plate highlight */
  --light: #f8fafc;          /* Off-white */
  --light-gray: #f4f5f7;
  --border-color: #e5e7eb;
  --border-dark: #3a3937;
  --text-main: #1f1e1d;
  --text-muted: #595856;
  --text-light: #a3a29f;
  --text-white: #ffffff;
  --success: #10b981;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.15), 0 8px 10px -6px rgba(0,0,0,0.1);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.6;
}

body {
  padding-bottom: 70px; /* Space for mobile bottom sticky CTA on phones */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ============================================================
   TOP EMERGENCY / CONTACT BAR
   ============================================================ */
.top-bar {
  background-color: var(--dark);
  color: var(--text-light);
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

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

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

.top-bar a:hover {
  color: var(--primary);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--primary);
  padding: 0.85rem 0;
  box-shadow: var(--shadow-md);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-white);
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.95;
}

.logo span {
  color: var(--primary);
  margin-left: 0.35rem;
}

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

.nav-links a {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--dark);
  border-bottom: 2px solid var(--primary);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-menu a {
  color: #f1f5f9;
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
}

.mobile-menu .btn {
  margin-top: 1rem;
  width: 100%;
  text-align: center;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
  .nav-cta {
    display: flex;
  }
  .mobile-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-text);
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(242, 216, 43, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(242, 216, 43, 0.45);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

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

.btn-phone {
  background-color: #10b981;
  color: #ffffff;
}

.btn-phone:hover {
  background-color: #059669;
  transform: translateY(-2px);
}

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

/* ============================================================
   PROMINENT SCRIPTURE & FAITH BANNER
   ============================================================ */
.faith-banner {
  background: linear-gradient(90deg, #191817, #272624, #191817);
  border-bottom: 2px solid var(--primary);
  color: #f1f5f9;
  padding: 0.75rem 0;
  text-align: center;
  font-size: 0.95rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.faith-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.faith-cross {
  color: var(--primary);
  font-size: 1.25rem;
  line-height: 1;
}

.faith-text {
  letter-spacing: 0.02em;
}

.faith-text strong {
  color: var(--primary);
  font-weight: 800;
}

.faith-text em {
  color: #e2e8f0;
  font-style: italic;
}

.faith-separator {
  color: var(--primary);
  margin: 0 0.65rem;
  font-weight: 900;
  opacity: 0.8;
}

@media (max-width: 700px) {
  .faith-banner {
    font-size: 0.82rem;
    padding: 0.65rem 0.5rem;
  }
}

.hero-faith-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: rgba(242, 216, 43, 0.15);
  border: 1.5px solid var(--primary);
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.hero-faith-pill strong {
  color: var(--primary);
}

.hero-faith-pill .cross-icon {
  color: var(--primary);
  font-size: 1.15rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.94)),
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="%231e293b" width="100" height="100"/><path d="M0 0l50 50L0 100V0zm100 0L50 50l50 50V0z" fill="%23172033" opacity="0.4"/></svg>');
  background-size: cover;
  background-position: center;
  color: var(--text-white);
  padding: 4.5rem 0 5rem 0;
  border-bottom: 4px solid var(--primary);
}

.hero-content {
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(242, 216, 43, 0.15);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-title span {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 2.25rem;
  max-width: 680px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(242, 216, 43, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-feature-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: #e2e8f0;
}

/* ============================================================
   TRUST BANNER / FLEET HIGHLIGHT
   ============================================================ */
.fleet-strip {
  background-color: #0b1120;
  color: #e2e8f0;
  padding: 1.5rem 0;
  border-bottom: 1px solid #1e293b;
}

.fleet-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 1.5rem;
}

.fleet-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.fleet-icon {
  font-size: 1.5rem;
  background-color: #1e293b;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #334155;
  color: var(--primary);
}

.fleet-label {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

.fleet-sub {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ============================================================
   SECTION STYLING
   ============================================================ */
.section {
  padding: 5rem 0;
}

.section-dark {
  background-color: var(--dark);
  color: var(--text-white);
}

.section-light {
  background-color: var(--light-gray);
}

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

.section-tag {
  color: var(--primary-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.section-dark .section-tag {
  color: var(--primary);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.section-dark .section-title {
  color: #ffffff;
}

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

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

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.service-icon-box {
  width: 58px;
  height: 58px;
  background-color: var(--dark-surface);
  color: var(--primary);
  border: 1.5px solid rgba(242, 216, 43, 0.4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

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

.service-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: var(--secondary);
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-bullets {
  list-style: none;
  margin-bottom: 1.75rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

.service-bullets li {
  font-size: 0.875rem;
  color: #475569;
  padding: 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-bullets li svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

.service-cta {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
}

.service-cta:hover {
  gap: 0.6rem;
}

/* ============================================================
   BEFORE & AFTER PHOTO SHOWCASE & SLIDER
   ============================================================ */
.before-after-wrapper {
  background-color: #1e293b;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid #334155;
  margin-bottom: 3rem;
}

.ba-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  user-select: none;
  background-color: #0b1120;
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.ba-before .ba-image {
  max-width: none;
  height: 100%;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: var(--primary);
  z-index: 10;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.ba-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background-color: var(--primary);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  font-weight: 900;
  font-size: 1.2rem;
}

.ba-badge {
  position: absolute;
  bottom: 15px;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.ba-badge-before {
  left: 15px;
  background-color: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 3;
}

.ba-badge-after {
  right: 15px;
  background-color: var(--primary);
  color: #0f172a;
  z-index: 1;
}

.ba-caption {
  text-align: center;
  margin-top: 1.5rem;
  color: #cbd5e1;
  font-size: 1rem;
}

/* Gallery Grid for More Before/Afters */
.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.project-card {
  background-color: #0f172a;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #334155;
  transition: transform 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.project-card-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 180px;
  position: relative;
}

.project-card-split img, .project-card-split .mock-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card-body {
  padding: 1.25rem;
}

.project-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.project-card-sub {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Fallback Mock Photo Box for when real images aren't uploaded yet */
.mock-photo {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #1e293b;
  color: #94a3b8;
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
  border: 1px dashed #475569;
}

.mock-photo.after-bg {
  background: linear-gradient(135deg, #1e3a2f, #0f241d);
  color: #6ee7b7;
  border: 1px dashed #10b981;
}

.mock-photo.before-bg {
  background: linear-gradient(135deg, #37281f, #221711);
  color: #fdba74;
  border: 1px dashed #f97316;
}

/* ============================================================
   WHY CHOOSE US / ABOUT TAYLOR
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-feature-box {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.about-feature-box h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: var(--secondary);
}

.about-feature-box p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.equipment-badge-card {
  background: linear-gradient(145deg, #1e293b, #0f172a);
  color: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-xl);
}

.equipment-badge-card h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.equipment-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.equipment-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.equipment-list li svg {
  color: var(--primary);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   SERVICE AREA SECTION (LOCAL SEO BOOST)
   ============================================================ */
.service-area-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  text-align: center;
}

.town-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.town-tag {
  background-color: #f1f5f9;
  color: #334155;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid #cbd5e1;
}

.town-tag.primary-tag {
  background-color: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
  font-weight: 700;
}

/* ============================================================
   CONTACT / ESTIMATE FORM
   ============================================================ */
.estimate-section {
  background: linear-gradient(rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.97)),
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path d="M0 0h60v60H0z" fill="%231e293b" opacity="0.2"/></svg>');
  color: #ffffff;
  padding: 5rem 0;
}

.estimate-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .estimate-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.estimate-info h2 {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.estimate-info h2 span {
  color: var(--primary);
}

.estimate-info p {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.estimate-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.estimate-perks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: #f1f5f9;
}

.estimate-perks li svg {
  color: var(--primary);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Direct Contact Block */
.direct-contact-card {
  background-color: #1e293b;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
}

.direct-contact-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.direct-phone-link {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}

.direct-phone-link:hover {
  color: var(--primary-hover);
}

/* FORM BOX */
.form-box {
  background-color: #ffffff;
  color: var(--text-main);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.form-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: var(--secondary);
}

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

.form-group {
  margin-bottom: 1.25rem;
}

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

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.35rem;
}

.form-label span {
  color: #ef4444;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #f8fafc;
  color: #1e293b;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(242, 216, 43, 0.2);
}

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

.form-notice {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
}

/* ============================================================
   FACEBOOK & SOCIAL SECTION
   ============================================================ */
.social-strip {
  background-color: #1877f2;
  color: #ffffff;
  padding: 2.5rem 0;
}

.social-strip-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .social-strip-content {
    flex-direction: row;
    text-align: left;
  }
}

.social-strip h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.social-strip p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.btn-facebook {
  background-color: #ffffff;
  color: #1877f2;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn-facebook:hover {
  background-color: #f0f2f5;
  transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: #0b1120;
  color: #94a3b8;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid #1e293b;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

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

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

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

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

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  align-items: flex-start;
}

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

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.825rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* ============================================================
   STICKY MOBILE CALL BAR (CRITICAL CONTRACTOR CONVERSION)
   ============================================================ */
.mobile-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: #0f172a;
  border-top: 2px solid var(--primary);
  padding: 0.65rem 1rem;
  display: flex;
  gap: 0.75rem;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.25);
}

@media (min-width: 768px) {
  .mobile-call-bar {
    display: none;
  }
}

.mobile-call-bar .btn {
  flex: 1;
  font-size: 0.85rem;
  padding: 0.65rem 0.5rem;
  letter-spacing: 0;
}

/* Alert Notification Banner */
.alert-banner {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  display: none;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ============================================================
   Extracted from former inline styles
   ============================================================ */
.hp-field { display: none; }

.owner-card { margin-bottom: 1.5rem; }
.owner-card-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--primary);
}

.facebook-feed-wrapper { margin-top: 4rem; text-align: center; }
.feed-title { color: #f1f5f9; margin-bottom: 1.5rem; font-size: 1.75rem; }
.feed-intro { color: #cbd5e1; margin-bottom: 2rem; }
.feed-cta { margin-top: 2rem; }

.service-area-heading { font-size: 1.25rem; font-weight: 800; color: #1e293b; margin-bottom: 0.5rem; }
.service-area-note { color: #64748b; font-size: 0.95rem; }
.service-area-cta { margin-top: 1.5rem; }
.inline-phone { color: var(--primary-dark); font-weight: 700; }

.section-tag-accent { color: var(--primary); }
.direct-contact-note { font-size: 0.9rem; color: #cbd5e1; }

.footer-logo { margin-bottom: 1rem; font-size: 1.2rem; }
.footer-blurb { font-size: 0.88rem; line-height: 1.6; margin-bottom: 1rem; }
.footer-insurance { font-size: 0.85rem; color: #f59e0b; font-weight: 700; }
.footer-phone { color: #ffffff; font-weight: 700; }
.footer-subtext { font-size: 0.8rem; }
.footer-social { margin-top: 1.25rem; }
.footer-fb-link { display: inline-flex; align-items: center; gap: 0.5rem; color: #38bdf8; font-weight: 700; }
.footer-scripture { margin-top: 0.75rem; font-size: 0.8rem; color: #94a3b8; font-style: italic; }

/* Keyboard focus for the before/after slider */
.ba-handle:focus-visible { outline: none; }
.ba-handle:focus-visible .ba-handle-button { outline: 3px solid #ffffff; outline-offset: 3px; }

/* Header badge logo */
.logo-img {
  height: 64px;
  width: auto;
  margin-right: 0.65rem;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .navbar .logo { font-size: 1.1rem; line-height: 1.15; }
}

@media (min-width: 900px) {
  .logo-img { height: 84px; margin-right: 0.85rem; }
}
