/* ==========================================================================
   GNEJS.PL - Modernizowany styl strony głównej (UI/UX 2026)
   Inspirowany projektem Studio 113, rozbudowany o interakcje, SEO i RWD
   ========================================================================== */

:root {
    --c-dark: #1b1b22;
    --c-dark-soft: #26262e;
    --c-dark-surface: #2e2e38;
    --c-accent: #a3a19b;
    --c-accent-hover: #b8b6b0;
    --c-accent-gold: #c6a052;
    --c-light-bg: #f8f8f6;
    --c-stone-tint: #eceae6;
    --c-border: #e3e1dc;
    --c-text: #1f1f24;
    --c-text-muted: #666560;
    --c-white: #ffffff;
    --font-sans: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --radius-sm: 3px;
    --radius-md: 6px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    color: var(--c-text);
    background-color: var(--c-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Kątowy szlif kamieniarski */
.cut-corner {
    position: relative;
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.cut-corner::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: var(--c-accent);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    pointer-events: none;
}

/* Przyciski */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 24px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--c-accent);
    color: var(--c-dark);
}

.btn-primary:hover {
    background-color: var(--c-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.btn-dark {
    background-color: var(--c-dark);
    color: var(--c-white);
}

.btn-dark:hover {
    background-color: var(--c-dark-soft);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--c-dark);
    border-color: var(--c-border);
}

.btn-outline:hover {
    border-color: var(--c-dark);
    background-color: rgba(27, 27, 34, 0.04);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
    color: var(--c-dark);
}

.btn-link:hover {
    color: var(--c-accent-gold);
}

/* ==========================================================================
   TOP UTILITY BAR
   ========================================================================== */
.top-bar {
    background-color: var(--c-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 38px;
    gap: 16px;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.85);
}

.top-bar a:hover {
    color: var(--c-white);
    text-decoration: underline;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-phone {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar-phone span {
    color: var(--c-accent);
    font-weight: 400;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    background-color: var(--c-white);
    border-bottom: 1px solid var(--c-border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 24px;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.03em;
    color: var(--c-dark);
}

.brand-sub {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-text-muted);
    margin-top: 4px;
    white-space: nowrap;
    display: block;
    line-height: 1.1;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 1.8vw, 28px);
    flex-shrink: 1;
}

.main-nav a {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--c-text);
    padding: 10px 0;
    position: relative;
    white-space: nowrap;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--c-dark);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--c-dark);
    transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.burger-btn {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
}

.burger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--c-dark);
    transition: var(--transition);
}

.burger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.burger-btn.active span:nth-child(2) {
    opacity: 0;
}
.burger-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobilne menu boczne/rozwijane */
.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--c-white);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 99;
    border-top: 1px solid var(--c-border);
    overflow-y: auto;
}

.mobile-nav-drawer.open {
    display: flex;
}

.mobile-nav-drawer a {
    font-size: 18px;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid var(--c-border);
}

.mobile-nav-drawer .btn {
    margin-top: 12px;
    width: 100%;
}

/* ==========================================================================
   HERO MOSAIC SECTION
   ========================================================================== */
.hero-section {
    padding: 28px 0 100px;
    background-color: var(--c-white);
    position: relative;
}

.hero-mosaic {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(2, 320px);
    gap: 10px;
}

.mosaic-tile {
    position: relative;
    overflow: hidden;
    margin: 0;
    background-color: var(--c-stone-tint);
    border-radius: 2px;
}

.mosaic-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}

.mosaic-tile:hover img {
    transform: scale(1.05);
}

.mosaic-tile figcaption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--c-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.02em;
}

.tile-big {
    grid-column: span 3;
    grid-row: span 2;
}

.tile-big figcaption {
    display: none;
}

.tile-tall {
    grid-row: span 2;
}

.tile-dark {
    background-color: var(--c-dark);
    color: var(--c-white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    position: relative;
}

.tile-dark::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 38px;
    height: 38px;
    background: var(--c-accent);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.tile-dark b {
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
    color: var(--c-white);
}

.tile-dark span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
}

/* Floating Hero Card */
.hero-box {
    position: absolute;
    left: 28px;
    bottom: -60px;
    width: 520px;
    background: var(--c-white);
    padding: 36px 36px 32px;
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-lg);
    z-index: 5;
}

