/* ---------- Design tokens ---------- */
:root {
  --navy: #15212b;
  --navy-2: #1e2f3c;
  --navy-3: #2b4253;
  --orange: #f15a24;
  --orange-2: #d94b17;
  --orange-soft: #fff1ea;
  --ink: #1f2933;
  --muted: #5b6770;
  --line: #e3e8ec;
  --bg: #ffffff;
  --bg-soft: #f5f7f9;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(21, 33, 43, 0.08);
  --shadow-lg: 0 24px 60px rgba(21, 33, 43, 0.16);
  --font-head: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container: 1180px;
  --gutter: 20px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.05;
  margin: 0 0 0.5em;
  color: var(--navy);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); height: 1px; width: 1px; overflow: hidden; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #d9e1e8; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  color: var(--orange);
  margin-bottom: 10px;
}
.lead { font-size: 1.15rem; color: var(--muted); }
.section--navy .lead { color: #b7c3cd; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  text-decoration: none !important; line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: var(--white); box-shadow: 0 8px 20px rgba(241, 90, 36, .35); }
.btn--primary:hover { background: var(--orange-2); color: var(--white); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: #eef2f5; }
.btn--ghost { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.16); color: var(--white); }
.btn--sm { font-size: 1rem; padding: 10px 18px; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--navy); color: #c7d1da; font-size: 0.9rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { color: var(--white); font-weight: 500; }
.topbar__left, .topbar__right { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar__tag { color: var(--orange); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
@media (max-width: 640px) { .topbar__tag, .topbar__email { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  /* No backdrop-filter here: it would turn the header into the containing block
     for the position:fixed mobile menu and clip it to the header's height. */
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(21,33,43,.08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.nav li a { color: var(--navy); font-weight: 600; font-size: 0.98rem; position: relative; padding: 6px 0; white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav ul { gap: 16px; }
  .nav li a { font-size: .9rem; }
  .nav__phone { display: none; }
}
.nav li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav li a:hover::after, .nav li.current-menu-item a::after, .nav li.is-current a::after { transform: scaleX(1); }
.nav li a:hover { text-decoration: none; }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__phone { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--navy); letter-spacing: .02em; white-space: nowrap; }
.nav__phone:hover { text-decoration: none; color: var(--orange); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 3px; transition: transform .2s ease, opacity .2s ease; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; left: 0; width: 100vw; height: 100vh; background: var(--navy); flex-direction: column; justify-content: center; gap: 36px; padding: 40px 24px; transform: translateX(100%); transition: transform .25s ease; z-index: 100000; overflow-y: auto; }
  .nav.is-open { transform: translateX(0); }
  .nav ul { flex-direction: column; align-items: center; gap: 22px; }
  .nav li a { color: var(--white); font-family: var(--font-head); font-size: 1.8rem; text-transform: uppercase; letter-spacing: .04em; }
  .nav__cta { flex-direction: column; }
  .nav__phone { color: var(--white); font-size: 1.6rem; }
  .nav-close { position: absolute; top: 18px; right: 18px; background: none; border: 0; color: var(--white); font-size: 2rem; cursor: pointer; line-height: 1; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 961px) { .nav-close { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background: var(--navy) center/cover no-repeat;
  min-height: 78vh; display: flex; align-items: center;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(21,33,43,.94) 0%, rgba(21,33,43,.78) 45%, rgba(21,33,43,.35) 100%); }
.hero .container { position: relative; padding-top: 90px; padding-bottom: 90px; }
.hero__inner { max-width: 700px; }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { color: #d6dee5; font-size: 1.25rem; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__note { margin-top: 22px; font-size: .95rem; color: #b7c3cd; }
.hero--page { min-height: 46vh; }
.hero--page .container { padding-top: 70px; padding-bottom: 70px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--orange); color: var(--white); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.trust li { padding: 18px 16px; text-align: center; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; font-size: 1.1rem; border-right: 1px solid rgba(255,255,255,.25); }
.trust li:last-child { border-right: 0; }
.trust strong { display: block; font-size: 1.9rem; line-height: 1; margin-bottom: 4px; }
@media (max-width: 640px) { .trust li { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__icon { width: 54px; height: 54px; border-radius: 12px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; margin-bottom: 18px; }
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card--dark { background: var(--navy-2); border-color: var(--navy-3); color: #d9e1e8; }
.card--dark h3 { color: var(--white); }
.card--dark p { color: #b7c3cd; }
.card--dark .card__icon { background: rgba(241,90,36,.15); }

/* ---------- Split / feature ---------- */
.split { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; } .split--flip > :first-child { order: 2; } }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.feature-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.feature-list .dot { width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: var(--white); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; }
.feature-list strong { display: block; font-family: var(--font-head); text-transform: uppercase; font-size: 1.2rem; color: var(--navy); letter-spacing: .03em; }
.feature-list span { color: var(--muted); }

/* ---------- Pricing / plans ---------- */
.plans { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: stretch; }
.plans--2 { max-width: 860px; margin: 0 auto; }
.plans--1 { max-width: 560px; margin: 0 auto; grid-template-columns: 1fr; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow); }
.plan--featured { border: 2px solid var(--orange); box-shadow: var(--shadow-lg); }
.plan__badge { position: absolute; top: -14px; left: 28px; background: var(--orange); color: var(--white); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: .85rem; padding: 6px 12px; border-radius: 999px; }
.plan__name { margin-bottom: 4px; }
.plan__for { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.plan__rate { font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--navy); }
.plan__rate small { font-size: 1rem; font-weight: 600; color: var(--muted); font-family: var(--font-body); text-transform: none; margin-left: 6px; }
.plan__sub { color: var(--muted); font-size: .95rem; margin: 6px 0 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; }
.plan li { padding-left: 28px; position: relative; color: var(--ink); }
.plan li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--orange-soft); }
.plan li::after { content: ""; position: absolute; left: 5px; top: 10px; width: 5px; height: 8px; border: solid var(--orange); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan .btn { width: 100%; }
.plan__fine { font-size: .85rem; color: var(--muted); margin-top: 14px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.step__num { font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--orange); margin-bottom: 10px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Partners ---------- */
.partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px; }
.partner { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 28px; display: grid; place-items: center; min-width: 200px; }
.partner img { height: 70px; width: auto; filter: grayscale(100%); opacity: .8; transition: filter .2s ease, opacity .2s ease; }
.partner:hover img { filter: none; opacity: 1; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: var(--white); background: var(--navy) center/cover no-repeat; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,33,43,.92), rgba(21,33,43,.7)); }
.cta-band .container { position: relative; padding: 80px var(--gutter); display: grid; gap: 28px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .cta-band .container { grid-template-columns: 1.4fr 1fr; } }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: #c7d1da; margin: 0; font-size: 1.1rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-start; }
@media (min-width: 900px) { .cta-band__actions { justify-content: flex-end; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .03em; font-weight: 700; font-size: 1.2rem; color: var(--navy); padding: 18px 36px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.6rem; color: var(--orange); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- Content pages ---------- */
.prose { max-width: 820px; }
.prose p, .prose li { color: #374151; }
.prose ul { padding-left: 22px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.callout { background: var(--orange-soft); border-left: 4px solid var(--orange); padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 24px 0; }
.callout p { margin: 0; }
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.doc-list a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--navy); font-weight: 600; }
.doc-list a:hover { border-color: var(--orange); text-decoration: none; }
.doc-list svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.doc-list small { display: block; color: var(--muted); font-weight: 400; }
.sidebar-card { position: sticky; top: 100px; }
.page-layout { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .page-layout { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); } }
.entry-content { max-width: 860px; }
.entry-content img { border-radius: var(--radius-sm); }
.post-password-form { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; max-width: 520px; }
.post-password-form label { display: block; font-weight: 600; margin-bottom: 8px; }
.post-password-form input[type="password"] { width: 100%; padding: 12px 14px; border: 1px solid #cfd6dc; border-radius: var(--radius-sm); font: inherit; margin-bottom: 12px; }
.post-password-form input[type="submit"] { background: var(--orange); color: var(--white); border: 0; border-radius: 999px; padding: 12px 24px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem; cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b7c3cd; padding: 64px 0 0; margin-top: 0; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h4 { color: var(--white); font-size: 1.1rem; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #d9e1e8; }
.site-footer a:hover { color: var(--orange); text-decoration: none; }
.footer-brand img { height: 48px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { margin-top: 16px; max-width: 360px; }
.footer-contact a { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; letter-spacing: .02em; color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding: 20px 0; font-size: .9rem; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 100px 0; }
.error-page h1 { font-size: clamp(5rem, 15vw, 9rem); color: var(--orange); margin-bottom: 0; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.text-center { text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.badge { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: var(--white); border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 500; }
.badge--light { background: var(--orange-soft); border-color: transparent; color: var(--orange-2); }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: 3rem; font-weight: 800; line-height: 1; color: var(--orange); }
.stat span { color: var(--muted); font-weight: 500; }
.sticky-call { display: none; }
@media (max-width: 640px) {
  .sticky-call { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; gap: 10px; }
  .sticky-call .btn { flex: 1; box-shadow: var(--shadow-lg); }
  body { padding-bottom: 76px; }
}

/* ---------- Forms (native) ---------- */
.form-shell { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
@media (max-width: 600px) { .form-shell { padding: 22px 18px; } }
.form-section { border-top: 2px solid var(--line); margin-top: 30px; padding-top: 22px; }
.form-section:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.form-section > h3 { margin-bottom: 4px; }
.form-section > .hint { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.form-grid { display: grid; gap: 16px 18px; grid-template-columns: 1fr 1fr; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field > .label { display: block; font-weight: 600; color: var(--navy); font-size: .95rem; margin-bottom: 6px; }
.field .req { color: var(--orange); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field input[type="url"], .field input[type="password"], .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid #cfd6dc; border-radius: var(--radius-sm); background: #fff; font: inherit; font-size: 1rem; color: var(--ink); line-height: 1.4; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(241,90,36,.18); outline: none; }
.field input[type="file"] { width: 100%; padding: 10px; border: 1px dashed #cfd6dc; border-radius: var(--radius-sm); background: var(--bg-soft); font-size: .95rem; }
.field .help { display: block; color: var(--muted); font-size: .85rem; margin-top: 6px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); cursor: pointer; }
.choices input[type="radio"], .choices input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--orange); }
.choices--cards { gap: 12px; }
.choices--cards label { border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; font-family: var(--font-head); text-transform: uppercase; font-size: 1.15rem; letter-spacing: .03em; color: var(--navy); }
.choices--cards label:has(input:checked) { border-color: var(--orange); background: var(--orange-soft); }
.form-actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions .fine { color: var(--muted); font-size: .85rem; }
.form-status { margin: 18px 0 0; padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 500; }
.form-status--info { background: var(--bg-soft); color: var(--ink); }
.form-status--success { background: #ecfdf3; border: 1px solid #abefc6; color: #067647; }
.form-status--error { background: #fef3f2; border: 1px solid #fecdca; color: #b42318; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
input:invalid:not(:placeholder-shown):not(:focus) { border-color: #e59a94; }
.gate { max-width: 520px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.staff { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .staff { grid-template-columns: 1fr 1fr; } }
.staff .card h3 { margin-bottom: 12px; }
.staff ol, .staff ul { padding-left: 20px; color: #374151; margin: 0; display: grid; gap: 6px; }
.staff .contact-list { list-style: none; padding: 0; }
.staff .contact-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; border-bottom: 1px solid var(--line); padding: 8px 0; }
.staff .contact-list strong { color: var(--navy); }
.footer-contact__mail { font-family: var(--font-body) !important; font-size: 1rem !important; font-weight: 500 !important; }
.thanks { text-align: center; padding: 100px 0; }
.thanks .card__icon { margin: 0 auto 20px; width: 72px; height: 72px; }
.thanks .card__icon svg { width: 36px; height: 36px; }

/* ---------- Online agreement signing ---------- */
.sign-layout { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .sign-layout { grid-template-columns: 360px minmax(0, 1fr); } .sign-side { position: sticky; top: 96px; } }
.agreement { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 40px; font-size: .95rem; line-height: 1.55; color: #26323c; box-shadow: var(--shadow); }
@media (max-width: 600px) { .agreement { padding: 22px 18px; } }
.agreement h2 { font-size: 1.9rem; text-align: center; margin: 0; }
.agreement h3.sub { font-size: 1.3rem; text-align: center; margin: 0 0 22px; }
.agreement h4 { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 700; margin: 20px 0 6px; color: var(--navy); }
.agreement p { margin: 0 0 10px; }
.agreement ul { margin: 0 0 10px 22px; padding: 0; }
.agreement .opt { font-weight: 700; margin: 8px 0 2px 18px; padding: 4px 8px; border-radius: 6px; }
.agreement .opt.is-selected { background: var(--orange-soft); }
.agreement .optp { margin-left: 18px; }
.agreement .fill { display: inline-block; min-width: 60px; padding: 0 6px; border-bottom: 1.5px solid var(--navy); line-height: 1.3; color: #1d3a8a; font-style: italic; vertical-align: bottom; white-space: nowrap; }
.agreement .fill:empty::after { content: "\00a0"; }
.agreement .fill.is-set { background: #f3f6ff; }
.agreement .sigrow { display: flex; flex-wrap: wrap; gap: 18px 28px; margin: 14px 0 6px; }
.agreement .sigcell { display: flex; flex-direction: column; gap: 2px; }
.agreement .sigcell small { color: var(--muted); font-size: .75rem; }
.agreement .sigcell .fill { min-height: 1.6em; width: 100%; }
.sigtabs { display: flex; gap: 8px; margin-bottom: 12px; }
.sigtab { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font: inherit; font-weight: 600; cursor: pointer; color: var(--navy); }
.sigtab.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.sigpad canvas { width: 100%; height: auto; aspect-ratio: 1000 / 260; border: 1px dashed #cfd6dc; border-radius: var(--radius-sm); background: #fff; touch-action: none; cursor: crosshair; display: block; }
.sigpad__bar { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; color: var(--muted); font-size: .85rem; }
.sig-typed { font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 1.6rem !important; color: #1d3a8a; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--orange); }
.choices--stack { flex-direction: column; align-items: stretch; }
.choices--stack label { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 500; display: flex; align-items: center; gap: 12px; }
.choices--stack label strong { font-family: var(--font-head); text-transform: uppercase; font-size: 1.1rem; margin-right: 6px; }
.form-status a { color: var(--orange-2); font-weight: 600; }

/* ---------- Staff: agreement countersigning ---------- */
.agreement-row { margin-bottom: 16px; }
.agreement-row.is-done { border-left: 4px solid #12b76a; }
.agreement-row__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; align-items: flex-start; }
.agreement-row__head h3 { margin-bottom: 4px; }
.agreement-row__meta { color: var(--muted); font-size: .9rem; margin: 0; }
.badge--pending { background: var(--orange-soft); color: var(--orange-2); border-color: transparent; }
.badge--done { background: #ecfdf3; color: #067647; border-color: transparent; }
.countersign { border-top: 1px solid var(--line); padding-top: 18px; }
.countersign .sigpad canvas { max-height: 200px; }

/* ---------- Discreet staff links ---------- */
.topbar__icon { display: inline-flex; align-items: center; opacity: .55; }
.topbar__icon:hover { opacity: 1; }
.topbar__icon svg, .footer-staff svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-staff { display: inline-flex; gap: 14px; align-items: center; }
.footer-staff a { color: #6b7a86; display: inline-flex; }
.footer-staff a:hover { color: var(--white); }
