/* ============================================================
   DSPC — styles_final.css
   Wersja: 3.0 (dark theme, plik bazowy dla wszystkich podstron)
   Fonty: Barlow Condensed (headings) + Barlow (body)
   Bazuje na: styles-new.css + universalne overrides z index_new_complete.html
   ============================================================ */

/* ── Design tokens ── */
:root {
    --blue:          #2563eb;
    --blue-hover:    #1d4ed8;
    --blue-light:    rgba(37, 99, 235, 0.15);
    --blue-border:   rgba(37, 99, 235, 0.4);
    --blue-mid:      #3b82f6;

    --bg-base:       #080e1a;   /* najciemniejsze tło */
    --bg-surface:    #0a1120;   /* hero, główne tło */
    --bg-card:       #0f172a;   /* karty, inputy */
    --bg-muted:      #111827;   /* USP bar, alternatywne sekcje */

    --bg-base-rgb:    8, 14, 26;
    --bg-surface-rgb: 10, 17, 32;

    --border:        #1e2d45;
    --border-light:  rgba(255, 255, 255, 0.08);

    --text:          #ffffff;
    --text-muted:    #94a3b8;
    --text-subtle:   #64748b;
    --text-dim:      #475569;

    --nav-height:    64px;
    --nav-height-sm: 56px;

    --radius-sm:     6px;
    --radius-md:     8px;
    --radius-lg:     14px;
    --radius-xl:     16px;

    --shadow-blue:   0 8px 30px rgba(37, 99, 235, 0.35);
    --transition:    0.2s ease;
}


/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg-surface);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}


/* ============================================================
   TYPOGRAFIA
   ============================================================ */

h1, h2, h3, h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--text);
}

h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p {
    color: var(--text-muted);
    line-height: 1.7;
}

.section-eyebrow {
    display: inline-block;
    font-family: 'Barlow', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue-mid);
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--text);
    margin-bottom: 14px;
}

.section-title em {
    font-style: normal;
    color: var(--blue-mid);
}

.section-lead {
    color: var(--text-subtle);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 540px;
}


/* ============================================================
   LAYOUT HELPERS
   ============================================================ */

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 90px 0;
}

.section--dark {
    background: var(--bg-base);
    border-top: 1px solid var(--border);
}

.section--muted {
    background: var(--bg-muted);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Wyrwanie sekcji poza body max-width */
.full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
}


/* ============================================================
   NAVBAR
   ============================================================ */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    margin: 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    padding: 0 48px;
    background: rgba(8, 14, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
}

.navbar-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.navbar-logo {
    height: 36px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.navbar-links a {
    display: block;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition), background var(--transition);
}

.navbar-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.navbar-links a.active {
    color: var(--blue-mid);
    background: var(--blue-light);
}

.navbar-links a.nav-cta {
    background: var(--blue);
    color: #fff;
    font-weight: 600;
    padding: 0.4rem 1rem;
}

.navbar-links a.nav-cta:hover {
    background: var(--blue-hover);
    color: #fff;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    margin-left: auto;
    transition: background var(--transition);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.07);
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s, width 0.3s;
    transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Offset pod fixed navbar */
main {
    padding-top: var(--nav-height);
}


/* ============================================================
   MOBILE MENU (drawer)
   ============================================================ */

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg-base);
    z-index: 300;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height-sm);
    padding: 0 16px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.mobile-brand {
    display: flex;
    align-items: center;
}

.mobile-brand img,
.mobile-menu-header img,
.mobile-logo {
    height: 38px;
    width: auto;
}

.mobile-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.3rem;
    line-height: 1;
    transition: background var(--transition);
}

.mobile-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-links {
    flex: 1;
    padding: 8px 0;
    list-style: none;
    margin: 0;
}

.mobile-nav-links a,
.mobile-nav-links li a {
    display: block;
    padding: 17px 24px;
    color: var(--text-muted);
    font-family: 'Barlow', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: color var(--transition), background var(--transition);
}

.mobile-nav-links a:hover,
.mobile-nav-links li a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.mobile-nav-links a.active,
.mobile-nav-links li a.active {
    color: var(--blue-mid);
}

.mobile-cta-wrap {
    padding: 20px 20px 48px;
}

.mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 17px;
    background: var(--blue);
    color: #fff;
    border-radius: 10px;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    transition: background var(--transition);
    text-decoration: none;
}

.mobile-cta-btn:hover {
    background: var(--blue-hover);
}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius-md);
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    text-decoration: none;
    border: none;
}

.btn svg {
    transition: transform var(--transition);
    flex-shrink: 0;
}

/* Primary */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 34px;
    background: var(--blue);
    color: #fff;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--blue-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
    color: #fff;
}

.btn-primary svg {
    transition: transform var(--transition);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

/* Secondary (ghost) */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: #fff;
}

/* Full width variant */
.btn-block {
    width: 100%;
    justify-content: center;
}

/* White (na CTA banerach) */
.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 32px;
    background: #fff;
    color: var(--blue);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    color: var(--blue-hover);
}


/* ============================================================
   BADGE / CHIP
   ============================================================ */

.badge {
    display: inline-block;
    background: var(--blue-light);
    border: 1px solid var(--blue-border);
    color: #60a5fa;
    font-family: 'Barlow', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 7px 14px;
    font-size: 0.8rem;
    color: var(--text-dim);
}


/* ============================================================
   KARTY (cards)
   ============================================================ */

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.card--featured {
    border-color: var(--blue);
    box-shadow: 0 0 0 1px var(--blue), 0 4px 20px rgba(37, 99, 235, 0.1);
}


/* ============================================================
   FORMULARZE
   ============================================================ */

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

label {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
}

input,
select,
textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    color: var(--text);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
    -webkit-appearance: none;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-dim);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--blue-mid);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

/* Checkbox */
.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--blue);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-row span {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Form grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 32px;
}

/* Form card */
.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem 2.5rem;
}

.form-card h2 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--blue);
    color: var(--text);
}


/* ============================================================
   STATS BAR
   ============================================================ */

.stats-row {
    display: flex;
    align-items: center;
    gap: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
    margin-top: 44px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.stat-number span {
    color: var(--blue-mid);
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-subtle);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 3px;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border-light);
    flex-shrink: 0;
}


/* ============================================================
   USP STRIP
   ============================================================ */

.usp-strip {
    background: var(--bg-muted);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0;
}

.usp-strip .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 28px;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    border-right: 1px solid var(--border);
}

.usp-item:last-child {
    border-right: none;
}

.usp-item svg {
    color: var(--blue-mid);
    flex-shrink: 0;
}


/* ============================================================
   PROCESS / TIMELINE
   ============================================================ */

.timeline {
    display: flex;
    flex-direction: column;
}

.tl-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0 28px;
}

.tl-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tl-dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-mid);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.tl-item:hover .tl-dot {
    border-color: var(--blue-mid);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.tl-dot--final {
    background: var(--blue-light);
    border-color: var(--blue);
}

.tl-line {
    width: 1px;
    flex: 1;
    min-height: 32px;
    background: linear-gradient(to bottom, var(--border), transparent);
    margin: 4px 0;
}

.tl-last .tl-line {
    display: none;
}

.tl-content {
    padding: 4px 0 48px;
}

.tl-last .tl-content {
    padding-bottom: 0;
}

.tl-step {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue-mid);
    margin-bottom: 8px;
}

.tl-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.tl-desc {
    font-size: 0.95rem;
    color: var(--text-subtle);
    line-height: 1.75;
    margin-bottom: 12px;
    max-width: 600px;
}

.tl-detail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 7px 14px;
    font-size: 0.8rem;
    color: var(--text-dim);
}


/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: box-shadow 0.25s, transform 0.25s;
}

.testimonial-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.testimonial-card--featured {
    border-color: var(--blue);
    box-shadow: 0 0 0 1px var(--blue), 0 4px 20px rgba(37, 99, 235, 0.1);
}

.stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
}

.star {
    color: #f59e0b;
    font-size: 1rem;
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 22px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(37, 99, 235, 0.12);
    line-height: 1;
    pointer-events: none;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--blue-mid);
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.author-build {
    font-size: 0.78rem;
    color: var(--text-subtle);
    margin-top: 1px;
}


