:root {
  --navy: #0c1825;
  --navy-2: #14283d;
  --gold: #c8983f;
  --gold-light: #f2dfb8;
  --ink: #17212b;
  --muted: #64707c;
  --paper: #ffffff;
  --soft: #f7f4ed;
  --line: #e4e0d7;
  --success: #176b43;
  --success-bg: #edf8f2;
  --danger: #963b36;
  --danger-bg: #fdf1ef;
  --shadow: 0 18px 50px rgba(12, 24, 37, .08);
  --radius: 18px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.65; }
body.admin-bar .site-header { top: 32px; }
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: .16em; }
h1, h2, h3 { margin: 0 0 .6em; font-family: Georgia, "Times New Roman", serif; color: var(--navy); line-height: 1.1; letter-spacing: -.025em; }
h1 { font-size: clamp(2.7rem, 7vw, 5.8rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.content-narrow { max-width: 820px; }
.section { padding: clamp(70px, 9vw, 125px) 0; }
.section-soft { background: var(--soft); }
.section-navy { color: #fff; background: var(--navy); }
.section-navy h2, .section-navy h3 { color: #fff; }
.eyebrow { margin-bottom: 1rem; color: var(--gold); font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.lead { color: #53606b; font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 760px; }
.muted { color: #aeb8c2; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 9999; top: 8px; left: 8px; padding: 12px 16px; transform: translateY(-150%); background: #fff; }
.skip-link:focus { transform: none; }
.attorney-bar { padding: 7px 16px; color: var(--gold-light); background: var(--navy); text-align: center; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(12,24,37,.08); background: rgba(255,255,255,.96); backdrop-filter: blur(18px); }
.header-inner { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 30px; }
.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wordmark-mark { display: grid; width: 46px; height: 52px; place-items: center; color: var(--gold); background: var(--navy); border: 2px solid var(--gold); border-radius: 8px 8px 16px 16px; }
.wordmark strong, .wordmark small { display: block; }
.wordmark strong { max-width: 220px; font-family: Georgia, serif; font-size: 1.15rem; line-height: 1.05; }
.wordmark small { margin-top: 4px; color: var(--gold); font-size: .56rem; letter-spacing: .17em; text-transform: uppercase; }
.custom-logo { // max-width: 300px; // max-height: 65px; // width: auto; }
.primary-nav { display: flex; align-items: center; gap: 24px; }
.primary-nav ul { display: flex; margin: 0; padding: 0; align-items: center; gap: 24px; list-style: none; }
.primary-nav a { font-size: .92rem; font-weight: 700; text-decoration: none; }
.nav-toggle { display: none; width: 45px; height: 42px; padding: 9px; border: 0; background: transparent; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy); }
.button { display: inline-flex; min-height: 50px; padding: 12px 22px; align-items: center; justify-content: center; border: 1px solid var(--navy); border-radius: 999px; color: #fff; background: var(--navy); font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; }
.button:hover { border-color: var(--gold); color: var(--navy); background: var(--gold); }
.button-small { min-height: 42px; padding: 9px 17px; font-size: .82rem !important; }
.button-outline, .button-ghost { color: var(--navy); background: transparent; }
.button-gold { border-color: var(--gold); color: var(--navy); background: var(--gold); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero { overflow: hidden; background: radial-gradient(circle at 90% 20%, rgba(200,152,63,.16), transparent 34%), linear-gradient(145deg, #fff 67%, #f6f0e3 67%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); align-items: center; gap: clamp(50px, 8vw, 110px); }
.hero-copy .lead { max-width: 700px; }
.hero-copy .button-row { margin-top: 30px; }
.language-line { margin-top: 26px; color: var(--muted); font-size: .86rem; }
.hero-panel { position: relative; padding: 42px; border: 1px solid rgba(200,152,63,.45); border-radius: var(--radius); background: rgba(255,255,255,.82); box-shadow: var(--shadow); }
.hero-panel-icon { display: grid; width: 62px; height: 70px; margin-bottom: 24px; place-items: center; color: var(--gold); background: var(--navy); border-radius: 12px 12px 20px 20px; font-size: 1.6rem; }
.hero-panel ol { margin: 0; padding: 0; list-style: none; }
.hero-panel li { padding: 18px 0; border-top: 1px solid var(--line); }
.hero-panel strong, .hero-panel span { display: block; }
.hero-panel span { color: var(--muted); font-size: .94rem; }
.hero-visual { position: relative; min-height: 560px; }
.hero-photo { width: 100%; height: 560px; object-fit: cover; border-radius: 180px 18px 18px 18px; box-shadow: var(--shadow); }
.hero-badge { position: absolute; right: -18px; bottom: 30px; max-width: 310px; padding: 20px 24px; border: 1px solid rgba(200,152,63,.45); border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
.hero-badge strong, .hero-badge span { display: block; }
.hero-badge strong { color: var(--navy); font-family: Georgia, serif; font-size: 1.15rem; }
.hero-badge span { margin-top: 4px; color: var(--muted); font-size: .83rem; }
.trust-strip { padding: 20px 0; border-block: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; color: #49545e; font-size: .83rem; font-weight: 750; text-align: center; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 44px; align-items: end; gap: 50px; }
.section-heading > p { color: var(--muted); }
.section-heading.light p { color: #c6cfd7; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-card { display: flex; min-height: 330px; padding: 30px; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 30px rgba(12,24,37,.035); transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card h3 a { text-decoration: none; }
.service-code { color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.service-card > p:not(.service-code):not(.service-fee) { color: var(--muted); font-size: .93rem; }
.service-fee { margin-top: auto; color: var(--navy); font-family: Georgia, serif; font-size: 1.8rem; font-weight: 700; }
.service-gov-fee { min-height: 42px; }
.text-link { margin-top: 12px; color: var(--gold); font-weight: 800; text-decoration: none; }
.steps { display: grid; margin: 0; padding: 0; grid-template-columns: repeat(5, 1fr); gap: 28px; list-style: none; }
.steps li { position: relative; }
.steps li > span { display: grid; width: 44px; height: 44px; margin-bottom: 22px; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-weight: 800; }
.steps p { color: #b8c1ca; font-size: .9rem; }
.section-warm { background: #f7f3eb; }
.split-feature { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(45px, 8vw, 100px); }
.split-image img { width: 100%; min-height: 600px; object-fit: cover; border-radius: 18px 180px 18px 18px; box-shadow: var(--shadow); }
.practice-list { display: grid; margin: 30px 0; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.practice-list a { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 750; text-decoration: none; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.feature-grid article { min-height: 275px; padding: 34px; background: #fff; }
.feature-grid article > span { display: inline-block; margin-bottom: 55px; color: var(--gold); font-family: Georgia, serif; font-size: 1.3rem; }
.feature-grid p { color: var(--muted); font-size: .92rem; }
.news-section { background: var(--soft); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-grid > a { display: block; min-height: 300px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.news-grid > a:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-grid span { color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .15em; }
.news-grid h3 { margin-top: 70px; font-size: 1.6rem; }
.news-grid p { color: var(--muted); }
.photo-credit { padding-bottom: 30px; color: var(--muted); font-size: .72rem; }
.center { text-align: center; }
.center .button-row { justify-content: center; }
.cta-panel { display: flex; padding: clamp(35px, 6vw, 70px); align-items: center; justify-content: space-between; gap: 50px; border: 1px solid rgba(200,152,63,.45); border-radius: var(--radius); background: linear-gradient(120deg, #fff, #f8f0df); }
.cta-panel > div { max-width: 760px; }
.page-hero { padding-bottom: 70px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #fff, #f8f1e4); }
.page-hero h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
.hero-price { margin-top: 25px; color: var(--gold); font-family: Georgia, serif; font-size: 2rem; font-weight: 700; }
.hero-price small { display: block; color: var(--muted); font-family: sans-serif; font-size: .78rem; font-weight: 500; }
.prose > * + * { margin-top: 1.2em; }
.eligibility-shell { max-width: 820px; padding: clamp(28px, 6vw, 70px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.eligibility-heading { margin-bottom: 38px; }
.progress { height: 5px; margin-top: 30px; overflow: hidden; border-radius: 99px; background: #e8e4dc; }
.progress span { display: block; width: 0; height: 100%; background: var(--gold); transition: width .25s; }
.question-step { margin: 0; padding: 0; border: 0; }
.question-step legend { display: block; width: 100%; color: var(--navy); font-family: Georgia, serif; font-size: clamp(1.45rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.25; }
.question-step legend span { display: block; margin-bottom: 10px; color: var(--gold); font-family: sans-serif; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.answer-grid { display: grid; margin: 35px 0 25px; grid-template-columns: 1fr 1fr; gap: 15px; }
.answer-grid label { cursor: pointer; }
.answer-grid input { position: absolute; opacity: 0; }
.answer-grid span { display: block; padding: 18px 22px; border: 2px solid var(--line); border-radius: 12px; font-weight: 800; text-align: center; }
.answer-grid input:focus-visible + span, .answer-grid input:checked + span { border-color: var(--gold); background: #fff8e9; outline: 2px solid transparent; }
.field-error { color: var(--danger); font-weight: 700; }
.step-controls { display: flex; justify-content: space-between; gap: 12px; }
.step-controls .button:last-child { margin-left: auto; }
.result { padding: 30px; border: 1px solid; border-radius: 14px; }
.result-success { border-color: #a2d0b8; color: var(--success); background: var(--success-bg); }
.result-danger { border-color: #e1aaa5; color: var(--danger); background: var(--danger-bg); }
.result h3 { color: inherit; }
.payment-actions { margin-top: 25px; }
.setup-warning { margin-top: 20px; font-size: .85rem; font-weight: 700; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.form-card { padding: 35px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.notice { margin-top: 30px; padding: 20px; border-left: 3px solid var(--gold); background: var(--soft); }
.wpcf7 label { display: block; color: var(--navy); font-size: .88rem; font-weight: 800; }
.wpcf7 input:not([type="submit"]), .wpcf7 select, .wpcf7 textarea { width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid #cbd0d5; border-radius: 8px; background: #fff; font: inherit; }
.wpcf7 input[type="submit"] { display: inline-flex; padding: 14px 24px; border: 0; border-radius: 99px; color: #fff; background: var(--navy); font-weight: 800; }
.site-footer { padding: 75px 0 28px; color: #d9e0e6; background: var(--navy); }
.site-footer h2, .site-footer h3, .site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .7fr 1.2fr; gap: 60px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 8px 0; }
.footer-bottom { display: flex; margin-top: 55px; padding-top: 24px; justify-content: space-between; gap: 30px; border-top: 1px solid #334355; color: #9eabb6; font-size: .76rem; }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: 25px 20px 30px; border-top: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
  .primary-nav.is-open, .primary-nav ul { display: flex; flex-direction: column; align-items: stretch; }
  .primary-nav.is-open { display: flex; }
  .hero-grid, .section-heading, .contact-grid, .split-feature { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .attorney-bar { font-size: .64rem; }
  .header-inner { min-height: 72px; }
  .wordmark small { display: none; }
  .hero { background: linear-gradient(165deg, #fff 67%, #f6f0e3 67%); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { padding: 28px; }
  .service-grid, .steps, .trust-grid, .footer-grid, .answer-grid, .feature-grid, .news-grid, .practice-list { grid-template-columns: 1fr; }
  .hero-visual { min-height: 440px; }
  .hero-photo { height: 440px; border-radius: 100px 14px 14px 14px; }
  .hero-badge { right: 10px; bottom: 18px; left: 10px; }
  .split-image img { min-height: 430px; border-radius: 14px 100px 14px 14px; }
  .cta-panel, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .eligibility-shell { width: calc(100% - 20px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Contact Form 7 inserts paragraph wrappers around adjacent form tags. */
.wpcf7-form-control-wrap { display: block; width: 100%; }
.fils-contact-grid > p,
.eligibility-applicant-grid > p {
  display: grid;
  width: 100%;
  margin: 0;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}
.fils-contact-grid > p > label,
.eligibility-applicant-grid > p > label { min-width: 0; margin: 0; }
.wpcf7 input:not([type="submit"]),
.wpcf7 select,
.wpcf7 textarea { display: block; max-width: 100%; }
.eligibility-question > p { margin: 0; }
.eligibility-question .wpcf7-form-control-wrap,
.eligibility-question select { width: 100%; }
.cta-panel > p:last-child { flex: 0 0 auto; margin: 0; }
.cta-panel > p:last-child .button { min-width: 148px; white-space: nowrap; }

@media (max-width: 640px) {
  .fils-contact-grid > p,
  .eligibility-applicant-grid > p { grid-template-columns: 1fr; }
  .cta-panel > p:last-child,
  .cta-panel > p:last-child .button { width: 100%; }
}

/* Premium legal-firm design system */
:root {
  --container: 1160px;
  --reading: 760px;
  --navy: #0b1b2b;
  --navy-2: #122b42;
  --gold: #b88a3b;
  --gold-dark: #8f6828;
  --soft: #f7f5f0;
  --line: #e2ded5;
  --ink: #152332;
  --muted: #5f6b76;
  --shadow: 0 24px 70px rgba(11, 27, 43, .10);
  --shadow-sm: 0 12px 34px rgba(11, 27, 43, .07);
  --radius: 16px;
}
body { font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif; font-size: 16.5px; line-height: 1.72; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .service-fee, .hero-price, .question-step legend { font-family: "Libre Baskerville", Georgia, serif; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 6vw, 5.35rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.35rem); }
h3 { font-size: 1.22rem; line-height: 1.35; }
.container { width: min(calc(100% - 56px), var(--container)); }
.content-narrow { max-width: var(--reading); }
.section { padding: clamp(72px, 8vw, 112px) 0; }
.lead { font-size: clamp(1.08rem, 1.7vw, 1.25rem); line-height: 1.75; }
.eyebrow { font-size: .72rem; letter-spacing: .2em; }
.attorney-bar { padding: 0; }
.attorney-bar-inner { display: flex; min-height: 34px; align-items: center; justify-content: space-between; font-size: .68rem; font-weight: 600; letter-spacing: .12em; }
.header-inner { width: min(calc(100% - 56px), 1240px); max-width: 1240px; min-height: 92px; gap: 24px; }
.site-branding { flex: 0 0 auto; }
.wordmark { gap: 13px; }
.wordmark-mark { width: 48px; height: 55px; border-radius: 6px 6px 18px 18px; font-family: "Libre Baskerville", serif; font-size: 1.35rem; font-weight: 700; box-shadow: inset 0 0 0 3px rgba(255,255,255,.08); }
.wordmark strong { max-width: 205px; font-family: "Libre Baskerville", serif; font-size: 1.01rem; line-height: 1.15; }
.wordmark small { font-size: .49rem; letter-spacing: .16em; }
.custom-logo-link { display: inline-flex; align-items: center; }

.custom-logo { display: block; // width: auto; // max-width: 245px; // max-height: 70px; // object-fit: contain; width: 160px; }

.primary-nav { gap: 16px; }
.primary-nav ul { gap: 17px; }
.primary-nav a { font-size: .82rem; font-weight: 700; letter-spacing: -.01em; }
.primary-nav .current-menu-item > a, .primary-nav a:hover { color: var(--gold-dark); }
.nav-cta { padding-inline: 17px; color: #fff !important; white-space: nowrap; }
.button { min-height: 52px; padding: 13px 23px; border-radius: 8px; font-size: .88rem; letter-spacing: .01em; box-shadow: 0 6px 18px rgba(11,27,43,.10); transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(11,27,43,.16); }
.button-outline { border-color: #b9b3a8; box-shadow: none; }
.button-light { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; box-shadow: none; }
.button-light:hover { border-color: #fff; color: var(--navy); background: #fff; }
.hero { min-height: 720px; display: grid; align-items: center; }
/* .hero-grid { grid-template-columns: minmax(0, 1.06fr) minmax(390px, .94fr); gap: clamp(55px, 7vw, 96px); } */
.hero-copy h1 { max-width: 720px; font-size: clamp(3.15rem, 5.4vw, 5rem); }
.hero-photo { height: 590px; border-radius: 160px 16px 16px 16px; }
.hero-badge { right: -12px; bottom: 24px; }
.trust-strip { padding: 0; }
.trust-grid { min-height: 76px; align-items: center; }
.trust-grid span { position: relative; padding-left: 18px; font-size: .77rem; letter-spacing: .03em; text-align: left; }
.trust-grid span::before { position: absolute; top: .45em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); content: ""; }
/* .section-heading { grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); margin-bottom: 48px; } */
.service-grid { gap: 20px; }
.service-card { min-height: 355px; padding: 32px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.service-card::before { display: block; width: 38px; height: 3px; margin-bottom: 24px; background: var(--gold); content: ""; }
.service-card h3 { font-size: 1.18rem; }
.service-card > p:not(.service-code):not(.service-fee) { line-height: 1.65; }
.service-fee { font-size: 1.65rem; }
.steps { gap: 20px; }
.steps li { padding: 26px 22px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; background: rgba(255,255,255,.035); }
.steps li > span { margin-bottom: 28px; }
.split-image img { min-height: 610px; border-radius: 14px 140px 14px 14px; }
.feature-grid { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.feature-grid article { min-height: 290px; }
.news-grid > a { border-radius: 12px; box-shadow: var(--shadow-sm); }
.page-hero { position: relative; padding: clamp(82px, 9vw, 126px) 0 76px; overflow: hidden; background: linear-gradient(128deg, #fff 0%, #fbf8f2 66%, #f2eadb 100%); }
.page-hero::after { position: absolute; right: -90px; bottom: -180px; width: 390px; height: 390px; border: 1px solid rgba(184,138,59,.22); border-radius: 50%; content: ""; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.75rem, 5vw, 4.7rem); }
.page-hero .content-narrow { max-width: 1000px; }
.page-hero .lead { max-width: 800px; }
.page-content { padding-top: clamp(58px, 7vw, 88px); }
.page-content > .content-narrow { padding: clamp(32px, 5vw, 56px); border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.page-content h2 { margin-top: 1.8em; font-size: clamp(1.55rem, 2.5vw, 2.3rem); }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { margin-top: 1.7em; }
.page-content ul, .page-content ol { padding-left: 1.25rem; }
.page-content li { margin-bottom: .65rem; }
.page-content a { color: var(--gold-dark); font-weight: 700; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.7rem, 2.7vw, 2.5rem); }
.process-timeline { display: grid; margin-top: 46px; gap: 16px; }
.process-step { display: grid; padding: 28px 30px; grid-template-columns: 64px 1fr; gap: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.process-step > .step-number { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; color: var(--gold); background: var(--navy); font-weight: 700; }
.process-step h3 { margin-bottom: 6px; }
.process-step p { margin: 0; color: var(--muted); }
.choice-grid, .price-grid, .value-grid, .resource-grid { display: grid; margin-top: 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.choice-card, .price-card, .value-card, .resource-card { padding: 30px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.choice-card h3, .price-card h3, .value-card h3, .resource-card h3 { margin-bottom: 10px; }
.price-card { display: flex; min-height: 260px; flex-direction: column; }
.price-card .price { margin: auto 0 10px; color: var(--navy); font-family: "Libre Baskerville", serif; font-size: 1.8rem; font-weight: 700; }
.price-card .text-link { margin-top: 0; }
.content-wide { max-width: 1000px; }
.section-mini { margin-top: clamp(70px, 9vw, 110px); }
.section-mini > h2 { margin-top: 0; }
.archive-cta { display: flex; margin-top: 42px; padding: 28px 32px; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.archive-cta p { margin: 0; color: var(--navy); font-family: "Libre Baskerville", serif; font-size: 1.2rem; font-weight: 700; }
.about-split { display: grid; align-items: center; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 85px); }
.about-photo { width: 100%; min-height: 520px; object-fit: cover; border-radius: 120px 12px 12px 12px; box-shadow: var(--shadow); }
.value-grid { grid-template-columns: repeat(3, 1fr); }
.value-card { min-height: 220px; }
.value-card span { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .14em; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgba(11,27,43,.04); }
.faq-list summary { position: relative; padding: 22px 60px 22px 24px; color: var(--navy); font-family: "Libre Baskerville", serif; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::after { position: absolute; top: 19px; right: 24px; color: var(--gold); font-family: "DM Sans", sans-serif; font-size: 1.35rem; content: "+"; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 24px 22px; color: var(--muted); }
.resource-grid { grid-template-columns: repeat(2, 1fr); }
.resource-card { display: flex; min-height: 250px; flex-direction: column; text-decoration: none; transition: transform .2s, border-color .2s; }
.resource-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.resource-card .resource-label { color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.resource-card .text-link { margin-top: auto; }
.resource-card p { color: var(--muted); }
.news-guidance { display: grid; margin-top: 54px; padding: 36px 40px; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 44px; border-radius: 12px; color: #fff; background: var(--navy); }
.news-guidance h2 { margin: 0; color: #fff; font-size: clamp(1.55rem, 2.6vw, 2.3rem); }
.news-guidance > p { margin: 0; color: #c5ced6; }
.page-content .button { color: #fff; }
.page-content .button:hover { color: var(--navy); }
/* .contact-grid { grid-template-columns: .82fr 1.18fr; gap: clamp(44px, 7vw, 82px); } */
.form-card { padding: clamp(28px, 4vw, 46px); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.form-card h2 { margin-bottom: 12px; font-size: clamp(1.7rem, 2.6vw, 2.35rem); }
.form-intro { margin-bottom: 30px; color: var(--muted); font-size: .92rem; }
.contact-details { padding: 20px 0; }
.fils-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.wpcf7 label { margin-bottom: 15px; font-size: .8rem; letter-spacing: .01em; }
.wpcf7 input:not([type="submit"]), .wpcf7 select, .wpcf7 textarea { min-height: 52px; padding: 14px 15px; border-color: #c9c6bf; border-radius: 7px; }
.wpcf7 textarea { min-height: 150px; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { border-color: var(--gold); outline: 3px solid rgba(184,138,59,.15); }
.wpcf7 input[type="submit"] { min-height: 52px; padding: 13px 25px; border-radius: 8px; }
.form-card .wpcf7 input[type="submit"] { width: 100%; margin-top: 12px; cursor: pointer; }
.wpcf7 .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .78rem; font-weight: 500; }
.wpcf7 .wpcf7-acceptance input { width: 18px !important; min-height: 18px !important; margin: 3px 0 0 !important; flex: 0 0 18px; }
.eligibility-cf7-layout { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: clamp(42px, 7vw, 86px); }
.eligibility-cf7-intro { position: sticky; top: 145px; }
.eligibility-cf7-intro h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
.check-list { margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin: 12px 0; padding-left: 25px; color: var(--muted); }
.check-list li::before { position: absolute; left: 0; color: var(--gold); content: "✓"; font-weight: 700; }
.eligibility-cf7-card { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.eligibility-applicant-grid { display: grid; margin-bottom: 34px; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.eligibility-questions { display: grid; gap: 16px; }
.eligibility-question { margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: #fbfaf7; }
.eligibility-question legend { display: block; width: 100%; margin-bottom: 12px; color: var(--navy); font-family: "Libre Baskerville", serif; font-size: 1rem; font-weight: 700; line-height: 1.55; }
.eligibility-question legend span { display: block; margin-bottom: 4px; color: var(--gold); font-family: "DM Sans", sans-serif; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.eligibility-question select { margin-top: 0; background: #fff; }
.eligibility-notes { margin-top: 22px; }
.eligibility-cf7-card input[type="submit"] { width: 100%; margin-top: 18px; cursor: pointer; }
.prefooter-cta { padding: 58px 0; color: #fff; background: var(--navy-2); }
.prefooter-cta h2 { max-width: 760px; margin: 0; color: #fff; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.prefooter-inner { display: flex; align-items: center; justify-content: space-between; gap: 44px; }
.prefooter-inner .button-row { flex: 0 0 auto; }
.site-footer { padding-top: 68px; }
.footer-brand h2 { font-size: 1.65rem; }
/* .footer-grid { grid-template-columns: 1.15fr .65fr 1.2fr; } */
.footer-disclaimer p { max-width: 420px; }

@media (max-width: 1120px) {
  .header-inner { min-height: 82px; }
  .primary-nav ul { gap: 13px; }
  .primary-nav a { font-size: .76rem; }
  .wordmark strong { max-width: 170px; font-size: .9rem; }
  .wordmark small { display: none; }
}
@media (max-width: 980px) {
    .attorney-bar-inner span:last-child { display: none; }
    .attorney-bar-inner { justify-content: center; }
    .primary-nav a { font-size: .95rem; }
    .wordmark strong { max-width: 220px; font-size: 1rem; }
    .hero { min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; }
    .section-heading { grid-template-columns: 1fr; }
    .hero-copy { max-width: 760px; }
    .hero-visual { max-width: 620px; }
    .value-grid { grid-template-columns: 1fr 1fr; }
    .about-split { grid-template-columns: 1fr; }
    .about-photo { min-height: 430px; }
    .prefooter-inner { align-items: flex-start; flex-direction: column; }
    .eligibility-cf7-layout { grid-template-columns: 1fr; }
    .eligibility-cf7-intro { position: static; }
    .news-guidance { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 640px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 64px 0; }
  .hero-copy h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .hero-photo { height: 430px; }
  .trust-grid { gap: 0; }
  .trust-grid span { padding: 13px 0 13px 17px; }
  .service-card { min-height: auto; }
  .process-step { grid-template-columns: 48px 1fr; padding: 22px 20px; gap: 15px; }
  .process-step > span { width: 44px; height: 44px; }
  .choice-grid, .price-grid, .value-grid, .resource-grid, .fils-contact-grid, .eligibility-applicant-grid { grid-template-columns: 1fr; }
  .page-content > .content-narrow { padding: 28px 22px; }
  .prefooter-cta { padding: 48px 0; }
  .archive-cta { align-items: flex-start; flex-direction: column; }
}


/* Family Law Immigration Services — branded image-free fallbacks. */
.hero-placeholder, .consult-placeholder { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:24px; width:100%; min-height:560px; padding:40px; color:#f7f0de; background:radial-gradient(circle at 80% 24%, #375068 0%, transparent 40%),linear-gradient(145deg,#0c1825,#253c50); text-align:center; }
.hero-placeholder { font-family:Georgia,serif; font-size:clamp(1.1rem,2vw,1.5rem); font-weight:700; line-height:1.3; }
.consult-placeholder { border-radius:18px 180px 18px 18px; box-shadow:var(--shadow); }
.placeholder-monogram { display:grid; width:110px; height:124px; place-items:center; border:2px solid var(--gold); border-radius:16px 16px 38px 38px; color:var(--gold); font-family:Georgia,serif; font-size:4.5rem; }
.footer-fallback-menu { margin:0; padding:0; list-style:none; }
.footer-fallback-menu li { margin-bottom:10px; }
@media(max-width:640px) { .hero-placeholder,.consult-placeholder { min-height:410px; } .hero-badge { right:0; bottom:10px; } }

/* Long legal-firm name remains legible across header sizes. */
.wordmark strong { max-width: 315px; font-size: 1.05rem; line-height: 1.16; }
.wordmark small { letter-spacing: .12em; }
@media(max-width:1200px) { .wordmark strong { max-width:245px; font-size:.94rem; } .primary-nav ul { gap:16px; } }
@media(max-width:980px) { .wordmark strong { max-width:330px; font-size:1.05rem; } }
@media(max-width:400px) { .wordmark strong { max-width:210px; font-size:.88rem; } .wordmark-mark { width:38px; height:44px; } }

/* Shared public email on the Contact page: wraps cleanly on narrow screens. */
.contact-email-card { margin: 0 0 28px; padding: 22px 24px; border: 1px solid rgba(12,24,37,.12); border-radius: 14px; background: #fff; }
.contact-email-card h2 { margin: 0 0 9px; font-size: clamp(1.2rem,2vw,1.5rem); }
.contact-email-card p { margin: 0 0 12px; }
.contact-email-link { font-weight: 700; overflow-wrap: anywhere; word-break: break-word; }
@media (max-width: 640px) { .contact-email-card { padding: 18px 16px; } }
