/* ============================================================
   Jimnet Works — refined front-end design system
   Strict two-colour system: deep navy and white, with neutral tints.
   ============================================================ */

:root {
    --ink: #071a2e;
    --ink-2: #0c2338;
    --ink-3: #14324c;
    /* Monochrome aliases kept so existing components inherit the palette. */
    --blue: #071a2e;
    --blue-700: #0c2338;
    --blue-soft: #f1f4f7;
    --white: #ffffff;
    --paper: #f7f8fa;
    --paper-2: #eef1f4;
    --text: #465a6d;
    --muted: #74838f;
    --soft: #a3aeb8;
    --line: #dde3e8;
    --line-strong: #c6d0d9;
    --danger: #8a1c14;
    --danger-soft: #fbf1f0;
    --success: #1f5136;
    --success-soft: #f0f6f2;
    --warning: #6b4e12;
    --warning-soft: #faf6ec;
    --radius-xs: 10px;
    --radius-sm: 12px;
    --radius: 14px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --glass-light: rgba(255, 255, 255, 0.84);
    --glass-dark: rgba(7, 26, 46, 0.58);
    --glass-blur: 16px;
    --shadow-sm: 0 1px 2px rgba(7, 26, 46, 0.05);
    --shadow: 0 18px 44px -28px rgba(7, 26, 46, 0.28);
    --shadow-lg: 0 34px 80px -38px rgba(7, 26, 46, 0.36);
    --font-head: "Sora", "Inter", system-ui, -apple-system, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --container: 1200px;
    --header-height: 74px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

figure,
blockquote {
    margin: 0;
}

a {
    color: var(--ink);
    text-decoration: none;
    text-underline-offset: 3px;
    transition: color 0.18s var(--ease), opacity 0.18s var(--ease);
}

a:hover {
    color: var(--ink-2);
}

p a,
address a,
.legal-wrap a {
    text-decoration: underline;
    text-decoration-color: var(--line-strong);
    text-decoration-thickness: 1px;
}

p a:hover,
address a:hover,
.legal-wrap a:hover {
    text-decoration-color: currentColor;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.16;
}

p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

::selection {
    background: rgba(7, 26, 46, 0.14);
    color: var(--ink);
}

:focus-visible {
    outline: 3px solid rgba(7, 26, 46, 0.32);
    outline-offset: 3px;
}

.sr-only {
    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: fixed;
    top: 10px;
    left: 10px;
    z-index: 3000;
    transform: translateY(-160%);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.18s var(--ease);
}

.skip-link:focus {
    transform: translateY(0);
}

.jn-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
}

.site-main {
    min-height: 50vh;
}

/* ---------- Type ---------- */

.eyebrow {
    display: inline-block;
    margin: 0 0 15px;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
}

.eyebrow-light {
    color: rgba(255, 255, 255, 0.6);
}

