/* =========================================================
   Sumter SC Drywall Pros — shared design system
   Palette:
     --bone     #FAF7F2  background
     --ink      #22303C  primary text
     --slate    #2F4B5E  brand / header / links
     --ochre    #C97A2E  accent / calls to action
     --sage     #7A8B6F  secondary accent (tags, checkmarks)
     --surface  #FFFFFF  cards
     --line     #E8E1D6  hairline borders
   Type:
     Display — 'Space Grotesk' (headlines, nav, buttons)
     Body    — 'Source Sans 3' (paragraphs, forms)
   Signature: a hand-set "orange-peel" stipple texture, generated in
   CSS, used as a section-divider motif — a literal reference to the
   drywall texture this business repairs and matches.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
  --bone: #FAF7F2;
  --ink: #22303C;
  --slate: #2F4B5E;
  --slate-dark: #1E3140;
  --ochre: #C97A2E;
  --ochre-dark: #A8611E;
  --sage: #7A8B6F;
  --surface: #FFFFFF;
  --line: #E8E1D6;
  --radius: 10px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4,
.display {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--slate-dark);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1.1em; }

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

img { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 2px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- texture-stipple signature motif ---------- */
.stipple {
  background-image: radial-gradient(rgba(34,48,60,0.07) 1.1px, transparent 1.1px);
  background-size: 13px 13px;
}
.stipple-light {
  background-image: radial-gradient(rgba(255,255,255,0.18) 1.1px, transparent 1.1px);
  background-size: 13px 13px;
}

/* ---------- sticky header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}
.brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--slate-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--slate);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-mark svg { width: 20px; height: 20px; }
.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
}
.main-nav a:hover { color: var(--ochre-dark); }

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ochre);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.header-call:hover { background: var(--ochre-dark); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--ochre); color: #fff; }
.btn-primary:hover { background: var(--ochre-dark); }
.btn-outline {
  background: transparent;
  color: var(--slate-dark);
  border-color: var(--slate-dark);
}
.btn-outline:hover { background: var(--slate-dark); color: #fff; }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- hero ---------- */
.hero {
  background: var(--slate-dark);
  color: #fff;
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1.4px, transparent 1.4px);
  background-size: 16px 16px;
  pointer-events: none;
}
.hero-photo {
  background-image:
    linear-gradient(180deg, rgba(20,32,42,0.90) 0%, rgba(20,32,42,0.80) 45%, rgba(20,32,42,0.94) 100%),
    url('/assets/wall-texture-closeup-sumter-sc.jpg');
  background-size: cover;
  background-position: center;
}
.hero-photo::after { display: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(201,122,46,0.18);
  color: #F0C27B;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero p.lede {
  font-size: 1.2rem;
  max-width: 46ch;
  color: #D8E0E6;
}

/* ---------- feature imagery ---------- */
.feature-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin: 8px 0 32px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hero-img-wrap {
  margin-top: 34px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}
.hero-img-wrap img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  display: block;
}

/* ---------- sections ---------- */
section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { margin-bottom: 0.4em; }
.card-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 14px;
}
.card a.card-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ochre-dark);
}

.tag {
  display: inline-block;
  background: rgba(122,139,111,0.15);
  color: var(--sage);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

ul.check { list-style: none; padding: 0; margin: 0 0 1.2em; }
ul.check li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
}
ul.check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--sage);
  font-weight: 700;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-item h3 { margin-bottom: 8px; }

blockquote.testimonial {
  background: var(--surface);
  border-left: 4px solid var(--ochre);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 0;
  font-style: italic;
}
blockquote.testimonial cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: 700;
  color: var(--slate-dark);
}

/* ---------- final CTA band ---------- */
.cta-band {
  background: var(--slate);
  color: #fff;
  text-align: center;
  padding: 54px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #D8E0E6; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--slate-dark);
  color: #C9D3D9;
  padding: 40px 0 90px;
  font-size: 0.95rem;
}
.site-footer a { color: #E9EDEF; }
.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 24px;
}
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  font-size: 0.85rem;
  color: #9FB0B8;
}

/* ---------- sticky mobile call bar ---------- */
.mobile-call-bar {
  display: none;
}
@media (max-width: 640px) {
  .mobile-call-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background: var(--ochre);
    color: #fff;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 0;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 -4px 14px rgba(0,0,0,0.15);
  }
  .header-call { display: none; }
  .main-nav { display: none; }
  body { padding-bottom: 66px; }
}

/* ---------- form ---------- */
.quote-form { display: grid; gap: 16px; max-width: 560px; }
.quote-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.quote-form textarea { min-height: 120px; resize: vertical; }

.two-col {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}
@media (max-width: 780px) {
  .two-col { grid-template-columns: 1fr; }
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--slate); }
