:root {
    --surface: #ffffff;
    --surface-soft: #f3f8fb;
    --surface-raised: #ffffff;
    --surface-strong: #082b4c;
    --text: #17212b;
    --text-muted: #536575;
    --text-inverse: #ffffff;
    --border: #dce5eb;
    --action: #075fa8;
    --accent: #19a7c7;
    --teal: #008c95;
    --focus: #007f8b;
    --shadow-soft: 0 12px 32px rgb(8 43 76 / 7%);
    --shadow-raised: 0 20px 48px rgb(8 43 76 / 12%);
    --radius-card: 1rem;
    --radius-control: 0.55rem;
    --success: #16734b;
    --warning: #855c00;
    --error: #b3261e;
    --content-width: 72rem;
}

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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-wrap: anywhere;
    background: var(--surface);
    color: var(--text);
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

a {
    color: var(--action);
}

a:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 4px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.12;
}

h1 {
    max-width: 12ch;
    margin-bottom: 1.25rem;
    font-size: clamp(2.65rem, 5.5vw, 4.65rem);
    font-weight: 750;
    letter-spacing: -0.055em;
}

h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.04em;
}

h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.layout {
    width: min(calc(100% - 2rem), var(--content-width));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 20;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.75rem 1rem;
    transform: translateY(-150%);
    background: var(--accent);
    color: var(--text);
    font-weight: 700;
}

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

.breadcrumbs {
    padding-block: 1rem;
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumbs__item {
    display: flex;
    min-width: 0;
    align-items: center;
    color: var(--text-muted);
}

.breadcrumbs__separator {
    margin-right: 0.65rem;
    color: var(--border);
}

.breadcrumbs__item span {
    overflow-wrap: anywhere;
}

.site-header {
    position: sticky;
    z-index: 10;
    top: 0;
    border-bottom: 1px solid rgb(220 229 235 / 85%);
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 4px 20px rgb(8 43 76 / 3%);
}

.site-header__inner {
    display: flex;
    min-height: 5.25rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.65rem;
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.site-footer nav { display: flex; gap: 0.75rem; }

.menu-toggle {
    display: none;
    min-width: 2.75rem;
    min-height: 2.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-control);
    background: var(--surface-raised);
    color: var(--text);
    font: inherit;
    font-weight: 700;
}

.menu-close {
    display: none;
    min-width: 2.75rem;
    min-height: 2.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-control);
    background: var(--surface-raised);
    color: var(--text);
    font: inherit;
    font-weight: 700;
}

.nav-link--quote {
    border: 1px solid var(--action);
    border-radius: var(--radius-control);
    background: var(--action);
    color: var(--text-inverse);
    padding-inline: 1rem;
    text-decoration: none;
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.nav-link--quote:hover {
    background: var(--surface-strong);
    box-shadow: 0 6px 16px rgb(8 43 76 / 16%);
    transform: translateY(-1px);
}

.brand-link {
    display: inline-flex;
    align-items: center;
    flex: 0 1 14.5rem;
    min-width: 0;
    aspect-ratio: 65 / 18;
    background-image: url("../images/kssinfonet-logo-sor5Gau.png");
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    text-decoration: none;
}

.wordmark {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    color: var(--surface-strong);
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
}

.wordmark span { color: #a36e00; }

.nav-link {
    display: inline-flex;
    min-width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    border-radius: 0.45rem;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 650;
    padding-inline: 0.7rem;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease;
}

.site-footer a {
    display: inline-flex;
    min-width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    font-weight: 700;
}

.primary-navigation .nav-link:hover,
.primary-navigation .nav-link[aria-current="page"] {
    background: var(--surface-soft);
    color: var(--action);
}

.primary-navigation .nav-link--quote:hover {
    background: var(--surface-strong);
    color: var(--text-inverse);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3.25rem, 5vw, 4.75rem) 0 clamp(3rem, 4.5vw, 4rem);
    background: radial-gradient(ellipse at 78% 42%, rgb(25 167 199 / 10%), transparent 34rem), linear-gradient(120deg, #ffffff 0%, #ffffff 46%, #f3f8fb 100%);
    color: var(--text);
}

.hero::after {
    position: absolute;
    top: 1.5rem;
    right: 4%;
    width: min(38vw, 33rem);
    aspect-ratio: 1;
    border: 1px solid rgb(7 95 168 / 8%);
    border-radius: 50%;
    content: "";
    opacity: 0.8;
    box-shadow: inset 0 0 0 2.5rem rgb(25 167 199 / 3%), inset 0 0 0 5rem rgb(7 95 168 / 2%);
    pointer-events: none;
}

.hero__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 3.75rem);
}

