/* =========================================================
   TW Paralegal — main stylesheet
   Brand colours sampled from the official logo:
   blue #0033A0, red #D51B21. Navy is a deeper shade of the logo blue.
   ========================================================= */
:root {
  --blue: #0033a0;        /* logo blue */
  --blue-dark: #00267a;
  --navy: #0a1f4d;        /* deep shade of logo blue: bands, footer */
  --navy-2: #12306e;
  --red: #d51b21;         /* logo red: primary actions, accents */
  --red-dark: #b2141a;

  --text: #14213d;
  --muted: #4f5b70;
  --paper: #f3f6fb;
  --white: #ffffff;
  --line: #dce3ee;
  --line-strong: #c3ccdb;
  --on-navy: #e8edf7;
  --on-navy-muted: #aab6cd;
  --danger: #b2141a;
  --success: #17663f;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r-sm: 3px;
  --r-md: 6px;
  --r-lg: 10px;
  --shadow: 0 1px 2px rgba(10, 31, 77, .06), 0 10px 30px rgba(10, 31, 77, .08);
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.section--navy :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible, .page-hero :focus-visible { outline-color: #fff; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }

.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.prose { max-width: 68ch; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 54ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: var(--r-sm); }
.skip-link:focus { top: 1rem; color: #fff; }

/* Heading with short red rule (from the reference design) */
.ruled::after { content: ""; display: block; width: 56px; height: 3px; background: var(--red); margin-top: .9rem; }
.ruled.center::after { margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .9rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.1rem; }
.eyebrow::after { content: ""; width: 48px; height: 2px; background: var(--red); }
.section--navy .eyebrow, .page-hero .eyebrow { color: var(--on-navy-muted); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 7.5vw, 6rem); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .muted, .section--navy .lede { color: var(--on-navy-muted); }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; align-items: end; }
.section-head--split p { margin: 0; }
@media (max-width: 760px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .8rem 1.5rem; font: 600 1.02rem/1.2 var(--sans); border-radius: var(--r-sm); border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.btn svg { width: 18px; height: 18px; transition: transform .18s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: var(--navy); color: #fff; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--paper); color: var(--red-dark); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .975rem; }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--red); text-decoration: none; }
.text-link svg { width: 16px; height: 16px; transition: transform .18s ease; }
.text-link:hover { color: var(--red-dark); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: var(--on-navy-muted); font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar ul { list-style: none; display: flex; gap: 1.75rem; margin: 0; padding: 0; }
.topbar li { display: flex; align-items: center; gap: .45rem; }
.topbar svg { width: 15px; height: 15px; color: var(--on-navy-muted); }
@media (max-width: 860px) { .topbar { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 31, 77, .09); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 60px; width: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: .15rem; margin: 0; padding: 0; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: .35rem; padding: .7rem .85rem; color: var(--text); font-weight: 600; text-decoration: none; font-size: 1rem; background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav-link::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .2s ease; }
.nav-link:hover { color: var(--blue); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--navy); }
.nav-link .chev { width: 12px; height: 12px; transition: transform .2s ease; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.has-dropdown { position: relative; }
.dropdown { position: absolute; top: calc(100% + 10px); left: -1rem; width: 340px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--shadow); padding: .5rem; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .16s ease, transform .16s ease, visibility .16s; }
.dropdown.is-open { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .75rem; border-radius: var(--r-sm); text-decoration: none; color: var(--text); font-size: .985rem; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--paper); color: var(--blue); }
.dropdown a span { color: var(--muted); font-size: .875rem; white-space: nowrap; }
.dropdown .dropdown-all { border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .35rem; }
.dropdown .dropdown-all a { font-weight: 600; color: var(--red); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line-strong); background: #fff; border-radius: var(--r-md); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--navy); position: relative; transition: transform .2s ease, background-color .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-cta { display: none; }
@media (max-width: 1279px) {
  :root { --header-h: 76px; }
  .brand img { height: 50px; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .site-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 1rem 1.25rem calc(2rem + env(safe-area-inset-bottom, 0px)); overflow-y: auto; display: none; border-top: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 1rem .25rem; font-size: 1.125rem; }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"], .nav-link.is-active { box-shadow: inset 3px 0 0 var(--red); padding-left: .85rem; }
  .dropdown { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 .75rem; display: none; opacity: 1; visibility: visible; transform: none; }
  .dropdown.is-open { display: block; }
  .mobile-cta { display: grid; gap: .6rem; margin-top: 1.25rem; }
  .mobile-cta .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { background: var(--paper); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3rem, 6vw, 5rem); }
.hero h1 { max-width: 13ch; margin-bottom: .45em; }
.hero .lede { margin-bottom: 2rem; }
.audience { list-style: none; padding: 0; margin: 2.5rem 0 0; padding-top: 1.75rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; }
.audience li { display: flex; align-items: center; gap: .7rem; font-weight: 600; line-height: 1.25; color: var(--navy); font-size: .975rem; }
.audience svg { width: 30px; height: 30px; color: var(--blue); flex-shrink: 0; }
.hero-visual { position: relative; background: var(--navy); border-radius: var(--r-lg); min-height: 540px; overflow: hidden; box-shadow: var(--shadow); }
.hero-visual .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to top, rgba(10,31,77,.55), transparent); pointer-events: none; }
.hero-tag { z-index: 1; }
.hero-tag { position: absolute; right: 1.25rem; bottom: 1.25rem; background: rgba(255,255,255,.96); border-left: 3px solid var(--red); padding: .9rem 1.1rem; border-radius: var(--r-sm); box-shadow: var(--shadow); max-width: 250px; }
.hero-tag strong { display: block; font-family: var(--serif); color: var(--navy); font-size: 1.05rem; }
.hero-tag span { font-size: .875rem; color: var(--muted); }
.bundle-tab { transform-box: fill-box; }
@media (prefers-reduced-motion: no-preference) {
  .bundle-tab { animation: tabIn .7s cubic-bezier(.2,.8,.2,1) both; }
  .bundle-tab:nth-of-type(2) { animation-delay: .12s; }
  .bundle-tab:nth-of-type(3) { animation-delay: .24s; }
  .bundle-tab:nth-of-type(4) { animation-delay: .36s; }
  @keyframes tabIn { from { transform: translateX(-26px); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { min-height: 0; aspect-ratio: 4 / 3; } .hero-tag { right: 1rem; bottom: 1rem; left: 1rem; max-width: none; } }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 1080px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }
.service-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 1.5rem 1.6rem; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.service-card::before { content: ""; position: absolute; z-index: 2; top: 0; left: 50%; width: 0; height: 3px; background: var(--red); transform: translateX(-50%); transition: width .25s ease; }
.service-card:hover { background: #fff; box-shadow: var(--shadow); }
.service-card:hover::before { width: 100%; }
.card-media { margin: 0 -1.5rem; width: calc(100% + 3rem); aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .card-media img { transform: scale(1.04); }
.service-card .icon { position: relative; width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(10,31,77,.1); display: grid; place-items: center; color: var(--blue); margin: -32px 0 .9rem; }
.service-card .icon svg { width: 30px; height: 30px; stroke-width: 1.5; }
.service-card h3 { margin-bottom: .45rem; font-size: 1.25rem; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; }
.service-card p { color: var(--muted); font-size: .985rem; flex: 1; margin-bottom: 1rem; }
.service-card .price-tag { font-size: .9rem; font-weight: 600; color: var(--navy); padding-top: .9rem; border-top: 1px solid var(--line); width: 100%; display: flex; justify-content: space-between; align-items: center; }
.service-card .price-tag em { font-style: normal; color: var(--red); display: inline-flex; align-items: center; gap: .3rem; }
.service-card .price-tag svg { width: 15px; height: 15px; }

/* ---------- Navy statement band ---------- */
.statement { position: relative; overflow: hidden; }
.statement-media { position: absolute; inset: 0 auto 0 0; width: 38%; }
.statement-media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.statement-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,31,77,.35), var(--navy) 98%); }
@media (max-width: 860px) { .statement-media { width: 100%; } .statement-media img { opacity: .18; } }
.statement-grid { position: relative; display: grid; grid-template-columns: 1.4fr auto 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.statement h2 { font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.25; margin: 0; }
.statement .divider { width: 1px; align-self: stretch; background: rgba(255,255,255,.22); }
.statement p { color: var(--on-navy); margin-bottom: 1.5rem; }
@media (max-width: 860px) { .statement-grid { grid-template-columns: 1fr; } .statement .divider { width: 56px; height: 2px; background: var(--red); } }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.75rem; counter-reset: step; }
.step { position: relative; }
.step-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.step-top::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; flex-shrink: 0; }
.step-top svg { width: 38px; height: 38px; color: var(--blue); stroke-width: 1.4; }
.section--navy .step-top svg { color: #fff; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 1.05rem; right: -1.2rem; width: 10px; height: 10px; border-top: 2px solid var(--line-strong); border-right: 2px solid var(--line-strong); transform: rotate(45deg); }
.section--navy .step:not(:last-child)::after { border-color: rgba(255,255,255,.4); }
.step h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: 1rem; margin: 0; }
.section--navy .step p { color: var(--on-navy-muted); }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(3, 1fr); } .step::after { display: none; } }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Fees ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.fees { border-top: 2px solid var(--navy); }
.fee-row { display: flex; align-items: baseline; gap: .75rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.fee-row .fee-name { font-weight: 600; color: var(--navy); text-decoration: none; }
.fee-row .fee-name:hover { color: var(--blue); text-decoration: underline; }
.fee-row .leader { flex: 1; border-bottom: 2px dotted var(--line-strong); transform: translateY(-.3em); }
.fee-row .fee-amt { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--navy); white-space: nowrap; }
.fee-row .fee-amt small { font-family: var(--sans); font-weight: 400; font-size: .85rem; color: var(--muted); margin-right: .35rem; }
.fee-note { color: var(--muted); font-size: .95rem; margin: 1.25rem 0 1.75rem; }
.consult-box { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--r-md); padding: 2rem; box-shadow: var(--shadow); }
.consult-box dl { margin: 1.25rem 0 1.5rem; display: grid; grid-template-columns: 1fr auto; gap: .7rem 1rem; }
.consult-box dt { color: var(--muted); }
.consult-box dd { margin: 0; font-weight: 600; text-align: right; color: var(--navy); }
.consult-box .btn { width: 100%; }

