:root {
    --ink: #163056;
    --paper: #ffffff;
    --card: #ffffff;
    --muted: #4a5870;
    --line: #d7e2f0;
    --accent: #1a3d73;
    --accent-dark: #122a52;
    --copper: #e87822;
    --cream: #f3f7fc;
    --shadow: 0 10px 30px rgba(28, 31, 30, 0.06);
    --max: 1200px;
    --header: 96px;
    --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--muted);
    background: var(--paper);
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
    font-family: "Syne", "Segoe UI", sans-serif;
    color: var(--ink);
    line-height: 1.22;
    letter-spacing: -0.02em;
    font-weight: 700;
    margin: 0 0 0.45em;
}
p { margin: 0 0 1em; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.skip, .sr-only {
    position: absolute;
    left: -999px;
}
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 40; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    backdrop-filter: blur(12px);
    border-bottom: 3px solid var(--copper);
}
.header-bar {
    min-height: var(--header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-logo { height: 78px; width: auto; }
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong {
    font-family: "Syne", sans-serif;
    font-size: 1.15rem;
    letter-spacing: 0.14em;
}
.brand-text small {
    color: var(--copper);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.68rem;
}
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
    width: 44px;
    height: 40px;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    height: 1.5px;
    background: var(--ink);
    margin: 6px 0;
}
.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    color: #2c4268;
    font-size: 0.95rem;
}
.main-nav a.is-active,
.main-nav a:hover { color: var(--accent); }
.main-nav > ul > li > a.is-active { box-shadow: inset 0 -2px 0 var(--copper); }
.has-sub { position: relative; }
.caret {
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
}
.submenu {
    display: none;
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    min-width: 230px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 8px 0;
    list-style: none;
    margin: 0;
}
.has-sub:hover .submenu,
.has-sub:focus-within .submenu { display: block; }
.submenu a { display: block; padding: 8px 16px; }
.btn-login {
    border: 1px solid var(--accent);
    color: var(--accent) !important;
    border-radius: 999px;
    margin-left: 8px;
}

