/* R1.6 additions are separate from the preserved R1.5 design layer. */
:root { --focus: #0c7975; }
textarea { font: inherit; }
button, input, textarea, select { max-width: 100%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.primary-nav ul { display: flex; align-items: center; gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.primary-nav li { margin: 0; }
.primary-nav a { display: inline-block; padding: .7rem 0; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--teal); }
.nav-cta { white-space: nowrap; background: var(--navy); color: #fff; border-radius: 5px; padding: .7rem 1rem; font-size: .83rem; font-weight: 750; }
.nav-cta:hover { background: var(--teal); }
.page-hero { background: linear-gradient(125deg, var(--deep), #17546a); color: #fff; padding: 74px 0 84px; }
.page-hero h1 { max-width: 870px; }
.page-hero .lead { max-width: 760px; }
.breadcrumbs { margin-bottom: 2.5rem; font-size: .82rem; color: var(--muted); }
.page-hero .breadcrumbs { color: #d5e8eb; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: .5rem; opacity: .55; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.top-space { margin-top: 2rem; }
.step { color: var(--teal); font-weight: 850; font-size: .82rem; letter-spacing: .16em; margin-bottom: 1.3rem; }
.narrow { max-width: 760px; }
.detail-head { max-width: 900px; }
.detail-head .status { margin: 0 .45rem .45rem 0; }
.status.draft { background: #fff1d8; color: #744d17; }
.detail-block p { white-space: normal; }
.detail-block a, .service-card a { margin-top: auto; }
.next-step { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin: 3.5rem 0; padding: 2.3rem; border: 1px solid var(--line); border-radius: 12px; background: #e8f2ef; }
.next-step h2 { font-size: clamp(1.8rem, 2.6vw, 2.5rem); }
.next-step p { max-width: 650px; }
.next-step .button { flex-shrink: 0; }
.next-step.stacked { display: block; margin: 0; }
.related { margin-top: 4rem; }
.related h2 { font-size: 2rem; }
.empty-state { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 2rem; }
.filter-actions { display: flex; align-items: end; gap: .8rem; flex-wrap: wrap; }
.filter-actions .button { min-height: 47px; }
.filter-actions a { padding: .7rem; color: var(--navy); text-decoration: underline; }
.result-count { margin: .6rem 0 1.5rem; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; }
.form-card { background: #fff; padding: 2rem; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px #123b3b0d; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: .42rem; margin-bottom: 1rem; }
.field label, .check-field { font-weight: 700; font-size: .9rem; }
.field input, .field textarea { width: 100%; border: 1px solid #b9cbd0; border-radius: 6px; padding: .8rem .9rem; color: var(--ink); background: #fff; }
.field input:focus, .field textarea:focus { border-color: var(--teal); }
.check-field { display: flex; gap: .7rem; align-items: start; margin: .5rem 0 1.5rem; line-height: 1.5; }
.check-field input { margin-top: .25rem; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-left: 4px solid var(--teal); background: #e9f4f0; color: var(--navy); padding: 1rem 1.25rem; margin: 0 0 1.5rem; border-radius: 0 6px 6px 0; }
.notice p { margin: .3rem 0 0; }
.small-note { color: var(--muted); font-size: .85rem; }
@media (max-width: 1120px) { .nav-cta { display: none; } .primary-nav ul { gap: .9rem; } }
@media (max-width: 900px) {
  .menu-toggle { display: block; margin-left: auto; }
  .nav-wrap nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; padding: 1rem 20px 1.4rem; box-shadow: 0 12px 20px #092b3d1c; }
  .nav-wrap nav.open { display: block; }
  .primary-nav ul { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav a { display: block; padding: .65rem 0; }
  .card-grid.three { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { gap: 2rem; }
}
@media (min-width: 721px) and (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-wrap nav { top: 66px; }
  .contact-grid, .form-grid { grid-template-columns: 1fr; }
  .next-step { display: block; padding: 1.5rem; }
  .next-step .button { margin-top: .5rem; }
  .page-hero { padding: 55px 0 62px; }
  .breadcrumbs { margin-bottom: 1.7rem; }
}
@media (max-width: 520px) {
  .card-grid.three { grid-template-columns: 1fr; }
  .form-card { padding: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover { transform: none; }
}
