:root {
    --bg: #0c0f10;
    --bg-soft: #111516;
    --panel: #15191a;
    --text: #f3f3f1;
    --muted: #a7aaab;
    --accent: #c9a276;
    --border: rgba(255,255,255,.14);
    --container: 1480px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* HEADER */

.site-header {
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.04);
}

.header-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    font-size: 35px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -3px;
}

.brand-divider {
    width: 1px;
    height: 45px;
    background: rgba(255,255,255,.35);
}

.brand-name {
    font-size: 12px;
    line-height: 1.15;
    letter-spacing: .04em;
}

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 38px;
}

.menu a {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
}

.menu-toggle {
    display: none;
}

/* HERO */

.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(5,8,9,.90) 0%,
		rgba(5,8,9,.62) 34%,
		rgba(5,8,9,.08) 68%,
		rgba(5,8,9,.08) 100%
        ),
        url("https://jsconceptdesign.pl/wp-content/uploads/2026/10/Industrialna-pracownia-z-geometrycznym-logo.png") center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,.08),
        rgba(0,0,0,.22)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.eyebrow {
    color: var(--accent);
    font-size: 11px;
    letter-spacing: .32em;
    font-weight: 700;
    margin-bottom: 22px;
}

.hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(54px, 5.4vw, 84px);
    line-height: .92;
    letter-spacing: -.045em;
    font-weight: 800;
}

.hero h1 span {
    color: var(--accent);
}

.hero-text {
    margin: 30px 0 34px;
    color: #c4c5c5;
    font-size: 18px;
    line-height: 1.65;
}

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

.btn {
    display: inline-flex;
    min-height: 54px;
    padding: 0 28px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    transition: .2s ease;
}

.btn-primary {
    background: var(--accent);
    color: #111;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: #dab88f;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* SECTIONS */

.section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.section-intro h2 {
    margin: 0 0 20px;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1;
    letter-spacing: -.035em;
}

.section-intro p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.intro-line {
    color: var(--accent);
    font-size: 28px;
    margin-top: 30px;
}

/* TECHNOLOGY */

.technology {
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(202,162,118,.04),
            transparent 34%
        ),
        var(--bg);
}

.technology-layout {
    display: grid;
    grid-template-columns: minmax(260px, .9fr) 2.3fr;
    gap: 60px;
    align-items: start;
}

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

.technology-card {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-color: #171b1c;
    background-size: cover;
    background-position: center;
}

.technology-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,.05) 35%,
        rgba(0,0,0,.92) 100%
    );
}

.tech-print {
    background-image: url("https://jsconceptdesign.pl/wp-content/uploads/2026/10/Creality-Ender-5-Max-w-mrocznym-studio.png");
}

.tech-cnc {
    background-image: url("https://jsconceptdesign.pl/wp-content/uploads/2026/10/Makita-CNC-w-mrocznym-warsztacie.png");
}

.tech-scan {
    background-image: url("https://jsconceptdesign.pl/wp-content/uploads/2026/10/Skanowanie-hulajnogi-Hiley-skanerem-Creality.png");
}

.tech-laser {
    background-image: url("https://jsconceptdesign.pl/wp-content/uploads/2026/10/Laser-genmitsu.png");
}

.card-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px;
}

.card-content h3 {
    margin: 0 0 10px;
    font-size: 17px;
}

.card-content p {
    min-height: 56px;
    margin: 0;
    color: #b5b7b8;
    font-size: 13px;
    line-height: 1.5;
}

.card-content span {
    display: block;
    margin-top: 16px;
    color: var(--accent);
}

/* PROJECTS */

.projects {
    background: #0b0e0f;
}

.projects-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
}

.projects-intro .btn {
    margin-top: 24px;
}

.projects-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 210px);
    gap: 10px;
}

.project {
    position: relative;
    min-height: 200px;
    background-color: #1b1f20;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.project::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 60%,
        rgba(0,0,0,.7)
    );
}

.project-main {
    grid-row: 1 / 3;
    background-image: url("https://jsconceptdesign.pl/wp-content/uploads/2026/10/Stol-orzech.png");
}

.project-one {
    background-image: url("https://jsconceptdesign.pl/wp-content/uploads/2026/10/Stolik-kinga-2.png");
}

