:root {
    --bg: #faf6ef;
    --bg2: #f3ece1;
    --surface: #ffffff;
    --border: #e7ddcd;
    --border-hover: #d6c8b2;
    --text: #2b2622;
    --muted: #6f665b;
    --accent: #2f6b4f;
    --accent-dark: #245840;
    --accent2: #c8693f;
    --accent2-dark: #b15730;
    --container-max: 1140px;
    --lift-card: -4px;   /* jedno uniesienie karty w calym serwisie */
    --font-header: 'Fraunces', Georgia, serif;
    /* Inter nie jest ladowany z Google Fonts - body uzywa Spline Sans (styles.css). */
    --font-body: 'Spline Sans', system-ui, -apple-system, Segoe UI, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.7; }

/* ══════════════════════════════════════════════
   NAV — mobile first
   ══════════════════════════════════════════════ */
.sp-nav {
    position: sticky; top: 0; z-index: 200;
    width: 100%;
    padding: 0;
    background: rgba(250,246,239,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.sp-nav-inner {
    width: min(1140px, calc(100% - 2.4rem));
    margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.85rem 0;
    gap: 1rem;
}
.sp-nav-logo img { height: 32px; width: auto; display: block; }

/* desktop nav links — hidden on mobile */
.sp-nav-desktop {
    display: none;
    align-items: center;
    gap: 1.8rem;
}
.sp-nav-desktop a {
    color: var(--muted); text-decoration: none; font-size: 0.88rem;
    font-weight: 500; transition: color 0.2s;
}
.sp-nav-desktop a:hover { color: var(--accent); }

.sp-nav-actions { display: flex; align-items: center; gap: 0.75rem; }

/* ── Desktop Dropdown (sp-nav) ─── */
.sp-nav-dropdown {
    position: relative;
}
.sp-nav-dropdown-toggle {
    display: flex; align-items: center; gap: 0.3rem;
    background: none; border: none; cursor: pointer;
    color: var(--muted); font-size: 0.88rem; font-weight: 500;
    font-family: var(--font-body); padding: 0; transition: color 0.2s;
}
.sp-nav-dropdown-toggle:hover,
.sp-nav-dropdown.is-open .sp-nav-dropdown-toggle { color: var(--accent); }

.sp-nav-dropdown-caret {
    font-size: 0.95rem; font-weight: 700; color: var(--accent2); margin-left: 0.35rem;
    line-height: 1; transition: transform 0.2s, color 0.2s; display: inline-block;
}
.sp-nav-dropdown.is-open .sp-nav-dropdown-caret { transform: rotate(45deg); }

.sp-nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    display: flex; gap: 1.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(43,38,34,0.12);
    padding: 1.2rem;
    min-width: 480px;
    /* hidden by default */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
    z-index: 500;
}
.sp-nav-dropdown.is-open .sp-nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
}

.sp-nav-dropdown-section {
    flex: 1; display: flex; flex-direction: column; gap: 0.1rem;
}
.sp-nav-dropdown-section:first-child {
    border-right: 1px solid var(--border); padding-right: 1.5rem;
}
.sp-nav-dropdown-heading {
    font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.5rem;
}
.sp-nav-dropdown-section a {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.45rem 0.6rem; border-radius: 7px;
    color: var(--text); text-decoration: none;
    font-size: 0.875rem; font-weight: 400;
    transition: background 0.15s, color 0.15s;
}
.sp-nav-dropdown-section a:hover {
    background: rgba(47,107,79,0.08); color: var(--accent);
}
.sp-nav-dropdown-section a i {
    color: var(--accent2); width: 14px; text-align: center;
    flex-shrink: 0; font-size: 0.8rem;
}



/* CTA — hidden on mobile, shown on desktop */
.sp-nav-cta {
    display: none;
    background: var(--accent2); color: #fff;
    padding: 0.45rem 1.1rem; border-radius: 6px;
    font-size: 0.83rem; font-weight: 600; text-decoration: none;
    transition: background 0.2s; white-space: nowrap;
}
.sp-nav-cta:hover { background: var(--accent2-dark); }

