/* Boise Covered Patios — shared stylesheet
   Minimal, fast-loading, mobile-first. Warm-natural palette. */

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

:root {
  --color-bg: #faf8f5;
  --color-surface: #ffffff;
  --color-text: #2b2722;
  --color-muted: #6b6358;
  --color-primary: #3c4a3e;      /* deep evergreen-slate */
  --color-primary-dark: #2c382e;
  --color-accent: #c0612f;       /* cedar / terracotta */
  --color-accent-dark: #a44f24;
  --color-border: #e7e1d8;
  --color-soft: #f1ece4;
  --maxw: 1120px;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(43, 39, 34, .08), 0 8px 24px rgba(43, 39, 34, .06);
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;
}

* { 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(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--color-accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--color-primary-dark); font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin-bottom: .6em; }
h3 { font-size: 1.18rem; margin-bottom: .4em; }
p { margin-bottom: 1rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--soft { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--color-accent); margin-bottom: .5rem; }
.lead { font-size: 1.15rem; color: var(--color-muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  padding: .85rem 1.6rem; border-radius: 8px; cursor: pointer;
  transition: transform .15s ease, background .15s ease; border: 2px solid transparent; font-size: 1rem;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--color-accent); color: #fff; }
.btn--primary:hover { background: var(--color-accent-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-primary-dark); border-color: var(--color-border); }
.btn--ghost:hover { border-color: var(--color-primary); }
.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 245, .9);
  backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--color-border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1.25rem; max-width: var(--maxw); margin: 0 auto; }
.brand { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--color-primary-dark); display: flex; align-items: center; gap: .5rem; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 28px; height: 28px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; list-style: none; }
.nav-links a { color: var(--color-text); font-weight: 500; font-size: .97rem; }
.nav-links a:hover { color: var(--color-accent-dark); text-decoration: none; }
.nav-phone { font-family: var(--font-head); font-weight: 600; background: var(--color-accent); color: #fff !important; padding: .55rem 1.1rem; border-radius: 8px; display: inline-flex; align-items: center; gap: .4rem; transition: background .15s ease; }
.nav-phone:hover { background: var(--color-accent-dark); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--color-primary-dark); }

/* Hero */
.hero { background: linear-gradient(180deg, #f3efe8 0%, var(--color-bg) 100%); padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 span { color: var(--color-accent); }
.hero .lead { margin: 1.2rem 0 1.8rem; }
.hero__cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero__art { aspect-ratio: 4/3; border-radius: var(--radius); background:
  linear-gradient(135deg, #cdbfae 0%, #8a9a82 55%, #3c4a3e 100%); box-shadow: var(--shadow);
  position: relative; overflow: hidden; }
.hero__art::after { content: ""; position: absolute; inset: 0; background:
  repeating-linear-gradient(90deg, rgba(255,255,255,.10) 0 2px, transparent 2px 46px); }
.trust-row { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.8rem; color: var(--color-muted); font-size: .92rem; }
.trust-row span { display: flex; align-items: center; gap: .4rem; }
.trust-row strong { color: var(--color-primary-dark); }

/* Cards / grids */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.6rem; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon { width: 42px; height: 42px; color: var(--color-accent); margin-bottom: .9rem; }
.card h3 a { color: inherit; }
.card p { color: var(--color-muted); margin-bottom: .8rem; font-size: .97rem; }
.card .more { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--color-accent-dark); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery .tile { aspect-ratio: 4/3; border-radius: var(--radius); box-shadow: var(--shadow); }
.tile.g1 { background: linear-gradient(135deg, #b9a98f, #6d7a63); }
.tile.g2 { background: linear-gradient(135deg, #c9925f, #7a5230); }
.tile.g3 { background: linear-gradient(135deg, #9aa6a0, #3c4a3e); }
.tile.g4 { background: linear-gradient(135deg, #d3c4ad, #a98c63); }
.tile.g5 { background: linear-gradient(135deg, #8a9a82, #2c382e); }
.tile.g6 { background: linear-gradient(135deg, #c0612f, #6d3517); }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 3.4rem; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0;
  width: 2.3rem; height: 2.3rem; background: var(--color-primary); color: #fff; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; }

/* FAQ */
.faq details { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 10px; padding: 0 1.2rem; margin-bottom: .8rem; }
.faq summary { font-family: var(--font-head); font-weight: 600; cursor: pointer; padding: 1.1rem 0; list-style: none; color: var(--color-primary-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--color-accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--color-muted); padding-bottom: 1.1rem; margin: 0; }

/* CTA band */
.cta-band { background: var(--color-primary); color: #fff; border-radius: var(--radius); padding: clamp(2rem, 5vw, 3rem); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e7e1d8; max-width: 52ch; margin: 0 auto 1.5rem; }

/* Service page extras */
.breadcrumb { font-size: .88rem; color: var(--color-muted); padding-top: 1.5rem; }
.breadcrumb a { color: var(--color-muted); }
.prose h2 { margin-top: 1.6rem; }
.prose ul { margin: 0 0 1.2rem 1.2rem; color: var(--color-muted); }
.prose li { margin-bottom: .5rem; }
.split { display: grid; grid-template-columns: 1.4fr .9fr; gap: 2.5rem; align-items: start; }
.aside-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.6rem; position: sticky; top: 90px; }
.aside-card ul { list-style: none; margin: .6rem 0 0; }
.aside-card li { padding: .4rem 0; border-bottom: 1px dashed var(--color-border); font-size: .95rem; }
.aside-card li:last-child { border: 0; }

/* Footer */
.site-footer { background: var(--color-primary-dark); color: #cdc7bd; padding: 3rem 0 1.5rem; font-size: .93rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; }
.site-footer a { color: #cdc7bd; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .45rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; color: #9a9388; font-size: .85rem; }
.placeholder { background: rgba(192,97,47,.12); border-bottom: 1px dotted var(--color-accent); }

/* Responsive */
@media (max-width: 900px) {
  .hero__grid, .split { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .aside-card { position: static; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: 1rem 1.25rem; gap: .2rem; align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-links li { padding: .5rem 0; border-bottom: 1px solid var(--color-border); }
  .nav-toggle { display: block; }
  .grid--3, .grid--4, .grid--2, .gallery { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
