:root {
    --ink: #121417;
    --muted: #5d6673;
    --line: #e5e8ec;
    --paper: #ffffff;
    --soft: #f6f7f9;
    --accent: #0c7c59;
    --accent-soft: #dff3eb;
    --blue-soft: #e7eefc;
    --jurni: #2563eb;
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.nav-shell {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand img {
    width: 86px;
    height: auto;
    display: block;
}

.site-footer-modern img {
    width: 74px;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    color: var(--muted);
    font-size: 0.95rem;
}

.nav-links a,
.footer-links a,
.text-link {
    text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover,
.text-link:hover {
    color: var(--accent);
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 88px 0 72px;
}

.hero-upgraded {
    background:
        linear-gradient(135deg, #ffffff 0%, #fbfaf7 52%, #f5f8f6 100%);
}

.hero-upgraded::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(18, 20, 23, 0.16), transparent);
}

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

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    gap: 58px;
    align-items: center;
}

.hero-copy h1,
.section-heading h2,
.contact-grid h2,
.product-detail-hero h1 {
    letter-spacing: 0;
    line-height: 1.02;
}

.hero-copy h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(3rem, 7vw, 6rem);
}

.lead {
    max-width: 660px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #303741;
    background: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    font-weight: 750;
}

.eyebrow,
.product-type,
.signal-kicker {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.btn {
    border-radius: var(--radius);
    font-weight: 700;
}

.hero-panel,
.product-card,
.contact-form,
.product-detail-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.hero-panel {
    position: relative;
    padding: 0;
    display: grid;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    box-shadow: none;
}

.hero-panel::before {
    content: "";
    position: absolute;
    top: 26px;
    right: -16px;
    bottom: -16px;
    left: 26px;
    z-index: -1;
    border: 1px solid rgba(12, 124, 89, 0.12);
    border-radius: 8px;
    background: rgba(12, 124, 89, 0.05);
    box-shadow: 0 34px 90px rgba(18, 20, 23, 0.10);
}

.signal-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 0 6px 4px;
    color: #344052;
    font-size: 0.92rem;
    font-weight: 760;
}

.hero-workbench {
    align-self: center;
}

.hero-image-frame {
    position: relative;
    margin: 0;
    min-height: clamp(440px, 58vh, 620px);
    border-radius: var(--radius);
    overflow: hidden;
    background: #eef2ef;
    box-shadow: 0 28px 80px rgba(18, 20, 23, 0.11);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    min-height: clamp(440px, 58vh, 620px);
    display: block;
    object-fit: cover;
    object-position: center;
}

.studio-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 2px;
}

.studio-flow span {
    min-height: 44px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(18, 20, 23, 0.08);
    border-radius: var(--radius);
    color: #3f4b5b;
    background: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 850;
    text-align: center;
}

.signal-card {
    min-height: 238px;
    padding: 24px;
    border: 1px solid rgba(12, 124, 89, 0.12);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(223, 243, 235, 0.92), rgba(242, 251, 247, 0.92)),
        var(--accent-soft);
}

.branded-signal {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.branded-signal:hover {
    color: inherit;
    border-color: rgba(12, 124, 89, 0.25);
    box-shadow: 0 22px 52px rgba(18, 20, 23, 0.10);
    transform: translateY(-2px);
}

.signal-card.muted {
    border-color: rgba(37, 99, 235, 0.12);
    background:
        linear-gradient(135deg, rgba(231, 238, 252, 0.92), rgba(245, 248, 255, 0.92)),
        var(--blue-soft);
}

.signal-card h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3.35rem);
}

.signal-brand {
    display: inline-flex;
    align-items: center;
    min-height: 78px;
    margin: 18px 0 16px;
}

.signal-kd img {
    width: min(172px, 68%);
    height: auto;
    display: block;
}

.signal-jurni {
    color: var(--jurni);
    font-family: "Pacifico", cursive;
    font-size: clamp(3rem, 6vw, 4.15rem);
    line-height: 1;
}

.signal-card p {
    max-width: 360px;
    margin: 0;
    color: #28313c;
}

.signal-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.signal-topline .signal-kicker {
    margin: 0;
}