.hero-box::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--c-accent);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.badge-over {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-text-muted);
    margin-bottom: 10px;
    display: block;
}

.hero-box h1 {
    margin: 0 0 16px;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--c-dark);
}

.hero-box p {
    margin: 0 0 24px;
    font-size: 15px;
    color: var(--c-text-muted);
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* ==========================================================================
   SEKCJA DWÓCH ŚCIEŻEK (KAMIEN W DOMU / NAGROBKI)
   ========================================================================== */
.section {
    padding: 92px 0;
}

.section-light {
    background-color: var(--c-light-bg);
}

.section-stone {
    background-color: var(--c-stone-tint);
}

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

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 36px;
    gap: 20px;
    flex-wrap: wrap;
}

.section-header h2 {
    margin: 4px 0 0;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--c-dark);
}

.section-dark .section-header h2 {
    color: var(--c-white);
}

/* ==========================================================================
   SEKCJA DWÓCH ŚCIEŻEK (KAMIEN W DOMU / NAGROBKI) - ULEPSZONE UI/UX
   ========================================================================== */
.paths-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.path-card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.path-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--c-accent);
}

.path-card::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 38px;
    height: 38px;
    background: var(--c-accent);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    z-index: 4;
    pointer-events: none;
}

/* Duże, panoramiczne zdjęcie na całą szerokość karty */
.path-img-wrap {
    display: block;
    position: relative;
    width: 100%;
    height: 330px;
    overflow: hidden;
    background-color: var(--c-stone-tint);
    text-decoration: none;
    cursor: pointer;
}

.path-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}

.path-card:hover .path-img-wrap img {
    transform: scale(1.06);
}

/* Plakietki informacyjne na zdjęciu */
.path-img-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    z-index: 3;
    pointer-events: none;
}

.path-badge-pill {
    background: rgba(27, 27, 34, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--c-white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.path-badge-count {
    background: rgba(255, 255, 255, 0.95);
    color: var(--c-dark);
    font-size: 12px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

/* Interaktywny Hover Reveal na zdjęciu */
.path-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 26, 0.45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
    z-index: 3;
}

.path-card:hover .path-hover-overlay {
    opacity: 1;
    visibility: visible;
}

.path-hover-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--c-white);
    color: var(--c-dark);
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 800;
    padding: 13px 26px;
    border-radius: 30px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transform: translateY(14px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.2, 0, 0.2, 1), background 0.2s, box-shadow 0.2s;
}

.path-card:hover .path-hover-pill {
    transform: translateY(0) scale(1);
}

.path-img-wrap:hover .path-hover-pill {
    background: var(--c-accent-hover);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

/* Czysta, czytelna treść pod zdjęciem */
.path-body {
    padding: 28px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.path-body h3 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: var(--c-dark);
    line-height: 1.2;
}

.path-body p {
    margin: 0;
    font-size: 15px;
    color: var(--c-text-muted);
    line-height: 1.55;
}

.path-tags {
    list-style: none;
    margin: 6px 0 10px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.path-tags li {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 11px;
    background-color: var(--c-stone-tint);
    border-radius: 14px;
    color: var(--c-dark);
}

.path-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 8px;
    flex-wrap: wrap;
}

/* ==========================================================================
   PASEK ZAUFANIA / LICZBY
   ========================================================================== */
.trust-band {
    background-color: var(--c-dark);
    color: var(--c-white);
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.trust-item {
    border-top: 2px solid var(--c-accent);
    padding-top: 20px;
}

.trust-item b {
    display: block;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--c-white);
}

.trust-item span {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* ==========================================================================
   GALERIA REALIZACJI Z ZAKŁADKAMI I LIGHTBOXEM
   ========================================================================== */
.gallery-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    height: 42px;
    padding: 0 20px;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--c-dark);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--c-dark);
}

.tab-btn.active {
    background-color: var(--c-dark);
    color: var(--c-white);
    border-color: var(--c-dark);
}

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

.gallery-card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.gallery-card-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    background: var(--c-stone-tint);
}

.gallery-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-card-img img {
    transform: scale(1.06);
}

.gallery-zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 27, 34, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-zoom-overlay {
    opacity: 1;
}

.gallery-zoom-icon {
    width: 44px;
    height: 44px;
    background: var(--c-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-dark);
    box-shadow: var(--shadow-sm);
}

