/* ==========================================================================
   projektowniadrog.pl — prototyp Hero 3D
   Design tokens wynikające z logo (charcoal + signal orange)
   ========================================================================== */

:root {
    /* Colors */
    --color-primary: #2B2B2B;
    --color-primary-muted: #4A4A4A;
    --color-accent: #E97F24;
    --color-accent-dark: #C56510;
    --color-accent-light: #FFF3E6;
    --color-bg: #FAFAF8;
    --color-bg-alt: #F2F2EE;
    --color-surface: #E8E8E4;
    --color-border: #D4D4D0;
    --color-text-secondary: #6B6B6B;
    --color-text-muted: #8A8A85;

    /* Typography */
    --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

    /* Layout */
    --max-width: 1320px;
    --nav-height: 76px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-primary);
    background: var(--color-bg);
    overflow-x: hidden;
    text-align: justify;
    text-justify: inter-word;
}

/* Justify exceptions: headings, nav, buttons, centered/short-text elements */
h1, h2, h3, h4, h5, h6,
.nav, .nav__menu, .nav__dropdown,
.btn, .hero__cta, .hero__eyebrow,
.hero__title, .hero__realization-text,
.section-header--center,
.stat-card, .stats-strip,
.manifest__text,
.service-item__footer,
.process-step__content,
.process-step__content p,
.audience-card,
.bundle-card,
.spec-form__progress,
.spec-success,
.site-footer,
.site-footer__bottom,
.cta-strip {
    text-align: left;
}

.section-header--center,
.manifest__text,
.hero__realization-text,
.spec-success,
.stat-card,
.process-step__content,
.process-step__content p,
.cta-strip {
    text-align: center;
}

/* Text selection */
::selection {
    background: var(--color-accent);
    color: #FFFFFF;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 10px;
    border: 2px solid var(--color-bg);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

/* Focus states */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
    border-radius: 2px;
}

/* ==========================================================================
   Custom CAD cursor (desktop only)
   ========================================================================== */

.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
}

.cursor__crosshair {
    position: absolute;
    width: 32px;
    height: 32px;
    transform: translate(-50%, -50%);
    transition: width 0.25s, height 0.25s, opacity 0.25s;
}

.cursor__crosshair::before,
.cursor__crosshair::after {
    content: '';
    position: absolute;
    background: var(--color-accent);
    transition: background 0.25s;
}

.cursor__crosshair::before {
    width: 100%;
    height: 1px;
    top: 50%;
    left: 0;
}

.cursor__crosshair::after {
    width: 1px;
    height: 100%;
    left: 50%;
    top: 0;
}

/* small dot in the middle */
.cursor__crosshair > div {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.cursor__coords {
    position: absolute;
    left: 22px;
    top: 22px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    color: var(--color-accent);
    letter-spacing: 0.08em;
    white-space: nowrap;
    text-transform: uppercase;
    opacity: 0.75;
}

.cursor.cursor--hover .cursor__crosshair {
    width: 48px;
    height: 48px;
}

.cursor.cursor--hover .cursor__crosshair::before,
.cursor.cursor--hover .cursor__crosshair::after {
    background: var(--color-accent-dark);
}

/* Hide native cursor on desktop */
@media (hover: hover) and (pointer: fine) {
    body {
        cursor: none;
    }
    a, button, input, textarea, select {
        cursor: none;
    }
}

@media (hover: none) or (pointer: coarse) {
    .cursor {
        display: none;
    }
}

/* ==========================================================================
   Scroll progress bar
   ========================================================================== */

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--color-accent);
    z-index: 1000;
    will-change: width;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    background: rgba(250, 250, 248, 0.92);
    border-bottom: 1px solid var(--color-border);
    opacity: 0;
    transform: translateY(-100%);
    animation: navSlideIn 0.8s 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes navSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav.nav--scrolled {
    background: rgba(250, 250, 248, 0.92);
    box-shadow: 0 1px 20px rgba(43, 43, 43, 0.05);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-primary);
}

.nav__logo-img {
    height: 38px;
    width: auto;
}

.nav__logo-text {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 14px;
    letter-spacing: -0.01em;
    color: var(--color-primary);
}

.nav__logo-text strong {
    font-weight: 700;
    color: var(--color-accent);
}

.nav__menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav__menu li {
    position: relative;
}

.nav__menu-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    position: relative;
    padding: 26px 0;
    transition: color 0.3s;
}