/* ============================================================
   GALLERY GRID
   ============================================================ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 240px 240px;
    gap: 14px;
}

.gallery-item {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.gallery-item:nth-child(1) { grid-column: 1 / 6;  grid-row: 1 / 3; }
.gallery-item:nth-child(2) { grid-column: 6 / 9;  grid-row: 1 / 2; }
.gallery-item:nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 2; }
.gallery-item:nth-child(4) { grid-column: 6 / 10; grid-row: 2 / 3; }
.gallery-item:nth-child(5) { grid-column: 10 / 13; grid-row: 2 / 3; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 14, 26, 0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-chip {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(8, 14, 26, 0.85);
    backdrop-filter: blur(6px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
}


/* ============================================================
   PHOTO PLACEHOLDER
   ============================================================ */

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--border);
    font-size: 0.78rem;
    background: var(--bg-card);
    font-family: 'Barlow', sans-serif;
}

.photo-placeholder svg {
    opacity: 0.4;
}


/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-banner {
    background: linear-gradient(135deg, #1e40af 0%, var(--blue) 50%, var(--blue-mid) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::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: 50px 50px;
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    color: #fff;
    margin-bottom: 12px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
}


/* ============================================================
   FOOTER
   ============================================================ */

footer {
    background: var(--bg-base);
    border-top: 1px solid var(--border);
    padding: 40px 48px;
}

.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.footer-top .footer-brand {
    justify-self: start;
}

.footer-top .footer-contact-info {
    justify-self: center;
}

.footer-top .social-links {
    justify-self: end;
}

.footer-logo {
    height: 38px;
    width: auto;
}

.footer-brand {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text);
}

.footer-contact,
.footer-contact-info {
    font-size: 0.875rem;
    color: var(--text-subtle);
    text-align: center;
    line-height: 1.7;
}

.footer-contact a,
.footer-contact-info a {
    color: var(--blue-mid);
    transition: color var(--transition);
}

.footer-contact a:hover,
.footer-contact-info a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-links a img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    opacity: 0.6;
    transition: opacity var(--transition), transform var(--transition);
}

.social-links a img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-dim);
}


/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

[data-scroll] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-scroll-visible] {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */

@media (max-width: 1024px) {
    .container { padding: 0 28px; }
    .navbar { padding: 0 28px; }
    nav[style] { padding: 0 28px !important; }
    footer { padding: 36px 28px; }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .gallery-item:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }

    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */

@media (max-width: 768px) {

    /* Navbar */
    .navbar,
    nav[style] {
        padding: 0 16px !important;
        height: var(--nav-height-sm) !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-links { display: none !important; }
    .nav-toggle, #navToggle { display: flex !important; }

    .navbar-logo {
        height: 30px;
    }

    main { padding-top: var(--nav-height-sm); }

    header {
        width: 100%;
    }

    /* Sekcje */
    .section { padding: 60px 0; }
    .container { padding: 0 20px; }

    /* USP strip — pionowo */
    .usp-strip .container {
        flex-direction: column;
    }

    .usp-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 14px 20px;
        width: 100%;
    }

    .usp-item:last-child {
        border-bottom: none;
    }

    /* Stats */
    .stats-row {
        gap: 0;
        justify-content: space-between;
    }

    .stat-item { padding: 0 8px; }
    .stat-number { font-size: 1.7rem; }
    .stat-label  { font-size: 0.64rem; }

    /* Timeline */
    .tl-item {
        grid-template-columns: 44px 1fr;
        gap: 0 16px;
    }

    .tl-dot {
        width: 44px;
        height: 44px;
    }

    .tl-title { font-size: 1.2rem; }
    .tl-desc  { font-size: 0.92rem; }
    .tl-content { padding-bottom: 36px; }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 160px 160px 160px;
    }

    .gallery-item:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }

    /* Footer */
    footer { padding: 28px 20px; }

    .footer-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-brand {
        width: 100%;
        text-align: center;
    }

    .footer-brand img {
        display: inline-block !important;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}


/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .btn { padding: 14px 20px; font-size: 0.9rem; }

    .navbar-logo {
        height: 30px;
    }

    .stats-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .stats-row .stat-divider:last-of-type {
        display: none;
    }

    .stats-row .stat-item:last-child {
        grid-column: 1 / -1;
        border-top: 1px solid var(--border-light);
        padding-top: 16px;
        margin-top: 8px;
        text-align: center;
    }

    .form-card { padding: 1.5rem; }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}