.stage {
    position: relative;
    isolation: isolate;
    min-height: 620px;
    display: flex;
    align-items: center;
    background: #1b3a6f;
    color: #f7f4ee;
    overflow: hidden;
}
.stage h1 {
    color: #fff;
    font-size: clamp(2.4rem, 4.4vw, 3.6rem);
    max-width: 12ch;
    margin: 0 0 14px;
}
.stage .lead { max-width: 42ch; color: #f4f0e8; font-size: 1.05rem; line-height: 1.65; }
.stage-copy {
    position: relative;
    z-index: 2;
    padding: 72px 0 88px;
}
.stage .stage-slider {
    position: absolute;
    inset: 0;
    height: 100%;
    border-radius: 0;
    background: #1b3a6f;
}
.stage-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(10, 22, 48, 0.82) 0%, rgba(10, 22, 48, 0.55) 42%, rgba(10, 22, 48, 0.18) 100%);
    pointer-events: none;
}
.stage-slider {
    position: relative;
    height: 420px;
    border-radius: 18px;
    overflow: hidden;
    background: #132a52;
}
.stage-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
}
.stage-slide.is-active { opacity: 1; }
.stage-slide img,
.stage-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #132a52;
    transform: scale(1.08);
}
.stage-slide.is-active img,
.stage-slide.is-active video {
    animation: photo-drift 16s ease-in-out infinite alternate;
}
.stage-slide:nth-child(even).is-active img,
.stage-slide:nth-child(even).is-active video {
    animation-name: photo-drift-alt;
}
.stage-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 2;
    display: flex;
    gap: 7px;
    transform: translateX(-50%);
}
.stage-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}
.stage-dot.is-active { background: #fff; width: 22px; }
.stage-empty {
    margin: 0;
    padding: 24px;
    color: #f4f0e8;
}
.eyebrow {
    color: var(--copper);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.stage .eyebrow { color: var(--copper); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.band-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.btn-primary { background: var(--copper); color: #fff; }
.btn-primary:hover { background: #cf6416; }
.btn-ghost { background: transparent; border-color: currentColor; color: inherit; }
.stage .btn-ghost { color: #f4f0e8; }

.section { padding: 48px 0; }
.section-soft { background: var(--accent); color: #e7eef8; }
.section-soft h2 { color: #fff; }
.section-soft .eyebrow { color: #ffd0a8; }
.section-soft .service-board article { color: var(--muted); }
.section-soft .service-board h3 { color: var(--ink); }
.section-soft .service-board span { color: var(--copper); }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 18px;
}
.section-head.is-center {
    display: block;
    text-align: center;
    margin-bottom: 28px;
}
.section-head.is-center h2.eyebrow {
    font-family: "Syne", sans-serif;
    font-size: clamp(1.7rem, 2.6vw, 2.15rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.15;
    max-width: none;
    margin: 0 0 10px;
}
.section-head.is-center .eyebrow::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin: 12px auto 0;
    background: var(--copper);
    border-radius: 2px;
}
.section-head.is-center .link-more { display: inline-block; margin-top: 14px; }
.section-head h2,
.copy-block h2 { font-size: 1.55rem; max-width: 22em; margin-bottom: 0; }
.section-head .eyebrow,
.copy-block .eyebrow { margin-bottom: 6px; }
.copy-block .eyebrow,
.csr-card .eyebrow,
.band .eyebrow {
    font-family: "Syne", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.copy-block { max-width: 740px; }
.copy-block p { max-width: 68ch; }
.intro-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 40px;
    align-items: start;
}
.intro-split .copy-block { max-width: none; }
.intro-split .copy-block h2 {
    font-size: clamp(2rem, 2.6vw, 2.7rem);
    max-width: 14ch;
    margin-bottom: 14px;
}
.intro-split .copy-block > p { font-size: 1.12rem; max-width: 36em; }
.work-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: work;
}
.work-list li {
    counter-increment: work;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: baseline;
    border-top: 1px solid var(--line);
    padding: 16px 0;
    color: var(--ink);
    font-size: 1.05rem;
}
.work-list li::before {
    content: counter(work);
    font-family: "Syne", sans-serif;
    font-size: 1.45rem;
    color: var(--copper);
    line-height: 1;
}
.work-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 28px;
    align-items: stretch;
}
.work-layout .section-head { margin-bottom: 8px; }
.work-slider {
    position: relative;
    min-height: 280px;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #e7eef8;
}
.work-slider.stage-slider { height: 100%; min-height: 280px; background: #d5e0f0; }
.work-slider .stage-slide img { object-fit: cover; }
.work-slider-empty {
    margin: 0;
    min-height: 280px;
    display: grid;
    place-items: center;
    padding: 28px 22px;
    text-align: center;
    color: var(--muted);
}
.work-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 22px;
    border-radius: var(--radius);
    overflow: hidden;
}
.work-panels article { padding: 32px 28px; color: #f3f6fb; }
.work-panels article:first-child { background: var(--accent); }
.work-panels article:last-child { background: var(--copper); }
.work-panels article:last-child p { color: #fff6ee; }
.work-panels h3 { color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.work-panels p { margin: 0; color: #e7eef8; }
.who-block { display: grid; gap: 28px; }
.cert-row {
    display: grid;
    grid-template-columns: 0.5fr 1fr 1fr;
    gap: 14px;
    align-items: start;
}
.cert-row a {
    display: grid;
    gap: 8px;
    align-content: start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.35;
    animation: card-float 6s ease-in-out infinite alternate;
}
.cert-row a:nth-child(2) { animation-duration: 7.2s; animation-direction: alternate-reverse; }
.cert-row a:nth-child(3) { animation-duration: 5.4s; }
.iso-section { padding-top: 28px; }
.iso-head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.iso-head h2 {
    margin: 0;
    font-size: 1.35rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.iso-head h2::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, var(--accent) 0 58%, #111 58% 100%);
}
.iso-head p { margin: 16px 0 0; color: var(--ink); font-weight: 700; }
.iso-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 220px));
    justify-content: center;
    gap: 28px;
}
.iso-item { text-align: center; }
.iso-item h3 { margin: 14px 0 4px; font-size: 1.05rem; }
.iso-item p { margin: 0; color: #6b7280; font-size: .92rem; }
.tuv-card {
    display: grid;
    justify-items: center;
    gap: 10px;
    min-height: 250px;
    padding: 18px 16px 14px;
    background: #071a4a;
    color: #fff;
    box-shadow: 0 10px 24px rgba(7, 26, 74, .18);
}
.tuv-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    padding: 8px 14px 7px;
    background: #1d4ed8;
    color: #fff;
    font-weight: 800;
    letter-spacing: .04em;
    font-size: .95rem;
}
.tuv-company { font-size: .82rem; font-weight: 600; }
.tuv-rule {
    width: 72%;
    height: 2px;
    margin: 8px 0 6px;
    background: linear-gradient(#fff, #fff) center / 34% 2px no-repeat,
        linear-gradient(#fff, #fff) left / 22% 2px no-repeat,
        linear-gradient(#fff, #fff) right / 22% 2px no-repeat;
}
.tuv-card strong {
    font-size: 1.55rem;
    letter-spacing: .02em;
    font-weight: 700;
}
.tuv-foot {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
    font-size: .68rem;
    font-style: normal;
    opacity: .85;
}
.tuv-foot em { font-style: normal; }
.cert-row img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #fff;
}
.csr-card {
    background: var(--cream);
    border: 1px solid var(--line);
    border-top: 3px solid var(--copper);
    border-radius: var(--radius);
    padding: 12px 12px 18px;
}
.csr-photos {
    position: relative;
    aspect-ratio: 16 / 11;
    margin-bottom: 14px;
    border-radius: 10px;
    overflow: hidden;
    background: #d7e2f2;
}
.csr-photos.stage-slider { height: auto; background: #d7e2f2; border-radius: 10px; }
.csr-photo { margin: 0; height: 100%; }
.csr-photos .stage-slide { position: absolute; inset: 0; }
.csr-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.08);
    animation: photo-drift 18s ease-in-out infinite alternate;
}
.csr-empty { margin: 0; padding: 28px 16px; text-align: center; color: var(--muted); }
.csr-card h2 { font-size: 1.35rem; max-width: 14em; margin: 0 0 10px; }
.csr-card > p:last-child { margin: 0; }
.reason-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.reason-row article {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--copper);
    border-radius: var(--radius);
    padding: 18px 18px 16px;
}
.reason-row h3 { font-size: 1.05rem; margin-bottom: 6px; }
.reason-row p { margin: 0; }
.link-more { color: var(--accent); font-weight: 600; }

.service-board {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.service-board article {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--copper);
    border-radius: var(--radius);
    padding: 24px 24px 20px;
    box-shadow: var(--shadow);
}
.service-board article:nth-child(even) { border-top-color: var(--accent); }
.service-board span {
    font-family: "Syne", sans-serif;
    color: var(--copper);
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}
.service-board h3 { font-size: 1.08rem; margin: 8px 0; }
.service-board p { margin: 0; }

.mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.mosaic-home { grid-template-columns: repeat(3, 1fr); }
.mosaic-card {
    position: relative;
    min-height: 168px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #f7f4ee;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(165deg, #2a508f, #1b3a6f 72%);
}
.mosaic-caption { position: relative; z-index: 2; padding: 18px; }
.mosaic-card.has-photos .mosaic-caption {
    background: linear-gradient(transparent, rgba(12, 22, 44, 0.88));
}
.mosaic-slider { position: absolute; inset: 0; }
.mosaic-slider .stage-slide img { object-fit: cover; }
.mosaic-card,
.mosaic-card:nth-child(3n) {
    background-size: 220% 220%;
    animation: card-shift 12s ease-in-out infinite alternate;
}
.mosaic-card:nth-child(3n) {
    background-image: linear-gradient(165deg, #e8782a, #b85a16 78%);
    animation-duration: 15s;
    animation-direction: alternate-reverse;
}
.mosaic-card.has-photos { animation: none; }
.mosaic-card span { font-family: "Syne", sans-serif; color: #ffe0c2; font-size: 0.82rem; }
.mosaic-card h2 { color: #fff; font-size: 1.05rem; margin-bottom: 2px; }
.mosaic-card p { margin: 0; color: #e7e1d6; font-size: 0.92rem; }

.client-row {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.client-row li {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 14px;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.92rem;
    background: #fff;
}
.home-news {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.home-news article {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 18px 16px;
    background: #fff;
}
.home-news .meta {
    margin: 0 0 8px;
    color: var(--copper);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.home-news h3 { font-size: 1.05rem; margin-bottom: 8px; }
.home-news p { margin: 0 0 12px; }

.band { background: var(--accent); color: #f7f4ee; padding: 28px 0; }
.band h2 { color: #fff; font-size: 1.35rem; line-height: 1.35; max-width: 28em; margin: 0; }
.band .eyebrow { color: #ffd2ad; margin-bottom: 6px; }
.band .btn { flex: 0 0 auto; }
.band .btn-primary { background: var(--copper); color: #fff; }

.page-hero {
    background: linear-gradient(105deg, #122a52 0%, #1a3d73 62%, #e87822 160%);
    border-bottom: 4px solid var(--copper);
    padding: 42px 0 32px;
}
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.15rem); max-width: 22em; }
.page-hero .eyebrow { color: #ffd2ad; }
.page-hero .lead { max-width: 68ch; font-size: 1rem; margin-bottom: 0; color: #d7e4f6; }
.prose { padding: 28px 0 64px; background: var(--cream); }
.prose h2 { margin-top: 1.6em; font-size: 1.35rem; scroll-margin-top: 96px; }
.prose h2:first-of-type { margin-top: 0.15em; }
.prose > .container > h2::after,
.prose .slo-top h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    margin-top: 10px;
    border-radius: 99px;
    background: var(--copper);
}
.prose h3 { font-size: 1.08rem; }
.prose p, .prose li { max-width: 68ch; }
.prose .panel p,
.prose .topic-card p,
.prose .fact-sheet p,
.prose .note-box p,
.prose .service-board p { max-width: none; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }

.subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0 0 20px;
    border-bottom: 1px solid var(--line);
}
.subnav a {
    padding: 10px 14px;
    font-size: 0.92rem;
    color: var(--muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.subnav a.is-active, .subnav a:hover {
    color: var(--accent);
    border-color: var(--copper);
}

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }
#kantor { margin-top: 48px; }
.office-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; margin: 16px 0 36px; }
.office-layout p { margin-bottom: 14px; }
.office-photo { width: 100%; height: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; }
.office-map { width: 100%; height: 280px; border: 0; border-radius: 12px; }
.sbu-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 28px; }
.sbu-row a { display: grid; gap: 8px; color: var(--ink); font-weight: 600; }
.sbu-row img { width: 100%; height: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.org-chart { display: block; width: min(760px, 100%); margin: 0 auto 28px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.poster { display: block; width: 100%; height: auto; margin: 8px 0 28px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.slo-top { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; }
.slo-links { display: grid; gap: 10px; }
.slo-links .topic-card { padding: 14px 16px; }
.slo-links .topic-card p { margin: 4px 0 8px; }
.flow-time { color: var(--copper); font-size: 0.78rem; letter-spacing: 0.04em; font-weight: 700; }
.panel, .topic-card, .note-box, .form, .fact-sheet {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--copper);
    border-radius: var(--radius);
    padding: 22px 24px;
    box-shadow: var(--shadow);
}
.fact-sheet p { display: grid; gap: 2px; margin-bottom: 14px; }
.fact-sheet span { color: var(--accent); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; margin-bottom: 8px; }
.index-no { font-family: "Syne", sans-serif; color: var(--copper); margin: 0 0 6px; font-size: 0.85rem; }
.topic-card h3 { font-size: 1.08rem; }
.card-grid .topic-card:nth-child(even),
.slo-links .topic-card:nth-child(even),
.split .panel:last-child { border-top-color: var(--accent); }
.note-box { border-left: 3px solid var(--accent); margin: 18px 0; box-shadow: none; }
.law-list { padding-left: 1.2em; }
.law-list li { margin-bottom: 8px; }

.org { display: grid; gap: 14px; justify-items: center; margin: 12px 0 28px; }
.org-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 18px;
    min-width: 220px;
    text-align: center;
    color: var(--ink);
    font-weight: 600;
    box-shadow: var(--shadow);
}
.org-box small { display: block; font-weight: 400; color: var(--muted); }
.org-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tab-btn, .doc-switch-list button {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    border-radius: 999px;
    padding: 8px 14px;
    font: inherit;
    cursor: pointer;
}
.tab-btn.is-active, .doc-switch-list button.is-active,
.doc-switch-list button:hover, .tab-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
.data-table { width: 100%; border-collapse: collapse; margin: 12px 0 28px; background: var(--card); }
.data-table th, .data-table td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.data-table th { color: #fff; font-weight: 600; background: var(--accent); }
.flow { display: grid; gap: 10px; }
.flow-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 3px solid var(--copper);
    border-radius: var(--radius);
    padding: 16px;
}
.flow-num {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    background: var(--accent);
    color: #fff;
    font-family: "Syne", sans-serif;
}
.checklist { columns: 2; gap: 28px; }
.checklist li { break-inside: avoid; margin-bottom: 8px; }

.contact-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 24px; align-items: start; }
.form { display: grid; gap: 14px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid-2 .full { grid-column: 1 / -1; }
label { color: var(--ink); font-weight: 600; display: grid; gap: 6px; }
input, textarea, select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 12px;
    font: inherit;
    font-weight: 400;
    color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
.alert { padding: 12px 14px; background: #e5f3ef; color: #0b5249; }
.alert-error { background: #f8e8e4; color: #7a2e22; }
.search-bar { display: flex; gap: 8px; margin: 8px 0 24px; }
.search-bar input { max-width: 420px; }

.site-footer { background: var(--accent-dark); color: #d5e2f4; padding-top: 56px; }
.site-footer h2 {
    color: #fff;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 0.7fr; gap: 32px; }
.footer-kicker {
    font-family: "Syne", sans-serif;
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: -0.03em;
    margin: 0 0 8px;
}
.footer-slogan { color: var(--copper); }
.site-footer a:hover { color: #fff; }
.contact-list, .footer-links { list-style: none; padding: 0; margin: 0; }
.contact-list li, .footer-links li { margin-bottom: 8px; }
.footer-bottom { margin-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.14); padding: 16px 0 22px; }
.to-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    background: var(--copper);
    color: #fff;
    padding: 10px 12px;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.doc-sheet { margin: 28px 0 8px; }
.doc-sheet figcaption {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    margin-bottom: 10px;
}
.doc-sheet figcaption strong { color: var(--ink); }
.doc-sheet figcaption a { color: var(--accent); font-weight: 600; }
.doc-frame {
    height: min(78vh, 720px);
    min-height: 480px;
    border: 1px solid var(--line);
    background: #e7eef8;
    overflow: auto;
}
.doc-pages { display: grid; gap: 12px; padding: 12px; }
.doc-pages canvas { width: 100%; height: auto; background: #fff; }
.doc-loading, .doc-note { margin-top: 10px; font-size: 0.92rem; }
.doc-frame-image img { width: 100%; height: auto; }
.doc-frame-empty { display: grid; place-items: center; padding: 28px; text-align: center; }
.doc-switch-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.download-card, .stats, .award-track, .news-grid, .video-grid, .clients { display: grid; gap: 12px; }
.news-card, .iso-card, .year-card, .video-card, .stat { background: var(--card); border: 1px solid var(--line); padding: 16px; }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 12px; }
.steps li { background: var(--card); border: 1px solid var(--line); padding: 16px 16px 16px 64px; position: relative; }
.steps li::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 16px; top: 16px;
    font-family: "Syne", sans-serif;
    color: var(--accent);
}

@media (max-width: 980px) {
    .intro-split, .reason-row, .split, .slo-top, .office-layout, .sbu-row, .footer-grid, .contact-layout, .card-grid, .form-grid-2, .service-board, .mosaic, .mosaic-home, .band-inner, .work-panels, .work-layout, .home-news, .iso-section .iso-grid {
        grid-template-columns: 1fr;
    }
    .checklist { columns: 1; }
    .nav-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        left: 0; right: 0; top: var(--header);
        background: #fff;
        padding: 8px 16px 18px;
        border-bottom: 1px solid var(--line);
    }
    .main-nav.is-open { display: block; }
    .main-nav.is-open > ul { display: grid; }
    .submenu { position: static; display: block; border: 0; background: transparent; padding-left: 8px; }
    .btn-login { margin: 8px 0 0; }
}
@keyframes photo-drift {
    from { transform: scale(1.08) translate3d(-1.6%, -1%, 0); }
    to { transform: scale(1.16) translate3d(1.6%, 1.2%, 0); }
}
@keyframes photo-drift-alt {
    from { transform: scale(1.14) translate3d(1.5%, 0.4%, 0); }
    to { transform: scale(1.05) translate3d(-1.4%, 1%, 0); }
}
@keyframes card-float {
    from { transform: translateY(0); }
    to { transform: translateY(-8px); }
}
@keyframes card-shift {
    from { background-position: 0% 20%; }
    to { background-position: 100% 80%; }
}
@media (prefers-reduced-motion: reduce) {
    .stage-slide img,
    .stage-slide video,
    .csr-photo img,
    .cert-row a,
    .mosaic-card {
        animation: none;
    }
}
@media (max-width: 640px) {
    .container { width: min(var(--max), calc(100% - 28px)); }
    .cert-row { grid-template-columns: 1fr; }
    .stage { min-height: 520px; }
    .stage h1 { font-size: 2.1rem; max-width: none; }
    .stage-shade { background: linear-gradient(180deg, rgba(10, 22, 48, 0.78), rgba(10, 22, 48, 0.45)); }
}
