/* ============================================================
   LA HOME RENOVATIONS — Design System
   Warm Residential · Homeowner-Focused · Editorial
   Palette: Cream · Terracotta · Sage · Warm Wood
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

:root {
  --cream:       #f8f4ef;
  --cream-dark:  #ede7df;
  --warm-white:  #fdfaf7;
  --terra:       #c4684a;
  --terra-lt:    #d47b60;
  --terra-dk:    #a85038;
  --sage:        #7a9e87;
  --sage-lt:     #a0baa9;
  --sage-dk:     #5c7d69;
  --wood:        #8b6448;
  --charcoal:    #2d2822;
  --brown:       #5c4a38;
  --text:        #3a3028;
  --muted:       #8a7a6e;
  --faint:       #b8a898;
  --border:      rgba(44,34,24,0.1);
  --border-2:    rgba(44,34,24,0.18);
  --surface:     rgba(44,34,24,0.04);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', monospace;

  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.22s ease;
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--warm-white);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Utility ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1rem;
}
section { padding: 100px 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary { background: var(--terra); color: #fff; }
.btn-primary:hover { background: var(--terra-lt); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(196,104,74,0.3); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border-2); }
.btn-outline:hover { background: var(--surface); border-color: var(--terra); color: var(--terra); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253,250,247,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--transition);
  height: 72px;
  display: flex;
  align-items: center;
}
.site-nav.scrolled { box-shadow: 0 2px 20px rgba(44,34,24,0.1); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--terra);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.2;
  display: flex;
  flex-direction: column;
}
.nav-logo-text span { font-size: 0.72rem; font-family: var(--font-body); font-weight: 400; color: var(--muted); letter-spacing: 0.04em; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--muted); transition: color var(--transition); }
.nav-links a:hover { color: var(--terra); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-size: 0.88rem; font-weight: 600; color: var(--terra); }
.nav-phone:hover { color: var(--terra-dk); }
.mobile-toggle { background: none; border: none; cursor: pointer; color: var(--charcoal); display: none; }

@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .mobile-toggle { display: block; }
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--cream);
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(196,104,74,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow { margin-bottom: 1.25rem; }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero-headline em { font-style: italic; color: var(--terra); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--muted); }
.hero-trust-item svg { color: var(--terra); flex-shrink: 0; }

/* Hero visual: before/after cards */
.hero-visual { position: relative; }
.before-after-stack { position: relative; }
.ba-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(44,34,24,0.12);
}
.ba-card-main { position: relative; }
.ba-thumb {
  background: linear-gradient(135deg, var(--cream-dark), var(--cream));
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-thumb-icon { color: var(--terra); opacity: 0.3; }
.ba-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--terra);
  color: #fff;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 6px;
}
.ba-label.after { background: var(--sage); }
.ba-info { padding: 20px; }
.ba-info-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--charcoal); margin-bottom: 4px; }
.ba-info-detail { font-size: 0.82rem; color: var(--muted); }

.ba-card-secondary {
  position: absolute;
  top: -24px;
  right: -24px;
  width: 52%;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(44,34,24,0.15);
  z-index: 2;
}
.ba-thumb-sm {
  background: linear-gradient(135deg, var(--sage-lt), var(--sage));
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-info-sm { padding: 14px; }
.ba-info-sm-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; color: var(--charcoal); margin-bottom: 2px; }
.ba-info-sm-detail { font-size: 0.78rem; color: var(--muted); }

/* ── SERVICES ── */
.services-section { background: var(--warm-white); }
.services-head { text-align: center; margin-bottom: 56px; }
.services-head h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--charcoal); }
.services-head h2 em { font-style: italic; color: var(--terra); }
.services-head p { color: var(--muted); max-width: 520px; margin: 1rem auto 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.service-card:hover { border-color: rgba(196,104,74,0.4); box-shadow: 0 8px 32px rgba(196,104,74,0.1); transform: translateY(-2px); }
.service-card-icon { color: var(--terra); margin-bottom: 1.25rem; }
.service-card-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--charcoal); margin-bottom: 0.75rem; }
.service-card-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ── GALLERY ── */
.gallery-section { background: var(--cream); }
.gallery-head { margin-bottom: 48px; }
.gallery-head h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: var(--charcoal); }
.gallery-head h2 em { font-style: italic; color: var(--terra); }
.gallery-head p { color: var(--muted); margin-top: 0.75rem; max-width: 560px; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.gallery-item {
  background: var(--cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s;
  cursor: pointer;
  position: relative;
}
.gallery-item:hover { transform: scale(1.01); }
.gallery-item:first-child { grid-row: span 2; }
.gallery-item-inner { padding: 40px 24px; text-align: center; }
.gallery-item-icon { color: var(--terra); opacity: 0.3; margin: 0 auto; }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,34,24,0.7), transparent);
  opacity: 0;
  transition: opacity 0.22s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-caption { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: #fff; }

/* ── PROCESS ── */
.process-section { background: var(--charcoal); }
.process-head { text-align: center; margin-bottom: 64px; }
.process-head h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: var(--cream); }
.process-head h2 em { font-style: italic; color: var(--terra-lt); }
.process-head p { color: rgba(248,244,239,0.6); margin-top: 0.75rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 1px;
  background: rgba(196,104,74,0.3);
}
.process-step { text-align: center; }
.step-num-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--terra);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
}
.step-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--cream); margin-bottom: 8px; }
.step-desc { font-size: 0.85rem; color: rgba(248,244,239,0.55); line-height: 1.65; }