.nav__menu-link::after {
    content: '';
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 20px;
    height: 1.5px;
    background: var(--color-accent);
    transition: left 0.4s cubic-bezier(0.22, 1, 0.36, 1), right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav__menu-link:hover {
    color: var(--color-accent);
}

.nav__menu-link:hover::after {
    left: 0;
    right: 0;
}

.nav__menu-chevron {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav__has-dropdown:hover .nav__menu-chevron {
    transform: rotate(180deg);
}

/* ==========================================================================
   Nav dropdown (Usługi)
   ========================================================================== */

.nav__dropdown {
    position: absolute;
    top: calc(100% - 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: 680px;
    background: #FFFFFF;
    border: 1px solid #D4D4D0;
    border-top: 3px solid var(--color-accent);
    border-radius: 0 0 8px 8px;
    box-shadow:
        0 40px 80px rgba(43, 43, 43, 0.18),
        0 20px 40px rgba(43, 43, 43, 0.12),
        0 8px 16px rgba(43, 43, 43, 0.06);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 110;
    overflow: hidden;
}

.nav__dropdown::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74, 74, 74, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 74, 74, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.nav__has-dropdown:hover .nav__dropdown,
.nav__has-dropdown:focus-within .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav__dropdown-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0;
    position: relative;
    z-index: 1;
}

.nav__dropdown-head {
    padding: 32px 28px;
    background: var(--color-bg-alt);
    border-right: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.nav__dropdown-eyebrow {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.nav__dropdown-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-primary);
    margin: 0 0 24px;
}

.nav__dropdown-all {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    margin-top: auto;
    transition: letter-spacing 0.3s;
    letter-spacing: 0.02em;
}

.nav__dropdown-all:hover {
    letter-spacing: 0.06em;
}

.nav__dropdown-list {
    list-style: none;
    padding: 12px 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.nav__dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 24px;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 2px solid transparent;
}

.nav__dropdown-item:hover {
    background: rgba(233, 127, 36, 0.04);
    border-left-color: var(--color-accent);
    padding-left: 26px;
}

.nav__dropdown-num {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    padding-top: 3px;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.nav__dropdown-item:hover .nav__dropdown-num {
    transform: translateX(-2px);
}

.nav__dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.nav__dropdown-name {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: -0.01em;
    transition: color 0.3s;
}

.nav__dropdown-item:hover .nav__dropdown-name {
    color: var(--color-accent);
}

.nav__dropdown-desc {
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.45;
    color: var(--color-text-secondary);
}

@media (max-width: 1024px) {
    .nav__dropdown {
        width: 540px;
    }
}

@media (max-width: 768px) {
    .nav__dropdown {
        display: none;
    }
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.nav__phone:hover {
    color: var(--color-accent);
}

.nav__phone svg {
    color: var(--color-accent);
}

.nav__cta {
    padding: 12px 22px;
    background: var(--color-primary);
    color: var(--color-bg);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 3px;
    transition: all 0.3s;
}

.nav__cta:hover {
    background: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(233, 127, 36, 0.25);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--color-bg);
}

/* (Three.js canvas styles removed — hero is now SVG-based) */

.blueprint__line {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: drawLine 1.4s cubic-bezier(0.65, 0, 0.35, 1) 0.4s forwards;
}

.blueprint__line--edge:nth-of-type(2) {
    animation-delay: 0.65s;
}

.blueprint__line--center {
    animation-delay: 0.95s;
    animation-duration: 1.2s;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.blueprint__dims g,
.blueprint__annot text {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.blueprint__dims g:nth-child(1) { animation-delay: 1.8s; }
.blueprint__dims g:nth-child(2) { animation-delay: 1.95s; }
.blueprint__dims g:nth-child(3) { animation-delay: 2.1s; }

.blueprint__annot text:nth-child(1) { animation-delay: 1.0s; }
.blueprint__annot text:nth-child(2) { animation-delay: 1.15s; }
.blueprint__annot text:nth-child(3) { animation-delay: 1.3s; }
.blueprint__annot text:nth-child(4) { animation-delay: 1.45s; }
.blueprint__annot text:nth-child(5) { animation-delay: 1.6s; }
.blueprint__annot text:nth-child(6) { animation-delay: 1.75s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Hero content overlay — text sits on left half */
.hero__content {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    pointer-events: none;
    will-change: opacity, transform;
}

.hero__content > * {
    pointer-events: auto;
}

.hero__content-inner {
    padding: 0 48px;
    width: 100%;
    max-width: 620px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(250, 250, 248, 0.8);
    padding: 10px 18px;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    margin-top: 48px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__eyebrow-dot {
    width: 8px;
    height: 8px;
    background: #4A9B5C;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 0 0 rgba(74, 155, 92, 0.5);
    animation: pulseDot 2.4s infinite;
}

@keyframes pulseDot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(74, 155, 92, 0.5);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(74, 155, 92, 0);
    }
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(28px, 3.6vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-top: 20px;
    max-width: 520px;
}

.hero__title-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
}

.hero__title-line > span {
    display: block;
    transform: translateY(110%);
    will-change: transform;
    animation: revealLine 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__title-line:nth-child(1) > span { animation-delay: 2.4s; }
.hero__title-line:nth-child(2) > span { animation-delay: 2.55s; }
.hero__title-line:nth-child(3) > span { animation-delay: 2.7s; }

.hero__title-line--accent > span {
    color: var(--color-accent);
    font-weight: 700;
    font-style: italic;
}

@keyframes revealLine {
    to {
        transform: translateY(0);
    }
}

.hero__subtitle {
    margin-top: 32px;
    font-size: 18px;
    line-height: 1.55;
    color: var(--color-text-secondary);
    max-width: 560px;
    opacity: 0;
    animation: fadeUp 0.8s 3.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

.hero__cta {
    display: flex;
    gap: 14px;
    margin-top: 44px;
    opacity: 0;
    animation: fadeUp 0.8s 3.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    flex-wrap: wrap;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 30px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn--primary {
    background: var(--color-accent);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(233, 127, 36, 0.2);
}

.btn--primary svg {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn--primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(233, 127, 36, 0.35);
}

.btn--primary:hover svg {
    transform: translateX(4px);
}

.btn--secondary {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-border);
}

.btn--secondary:hover {
    background: var(--color-primary);
    color: var(--color-bg);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   Hero stats strip
   ========================================================================== */

.hero__stats {
    position: absolute;
    bottom: 40px;
    left: 48px;
    right: 48px;
    max-width: calc(var(--max-width) - 96px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    z-index: 10;
    opacity: 0;
    animation: fadeUp 0.8s 3.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat__value {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--font-display);
}

.stat__number {
    font-weight: 700;
    font-size: 56px;
    line-height: 1;
    color: var(--color-primary);
    letter-spacing: -0.025em;
}

.stat__suffix {
    font-weight: 500;
    font-size: 32px;
    color: var(--color-accent);
    line-height: 1;
}

.stat__suffix--unit {
    font-size: 22px;
    color: var(--color-text-secondary);
    margin-left: 4px;
}

.stat__prefix {
    font-weight: 500;
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-right: 4px;
    letter-spacing: 0;
    text-transform: lowercase;
}

.stat__label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

/* ==========================================================================
   Scroll indicator
   ========================================================================== */

.hero__scroll {
    position: absolute;
    right: 48px;
    top: 50%;
    display: flex;
    align-items: center;
    gap: 18px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--color-text-secondary);
    transform: translateY(-50%) rotate(90deg);
    transform-origin: right center;
    opacity: 0;
    animation: fadeIn 0.8s 4s ease forwards;
    z-index: 10;
}

.hero__scroll-line {
    width: 72px;
    height: 1px;
    background: var(--color-border);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line span {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 100%;
    background: var(--color-accent);
    transform: translateX(-24px);
    animation: scrollIndicator 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
    will-change: transform;
}

@keyframes scrollIndicator {
    0% { transform: translateX(-24px); }
    100% { transform: translateX(72px); }
}

/* ==========================================================================
   Manifest section
   ========================================================================== */

.manifest {
    padding: 180px 48px;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.manifest::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74, 74, 74, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 74, 74, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
}

.manifest__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.manifest__label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--color-accent);
    margin-bottom: 44px;
    text-transform: uppercase;
}

.manifest__text {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(26px, 4vw, 56px);
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--color-primary);
    max-width: 1080px;
}

.manifest__text mark {
    background: linear-gradient(transparent 62%, rgba(233, 127, 36, 0.35) 62%, rgba(233, 127, 36, 0.35) 92%, transparent 92%);
    color: var(--color-primary);
    padding: 0 4px;
    font-weight: 700;
    font-style: italic;
}

.manifest__footer {
    margin-top: 80px;
    display: flex;
    justify-content: flex-start;
}

.manifest__sign {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-text-secondary);
    text-transform: uppercase;
}

.manifest__sign-line {
    width: 60px;
    height: 1px;
    background: var(--color-accent);
}

/* ==========================================================================
   Contact teaser
   ========================================================================== */

.contact {
    padding: 140px 48px 120px;
    background: var(--color-primary);
    color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.contact__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact__label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--color-accent);
    margin-bottom: 36px;
    text-transform: uppercase;
}

.contact__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(40px, 6vw, 88px);
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: var(--color-bg);
    max-width: 1000px;
}

.contact__title-accent {
    color: var(--color-accent);
    font-style: italic;
    font-weight: 700;
}

.contact__desc {
    margin-top: 24px;
    font-size: 18px;
    color: rgba(250, 250, 248, 0.65);
    max-width: 600px;
}

.contact__grid {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact__card {
    display: flex;
    align-items: center;
    padding: 36px 40px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    text-decoration: none;
    color: var(--color-bg);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.contact__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-accent);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
}

.contact__card:hover::before {
    transform: translateY(0);
}

.contact__card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.contact__card > * {
    position: relative;
    z-index: 1;
}

.contact__card-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    transition: color 0.3s;
    flex-shrink: 0;
    width: 110px;
}

.contact__card:hover .contact__card-label {
    color: var(--color-primary);
}

.contact__card-value {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 600;
    letter-spacing: -0.01em;
    flex: 1;
    transition: color 0.3s;
}

.contact__card:hover .contact__card-value {
    color: var(--color-primary);
}

.contact__card-arrow {
    opacity: 0.4;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    flex-shrink: 0;
}

.contact__card:hover .contact__card-arrow {
    opacity: 1;
    transform: translateX(6px) rotate(-45deg);
    color: var(--color-primary);
}

.contact__footer {
    margin-top: 80px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: rgba(250, 250, 248, 0.4);
    text-transform: uppercase;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .nav {
        padding: 0 32px;
    }
    .hero__content {
        padding-left: 32px;
        padding-right: 32px;
    }
    .hero__stats {
        left: 32px;
        right: 32px;
        gap: 32px;
    }
    .stat__number {
        font-size: 44px;
    }
    .stat__suffix {
        font-size: 26px;
    }
    .manifest,
    .contact {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }
    a, button {
        cursor: pointer;
    }
    .nav {
        height: 64px;
        padding: 0 20px;
    }
    .nav__menu {
        display: none;
    }
    .nav__phone {
        display: none;
    }
    .nav__logo-img {
        height: 32px;
    }
    .nav__logo-text {
        display: none;
    }
    .hero {
        min-height: auto;
        padding-top: calc(var(--nav-height) + 40px);
        padding-bottom: 40px;
    }
    .hero__content {
        padding: 40px 20px 40px;
    }
    .hero__title {
        margin-top: 20px;
    }
    .hero__subtitle {
        font-size: 16px;
        margin-top: 24px;
    }
    .hero__cta {
        margin-top: 32px;
    }
    .btn {
        padding: 16px 24px;
        font-size: 14px;
    }
    .hero__stats {
        position: static;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 20px;
        margin: 48px 20px 0;
        padding-top: 24px;
    }
    .stat__number {
        font-size: 38px;
    }
    .stat__suffix {
        font-size: 22px;
    }
    .hero__scroll {
        display: none;
    }
    .manifest {
        padding: 80px 20px;
    }
    .manifest__footer {
        margin-top: 48px;
    }
    .contact {
        padding: 80px 20px;
    }
    .contact__grid {
        grid-template-columns: 1fr;
        margin-top: 48px;
    }
    .contact__card {
        padding: 24px 24px;
        flex-wrap: wrap;
        gap: 12px;
    }
    .contact__card-label {
        width: auto;
    }
    .contact__card-value {
        font-size: 18px;
        width: 100%;
    }
    .contact__footer {
        margin-top: 48px;
    }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .hero__title-line > span {
        transform: none;
    }

    .blueprint__line {
        stroke-dashoffset: 0;
    }

    .hero__canvas {
        opacity: 1;
    }

    .hero__blueprint {
        opacity: 0.1;
    }
}

/* ==========================================================================
   HERO — SVG Blueprint → Realization (scroll-driven)
   ========================================================================== */

.hero {
    position: relative;
    width: 100%;
    background: var(--color-bg);
}

.hero__stage {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

/* Step indicator (top-left, tucked under nav) */
.hero__step {
    position: absolute;
    left: 48px;
    top: calc(var(--nav-height) + 16px);
    z-index: 20;
    display: flex;
    gap: 24px;
}

.hero__step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    transition: color 0.4s, opacity 0.4s;
}

/* Hide inactive step in phase 1 */
.hero__step-item:not(.hero__step-item--active) {
    opacity: 0;
}

.hero__step-num {
    font-weight: 600;
    transition: color 0.4s;
}

.hero__step-label {
    white-space: nowrap;
    opacity: 0.6;
    transition: opacity 0.4s;
}

.hero__step-bar {
    display: block;
    width: 32px;
    height: 1px;
    background: var(--color-border);
    position: relative;
    overflow: hidden;
    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__step-bar span {
    position: absolute;
    inset: 0;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__step-item--active {
    color: var(--color-primary);
}

.hero__step-item--active .hero__step-num {
    color: var(--color-accent);
}

.hero__step-item--active .hero__step-label {
    opacity: 1;
}

.hero__step-item--active .hero__step-bar {
    width: 56px;
}

.hero__step-item--active .hero__step-bar span {
    transform: scaleX(1);
}

/* Light mode for step indicator when realization is showing */
.hero__step--light .hero__step-item {
    color: rgba(255, 255, 255, 0.7);
}

.hero__step--light .hero__step-item--active {
    color: #FFFFFF;
}

.hero__step--light .hero__step-item--active .hero__step-num {
    color: var(--color-accent);
}

.hero__step--light .hero__step-bar {
    background: rgba(255, 255, 255, 0.2);
}

/* Blueprint layer — right-aligned, below nav */
.hero__blueprint-layer {
    position: absolute;
    top: calc(var(--nav-height) + 8px);
    right: 0;
    bottom: 16px;
    left: 35%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__project-img {
    display: none;  /* Not used — SVG is the drawing */
}

.hero-svg {
    width: 100%;
    height: 100%;
    max-height: calc(100vh - var(--nav-height) - 30px);
}

.hero-svg--overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

/* Realization layer (scroll-triggered) */
.hero__realization-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    will-change: opacity;
    overflow: hidden;
}

.hero__realization-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.85) contrast(1.08);
}

.hero__realization-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(43, 43, 43, 0.5) 0%,
            rgba(43, 43, 43, 0.2) 40%,
            rgba(43, 43, 43, 0.5) 100%),
        radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.4) 100%);
}

