/* ============================================
   SUNBELT PLUMBING — Stylesheet
   Built by RDahunan IT Services
   ============================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Brand palette — blue primary, yellow secondary (matches Sunbelt brand) */
  --color-blue-900: #0a2540;
  --color-blue-700: #0f4c81;
  --color-blue-600: #1565c0;
  --color-blue-500: #2196f3;
  --color-blue-100: #e3f2fd;
  --color-blue-50:  #f5fafd;

  /* Yellow/Gold — Sunbelt secondary brand color */
  --color-yellow-600: #e8a317;  /* Deep gold for text on white */
  --color-yellow-500: #f5b720;  /* Primary brand yellow */
  --color-yellow-400: #ffc845;  /* Bright accent / hover */
  --color-yellow-100: #fff4d4;  /* Soft background */

  --color-grey-900: #1a1f2e;
  --color-grey-700: #4a5568;
  --color-grey-500: #718096;
  --color-grey-300: #cbd5e0;
  --color-grey-200: #e2e8f0;
  --color-grey-100: #f1f5f9;
  --color-grey-50:  #f8fafc;

  --color-white: #ffffff;
  --color-accent-orange: #ff6b35; /* For urgent CTAs only */

  /* Typography */
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 4px 16px rgba(10, 37, 64, 0.10);
  --shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.15);
  --shadow-blue: 0 8px 24px rgba(21, 101, 192, 0.25);

  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-grey-900);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-blue-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-blue-700); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-blue-900);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 700; }
p { margin-bottom: var(--space-sm); color: var(--color-grey-700); }
.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-blue-600);
  margin-bottom: var(--space-sm);
}

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
section { padding: var(--space-3xl) 0; }
@media (max-width: 768px) {
  section { padding: var(--space-2xl) 0; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-blue-600);
  color: var(--color-white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--color-blue-700);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(21, 101, 192, 0.35);
}
/* Ensure nav CTA text is always crisp against any backdrop */
.nav-links .btn-primary {
  background: var(--color-blue-700);
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.nav-links .btn-primary:hover {
  background: var(--color-blue-800, #0d47a1);
  color: #ffffff !important;
}
.btn-secondary {
  background: var(--color-white);
  color: var(--color-blue-700);
  border: 2px solid var(--color-blue-600);
}
.btn-secondary:hover {
  background: var(--color-blue-50);
  color: var(--color-blue-700);
}
.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn-large { padding: 1.15rem 2.25rem; font-size: 1.0625rem; }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-grey-200);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-blue-900);
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--color-blue-900); }
.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--color-blue-600);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0;
}
.nav-links {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}
.nav-links a {
  color: var(--color-grey-700);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--color-blue-700);
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--color-blue-900) !important;
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-blue-900);
  transition: all var(--transition);
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-grey-200);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 0.85rem var(--space-md); width: 100%; }
  .nav-links .btn { margin: var(--space-sm) var(--space-md); }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-blue-900) 0%, var(--color-blue-700) 100%);
  color: var(--color-white);
  padding: var(--space-xl) 0 var(--space-2xl);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(33, 150, 243, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(33, 150, 243, 0.15) 0%, transparent 50%);
  pointer-events: none;
}
/* Subtle blueprint grid texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.5;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
}
.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  max-width: 560px;
  word-break: normal;
  overflow-wrap: break-word;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--color-blue-500), #64b5f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede {
  font-size: 1.1875rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}
.hero-trust {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.15);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.trust-item svg { width: 18px; height: 18px; color: var(--color-blue-500); }

.hero-card {
  background: rgba(13, 71, 161, 0.55);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.hero-card-eyebrow {
  display: inline-block;
  background: var(--color-accent-orange);
  color: white;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.hero-card h3 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}
.hero-card p {
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-md);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
  max-width: 720px;
  margin: 0 auto var(--space-2xl);
  text-align: center;
}
.section-header.left { text-align: left; margin-left: 0; }
.section-header h2 { margin-bottom: var(--space-sm); }
.section-header p { font-size: 1.125rem; color: var(--color-grey-700); }

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}
.service-card {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-grey-200);
  transition: all var(--transition);
  position: relative;
}
.service-card:hover {
  border-color: var(--color-blue-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--color-blue-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue-700);
  margin-bottom: var(--space-md);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: var(--space-xs); font-size: 1.25rem; }
.service-card p { font-size: 0.9375rem; color: var(--color-grey-700); margin-bottom: 0; }

/* ---------- WHY CHOOSE US ---------- */
.why-section { background: var(--color-grey-50); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
}
.why-card {
  text-align: center;
  padding: var(--space-md);
}
.why-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-md);
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue-600);
  box-shadow: var(--shadow-md);
}
.why-icon svg { width: 32px; height: 32px; }
.why-card h3 { font-size: 1.125rem; margin-bottom: var(--space-xs); }
.why-card p { font-size: 0.9375rem; }