.display-1 {
    font-size: clamp(2.7rem, 5vw, 4.35rem);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.display-2 {
    font-size: clamp(2rem, 3.5vw, 2.95rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.display-3 {
    font-size: clamp(1.6rem, 2.4vw, 2.15rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.lead {
    color: var(--text);
    font-size: clamp(1rem, 1.25vw, 1.1rem);
    line-height: 1.72;
}

.accent-text {
    color: inherit;
    opacity: 0.75;
}

.text-link {
    display: inline-flex;
    align-items: center;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--line-strong);
    text-underline-offset: 3px;
}

.text-link:hover {
    text-decoration-color: currentColor;
}

.max-w-440 {
    max-width: 440px;
}

.mt-0 {
    margin-top: 0;
}

.mt-12 {
    margin-top: 12px;
}

.mt-22 {
    margin-top: 22px;
}

.mt-24 {
    margin-top: 24px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-18 {
    margin-bottom: 18px;
}

.split-actions-tight {
    margin-top: 0;
}

/* ---------- Buttons ---------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    transition: background 0.18s var(--ease), border-color 0.18s var(--ease),
        color 0.18s var(--ease), transform 0.18s var(--ease),
        box-shadow 0.18s var(--ease);
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.button-primary:hover {
    background: var(--ink-2);
    border-color: var(--ink-2);
    color: var(--white);
    box-shadow: 0 12px 24px -16px rgba(7, 26, 46, 0.6);
}

.button-secondary {
    background: var(--white);
    border-color: var(--line-strong);
    color: var(--ink);
}

.button-secondary:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.button-light {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink);
}

.button-light:hover {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.button-ghost {
    border-color: rgba(255, 255, 255, 0.26);
    color: var(--white);
}

.button-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.button-lg {
    min-height: 50px;
    padding: 14px 26px;
    font-size: 14px;
}

.button-block {
    width: 100%;
}

.button:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    transform: none;
}

/* ---------- Top bar ---------- */

.topbar {
    position: relative;
    z-index: 1002;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.62);
    font-size: 11.5px;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 36px;
}

.topbar-contact,
.topbar-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar a {
    color: rgba(255, 255, 255, 0.62);
}

.topbar a:hover {
    color: var(--white);
}

.topbar-sep {
    width: 1px;
    height: 11px;
    background: rgba(255, 255, 255, 0.18);
}

.topbar-location {
    color: rgba(255, 255, 255, 0.42);
}

/* ---------- Header and navigation ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1202;
    background: var(--glass-light);
    border-bottom: 1px solid var(--line);
    backdrop-filter: saturate(140%) blur(var(--glass-blur));
    -webkit-backdrop-filter: saturate(140%) blur(var(--glass-blur));
    transition: box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 34px -30px rgba(7, 26, 46, 0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: var(--header-height);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    color: var(--ink);
}

.brand:hover {
    color: var(--ink);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 38px;
    padding: 3px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-xs);
    background: var(--white);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.brand-copy strong {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.brand-copy small {
    color: var(--muted);
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.primary-nav {
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    transition: color 0.18s var(--ease);
}

.nav-link:hover {
    color: var(--ink);
}

.nav-link.is-active {
    color: var(--ink);
}

.nav-link.is-active::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 4px;
    left: 12px;
    height: 2px;
    background: var(--blue);
}

.nav-link-button {
    cursor: pointer;
}

.nav-caret {
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.18s var(--ease);
}

.has-dropdown {
    position: relative;
}

.has-dropdown.is-open .nav-caret {
    transform: rotate(225deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    z-index: 50;
    width: min(780px, calc(100vw - 40px));
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease),
        visibility 0.18s;
}

.has-dropdown.is-open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav-dropdown::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 11px;
    height: 11px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    background: var(--white);
    transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 20px;
}

.nav-group-title {
    margin: 0 0 7px;
    padding: 0 8px;
    color: var(--soft);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.nav-group-link {
    display: block;
    padding: 7px 8px;
    border-radius: var(--radius-xs);
    color: var(--ink);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.nav-group-link:hover {
    background: var(--paper);
    color: var(--blue);
}

.nav-dropdown-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 16px;
    padding: 15px 8px 0;
    border-top: 1px solid var(--line);
}

.nav-dropdown-foot strong {
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
}

.nav-dropdown-foot span {
    color: var(--muted);
    font-size: 11px;
}

.nav-panel-head,
.nav-panel-actions {
    display: none;
}

.header-cta {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 10px 16px;
    font-size: 12.5px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink);
}

.nav-toggle-lines {
    position: relative;
    display: block;
    width: 17px;
    height: 11px;
    margin: 0 auto;
}

.nav-toggle-lines span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.6px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.18s var(--ease), opacity 0.18s var(--ease),
        top 0.18s var(--ease);
}

.nav-toggle-lines span:nth-child(1) {
    top: 0;
}

.nav-toggle-lines span:nth-child(2) {
    top: 5px;
}

.nav-toggle-lines span:nth-child(3) {
    top: 10px;
}

body.nav-open .nav-toggle-lines span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
}

body.nav-open .nav-toggle-lines span:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle-lines span:nth-child(3) {
    top: 5px;
    transform: rotate(-45deg);
}

.nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(7, 26, 46, 0.54);
    backdrop-filter: blur(2px);
}

/* ---------- Flash ---------- */

.flash-stack {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding-top: 20px;
}

.flash {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
}

.flash p {
    flex: 1;
}

.flash-success {
    background: var(--success-soft);
    border-color: #b7e6cb;
    color: var(--success);
}

.flash-error {
    background: var(--danger-soft);
    border-color: #f2c7c2;
    color: var(--danger);
}

.flash-warning {
    background: var(--warning-soft);
    border-color: #f1dfad;
    color: var(--warning);
}

.flash-info {
    background: var(--blue-soft);
    border-color: var(--line-strong);
    color: var(--blue-700);
}

.flash-close {
    padding: 0;
    border: 0;
    background: transparent;
    color: currentColor;
    font-size: 11px;
    font-weight: 600;
    opacity: 0.65;
}

.flash-close:hover {
    opacity: 1;
}

.form-error-summary {
    margin-bottom: 18px;
}

/* ---------- Home hero ---------- */

.home-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 72px;
    background:
        radial-gradient(ellipse 50% 70% at 82% 0%, rgba(255, 255, 255, 0.09), transparent 62%),
        linear-gradient(135deg, #061a2e 0%, #0a2742 55%, #0c2f4f 100%);
    color: var(--white);
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 88%);
    pointer-events: none;
}

.home-hero .jn-container {
    position: relative;
    z-index: 1;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
    align-items: center;
}

.home-kicker {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-hero h1 {
    max-width: 680px;
    color: var(--white);
    font-size: clamp(2.55rem, 4.4vw, 3.95rem);
    font-weight: 600;
    letter-spacing: -0.055em;
    line-height: 1.05;
}

.home-lead {
    max-width: 550px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.64);
    font-size: clamp(0.98rem, 1.25vw, 1.08rem);
    line-height: 1.75;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.home-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.home-hero-meta li {
    padding: 0 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
}

.home-hero-meta li:first-child {
    padding-left: 0;
    border-left: 0;
}

.hero-visual {
    position: relative;
    min-width: 0;
}

.hero-frame {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    background: var(--ink-2);
    box-shadow: 0 34px 80px -36px rgba(0, 0, 0, 0.65);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.7s var(--ease), transform 1s var(--ease);
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 26, 46, 0.04) 30%, rgba(6, 26, 46, 0.84) 100%);
    pointer-events: none;
}

.hero-caption {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    z-index: 2;
    padding: 15px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-sm);
    background: rgba(7, 26, 46, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--white);
}

.hero-caption-label {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.54);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-caption h2 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.hero-dots {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    display: flex;
    gap: 5px;
}

.hero-dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: width 0.2s var(--ease), background 0.2s var(--ease);
}

.hero-dot.is-active {
    width: 18px;
    border-radius: var(--radius-xs);
    background: var(--white);
}

.hero-badge {
    position: absolute;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-sm);
    background: rgba(7, 26, 46, 0.58);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--white);
}

.hero-badge-top {
    top: -16px;
    left: -16px;
}

.hero-badge-bottom {
    right: -14px;
    bottom: 92px;
}

.hero-badge strong {
    font-family: var(--font-head);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.hero-badge span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 9.5px;
}

/* ---------- Trust strip ---------- */

