/* NRZ Technologies — site styles
   One stylesheet for all pages. Light theme, single accent colour, typography-led. */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-ink: #0b1f33;
  --ink: #0b1f33;
  --text: #253141;
  --muted: #5b6676;
  --line: #e3e7ed;
  --line-strong: #cfd6df;
  --accent: #0b4f8a;
  --accent-hover: #083d6b;
  --accent-soft: #eaf2fa;
  --ok: #1f7a4d;

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

  --max: 1200px;
  --gutter: 24px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.35; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li + li { margin-top: .35em; }
strong { color: var(--ink); font-weight: 600; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 .95rem/1 var(--sans); padding: 14px 22px; border-radius: var(--radius);
  border: 1px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-link { font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn-link::after { content: "→"; transition: transform .15s ease; }
.btn-link:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,255,255,.88); backdrop-filter: blur(8px); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 4px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 600 .78rem/1 var(--sans); letter-spacing: .04em; }
.brand-name { font: 600 1.08rem/1.1 var(--sans); letter-spacing: -.005em; }
.brand-name small { display: block; font-weight: 400; font-size: .74rem; color: var(--muted); letter-spacing: 0; margin-top: 2px; }

.primary-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary-nav li + li { margin-top: 0; }
.primary-nav > ul > li { position: relative; }
.nav-link {
  display: block; padding: 10px 14px; border-radius: var(--radius); border: 0; background: none;
  font: 500 .95rem/1 var(--sans); color: var(--text); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--accent); }
.nav-link[aria-expanded]::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg);
}
.nav-cta { margin-left: 10px; padding: 12px 18px; }

.mega {
  display: none; position: absolute; top: calc(100% + 10px); left: -16px; width: 560px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px;
  box-shadow: 0 18px 48px rgba(11,31,51,.12); list-style: none; margin: 0;
  grid-template-columns: 1fr 1fr; gap: 2px;
}
.mega.is-open { display: grid; }
.mega li { margin: 0; }
.mega a { display: block; padding: 14px 16px; border-radius: var(--radius); text-decoration: none; color: var(--text); }
.mega a:hover { background: var(--bg-alt); }
.mega strong { display: block; font-size: .95rem; margin-bottom: 2px; }
.mega span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.45; }

.menu-button { display: none; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 9px 12px; cursor: pointer; color: var(--ink); font: 500 .9rem/1 var(--sans); }