/* ---------- TESTIMONIALS ---------- */
.testimonials-section { background: var(--color-blue-50); position: relative; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}
.testimonial {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-blue-600);
  position: relative;
}
.testimonial-stars {
  color: #ffa726;
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  letter-spacing: 2px;
}
.testimonial-quote {
  font-size: 1rem;
  color: var(--color-grey-900);
  line-height: 1.65;
  margin-bottom: var(--space-md);
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-blue-600);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
}
.testimonial-name {
  font-weight: 700;
  color: var(--color-blue-900);
  font-size: 0.9375rem;
}
.testimonial-meta {
  font-size: 0.8125rem;
  color: var(--color-grey-500);
}

/* ---------- CTA BAND ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--color-blue-700) 0%, var(--color-blue-900) 100%);
  color: var(--color-white);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.cta-band-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
}
@media (max-width: 768px) {
  .cta-band-grid { grid-template-columns: 1fr; text-align: center; }
}
.cta-band h2 { color: var(--color-white); margin-bottom: var(--space-xs); }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 0; font-size: 1.0625rem; }
.cta-band-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: flex-end;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .cta-band-actions { justify-content: center; }
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--color-grey-900);
  color: rgba(255,255,255,0.8);
  padding: var(--space-2xl) 0 var(--space-md);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .logo { color: var(--color-white); margin-bottom: var(--space-sm); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9375rem; }
.footer-col h4 {
  color: var(--color-white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--color-blue-500); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
}
.footer-contact-item svg {
  width: 18px; height: 18px;
  color: var(--color-blue-500);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--color-blue-600);
  color: white;
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; }

/* ---------- PAGE HEADER (sub-pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--color-blue-900) 0%, var(--color-blue-700) 100%);
  color: var(--color-white);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.5;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: var(--color-white); margin-bottom: var(--space-xs); }
.page-header p { color: rgba(255,255,255,0.85); font-size: 1.125rem; max-width: 640px; margin-bottom: 0; }
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-md);
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--color-white); }

/* ---------- SERVICE LIST (services page) ---------- */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}
.service-detail {
  background: var(--color-white);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  gap: var(--space-md);
  transition: all var(--transition);
}
.service-detail:hover {
  border-color: var(--color-blue-500);
  box-shadow: var(--shadow-md);
}
.service-detail .service-icon { flex-shrink: 0; }
.service-detail-body h3 { margin-bottom: var(--space-xs); font-size: 1.1875rem; }
.service-detail-body p { font-size: 0.9375rem; margin-bottom: var(--space-sm); }
.service-detail-body a {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- FORM (quote + contact) ---------- */
.form-section { padding-top: var(--space-2xl); }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
}
.form-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}
.form-group {
  margin-bottom: var(--space-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-blue-900);
  margin-bottom: 0.5rem;
}
.form-label .req { color: var(--color-accent-orange); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-grey-900);
  background: var(--color-grey-50);
  border: 1.5px solid var(--color-grey-200);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-blue-500);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.12);
}
.form-textarea { resize: vertical; min-height: 130px; font-family: inherit; }
.form-submit { width: 100%; justify-content: center; }

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.contact-info-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  padding: var(--space-md);
  background: var(--color-blue-50);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-blue-600);
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--color-white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue-700);
  flex-shrink: 0;
}
.contact-info-icon svg { width: 22px; height: 22px; }
.contact-info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-grey-500);
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.contact-info-value {
  font-weight: 700;
  color: var(--color-blue-900);
  font-size: 1.0625rem;
}
.contact-info-value a { color: var(--color-blue-900); }
.contact-info-value a:hover { color: var(--color-blue-600); }

.map-embed {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-grey-200);
  margin-top: var(--space-lg);
}

/* ---------- GALLERY ---------- */
.gallery-filters {
  display: flex;
  gap: var(--space-xs);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}
.filter-btn {
  padding: 0.6rem 1.25rem;
  border: 1.5px solid var(--color-grey-300);
  background: var(--color-white);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-grey-700);
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--color-blue-500); color: var(--color-blue-700); }
.filter-btn.active {
  background: var(--color-blue-600);
  border-color: var(--color-blue-600);
  color: var(--color-white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--color-grey-100);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(10,37,64,0.92), transparent);
  padding: var(--space-md);
  color: white;
  transform: translateY(100%);
  transition: transform var(--transition);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }
