/* Shawn MacLean Construction — base.css (shared by every page) */
:root {
  --ink: #0c0c0c;
  --coal: #121212;
  --char: #1a1a1a;
  --stone: #232120;
  --stone-2: #2c2a28;
  --line: rgba(255,255,255,.12);
  --text: #ededeb;
  --muted: #b4b1ad;
  --red: #bf0909;          /* logo red — buttons/fills (white text 6.4:1) */
  --red-hi: #ff4b4b;       /* red for text/lines on dark (5.6:1 on #121212) */
  --red-dark: #8c0606;
  --steel: #9a9a9a;
  --radius: 10px;
  --wrap: 1200px;
  --head: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--coal); color: var(--text); font: 400 1rem/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.1; font-family: var(--head); }
ul { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; color: #000; padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--red-hi); outline-offset: 3px; }
.missing { background: #ffd400; color: #000; padding: 2px 6px; border-radius: 4px; font-weight: 700; font-size: .85em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .8em 1.5em; border-radius: 6px; font-weight: 700; text-decoration: none; letter-spacing: .02em; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s; font-family: inherit; font-size: .95rem; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #d40d0d; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: #000; }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(12,12,12,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: background .3s, padding .3s; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.brand img { width: 170px; height: auto; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 6px; }
.site-nav a, .dd-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--text); background: none; border: 0; cursor: pointer; font-family: inherit; }
.site-nav a:hover, .dd-btn:hover, .site-nav a[aria-current="page"] { color: var(--red-hi); }
.dd { position: relative; }
.dd-btn::after { content: ''; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.dd-menu { position: absolute; top: 100%; left: 0; min-width: 230px; background: #161616; border: 1px solid var(--line); border-radius: 8px; padding: 6px; display: none; box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.dd-menu.open { display: block; }
.site-nav .dd-menu ul { display: block; }
.dd-menu a { display: flex; width: 100%; padding: 0 12px; border-radius: 6px; }
.dd-menu a:hover { background: rgba(255,255,255,.06); }
.head-cta { display: flex; align-items: center; gap: 14px; }
.head-phone { font-weight: 700; text-decoration: none; white-space: nowrap; }
.head-phone:hover { color: var(--red-hi); }
.nav-toggle { display: none; width: 48px; height: 48px; background: none; border: 1px solid var(--line); border-radius: 8px; color: #fff; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .25s; }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .head-cta .btn, .head-phone { display: none; }
  .site-nav { position: fixed; inset: 78px 0 0 0; background: #0c0c0c; padding: 20px 22px; display: none; overflow-y: auto; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a, .dd-btn { font-size: 1.15rem; min-height: 52px; width: 100%; }
  .dd-menu { position: static; display: block; box-shadow: none; border: 0; padding-left: 14px; background: transparent; }
  .dd-btn::after { display: none; }
}

/* Footer */
.site-footer { background: #090909; border-top: 3px solid var(--red); padding: 64px 0 110px; color: var(--muted); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot-grid h2 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; font-family: var(--body); }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--red-hi); }
.foot-brand img { width: 200px; margin-bottom: 16px; }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; }
.foot-bottom a { color: var(--muted); }
.credit a { color: var(--muted); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* Sticky mobile call / quote bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; grid-template-columns: 1fr 1fr; background: #0c0c0c; border-top: 1px solid var(--line); }
.mobile-bar a { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; text-decoration: none; color: #fff; }
.mobile-bar a + a { background: var(--red); }
@media (max-width: 760px) { .mobile-bar { display: grid; } }

/* Version badge (review only) */
.version-badge { position: fixed; left: 14px; bottom: 14px; z-index: 95; background: #fff; color: #000; font-size: .78rem; font-weight: 700; padding: 8px 12px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
@media (max-width: 760px) { .version-badge { bottom: 70px; } }

/* Forms */
.form { display: grid; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form input, .form textarea, .form select { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 6px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.05); color: #fff; font: inherit; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--red-hi); outline: none; box-shadow: 0 0 0 3px rgba(255,75,75,.25); }
.form .hp { position: absolute; left: -9999px; }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }
.form-note a { color: var(--text); }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }

/* Reviews widget slot */
.reviews-widget { border: 1px dashed rgba(255,255,255,.3); border-radius: var(--radius); padding: 22px; text-align: center; color: var(--muted); margin-top: 28px; }

/* Inner pages */
.page-hero { position: relative; padding: 120px 0 70px; overflow: hidden; background: #0c0c0c; }
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 900; text-transform: uppercase; max-width: 900px; }
.page-hero p { max-width: 700px; font-size: 1.1rem; color: #dcdad6; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs ol { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; flex-wrap: wrap; }
.crumbs li + li::before { content: '/'; margin-right: 8px; }
.section { padding: 84px 0; }
.section.alt { background: var(--char); }
.eyebrow { display: inline-block; color: var(--red-hi); font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; }
.h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 900; text-transform: uppercase; }
.lead { font-size: 1.12rem; color: #dcdad6; max-width: 760px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.svc-block { padding: 56px 0; border-top: 1px solid var(--line); }
.svc-block:nth-child(even) .split > :first-child { order: 2; }
.svc-block h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); text-transform: uppercase; font-weight: 900; }
.svc-block h2 span { color: var(--red-hi); }
.svc-list { list-style: none; display: grid; gap: 8px; margin-top: 14px; }
.svc-list li { padding-left: 26px; position: relative; }
.svc-list li::before { content: ''; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; background: var(--red); transform: rotate(45deg); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; font-family: var(--head); }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.cta-band { background: var(--red); color: #fff; padding: 64px 0; text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); text-transform: uppercase; font-weight: 900; }
.cta-band .btn-ghost { border-color: #fff; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { background: var(--stone); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-card h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--body); color: var(--red-hi); margin-bottom: 6px; }
.contact-card a { font-size: 1.2rem; font-weight: 700; text-decoration: none; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .svc-block:nth-child(even) .split > :first-child { order: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Reveal fallback (JS overrides with inline !important) */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