/* ============================================================
   BODY TRANSITION (smooth theme switch)
   ============================================================ */

body {
    transition: background-color 0.3s ease, color 0.3s ease;
}


/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

/* Ukrywanie ikon zależnie od motywu */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }

body.light .theme-toggle .icon-sun  { display: block; }
body.light .theme-toggle .icon-moon { display: none; }

body.light .theme-toggle {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--border);
    color: var(--text-muted);
}

body.light .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.09);
    color: var(--text);
}


/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
    position: relative;
    background-color: var(--bg-surface);
    overflow: hidden;
    padding: 72px 40px;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 90% 90% at 40% 50%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 90% 90% at 40% 50%, black 20%, transparent 100%);
}

.hero-glow {
    position: absolute;
    top: -10%;
    left: 20%;
    width: 600px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
}

.hero-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 180px;
    gap: 12px;
}

.hero-photo {
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    position: relative;
}

.hero-photo:first-child {
    grid-row: 1 / 3;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.hero-photo:hover img { transform: scale(1.04); }

.hero-photo-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(var(--bg-surface-rgb), 0.82);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 5px 10px;
    font-family: 'Barlow', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

.hero-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-ph-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--border);
    font-family: 'Barlow', sans-serif;
    font-size: 0.75rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.4);
    color: #60a5fa;
    font-family: 'Barlow', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
    animation: fadeUp 0.6s ease both;
}

.hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.0;
    color: var(--text);
    margin: 0 0 16px 0;
    letter-spacing: -0.01em;
    animation: fadeUp 0.6s 0.1s ease both;
}

.hero-title span { color: #3b82f6; }

.hero-subtitle {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 480px;
    margin: 0 0 36px;
    font-weight: 400;
    animation: fadeUp 0.6s 0.2s ease both;
}

.hero-cta-group {
    display: flex;
    gap: 14px;
    justify-content: flex-start;
    flex-wrap: wrap;
    animation: fadeUp 0.6s 0.3s ease both;
}

.hero-stats {
    margin-top: 44px;
    display: flex;
    justify-content: flex-start;
    gap: 36px;
    flex-wrap: nowrap;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
    animation: fadeUp 0.6s 0.45s ease both;
}


/* ============================================================
   USP BAR
   ============================================================ */

.usp-bar {
    background: var(--bg-muted);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 22px 20px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.usp-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.usp-bar .usp-item {
    padding: 8px 28px;
    font-size: 0.9rem;
}


/* ============================================================
   PROCESS BESPOKE
   ============================================================ */

.process-bespoke {
    background: var(--bg-base);
    padding: 100px 20px;
    border-top: 1px solid var(--border);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.process-bespoke-inner {
    max-width: 860px;
    margin: 0 auto;
}

.process-header {
    text-align: center;
    margin-bottom: 72px;
}

.process-eyebrow {
    display: inline-block;
    font-family: 'Barlow', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue-mid);
    margin-bottom: 16px;
}

.process-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.1;
    color: var(--text);
    margin: 0 0 18px 0;
    letter-spacing: -0.01em;
}

.process-title em {
    font-style: normal;
    color: var(--blue-mid);
}

.process-lead {
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    color: var(--text-subtle);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
}

/* Alias dla klasy używanej w HTML */
.tl-dot-final {
    background: var(--blue-light);
    border-color: var(--blue);
}

.process-cta {
    text-align: center;
    margin-top: 64px;
    padding-top: 52px;
    border-top: 1px solid var(--border);
}


/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
    background: var(--bg-base);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 90% at 50% 110%, rgba(37, 99, 235, 0.14) 0%, transparent 65%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.4);
    color: #60a5fa;
    font-family: 'Barlow', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 22px;
}

.cta-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: var(--text);
    line-height: 1.05;
    margin: 0 0 18px;
}

.cta-title span { color: var(--blue-mid); }

.cta-subtitle {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0 0 36px;
}


/* ============================================================
   TESTIMONIALS / REVIEWS
   ============================================================ */

.testimonials-section {
    padding: 80px 40px;
    background: var(--bg-surface);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 52px;
}

.testimonials-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--text);
    margin: 0 0 10px;
}

