:root {
  /* Calm, safe base + one warm action colour. Variable names kept stable for all pages. */
  --navy: #0B2A3C; --navy-2: #12384F; --navy-3: #1D4B66;
  --gold: #FFB23F; --gold-2: #0E7C7B; --gold-soft: #E3F4F1;
  --lagoon: #0E7C7B; --lagoon-deep: #0A5E5D; --marigold-2: #F59E0B; --blush: #FFE8DC;
  --cream: #F6FBFA; --paper: #FFFFFF; --white: #fff;
  --ink: #0B2A3C; --muted: #4F6570; --line: #D9E8E4;
  --green: #11845B; --green-soft: #DDF5EA; --red: #C0392B; --red-soft: #FDE8E5; --blue: #2459C9; --blue-soft: #E6EEFD; --amber: #A15C00; --amber-soft: #FFF1D6;
  --radius: 14px; --shadow: 0 1px 2px rgba(11,42,60,.06), 0 12px 32px rgba(11,42,60,.10);
  --serif: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--navy-3); }
img { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.1; margin: 0 0 .5em; color: var(--navy); font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hidden { display: none !important; }
.loading { padding: 60px; text-align: center; color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 8px; border: 1.5px solid transparent;
  font: 600 .95rem var(--sans); cursor: pointer; text-decoration: none; transition: all .15s; white-space: nowrap; background: var(--white); color: var(--navy); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover:not(:disabled) { background: var(--marigold-2); border-color: var(--marigold-2); }
.btn-gold { box-shadow: 0 6px 18px rgba(255,178,63,.35); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover:not(:disabled) { background: var(--navy-3); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover:not(:disabled) { background: var(--navy); color: var(--white); }
.btn-teal { background: var(--lagoon); color: #fff; border-color: var(--lagoon); }
.btn-teal:hover { background: var(--lagoon-deep); }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-link { background: none; border: none; color: var(--navy-3); text-decoration: underline; padding: 8px; }
.btn-danger { background: var(--red); color: #fff; border-color: var(--red); }
.btn-sm { padding: 7px 14px; font-size: .85rem; }
.btn-xs { padding: 4px 10px; font-size: .78rem; border-radius: 6px; }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn-paypal { background: #ffc439; border-color: #ffc439; color: #111; }
.btn-stripe { background: #635bff; border-color: #635bff; color: #fff; }

/* header */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(201,164,92,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { font-family: var(--serif); font-size: 1.45rem; color: var(--gold); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--gold); color: var(--navy); font-size: 1.1rem; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-link { color: #e9e4d8; text-decoration: none; padding: 8px 10px; border-radius: 6px; font-weight: 500; font-size: .93rem; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; }
.jur-switch { display: inline-flex; background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px; margin: 0 6px; }
.jur-switch button { background: none; border: 0; color: #d9d3c5; padding: 5px 11px; border-radius: 999px; cursor: pointer; font: 600 .82rem var(--sans); }
.jur-switch button.on { background: var(--gold); color: var(--navy); }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(201,164,92,.22), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 72px 0 84px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { color: #d5d0c4; font-size: 1.15rem; max-width: 560px; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--gold); margin-bottom: 14px; }
.lead { font-size: 1.1rem; color: var(--muted); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; color: #cfc9ba; font-size: .9rem; }
.hero-search { position: relative; max-width: 560px; margin-top: 22px; }
.hero-search input { width: 100%; padding: 16px 18px; border-radius: 10px; border: 0; font: 1rem var(--sans); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; z-index: 20; }
.search-results a { display: flex; justify-content: space-between; padding: 11px 16px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.search-results a:hover, .search-results a.active { background: var(--gold-soft); }
.search-results a span { color: var(--muted); font-size: .9rem; }
.hero-card { background: var(--paper); color: var(--ink); border-radius: 16px; padding: 24px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.hc-head { font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.hc-line, .hc-total { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.hc-total { border: 0; font-size: 1.2rem; font-family: var(--serif); color: var(--navy); }
.hc-note { color: var(--muted); font-size: .85rem; }

/* sections */
.section { padding: 64px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--navy); color: #e9e4d8; }
.section-title { text-align: center; }
.section-title.left { text-align: left; }
.section-title.light, .light { color: #fff; }
.section-sub { text-align: center; color: var(--muted); margin-top: -6px; margin-bottom: 30px; }
.light-muted { color: #bfb9aa; }
.small-title { font-family: var(--sans); font-size: .95rem; color: var(--muted); margin: 26px 0 12px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.page-head { background: linear-gradient(180deg, var(--paper), var(--cream)); padding: 42px 0 30px; border-bottom: 1px solid var(--line); }
.page-head.slim { padding: 32px 0 20px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs .sep { opacity: .5; margin: 0 4px; }
.notice { background: var(--gold-soft); border: 1px solid #e8d7ae; padding: 14px 18px; border-radius: 10px; margin-top: 22px; color: #5a4516; }

/* cards */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.cat-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--ink); transition: .15s; display: flex; flex-direction: column; }
.cat-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-card p { color: var(--muted); font-size: .92rem; flex: 1; }
.cat-icon { font-size: 1.8rem; margin-bottom: 8px; }
.cat-meta { font-size: .82rem; font-weight: 600; color: var(--gold-2); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 20px; }
.product-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: .15s; }
.product-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.product-card h3 { font-size: 1.05rem; margin: 6px 0; }
.product-card p { color: var(--muted); font-size: .88rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-top { display: flex; justify-content: space-between; align-items: center; min-height: 22px; }
.pc-days { font-size: .78rem; color: var(--muted); margin-left: auto; }
.pc-price { display: flex; align-items: baseline; gap: 6px; color: var(--muted); font-size: .9rem; }
.pc-price strong { color: var(--navy); font-family: var(--serif); font-size: 1.3rem; }
.pc-arrow { margin-left: auto; color: var(--gold-2); font-weight: 700; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .78rem; font-weight: 600; color: var(--muted); }
.badge-hot { background: #fff1ea; border-color: #f7c9b3; color: #b4431a; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 26px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step-n { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }

.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0; }
.pkg { background: var(--navy-2); border: 1px solid var(--navy-3); border-radius: var(--radius); padding: 24px; }
.pkg h3 { color: #fff; font-size: 1.4rem; margin: 0; }
.pkg-tag { color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.pkg-featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; }
.ticks li { padding: 5px 0 5px 26px; position: relative; font-size: .93rem; }
.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.ticks.light li { color: #dcd6c8; }
.ticks.light li::before { color: var(--gold); }
.ticks.big li { font-size: 1rem; padding: 8px 0 8px 28px; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; align-items: stretch; }
.tier { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; position: relative; }
.tier .ticks { flex: 1; }
.tier-featured { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.tier-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy); font-size: .75rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.tier-name { font-family: var(--serif); font-size: 1.4rem; color: var(--navy); }
.tier-label { color: var(--gold-2); font-weight: 600; font-size: .9rem; }
.tier-price { font-family: var(--serif); font-size: 2.4rem; color: var(--navy); margin: 10px 0 14px; font-weight: 700; }
.svc-head { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.svc-cta-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.big-price { font-family: var(--serif); font-size: 2.6rem; color: var(--navy); font-weight: 700; line-height: 1; margin-bottom: 6px; }
.addon-list { list-style: none; padding: 0; margin: 0; }
.addon-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.addon-list li div { display: flex; flex-direction: column; }
.addon-list li span { color: var(--muted); font-size: .88rem; }
.addon-list em { font-style: normal; font-weight: 700; color: var(--navy); white-space: nowrap; }

.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: '+'; color: var(--gold-2); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); }

.loc-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.loc-cloud a { background: var(--white); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-size: .86rem; text-decoration: none; color: var(--navy-3); }
.loc-cloud a:hover { border-color: var(--gold); background: var(--gold-soft); }
.region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.region { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.region h3 a { text-decoration: none; color: var(--navy); }
.city-links { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .85rem; }
.city-links a { color: var(--muted); text-decoration: none; }
.city-links a:hover { color: var(--navy); text-decoration: underline; }

.filter-bar { margin-top: 18px; }
.filter-bar input { width: 100%; max-width: 480px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; font: 1rem var(--sans); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--white); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-size: .85rem; text-decoration: none; color: var(--ink); cursor: pointer; }
.chip:hover, .chip.on { border-color: var(--gold); background: var(--gold-soft); }
.svc-group { margin-bottom: 36px; scroll-margin-top: 90px; }
.group-title { font-size: 1.5rem; margin-bottom: 4px; }

.cta-band { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; padding: 48px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #cfc9ba; margin: 0; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.site-footer { background: #0a1320; color: #bdb6a6; padding: 50px 0 24px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .85rem; }
.site-footer a { display: block; color: #bdb6a6; text-decoration: none; padding: 3px 0; }
.site-footer a:hover { color: var(--gold); }
.brand-light { margin-bottom: 10px; }
.muted-light { color: #8f8a7e; }
.footer-legal { border-top: 1px solid #1d2a3d; margin-top: 30px; padding-top: 18px; font-size: .8rem; color: #7e796e; }
.footer-legal p { margin: 0 0 6px; }
.prose h3 { margin-top: 1.5em; }

/* forms */
.form-card { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 5px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .82rem; }
input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=datetime-local], input[type=search], select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #d8d1c2; border-radius: 8px; font: .95rem var(--sans); background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
textarea { min-height: 90px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.error-box { background: var(--red-soft); color: var(--red); padding: 10px 14px; border-radius: 8px; font-size: .9rem; margin-bottom: 12px; }
.success-box { background: var(--green-soft); color: var(--green); padding: 10px 14px; border-radius: 8px; font-size: .9rem; margin-bottom: 12px; }
.auth-wrap { max-width: 440px; margin: 50px auto; padding: 0 16px; }

/* toast */
.toast-host { position: fixed; top: 80px; right: 20px; z-index: 1000; display: grid; gap: 8px; }
.toast { background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 10px; box-shadow: var(--shadow); font-size: .92rem; max-width: 360px; animation: slidein .2s ease-out; }
.toast.error { background: var(--red); }
.toast.success { background: var(--green); }
@keyframes slidein { from { transform: translateX(20px); opacity: 0; } }

/* status pills */
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.st-awaiting_payment, .st-unpaid, .st-requested { background: var(--amber-soft); color: var(--amber); }
.st-paid, .st-in_progress, .st-review, .st-confirmed { background: var(--blue-soft); color: var(--blue); }
.st-awaiting_client { background: #fde8f0; color: #b0306a; }
.st-delivered, .st-completed { background: var(--green-soft); color: var(--green); }
.st-cancelled, .st-void, .st-refunded { background: #eee; color: #777; }
.st-open { background: var(--green-soft); color: var(--green); }
.st-closed { background: #eee; color: #777; }

/* ── calculator & order assistant */
.calc-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; padding: 30px 0 60px; }
.calc-panel { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-bottom: 18px; }
.calc-panel h3 { display: flex; align-items: center; gap: 10px; }
.calc-panel h3 .n { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--gold); display: inline-grid; place-items: center; font-size: .85rem; font-family: var(--sans); }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.opt { border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; background: #fff; text-align: left; font: inherit; color: inherit; transition: .12s; }
.opt:hover { border-color: var(--gold); }
.opt.on { border-color: var(--navy); background: #f3f5f9; box-shadow: inset 0 0 0 1px var(--navy); }
.opt b { display: block; font-size: .95rem; }
.opt span { color: var(--muted); font-size: .82rem; }
.opt .price { color: var(--navy); font-weight: 700; font-family: var(--serif); font-size: 1.15rem; }
.summary-card { position: sticky; top: 88px; background: var(--navy); color: #e9e4d8; border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.summary-card h3 { color: #fff; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,.14); font-size: .92rem; animation: fadein .25s; }
.sum-line b { color: #fff; white-space: nowrap; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0; }
.sum-total b { font-family: var(--serif); font-size: 2rem; color: var(--gold); }
.sum-empty { color: #9d978a; font-size: .9rem; padding: 10px 0; }
.sum-note { font-size: .8rem; color: #9d978a; }
@keyframes fadein { from { opacity: 0; transform: translateY(-3px); } }
.range-box { background: var(--gold-soft); border-radius: 12px; padding: 16px; margin-top: 12px; }
.range-box b { font-family: var(--serif); font-size: 1.4rem; color: var(--navy); }

.chat-order { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; padding: 26px 0 60px; }
.co-stream { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; min-height: 60vh; display: flex; flex-direction: column; gap: 14px; }
.co-msg { max-width: 82%; padding: 12px 16px; border-radius: 16px; line-height: 1.5; animation: fadein .25s; white-space: pre-wrap; }
.co-bot { background: #f1efe9; border-top-left-radius: 4px; align-self: flex-start; }
.co-bot .who { font-size: .75rem; font-weight: 700; color: var(--gold-2); display: block; margin-bottom: 2px; }
.co-user { background: var(--navy); color: #fff; border-top-right-radius: 4px; align-self: flex-end; }
.co-input { border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; }
.co-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.co-choice { background: #fff; border: 1.5px solid var(--navy); color: var(--navy); border-radius: 999px; padding: 8px 14px; cursor: pointer; font: 600 .9rem var(--sans); transition: .12s; }
.co-choice:hover { background: var(--navy); color: #fff; }
.co-choice small { font-weight: 500; opacity: .75; margin-left: 4px; }
.co-row { display: flex; gap: 8px; }
.co-row input, .co-row textarea { flex: 1; }
.co-typing { align-self: flex-start; color: var(--muted); font-size: .85rem; }
.co-search { margin-bottom: 10px; }
.co-products { max-height: 300px; overflow: auto; display: grid; gap: 6px; }
.co-products button { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; cursor: pointer; font: inherit; display: flex; justify-content: space-between; gap: 10px; }
.co-products button:hover { border-color: var(--gold); background: var(--gold-soft); }

/* ── chat widget */
.cw-launcher { position: fixed; right: 20px; bottom: 20px; z-index: 900; background: var(--gold); color: var(--navy); border: 0; border-radius: 999px; padding: 14px 20px; font: 700 .95rem var(--sans);
  box-shadow: 0 10px 30px rgba(15,27,45,.35); cursor: pointer; display: flex; align-items: center; gap: 8px; }
.cw-launcher .cw-badge { background: var(--red); color: #fff; border-radius: 999px; font-size: .72rem; padding: 1px 7px; }
.cw-panel { position: fixed; right: 20px; bottom: 86px; z-index: 901; width: 380px; max-width: calc(100vw - 24px); height: 580px; max-height: calc(100vh - 110px); background: #fff; border-radius: 16px;
  box-shadow: 0 20px 60px rgba(15,27,45,.35); display: flex; flex-direction: column; overflow: hidden; animation: fadein .2s; }
.cw-head { background: var(--navy); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.cw-head .cw-av { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-size: 1.1rem; }
.cw-head b { display: block; font-size: .98rem; }
.cw-head small { color: #bdb6a6; font-size: .78rem; }
.cw-head button { margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.3rem; cursor: pointer; }
.cw-body { flex: 1; overflow-y: auto; padding: 14px; background: #faf8f4; display: flex; flex-direction: column; gap: 8px; }
.cw-form { padding: 16px; overflow-y: auto; }
.cw-form p { font-size: .9rem; color: var(--muted); }
.cw-form .field { margin-bottom: 10px; }
.cw-foot { border-top: 1px solid var(--line); padding: 10px; display: flex; gap: 6px; align-items: flex-end; background: #fff; }
.cw-foot textarea { min-height: 42px; max-height: 120px; height: 42px; padding: 10px; resize: none; }
.cw-attach { background: none; border: 1px solid var(--line); border-radius: 8px; width: 42px; height: 42px; cursor: pointer; font-size: 1.1rem; flex-shrink: 0; }
.cw-send { height: 42px; }
.msg { max-width: 85%; padding: 9px 13px; border-radius: 14px; font-size: .92rem; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.msg .meta { display: block; font-size: .7rem; opacity: .65; margin-top: 3px; }
.msg-mine { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.msg-theirs { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-theirs .who { font-size: .72rem; font-weight: 700; color: var(--gold-2); display: block; }
.msg-system { align-self: center; background: var(--gold-soft); color: #5a4516; font-size: .82rem; text-align: center; border-radius: 10px; max-width: 95%; }
.msg-internal { align-self: flex-end; background: #fff7d6; border: 1px dashed #d8b64a; color: #5a4516; }
.msg-quote { align-self: stretch; max-width: 100%; background: #fff; border: 1.5px solid var(--gold); color: var(--ink); }
.msg-quote .q-lines { margin: 6px 0; font-size: .85rem; }
.msg-quote .q-lines div { display: flex; justify-content: space-between; gap: 8px; }
.msg-quote .q-total { font-weight: 700; display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 4px; }
.msg-file a { color: inherit; font-weight: 600; }
.msg-mine .file-chip { background: rgba(255,255,255,.12); }
.file-chip { display: inline-flex; align-items: center; gap: 6px; background: #f1efe9; border-radius: 8px; padding: 6px 10px; margin-top: 4px; text-decoration: none; color: inherit; font-size: .85rem; }
.msg audio, .msg video, .msg img { max-width: 100%; border-radius: 8px; margin-top: 6px; display: block; }
.cw-typing { font-size: .8rem; color: var(--muted); padding: 0 14px 6px; min-height: 18px; background: #faf8f4; }
.cw-banner { background: var(--gold-soft); font-size: .8rem; padding: 8px 14px; color: #5a4516; }
.cw-banner a { font-weight: 700; }

/* ── client portal */
.portal { display: grid; grid-template-columns: 240px 1fr; gap: 26px; padding: 28px 0 60px; align-items: start; }
.portal-nav { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 10px; position: sticky; top: 88px; }
.portal-nav a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .93rem; }
.portal-nav a:hover { background: var(--cream); }
.portal-nav a.on { background: var(--navy); color: #fff; }
.portal-nav .count { background: var(--gold); color: var(--navy); border-radius: 999px; font-size: .72rem; padding: 1px 7px; font-weight: 700; }
.portal-nav hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin-bottom: 18px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.stat .v { font-family: var(--serif); font-size: 1.8rem; color: var(--navy); font-weight: 700; line-height: 1.1; }
.stat .l { font-size: .82rem; color: var(--muted); font-weight: 600; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .76rem; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); font-weight: 700; }
.table td { padding: 11px 10px; border-bottom: 1px solid #f0ebe0; vertical-align: middle; }
.table tr.click { cursor: pointer; }
.table tr.click:hover td { background: #fbf9f4; }
.table-wrap { overflow-x: auto; }
.empty { text-align: center; color: var(--muted); padding: 30px 10px; }
.banner { background: var(--gold-soft); border: 1px solid #e8d7ae; border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.banner.green { background: var(--green-soft); border-color: #bfe3d0; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 14px 14px; font-size: .9rem; }
.timeline li::before { content: ''; position: absolute; left: -25px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--gold); }
.timeline .when { color: var(--muted); font-size: .78rem; display: block; }
.progress { display: flex; gap: 4px; margin: 14px 0; }
.progress div { flex: 1; text-align: center; font-size: .72rem; color: var(--muted); }
.progress div::before { content: ''; display: block; height: 6px; border-radius: 3px; background: var(--line); margin-bottom: 6px; }
.progress div.done::before { background: var(--gold); }
.progress div.now { color: var(--navy); font-weight: 700; }
.progress div.now::before { background: var(--navy); }
.dropzone { border: 2px dashed #d3c9b3; border-radius: 12px; padding: 26px; text-align: center; color: var(--muted); cursor: pointer; transition: .15s; background: #fdfcf9; }
.dropzone.drag, .dropzone:hover { border-color: var(--gold); background: var(--gold-soft); }
.file-list { display: grid; gap: 8px; }
.file-row { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; }
.file-row .ic { font-size: 1.4rem; }
.file-row .nm { flex: 1; min-width: 0; }
.file-row .nm b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .92rem; }
.file-row .nm span { font-size: .78rem; color: var(--muted); }
.upbar { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; margin-top: 10px; }
.upbar div { height: 100%; background: var(--gold); width: 0; transition: width .2s; }
.chat-page { display: flex; flex-direction: column; height: 70vh; min-height: 480px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.chat-page .cw-body { flex: 1; }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 6px 14px; font-size: .92rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; white-space: pre-wrap; }
.pay-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.modal-back { position: fixed; inset: 0; background: rgba(15,27,45,.55); z-index: 1000; display: grid; place-items: center; padding: 16px; animation: fadein .15s; }
.modal { background: #fff; border-radius: 16px; padding: 24px; width: 560px; max-width: 100%; max-height: 90vh; overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.modal h3 { margin-bottom: 14px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }

/* invoice print */
.invoice-print { background: #eee; }
.invoice-sheet { max-width: 800px; margin: 30px auto; background: #fff; padding: 44px; border-radius: 8px; }
.inv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.inv-head .brand { color: var(--navy); }
.inv-status { font-weight: 800; letter-spacing: .1em; padding: 6px 14px; border: 2px solid; border-radius: 6px; }
.inv-paid { color: var(--green); } .inv-unpaid { color: var(--amber); } .inv-void { color: #888; }
.inv-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; font-size: .9rem; margin-bottom: 30px; }
.inv-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.inv-table th, .inv-table td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); }
.inv-table td:last-child, .inv-table th:last-child { text-align: right; }
.inv-table tfoot td { font-weight: 800; font-size: 1.1rem; border-bottom: 0; }
@media print { .no-print { display: none; } .invoice-print { background: #fff; } .invoice-sheet { margin: 0; } }

/* responsive */
@media (max-width: 980px) {
  .hero-grid, .two-col, .svc-head, .calc-grid, .chat-order, .portal { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .tiers, .pkg-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .summary-card, .portal-nav { position: static; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--navy-3); }
  body.nav-open .main-nav { display: flex; }
  .jur-switch { align-self: flex-start; margin: 8px 0; }
  .hero { padding: 44px 0 56px; }
  .portal-nav { display: flex; overflow-x: auto; gap: 4px; }
  .portal-nav a { white-space: nowrap; }
  .portal-nav hr { display: none; }
}
@media (max-width: 600px) {
  .steps, .footer-grid, .row2, .inv-meta { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .kv { grid-template-columns: 1fr; }
  .kv dt { margin-top: 8px; }
  .cw-panel { right: 12px; bottom: 80px; height: calc(100vh - 100px); }
  .cw-launcher { right: 12px; bottom: 12px; }
}

/* phone number with country code */
.phone-row { display: flex; gap: 8px; }
.field .cc-pick { position: relative; flex: 0 0 auto; display: flex; align-items: center; gap: 6px; padding: 0 12px; min-width: 104px; border: 1px solid #d8d1c2; border-radius: 8px; background: #fff; font: 600 .95rem var(--sans); color: var(--ink); cursor: pointer; margin: 0; }
.cc-pick:focus-within { outline: 2px solid var(--gold); border-color: var(--gold); }
.cc-pick .cc-caret { color: var(--muted); font-size: .75rem; margin-left: auto; }
.cc-pick select.cc { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0; border: 0; }
.phone-row .pn { flex: 1; min-width: 0; }

/* case review intake (Speak to a lawyer page, chat panel, portal) */
.ix-head { margin-bottom: 12px; }
.ix-count { font-size: .78rem; font-weight: 700; color: var(--lagoon); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.ix-bar { height: 5px; background: var(--gold-soft); border-radius: 99px; overflow: hidden; }
.ix-bar i { display: block; height: 100%; background: var(--lagoon); border-radius: inherit; transition: width .25s; }
.ix-title { font-size: 1.35rem; margin: 0 0 6px; }
.ix-sub { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.seg { display: inline-flex; background: var(--gold-soft); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 14px; flex-wrap: wrap; }
.seg button { border: 0; background: none; border-radius: 999px; padding: 8px 14px; font: 600 .9rem var(--sans); color: var(--navy); cursor: pointer; }
.seg button.on { background: #fff; box-shadow: 0 1px 4px rgba(11,42,60,.15); }
.ix-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ix-cat { display: flex; align-items: center; gap: 10px; text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 12px; cursor: pointer; font: inherit; color: var(--ink); transition: .12s; }
.ix-cat:hover { border-color: var(--lagoon); background: #F6FBFA; }
.ix-cat.on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.ix-cat .ix-ic { font-size: 1.4rem; line-height: 1; }
.ix-cat b { font-size: .9rem; line-height: 1.25; }
.ix-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ix-tiers .opt { padding: 10px; }
.ix-adds { display: grid; gap: 6px; }
.field .ix-add { display: flex; margin: 0; font-weight: 500; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: .9rem; cursor: pointer; background: #fff; }
.ix-add input { width: auto; margin: 0; }
.ix-add span { flex: 1; }
.ix-add em { font-style: normal; font-weight: 700; color: var(--navy); white-space: nowrap; }
.ix-plans { display: grid; gap: 10px; margin-bottom: 14px; }
.ix-plan { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; background: #fff; }
.ix-plan input { width: auto; margin-top: 4px; }
.ix-plan.on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: #F6FBFA; }
.ix-plan.disabled { opacity: .55; cursor: not-allowed; }
.ix-plan p { margin: 4px 0 0; font-size: .88rem; color: var(--muted); }
.ix-plan-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.ix-price { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--navy); white-space: nowrap; }
.ix-sum { background: #F6FBFA; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: .9rem; }
.ix-sum > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.ix-sum > div span { color: var(--muted); }
.ix-total { border-top: 1px dashed var(--line); margin-top: 4px; padding-top: 8px !important; }
.ix-total span { color: var(--ink) !important; font-weight: 700; }
.ix-total b { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); }
.ix-recap { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: #F6FBFA; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 6px 0 4px; font-size: .9rem; }
.ix-recap b { font-family: var(--serif); font-size: 1.25rem; color: var(--navy); }
.ix-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; }
.ix-nav .btn-gold:not(.btn-block) { flex: 1; justify-content: center; }
.ix-legal { margin: 10px 0 0; }
.ix-done { text-align: center; }
.ix-done-ic { font-size: 2.4rem; }
.ix-done .ix-sum { text-align: left; margin: 14px 0; }
.ix-unlock { background: var(--amber-soft); color: #6b3d00; border-radius: 10px; padding: 10px 14px; font-size: .9rem; text-align: left; }
.ix-done-btns { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.ix-done-btns .btn { justify-content: center; }
.ix-compact .ix-title { font-size: 1.12rem; }
.ix-compact .ix-cats { grid-template-columns: 1fr 1fr; gap: 8px; }
.ix-compact .ix-cat { padding: 10px; }
.ix-compact .ix-cat b { font-size: .82rem; }
.ix-compact .ix-tiers { grid-template-columns: 1fr; }
.ix-compact .seg button { padding: 7px 10px; font-size: .82rem; }
.cw-back { margin: -6px 0 6px -8px; }
.cw-signin { margin: 12px 0 0; }
.cw-result { padding: 12px 14px; border-bottom: 1px solid var(--line); max-height: 55%; overflow-y: auto; background: #fff; }
.cw-result .ix-done-ic { font-size: 1.6rem; }
.cw-result .ix-title { font-size: 1.05rem; }

/* locked until the client pays */
.cw-locked { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; background: var(--amber-soft); color: #6b3d00; border-top: 1px solid #f3d9a8; padding: 12px 14px; font-size: .88rem; line-height: 1.45; }
.cw-locked span { color: #7a5516; }
.banner-locked { border: 1px solid #f3d9a8; border-radius: 12px; margin-bottom: 18px; }
.advice { white-space: pre-wrap; background: #F6FBFA; border-left: 3px solid var(--lagoon); border-radius: 8px; padding: 12px 16px; line-height: 1.6; }
@media (max-width: 520px) { .ix-tiers { grid-template-columns: 1fr; } .ix-cats { grid-template-columns: 1fr 1fr; } }
.refund-note { background: var(--amber-soft); color: #6b3d00; border-radius: 8px; padding: 8px 12px; font-size: .88rem; font-weight: 600; }
.perm-table th { font-size: .72rem; text-transform: capitalize; white-space: nowrap; }
.toast { cursor: default; }
.perm-table td:first-child { min-width: 170px; }