.gallery-caption h4 { color: white; font-size: 1rem; margin-bottom: 0.25rem; }
.gallery-caption p { color: rgba(255,255,255,0.85); font-size: 0.875rem; margin: 0; }

/* ---------- FAQ / TRUST BAR ---------- */
.trust-bar {
  background: var(--color-blue-900);
  padding: var(--space-md) 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.9375rem;
}
.trust-bar-grid {
  display: flex;
  gap: var(--space-xl);
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.trust-bar-item svg { width: 18px; height: 18px; color: var(--color-blue-500); }

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 600ms cubic-bezier(0.4, 0, 0.2, 1) backwards; }
.delay-1 { animation-delay: 100ms; }
.delay-2 { animation-delay: 200ms; }
.delay-3 { animation-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- UTILITIES ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.success-message {
  display: none;
  padding: var(--space-md);
  background: #d4edda;
  color: #155724;
  border-radius: var(--radius-sm);
  border-left: 4px solid #28a745;
  margin-bottom: var(--space-md);
}
.success-message.show { display: block; }

/* ========================================
   YELLOW ACCENT INTEGRATION (Sunbelt brand)
   ======================================== */

/* Use yellow for the eyebrow tag above hero headline */
.hero-eyebrow {
  color: var(--color-yellow-400);
}

/* Yellow accent for the headline word emphasis */
.hero h1 .accent {
  color: var(--color-yellow-400);
}

/* ROC License badge — sits in nav and footer */
.license-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-yellow-500);
  color: var(--color-blue-900);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.license-badge svg {
  width: 14px;
  height: 14px;
}

/* Trust line under hero */
.hero-trust-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: var(--space-md);
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 500;
}
.hero-trust-line .divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.3);
}

/* Promote the request quote button with yellow */
.btn-quote {
  background: var(--color-yellow-500);
  color: var(--color-blue-900);
  font-weight: 700;
}
.btn-quote:hover {
  background: var(--color-yellow-400);
  color: var(--color-blue-900);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 183, 32, 0.45);
}

/* Section eyebrows in yellow on dark backgrounds */
.section-eyebrow.on-dark {
  color: var(--color-yellow-400);
}

/* ========================================
   FACEBOOK MESSENGER FLOATING BUTTON
   ======================================== */
.fb-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.fb-chat-bubble {
  background: white;
  color: var(--color-grey-900);
  padding: 14px 18px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  font-size: 0.9rem;
  font-weight: 500;
  max-width: 220px;
  position: relative;
  animation: fb-bubble-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 2s both;
  cursor: pointer;
  line-height: 1.4;
}
.fb-chat-bubble strong { color: var(--color-blue-700); display: block; margin-bottom: 2px; }
.fb-chat-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 24px;
  width: 14px;
  height: 14px;
  background: white;
  transform: rotate(45deg);
}
.fb-chat-bubble-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  background: var(--color-grey-700);
  color: white;
  border: 2px solid white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}
.fb-chat-bubble.hidden { display: none; }

.fb-chat-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00B2FF 0%, #006AFF 100%);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 106, 255, 0.4);
  transition: all 0.2s ease;
  text-decoration: none;
  position: relative;
}
.fb-chat-button:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(0, 106, 255, 0.55);
}
.fb-chat-button svg {
  width: 32px;
  height: 32px;
  fill: white;
}
.fb-chat-button::after {
  content: '';
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  background: #4caf50;
  border: 2px solid white;
  border-radius: 50%;
  animation: fb-pulse 2s infinite;
}