.hero__content {
    position: relative;
    z-index: 1;
}

.hero__summary {
    max-width: 40rem;
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.7;
}

.eyebrow {
    margin-bottom: 0.75rem;
    color: var(--action);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero .eyebrow,
.fixture-notice .eyebrow {
    color: var(--teal);
}

.hero__context {
    display: none;
}

.hero__context p {
    margin-bottom: 0;
}

.hero__marker {
    display: block;
    width: 3rem;
    height: 0.35rem;
    margin-bottom: 1rem;
    background: var(--accent);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; gap: 0.5rem; border: 1px solid transparent; border-radius: var(--radius-control); padding: 0.75rem 1.1rem; font: inherit; font-weight: 700; text-decoration: none; transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--action); color: var(--text-inverse); box-shadow: 0 8px 20px rgb(7 95 168 / 18%); }
.button--primary:hover { background: var(--surface-strong); }
.button--secondary { border-color: var(--border); background: var(--surface-raised); color: var(--surface-strong); }
.button--secondary:hover { border-color: var(--action); background: var(--surface-soft); }
.hero-visual {
    position: relative;
    display: grid;
    min-height: 18rem;
    place-items: center;
    isolation: isolate;
}

.hero-visual__orbit {
    position: absolute;
    width: min(112%, 35rem);
    aspect-ratio: 1;
    border: 1px solid rgb(7 95 168 / 10%);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2.5rem rgb(25 167 199 / 2%), inset 0 0 0 5rem rgb(7 95 168 / 2%);
}

.hero-artwork {
    position: relative;
    z-index: 1;
    width: min(100%, 40rem);
    height: 27.5rem;
}

.hero-artwork__back-panel {
    position: absolute;
    top: 8%;
    right: 4%;
    width: 64%;
    height: 76%;
    border: 1px solid rgb(25 167 199 / 18%);
    border-radius: 1.75rem;
    background: linear-gradient(145deg, rgb(25 167 199 / 8%), rgb(7 95 168 / 3%));
    box-shadow: 0 24px 60px rgb(7 95 168 / 8%);
    transform: rotate(7deg);
}

.hero-artwork__window {
    position: absolute;
    top: 9%;
    left: 2%;
    width: 80%;
    height: 77%;
    overflow: hidden;
    border: 1px solid rgb(204 220 231 / 90%);
    border-radius: 1.35rem;
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 26px 70px rgb(8 43 76 / 14%);
    transform: rotate(-2deg);
}

.hero-artwork__toolbar {
    display: flex;
    height: 3.1rem;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e6edf2;
    background: linear-gradient(90deg, #ffffff, #f8fbfd);
    padding-inline: 1rem;
}

.hero-artwork__mark {
    width: 2rem;
    height: 0.35rem;
    border-radius: 1rem;
    background: linear-gradient(90deg, var(--action), var(--accent));
}

.hero-artwork__dots {
    display: flex;
    gap: 0.3rem;
}

.hero-artwork__dots i {
    width: 0.4rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #bed7e2;
}

.hero-artwork__workspace {
    display: grid;
    height: calc(100% - 3.1rem);
    grid-template-columns: 3.25rem minmax(0, 1fr);
}

.hero-artwork__rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border-right: 1px solid #edf2f5;
    background: #fbfdfe;
    padding-top: 1.3rem;
}

.hero-artwork__rail i {
    width: 1rem;
    height: 1rem;
    border: 1px solid #c6e1e9;
    border-radius: 0.3rem;
    background: #ffffff;
}

.hero-artwork__rail i:first-child {
    border-color: #a4dbe5;
    background: #e7f7fa;
}

.hero-artwork__canvas {
    min-width: 0;
    padding: 1.3rem 1.25rem;
}

.hero-artwork__title-line {
    display: block;
    width: 34%;
    height: 0.55rem;
    margin-bottom: 1.15rem;
    border-radius: 1rem;
    background: #d2e5ed;
}