.gallery-card-caption {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gallery-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--c-dark);
}

.gallery-card-desc {
    font-size: 13px;
    color: var(--c-text-muted);
}

/* Karta "Zobacz całą galerię" z efektem mocnego rozmycia (blur) */
.gallery-card-more {
    position: relative;
    background: #18181D;
    border: 1px solid rgba(27, 27, 34, 0.15);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    min-height: 350px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-card-more:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--c-dark);
}

.gallery-card-more-bg {
    position: absolute;
    inset: -15px;
    background-size: cover;
    background-position: center;
    filter: blur(14px) brightness(0.48);
    transform: scale(1.08);
    transition: transform 0.6s ease, filter 0.6s ease, background-image 0.4s ease;
    z-index: 1;
}

.gallery-card-more:hover .gallery-card-more-bg {
    transform: scale(1.15);
    filter: blur(10px) brightness(0.4);
}

.gallery-card-more-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(15, 15, 20, 0.35) 0%, rgba(15, 15, 20, 0.72) 100%);
    z-index: 2;
}

.gallery-card-more-content {
    position: relative;
    z-index: 3;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #FFFFFF;
    width: 100%;
    box-sizing: border-box;
}

.gallery-card-more-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FFFFFF;
}

.gallery-card-more-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    color: #FFFFFF;
    letter-spacing: -0.01em;
    margin: 4px 0 0;
}

.gallery-card-more-desc {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.45;
    margin: 0;
    max-width: 260px;
}

.gallery-card-more-btn {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #FFFFFF;
    color: #1A1A1A;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 2px;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
    transition: background 0.25s, color 0.25s, transform 0.2s;
}

.gallery-card-more:hover .gallery-card-more-btn {
    background: var(--c-dark);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* ==========================================================================
   PROCES (INTERAKTYWNY PROCES REALIZACJI)
   ========================================================================== */
.section-process {
    background-color: #F8F7F5;
    position: relative;
    overflow: hidden;
}

.process-timeline {
    position: relative;
    margin-top: 16px;
}

.process-timeline-bar {
    position: absolute;
    top: 0;
    left: 4%;
    right: 4%;
    height: 3px;
    background: rgba(30, 30, 36, 0.1);
    border-radius: 2px;
    z-index: 1;
    overflow: hidden;
}

.process-timeline-fill {
    height: 100%;
    background: #1E1E24;
    border-radius: 2px;
    transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    position: relative;
    z-index: 2;
    padding-top: 18px;
    list-style: none;
    margin: 0;
}

.step-card {
    background: #FFFFFF;
    border: 1px solid rgba(30, 30, 36, 0.1);
    border-radius: 2px;
    padding: 30px 24px 26px;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease;
    overflow: hidden;
    outline: none;
    user-select: none;
}

/* Spotlight glow overlay */
.step-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 55, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.step-card:hover::before,
.step-card.is-active::before {
    opacity: 1;
}

/* Górny pasek aktywny */
.step-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.3s ease;
}

.step-card.is-active::after {
    background: #1E1E24;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(30, 30, 36, 0.3);
}

.step-card.is-active {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
    border-color: #1E1E24;
}

.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.step-badge {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7A7872;
    background: #F1F0EC;
    padding: 4px 10px;
    border-radius: 2px;
    transition: color 0.3s, background 0.3s;
}

.step-card.is-active .step-badge,
.step-card:hover .step-badge {
    color: #FFFFFF;
    background: #1E1E24;
}

.step-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 2px;
    background: #F8F7F5;
    border: 1px solid rgba(30, 30, 36, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E1E24;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}

.step-card.is-active .step-icon-wrap,
.step-card:hover .step-icon-wrap {
    background: #1E1E24;
    color: #FFFFFF;
    transform: rotate(-3deg) scale(1.06);
}

.step-card h3 {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 700;
    color: #1A1A1A;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 2;
}

.step-card p {
    margin: 0;
    font-size: 13.5px;
    color: #666666;
    line-height: 1.55;
    position: relative;
    z-index: 2;
}

.step-craft-detail {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #ECEBE6;
    position: relative;
    z-index: 2;
}

