:root {
    --ink: #0a0d10;
    --panel: #11161b;
    --line: rgba(240, 190, 82, 0.28);
    --gold: #d69b26;
    --gold-soft: #f2c969;
    --paper: #f7f8f6;
    --white: #ffffff;
    --muted: #56606b;
    --muted-dark: #b8c0c9;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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

h1:focus {
    outline: none;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(10, 13, 16, 0.08);
    background: rgba(247, 248, 246, 0.92);
    backdrop-filter: blur(16px);
}

.nav-shell {
    width: min(var(--max), calc(100% - 40px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 850;
    letter-spacing: 0;
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    border: 1px solid rgba(214, 155, 38, 0.48);
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: var(--ink);
    font-size: 0.98rem;
    font-weight: 950;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.brand span:not(.brand-mark) {
    font-size: 1.15rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #2b3138;
    font-size: 0.95rem;
    font-weight: 700;
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--gold);
    color: var(--ink);
    font-weight: 850;
    box-shadow: 0 12px 24px rgba(214, 155, 38, 0.24);
}

.button.dark {
    background: var(--ink);
    color: var(--white);
    box-shadow: none;
}

.hero {
    min-height: calc(100vh - 76px);
    display: grid;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(10, 13, 16, 0.92), rgba(10, 13, 16, 0.64) 48%, rgba(10, 13, 16, 0.12)),
        url("../jimteck-logo.jpeg") center / cover no-repeat;
    color: var(--white);
}

.hero-inner {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    padding: 74px 0 92px;
}

.hero-copy {
    max-width: 690px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--gold-soft);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1 {
    margin-bottom: 24px;
    font-size: clamp(3rem, 8vw, 6.9rem);
    line-height: 0.93;
    letter-spacing: 0;
}

.hero-copy p {
    max-width: 610px;
    margin-bottom: 34px;
    color: #eef1f5;
    font-size: clamp(1.05rem, 1.7vw, 1.24rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.section {
    padding: 84px 0;
}

.section.dark {
    background: var(--ink);
    color: var(--white);
}

.container {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading h2 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.section-heading p {
    color: var(--muted);
    font-size: 1.06rem;
}

.dark .section-heading p,
.dark .feature p {
    color: var(--muted-dark);
}

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

.feature {
    min-height: 250px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(214, 155, 38, 0.13);
    color: var(--gold-soft);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature h3 {
    margin-bottom: 10px;
    color: var(--gold-soft);
    font-size: 1.18rem;
    text-transform: uppercase;
}

.split {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
    gap: 52px;
}

.logo-panel {
    overflow: hidden;
    border: 1px solid rgba(10, 13, 16, 0.12);
    border-radius: 8px;
    background: var(--ink);
    box-shadow: 0 24px 60px rgba(10, 13, 16, 0.16);
}

.logo-panel img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.copy-block h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.06;
    letter-spacing: 0;
}

.copy-block p {
    color: var(--muted);
    font-size: 1.06rem;
}

.proof-list {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.proof-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 16px;
    border: 1px solid rgba(10, 13, 16, 0.1);
    border-radius: 8px;
    background: var(--white);
    font-weight: 750;
}

.proof-item span {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--gold);
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 900;
}

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

.step {
    padding: 24px;
    border: 1px solid rgba(10, 13, 16, 0.1);
    border-radius: 8px;
    background: var(--white);
}

.step strong {
    display: block;
    margin-bottom: 18px;
    color: var(--gold);
    font-size: 1.6rem;
    line-height: 1;
}

.step h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.step p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.contact-band {
    background: var(--panel);
    color: var(--white);
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 44px;
    align-items: start;
    padding: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(214, 155, 38, 0.14), rgba(255, 255, 255, 0.03)),
        var(--ink);
}

.contact-box h2 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.06;
    letter-spacing: 0;
}

.contact-box p,
.contact-detail {
    color: var(--muted-dark);
}

.contact-list {
    display: grid;
    gap: 14px;
}

.contact-detail {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-detail span {
    display: block;
    margin-bottom: 4px;
    color: var(--gold-soft);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-detail a {
    color: var(--white);
    font-weight: 800;
    overflow-wrap: anywhere;
}

footer {
    padding: 26px 0;
    background: var(--ink);
    color: #cbd2db;
    font-size: 0.94rem;
}

.footer-inner {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

#blazor-error-ui {
    color-scheme: light only;
    background: #fff4c4;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto;
}

.loading-progress circle {
    fill: none;
    stroke: rgba(214, 155, 38, 0.22);
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: var(--gold);
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: 800;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text::after {
    content: var(--blazor-load-percentage-text, "Loading");
}

@media (max-width: 920px) {
    .nav-links {
        display: none;
    }

    .hero {
        min-height: 720px;
        background:
            linear-gradient(180deg, rgba(10, 13, 16, 0.88), rgba(10, 13, 16, 0.58) 56%, rgba(10, 13, 16, 0.22)),
            url("../jimteck-logo.jpeg") center / cover no-repeat;
    }

    .service-grid,
    .split,
    .process-grid,
    .contact-box {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 68px 0;
    }
}

@media (max-width: 560px) {
    .nav-shell,
    .container,
    .hero-inner,
    .footer-inner {
        width: min(100% - 28px, var(--max));
    }

    .site-header .button {
        display: none;
    }

    .hero {
        min-height: 680px;
    }

    h1 {
        font-size: 3.15rem;
    }

    .button {
        width: 100%;
    }

    .contact-box {
        padding: 26px;
    }
}
