/* =============================================
   Landing Page — Light Theme + Emerald
   Design 2026: Glassmorphism, Mesh Gradient, Modern
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- RESET & BASE --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-main: #fafbfc;
    --bg-section: #f1f3f6;
    --bg-card: #ffffff;
    --accent: #10b981;
    --accent-light: #34d399;
    --accent-dark: #059669;
    --text: #1a1f2e;
    --muted: #5c6b80;
    --subtle: #8b96a8;
    --border: rgba(15, 23, 42, 0.08);
    --border-accent: rgba(16, 185, 129, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-bg-light: rgba(255, 255, 255, 0.5);
    --shadow-emerald: 0 8px 32px rgba(16, 185, 129, 0.12);
    --shadow-deep: 0 20px 60px rgba(15, 23, 42, 0.1);
    --radius-card: 20px;
    --radius-btn: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-main);
    color: var(--text);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: var(--accent-dark);
}

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

/* --- NAV --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 251, 252, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 0 32px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav:hover {
    background: rgba(250, 251, 252, 0.95);
    box-shadow: 0 2px 20px rgba(15, 23, 42, 0.06);
}

.nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-placeholder {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.25s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
    color: white !important;
    padding: 9px 20px;
    border-radius: var(--radius-btn);
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
    transition: all 0.25s ease !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45) !important;
    transform: translateY(-1px);
    color: white !important;
}

/* Hamburger */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- HERO --- */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 60px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(16, 185, 129, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(241, 243, 246, 0.8) 0%, transparent 70%),
        linear-gradient(160deg, #f0f9f5 0%, #fafbfc 50%, #eef7f3 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle 600px at 15% 85%, rgba(16, 185, 129, 0.07) 0%, transparent 70%),
        radial-gradient(circle 400px at 85% 15%, rgba(52, 211, 153, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.hero-inner {
    max-width: 760px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--muted);
    margin-bottom: 40px;
    line-height: 1.7;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-hint {
    font-size: 0.8rem;
    color: var(--subtle);
    margin-top: 18px;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* --- BUTTONS --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-btn);
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.btn-primary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.btn-primary:hover::before {
    opacity: 1;
}

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

.btn-lg {
    padding: 18px 44px;
    font-size: 1.1rem;
}

/* --- SECTIONS --- */
.section {
    padding: 110px 24px;
    max-width: 1140px;
    margin: 0 auto;
}

.section-dark {
    background: linear-gradient(180deg, #f1f3f6 0%, #eaecf0 100%);
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
    position: relative;
}

.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 90% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.section-dark > * {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 56px;
    color: var(--text);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
    margin-top: -44px;
    margin-bottom: 48px;
    font-weight: 400;
    line-height: 1.6;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* --- STEPS (Jak to dziala) --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 32px 22px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.step-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-card);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.step-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-emerald), 0 2px 8px rgba(15, 23, 42, 0.08);
}

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

.step-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    position: relative;
    z-index: 1;
}

.step-card h3 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.step-card p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* --- SERVICES --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1140px;
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.service-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-emerald), var(--shadow-deep);
}

.service-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.03);
}

.service-card h3 {
    font-size: 1.05rem;
    color: var(--text);
    padding: 18px 18px 8px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--muted);
    padding: 0 18px 22px;
    line-height: 1.6;
}

/* --- KALKULATOR (iframe) --- */
.section-fullwidth {
    padding: 40px 0 80px;
    background:
        radial-gradient(ellipse 70% 60% at 30% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-section) 0%, var(--bg-main) 100%);
}

.calculator-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.calculator-header {
    text-align: center;
    margin-bottom: 32px;
}

.calculator-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: -0.025em;
}

.calculator-header p {
    color: var(--muted);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.calculator-frame {
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: var(--shadow-deep), 0 0 0 1px rgba(16, 185, 129, 0.06);
    position: relative;
}

.calculator-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.35), transparent);
    z-index: 1;
    pointer-events: none;
}

.calculator-frame iframe {
    width: 100%;
    height: 85vh;
    min-height: 600px;
    border: none;
    display: block;
}

