/* =============================================
   BOOST MAKERS - REDESIGNED STYLES
   Color system from logo gradient + Ecu-editor-symfony
   ============================================= */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #3d9be9;
    --primary-hover: #5bb0f0;
    --secondary: #0e0e10;
    --accent: #20C0E0;
    --accent-sub: rgba(61,155,233,.08);
    --accent-border: rgba(61,155,233,.25);
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --text-light: #ffffff;
    --text-dark: #1a1a2e;
    --text-muted: #64748b;
    --gray-light: #f1f5f9;
    --gray: #94a3b8;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --border: #e2e8f0;
    --grad: linear-gradient(135deg, #4060A0, #3d9be9, #20C0E0);
    --grad-btn: linear-gradient(135deg, #3a7bd5, #3d9be9);
    --grad-accent: linear-gradient(135deg, #3d9be9, #20C0E0);
    --r: 12px;
    --r-sm: 8px;
    --r-xs: 6px;
    --ease: cubic-bezier(.4,0,.2,1);
    --ease-out: cubic-bezier(0,0,.2,1);
    --sh1: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --sh2: 0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
    --sh3: 0 12px 32px rgba(0,0,0,.1), 0 4px 8px rgba(0,0,0,.06);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* =============================================
   HEADER
   ============================================= */
header {
    background: var(--secondary);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

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

.navbar {
    padding: 0.5rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 52px;
    width: auto;
    transition: transform 0.3s var(--ease);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.3rem;
    align-items: center;
}

.nav-menu a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: color 0.25s var(--ease);
    padding: 6px 10px;
    border-radius: var(--r-xs);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-light);
    background: rgba(255,255,255,.06);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--grad-accent);
    transition: width 0.3s var(--ease), left 0.3s var(--ease);
    border-radius: 1px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 60%;
    left: 20%;
}

/* Login button */
.nav-login-btn {
    background: var(--grad-btn) !important;
    color: white !important;
    padding: 8px 18px !important;
    border-radius: var(--r-xs) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: all 0.3s var(--ease) !important;
    white-space: nowrap;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    border: none;
    box-shadow: 0 2px 8px rgba(61,155,233,.25);
}

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

.nav-login-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 16px rgba(61,155,233,.4) !important;
    background: linear-gradient(135deg, #4a8be0, #5bb0f0) !important;
}

.nav-login-btn .btn-icon {
    width: 14px;
    height: 14px;
    stroke: white;
    flex-shrink: 0;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-5px);
}

/* Theme Toggle */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: var(--text-light);
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s var(--ease);
    width: 36px;
    height: 36px;
    position: relative;
    overflow: hidden;
}

.theme-toggle-btn:hover {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.25);
    transform: translateY(-1px);
}

.theme-icon {
    stroke: currentColor;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    position: absolute;
}

.theme-icon-sun {
    opacity: 0;
    transform: rotate(180deg) scale(0.5);
}

html[data-theme="dark"] .theme-icon-moon {
    opacity: 0;
    transform: rotate(-180deg) scale(0.5);
}

html[data-theme="dark"] .theme-icon-sun {
    opacity: 1;
    transform: rotate(0) scale(1);
}

.theme-toggle-label {
    display: none;
}

.nav-menu li:has(.theme-toggle-btn) {
    display: flex;
    align-items: center;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, #0a0c14 0%, #0e1520 40%, #12192a 100%);
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: 70px;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: #3d9be9;
    top: -200px;
    right: -100px;
    animation: heroFloat 20s ease-in-out infinite;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: #20C0E0;
    bottom: -100px;
    left: -50px;
    animation: heroFloat 15s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: #4060A0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: heroFloat 25s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(10px, 10px) scale(1.02); }
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 60px 0;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.15;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}

.hero-title-line {
    display: block;
}

.text-gradient {
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-highlight {
    display: block;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 4rem;
    padding: 0.1em 0;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,.6);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 2rem 0 2.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(61,155,233,.08);
    backdrop-filter: blur(12px);
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid rgba(61,155,233,.2);
    color: rgba(255,255,255,.9);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.3s var(--ease);
}

.hero-badge:hover {
    background: rgba(61,155,233,.15);
    border-color: rgba(61,155,233,.4);
    transform: translateY(-2px);
}

.badge-icon {
    stroke: var(--accent);
    flex-shrink: 0;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--grad-btn);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 16px rgba(61,155,233,.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(61,155,233,.45);
}

.phone-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.15);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s var(--ease);
}

.phone-button:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.3);
    transform: translateY(-2px);
}

