/* ============================================
   DELCO PLUMBING — REDESIGN 2025
   Design: Dark luxury + bold typography
   Fonts: Bebas Neue (display) + DM Sans (body)
============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600&family=DM+Serif+Display:ital@0;1&display=swap');

/* TOKENS */
:root {
  --ink: #0a0c10;
  --ink-soft: #1a1d24;
  --surface: #f5f4f0;
  --surface-warm: #eceae3;
  --accent: #1b5fc4;
  --accent-bright: #3b82f6;
  --accent-glow: rgba(27, 95, 196, 0.25);
  --gold: #e8b84b;
  --white: #ffffff;
  --text-muted: #6b7280;
  --text-body: #374151;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--surface);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* TYPOGRAPHY */
.bebas { font-family: 'Bebas Neue', sans-serif; }
h1, h2, h3 { line-height: 1.1; }

/* UTILITY */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-label.light { color: var(--gold); }

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--ink);
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}
.section-title.light { color: var(--white); }
.section-title em {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  color: var(--accent);
}
.section-title.light em { color: var(--gold); }

.section-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}
.section-sub.light { color: rgba(255,255,255,0.75); }

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(0,0,0,0.2);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 1.125rem 2.5rem; font-size: 1.125rem; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  transition: var(--transition);
}
.nav-scrolled {
  background: rgba(10, 12, 16, 0.96);
  backdrop-filter: blur(20px);
  padding: 1rem 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo img { height: 44px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: var(--radius-sm) !important;
}
.nav-cta:hover {
  background: var(--accent-bright) !important;
  transform: translateY(-1px);
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0.5rem; text-align: center; }
.mobile-menu a {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  letter-spacing: 0.05em;
  color: var(--white);
  padding: 0.5rem 2rem;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 8rem 3rem 4rem;
  gap: 4rem;
  min-height: 100vh;
}

.hero-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
/* Make bg only apply within hero */
.hero { position: relative; }
.hero > .hero-bg { position: absolute; }

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.hero-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #1b5fc4, transparent);
  top: -200px; right: -100px;
  animation: blob-float 8s ease-in-out infinite;
}
.hero-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #e8b84b, transparent);
  bottom: -100px; left: -50px;
  animation: blob-float 10s ease-in-out infinite reverse;
  opacity: 0.2;
}
.hero-grid {
  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: 60px 60px;
}
@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 10px) scale(0.95); }
}

.hero-content {
  flex: 1;
  position: relative;
  z-index: 1;
  animation: hero-in 0.8s ease both;
}
.hero-visual {
  flex: 1;
  position: relative;
  z-index: 1;
  animation: hero-in 0.8s 0.2s ease both;
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 9vw, 7.5rem);
  line-height: 0.9;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-actions .btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}
.hero-actions .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}
.trust-icon { color: var(--gold); font-weight: 700; }

/* ============ WORDMARK LOGO ============ */
.nav-wordmark {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  line-height: 1;
}
.wordmark-delco {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  color: var(--white);
  letter-spacing: 0.04em;
}
.wordmark-divider {
  display: inline-block;
  width: 2px;
  height: 1.4rem;
  background: var(--gold);
  margin: 0 0.5rem;
  border-radius: 2px;
  vertical-align: middle;
}
.wordmark-plumbing {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.nav-wordmark:hover .wordmark-delco { opacity: 0.85; }
.nav-wordmark:hover .wordmark-plumbing { opacity: 0.85; }

/* Hero visual */
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(27, 95, 196, 0.3);
}
.hero-img-wrap img { width: 100%; object-fit: cover; aspect-ratio: 4/3; }

.hero-card {
  position: absolute;
  background: rgba(10, 12, 16, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  top: -20px; left: -20px;
  animation: card-float 4s ease-in-out infinite;
}
.hero-card-bottom {
  top: auto; left: auto;
  bottom: -20px; right: -20px;
  flex-direction: column;
  align-items: flex-start;
  animation-delay: 2s;
}
@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-card-icon { font-size: 1.5rem; }
.hero-card-text { display: flex; flex-direction: column; }
.hero-card-text strong { color: var(--white); font-size: 0.9rem; font-weight: 600; }
.hero-card-text span { color: rgba(255,255,255,0.8); font-size: 0.8rem; }
.hero-card-stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; margin-bottom: 0.25rem; }
.hero-card span { color: rgba(255,255,255,0.8); font-size: 0.8rem; }