.trust-strip {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.trust-inner {
    display: flex;
    align-items: center;
    gap: 34px;
}

.trust-label {
    flex: 0 0 auto;
    padding-right: 30px;
    border-right: 1px solid var(--line);
    color: var(--muted);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.5;
    text-transform: uppercase;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 36px;
}

.trust-logos img {
    max-width: 90px;
    max-height: 28px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.48;
    transition: filter 0.18s var(--ease), opacity 0.18s var(--ease);
}

.trust-logos img:hover {
    opacity: 0.82;
}

/* ---------- Sections ---------- */

.section {
    padding: 88px 0;
}

.section-compact {
    padding: 60px 0;
}

.section-muted {
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-band {
    background: var(--paper-2);
}

.section-head {
    max-width: 700px;
    margin-bottom: 42px;
}

.section-head-center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-head-center .eyebrow {
    justify-content: center;
}

.section-head .lead {
    margin-top: 15px;
}

.section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    max-width: none;
}

.section-head-row .section-head {
    margin-bottom: 0;
}

.section-head-row > .text-link {
    flex: 0 0 auto;
    margin-bottom: 4px;
    white-space: nowrap;
}

/* ---------- Service cards ---------- */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 228px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    transition: transform 0.22s var(--ease), border-color 0.22s var(--ease),
        box-shadow 0.22s var(--ease);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.service-card-index {
    display: none;
}

.service-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.service-card p {
    flex: 1;
    color: var(--text);
    font-size: 13px;
    line-height: 1.68;
}

.service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
}

.service-card-category {
    color: var(--muted);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.service-card-link {
    color: var(--blue);
    font-size: 11.5px;
    font-weight: 600;
}

/* ---------- Stats ---------- */

.stats-band {
    position: relative;
    overflow: hidden;
    padding: 50px 0;
    background: var(--ink);
    color: var(--white);
}

.stats-band::after {
    content: "";
    position: absolute;
    top: -100px;
    right: -60px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 68%);
    pointer-events: none;
}

.stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.stat {
    padding: 4px 26px;
    border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.stat:first-child {
    padding-left: 0;
    border-left: 0;
}

.stat-number {
    display: block;
    color: var(--white);
    font-family: var(--font-head);
    font-size: clamp(2rem, 2.8vw, 2.65rem);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1;
}

.stat-label {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ---------- Split content ---------- */

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
}

.split-reverse .split-media {
    order: 2;
}

.split-copy .display-2 {
    margin-bottom: 17px;
}

.split-copy > p:not(.eyebrow) {
    color: var(--text);
    font-size: 14px;
    line-height: 1.78;
}

.split-copy > p + p {
    margin-top: 13px;
}

.split-copy .button,
.split-copy .split-actions {
    margin-top: 24px;
}

.split-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.split-media {
    position: relative;
    min-width: 0;
}

.image-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--ink-2);
    box-shadow: var(--shadow);
}

.image-frame img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
}

.image-badge {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 3px;
    max-width: 260px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    background: rgba(7, 26, 46, 0.62);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--white);
}

.image-badge strong {
    font-family: var(--font-head);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.35;
}

.image-badge span {
    color: rgba(255, 255, 255, 0.56);
    font-size: 9.5px;
    line-height: 1.45;
}

.plain-list {
    margin-top: 24px;
    border-top: 1px solid var(--line);
}

.plain-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.plain-list strong {
    display: block;
    margin-bottom: 3px;
    font-family: var(--font-head);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.plain-list span {
    display: block;
    color: var(--text);
    font-size: 12px;
    line-height: 1.62;
}

/* ---------- Process ---------- */

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    counter-reset: process;
}

.process-card {
    position: relative;
    padding: 22px 20px 0;
    border-top: 1px solid var(--line-strong);
    counter-increment: process;
    transition: border-color 0.18s var(--ease);
}

.process-card:hover {
    border-top-color: var(--ink);
}

.process-card::before {
    content: "0" counter(process);
    display: block;
    margin-bottom: 14px;
    color: var(--blue);
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.process-card h3 {
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
}

.process-card p {
    color: var(--text);
    font-size: 12.5px;
    line-height: 1.68;
}

/* ---------- Sector chips ---------- */

.sector-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.sector-chip {
    display: flex;
    align-items: flex-end;
    min-height: 94px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.sector-chip:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
}

.sector-chip span {
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
}

/* ---------- Document reader ---------- */

.document-reader {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow);
}

.document-reader:focus {
    outline: none;
}

.document-reader:focus-visible {
    outline: 3px solid rgba(7, 26, 46, 0.28);
    outline-offset: 3px;
}

.document-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--glass-light);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

.document-title strong {
    display: block;
    font-family: var(--font-head);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.document-title span {
    color: var(--muted);
    font-size: 10px;
}

.document-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.document-button {
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xs);
    background: var(--white);
    color: var(--ink);
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1;
    transition: border-color 0.15s var(--ease), background 0.15s var(--ease),
        opacity 0.15s var(--ease);
}

.document-button:hover:not(:disabled) {
    border-color: var(--ink);
    background: var(--paper);
}

.document-button:disabled {
    opacity: 0.38;
    cursor: not-allowed;
}

.document-button-square {
    width: 34px;
    padding: 0;
}

.document-status {
    min-width: 84px;
    padding: 0 6px;
    color: var(--muted);
    font-size: 10.5px;
    text-align: center;
}

.document-divider {
    width: 1px;
    height: 18px;
    margin: 0 4px;
    background: var(--line);
}

.document-stage {
    position: relative;
    background: var(--paper-2);
}

.document-viewport {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: clamp(400px, 80vh, 820px);
    min-height: 400px;
    max-height: none;
    padding: 24px;
    overflow: auto;
    background: var(--paper-2);
    scrollbar-color: var(--line-strong) transparent;
    perspective: 1600px;
    touch-action: pan-y;
}

