:root {
  --rust: #A9592C;
  --espresso: #7E371E;
  --gold: #C08A4E;
  --slate: #7C879C;
  --paper: #F6F1EA;
  --ink: #2B2622;
  --white: #FFFFFF;
  --radius: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--rust); }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  border: 2px solid transparent;
}

.btn-cta { background: var(--rust); color: var(--white); }
.btn-cta:hover { background: var(--espresso); }

.btn-outline { background: transparent; color: var(--rust); border-color: var(--rust); }
.btn-outline:hover { background: var(--rust); color: var(--white); }

/* Header */
.site-header { background: var(--white); }

.header-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
}

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}

.site-nav { display: flex; gap: 18px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.site-nav a:hover { color: var(--rust); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.header-cta { white-space: nowrap; }

.swatch-strip { display: flex; height: 8px; }
.swatch-strip span { flex: 1; }
.swatch-strip span:nth-child(1) { background: var(--rust); }
.swatch-strip span:nth-child(2) { background: var(--espresso); }
.swatch-strip span:nth-child(3) { background: var(--gold); }
.swatch-strip span:nth-child(4) { background: var(--slate); }

@media (max-width: 700px) {
  .nav-toggle { display: inline-block; order: 3; }
  .site-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    order: 4;
    padding-top: 12px;
    gap: 10px;
  }
  .site-nav.is-open { display: flex; }
  .header-row { flex-wrap: wrap; }
  .header-cta { order: 2; }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--ink), #453A32);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}

.hero h1 { font-size: 2.5rem; margin: 0 0 12px; }
.hero-tagline { font-size: 1.15rem; max-width: 600px; margin: 0 auto 28px; opacity: 0.9; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Section spacing */
.services-teaser, .services-section, .gallery-teaser, .gallery-section,
.about-section, .contact-info, .quote-section, .contact-strip { padding: 56px 0; }

/* Service grid (home teaser) */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.service-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: var(--ink);
  border-top: 4px solid var(--rust);
}

.service-card h3 { margin-top: 0; color: var(--ink); }
.service-card p { margin-bottom: 0; color: #55504A; }

/* Photo grids */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.photo-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
}

/* Before/after pairs */
.pair-grid { display: grid; gap: 32px; margin-top: 20px; }
.pair-card { background: var(--white); border-radius: var(--radius); padding: 20px; }
.pair-images { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.pair-images figure { margin: 0; flex: 1; min-width: 160px; }
.pair-images img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); cursor: pointer; }
.pair-images figcaption { text-align: center; font-weight: 600; margin-top: 6px; color: var(--slate); }

/* Services page blocks */
.service-block { display: flex; gap: 28px; align-items: center; padding: 28px 0; border-bottom: 1px solid #E3D9CB; }
.service-block img { width: 320px; height: 220px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.service-block:nth-child(even) { flex-direction: row-reverse; }

@media (max-width: 700px) {
  .service-block, .service-block:nth-child(even) { flex-direction: column; }
  .service-block img { width: 100%; height: 200px; }
}

/* Contact / quote form */
.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.quote-section form { display: grid; gap: 6px; max-width: 520px; }
.quote-section label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; margin-top: 10px; }
.quote-section input, .quote-section select, .quote-section textarea {
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid #C9BBA0;
  font: inherit;
}

.field-error { color: var(--espresso); font-size: 0.875rem; min-height: 1.2em; }

.form-status { font-weight: 600; margin-top: 14px; }
.form-status-error { color: var(--espresso); }
.form-status-success { color: #2E6B3E; }
.form-status-pending { color: var(--slate); }

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-image { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 40px 0; margin-top: 40px; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-row a { color: var(--gold); }

@media (max-width: 700px) {
  .contact-info { grid-template-columns: 1fr; }
}