/* ============ STATS BAR ============ */
.stats-bar {
  background: var(--ink-soft);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 2.5rem 3rem;
  flex-wrap: wrap;
  width: 100%;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.5rem 3rem;
  animation: fade-up 0.6s ease both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}
/* JS fallback class still supported */
.stat.visible { opacity: 1; transform: translateY(0); }
.stat strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
}
.stat span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
}

/* ============ SERVICES ============ */
.services-section { text-align: center; }
.services-section .section-sub { margin: 0 auto 3rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
  margin-bottom: 3rem;
}
.service-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  animation: fade-up 0.5s ease both;
  animation-timeline: view();
  animation-range: entry 0% entry 25%;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.service-card-featured {
  background: var(--accent);
  border-color: var(--accent);
}
.service-card-featured h3,
.service-card-featured p,
.service-card-featured .service-link {
  color: var(--white) !important;
}
.service-card-featured .service-card-icon { background: rgba(255,255,255,0.2); }
.service-card-icon {
  width: 52px; height: 52px;
  background: var(--surface-warm);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
}
.service-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  position: relative; z-index: 1;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
  position: relative; z-index: 1;
}
.service-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  position: relative; z-index: 1;
  transition: gap 0.2s;
}
.services-cta { display: flex; justify-content: center; }

/* ============ WHY US ============ */
.why-section {
  background: var(--ink);
  padding: 6rem 2rem;
}
.why-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 5rem;
  align-items: center;
}
.why-text { flex: 1; }
.why-text .section-sub { margin-bottom: 2.5rem; }
.why-features { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
.why-feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  animation: fade-left 0.5s ease both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}
.why-feature.visible { opacity: 1; transform: translateX(0); }
.why-feature-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.why-feature strong { display: block; color: var(--white); font-size: 1rem; margin-bottom: 0.25rem; }
.why-feature p { color: rgba(255,255,255,0.55); font-size: 0.95rem; line-height: 1.5; }

.why-visual {
  flex: 1;
  position: relative;
}
.why-visual img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  filter: brightness(0.9);
}
.why-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--gold);
  color: var(--ink);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}
.why-badge strong { font-family: 'Bebas Neue', sans-serif; font-size: 1.75rem; line-height: 1; }
.why-badge span { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }

/* ============ HOW IT WORKS ============ */
.how-section { text-align: center; }
.how-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 4rem;
}
.how-step {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  border: 1px solid rgba(0,0,0,0.06);
  animation: fade-up 0.5s ease both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}
.how-step.visible { opacity: 1; transform: translateY(0); }
.how-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  color: rgba(27, 95, 196, 0.08);
  line-height: 1;
  position: absolute;
  top: 1rem; right: 1.5rem;
}
.step-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.how-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.how-step p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.how-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  flex-shrink: 0;
  position: relative;
}
.how-connector::after {
  content: '→';
  position: absolute;
  top: -12px; right: -8px;
  color: var(--accent);
  font-size: 1rem;
}

/* ============ TESTIMONIALS ============ */
.testimonials-section {
  background: var(--ink-soft);
  padding: 6rem 2rem;
}
.testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.testimonials-inner .section-sub { margin: 0 auto 3rem; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}
.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  animation: fade-up 0.5s ease both;
  animation-timeline: view();
  animation-range: entry 0% entry 25%;
}
.testimonial-card.visible { opacity: 1; transform: translateY(0); }
.testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}
.testimonial-card-featured {
  background: var(--accent);
  border-color: var(--accent);
}
.testimonial-card-featured p { color: rgba(255,255,255,0.9) !important; }
.testimonial-card-featured .testimonial-author strong { color: var(--white) !important; }
.testimonial-card-featured .testimonial-author span { color: rgba(255,255,255,0.65) !important; }
.testimonial-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; }
.testimonial-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial-card-featured .testimonial-avatar { background: rgba(255,255,255,0.25); }
.testimonial-author strong { display: block; color: var(--white); font-size: 0.95rem; }
.testimonial-author span { color: rgba(255,255,255,0.5); font-size: 0.8rem; }