.document-page {
    transform-origin: center left;
    will-change: transform, opacity;
}

.document-page canvas {
    display: block;
    max-width: none;
    height: auto;
    margin: 0 auto;
    border-radius: var(--radius-xs);
    background: var(--white);
    box-shadow: 0 18px 40px -26px rgba(7, 26, 46, 0.45);
    user-select: none;
    -webkit-user-select: none;
}

.document-reader[data-direction="forward"] .document-page.is-flipping {
    animation: document-page-forward 0.34s var(--ease);
}

.document-reader[data-direction="back"] .document-page.is-flipping {
    animation: document-page-back 0.34s var(--ease);
}

@keyframes document-page-forward {
    from {
        opacity: 0.35;
        transform: translateX(16px) rotateY(-7deg);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes document-page-back {
    from {
        opacity: 0.35;
        transform: translateX(-16px) rotateY(7deg);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.document-loading,
.document-error {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px;
    background: var(--paper-2);
    text-align: center;
}

.document-loading {
    color: var(--muted);
    font-size: 12px;
}

.document-loading-line {
    position: relative;
    width: 120px;
    height: 1px;
    overflow: hidden;
    background: var(--line);
}

.document-loading-line::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 40%;
    background: var(--ink);
    animation: document-loading 1.1s var(--ease) infinite;
}

@keyframes document-loading {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(350%);
    }
}

.document-error {
    color: var(--text);
    font-size: 12.5px;
}

.document-error-title {
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
}

.document-error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.document-progress {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    pointer-events: none;
}

.document-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--ink);
    transition: width 0.2s var(--ease);
}

.document-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 18px;
    border-top: 1px solid var(--line);
    background: var(--white);
    color: var(--muted);
    font-size: 10.5px;
}

.document-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.document-rail button {
    min-width: 28px;
    min-height: 28px;
    padding: 0 6px;
    border: 1px solid transparent;
    border-radius: var(--radius-xs);
    background: transparent;
    color: var(--muted);
    font-size: 10.5px;
    line-height: 1;
    transition: background 0.15s var(--ease), border-color 0.15s var(--ease),
        color 0.15s var(--ease);
}

.document-rail button:hover {
    border-color: var(--line);
    color: var(--ink);
}

.document-rail button[aria-current="page"] {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.document-foot-note {
    flex: 0 0 auto;
}

.document-noscript {
    margin-top: 14px;
    color: var(--text);
    font-size: 12px;
}

.document-reader:fullscreen {
    display: flex;
    flex-direction: column;
    height: 100vh;
    border: 0;
    border-radius: 0;
}

.document-reader:fullscreen .document-stage {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
}

.document-reader:fullscreen .document-viewport {
    flex: 1;
    max-height: none;
}

@media (max-width: 760px) {
    .document-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .document-controls {
        justify-content: flex-start;
    }

    .document-status {
        min-width: 0;
    }

    .document-viewport {
        max-height: 70vh;
        padding: 14px;
    }

    .document-foot {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .document-page.is-flipping {
        animation: none !important;
    }

    .document-loading-line::after {
        animation: none;
        width: 100%;
        opacity: 0.35;
    }
}

/* ---------- Gallery ---------- */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.gallery-item {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-sm);
    background: var(--ink-2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.035);
}

/* ---------- CTA band ---------- */

.cta-band {
    position: relative;
    overflow: hidden;
    padding: 66px 0;
    background: var(--ink);
    color: var(--white);
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.6), transparent 88%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-copy {
    max-width: 660px;
}

.cta-copy .eyebrow {
    color: rgba(255, 255, 255, 0.52);
}

.cta-copy h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 2.9vw, 2.55rem);
    font-weight: 600;
    letter-spacing: -0.045em;
}

.cta-copy p {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13.5px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    gap: 8px;
}

.cta-actions .button {
    min-width: 206px;
}

/* ---------- Page heroes ---------- */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0 50px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #f1f4f9 0%, var(--paper) 100%);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(7, 26, 46, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 26, 46, 0.035) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 90%);
    pointer-events: none;
}

.page-hero .jn-container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    max-width: 820px;
    margin-top: 4px;
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1.07;
}

.page-hero .lead {
    max-width: 610px;
    margin-top: 17px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 500;
}

.breadcrumb a {
    color: var(--muted);
}

.breadcrumb a:hover {
    color: var(--ink);
}

.breadcrumb-sep {
    color: var(--soft);
}

.breadcrumb span:last-child {
    color: var(--ink);
}

.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.page-hero-note {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 24px;
}

.page-hero-note span {
    padding: 0 16px;
    border-left: 1px solid var(--line-strong);
    color: var(--text);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
}

.page-hero-note span:first-child {
    padding-left: 0;
    border-left: 0;
}

/* ---------- Service hero ---------- */

.service-hero {
    position: relative;
    overflow: hidden;
    padding: 52px 0 58px;
    background:
        radial-gradient(ellipse 45% 80% at 88% 0%, rgba(255, 255, 255, 0.08), transparent 62%),
        linear-gradient(130deg, #061a2e, #0a2b49);
    color: var(--white);
}

.service-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 92%);
    pointer-events: none;
}

.service-hero .jn-container {
    position: relative;
    z-index: 1;
}

.service-hero .breadcrumb,
.service-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.48);
}

.service-hero .breadcrumb a:hover {
    color: var(--white);
}

.service-hero .breadcrumb .breadcrumb-sep {
    color: rgba(255, 255, 255, 0.25);
}

.service-hero .breadcrumb span:last-child {
    color: rgba(255, 255, 255, 0.8);
}

.service-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 52px;
    align-items: start;
}

.service-hero h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 3.8vw, 3.15rem);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1.07;
}