.project-two {
    background-image: url("https://jsconceptdesign.pl/wp-content/uploads/2026/10/WIOLA-2.png");
}

.project-three {
    background-image: url("https://jsconceptdesign.pl/wp-content/uploads/2026/10/Gear.jpg");
}

.project-four {
    background-image: url("https://jsconceptdesign.pl/wp-content/uploads/2026/10/SKAN-HULAJNOGA.png");
}

.project-label {
    position: absolute;
    z-index: 2;
    left: 20px;
    bottom: 20px;
    font-size: 11px;
    letter-spacing: .1em;
}

/* FOOTER */

.site-footer {
    padding: 35px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    background: #090b0c;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #858889;
    font-size: 12px;
}

.footer-brand {
    display: flex;
    gap: 16px;
    align-items: center;
    color: white;
}


/* RESPONSIVE */

@media (max-width: 1150px) {

    .technology-layout,
    .projects-layout {
        grid-template-columns: 1fr;
    }

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

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
        width: 38px;
        height: 30px;
        padding: 0;
        border: 0;
        background: none;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
    }

    .menu-toggle span {
        display: block;
        height: 1px;
        width: 100%;
        background: white;
    }

    body.menu-open .main-nav {
        display: block;
        position: absolute;
        top: 92px;
        left: 0;
        width: 100%;
        padding: 30px 40px;
        background: rgba(8,10,11,.98);
    }

    body.menu-open .menu {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 760px) {

    .container {
        width: min(calc(100% - 36px), var(--container));
    }

    .header-inner {
        min-height: 76px;
    }

    .hero {
        min-height: 680px;
    }

    .hero-content {
        padding-top: 80px;
    }

    .hero h1 {
        font-size: clamp(46px, 13vw, 66px);
    }

    .hero-text {
        font-size: 14px;
    }

    .section {
        padding: 60px 0;
    }

    .technology-grid {
        grid-template-columns: 1fr;
    }

    .technology-card {
        min-height: 360px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .project,
    .project-main {
        grid-row: auto;
        min-height: 290px;
    }

    .footer-inner {
        gap: 20px;
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================
   SERVICES PAGE
========================= */

.services-hero {
    padding: 110px 0 100px;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.services-hero h1 {
    margin: 14px 0 24px;
    font-size: clamp(42px, 5vw, 72px);
    line-height: .98;
    letter-spacing: -.03em;
}

.services-intro {
    max-width: 820px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,.70);
}

.services-overview {
    padding: 110px 0;
}

.services-heading {
    max-width: 820px;
    margin-bottom: 70px;
}

.services-heading h2 {
    margin: 14px 0 24px;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1;
    letter-spacing: -.03em;
}

.services-heading > p:last-child {
    max-width: 760px;
    line-height: 1.7;
    color: rgba(255,255,255,.65);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(255,255,255,.12);
}

.service-card {
    position: relative;
    min-height: 260px;
    padding: 34px 40px 42px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.service-card:nth-child(odd) {
    padding-right: 60px;
    border-right: 1px solid rgba(255,255,255,.12);
}

.service-card:nth-child(even) {
    padding-left: 60px;
}

.service-number {
    display: block;
    margin-bottom: 52px;
    font-size: 13px;
    color: rgba(255,255,255,.38);
}

.service-card h3 {
    margin: 0 0 16px;
    font-size: 22px;
    letter-spacing: -.01em;
}

.service-card p {
    max-width: 520px;
    margin: 0;
    line-height: 1.65;
    color: rgba(255,255,255,.62);
}

@media (max-width: 760px) {

    .services-hero {
        padding: 75px 0 65px;
    }

    .services-overview {
        padding: 75px 0;
    }

    .services-heading {
        margin-bottom: 50px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .service-card:nth-child(odd),
    .service-card:nth-child(even) {
        min-height: auto;
        padding: 28px 0 34px;
        border-right: 0;
    }

    .service-number {
        margin-bottom: 30px;
    }
}
.service-card:last-child {
    grid-column: 1 / -1;
    border-right: 0;
    padding-right: 0;
}

.service-card:last-child p {
    max-width: 720px;
}
/* =========================
   CONTACT PAGE
========================= */

.contact-photo {
    max-width: 400px;
}

.contact-photo img {
    display: block;
    width: 100%;
    height: auto;
}
.contact-main {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: start;
}

.contact-about {
    display: grid;
    gap: 24px;
}

.contact-about-text h2 {
    margin: 12px 0 8px;
}

.contact-role {
    margin-bottom: 28px;
    color: rgba(255,255,255,.55);
    font-size: 14px;
    letter-spacing: .08em;
}

.contact-about-text > p:not(.section-label):not(.contact-role) {
    line-height: 1.7;
    color: rgba(255,255,255,.65);
}

.contact-details {
    margin-top: 40px;
}

@media (max-width: 760px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-photo {
        max-width: 100%;
    }
}
/* CONTACT FORM */

.contact-form {
    margin-top: 55px;
}

.form-row {
    margin-bottom: 28px;
}

.form-row label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    color: rgba(255,255,255,.55);
}

.form-row label span {
    font-weight: 400;
    color: rgba(255,255,255,.30);
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.20);
    border-radius: 0;
    outline: none;
    background: transparent;
    color: #fff;
    font: inherit;
    transition: border-color .2s ease;
}

.form-row textarea {
    min-height: 130px;
    resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
    border-bottom-color: rgba(255,255,255,.75);
}

.contact-submit {
    margin-top: 8px;
    padding: 15px 24px;
    border: 1px solid rgba(255,255,255,.45);
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    cursor: pointer;
    transition:
        background .2s ease,
        color .2s ease;
}

.contact-submit:hover {
    background: #fff;
    color: #111;
}
/* EXPERIENCE TAGS */

.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.experience-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.16);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .06em;
    color: rgba(255,255,255,.62);
    white-space: nowrap;
}
.contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
/* SERVICE DETAIL */

.service-detail {
    border-top: 1px solid rgba(255,255,255,.10);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
    align-items: center;
}

.service-detail-content {
    max-width: 520px;
}

.service-detail-content h2 {
    margin: 14px 0 24px;
    font-size: clamp(34px, 4vw, 58px);
    line-height: .98;
}

.service-lead {
    margin-bottom: 22px;
    font-size: 18px;
    line-height: 1.55;
    color: rgba(255,255,255,.82);
}

.service-detail-content > p:not(.section-label):not(.service-lead) {
    max-width: 520px;
    line-height: 1.75;
    color: rgba(255,255,255,.58);
}

.service-detail-visual {
    min-width: 0;
}

.service-visual-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 470px;
    border: 1px solid rgba(255,255,255,.12);
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.025),
            rgba(255,255,255,.005)
        );
    font-size: 11px;
    letter-spacing: .12em;
    color: rgba(255,255,255,.28);
}

