/* ============================================================
   Nail & Hammer LLC — Premium Website Stylesheet
   Complete rewrite with 21st.dev-inspired design patterns
   ============================================================ */

/* --- Fonts -------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* --- Custom Properties -------------------------------------- */
:root {
  --bg-deep: #0A0A0A;
  --bg-surface: #111111;
  --bg-elevated: #1A1A1A;
  --bg-glass: rgba(255, 255, 255, 0.05);
  --accent: #F59E0B;
  --accent-hover: #D97706;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --accent-amber: #F59E0B;
  --accent-amber-hover: #D97706;
  --accent-amber-glow: rgba(245, 158, 11, 0.15);
  --blue: #4A9EED;
  --text: #E5E5E5;
  --text-primary: #E5E5E5;
  --text-secondary: #999999;
  --text-muted: #888888;
  --text-heading: #FFFFFF;
  --border: #1a1a1a;
  --border-hover: rgba(245, 158, 11, 0.3);
  --border-accent: rgba(245, 158, 11, 0.3);
  --success: #4ADE80;
  --destructive: #F87171;
  --section-padding: 80px 24px;
  --container-max: 1200px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover { color: var(--accent-hover); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', 'Impact', sans-serif;
  font-weight: 400;
  color: var(--text-heading);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

ul { list-style: none; }

/* --- Container ---------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
}

.section-alt {
  background: var(--bg-surface);
}

/* --- Section Headings --------------------------------------- */
.section-heading,
.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-heading);
  letter-spacing: 0.05em;
}

.section-sub,
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .section-heading,
  .section-title {
    font-size: 48px;
  }
}

/* ============================================================
   NAVBAR — Resizable pill morph on scroll
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 24px;
  transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
  padding: 8px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 12px 24px;
  border-radius: 0;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.4s var(--ease-out);
}

.navbar.scrolled .nav-container {
  max-width: 800px;
  border-radius: 50px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,0.03);
  padding: 8px 24px;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: var(--text-heading);
  text-decoration: none;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.nav-logo:hover {
  color: var(--accent);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:not(.btn-glow):not(.btn-nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:not(.btn-glow):not(.btn-nav-cta):hover::after,
.nav-links a:not(.btn-glow):not(.btn-nav-cta).active::after {
  width: 100%;
}

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

.btn-nav-cta {
  padding: 8px 20px !important;
  font-size: 13px !important;
  border-radius: 50px !important;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: all 0.35s var(--ease-out);
  transform-origin: center;
}

body.menu-open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

body.menu-open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
@media (max-width: 767px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    justify-content: center;
    align-items: center;
    gap: 0;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  body.menu-open .nav-links {
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 28px;
    font-family: 'Bebas Neue', sans-serif;
    padding: 16px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
  }

  body.menu-open .nav-links a {
    opacity: 1;
    transform: translateY(0);
  }

  body.menu-open .nav-links a:nth-child(1) { transition-delay: 0.1s; }
  body.menu-open .nav-links a:nth-child(2) { transition-delay: 0.15s; }
  body.menu-open .nav-links a:nth-child(3) { transition-delay: 0.2s; }
  body.menu-open .nav-links a:nth-child(4) { transition-delay: 0.25s; }
  body.menu-open .nav-links a:nth-child(5) { transition-delay: 0.3s; }

  .nav-links a:not(.btn-glow):not(.btn-nav-cta)::after {
    display: none;
  }

  .btn-nav-cta {
    margin-top: 16px;
  }
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .hamburger {
    display: none;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--bg-deep);
  background-image: url('../images/exterior-1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-service {
  min-height: 60vh;
  background-image: url('../images/roofing-1.jpg');
}

.hero-short {
  min-height: 40vh;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.7) 0%,
    rgba(10, 10, 10, 0.5) 50%,
    rgba(10, 10, 10, 0.85) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.hero-headline {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 20px;
  overflow: hidden;
}

.hero-headline span {
  display: inline-block;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(20px);
  animation: heroWordReveal 0.8s var(--ease-out) forwards;
}

.hero-headline span:nth-child(1) { animation-delay: 0.2s; }
.hero-headline span:nth-child(2) { animation-delay: 0.3s; }
.hero-headline span:nth-child(3) { animation-delay: 0.4s; }
.hero-headline span:nth-child(4) { animation-delay: 0.5s; }

@keyframes heroWordReveal {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.hero h1:not(.hero-headline) {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s var(--ease-out) 0.5s both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  animation: fadeInUp 0.8s var(--ease-out) 0.7s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.4);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@media (min-width: 768px) {
  .hero-headline,
  .hero h1:not(.hero-headline) {
    font-size: 80px;
  }

  .hero-sub {
    font-size: 20px;
  }
}

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

/* Glow Button */
.btn-glow {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  animation: btnGlow 2.5s ease-in-out infinite;
  position: relative;
}

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.25), 0 0 6px rgba(245, 158, 11, 0.15); }
  50% { box-shadow: 0 0 40px rgba(245, 158, 11, 0.45), 0 0 12px rgba(245, 158, 11, 0.3); }
}