/* ============ CTA BANNER ============ */
.cta-banner {
  background: var(--ink);
  position: relative;
  padding: 7rem 2rem;
  text-align: center;
  overflow: hidden;
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(27, 95, 196, 0.3), transparent 70%);
}
.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.cta-banner h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  line-height: 1;
}
.cta-banner h2 em {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  color: var(--gold);
}
.cta-banner p {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}
.cta-banner-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-banner .btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.cta-banner .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============ FOOTER ============ */
.footer { background: #06080d; padding: 4rem 3rem 2rem; }
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand img { height: 48px; width: auto; margin-bottom: 1rem; }
.footer-wordmark {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.footer-wordmark .wordmark-delco { font-size: 1.5rem; }
.footer-wordmark .wordmark-plumbing { font-size: 1.5rem; }
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-col strong { display: block; color: var(--white); font-weight: 600; margin-bottom: 1.25rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a, .footer-col li { color: rgba(255,255,255,0.45); font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--white); }

/* ============ INNER PAGE HEADER ============ */
.page-hero {
  background: var(--ink);
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding: 8rem 3rem 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-glow {
  position: absolute;
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(27, 95, 196, 0.3), transparent);
  top: -100px; right: -100px;
}
.page-hero-content {
  position: relative; z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.page-hero-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 0.9;
}
.page-hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin-top: 1rem;
  line-height: 1.7;
}

/* ============ SERVICES PAGE ============ */
.services-intro {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 3rem;
  text-align: center;
}
.services-intro .section-sub { margin: 0.5rem auto 0; }

.services-category {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}
.services-category-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.4rem 1rem;
  background: rgba(27, 95, 196, 0.08);
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 2rem;
}
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-detail-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition);
}
.service-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.service-detail-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}
.service-detail-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; flex: 1; }
.service-detail-card .btn { align-self: flex-start; margin-top: auto; }
.service-detail-icon {
  font-size: 2rem;
  width: 56px; height: 56px;
  background: var(--surface-warm);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}

/* ============ ABOUT PAGE ============ */
.about-split {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: flex;
  gap: 5rem;
  align-items: center;
}
.about-split-text { flex: 1; }
.about-split-text h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 1.5rem;
}
.about-split-text h2 em {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  color: var(--accent);
}
.about-split-text p { color: var(--text-body); font-size: 1rem; line-height: 1.8; margin-bottom: 1rem; }
.about-split-image { flex: 1; }
.about-split-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}

.why-choose-section {
  background: var(--surface-warm);
  padding: 6rem 2rem;
}
.why-choose-inner { max-width: 1200px; margin: 0 auto; }
.why-choose-inner .section-sub { margin-bottom: 3rem; }
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-choose-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}
.why-choose-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-choose-card-icon { font-size: 2.5rem; margin-bottom: 1.25rem; }
.why-choose-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin-bottom: 0.75rem; }
.why-choose-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* ============ CONTACT PAGE ============ */
.contact-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}
.contact-form-panel { flex: 3; }
.contact-info-panel { flex: 2; }
.contact-form-panel h2, .contact-info-panel h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.contact-form-panel > p, .contact-info-panel > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.form-row { display: flex; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; margin-bottom: 1.25rem; }
.form-field label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--accent); }
.form-field textarea { height: 140px; resize: vertical; }
.contact-submit-btn {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  transition: var(--transition);
  cursor: pointer;
}
.contact-submit-btn:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.contact-info-card {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
}
.contact-info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.contact-info-card p { color: rgba(255,255,255,0.75); font-size: 0.95rem; line-height: 1.7; }
.contact-info-card a { color: var(--white); font-weight: 600; }
.contact-info-card a:hover { color: var(--gold); }
.areas-list { color: rgba(255,255,255,0.55) !important; font-size: 0.85rem !important; line-height: 1.9 !important; }