.service-hero .service-tagline {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.56);
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.service-hero .service-summary {
    max-width: 620px;
    margin-top: 17px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.75;
}

.service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.service-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 22px;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xs);
    background: var(--white);
    color: var(--text);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.service-hero .tag {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.66);
}

.service-hero-aside {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.service-hero-aside h2 {
    margin-bottom: 12px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.service-hero-aside li {
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.62);
    font-size: 11.5px;
    line-height: 1.55;
}

.service-hero-aside li:first-child {
    padding-top: 0;
    border-top: 0;
}

.service-hero-aside .button {
    margin-top: 14px;
}

/* ---------- Service body ---------- */

.service-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 58px;
    align-items: start;
    padding: 70px 0 86px;
}

.service-content > section + section {
    margin-top: 56px;
}

.content-heading {
    margin-bottom: 20px;
}

.content-heading h2 {
    font-size: clamp(1.5rem, 2.1vw, 1.95rem);
    font-weight: 600;
}

.content-heading p {
    margin-top: 8px;
    color: var(--text);
    font-size: 12.5px;
    line-height: 1.7;
}

.prose p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.8;
}

.prose p + p {
    margin-top: 14px;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.capability-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.capability-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-sm);
}

.capability-index {
    display: block;
    margin-bottom: 13px;
    color: var(--soft);
    font-family: var(--font-head);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.capability-card h3 {
    margin-bottom: 6px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.capability-card p {
    color: var(--text);
    font-size: 12px;
    line-height: 1.66;
}

.outcome-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.outcome-card {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
}

.outcome-marker {
    flex: 0 0 auto;
    width: 12px;
    height: 2px;
    margin-top: 7px;
    background: var(--blue);
}

.outcome-card strong {
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
}

.outcome-card span {
    display: block;
    color: var(--text);
    font-size: 11px;
    line-height: 1.55;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    counter-reset: approach;
}

.approach-step {
    padding-top: 17px;
    border-top: 1px solid var(--line-strong);
    counter-increment: approach;
}

.approach-step::before {
    content: "0" counter(approach);
    display: block;
    margin-bottom: 10px;
    color: var(--blue);
    font-family: var(--font-head);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.approach-step h3 {
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 600;
}

.approach-step p {
    color: var(--text);
    font-size: 11.5px;
    line-height: 1.62;
}

.ideal-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ideal-grid span {
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xs);
    background: var(--white);
    color: var(--text);
    font-size: 11px;
    font-weight: 500;
}

.service-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 22px);
}

.sidebar-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.sidebar-card + .sidebar-card {
    margin-top: 12px;
}

.sidebar-card h2,
.sidebar-card h3 {
    margin-bottom: 12px;
    font-size: 12.5px;
    font-weight: 600;
}

.sidebar-list li {
    padding: 8px 0;
    border-top: 1px solid var(--line);
    font-size: 11.5px;
}

.sidebar-list li:first-child {
    padding-top: 0;
    border-top: 0;
}

.sidebar-list a {
    color: var(--text);
    font-weight: 500;
}

.sidebar-list a:hover {
    color: var(--blue);
}

.sidebar-card-blue {
    border-color: var(--line-strong);
    background: var(--blue-soft);
}

.sidebar-card-blue h3 {
    font-size: 14px;
}

.sidebar-card-blue p {
    margin-bottom: 13px;
    color: var(--text);
    font-size: 11.5px;
    line-height: 1.6;
}

.sidebar-contact {
    display: block;
    margin-top: 10px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 500;
}

/* ---------- Partners ---------- */

.partner-cert-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 390px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
}

.partner-cert-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    filter: grayscale(1);
    mix-blend-mode: multiply;
}

.partner-cert-badge {
    width: 100%;
    max-width: 240px;
    height: auto;
    border-radius: var(--radius-xs);
    filter: grayscale(1);
}

.partner-certification {
    margin-top: 22px;
}

.partner-certification strong {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
}

.partner-wall {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.partner-card {
    display: flex;
    flex-direction: column;
    min-height: 190px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    transition: transform 0.2s var(--ease), border-color 0.2s var(--ease),
        box-shadow 0.2s var(--ease);
}

.partner-card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}

.partner-logo {
    display: flex;
    align-items: center;
    height: 40px;
    margin-bottom: 15px;
}

.partner-logo img {
    max-width: 104px;
    max-height: 36px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: filter 0.18s var(--ease), opacity 0.18s var(--ease);
}

.partner-card:hover .partner-logo img {
    opacity: 1;
}

.partner-category {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.partner-card h3 {
    margin-bottom: 5px;
    font-size: 13.5px;
    font-weight: 600;
}

.partner-card p {
    color: var(--text);
    font-size: 11px;
    line-height: 1.62;
}

/* ---------- About ---------- */

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.mission-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.mission-card h2 {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
}

.mission-card p {
    color: var(--text);
    font-size: 12px;
    line-height: 1.68;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.value-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
}

.value-index {
    flex: 0 0 auto;
    color: var(--soft);
    font-family: var(--font-head);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.value-card h3 {
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 600;
}

.value-card p {
    color: var(--text);
    font-size: 11.5px;
    line-height: 1.6;
}

.cert-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 20px;
}

.cert-row-center {
    justify-content: center;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xs);
    background: var(--white);
    color: var(--ink);
    font-size: 10.5px;
    font-weight: 500;
}

.credential-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 22px;
    margin-top: 18px;
}

.credential-list li {
    position: relative;
    padding-left: 12px;
    color: var(--text);
    font-size: 12px;
    line-height: 1.55;
}

.credential-list li::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--blue);
}

/* ---------- Support ---------- */

.support-channels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.channel-card {
    display: flex;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink);
    transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.channel-card:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    color: var(--ink);
}