/* ---------- Why choose us ---------- */
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 960px) { .reasons { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .reasons { grid-template-columns: 1fr; } }
.reason .icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,51,160,.08); color: var(--blue); margin-bottom: 1rem; }
.reason .icon svg { width: 26px; height: 26px; }
.reason h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.reason p { color: var(--muted); font-size: 1rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 2px solid var(--navy); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.2rem 0; font-family: var(--serif); font-weight: 600; color: var(--navy); font-size: clamp(1.1rem, 1.7vw, 1.22rem); line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); position: relative; transition: background-color .2s; }
.faq-item summary .plus::before, .faq-item summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--blue); transform: translate(-50%, -50%); }
.faq-item summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.faq-item[open] summary .plus { background: var(--red); border-color: var(--red); }
.faq-item[open] summary .plus::before, .faq-item[open] summary .plus::after { background: #fff; }
.faq-item[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item summary:hover { color: var(--blue); }
.faq-answer { padding: 0 3rem 1.5rem 0; max-width: 72ch; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-layout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-nav { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.faq-nav ul { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.faq-nav a { display: block; padding: .5rem 0 .5rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; }
.faq-nav a:hover { color: var(--navy); border-left-color: var(--red); }
.faq-group { margin-bottom: 3.5rem; }
.faq-group h2 { font-size: clamp(1.5rem, 2.4vw, 1.85rem); margin-bottom: 1rem; }
.faq-search { position: relative; margin-bottom: 2.5rem; max-width: 640px; }
.faq-search input { width: 100%; padding: 1rem 1rem 1rem 3rem; font: inherit; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: #fff; }
.faq-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,51,160,.15); }
.faq-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.faq-empty { display: none; padding: 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-nav { position: static; } .faq-nav ul { display: flex; flex-wrap: wrap; gap: .4rem; border: 0; } .faq-nav a { border: 1px solid var(--line); border-radius: 99px; padding: .35rem .9rem; margin: 0; background: #fff; } .faq-answer { padding-right: 0; } }

/* ---------- Get in touch (home) ---------- */
.touch-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 960px) { .touch-grid { grid-template-columns: 1fr; } }
.touch-methods { display: grid; grid-template-columns: 1fr 1fr 1.45fr; gap: 1.5rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .touch-methods { grid-template-columns: 1fr; } }
.touch-methods .circle { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; margin-bottom: .9rem; }
.touch-methods .circle svg { width: 22px; height: 22px; }
.touch-methods .circle--wa { background: #25d366; }
.touch-methods .circle--red { background: var(--red); }
.touch-methods h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin-bottom: .2rem; color: var(--muted); }
.touch-methods a { font-weight: 700; color: var(--navy); text-decoration: none; font-size: 1.05rem; overflow-wrap: anywhere; }
.touch-methods a:hover { color: var(--blue); text-decoration: underline; }
.touch-methods p { font-size: .9rem; color: var(--muted); margin: .25rem 0 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--on-navy); padding-block: clamp(3.5rem, 7vw, 5rem); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: 50%; width: 420px; aspect-ratio: 1.3; transform: translateY(-50%); background: url("../img/emblem-white.png") center / contain no-repeat; opacity: .06; }
.cta-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { color: var(--on-navy-muted); max-width: 52ch; font-size: 1.1rem; margin: 0; }

/* ---------- Page hero (inner) ---------- */
.page-hero { background: var(--navy); color: var(--on-navy); padding-block: clamp(2.5rem, 5vw, 3.75rem) clamp(3rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -40px; bottom: -60px; width: 400px; aspect-ratio: 1.3; background: url("../img/emblem-white.png") center / contain no-repeat; opacity: .07; }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.5rem); max-width: 20ch; }
.page-hero h1::after { content: ""; display: block; width: 56px; height: 3px; background: var(--red); margin-top: 1rem; }
.page-hero .lede { color: var(--on-navy-muted); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .9rem; color: var(--on-navy-muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: .4rem; }
.breadcrumbs a { color: var(--on-navy-muted); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: #fff; }

/* ---------- Service detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 350px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.detail-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--r-md); padding: 1.75rem; box-shadow: var(--shadow); }
.detail-aside .price-big { font-family: var(--serif); font-weight: 600; color: var(--navy); font-size: 2.3rem; line-height: 1; margin: .25rem 0 .5rem; }
.detail-aside .btn { width: 100%; margin-top: .75rem; }
.check-list { list-style: none; padding: 0; margin: 1rem 0 1.75rem; }
.check-list li { position: relative; padding-left: 1.85rem; margin-bottom: .65rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg); }
.notice { border-left: 3px solid var(--blue); background: var(--paper); padding: 1.1rem 1.25rem; border-radius: 0 var(--r-md) var(--r-md) 0; font-size: .985rem; }
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 900px) { .related { grid-template-columns: 1fr 1fr; } }
.related a { display: block; padding: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--navy); font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.related a:hover { border-color: var(--blue); }
.related a span { display: block; font-family: var(--sans); font-weight: 400; font-size: .875rem; color: var(--muted); margin-top: .25rem; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } .detail-aside { position: static; } }

/* ---------- About ---------- */
.about-panel { background: var(--navy); border-radius: var(--r-lg); padding: clamp(2rem, 4vw, 3rem); color: var(--on-navy); position: relative; overflow: hidden; }
.about-panel img.badge { width: 120px; height: 120px; margin-bottom: 1.75rem; border-radius: 50%; box-shadow: 0 0 0 6px rgba(255,255,255,.12); }
.about-panel blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.35; color: #fff; }
.about-panel cite { display: block; margin-top: 1rem; font-style: normal; font-size: .9rem; color: var(--on-navy-muted); }
.fact-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .85rem; }
.fact-list li { display: grid; grid-template-columns: 24px 1fr; gap: .75rem; align-items: start; }
.fact-list svg { width: 22px; height: 22px; color: var(--red); margin-top: .15rem; }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-methods { list-style: none; padding: 0; margin: 0 0 2rem; border-top: 2px solid var(--navy); }
.contact-methods li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.contact-methods .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; color: #fff; }
.contact-methods .icon--wa { background: #25d366; }
.contact-methods .icon svg { width: 20px; height: 20px; }
.contact-methods .label { display: block; font-size: .875rem; color: var(--muted); }
.contact-methods a { font-weight: 700; font-size: 1.1rem; color: var(--navy); text-decoration: none; }
.contact-methods a:hover { color: var(--blue); text-decoration: underline; }
.form-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--r-md); padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: var(--shadow); }
.form-card h2, .form-card h3 { margin-bottom: .4rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { font-weight: 600; font-size: .95rem; padding: 0; color: var(--navy); }
.field label.consent { font-weight: 400; color: var(--text); }
.field .opt { font-weight: 400; color: var(--muted); }
.field .hint { font-size: .875rem; color: var(--muted); margin: -.1rem 0 .1rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); padding: .8rem .9rem; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,51,160,.15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field .error { color: var(--danger); font-size: .875rem; display: none; }
.field.has-error .error { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-block; padding: .55rem 1.1rem; border: 1.5px solid var(--line-strong); border-radius: 99px; cursor: pointer; font-size: .95rem; }
.choice input:checked + span { border-color: var(--blue); background: rgba(0,51,160,.07); color: var(--blue); font-weight: 600; }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; align-items: start; font-size: .95rem; }
.consent input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--blue); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 1.25rem; padding: 1.1rem 1.25rem; border-radius: var(--r-md); font-size: .975rem; }
.form-status.is-visible { display: block; }
.form-status--success { background: rgba(23,102,63,.08); border: 1px solid rgba(23,102,63,.3); color: var(--success); }
.form-status--error { background: rgba(178,20,26,.06); border: 1px solid rgba(178,20,26,.3); color: var(--danger); }
.form-status--error a { color: var(--danger); font-weight: 600; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Legal pages ---------- */
.legal h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.draft-flag { background: #fff6e0; border: 1px solid #e8c770; padding: 1rem 1.25rem; border-radius: var(--r-md); margin-bottom: 2rem; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding: 4.5rem 0 calc(2rem + env(safe-area-inset-bottom, 0px)); font-size: .95rem; border-top: 4px solid var(--red); }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 2.5rem; }
.footer-brand img { width: 112px; height: 112px; border-radius: 50%; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 34ch; }
.site-footer h2 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: #fff; margin-bottom: 1rem; }
.site-footer h2::after { content: ""; display: block; width: 32px; height: 2px; background: var(--red); margin-top: .6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-disclaimer { margin-top: 3rem; padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,.14); font-size: .875rem; line-height: 1.6; }
.footer-bottom { padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp widget ---------- */
.wa { position: fixed; z-index: 90; right: max(1.25rem, env(safe-area-inset-right, 0px)); bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); }
.wa-button { width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.2), 0 0 0 4px #fff; transition: transform .18s ease; }
.wa-button:hover { transform: scale(1.05); }
.wa-button svg { width: 30px; height: 30px; }
.wa-panel { position: absolute; right: 0; bottom: 78px; width: min(330px, calc(100vw - 2.5rem)); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 18px 50px rgba(10,31,77,.22); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.wa-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.wa-panel-head { background: var(--navy); color: #fff; padding: 1rem 1.1rem; display: flex; justify-content: space-between; align-items: center; gap: .9rem; border-bottom: 3px solid #25d366; }
.wa-panel-head img { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; }
.wa-panel-head .who { flex: 1; }
.wa-panel-head h2 { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; margin: 0; color: #fff; }
.wa-panel-head p { margin: .1rem 0 0; font-size: .85rem; color: var(--on-navy-muted); }
.wa-close { background: none; border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; flex-shrink: 0; }
.wa-close:hover { background: rgba(255,255,255,.12); }
.wa-panel-body { padding: 1.25rem; font-size: .95rem; }
.wa-panel-body .btn { width: 100%; background: #1a8f4c; color: #fff; margin-top: .5rem; }
.wa-panel-body .btn:hover { background: #157a40; }
.wa-panel-body .small { margin: .85rem 0 0; color: var(--muted); }
@media (max-width: 640px) { .wa-button { width: 56px; height: 56px; } }
body.nav-open .wa { display: none; }
@media print { .site-header, .topbar, .wa, .cta-band, .site-footer { display: none; } }
a[href^="tel:"] { white-space: nowrap; }

/* ---------- Image frames ---------- */
.media-frame { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--line); }
.media-frame > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.media-quote { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: center; background: rgba(10,31,77,.94); color: #fff; border-left: 3px solid var(--red); padding: 1.1rem 1.25rem; border-radius: var(--r-sm); font-family: var(--serif); font-size: clamp(1.02rem, 1.5vw, 1.15rem); line-height: 1.4; }
.media-quote .badge { width: 64px; height: 64px; border-radius: 50%; }
.detail-media { margin: 0 0 2.25rem; border-radius: var(--r-lg); overflow: hidden; background: var(--line); }
.detail-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.contact-grid .detail-media { margin-bottom: 2rem; }

/* ---------- Upload Documents page ---------- */
.upload-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 960px) { .upload-grid { grid-template-columns: 1fr; } .upload-aside { order: -1; } }
.name-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: .6rem; }
@media (max-width: 600px) { .name-grid { grid-template-columns: 1fr; } }
.field legend { margin-bottom: .2rem; }
.label-like { font-weight: 600; font-size: .95rem; color: var(--navy); }
.dropzone { position: relative; border: 2px dashed var(--line-strong); border-radius: var(--r-md); background: var(--paper); padding: 2rem 1.25rem; text-align: center; transition: border-color .15s, background-color .15s; }
.dropzone.is-over { border-color: var(--blue); background: rgba(0,51,160,.05); }
.dropzone:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,51,160,.15); }
.has-error .dropzone { border-color: var(--danger); }
.dz-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.dz-icon { width: 52px; height: 52px; margin: 0 auto .75rem; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--blue); }
.dz-icon svg { width: 26px; height: 26px; }
.dz-title { margin: 0 0 .35rem; }
.dz-btn { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem 1.2rem; background: var(--navy); color: #fff !important; font-weight: 600; border-radius: var(--r-sm); cursor: pointer; }
.dz-btn:hover { background: var(--blue); }
.dz-input:focus-visible + .dz-icon + .dz-title .dz-btn { outline: 3px solid var(--blue); outline-offset: 3px; }
.dz-or { color: var(--muted); margin-left: .35rem; }
@media (hover: none) { .dz-or { display: none; } }
.dz-rules { font-size: .875rem; color: var(--muted); margin: 0; }
.dz-count { font-size: .9rem; color: var(--muted); margin: .75rem 0 .25rem; }
.dz-count:empty { display: none; }
.file-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.file-list li { display: grid; grid-template-columns: 36px 1fr auto; gap: .75rem; align-items: center; padding: .6rem .75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); }
.file-list .f-icon { width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--paper); color: var(--blue); display: grid; place-items: center; }
.file-list .f-icon svg { width: 20px; height: 20px; }
.file-list .f-name { font-weight: 600; font-size: .95rem; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .f-size { display: block; font-size: .8rem; color: var(--muted); font-weight: 400; }
.file-list button { background: none; border: 1px solid var(--line); color: var(--danger); border-radius: var(--r-sm); padding: .4rem .7rem; font: 600 .85rem var(--sans); cursor: pointer; min-height: 36px; }
.file-list button:hover { background: rgba(178,20,26,.06); border-color: var(--danger); }
.file-notice { font-size: .9rem; color: var(--danger); margin: .5rem 0 0; }
.upload-submit { margin-top: 1.5rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.progress { flex: 1; min-width: 160px; height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: var(--blue); transition: width .2s ease; }
.upload-aside { display: grid; gap: 1.5rem; }
.next-box { background: var(--navy); color: var(--on-navy); border-radius: var(--r-md); padding: 1.75rem; border-top: 4px solid var(--red); }
.next-box h2 { color: #fff; font-size: 1.5rem; }
.next-steps { list-style: none; counter-reset: n; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .9rem; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 30px 1fr; gap: .75rem; }
.next-steps li::before { content: counter(n); width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.no-charge { margin: 0; padding: 1rem; background: rgba(255,255,255,.08); border-radius: var(--r-sm); }
.no-charge strong { color: #fff; }
.tips-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; }
.tips-box h3 { font-size: 1.15rem; }
.tips-box .small svg { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; margin-right: .25rem; color: var(--blue); }
.tips-box .check-list { margin-bottom: 1rem; }

/* Header fit with 7 menu items */
.nav-link, .header-actions .btn { white-space: nowrap; }
.nav-link .chev { flex-shrink: 0; }
@media (min-width: 1280px) {
  .nav-link { padding-inline: .55rem; font-size: .96rem; }
  .nav-link::after { left: .55rem; right: .55rem; }
  .brand img { height: 52px; }
  .header-inner { gap: 1rem; }
}
.btn svg { flex-shrink: 0; }

.step p a { color: var(--blue); font-weight: 600; }
.section--navy .step p a { color: #fff; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.post-card:hover { box-shadow: var(--shadow); border-color: var(--line-strong); }
.post-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-media img { transform: scale(1.04); }
.post-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-body > p:not(.post-meta) { color: var(--muted); font-size: .985rem; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; font-size: .85rem; color: var(--muted); margin-bottom: .6rem; }
.post-cat { color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }
.post-title { font-size: 1.3rem; margin-bottom: .55rem; }
.post-title a { color: var(--navy); text-decoration: none; }
.post-title a:hover { color: var(--blue); text-decoration: underline; }
.section-head--split p .text-link { margin-left: .35rem; }

.post-hero h1 { max-width: 24ch; }
.post-hero-meta { color: var(--on-navy-muted); font-size: .95rem; margin: 0; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 960px) { .post-layout { grid-template-columns: 1fr; } }
.article { max-width: 760px; }
.article-media { margin: 0 0 2.25rem; }
.article-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); background: var(--line); }
.article-media figcaption { font-size: .8rem; color: var(--muted); margin-top: .5rem; }
.article-media figcaption a { color: var(--muted); }
.article-body { font-size: 1.1rem; line-height: 1.75; }
.article-body > p:first-child { font-size: 1.2rem; color: var(--navy); }
.article-body h2 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); margin: 2.25rem 0 .75rem; }
.article-body ul { padding-left: 0; list-style: none; margin: 0 0 1.25rem; }
.article-body li { position: relative; padding-left: 1.5rem; margin-bottom: .55rem; }
.article-body li::before { content: ""; position: absolute; left: .2rem; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.article .notice { margin: 2.25rem 0; }
.article-cta { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; flex-wrap: wrap; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--r-md); padding: 1.5rem; margin-bottom: 2rem; }
.article-cta h2 { font-size: 1.35rem; margin: 0 0 .2rem; }
.article-cta p { margin: 0; color: var(--muted); }
.post-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.5rem; }
@media (max-width: 960px) { .post-aside { position: static; } }
.aside-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; }
.aside-box h2 { font-size: 1.2rem; }
.aside-box--navy { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.aside-box--navy h2 { color: #fff; }
.aside-box--navy a:not(.btn) { color: #fff; }
.mini-posts { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.mini-posts a { display: grid; grid-template-columns: 96px 1fr; gap: .9rem; align-items: center; text-decoration: none; color: var(--navy); font-weight: 600; line-height: 1.35; font-size: .95rem; }
.mini-posts a:hover span { color: var(--blue); text-decoration: underline; }
.mini-posts img { width: 96px; height: 72px; object-fit: cover; border-radius: var(--r-sm); background: var(--line); }
.mini-posts small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; margin-top: .2rem; }
.service-card .price-tag--link { justify-content: center; }
.dropdown { width: 290px; }
.detail-aside .aside-title { font-size: 1.5rem; margin-bottom: .5rem; }

/* ---------- Scrolling disclaimer (top of footer) ---------- */
.site-footer { padding-top: 0; border-top: 0; }
.site-footer > .wrap { padding-top: 4rem; }
.ticker { position: relative; display: flex; align-items: center; background: var(--red); color: #fff; border-bottom: 3px solid var(--red-dark); }
.ticker-viewport { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker-item { white-space: nowrap; font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; padding: .95rem 0; }
.ticker-sep { padding: .95rem 2.5rem; font-size: 1.1rem; opacity: .85; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker:hover .ticker-track, .ticker.is-paused .ticker-track { animation-play-state: paused; }
.ticker-toggle { flex-shrink: 0; width: 44px; height: 44px; margin: 0 .5rem; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.ticker-toggle:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.ticker-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.ticker-toggle .i-play, .ticker.is-paused .ticker-toggle .i-pause { display: none; }
.ticker.is-paused .ticker-toggle .i-play { display: block; }
.ticker-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 640px) { .ticker-item { font-size: .975rem; } .ticker-sep { padding-inline: 1.5rem; } }
/* Visitors who prefer less motion get the full text, static and wrapped */
@media (prefers-reduced-motion: reduce) {
  .ticker-viewport { -webkit-mask-image: none; mask-image: none; }
  .ticker-track { animation: none; width: auto; }
  .ticker-item { white-space: normal; padding: 1rem 1.25rem; text-align: center; }
  .ticker-item + .ticker-sep, .ticker-item ~ .ticker-item, .ticker-toggle { display: none; }
}

/* ---------- In-page navigation ---------- */
/* Thin loading bar shown only while the next page is being fetched */
.nav-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; pointer-events: none; background: var(--red); transform-origin: left; transform: scaleX(0); opacity: 0; transition: opacity .2s ease; }
.nav-progress.is-loading { opacity: 1; animation: navProgress 1.4s ease-out forwards; }
@keyframes navProgress { 0% { transform: scaleX(0); } 60% { transform: scaleX(.7); } 100% { transform: scaleX(.92); } }
/* Quick cross-fade between pages in browsers that support view transitions */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
main:focus, main h1:focus { outline: none; }
@media (prefers-reduced-motion: reduce) { .nav-progress.is-loading { animation: none; transform: scaleX(1); } }

/* ---------- Testimonials ---------- */
.t-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--r-md); padding: 1.6rem 1.6rem 1.4rem; box-shadow: 0 1px 2px rgba(10, 31, 77, .04); transition: box-shadow .25s ease, transform .25s ease; }
.t-card:hover { box-shadow: var(--shadow); }
.t-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .35rem; }
.t-mark { font-family: var(--serif); font-size: 3.6rem; line-height: .8; color: var(--red); height: 2.2rem; }
.t-stars { color: var(--red); letter-spacing: .12em; font-size: 1rem; white-space: nowrap; }
.t-stars-off { color: var(--line-strong); }
.t-quote { margin: 0 0 1.1rem; }
.t-quote p { margin: 0; font-size: 1.02rem; line-height: 1.7; color: var(--text); }
.t-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; margin-bottom: 1.1rem; }
.t-service { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--blue); background: rgba(0, 51, 160, .07); border-radius: 99px; padding: .25rem .7rem; }
.t-source { font-size: .8rem; color: var(--muted); }
.t-person { display: flex; align-items: center; gap: .8rem; padding-top: 1rem; border-top: 1px solid var(--line); margin-top: auto; }
.t-avatar { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; font-size: .9rem; letter-spacing: .03em; }
.t-name { display: block; color: var(--navy); font-size: 1rem; }
.t-role { display: block; color: var(--muted); font-size: .875rem; }

/* Homepage: staggered columns fit more reviews of different lengths without gaps */
.t-masonry { columns: 3; column-gap: 1.5rem; }
.t-masonry .t-card { break-inside: avoid; width: 100%; margin-bottom: 1.5rem; display: inline-flex; }
@media (max-width: 1000px) { .t-masonry { columns: 2; } }
@media (max-width: 640px) { .t-masonry { columns: 1; } }
/* Scroll animation (homepage only; added by JavaScript) */
.t-card.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease; }
.t-card.reveal.is-visible { opacity: 1; transform: none; }

