/* =========================================================
   Artesian Pools Memphis — Main Stylesheet
   Mobile-first responsive design
   ========================================================= */

@import './variables.css';

/* =========================================================
   RESET & BASE
   ========================================================= */

*, *::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-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  background-color: var(--color-white);
  overflow-x: hidden;
}

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

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--color-blue-dark); }

ul, ol { list-style: none; }

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

button { cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  line-height: var(--line-height-tight);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
}

p { margin-bottom: 0; }

/* =========================================================
   FOCUS VISIBILITY (accessibility)
   ========================================================= */

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

:focus:not(:focus-visible) {
  outline: none;
}

a:focus-visible {
  border-radius: var(--radius-sm);
}

.btn:focus-visible {
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 9999;
  padding: var(--space-3) var(--space-5);
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
}

/* =========================================================
   UTILITIES
   ========================================================= */

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

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

.text-center { text-align: center; }
.text-left   { text-align: left; }

.section-header {
  margin-bottom: var(--space-12);
  text-align: center;
}
.section-header h2 {
  font-size: var(--font-size-2xl);
  color: var(--color-navy);
  margin-bottom: var(--space-4);
}
.section-header p {
  font-size: var(--font-size-md);
  color: var(--color-text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: var(--line-height-relaxed);
}
.section-header .eyebrow {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: var(--space-3);
}

/* Divider accent */
.section-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  margin: var(--space-5) auto 0;
  border-radius: var(--radius-full);
}
.section-header.align-left::after { margin-left: 0; }

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--color-blue-dark);
  border-color: var(--color-blue-dark);
  color: var(--color-white);
  box-shadow: 0 6px 25px rgba(45, 139, 201, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-navy);
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
}
.btn-gold:hover {
  background: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  color: var(--color-navy);
  box-shadow: 0 4px 20px rgba(197, 165, 90, 0.4);
}

.btn-outline-navy {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn-outline-navy:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-lg {
  padding: 1.125rem 2.25rem;
  font-size: var(--font-size-md);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--font-size-sm);
}

/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  height: var(--header-height);
  background: transparent;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
  background: var(--color-navy);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

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

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 42px;
  height: 42px;
  background: var(--color-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-white);
  letter-spacing: -0.05em;
  line-height: 1;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: -0.01em;
}
.logo-tagline {
  font-size: var(--font-size-xs);
  color: var(--color-gray-300);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Desktop Nav */
.main-nav {
  display: none;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.nav-link {
  padding: var(--space-2) var(--space-3);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

/* Header CTA */
.header-cta {
  display: none;
  align-items: center;
  gap: var(--space-4);
}
.header-phone {
  color: var(--color-white);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.header-phone svg { flex-shrink: 0; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  padding: var(--space-2);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}
.menu-toggle:hover { background: rgba(255, 255, 255, 0.1); }
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-navy);
  padding: var(--space-6) var(--space-6) var(--space-8);
  transform: translateY(-110%);
  opacity: 0;
  transition: transform var(--transition-base), opacity var(--transition-base);
  z-index: calc(var(--z-sticky) - 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-6);
}
.mobile-nav-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}
.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.mobile-phone-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-md);
}

/* =========================================================
   HERO SECTION
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--color-navy);
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 39, 68, 0.85) 0%,
    rgba(26, 39, 68, 0.6) 50%,
    rgba(45, 139, 201, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: var(--z-base);
  padding-top: calc(var(--header-height) + var(--space-16));
  padding-bottom: var(--space-20);
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(197, 165, 90, 0.2);
  border: 1px solid rgba(197, 165, 90, 0.5);
  color: var(--color-gold-light);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero h1 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: var(--space-6);
  max-width: 760px;
}
.hero h1 .highlight {
  color: var(--color-gold-light);
}

.hero-subhead {
  font-size: var(--font-size-md);
  color: rgba(255, 255, 255, 0.85);
  line-height: var(--line-height-relaxed);
  max-width: 580px;
  margin-bottom: var(--space-10);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat-number {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-white);
  line-height: 1;
}
.hero-stat-label {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: var(--space-1);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--font-size-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.scroll-indicator svg {
  color: rgba(255, 255, 255, 0.5);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* =========================================================
   TRUST BAR
   ========================================================= */