@keyframes fb-bubble-in {
  from { opacity: 0; transform: translateY(10px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fb-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
  50% { box-shadow: 0 0 0 8px rgba(76, 175, 80, 0); }
}

@media (max-width: 640px) {
  .fb-chat-widget { bottom: 16px; right: 16px; }
  .fb-chat-bubble { max-width: 180px; font-size: 0.85rem; }
  .fb-chat-button { width: 54px; height: 54px; }
  .fb-chat-button svg { width: 28px; height: 28px; }
}

/* ========================================
   REAL LOGO STYLES (drop + waves + text)
   ======================================== */

/* Nav: horizontal logo (icon + SUNBELT PLUMBING text together) */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo-nav {
  width: auto !important;
  max-width: none !important;
  height: 38px !important;
  display: block;
  flex-shrink: 0;
}

/* Footer: full stacked logo (drop + waves + text) */
.site-footer .logo-footer,
.logo-footer {
  width: 110px !important;
  max-width: 110px !important;
  height: auto !important;
  display: block;
  margin-bottom: 1rem;
}

/* Mobile: scale down */
@media (max-width: 640px) {
  .logo-nav { height: 32px !important; }
  .logo-footer { width: 90px !important; max-width: 90px !important; }
}

/* ========================================
   SERVICE AREAS SECTION
   ======================================== */
.service-areas {
  padding: var(--space-2xl) 0;
  background: var(--color-grey-50);
  border-top: 1px solid var(--color-grey-200);
  border-bottom: 1px solid var(--color-grey-200);
}
.service-areas .section-header h2 em {
  color: var(--color-yellow-600);
  font-style: normal;
  font-weight: 800;
}
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  max-width: 960px;
  margin: 0 auto;
}
.area-chip {
  background: var(--color-white);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-blue-900);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.2s;
}
.area-chip:hover {
  border-color: var(--color-blue-600);
  box-shadow: 0 4px 12px rgba(15, 76, 129, 0.08);
  transform: translateY(-1px);
}
.area-dot {
  width: 8px;
  height: 8px;
  background: var(--color-yellow-500);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(245, 183, 32, 0.2);
}
.areas-note {
  text-align: center;
  margin-top: var(--space-lg);
  color: var(--color-grey-700);
  font-size: 0.95rem;
}
.areas-note a {
  color: var(--color-blue-700);
  font-weight: 700;
  text-decoration: underline;
}

/* ========================================
   SUNBELT PLEDGE — more visual emphasis
   ======================================== */
.why-section {
  background: var(--color-white);
}
.why-section .section-header p {
  max-width: 720px;
  margin: 1rem auto 0;
  color: var(--color-grey-700);
}
.why-card {
  text-align: left;
  padding: var(--space-lg);
  background: var(--color-white);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-md);
  transition: all 0.25s;
  border-left: 4px solid var(--color-yellow-500);
}
.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 76, 129, 0.08);
  border-left-color: var(--color-blue-600);
}
.why-card h3 {
  color: var(--color-blue-900);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
}
.why-card p {
  color: var(--color-grey-700);
  font-size: 0.95rem;
  line-height: 1.6;
}
.why-card .why-icon {
  background: var(--color-blue-50);
  color: var(--color-blue-700);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: var(--space-sm);
}
.why-card .why-icon svg { width: 22px; height: 22px; }