.hero__realization-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    max-width: 800px;
    padding: 0 40px;
}

.hero__realization-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--color-accent);
    text-transform: uppercase;
    padding: 8px 18px;
    border: 1px solid var(--color-accent);
    border-radius: 100px;
    margin-bottom: 28px;
}

.hero__realization-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(36px, 5.8vw, 76px);
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero__realization-title em {
    color: var(--color-accent);
    font-style: italic;
    font-weight: 700;
}

.hero__realization-caption {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

/* ==========================================================================
   Chapters system
   ========================================================================== */

.chapters {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
}

.chapter {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    pointer-events: none;
    will-change: opacity, transform;
}

.chapter__inner {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 48px;
    pointer-events: auto;
}

.chapter__inner--center {
    text-align: center;
    max-width: 900px;
}

/* Chapter 2 content sits ABOVE the laptop, not over it */
.chapter--2 {
    align-items: flex-start;
    padding-top: calc(var(--nav-height) + 24px);
}

.chapter__inner--ch2 {
    max-width: 680px;
}

.chapter__inner--ch2 .chapter__title {
    font-size: clamp(24px, 3.4vw, 42px);
    line-height: 1.1;
    text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.chapter__inner--ch2 .chapter__desc {
    font-size: 15px;
    max-width: 540px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

/* Chapter 3 content sits high, above the road */
.chapter--3 {
    align-items: flex-start;
    padding-top: calc(var(--nav-height) + 60px);
}

.chapter__inner--ch3 {
    max-width: 900px;
    position: relative;
}

/* Dark gradient behind ch3 text for readability */
.chapter__inner--ch3::before {
    content: '';
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 55%;
    background: linear-gradient(180deg,
        rgba(20, 10, 5, 0.7) 0%,
        rgba(20, 10, 5, 0.4) 70%,
        transparent 100%);
    z-index: -1;
    pointer-events: none;
}

.chapter--2, .chapter--3 {
    opacity: 0;
}

.chapter__label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--color-accent);
    text-transform: uppercase;
    padding: 8px 18px;
    border: 1px solid var(--color-accent);
    border-radius: 100px;
    margin-bottom: 32px;
}

.chapter__label--light {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.chapter__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(36px, 5.8vw, 82px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-primary);
    max-width: 900px;
    margin: 0 auto;
}

.chapter__title em {
    color: var(--color-accent);
    font-style: italic;
    font-weight: 700;
}

.chapter__title--light {
    color: #FFFFFF;
    text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.chapter__desc {
    margin-top: 28px;
    font-family: var(--font-body);
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.55;
    color: var(--color-text-secondary);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.chapter__desc--light {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* ==========================================================================
   Laptop chrome (chapter 2) — frame + CAD UI around the same 3D scene
   ========================================================================== */

.laptop {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    will-change: opacity, transform;
    padding: 0 48px;
}

.laptop__body {
    position: relative;
    width: 56vw;
    max-width: 1060px;
    aspect-ratio: 16 / 10;
    background: transparent;
    border: 12px solid #080808;
    border-radius: 16px 16px 3px 3px;
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.1) inset,
        0 0 0 1px rgba(255,255,255,0.04) inset,
        0 60px 120px rgba(0,0,0,0.55),
        0 30px 60px rgba(0,0,0,0.35),
        0 10px 20px rgba(233,127,36,0.06);
    margin-top: -4vh;
    font-family: var(--font-mono);
    color: #d8d8d8;
    font-size: 11px;
}

.laptop__camera {
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: #222;
    border-radius: 50%;
    z-index: 2;
}

/* Title bar (macOS-like) */
.laptop__titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    background: linear-gradient(180deg, #1e1e1e 0%, #161616 100%);
    border-bottom: 1px solid #2a2a2a;
    border-radius: 4px 4px 0 0;
    position: relative;
    z-index: 3;
}

.laptop__traffic {
    display: flex;
    gap: 8px;
}

.laptop__traffic span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
}

.laptop__traffic span:nth-child(1) { background: #ff5f56; }
.laptop__traffic span:nth-child(2) { background: #ffbd2e; }
.laptop__traffic span:nth-child(3) { background: #27c93f; }

.laptop__title {
    color: #8a8a8a;
    font-size: 11px;
    letter-spacing: 0.02em;
    flex: 1;
    text-align: center;
    font-weight: 500;
    padding: 0 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.laptop__window-ctrl {
    width: 62px;
}

/* Menu bar */
.laptop__menu {
    display: flex;
    gap: 18px;
    padding: 6px 16px;
    background: #1a1a1a;
    border-bottom: 1px solid #2a2a2a;
    color: #a0a0a0;
    font-size: 11px;
    font-weight: 500;
    z-index: 3;
}

.laptop__menu span {
    cursor: default;
}

/* Toolbar */
.laptop__toolbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: #161616;
    border-bottom: 1px solid #2a2a2a;
    z-index: 3;
}

.laptop__tool {
    width: 22px;
    height: 22px;
    background: linear-gradient(180deg, #2c2c2c 0%, #1e1e1e 100%);
    border: 1px solid #333;
    border-radius: 2px;
}

.laptop__tool-sep {
    width: 1px;
    height: 18px;
    background: #333;
    margin: 0 6px;
}

.laptop__layers {
    margin-left: auto;
    color: #E97F24;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Viewport cutout — empty "hole" through which 3D scene shows */
.laptop__viewport {
    background: transparent;
    min-height: 0;
    position: relative;
}

/* Subtle crosshair overlay in viewport center (like CAD cursor) */
.laptop__viewport::before,
.laptop__viewport::after {
    content: '';
    position: absolute;
    background: rgba(233, 127, 36, 0.4);
    pointer-events: none;
}
.laptop__viewport::before {
    left: 50%;
    top: 50%;
    width: 1px;
    height: 32px;
    transform: translate(-50%, -50%);
}
.laptop__viewport::after {
    left: 50%;
    top: 50%;
    width: 32px;
    height: 1px;
    transform: translate(-50%, -50%);
}

/* Command bar */
.laptop__command {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: #0f0f0f;
    border-top: 1px solid #1f1f1f;
    font-size: 11px;
    border-radius: 0 0 2px 2px;
    z-index: 3;
}

.laptop__command-prompt {
    color: #666;
}

.laptop__command-txt {
    color: #E97F24;
    font-weight: 500;
}

.laptop__coords {
    margin-left: auto;
    color: #666;
    letter-spacing: 0.05em;
}

/* Laptop base (bottom strip suggesting keyboard area) */
.laptop__base {
    position: relative;
    width: 62vw;
    max-width: 1180px;
    height: 14px;
    margin-top: -1px;
    background: linear-gradient(180deg, #1a1a1a 0%, #080808 100%);
    border-radius: 0 0 10px 10px;
    box-shadow:
        0 30px 60px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

.laptop__hinge {
    position: absolute;
    top: -2px;
    left: 46%;
    right: 46%;
    height: 2px;
    background: #2a2a2a;
    border-radius: 2px;
}

/* ==========================================================================
   Finale scene overlay (chapter 3) — sunset backdrop behind Three.js scene
   ========================================================================== */

.finale-scene {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    will-change: opacity;
    overflow: hidden;
    background: #1a1414;
    pointer-events: none;
}

.finale-scene__sky {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            #1a1428 0%,
            #2d1e2f 15%,
            #5a2a2a 30%,
            #8a3e20 44%,
            #c86a28 55%,
            #e89a3c 62%,
            #f0c060 66%,
            #6b4a2b 72%,
            #1a0f08 100%);
}

.finale-scene__sun {
    position: absolute;
    left: 50%;
    top: 52%;
    width: 320px;
    height: 320px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle,
        rgba(255, 230, 180, 0.9) 0%,
        rgba(255, 180, 80, 0.4) 20%,
        rgba(233, 127, 36, 0.2) 40%,
        transparent 70%);
    filter: blur(16px);
    pointer-events: none;
    animation: finaleSunPulse 6s ease-in-out infinite;
}

@keyframes finaleSunPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.9; }
    50% { transform: translate(-50%, -50%) scale(1.06); opacity: 1; }
}

.finale-scene__road {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.finale-scene__road-surface {
    filter: drop-shadow(0 -20px 40px rgba(233, 127, 36, 0.2));
}

.finale-scene__horizon-glow {
    position: absolute;
    left: 0;
    right: 0;
    top: 53%;
    height: 80px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(233, 127, 36, 0.3) 30%,
        rgba(255, 200, 100, 0.5) 50%,
        rgba(233, 127, 36, 0.3) 70%,
        transparent 100%);
    filter: blur(8px);
    pointer-events: none;
}

.finale-scene__grain {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

.finale-scene__vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
}

/* ==========================================================================
   STATS STRIP (pod hero)
   ========================================================================== */

.stats-strip {
    padding: 100px 48px 120px;
    background: var(--color-bg);
    position: relative;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74, 74, 74, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 74, 74, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
    pointer-events: none;
}

.stats-strip__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stats-strip__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.stats-strip__line {
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: var(--color-accent);
    opacity: 0.5;
}

.stats-strip__label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--color-accent);
    text-transform: uppercase;
    white-space: nowrap;
}

.stats-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-bg);
}

.stat-card {
    padding: 48px 40px;
    border-right: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    transition: background 0.4s;
    overflow: hidden;
}

.stat-card:last-child {
    border-right: none;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.stat-card:hover {
    background: rgba(233, 127, 36, 0.03);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card__value {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(44px, 5.5vw, 76px);
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--color-primary);
}

.stat-card__suffix {
    color: var(--color-accent);
    font-weight: 500;
    font-size: 0.55em;
    margin-left: 4px;
}

.stat-card__suffix--unit {
    color: var(--color-text-secondary);
    font-size: 0.42em;
    font-weight: 500;
}

.stat-card__prefix {
    font-family: var(--font-display);
    font-size: 0.5em;
    font-weight: 500;
    color: var(--color-accent);
    margin-right: 2px;
    align-self: baseline;
}

.stat-card__label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-top: 12px;
}

.stat-card__note {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin-top: 6px;
}

@media (max-width: 1024px) {
    .stats-strip {
        padding: 80px 32px 100px;
    }
    .stats-strip__grid {
        grid-template-columns: 1fr 1fr;
    }
    .stat-card {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }
    .stat-card:nth-child(odd) {
        border-right: 1px solid var(--color-border);
    }
    .stat-card:last-child,
    .stat-card:nth-last-child(2) {
        border-bottom: none;
    }
    .laptop__body {
        width: 72vw;
    }
    .laptop__base {
        width: 78vw;
    }
}

@media (max-width: 768px) {
    .stats-strip {
        padding: 60px 20px 80px;
    }
    .stats-strip__grid {
        grid-template-columns: 1fr;
    }
    .stat-card {
        padding: 36px 28px;
        border-right: none !important;
        border-bottom: 1px solid var(--color-border);
    }
    .stat-card:last-child {
        border-bottom: none;
    }
}

/* ==========================================================================
   Chapter nav (side rail)
   ========================================================================== */

.chapter-nav {
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 2px;
    pointer-events: auto;
}

.chapter-nav__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    text-decoration: none;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    transition: color 0.4s, gap 0.4s;
}

.chapter-nav__num {
    font-weight: 600;
    color: var(--color-text-muted);
    transition: color 0.4s;
}

.chapter-nav__label {
    white-space: nowrap;
    opacity: 0.6;
    transition: opacity 0.4s;
}

.chapter-nav__bar {
    display: block;
    width: 32px;
    height: 1px;
    background: var(--color-border);
    position: relative;
    overflow: hidden;
    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.chapter-nav__bar span {
    position: absolute;
    inset: 0;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.chapter-nav__item--active {
    color: var(--color-primary);
}

.chapter-nav__item--active .chapter-nav__num {
    color: var(--color-accent);
}

.chapter-nav__item--active .chapter-nav__label {
    opacity: 1;
}

.chapter-nav__item--active .chapter-nav__bar {
    width: 64px;
}

.chapter-nav__item--active .chapter-nav__bar span {
    transform: scaleX(1);
}

/* Chapter 2/3 dark backgrounds — nav flips to light */
.chapter-nav.chapter-nav--light .chapter-nav__item,
.chapter-nav.chapter-nav--dark .chapter-nav__item {
    color: rgba(255, 255, 255, 0.75);
}

.chapter-nav.chapter-nav--light .chapter-nav__num,
.chapter-nav.chapter-nav--dark .chapter-nav__num {
    color: rgba(255, 255, 255, 0.75);
}

.chapter-nav.chapter-nav--light .chapter-nav__label,
.chapter-nav.chapter-nav--dark .chapter-nav__label {
    opacity: 0.85;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.chapter-nav.chapter-nav--light .chapter-nav__item--active,
.chapter-nav.chapter-nav--dark .chapter-nav__item--active {
    color: #FFFFFF;
}

.chapter-nav.chapter-nav--light .chapter-nav__item--active .chapter-nav__label,
.chapter-nav.chapter-nav--dark .chapter-nav__item--active .chapter-nav__label {
    opacity: 1;
}

.chapter-nav.chapter-nav--light .chapter-nav__item--active .chapter-nav__num,
.chapter-nav.chapter-nav--dark .chapter-nav__item--active .chapter-nav__num {
    color: var(--color-accent);
}

.chapter-nav.chapter-nav--light .chapter-nav__bar,
.chapter-nav.chapter-nav--dark .chapter-nav__bar {
    background: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Scroll reveal animations
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveals inside a grid */
.services-timeline .service-item.reveal {
    transform: translateY(60px);
}

.service-item--in-view .service-item__dot {
    animation: dotPulseIn 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes dotPulseIn {
    0% { transform: scale(0); background: var(--color-accent); }
    60% { transform: scale(1.6); background: var(--color-accent); }
    100% { transform: scale(1); background: var(--color-bg); }
}

/* When timeline item is in view, the dot fills with accent */
.services-timeline--animated .service-item__dot {
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-item--in-view .service-item__card::before {
    color: var(--color-accent);
    transition: color 0.8s ease 0.2s;
}

/* Reveal sub-animations for reveals that trigger simultaneously */
.section-header.reveal {
    transform: translateY(30px);
}

.manifest__text.reveal mark {
    background-size: 0% 28%;
    background-repeat: no-repeat;
    background-position: 0 90%;
    background-image: linear-gradient(transparent 0%, rgba(233, 127, 36, 0.35) 0%);
    transition: background-size 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}

.manifest__text.reveal--visible mark {
    background-size: 100% 28%;
}

/* Prevent reveal from breaking absolute positioned chapters in hero */
.chapter.reveal {
    opacity: initial;
    transform: initial;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   ACCESSIBILITY: skip-link, fieldset reset, reduced-motion
   ========================================================================== */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 4px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--color-accent);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 6px 6px;
}

.skip-link:focus {
    left: 50%;
    transform: translateX(-50%);
}

/* Fieldset reset for form groups */
.spec-fieldset {
    border: none;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.spec-fieldset > legend {
    padding: 0;
}

/* ==========================================================================
   FIX: Hero text contrast — gradient overlay on ch1 content area
   ========================================================================== */

.chapter--1 .chapter__inner::before {
    content: '';
    position: fixed;
    left: 0;
    top: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg,
        rgba(250, 250, 248, 0.88) 0%,
        rgba(250, 250, 248, 0.7) 60%,
        transparent 100%);
    z-index: -1;
    pointer-events: none;
}

/* ==========================================================================
   FIX: Dropdown hover delay (prevent flicker)
   ========================================================================== */

.nav__dropdown {
    transition-delay: 0.12s;
}

.nav__has-dropdown:hover .nav__dropdown,
.nav__has-dropdown:focus-within .nav__dropdown {
    transition-delay: 0s;
}

/* ==========================================================================
   FIX: Button :active state (press feedback)
   ========================================================================== */

.btn:active {
    transform: scale(0.97) !important;
    transition-duration: 0.1s !important;
}

.audience-card__cta:active,
.service-item__link:active,
.related-card:active,
.nav__cta:active {
    transform: scale(0.97) !important;
}

/* ==========================================================================
   FIX: Mobile — CTA visible + simplified hero
   ========================================================================== */

@media (max-width: 768px) {
    /* Show CTA on mobile (was hidden) */
    .nav__cta {
        display: inline-flex !important;
        padding: 10px 16px;
        font-size: 12px;
    }

    /* Hero: no SVG animation on mobile, static stacked layout */
    .hero {
        min-height: auto;
        padding: 0;
    }

    .hero__stage {
        height: auto !important;
        position: relative !important;
        display: flex;
        flex-direction: column;
    }

    .hero__step {
        display: none;
    }

    .hero__blueprint-layer {
        display: none;
    }

    /* Text FIRST (order 1), realization SECOND (order 2) */
    .hero__content {
        position: relative;
        order: 1;
        padding: calc(var(--nav-height) + 20px) 20px 40px;
        opacity: 1 !important;
        transform: none !important;
    }

    .hero__content::before {
        width: 100%;
        background: rgba(250, 250, 248, 0.92);
    }

    .hero__realization-layer {
        position: relative;
        order: 2;
        opacity: 1 !important;
        display: block;
        height: 50vh;
        min-height: 280px;
        transform: none !important;
        filter: none !important;
    }

    .hero__realization-img {
        position: absolute;
        inset: 0;
    }

    .hero__realization-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) !important;
        width: 90%;
        padding: 0 16px;
    }

    .hero__realization-title {
        font-size: clamp(24px, 6vw, 40px);
    }

    .hero__realization-caption {
        font-size: 14px;
    }

    /* Stats strip on mobile: one column */
    .stats-strip {
        padding: 60px 20px;
    }
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
        line-height: 1.5;
    }

    .nav,
    .cursor,
    .progress-bar,
    .hero__canvas,
    .hero__blueprint,
    .hero__scroll,
    .chapter-nav,
    .laptop,
    .finale-scene,
    .stage-dark-bg,
    .stage-backdrop,
    .mobile-menu,
    .back-to-top,
    .nav__toggle {
        display: none !important;
    }

    .hero-scene,
    .hero-stage {
        height: auto !important;
        position: static !important;
        transform: none !important;
    }

    .chapter--1 {
        position: static !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .chapter--2,
    .chapter--3 {
        display: none !important;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }

    .btn::after,
    .nav a::after {
        content: none;
    }

    section {
        page-break-inside: avoid;
    }
}

/* ==========================================================================
   Section header (reusable for services, process, audiences)
   ========================================================================== */

.section-header {
    max-width: 900px;
    margin-bottom: 96px;
}

.section-header--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-header__label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--color-accent);
    margin-bottom: 28px;
    text-transform: uppercase;
}

.section-header__label--light {
    color: var(--color-accent);
}

.section-header__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(36px, 5.4vw, 72px);
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: var(--color-primary);
    margin-bottom: 28px;
}

.section-header__title em {
    color: var(--color-accent);
    font-style: italic;
    font-weight: 700;
}

.section-header__title--light {
    color: #FAFAF8;
}

.section-header__desc {
    font-family: var(--font-body);
    font-size: 19px;
    line-height: 1.55;
    color: var(--color-text-secondary);
    max-width: 720px;
}

.section-header__desc--light {
    color: rgba(250, 250, 248, 0.65);
}

/* ==========================================================================
   USŁUGI — services timeline (vertical, with orange rail)
   ========================================================================== */

.services {
    padding: 140px 48px 160px;
    background: var(--color-bg);
    position: relative;
}

.services__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.services-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    counter-reset: service;
}