.phone-button .btn-icon {
    stroke: var(--accent);
}

.btn-icon {
    flex-shrink: 0;
    stroke: currentColor;
}

.btn-icon-right {
    flex-shrink: 0;
    stroke: currentColor;
    transition: transform 0.3s var(--ease);
}

.cta-button:hover .btn-icon-right,
.btn-realizations-more:hover .btn-icon-right,
.submit-btn:hover .btn-icon-right {
    transform: translateX(4px);
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--grad-accent);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-line-light {
    background: linear-gradient(90deg, rgba(61,155,233,.6), rgba(32,192,224,.6));
}

/* =============================================
   SERVICES
   ============================================= */
.services {
    padding: 80px 0;
    background: var(--surface-2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
}

.service-card {
    background: var(--surface);
    padding: 1.8rem 1.4rem;
    border-radius: var(--r);
    border: 1px solid var(--border);
    box-shadow: var(--sh1);
    transition: all 0.4s var(--ease);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-accent);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh3);
    border-color: rgba(61,155,233,.2);
}

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

.service-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-sub);
    border-radius: var(--r);
    border: 1px solid rgba(61,155,233,.1);
    transition: all 0.3s var(--ease);
}

.service-card:hover .service-icon-wrap {
    background: rgba(61,155,233,.12);
    border-color: rgba(61,155,233,.25);
    transform: scale(1.05);
}

.service-svg-icon {
    stroke: var(--primary);
    transition: stroke 0.3s var(--ease);
}

.service-card:hover .service-svg-icon {
    stroke: var(--accent);
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.service-card ul {
    list-style: none;
    font-size: 0.85rem;
    text-align: left;
}

.service-card ul li {
    padding: 0.3rem 0;
    padding-left: 1.4rem;
    position: relative;
    color: var(--text-dark);
}

.service-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--grad-accent);
}

/* =============================================
   REALIZATIONS
   ============================================= */
.realizations {
    padding: 80px 0;
    background: var(--surface);
}

.realization-mini {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1.5rem;
    background: var(--surface-2);
    border-radius: var(--r);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--sh1);
    transition: all 0.4s var(--ease);
}

.realization-mini:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh3);
    border-color: rgba(61,155,233,.2);
}

.realization-mini-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
}

.realization-mini-images img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: var(--r-sm);
    box-shadow: var(--sh1);
    transition: transform 0.3s var(--ease);
}

.realization-mini:hover .realization-mini-images img {
    transform: scale(1.02);
}

.realization-mini-content h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.15rem;
    font-weight: 700;
}

.realization-mini-content h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.inline-icon {
    stroke: var(--primary);
    flex-shrink: 0;
    vertical-align: middle;
}

.accent-icon {
    stroke: var(--accent);
}

/* Detail Boxes */
.detail-box {
    background: var(--surface);
    padding: 0.8rem 1rem;
    border-radius: var(--r-sm);
    margin-bottom: 0.6rem;
    border-left: 3px solid var(--primary);
    transition: background 0.3s var(--ease);
}

.detail-box strong {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.detail-icon {
    flex-shrink: 0;
}

.detail-box p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.detail-box ul {
    list-style: none;
    padding: 0;
    margin-top: 0.3rem;
}

.detail-box ul li {
    padding: 0.2rem 0;
    padding-left: 1.4rem;
    position: relative;
    font-size: 0.88rem;
    line-height: 1.5;
}

.detail-box ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
}

.problem-box {
    border-left-color: var(--danger);
}

.problem-box strong {
    color: var(--danger);
}

.problem-box .detail-icon {
    stroke: var(--danger);
}

.solution-box {
    border-left-color: var(--success);
}

.solution-box strong {
    color: var(--success);
}

.solution-box .detail-icon {
    stroke: var(--success);
}

/* Tags */
.tags-mini {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.6rem;
    flex-wrap: wrap;
}

.tags-mini span {
    background: var(--accent-sub);
    color: var(--primary);
    padding: 0.25rem 0.7rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
    border: 1px solid rgba(61,155,233,.15);
    transition: all 0.3s var(--ease);
}

.tags-mini span:hover {
    background: rgba(61,155,233,.15);
    border-color: rgba(61,155,233,.3);
}

/* Button "Zobacz wiecej realizacji" */
.realizations-more {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.btn-realizations-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    border: 2px solid rgba(61,155,233,.3);
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s var(--ease);
}

.btn-realizations-more:hover {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61,155,233,.3);
}