.hero-artwork__modules {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.hero-artwork__modules span {
    height: 5.3rem;
    border: 1px solid #e2ecf1;
    border-radius: 0.8rem;
    background: linear-gradient(145deg, #f4fafc, #ffffff 72%);
}

.hero-artwork__modules span:first-child {
    border-top: 2px solid #54bed1;
}

.hero-artwork__modules span:nth-child(2) {
    border-top: 2px solid #7ccbd7;
}

.hero-artwork__modules span:nth-child(3) {
    border-top: 2px solid #8ab0dc;
}

.hero-artwork__text-lines {
    display: grid;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.hero-artwork__text-lines i {
    width: 84%;
    height: 0.35rem;
    border-radius: 1rem;
    background: #e3edf2;
}

.hero-artwork__text-lines i:nth-child(2) {
    width: 65%;
}

.hero-artwork__text-lines i:nth-child(3) {
    width: 76%;
}

.hero-artwork__code-panel {
    position: absolute;
    z-index: 2;
    right: 1%;
    bottom: 5%;
    display: grid;
    width: 36%;
    gap: 0.55rem;
    border: 1px solid #d9e8ef;
    border-radius: 1rem;
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 18px 44px rgb(8 43 76 / 12%);
    padding: 1rem;
    transform: rotate(2deg);
}

.hero-artwork__code-panel i {
    width: 76%;
    height: 0.3rem;
    border-radius: 1rem;
    background: #dce9ef;
}

.hero-artwork__code-panel i:first-child,
.hero-artwork__code-panel i:nth-child(4) {
    width: 42%;
    background: #56bfd0;
}

.hero-artwork__code-panel i:nth-child(2) {
    width: 60%;
}

.hero-artwork__code-panel i:nth-child(3) {
    width: 88%;
}

.hero-artwork__mobile-panel {
    position: absolute;
    z-index: 3;
    top: 24%;
    right: 2%;
    display: grid;
    width: 20%;
    height: 46%;
    align-content: start;
    gap: 0.7rem;
    border: 3px solid #ffffff;
    border-radius: 1.25rem;
    background: linear-gradient(165deg, #f7fcfd, #e8f5f8);
    box-shadow: 0 16px 38px rgb(8 43 76 / 14%);
    padding: 1rem 0.65rem;
    transform: rotate(7deg);
}

.hero-artwork__mobile-panel span {
    width: 55%;
    height: 0.3rem;
    margin-bottom: 0.3rem;
    border-radius: 1rem;
    background: var(--action);
}

.hero-artwork__mobile-panel i {
    height: 2.3rem;
    border: 1px solid #d8e9ef;
    border-radius: 0.5rem;
    background: rgb(255 255 255 / 82%);
}

.hero-artwork__mobile-panel b {
    width: 62%;
    height: 0.25rem;
    border-radius: 1rem;
    background: #90cfdb;
}

.page-header {
    padding: clamp(3.5rem, 8vw, 6rem) 0;
    border-bottom: 1px solid var(--border);
    background: #e8eef0;
}

.page-header__inner {
    max-width: 52rem;
}

.page-header h1 {
    margin-bottom: 1.25rem;
}

.page-header__summary {
    max-width: 42rem;
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.content-page__layout {
    display: grid;
    max-width: 52rem;
    gap: 3rem;
}

.content-page h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.content-page p {
    max-width: 68ch;
    margin-bottom: 0;
    color: var(--text-muted);
}

.section {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-heading {
    max-width: 38rem;
    margin-bottom: 2rem;
}

.section-heading > :last-child {
    margin-bottom: 0;
}

.card-grid {
    display: grid;
    gap: 1px;
    border: 1px solid var(--border);
    background: var(--border);
}

.service-card-grid {
    display: grid;
    gap: 1px;
    border: 1px solid var(--border);
    background: var(--border);
}

.product-card-grid {
    display: grid;
    gap: 1px;
    border: 1px solid var(--border);
    background: var(--border);
}

.plan-grid {
    display: grid;
    gap: 1px;
    border: 1px solid var(--border);
    background: var(--border);
}

.plan-card {
    min-width: 0;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    background: var(--surface-raised);
}

.plan-card ul {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-muted);
}

.service-card {
    display: flex;
    min-width: 0;
    min-height: 13rem;
    flex-direction: column;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    background: var(--surface-raised);
}

.service-card__action {
    display: inline-flex;
    min-width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    margin-top: auto;
    font-weight: 700;
}

.product-card {
    display: flex;
    min-width: 0;
    min-height: 17rem;
    flex-direction: column;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    background: var(--surface-raised);
}

.service-card__number {
    color: #765300;
    font-size: 0.8rem;
    font-weight: 800;
}

.service-card p:last-child,
.section-heading p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.product-card__category {
    color: #7c5700;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.product-card p:not(.product-card__category) {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.product-card__action {
    display: inline-flex;
    min-width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    margin-top: auto;
    font-weight: 700;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.catalog-card {
    min-width: 0;
    min-height: 15rem;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    background: var(--surface-raised);
}

.catalog-card__category {
    color: #7c5700;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.catalog-card p:last-child,
.service-item p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.section--services {
    background: #e8eef0;
}

.section-split {
    display: grid;
    gap: 2.5rem;
}

.service-list {
    border-top: 1px solid #9caaaf;
}

.service-item {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: 1rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid #9caaaf;
}

.service-item__number {
    color: #765300;
    font-size: 0.8rem;
    font-weight: 800;
}

.process-layout {
    display: grid;
    gap: 2rem;
}

.process-list {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-list li {
    display: grid;
    gap: 0.25rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border);
}

.process-list span {
    color: var(--text-muted);
}

.fixture-notice {
    padding: 3.5rem 0;
    background: #155c4a;
    color: var(--text-inverse);
}

.fixture-notice__layout {
    display: grid;
    align-items: end;
    gap: 1.5rem;
}

.fixture-notice h2,
.fixture-notice p {
    margin-bottom: 0;
}

.fixture-notice__layout > p {
    max-width: 40rem;
    color: #e3f1ec;
}

.site-footer {
    padding: 2rem 0;
    background: #101820;
    color: #d9e0e5;
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.site-footer p {
    margin-bottom: 0;
}

.wordmark--footer,
.site-footer a {
    color: var(--text-inverse);
}

.admin-body {
    min-height: 100vh;
    background: #eef3f1;
}

.admin-auth {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 1rem;
}

.admin-auth__panel,
.admin-panel {
    width: min(100%, 30rem);
    border: 1px solid var(--border);
    background: var(--surface-raised);
    padding: clamp(1.5rem, 5vw, 2.5rem);
}

.admin-auth h1,
.admin-panel h1 {
    max-width: none;
    color: var(--surface-strong);
    font-size: clamp(2rem, 8vw, 3rem);
}

.admin-form {
    display: grid;
    gap: 0.75rem;
}

.admin-form label {
    font-weight: 700;
}

.admin-form input {
    width: 100%;
    min-height: 2.75rem;
    border: 1px solid var(--border);
    padding: 0.625rem 0.75rem;
    font: inherit;
}

.admin-form input:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

.admin-alert {
    border-left: 0.3rem solid var(--error);
    background: #fff1f0;
    color: var(--error);
    padding: 0.75rem 1rem;
    font-weight: 700;
}

.admin-shell {
    min-height: 100vh;
}

.admin-header {
    display: flex;
    min-height: 4rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface-raised);
    padding: 0.75rem clamp(1rem, 4vw, 2rem);
}

.admin-wordmark {
    color: var(--surface-strong);
    font-size: 1.125rem;
    font-weight: 800;
    text-decoration: none;
}

.admin-wordmark span {
    color: #a36e00;
}

.admin-link {
    font-weight: 700;
}

.admin-main {
    padding: clamp(1rem, 4vw, 2rem);
}

.admin-dashboard-layout {
    display: grid;
    width: min(100%, 64rem);
    gap: 1.5rem;
}

.admin-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 1.5rem 0 0;
}

.admin-metric {
    border: 1px solid var(--border);
    background: #f8fbfa;
    padding: 1rem;
}

.admin-metric dt {
    color: var(--text-muted);
    font-weight: 700;
}

.admin-metric dd {
    margin: 0.35rem 0 0;
    color: var(--surface-strong);
    font-size: 2rem;
    font-weight: 800;
}

.admin-panel--wide {
    width: min(100%, 64rem);
}

.admin-section-heading {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
}

.admin-section-heading h2 {
    margin-bottom: 0;
    color: var(--surface-strong);
    font-size: 1.5rem;
}

.admin-empty-state {
    margin-bottom: 0;
    color: var(--text-muted);
}

.admin-filter-form {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.25rem;
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}

.admin-filter-grid {
    display: grid;
    gap: 0.75rem;
}

.admin-filter-form label {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-filter-form input {
    width: 100%;
    min-height: 2.75rem;
    border: 1px solid var(--border);
    background: var(--surface-raised);
    color: var(--text);
    padding: 0.625rem 0.75rem;
    font: inherit;
    text-transform: none;
}

.admin-filter-form input:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

.admin-filter-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.admin-filter-actions button {
    min-height: 2.75rem;
    border: 1px solid var(--surface-strong);
    background: var(--surface-strong);
    color: var(--text-inverse);
    padding: 0.625rem 1rem;
    font: inherit;
    font-weight: 800;
}

.admin-filter-actions a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    font-weight: 800;
}

.admin-section-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.admin-section-actions form {
    margin: 0;
}

.admin-section-actions a,
.admin-section-actions button {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    border: 1px solid var(--surface-strong);
    background: var(--surface-strong);
    color: var(--text-inverse);
    padding: 0.625rem 1rem;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
}

.admin-edit-form {
    display: grid;
    gap: 1rem;
}

.admin-edit-form label {
    display: grid;
    gap: 0.35rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-edit-form input,
.admin-edit-form select,
.admin-edit-form textarea {
    width: 100%;
    min-height: 2.75rem;
    border: 1px solid var(--border);
    background: var(--surface-raised);
    color: var(--text);
    padding: 0.625rem 0.75rem;
    font: inherit;
    text-transform: none;
}

.admin-edit-form textarea {
    resize: vertical;
}

.admin-edit-form input:focus-visible,
.admin-edit-form select:focus-visible,
.admin-edit-form textarea:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

.admin-checkbox-label {
    align-content: start;
    min-height: 2.75rem;
}

.admin-checkbox-label input {
    width: auto;
    min-height: auto;
}

.admin-form-grid {
    display: grid;
    gap: 1rem;
}

.admin-row-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.admin-row-actions form {
    margin: 0;
}

.admin-row-actions button {
    border: 0;
    background: transparent;
    color: var(--link);
    padding: 0;
    font: inherit;
    font-weight: 800;
    text-decoration: underline;
}

.admin-activity-list {
    display: grid;
    gap: 1px;
    border: 1px solid var(--border);
    background: var(--border);
}

.admin-activity-item {
    display: grid;
    min-width: 0;
    gap: 1rem;
    background: #f8fbfa;
    padding: 1rem;
}

.admin-activity-item h3 {
    margin-bottom: 0.35rem;
    color: var(--surface-strong);
    font-size: 1rem;
}

.admin-activity-item p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.admin-activity-item dl {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.admin-activity-item dt {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-activity-item dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
}

.admin-table {
    width: 100%;
    min-width: 42rem;
    border-collapse: collapse;
    background: #f8fbfa;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 1rem;
    text-align: left;
    vertical-align: top;
}

.admin-table thead th {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.admin-table tbody tr:last-child th,
.admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-table th span {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 400;
}

.admin-status {
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    border: 1px solid var(--border);
    background: var(--surface-raised);
    padding: 0.25rem 0.6rem;
    color: var(--surface-strong);
    font-size: 0.85rem;
    font-weight: 800;
}

.admin-detail-grid {
    display: grid;
    gap: 1px;
    margin: 0 0 1.5rem;
    border: 1px solid var(--border);
    background: var(--border);
}

.admin-detail-grid div {
    min-width: 0;
    background: #f8fbfa;
    padding: 1rem;
}

.admin-detail-grid dt {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-detail-grid dd {
    margin: 0.25rem 0 0;
}

.admin-preview {
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}

.admin-preview h2 {
    color: var(--surface-strong);
    font-size: 1.25rem;
}

.admin-preview pre {
    max-height: 24rem;
    overflow: auto;
    border: 1px solid var(--border);
    background: #101820;
    color: #f2f7f5;
    padding: 1rem;
    white-space: pre-wrap;
}

.admin-revisions {
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}

.admin-revisions h2 {
    color: var(--surface-strong);
    font-size: 1.25rem;
}

.admin-revision-list {
    display: grid;
    gap: 1px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--border);
    background: var(--border);
    list-style: none;
}

.admin-revision-item {
    display: grid;
    gap: 1rem;
    min-width: 0;
    background: #f8fbfa;
    padding: 1rem;
}

.admin-revision-item h3 {
    margin-bottom: 0.35rem;
    color: var(--surface-strong);
    font-size: 1rem;
}

.admin-revision-item p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.admin-revision-item dl {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.admin-revision-item dt {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-revision-item dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.admin-revision-item dd span {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (min-width: 42rem) {
    .hero::after {
        right: -8rem;
        bottom: -10rem;
        width: 24rem;
        height: 24rem;
        border-width: 4rem;
    }

    .hero__layout,
    .section-split,
    .process-layout,
    .fixture-notice__layout {
        grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
    }

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

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

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

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

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

    .admin-activity-item {
        grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.45fr);
    }

    .admin-revision-item {
        grid-template-columns: minmax(0, 0.75fr) minmax(18rem, 1fr);
    }

    .admin-filter-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

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

@media (max-width: 41.99rem) {
    .site-footer__inner,
    .site-footer nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer nav {
        gap: 0.25rem;
    }

    .js .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .js .primary-navigation {
        position: fixed;
        z-index: 15;
        inset: 0 0 0 auto;
        display: none;
        width: min(100%, 22rem);
        min-height: 100dvh;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 5.5rem 1.25rem 1.25rem;
        background: var(--surface-raised);
        box-shadow: -0.5rem 0 2rem rgb(23 33 43 / 20%);
    }

    .js .primary-navigation--open {
        display: flex;
    }

    .js .menu-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .primary-navigation .nav-link {
        padding-inline: 0.75rem;
    }
}

@media (min-width: 68rem) {
    .layout {
        width: min(calc(100% - 4rem), var(--content-width));
    }

    .hero__layout {
        grid-template-columns: minmax(0, 1.5fr) minmax(20rem, 0.65fr);
    }

    .section-heading--sticky {
        position: sticky;
        top: 7rem;
        align-self: start;
    }
}

@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;
    }
}

/* Premium light public redesign foundations */
.site-header__inner {
    flex-wrap: wrap;
}

.primary-navigation {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.page-header,
.section--services,
.section--products {
    background: var(--surface-soft);
}

.section--products {
    border-top: 1px solid rgb(220 229 235 / 75%);
    background: linear-gradient(180deg, #f3f8fb 0%, #f7fafc 7rem, #f3f8fb 100%);
    padding-top: clamp(3rem, 4.2vw, 4rem);
}

.service-card,
.product-card,
.catalog-card,
.plan-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: 0 4px 14px rgb(8 43 76 / 3%);
}

.card-grid,
.service-card-grid,
.product-card-grid,
.plan-grid {
    gap: 1rem;
    border: 0;
    background: transparent;
}

.service-card,
.product-card,
.catalog-card {
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover,
.product-card:hover,
.catalog-card:hover {
    border-color: rgb(25 167 199 / 55%);
    box-shadow: var(--shadow-soft);
    transform: translateY(-3px);
}

.service-card__number,
.product-card__category,
.catalog-card__category,
.service-card__action,
.product-card__action {
    color: var(--action);
}

.section-heading p,
.service-card p:last-child,
.product-card p:not(.product-card__category),
.service-item p {
    color: var(--text-muted);
}

.hero__marker {
    border-radius: 1rem;
}

.fixture-notice {
    background: var(--surface-strong);
}

.fixture-notice .eyebrow {
    color: #8ed9e6;
}

.fixture-notice__layout > div {
    max-width: 48rem;
}

.fixture-notice__layout > div > p:last-child {
    margin-bottom: 0;
    color: #d6e6ef;
}

.primary-navigation .nav-link--quote {
    color: var(--text-inverse);
}

.service-list {
    display: grid;
    gap: 0.75rem;
    border: 0;
}

.service-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface-raised);
    padding: 1.1rem;
}

.home-about {
    background: #ffffff;
}

.home-about__panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    background: linear-gradient(125deg, #f3f8fb, #ffffff 68%);
    box-shadow: var(--shadow-soft);
    padding: clamp(1.5rem, 5vw, 3.5rem);
}

.home-about__panel::after {
    position: absolute;
    right: -4rem;
    bottom: -7rem;
    width: 15rem;
    aspect-ratio: 1;
    border: 1px solid rgb(25 167 199 / 15%);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2rem rgb(25 167 199 / 3%);
    content: "";
    pointer-events: none;
}

.home-about__panel > * {
    position: relative;
    z-index: 1;
}

.home-about__panel p:last-child {
    max-width: 48rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

@media (min-width: 42rem) {
    .service-card-grid,
    .product-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 63.99rem) {
    .site-header__inner {
        min-height: 4.75rem;
    }

    .js .menu-toggle,
    .js .menu-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .js .primary-navigation {
        position: fixed;
        z-index: 15;
        inset: 0 0 0 auto;
        display: none;
        width: min(100%, 22rem);
        min-height: 100dvh;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0.5rem;
        padding: 5.5rem 1.25rem 1.25rem;
        background: var(--surface-raised);
        box-shadow: -0.5rem 0 2rem rgb(23 33 43 / 20%);
    }

    .js .primary-navigation--open {
        display: flex;
    }

    .primary-navigation .nav-link {
        min-height: 3rem;
        padding-inline: 0.75rem;
    }

    .brand-link {
        flex-basis: min(12.5rem, calc(100% - 4.5rem));
    }
}

@media (min-width: 68rem) {
    .hero {
        padding-block: 4.25rem 3.5rem;
    }

    .hero__layout {
        width: min(calc(100% - 4rem), 78rem);
        grid-template-columns: minmax(0, 1fr) minmax(34rem, 1.1fr);
        align-items: center;
    }

    .hero-visual {
        min-height: 29rem;
    }

    .hero__context {
        display: block;
    }
}

@media (min-width: 42rem) and (max-width: 67.99rem) {
    .hero-visual {
        min-height: 22rem;
    }

    .hero-artwork {
        height: 21.5rem;
    }
}

@media (max-width: 41.99rem) {
    .site-header__inner {
        padding-block: 0.4rem;
    }

    .hero {
        padding-block: 3.5rem 3rem;
    }

    .hero-visual {
        min-height: 16rem;
    }

    .hero-artwork {
        width: min(100%, 24rem);
        height: 17.25rem;
    }

    .hero-artwork__window {
        left: 0;
        width: 88%;
        height: 72%;
    }

    .hero-artwork__toolbar {
        height: 2.4rem;
    }

    .hero-artwork__workspace {
        height: calc(100% - 2.4rem);
        grid-template-columns: 2.25rem minmax(0, 1fr);
    }

    .hero-artwork__rail {
        gap: 0.65rem;
        padding-top: 0.8rem;
    }

    .hero-artwork__rail i {
        width: 0.75rem;
        height: 0.75rem;
    }

    .hero-artwork__canvas {
        padding: 0.9rem 0.75rem;
    }

    .hero-artwork__modules {
        gap: 0.35rem;
    }

    .hero-artwork__modules span {
        height: 3.4rem;
    }

    .hero-artwork__text-lines {
        gap: 0.4rem;
        margin-top: 0.8rem;
    }

    .hero-artwork__code-panel {
        right: 0;
        bottom: 2%;
        width: 42%;
        gap: 0.4rem;
        padding: 0.8rem;
    }

    .hero-artwork__mobile-panel {
        right: 0;
        top: 18%;
        width: 23%;
        height: 48%;
        gap: 0.45rem;
        padding: 0.75rem 0.45rem;
    }

    .hero-artwork__mobile-panel i {
        height: 1.7rem;
    }

    .section-heading {
        margin-bottom: 1.75rem;
    }

    .hero__actions {
        align-items: stretch;
    }

    .hero__actions .button {
        flex: 1 1 100%;
    }

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

@media (prefers-reduced-motion: reduce) {
    .button,
    .nav-link--quote,
    .service-card,
    .product-card,
    .catalog-card {
        transition: none;
    }
}

/* Pass 2 public page refinements */
.breadcrumbs {
    padding-block: 0.85rem;
    background: #ffffff;
}

.breadcrumbs__list {
    align-items: center;
    gap: 0.35rem 0.45rem;
}

.breadcrumbs__item {
    gap: 0.45rem;
}

.breadcrumbs__item a,
.breadcrumbs__item [aria-current="page"] {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
}

.breadcrumbs__item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

.breadcrumbs__item a:hover {
    background: var(--surface-soft);
    color: var(--action);
}

.breadcrumbs__item [aria-current="page"] {
    background: var(--surface-soft);
    color: var(--surface-strong);
    font-weight: 700;
}

.breadcrumbs__separator {
    margin-right: 0;
    color: #8194a1;
}

.page-header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(3rem, 6vw, 5rem);
    background: radial-gradient(ellipse at 86% 32%, rgb(25 167 199 / 10%), transparent 24rem), linear-gradient(115deg, #f3f8fb 0%, #ffffff 72%);
}

.page-header::after {
    position: absolute;
    z-index: -1;
    top: -9rem;
    right: max(2rem, calc((100vw - 72rem) / 2));
    width: 22rem;
    aspect-ratio: 1;
    border: 1px solid rgb(7 95 168 / 8%);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2rem rgb(25 167 199 / 2%), inset 0 0 0 4rem rgb(7 95 168 / 2%);
    content: "";
    pointer-events: none;
}

.page-header__inner {
    position: relative;
    z-index: 1;
}

.page-header__eyebrow {
    display: inline-flex;
    min-height: 1.9rem;
    align-items: center;
    border: 1px solid rgb(0 140 149 / 18%);
    border-radius: 999px;
    background: rgb(255 255 255 / 78%);
    color: var(--teal);
    letter-spacing: 0.1em;
    padding: 0.25rem 0.65rem;
}

.page-header h1 {
    max-width: 17ch;
}

.page-header__summary {
    max-width: 48rem;
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.7;
}

.services-index,
.products-index {
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.services-index .section-heading,
.products-index .section-heading {
    max-width: 46rem;
    margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.services-index .section-heading h2,
.products-index .section-heading h2 {
    margin-bottom: 0.75rem;
}

.service-card,
.product-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 17rem;
    padding: clamp(1.4rem, 3vw, 2rem);
}

.service-card::before,
.product-card::before {
    position: absolute;
    z-index: -1;
    inset: 0 0 auto;
    height: 0.25rem;
    background: linear-gradient(90deg, var(--action), var(--accent), var(--teal));
    content: "";
}

.product-card::after {
    position: absolute;
    z-index: -1;
    top: -3.5rem;
    right: -3.5rem;
    width: 9rem;
    aspect-ratio: 1;
    border: 1px solid rgb(25 167 199 / 12%);
    border-radius: 50%;
    box-shadow: inset 0 0 0 1rem rgb(25 167 199 / 3%);
    content: "";
    pointer-events: none;
}

.service-card__number,
.product-card__category {
    display: inline-flex;
    width: fit-content;
    min-height: 1.9rem;
    align-items: center;
    border: 1px solid rgb(7 95 168 / 12%);
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--action);
    letter-spacing: 0.08em;
    padding: 0.25rem 0.65rem;
}

.service-card h3,
.product-card h3 {
    max-width: 24ch;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.service-card > p:not(.service-card__number),
.product-card > p:not(.product-card__category) {
    max-width: 54ch;
    line-height: 1.7;
}

.service-card:focus-within,
.product-card:focus-within,
.catalog-card:focus-within {
    border-color: var(--focus);
    box-shadow: 0 0 0 3px rgb(0 127 139 / 14%), var(--shadow-soft);
}

.service-card__action,
.product-card__action {
    gap: 0.35rem;
    text-underline-offset: 0.2em;
}

.detail-page {
    background: linear-gradient(180deg, #f3f8fb 0%, #ffffff 100%);
}

.detail-page__layout {
    max-width: 72rem;
    gap: 1.5rem;
}

.detail-panel {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    max-width: 64rem;
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    background: linear-gradient(125deg, #ffffff, #f7fbfd);
    box-shadow: var(--shadow-soft);
    padding: clamp(1.5rem, 4.5vw, 3.25rem);
}

.detail-panel::after {
    position: absolute;
    z-index: -1;
    right: -5rem;
    bottom: -8rem;
    width: 17rem;
    aspect-ratio: 1;
    border: 1px solid rgb(25 167 199 / 12%);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2rem rgb(25 167 199 / 2%);
    content: "";
    pointer-events: none;
}

.detail-panel > * {
    position: relative;
    z-index: 1;
}

.detail-panel .eyebrow {
    color: var(--teal);
}

.detail-panel h2 {
    max-width: 22ch;
}

.detail-panel > p:last-child {
    max-width: 68ch;
    margin-bottom: 0;
    color: var(--text-muted);
    line-height: 1.75;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.about-page {
    background: #ffffff;
}

.about-content__layout {
    display: grid;
    max-width: 68rem;
    gap: 1.25rem;
}

.about-content__section {
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-card);
    background: linear-gradient(110deg, var(--surface-soft), #ffffff 78%);
    box-shadow: 0 4px 14px rgb(8 43 76 / 3%);
    padding: clamp(1.4rem, 3.5vw, 2rem);
}

.about-content__section:first-child {
    border-left-color: var(--action);
    padding-block: clamp(1.75rem, 4vw, 2.75rem);
}

.about-content__section h2 {
    max-width: 28ch;
}

.about-content__section p {
    max-width: 68ch;
    margin-bottom: 0;
    color: var(--text-muted);
    line-height: 1.8;
}

.about-content__rich,
.contact-content__rich {
    min-width: 0;
}

.about-content__rich > .rich-content {
    display: grid;
    max-width: 68rem;
    gap: 1.25rem;
}

.about-content__rich .rich-content > h2,
.about-content__rich .rich-content > h3,
.about-content__rich .rich-content > p,
.about-content__rich .rich-content > ul,
.about-content__rich .rich-content > ol,
.about-content__rich .rich-content > blockquote {
    max-width: 68ch;
}

.about-content__rich .rich-content > h2 {
    margin-bottom: -0.5rem;
}

.about-content__rich .rich-content > p,
.about-content__rich .rich-content > ul,
.about-content__rich .rich-content > ol {
    color: var(--text-muted);
    line-height: 1.8;
}

.contact-page {
    background: linear-gradient(180deg, #ffffff 0%, #f3f8fb 100%);
}

.contact-content__layout {
    display: grid;
    max-width: 72rem;
    gap: 1.25rem;
}

.contact-content__sections {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.contact-content__section {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    padding: clamp(1.4rem, 3.5vw, 2rem);
}

.contact-content__section h2,
.contact-content__rich .rich-content h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.contact-content__section p,
.contact-content__rich .rich-content p,
.contact-content__rich .rich-content li {
    max-width: 68ch;
    margin-bottom: 0;
    color: var(--text-muted);
    line-height: 1.8;
}

.contact-content__rich > .rich-content {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    padding: clamp(1.5rem, 4vw, 3rem);
}

.contact-content__rich .rich-content > * {
    max-width: 68ch;
}

@media (min-width: 42rem) {
    .contact-content__sections {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-content__section {
        min-height: 100%;
    }
}

@media (max-width: 41.99rem) {
    .page-header::after {
        top: -6rem;
        right: -12rem;
        width: 18rem;
    }

    .detail-actions {
        align-items: stretch;
    }

    .detail-actions .button {
        flex: 1 1 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .breadcrumbs__item a {
        transition: none;
    }
}