.signal-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border: 1px solid rgba(18, 20, 23, 0.08);
    border-radius: 999px;
    color: #26313d;
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    font-weight: 850;
    white-space: nowrap;
}

.signal-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.signal-chips span {
    min-height: 30px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #2e3a47;
    background: rgba(255, 255, 255, 0.66);
    font-size: 0.78rem;
    font-weight: 850;
}

.section-block {
    padding: 92px 0;
    border-top: 1px solid var(--line);
}

.section-muted {
    background: var(--soft);
}

.product-section {
    background:
        linear-gradient(180deg, #f7f8fa 0%, #f3f5f7 100%);
}

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

.section-heading.compact {
    max-width: 620px;
}

.section-heading h2,
.contact-grid h2 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.section-heading p:not(.eyebrow) {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.split-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px;
    color: var(--muted);
    font-size: 1.15rem;
}

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

.product-card {
    min-height: 560px;
    padding: 0;
    display: grid;
    grid-template-rows: minmax(236px, 0.82fr) minmax(0, 1fr);
    overflow: hidden;
    box-shadow: 0 22px 70px rgba(18, 20, 23, 0.06);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.product-card:hover {
    border-color: rgba(18, 20, 23, 0.18);
    box-shadow: 0 30px 80px rgba(18, 20, 23, 0.10);
    transform: translateY(-3px);
}

.product-brand-panel {
    position: relative;
    min-height: 250px;
    padding: 32px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.product-brand-panel::before {
    content: "";
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: var(--radius);
}

.product-card-kd .product-brand-panel {
    background:
        linear-gradient(135deg, rgba(220, 241, 233, 0.95), rgba(248, 252, 250, 0.92)),
        var(--accent-soft);
}

.product-card-jurni .product-brand-panel {
    background:
        linear-gradient(135deg, rgba(231, 238, 252, 0.95), rgba(247, 251, 255, 0.92)),
        var(--blue-soft);
}

.product-status {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 1;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border: 1px solid rgba(18, 20, 23, 0.09);
    border-radius: 999px;
    color: #26313d;
    background: rgba(255, 255, 255, 0.74);
    font-size: 0.76rem;
    font-weight: 850;
}

.product-visual {
    width: 150px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: var(--soft);
    overflow: hidden;
}

.product-brand-panel .product-visual {
    position: relative;
    z-index: 1;
    width: min(240px, 66%);
    background: transparent;
}

.product-visual img {
    width: 78%;
    height: 78%;
    object-fit: contain;
}

.product-mark {
    color: var(--accent);
    background: var(--accent-soft);
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1;
}

.jurni-wordmark {
    color: var(--jurni);
    background: #eef7fb;
    font-family: "Pacifico", cursive;
    font-size: 2.6rem;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.product-brand-panel .jurni-wordmark {
    width: auto;
    min-width: 230px;
    aspect-ratio: auto;
    background: transparent;
    font-size: clamp(3.7rem, 7vw, 5.4rem);
}

.kd-logo img {
    width: 88%;
    height: auto;
}

.product-content h3,
.capability-grid h3 {
    margin: 0 0 10px;
    font-size: 1.55rem;
}

.product-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-content h3 {
    font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.product-content p:not(.product-type),
.capability-grid p,
.contact-grid p,
.product-detail-panel p {
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    margin-top: auto;
    color: var(--ink);
    font-weight: 800;
}

.text-link::after {
    content: ">";
    margin-left: 8px;
    transition: transform 0.18s ease;
}

.text-link:hover::after {
    transform: translateX(3px);
}

.product-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 24px;
}

.product-chips span {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #344052;
    background: #fff;
    font-size: 0.78rem;
    font-weight: 850;
}

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

.capability-grid > div {
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.capability-grid span {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--muted);
    font-weight: 800;
}

.contact-section {
    background: var(--ink);
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
    gap: 54px;
    align-items: start;
}

.contact-grid p,
.contact-lines {
    max-width: 520px;
}

.contact-lines {
    display: grid;
    gap: 12px;
    margin-top: 28px;
    color: #d8dde4;
}

.contact-lines a {
    text-decoration: none;
}

.contact-form {
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    color: var(--ink);
}

.form-row {
    display: grid;
    gap: 8px;
}

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

.form-row label {
    color: #303741;
    font-size: 0.9rem;
    font-weight: 800;
}

.form-row input,
.form-row textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 13px 14px;
    color: var(--ink);
    background: #fff;
}

.form-row textarea {
    resize: vertical;
}

.site-footer-modern {
    padding: 58px 0 28px;
    background: #0b0d10;
    color: #d8dde4;
}

.footer-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    min-height: 86px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    color: #ffffff;
    background:
        radial-gradient(circle at 82% 18%, rgba(65, 232, 222, 0.20), transparent 34%),
        linear-gradient(135deg, rgba(8, 16, 22, 0.92), rgba(12, 124, 89, 0.24), rgba(37, 99, 235, 0.16));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 46px rgba(0, 0, 0, 0.18);
    text-decoration: none;
}

.footer-brand-mark img {
    width: 76px;
    filter: drop-shadow(0 0 14px rgba(65, 232, 222, 0.24));
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-grid p {
    max-width: 430px;
    margin: 18px 0 0;
}

.footer-links {
    display: grid;
    gap: 10px;
    align-content: start;
}

.copyright {
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #8e98a6;
    font-size: 0.9rem;
}

.product-detail-hero {
    padding: 86px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(320px, 1.06fr);
    gap: 56px;
    align-items: center;
}

.product-detail-hero h1 {
    margin: 0;
    font-size: clamp(3rem, 7vw, 6rem);
}

.product-detail-panel {
    padding: 28px;
}

.product-detail-panel img {
    width: 128px;
    height: 128px;
    object-fit: contain;
    margin-bottom: 28px;
}

.detail-list {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.detail-list li {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.content-hero {
    padding: 76px 0 42px;
    background: var(--soft);
    border-bottom: 1px solid var(--line);
}

.content-hero h1 {
    max-width: 860px;
    margin: 0;
    font-size: clamp(2.8rem, 7vw, 5.4rem);
    line-height: 1.02;
}

.content-shell {
    padding: 58px 0 86px;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
    gap: 52px;
    align-items: start;
}

.content-aside {
    position: sticky;
    top: 104px;
    padding-top: 8px;
}

.content-aside p {
    color: var(--muted);
}

.content-card {
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.content-card h2,
.content-card h3 {
    margin-top: 34px;
    color: var(--ink);
}

.content-card h2:first-child,
.content-card h3:first-child {
    margin-top: 0;
}

.content-card p,
.content-card li {
    color: var(--muted);
}

.content-card a {
    color: var(--accent);
    font-weight: 800;
    text-decoration: none;
}

.content-card a:hover {
    text-decoration: underline;
}

.content-card ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 22px;
    padding-left: 1.1rem;
}

.management-card {
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.management-form {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.management-form .form-row.full {
    grid-column: auto;
}

.management-note {
    margin-top: 20px;
    color: var(--muted);
    font-size: 0.95rem;
}

@media (max-width: 991.98px) {
    .hero-grid,
    .split-copy,
    .product-grid,
    .capability-grid,
    .contact-grid,
    .product-detail-grid,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .hero-section,
    .section-block,
    .product-detail-hero,
    .content-hero {
        padding: 68px 0;
    }

    .content-aside {
        position: static;
    }

    .hero-panel::before {
        right: -10px;
        left: 22px;
    }

}

@media (max-width: 767.98px) {
    .nav-shell {
        min-height: auto;
        padding-top: 18px;
        padding-bottom: 18px;
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        width: 100%;
        gap: 14px;
        flex-wrap: wrap;
    }

    .brand img {
        width: 76px;
    }

    .product-card,
    .contact-form {
        grid-template-columns: 1fr;
    }

    .product-card {
        min-height: auto;
    }

    .product-brand-panel {
        min-height: 210px;
        padding: 26px;
    }

    .product-visual {
        width: 118px;
    }

    .hero-panel {
        padding: 0;
    }

    .hero-image-frame,
    .hero-image-frame img {
        min-height: 330px;
    }

    .footer-grid {
        flex-direction: column;
    }

    .footer-brand-mark {
        min-width: 92px;
        min-height: 76px;
    }

    .footer-brand-mark img {
        width: 66px;
    }

    .signal-topline {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}
