:root {
    --ink: #11151c;
    --soft-ink: #273141;
    --muted: #657184;
    --line: #dce4ef;
    --paper: #f5f7fa;
    --white: #ffffff;
    --black: #05070a;
    --cyan: #1ea0dc;
    --magenta: #e60a82;
    --yellow: #faf01e;
    --green: #15963c;
    --violet: #302984;
    --shadow: 0 18px 54px rgba(15, 23, 42, .10);
}

* { box-sizing: border-box; }

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softZoom {
    from { transform: scale(1); }
    to { transform: scale(1.045); }
}

@keyframes lineIn {
    from {
        transform: scaleX(0);
        opacity: 0;
    }
    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

@keyframes gradientGlide {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}

@keyframes softPulse {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 16px 42px rgba(15,23,42,.07);
    }
    50% {
        transform: translateY(-3px);
        box-shadow: 0 22px 54px rgba(15,23,42,.11);
    }
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

h1,
h2,
h3,
p,
li {
    overflow-wrap: break-word;
}

.lead,
.hero-list li span,
.quick-item span,
.intro-copy p,
.section-head p,
.card p,
.service-list p,
.trust-grid p,
.tech-list p,
.responsible-grid p,
.step p,
.prep-card p,
.prep-card li,
.model-grid p,
.machine p,
.seo-band p:last-child,
.faq p,
.quote p,
.footer p,
.form-notice {
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
}

.hero .lead,
.hero-list li span,
.quick-item span {
    text-align: left;
    text-align-last: left;
    hyphens: manual;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.topline {
    background: var(--black);
    color: rgba(255,255,255,.82);
    font-size: 13px;
}

.topline-inner,
.nav,
.wrap {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.topline-inner {
    min-height: 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

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

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

.logo img { width: min(285px, 54vw); }

.menu {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--soft-ink);
    font-size: 14px;
    font-weight: 750;
}

.quote-link {
    padding: 11px 18px;
    border-radius: 999px;
    color: var(--white);
    background: var(--black);
}

.hero {
    position: relative;
    overflow: hidden;
    background: var(--black);
    color: var(--white);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5,7,10,.94), rgba(5,7,10,.78) 44%, rgba(5,7,10,.28)),
        url("../images/hero-waves.jpg") center/cover;
    animation: softZoom 12s ease-in-out alternate infinite;
    transform-origin: center;
}

.hero-grid {
    position: relative;
    z-index: 1;
    width: min(1200px, calc(100% - 40px));
    min-height: 560px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 54px;
    align-items: center;
    padding: 76px 0 70px;
}

.hero-grid > *,
.hero-panel,
.lead,
.hero-actions,
.hero-list,
.hero-list li {
    min-width: 0;
    max-width: 100%;
}

.eyebrow {
    margin: 0 0 16px;
    color: rgba(255,255,255,.8);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: 0; }
h1 { max-width: 780px; font-size: clamp(42px, 5vw, 72px); }
h2 { font-size: clamp(30px, 3vw, 48px); }
h3 { font-size: 22px; }

.lead {
    max-width: 680px;
    margin: 24px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 21px;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    border: 0;
    color: var(--white);
    background: var(--black);
    font-weight: 850;
}

.button.alt {
    color: var(--black);
    background: var(--white);
}

.hero-panel {
    padding: 30px;
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    color: var(--ink);
    box-shadow: var(--shadow);
    animation: fadeUp .7s ease .28s both;
}

.eyebrow,
h1,
.lead,
.hero-actions {
    animation: fadeUp .7s ease both;
}

.eyebrow { animation-delay: .08s; }
h1 { animation-delay: .16s; }
.lead { animation-delay: .24s; }
.hero-actions { animation-delay: .32s; }

.hero-panel h3 { margin-bottom: 16px; }

.panel-kicker {
    margin: 0 0 6px;
    color: var(--magenta);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.panel-link {
    display: inline-flex;
    margin-top: 22px;
    color: var(--black);
    font-weight: 900;
    border-bottom: 2px solid var(--magenta);
}

.hero-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-list li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    color: var(--soft-ink);
}

.hero-list li::before {
    content: "";
    width: 12px;
    height: 12px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--magenta);
}