.services-timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 30px;
    bottom: 60px;
    width: 2px;
    background: linear-gradient(180deg,
        var(--color-border) 0%,
        var(--color-accent) 8%,
        var(--color-accent) 92%,
        var(--color-border) 100%);
    background-size: 2px 16px;
    background-image: repeating-linear-gradient(180deg,
        var(--color-accent) 0,
        var(--color-accent) 8px,
        transparent 8px,
        transparent 16px);
    opacity: 0.7;
}

.service-item {
    position: relative;
    padding-left: 96px;
    padding-bottom: 60px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.service-item:last-child {
    padding-bottom: 0;
}

.service-item__marker {
    position: absolute;
    left: 0;
    top: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.service-item__dot {
    position: absolute;
    left: 22px;
    top: 18px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-bg);
    border: 2px solid var(--color-accent);
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-item__num {
    display: none;
}

.service-item__card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 40px 44px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.service-item__card::before {
    content: counter(service, decimal-leading-zero);
    counter-increment: service;
    position: absolute;
    right: 36px;
    top: 28px;
    font-family: var(--font-mono);
    font-size: 64px;
    font-weight: 500;
    color: var(--color-surface);
    line-height: 1;
    transition: color 0.5s;
    z-index: 0;
}

.service-item:hover .service-item__card {
    transform: translateX(8px);
    border-color: var(--color-accent);
    box-shadow: 0 20px 40px rgba(43, 43, 43, 0.08);
}

.service-item:hover .service-item__card::before {
    color: var(--color-accent-light);
}

.service-item:hover .service-item__dot {
    background: var(--color-accent);
    transform: scale(1.4);
    box-shadow: 0 0 0 6px rgba(233, 127, 36, 0.15);
}

.service-item__icon {
    color: var(--color-accent);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.service-item__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-primary);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.service-item__desc {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    max-width: 80%;
}

.service-item__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.service-item__list li {
    position: relative;
    padding-left: 22px;
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.service-item__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 12px;
    height: 1.5px;
    background: var(--color-accent);
}

.service-item__time {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
    text-transform: uppercase;
    padding: 6px 12px;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    position: relative;
    z-index: 1;
}

.services__cta {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.services__cta p {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    color: var(--color-primary);
    max-width: 600px;
}

/* ==========================================================================
   PROCES — process timeline (dark section, horizontal flow)
   ========================================================================== */

.process {
    padding: 140px 48px 160px;
    background: var(--color-primary);
    color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.process__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

.process-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    position: relative;
    margin-top: 40px;
}

.process-track__line {
    position: absolute;
    left: 5%;
    right: 5%;
    top: 30px;
    height: 2px;
    background-image: repeating-linear-gradient(90deg,
        var(--color-accent) 0,
        var(--color-accent) 8px,
        transparent 8px,
        transparent 16px);
    opacity: 0.5;
}

.process-step {
    position: relative;
    padding-top: 80px;
}

.process-step__marker {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 2px solid var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s;
}

.process-step__num {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.05em;
}

.process-step:hover .process-step__marker {
    background: var(--color-accent);
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 0 0 8px rgba(233, 127, 36, 0.15);
}

.process-step:hover .process-step__num {
    color: var(--color-primary);
}

.process-step__content {
    text-align: center !important;
}

.process-step__content h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.25;
    color: var(--color-bg);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    text-align: center !important;
}

.process-step__content p {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.55;
    color: rgba(250, 250, 248, 0.65);
    margin-bottom: 18px;
    text-align: center !important;
}

.process-step__time {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    text-transform: uppercase;
    padding: 5px 10px;
    border: 1px solid rgba(233, 127, 36, 0.4);
    border-radius: 100px;
}

.process__cta {
    margin-top: 100px;
    display: flex;
    justify-content: center;
}

.btn--outline-light {
    background: transparent;
    color: var(--color-bg);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--outline-light:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg);
    transform: translateY(-2px);
}

/* ==========================================================================
   DLA KOGO — audience cards (split)
   ========================================================================== */

.audiences {
    padding: 140px 48px 160px;
    background: var(--color-bg);
    position: relative;
}

.audiences__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.audiences__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 40px;
}