.step-craft-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6A6862;
    margin-bottom: 5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.step-craft-tag::before {
    content: "✓";
    color: #27ae60;
    font-weight: 800;
}

.step-craft-text {
    font-size: 12.5px;
    color: #555555;
    line-height: 1.45;
    margin: 0;
}

.process-bottom-cta {
    margin-top: 36px;
    padding: 18px 28px;
    background: #FFFFFF;
    border: 1px solid rgba(30, 30, 36, 0.08);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.process-bottom-cta span {
    font-size: 15px;
    font-weight: 600;
    color: #1A1A1A;
}

/* ==========================================================================
   MATERIAŁY (Z CZEGO WYKONUJEMY)
   ========================================================================== */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.material-card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.material-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--c-dark);
}

.material-card::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background: var(--c-accent);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    z-index: 2;
    transition: var(--transition);
}

.material-card:hover::after {
    background: var(--c-dark);
}

.material-card-img {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #1a1a1a;
}

.material-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.material-card:hover .material-card-img img {
    transform: scale(1.08);
}

.material-card-body {
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 12px;
}

.material-card h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: var(--c-dark);
}

.material-card p {
    margin: 0;
    font-size: 13.5px;
    color: var(--c-text-muted);
    line-height: 1.5;
}

.material-card em {
    font-style: normal;
    font-size: 13.5px;
    font-weight: 700;
    margin-top: auto;
    padding-top: 10px;
    color: var(--c-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s, transform 0.2s;
}

.material-card:hover em {
    color: var(--c-accent-dark);
    transform: translateX(4px);
}

/* ==========================================================================
   SEKCJA KONTAKT I WYCENA
   ========================================================================== */
.contact-section {
    position: relative;
    padding: 100px 0;
    background: #121216;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/2.jpg');
    background-size: cover;
    background-position: center 60%;
    opacity: 0.16;
    filter: grayscale(100%);
    pointer-events: none;
}

.contact-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

/* Lewa kolumna: dane kontaktowe */
.contact-info-panel {
    background: #1A1A1F;
    color: #FFFFFF;
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-panel h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #A8A6A1;
    margin: 0;
}

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

.contact-phone-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.contact-phone-row .tel {
    font-size: 26px;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: -0.01em;
    line-height: 1.1;
    transition: color 0.2s;
}

.contact-phone-row .tel:hover {
    color: #E2C08D;
}

.contact-phone-row .person {
    font-size: 14px;
    color: #A8A6A1;
    font-weight: 500;
}

.contact-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.contact-item a.mail-link {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
    transition: border-color 0.2s;
    display: inline-block;
}

.contact-item a.mail-link:hover {
    border-color: #FFFFFF;
}

.contact-item .hours {
    display: block;
    font-size: 13px;
    color: #8C8A84;
    margin-top: 6px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #A8A6A1;
    text-decoration: none;
    margin-top: 10px;
    transition: color 0.2s, transform 0.2s;
}

.map-link:hover {
    color: #FFFFFF;
    transform: translateX(3px);
}

/* Prawa kolumna: formularz */
.contact-form-panel {
    background: #FFFFFF;
    padding: 48px 44px;
}

.contact-form-panel h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: #1A1A1A;
    letter-spacing: -0.01em;
}

.contact-form-panel p.sub {
    margin: 0 0 26px;
    font-size: 14px;
    color: #6B6B6B;
    line-height: 1.45;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: #333333;
    letter-spacing: 0.02em;
}

.form-group label span.req {
    color: #C0392B;
}

.form-control {
    height: 44px;
    border: 1px solid #D5D5D5;
    border-radius: 2px;
    padding: 0 14px;
    font-family: inherit;
    font-size: 14.5px;
    color: #1A1A1A;
    background: #FFFFFF;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #1E1E24;
    box-shadow: 0 0 0 1px #1E1E24;
}

textarea.form-control {
    height: 84px;
    padding: 10px 14px;
    resize: vertical;
}

/* Subtelny załącznik pliku */
.file-upload-wrap {
    position: relative;
}

.file-upload-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #F8F8F9;
    border: 1px dashed #C0C0C0;
    border-radius: 2px;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
    position: relative;
}

.file-upload-compact:hover,
.file-upload-compact.dragover {
    border-color: #1E1E24;
    background: #F1F1F3;
}