.hero-list li span {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
}

.quick {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.quick-item {
    min-height: 136px;
    padding: 30px;
    background: var(--white);
    animation: fadeUp .62s ease both;
}

.quick-item:nth-child(1) { animation-delay: .08s; }
.quick-item:nth-child(2) { animation-delay: .14s; }
.quick-item:nth-child(3) { animation-delay: .20s; }
.quick-item:nth-child(4) { animation-delay: .26s; }

.quick-item strong {
    display: block;
    margin-bottom: 8px;
    font-size: 22px;
}

.quick-item span { color: var(--muted); }

.section { padding: 82px 0; }
.section.alt { background: var(--paper); }
.section.dark { background: var(--black); color: var(--white); }

.section.intro { padding: 72px 0; }

.intro-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 70px;
    align-items: start;
}

.intro-copy {
    display: grid;
    gap: 18px;
    color: var(--muted);
    font-size: 18px;
}

.section-head {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 56px;
    align-items: end;
    margin-bottom: 38px;
    position: relative;
}

.section-head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -18px;
    width: 86px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--yellow));
    transform-origin: left center;
}

.js .reveal {
    opacity: 0;
    transform: translateY(26px);
}

.js .reveal.is-visible {
    animation: fadeUp .72s ease both;
}

.js .section-head.reveal::after {
    opacity: 0;
    transform: scaleX(0);
}

.js .section-head.reveal.is-visible::after {
    animation: lineIn .72s ease .2s both;
}

