@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/libre-baskerville-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/libre-baskerville-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/libre-baskerville-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/libre-baskerville-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg: #f4f7fb;
    --bg-soft: #edf2f9;
    --surface: #ffffff;
    --surface-soft: #f8fbff;
    --text: #11243d;
    --muted: #4f6077;
    --line: #d7e1ef;
    --brand: #125dd6;
    --brand-deep: #0c47a5;
    --brand-soft: #e6efff;
    --success: #0f8a5f;
    --danger: #bf3051;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 12px 30px rgba(17, 36, 61, 0.07);
    --shadow-md: 0 22px 48px rgba(17, 36, 61, 0.12);
    --transition: 200ms ease;
    --nav-height: 84px;
    --page-gradient: linear-gradient(180deg, #f8fbff 0%, #f3f7fc 52%, #edf3fb 100%);
    --orb-primary: radial-gradient(circle, rgba(18, 93, 214, 0.12), rgba(18, 93, 214, 0));
    --orb-secondary: radial-gradient(circle, rgba(13, 80, 190, 0.1), rgba(13, 80, 190, 0));
    --navbar-bg: rgba(248, 251, 255, 0.88);
    --navbar-bg-solid: rgba(248, 251, 255, 0.97);
    --navbar-surface-rgb: 248, 251, 255;
    --panel-gradient: linear-gradient(160deg, rgba(255, 255, 255, 0.94) 5%, rgba(243, 248, 255, 0.98) 78%);
    --panel-border: rgba(186, 204, 228, 0.72);
    --tag-bg: rgba(255, 255, 255, 0.85);
    --soft-section-gradient: linear-gradient(180deg, #f9fbff 0%, #f2f6fd 100%);
    --soft-section-border: #e4ebf5;
    --soft-tag-bg: #f7faff;
    --soft-tag-border: #dbe5f2;
    --soft-tag-text: #4d6788;
    --input-bg: #fbfdff;
    --input-border: #cfdceb;
    --input-focus: #8fb2ea;
    --danger-soft: #fff6f8;
    --footer-bg: #f2f6fc;
    --footer-border: #dbe4f1;
    --state-badge-bg: #eef4ff;
    --state-badge-border: #cad9ee;
    --modal-surface: #ffffff;
    --overlay-bg: rgba(12, 25, 43, 0.4);
    --overlay-strong: rgba(12, 25, 43, 0.52);
    --hero-media-width: 30rem;
    --surface-elevated: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(246, 250, 255, 0.98) 100%);
    --surface-elevated-strong: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 248, 255, 0.98) 100%);
    --shell-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(245, 249, 255, 0.94) 100%);
    --shell-border: rgba(180, 199, 223, 0.68);
    --shell-highlight: rgba(92, 150, 229, 0.12);
    --shell-shadow: 0 26px 60px rgba(17, 36, 61, 0.1);
    --card-hover-border: rgba(84, 132, 212, 0.42);
    --card-radius-unified: var(--radius-md);
    --card-padding-unified: 1.3rem;
    --card-surface-unified: var(--surface-elevated);
    --card-border-unified: var(--shell-border);
    --card-shadow-unified: var(--shadow-md);
    --card-shadow-hover: 0 24px 50px rgba(17, 36, 61, 0.16);
    --control-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(245, 249, 255, 0.98) 100%);
    --control-border: rgba(179, 198, 223, 0.72);
    --cta-surface-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(236, 244, 255, 0.98) 100%);
    --cta-surface-border: rgba(169, 194, 230, 0.72);
    --cta-surface-text: var(--text);
    --cta-surface-muted: var(--muted);
    --cta-surface-shadow: 0 22px 48px rgba(17, 36, 61, 0.16);
    --cta-band-gradient: linear-gradient(90deg, #e5eef9 0%, #d7e4f5 100%);
    --cta-highlight-a: rgba(92, 150, 229, 0.14);
    --cta-highlight-b: rgba(96, 208, 240, 0.12);
    --cta-button-border: rgba(120, 161, 220, 0.44);
    --cta-button-bg: rgba(255, 255, 255, 0.72);
    --cta-button-text: #0f4db7;
    --eyebrow-border: rgba(112, 156, 228, 0.24);
    --eyebrow-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.46) 0%, rgba(230, 239, 255, 0.88) 100%), var(--brand-soft);
    --eyebrow-text: #3b5f90;
    --eyebrow-shadow: 0 8px 20px rgba(18, 93, 214, 0.08);
}

