/* ============================================================
   JUSTICE INSTALLATIONS - SHARED DESIGN SYSTEM
   Grab Bar Installation, Oklahoma City Metro
   Static, no build step. Load on every page.
   ============================================================ */

/* ---------- Brand tokens ---------- */
:root {
  --navy:      #0f2044;
  --navy-mid:  #1a3566;
  --navy-deep: #0a1730;
  --gold:      #c9a84c;
  --gold-lt:   #e8c97a;
  --gold-dark: #8f6b12;
  --white:     #ffffff;
  --off:       #f5f7fa;
  --off-2:     #eef2f8;
  --gray:      #6b7280;
  --gray-dk:   #4b5563;
  --line:      #e5e9f0;
  --text:      #111827;
  --r:         6px;
  --r-lg:      14px;
  --r-xl:      22px;
  --shadow-sm: 0 1px 2px rgba(15,32,68,.06), 0 2px 8px rgba(15,32,68,.05);
  --shadow-md: 0 6px 24px rgba(15,32,68,.09), 0 2px 8px rgba(15,32,68,.06);
  --shadow-lg: 0 18px 48px rgba(15,32,68,.14);
  --maxw:      1180px;
  --nav-h:     76px;
  --ease:      cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.06rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; color: var(--navy); line-height: 1.14; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.15rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.28rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.18rem; }
h2 em, h1 em { font-style: italic; color: var(--gold-dark); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
.eyebrow {
  display: inline-block; font-family: 'DM Sans', sans-serif; font-weight: 700;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: .85rem;
}
.lead { font-size: clamp(1.1rem, 1.7vw, 1.32rem); color: var(--gray-dk); line-height: 1.6; }

/* ---------- Layout ---------- */
.container { width: 92%; max-width: var(--maxw); margin: 0 auto; }
.container-narrow { width: 92%; max-width: 820px; margin: 0 auto; }
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
section[id], header[id] { scroll-margin-top: 88px; }
.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3.25rem); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.bg-off { background: var(--off); }
.bg-navy { background: var(--navy); color: #dfe6f2; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy .lead { color: #b7c4dc; }
.grid { display: grid; gap: clamp(1.1rem, 2.2vw, 1.8rem); }
.split { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.4rem, 4vw, 3rem); align-items: start; }
@media (max-width: 700px) { .split { grid-template-columns: 1fr; } }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; top: -60px; left: 1rem; z-index: 500;
  background: var(--gold); color: var(--navy); padding: 10px 16px;
  border-radius: var(--r); font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 200; height: var(--nav-h);
  background: rgba(15,32,68,.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.22), inset 0 -1px 0 rgba(201,168,76,.18);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; width: 94%; max-width: 1280px; margin: 0 auto; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .6rem; }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-text-main { display: block; font-family: 'Playfair Display', serif; font-weight: 800; color: var(--white); font-size: 1.14rem; line-height: 1; }
.logo-text-main span { color: var(--gold-lt); }
.logo-text-sub { display: block; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: #8fa1c4; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: .3rem; }
.nav-links a { color: #cfd8ea; font-weight: 500; font-size: .96rem; padding: .55rem .7rem; border-radius: var(--r); transition: color .18s, background .18s; }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.07); }
.nav-links a.active { color: var(--gold-lt); }
.nav-cta {
  background: var(--gold); color: var(--navy) !important; font-weight: 700 !important;
  padding: .62rem 1.15rem !important; border-radius: var(--r); margin-left: .5rem;
  display: inline-flex; align-items: center; gap: .4rem; transition: background .18s, transform .18s;
}
.nav-cta:hover { background: var(--gold-lt); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2px; width: 24px; background: var(--white); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--navy-deep); flex-direction: column; align-items: stretch;
    gap: 0; padding: .5rem 5% 1.5rem; box-shadow: var(--shadow-lg);
    transform: translateY(-120%); transition: transform .3s var(--ease); max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: .95rem .6rem; font-size: 1.08rem; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav-cta { margin: .8rem 0 0; justify-content: center; padding: .95rem 1.15rem !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; font-size: 1.02rem; padding: .95rem 1.6rem; border-radius: var(--r);
  border: 2px solid transparent; transition: transform .18s var(--ease), background .18s, box-shadow .18s, border-color .18s;
  line-height: 1.2; text-align: center; min-height: 52px;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: 0 6px 18px rgba(201,168,76,.32); }
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(201,168,76,.4); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--gold); background: var(--off); }
.btn-ghost-light { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.28); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.1rem; min-height: 58px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.btn-row.center { justify-content: center; }