.btn-glow:hover {
  background: var(--accent-hover);
  color: #000;
  transform: scale(1.03);
  box-shadow: 0 0 50px rgba(245, 158, 11, 0.5), 0 0 15px rgba(245, 158, 11, 0.35);
}

.btn-glow:active {
  transform: scale(0.97);
}

.btn-glow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  animation: none;
  box-shadow: none;
}

.btn-glow:disabled:hover {
  transform: none;
}

.btn-glow.loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

/* Ghost Button */
.btn-ghost {
  display: inline-block;
  padding: 14px 28px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(245, 158, 11, 0.05);
}

.btn-ghost:active {
  transform: scale(0.97);
}

/* Outline / Back button */
.btn-outline,
.btn-back {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline:hover,
.btn-back:hover {
  border-color: var(--text-muted);
  color: var(--text-heading);
}

/* CTA floating animation for hero */
.hero-buttons .btn-glow {
  animation: btnGlow 2.5s ease-in-out infinite, btnFloat 3s ease-in-out infinite;
}

@keyframes btnFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.hero-buttons .btn-glow:hover {
  animation: none;
  transform: scale(1.03);
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: rgba(20, 20, 20, 0.5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 24px;
}

.trust-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 48px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.trust-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Trust item pulse animation on reveal */
.trust-bar.visible .trust-item svg {
  animation: trustPulse 1s ease-out forwards;
}

.trust-bar.visible .trust-item:nth-child(1) svg { animation-delay: 0.1s; }
.trust-bar.visible .trust-item:nth-child(2) svg { animation-delay: 0.2s; }
.trust-bar.visible .trust-item:nth-child(3) svg { animation-delay: 0.3s; }
.trust-bar.visible .trust-item:nth-child(4) svg { animation-delay: 0.4s; }

@keyframes trustPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 0 transparent); }
  50% { transform: scale(1.2); filter: drop-shadow(0 0 8px var(--accent-glow)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.1)); }
}

/* Trust Badges (service pages) */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}

.trust-badge {
  padding: 32px 20px;
  background: linear-gradient(to bottom, rgba(20,20,20,0.6), rgba(20,20,20,0.3));
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.trust-badge svg {
  color: var(--accent);
  margin-bottom: 12px;
}

.trust-badge h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.trust-badge:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* ============================================================
   SERVICE CARDS — Dark Grid with corner squares on hover
   ============================================================ */
.services-section {
  background: var(--bg-deep);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 1024px) {
  .services-grid:not(.two-col) {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
  display: block;
  padding: 32px 24px;
  background: linear-gradient(to bottom, rgba(20, 20, 20, 0.6), rgba(20, 20, 20, 0.3));
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
}

/* Corner squares — absolutely positioned */
.service-card::before,
.service-card::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.service-card::before {
  top: 12px;
  left: 12px;
  box-shadow: calc(100% - 36px + 12px) 0 0 0 var(--accent);
}

.service-card::after {
  bottom: 12px;
  left: 12px;
  box-shadow: calc(100% - 36px + 12px) 0 0 0 var(--accent);
}

.service-card:hover::before,
.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: inset 0 0 30px rgba(245, 158, 11, 0.04), 0 8px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid #333;
  background: rgba(30, 30, 30, 0.7);
  border-radius: 12px;
  margin-bottom: 16px;
  color: var(--accent);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  border-color: var(--border-hover);
  background: rgba(245, 158, 11, 0.08);
}

.service-card h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
  letter-spacing: 0;
  line-height: 1.3;
}