.kicker {
    margin: 0 0 12px;
    color: var(--magenta);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.section-head p,
.copy p,
.card p,
.step p,
.machine p,
.faq p {
    color: var(--muted);
    font-size: 17px;
}

.dark .section-head p,
.dark .card p { color: rgba(255,255,255,.72); }

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

.card {
    min-height: 310px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(15,23,42,.05);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.card:hover,
.machine:hover,
.step:hover {
    transform: translateY(-4px);
    border-color: rgba(30,160,220,.38);
    box-shadow: 0 18px 46px rgba(15,23,42,.10);
}

.card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.tag {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #eef3f8;
    color: var(--soft-ink);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.tech-layout {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 34px;
}

.tech-photo {
    overflow: hidden;
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.tech-photo img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: contain;
    padding: 50px;
    background: #f1f5f9;
}

.tech-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.tech-list article {
    padding: 24px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px;
    background: #111722;
}

.tech-list p { color: rgba(255,255,255,.72); }

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

.trust-grid,
.model-grid,
.faq-grid,
.responsible-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.trust-grid {
    grid-template-columns: repeat(4, 1fr);
}

.trust-grid article,
.model-grid article,
.faq,
.responsible-grid article {
    min-height: 250px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(15,23,42,.05);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.trust-grid article:hover,
.model-grid article:hover,
.faq:hover,
.responsible-grid article:hover {
    transform: translateY(-4px);
    border-color: rgba(230,10,130,.28);
    box-shadow: 0 18px 46px rgba(15,23,42,.10);
}

.trust-grid strong {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--magenta);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .1em;
}

.model-number {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--magenta);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .1em;
}

.step {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.service-list {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.service-list article {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 34px;
    align-items: start;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(15,23,42,.04);
}

.service-list p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

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

.prep-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(15,23,42,.05);
}

.prep-card.accent {
    color: var(--white);
    background: var(--black);
}

.prep-card ul {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

.prep-card.accent p {
    color: rgba(255,255,255,.74);
}

.seo-band {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 56px;
    align-items: center;
}

.seo-band p:last-child {
    color: rgba(255,255,255,.74);
    font-size: 18px;
}

.step span {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 18px;
    background: var(--yellow);
    color: var(--black);
    font-weight: 950;
}

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

.machine {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.machine img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    padding: 22px;
    background: #f1f5f9;
}

.machine div { padding: 20px; }

.quote {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 34px;
    align-items: start;
}

.form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.form label {
    display: grid;
    gap: 8px;
    color: var(--soft-ink);
    font-size: 14px;
    font-weight: 750;
}

.form input,
.form textarea,
.form select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    font: inherit;
}

.wide { grid-column: 1 / -1; }

.footer {
    padding: 48px 0;
    color: rgba(255,255,255,.72);
    background: var(--black);
}

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

.footer img {
    width: 250px;
    filter: brightness(0) invert(1);
}

.footer-company {
    max-width: 560px;
    font-size: 14px;
}

.footer-company h3 {
    margin-bottom: 12px;
    color: var(--white);
    font-size: 18px;
}

.footer-company p {
    margin: 6px 0;
}

.footer-note {
    color: rgba(255,255,255,.52);
    font-size: 13px;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    color: rgba(255,255,255,.86);
    font-size: 13px;
}

.footer-legal-links a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-consent {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    order: 1;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
}

.form .button {
    order: 2;
    justify-self: start;
}

.form-consent input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    padding: 0;
}

.form-consent a {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-notice {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 90;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    width: min(620px, calc(100% - 36px));
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    color: rgba(255,255,255,.86);
    background: rgba(5,7,10,.96);
    box-shadow: 0 18px 54px rgba(15,23,42,.18);
}

.cookie-notice[hidden] {
    display: none;
}

.cookie-notice p {
    margin: 0;
    font-size: 13px;
    text-align: left;
}

.cookie-notice a {
    color: var(--yellow);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-notice__button {
    min-height: 38px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    color: var(--black);
    background: var(--yellow);
    font: inherit;
    font-weight: 850;
    cursor: pointer;
}

.legal-page {
    background: var(--paper);
}

.legal-page .vp-entry {
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
    padding: 76px 0;
}

.legal-kicker {
    margin: 0 0 10px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.legal-content {
    margin-top: 26px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.legal-content h2 {
    margin: 28px 0 10px;
    font-size: 22px;
}

.legal-content p,
.legal-content li {
    color: var(--soft-ink);
}

.legal-content a {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-content table {
    width: 100%;
    margin: 18px 0;
    border-collapse: collapse;
    overflow-wrap: anywhere;
}

.legal-content th,
.legal-content td {
    padding: 12px;
    border: 1px solid var(--line);
    color: var(--soft-ink);
    text-align: left;
    vertical-align: top;
}

.legal-content th {
    color: var(--black);
    background: var(--paper);
}

.legal-note {
    margin-top: 30px;
    padding: 16px;
    border-left: 4px solid var(--yellow);
    background: var(--paper);
    font-size: 14px;
}

@media (max-width: 980px) {
    .menu { display: none; }
    .hero-grid,
    .section-head,
    .intro-grid,
    .service-list article,
    .tech-layout,
    .seo-band,
    .quote {
        grid-template-columns: 1fr;
    }
    .quick,
    .offer-grid,
    .publisher,
    .trust-grid,
    .model-grid,
    .faq-grid,
    .responsible-grid,
    .prep-layout,
    .machine-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .topline { display: none; }
    .nav { min-height: 72px; }
    .hero-grid {
        display: block;
        width: calc(100% - 88px);
        min-height: auto;
        padding: 46px 0 54px;
        overflow: visible;
    }
    .hero-grid > div:first-child {
        width: 100%;
        max-width: 100%;
    }
    h1 {
        width: 100%;
        max-width: 100%;
        font-size: 25px;
        line-height: 1.12;
        overflow-wrap: anywhere;
    }
    h2 { font-size: 31px; }
    .lead {
        width: 100%;
        max-width: 245px;
        font-size: 15px;
        line-height: 1.62;
    }
    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }
    .button {
        width: 100%;
        padding-inline: 16px;
        text-align: center;
    }
    .hero-panel {
        width: 100%;
        max-width: 100%;
        margin-top: 28px;
        padding: 24px;
        border-radius: 16px;
        overflow: hidden;
    }
    .hero-panel h3 {
        font-size: 20px;
        line-height: 1.18;
        overflow-wrap: anywhere;
    }
    .panel-kicker {
        font-size: 12px;
    }
    .hero-list {
        width: 100%;
        overflow: hidden;
    }
    .hero-list li {
        grid-template-columns: 18px minmax(0, 1fr);
        width: 100%;
        max-width: 100%;
        word-break: normal;
        overflow-wrap: break-word;
    }
    .hero-list li::before {
        flex: 0 0 auto;
    }
    .quick,
    .offer-grid,
    .publisher,
    .trust-grid,
    .model-grid,
    .faq-grid,
    .responsible-grid,
    .prep-layout,
    .machine-grid,
    .tech-list,
    .form {
        grid-template-columns: 1fr;
    }
    .section { padding: 58px 0; }
    p,
    li,
    .lead,
    .intro-copy p,
    .section-head p,
    .card p,
    .service-list p,
    .trust-grid p,
    .tech-list p,
    .responsible-grid p,
    .step p,
    .prep-card p,
    .prep-card li,
    .model-grid p,
    .machine p,
    .seo-band p:last-child,
    .faq p,
    .quote p,
    .footer p {
        text-align: left;
        text-align-last: left;
        hyphens: manual;
    }
    #odpowiedzialny-druk,
    #pliki,
    #model,
    #seo,
    #faq {
        display: none;
    }
    .footer .wrap { display: grid; }
    .cookie-notice {
        grid-template-columns: 1fr;
        right: 12px;
        bottom: 12px;
        width: calc(100% - 24px);
    }
    .cookie-notice__button {
        width: 100%;
    }
    .legal-page .vp-entry {
        width: min(100% - 28px, 920px);
        padding: 52px 0;
    }
    .legal-content {
        padding: 22px;
    }
    .legal-content table {
        display: block;
        overflow-x: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Publisher-focused refresh */
.hero-clean .hero-grid {
    grid-template-columns: 1fr .82fr;
    gap: 64px;
}

.hero-clean h1 {
    max-width: 850px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: rgba(255,255,255,.88);
    background: rgba(255,255,255,.08);
    font-size: 14px;
    font-weight: 850;
}

.hero-flow {
    padding: 34px;
    border-radius: 22px;
}

.flow-list {
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.flow-list li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 13px;
    align-items: center;
    min-width: 0;
}

.flow-list span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--white);
    background: var(--cyan);
    font-size: 19px;
    font-weight: 950;
}

.flow-list li:first-child span,
.flow-list li:last-child span {
    background: var(--magenta);
}

.flow-list strong {
    min-width: 0;
    font-size: 17px;
    line-height: 1.18;
}

.production-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.production-card {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    color: var(--white);
    background: rgba(255,255,255,.08);
    box-shadow: 0 18px 46px rgba(0,0,0,.18);
}

.production-card::before,
.machine-detail::before,
.machine-hero-panel::before {
    content: "";
    display: block;
    width: 132px;
    height: 7px;
    margin-bottom: 26px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cyan), var(--violet), var(--magenta), var(--yellow), var(--green));
    background-size: 220% 100%;
    animation: gradientGlide 5.5s ease-in-out infinite alternate;
}

.production-card.featured {
    background: var(--white);
    color: var(--ink);
}

.production-card span {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--magenta);
    font-size: 14px;
    font-weight: 950;
    letter-spacing: .08em;
}

.production-card h3 {
    min-height: 84px;
    font-size: 24px;
    line-height: 1.08;
}

.production-card p {
    margin-top: 16px;
    color: rgba(255,255,255,.72);
    text-align: left;
    hyphens: manual;
}

.production-card.featured p {
    color: var(--muted);
}

.production-card small {
    display: inline-flex;
    margin-top: 22px;
    padding: 8px 11px;
    border-radius: 999px;
    color: rgba(255,255,255,.88);
    background: rgba(255,255,255,.12);
    font-size: 12px;
    font-weight: 850;
}

.production-card,
.machine-detail,
.machine-hero-panel {
    transition: transform .34s ease, box-shadow .34s ease, border-color .34s ease;
}

.production-card:hover,
.machine-detail:hover {
    transform: translateY(-6px);
    border-color: rgba(230,10,130,.28);
    box-shadow: 0 26px 64px rgba(15,23,42,.14);
}

.production-card.featured:hover,
.machine-detail.featured:hover {
    box-shadow: 0 28px 70px rgba(0,0,0,.28);
}

.production-grid .production-card:nth-child(2),
.machine-detail-grid .machine-detail:nth-child(2),
.finishing-grid .machine-detail:nth-child(2),
.flow-list li:nth-child(2),
.hero-tags span:nth-child(2) {
    animation-delay: .08s;
}

.production-grid .production-card:nth-child(3),
.machine-detail-grid .machine-detail:nth-child(3),
.finishing-grid .machine-detail:nth-child(3),
.flow-list li:nth-child(3),
.hero-tags span:nth-child(3) {
    animation-delay: .16s;
}

.production-grid .production-card:nth-child(4),
.machine-detail-grid .machine-detail:nth-child(4),
.flow-list li:nth-child(4) {
    animation-delay: .24s;
}

.machine-detail-grid .machine-detail:nth-child(5) {
    animation-delay: .32s;
}

.machine-hero-panel {
    animation: softPulse 7s ease-in-out infinite;
}

.production-card.featured small {
    color: var(--soft-ink);
    background: var(--paper);
}

.section-cta {
    margin-top: 28px;
}

.button.light {
    color: var(--ink);
    background: var(--white);
}

.machine-hero .page-hero-inner {
    grid-template-columns: 1fr .75fr;
}

.machine-hero-panel {
    min-height: 300px;
    padding: 34px;
    border-radius: 26px;
    color: var(--white);
    background:
        radial-gradient(circle at 88% 18%, rgba(250,240,30,.28), transparent 26%),
        radial-gradient(circle at 80% 78%, rgba(30,160,220,.24), transparent 30%),
        var(--black);
    box-shadow: var(--shadow);
}

.machine-hero-panel span {
    display: inline-flex;
    margin: 7px 6px 0 0;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    font-weight: 850;
}

.machine-intro {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 520px);
    gap: 44px;
    align-items: end;
    margin-bottom: 26px;
}

.machine-intro p {
    color: var(--muted);
    font-size: 18px;
    text-align: left;
    hyphens: manual;
}

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

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

.machine-detail {
    position: relative;
    overflow: hidden;
    min-height: 410px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 16px 42px rgba(15,23,42,.07);
}

.machine-detail.featured {
    color: var(--white);
    background: var(--black);
    border-color: transparent;
}

.machine-number {
    display: inline-flex;
    margin-right: 12px;
    color: var(--magenta);
    font-size: 15px;
    font-weight: 950;
}

.machine-label {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--soft-ink);
    background: var(--paper);
    font-size: 12px;
    font-weight: 850;
}