.audience-card {
    position: relative;
    padding: 64px 56px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    min-height: 580px;
    display: flex;
}

.audience-card__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    transition: all 0.5s;
}

.audience-card--public .audience-card__bg {
    background: linear-gradient(160deg, var(--color-primary) 0%, #3a3a3a 100%);
}

.audience-card--public .audience-card__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
}

.audience-card--commercial .audience-card__bg {
    background: linear-gradient(160deg, var(--color-bg-alt) 0%, var(--color-surface) 100%);
    border: 1px solid var(--color-border);
}

.audience-card--commercial .audience-card__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(43,43,43,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(43,43,43,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
}

.audience-card__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.audience-card__label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 32px;
}

.audience-card__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(32px, 3.6vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
}

.audience-card--public .audience-card__title {
    color: var(--color-bg);
}

.audience-card--commercial .audience-card__title {
    color: var(--color-primary);
}

.audience-card__desc {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 90%;
}

.audience-card--public .audience-card__desc {
    color: rgba(250, 250, 248, 0.75);
}

.audience-card--commercial .audience-card__desc {
    color: var(--color-text-secondary);
}

.audience-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.audience-card__list li {
    position: relative;
    padding-left: 24px;
    font-size: 15px;
    line-height: 1.5;
}

.audience-card--public .audience-card__list li {
    color: rgba(250, 250, 248, 0.85);
}

.audience-card--commercial .audience-card__list li {
    color: var(--color-text-secondary);
}

.audience-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 14px;
    height: 1.5px;
    background: var(--color-accent);
}

.audience-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding: 16px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    align-self: flex-start;
}

.audience-card__cta svg {
    transition: transform 0.4s;
}

.audience-card__cta:hover svg {
    transform: translateX(4px);
}

.audience-card--public .audience-card__cta {
    background: var(--color-accent);
    color: #FFFFFF;
}

.audience-card--public .audience-card__cta:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(233, 127, 36, 0.3);
}

.audience-card--commercial .audience-card__cta {
    background: var(--color-primary);
    color: var(--color-bg);
}

.audience-card--commercial .audience-card__cta:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(233, 127, 36, 0.3);
}

.audience-card:hover {
    transform: translateY(-6px);
}

/* ==========================================================================
   Contact — additional
   ========================================================================== */

.contact__footer-note {
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact__full-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-accent);
    text-decoration: none;
    transition: gap 0.4s;
}

.contact__full-link:hover {
    gap: 16px;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */

.site-footer {
    background: #1A1A1A;
    color: var(--color-bg);
    padding: 100px 48px 40px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--color-accent) 50%,
        transparent 100%);
}

.site-footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__brand {
    max-width: 280px;
}

.site-footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.site-footer__logo-img {
    height: 42px;
    width: auto;
    filter: brightness(1.1);
}

.site-footer__logo span {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: -0.01em;
}

.site-footer__logo strong {
    color: var(--color-accent);
    font-weight: 700;
}

.site-footer__tag {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.55;
    color: rgba(250, 250, 248, 0.55);
}

.site-footer__col h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.site-footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer__col ul li a {
    color: rgba(250, 250, 248, 0.75);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 14px;
    transition: color 0.3s;
}

.site-footer__col ul li a:hover {
    color: var(--color-accent);
}

.site-footer__hours {
    color: rgba(250, 250, 248, 0.55);
    font-family: var(--font-body);
    font-size: 14px;
}

.site-footer__status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(250, 250, 248, 0.75);
    font-family: var(--font-body);
    font-size: 14px;
    margin-top: 6px;
}

.site-footer__dot {
    width: 8px;
    height: 8px;
    background: #4A9B5C;
    border-radius: 50%;
    animation: pulseDot 2.4s infinite;
}

.site-footer__bottom {
    padding-top: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.site-footer__copy {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(250, 250, 248, 0.4);
    letter-spacing: 0.02em;
}

.site-footer__legal {
    display: flex;
    gap: 28px;
}

.site-footer__legal a {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(250, 250, 248, 0.55);
    text-decoration: none;
    transition: color 0.3s;
    letter-spacing: 0.02em;
}

.site-footer__legal a:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   Credit pill (Designed by Piotr Jańczyk)
   ========================================================================== */
.credit-pill-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 8px;
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.credit-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 12px;
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
    letter-spacing: 0.02em;
    line-height: 1;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}
.credit-pill:hover {
    color: #ffffff;
    border-color: rgba(37, 211, 102, 0.5);
    background: rgba(37, 211, 102, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.15);
}
.credit-pill__label {
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.credit-pill:hover .credit-pill__label {
    color: rgba(255, 255, 255, 0.6);
}
.credit-pill__name {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.credit-pill:hover .credit-pill__name {
    color: #ffffff;
}
.credit-pill__icon {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}
.credit-pill:hover .credit-pill__icon {
    color: #25D366;
    transform: scale(1.15);
}

/* ==========================================================================
   Responsive — scroll narrative + new sections
   ========================================================================== */

@media (max-width: 1024px) {
    .chapter__inner {
        padding: 0 32px;
    }
    .chapter-nav {
        left: 24px;
    }
    .services,
    .process,
    .audiences {
        padding-left: 32px;
        padding-right: 32px;
    }
    .audiences__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .audience-card {
        padding: 48px 40px;
        min-height: auto;
    }
    .process-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 32px;
    }
    .process-track__line {
        display: none;
    }
    .site-footer {
        padding: 80px 32px 32px;
    }
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
    .laptop__body {
        width: 86vw;
    }
    .laptop__base {
        width: 95vw;
    }
}

@media (max-width: 768px) {
    .chapter-nav {
        display: none;
    }
    .chapter__inner {
        padding: 100px 20px 20px;
    }
    .chapter__title {
        font-size: clamp(28px, 6vw, 44px);
    }
    .section-header {
        margin-bottom: 60px;
    }
    .section-header__title {
        font-size: clamp(28px, 7vw, 44px);
    }
    .services,
    .process,
    .audiences {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .service-item {
        padding-left: 0;
    }
    .service-item__card {
        padding: 28px 24px;
    }
    .service-item__card::before {
        font-size: 40px;
        right: 20px;
        top: 20px;
    }
    .service-item__desc {
        max-width: 100%;
    }
    .services-timeline::before {
        display: none;
    }
    .services__cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }
    .process-track {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .audience-card {
        padding: 40px 28px;
    }
    .audience-card__title {
        font-size: clamp(28px, 7vw, 42px);
    }
    .site-footer {
        padding: 60px 20px 32px;
    }
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 48px;
        padding-bottom: 48px;
    }
    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   Helpers
   ========================================================================== */

.nav__logo-text strong {
    color: var(--color-accent);
    font-weight: 700;
}

.nav__link--active,
.nav__menu-link--active {
    color: var(--color-accent) !important;
}

.nav__menu-link--active::after {
    left: 0 !important;
    right: 0 !important;
}

/* ==========================================================================
   Mobile menu hamburger + overlay
   ========================================================================== */

.nav__toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    padding: 10px 8px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    z-index: 200;
    position: relative;
}

.nav__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: center;
}