.service-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.service-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.service-card:hover .service-link {
  color: var(--accent-hover);
}

/* ============================================================
   CONTENT BLOCKS — "Built on Trust" alternating layout
   ============================================================ */
.why-section {
  background: var(--bg-surface);
}

.content-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 64px;
}

.content-block:last-child {
  margin-bottom: 0;
}

.content-text h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-heading);
  line-height: 1.3;
}

.content-text h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.content-text p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.content-text p:last-child {
  margin-bottom: 0;
}

.content-image,
.image-placeholder {
  width: 100%;
  min-height: 250px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-surface));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.content-image {
  background-size: cover;
  background-position: center;
}

/* Content block with image — about page */
.content-block-image {
  width: 100%;
}

.content-block-image .image-placeholder {
  min-height: 300px;
}

.content-block-image .image-placeholder svg {
  color: var(--text-muted);
  opacity: 0.3;
}

.content-block-text h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.content-block-text p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .content-block {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .content-block.reverse {
    direction: rtl;
  }

  .content-block.reverse > * {
    direction: ltr;
  }

  .content-block-text h2 {
    font-size: 40px;
  }
}

/* ============================================================
   PROCESS TIMELINE
   ============================================================ */
.process-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  padding-left: 48px;
}

/* Vertical amber line on mobile */
.process-timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  opacity: 0.3;
}

.timeline-step {
  position: relative;
}

.step-number {
  position: absolute;
  left: -48px;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  z-index: 1;
}

.timeline-step h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
  line-height: 1.3;
}

.timeline-step p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .process-timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-left: 0;
    text-align: center;
  }

  .process-timeline::before {
    left: 0;
    right: 0;
    top: 18px;
    bottom: auto;
    width: auto;
    height: 2px;
  }

  .step-number {
    position: relative;
    left: auto;
    top: auto;
    margin: 0 auto 16px;
  }
}

/* ============================================================
   BENEFITS GRID (windows page)
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.benefit-card {
  padding: 32px 24px;
  background: linear-gradient(to bottom, rgba(20,20,20,0.6), rgba(20,20,20,0.3));
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid #333;
  background: rgba(30, 30, 30, 0.7);
  border-radius: 12px;
  margin-bottom: 16px;
  color: var(--accent);
}

.benefit-card h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
  line-height: 1.3;
}

.benefit-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   VALUES GRID (about page)
   ============================================================ */
.values-section {
  padding: var(--section-padding);
  background: var(--bg-surface);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  padding: 32px 24px;
  background: linear-gradient(to bottom, rgba(20,20,20,0.6), rgba(20,20,20,0.3));
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

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

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid #333;
  background: rgba(30, 30, 30, 0.7);
  border-radius: 14px;
  margin-bottom: 16px;
  color: var(--accent);
}

.value-card h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   ABOUT BIO
   ============================================================ */
.about-bio {
  padding: var(--section-padding);
  background: var(--bg-deep);
}

.about-bio .content-block {
  gap: 40px;
}

@media (min-width: 768px) {
  .about-bio .content-block {
    grid-template-columns: 300px 1fr;
    gap: 60px;
  }
}

/* ============================================================
   CONTACT SECTION (about page)
   ============================================================ */