/* --- PROCES PRACY --- */
.process-timeline {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.process-step {
    display: flex;
    gap: 20px;
    padding: 28px 0;
    border-left: 2px solid rgba(16, 185, 129, 0.2);
    margin-left: 18px;
    padding-left: 32px;
    position: relative;
    transition: all 0.25s ease;
}

.process-step:last-child {
    border-left-color: transparent;
}

.process-step:hover .process-number {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.15);
    transform: scale(1.08);
}

.process-number {
    position: absolute;
    left: -18px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    font-size: 0.9rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.35);
    transition: all 0.3s ease;
}

.process-content h3 {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.process-content p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.65;
}

/* --- FAQ --- */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.faq-item[open] {
    border-color: var(--border-accent);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
}

.faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    user-select: none;
    transition: color 0.2s ease;
}

.faq-item summary:hover {
    color: var(--accent);
}

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

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--accent);
    font-weight: 300;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: '+';
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 24px 20px;
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
}

.faq-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin: 24px 0 8px;
    padding-left: 4px;
    font-weight: 700;
}

.faq-category:first-child {
    margin-top: 0;
}

.faq-item a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --- ARTICLES / PORADNIK --- */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1140px;
}

.article-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 26px 22px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.article-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-emerald);
}

.article-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-dark);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
    align-self: flex-start;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.article-card h3 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.45;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.article-card p {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.6;
    flex: 1;
}

.article-soon {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.75rem;
    color: var(--subtle);
    font-style: italic;
}

.article-link {
    text-decoration: none;
    display: flex;
    cursor: pointer;
}

.article-read {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 14px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    transition: gap 0.2s ease;
}

.article-card:hover .article-read {
    gap: 8px;
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 16px;
    font-size: 6rem;
    color: rgba(16, 185, 129, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-emerald);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.95rem;
    margin-bottom: 14px;
    letter-spacing: 3px;
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 18px;
    opacity: 0.85;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.8rem;
}

.testimonial-author strong {
    color: var(--text);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--subtle);
}

.testimonials-note {
    text-align: center;
    font-size: 0.78rem;
    color: var(--subtle);
    margin-top: 24px;
}

/* --- FEATURES (Dlaczego my) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.feature:hover {
    border-color: var(--border-accent);
    background: rgba(16, 185, 129, 0.03);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12);
}

.feature-icon {
    font-size: 2.4rem;
    margin-bottom: 14px;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.2));
}

.feature h3 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.feature p {
    font-size: 0.83rem;
    color: var(--muted);
    line-height: 1.6;
}

/* --- CTA FINAL --- */
.section-cta-final {
    text-align: center;
    padding: 120px 24px;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 60% at 50% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 65%),
        linear-gradient(180deg, var(--bg-main) 0%, #eef7f3 50%, var(--bg-main) 100%);
}

.section-cta-final::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.section-cta-final h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    color: var(--text);
    margin-bottom: 14px;
    font-weight: 800;
    letter-spacing: -0.025em;
    position: relative;
}

.section-cta-final p {
    color: var(--muted);
    margin-bottom: 32px;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
}

/* --- LEAD MAGNET --- */
.lead-magnet-box {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-accent);
    border-radius: 24px;
    padding: 44px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
    box-shadow: var(--shadow-emerald), var(--shadow-deep);
    position: relative;
    overflow: hidden;
}

.lead-magnet-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.4), transparent);
}

.lead-magnet-content h2 {
    font-size: 1.35rem;
    color: var(--text);
    margin-bottom: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.lead-magnet-content p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.lead-magnet-content ul {
    list-style: none;
    padding: 0;
}

.lead-magnet-content li {
    font-size: 0.875rem;
    color: var(--muted);
    padding: 5px 0;
    padding-left: 22px;
    position: relative;
    line-height: 1.5;
}

.lead-magnet-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2310b981'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lead-magnet-label {
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 12px;
    font-weight: 600;
}

.lead-magnet-input-row {
    display: flex;
    gap: 10px;
}

.lead-magnet-input-row input {
    flex: 1;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-card);
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.25s ease;
}

.lead-magnet-input-row input::placeholder {
    color: var(--subtle);
}