.machine-detail.featured .machine-label {
    color: rgba(255,255,255,.88);
    background: rgba(255,255,255,.12);
}

.machine-detail h3 {
    margin-top: 30px;
    font-size: 28px;
    line-height: 1.08;
}

.machine-detail p {
    margin-top: 18px;
    color: var(--muted);
    text-align: left;
    hyphens: manual;
}

.machine-detail.featured p {
    color: rgba(255,255,255,.72);
}

.machine-detail ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.machine-detail li {
    padding: 8px 10px;
    border-radius: 999px;
    color: var(--soft-ink);
    background: var(--paper);
    font-size: 12px;
    font-weight: 850;
    text-align: left;
}

.machine-detail.featured li {
    color: rgba(255,255,255,.86);
    background: rgba(255,255,255,.12);
}

@media (max-width: 980px) {
    .hero-clean .hero-grid,
    .machine-hero .page-hero-inner,
    .machine-intro {
        grid-template-columns: 1fr;
    }

    .production-grid,
    .machine-detail-grid,
    .finishing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .production-card h3 {
        min-height: auto;
    }
}

@media (max-width: 620px) {
    .hero-tags {
        gap: 8px;
    }

    .hero-tags span {
        min-height: 38px;
        font-size: 13px;
    }

    .hero-flow {
        margin-top: 24px;
    }

    .flow-list strong {
        font-size: 15px;
    }

    .production-grid,
    .machine-detail-grid,
    .finishing-grid {
        grid-template-columns: 1fr;
    }

    .production-card,
    .machine-detail {
        min-height: auto;
        padding: 24px;
    }

    .machine-detail h3 {
        margin-top: 24px;
        font-size: 24px;
    }

    .machine-hero-panel {
        min-height: auto;
        padding: 26px;
    }
}