/* Mobile: stack service areas */
@media (max-width: 640px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   V3.0 ADDITIONS (Apr 24, 2026)
   OUR COMMITMENT, Service Card Images, Pricing
   ============================================ */

/* ---------- OUR COMMITMENT section ---------- */
.commitment-section {
  background: linear-gradient(180deg, #f8fafc 0%, #eef4fa 100%);
  padding: var(--space-xl) 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.commitment-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.commitment-header {
  position: sticky;
  top: var(--space-md);
}

.commitment-header h2 {
  margin-top: var(--space-xs);
  margin-bottom: var(--space-sm);
  color: var(--color-primary-deep, #0a2540);
  font-size: 1.75rem;
  line-height: 1.2;
}

.commitment-accent-bar {
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, #f5b720, #e8a317);
  border-radius: 2px;
  margin-top: var(--space-xs);
}

.commitment-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #334155;
}

.commitment-body p {
  margin-bottom: var(--space-sm);
}

.commitment-body p:last-child {
  margin-bottom: 0;
}

.commitment-body strong {
  color: var(--color-primary-deep, #0a2540);
  font-weight: 600;
}

.commitment-signature {
  font-style: italic;
  color: var(--color-primary, #0f4c81);
  font-weight: 500;
  padding-top: var(--space-sm);
  border-top: 1px solid #cbd5e1;
  margin-top: var(--space-md) !important;
}

@media (max-width: 820px) {
  .commitment-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .commitment-header {
    position: static;
  }
  .commitment-header h2 {
    font-size: 1.5rem;
  }
}

/* ---------- Service Cards WITH IMAGES ---------- */
.services-grid-with-images {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.service-card-image {
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10, 37, 64, 0.15);
}

.service-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: #cbd5e1;
  border-radius: 0;
  position: relative;
}

.service-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 37, 64, 0.25) 100%);
  pointer-events: none;
}

.service-card-body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body .service-icon {
  width: 44px;
  height: 44px;
  margin-top: -32px;
  margin-bottom: var(--space-xs);
  background: var(--color-primary, #0f4c81);
  color: #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(15, 76, 129, 0.35);
  position: relative;
  z-index: 2;
}

.service-card-body .service-icon svg {
  width: 22px;
  height: 22px;
}

.service-card-body h3 {
  font-size: 1.125rem;
  margin: 0 0 var(--space-2xs, 8px) 0;
  color: var(--color-primary-deep, #0a2540);
}

.service-card-body p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

/* ---------- Service Area primary chips ---------- */
.area-chip-primary {
  background: linear-gradient(135deg, #f5b720 0%, #e8a317 100%) !important;
  color: #0a2540 !important;
  font-weight: 700;
  border: 1px solid #e8a317 !important;
}

.area-chip-primary .area-dot {
  background: #0a2540 !important;
}

/* ---------- PRICING PAGE ---------- */
.pricing-hero {
  background: linear-gradient(135deg, #0a2540 0%, #0f4c81 100%);
  color: #fff;
  padding: var(--space-xl) 0 var(--space-lg) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/images/bg_pipes.jpg') center/cover no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.pricing-hero > .container {
  position: relative;
  z-index: 1;
}

.pricing-hero h1 {
  color: #fff;
  margin-bottom: var(--space-xs);
}

.pricing-hero .eyebrow {
  color: #f5b720;
}

.pricing-hero p {
  color: #cbd5e1;
  max-width: 640px;
  margin: var(--space-xs) auto 0;
  font-size: 1.0625rem;
}

.pricing-hero-badges {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

.pricing-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
}

.pricing-hero-badge svg { width: 14px; height: 14px; }

.pricing-intro {
  padding: var(--space-lg) 0;
  background: #fff;
}

.pricing-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 900px;
  margin: 0 auto;
}

.pricing-intro-card {
  text-align: center;
  padding: var(--space-md);
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.pricing-intro-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-xs);
  background: linear-gradient(135deg, #f5b720, #e8a317);
  color: #0a2540;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.pricing-intro-card-icon svg { width: 24px; height: 24px; }

.pricing-intro-card h4 {
  margin: 0 0 4px 0;
  font-size: 1rem;
  color: #0a2540;
}

.pricing-intro-card p {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .pricing-intro-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-categories {
  padding: var(--space-lg) 0;
  background: #f8fafc;
}

.pricing-category {
  background: #fff;
  border-radius: 14px;
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.05);
  border: 1px solid #e2e8f0;
}

.pricing-category-header {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding-bottom: var(--space-xs);
  margin-bottom: var(--space-sm);
  border-bottom: 2px solid #f5b720;
}

.pricing-category-icon {
  width: 40px;
  height: 40px;
  background: #0f4c81;
  color: #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

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

.pricing-category-header h3 {
  margin: 0;
  color: #0a2540;
  font-size: 1.25rem;
}

.pricing-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2px;
  background: #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.pricing-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xs);
  padding: 14px 16px;
  background: #fff;
  transition: background 0.15s;
}

.pricing-item:hover {
  background: #fefce8;
}

.pricing-item-name {
  flex: 1;
  color: #334155;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.pricing-item-price {
  font-weight: 700;
  color: #0a2540;
  font-size: 1rem;
  white-space: nowrap;
}

.pricing-item-note {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 400;
  margin-left: 4px;
}

.pricing-disclaimer {
  background: #fff;
  padding: var(--space-lg) 0;
  border-top: 1px solid #e2e8f0;
}

.pricing-disclaimer-box {
  max-width: 800px;
  margin: 0 auto;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-left: 4px solid #f5b720;
  padding: var(--space-md);
  border-radius: 10px;
}

.pricing-disclaimer-box h4 {
  margin: 0 0 var(--space-2xs, 8px) 0;
  color: #92400e;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.pricing-disclaimer-box p {
  margin: 0 0 8px 0;
  color: #78350f;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.pricing-disclaimer-box p:last-child {
  margin-bottom: 0;
}

/* ============================================
   V3.1 - HERO BACKGROUNDS (Apr 24, 2026)
   Background images on page-header + homepage hero
   ============================================ */

/* Photo background for .page-header (Services, Gallery, Contact) */
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--page-bg, url('/images/bg_pipes.jpg')) center/cover no-repeat;
  opacity: 0.18;
  z-index: 0;
}

/* Quote page: keep clean, no photo background */
.page-header.page-header-clean::before {
  display: none;
}

/* Homepage hero: add photo background */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/bg_pipes.jpg') center/cover no-repeat;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}