.trust-bar {
  background: var(--color-navy);
  padding: var(--space-8) 0;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
}
.trust-icon {
  width: 48px;
  height: 48px;
  background: rgba(45, 139, 201, 0.15);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-blue-light);
}
.trust-text strong {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  margin-bottom: var(--space-1);
}
.trust-text span {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.55);
  line-height: var(--line-height-snug);
}

/* =========================================================
   SERVICES SECTION
   ========================================================= */

.services-section {
  padding: var(--space-20) 0;
  background: var(--color-white);
}

.services-grid {
  display: grid;
  gap: var(--space-8);
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-blue);
}
.service-card-image {
  height: 220px;
  background: var(--color-gray-100);
  overflow: hidden;
  position: relative;
}
.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.service-card:hover .service-card-image img {
  transform: scale(1.05);
}
.service-badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: var(--color-blue);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}
.service-card-body {
  padding: var(--space-8);
}
.service-card-body h3 {
  font-size: var(--font-size-xl);
  color: var(--color-navy);
  margin-bottom: var(--space-3);
}
.service-card-body p {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-6);
}
.service-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.service-feature {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}
.service-feature svg {
  color: var(--color-blue);
  flex-shrink: 0;
}

/* =========================================================
   BEFORE & AFTER SECTION
   ========================================================= */

.before-after-section {
  padding: var(--space-20) 0;
  background: var(--color-off-white);
}

.ba-grid {
  display: grid;
  gap: var(--space-8);
}

.ba-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.ba-slider {
  position: relative;
  height: 280px;
  overflow: hidden;
  user-select: none;
}
.ba-before,
.ba-after {
  position: absolute;
  inset: 0;
}
.ba-before img,
.ba-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-after {
  clip-path: inset(0 50% 0 0);
  transition: clip-path var(--transition-fast);
}
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: var(--color-white);
  z-index: var(--z-base);
  pointer-events: none;
  transition: left var(--transition-fast);
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--color-white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  z-index: var(--z-raised);
  transition: left var(--transition-fast);
}
.ba-handle svg { color: var(--color-navy); }

.ba-labels {
  position: absolute;
  top: var(--space-3);
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 var(--space-4);
  z-index: var(--z-raised);
  pointer-events: none;
}
.ba-label {
  background: rgba(0, 0, 0, 0.6);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.ba-info {
  padding: var(--space-6);
}
.ba-info h3 {
  font-size: var(--font-size-lg);
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}
.ba-info p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

/* =========================================================
   WHY CHOOSE US
   ========================================================= */

.why-section {
  padding: var(--space-20) 0;
  background: var(--color-navy);
}
.why-section .section-header h2 { color: var(--color-white); }
.why-section .section-header p   { color: rgba(255, 255, 255, 0.75); }
.why-section .section-header .eyebrow { color: var(--color-gold-light); }

.why-grid {
  display: grid;
  gap: var(--space-6);
}

.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
}
.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(45, 139, 201, 0.4);
  transform: translateY(-2px);
}
.why-icon {
  width: 52px;
  height: 52px;
  background: rgba(45, 139, 201, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue-light);
  margin-bottom: var(--space-5);
}
.why-card h3 {
  font-size: var(--font-size-lg);
  color: var(--color-white);
  margin-bottom: var(--space-3);
}
.why-card p {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.65);
  line-height: var(--line-height-relaxed);
}