:root[data-theme='dark'] {
    --bg: #08111f;
    --bg-soft: #0d1627;
    --surface: #101c31;
    --surface-soft: #14223a;
    --text: #edf4ff;
    --muted: #a5b6d1;
    --line: #24344d;
    --brand: #63a1ff;
    --brand-deep: #b8d3ff;
    --brand-soft: rgba(99, 161, 255, 0.14);
    --success: #4fc793;
    --danger: #ff7a97;
    --shadow-sm: 0 14px 34px rgba(0, 0, 0, 0.28);
    --shadow-md: 0 26px 54px rgba(0, 0, 0, 0.38);
    --page-gradient: linear-gradient(180deg, #08111f 0%, #0a1526 48%, #0d1b2f 100%);
    --orb-primary: radial-gradient(circle, rgba(75, 131, 226, 0.2), rgba(75, 131, 226, 0));
    --orb-secondary: radial-gradient(circle, rgba(36, 79, 150, 0.24), rgba(36, 79, 150, 0));
    --navbar-bg: rgba(8, 17, 31, 0.82);
    --navbar-bg-solid: rgba(8, 17, 31, 0.95);
    --navbar-surface-rgb: 8, 17, 31;
    --panel-gradient: linear-gradient(160deg, #12213a 5%, #0f1b31 78%);
    --panel-border: #28405d;
    --tag-bg: rgba(16, 28, 49, 0.88);
    --soft-section-gradient: linear-gradient(180deg, #0d1729 0%, #0f1b2f 100%);
    --soft-section-border: #20324a;
    --soft-tag-bg: #16263f;
    --soft-tag-border: #2b4464;
    --soft-tag-text: #bed2f1;
    --input-bg: #0f1a2d;
    --input-border: #2a4060;
    --input-focus: #5f93e8;
    --danger-soft: rgba(255, 122, 151, 0.12);
    --footer-bg: #0b1423;
    --footer-border: #20324a;
    --state-badge-bg: rgba(99, 161, 255, 0.14);
    --state-badge-border: #35598b;
    --modal-surface: #101c31;
    --overlay-bg: rgba(2, 6, 12, 0.58);
    --overlay-strong: rgba(2, 6, 12, 0.7);
    --surface-elevated: linear-gradient(180deg, rgba(18, 31, 53, 0.94) 0%, rgba(12, 22, 39, 0.98) 100%);
    --surface-elevated-strong: linear-gradient(180deg, rgba(20, 34, 58, 0.98) 0%, rgba(14, 24, 42, 0.99) 100%);
    --shell-gradient: linear-gradient(180deg, rgba(14, 26, 44, 0.9) 0%, rgba(9, 18, 32, 0.98) 100%);
    --shell-border: rgba(118, 156, 209, 0.18);
    --shell-highlight: rgba(111, 171, 255, 0.12);
    --shell-shadow: 0 32px 70px rgba(0, 0, 0, 0.46);
    --card-hover-border: rgba(129, 179, 255, 0.34);
    --card-radius-unified: var(--radius-md);
    --card-padding-unified: 1.3rem;
    --card-surface-unified: var(--surface-elevated);
    --card-border-unified: var(--shell-border);
    --card-shadow-unified: var(--shadow-md);
    --card-shadow-hover: 0 24px 50px rgba(0, 0, 0, 0.38);
    --control-gradient: linear-gradient(180deg, rgba(19, 32, 54, 0.94) 0%, rgba(15, 26, 44, 0.98) 100%);
    --control-border: rgba(102, 136, 184, 0.24);
    --cta-surface-gradient: linear-gradient(135deg, #0a1830 0%, #0f2853 56%, #123d79 100%);
    --cta-surface-border: rgba(131, 180, 255, 0.22);
    --cta-surface-text: #ffffff;
    --cta-surface-muted: #e8efff;
    --cta-surface-shadow: 0 22px 48px rgba(8, 22, 44, 0.36);
    --cta-band-gradient: linear-gradient(90deg, #081730 0%, #0c264d 100%);
    --cta-highlight-a: rgba(130, 184, 255, 0.2);
    --cta-highlight-b: rgba(113, 227, 255, 0.18);
    --cta-button-border: rgba(255, 255, 255, 0.34);
    --cta-button-bg: rgba(255, 255, 255, 0.14);
    --cta-button-text: #ffffff;
    --eyebrow-border: rgba(162, 194, 241, 0.44);
    --eyebrow-bg: linear-gradient(180deg, rgba(227, 239, 255, 0.84) 0%, rgba(197, 219, 248, 0.74) 100%), rgba(156, 188, 236, 0.24);
    --eyebrow-text: #355885;
    --eyebrow-shadow: 0 10px 24px rgba(3, 12, 29, 0.34);
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--page-gradient);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    filter: blur(0.4px);
    opacity: 0;
    transform: scale(0.7);
    transform-origin: center;
    transition: opacity 220ms ease-out;
}

body::before {
    width: 32rem;
    height: 32rem;
    top: -11rem;
    right: -8rem;
    background: var(--orb-primary);
}

body::after {
    width: 30rem;
    height: 30rem;
    bottom: -13rem;
    left: -8rem;
    background: var(--orb-secondary);
}

body.home-orbs::before,
body.home-orbs::after {
    opacity: 0.4;
}

main {
    padding-top: var(--nav-height);
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    color: var(--text);
    line-height: 1.25;
}

h2 {
    font-size: clamp(1.45rem, 2.38vw, 2.1rem);
    font-weight: 600;
}

p {
    margin-top: 0;
    color: var(--muted);
    line-height: 1.75;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    color: var(--brand-deep);
}

img {
    max-width: 100%;
    height: auto;
}

p,
li {
    overflow-wrap: anywhere;
}

.container {
    width: min(1180px, calc(100% - 3.25rem));
    margin-inline: auto;
}

section {
    padding: 5.5rem 0;
}

section[id] {
    scroll-margin-top: calc(var(--nav-height) + 1rem);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.82rem;
    border-radius: 999px;
    border: 1px solid var(--eyebrow-border);
    background: var(--eyebrow-bg);
    color: var(--eyebrow-text);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: var(--eyebrow-shadow);
}

.section-head {
    margin-bottom: 2.75rem;
    max-width: 720px;
}

.seo-breadcrumb {
    margin: 0;
    padding: 1rem 0 0.2rem;
}

.seo-breadcrumb-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.seo-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.35;
}

.seo-breadcrumb-item + .seo-breadcrumb-item::before {
    content: "/";
    color: var(--line);
}

.seo-breadcrumb-item[aria-current='page'] {
    color: var(--text);
    font-weight: 600;
}

.section-head h2 {
    font-size: clamp(1.45rem, 2.38vw, 2.08rem);
    margin-bottom: 0.8rem;
    letter-spacing: -0.03em;
}

.section-head p {
    font-size: 1.04rem;
    color: var(--muted);
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    transition: transform var(--transition), box-shadow var(--transition), color var(--transition), background-color var(--transition), border-color var(--transition);
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(130deg, #1561dd, #0f4db7);
    color: #fff;
    box-shadow: 0 10px 25px rgba(18, 93, 214, 0.22);
}

.btn-primary:hover {
    color: #fff;
    box-shadow: 0 14px 30px rgba(18, 93, 214, 0.26);
}

.btn-secondary {
    background: var(--control-gradient);
    color: var(--text);
    border-color: var(--control-border);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    border-color: var(--card-hover-border);
}

.btn-link {
    background: transparent;
    color: var(--brand-deep);
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;
}

.btn-link:hover {
    transform: none;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: translate3d(0, 0, 0);
    border-bottom: none;
    transition: background-color 200ms ease, border-color 200ms ease;
}

.navbar.is-scrolled {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: rgba(var(--navbar-surface-rgb), 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 1rem;
    min-height: var(--nav-height);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    color: var(--text);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.01em;
}

.logo-image {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: contain;
}

.logo-text {
    font-size: 1.24rem;
    margin-left: -0.1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.94rem;
    position: relative;
    min-height: 2.4rem;
    padding: 0.2rem 0;
}

.nav-links a.nav-contact {
    font-size: 0.98rem;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.36rem;
    width: 0;
    height: 2px;
    border-radius: 3px;
    background: var(--brand);
    transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-links a:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 8px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-utilities {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.5rem;
    position: relative;
    z-index: 1101;
}

.theme-switch,
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.14rem;
    padding: 0.14rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.theme-switch {
    position: relative;
}

.theme-dropdown-trigger,
.lang-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    min-height: 2.2rem;
    padding: 0.24rem 0.72rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--muted);
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
}

.theme-dropdown-trigger {
    min-width: 4.05rem;
}

.lang-link {
    min-width: 2.3rem;
}

.theme-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    z-index: 1200;
    display: none;
    min-width: 9rem;
    padding: 0.35rem;
    border: 1px solid var(--control-border);
    border-radius: 14px;
    background: var(--control-gradient);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(16px);
}

.theme-dropdown-menu.open {
    display: grid;
    gap: 0.25rem;
}

.theme-option {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 2.55rem;
    padding: 0.36rem 0.62rem;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.theme-dropdown-trigger:hover,
.theme-option:hover,
.lang-link:hover {
    color: var(--text);
    border-color: var(--line);
}

.theme-dropdown-trigger:focus-visible,
.theme-option:focus-visible,
.lang-link:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.theme-option.active,
.lang-link.active {
    background: var(--brand-soft);
    color: var(--brand-deep);
}

.external-reference-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0 1.25rem;
}

.external-reference-label {
    width: 100%;
    font-size: 0.9rem;
    color: var(--muted);
}

.external-reference-links a {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(18, 93, 214, 0.08);
    color: var(--brand-deep);
    text-decoration: none;
    font-weight: 600;
}

.external-reference-links a:hover,
.external-reference-links a:focus-visible {
    background: rgba(18, 93, 214, 0.14);
}

.footer-social,
.contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-social {
    margin-top: 1rem;
}

.footer-social a,
.contact-social a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--control-border);
    border-radius: 999px;
    background: var(--control-gradient);
    color: var(--brand-deep);
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), border-color var(--transition), background-color var(--transition), color var(--transition);
    backdrop-filter: blur(12px);
}