/* ── Hamburger button ─── */
.sp-hamburger {
    display: flex; flex-direction: column; justify-content: center;
    gap: 5px; width: 36px; height: 36px; padding: 6px;
    background: none; border: 1px solid var(--border); border-radius: 6px;
    cursor: pointer; flex-shrink: 0;
}
.sp-hamburger span {
    display: block; height: 2px; background: var(--text);
    border-radius: 2px; transition: transform 0.25s, opacity 0.2s;
    transform-origin: center;
}
.sp-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sp-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.sp-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu overlay ─── */
.sp-mobile-menu {
    position: fixed; inset: 0; z-index: 199;
    background: rgba(43,38,34,0.4);
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s;
}
.sp-mobile-menu.is-open { opacity: 1; pointer-events: auto; }

.sp-mobile-menu-panel {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: min(320px, 88vw);
    background: var(--bg);
    border-left: 1px solid var(--border);
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.16,1,0.3,1);
    display: flex; flex-direction: column; gap: 1.8rem;
}
.sp-mobile-menu.is-open .sp-mobile-menu-panel { transform: translateX(0); }

.sp-mobile-heading {
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.7rem;
}
.sp-mobile-section { display: flex; flex-direction: column; }
.sp-mobile-section a {
    color: var(--text); text-decoration: none; font-size: 0.92rem;
    padding: 0.5rem 0; border-bottom: 1px solid var(--border);
    transition: color 0.2s; display: flex; align-items: center; gap: 0.4rem;
}
.sp-mobile-section a:last-child { border-bottom: none; }
.sp-mobile-section a:hover { color: var(--accent); }
.sp-mobile-section a::before { content: '→'; color: var(--accent2); font-size: 0.8rem; flex-shrink: 0; }

.sp-mobile-close {
    position: absolute; top: 1rem; right: 1rem;
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--border); background: none;
    cursor: pointer; font-size: 1.1rem; color: var(--muted);
    display: flex; align-items: center; justify-content: center;
    transition: color 0.2s, border-color 0.2s;
}
.sp-mobile-close:hover { color: var(--text); border-color: var(--border-hover); }

.sp-mobile-cta {
    display: block; background: var(--accent2); color: #fff;
    text-align: center; padding: 0.85rem; border-radius: 8px;
    font-weight: 700; font-size: 0.92rem; text-decoration: none;
    transition: background 0.2s; margin-top: auto;
}
.sp-mobile-cta:hover { background: var(--accent2-dark); }

/* ══════════════════════════════════════════════
   HERO — mobile first
   ══════════════════════════════════════════════ */