/* ---------- Badge / pill ---------- */
.badge { display: inline-flex; align-items: center; gap: .45rem; background: rgba(201,168,76,.14); color: var(--gold-dark); font-weight: 700; font-size: .82rem; padding: .4rem .85rem; border-radius: 100px; letter-spacing: .02em; }
.badge svg { width: 15px; height: 15px; }
.badge-navy { background: rgba(255,255,255,.1); color: var(--gold-lt); }
.pill { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .28rem .7rem; border-radius: 100px; }
.pill-essential { background: #e8eef7; color: var(--navy-mid); }
.pill-signature { background: #efe3c6; color: var(--gold-dark); }
.pill-designer  { background: var(--navy); color: var(--gold-lt); }
.pill-soon { background: #fff4d6; color: var(--gold-dark); }
.pill-owner { background: #fde7e1; color: #a8471f; }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%); color: #dfe6f2; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 420px at 82% -8%, rgba(201,168,76,.22), transparent 60%); pointer-events: none; }
.hero-wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,4vw,3.5rem); align-items: center; padding: clamp(3rem,6vw,5.5rem) 0 clamp(3.2rem,6vw,5.5rem); }
.hero h1 { color: var(--white); margin-bottom: 1.1rem; }
.hero h1 em { color: var(--gold-lt); }
.hero-sub { font-size: clamp(1.08rem,1.7vw,1.3rem); color: #c3cfe4; margin-bottom: 1.7rem; max-width: 34ch; }
.hero-badge { margin-bottom: 1.3rem; }
.hero-art { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: linear-gradient(150deg, #22407a, #16305f 60%, #0f2044); }
@media (max-width: 900px) {
  .hero-wrap { grid-template-columns: 1fr; text-align: left; }
  .hero-art { display: none; }
  .hero-sub { max-width: 46ch; }
}

/* ---------- Cards ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-pad { padding: clamp(1.4rem, 2.5vw, 2rem); }
.card-icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: rgba(201,168,76,.13); margin-bottom: 1.1rem; }
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-dark); stroke-width: 1.7; }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--gray-dk); font-size: 1rem; }
.card-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-weight: 700; color: var(--navy); }
.card-link svg { width: 16px; height: 16px; transition: transform .18s; }
.card:hover .card-link svg { transform: translateX(4px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Path cards (two customer journeys) ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.1rem,2.2vw,1.8rem); }
.path-card { position: relative; border-radius: var(--r-xl); padding: clamp(1.8rem,3vw,2.6rem); overflow: hidden; border: 1px solid var(--line); }
.path-home { background: linear-gradient(155deg, #ffffff, var(--off-2)); }
.path-parent { background: linear-gradient(155deg, var(--navy), var(--navy-mid)); color: #d9e2f2; }
.path-parent h3 { color: var(--white); }
.path-parent .path-eyebrow { color: var(--gold-lt); }
.path-eyebrow { font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); }
.path-card h3 { font-size: clamp(1.4rem,2.4vw,1.9rem); margin: .5rem 0 .7rem; }
.path-card p { margin-bottom: 1.4rem; }
.path-home p { color: var(--gray-dk); }
@media (max-width: 780px) { .paths { grid-template-columns: 1fr; } }

/* ---------- Steps / how it works ---------- */
.steps { counter-reset: step; display: grid; gap: 1.1rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem 1.5rem; }
.step-num { counter-increment: step; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold-lt); font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; }
.step-num::before { content: counter(step); }
.step h4 { margin-bottom: .25rem; }
.step p { color: var(--gray-dk); font-size: .98rem; margin: 0; }

/* ---------- Feature list ---------- */
.check-list { display: grid; gap: .7rem; }
.check-list li { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; }
.check-list li:not(:has(.ico))::before { content: "\2713"; color: var(--gold-dark); font-weight: 800; }
.check-list .ico { width: 24px; height: 24px; border-radius: 50%; background: rgba(201,168,76,.15); display: grid; place-items: center; margin-top: 2px; }
.check-list .ico svg { width: 14px; height: 14px; stroke: var(--gold-dark); stroke-width: 2.4; fill: none; }

/* ---------- Finish swatches ---------- */
.swatches { display: flex; flex-wrap: wrap; gap: .8rem; }
.swatch { display: flex; align-items: center; gap: .55rem; font-size: .92rem; font-weight: 600; color: var(--gray-dk); }
.swatch .dot { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); box-shadow: inset 0 -2px 4px rgba(0,0,0,.12); flex: none; }
.sw-brushed-stainless { background: linear-gradient(135deg,#d7dade,#a9adb3 60%,#c7cbd0); }
.sw-polished-stainless { background: linear-gradient(135deg,#f2f4f7,#b9bfc7 55%,#e9ecf0); }
.sw-chrome { background: linear-gradient(135deg,#eef2f6,#9aa3ad 55%,#d9dee4); }
.sw-brushed-nickel { background: linear-gradient(135deg,#d8d4cb,#ada69a 60%,#cfcabf); }
.sw-matte-black { background: #23262b; }
.sw-white { background: #fbfbfb; }
.sw-bronze { background: linear-gradient(135deg,#8c6a44,#5f4327 60%,#7c5a38); }
.sw-specialty { background: conic-gradient(from 45deg,#c9a84c,#8f6b12,#c9a84c); }

/* ---------- Product cards ---------- */
.product-card { display: flex; flex-direction: column; overflow: hidden; }
.product-media { aspect-ratio: 4/3; background: var(--off-2); display: grid; place-items: center; position: relative; border-bottom: 1px solid var(--line); }
.product-media svg { width: 46%; height: 46%; opacity: .5; }
.product-media .pill { position: absolute; top: .8rem; left: .8rem; }
.product-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.22rem; margin-bottom: .3rem; }
.product-collection { font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .7rem; }
.product-body .swatches { margin: .5rem 0 1rem; }
.product-status { font-size: .86rem; color: var(--gray); font-style: italic; margin-top: auto; }
.product-actions { margin-top: 1rem; display: flex; gap: .6rem; flex-wrap: wrap; }

/* ---------- Filter bar ---------- */
.filterbar { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; margin-bottom: 2.2rem; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 1.5rem 0 2.2rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.2vw, 1.8rem); }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .product-grid { grid-template-columns: 1fr; } }
.filter-group { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.filter-group .flabel { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); margin-right: .2rem; }
.chip { border: 1.5px solid var(--line); background: var(--white); color: var(--gray-dk); font-weight: 600; font-size: .92rem; padding: .5rem 1rem; border-radius: 100px; transition: .16s; }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chip:hover { border-color: var(--gold); }

/* ---------- Pricing ---------- */
.price-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-block-head { background: var(--navy); color: var(--white); padding: 1.2rem 1.6rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.price-block-head h3 { color: var(--white); font-size: 1.35rem; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; padding: .95rem 1.6rem; border-bottom: 1px solid var(--line); }
.price-table th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); font-weight: 700; background: var(--off); }
.price-table td:last-child, .price-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.price-amt { font-weight: 800; color: var(--navy); font-size: 1.1rem; }
.price-note { font-size: .9rem; color: var(--gray); }
.price-tbc { font-weight: 700; color: var(--gold-dark); font-size: .95rem; }
.provisional-note { display: inline-flex; align-items: center; gap: .5rem; background: #fff4d6; color: var(--gold-dark); font-weight: 600; font-size: .9rem; padding: .7rem 1rem; border-radius: var(--r); }
.price-stack { display: grid; gap: 1.25rem; margin-top: 1.5rem; }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 1.35rem .2rem; font-size: 1.14rem; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: 'DM Sans', sans-serif; }
.faq-q .fa-ico { flex: none; width: 26px; height: 26px; position: relative; transition: transform .25s; }
.faq-q .fa-ico::before, .faq-q .fa-ico::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2.3px; background: var(--gold-dark); transform: translate(-50%,-50%); border-radius: 2px; transition: opacity .25s, transform .25s; }
.faq-q .fa-ico::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .fa-ico::after { opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a-inner { padding: 0 .2rem 1.4rem; color: var(--gray-dk); max-width: 68ch; }

/* ---------- Trust strip ---------- */
.trust-strip { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--gray-dk); font-size: .98rem; }
.trust-item svg { width: 22px; height: 22px; stroke: var(--gold-dark); fill: none; stroke-width: 1.8; flex: none; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(150deg, var(--navy), var(--navy-mid)); color: #d9e2f2; border-radius: var(--r-xl); padding: clamp(2.2rem,5vw,3.8rem); text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% -20%, rgba(201,168,76,.22), transparent 60%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); }
.cta-band .lead, .cta-band p { color: #cdd8ec; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: #9fb0cf; padding: clamp(3rem,5vw,4rem) 0 2rem; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer h4 { color: var(--white); font-family: 'DM Sans', sans-serif; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer a { color: #9fb0cf; transition: color .16s; }
.footer a:hover { color: var(--gold-lt); }
.footer-links { display: grid; gap: .55rem; }
.footer-brand p { max-width: 34ch; margin-top: .8rem; color: #8497b8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .88rem; color: #7688a8; }
.footer-legal { max-width: 60ch; line-height: 1.5; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Breadcrumb / page hero ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy-deep), var(--navy) 70%); color: #d9e2f2; padding: clamp(2.6rem,5vw,4.2rem) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 88% 0%, rgba(201,168,76,.18), transparent 60%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); max-width: 22ch; }
.page-hero .lead { color: #bccbe4; max-width: 56ch; margin-top: .9rem; }
.crumbs { font-size: .85rem; color: #8fa1c4; margin-bottom: 1rem; }
.crumbs a:hover { color: var(--gold-lt); }

/* ---------- Callout ---------- */
.callout { border-left: 4px solid var(--gold); background: var(--off); padding: 1.2rem 1.4rem; border-radius: 0 var(--r) var(--r) 0; }
.callout strong { color: var(--navy); }
.owner-flag { display: inline-flex; align-items: center; gap: .45rem; background: #fde7e1; color: #a8471f; font-weight: 700; font-size: .82rem; padding: .35rem .8rem; border-radius: 100px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.muted { color: var(--gray); }
.small { font-size: .88rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.hidden { display: none !important; }

/* ============================================================
   ESTIMATE WIZARD
   ============================================================ */
.wizard { max-width: 760px; margin: 0 auto; scroll-margin-top: 92px; }
.progress { margin-bottom: 2rem; }
.progress-wrap { margin-bottom: 2rem; }
.progress-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .6rem; font-weight: 600; color: var(--navy); }
.progress-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .6rem; font-weight: 600; }
.progress-meta .step-name { color: var(--navy); font-size: 1.05rem; }
.progress-meta .step-count { color: var(--gray); font-size: .9rem; }
.progress-track { height: 8px; background: var(--off-2); border-radius: 100px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-lt)); border-radius: 100px; transition: width .35s var(--ease); width: 0; }

html.js .estep { display: none; }
html.js .estep.active { display: block; animation: fadeStep .35s var(--ease); }
@keyframes fadeStep { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.estep h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .4rem; }
.estep .step-help { color: var(--gray-dk); margin-bottom: 1.6rem; font-size: 1.05rem; }

.opt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.opt-grid.one { grid-template-columns: 1fr; }
@media (max-width: 560px) { .opt-grid { grid-template-columns: 1fr; } }
.opt { position: relative; display: flex; align-items: center; gap: 1.15rem; border: 2px solid var(--line); border-radius: var(--r-lg); padding: 1.15rem 1.25rem; cursor: pointer; transition: border-color .16s, background .16s, box-shadow .16s; background: var(--white); min-height: 64px; font-size: 1.08rem; font-weight: 600; color: var(--navy); }
.opt:hover { border-color: var(--gold); background: var(--off); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt .opt-box { flex: none; width: 26px; height: 26px; border: 2px solid var(--line); border-radius: 7px; display: grid; place-items: center; transition: .16s; }
.opt[data-single] .opt-box { border-radius: 50%; }
.opt .opt-box svg { width: 15px; height: 15px; stroke: #fff; stroke-width: 3; fill: none; opacity: 0; }
.opt input:checked ~ .opt-box { background: var(--navy); border-color: var(--navy); }
.opt input:checked ~ .opt-box svg { opacity: 1; }
.opt:has(input:checked) { border-color: var(--navy); background: #f3f6fc; box-shadow: 0 4px 14px rgba(15,32,68,.08); }
.opt input:focus-visible ~ .opt-box { outline: 3px solid var(--gold); outline-offset: 2px; }
.opt:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.opt .opt-text { display: flex; flex-direction: column; gap: .1rem; }
.opt .opt-sub { font-weight: 500; font-size: .88rem; color: var(--gray); }

.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: .4rem; font-size: 1rem; }
.field .req { color: #a8471f; }
.field input, .field select, .field textarea { width: 100%; border: 2px solid var(--line); border-radius: var(--r); padding: .85rem 1rem; font-size: 1.05rem; font-family: inherit; color: var(--text); background: var(--white); transition: border-color .16s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field-group-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--navy); margin: 1.6rem 0 .8rem; }

.file-drop { border: 2px dashed var(--line); border-radius: var(--r-lg); padding: 2rem 1.5rem; text-align: center; background: var(--off); transition: border-color .16s; }
.file-drop:hover { border-color: var(--gold); }
.file-drop svg { width: 34px; height: 34px; stroke: var(--gold-dark); fill: none; stroke-width: 1.6; margin-bottom: .6rem; }
.file-optional { display: inline-block; background: rgba(201,168,76,.15); color: var(--gold-dark); font-weight: 700; font-size: .8rem; padding: .3rem .8rem; border-radius: 100px; margin-bottom: .8rem; letter-spacing: .04em; }
#photoList { margin-top: .9rem; display: grid; gap: .4rem; text-align: left; }
#photoList li { font-size: .92rem; color: var(--gray-dk); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: .5rem .8rem; }

.wizard-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.wizard-nav .spacer { flex: 1; }
.field-error { color: #a8471f; font-weight: 600; font-size: .95rem; margin-top: .8rem; display: none; }
.field-error.show { display: block; }

.review-list { display: grid; gap: .2rem; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.review-row { display: grid; grid-template-columns: 200px 1fr auto; gap: 1rem; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); align-items: baseline; }
.review-row:last-child { border-bottom: 0; }
.review-row .rk { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); font-weight: 700; }
.review-row .rv { color: var(--navy); font-weight: 600; }
.review-row .re { justify-self: end; }
.review-row .re a { color: var(--gold-dark); font-weight: 700; font-size: .9rem; }
.review-row button { justify-self: end; border: 0; background: transparent; color: var(--gold-dark); font-weight: 700; font-size: .9rem; text-decoration: underline; }
@media (max-width: 560px) { .review-row { grid-template-columns: 1fr; gap: .2rem; } .review-row .re { justify-self: start; } }

.confirm-state { text-align: center; max-width: 640px; margin: 0 auto; padding: 2rem 0; }
.confirm-badge { width: 84px; height: 84px; border-radius: 50%; background: rgba(201,168,76,.16); display: grid; place-items: center; margin: 0 auto 1.5rem; }
.confirm-badge svg { width: 40px; height: 40px; stroke: var(--gold-dark); fill: none; stroke-width: 2.4; }

/* ============================================================
   SINGLE-PAGE HOMEPAGE LAYOUT (mirrors the previous site structure)
   ============================================================ */
.sec-tag { display: inline-block; font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .7rem; }
.sec-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: .5rem; }
.sec-desc { color: var(--gray-dk); font-size: 1.08rem; max-width: 60ch; margin-bottom: 2.2rem; }

/* Hero two-column */
.hero-2col { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,4vw,3.5rem); align-items: center; padding: clamp(2.8rem,5vw,4.8rem) 0; }
.hero-2col .hero-badge { margin-bottom: 1.2rem; }
.hero-2col h1 { color: #fff; margin-bottom: 1rem; }
.hero-2col h1 em { color: var(--gold-lt); }
.hero-2col .hero-sub { color: #c3cfe4; font-size: clamp(1.05rem,1.6vw,1.28rem); margin-bottom: 1.5rem; max-width: 42ch; }
.hero-trustline { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: 1.4rem; color: #aebbd6; font-size: .92rem; font-weight: 600; }
.hero-trustline span { display: inline-flex; align-items: center; gap: .35rem; }
.hero-trustline svg { width: 14px; height: 14px; stroke: var(--gold-lt); fill: none; stroke-width: 2.4; }
.hero-figure { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: linear-gradient(150deg,#22407a,#16305f 60%,#0f2044); aspect-ratio: 4/3.2; display: grid; place-items: center; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .hero-2col { grid-template-columns: 1fr; } .hero-figure { display: none; } }

/* Trust strip */
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; }
.trust-cell { display: flex; align-items: center; gap: .85rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.1rem 1.2rem; box-shadow: var(--shadow-sm); }
.trust-cell .ti { width: 44px; height: 44px; flex: none; border-radius: 11px; background: rgba(201,168,76,.13); display: grid; place-items: center; }
.trust-cell .ti svg { width: 22px; height: 22px; stroke: var(--gold-dark); fill: none; stroke-width: 1.7; }
.trust-cell strong { display: block; color: var(--navy); font-size: 1rem; }
.trust-cell span { font-size: .88rem; color: var(--gray); }
@media (max-width: 860px) { .trust-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } }

/* Category tabs + service rows */
.cat-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.cat-tab { border: 1.5px solid var(--line); background: var(--white); color: var(--gray-dk); font-weight: 600; font-size: .95rem; padding: .55rem 1.1rem; border-radius: 100px; transition: .16s; }
.cat-tab[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.cat-tab:hover { border-color: var(--gold); }
.svc-category { margin-bottom: 2.2rem; }
.svc-category-title { display: flex; align-items: center; gap: .7rem; font-size: 1.35rem; margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 2px solid var(--line); }
.svc-category-title .ci { width: 34px; height: 34px; border-radius: 8px; background: rgba(201,168,76,.13); display: grid; place-items: center; }
.svc-category-title .ci svg { width: 19px; height: 19px; stroke: var(--gold-dark); fill: none; stroke-width: 1.8; }
.svc-row { display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: start; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.svc-row:last-child { border-bottom: 0; }
.svc-row-name { font-family: 'DM Sans', sans-serif; font-size: 1.12rem; font-weight: 700; color: var(--navy); margin-bottom: .25rem; }
.svc-row-desc { color: var(--gray-dk); font-size: .98rem; margin-bottom: .3rem; }
.svc-row-note { color: var(--gray); font-size: .85rem; }
.svc-row-price { font-family: 'Playfair Display', serif; font-weight: 800; color: var(--navy); font-size: 1.35rem; white-space: nowrap; text-align: right; }
.svc-row-price small { display: block; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: .72rem; color: var(--gray); letter-spacing: .02em; }

/* How steps */
.how-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; }
.how-step { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem 1.3rem; box-shadow: var(--shadow-sm); }
.how-num { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.6rem; color: var(--gold); margin-bottom: .6rem; }
.how-step h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.how-step p { color: var(--gray-dk); font-size: .95rem; }
@media (max-width: 860px) { .how-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .how-grid { grid-template-columns: 1fr; } }

/* Why cards */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; }
.why-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem 1.3rem; box-shadow: var(--shadow-sm); }
.why-card svg { width: 34px; height: 34px; stroke: var(--gold-dark); fill: none; stroke-width: 1.6; margin-bottom: .8rem; }
.why-card h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.why-card p { color: var(--gray-dk); font-size: .95rem; }
@media (max-width: 860px) { .why-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .why-grid { grid-template-columns: 1fr; } }

/* Product styles band */
.styles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
@media (max-width: 780px) { .styles-grid { grid-template-columns: 1fr; } }

/* Calculator */
.calc-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-md); overflow: hidden; max-width: 820px; }
.calc-header { background: var(--navy); color: #fff; padding: 1.3rem 1.6rem; }
.calc-header h3 { color: #fff; font-size: 1.3rem; }
.calc-header p { color: #b7c4dc; font-size: .92rem; margin: 0; }
.calc-body { padding: 1.5rem 1.6rem 1.8rem; }
.calc-row { display: flex; gap: .8rem; align-items: end; flex-wrap: wrap; }
.calc-fg { flex: 1 1 200px; display: flex; flex-direction: column; gap: .35rem; }
.calc-fg label { font-weight: 700; color: var(--navy); font-size: .92rem; }
.calc-fg select, .calc-fg input { border: 2px solid var(--line); border-radius: var(--r); padding: .75rem .9rem; font-size: 1rem; font-family: inherit; }
.calc-add-btn { background: var(--navy); color: #fff; border: 0; border-radius: var(--r); padding: .8rem 1.2rem; font-weight: 700; height: 48px; }
.calc-add-btn:hover { background: var(--navy-mid); }
.calc-items { margin: 1.4rem 0; display: grid; gap: .6rem; }
.calc-empty { color: var(--gray); font-style: italic; padding: 1rem; text-align: center; background: var(--off); border-radius: var(--r); }
.calc-item { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--r); }
.calc-item .cin { font-weight: 600; color: var(--navy); }
.calc-item .cip { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.calc-item button { background: none; border: 0; color: #a8471f; font-weight: 700; cursor: pointer; font-size: .9rem; }
.calc-summary { background: var(--off); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem 1.5rem; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .6rem; }
.calc-summary .cs-label { font-weight: 700; color: var(--navy); }
.calc-summary .cs-amt { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 2rem; color: var(--navy); }
.calc-note { font-size: .86rem; color: var(--gray); margin-top: 1rem; }

/* Cities */
.cities { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.city { background: var(--white); border: 1px solid var(--line); border-radius: 100px; padding: .5rem 1.1rem; font-weight: 600; color: var(--navy); font-size: .95rem; }
.area-cta { background: linear-gradient(150deg,var(--navy),var(--navy-mid)); color: #d9e2f2; border-radius: var(--r-xl); padding: clamp(1.8rem,3vw,2.6rem); text-align: center; }
.area-cta h3 { color: #fff; font-size: 1.5rem; margin-bottom: .5rem; }
.area-cta p { max-width: 52ch; margin: 0 auto 1.3rem; color: #b7c4dc; }

/* FAQ details/summary */
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 1.3rem .2rem; font-size: 1.12rem; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: 'DM Sans',sans-serif; color: var(--gold-dark); font-weight: 700; font-size: 1.5rem; transition: transform .2s; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list .faq-a { padding: 0 .2rem 1.4rem; color: var(--gray-dk); max-width: 72ch; max-height: none; overflow: visible; }
.prose h2 { font-size: 1.45rem; margin: 2rem 0 .65rem; }
.faq-policies { margin-top: 2rem; background: var(--off); border-radius: var(--r-lg); padding: 1.5rem 1.7rem; }
.faq-policies h3 { font-size: 1.2rem; margin-bottom: .8rem; }
.faq-policies ul { display: grid; gap: .5rem; }
.faq-policies li { display: grid; grid-template-columns: auto 1fr; gap: .6rem; color: var(--gray-dk); }
.faq-policies li::before { content: "\2713"; color: var(--gold-dark); font-weight: 800; }

/* On-page quote form */
.quote-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.8rem; align-items: start; }
.quote-ready { background: var(--navy); color: #d9e2f2; border-radius: var(--r-xl); padding: 1.8rem; }
.quote-ready h3 { color: #fff; font-size: 1.25rem; margin-bottom: 1rem; }
.quote-ready ul { display: grid; gap: .7rem; margin-bottom: 1.5rem; }
.quote-ready li { display: grid; grid-template-columns: auto 1fr; gap: .6rem; color: #c3cfe4; }
.quote-ready li::before { content: "\2713"; color: var(--gold-lt); font-weight: 800; }
.quote-contact strong { display: block; color: var(--gold-lt); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .5rem; }
.quote-contact a { display: block; color: #d9e2f2; margin-bottom: .3rem; }
.quote-contact a:hover { color: var(--gold-lt); }
.form-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 1.8rem; box-shadow: var(--shadow-md); }
.form-box h3 { font-size: 1.3rem; margin-bottom: 1.2rem; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
@media (max-width: 480px) { .checks { grid-template-columns: 1fr; } }
.chk { display: flex; align-items: center; gap: .9rem; border: 1.5px solid var(--line); border-radius: var(--r); padding: .6rem .8rem; font-size: .95rem; font-weight: 600; color: var(--navy); cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--navy); flex: 0 0 auto; }
.chk:has(input:checked) { border-color: var(--navy); background: #f3f6fc; }
.quote-legal { font-size: .85rem; color: var(--gray); margin-top: 1.2rem; max-width: 70ch; }
@media (max-width: 820px) { .quote-layout { grid-template-columns: 1fr; } }

/* Mobile sticky CTA */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta { display: block; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 150; background: var(--gold); color: var(--navy); text-align: center; font-weight: 700; padding: 1rem; border-radius: var(--r); box-shadow: var(--shadow-lg); }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
