/* ==========================================================================
   Okie Coatings — Design System
   Palette: charcoal #2B2B2B, burnt orange #C1502E, cream #F5F0E6
   Orange reserved for CTAs + accents only.
   ========================================================================== */

:root {
  --charcoal: #2B2B2B;
  --charcoal-soft: #3a3a3a;
  --orange: #C1502E;
  --orange-dark: #a8401f;
  --cream: #F5F0E6;
  --cream-dark: #ebe3d2;
  --white: #ffffff;
  --gray: #6b6b6b;
  --line: #ddd6c6;

  --maxw: 1120px;
  --radius: 6px;
  --shadow: 0 8px 30px rgba(43, 43, 43, 0.10);
  --shadow-lg: 0 16px 50px rgba(43, 43, 43, 0.16);

  --font-head: 'Oswald', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Typography -------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
h1 { font-size: clamp(2.1rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* Layout ------------------------------------------------------------------ */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-charcoal { background: var(--charcoal); color: var(--cream); }
.section-charcoal h1, .section-charcoal h2, .section-charcoal h3 { color: var(--white); }
.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--orange);
  font-size: 0.85rem;
  margin-bottom: 12px;
  display: block;
}
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.05rem;
  padding: 16px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 6px 18px rgba(193,80,46,.35); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.section-charcoal .btn-outline { color: var(--cream); border-color: var(--cream); }
.btn-outline:hover { background: var(--charcoal); color: var(--cream); }
.section-charcoal .btn-outline:hover { background: var(--cream); color: var(--charcoal); }
.btn-block { width: 100%; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 48px; height: 48px; }
.brand-name {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: 1.25rem; letter-spacing: 1px; line-height: 1;
}
.brand-name span { display: block; font-size: 0.62rem; letter-spacing: 3px; color: var(--orange); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-family: var(--font-head); font-weight: 500; text-transform: uppercase;
  letter-spacing: 1px; font-size: 0.95rem; color: var(--charcoal);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.active { border-color: var(--orange); color: var(--orange); }
.nav .btn { padding: 10px 18px; font-size: 0.9rem; }

.header-call { display: none; } /* desktop uses nav */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--charcoal); margin: 5px 0; transition: .2s; }

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative; color: var(--white);
  background: linear-gradient(rgba(28,28,28,.62), rgba(28,28,28,.72)),
              url('../images/hero-floor.svg') center/cover no-repeat,
              var(--charcoal);
  padding: 96px 0 104px;
}
.hero h1 { color: var(--white); max-width: 16ch; }
.hero .subhead { font-size: clamp(1.1rem, 2.4vw, 1.45rem); margin: 18px 0 32px; max-width: 40ch; color: #f3eee2; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; font-size: .9rem; }
.hero-badges span { display: flex; align-items: center; gap: 8px; }
.hero-badges .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }

/* Price section ----------------------------------------------------------- */
.price-hero { text-align: center; }
.price-big {
  font-family: var(--font-head); font-weight: 700; line-height: .95;
  font-size: clamp(3rem, 12vw, 7rem); color: var(--orange);
}
.price-big small { display:block; font-size: clamp(1.1rem,3vw,1.8rem); color: var(--charcoal); letter-spacing: 2px; margin-top: 8px; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; text-align: left; }
.included {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
}
.included h3 { margin-bottom: 16px; }
.included li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.included li:last-child { border-bottom: 0; }
.check { color: var(--orange); font-weight: 800; flex-shrink: 0; }
.price-notes { display: flex; flex-direction: column; gap: 18px; }
.note {
  background: var(--white); border-left: 4px solid var(--orange);
  border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow);
}
.note strong { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; display:block; margin-bottom: 6px; font-size: 0.95rem; }
.math { display: flex; gap: 18px; flex-wrap: wrap; }
.math .card { flex: 1 1 180px; background: var(--charcoal); color: var(--cream); border-radius: var(--radius); padding: 22px; text-align: center; }
.math .card .n { font-family: var(--font-head); font-size: 2.1rem; color: var(--orange); line-height: 1; }
.math .card .l { font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }

/* Process ----------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.step { text-align: center; }
.step .icon {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.section-white .step .icon { background: var(--cream); }
.step .icon svg { width: 30px; height: 30px; stroke: var(--orange); fill: none; stroke-width: 2; }
.step .num { font-family: var(--font-head); color: var(--orange); font-size: .8rem; letter-spacing: 2px; }
.step h4 { font-size: 1rem; margin-top: 4px; }
.process-caption {
  text-align: center; margin-top: 38px; font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: 1px; font-size: 1.15rem; color: var(--orange);
}

/* Why one day / two-col --------------------------------------------------- */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.feature-list li { display: flex; gap: 14px; margin-bottom: 18px; }
.feature-list .ic {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--radius);
  background: var(--orange); color: var(--white); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700;
}
.compare { background: rgba(245,240,230,.06); border: 1px solid rgba(245,240,230,.18); border-radius: var(--radius); overflow: hidden; }
.compare .row { display: grid; grid-template-columns: 1fr 1fr; }
.compare .row > div { padding: 16px 20px; border-bottom: 1px solid rgba(245,240,230,.14); }
.compare .row > div:first-child { border-right: 1px solid rgba(245,240,230,.14); }
.compare .head { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; }
.compare .head .ok { color: var(--orange); }
.compare .row:last-child > div { border-bottom: 0; }