/* ── TESTIMONIALS ── */
.testi-section { background: var(--warm-white); }
.testi-head { text-align: center; margin-bottom: 56px; }
.testi-head h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: var(--charcoal); }
.testi-head h2 em { font-style: italic; color: var(--terra); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.testi-stars { color: var(--terra); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testi-quote { font-family: var(--font-display); font-size: 1.1rem; font-style: italic; color: var(--charcoal); line-height: 1.6; margin-bottom: 1.5rem; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--terra);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  flex-shrink: 0;
}
.testi-name { font-weight: 600; color: var(--charcoal); font-size: 0.9rem; }
.testi-role { font-size: 0.8rem; color: var(--muted); }

/* ── FAQ ── */
.faq-section { background: var(--cream); }
.faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.faq-left h2 { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 700; color: var(--charcoal); }
.faq-left h2 em { font-style: italic; color: var(--terra); }
.faq-left p { color: var(--muted); margin-top: 1rem; line-height: 1.7; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  gap: 16px;
}
.faq-question:hover { color: var(--terra); }
.faq-icon { font-size: 1.2rem; flex-shrink: 0; color: var(--terra); transition: transform 0.22s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--terra);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.cta-strip .container { position: relative; }
.cta-strip h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: #fff; font-weight: 700; margin-bottom: 1rem; }
.cta-strip p { color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto 2rem; font-size: 1.05rem; }
.cta-strip .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--terra); font-weight: 700; }
.btn-white:hover { background: var(--cream); transform: translateY(-1px); }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

/* ── FOOTER ── */
.footer {
  background: var(--charcoal);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand p { color: rgba(248,244,239,0.5); font-size: 0.9rem; line-height: 1.7; margin-top: 16px; max-width: 280px; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.footer-contact a { color: rgba(248,244,239,0.6); font-size: 0.88rem; transition: color 0.2s; }
.footer-contact a:hover { color: var(--terra-lt); }
.footer-col h5 { font-size: 0.75rem; font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(248,244,239,0.4); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.9rem; color: rgba(248,244,239,0.55); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--terra-lt); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: rgba(248,244,239,0.35); }
.footer-bottom a { color: rgba(248,244,239,0.35); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--terra-lt); }
.footer-legal { font-size: 0.78rem; color: rgba(248,244,239,0.25); line-height: 1.65; margin-top: 20px; }

/* ── Internal Launch Pages ── */
.page-hero {
  padding: 140px 0 72px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 0.98;
  color: var(--charcoal);
  max-width: 820px;
  margin-bottom: 1rem;
}
.page-hero h1 em { color: var(--terra); font-style: italic; font-weight: 500; }
.page-hero p { color: var(--muted); max-width: 740px; font-size: 1.06rem; }
.content-section { padding: 82px 0; background: var(--warm-white); }
.content-section.alt { background: var(--cream-dark); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.03;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.section-title em { color: var(--terra); font-style: italic; font-weight: 500; }
.lead-text { color: var(--muted); max-width: 720px; margin-bottom: 2rem; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.content-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 8px 32px rgba(38,34,31,0.04);
}
.content-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 0.7rem;
}
.content-card p, .content-card li { color: var(--muted); font-size: 0.94rem; }
.content-card ul { padding-left: 18px; margin-top: 0.8rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: start; }
.area-list { columns: 3; list-style: none; padding: 0; color: var(--muted); }
.area-list li { break-inside: avoid; margin-bottom: 10px; }
@media (max-width: 900px) {
  .content-grid, .two-col { grid-template-columns: 1fr; }
  .area-list { columns: 1; }
}

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.revealed { opacity: 1; transform: none; }

/* ── Mobile ── */
@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; }
  .ba-card-secondary { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-row: auto; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .services-grid, .gallery-grid, .process-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; }
}