.contact-section {
  padding: var(--section-padding);
  background: var(--bg-deep);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.contact-card {
  text-align: center;
  padding: 32px 24px;
  background: linear-gradient(to bottom, rgba(20,20,20,0.6), rgba(20,20,20,0.3));
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid #333;
  background: rgba(30, 30, 30, 0.7);
  border-radius: 14px;
  margin-bottom: 16px;
  color: var(--accent);
}

.contact-value {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 4px;
  text-decoration: none;
}

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

.contact-note {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   SERVICE AREA
   ============================================================ */
.service-area-section,
.service-area-banner {
  padding: 48px 24px;
  text-align: center;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.service-area-section h2,
.service-area-banner h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.area-text,
.service-area-banner p {
  color: var(--text-muted);
  font-size: 16px;
}

@media (min-width: 768px) {
  .service-area-section h2,
  .service-area-banner h2 {
    font-size: 40px;
  }
}

/* ============================================================
   QUOTE FORM — Glassmorphism multi-step
   ============================================================ */
.quote-section {
  padding: var(--section-padding);
  background: var(--bg-deep);
}

.quote-form-container {
  max-width: 640px;
  margin: 0 auto;
}

.quote-form {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 32px;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* Progress bar */
.form-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}

.progress-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  transition: all 0.4s ease;
  flex-shrink: 0;
}

.progress-step.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(245, 158, 11, 0.1);
}

.progress-step.completed {
  border-color: var(--accent);
  background: var(--accent);
  color: #000;
}

.progress-line {
  width: 48px;
  height: 2px;
  background: var(--border);
  transition: background 0.4s ease;
}

.progress-line.active {
  background: var(--accent);
}

/* Form steps */
.form-step {
  animation: stepFadeIn 0.4s var(--ease-out);
}

.form-step[hidden] {
  display: none;
}

.form-step.active {
  display: block;
}

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-step-title {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.3;
}

.form-step-title .optional {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
}

/* Service selection grid in form */
.service-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

@media (min-width: 480px) {
  .service-select-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-secondary);
  text-align: center;
}

.service-option:hover {
  border-color: rgba(245, 158, 11, 0.2);
  background: rgba(245, 158, 11, 0.03);
}

.service-option.selected {
  border-color: var(--accent);
  background: rgba(245, 158, 11, 0.08);
  color: var(--text-heading);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
}

.service-option.selected::after {
  content: '';
}

.service-option svg {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.service-option.selected svg {
  color: var(--accent);
}

.service-option span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Service option as label with radio (about page form) */
.service-option input[type="radio"] {
  display: none;
}

.service-option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-secondary);
  text-align: center;
  width: 100%;
}

.service-option-card:hover {
  border-color: rgba(245, 158, 11, 0.2);
}

.service-option input[type="radio"]:checked + .service-option-card {
  border-color: var(--accent);
  background: rgba(245, 158, 11, 0.08);
  color: var(--text-heading);
}

.service-option input[type="radio"]:checked + .service-option-card svg {
  color: var(--accent);
}

/* Floating labels */
.floating-field {
  position: relative;
  margin-bottom: 20px;
}

.floating-field input,
.floating-field textarea {
  width: 100%;
  padding: 18px 16px 6px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  color: var(--text-heading);
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.floating-field input:focus,
.floating-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.floating-field label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.25s ease;
}

.floating-field textarea ~ label {
  top: 18px;
  transform: none;
}

.floating-field input:focus ~ label,
.floating-field input:not(:placeholder-shown) ~ label,
.floating-field input.has-value ~ label {
  top: 8px;
  transform: none;
  font-size: 11px;
  color: var(--accent);
}

.floating-field textarea:focus ~ label,
.floating-field textarea.has-value ~ label {
  top: 4px;
  font-size: 11px;
  color: var(--accent);
}

.floating-field.error input,
.floating-field.error textarea {
  border-color: var(--destructive);
}

.floating-field.error label {
  color: var(--destructive);
}

/* Standard form groups (service pages) */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  color: var(--text-heading);
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

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

.form-row,
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

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

/* Form navigation */
.form-nav,
.form-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.form-actions {
  justify-content: space-between;
}

.btn-next,
.btn-form-next {
  min-width: 140px;
}

.btn-prev,
.btn-form-prev {
  min-width: 100px;
}

/* Submit button pulsing glow */
.btn-submit {
  animation: btnGlow 2s ease-in-out infinite;
}

/* Form success */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success svg {
  color: var(--accent);
  margin-bottom: 16px;
}