.footer-social a:hover,
.footer-social a:focus-visible,
.contact-social a:hover,
.contact-social a:focus-visible {
    transform: translateY(-1px);
    border-color: var(--input-focus);
    background: var(--brand-soft);
    color: var(--text);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    flex-shrink: 0;
}

.social-icon svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.grecaptcha-badge.kjarn-recaptcha-hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.mobile-menu-btn {
    display: none;
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--control-border);
    border-radius: 0.85rem;
    background: var(--control-gradient);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.3rem;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.mobile-menu-btn span {
    width: 1.1rem;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

body.nav-open .mobile-menu-btn span:first-child {
    transform: translateY(0.2rem) rotate(45deg);
}

body.nav-open .mobile-menu-btn span:last-child {
    transform: translateY(-0.2rem) rotate(-45deg);
}

.hero-section {
    min-height: calc(100vh - var(--nav-height));
    min-height: calc(100svh - var(--nav-height));
    display: flex;
    align-items: center;
    padding: 1.8rem 0;
}

.media-frame,
.card-media,
.tech-card-media {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--shell-border);
    border-radius: var(--radius-md);
    background: var(--surface-elevated-strong);
    box-shadow: var(--shadow-md);
    padding: 0.65rem;
}

.media-frame img,
.card-media img,
.tech-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-md) - 6px);
}

.hero-media,
.page-hero-media {
    width: min(100%, var(--hero-media-width));
    margin-left: auto;
    align-self: stretch;
    aspect-ratio: 16 / 9;
    border-radius: calc(var(--radius-md) + 2px);
    background: var(--surface-elevated-strong);
    box-shadow: var(--shell-shadow);
}

.hero-media img,
.page-hero-media img {
    object-fit: cover;
    object-position: center;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    width: 100%;
    padding: clamp(1.8rem, 3vw, 2.8rem);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.hero-grid-no-media {
    grid-template-columns: 1fr;
}

.hero-grid::before {
    content: none;
}

.hero-grid > * {
    position: relative;
    z-index: 1;
}

body:not(.home-orbs) .soft-section::before,
body:not(.home-orbs) .cta-banner::before,
body:not(.home-orbs) .solutions-overview-shell::before,
body:not(.home-orbs) .premium-solution-section::before,
body:not(.home-orbs) .premium-solution-section::after,
body:not(.home-orbs) .premium-solution-visual::before,
body:not(.home-orbs) .premium-solution-card::after {
    content: none;
}

.hero-copy h1 {
    margin-top: 0;
    margin-bottom: 0;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: clamp(2.52rem, 5.2vw, 3.9rem);
    letter-spacing: -0.03em;
}

.hero-copy {
    width: 100%;
    max-width: 780px;
    margin-inline: auto;
    display: grid;
    justify-items: center;
    text-align: center;
}

.hero-title-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}