/* Wyrównane 1:1 do .hero / .badge / .hero-subtitle z index (styles.css) */
.sp-hero {
    padding: 6rem 2rem 5rem;
    max-width: 860px; margin: 0 auto; text-align: center;
    position: relative; overflow: hidden;
}
.sp-tag {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(47,107,79,0.08); border: 1px solid rgba(47,107,79,0.2);
    color: var(--accent); border-radius: 50px; padding: 0.45rem 1.1rem;
    font-size: 0.82rem; font-weight: 600;
    margin-bottom: 1.75rem;
}
.sp-hero h1 {
    font-family: var(--font-header);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700; line-height: 1.12; letter-spacing: -0.5px;
    margin-bottom: 1.4rem; color: #fffdf7;
    text-shadow: 0 3px 16px rgba(0,0,0,0.78), 0 1px 3px rgba(0,0,0,0.82);
}
.sp-hero h1 em { font-style: normal; color: #ffd39b; }
.sp-hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255,253,247,0.9); max-width: 650px; margin: 0 auto 2.5rem;
    text-shadow: 0 2px 14px rgba(0,0,0,0.78), 0 1px 3px rgba(0,0,0,0.82);
}
.sp-stats { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.sp-stat { text-align: center; }
.sp-stat-num { font-family: var(--font-header); font-size: 2rem; font-weight: 700; color: var(--accent2); display: block; }
.sp-stat-label { font-size: 0.78rem; color: rgba(255,253,247,0.82); text-transform: uppercase; letter-spacing: 0.06em; text-shadow: 0 2px 12px rgba(0,0,0,0.62); }

.sp-hero-cms-bg {
    max-width: none;
    margin: 0;
    padding: 6rem 2rem 5rem;
    color: var(--text);
    background: #fff;
    border-bottom: 1px solid var(--border);
    isolation: isolate;
}
.sp-hero-cms-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--sp-hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: -1;
    pointer-events: none;
}
.sp-hero-cms-bg::after {
    content: none;
}
.sp-hero-cms-bg > * {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.sp-hero-cms-bg h1 {
    color: #fffdf7;
    text-shadow: 0 3px 18px rgba(0,0,0,0.68);
}
.sp-hero-cms-bg h1 em { color: #ffd39b; }
.sp-hero-cms-bg .sp-hero-sub,
.sp-hero-cms-bg .sp-stat-label { color: rgba(255,253,247,0.82); }
.sp-hero-cms-bg .sp-stat-num { color: #ffd39b; text-shadow: 0 2px 14px rgba(0,0,0,0.62); }
.sp-hero-cms-bg .sp-tag {
    background: rgba(10, 14, 20, 0.42);
    border-color: rgba(255, 253, 247, 0.28);
    color: #fffdf7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.demo-video-wrapper h3 {
    font-family: var(--font-header);
    color: var(--text);
    line-height: 1.2;
}
.demo-video-wrapper p {
    font-family: var(--font-body);
    color: var(--muted);
}
.demo-video-wrapper .demo-video {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

/* ══════════════════════════════════════════════
   SECTION — mobile first
   ══════════════════════════════════════════════ */
/* Wyrównane 1:1 do .section / .section-header z index (styles.css) */
.sp-section { padding: 5rem 2rem; max-width: var(--container-max); margin: 0 auto; }
.sp-section-title {
    font-family: var(--font-header);
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 700; margin-bottom: 2.5rem; color: var(--text);
    text-align: center; letter-spacing: -0.015em;
}
.sp-section-sub {
    color: var(--muted); margin: -1.5rem auto 3.5rem; font-size: 1.08rem;
    max-width: 620px; text-align: center;
}
.sp-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ══════════════════════════════════════════════
   PROBLEM CARDS — mobile first (1 col)
   ══════════════════════════════════════════════ */
/* Karty w stylu .glass-card z index (radius 16, padding 2.2rem, hover-lift) */
.sp-problems { display: flex; flex-direction: column; gap: 1.5rem; }
.sp-problem {
    background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
    padding: 2.2rem;
    display: flex; flex-direction: column; gap: 1.2rem;
    box-shadow: 0 1px 3px rgba(43,38,34,0.06);
    transition: all 0.25s ease;
}
.sp-problem:hover { border-color: var(--border-hover); transform: translateY(var(--lift-card)); box-shadow: 0 6px 20px rgba(43,38,34,0.08); }
.sp-problem-left h3 { font-family: var(--font-header); font-size: 1.35rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--text); }
.sp-problem-left p { color: var(--muted); font-size: 0.97rem; line-height: 1.65; }
.sp-problem-cost { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.8rem; background: rgba(200,80,45,0.08); border: 1px solid rgba(200,80,45,0.2); border-radius: 8px; padding: 0.35rem 0.75rem; font-size: 0.84rem; color: #b84d28; }
.sp-problem-right { border-top: 1px solid var(--border); padding-top: 1.2rem; }
.sp-problem-right h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 0.7rem; }
.sp-problem-right ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.sp-problem-right li { font-size: 0.95rem; color: var(--muted); display: flex; align-items: flex-start; gap: 0.5rem; }
.sp-problem-right li::before { content: '→'; color: var(--accent); flex-shrink: 0; margin-top: 0.05rem; }
.sp-result-badge { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(47,107,79,0.08); border: 1px solid rgba(47,107,79,0.2); border-radius: 8px; padding: 0.35rem 0.75rem; font-size: 0.84rem; color: var(--accent); }

/* ══════════════════════════════════════════════
   FEATURES — mobile first (1 col)
   ══════════════════════════════════════════════ */
.sp-features { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.sp-feature {
    background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
    padding: 2.2rem; box-shadow: 0 1px 3px rgba(43,38,34,0.06);
    transition: all 0.25s ease;
}
.sp-feature:hover { border-color: var(--border-hover); transform: translateY(var(--lift-card)); box-shadow: 0 6px 20px rgba(43,38,34,0.08); }
.sp-feature-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(47,107,79,0.22);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(47,107,79,0.08), rgba(200,105,63,0.05)),
        var(--surface);
    color: transparent;
    font-size: 0;
    line-height: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 6px 16px rgba(43,38,34,0.05);
}
.sp-feature-icon::before {
    content: "";
    width: 0.86rem;
    height: 0.86rem;
    border: 2px solid var(--accent);
    border-radius: 4px;
    transform: rotate(45deg);
}
.sp-feature-icon::after {
    content: "";
    position: absolute;
    width: 0.36rem;
    height: 0.36rem;
    right: 0.56rem;
    top: 0.56rem;
    border-radius: 50%;
    background: var(--accent2);
    box-shadow: -1.1rem 1.1rem 0 rgba(47,107,79,0.18);
}
.sp-feature h4 { font-family: var(--font-header); font-size: 1.35rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--text); }
.sp-feature p { font-size: 0.97rem; color: var(--muted); line-height: 1.65; }

/* ══════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════ */
.sp-faq { display: flex; flex-direction: column; gap: 1rem; max-width: 820px; margin: 0 auto; }
.sp-faq-item {
    background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
    padding: 1.4rem 1.8rem; box-shadow: 0 1px 3px rgba(43,38,34,0.06);
    transition: border-color 0.25s ease;
}
.sp-faq-item:hover { border-color: var(--border-hover); }
.sp-faq-item summary { font-weight: 600; cursor: pointer; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--text); }
.sp-faq-item summary::-webkit-details-marker { display: none; }
.sp-faq-item summary::after { content: '+'; color: var(--accent); font-size: 1.2rem; flex-shrink: 0; }
.sp-faq-item[open] summary::after { content: '−'; }
.sp-faq-item p { margin-top: 0.9rem; font-size: 0.95rem; color: var(--muted); line-height: 1.7; }