/* ============ PRIVACY PAGE ============ */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}
.privacy-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--ink);
  margin-bottom: 1rem;
}
.privacy-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 2rem 0 0.5rem;
}
.privacy-content p { color: var(--text-body); line-height: 1.8; margin-bottom: 1rem; }
.privacy-content a { color: var(--accent); font-weight: 500; }
.privacy-content a:hover { text-decoration: underline; }

/* ============ KEYFRAMES ============ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-left {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Fallback: if animation-timeline not supported, always show elements */
@supports not (animation-timeline: view()) {
  .service-card, .how-step, .testimonial-card, .why-feature, .stat {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ============ ANIMATIONS ============ */
.service-card:nth-child(1) { transition-delay: 0.05s; }
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.15s; }
.service-card:nth-child(4) { transition-delay: 0.2s; }
.service-card:nth-child(5) { transition-delay: 0.25s; }
.service-card:nth-child(6) { transition-delay: 0.3s; }
.how-step:nth-child(1) { transition-delay: 0.05s; }
.how-step:nth-child(3) { transition-delay: 0.15s; }
.how-step:nth-child(5) { transition-delay: 0.25s; }
.testimonial-card:nth-child(1) { transition-delay: 0.05s; }
.testimonial-card:nth-child(2) { transition-delay: 0.12s; }
.testimonial-card:nth-child(3) { transition-delay: 0.19s; }
.why-feature:nth-child(2) { transition-delay: 0.1s; }
.why-feature:nth-child(3) { transition-delay: 0.2s; }
.stat:nth-child(1) { transition-delay: 0.05s; }
.stat:nth-child(3) { transition-delay: 0.1s; }
.stat:nth-child(5) { transition-delay: 0.15s; }
.stat:nth-child(7) { transition-delay: 0.2s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-inner {
    flex-direction: column;
    min-height: auto;
    padding: 5.5rem 2rem 4rem;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  /* Absolute corner cards overlap horizontally on narrow widths; stack in document flow */
  .hero-img-wrap { order: -1; }
  .hero-card,
  .hero-card-bottom {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    animation: none;
  }

  .why-inner { flex-direction: column; gap: 3rem; }
  .why-visual { width: 100%; max-width: 500px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .service-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .why-choose-grid { grid-template-columns: repeat(2, 1fr); }

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

  .about-split { flex-direction: column; gap: 3rem; }
  .about-split-image { width: 100%; }
  .contact-layout { flex-direction: column; }
}

@media (max-width: 768px) {
  .nav { padding: 1.25rem 1.5rem; }
  .nav-scrolled { padding: 0.875rem 1.5rem; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .stats-bar { gap: 2rem; }
  .stat { padding: 0.5rem 1.5rem; }
  .stat-divider { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .service-cards-grid { grid-template-columns: 1fr; }
  .why-choose-grid { grid-template-columns: 1fr; }

  .how-steps { flex-direction: column; }
  .how-connector { width: 2px; height: 40px; background: linear-gradient(180deg, var(--accent), var(--accent-bright)); }
  .how-connector::after { content: '↓'; top: auto; bottom: -16px; right: 50%; transform: translateX(50%); }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .form-row { flex-direction: column; }

  .page-hero { padding: 6rem 1.5rem 3rem; }

  .hero-inner { padding: 5rem 1.5rem 3.5rem; }

  .section { padding: 4rem 1.5rem; }
  .why-section { padding: 4rem 1.5rem; }
  .testimonials-section { padding: 4rem 1.5rem; }
  .cta-banner { padding: 5rem 1.5rem; }
}

@media (max-width: 480px) {
  /* Top offset lives on .hero-inner only — avoid stacking with 1024px padding */
  .hero { padding: 0 1.5rem 3rem; }
  .hero-inner { padding: 4.75rem 1.5rem 3rem; }
  .hero-badge { font-size: 0.75rem; }
  .hero-card { padding: 0.75rem 1rem; }
  .stats-bar { flex-wrap: wrap; justify-content: center; padding: 2rem 1.5rem; }
  .stat { padding: 0.75rem 2rem; }
}
