/* ── Design tokens ─────────────────────────────────────────── */
:root {
  --brand:     #0C3B2E;
  --brand-alt: #D5A15B;
  --accent:    #2F855A;
  --ink:       #1F2937;
  --muted:     #6B7280;
  --paper:     #FFFFFF;
  --bg-alt:    #F9FAFB;
  --border:    #E5E7EB;
  --radius:    8px;
  --max-w:     1200px;
  --pad:       clamp(16px, 4vw, 40px);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
ul { padding: 0; }

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  padding-inline: var(--pad);
  margin-inline: auto;
}
.section { padding-block: 56px; }
.section-alt { background: var(--bg-alt); padding-block: 56px; }
.section-divider { height: 1px; background: var(--border); }
.section-sub, .section-intro { color: var(--muted); margin-top: 4px; max-width: 640px; }

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.site-title {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.logo-mark { color: var(--brand); }
.logo-text  { color: var(--ink); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.primary-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: background 0.15s;
}
.primary-nav a:hover { background: var(--bg-alt); }
.primary-nav a.active { color: var(--brand); font-weight: 600; }
.nav-cta { margin-left: 8px; }
.primary-nav .nav-cta { background: var(--brand-alt); color: var(--ink); border-color: var(--brand-alt); }
.primary-nav .nav-cta:hover { background: var(--brand-alt); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px var(--pad);
    display: none;
    border-top: 1px solid var(--border);
    overflow-y: auto;
    z-index: 99;
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { width: 100%; padding: 12px 10px; font-size: 1.05rem; }
  .nav-cta { width: 100%; text-align: center; margin-left: 0; margin-top: 8px; }
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { opacity: 0.88; }
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-outline  { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-sm { padding: 7px 14px; font-size: 0.875rem; }
.btn-lg { padding: 13px 28px; font-size: 1rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  padding-block: 80px 72px;
  background: linear-gradient(135deg, #f0f7f4 0%, #e8f3ed 50%, #fdf8f1 100%);
}
.hero h1 {
  font-size: clamp(28px, 5.5vw, 52px);
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--ink);
}
.hero .lead { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--muted); max-width: 560px; margin: 0; }
.hero-phone { margin-top: 20px; font-size: 1.05rem; }
.hero-phone a { color: var(--brand); font-weight: 600; text-decoration: none; }
.hero-phone a:hover { text-decoration: underline; }

.page-hero {
  padding-block: 52px 44px;
  background: linear-gradient(135deg, #f0f7f4 0%, #e8f3ed 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(24px, 4vw, 40px); margin: 0 0 12px; }
.page-hero .lead { color: var(--muted); margin: 0; }

/* ── Proof bar ─────────────────────────────────────────────── */
.proofbar { background: var(--brand); color: #fff; padding-block: 14px; }
.proofbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.proofbar-inner .sep { opacity: 0.5; }
@media (max-width: 600px) { .proofbar-inner .sep { display: none; } }

/* ── Cards ─────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.card-img {
  height: 180px;
  background-color: #e0ede8;
  background-size: cover;
  background-position: center;
}
.card-img-kitchen  { background-image: url('images/kitchen.jpg'); }
.card-img-bath     { background-image: url('images/bath.jpg'); }
.card-img-flooring { background-image: url('images/flooring.jpg'); }
.card-img-refinish { background-image: url('images/refinish.jpg'); }
.card-body { padding: 20px; }
.card-body h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card-body p  { margin: 0 0 16px; color: var(--muted); font-size: 0.95rem; }

/* ── Process steps ─────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 24px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--border);
}
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.step h3 { margin: 0; font-size: 1rem; }
.step p  { margin: 0; color: var(--muted); font-size: 0.9rem; }


/* ── Reviews ───────────────────────────────────────────────── */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.testimonial {
  border-left: 4px solid var(--brand-alt);
  padding: 20px 20px 20px 24px;
  background: var(--paper);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  margin: 0;
}
.testimonial p  { margin: 0 0 12px; font-style: italic; }
.testimonial cite { font-style: normal; font-weight: 600; font-size: 0.9rem; color: var(--muted); }

/* ── CTA section ───────────────────────────────────────────── */
.cta-section {
  background: var(--brand);
  padding-block: 64px;
}
.cta-inner { text-align: center; color: #fff; }
.cta-inner h2 { margin: 0 0 12px; font-size: clamp(22px, 4vw, 36px); }
.cta-inner p  { margin: 0; opacity: 0.85; font-size: 1.05rem; }
.cta-inner .btn-group { justify-content: center; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  padding-bottom: 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  padding-bottom: 32px;
}
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-col a { color: var(--ink); text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent); }
.footer-col strong { font-size: 0.95rem; margin-bottom: 4px; }
.footer-brand { font-size: 1.05rem; color: var(--brand); }
.footer-col p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.footer-col p a { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 16px; }
.footer-bottom p { margin: 0; font-size: 0.85rem; color: var(--muted); }
.footer-note { max-width: 720px; margin-bottom: 12px !important; }
.footer-note a { color: var(--accent); }

/* ── Sticky mobile bar ─────────────────────────────────────── */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--brand);
  display: flex;
  z-index: 200;
}
.sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  gap: 6px;
}
.sticky-btn + .sticky-btn { border-left: 1px solid rgba(255,255,255,0.2); }
.sticky-btn-primary { background: var(--brand-alt); color: var(--ink); }
@media (min-width: 800px) { .sticky-bar { display: none; } }
body { padding-bottom: 56px; }
@media (min-width: 800px) { body { padding-bottom: 0; } }

/* ── Services page ─────────────────────────────────────────── */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.service-block-rev .service-img { order: -1; }
@media (max-width: 760px) {
  .service-block { grid-template-columns: 1fr; gap: 24px; }
  .service-block-rev .service-img { order: 0; }
}
.service-text h2 { margin: 0 0 12px; }
.service-text p  { color: var(--muted); }
.service-img {
  height: 300px;
  border-radius: 12px;
  background-color: #1a5c46;
  background-size: cover;
  background-position: center;
  background-image: url('images/kitchen-hero.jpg');
}
.service-img-bath     { background-color: #2e6da4; background-image: url('images/bath.jpg'); }
.service-img-flooring { background-color: #8b6914; background-image: url('images/flooring.jpg'); }
.service-img-refinish { background-color: #5c4a1e; background-image: url('images/refinish.jpg'); }
.feature-list {
  list-style: none;
  margin: 12px 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.feature-list li {
  padding: 4px 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.875rem;
  color: var(--ink);
}

/* ── About page ────────────────────────────────────────────── */
.about-block {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 760px) { .about-block { grid-template-columns: 1fr; } }
.about-text p { color: var(--muted); }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
  background: var(--paper);
}
.stat-box strong { font-size: 1.6rem; color: var(--brand); }
.stat-box span   { font-size: 0.8rem; color: var(--muted); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.why-card {
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--paper);
}
.why-card h3 { margin: 0 0 8px; font-size: 1rem; }
.why-card p  { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* ── Projects page ─────────────────────────────────────────── */
.gallery-placeholder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.gallery-slot {
  height: 220px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-slot span { color: var(--muted); font-size: 0.9rem; }

/* ── Contact page ──────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-main h2 { margin: 0 0 12px; }
.contact-main p  { color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contact-cta     { flex: 1; min-width: 200px; }
.contact-note    { margin-top: 16px; color: var(--muted); font-size: 0.9rem; }
.contact-aside h3 { margin: 0 0 12px; font-size: 1rem; }
.hours-list {
  list-style: none;
  margin: 0 0 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 0.9rem;
}
.hours-list li + li { border-top: 1px solid var(--border); }
.hours-list li span:last-child { color: var(--muted); }
.contact-aside p { color: var(--muted); font-size: 0.9rem; margin: 0 0 8px; }

/* ── Rental refresh panel ──────────────────────────────────── */
.rental-panel { background: linear-gradient(135deg, #0a3026 0%, #0C3B2E 100%); color: #fff; }
.rental-inner { display: grid; grid-template-columns: 1fr; }
.rental-text .eyebrow { display: inline-block; background: var(--brand-alt); color: var(--ink); font-size: 0.8rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.rental-text h2 { margin: 0 0 12px; font-size: clamp(20px, 3vw, 30px); }
.rental-text p  { color: rgba(255,255,255,0.85); margin: 0 0 16px; }
.rental-text .btn-primary { background: var(--brand-alt); color: var(--ink); border-color: var(--brand-alt); }
.check-list { list-style: none; margin: 0 0 24px; display: flex; flex-direction: column; gap: 8px; }
.check-list li::before { content: '✓  '; color: var(--brand-alt); font-weight: 700; }
.check-list li { color: rgba(255,255,255,0.9); font-size: 0.95rem; }

/* ── Service area pills (spans, not links now) ─────────────── */
.city-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.city-list span {
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 0.9rem;
  background: var(--paper);
}
.area-note { margin-top: 16px; font-size: 0.9rem; color: var(--muted); }

/* ── Reviews CTA block ─────────────────────────────────────── */
.reviews-cta-block { max-width: 520px; display: flex; flex-direction: column; gap: 16px; }
.stars-large { font-size: 2rem; line-height: 1; }
.reviews-cta-block p { margin: 0; color: var(--muted); }
.review-ask { font-size: 0.875rem !important; }

/* ── Photo gallery ─────────────────────────────────────────── */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.photo-gallery figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--paper);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.photo-gallery img { width: 100%; height: 360px; object-fit: cover; display: block; }
.photo-gallery figcaption { padding: 12px 16px; font-size: 0.9rem; color: var(--muted); }

/* ── Project categories ────────────────────────────────────── */
.project-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.project-cat {
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.project-cat h3 { margin: 0; font-size: 1.05rem; }
.project-cat p  { margin: 0; color: var(--muted); font-size: 0.9rem; flex: 1; }

/* ── Contact form ──────────────────────────────────────────── */
.quote-form { display: flex; flex-direction: column; gap: 16px; }
.form-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group  { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  width: 100%;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(12,59,46,0.12); }
.form-group textarea { resize: vertical; }
.req { color: var(--accent); }
.form-note { margin: 0; font-size: 0.85rem; color: var(--muted); }
.contact-phone { font-size: 1.4rem; font-weight: 700; color: var(--brand); text-decoration: none; display: inline-block; margin-bottom: 8px; }
.contact-phone:hover { text-decoration: underline; }

/* ── Accessibility ─────────────────────────────────────────── */
:focus-visible { outline: 3px solid var(--brand-alt); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
