/* Market Llamax — homeowner guide styles (pure CSS, no frameworks) */
:root {
  /* Logo palette: royal indigo #3948A1, deep navy #0D1B48, peach #FCCB98 */
  --ink: #111a3b;
  --ink-2: #343c5c;
  --muted: #5a6183;
  --navy: #0d1b48;
  --navy-2: #1c2b66;
  --primary: #3948a1;
  --primary-dark: #2c3984;
  --primary-light: #5a69c8;
  --primary-soft: #eceefa;
  --accent: #fccb98;
  --accent-soft: #fef1e3;
  --bg: #f4f5fb;
  --card: #ffffff;
  --line: #e0e3f0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(13, 27, 72, .05), 0 8px 24px rgba(13, 27, 72, .07);
  --shadow-lg: 0 2px 4px rgba(13, 27, 72, .06), 0 22px 48px rgba(13, 27, 72, .13);
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Figtree", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 940px; }

/* Inline SVG icons */
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Top bar + header ---------- */
.top-bar {
  background: var(--navy);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 0;
  font-weight: 600;
}
.site-header {
  position: static;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; }
.header-logo { height: 52px; width: auto; max-width: 240px; object-fit: contain; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 700; font-size: 16px; line-height: 1.2;
  padding: 14px 26px; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(57, 72, 161, .28); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-nav-cta { padding: 11px 20px; font-size: 15px; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); padding: 10px 20px; font-size: 15px; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-lg { padding: 17px 34px; font-size: 17px; }

/* ---------- Headings ---------- */
.hl {
  background: linear-gradient(transparent 62%, var(--accent) 62%, var(--accent) 92%, transparent 92%);
  padding: 0 .06em;
}
.hl-text { color: var(--accent); }
.section { padding: 88px 0; }
.section-alt { background: var(--bg); }
.section-head { text-align: center; max-width: 860px; margin: 0 auto 44px; }
.section-head h2, .h2 {
  font-family: var(--head); font-weight: 700; font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.06; letter-spacing: -.005em;
}
.section-head h2::after {
  content: ""; display: block; width: 56px; height: 4px; border-radius: 4px;
  background: var(--accent); margin: 18px auto 0;
}
.section-head p { color: var(--muted); font-size: 18px; margin: 16px 0 0; }

/* ---------- Hero ---------- */
.hero { background: var(--bg); padding: 56px 0 0; }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center;
  grid-template-areas: "copy media" "stats media";
}
.hero-copy { grid-area: copy; }
.hero-media { grid-area: media; position: relative; }
.hero-stats { grid-area: stats; }
.hero h1 {
  font-family: var(--head); font-weight: 700; font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.02; letter-spacing: -.01em;
}
.hero-sub { font-size: 19px; color: var(--ink-2); margin: 20px 0 22px; max-width: 600px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.hero-meta li { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .ic { width: 17px; height: 17px; color: var(--primary); }
.hero-meta strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; }
.hero-cta small { color: var(--muted); font-size: 14px; }
.hero-photo {
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; z-index: 1;
}
.hero-photo img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; }
.hero-media::before {
  content: ""; position: absolute; right: -18px; bottom: -18px; width: 62%; height: 58%;
  background: var(--accent-soft); border-radius: 22px; z-index: 0;
}
.hero-tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px);
  border-radius: 12px; padding: 10px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow); max-width: calc(100% - 36px);
}
.hero-tag .ic { width: 18px; height: 18px; color: var(--primary); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; }
.stat {
  background: #fff; border-radius: 14px; padding: 16px 16px 14px; box-shadow: var(--shadow);
  border: 1px solid #e6e8f4;
}
.stat b { display: block; font-family: var(--head); font-size: 40px; line-height: 1; color: var(--primary); font-weight: 700; }
.stat span { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.35; margin-top: 6px; }

.hero-strip {
  margin-top: 56px; border-top: 1px solid var(--line); padding: 34px 0 60px;
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
}
.strip-badges { display: flex; gap: 12px; }
.strip-badge {
  width: 112px; border-radius: 14px; background: #fff; border: 1px solid var(--line); padding: 14px 10px;
  text-align: center; font-size: 12.5px; font-weight: 700; line-height: 1.25; color: var(--ink);
}
.strip-badge .ic { width: 34px; height: 34px; margin: 0 auto 8px; display: block; color: var(--primary); stroke-width: 1.6; }
.hero-strip p { margin: 0; font-size: 17.5px; color: var(--ink-2); }
.hero-strip p strong { color: var(--ink); }