/* ══════════════════════════════════════════════
   KALKULATOR OSZCZEDNOSCI
   ══════════════════════════════════════════════ */
.calculator-box {
    background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
    padding: 2rem; max-width: 640px; margin: 0 auto; box-shadow: 0 1px 3px rgba(43,38,34,0.06);
}
.calculator-fields { display: grid; gap: 1.1rem; margin-bottom: 1.5rem; }
.calculator-field label {
    display: block; font-size: 0.85rem; color: var(--text); margin-bottom: 0.4rem; font-weight: 500;
}
.calculator-field input {
    width: 100%; padding: 0.75rem 1rem; border-radius: 10px; border: 1px solid var(--border);
    background: var(--bg-primary, #fff); color: var(--text); font-size: 1rem;
}
.calculator-field input:focus { outline: none; border-color: var(--accent); }
.calculator-result {
    display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
    padding-top: 1.25rem; border-top: 1px solid var(--border);
}
.calculator-result-label { font-size: 0.95rem; color: var(--muted); }
.calculator-result-value { font-size: 1.9rem; font-weight: 700; color: var(--accent); }
.calculator-disclaimer { margin-top: 1rem; font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

/* ══════════════════════════════════════════════
   CTA — mobile first
   ══════════════════════════════════════════════ */
.sp-cta {
    background: linear-gradient(135deg, rgba(200,105,63,0.06) 0%, rgba(47,107,79,0.06) 100%);
    border: 1px solid rgba(200,105,63,0.2); border-radius: 12px;
    padding: 2rem 1.2rem; text-align: center;
    max-width: var(--container-max); margin: 0 1.2rem 3rem;
}
.sp-cta h2 { font-family: var(--font-header); font-size: 1.4rem; margin-bottom: 0.7rem; color: var(--text); }
.sp-cta p { color: var(--muted); margin-bottom: 1.5rem; font-size: 0.92rem; }
.sp-cta-btn { display: inline-block; background: var(--accent2); color: #fff; padding: 0.8rem 1.8rem; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 0.92rem; transition: background 0.2s; }
.sp-cta-btn:hover { background: var(--accent2-dark); }

/* ══════════════════════════════════════════════
   FOOTER — identyczny z main site
   ══════════════════════════════════════════════ */
.site-footer {
    background: #1e1a16;
    border-top: 1px solid #e7ddcd;
    color: #9a9088;
    font-size: 0.875rem;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 2.5rem 1.5rem 2rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo-link { display: inline-flex; align-items: center; }
.footer-logo-img { height: 36px; width: auto; display: block; filter: brightness(1.1); transition: filter 0.2s; }
.footer-logo-img:hover { filter: brightness(1.3); }
.footer-tagline { color: #9a9088; line-height: 1.65; max-width: 280px; font-size: 0.86rem; }
.footer-badges { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.footer-badge {
    display: inline-flex; align-items: center; gap: 0.35rem;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(231,221,205,0.2);
    border-radius: 20px; padding: 0.25rem 0.75rem;
    font-size: 0.75rem; color: #9a9088;
}
.footer-badge i { color: #5a9e78; font-size: 0.7rem; }
.footer-heading {
    font-family: var(--font-header); font-size: 0.78rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: #e8e4de; margin-bottom: 0.9rem;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-list a { color: #9a9088; text-decoration: none; font-size: 0.86rem; transition: color 0.2s; }
.footer-list a:hover { color: #5a9e78; }
.footer-address { font-style: normal; display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 1.1rem; }
.footer-address p { display: flex; align-items: center; gap: 0.5rem; color: #9a9088; font-size: 0.86rem; }
.footer-address i { color: #5a9e78; width: 14px; text-align: center; flex-shrink: 0; }
.footer-address a { color: #9a9088; text-decoration: none; transition: color 0.2s; }
.footer-address a:hover { color: #5a9e78; }
.footer-social { display: flex; gap: 0.55rem; }
.social-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid #e7ddcd; color: #9a9088;
    text-decoration: none; font-size: 0.85rem;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.social-icon:hover { border-color: #5a9e78; color: #5a9e78; background: rgba(90,158,120,0.1); }
.footer-bottom { border-top: 1px solid rgba(231,221,205,0.12); }
.footer-bottom-inner {
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 0.6rem; max-width: var(--container-max); margin: 0 auto; padding: 1rem 1.5rem;
}
.footer-copy { color: #6f665b; font-size: 0.78rem; }
.footer-legal { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.footer-legal a { color: #6f665b; text-decoration: none; font-size: 0.78rem; transition: color 0.2s; }
.footer-legal a:hover { color: #5a9e78; }
.footer-legal span[aria-hidden] { color: rgba(231,221,205,0.25); }

/* ══════════════════════════════════════════════
   TABLET  ≥ 640px
   ══════════════════════════════════════════════ */
@media (min-width: 640px) {
    .sp-features { grid-template-columns: 1fr 1fr; }
    .sp-cta { margin: 0 2rem 3rem; padding: 2.5rem 2rem; }
    .sp-cta h2 { font-size: 1.6rem; }
}

/* ══════════════════════════════════════════════
   DESKTOP  ≥ 900px
   ══════════════════════════════════════════════ */
@media (min-width: 900px) {
    /* Nav */
    .sp-nav-inner { width: min(1140px, calc(100% - 4rem)); padding: 1rem 0; }
    .sp-nav-logo img { height: 36px; }
    .sp-nav-desktop { display: flex; }
    .sp-nav-cta { display: inline-block; }
    .sp-hamburger { display: none; }

    /* Hero/Section: rozmiary bazowe (clamp) — bez nadpisań, spójnie z index */

    /* Problems — 2 col */
    .sp-problem {
        display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
        flex-direction: unset; padding: 2.2rem;
    }
    .sp-problem-right { border-top: none; padding-top: 0; border-left: 1px solid var(--border); padding-left: 2rem; }

    /* Features — jak bento-grid na index (3 kolumny na desktopie) */
    .sp-features { grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1.5rem; }

    /* CTA */
    .sp-cta { margin: 0 auto 4rem; padding: 3rem 2rem; border-radius: 16px; }
    .sp-cta h2 { font-size: 1.8rem; }

    /* Footer */
    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr 1.4fr;
        padding: 4rem 2rem 3rem; gap: 2.5rem;
    }
    .footer-bottom-inner { flex-direction: row; align-items: center; padding: 1.2rem 2rem; }
}

/* ============================================================
   MOTION — spójność z index.html.

   UWAGA na kolejność: base.html ładuje subpage.css PRZED styles.css,
   więc tokeny (--ease-out, --dur-*) z :root w styles.css nie są tu
   jeszcze znane w momencie parsowania. Dlatego każdy var() ma
   fallback z realną wartością — to on faktycznie zadziała.

   Karty .glass-card/.bento-card/.pricing-card są wspólne dla index
   i podstron i obsługuje je blok w styles.css. Tutaj tylko klasy
   występujące wyłącznie na podstronach.
   ============================================================ */
.problem-card{
  transition: transform var(--dur-base, 240ms) var(--ease-out, cubic-bezier(0.23,1,0.32,1)),
              border-color var(--dur-fast, 180ms) ease,
              box-shadow var(--dur-base, 240ms) ease;
}

@media (hover: hover) and (pointer: fine){
  .problem-card:hover{ transform: translateY(var(--lift-card, -4px)); }
}

@media (hover: none){
  .problem-card:hover{ transform: none; }
}

/* Podstrony nie miały ŻADNEJ obsługi prefers-reduced-motion —
   styles.css miał 3 bloki per-selektor, subpage.css zero. */
@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .problem-card:hover{ transform: none !important; }
}