.channel-card h3 {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 600;
}

.channel-card p {
    margin-bottom: 14px;
    color: var(--text);
    font-size: 11.5px;
    line-height: 1.6;
}

.channel-value {
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}

.channel-action {
    margin-top: auto;
    color: var(--blue);
    font-size: 10.5px;
    font-weight: 600;
}

.step-list {
    margin-top: 4px;
}

.step-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 11px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.step-list li:first-child {
    padding-top: 0;
    border-top: 0;
}

.step-number {
    display: grid;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.72);
    font-size: 8.5px;
    font-weight: 600;
}

.step-list strong {
    display: block;
    margin-bottom: 2px;
    color: var(--white);
    font-family: var(--font-head);
    font-size: 11.5px;
    font-weight: 600;
}

.step-list span:not(.step-number) {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 10.5px;
    line-height: 1.55;
}

.faq-list {
    max-width: 840px;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: -0.02em;
    list-style: none;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-toggle {
    position: relative;
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
}

.faq-toggle::before,
.faq-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 13px;
    height: 1.4px;
    background: var(--ink);
    transition: transform 0.18s var(--ease);
}

.faq-toggle::after {
    transform: rotate(90deg);
}

.faq-item[open] .faq-toggle::after {
    transform: rotate(0);
}

.faq-answer {
    max-width: 720px;
    padding: 0 0 20px;
    color: var(--text);
    font-size: 12.5px;
    line-height: 1.75;
}

.support-hours {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.support-hours div {
    color: var(--text);
    font-size: 11.5px;
}

.support-hours a {
    color: var(--ink);
    font-weight: 500;
}

/* ---------- Forms ---------- */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 44px;
    align-items: start;
}

.form-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
}

.form-card h2 {
    font-size: 1.35rem;
    font-weight: 600;
}

.form-card > p {
    margin-top: 7px;
    margin-bottom: 22px;
    color: var(--text);
    font-size: 12px;
    line-height: 1.6;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-field {
    min-width: 0;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-field label .optional {
    color: var(--soft);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-xs);
    background: var(--white);
    color: var(--ink);
    font-size: 13px;
    line-height: 1.45;
    transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--soft);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(7, 26, 46, 0.1);
}

.form-field textarea {
    min-height: 128px;
    resize: vertical;
}

.form-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='%23071a2e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    padding-right: 34px;
}

.has-error input,
.has-error select,
.has-error textarea {
    border-color: var(--danger);
    background: var(--danger-soft);
}

.field-error {
    display: block;
    margin-top: 5px;
    color: var(--danger);
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.45;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--text);
    font-size: 11px;
    line-height: 1.55;
}

.form-check label {
    margin: 0;
    color: var(--text);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.55;
    text-transform: none;
    cursor: pointer;
}

.form-check a {
    color: var(--ink);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--line-strong);
    text-underline-offset: 2px;
}

.form-check input {
    width: 15px;
    height: 15px;
    min-height: 0;
    flex: 0 0 auto;
    margin: 1px 0 0;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    background: var(--white);
    box-shadow: none;
    accent-color: var(--blue);
    appearance: auto;
}

.form-check input:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(7, 26, 46, 0.12);
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
}

.form-footer-note {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.contact-aside {
    display: grid;
    gap: 11px;
}

.info-card {
    padding: 21px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
}

.info-card h3 {
    margin-bottom: 8px;
    font-size: 11.5px;
    font-weight: 600;
}

.info-card p,
.info-card address {
    color: var(--text);
    font-size: 11.5px;
    font-style: normal;
    line-height: 1.7;
}

.info-card a {
    color: var(--ink);
    font-weight: 500;
}

.info-card a:hover {
    color: var(--blue);
}

.info-card-dark {
    border-color: transparent;
    background: var(--ink);
    color: var(--white);
}

.info-card-dark h3 {
    color: var(--white);
}

.info-card-dark p {
    color: rgba(255, 255, 255, 0.56);
}

.info-card-dark a {
    color: var(--white);
}

.map-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 21px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper-2);
}

.map-card strong {
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
}

.map-card span {
    display: block;
    color: var(--text);
    font-size: 11px;
    line-height: 1.55;
}

.map-card-action {
    flex: 0 0 auto;
    color: var(--blue) !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
}

/* ---------- Legal ---------- */

.legal-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.legal-meta {
    margin-bottom: 30px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
}

.legal-wrap h2 {
    margin: 30px 0 9px;
    font-size: 1.18rem;
    font-weight: 600;
}

.legal-wrap h2:first-of-type {
    margin-top: 0;
}

.legal-wrap p,
.legal-wrap li {
    color: var(--text);
    font-size: 13px;
    line-height: 1.8;
}

.legal-wrap p + p {
    margin-top: 11px;
}

.legal-wrap ul {
    margin: 10px 0 0;
    padding-left: 17px;
    list-style: disc;
}

.legal-wrap li {
    margin-bottom: 6px;
}

.legal-wrap a {
    font-weight: 500;
}

/* ---------- Error and login ---------- */

.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 74px 0;
    text-align: center;
}

.error-content {
    max-width: 540px;
}

.error-code {
    color: var(--ink);
    font-family: var(--font-head);
    font-size: clamp(4.5rem, 12vw, 8rem);
    font-weight: 600;
    letter-spacing: -0.08em;
    line-height: 0.9;
}

.error-content h1 {
    margin: 18px 0 10px;
    font-size: 1.6rem;
    font-weight: 600;
}

.error-content p {
    color: var(--text);
    font-size: 13px;
    line-height: 1.7;
}

.error-debug {
    margin-top: 14px;
    color: var(--muted);
    font-size: 11.5px;
}

.error-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 68vh;
    padding: 64px 0;
}