/* "Truth" callout within why section */
.truth-callout {
  background: rgba(197, 165, 90, 0.12);
  border: 1px solid rgba(197, 165, 90, 0.3);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  margin-top: var(--space-12);
  text-align: center;
}
.truth-callout .quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: var(--color-gold);
  opacity: 0.4;
  margin-bottom: var(--space-4);
  font-family: Georgia, serif;
}
.truth-callout blockquote {
  font-size: var(--font-size-lg);
  color: var(--color-white);
  line-height: var(--line-height-relaxed);
  font-style: italic;
  max-width: 700px;
  margin: 0 auto var(--space-5);
}
.truth-callout cite {
  font-size: var(--font-size-sm);
  color: var(--color-gold-light);
  font-style: normal;
  font-weight: var(--font-weight-semibold);
}

/* =========================================================
   SERVICE AREAS STRIP
   ========================================================= */

.areas-strip {
  padding: var(--space-16) 0;
  background: var(--color-white);
}

.areas-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-top: var(--space-8);
}

.area-tag {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-off-white);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  text-decoration: none;
}
.area-tag:hover {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: var(--color-white);
}
.area-tag svg { color: var(--color-blue); flex-shrink: 0; }
.area-tag:hover svg { color: var(--color-white); }

/* =========================================================
   CTA BANNER
   ========================================================= */

.cta-banner {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, var(--color-blue-dark) 0%, var(--color-navy) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45, 139, 201, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: var(--font-size-2xl);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}
.cta-banner p {
  font-size: var(--font-size-md);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-10);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--line-height-relaxed);
}
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.cta-note {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--space-4);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: var(--color-gray-800);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-16) 0 0;
}

.footer-grid {
  display: grid;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .site-logo { margin-bottom: var(--space-5); }
.footer-brand p {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-6);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--font-size-sm);
}
.footer-contact-item svg {
  color: var(--color-blue);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-item a {
  color: rgba(255, 255, 255, 0.75);
}
.footer-contact-item a:hover { color: var(--color-white); }

.footer-heading {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-6);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-links a {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.footer-links a::before {
  content: '→';
  font-size: var(--font-size-xs);
  color: var(--color-blue);
}
.footer-links a:hover { color: var(--color-white); }

/* Footer mini form */
.footer-form { display: flex; gap: var(--space-2); }
.footer-form input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: var(--color-white);
  font-size: var(--font-size-sm);
}
.footer-form input::placeholder { color: rgba(255, 255, 255, 0.4); }
.footer-form input:focus {
  outline: none;
  border-color: var(--color-blue);
  background: rgba(255, 255, 255, 0.12);
}
.footer-form-group { margin-bottom: var(--space-4); }
.footer-form-group label {
  display: block;
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-form-group input,
.footer-form-group select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: var(--color-white);
  font-size: var(--font-size-sm);
}
.footer-form-group select option { background: var(--color-gray-800); color: var(--color-white); }
.footer-form-group input:focus,
.footer-form-group select:focus {
  outline: none;
  border-color: var(--color-blue);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  text-align: center;
}
.footer-legal {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.4);
}
.footer-legal-links {
  display: flex;
  gap: var(--space-5);
}
.footer-legal-links a {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.4);
}
.footer-legal-links a:hover { color: rgba(255, 255, 255, 0.8); }
.license-badge {
  font-size: var(--font-size-xs);
  color: var(--color-gold-light);
  background: rgba(197, 165, 90, 0.12);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid rgba(197, 165, 90, 0.25);
}

/* =========================================================
   BACK TO TOP
   ========================================================= */

.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  background: var(--color-blue);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: all var(--transition-base);
  z-index: var(--z-raised);
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--color-blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* =========================================================
   PAGE HERO (interior pages)
   ========================================================= */

.page-hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-20)) 0 var(--space-20);
  background: var(--color-navy);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy-light) 100%);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}
.page-hero-content {
  position: relative;
  z-index: var(--z-base);
}
.page-hero h1 {
  font-size: var(--font-size-2xl);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}
