/*
 * Kitchen Renovation Irvine - Style Sheet
 * Mobile-first responsive design (320px minimum width)
 * No external dependencies
 */

/* ============================================
   CSS VARIABLES - THEMING
   ============================================ */

:root {
  /* Colors - Light Theme */
  --background: #fafaf9;
  --foreground: #1c1917;
  --card: #ffffff;
  --card-foreground: #1c1917;
  --popover: #ffffff;
  --popover-foreground: #1c1917;
  --primary: #2d5016;
  --primary-foreground: #fafaf9;
  --secondary: #f5f5f4;
  --secondary-foreground: #1c1917;
  --muted: #f5f5f4;
  --muted-foreground: #78716c;
  --accent: #b87333;
  --accent-foreground: #fafaf9;
  --destructive: #dc2626;
  --destructive-foreground: #fafaf9;
  --border: #e7e5e4;
  --input: #e7e5e4;
  --ring: #2d5016;
  
  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;
  
  /* Container Widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

[data-theme="dark"] {
  --background: #1c1917;
  --foreground: #fafaf9;
  --card: #292524;
  --card-foreground: #fafaf9;
  --popover: #292524;
  --popover-foreground: #fafaf9;
  --primary: #2d5016;
  --primary-foreground: #fafaf9;
  --secondary: #44403c;
  --secondary-foreground: #fafaf9;
  --muted: #44403c;
  --muted-foreground: #a8a29e;
  --accent: #78350f;
  --accent-foreground: #fafaf9;
  --destructive: #dc2626;
  --destructive-foreground: #fafaf9;
  --border: #44403c;
  --input: #44403c;
  --ring: #2d5016;
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */

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

img, video, iframe, embed, object, svg {
  max-width: 100%;
  height: auto;
}

[class*="grid"] > *,
[class*="flex"] > *,
.service-card,
.portfolio-card,
.testimonial-card,
.pricing-card,
.diff-card,
.faq-item {
  min-width: 0;
}

pre, code, .code-block {
  max-width: 100%;
  overflow-x: auto;
}

p, li, td, th {
  overflow-wrap: break-word;
}

input, textarea, select {
  max-width: 100%;
}

/* ============================================
   BASE STYLES
   ============================================ */

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  min-height: 100vh;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--foreground);
}

h1 {
  font-size: 2rem;
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: 1.75rem;
  margin-bottom: var(--space-lg);
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

a:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

ul, ol {
  margin-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

li {
  margin-bottom: var(--space-sm);
}

strong {
  font-weight: 600;
}

small {
  font-size: 0.875rem;
}

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

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

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

.cta-center {
  text-align: center;
  margin-top: var(--space-2xl);
}

.section-intro {
  font-size: 1.125rem;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  text-align: center;
  color: var(--muted-foreground);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-bottom: var(--space-xl);
}

/* ============================================
   BUTTONS & CTAs
   ============================================ */

.cta-button {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.cta-button.primary {
  background-color: var(--accent);
  color: var(--accent-foreground);
  border-color: var(--accent);
}

.cta-button.primary:hover {
  background-color: #a05d28;
  border-color: #a05d28;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta-button.primary-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

.cta-button.secondary-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.cta-button.secondary-large:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
  text-decoration: none;
  transform: translateY(-2px);
}

.cta-button:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(250, 249, 249, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow var(--transition-normal);
}

[data-theme="dark"] .site-header {
  background-color: rgba(28, 25, 23, 0.98);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--space-lg);
  max-width: var(--container-xl);
  margin: 0 auto;
  gap: var(--space-lg);
}

.logo-area {
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
  color: var(--foreground);
}

.logo-link:hover {
  text-decoration: none;
}

.logo {
  display: block;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.nav-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-lg);
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-menu a:hover {
  color: var(--accent);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.phone-link {
  display: none;
  align-items: center;
  gap: var(--space-sm);
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
}

.phone-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.phone-icon {
  flex-shrink: 0;
}

.phone-number {
  white-space: nowrap;
}

.primary-cta {
  display: none;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--foreground);
  transition: background-color var(--transition-fast);
  flex-shrink: 0;
}

.theme-toggle:hover {
  background-color: var(--secondary);
}

.moon-icon {
  display: none;
}

[data-theme="dark"] .sun-icon {
  display: none;
}

[data-theme="dark"] .moon-icon {
  display: block;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
  flex-shrink: 0;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--foreground);
  transition: all var(--transition-normal);
  border-radius: 2px;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

.nav-menu.active {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 76px;
  right: 0;
  width: 100%;
  max-width: 300px;
  background-color: var(--card);
  box-shadow: var(--shadow-xl);
  padding: var(--space-xl);
  gap: var(--space-lg);
  border-left: 1px solid var(--border);
  max-height: calc(100vh - 76px);
  overflow-y: auto;
}

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

.hero-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, rgba(250, 249, 249, 1) 0%, rgba(245, 245, 244, 1) 100%);
}