.login-card {
    width: 100%;
    max-width: 410px;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
}

.login-card .brand {
    margin-bottom: 24px;
}

.login-card h1 {
    margin-bottom: 6px;
    font-size: 1.4rem;
    font-weight: 600;
}

.login-card > p {
    margin-bottom: 20px;
    color: var(--text);
    font-size: 12px;
}

.login-card .form-footer {
    margin-top: 18px;
}

.login-note {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 10px;
    text-align: center;
}

/* ---------- Footer ---------- */

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 66px 0 24px;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.56);
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 0.85fr) minmax(0, 0.95fr) minmax(0, 1.25fr);
    gap: 42px;
}

.brand-footer {
    margin-bottom: 15px;
    color: var(--white);
}

.brand-footer:hover {
    color: var(--white);
}

.brand-mark-footer {
    width: 48px;
    height: 41px;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.brand-footer .brand-copy strong {
    color: var(--white);
}

.brand-footer .brand-copy small {
    color: rgba(255, 255, 255, 0.38);
}

.footer-brand > p {
    max-width: 350px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 11.5px;
    line-height: 1.75;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.54);
    font-size: 10.5px;
    font-weight: 500;
}

.footer-social a:hover {
    color: var(--white);
}

.footer-newsletter {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-newsletter-title {
    color: rgba(255, 255, 255, 0.84);
    font-family: var(--font-head);
    font-size: 11.5px;
    font-weight: 500;
}

.footer-newsletter-copy {
    margin: 4px 0 11px;
    color: rgba(255, 255, 255, 0.36);
    font-size: 10px;
    line-height: 1.55;
}

.newsletter-form {
    display: flex;
    max-width: 320px;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-right: 0;
    border-radius: var(--radius-xs) 0 0 var(--radius-xs);
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    font-size: 11px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.newsletter-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.newsletter-form button {
    flex: 0 0 auto;
    padding: 0 14px;
    border: 1px solid var(--white);
    border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
    background: var(--white);
    color: var(--ink);
    font-size: 10.5px;
    font-weight: 600;
}

.newsletter-form button:hover {
    background: transparent;
    color: var(--white);
}

.footer-col h3 {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.86);
    font-family: var(--font-body);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-col li {
    margin-bottom: 9px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.46);
    font-size: 11.5px;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-more {
    color: rgba(255, 255, 255, 0.74) !important;
    font-weight: 500;
}

.footer-contact li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 11px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 11px;
    line-height: 1.6;
}

.footer-label {
    color: rgba(255, 255, 255, 0.28);
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.46);
    font-size: 11px;
}

.footer-contact li a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 46px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.3);
    font-size: 10px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-bottom-links span,
.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.34);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ---------- Back to top ---------- */

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 900;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-sm);
    background: var(--ink);
    color: var(--white);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: var(--shadow);
    transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}

.back-to-top:hover {
    transform: translateY(-2px);
    background: var(--ink-2);
}

/* ---------- Reveal ---------- */

.js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

.js .reveal-delay-1 {
    transition-delay: 0.06s;
}

.js .reveal-delay-2 {
    transition-delay: 0.12s;
}