/* Flake colors ------------------------------------------------------------ */
.swatch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.swatch {
  border-radius: var(--radius); overflow: hidden; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.swatch .chip { height: 130px; background-size: 6px 6px, 9px 9px, 7px 7px; }
.swatch .label { padding: 14px 16px; }
.swatch .label .name { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; }
.swatch .label .desc { font-size: .85rem; color: var(--gray); }

/* Gallery ----------------------------------------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ba {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--cream-dark); border: 1px solid var(--line); aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}
.ba .placeholder {
  text-align: center; color: var(--gray); font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: 1px; padding: 20px;
}
.ba .placeholder svg { width: 46px; height: 46px; stroke: var(--gray); fill: none; stroke-width: 1.5; margin: 0 auto 10px; }
.ba .tag { position: absolute; top: 10px; left: 10px; background: var(--charcoal); color: var(--cream); font-family: var(--font-head); font-size: .72rem; letter-spacing: 1px; padding: 4px 10px; border-radius: 4px; text-transform: uppercase; }

/* Family ------------------------------------------------------------------ */
.family-photo {
  aspect-ratio: 4/3; border-radius: var(--radius); background: var(--cream-dark);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  color: var(--gray); font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; text-align: center; padding: 24px;
}
.family-photo svg { width: 54px; height: 54px; stroke: var(--gray); fill: none; stroke-width: 1.5; }

/* Reviews ----------------------------------------------------------------- */
.reviews-placeholder {
  background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 50px 30px; text-align: center; box-shadow: var(--shadow);
}
.reviews-placeholder .stars { color: var(--orange); font-size: 1.6rem; letter-spacing: 4px; }

/* Referral ---------------------------------------------------------------- */
.referral { text-align: center; }
.referral .amount { font-family: var(--font-head); font-size: clamp(3rem,10vw,6rem); color: var(--orange); line-height: 1; }

/* FAQ --------------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 44px 22px 0; position: relative;
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; font-size: 1.1rem; color: var(--charcoal);
}
.faq-q::after {
  content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.8rem; color: var(--orange); line-height: 1; transition: transform .2s;
}
.faq-q[aria-expanded="true"]::after { content: '–'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a .inner { padding: 0 0 22px; color: var(--charcoal-soft); }

/* Forms ------------------------------------------------------------------- */
.quote-form { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.section-charcoal .quote-form { color: var(--charcoal); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; font-size: .82rem; margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 1rem; background: var(--cream); color: var(--charcoal);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
.form-note { font-size: .82rem; color: var(--gray); margin-top: 14px; text-align: center; }
.form-success { display: none; background: #1f6b3a; color: #fff; padding: 16px; border-radius: var(--radius); margin-bottom: 16px; font-weight: 600; }

/* Final CTA --------------------------------------------------------------- */
.final-cta .cols-2 { align-items: start; }
.cta-points li { display: flex; gap: 12px; margin-bottom: 14px; align-items: center; }
.cta-points .check { font-size: 1.2rem; }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--charcoal); color: var(--cream); padding: 56px 0 110px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: var(--white); margin-bottom: 14px; font-size: 1.05rem; }
.site-footer a { color: var(--cream); opacity: .85; }
.site-footer a:hover { color: var(--orange); opacity: 1; }
.site-footer li { margin-bottom: 8px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 56px; height: 56px; }
.footer-bottom { border-top: 1px solid rgba(245,240,230,.16); margin-top: 36px; padding-top: 22px; font-size: .85rem; opacity: .7; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.areas { color: var(--cream); opacity: .85; font-size: .92rem; }

/* Sticky mobile call ------------------------------------------------------ */
.sticky-call {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--orange); color: var(--white); text-align: center;
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; padding: 16px; font-size: 1.1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
.sticky-call svg { width: 20px; height: 20px; vertical-align: -3px; margin-right: 8px; fill: currentColor; }

/* Page hero (supporting pages) -------------------------------------------- */
.page-hero { background: var(--charcoal); color: var(--cream); padding: 70px 0 60px; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: #e9e2d2; max-width: 56ch; margin-top: 12px; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px 14px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .swatch-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  section { padding: 56px 0; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 16px 20px 24px;
    gap: 4px; transform: translateY(-120%); transition: transform .22s ease; box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 8px; }
  .nav-toggle { display: block; }
  .price-grid { grid-template-columns: 1fr; }
  .cols-2 { grid-template-columns: 1fr; gap: 28px; }
  .compare .row { grid-template-columns: 1fr; }
  .compare .row > div:first-child { border-right: 0; }
  .sticky-call { display: block; }
  body { padding-bottom: 56px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 72px; }
}
@media (max-width: 480px) {
  .swatch-grid { grid-template-columns: 1fr 1fr; }
  .brand-name { font-size: 1.05rem; }
}

/* ==========================================================================
   Blog + Locations (added)
   ========================================================================== */

/* Breadcrumb */
.breadcrumb { font-size: .82rem; letter-spacing: .5px; margin-bottom: 14px; opacity: .9; }
.page-hero .breadcrumb a, .article .breadcrumb a { color: var(--orange); }
.breadcrumb span { opacity: .7; }

/* Blog index cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.post-cat {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 2px;
  font-size: .72rem; color: var(--orange); font-weight: 600;
}
.post-card h2 { font-size: 1.3rem; margin: 8px 0 6px; }
.post-card h2 a:hover { color: var(--orange); }
.post-meta { font-size: .8rem; color: var(--gray); margin-bottom: 10px; }
.post-link {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px;
  font-size: .85rem; color: var(--orange); font-weight: 600; margin-top: auto;
}
.post-card .post-link { padding-top: 10px; }

/* Article */
.article { padding: 48px 0 8px; }
.article .container { max-width: 760px; }
.article h1 { margin: 6px 0 10px; }
.article-meta { color: var(--gray); font-size: .9rem; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.article-body { font-size: 1.06rem; }
.article-body h2 { font-size: 1.5rem; margin: 32px 0 12px; }
.article-body p, .article-body li { color: var(--charcoal-soft); }
.article-body ul, .article-body ol { margin: 0 0 1rem 1.2rem; }
.article-body li { margin-bottom: 8px; list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body a { color: var(--orange); text-decoration: underline; font-weight: 500; }
.compare-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .95rem; }
.compare-table th, .compare-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.compare-table th { background: var(--cream); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .5px; font-size: .82rem; }

/* Related posts */
.related { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.related h3 { margin-bottom: 12px; }
.related li { list-style: none; margin-bottom: 8px; }
.related a { color: var(--orange); text-decoration: underline; }

/* Locations hub + city pages */
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.city-card {
  display: block; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .15s ease;
}
.city-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.city-card h2 { font-size: 1.35rem; margin-bottom: 6px; }
.city-card p { color: var(--gray); font-size: .92rem; margin-bottom: 12px; }
.city-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.city-links a {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px;
  font-size: .9rem; padding: 10px 18px; border: 1.5px solid var(--charcoal);
  border-radius: var(--radius); color: var(--charcoal);
}
.city-links a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

@media (max-width: 900px) {
  .post-grid, .city-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .post-grid, .city-grid { grid-template-columns: 1fr; }
}