.page-hero .lead {
  font-size: var(--font-size-md);
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  line-height: var(--line-height-relaxed);
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.breadcrumbs a,
.breadcrumbs span {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.55);
}
.breadcrumbs a:hover { color: var(--color-white); }
.breadcrumbs .sep { color: rgba(255, 255, 255, 0.3); }
.breadcrumbs .current { color: rgba(255, 255, 255, 0.85); }

/* =========================================================
   PROCESS STEPS
   ========================================================= */

.process-section {
  padding: var(--space-20) 0;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  position: relative;
}
.process-steps::before {
  display: none;
}

.process-step {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
}
.step-number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--color-blue);
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-extrabold);
  box-shadow: var(--shadow-blue);
}
.step-content h3 {
  font-size: var(--font-size-lg);
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}
.step-content p {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  font-size: var(--font-size-sm);
}

/* =========================================================
   GALLERY / LIGHTBOX
   ========================================================= */

.gallery-section {
  padding: var(--space-20) 0;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-10);
}
.filter-tab {
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-tab:hover,
.filter-tab.active {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--color-gray-100);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 39, 68, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  opacity: 0;
  transition: opacity var(--transition-base);
  padding: var(--space-4);
  text-align: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay svg { color: var(--color-white); width: 32px; height: 32px; }
.gallery-overlay span {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  line-height: var(--line-height-snug);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-inner {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}
.lightbox-inner img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}
.lightbox-caption {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
  margin-top: var(--space-4);
}
.lightbox-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--color-white);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
  z-index: 1;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--color-white);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-prev { left: calc(-50px); }
.lightbox-next { right: calc(-50px); }

/* Placeholder image boxes */
.img-placeholder {
  background: linear-gradient(135deg, var(--color-gray-200) 0%, var(--color-gray-300) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-2);
  color: var(--color-gray-500);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =========================================================
   FAQ ACCORDION
   ========================================================= */

.faq-section {
  padding: var(--space-20) 0;
  background: var(--color-off-white);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item.open { border-color: var(--color-blue); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.faq-question:hover { background: var(--color-off-white); }
.faq-question-text {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-navy);
  line-height: var(--line-height-snug);
}
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--color-off-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  transition: all var(--transition-base);
}
.faq-item.open .faq-icon {
  background: var(--color-blue);
  color: var(--color-white);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) ease;
}
.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--color-text-secondary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
}
.faq-answer-inner p + p { margin-top: var(--space-3); }

/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-section {
  padding: var(--space-20) 0;
}

.contact-grid {
  display: grid;
  gap: var(--space-12);
}

.contact-info h2 {
  font-size: var(--font-size-2xl);
  color: var(--color-navy);
  margin-bottom: var(--space-4);
}
.contact-info > p {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-8);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  flex-shrink: 0;
}
.contact-detail-text strong {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-navy);
  margin-bottom: var(--space-1);
}
.contact-detail-text span,
.contact-detail-text a {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}
.contact-detail-text a:hover { color: var(--color-blue); }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}
.hours-table tr { border-bottom: 1px solid var(--color-border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: var(--space-3) 0; }
.hours-table td:last-child {
  text-align: right;
  color: var(--color-text-secondary);
}

/* Form */
.estimate-form {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}
.estimate-form h3 {
  font-size: var(--font-size-xl);
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}
.form-subhead {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
}

.form-row {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form-group label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-gray-700);
}
.form-group label .required {
  color: #e53e3e;
  margin-left: 2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  color: var(--color-text-primary);
  background: var(--color-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(45, 139, 201, 0.15);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e53e3e;
}
.form-group .field-error {
  font-size: var(--font-size-xs);
  color: #e53e3e;
  display: none;
}
.form-group.has-error .field-error { display: block; }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit { margin-top: var(--space-6); }
.form-submit .btn { width: 100%; }
.form-disclaimer {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  text-align: center;
  line-height: var(--line-height-relaxed);
}

/* Form success/error states */
.form-message {
  display: none;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin-top: var(--space-4);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}
.form-message.success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  display: block;
}
.form-message.error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  display: block;
}