.btn-realizations-more:hover .btn-icon-right {
    stroke: white;
}

/* CTA Box */
.cta-box-mini {
    background: var(--grad);
    color: white;
    padding: 2.5rem;
    border-radius: var(--r);
    text-align: center;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.cta-box-mini::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-icon {
    stroke: white;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.cta-box-mini p {
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
}

.cta-buttons-mini {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    position: relative;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease);
}

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

.btn-secondary {
    background: rgba(255,255,255,.12);
    color: white;
    border: 1px solid rgba(255,255,255,.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,.15);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

.btn-primary .btn-icon,
.btn-secondary .btn-icon {
    width: 16px;
    height: 16px;
}

.btn-primary .btn-icon {
    stroke: var(--primary);
    fill: none;
}

.btn-secondary .btn-icon {
    fill: currentColor;
    stroke: none;
}

.btn-secondary:hover .btn-icon {
    fill: var(--primary);
}

/* =============================================
   BENEFITS
   ============================================= */
.benefits {
    padding: 80px 0;
    background: linear-gradient(160deg, #0a0c14 0%, #0e1520 40%, #12192a 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--grad-accent);
    opacity: 0.3;
}

.benefits h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--r);
    transition: all 0.4s var(--ease);
    backdrop-filter: blur(8px);
}

.benefit-item:hover {
    background: rgba(255,255,255,.06);
    border-color: rgba(61,155,233,.2);
    transform: translateY(-4px);
}

.benefit-icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(61,155,233,.1);
    border-radius: var(--r);
    border: 1px solid rgba(61,155,233,.15);
    transition: all 0.3s var(--ease);
}

.benefit-item:hover .benefit-icon-wrap {
    background: rgba(61,155,233,.15);
    border-color: rgba(61,155,233,.3);
    transform: scale(1.08);
}

.benefit-svg-icon {
    stroke: var(--accent);
    transition: stroke 0.3s var(--ease);
}

.benefit-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.benefit-item p {
    font-size: 0.9rem;
    color: rgba(255,255,255,.6);
    line-height: 1.6;
}

/* =============================================
   ABOUT
   ============================================= */
.about {
    padding: 80px 0;
    background: var(--surface);
}

.about-content {
    max-width: 750px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.about-tagline {
    text-align: center;
    font-size: 1.2rem !important;
    color: var(--primary) !important;
    margin-top: 1.5rem !important;
}

/* =============================================
   FAQ
   ============================================= */
.faq {
    padding: 80px 0;
    background: var(--surface-2);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    margin-bottom: 0.75rem;
    border-radius: var(--r);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s var(--ease);
}

.faq-item:hover {
    border-color: rgba(61,155,233,.2);
}

.faq-item.active {
    border-color: rgba(61,155,233,.3);
    box-shadow: var(--sh2);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    transition: color 0.3s var(--ease);
    gap: 1rem;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-chevron {
    stroke: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.4s var(--ease), stroke 0.3s var(--ease);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    stroke: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.2rem;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
    padding: 80px 0;
    background: var(--surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.2rem;
}

.contact-icon-wrap {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-sub);
    border-radius: var(--r-sm);
    border: 1px solid rgba(61,155,233,.1);
    flex-shrink: 0;
}

.contact-svg-icon {
    stroke: var(--primary);
}

.contact-item strong {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s var(--ease);
}

.contact-item a:hover {
    color: var(--primary-hover);
}

.contact-item p {
    font-size: 1rem;
    color: var(--text-dark);
}

/* Service Area */
.service-area-info {
    background: var(--surface-2);
    border-left: 3px solid var(--primary);
    border-radius: var(--r-sm);
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0 1rem 0;
}

.service-area-info h3 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-area-info h3 .contact-svg-icon {
    width: 18px;
    height: 18px;
}

.service-area-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.service-area-info ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
}

.service-area-info ul li {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding-left: 14px;
}

.service-area-info ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--grad-accent);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--accent-sub);
    color: var(--primary);
    text-decoration: none;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(61,155,233,.15);
    transition: all 0.3s var(--ease);
}

.social-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61,155,233,.3);
}

.social-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Contact Form */
.contact-form-container {
    background: var(--surface-2);
    padding: 2rem;
    border-radius: var(--r);
    border: 1px solid var(--border);
}