@media (max-width: 1020px) {
  .menu-button { display: inline-flex; align-items: center; gap: 8px; }
  .primary-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(11,31,51,.08); max-height: calc(100vh - 76px); overflow: auto; }
  .primary-nav.is-open { display: block; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; }
  .nav-link { padding: 14px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; text-align: left; width: 100%; }
  .mega { position: static; width: auto; box-shadow: none; border: 0; padding: 4px 0 8px; grid-template-columns: 1fr; }
  .mega a { padding: 10px 8px; }
  .nav-cta { margin: 16px 0 0; width: 100%; }
}

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-alt); }
.section-tight { padding: 72px 0; }
.section + .section:not(.section-alt):not(.cta-band) { border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.kicker { display: block; font: 600 .78rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.intro { font-size: 1.12rem; color: var(--muted); }
@media (max-width: 720px) { .section { padding: 72px 0; } .section-head { margin-bottom: 40px; } }

/* ---------- Home hero ---------- */
.hero { padding: 88px 0 96px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.hero h1 { max-width: 640px; }
.hero .intro { font-size: 1.2rem; max-width: 600px; margin: 24px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 40px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: .92rem; color: var(--muted); }
.hero-facts li { margin: 0; display: flex; align-items: center; gap: 8px; }
.hero-facts svg { color: var(--ok); flex: none; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

/* Problem finder */
.finder { background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 1px 2px rgba(11,31,51,.04), 0 12px 32px rgba(11,31,51,.06); overflow: hidden; }
.finder-head { padding: 22px 24px 0; }
.finder-head h2 { font: 600 1.05rem/1.3 var(--sans); margin: 0 0 4px; }
.finder-head p { margin: 0; font-size: .9rem; color: var(--muted); }
.finder-tabs { display: flex; gap: 4px; padding: 18px 24px 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.finder-tabs::-webkit-scrollbar { display: none; }
.finder-tab { flex: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 10px 10px 12px; font: 500 .9rem/1 var(--sans); color: var(--muted); cursor: pointer; }
.finder-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.finder-tab:hover { color: var(--ink); }
.finder-panel { padding: 8px 0 12px; }
.finder-panel ul { list-style: none; margin: 0; padding: 0; }
.finder-panel li { margin: 0; }
.finder-panel li a { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 14px 24px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); }
.finder-panel li a::after { content: "→"; color: var(--muted); transition: transform .15s ease, color .15s ease; }
.finder-panel li a:hover { background: var(--bg-alt); }
.finder-panel li a:hover::after { transform: translateX(3px); color: var(--accent); }
.finder-panel .panel-foot { margin: 0; padding: 14px 24px 6px; font-size: .92rem; }
.finder-panel h3 { margin: 0; font: 600 .78rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 14px 24px 4px; }

/* ---------- Industry cards (home) ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.industry { padding: 36px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.industry-feature { background: var(--accent-soft); }
@media (max-width: 1080px) { .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.industry-icon { width: 40px; height: 40px; color: var(--accent); margin-bottom: 22px; }
.industry h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 10px; }
.industry > p { color: var(--muted); }
.industry ul { margin: 6px 0 28px; padding: 0; list-style: none; }
.industry li { position: relative; padding-left: 20px; font-size: .95rem; }
.industry li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--ink); }
.industry .btn-link { margin-top: auto; }
@media (max-width: 820px) { .industry-grid { grid-template-columns: 1fr; } .industry { padding: 32px 24px; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { margin: 0; padding-top: 24px; border-top: 2px solid var(--ink); counter-increment: step; }
.steps li::before { content: "Step " counter(step); display: block; font: 600 .78rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .95rem; margin-bottom: 10px; }
.steps .meta { font-size: .85rem; color: var(--ink); font-weight: 500; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; gap: 40px 32px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Principles / two-column text ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.split-sticky { position: sticky; top: 120px; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 32px; } .split-sticky { position: static; } }
.principles { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.principles li { margin: 0; padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 8px; }
.principles li:first-child { padding-top: 0; }
.principles .num { font-family: var(--serif); font-size: 1.5rem; color: var(--accent); line-height: 1.2; }
.principles h3 { margin-bottom: 6px; }
.principles p { margin: 0; color: var(--muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 56px 0 80px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-alt), #fff 85%); }
.breadcrumb { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--muted); }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 72px; align-items: end; }
.page-hero h1 { max-width: 760px; }
.page-hero .intro { max-width: 680px; margin: 20px 0 32px; font-size: 1.15rem; }
.for-whom { border-left: 2px solid var(--accent); padding: 4px 0 4px 22px; }
.for-whom h2 { font: 600 .78rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.for-whom ul { list-style: none; padding: 0; margin: 0; }
.for-whom li { color: var(--ink); font-weight: 500; }
@media (max-width: 960px) { .page-hero-grid { grid-template-columns: 1fr; gap: 36px; } }

/* On-page contents */
.toc { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 20px 0 0; margin: 40px 0 0; border-top: 1px solid var(--line); font-size: .92rem; }
.toc li { margin: 0; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--accent); }

/* ---------- Problem / answer blocks ---------- */
.problem { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; padding: 48px 0; border-top: 1px solid var(--line); }
.problem:last-child { border-bottom: 1px solid var(--line); }
.problem h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.3; margin: 0; }
.problem .label { display: block; font: 600 .75rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.problem-answer > p:first-child { font-size: 1.06rem; color: var(--ink); }
.problem-answer h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 24px 0 10px; }
.problem-answer ul { padding: 0; list-style: none; margin: 0; }
.problem-answer li { position: relative; padding-left: 26px; color: var(--text); }
.problem-answer li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 6px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
@media (max-width: 900px) { .problem { grid-template-columns: 1fr; gap: 18px; padding: 36px 0; } }

/* ---------- Deliverables ---------- */
.deliverables { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.deliverables li { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.deliverables h3 { font-size: 1.08rem; margin-bottom: 8px; }
.deliverables p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .deliverables { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .deliverables { grid-template-columns: 1fr; } }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.product-body { padding: 36px 36px 28px; flex: 1; }
.product-label { display: block; font: 600 .75rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.product h3 { font-family: var(--serif); font-size: 1.75rem; margin-bottom: 8px; }
.product-lede { font-size: 1.06rem; color: var(--ink); margin-bottom: 20px; }
.product ul { list-style: none; padding: 0; margin: 0; }
.product li { position: relative; padding-left: 20px; font-size: .95rem; color: var(--text); }
.product li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--ink); }
.product-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--line); }
.product-stats div { padding: 18px 20px 18px 36px; border-right: 1px solid var(--line); }
.product-stats div:last-child { border-right: 0; }
.product-stats dt { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.product-stats dd { margin: 2px 0 0; font-size: .84rem; color: var(--muted); }
.product-link { display: flex; justify-content: space-between; align-items: center; padding: 18px 36px; border-top: 1px solid var(--line); font-weight: 500; text-decoration: none; background: var(--bg-alt); }
.product-link::after { content: "↗"; }
.product-link:hover { background: var(--accent-soft); }
.subhead { font-family: var(--serif); font-size: 1.45rem; margin: 64px 0 24px; }
@media (max-width: 900px) { .products { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .product-body { padding: 26px 22px 22px; } .product-stats div { padding: 14px 12px 14px 22px; } .product-link { padding: 16px 22px; } }

/* ---------- Engagement example ---------- */
.engagement { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.engagement-head { padding: 32px 36px; border-bottom: 1px solid var(--line); }
.engagement-head h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 8px; }
.engagement-head p { margin: 0; color: var(--muted); max-width: 760px; }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.timeline li { margin: 0; padding: 28px 36px 32px; border-right: 1px solid var(--line); }
.timeline li:last-child { border-right: 0; }
.timeline .when { display: block; font-size: .82rem; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.timeline h4 { margin-bottom: 6px; }
.timeline p { margin: 0; font-size: .92rem; color: var(--muted); }
@media (max-width: 960px) { .timeline { grid-template-columns: 1fr 1fr; } .timeline li:nth-child(2) { border-right: 0; } .timeline li:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 600px) { .timeline { grid-template-columns: 1fr; } .timeline li { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px; } .timeline li:last-child { border-bottom: 0; } .engagement-head { padding: 24px; } }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.data-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .95rem; }
.data-table caption { caption-side: bottom; text-align: left; padding: 14px 20px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); }
.data-table th, .data-table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table thead th { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bg-alt); }
.data-table tbody th { font-weight: 600; color: var(--ink); width: 20%; }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); max-width: 880px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.12rem; }
.faq-item summary::after { content: ""; position: absolute; right: 6px; top: 32px; width: 10px; height: 10px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(-135deg); top: 36px; }
.faq-item summary:hover h3 { color: var(--accent); }
.faq-answer { padding: 0 48px 24px 0; color: var(--text); }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--bg-ink); color: #c9d3de; padding: 88px 0; }
.cta-band-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 48px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; font-size: 1.08rem; max-width: 640px; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover { background: #e6edf5; color: var(--ink); }
.cta-band .cta-note { display: block; margin-top: 12px; font-size: .88rem; color: #93a3b5; text-align: center; }
@media (max-width: 820px) { .cta-band-inner { grid-template-columns: 1fr; } .cta-band .cta-note { text-align: left; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.facts { border: 1px solid var(--line); border-radius: 8px; background: #fff; margin: 0; }
.facts div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 500; }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.next-steps { list-style: none; margin: 32px 0; padding: 0; counter-reset: ns; }
.next-steps li { counter-increment: ns; position: relative; padding: 0 0 24px 52px; margin: 0; }
.next-steps li::before { content: counter(ns); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-weight: 600; font-size: .9rem; color: var(--ink); background: #fff; }
.next-steps li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 36px; bottom: 4px; width: 1px; background: var(--line); }
.next-steps h3 { font-size: 1.02rem; margin-bottom: 2px; }
.next-steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.direct { padding: 24px; background: var(--bg-alt); border-radius: 8px; }
.direct p { margin: 0 0 4px; font-size: .92rem; color: var(--muted); }
.direct a { font-size: 1.15rem; font-weight: 600; text-decoration: none; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

.form { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 40px; box-shadow: 0 12px 32px rgba(11,31,51,.05); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field label, .field legend { font-size: .92rem; font-weight: 500; color: var(--ink); padding: 0; }
.field .hint { font-size: .85rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(11,79,138,.15); }
.field textarea { min-height: 180px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235b6676' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #b42318; }
fieldset.field { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option span { display: inline-block; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: .92rem; color: var(--text); cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.option input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 500; }
.option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-foot small { color: var(--muted); max-width: 380px; font-size: .85rem; }
.form-status { margin: 16px 0 0; font-size: .95rem; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-error { color: #b42318; }
@media (max-width: 600px) { .form { padding: 24px; } .form-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 72px 0 40px; font-size: .93rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.footer-grid h2 { font: 600 .8rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li + li { margin-top: 10px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }
.footer-about p { max-width: 360px; }
.footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Utilities ---------- */
.mt-48 { margin-top: 48px; }
.mt-24 { margin-top: 24px; }
.muted { color: var(--muted); }
.note { font-size: .92rem; color: var(--muted); border-left: 2px solid var(--line-strong); padding-left: 16px; max-width: 820px; margin-top: 32px; }

/* ---------- Visual Media & Figures ---------- */
.hero-visual, .feature-visual {
  margin: 40px 0 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 4px 20px rgba(11,31,51,.06);
}
.hero-visual img, .feature-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.hero-visual figcaption, .feature-visual figcaption {
  padding: 16px 20px;
  background: #fff;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.45;
}
.caption-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Geo Badge & Trust Indicators */
.geo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: .82rem;
  color: var(--muted);
  font-weight: 500;
}
.geo-tag svg { color: var(--accent); }
.geo-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 2px rgba(31,122,77,.2);
}

/* Contact Modes & Enhancements */
.contact-mode-switch {
  display: flex;
  gap: 4px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 24px;
}
.mode-btn {
  flex: 1;
  padding: 8px 12px;
  border: 0;
  border-radius: 4px;
  background: none;
  font: 500 .86rem/1.2 var(--sans);
  color: var(--muted);
  cursor: pointer;
  transition: all .15s ease;
}
.mode-btn.is-active {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(11,31,51,.08);
}
.copy-btn {
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 4px 10px;
  font: 500 .82rem/1 var(--sans);
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  transition: all .15s ease;
}
.copy-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.copy-btn.is-copied {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}

/* Submission Receipt Card */
.submission-receipt {
  background: #fff;
  border: 2px solid var(--ok);
  border-radius: 10px;
  padding: 36px;
  animation: receiptFadeIn .25s ease-out;
}
@keyframes receiptFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.receipt-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.receipt-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eaf7ef;
  color: var(--ok);
  display: grid;
  place-items: center;
  flex: none;
}
.receipt-header h3 {
  font-size: 1.35rem;
  margin: 0 0 2px;
  color: var(--ink);
}
.receipt-meta {
  font-size: .88rem;
  color: var(--muted);
}
.receipt-summary {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: .92rem;
}
.receipt-summary dl {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 8px 16px;
  margin: 0;
}
.receipt-summary dt { color: var(--muted); font-weight: 500; }
.receipt-summary dd { margin: 0; color: var(--ink); font-weight: 600; }
.receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  align-items: center;
}

/* Booking Slots Widget */
.booking-widget {
  margin-top: 28px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.booking-widget h4 {
  font-size: .95rem;
  margin: 0 0 6px;
  color: var(--ink);
}
.booking-widget p {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.slot-btn {
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  text-align: center;
  font: 500 .86rem/1.2 var(--sans);
  color: var(--ink);
  cursor: pointer;
  transition: all .15s ease;
}
.slot-btn:hover, .slot-btn.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
.slot-btn small {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  margin-top: 2px;
}