/* =========================================================
   SERVICE AREAS PAGE
   ========================================================= */

.areas-page-section {
  padding: var(--space-20) 0;
}
.areas-grid-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.area-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-decoration: none;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.area-card:hover {
  border-color: var(--color-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.area-card-icon {
  width: 44px;
  height: 44px;
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  flex-shrink: 0;
}
.area-card-text strong {
  display: block;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-navy);
  margin-bottom: var(--space-1);
}
.area-card-text span {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}
.map-embed {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-400);
  font-size: var(--font-size-sm);
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */

.story-section {
  padding: var(--space-20) 0;
}
.story-grid {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
.story-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 360px;
  background: var(--color-gray-100);
}
.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-content h2 {
  font-size: var(--font-size-2xl);
  color: var(--color-navy);
  margin-bottom: var(--space-5);
}
.story-content p {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-5);
}
.story-content p:last-child { margin-bottom: 0; }

.values-section {
  padding: var(--space-20) 0;
  background: var(--color-off-white);
}
.values-grid {
  display: grid;
  gap: var(--space-6);
}
.value-card {
  background: var(--color-white);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}
.value-card:hover {
  border-color: var(--color-blue);
  box-shadow: var(--shadow-md);
}
.value-number {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-gray-200);
  line-height: 1;
  margin-bottom: var(--space-4);
}
.value-card h3 {
  font-size: var(--font-size-lg);
  color: var(--color-navy);
  margin-bottom: var(--space-3);
}
.value-card p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

/* =========================================================
   RESPONSIVE — TABLET (768px+)
   ========================================================= */

@media (min-width: 768px) {
  /* Layout */
  :root {
    --container-pad: 2rem;
    --header-height: 76px;
  }

  /* Nav */
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .main-nav { display: flex; }
  .header-cta { display: flex; }

  /* Hero */
  .hero h1 { font-size: var(--font-size-4xl); }
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  /* Trust bar */
  .trust-bar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .trust-item { flex-direction: row; text-align: left; }

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

  /* Before/After */
  .ba-grid { grid-template-columns: 1fr 1fr; }
  .ba-slider { height: 320px; }

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

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }

  /* Process */
  .process-steps::before {
    display: block;
    content: '';
    position: absolute;
    left: 26px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-blue);
    opacity: 0.2;
  }

  /* Areas */
  .areas-grid-full { grid-template-columns: repeat(3, 1fr); }

  /* About */
  .values-grid { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }

  /* CTA */
  .cta-actions {
    flex-direction: row;
    justify-content: center;
  }

  /* Section headers */
  .section-header h2 { font-size: var(--font-size-3xl); }

  /* Page hero */
  .page-hero h1 { font-size: var(--font-size-3xl); }
}

/* =========================================================
   RESPONSIVE — DESKTOP (1024px+)
   ========================================================= */

@media (min-width: 1024px) {
  /* Services */
  .services-grid { grid-template-columns: repeat(3, 1fr); }

  /* Before/After */
  .ba-grid { grid-template-columns: repeat(3, 1fr); }

  /* Why */
  .why-grid { grid-template-columns: repeat(3, 1fr); }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }

  /* Story */
  .story-grid { grid-template-columns: 1fr 1fr; }

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

  /* Trust bar */
  .trust-bar-grid { grid-template-columns: repeat(5, 1fr); }

  /* Hero */
  .hero h1 { font-size: var(--font-size-5xl); }

  /* Areas */
  .areas-grid-full { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================
   RESPONSIVE — WIDE (1280px+)
   ========================================================= */

@media (min-width: 1280px) {
  :root {
    --container-pad: 2.5rem;
  }
}

/* =========================================================
   PRINT
   ========================================================= */

@media print {
  .site-header,
  .back-to-top,
  .mobile-nav { display: none !important; }
  body { padding-top: 0; }
}