.form-group {
    position: relative;
    margin-bottom: 1.2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--surface);
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
    outline: none;
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 14px;
    font-size: 0.95rem;
    color: var(--gray);
    pointer-events: none;
    transition: all 0.25s var(--ease);
    background: var(--surface);
    padding: 0 4px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(61,155,233,.1);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -8px;
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 500;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--grad-btn);
    color: white;
    border: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 16px rgba(61,155,233,.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(61,155,233,.4);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: var(--secondary);
    color: rgba(255,255,255,.8);
    padding: 3rem 0 1.5rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--grad-accent);
    opacity: 0.3;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 0.8rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--grad-accent);
    border-radius: 1px;
}

.footer-section ul {
    list-style: none;
    font-size: 0.9rem;
}

.footer-section ul li {
    padding: 0.25rem 0;
    color: rgba(255,255,255,.5);
}

.footer-section p {
    color: rgba(255,255,255,.5);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-tagline {
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
    margin-top: 0.5rem;
}

.footer-section a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color 0.3s var(--ease);
}

.footer-section a:hover {
    color: var(--primary-hover);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.06);
    font-size: 0.85rem;
    color: rgba(255,255,255,.35);
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Slide from left */
[data-animate="slide-left"] {
    opacity: 0;
    transform: translateX(-40px);
}
[data-animate="slide-left"].animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Slide from right */
[data-animate="slide-right"] {
    opacity: 0;
    transform: translateX(40px);
}
[data-animate="slide-right"].animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up */
[data-animate="scale"] {
    opacity: 0;
    transform: scale(0.9);
}
[data-animate="scale"].animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Fade only */
[data-animate="fade"] {
    opacity: 0;
    transform: none;
}
[data-animate="fade"].animate-in {
    opacity: 1;
}

/* Stagger for grid items */
.services-grid [data-animate]:nth-child(1) { transition-delay: 0s; }
.services-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.services-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.services-grid [data-animate]:nth-child(4) { transition-delay: 0.3s; }
.services-grid [data-animate]:nth-child(5) { transition-delay: 0.4s; }

.benefits-grid [data-animate]:nth-child(1) { transition-delay: 0s; }
.benefits-grid [data-animate]:nth-child(2) { transition-delay: 0.12s; }
.benefits-grid [data-animate]:nth-child(3) { transition-delay: 0.24s; }
.benefits-grid [data-animate]:nth-child(4) { transition-delay: 0.36s; }

.faq-container [data-animate]:nth-child(1) { transition-delay: 0s; }
.faq-container [data-animate]:nth-child(2) { transition-delay: 0.08s; }
.faq-container [data-animate]:nth-child(3) { transition-delay: 0.16s; }
.faq-container [data-animate]:nth-child(4) { transition-delay: 0.24s; }

/* Hero entrance animation */
.hero-content {
    animation: heroEntrance 1s var(--ease-out) forwards;
}

@keyframes heroEntrance {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title-highlight {
    animation: heroHighlight 1.2s var(--ease-out) 0.2s both;
}

@keyframes heroHighlight {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-badge {
    animation: badgePop 0.5s var(--ease-out) both;
}
.hero-badge:nth-child(1) { animation-delay: 0.4s; }
.hero-badge:nth-child(2) { animation-delay: 0.5s; }
.hero-badge:nth-child(3) { animation-delay: 0.6s; }
.hero-badge:nth-child(4) { animation-delay: 0.7s; }
.hero-badge:nth-child(5) { animation-delay: 0.8s; }

@keyframes badgePop {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-cta {
    animation: heroEntrance 0.8s var(--ease-out) 0.9s both;
}

/* Section line grow animation */
.section-line {
    transform: scaleX(0);
    transition: transform 0.6s var(--ease-out) 0.3s;
}

.animate-in .section-line,
[data-animate].animate-in .section-line {
    transform: scaleX(1);
}

/* CTA box pulse glow */
.cta-box-mini {
    animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(61,155,233,0); }
    50% { box-shadow: 0 0 30px 4px rgba(61,155,233,0.15); }
}

/* Parallax scroll indicator */
.hero::after {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,.25);
    border-radius: 12px;
    z-index: 3;
    animation: scrollHint 2s ease-in-out infinite;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 42px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,.5);
    border-radius: 2px;
    z-index: 4;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollHint {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(5px); }
}