.hero-copy p {
    margin-bottom: 2rem;
    max-width: 780px;
    font-size: 1.08rem;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.hero-insights-section {
    padding: 0 0 4.6rem;
}

.hero-insights-intro {
    margin-bottom: 1rem;
}

.hero-insights-intro h2 {
    margin: 0 0 0.7rem;
    font-size: 0.98rem;
}

.hero-insights-intro p {
    margin: 0;
    max-width: 52rem;
}

.hero-panel {
    background: var(--panel-gradient);
    border: 1px solid var(--panel-border);
    border-radius: 28px;
    padding: 1.8rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.2rem;
    overflow: hidden;
    position: relative;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.hero-panel-wide {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.1rem;
}

.hero-panel h3 {
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
}

.hero-panel p {
    margin-bottom: 1rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.metric-item {
    background: var(--surface-elevated);
    border: 1px solid var(--shell-border);
    border-radius: 14px;
    padding: 0.8rem;
    display: grid;
    gap: 0.35rem;
    align-content: start;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.metric-item strong {
    display: block;
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.metric-item span {
    color: var(--muted);
    font-size: 0.85rem;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.tag-row span {
    display: inline-flex;
    align-items: center;
    padding: 0.46rem 0.8rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
    border: 1px solid var(--line);
    background: var(--tag-bg);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.card,
.solution-summary-card,
.premium-solution-card,
.delivery-step,
.principle-card,
.tech-card,
.contact-info,
.contact-form-wrap,
.sitemap-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--card-border-unified);
    border-radius: var(--card-radius-unified);
    background: var(--card-surface-unified);
    padding: var(--card-padding-unified);
    box-shadow: var(--card-shadow-unified);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.state-box {
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.card::before,
.solution-summary-card::before,
.premium-solution-card::before,
.hero-panel::before,
.engineering-note::before,
.metric-item::before,
.delivery-step::before,
.principle-card::before,
.tech-note::before,
.tech-card::before,
.contact-info::before,
.contact-form-wrap::before,
.sitemap-card::before,
.state-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--shell-highlight), rgba(255, 255, 255, 0) 42%);
    pointer-events: none;
}

.card > *,
.solution-summary-card > *,
.premium-solution-card > *,
.hero-panel > *,
.engineering-note > *,
.metric-item > *,
.delivery-step > *,
.principle-card > *,
.tech-note > *,
.tech-card > *,
.contact-info > *,
.contact-form-wrap > *,
.sitemap-card > *,
.state-box > * {
    position: relative;
    z-index: 1;
}

.card:hover,
.solution-summary-card:hover,
.premium-solution-card:hover,
.hero-panel:hover,
.engineering-note:hover,
.metric-item:hover,
.delivery-step:hover,
.principle-card:hover,
.tech-note:hover,
.tech-card:hover,
.contact-info:hover,
.contact-form-wrap:hover,
.sitemap-card:hover,
.state-box:hover {
    transform: translateY(-4px);
    border-color: var(--card-hover-border);
    box-shadow: var(--card-shadow-hover);
}

.card h3,
.card h4 {
    margin-bottom: 0.65rem;
    font-size: 1.03rem;
}

.card-title {
    margin: 0 0 0.65rem;
    color: var(--text);
    font-size: 1.03rem;
    font-weight: 700;
    line-height: 1.35;
}

.card p {
    margin-bottom: 0.85rem;
    font-size: 0.93rem;
}

.card a {
    font-weight: 700;
    font-size: 0.9rem;
}

.cards-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.soft-section {
    position: relative;
    overflow: hidden;
    background: var(--soft-section-gradient);
    border-top: 1px solid var(--soft-section-border);
    border-bottom: 1px solid var(--soft-section-border);
}

.soft-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 18%, rgba(92, 150, 229, 0.12), rgba(92, 150, 229, 0) 24%),
        radial-gradient(circle at 82% 78%, rgba(120, 208, 255, 0.1), rgba(120, 208, 255, 0) 20%);
    pointer-events: none;
}

.engineering-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 1.3rem;
    align-items: stretch;
}

.engineering-note {
    background: var(--surface-elevated);
    border: 1px solid var(--shell-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.engineering-note ul {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--muted);
}

.engineering-note li {
    margin-bottom: 0.45rem;
}

.cta-band {
    padding: clamp(3rem, 5vw, 4rem) 0;
    background: var(--cta-band-gradient);
}

.cta-banner {
    position: relative;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--cta-surface-text);
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    box-shadow: none;
}

.cta-banner::before {
    content: none;
}

.cta-banner > * {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    color: var(--cta-surface-text);
    margin-bottom: 0.55rem;
    font-size: clamp(1.1rem, 1.87vw, 1.7rem);
}

.cta-banner p {
    color: var(--cta-surface-muted);
    margin-bottom: 0;
}

.cta-banner .btn-secondary {
    border-color: var(--cta-button-border);
    background: var(--cta-button-bg);
    color: var(--cta-button-text);
    box-shadow: none;
}

.lead-secondary {
    margin-top: -0.15rem;
    font-size: 0.98rem;
}

.solutions-overview-section {
    position: relative;
}

.solutions-overview-shell {
    position: static;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.solutions-overview-shell::before {
    content: none;
}

.solutions-overview-shell > * {
    position: static;
    z-index: auto;
}

.solutions-overview-head {
    max-width: 46rem;
}

.solution-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.solution-summary-card {
    padding: 1.5rem;
}

.solution-summary-card-featured {
    background: var(--surface-elevated-strong);
}

.solution-summary-card-featured h3 {
    font-size: 1.28rem;
}

.solution-summary-card-featured p {
    font-size: 0.98rem;
}

.solution-summary-card h3 {
    margin-bottom: 0.65rem;
    font-size: 1.14rem;
}

.solution-summary-card p {
    margin-bottom: 0.9rem;
    color: var(--muted);
}

.detail-link {
    font-weight: 700;
    font-size: 0.9rem;
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.delivery-step {
    padding: 1.25rem;
}

.delivery-step strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 0.45rem;
    background: var(--state-badge-bg);
    color: var(--brand-deep);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.delivery-step h4 {
    margin-bottom: 0.45rem;
    font-size: 1rem;
}

.delivery-step-output {
    margin: 0.72rem 0 0;
    padding-top: 0.68rem;
    border-top: 1px dashed var(--shell-border);
    font-size: 0.9rem;
    color: var(--muted);
}

.tech-note {
    position: relative;
    overflow: hidden;
    margin-top: 1.2rem;
    border-left: 4px solid var(--brand);
    border-top: 1px solid var(--shell-border);
    border-right: 1px solid var(--shell-border);
    border-bottom: 1px solid var(--shell-border);
    background: var(--surface-elevated);
    border-radius: 0 12px 12px 0;
    padding: 1rem 1rem 1rem 1.1rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.tech-note:hover {
    border-left-color: var(--brand);
}

.tech-note p {
    margin: 0;
    font-size: 0.95rem;
}

.tech-note h3 {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.tech-group-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.tech-group-stack {
    display: grid;
    gap: 1.2rem;
}

.tech-category {
    border: 1px solid var(--shell-border);
    border-radius: var(--radius-md);
    background: var(--surface-elevated);
    padding: 1.2rem;
    box-shadow: var(--shadow-md);
}

.tech-category-head {
    margin-bottom: 1rem;
    max-width: 46rem;
}

.tech-category-head h3 {
    margin-bottom: 0.45rem;
    font-size: 1.18rem;
}

.tech-category-head p {
    margin-bottom: 0;
    font-size: 0.93rem;
}

.tech-card {
    padding: 1.35rem;
}

.tech-card h3,
.tech-card h4 {
    margin-bottom: 0.75rem;
    font-size: 1.04rem;
}

.tech-card-featured {
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
}

.tech-card-media {
    margin-bottom: 1rem;
}

.tech-card-media img {
    aspect-ratio: 16 / 9;
}

.tech-points {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
}

.tech-points li {
    line-height: 1.55;
}

.tech-points strong {
    color: var(--text);
}

.tech-card p {
    margin-bottom: 0.55rem;
    font-size: 0.93rem;
}

.tech-card p strong {
    color: var(--text);
}

.principle-card {
    padding: 1.2rem;
}

.premium-solution-section {
    --premium-bg-start: #f7fbff;
    --premium-bg-mid: #eef5ff;
    --premium-bg-end: #e8f1ff;
    --premium-glow-a: rgba(92, 150, 229, 0.16);
    --premium-glow-b: rgba(104, 198, 233, 0.12);
    --premium-orb-a: rgba(92, 150, 229, 0.14);
    --premium-orb-b: rgba(104, 198, 233, 0.12);
    --premium-border: rgba(174, 198, 228, 0.68);
    --premium-card-border: rgba(174, 198, 228, 0.66);
    --premium-shell-top: rgba(255, 255, 255, 0.9);
    --premium-shell-bottom: rgba(242, 248, 255, 0.98);
    --premium-shell-highlight-a: rgba(92, 157, 255, 0.12);
    --premium-shell-highlight-b: rgba(109, 227, 255, 0.08);
    --premium-visual-border: rgba(170, 198, 230, 0.68);
    --premium-heading: #11243d;
    --premium-body: #4f6077;
    --premium-card-top: rgba(255, 255, 255, 0.94);
    --premium-card-bottom: rgba(243, 249, 255, 0.99);
    --premium-card-primary-top: rgba(255, 255, 255, 0.95);
    --premium-card-primary-bottom: rgba(241, 248, 255, 0.99);
    --premium-card-secondary-top: rgba(252, 254, 255, 0.95);
    --premium-card-secondary-bottom: rgba(239, 246, 255, 0.99);
    --premium-card-shadow:
        0 18px 40px rgba(17, 36, 61, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.58);
    --premium-shell-shadow:
        0 30px 80px rgba(17, 36, 61, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    --premium-visual-bg:
        linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(243, 249, 255, 0.96));
    --premium-visual-shadow:
        0 22px 52px rgba(17, 36, 61, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.58);
    --premium-bullet-a: #4b87e5;
    --premium-bullet-b: #69cbea;
    position: relative;
    overflow: hidden;
    padding: 5.2rem 0;
    background:
        radial-gradient(circle at 14% 22%, var(--premium-glow-a), rgba(71, 140, 255, 0) 34%),
        radial-gradient(circle at 86% 18%, var(--premium-glow-b), rgba(67, 205, 255, 0) 28%),
        linear-gradient(180deg, var(--premium-bg-start) 0%, var(--premium-bg-mid) 52%, var(--premium-bg-end) 100%);
}

.premium-solution-section--custom {
    --premium-bg-start: #f8fbff;
    --premium-bg-mid: #eff5ff;
    --premium-bg-end: #e9f1ff;
    --premium-glow-a: rgba(102, 154, 234, 0.16);
    --premium-glow-b: rgba(102, 206, 236, 0.12);
    --premium-orb-a: rgba(94, 157, 234, 0.14);
    --premium-orb-b: rgba(104, 206, 236, 0.12);
}

.premium-solution-section--api {
    --premium-bg-start: #f6faff;
    --premium-bg-mid: #edf4ff;
    --premium-bg-end: #e7f0ff;
    --premium-glow-a: rgba(87, 146, 229, 0.18);
    --premium-glow-b: rgba(92, 214, 236, 0.14);
    --premium-orb-a: rgba(82, 151, 229, 0.16);
    --premium-orb-b: rgba(102, 214, 236, 0.14);
}

.premium-solution-section--modernization {
    --premium-bg-start: #f5f9ff;
    --premium-bg-mid: #ecf4ff;
    --premium-bg-end: #e6efff;
    --premium-glow-a: rgba(116, 153, 235, 0.14);
    --premium-glow-b: rgba(105, 215, 235, 0.1);
    --premium-orb-a: rgba(113, 151, 235, 0.14);
    --premium-orb-b: rgba(109, 216, 235, 0.1);
}

:root[data-theme='dark'] .premium-solution-section {
    --premium-bg-start: #081120;
    --premium-bg-mid: #091729;
    --premium-bg-end: #07111d;
    --premium-glow-a: rgba(71, 140, 255, 0.18);
    --premium-glow-b: rgba(67, 205, 255, 0.14);
    --premium-orb-a: rgba(70, 146, 255, 0.16);
    --premium-orb-b: rgba(91, 218, 255, 0.14);
    --premium-border: rgba(156, 188, 255, 0.14);
    --premium-card-border: rgba(159, 189, 247, 0.14);
    --premium-shell-top: rgba(11, 25, 43, 0.9);
    --premium-shell-bottom: rgba(9, 21, 37, 0.94);
    --premium-shell-highlight-a: rgba(92, 157, 255, 0.08);
    --premium-shell-highlight-b: rgba(109, 227, 255, 0.06);
    --premium-visual-border: rgba(160, 193, 255, 0.16);
    --premium-heading: #f5f9ff;
    --premium-body: rgba(218, 228, 241, 0.82);
    --premium-card-top: rgba(14, 28, 48, 0.86);
    --premium-card-bottom: rgba(10, 20, 35, 0.94);
    --premium-card-primary-top: rgba(16, 32, 55, 0.92);
    --premium-card-primary-bottom: rgba(10, 22, 39, 0.97);
    --premium-card-secondary-top: rgba(12, 24, 42, 0.9);
    --premium-card-secondary-bottom: rgba(9, 18, 32, 0.97);
    --premium-card-shadow:
        0 18px 40px rgba(3, 9, 21, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    --premium-shell-shadow:
        0 30px 80px rgba(2, 10, 22, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    --premium-visual-bg:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(10, 18, 31, 0.54);
    --premium-visual-shadow:
        0 22px 52px rgba(0, 10, 26, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    --premium-bullet-a: #76b1ff;
    --premium-bullet-b: #8af2ff;
}

:root[data-theme='dark'] .premium-solution-section--custom {
    --premium-bg-start: #071120;
    --premium-bg-mid: #0a182b;
    --premium-bg-end: #08111d;
    --premium-glow-a: rgba(87, 146, 255, 0.16);
    --premium-glow-b: rgba(88, 216, 255, 0.12);
    --premium-orb-a: rgba(83, 154, 255, 0.14);
    --premium-orb-b: rgba(91, 218, 255, 0.12);
}

:root[data-theme='dark'] .premium-solution-section--api {
    --premium-bg-start: #081120;
    --premium-bg-mid: #091729;
    --premium-bg-end: #07111d;
    --premium-glow-a: rgba(71, 140, 255, 0.18);
    --premium-glow-b: rgba(67, 205, 255, 0.14);
    --premium-orb-a: rgba(70, 146, 255, 0.16);
    --premium-orb-b: rgba(91, 218, 255, 0.14);
}

:root[data-theme='dark'] .premium-solution-section--modernization {
    --premium-bg-start: #08101a;
    --premium-bg-mid: #0a1625;
    --premium-bg-end: #070f19;
    --premium-glow-a: rgba(99, 140, 255, 0.14);
    --premium-glow-b: rgba(97, 224, 255, 0.1);
    --premium-orb-a: rgba(92, 138, 255, 0.14);
    --premium-orb-b: rgba(92, 225, 255, 0.1);
    --premium-shell-top: rgba(12, 24, 40, 0.92);
    --premium-shell-bottom: rgba(9, 18, 31, 0.96);
}

.premium-solution-section::before,
.premium-solution-section::after {
    content: "";
    position: absolute;
    pointer-events: none;
    inset: auto;
}

.premium-solution-section::before {
    top: -10rem;
    right: -8rem;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    background: radial-gradient(circle, var(--premium-orb-a), rgba(70, 146, 255, 0));
    filter: blur(18px);
}

.premium-solution-section::after {
    left: 7%;
    bottom: -12rem;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    background: radial-gradient(circle, var(--premium-orb-b), rgba(91, 218, 255, 0));
    filter: blur(22px);
}

.premium-solution-section .container {
    position: relative;
    z-index: 1;
}

.premium-solution-shell {
    position: static;
    display: grid;
    gap: 1.5rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.premium-solution-shell::before {
    content: none;
}

.premium-solution-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(19rem, 0.96fr);
    gap: clamp(1.5rem, 2.4vw, 2.4rem);
    align-items: center;
}

.premium-solution-copy {
    max-width: 34rem;
}

.premium-solution-copy h2 {
    margin-bottom: 0.95rem;
    color: var(--premium-heading);
    font-size: clamp(1.7rem, 2.55vw, 2.72rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.premium-solution-copy p {
    margin-bottom: 0;
    color: var(--premium-body);
    font-size: 1.02rem;
    line-height: 1.75;
    max-width: 33rem;
}

.premium-solution-visual {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.premium-solution-visual::before {
    content: none;
}

.premium-solution-visual img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 20px;
}

.premium-solution-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.premium-solution-card {
    min-height: 100%;
    padding: var(--card-padding-unified);
    border: 1px solid var(--card-border-unified);
    border-radius: var(--card-radius-unified);
    background: var(--card-surface-unified);
    box-shadow: var(--card-shadow-unified);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.premium-solution-card::after {
    content: none;
}

.premium-solution-card-primary {
    background: var(--card-surface-unified);
}

.premium-solution-card-secondary {
    background: var(--card-surface-unified);
}

.premium-solution-card h3 {
    margin-bottom: 0.9rem;
    color: var(--text);
    font-size: 1.18rem;
    line-height: 1.35;
}

.premium-solution-card p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.75;
}

.premium-solution-card ul {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.premium-solution-card p + ul {
    margin-top: 1rem;
}

.premium-solution-card li {
    position: relative;
    padding-left: 1.2rem;
    margin: 0;
    color: var(--muted);
    line-height: 1.72;
}

.premium-solution-card li::before {
    content: "";
    position: absolute;
    top: 0.72rem;
    left: 0;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: none;
}

.featured-card {
    padding-top: 1rem;
}

.card-media {
    margin-bottom: 1rem;
}

.card-media img {
    aspect-ratio: 16 / 10;
}

.home-solution-media {
    margin: 0 0 0.95rem;
    overflow: hidden;
    border-radius: calc(var(--radius-md) - 2px);
    aspect-ratio: 16 / 9;
}

.home-solution-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-article-content {
    max-width: 960px;
    margin: 0 auto;
}

.blog-article-content h2 {
    margin-top: 1.75rem;
}

.blog-article-content p {
    margin-bottom: 1rem;
}

.blog-article-content .btn {
    margin-top: 0.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.contact-info,
.contact-form-wrap {
    padding: 1.4rem;
    backdrop-filter: blur(12px);
}

.contact-info ul {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--muted);
}

.contact-info li {
    margin-bottom: 0.55rem;
}

.contact-social-block {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--shell-border);
}

.contact-social-block h3 {
    margin-bottom: 0.45rem;
    font-size: 1rem;
}

.contact-social-block p {
    margin-bottom: 0.9rem;
    font-size: 0.92rem;
}

.contact-direct-block {
    margin-top: 1.4rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--shell-border);
    border-radius: 14px;
    background: var(--surface-elevated-strong);
    box-shadow: var(--shadow-sm);
}

.contact-direct-block h3 {
    margin-bottom: 0.55rem;
    font-size: 0.95rem;
}

.contact-direct-list {
    margin: 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.38rem;
}

.contact-direct-list li {
    color: var(--muted);
    font-size: 0.9rem;
}

.contact-direct-list strong {
    color: var(--text);
}

.contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.contact-form {
    display: grid;
    gap: 0.8rem;
}

.contact-form .btn {
    width: auto;
    max-width: 240px;
    align-self: flex-start;
}

.contact-form-note {
    margin-bottom: 1rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--shell-border);
    border-radius: 14px;
    background: var(--surface-elevated-strong);
    box-shadow: var(--shadow-sm);
}

.contact-form-note-title {
    margin: 0 0 0.55rem;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 700;
}

.contact-form-note ul {
    margin: 0;
    padding-left: 1.05rem;
    color: var(--muted);
}

.contact-form-note li {
    margin-bottom: 0.38rem;
}

.contact-form-note-text {
    margin: 0.6rem 0 0;
    font-size: 0.88rem;
    color: var(--muted);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.contact-form label {
    display: grid;
    gap: 0.3rem;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--control-border);
    background: var(--control-gradient);
    border-radius: 14px;
    padding: 0.82rem 0.92rem;
    font: inherit;
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 0 4px rgba(18, 93, 214, 0.12);
}

.contact-form textarea {
    min-height: 9rem;
    resize: vertical;
}

.contact-form .input-invalid {
    border-color: var(--danger);
    background: var(--danger-soft);
}

.field-error {
    color: var(--danger);
    font-size: 0.8rem;
    font-weight: 600;
}

.form-feedback {
    margin: 0;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-feedback.success {
    color: var(--success);
}

.form-feedback.error {
    color: var(--danger);
}

.result-popup-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: var(--overlay-bg);
    backdrop-filter: blur(2px);
}

.result-popup {
    width: min(100%, 32rem);
    border-radius: var(--radius-md);
    border: 1px solid var(--shell-border);
    background: var(--surface-elevated-strong);
    box-shadow: var(--shell-shadow);
    padding: 1.4rem;
    backdrop-filter: blur(14px);
}

.result-popup h3 {
    margin-bottom: 0.65rem;
    font-size: 1.15rem;
}

.result-popup p {
    margin-bottom: 1rem;
}

.result-popup.success {
    border-left: 4px solid var(--success);
}

.result-popup.error {
    border-left: 4px solid var(--danger);
}

.kjarn-global-error-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2400;
    display: none;
    place-items: center;
    padding: 1rem;
    background: var(--overlay-strong);
    backdrop-filter: blur(3px);
}

.kjarn-global-error-backdrop[data-open='true'] {
    display: grid;
}

.kjarn-global-error-modal {
    width: min(100%, 34rem);
    border-radius: var(--radius-md);
    border: 1px solid var(--shell-border);
    background: var(--surface-elevated-strong);
    box-shadow: var(--shell-shadow);
    padding: 1.4rem;
    backdrop-filter: blur(14px);
}

.kjarn-global-error-modal h2 {
    margin-bottom: 0.65rem;
    font-size: 0.98rem;
}

.kjarn-global-error-modal p {
    margin-bottom: 1rem;
}

.kjarn-global-error-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.sitemap-card {
    padding: 1.2rem;
}

.sitemap-card ul {
    margin: 0;
    padding-left: 1.1rem;
}

.sitemap-card li {
    margin-bottom: 0.45rem;
}

.state-page {
    padding: 4.4rem 0 5.2rem;
    text-align: center;
}

.state-box {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--shell-border);
    border-radius: var(--radius-lg);
    background: var(--surface-elevated-strong);
    padding: 2rem;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: var(--shell-shadow);
    backdrop-filter: blur(12px);
}

.state-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.3rem;
    padding: 0.32rem 0.78rem;
    border-radius: 999px;
    border: 1px solid var(--state-badge-border);
    background: var(--state-badge-bg);
    color: var(--brand-deep);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.95rem;
}

.state-box h1 {
    margin-bottom: 0.9rem;
}

.footer {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--footer-bg);
    padding: 3rem 0;
    margin-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 1.6rem;
}

.footer-logo {
    display: inline-flex;
    font-size: 1.25rem;
    font-weight: 800;
    margin-left: -0.06rem;
}

.footer-brand-row {
    display: inline-flex;
    align-items: center;
    gap: 0.26rem;
    margin-bottom: 0.8rem;
}

.footer-logo-image {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: contain;
}

.footer-links h4 {
    margin-bottom: 0.75rem;
    font-size: 0.93rem;
}

.footer-block-title {
    margin: 0 0 0.75rem;
    color: var(--text);
    font-size: 0.93rem;
    font-weight: 700;
}

.footer-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.45rem;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-share-links {
    display: grid;
    gap: 0.45rem;
}

.footer-share-links a,
.footer-share-links .footer-share-button {
    display: inline-flex;
    align-items: center;
    color: var(--muted);
    font-size: 0.92rem;
    min-height: 2.5rem;
    text-align: left;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--control-border);
    border-radius: 999px;
    background: var(--control-gradient);
    box-shadow: var(--shadow-sm);
}

.footer-share-links .footer-share-button {
    margin: 0;
    font: inherit;
    line-height: inherit;
    cursor: pointer;
}

.footer-share-links a:hover,
.footer-share-links .footer-share-button:hover {
    color: var(--text);
}

.footer-share-links .footer-share-button:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.footer-bottom {
    margin-top: 1.8rem;
    padding-top: 1rem;
    border-top: 1px solid var(--footer-border);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.87rem;
}

.reveal {
    --reveal-delay: 0ms;
    opacity: 0;
    transform: translateY(20px);
    filter: none;
    transition-property: opacity, transform;
    transition-duration: 400ms;
    transition-timing-function: ease-out;
    transition-delay: var(--reveal-delay);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: none;
}


@media (max-width: 1100px) {
    .cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cards-grid.three,
    .tech-group-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .solution-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .solution-summary-card-featured {
        grid-column: 1 / -1;
    }

    .delivery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-panel-wide {
        gap: 1rem;
    }
}

@media (max-width: 900px) {
    :root {
        --nav-height: 78px;
    }

    body.nav-open {
        overflow: hidden;
    }

    .nav-container {
        gap: 0.55rem;
    }

    .mobile-menu-btn {
        display: inline-flex;
        order: 3;
        flex-shrink: 0;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: calc(var(--nav-height) + 0.35rem);
        left: 0.75rem;
        right: 0.75rem;
        max-height: calc(100dvh - var(--nav-height) - 1.1rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        border-radius: 16px;
        border: 1px solid var(--line);
        background: var(--navbar-bg-solid);
        box-shadow: var(--shadow-md);
        padding: 0.95rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.3rem;
        z-index: 1150;
    }

    .nav-links a {
        width: 100%;
        min-height: 2.9rem;
        padding: 0.55rem 0.45rem;
        border-radius: 10px;
        font-size: 0.98rem;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: var(--brand-soft);
    }

    .nav-utilities {
        margin-left: 0;
        margin-right: 0.25rem;
        flex-wrap: nowrap;
        order: 2;
        justify-content: flex-end;
        gap: 0.35rem;
        flex-shrink: 0;
        align-items: center;
    }

    .theme-switch,
    .lang-switch {
        padding: 0.1rem;
        flex-shrink: 0;
    }

    .theme-dropdown-trigger,
    .lang-link {
        min-height: 2.35rem;
        padding: 0.24rem 0.62rem;
        font-size: 0.84rem;
    }

    .theme-dropdown-trigger {
        min-width: 3.6rem;
    }

    .lang-link {
        min-width: 2.05rem;
        padding-inline: 0.45rem;
    }

    .theme-dropdown-menu {
        min-width: 9.4rem;
        left: auto;
        right: 0;
    }

    .footer-share-links a,
    .footer-share-links .footer-share-button {
        min-height: 2.9rem;
        font-size: 0.98rem;
    }

    .logo-image {
        width: 3.3rem;
        height: 3.3rem;
    }

    body.nav-open .nav-links {
        display: flex;
    }

    .hero-grid,
    .engineering-layout,
    .premium-solution-hero,
    .premium-solution-card-grid,
    .contact-grid,
    .footer-grid,
    .sitemap-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        justify-content: center;
        align-items: center;
    }

    .hero-actions .btn {
        width: auto;
    }

    .hero-media,
    .page-hero-media {
        width: 100%;
        margin-left: 0;
    }

    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-banner .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-panel-wide {
        grid-column: auto;
    }

    .hero-grid {
        padding: 1.2rem;
        border-radius: 0;
    }

    .premium-solution-copy {
        max-width: none;
    }
}

@media (max-width: 700px) {
    section {
        padding: 4.2rem 0;
    }

    .container {
        width: calc(100% - 2rem);
    }

    .cards-grid,
    .cards-grid.two,
    .cards-grid.three,
    .solution-summary-grid,
    .tech-group-grid,
    .delivery-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: clamp(2.23rem, 9.6vw, 2.94rem);
    }

    .hero-title-row {
        gap: 0.85rem;
        align-items: center;
        flex-direction: column;
    }

    .hero-section {
        padding: 1.4rem 0 1.8rem;
    }

    .hero-insights-section {
        padding: 0 0 3.8rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .logo-text {
        display: none;
    }

    .logo-image {
        width: 3rem;
        height: 3rem;
    }

    .nav-container {
        gap: 0.4rem;
    }

    .nav-utilities {
        margin-right: 0.15rem;
        gap: 0.3rem;
    }

    .theme-dropdown-trigger,
    .lang-link {
        min-height: 2.15rem;
        font-size: 0.78rem;
    }

    .footer-social a,
    .contact-social a {
        width: 100%;
        justify-content: flex-start;
    }

    .kjarn-global-error-actions {
        flex-direction: column;
    }

    .kjarn-global-error-actions .btn {
        width: 100%;
    }

    .hero-panel,
    .card,
    .solution-summary-card,
    .premium-solution-card,
    .tech-card,
    .principle-card,
    .contact-info,
    .contact-form-wrap,
    .sitemap-card,
    .state-box {
        padding: 1.1rem;
    }

    .premium-solution-section {
        padding: 4.4rem 0;
    }

    .hero-grid {
        padding: 1rem;
        border-radius: 0;
    }

    .solution-summary-card-featured {
        grid-column: auto;
    }

    .premium-solution-copy h2 {
        font-size: clamp(1.62rem, 6.8vw, 2.21rem);
    }

    .premium-solution-visual img {
        border-radius: 16px;
    }
}

@media (max-width: 560px) {
    .nav-links {
        left: 0.5rem;
        right: 0.5rem;
    }

    .nav-utilities {
        gap: 0.2rem;
        margin-right: 0.1rem;
    }

    .theme-dropdown-trigger {
        min-width: 2.95rem;
        padding-inline: 0.46rem;
    }

    .lang-link {
        min-width: 1.76rem;
        padding-inline: 0.32rem;
    }
}

@media (max-width: 420px) {
    .theme-switch,
    .lang-switch {
        padding: 0.07rem;
    }

    .theme-dropdown-trigger {
        min-width: 3.15rem;
        padding: 0.16rem 0.4rem;
    }

    .lang-link {
        min-width: 1.8rem;
        padding-inline: 0.34rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

.trust-strip {
    padding: 1.25rem 0;
}

.trust-line {
    margin: 0;
    padding: 0.9rem 1rem;
    border: 1px solid var(--shell-border);
    border-radius: 999px;
    background: var(--surface-elevated);
    box-shadow: var(--shadow-sm);
    color: var(--muted);
    text-align: center;
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.75;
}

.trust-tech-stack {
    display: grid;
    gap: 0.55rem;
}

.trust-tech-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem 0.95rem;
}

.trust-tech-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
}

.trust-tech-icon {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--brand-deep));
    box-shadow: 0 0 10px rgba(18, 93, 214, 0.32);
    flex-shrink: 0;
}

.trust-tech-subline {
    margin: 0;
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 500;
}

@media (max-width: 768px) {
    .contact-form .btn {
        width: 100%;
        max-width: none;
        align-self: stretch;
    }

    .trust-line {
        border-radius: 16px;
        padding: 0.82rem 0.9rem;
        font-size: 0.9rem;
    }

    .trust-tech-list {
        gap: 0.4rem 0.7rem;
    }

    .trust-tech-list li {
        font-size: 0.84rem;
    }

    .trust-tech-subline {
        font-size: 0.78rem;
    }
}