/* ---------- Cost factors (dark band) ---------- */
.cost {
  position: relative; color: #fff; padding: 84px 0;
  background:
    linear-gradient(180deg, rgba(13, 27, 72, .93), rgba(13, 27, 72, .96)),
    url("../images/content_image4.webp") center / cover no-repeat;
}
.cost .section-head h2 { color: #fff; }
.cost .section-head p { color: #cfd4ec; }
.cost-card {
  background: #fff; color: var(--ink); border-radius: 22px; padding: 14px;
  display: grid; grid-template-columns: 340px 1fr; gap: 0; box-shadow: 0 30px 60px rgba(5, 12, 36, .4);
}
.cost-photo { border-radius: 14px; overflow: hidden; position: relative; min-height: 100%; }
.cost-photo img { width: 100%; height: 100%; object-fit: cover; }
.cost-body { padding: 26px 30px 22px 34px; }
.cost-body h3 { font-size: 22px; font-weight: 700; text-align: center; margin-bottom: 20px; }
.factor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; }
.factor {
  display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start;
  border: 1.5px solid #e3e6f2; border-radius: 12px; padding: 14px; transition: border-color .2s, box-shadow .2s;
}
.factor:hover { border-color: #c3c9ec; box-shadow: var(--shadow); }
.factor-ic {
  width: 46px; height: 46px; border-radius: 10px; background: var(--accent-soft); color: var(--primary);
  display: grid; place-items: center;
}
.factor-ic .ic { width: 24px; height: 24px; }
.factor h4 { margin: 0 0 4px; font-size: 15.5px; line-height: 1.3; }
.factor p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.cost-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px;
}
.cost-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); flex: 1 1 340px; margin: 0; }
.cost-note .ic { width: 20px; height: 20px; color: var(--primary); margin-top: 2px; }