@keyframes scrollDot {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(12px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: var(--secondary);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.35s var(--ease);
        padding: 80px 2rem 2rem;
        gap: 0.3rem;
        align-items: stretch;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        font-size: 1.1rem;
        padding: 12px 16px;
    }

    .nav-login-btn {
        justify-content: center !important;
        margin-left: 0 !important;
    }

    .nav-menu .theme-toggle-btn {
        width: auto;
        height: auto;
        border-radius: 100px;
        padding: 10px 20px;
        gap: 8px;
    }

    .nav-menu .theme-toggle-label {
        display: inline;
        font-size: 0.9rem;
    }

    .nav-menu .theme-icon {
        position: static;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-title-highlight {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .realization-mini {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .realization-mini-images {
        grid-template-columns: 1fr 1fr;
    }

    .realization-mini-images img {
        height: 100px;
    }

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

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

    .section-header h2 {
        font-size: 1.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-area-info ul {
        flex-direction: column;
        gap: 0.3rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 42px;
    }

    .hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 20px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-title-highlight {
        font-size: 2.2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .cta-button, .phone-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

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

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

    .realization-mini-images {
        grid-template-columns: 1fr;
    }

    .realization-mini-images img {
        height: 140px;
    }

    .cta-buttons-mini {
        flex-direction: column;
        align-items: center;
    }
}


/* =============================================
   REALIZACJE PAGE (standalone)
   ============================================= */
.realizacje-page-hero {
    background: linear-gradient(135deg, #0a0c14 0%, #12192a 100%);
    padding: 180px 0 60px;
    text-align: center;
    margin-top: 0;
}

.realizacje-page-hero h1 {
    font-size: 2.8rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 700;
}

.realizacje-page-hero .hero-subtitle {
    font-size: 1.2rem;
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
}

.realizacje-page-list {
    padding-top: 40px;
}

/* =============================================
   GUIDES / PORADNIKI
   ============================================= */
.guides-section {
    padding: 40px 0 60px;
    background: var(--surface);
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.guide-card {
    background: var(--surface-2);
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--sh1);
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
    display: flex;
    flex-direction: column;
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh3);
    border-color: rgba(61,155,233,.2);
}

.guide-card-image {
    height: 200px;
    overflow: hidden;
}

.guide-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s var(--ease);
}

.guide-card:hover .guide-card-image img {
    transform: scale(1.05);
}

.guide-card-image-placeholder {
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-placeholder-icon {
    font-size: 4rem;
    opacity: 0.5;
}

.guide-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.guide-card-body h2 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.guide-card-body h2 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s var(--ease);
}

.guide-card-body h2 a:hover {
    color: var(--primary);
}

.guide-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    flex: 1;
}

.guide-read-more {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s var(--ease);
}

.guide-read-more:hover {
    color: var(--primary-hover);
}

/* Guide Article Page */
.guide-article {
    padding: 40px 0 60px;
    background: var(--surface);
}

.guide-article-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.guide-content {
    min-width: 0;
}

.guide-hero-image {
    margin-bottom: 2rem;
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--sh2);
}

.guide-hero-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.guide-body h2 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.guide-body h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin: 1.5rem 0 0.8rem;
}

.guide-body p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.guide-body ul,
.guide-body ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.guide-body ul li,
.guide-body ol li {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.guide-body ul li strong,
.guide-body ol li strong {
    color: var(--text-dark);
}

.guide-tags {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.guide-tags strong {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Guide Sidebar */
.guide-sidebar {
    position: sticky;
    top: 90px;
    align-self: start;
}

.guide-sidebar-cta {
    background: linear-gradient(135deg, var(--secondary), #1a1a2e);
    color: var(--text-light);
    padding: 1.5rem;
    border-radius: var(--r);
    margin-bottom: 1.5rem;
}

.guide-sidebar-cta h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.guide-sidebar-cta p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.guide-sidebar-related {
    background: var(--surface-2);
    padding: 1.5rem;
    border-radius: var(--r);
    border: 1px solid var(--border);
}

.guide-sidebar-related h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.guide-related-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s var(--ease);
}

.guide-related-item:last-child {
    border-bottom: none;
}

.guide-related-item:hover {
    color: var(--primary);
}

.guide-related-item img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: var(--r-xs);
    flex-shrink: 0;
}

/* Guide Breadcrumb */
.guide-breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.guide-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.guide-breadcrumb a:hover {
    text-decoration: underline;
}

.guide-breadcrumb span {
    color: rgba(255,255,255,0.7);
}

/* Guides responsive */
@media (max-width: 900px) {
    .guide-article-wrapper {
        grid-template-columns: 1fr;
    }

    .guide-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .guides-grid {
        grid-template-columns: 1fr;
    }

    .guide-body h2 {
        font-size: 1.4rem;
    }

    .realizacje-page-hero h1 {
        font-size: 2rem;
    }
}

/* =============================================
   LOGIN BUTTON (legacy compat)
   ============================================= */
.login-btn {
    background: var(--grad-btn) !important;
    color: var(--text-light) !important;
    padding: 8px 18px !important;
    border-radius: var(--r-xs) !important;
    transition: all 0.3s var(--ease) !important;
    margin-left: 1.5rem !important;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(61,155,233,.3);
}

/* =============================================
   CENNIK / PRICING PAGE
   ============================================= */
.text-accent-hero {
    color: var(--primary);
}

.cennik-vat-info {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-top: 0.8rem;
}

.pricing-section {
    padding: 50px 0 70px;
    background: var(--surface-2);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    transition: all 0.3s var(--ease);
    box-shadow: var(--sh1);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh3);
    border-color: rgba(61,155,233,.2);
}

.pricing-card-header {
    background: linear-gradient(135deg, var(--secondary), #1a1a2e);
    padding: 20px 25px;
    text-align: center;
    border-bottom: 3px solid var(--primary);
}

.pricing-card-header h2 {
    font-size: 1.4rem;
    color: var(--text-light);
    margin: 0;
}

.pricing-card-body {
    padding: 10px 20px 20px;
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s var(--ease);
}

.pricing-list li:last-child {
    border-bottom: none;
}

.pricing-list li:hover {
    background: var(--accent-sub);
}

.pricing-list li.highlight {
    background: rgba(61,155,233,.06);
    padding: 13px 12px;
    margin: 4px -12px;
    border-radius: var(--r-xs);
    border-bottom: none;
}

.pricing-list li.highlight .service-name {
    font-weight: 700;
    color: var(--primary);
}

.pricing-list li.highlight .service-price {
    color: var(--success);
    font-size: 1.05rem;
}

.service-name {
    font-weight: 500;
    color: var(--text-dark);
    flex: 1;
    padding-right: 15px;
}

.service-price {
    font-weight: 700;
    color: var(--primary);
    text-align: right;
    min-width: 90px;
    white-space: nowrap;
}

/* Info Section */
.pricing-info-section {
    padding: 60px 0;
    background: var(--surface);
}

.pricing-info-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.pricing-info-content h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.text-accent-inline {
    color: var(--primary);
}

.pricing-info-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.pricing-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: left;
}

.pricing-info-item {
    display: flex;
    gap: 1rem;
    background: var(--surface-2);
    padding: 1.2rem 1.5rem;
    border-radius: var(--r);
    border-left: 3px solid var(--primary);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    transition: all 0.3s var(--ease);
}

.pricing-info-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh2);
}