[data-theme="dark"] .hero-section {
  background: linear-gradient(135deg, rgba(28, 25, 23, 1) 0%, rgba(41, 37, 36, 1) 100%);
}

.hero-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}

.hero-content h1 {
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: var(--space-xl);
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.trust-indicators {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
}

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

.trust-item span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.hero-image {
  width: 100%;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

/* ============================================
   SOCIAL PROOF SECTION
   ============================================ */

.social-proof-section {
  padding: var(--space-3xl) 0;
  background-color: #faf9f7;
}

[data-theme="dark"] .social-proof-section {
  background-color: #262220;
}

.social-proof-section h2 {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.testimonial-grid {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.testimonial-card {
  background-color: var(--card);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  min-width: 0;
}

.testimonial-header {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  align-items: flex-start;
}

.testimonial-header img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-info {
  flex: 1;
  min-width: 0;
}

.testimonial-name {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: var(--space-xs);
}

.testimonial-location {
  display: block;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: var(--space-sm);
}

.star-rating {
  display: flex;
  gap: 2px;
  color: var(--accent);
}

.testimonial-text {
  font-style: normal;
}

.testimonial-text p {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin: 0;
}

.aggregate-rating {
  text-align: center;
  padding: var(--space-xl);
  background-color: var(--secondary);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

.rating-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.rating-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.rating-stars {
  display: flex;
  gap: 4px;
  color: var(--accent);
}

.rating-text {
  font-size: 1rem;
  color: var(--muted-foreground);
}

.review-links {
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.testimonial-disclaimer {
  text-align: center;
  color: var(--muted-foreground);
  margin-bottom: var(--space-lg);
}

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

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

.services-section h2 {
  text-align: center;
}

.services-grid {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.service-card {
  background-color: var(--card);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  min-width: 0;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  color: var(--primary);
}

.service-card h3 {
  margin-bottom: var(--space-md);
  color: var(--foreground);
}

.service-card ul {
  margin-left: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--muted-foreground);
}

.service-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.services-description {
  max-width: 900px;
  margin: var(--space-2xl) auto;
  padding: 0 var(--space-lg);
}

.services-description h3 {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.services-description p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* ============================================
   PROCESS SECTION
   ============================================ */

.process-section {
  padding: var(--space-3xl) 0;
  background-color: var(--card);
}

.process-section h2 {
  text-align: center;
}

.process-timeline {
  max-width: 900px;
  margin: 0 auto var(--space-2xl);
}

.process-step {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  min-width: 0;
}

.step-number {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-serif);
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.375rem;
  margin-bottom: var(--space-sm);
}

.step-duration {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--secondary);
  color: var(--muted-foreground);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.step-details {
  list-style: none;
  margin-left: 0;
}

.step-details li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--muted-foreground);
}

.step-details li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.step-arrow {
  display: none;
}

.timeline-callout {
  background-color: var(--secondary);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
  margin-bottom: var(--space-xl);
}

.timeline-callout h4 {
  margin-bottom: var(--space-md);
  color: var(--foreground);
}

.timeline-callout p {
  margin-bottom: var(--space-sm);
  color: var(--foreground);
  font-weight: 500;
}

.timeline-note {
  margin-top: var(--space-md);
  font-style: italic;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */

.portfolio-section {
  padding: var(--space-3xl) 0;
  background-color: #3a3a3a;
  color: #ffffff;
}

[data-theme="dark"] .portfolio-section {
  background-color: #1a1715;
}

.portfolio-section h2 {
  text-align: center;
  color: #ffffff;
  margin-bottom: var(--space-2xl);
}

.portfolio-grid {
  display: grid;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.portfolio-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  min-width: 0;
}

.before-after-container {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: ew-resize;
}

.before-image,
.after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.before-image {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.before-image img,
.after-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-label {
  position: absolute;
  top: var(--space-md);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 3;
}

.before-image .image-label {
  left: var(--space-md);
}

.after-image .image-label {
  right: var(--space-md);
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: none;
}

.slider-handle svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.portfolio-details {
  padding: var(--space-xl);
}

.portfolio-details h3 {
  color: #ffffff;
  margin-bottom: var(--space-sm);
}

.project-scope {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.project-description {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.portfolio-description {
  max-width: 900px;
  margin: var(--space-2xl) auto;
  padding: 0 var(--space-lg);
  color: rgba(255, 255, 255, 0.9);
}

.portfolio-description p {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

/* ============================================
   COST GUIDE SECTION
   ============================================ */

.cost-section {
  padding: var(--space-3xl) 0;
  background-color: #faf9f7;
}

[data-theme="dark"] .cost-section {
  background-color: #262220;
}

.cost-section h2 {
  text-align: center;
}

.cost-disclaimer {
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
  padding: var(--space-lg);
  background-color: #fff3cd;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

[data-theme="dark"] .cost-disclaimer {
  background-color: #442c1f;
}

.cost-disclaimer svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.cost-disclaimer p {
  margin: 0;
  color: var(--foreground);
  font-size: 0.9375rem;
}

.pricing-tiers {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.pricing-card {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
  min-width: 0;
}

.pricing-card.featured {
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--primary);
}

.popular-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-bottom-left-radius: var(--radius-md);
}

.tier-header {
  padding: var(--space-xl);
  background-color: var(--secondary);
  text-align: center;
}

.tier-header h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.price-range {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-md);
  font-family: var(--font-serif);
}

.timeline-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background-color: var(--card);
  color: var(--muted-foreground);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
}

.tier-inclusions {
  padding: var(--space-xl);
  list-style: none;
  margin: 0;
}

.tier-inclusions li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
  color: var(--muted-foreground);
}

.tier-inclusions li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.tier-description {
  padding: 0 var(--space-xl) var(--space-xl);
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: var(--space-lg);
}

.cost-factors {
  max-width: 1000px;
  margin: var(--space-3xl) auto var(--space-2xl);
}

.cost-factors h3 {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.factors-grid {
  display: grid;
  gap: var(--space-xl);
}

.factor-item {
  background-color: var(--card);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.factor-item h4 {
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.factor-item p {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin: 0;
}

.financing-sidebar {
  max-width: 600px;
  margin: var(--space-2xl) auto;
  padding: var(--space-xl);
  background-color: var(--card);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
}

.financing-sidebar h4 {
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--primary);
}

.financing-sidebar ul {
  list-style: none;
  margin-left: 0;
}

.financing-sidebar li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
  color: var(--muted-foreground);
}

.financing-sidebar li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.financing-note {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.cost-cta {
  max-width: 700px;
  margin: var(--space-3xl) auto 0;
  text-align: center;
  padding: var(--space-2xl);
  background-color: var(--secondary);
  border-radius: var(--radius-lg);
}

.cost-cta h3 {
  margin-bottom: var(--space-md);
}

.cost-cta p {
  color: var(--muted-foreground);
  margin-bottom: var(--space-xl);
}

/* ============================================
   SERVICE AREA SECTION
   ============================================ */

.service-area-section {
  padding: var(--space-3xl) 0;
  background-color: var(--background);
}

.service-area-section h2 {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.area-content {
  max-width: 900px;
  margin: 0 auto var(--space-2xl);
}

.primary-area h3 {
  margin-bottom: var(--space-lg);
  color: var(--primary);
}

.primary-area p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin-bottom: var(--space-lg);
}

.irvine-neighborhoods {
  margin: var(--space-2xl) 0;
  padding: var(--space-xl);
  background-color: var(--card);
  border-radius: var(--radius-lg);
}

.irvine-neighborhoods h4 {
  margin-bottom: var(--space-lg);
  text-align: center;
}

.neighborhood-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.neighborhood-tag {
  padding: 0.5rem 1rem;
  background-color: var(--secondary);
  color: var(--foreground);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
}

.local-expertise {
  margin: var(--space-2xl) 0;
}

.local-expertise h4 {
  margin-bottom: var(--space-lg);
  color: var(--primary);
}

.local-expertise ul {
  list-style: none;
  margin-left: 0;
}

.local-expertise li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-lg);
  color: var(--muted-foreground);
}

.local-expertise li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.75rem;
}

.nearby-areas {
  margin-top: var(--space-3xl);
  padding: var(--space-xl);
  background-color: var(--card);
  border-radius: var(--radius-lg);
}

.nearby-areas h3 {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.nearby-areas > p {
  text-align: center;
  color: var(--muted-foreground);
  margin-bottom: var(--space-lg);
}

.nearby-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.area-tag {
  padding: 0.5rem 1rem;
  background-color: var(--secondary);
  color: var(--muted-foreground);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.area-note {
  text-align: center;
  color: var(--muted-foreground);
  font-style: italic;
}

.check-service-area {
  max-width: 600px;
  margin: var(--space-2xl) auto;
  padding: var(--space-xl);
  background-color: var(--secondary);
  border-radius: var(--radius-lg);
  text-align: center;
}

.check-service-area h3 {
  margin-bottom: var(--space-lg);
}

.zip-check-form {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.zip-check-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  background-color: var(--card);
  color: var(--foreground);
}

.zip-check-form input:focus {
  outline: none;
  border-color: var(--primary);
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
  padding: var(--space-3xl) 0;
  background-color: var(--background);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.faq-accordion {
  max-width: 900px;
  margin: 0 auto var(--space-2xl);
}

.faq-item {
  background-color: var(--card);
  margin-bottom: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  min-width: 0;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background-color: var(--secondary);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.125rem;
  color: var(--foreground);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform var(--transition-normal);
  color: var(--primary);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-answer.active {
  max-height: 2000px;
}

.faq-answer > * {
  padding: 0 var(--space-lg) var(--space-lg);
}

.faq-answer p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.faq-answer ul {
  color: var(--muted-foreground);
  margin-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.faq-answer li {
  margin-bottom: var(--space-sm);
}

/* ============================================
   DIFFERENTIATORS SECTION
   ============================================ */

.differentiators-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(to bottom, rgba(245, 245, 244, 0.5), rgba(250, 249, 249, 1));
}

[data-theme="dark"] .differentiators-section {
  background: linear-gradient(to bottom, rgba(68, 64, 60, 0.3), rgba(28, 25, 23, 1));
}

.differentiators-section h2 {
  text-align: center;
}

.differentiators-grid {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.diff-card {
  background-color: var(--card);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  min-width: 0;
}

.diff-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  color: var(--primary);
}

.diff-card h3 {
  margin-bottom: var(--space-md);
  color: var(--foreground);
}

.diff-card ul {
  list-style: none;
  margin-left: 0;
}

.diff-card li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
  color: var(--muted-foreground);
}

.diff-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.trust-badges {
  max-width: 1000px;
  margin: var(--space-3xl) auto var(--space-2xl);
  padding: var(--space-2xl);
  background-color: var(--secondary);
  border-radius: var(--radius-lg);
}

.trust-badges h3 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.badges-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}

.badge-item svg {
  color: var(--primary);
}

.badge-item p {
  margin: 0;
  color: var(--foreground);
}

.badge-item strong {
  display: block;
  margin-bottom: var(--space-xs);
}

.badge-item small {
  color: var(--muted-foreground);
}

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

.contact-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, rgba(245, 245, 244, 1) 0%, rgba(184, 115, 51, 0.1) 100%);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .contact-section {
  background: linear-gradient(135deg, rgba(41, 37, 36, 1) 0%, rgba(120, 53, 15, 0.2) 100%);
}

.contact-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.contact-header h2 {
  margin-bottom: var(--space-md);
}

.contact-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.contact-content {
  display: grid;
  gap: var(--space-2xl);
  max-width: var(--container-lg);
  margin: 0 auto;
}

.estimate-form {
  background-color: var(--card);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.form-row {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group label {
  font-weight: 500;
  color: var(--foreground);
  font-size: 0.9375rem;
}

.required {
  color: var(--destructive);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--destructive);
}

.error-message {
  color: var(--destructive);
  font-size: 0.875rem;
  display: none;
}

.error-message.active {
  display: block;
}

.form-help {
  color: var(--muted-foreground);
  font-size: 0.8125rem;
}

.submit-button {
  width: 100%;
  margin-top: var(--space-lg);
}

.privacy-note {
  margin-top: var(--space-lg);
  text-align: center;
  color: var(--muted-foreground);
}

.privacy-note svg {
  vertical-align: middle;
  margin-right: var(--space-xs);
  color: var(--primary);
}

.form-success {
  background-color: var(--card);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.form-success svg {
  color: var(--primary);
  margin-bottom: var(--space-lg);
}

.form-success h3 {
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.form-success p {
  color: var(--muted-foreground);
}

.benefits-column {
  background-color: var(--card);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.benefits-column h3 {
  margin-bottom: var(--space-lg);
  text-align: center;
  color: var(--primary);
}

.benefits-list {
  list-style: none;
  margin-left: 0;
  margin-bottom: var(--space-xl);
}

.benefits-list li {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  align-items: flex-start;
}

.benefits-list svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}

.benefits-list span {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.contact-alternative {
  padding: var(--space-xl);
  background-color: var(--secondary);
  border-radius: var(--radius-lg);
  text-align: center;
}

.contact-alternative h4 {
  margin-bottom: var(--space-md);
  color: var(--foreground);
}

.phone-cta {
  margin-bottom: var(--space-md);
}

.phone-link-large {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.phone-link-large:hover {
  color: var(--accent);
  text-decoration: none;
}

.hours {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-bottom: var(--space-md);
}

.response-time {
  font-size: 0.9375rem;
  color: var(--foreground);
}

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

.site-footer {
  background-color: #2d2d2d;
  color: #e7e5e4;
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.footer-columns {
  display: grid;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(231, 229, 228, 0.2);
}

.footer-column h4 {
  color: #ffffff;
  margin-bottom: var(--space-lg);
  font-size: 1.125rem;
}

.footer-column ul {
  list-style: none;
  margin: 0;
}

.footer-column li {
  margin-bottom: var(--space-md);
}

.footer-column a {
  color: #e7e5e4;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer-logo span {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: #a8a29e;
  margin-bottom: var(--space-lg);
}

.footer-address {
  font-style: normal;
  font-size: 0.9375rem;
  margin-bottom: var(--space-lg);
}

.footer-address p {
  margin-bottom: var(--space-sm);
}

.footer-address a {
  color: var(--accent);
  font-weight: 500;
}

.footer-hours {
  font-size: 0.9375rem;
}

.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(231, 229, 228, 0.1);
  color: #e7e5e4;
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background-color: var(--accent);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-cta {
  text-align: center;
  padding: var(--space-2xl);
  background-color: rgba(184, 115, 51, 0.1);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-2xl);
}

.footer-cta h3 {
  color: #ffffff;
  margin-bottom: var(--space-lg);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(231, 229, 228, 0.2);
}

.copyright {
  color: #a8a29e;
  font-size: 0.9375rem;
  margin-bottom: var(--space-md);
}

.disclaimer {
  color: #78716c;
  font-size: 0.8125rem;
  max-width: 800px;
  margin: 0 auto;
}

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

@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
  
  .container {
    padding-left: var(--space-2xl);
    padding-right: var(--space-2xl);
  }
  
  .header-container {
    padding: 1rem var(--space-2xl);
  }
  
  .menu-toggle {
    display: none;
  }
  
  .nav-menu {
    display: flex;
    flex-direction: row;
    position: static;
    max-width: none;
    background: none;
    box-shadow: none;
    padding: 0;
    border: none;
  }
  
  .phone-link {
    display: flex;
  }
  
  .primary-cta {
    display: inline-block;
  }
  
  .hero-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .trust-indicators {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-step {
    grid-template-columns: auto 1fr auto;
  }
  
  .step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
  }
  
  .process-step:last-child .step-arrow {
    display: none;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-tiers {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .factors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .differentiators-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .badges-row {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .contact-content {
    grid-template-columns: 1fr 400px;
  }
  
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-row:first-child {
    grid-template-columns: 1fr;
  }
  
  .footer-columns {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

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

@media (min-width: 1024px) {
  .logo-text {
    font-size: 2rem;
  }
  
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .differentiators-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

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

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

@media print {
  .site-header,
  .menu-toggle,
  .theme-toggle,
  .cta-button,
  .contact-section,
  .site-footer {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  
  a {
    text-decoration: underline;
  }
  
  a[href^="http"]:after {
    content: " (" attr(href) ")";
  }
}