/* ---------- Styles bento ---------- */
.bento {
  display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 16px;
}
.tile { position: relative; border-radius: var(--radius); overflow: hidden; margin: 0; background: #dfe2ef; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover img { transform: scale(1.03); }
.tile-lg { grid-row: span 2; }
.tile-wide { grid-column: span 2; }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(9, 18, 50, .86));
}
.tile figcaption strong { display: block; font-family: var(--head); font-size: 26px; line-height: 1.1; letter-spacing: .01em; }
.tile figcaption span { display: block; font-size: 14.5px; line-height: 1.45; color: #e6e8f5; margin-top: 4px; max-width: 460px; }

.finish-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.panel-title { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.panel-title h3 { font-size: 21px; }
.panel-title .ic-wrap { width: 42px; height: 42px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.panel p { color: var(--ink-2); font-size: 16px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px 12px; list-style: none; margin: 4px 0 16px; }
.swatches li { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); width: 58px; text-align: center; line-height: 1.2; }
.swatches i { display: block; width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #d4d8ea; }
.panel .fine { font-size: 14.5px; color: var(--muted); margin: 0; }
.glass-list { list-style: none; display: grid; gap: 10px; }
.glass-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.glass-list li strong { color: var(--ink); }
.glass-chip { width: 34px; height: 34px; border-radius: 8px; border: 1px solid #cdd2ea; }
.g-clear { background: linear-gradient(135deg, #eef0fb, #d2d7f1); }
.g-privacy { background: repeating-linear-gradient(45deg, #dcdfef 0 3px, #f4f5fb 3px 6px); }
.g-deco { background: radial-gradient(circle at 50% 50%, transparent 30%, #d9a677 31% 36%, transparent 37%), linear-gradient(135deg, #eef0fb, #d7dbf2); }
.g-blinds { background: repeating-linear-gradient(180deg, #f7f8fc 0 4px, #d6d9ea 4px 6px); }
.g-lowe { background: linear-gradient(135deg, #e4e7f8, #b8bfe6); }

/* ---------- Comparison table ---------- */
.compare-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--head); font-size: 22px; font-weight: 700; background: #f7f8fc; letter-spacing: .01em; }
.compare thead th.is-focus { background: var(--primary); color: #fff; }
.compare tbody th { font-weight: 700; width: 19%; color: var(--ink); }
.compare td { color: var(--ink-2); }
.compare td.is-focus { background: #f0f2fb; color: var(--ink); font-weight: 500; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.table-note { font-size: 14.5px; color: var(--muted); margin: 14px 4px 0; }

/* ---------- Build quality cards ---------- */
.build-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.build-card {
  display: grid; grid-template-columns: 150px 1fr; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.build-art {
  background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #fff; display: grid; place-items: center; position: relative;
}
.build-art .ic { width: 58px; height: 58px; stroke-width: 1.4; color: #fff; }
.build-art b { position: absolute; top: 12px; left: 14px; font-family: var(--head); font-size: 18px; color: var(--accent); }
.build-body { padding: 24px 26px; }
.build-body h3 { font-size: 21px; color: var(--primary); line-height: 1.25; }
.build-body h3::after { content: ""; display: block; width: 90px; height: 2px; background: var(--accent); margin: 12px 0 12px; }
.build-body p { margin: 0; font-size: 15.5px; color: var(--ink-2); }

/* ---------- Patio ---------- */
.patio-feature { background: #fff; border-radius: 20px; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); display: grid; grid-template-columns: 1.35fr 1fr; }
.patio-feature img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.patio-checks { padding: 34px 36px; align-self: center; }
.patio-checks h3 { font-family: var(--head); font-size: 28px; line-height: 1.1; margin-bottom: 18px; letter-spacing: .01em; }
.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16.5px; color: var(--ink); }
.check-list .ic { width: 22px; height: 22px; color: #fff; background: var(--primary); border-radius: 50%; padding: 4px; stroke-width: 3; margin-top: 2px; }
.patio-types { display: grid; grid-template-columns: 340px 1fr; gap: 22px; margin-top: 22px; align-items: stretch; }
.patio-photo { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.patio-photo img { width: 100%; height: 100%; object-fit: cover; }
.type-list { display: grid; gap: 14px; }
.type-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.type-card .ic-wrap { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--primary); display: grid; place-items: center; }
.type-card h3 { font-size: 19px; margin-bottom: 4px; }
.type-card p { margin: 0; font-size: 15.5px; color: var(--ink-2); }

/* ---------- Installation ---------- */
.install-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.steps { list-style: none; counter-reset: step; position: relative; }
.steps li { position: relative; padding: 0 0 26px 64px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--head); font-size: 21px; font-weight: 700; display: grid; place-items: center;
}
.steps li::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: 4px; width: 2px; background: #d6daec; }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 18.5px; margin: 8px 0 4px; }
.steps p { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.consider { background: var(--navy); color: #e3e6f5; border-radius: 20px; padding: 30px; position: sticky; top: 24px; }
.consider h3 { color: #fff; font-family: var(--head); font-size: 28px; margin-bottom: 18px; letter-spacing: .01em; }
.consider ul { list-style: none; display: grid; gap: 16px; }
.consider li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 15px; line-height: 1.55; }
.consider li .ic { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.consider strong { color: #fff; display: block; font-size: 16px; }

/* ---------- Installers ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; text-align: center; box-shadow: var(--shadow);
}
.trust .ic-wrap { width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 14px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.trust .ic-wrap .ic { width: 30px; height: 30px; }
.trust h3 { font-size: 18px; margin-bottom: 8px; }
.trust p { margin: 0; font-size: 15px; color: var(--ink-2); }
.ask-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; margin-top: 18px; }
.ask-list { list-style: none; counter-reset: q; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; margin-top: 6px; }
.ask-list li { counter-increment: q; display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.ask-list li::before {
  content: counter(q); width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: var(--navy);
  font-weight: 700; font-size: 14px; display: grid; place-items: center;
}
.flags { background: #fff7ef; border: 1px solid #f6dcc0; border-radius: var(--radius); padding: 28px; }
.flags .panel-title .ic-wrap { background: var(--accent); color: var(--navy); }
.flags ul { list-style: none; display: grid; gap: 10px; }
.flags li { position: relative; padding-left: 20px; font-size: 15.5px; color: var(--ink-2); }
.flags li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: #e09a5c; }
.center-cta { text-align: center; margin-top: 40px; }
.center-cta p { color: var(--muted); font-size: 15px; margin: 12px 0 0; }

/* ---------- Voices ---------- */
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.voice { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin: 0; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.voice .ic { width: 30px; height: 30px; color: var(--accent); fill: var(--accent); stroke: none; margin-bottom: 12px; }
.voice blockquote { margin: 0 0 18px; font-size: 16.5px; color: var(--ink); line-height: 1.6; flex: 1; }
.voice figcaption { font-size: 14px; color: var(--muted); font-weight: 600; border-top: 1px solid var(--line); padding-top: 12px; }
.voice-note { text-align: center; font-size: 14px; color: var(--muted); margin: 18px 0 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { border-color: #c6cbec; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-weight: 700; font-size: 17px; position: relative; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233948a1' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--ink-2); font-size: 16px; }

/* ---------- Bottom CTA ---------- */
.cta-section {
  padding: 84px 0 64px; color: #fff; text-align: center;
  background:
    linear-gradient(180deg, rgba(13, 27, 72, .9), rgba(13, 27, 72, .97)),
    url("../images/content_image1.webp") center / cover no-repeat;
}
.cta-box { max-width: 820px; margin: 0 auto; }
.cta-section .btn-primary { background: var(--primary-light); box-shadow: 0 6px 18px rgba(5, 12, 36, .4); }
.cta-section .btn-primary:hover { background: var(--primary); }
.cta-box h2 { font-family: var(--head); font-size: clamp(34px, 4.6vw, 52px); line-height: 1.05; color: #fff; }
.cta-box .cta-lead { color: #d5d9ef; font-size: 18.5px; margin: 16px auto 28px; max-width: 640px; }
.cta-disclaimer { margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16); }
.cta-disclaimer p { color: #c6cbe6; font-size: 14px; line-height: 1.65; margin: 0 0 10px; }
.cta-disclaimer a { color: #fff; }
.cta-disclaimer .fine { font-size: 12.5px; color: #b0b7da; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 40px 0 34px; font-size: 14.5px; color: var(--muted); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.footer-logo { height: 48px; width: auto; max-width: 220px; object-fit: contain; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--primary); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding-top: 20px; }
.footer-identity p { margin: 0 0 4px; }
.footer-identity a { color: var(--ink-2); }
.footer-copy { margin: 0; }

/* ---------- Subpages ---------- */
.page-hero { background: var(--bg); padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-family: var(--head); font-size: clamp(38px, 5vw, 56px); line-height: 1.04; }
.page-hero h1 .hl { padding: 0 .04em; }
.page-hero p { color: var(--ink-2); font-size: 18.5px; margin: 14px 0 0; max-width: 680px; }
.page-body { padding: 56px 0 80px; }
.page-grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.aside-sticky { display: grid; gap: 16px; position: sticky; top: 24px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.side-card-accent { background: var(--navy); border-color: var(--navy); color: #dde1f3; }
.side-title { font-family: var(--head); font-size: 20px; font-weight: 700; margin: 0 0 10px; letter-spacing: .01em; }
.side-card-accent .side-title { color: #fff; }
.page-nav { display: grid; gap: 2px; }
.page-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.page-nav a:hover { background: var(--bg); color: var(--ink); }
.page-nav a.is-current { background: var(--primary-soft); color: var(--primary); }
.aside-line { margin: 0 0 6px; font-size: 15px; word-break: break-word; }
.side-card-accent a { color: #fff; }
.prose { max-width: 760px; }
.prose h2 { font-family: var(--head); font-size: 30px; line-height: 1.15; margin: 34px 0 10px; }
.prose h2:first-child, .prose .updated + h2 { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 22px; margin: 0 0 1em; display: grid; gap: 6px; }
.prose-numbered { counter-reset: sec; }
.prose-numbered h2 { counter-increment: sec; display: flex; gap: 12px; align-items: baseline; }
.prose-numbered h2::before { content: counter(sec, decimal-leading-zero); color: var(--primary); font-size: .8em; flex: none; }
.updated { display: inline-block; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 14px; color: var(--muted); margin-bottom: 26px !important; }
.reach-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 10px 0 8px; }
.reach-item { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; font-size: 15px; color: var(--ink-2); word-break: break-word; }
.reach-item svg { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reach-item strong { display: block; color: var(--ink); }
.contact-form { display: grid; gap: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin: 6px 0 10px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; color: var(--ink); }
.contact-form input, .contact-form textarea {
  font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 10px; border: 1px solid #cdd1e6; background: #fff; color: var(--ink); width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(57, 72, 161, .18); }
.contact-form .btn { justify-self: start; }
.form-note { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .cost-card { grid-template-columns: 260px 1fr; }
  .factor-grid { grid-template-columns: 1fr; }
  .build-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .ask-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "media" "stats"; gap: 28px; }
  .hero-media::before { right: -10px; bottom: -10px; }
  .hero-photo img { aspect-ratio: 16 / 11; }
  .hero-strip { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; padding-bottom: 48px; }
  .cost { padding: 64px 0; }
  .cost-card { grid-template-columns: 1fr; padding: 10px; }
  .cost-photo img { aspect-ratio: 16 / 10; height: auto; }
  .cost-body { padding: 22px 12px 14px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 340px 240px 240px; }
  .tile-lg { grid-row: auto; grid-column: span 2; }
  .tile-wide { grid-column: span 2; }
  .finish-grid { grid-template-columns: 1fr; }
  .patio-types { grid-template-columns: 1fr; }
  .patio-feature { grid-template-columns: 1fr; }
  .patio-feature img { min-height: 0; aspect-ratio: 16 / 9; height: auto; }
  .consider { position: static; }
  .patio-photo img { aspect-ratio: 4 / 3; height: auto; }
  .install-grid { grid-template-columns: 1fr; }
  .voice-grid { grid-template-columns: 1fr; }
  .page-grid { grid-template-columns: 1fr; gap: 32px; }
  .aside-sticky { position: static; }
  .page-aside { order: 2; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .container { padding: 0 16px; }
  .header-inner { min-height: 66px; }
  .header-logo { height: 44px; max-width: 46vw; }
  .footer-logo { height: 44px; max-width: 70vw; }
  .btn-nav-cta { padding: 10px 16px; font-size: 14px; }
  .hero-sub { font-size: 17.5px; }
  .hero-cta .btn { width: 100%; }
  .stat b { font-size: 34px; }
  .strip-badges { justify-content: flex-start; }
  .strip-badge { width: auto; flex: 1; }
  .section-head { margin-bottom: 32px; }
  .section-head p { font-size: 16.5px; }
  .factor { grid-template-columns: 40px 1fr; gap: 12px; padding: 12px; }
  .factor-ic { width: 40px; height: 40px; }
  .cost-foot .btn { width: 100%; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 280px; }
  .tile-lg, .tile-wide { grid-column: auto; }
  .panel { padding: 22px; }
  .compare-wrap { background: transparent; border: 0; box-shadow: none; overflow: visible; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tbody tr { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow); }
  .compare tbody th { width: 100%; background: var(--navy); color: #fff; padding: 12px 16px; border: 0; font-family: var(--head); font-size: 20px; }
  .compare td { padding: 10px 16px 10px 112px; position: relative; min-height: 44px; }
  .compare td::before { content: attr(data-label); position: absolute; left: 16px; top: 10px; font-weight: 700; color: var(--ink); font-size: 14px; }
  .compare tbody tr:last-child td { border-bottom: 1px solid var(--line); }
  .compare tbody tr td:last-child { border-bottom: 0; }
  .build-card { grid-template-columns: 1fr; }
  .build-art { min-height: 120px; }
  .build-body { padding: 20px; }
  .patio-checks { padding: 22px 20px 24px; }
  .patio-checks h3 { font-size: 24px; }
  .type-card { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
  .consider { padding: 24px 20px; }
  .trust-grid { grid-template-columns: 1fr; }
  .ask-list { grid-template-columns: 1fr; }
  .flags { padding: 22px; }
  .center-cta .btn { width: 100%; }
  .faq summary { font-size: 16px; padding: 18px 54px 18px 18px; }
  .faq details p { padding: 0 18px 18px; }
  .cta-section { padding: 64px 0 48px; }
  .cta-box .btn { width: 100%; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .reach-list { grid-template-columns: 1fr; }
  .contact-form { padding: 18px; }
  .contact-form .btn { width: 100%; }
  .prose h2 { font-size: 26px; }
}

/* Utilities */
.sr-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
figure { margin: 0; }
