/* Utility Review Consultants — site styles */
:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --navy-3: #1d4275;
  --gold: #c8963e;
  --gold-dark: #9c7024;
  --gold-soft: #f6ecd9;
  --bg: #faf8f3;
  --surface: #ffffff;
  --line: #e4e0d6;
  --text: #1b2430;
  --muted: #59626f;
  --ok: #1f7a4d;
  --err: #b3261e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 37, 69, .06), 0 8px 24px rgba(11, 37, 69, .08);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.65 var(--sans);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-3); text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Top bar + header */
.topbar { background: var(--navy); color: #d9e1ec; font-size: .86rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--gold); }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 54px; }
.brand-name { font-weight: 800; font-size: 1.02rem; letter-spacing: .02em; line-height: 1.15; text-transform: uppercase; }
.brand-name small { display: block; font-weight: 600; font-size: .7rem; letter-spacing: .14em; color: var(--gold-dark); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .92rem; padding: 8px 9px; white-space: nowrap; border-radius: 8px; }
.nav a:hover { background: var(--gold-soft); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font: 600 .95rem var(--sans); color: var(--navy); cursor: pointer; }

@media (max-width: 1200px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 18px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; font-size: 1rem; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; text-decoration: none; font: 700 1rem/1 var(--sans); padding: 15px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d8a64d; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.nav .btn { padding: 11px 18px; font-size: .92rem; color: var(--navy); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #1f4a85 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #e8eef6; padding: 76px 0 84px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--gold), #e8c27c, var(--gold)); }
.hero .wrap { display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero .lead { font-size: 1.2rem; color: #d3ddea; max-width: 36em; }
.eyebrow { display: inline-block; font: 700 .76rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 26px; }
.hero-card h2 { color: #fff; font-size: 1.3rem; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 30px; margin: 0 0 12px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230b2545' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.page-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #d3ddea; padding: 56px 0 52px; border-bottom: 5px solid var(--gold); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 2.9rem); }
.page-hero p { font-size: 1.15rem; max-width: 44em; margin: 0; }

@media (max-width: 860px) {
  .hero { padding: 52px 0 60px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 30px; }
}

/* Stats strip */
.stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 24px 18px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 700 1.75rem/1.1 var(--serif); color: var(--navy); }
.stat span { font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) {
  .stats .wrap { grid-template-columns: 1fr 1fr; padding: 0; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* Sections */
.section { padding: 76px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 760px) { .section { padding: 54px 0; } }

.grid { display: grid; gap: 22px; }
.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: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; margin-bottom: 16px; }
.card .icon svg { width: 24px; height: 24px; }
a.card { display: block; text-decoration: none; color: inherit; transition: transform .15s, border-color .15s; }
a.card:hover { transform: translateY(-3px); border-color: var(--gold); color: inherit; }
.more { font-weight: 700; color: var(--navy-3); }

.steps { counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold); font: 700 1.2rem/42px var(--serif); text-align: center; }

/* Results */
.result { background: var(--navy); color: #cfd9e6; border-radius: var(--radius); padding: 24px; border-top: 4px solid var(--gold); }
.result b { display: block; font: 700 2rem/1.1 var(--serif); color: #fff; margin-bottom: 6px; }
.result span { font-size: .97rem; }
.note { font-size: .92rem; color: var(--muted); }

.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tags li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; font-size: .94rem; }
.section.alt .tags li { background: var(--bg); }

.client-list { list-style: none; padding: 0; margin: 0; }
.client-list li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.client-list li:last-child { border-bottom: 0; }
.client-list strong { color: var(--navy); }
.client-list span { color: var(--muted); font-size: .9rem; text-align: right; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 30px; } }
.prose { max-width: 720px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* CTA band */
.cta-band { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #d3ddea; padding: 64px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { font-size: 1.12rem; max-width: 40em; margin: 0 auto 24px; }
.cta-band .btn-row { justify-content: center; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font: 600 1.08rem var(--sans); color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gold-dark); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 22px 18px; color: #333c48; }

/* Form */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } .form-card { padding: 22px 18px; } }
label, .legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--navy); }
.req { color: var(--err); }
.hint { font-size: .85rem; color: var(--muted); margin-top: 4px; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; font: 400 1rem var(--sans); color: var(--text); background: #fff;
  border: 1.5px solid #cfcab9; border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--navy-3); outline: 3px solid rgba(200,150,62,.35); outline-offset: 0; }
input[aria-invalid=true], select[aria-invalid=true] { border-color: var(--err); }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid #cfcab9; border-radius: 999px; padding: 9px 15px; font-weight: 500; color: var(--text); cursor: pointer; margin: 0; }
.choice input { accent-color: var(--navy); width: 17px; height: 17px; }
.choice:has(input:checked) { border-color: var(--navy); background: #eef2f8; }
input[type=file] { font: 400 .95rem var(--sans); width: 100%; padding: 10px; border: 1.5px dashed #cfcab9; border-radius: 10px; background: var(--bg); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; border-radius: 10px; padding: 14px 16px; margin-bottom: 18px; font-weight: 500; }
.form-status.show { display: block; }
.form-status.ok { background: #e7f4ec; color: var(--ok); border: 1px solid #b8dcc6; }
.form-status.err { background: #fbeceb; color: var(--err); border: 1px solid #f0c4c0; }
.form-card button[type=submit] { width: 100%; font-size: 1.05rem; padding: 17px; }
.form-card button[disabled] { opacity: .6; cursor: wait; transform: none; }
.small { font-size: .85rem; color: var(--muted); }
.turnstile-wrap { margin: 6px 0 16px; min-height: 0; }

.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li { margin-bottom: 10px; }
.doc-list a { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; color: var(--navy); font-weight: 600; }
.doc-list a:hover { border-color: var(--gold); }
.doc-list svg { width: 22px; height: 22px; flex: none; color: var(--gold-dark); }
.contact-block { margin-bottom: 22px; }
.contact-block h3 { font-size: 1.05rem; margin-bottom: .3em; }
.contact-block p { margin: 0; color: #333c48; }

/* Footer */
.site-footer { background: #081b33; color: #aebbd0; padding: 56px 0 26px; font-size: .95rem; }
.site-footer h3 { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #e2e9f3; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }

/* Mobile call bar */
.call-bar { display: none; }
@media (max-width: 640px) {
  .call-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
  .call-bar a { text-align: center; padding: 15px 8px; font-weight: 700; text-decoration: none; }
  .call-bar .c1 { background: var(--navy); color: #fff; }
  .call-bar .c2 { background: var(--gold); color: var(--navy); }
  body { padding-bottom: 54px; }
}

/* Mobile refinements */
.menu-toggle svg { flex: none; width: 18px; height: 18px; }
.form-status { scroll-margin-top: 100px; }
@media (max-width: 640px) {
  .brand-name small { display: none; }
  .brand-name { font-size: .92rem; }
  .brand img { width: 46px; }
  .site-header .wrap { min-height: 64px; }
}
@media (max-width: 640px) {
  .topbar .wrap > span:first-child { display: none; }
  .topbar .wrap { justify-content: center; }
}