.pricing-info-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.pricing-info-item strong {
    display: block;
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.pricing-info-item p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.pricing-cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0a0c14 0%, #12192a 100%);
}

.pricing-cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.pricing-cta-content h2 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
}

.pricing-cta-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.pricing-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--grad-btn);
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 16px rgba(61,155,233,.3);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(61,155,233,.45);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s var(--ease);
}

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

/* Pricing Responsive */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .service-price {
        text-align: left;
        width: 100%;
    }

    .pricing-info-grid {
        grid-template-columns: 1fr;
    }

    .pricing-info-content h2 {
        font-size: 1.6rem;
    }

    .pricing-cta-content h2 {
        font-size: 1.6rem;
    }

    .pricing-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta-primary, .btn-cta-secondary {
        width: 100%;
        max-width: 320px;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .pricing-card-header h2 {
        font-size: 1.2rem;
    }

    .pricing-list li.highlight {
        margin: 4px -6px;
        padding: 12px 8px;
    }
}


/* =============================================
   DARK MODE
   ============================================= */

/* Smooth transition for theme changes */
html[data-theme] body,
html[data-theme] header,
html[data-theme] .services,
html[data-theme] .realizations,
html[data-theme] .about,
html[data-theme] .faq,
html[data-theme] .contact,
html[data-theme] .benefits,
html[data-theme] footer,
html[data-theme] .service-card,
html[data-theme] .faq-item,
html[data-theme] .detail-box,
html[data-theme] .realization-mini,
html[data-theme] .pricing-card,
html[data-theme] .pricing-section,
html[data-theme] .pricing-info-section,
html[data-theme] .pricing-info-item,
html[data-theme] .contact-form-container,
html[data-theme] .contact-form input,
html[data-theme] .contact-form textarea,
html[data-theme] .form-group input,
html[data-theme] .form-group textarea,
html[data-theme] .service-area-info,
html[data-theme] .benefit-item,
html[data-theme] .guide-card,
html[data-theme] .guide-sidebar-related {
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

/* === DARK THEME OVERRIDES === */
html[data-theme="dark"] {
    --surface: #0e0e10;
    --surface-2: #18181b;
    --text-dark: #e4e4e7;
    --text-muted: #a1a1aa;
    --gray: #71717a;
    --border: rgba(255,255,255,.08);
    --sh1: 0 1px 3px rgba(0,0,0,.3), 0 1px 2px rgba(0,0,0,.2);
    --sh2: 0 4px 12px rgba(0,0,0,.3), 0 2px 4px rgba(0,0,0,.15);
    --sh3: 0 12px 32px rgba(0,0,0,.4), 0 4px 8px rgba(0,0,0,.2);
}

html[data-theme="dark"] body {
    background: #0e0e10;
    color: #e4e4e7;
}

html[data-theme="dark"] .service-card {
    background: #18181b;
}

html[data-theme="dark"] .realization-mini {
    background: #18181b;
}

html[data-theme="dark"] .detail-box {
    background: #222225;
}

html[data-theme="dark"] .faq-item {
    background: #18181b;
}

html[data-theme="dark"] .faq-question {
    color: #e4e4e7;
}

html[data-theme="dark"] .contact-form-container {
    background: #18181b;
}

html[data-theme="dark"] .form-group input,
html[data-theme="dark"] .form-group textarea {
    background: #222225;
    border-color: rgba(255,255,255,.1);
    color: #e4e4e7;
}

html[data-theme="dark"] .form-group label {
    background: #222225;
    color: #71717a;
}

html[data-theme="dark"] .form-group input:focus + label,
html[data-theme="dark"] .form-group input:not(:placeholder-shown) + label,
html[data-theme="dark"] .form-group textarea:focus + label,
html[data-theme="dark"] .form-group textarea:not(:placeholder-shown) + label {
    background: #18181b;
    color: var(--primary);
}

html[data-theme="dark"] .form-group input::placeholder,
html[data-theme="dark"] .form-group textarea::placeholder {
    color: #52525b;
}

html[data-theme="dark"] .service-area-info {
    background: #18181b;
}

html[data-theme="dark"] .contact-icon-wrap {
    background: rgba(61,155,233,.1);
    border-color: rgba(61,155,233,.15);
}

html[data-theme="dark"] .tags-mini span {
    background: rgba(61,155,233,.1);
    border-color: rgba(61,155,233,.2);
}

/* Guides dark mode */
html[data-theme="dark"] .guide-card {
    background: #18181b;
}

html[data-theme="dark"] .guide-card-body h2 a {
    color: var(--primary);
}

html[data-theme="dark"] .guide-card-body h2 a:hover {
    color: var(--primary);
}

html[data-theme="dark"] .guide-sidebar-related {
    background: #18181b;
}

html[data-theme="dark"] .guide-sidebar-cta {
    background: #18181b;
}

html[data-theme="dark"] .guide-body h2,
html[data-theme="dark"] .guide-body h3,
html[data-theme="dark"] .guide-body h4 {
    color: #e4e4e7;
}

html[data-theme="dark"] .guide-body p,
html[data-theme="dark"] .guide-body ul li,
html[data-theme="dark"] .guide-body ol li {
    color: #a1a1aa;
}

html[data-theme="dark"] .guide-body strong {
    color: #e4e4e7;
}

html[data-theme="dark"] .guide-body blockquote {
    background: #18181b;
    border-left-color: var(--primary);
}

html[data-theme="dark"] .guide-body code,
html[data-theme="dark"] .guide-body pre {
    background: #18181b;
    color: #e4e4e7;
}

html[data-theme="dark"] .guide-body table {
    background: #18181b;
}

html[data-theme="dark"] .guide-body table th {
    background: #222225;
    color: #e4e4e7;
}

html[data-theme="dark"] .guide-body table td {
    border-color: rgba(255,255,255,.06);
}

html[data-theme="dark"] .guide-related-item {
    color: #a1a1aa;
}

/* Pricing dark mode */
html[data-theme="dark"] .pricing-card {
    background: #18181b;
}

html[data-theme="dark"] .pricing-card-body {
    background: #18181b;
}

html[data-theme="dark"] .pricing-info-item {
    background: #18181b;
}

html[data-theme="dark"] .pricing-info-item strong {
    color: #e4e4e7;
}

html[data-theme="dark"] .service-name {
    color: #a1a1aa;
}

/* Tools dark mode */
html[data-theme="dark"] .tools-section,
html[data-theme="dark"] .narzedzia-section,
html[data-theme="dark"] .tool-section {
    background: #18181b;
}

html[data-theme="dark"] .tool-card {
    background: #18181b;
}

html[data-theme="dark"] .tool-card:hover {
    border-color: var(--primary);
}

html[data-theme="dark"] .tool-card h3,
html[data-theme="dark"] .tool-card h2 {
    color: #e4e4e7;
}

html[data-theme="dark"] .tool-card p {
    color: #a1a1aa;
}

html[data-theme="dark"] .tool-detail,
html[data-theme="dark"] .tool-content {
    background: #18181b;
}

html[data-theme="dark"] .tool-detail h1,
html[data-theme="dark"] .tool-detail h2,
html[data-theme="dark"] .tool-detail h3,
html[data-theme="dark"] .tool-content h1,
html[data-theme="dark"] .tool-content h2,
html[data-theme="dark"] .tool-content h3 {
    color: #e4e4e7;
}

html[data-theme="dark"] .tool-detail p,
html[data-theme="dark"] .tool-content p {
    color: #a1a1aa;
}

html[data-theme="dark"] .tool-wrapper {
    background: #18181b;
}

html[data-theme="dark"] .tool-category-title {
    color: #e4e4e7;
}

html[data-theme="dark"] .tool-embed,
html[data-theme="dark"] .tool-html-content {
    background: #18181b;
}

html[data-theme="dark"] .tool-embed input,
html[data-theme="dark"] .tool-embed select,
html[data-theme="dark"] .tool-embed textarea,
html[data-theme="dark"] .tool-html-content input,
html[data-theme="dark"] .tool-html-content select,
html[data-theme="dark"] .tool-html-content textarea {
    background: #222225;
    border-color: rgba(255,255,255,.1);
    color: #e4e4e7;
}

html[data-theme="dark"] .tool-embed label,
html[data-theme="dark"] .tool-html-content label {
    color: #a1a1aa;
}

html[data-theme="dark"] .tool-embed .result,
html[data-theme="dark"] .tool-html-content .result,
html[data-theme="dark"] .tool-embed .output,
html[data-theme="dark"] .tool-html-content .output {
    background: #222225;
    color: #e4e4e7;
}

html[data-theme="dark"] .tool-embed table,
html[data-theme="dark"] .tool-html-content table {
    background: #18181b;
}

html[data-theme="dark"] .tool-embed table th,
html[data-theme="dark"] .tool-html-content table th {
    background: #222225;
    color: #e4e4e7;
}

html[data-theme="dark"] .tool-embed table td,
html[data-theme="dark"] .tool-html-content table td {
    border-color: rgba(255,255,255,.06);
}

html[data-theme="dark"] .access-denied,
html[data-theme="dark"] .tool-access-denied {
    background: #18181b;
}

/* Odstep przed przyciskiem Panel klienta */
.nav-login-btn {
    margin-left: 0.8rem !important;
}

/* =============================================
   SPA TRANSITIONS
   ============================================= */
@keyframes pageEnter {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* SPA content area */
#spa-content {
    min-height: calc(100vh - 200px);
    transition: opacity .22s ease, transform .22s ease;
}

#spa-content.spa-leaving {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

#spa-content.spa-entering {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

#spa-content.spa-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Initial load stagger */
.realizacje-page-hero h1 {
    animation: pageEnter .55s var(--ease-out) .08s both;
}
.realizacje-page-hero .hero-subtitle,
.realizacje-page-hero .cennik-vat-info {
    animation: pageEnter .55s var(--ease-out) .16s both;
}

/* =============================================
   MOBILE IMPROVEMENTS
   ============================================= */
@media (max-width: 768px) {
    .realizacje-page-hero {
        padding: 130px 0 40px;
    }
    .realizacje-page-hero h1 {
        font-size: 1.8rem;
    }
    .realizacje-page-hero .hero-subtitle {
        font-size: 1rem;
    }
    .hero-features {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.4rem;
    }
    .hero-badge {
        font-size: 0.82rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .realizacje-page-hero {
        padding: 110px 0 30px;
    }
    .realizacje-page-hero h1 {
        font-size: 1.5rem;
    }
    .cta-box-mini {
        padding: 1.2rem;
    }
    .cta-buttons-mini a {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
    .pricing-cta-content h2 {
        font-size: 1.4rem;
    }
    .guide-card-body {
        padding: 1rem;
    }
    .guide-card-body h2 {
        font-size: 1.1rem;
    }
}