/* Testimonials page: static grid, 3 per row on desktop */
.t-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
@media (max-width: 1000px) { .t-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .t-grid { grid-template-columns: 1fr; } }
.t-grid:empty, .t-masonry:empty { display: none; }
.t-summary { margin: 0 0 2rem; color: var(--muted); font-size: 1.05rem; }
.t-summary strong { color: var(--navy); }
.t-dot { margin: 0 .35rem; }
.t-empty { max-width: 640px; margin: 0 auto; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(2rem, 5vw, 3rem); }
.t-empty-icon { font-family: var(--serif); font-size: 4.5rem; line-height: .9; color: var(--red); height: 3rem; }
.t-empty p { color: var(--muted); margin-bottom: 1.5rem; }
.t-preview-flag { background: #fff6e0; border: 1px solid #e8c770; border-radius: var(--r-md); padding: .85rem 1.1rem; font-size: .925rem; margin: 0 0 1.5rem; }
.t-preview-flag code { background: rgba(0,0,0,.06); padding: .05rem .35rem; border-radius: 3px; }

/* Header bar: a little wider than the page content so all 8 menu items fit on one line */
.header-inner, .topbar .wrap { width: min(1320px, 100% - 2.5rem); }
/* Homepage testimonials: hint the browser before the reveal animation runs (smoother, no flicker) */
.t-masonry .t-card.reveal:not(.is-visible) { will-change: opacity, transform; }

/* Homepage testimonials: one even row of 3 cards (Testimonials page grid is unaffected) */
.t-masonry { columns: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
.t-masonry .t-card { display: flex; width: auto; margin-bottom: 0; break-inside: auto; }
@media (max-width: 899px) { .t-masonry { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; } }

/* ---------- Upload Documents: responsive fixes ---------- */
/* The hidden file picker was being stretched to 100% width by `.field input`,
   pushing past the screen edge on tablets. Keep it a 1px invisible control
   (still focusable and reachable by keyboard / screen readers via its label). */
.field .dz-input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; padding: 0; margin: 0; border: 0; opacity: 0; overflow: hidden; clip-path: inset(50%); }
.dropzone { overflow: hidden; }
.file-list li { min-width: 0; }
.file-list .f-name { min-width: 0; }
.consent input { width: 22px; height: 22px; }
@media (max-width: 600px) {
  .dropzone { padding: 1.5rem 1rem; }
  .dz-btn { min-height: 48px; padding: .65rem 1.4rem; }
  .file-list li { grid-template-columns: 32px minmax(0, 1fr) auto; gap: .6rem; padding: .55rem .6rem; }
  .file-list .f-icon { width: 32px; height: 32px; }
  .file-list button { min-height: 44px; padding: .5rem .8rem; }
  .choice span { min-height: 44px; display: inline-flex; align-items: center; padding: .55rem 1.15rem; }
  .upload-submit .btn { width: 100%; min-height: 52px; }
  .upload-grid .form-card { padding: 1.4rem 1.15rem; }
}
/* "Choose files" is a <label>, so `.field label { padding: 0 }` was stripping its padding */
.field .dz-btn { padding: .6rem 1.3rem; line-height: 1.2; }
@media (max-width: 600px) { .field .dz-btn { padding: .7rem 1.4rem; } }
@media (max-width: 360px) {
  .file-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .file-list .f-icon { display: none; }
}
@media (max-width: 600px) {
  .file-list .f-name { white-space: normal; }
  .file-list .f-title { overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
}

@media (min-width: 601px) { .file-list .f-title { display: block; overflow: hidden; text-overflow: ellipsis; } }

/* ---------- Small-screen overflow safeguards ---------- */
/* Grid columns default to min-width:auto, so one long unbreakable string (e.g. an email address)
   can force a column wider than the screen. Let columns shrink and long strings wrap instead. */
.contact-grid > *, .detail-grid > *, .split > *, .upload-grid > *, .post-layout > *, .touch-grid > *, .form-grid > *, .faq-layout > * { min-width: 0; }
.contact-methods a, .touch-methods a, .site-footer a[href^="mailto:"], .notice a, .t-empty a { overflow-wrap: anywhere; }
/* "Other services" on service pages: one column on small phones */
@media (max-width: 560px) { .related { grid-template-columns: 1fr; } }

/* Dropdown: become visible immediately when opening, so keyboard focus can move into it */
.dropdown.is-open { transition: opacity .16s ease, transform .16s ease, visibility 0s; }