.js .reveal-delay-3 {
    transition-delay: 0.18s;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1120px) {
    :root {
        --header-height: 68px;
    }

    .header-inner {
        gap: 14px;
    }

    .header-cta {
        display: none;
    }

    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .primary-nav {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1201;
        display: none;
        width: min(380px, 100vw);
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        padding: 0 22px 26px;
        overflow-y: auto;
        border-left: 1px solid var(--line);
        background: var(--white);
        box-shadow: -30px 0 70px -30px rgba(7, 26, 46, 0.5);
    }

    body.nav-open .primary-nav {
        display: flex;
        animation: navSlideIn 0.25s var(--ease) both;
    }

    @keyframes navSlideIn {
        from {
            transform: translateX(100%);
        }
        to {
            transform: translateX(0);
        }
    }

    .nav-panel-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 68px;
        border-bottom: 1px solid var(--line);
        color: var(--muted);
        font-size: 9.5px;
        font-weight: 600;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .nav-close {
        padding: 7px 9px;
        border: 1px solid var(--line);
        border-radius: var(--radius-xs);
        background: var(--white);
        color: var(--ink);
        font-size: 10px;
        font-weight: 500;
        letter-spacing: 0;
        text-transform: none;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 1px;
        margin: 12px 0 22px;
    }

    .nav-link {
        display: flex;
        width: 100%;
        justify-content: space-between;
        padding: 13px 10px;
        border-radius: var(--radius-xs);
        font-size: 14px;
    }

    .nav-link.is-active {
        background: var(--paper);
    }

    .nav-link.is-active::after {
        display: none;
    }

    .nav-dropdown {
        position: static;
        display: none;
        width: 100%;
        margin: 4px 0 8px;
        padding: 8px;
        border: 1px solid var(--line);
        border-radius: var(--radius-sm);
        background: var(--paper);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .nav-dropdown::before {
        display: none;
    }

    .has-dropdown.is-open .nav-dropdown {
        display: block;
        transform: none;
    }

    .nav-dropdown-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .nav-group-title {
        padding: 0 7px;
    }

    .nav-dropdown-foot {
        display: none;
    }

    .nav-panel-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid var(--line);
    }

    .nav-panel-call {
        color: var(--text);
        font-size: 11.5px;
        font-weight: 500;
        text-align: center;
    }

    .home-hero-grid {
        gap: 36px;
    }

    .hero-frame {
        min-height: 460px;
    }

    .service-hero-grid {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 32px;
    }

    .service-body {
        grid-template-columns: minmax(0, 1fr) 270px;
        gap: 36px;
    }

    .footer-top {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
    }

    .footer-contact {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0 26px;
        padding-top: 22px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-contact h3 {
        grid-column: 1 / -1;
    }
}

@media (max-width: 920px) {
    .topbar-location,
    .topbar-hours {
        display: none;
    }

    .home-hero {
        padding: 62px 0 60px;
    }

    .home-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 42px;
    }

    .home-hero h1 {
        max-width: 760px;
    }

    .hero-frame {
        min-height: 420px;
    }

    .hero-badge-top {
        top: 12px;
        left: 12px;
    }

    .hero-badge-bottom {
        right: 12px;
        bottom: 92px;
    }

    .trust-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .trust-label {
        padding-right: 0;
        border-right: 0;
    }

    .section {
        padding: 68px 0;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .split-reverse .split-media {
        order: 0;
    }

    .image-frame img {
        min-height: 350px;
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .sector-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }

    .cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .service-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-hero-aside {
        max-width: 500px;
    }

    .service-body {
        grid-template-columns: minmax(0, 1fr);
        padding: 54px 0 68px;
    }

    .service-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .sidebar-card + .sidebar-card {
        margin-top: 0;
    }

    .partner-wall {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand > p {
        max-width: 540px;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

    .document-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .document-controls {
        flex-wrap: wrap;
    }

    .document-viewport {
        min-height: 340px;
        max-height: 660px;
        padding: 16px;
    }
}

@media (max-width: 680px) {
    .jn-container {
        padding: 0 20px;
    }

    .topbar-inner {
        gap: 10px;
    }

    .topbar {
        font-size: 10.5px;
    }

    .topbar-contact {
        gap: 10px;
    }

    .brand-copy small {
        display: none;
    }

    .brand-mark {
        width: 40px;
        height: 35px;
    }

    .home-hero {
        padding: 50px 0 54px;
    }

    .home-hero h1 {
        font-size: clamp(2.15rem, 9vw, 2.8rem);
    }

    .home-lead {
        font-size: 14.5px;
    }

    .home-hero-meta {
        gap: 8px 0;
    }

    .home-hero-meta li {
        padding: 0 12px;
        font-size: 10px;
    }

    .hero-frame {
        min-height: 350px;
        border-radius: var(--radius);
    }

    .hero-caption {
        right: 14px;
        bottom: 14px;
        left: 14px;
        padding: 12px 13px;
    }

    .hero-caption h2 {
        font-size: 0.95rem;
    }

    .hero-badge {
        padding: 9px 11px;
    }

    .hero-badge-bottom {
        display: none;
    }

    .trust-logos {
        gap: 14px 24px;
    }

    .trust-logos img {
        max-width: 76px;
        max-height: 24px;
    }

    .section {
        padding: 56px 0;
    }

    .section-head {
        margin-bottom: 30px;
    }

    .section-head-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .service-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-card {
        min-height: 0;
        padding: 22px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 0;
    }

    .stat {
        padding: 4px 18px;
    }

    .stat:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .process-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sector-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .cta-band {
        padding: 50px 0;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .button {
        width: 100%;
    }

    .page-hero {
        padding: 42px 0 40px;
    }

    .page-hero h1 {
        font-size: clamp(1.95rem, 8vw, 2.5rem);
    }

    .page-hero-note {
        gap: 8px 0;
    }

    .page-hero-note span {
        padding: 0 11px;
        font-size: 10px;
    }

    .service-hero {
        padding: 40px 0 44px;
    }

    .service-hero h1 {
        font-size: clamp(1.95rem, 8.5vw, 2.5rem);
    }

    .service-hero-actions,
    .page-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .service-hero-actions .button,
    .page-hero-actions .button {
        width: 100%;
    }

    .capability-grid,
    .outcome-grid,
    .approach-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .partner-wall {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .partner-card {
        min-height: 180px;
        padding: 17px;
    }

    .mission-grid,
    .values-grid,
    .support-channels {
        grid-template-columns: minmax(0, 1fr);
    }

    .credential-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-card {
        padding: 22px;
    }

    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .form-footer .button {
        width: 100%;
    }

    .document-reader {
        border-radius: var(--radius-sm);
    }

    .document-toolbar {
        padding: 13px 14px;
    }

    .document-controls {
        gap: 4px;
    }

    .document-button {
        min-height: 30px;
        padding: 5px 8px;
        font-size: 10px;
    }

    .document-button-square {
        width: 30px;
    }

    .document-status {
        min-width: 66px;
        font-size: 10px;
    }

    .document-divider {
        display: none;
    }

    .document-viewport {
        min-height: 280px;
        max-height: 600px;
        padding: 12px;
    }

    .document-foot {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        padding: 11px 14px;
    }

    .footer-top {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .footer-brand,
    .footer-contact {
        grid-column: auto;
    }

    .footer-contact {
        display: block;
        padding-top: 0;
        border-top: 0;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form {
        max-width: none;
    }

    .back-to-top {
        right: 12px;
        bottom: 12px;
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 420px) {
    .topbar-contact a:last-of-type,
    .topbar-sep {
        display: none;
    }

    .nav-dropdown-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .stats-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .stat,
    .stat:nth-child(3) {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 16px;
    }

    .stat:first-child {
        border-top: 0;
        padding-top: 0;
    }

    .partner-wall {
        grid-template-columns: minmax(0, 1fr);
    }

    .gallery-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .document-title span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .topbar,
    .site-header,
    .site-footer,
    .back-to-top,
    .nav-scrim,
    .hero-dots,
    .document-toolbar,
    .document-foot {
        display: none !important;
    }

    body {
        background: var(--white);
        color: #000;
    }

    .home-hero,
    .service-hero,
    .cta-band,
    .stats-band {
        background: var(--white) !important;
        color: #000 !important;
    }
}