.lead-magnet-input-row input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.lead-magnet-hint {
    font-size: 0.73rem;
    color: var(--subtle);
    margin-top: 10px;
    line-height: 1.5;
}

/* --- LEAD MAGNET FORM --- */
.lead-magnet-form {
    display: flex;
    flex-direction: column;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(250, 251, 252, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 16px 28px;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 9999;
    box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.08);
}

.cookie-banner p {
    font-size: 0.82rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

.cookie-banner a {
    color: var(--accent);
}

/* --- FOOTER --- */
.footer {
    background: linear-gradient(180deg, #1a1f2e 0%, #141825 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 64px 24px 28px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(16, 185, 129, 0.25) 30%, rgba(16, 185, 129, 0.25) 70%, transparent 100%);
}

.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-col h3 {
    font-size: 0.95rem;
    color: var(--accent-light);
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.footer-col p {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 7px;
    line-height: 1.6;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.84rem;
    display: block;
    margin-bottom: 7px;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--accent-light);
}

.footer-phone {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    letter-spacing: -0.01em;
}

.footer-location {
    color: rgba(255, 255, 255, 0.35) !important;
    font-size: 0.78rem !important;
}

.footer-bottom {
    max-width: 1140px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.6;
}

/* --- FLOATING PHONE (mobile only) --- */
.floating-phone {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50%;
    font-size: 1.5rem;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.45), 0 2px 8px rgba(15, 23, 42, 0.15);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(16, 185, 129, 0.6);
}

/* --- BTN SEND --- */
.btn-send {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    padding: 13px 28px;
    border-radius: var(--radius-btn);
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
}

/* --- GALERIA REALIZACJI --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-item {
    background: var(--bg-card, #ffffff);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.15);
}

.gallery-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.gallery-placeholder {
    background: linear-gradient(135deg, #d4d8e0 0%, #b8bfca 50%, #d4d8e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5c6b80;
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
}

.gallery-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%);
    background-size: 20px 20px;
}

.gallery-after.gallery-placeholder {
    background: linear-gradient(135deg, #c8e6d4 0%, #a8d5b9 50%, #c8e6d4 100%);
    color: #1a1f2e;
}

.placeholder-text {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.85);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
}

.gallery-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(26, 31, 46, 0.85);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
}

.gallery-label.after {
    background: var(--accent, #10b981);
}

.gallery-info {
    padding: 18px 20px 22px;
}

.gallery-info h3 {
    font-size: 1rem;
    color: var(--text, #1a1f2e);
    margin-bottom: 6px;
    font-weight: 700;
}

.gallery-info p {
    font-size: 0.85rem;
    color: var(--muted, #5c6b80);
    line-height: 1.5;
}

.gallery-note {
    text-align: center;
    margin-top: 24px;
    font-size: 0.8rem;
    color: var(--subtle, #8b96a8);
    font-style: italic;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .section {
        padding: 80px 24px;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

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

    .articles-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .lead-magnet-box {
        grid-template-columns: 1fr;
        padding: 32px 28px;
        gap: 28px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .calculator-frame iframe {
        height: 75vh;
    }

    .section-cta-final {
        padding: 80px 24px;
    }
}

@media (max-width: 640px) {
    .nav {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(250, 251, 252, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px 20px;
        gap: 18px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero {
        min-height: 90vh;
        padding: 110px 20px 70px;
    }

    .hero h1 {
        letter-spacing: -0.02em;
    }

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

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

    .section {
        padding: 70px 20px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .floating-phone {
        display: flex;
    }

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

    .calculator-frame iframe {
        height: 70vh;
        min-height: 500px;
    }

    .section-fullwidth {
        padding: 60px 0;
    }

    .calculator-wrapper {
        padding: 0 12px;
    }

    .lead-magnet-box {
        padding: 24px 20px;
    }

    .lead-magnet-input-row {
        flex-direction: column;
    }

    .footer {
        padding: 48px 20px 24px;
    }

    .section-cta-final {
        padding: 80px 20px;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 16px 20px;
    }

    .process-step {
        padding-left: 24px;
    }
}