@media (max-width: 800px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .service-detail-visual {
        order: 2;
    }

    .service-visual-placeholder {
        min-height: 320px;
    }
}
.service-detail-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}
/* REVERSE ENGINEERING */

.service-detail-reverse {
    padding: 110px 0;
    background: rgba(255,255,255,.025);
}

.service-detail-reverse .service-detail-grid {
    grid-template-columns: 1.1fr 0.9fr;
}

.service-detail-reverse .service-detail-content h2 {
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.08;
}

.service-detail-reverse .service-detail-content > p {
    margin-bottom: 20px;
}

.service-translation {
    margin: -8px 0 16px !important;
    font-size: 12px;
    letter-spacing: .08em;
    color: rgba(255,255,255,.45) !important;
}

@media (max-width: 800px) {
    .service-detail-reverse {
        padding: 75px 0;
    }

    .service-detail-reverse .service-detail-grid {
        grid-template-columns: 1fr;
    }
}
/* REVERSE ENGINEERING PROCESS */

.reverse-section {
    padding: 110px 0;
    border-top: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.025);
}

.reverse-intro {
    max-width: 850px;
    margin-bottom: 65px;
}

.reverse-intro h2 {
    margin: 14px 0 28px;
    font-size: clamp(36px, 4.5vw, 64px);
    line-height: 1;
    letter-spacing: -.03em;
}

.reverse-intro > p:not(.section-label) {
    max-width: 760px;
    line-height: 1.7;
}

.reverse-intro > p:not(.section-label):not(.service-lead) {
    color: rgba(255,255,255,.62);
}

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

.reverse-step {
    position: relative;
    min-width: 0;
}