.file-upload-compact input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.file-upload-btn-text {
    font-size: 13px;
    font-weight: 600;
    color: #1E1E24;
}

.file-upload-hint {
    font-size: 12px;
    color: #777777;
    margin-left: auto;
}

.file-upload-name {
    font-size: 12px;
    color: #2e7d32;
    font-weight: 600;
    margin-top: 5px;
}

.file-upload-name:empty {
    display: none;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #ECECEC;
    flex-wrap: wrap;
}

.form-disclaimer {
    font-size: 12px;
    color: #777777;
    max-width: 380px;
    line-height: 1.4;
}

.btn-submit {
    height: 48px;
    padding: 0 32px;
    background: #1E1E24;
    color: #FFFFFF;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s, transform 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-submit:hover {
    background: #33333D;
    transform: translateY(-1px);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-alert {
    display: none;
    padding: 14px 18px;
    border-radius: 2px;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 600;
}

.form-alert.success {
    display: block;
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.form-alert.error {
    display: block;
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.form-alert.error {
    display: block;
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* ==========================================================================
   SEKCJA MAPY I LOKALIZACJI
   ========================================================================== */
.map-section {
    padding: 60px 0;
    background: var(--c-white);
}

.map-wrapper {
    position: relative;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 420px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-card-floating {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--c-white);
    padding: 20px 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--c-border);
    max-width: 320px;
}

.map-card-floating h4 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
}

.map-card-floating p {
    margin: 0;
    font-size: 13px;
    color: var(--c-text-muted);
}

/* ==========================================================================
   STOPKA (FOOTER)
   ========================================================================== */
.site-footer {
    background-color: var(--c-dark);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 36px;
    padding: 70px 0 50px;
}

.footer-col h4 {
    margin: 0 0 18px;
    color: var(--c-white);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.75);
}

.footer-col a:hover {
    color: var(--c-white);
    padding-left: 4px;
}

.footer-brand .brand-name {
    color: var(--c-white);
    margin-bottom: 12px;
}

.footer-brand p {
    margin: 0 0 16px;
    line-height: 1.55;
    max-width: 300px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
    color: var(--c-white);
}

/* ==========================================================================
   STICKY MOBILE ACTION BAR
   ========================================================================== */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: var(--c-white);
    border-top: 1px solid var(--c-border);
    padding: 10px 16px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mobile-action-bar .btn {
    height: 44px;
    font-size: 14px;
    width: 100%;
}

/* ==========================================================================
   MODAL LIGHTBOX
   ========================================================================== */
.lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(15, 15, 20, 0.94);
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: var(--c-white);
    margin-top: 14px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--c-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   RESPONSYWNOŚĆ (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-box {
        width: 460px;
        padding: 28px;
    }
    .hero-box h1 {
        font-size: 28px;
    }
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
    .process-timeline-bar {
        display: none;
    }
    .materials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .main-nav,
    .header-actions {
        display: none;
    }
    .burger-btn {
        display: flex;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    .top-bar-left {
        display: none;
    }
    .top-bar-right {
        width: 100%;
        justify-content: space-between;
    }
    .main-nav,
    .header-actions {
        display: none;
    }
    .burger-btn {
        display: flex;
    }
    .hero-section {
        padding: 12px 0 40px;
    }
    .hero-mosaic {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .tile-big {
        height: 280px;
        order: 1;
    }
    .hero-box {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        order: 2;
        margin-top: -30px;
        padding: 24px 20px;
        box-shadow: var(--shadow-md);
    }
    .hero-box h1 {
        font-size: 26px;
    }
    .hero-mosaic-rest {
        display: flex;
        order: 3;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
    }
    .hero-mosaic-rest > * {
        flex: 0 0 75%;
        height: 220px;
        scroll-snap-align: start;
    }
    .paths-grid {
        grid-template-columns: 1fr;
    }
    .path-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .path-img-wrap {
        height: 220px;
    }
    .path-body {
        padding: 24px 20px;
    }
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .materials-grid {
        grid-template-columns: 1fr;
    }
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .contact-info-panel,
    .contact-form-panel {
        padding: 32px 20px;
    }
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
    .file-upload-compact {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .file-upload-hint {
        margin-left: 0;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .mobile-action-bar {
        display: grid;
    }
    body {
        padding-bottom: 64px;
    }
}