.nav__toggle.nav__toggle--open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background: var(--color-accent);
}

.nav__toggle.nav__toggle--open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav__toggle.nav__toggle--open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background: var(--color-accent);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.5s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s;
    overflow-y: auto;
}

.mobile-menu::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74, 74, 74, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 74, 74, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.mobile-menu.mobile-menu--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: calc(var(--nav-height) + 48px) 32px 48px;
    position: relative;
    z-index: 1;
}

.mobile-menu__list {
    list-style: none;
    padding: 0;
    margin: 0 0 60px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu__list li {
    overflow: hidden;
}

.mobile-menu__list a {
    display: block;
    padding: 20px 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(28px, 7vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
    transition: color 0.3s, padding 0.3s;
    transform: translateY(100%);
}

.mobile-menu--open .mobile-menu__list li a {
    animation: mobileMenuItemIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mobile-menu--open .mobile-menu__list li:nth-child(1) a { animation-delay: 0.1s; }
.mobile-menu--open .mobile-menu__list li:nth-child(2) a { animation-delay: 0.16s; }
.mobile-menu--open .mobile-menu__list li:nth-child(3) a { animation-delay: 0.22s; }
.mobile-menu--open .mobile-menu__list li:nth-child(4) a { animation-delay: 0.28s; }
.mobile-menu--open .mobile-menu__list li:nth-child(5) a { animation-delay: 0.34s; }

@keyframes mobileMenuItemIn {
    to {
        transform: translateY(0);
    }
}

.mobile-menu__list a:active {
    color: var(--color-accent);
    padding-left: 12px;
}

.mobile-menu__contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.mobile-menu__contact-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    padding: 16px 0;
}

.mobile-menu__contact-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    text-transform: uppercase;
}

.mobile-menu__contact-value {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }
    .nav__cta {
        display: none;
    }
}

/* ==========================================================================
   Back-to-top button
   ========================================================================== */

.back-to-top {
    position: fixed;
    right: 32px;
    bottom: 32px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-bg);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 90;
    box-shadow: 0 10px 30px rgba(43, 43, 43, 0.15);
}

.back-to-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(233, 127, 36, 0.35);
}

.back-to-top svg {
    transition: transform 0.3s;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .back-to-top {
        right: 20px;
        bottom: 20px;
        width: 44px;
        height: 44px;
    }
}

/* ==========================================================================
   SUBPAGE HERO (used on /uslugi, /proces, /o-mnie, /kontakt, service pages)
   ========================================================================== */

.page-subpage {
    padding-top: var(--nav-height);
}

.subpage-hero {
    position: relative;
    padding: 100px 48px 140px;
    background: var(--color-bg);
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74, 74, 74, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 74, 74, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at top, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at top, black 20%, transparent 80%);
    pointer-events: none;
}

.subpage-hero__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.subpage-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    text-transform: uppercase;
}

.subpage-hero__breadcrumb a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.subpage-hero__breadcrumb a:hover {
    color: var(--color-accent);
}

.subpage-hero__breadcrumb span:last-child {
    color: var(--color-primary);
}

.subpage-hero__label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 32px;
}

.subpage-hero__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(40px, 6vw, 84px);
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: var(--color-primary);
    max-width: 1100px;
    margin-bottom: 36px;
}

.subpage-hero__title em {
    color: var(--color-accent);
    font-style: italic;
    font-weight: 700;
}

.subpage-hero__desc {
    font-family: var(--font-body);
    font-size: 19px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    max-width: 780px;
    margin-bottom: 48px;
}

.subpage-hero__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Variant: service page hero */
.subpage-hero--service {
    padding-bottom: 120px;
}

/* ==========================================================================
   SERVICE SECTION (inside service pages)
   ========================================================================== */

.service-section {
    padding: 120px 48px;
    background: var(--color-bg);
    position: relative;
}

.service-section--alt {
    background: var(--color-bg-alt);
}

.service-section--dark {
    background: var(--color-primary);
    color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.service-section--dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.service-section__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.service-section__grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

.service-section__head {
    position: sticky;
    top: calc(var(--nav-height) + 48px);
}

.service-section__head--center {
    position: static;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
    grid-column: 1 / -1;
}

.service-section__label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.service-section__label--light {
    color: var(--color-accent);
}

.service-section__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(32px, 4.2vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--color-primary);
}

.service-section__title em {
    color: var(--color-accent);
    font-style: italic;
    font-weight: 700;
}

.service-section__title--light {
    color: var(--color-bg);
}

.service-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.service-bullets li {
    padding-left: 40px;
    position: relative;
}

.service-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 24px;
    height: 2px;
    background: var(--color-accent);
}

.service-bullets h4 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.3;
    color: var(--color-primary);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-bullets p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* When-grid (kiedy potrzebujesz) */

.when-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.when-card {
    padding: 32px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.when-card:hover {
    background: rgba(233, 127, 36, 0.08);
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.when-card__num {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.when-card h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.25;
    color: var(--color-bg);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.when-card p {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.55;
    color: rgba(250, 250, 248, 0.7);
}

/* Deliverables list */

.deliverables-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.deliverable {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: all 0.4s;
}

.deliverable:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(43,43,43,0.06);
}

.deliverable__icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.deliverable h4 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 17px;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.deliverable p {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

/* Timing block */

.timing-block {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1080px;
    margin: 0 auto;
}

.timing-block__item {
    padding: 40px 32px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    text-align: center;
}

.timing-block__label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.timing-block__value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(32px, 3.6vw, 48px);
    line-height: 1;
    color: var(--color-accent);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.timing-block__value span {
    font-size: 0.55em;
    color: var(--color-text-secondary);
    font-weight: 500;
    margin-left: 4px;
}

.timing-block__item p {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

/* Related services */

.related-services {
    padding: 120px 48px;
    background: var(--color-bg);
}

.related-services__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.related-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.related-card {
    display: block;
    padding: 40px 36px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.related-card::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.related-card:hover {
    background: var(--color-bg);
    border-color: var(--color-accent);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(43,43,43,0.08);
}

.related-card:hover::before {
    transform: scaleX(1);
}

.related-card__num {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.related-card h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 24px;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.related-card p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.related-card__arrow {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.02em;
    transition: letter-spacing 0.4s;
}

.related-card:hover .related-card__arrow {
    letter-spacing: 0.1em;
}

/* ==========================================================================
   BUNDLES (on /uslugi page)
   ========================================================================== */

.bundles {
    padding: 140px 48px;
    background: var(--color-bg-alt);
}

.bundles__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.bundles__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.bundle-card {
    padding: 48px 40px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.bundle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.bundle-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(43, 43, 43, 0.08);
}

.bundle-card:hover::before {
    transform: scaleX(1);
}

.bundle-card__label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.bundle-card__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 26px;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.bundle-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.bundle-card__list li {
    padding-left: 26px;
    position: relative;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.bundle-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 14px;
}

.bundle-card__note {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text-muted);
    font-style: italic;
    padding: 16px 20px;
    background: var(--color-bg-alt);
    border-radius: 6px;
    margin-bottom: 24px;
}

.bundle-card__cta {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    transition: letter-spacing 0.4s;
    letter-spacing: 0.01em;
}

.bundle-card__cta:hover {
    letter-spacing: 0.05em;
}

/* ==========================================================================
   CTA STRIP (used on subpages)
   ========================================================================== */

.cta-strip {
    padding: 120px 48px;
    background: var(--color-primary);
    color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.cta-strip::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
}

.cta-strip__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-strip__label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.cta-strip__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--color-bg);
    margin-bottom: 20px;
}

.cta-strip__desc {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: rgba(250, 250, 248, 0.65);
    max-width: 560px;
}

.cta-strip__actions {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.cta-strip .btn--secondary {
    background: transparent;
    color: var(--color-bg);
    border-color: rgba(255,255,255,0.3);
}

.cta-strip .btn--secondary:hover {
    background: var(--color-bg);
    color: var(--color-primary);
}

/* ==========================================================================
   Services — subpage variant (reusing timeline)
   ========================================================================== */

.services--subpage {
    padding-top: 40px;
}

.service-item__card--link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.service-item__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 1;
    margin-top: 8px;
}

.service-item__more {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    transition: letter-spacing 0.4s;
}

.service-item__card--link:hover .service-item__more {
    letter-spacing: 0.05em;
}

/* Homepage service-item footer: time pill + CTA link */
.service-item__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-bg);
    background: var(--color-primary);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    z-index: 2;
    letter-spacing: 0.01em;
}

.service-item__link:hover {
    background: var(--color-accent);
    color: #FFFFFF;
    transform: translateX(4px);
    box-shadow: 0 10px 24px rgba(233, 127, 36, 0.25);
}

/* Responsive for subpages */
@media (max-width: 1024px) {
    .subpage-hero,
    .service-section,
    .related-services,
    .bundles,
    .cta-strip {
        padding-left: 32px;
        padding-right: 32px;
    }
    .service-section__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .service-section__head {
        position: static;
    }
    .when-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .deliverables-list {
        grid-template-columns: 1fr;
    }
    .timing-block {
        grid-template-columns: 1fr;
    }
    .related-services__grid,
    .bundles__grid {
        grid-template-columns: 1fr;
    }
    .cta-strip__inner {
        grid-template-columns: 1fr;
    }
    .cta-strip__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .subpage-hero {
        padding: 60px 20px 80px;
    }
    .subpage-hero__title {
        font-size: clamp(32px, 7vw, 48px);
    }
    .service-section,
    .related-services,
    .bundles,
    .cta-strip {
        padding: 80px 20px;
    }
    .when-grid {
        grid-template-columns: 1fr;
    }
    .service-bullets li {
        padding-left: 32px;
    }
}

/* ==========================================================================
   PROCES PAGE — full timeline + FAQ
   ========================================================================== */

.process-full {
    padding: 80px 48px 140px;
    background: var(--color-bg);
    position: relative;
}

.process-full__inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.process-full__timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.process-full__timeline::before {
    content: '';
    position: absolute;
    left: 31px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background-image: repeating-linear-gradient(180deg,
        var(--color-accent) 0,
        var(--color-accent) 8px,
        transparent 8px,
        transparent 16px);
    opacity: 0.6;
}

.process-full__step {
    position: relative;
    padding-left: 96px;
    padding-bottom: 80px;
}

.process-full__step:last-child {
    padding-bottom: 0;
}

.process-full__marker {
    position: absolute;
    left: 0;
    top: 10px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-bg);
    border: 2px solid var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
}

