/* ===================================================================
   LUMI CLEANING — design tokens
   bg: pitch black · text: gold (matches logo) · cream: alternating
   section backgrounds for rhythm · footer text: white
=================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600;700&display=swap');

:root{
  --bg: #000000;
  --surface: #121212;
  --surface-dim: #1a1a1a;
  --gold: #F2CB4E;
  --gold-rgb: 242,203,78;
  --ink: var(--gold);
  --ink-soft: rgba(var(--gold-rgb), 0.72);
  --accent: var(--gold);
  --accent-dark: #D1A82E;
  --sage: rgba(var(--gold-rgb), 0.16);
  --sage-dark: var(--gold);
  --coral: #D9645A;
  --line: rgba(var(--gold-rgb), 0.22);
  --white: #FFFFFF;

  /* cream — third color, used for alternating section backgrounds */
  --cream: #F3E8CE;
  --cream-ink: #201A0D;
  --cream-ink-rgb: 32,26,13;
  --cream-gold: #A5761C;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px -18px rgba(0,0,0,0.6);
  --max: 1140px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; display:block; -webkit-user-drag: none; user-select: none; }
a{ color: inherit; }

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 500; }
h2{ font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3{ font-size: 1.25rem; }
p{ margin: 0 0 1em; }

.container{
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------- cream section wrapper ----------
   Overriding the custom properties themselves means every component
   (cards, buttons, tags, icons) automatically re-colors correctly
   inside a cream section without needing separate style rules. */
.section-cream{
  background: var(--cream);
  --ink: var(--cream-ink);
  --ink-soft: rgba(var(--cream-ink-rgb), 0.66);
  --gold: var(--cream-gold);
  --surface: #FFFFFF;
  --surface-dim: #EAE0C4;
  --line: rgba(var(--cream-ink-rgb), 0.14);
  color: var(--ink);
  border-radius: 32px;
}
@media (max-width: 640px){ .section-cream{ border-radius: 20px; } }
.section-cream .reveal-tag{ background: rgba(0,0,0,0.6); color:#fff; }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width: 22px; height: 2px;
  background: var(--accent);
  display:inline-block;
}
.section-cream .eyebrow::before{ background: var(--cream-gold); }

section{ padding: 96px 0; }
@media (max-width: 720px){ section{ padding: 56px 0; } }

/* ---------- universal 1-inch black gap between every section ----------
   Margin (not padding) is what shows the page's black background between
   section boxes — this works correctly whether either section is cream
   or black, since the gap sits outside both boxes. */
section + section{ margin-top: 96px; }
main + footer{ margin-top: 96px; }
@media (max-width: 720px){
  section + section{ margin-top: 56px; }
  main + footer{ margin-top: 56px; }
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration:none;
  border: none;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary{
  background: var(--accent);
  color: #000000;
  box-shadow: 0 10px 24px -10px rgba(var(--gold-rgb),0.5);
}
.btn-primary:hover{ background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost{
  background: rgba(0,0,0,0.4);
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover{ border-color: var(--ink); transform: translateY(-2px); }
.btn-block{ width:100%; }

@media (prefers-reduced-motion: reduce){
  .btn, *{ transition:none !important; animation:none !important; }
}

/* ---------- nav ---------- */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: rgba(0,0,0,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 3px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.logo{
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration:none;
  color: var(--ink);
  display:flex; align-items:center; gap:8px;
}
.logo .dot{ color: var(--accent); }
.logo-img{
  height: 98px;
  width: auto;
  display:block;
}
footer .logo .logo-img{ height: 190px; }
.nav-links{
  display:flex; align-items:center; gap:26px;
  list-style:none; margin:0; padding:0;
}
.nav-links a{
  text-decoration:none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position:relative;
  padding: 4px 0;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active{ color: var(--ink); }
.nav-links a.active::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-4px;
  height:2px; background: var(--accent);
  border-radius: 2px;
}
.nav-cta{ display:flex; align-items:center; gap:18px; }
.nav-toggle{
  display:none;
  background:none; border:none; cursor:pointer;
  width: 32px; height: 24px; position:relative;
}
.nav-toggle span{
  position:absolute; left:0; right:0; height:2px; background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span:nth-child(1){ top:0; }
.nav-toggle span:nth-child(2){ top:11px; }
.nav-toggle span:nth-child(3){ top:22px; }

@media (max-width: 920px){
  .nav-links{
    position:fixed; inset: 104px 0 auto 0;
    background: var(--surface);
    flex-direction:column; align-items:flex-start;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-1200px);
    transition: transform .25s ease;
  }
  .nav-links.open{ transform: translateY(0); }
  .nav-toggle{ display:block; }
  .nav-cta .btn-primary-label{ display:none; }
}

/* ---------- hero (background photo) ---------- */
.hero{
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 64px 56px;
}
@media (max-width: 720px){ .hero{ min-height: 520px; padding: 48px 28px; border-radius: 20px; } }
.hero-bg-img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-scrim{
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.6) 38%,
    rgba(0,0,0,0.2) 68%,
    rgba(0,0,0,0) 88%);
  z-index: 1;
}
.hero-content{
  position: relative;
  z-index: 2;
  max-width: 620px;
}
.hero-lede{ font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-top: 28px; }

/* ---------- trust badges (licensed / bonded / insured) ---------- */
.badge-row{
  display:flex; gap:14px; flex-wrap:wrap;
  margin-top: 34px;
}
.badge-chip{
  display:inline-flex; align-items:center; gap:8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.badge-chip svg{ width:16px; height:16px; color: var(--gold); flex-shrink:0; }

/* ---------- cards ---------- */
.grid{ display:grid; gap: 24px; }
.grid-3{ grid-template-columns: repeat(3,1fr); }
.grid-2{ grid-template-columns: repeat(2,1fr); }
.grid-4{ grid-template-columns: repeat(4,1fr); }
.grid-4 .card{ padding: 26px 20px; }
@media (max-width: 1000px){ .grid-4{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px){ .grid-3{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .grid-3, .grid-2, .grid-4{ grid-template-columns: 1fr; } }

.card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.card-icon{
  width: 46px; height:46px;
  border-radius: 12px;
  background: var(--sage);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 18px;
  color: var(--gold);
}
.card-icon svg{ width:22px; height:22px; }
.card h3{ margin-bottom: 8px; }
.card p{ color: var(--ink-soft); font-size: 0.95rem; margin-bottom:0; }

.section-head{ max-width: 640px; margin-bottom: 52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- reviews ---------- */
.review-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.review-stars{
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.review-quote{
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 20px;
}
.review-name{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--gold);
}
.review-source{
  font-size: 0.78rem;
  color: var(--ink-soft);
  opacity: 0.7;
  margin-top: 2px;
}

/* ---------- process steps ---------- */
.steps{
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  counter-reset: step;
}
.steps-3{ grid-template-columns: repeat(3,1fr); }
@media (max-width: 900px){ .steps, .steps-3{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .steps, .steps-3{ grid-template-columns: 1fr; } }
.step{ position:relative; padding-left: 4px; }
.step-num{
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--accent);
  display:block;
  margin-bottom: 8px;
  font-weight: 600;
}
.step h3{ font-size: 1.05rem; }
.step p{ color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- band / cta ---------- */
.band{
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--gold);
  border-radius: 28px;
  padding: 64px;
  text-align:center;
}
.band h2{ color: var(--gold); }
.band p{ color: var(--ink-soft); max-width: 50ch; margin-left:auto; margin-right:auto; }
@media (max-width: 640px){ .band{ padding: 40px 24px; border-radius: 20px; } }

/* ---------- footer ---------- */
footer{
  border-top: 1px solid var(--line);
  padding: 48px 0 72px;
  color: var(--white);
}
.footer-grid{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap: 32px;
}
.footer-grid h4{ font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.08em; text-transform:uppercase; color: var(--white); margin-bottom: 14px; opacity:0.85; }
.footer-grid ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.footer-grid a{ text-decoration:none; color: var(--white); font-size:0.95rem; opacity: 0.82; }
.footer-grid a:hover{ opacity: 1; }

/* ---------- page hero (inner pages) ---------- */
.page-hero{
  padding-top: 56px;
  padding-bottom: 24px;
}
.page-hero p{ color: var(--ink-soft); max-width: 60ch; font-size: 1.05rem; }

/* ---------- zoom-on-hover (services & restoration photos) ---------- */
.zoom-hover{ overflow:hidden; }
.zoom-hover img{ transition: transform .6s ease; }
.zoom-hover:hover img{ transform: scale(1.08); }
@media (prefers-reduced-motion: reduce){ .zoom-hover:hover img{ transform:none; } }

/* ---------- scroll reveal ---------- */
.reveal-on-scroll{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-on-scroll.is-visible{
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce){
  .reveal-on-scroll{ opacity:1; transform:none; }
}

/* ---------- services page ---------- */
.service-row{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items:center;
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
}
.service-row:last-child{ border-bottom:none; }
@media (max-width: 820px){ .service-row{ grid-template-columns: 1fr; } }
.service-tag{
  display:inline-block;
  font-size: 0.75rem; font-weight:600; letter-spacing:0.08em; text-transform:uppercase;
  color: var(--gold);
  background: rgba(var(--gold-rgb),0.14);
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 14px;
}
.service-visual{
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  overflow:hidden;
  position:relative;
}
.service-list{ list-style:none; padding:0; margin: 18px 0 0; }
.service-list li{
  padding-left: 26px; position:relative; margin-bottom: 10px; color: var(--ink-soft); font-size: 0.95rem;
}
.service-list li::before{
  content:"";
  position:absolute; left:0; top:7px;
  width:14px; height:14px;
  border-radius:4px;
  background: var(--accent);
}

/* ---------- home restoration page ---------- */
.restoration-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.restoration-visual{
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}
.restoration-visual img{ width:100%; height:100%; object-fit:cover; }
.restoration-placeholder{
  width:100%; height:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:10px;
  background: var(--surface-dim);
  color: var(--ink-soft);
  border: 1.5px dashed var(--line);
  text-align:center;
  padding: 24px;
}
.restoration-placeholder svg{ width:30px; height:30px; opacity:0.6; }
.restoration-placeholder span{ font-size: 0.82rem; font-weight:600; }
.restoration-body{ padding: 26px 28px 30px; }
.restoration-body h3{ margin-bottom: 8px; }
.restoration-body p{ color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0; }

/* ---------- gallery / before-after slider ---------- */
.reveal{
  position:relative;
  border-radius: var(--radius);
  overflow:hidden;
  aspect-ratio: 3/4;
  cursor: ew-resize;
  user-select:none;
  box-shadow: var(--shadow);
  touch-action: none;
}
.reveal-after, .reveal-before{
  position:absolute; inset:0;
}
.reveal-after{ z-index:1; }
.reveal-before{ z-index:2; }
.reveal-tag{
  position:absolute; left:14px; top:14px;
  font-size: 0.7rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.6);
  color:#fff;
  z-index: 4;
  pointer-events: none;
}
.reveal-handle{
  position:absolute; top:0; bottom:0;
  width:4px; background:#fff;
  left:50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15), 0 0 16px rgba(0,0,0,0.35);
  z-index: 5;
  pointer-events: none;
}
.reveal-handle::after{
  content:"";
  position:absolute; top:50%; left:50%;
  transform: translate(-50%,-50%);
  width: 52px; height:52px;
  background:#fff; border-radius:50%;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.reveal-handle::before{
  content:"";
  position:absolute; top:50%; left:50%;
  transform: translate(-50%,-50%);
  width: 22px; height:22px;
  z-index:1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326362B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7l-5 5 5 5M16 7l5 5-5 5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}
.reveal-hint{
  position:absolute; left:50%; top:14px;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.62);
  color:#fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  z-index: 6;
  pointer-events:none;
  transition: opacity .3s ease;
  white-space: nowrap;
}
.reveal-hint.hide{ opacity:0; }
.gallery-caption{ margin-top: 14px; }
.gallery-caption h3{ margin-bottom: 4px; }
.gallery-caption p{ color: var(--ink-soft); font-size: 0.9rem; margin:0; }

/* ---------- contact / form ---------- */
.contact-wrap{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items:start;
}
@media (max-width: 900px){ .contact-wrap{ grid-template-columns:1fr; } }
.info-list{ list-style:none; padding:0; margin: 24px 0; }
.info-list li{ display:flex; gap:14px; margin-bottom:20px; align-items:flex-start; }
.info-list .ic{
  width:38px; height:38px; border-radius:10px; background: var(--surface-dim);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.info-list .ic svg{ width:18px; height:18px; color: var(--sage-dark); }
.info-list strong{ display:block; font-size:0.95rem; }
.info-list span{ color: var(--ink-soft); font-size:0.9rem; }

.form-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:560px){ .form-row{ grid-template-columns:1fr; } }
.field{ margin-bottom: 18px; }
.field label{
  display:block; font-size:0.85rem; font-weight:600; margin-bottom:6px; color: var(--ink);
}
.field input, .field select, .field textarea{
  width:100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb),0.25);
}
.field textarea{ resize: vertical; min-height: 100px; }
.form-note{ font-size: 0.82rem; color: var(--ink-soft); margin-top: 12px; }
.form-success{
  display:none;
  background: rgba(var(--gold-rgb),0.14);
  border: 1px solid rgba(var(--gold-rgb),0.4);
  color: var(--gold);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  margin-bottom: 18px;
  font-weight: 600;
}
.form-success.show{ display:block; }

/* keyboard focus visibility everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