.reverse-step img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    background: #17191b;
}

.reverse-step span {
    display: block;
    margin-top: 15px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .07em;
    color: rgba(255,255,255,.70);
}

.reverse-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 35%;
    right: -20px;
    z-index: 2;
    color: rgba(255,255,255,.65);
    font-size: 22px;
}

@media (max-width: 800px) {
    .reverse-section {
        padding: 75px 0;
    }

    .reverse-process {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .reverse-step:not(:last-child)::after {
        content: "↓";
        top: auto;
        right: 50%;
        bottom: -35px;
        transform: translateX(50%);
    }
}
/* REVERSE ENGINEERING - TWO COLUMN INTRO */

.reverse-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: none;
    align-items: start;
}

.reverse-heading h2 {
    margin-bottom: 0;
}

.reverse-description {
    padding-top: 35px;
}

.reverse-description .service-lead {
    margin-bottom: 22px;
}

.reverse-description > p:not(.service-lead) {
    color: rgba(255,255,255,.62);
    line-height: 1.75;
}

@media (max-width: 800px) {
    .reverse-intro {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .reverse-description {
        padding-top: 0;
    }
}
/* REVERSE ENGINEERING - FINAL ALIGNMENT */

.reverse-process {
    gap: 30px;
}

.reverse-step:not(:last-child)::after {
    right: -24px;
    top: 45%;
    font-size: 18px;
}

.reverse-description {
    padding-top: 12px;
}

@media (max-width: 800px) {
    .reverse-process {
        gap: 42px;
    }

    .reverse-step:not(:last-child)::after {
        top: auto;
        right: 50%;
        bottom: -35px;
    }

    .reverse-description {
        padding-top: 0;
    }
}
/* 03 / SKANOWANIE 3D */

.service-detail-scan {
    padding: 110px 0;
    background: #101213;
    border-top: 1px solid rgba(255,255,255,.10);
}

.service-detail-scan .service-detail-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 65px;
}

.service-detail-scan .service-detail-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.service-detail-scan .service-detail-content h2 {
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.08;
}

@media (max-width: 800px) {
    .service-detail-scan {
        padding: 75px 0;
    }

    .service-detail-scan .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}
/* 04 / DRUK 3D */

.service-detail-print {
    padding: 110px 0;
    background: rgba(255,255,255,.025);
    border-top: 1px solid rgba(255,255,255,.10);
}

.service-detail-print .service-detail-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
}

.service-detail-print .service-detail-content h2 {
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.08;
}

.service-detail-print .service-detail-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: contain;
}

@media (max-width: 800px) {
    .service-detail-print {
        padding: 75px 0;
    }

    .service-detail-print .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}
/* 05 / OBRÓBKA CNC */

.service-detail-cnc {
    padding: 110px 0;
    border-top: 1px solid rgba(255,255,255,.10);
}

.service-detail-cnc .service-detail-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
    align-items: center;
}

.service-detail-cnc .service-detail-content {
    grid-column: 2;
    grid-row: 1;
}

.service-detail-cnc .service-detail-visual {
    grid-column: 1;
    grid-row: 1;
}

.service-detail-cnc .service-detail-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: contain;
}

@media (max-width: 800px) {
    .service-detail-cnc {
        padding: 75px 0;
    }

    .service-detail-cnc .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .service-detail-cnc .service-detail-content,
    .service-detail-cnc .service-detail-visual {
        grid-column: 1;
        grid-row: auto;
    }
}
/* =========================================
   WOOCOMMERCE — JS CONCEPT DESIGN
   ========================================= */

.jscd-shop {
    padding: 150px 0 110px;
    min-height: 65vh;
}

.jscd-shop .woocommerce-products-header {
    margin-bottom: 45px;
}

.jscd-shop .woocommerce-products-header__title {
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
}

/* Komunikaty WooCommerce */

.jscd-shop .woocommerce-info,
.jscd-shop .woocommerce-message,
.jscd-shop .woocommerce-error {
    background: rgba(255,255,255,.04);
    color: #fff;
    border-top: 2px solid rgba(255,255,255,.3);
    padding: 24px 30px;
}

@media (max-width: 800px) {
    .jscd-shop {
        padding: 125px 0 75px;
    }
}