.form-success h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.form-success p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.5;
}

.form-success-cta {
  margin-top: 16px;
}

.form-success-cta a {
  color: var(--accent);
  font-weight: 600;
}

/* Checkmark animation */
.checkmark-svg {
  display: block;
  margin: 0 auto 16px;
}

.checkmark-circle {
  stroke-dasharray: 190;
  stroke-dashoffset: 190;
  animation: checkCircle 0.6s ease-out 0.2s forwards;
}

.checkmark-check {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: checkStroke 0.4s ease-out 0.7s forwards;
}

@keyframes checkCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes checkStroke {
  to { stroke-dashoffset: 0; }
}

/* ============================================================
   SCROLL REVEAL SYSTEM
   Fallback: elements auto-reveal after 1.2s even without JS,
   so content is never permanently invisible.
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(4px);
  transition: opacity 0.6s var(--ease-out),
              transform 0.6s var(--ease-out),
              filter 0.6s var(--ease-out);
  animation: revealFallback 0.6s ease forwards;
  animation-delay: 1.2s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  animation: none;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  filter: blur(4px);
  transition: opacity 0.6s var(--ease-out),
              transform 0.6s var(--ease-out),
              filter 0.6s var(--ease-out);
  animation: revealFallback 0.6s ease forwards;
  animation-delay: 1.2s;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
  animation: none;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  filter: blur(4px);
  transition: opacity 0.6s var(--ease-out),
              transform 0.6s var(--ease-out),
              filter 0.6s var(--ease-out);
  animation: revealFallback 0.6s ease forwards;
  animation-delay: 1.2s;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
  animation: none;
}

/* Fallback: auto-reveal content if JS observer never fires */
@keyframes revealFallback {
  to {
    opacity: 1;
    transform: translateY(0) translateX(0);
    filter: blur(0);
  }
}

/* Stagger children */
.reveal-stagger.visible > * {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  animation: staggerReveal 0.5s var(--ease-out) forwards;
}

.reveal-stagger.visible > *:nth-child(1) { animation-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { animation-delay: 80ms; }
.reveal-stagger.visible > *:nth-child(3) { animation-delay: 160ms; }
.reveal-stagger.visible > *:nth-child(4) { animation-delay: 240ms; }
.reveal-stagger.visible > *:nth-child(5) { animation-delay: 320ms; }
.reveal-stagger.visible > *:nth-child(6) { animation-delay: 400ms; }
.reveal-stagger.visible > *:nth-child(7) { animation-delay: 480ms; }
.reveal-stagger.visible > *:nth-child(8) { animation-delay: 560ms; }

@keyframes staggerReveal {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer,
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 64px 24px 32px;
}

.footer-container,
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: var(--container-max);
  margin: 0 auto;
}

@media (min-width: 640px) {
  .footer-container,
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
  }
}

.footer-col { }

.footer-logo,
.footer-brand h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: var(--text-heading);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.footer-col > p,
.footer-brand > p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer-col h4,
.footer-links h4,
.footer-contact h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col ul,
.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.footer-col li,
.footer-links li,
.footer-contact li {
  margin-bottom: 8px;
}

.footer-col a,
.footer-links a,
.footer-contact a {
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-col a::after,
.footer-links a::after,
.footer-contact a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.footer-col a:hover::after,
.footer-links a:hover::after,
.footer-contact a:hover::after {
  width: 100%;
}

.footer-col a:hover,
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--accent);
}

.footer-col li:not(:has(a)),
.footer-contact li:not(:has(a)) {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid var(--border);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 13px;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero-headline span {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .scroll-indicator {
    animation: none;
  }

  .btn-glow {
    animation: none;
  }
}

/* ============================================================
   UTILITY & MISC
   ============================================================ */

/* Selection highlight */
::selection {
  background: rgba(245, 158, 11, 0.3);
  color: var(--text-heading);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #333;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Placeholder styling */
::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

/* Smooth transitions for interactive elements */
button, a, input, textarea, select {
  -webkit-tap-highlight-color: transparent;
}