.process-full__step:hover .process-full__marker {
    background: var(--color-accent);
    box-shadow: 0 0 0 8px rgba(233, 127, 36, 0.15);
    transform: scale(1.05);
}

.process-full__num {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-accent);
    transition: color 0.4s;
}

.process-full__step:hover .process-full__num {
    color: var(--color-bg);
}

.process-full__content {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 36px 40px;
    transition: all 0.4s;
}

.process-full__step:hover .process-full__content {
    border-color: var(--color-accent);
    transform: translateX(4px);
    box-shadow: 0 20px 40px rgba(43, 43, 43, 0.06);
}

.process-full__time {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.process-full__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(22px, 2.8vw, 32px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.process-full__desc {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text-secondary);
    margin-bottom: 28px;
    max-width: 700px;
}

.process-full__details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.process-full__column h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.process-full__column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.process-full__column ul li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.process-full__column ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 10px;
    height: 1.5px;
    background: var(--color-accent);
}

/* Process FAQ */

.process-faq {
    padding: 140px 48px 160px;
    background: var(--color-bg-alt);
}

.process-faq__inner {
    max-width: 900px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item[open] {
    border-color: var(--color-accent);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 28px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 19px;
    line-height: 1.3;
    color: var(--color-primary);
    letter-spacing: -0.01em;
    transition: background 0.3s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    background: rgba(233, 127, 36, 0.03);
}

.faq-item__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-accent);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item[open] .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__content {
    padding: 0 36px 28px;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text-secondary);
    max-width: 720px;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

.about-hero {
    padding: 120px 48px 100px;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74, 74, 74, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 74, 74, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
    pointer-events: none;
}

.about-hero__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    text-transform: uppercase;
}

.about-hero__breadcrumb a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.about-hero__breadcrumb a:hover {
    color: var(--color-accent);
}

.about-hero__label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 32px;
}

.about-hero__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(44px, 6.4vw, 92px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: var(--color-primary);
    margin-bottom: 40px;
    max-width: 1100px;
}

.about-hero__title em {
    color: var(--color-accent);
    font-style: italic;
    font-weight: 700;
}

.about-hero__subtitle {
    font-family: var(--font-body);
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    max-width: 720px;
}

.about-intro {
    padding: 100px 48px;
    background: var(--color-bg);
}

.about-intro__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.about-intro__grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
    align-items: start;
}

.about-intro__aside {
    position: sticky;
    top: 120px;
    padding-top: 10px;
    border-top: 2px solid var(--color-accent);
}

.about-intro__signature {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-top: 20px;
    margin-bottom: 40px;
}

.about-intro__labels {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.about-intro__labels > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.about-intro__label-key {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.about-intro__label-val {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-primary);
    line-height: 1.4;
}

.about-intro__status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4A9B5C;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulseDot 2.4s infinite;
}

.about-intro__body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.75;
    color: var(--color-text-secondary);
}

.about-intro__body p {
    margin-bottom: 28px;
}

.about-intro__body p:last-child {
    margin-bottom: 0;
}

.about-intro__lead {
    font-size: 22px !important;
    line-height: 1.55 !important;
    color: var(--color-primary) !important;
    font-weight: 400;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

.about-intro__body strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* Philosophy */

.philosophy {
    padding: 140px 48px;
    background: var(--color-bg-alt);
}

.philosophy__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.philosophy__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 20px;
}

.philosophy-card {
    padding: 48px 44px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.philosophy-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.philosophy-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(43, 43, 43, 0.08);
}

.philosophy-card:hover::before {
    transform: scaleY(1);
}

.philosophy-card__num {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.philosophy-card__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 26px;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.philosophy-card__desc {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text-secondary);
}

/* About numbers */

.about-numbers {
    padding: 140px 48px;
    background: var(--color-bg);
}

.about-numbers__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.about-numbers__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.about-number {
    padding: 40px 32px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: all 0.4s;
}

.about-number:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.about-number__value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1;
    color: var(--color-primary);
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}

.about-number__value sup {
    color: var(--color-accent);
    font-size: 0.65em;
    font-weight: 500;
    margin-left: 2px;
    vertical-align: super;
}

.about-number__value sub {
    color: var(--color-text-secondary);
    font-size: 0.4em;
    font-weight: 500;
    margin-left: 4px;
    vertical-align: baseline;
}

.about-number__label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.about-number p {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

/* Tools (dark section) */

.tools {
    padding: 140px 48px;
    background: var(--color-primary);
    color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.tools::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.tools__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

.tools__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.tool-card {
    padding: 40px 36px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.tool-card:hover {
    background: rgba(233, 127, 36, 0.08);
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.tool-card__label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.tool-card h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.25;
    color: var(--color-bg);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.tool-card p {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.55;
    color: rgba(250, 250, 248, 0.65);
}

/* Credentials */

.credentials {
    padding: 140px 48px;
    background: var(--color-bg);
}

.credentials__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.credentials__box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.credentials__item {
    padding: 48px 40px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    text-align: center;
    transition: all 0.4s;
}

.credentials__item:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.credentials__icon {
    display: inline-flex;
    padding: 20px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-accent);
    margin-bottom: 24px;
}

.credentials__item h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 22px;
    line-height: 1.25;
    color: var(--color-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.credentials__item p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.credentials__note {
    margin-top: 60px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text-muted);
    font-style: italic;
}

/* ==========================================================================
   CONTACT PAGE — spec form
   ========================================================================== */

.contact-page-hero {
    padding: 120px 48px 80px;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.contact-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74, 74, 74, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 74, 74, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at top left, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at top left, black 20%, transparent 80%);
    pointer-events: none;
}

.contact-page-hero__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-page-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    text-transform: uppercase;
}

.contact-page-hero__breadcrumb a {
    color: var(--color-text-muted);
    text-decoration: none;
}

.contact-page-hero__label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 28px;
}

.contact-page-hero__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(48px, 7vw, 96px);
    line-height: 1.0;
    letter-spacing: -0.035em;
    color: var(--color-primary);
    margin-bottom: 36px;
}

.contact-page-hero__title em {
    color: var(--color-accent);
    font-style: italic;
    font-weight: 700;
}

.contact-page-hero__desc {
    font-family: var(--font-body);
    font-size: 19px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    max-width: 780px;
    margin-bottom: 48px;
}

.contact-page-hero__quick {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 900px;
}

.quick-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 24px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.4s;
}

.quick-contact:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.quick-contact__label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.quick-contact__value {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: -0.01em;
}

/* Spec form — styled as technical drawing */

.spec-form-section {
    padding: 60px 48px 140px;
    background: var(--color-bg);
    position: relative;
}

.spec-form-section__inner {
    max-width: 1080px;
    margin: 0 auto;
}

.spec-form {
    position: relative;
    background: var(--color-bg);
    border: 1.5px solid var(--color-primary);
    border-radius: 4px;
    padding: 0;
    box-shadow:
        0 1px 0 var(--color-accent) inset,
        0 40px 80px rgba(43, 43, 43, 0.08),
        0 20px 40px rgba(43, 43, 43, 0.04);
}

.spec-form::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74, 74, 74, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 74, 74, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    border-radius: 4px;
}

.spec-form__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 24px 48px;
    border-bottom: 1.5px solid var(--color-primary);
    background: var(--color-bg-alt);
    position: relative;
    z-index: 1;
}

.spec-form__header-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.spec-form__header-num {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--color-text-muted);
    letter-spacing: 0.12em;
}

.spec-form__header-ref {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    text-align: right;
}

/* Progress indicator */

.spec-form__progress {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 32px 48px;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    z-index: 1;
}

.spec-form__progress-item {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.5;
    transition: opacity 0.4s;
}

.spec-form__progress-item--active,
.spec-form__progress-item--done {
    opacity: 1;
}

.spec-form__progress-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--color-border);
    background: var(--color-bg);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: all 0.4s;
}

.spec-form__progress-item--active .spec-form__progress-num {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg);
    box-shadow: 0 0 0 4px rgba(233, 127, 36, 0.2);
}

.spec-form__progress-item--done .spec-form__progress-num {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-bg);
}