.testimonials-lead {
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    color: var(--text-subtle);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.review-card {
    background: #162038;
    border: 1px solid #253452;
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.2s, transform 0.2s;
}

.review-card:hover {
    border-color: rgba(37, 99, 235, 0.45);
    transform: translateY(-3px);
}

.review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-stars {
    display: flex;
    gap: 3px;
    color: #f59e0b;
    font-size: 1rem;
}

.review-quote-icon { color: var(--blue); opacity: 0.55; }

.review-text {
    font-family: 'Barlow', sans-serif;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
    font-style: italic;
}

.review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.review-author {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.review-specs {
    font-family: 'Barlow', sans-serif;
    font-size: 0.76rem;
    color: var(--text-dim);
    margin-top: 3px;
}

.review-link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Barlow', sans-serif;
    font-size: 0.78rem;
    color: var(--blue-mid);
    text-decoration: none;
    opacity: 0.75;
    transition: opacity 0.2s;
}

.review-link:hover { opacity: 1; }

.review-toggle {
    align-self: flex-start;
    background: none;
    border: none;
    padding: 0;
    font-family: 'Barlow', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--blue-mid);
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.15s;
    margin-top: -8px;
}

.review-toggle:hover { opacity: 1; }


/* ============================================================
   LIGHT THEME
   ============================================================ */

body.light {
    --bg-base:       #eef2f7;
    --bg-surface:    #f8fafc;
    --bg-card:       #ffffff;
    --bg-muted:      #e8eef5;

    --bg-base-rgb:    238, 242, 247;
    --bg-surface-rgb: 248, 250, 252;

    --border:        #cbd5e1;
    --border-light:  rgba(0, 0, 0, 0.08);

    --text:          #0f172a;
    --text-muted:    #475569;
    --text-subtle:   #64748b;
    --text-dim:      #94a3b8;
}

/* Navbar (inline style w komponencie) */
body.light nav[style] {
    background: rgba(var(--bg-base-rgb), 0.97) !important;
    border-bottom-color: var(--border) !important;
}

/* Przycisk ghost w trybie dziennym */
body.light .btn-secondary {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.14);
    color: var(--text-muted);
}

body.light .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.22);
    color: var(--text);
}

/* Mobilne menu */
body.light .mobile-menu {
    background: var(--bg-surface);
}

body.light .mobile-close {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--border);
    color: var(--text-muted);
}

body.light .mobile-nav-links a,
body.light .mobile-nav-links li a {
    border-bottom-color: var(--border);
}

body.light .mobile-nav-links a:hover,
body.light .mobile-nav-links li a:hover {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text);
}

/* Hero stats divider */
body.light .hero-stats {
    border-top-color: var(--border);
}

/* Chip / tl-detail */
body.light .chip,
body.light .tl-detail {
    background: rgba(0, 0, 0, 0.03);
}

/* Karty recenzji — przywróć neutralne tło w jasnym motywie */
body.light .review-card {
    background: var(--bg-card);
    border-color: var(--border);
}

/* Galeria — delikatna ramka w jasnym motywie */
body.light .gallery-item {
    border-color: rgba(0, 0, 0, 0.07);
}


/* ============================================================
   RESPONSIVE — HERO & PAGE SECTIONS (≤ 768px)
   ============================================================ */

@media (max-width: 768px) {
    .hero {
        padding: 48px 20px 52px;
        text-align: center;
        width: 100%;
        left: auto;
        right: auto;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 0;
    }

    .stat-item { padding: 0 12px; }

    .hero-photos {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 160px 120px;
    }

    .hero-photo:first-child { grid-row: auto; }

    .usp-bar,
    .process-bespoke {
        width: 100%;
        left: auto;
        right: auto;
        margin-left: 0;
        margin-right: 0;
    }

    .usp-inner { flex-direction: column; }

    .usp-bar .usp-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 14px 20px;
        width: 100%;
    }

    .usp-bar .usp-item:last-child { border-bottom: none; }

    .process-bespoke { padding: 60px 20px; }
    .process-header  { margin-bottom: 44px; }
    .process-cta     { margin-top: 44px; padding-top: 40px; }

    .cta-section,
    .testimonials-section { padding: 60px 20px; }
}

@media (max-width: 900px) {
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid .review-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-grid .review-card:nth-child(3) {
        grid-column: auto;
        max-width: 100%;
    }
}

@media (max-width: 400px) {
    .hero-title { font-size: 2.4rem; }
}