/* Sticky navigation and mobile menu */
.site-header {
    z-index: 999;
}

.menu a {
    white-space: nowrap;
}

@media (max-width: 1120px) {
    .menu {
        gap: 13px;
        font-size: 13px;
    }

    .quote-link {
        padding: 10px 14px;
    }
}

@media (max-width: 980px) {
    .site-header {
        top: 0;
    }

    .nav {
        width: min(1200px, calc(100% - 28px));
        min-height: auto;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
        padding: 10px 0 9px;
    }

    .logo img {
        width: min(220px, 58vw);
    }

    .menu {
        display: flex;
        order: 2;
        width: 100%;
        gap: 9px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 0 7px;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .menu a {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        min-height: 38px;
        padding: 8px 12px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: var(--white);
        box-shadow: 0 8px 22px rgba(15,23,42,.05);
    }

    .menu .quote-link {
        color: var(--white);
        border-color: var(--black);
        background: var(--black);
    }
}

@media (max-width: 620px) {
    .site-header {
        box-shadow: 0 12px 30px rgba(15,23,42,.08);
    }

    .nav {
        width: calc(100% - 22px);
    }

    .menu {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        width: 100%;
        margin-right: 0;
        padding: 0 0 4px;
        overflow: visible;
    }

    .menu a {
        justify-content: center;
        min-width: 0;
        min-height: 34px;
        padding: 6px 5px;
        font-size: 11px;
        line-height: 1.05;
        text-align: center;
        white-space: normal;
        box-shadow: none;
    }

    .menu .quote-link {
        grid-column: span 2;
    }
}

/* Force navigation to stay visible while scrolling */
body {
    padding-top: 116px;
}

.topline {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.site-header {
    position: fixed !important;
    top: 38px;
    left: 0;
    right: 0;
    z-index: 1001;
}

.admin-bar .topline {
    top: 32px;
}

.admin-bar .site-header {
    top: 70px;
}

@media (max-width: 980px) {
    body {
        padding-top: 156px;
    }
}

@media (max-width: 782px) {
    .admin-bar .topline {
        top: 46px;
    }

    .admin-bar .site-header {
        top: 84px;
    }
}

@media (max-width: 620px) {
    body {
        padding-top: 142px;
    }

    .topline {
        display: none;
    }

    .site-header,
    .admin-bar .site-header {
        top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .production-card::before,
    .machine-detail::before,
    .machine-hero-panel::before,
    .machine-hero-panel {
        animation: none !important;
    }
}