.spec-form__progress-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    white-space: nowrap;
}

.spec-form__progress-item--active .spec-form__progress-label {
    color: var(--color-primary);
    font-weight: 600;
}

.spec-form__progress-line {
    height: 1px;
    background: var(--color-border);
}

/* Form steps */

.spec-step {
    display: none;
    padding: 56px 48px;
    position: relative;
    z-index: 1;
}

.spec-step--active {
    display: block;
    animation: fadeStepIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.spec-step__head {
    margin-bottom: 48px;
}

.spec-step__num {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.spec-step__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.spec-step__desc {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* Fields */

.spec-field {
    margin-bottom: 36px;
    position: relative;
}

.spec-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 36px;
}

.spec-field-row .spec-field {
    margin-bottom: 0;
}

.spec-field__label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.spec-field__hint {
    font-weight: 400;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    text-transform: none;
}

.spec-field__required {
    color: var(--color-accent);
    font-weight: 700;
}

.spec-field__error {
    margin-top: 8px;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-accent-dark);
    padding: 6px 12px;
    background: rgba(197, 101, 16, 0.08);
    border-left: 2px solid var(--color-accent-dark);
    border-radius: 0 4px 4px 0;
}

.spec-field--error .spec-input {
    border-color: var(--color-accent-dark);
    background: rgba(197, 101, 16, 0.04);
}

/* Input controls */

.spec-input {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-primary);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: all 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

.spec-input::placeholder {
    color: var(--color-text-muted);
}

.spec-input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-bg);
    box-shadow: 0 0 0 3px rgba(233, 127, 36, 0.1);
}

.spec-input--textarea {
    resize: vertical;
    font-family: var(--font-body);
    line-height: 1.55;
    min-height: 140px;
}

.spec-input--select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 20px center;
    background-repeat: no-repeat;
    padding-right: 48px;
    cursor: pointer;
}

.spec-input--date {
    padding-right: 16px;
}

.spec-date-row {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    align-items: center;
}

/* Radio/checkbox options as cards */

.spec-options {
    display: grid;
    gap: 12px;
}

.spec-options--three {
    grid-template-columns: repeat(3, 1fr);
}

.spec-options--grid {
    grid-template-columns: repeat(3, 1fr);
}

.spec-option {
    cursor: pointer;
    position: relative;
}

.spec-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.spec-option__inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 22px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.spec-option__inner::before {
    content: '';
    position: absolute;
    top: 14px;
    right: 14px;
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-bg);
    transition: all 0.3s;
}

.spec-option input[type="checkbox"] + .spec-option__inner::before {
    border-radius: 3px;
}

.spec-option__inner svg {
    color: var(--color-text-muted);
    margin-bottom: 6px;
    transition: color 0.3s;
}

.spec-option__num {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-bottom: 2px;
    transition: color 0.3s;
}

.spec-option__title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: -0.01em;
    padding-right: 20px;
}

.spec-option__desc {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.spec-option:hover .spec-option__inner {
    border-color: var(--color-accent);
    background: var(--color-bg);
    transform: translateY(-1px);
}

.spec-option input:checked + .spec-option__inner {
    background: var(--color-bg);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 1px var(--color-accent), 0 10px 24px rgba(233, 127, 36, 0.08);
}

.spec-option input:checked + .spec-option__inner::before {
    background: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: inset 0 0 0 3px var(--color-bg);
}

.spec-option input:checked + .spec-option__inner svg {
    color: var(--color-accent);
}

.spec-option input:checked + .spec-option__inner .spec-option__num {
    color: var(--color-accent);
}

.spec-option--small .spec-option__inner {
    padding: 16px 18px;
}

.spec-option--small .spec-option__title {
    font-size: 14px;
}

/* Slider */

.spec-slider {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 4px;
}

.spec-slider__input {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 2px;
    background: var(--color-border);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.spec-slider__input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 3px solid var(--color-bg);
    box-shadow: 0 0 0 1px var(--color-accent), 0 4px 8px rgba(233, 127, 36, 0.2);
    cursor: pointer;
    transition: transform 0.2s;
}

.spec-slider__input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.spec-slider__input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 3px solid var(--color-bg);
    box-shadow: 0 0 0 1px var(--color-accent);
    cursor: pointer;
}

.spec-slider__value {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-accent);
    min-width: 80px;
    text-align: right;
}

.spec-slider__unit {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-left: 4px;
}

.spec-slider__scale {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding: 0 24px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

/* Checkboxes (simple) */

.spec-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.spec-checkbox input {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--color-border);
    border-radius: 3px;
    background: var(--color-bg);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 1px;
    transition: all 0.3s;
    position: relative;
}

.spec-checkbox input:checked {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.spec-checkbox input:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid var(--color-bg);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.spec-checkbox--rodo {
    padding: 20px 24px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.55;
}

.spec-checkbox--rodo a {
    color: var(--color-accent);
    text-decoration: underline;
}

/* Nav buttons */

.spec-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

/* Summary */

.spec-summary {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 32px 36px;
}

.spec-summary__row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--color-border);
}

.spec-summary__row:last-child {
    border-bottom: none;
}

.spec-summary__key {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
    text-transform: uppercase;
    padding-top: 2px;
}

.spec-summary__value {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-primary);
    line-height: 1.5;
    word-break: break-word;
    white-space: pre-wrap;
}

.spec-summary__divider {
    height: 1px;
    background: var(--color-accent);
    margin: 20px 0;
    opacity: 0.3;
}

/* Summary: mobile — stack key above value */
@media (max-width: 600px) {
    .spec-summary {
        padding: 20px 16px;
    }
    .spec-summary__row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 10px 0;
    }
    .spec-summary__key {
        font-size: 10px;
    }
    .spec-summary__value {
        font-size: 14px;
    }
}

/* Form footer (tabliczka rysunkowa) */

.spec-form__footer {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 0;
    border-top: 1.5px solid var(--color-primary);
    background: var(--color-bg-alt);
    position: relative;
    z-index: 1;
}

.spec-form__footer-col {
    padding: 20px 32px;
    border-right: 1px solid var(--color-border);
}

.spec-form__footer-col:last-child {
    border-right: none;
}

.spec-form__footer-label {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.spec-form__footer-value {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: -0.01em;
}

/* Success state */

.spec-success {
    padding: 80px 48px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.spec-success__icon {
    display: inline-block;
    color: var(--color-accent);
    margin-bottom: 32px;
    animation: successPop 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    60% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.spec-success h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.spec-success p {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    max-width: 520px;
    margin: 0 auto 16px;
}

.spec-success__ref {
    margin-top: 32px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
}

.spec-success__ref strong {
    color: var(--color-accent);
}

/* Alt contact section */

.alt-contact {
    padding: 140px 48px;
    background: var(--color-bg-alt);
}

.alt-contact__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.alt-contact__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.alt-contact__card {
    padding: 48px 40px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.alt-contact__card:hover:not(.alt-contact__card--static) {
    border-color: var(--color-accent);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(43, 43, 43, 0.08);
}

.alt-contact__card--static {
    cursor: default;
    opacity: 0.85;
}

.alt-contact__icon {
    display: inline-flex;
    padding: 16px;
    background: var(--color-bg-alt);
    border-radius: 50%;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.alt-contact__label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.alt-contact__value {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.alt-contact__hint {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Responsive — about page, contact page
   ========================================================================== */

@media (max-width: 1024px) {
    .about-intro__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-intro__aside {
        position: static;
    }
    .philosophy__grid {
        grid-template-columns: 1fr;
    }
    .about-numbers__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tools__grid,
    .credentials__box,
    .alt-contact__grid {
        grid-template-columns: 1fr 1fr;
    }
    .process-full__details {
        grid-template-columns: 1fr;
    }
    .spec-form__progress {
        padding: 24px 24px;
        gap: 8px;
    }
    .spec-form__progress-label {
        display: none;
    }
    .spec-step {
        padding: 40px 32px;
    }
    .spec-form__header {
        padding: 20px 32px;
    }
    .spec-options--three {
        grid-template-columns: 1fr;
    }
    .spec-options--grid {
        grid-template-columns: 1fr 1fr;
    }
    .spec-field-row {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .spec-date-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .contact-page-hero__quick {
        grid-template-columns: 1fr;
    }
    .contact-page-hero {
        padding: 100px 32px 60px;
    }
    .spec-form-section,
    .alt-contact,
    .about-hero,
    .about-intro,
    .philosophy,
    .about-numbers,
    .tools,
    .credentials {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (max-width: 768px) {
    .about-hero__title {
        font-size: clamp(36px, 8vw, 56px);
    }
    .philosophy,
    .about-numbers,
    .about-intro,
    .tools,
    .credentials,
    .process-full,
    .process-faq,
    .spec-form-section,
    .alt-contact {
        padding: 80px 20px;
    }
    .about-numbers__grid,
    .tools__grid,
    .credentials__box,
    .alt-contact__grid {
        grid-template-columns: 1fr;
    }
    .process-full__step {
        padding-left: 72px;
    }
    .process-full__marker {
        width: 52px;
        height: 52px;
    }
    .process-full__timeline::before {
        left: 25px;
    }
    .process-full__content {
        padding: 28px 24px;
    }
    .spec-form__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .spec-form__header-right {
        text-align: left;
    }
    .spec-form__progress {
        padding: 20px 16px;
    }
    .spec-step {
        padding: 32px 20px;
    }
    .spec-options--grid,
    .spec-options--three {
        grid-template-columns: 1fr;
    }
    .spec-nav {
        flex-direction: column-reverse;
        gap: 12px;
    }
    .spec-nav .btn {
        width: 100%;
        justify-content: center;
    }
    .spec-form__footer {
        grid-template-columns: 1fr;
    }
    .spec-form__footer-col {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }
    .faq-item summary {
        padding: 20px 24px;
        font-size: 16px;
    }
    .faq-item__content {
        padding: 0 24px 24px;
    }
}
