/*
Theme Name: Konrad Niewczas - Doradca Finansowy
Theme URI: https://konradniewczas.pl
Author: Konrad Niewczas
Author URI: https://konradniewczas.pl
Description: Motyw WordPress dla niezależnego doradcy finansowego Konrada Niewczasa. Ubezpieczenia, kredyty, inwestycje, leasing.
Version: 1.0.0
License: All Rights Reserved
Text Domain: konrad-niewczas
Tags: finance, advisor, insurance, custom-menu, custom-logo, featured-images
*/

/* ==========================================================================
   WKLEJ TUTAJ ZAWARTOŚĆ SWOJEGO PLIKU styles.css
   (cały CSS ze strony statycznej — kolory, layout, hero, cards itd.)
   ========================================================================== */


/* ==========================================================================
   GŁÓWNE STYLE STRONY (z pliku styles.css)
   ========================================================================== */

:root {
    --primary-navy: #001a57;
    --primary-navy-dark: #001240;
    --primary-navy-light: #002878;
    --accent-orange: #EE5F18;
    --accent-orange-hover: #d65514;
    --accent-yellow: #f5a623;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-dark: #333333;
    --text-gray: #555555;
    --text-light: #555555;
    --border-color: #e0e0e0;
    --shadow-soft: 0 4px 20px rgba(0, 26, 87, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 26, 87, 0.12);
    --shadow-hover: 0 12px 40px rgba(0, 26, 87, 0.18);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Rubik', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--text-gray); background-color: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }
.section-padding-sm { padding: 70px 0; }
.text-center { text-align: center; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; color: var(--primary-navy); line-height: 1.3; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 20px; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

.section-subtitle { font-family: var(--font-heading); font-size: 0.875rem; font-weight: 600; color: var(--accent-orange); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; display: inline-block; }
.section-description { font-size: 1.1rem; color: var(--text-light); max-width: 700px; margin: 0 auto 50px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; border: none; border-radius: 4px; cursor: pointer; transition: var(--transition-smooth); }
.btn-primary { background-color: var(--accent-orange); color: var(--white); }
.btn-primary:hover { background-color: var(--accent-orange-hover); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(238, 95, 24, 0.35); }
.btn-yellow { background: linear-gradient(135deg, #f5a623 0%, #f7b733 100%); color: var(--primary-navy); font-weight: 700; }
.btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(245, 166, 35, 0.4); }
.btn-outline-white { background-color: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline-white:hover { background-color: var(--white); color: var(--primary-navy); }
.btn-navy { background-color: var(--primary-navy); color: var(--white); }
.btn-navy:hover { background-color: var(--primary-navy-dark); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* TOP BAR */
.topbar { background-color: var(--light-gray); border-bottom: 1px solid var(--border-color); padding: 8px 0; font-size: 0.85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-social { display: flex; align-items: center; gap: 5px; }
.topbar-social a { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: var(--primary-navy); border-right: 1px solid var(--border-color); }
.topbar-social a:last-child { border-right: none; }
.topbar-social a:hover { color: var(--accent-orange); }
.topbar-social svg { width: 16px; height: 16px; fill: currentColor; }
.topbar-links { display: flex; align-items: center; gap: 25px; }
.topbar-links a { color: var(--primary-navy); font-weight: 500; }
.topbar-links a:hover { color: var(--accent-orange); }

/* HEADER */
.header { background-color: var(--white); position: sticky; top: 0; z-index: 1000; transition: var(--transition-smooth); box-shadow: var(--shadow-soft); }
.header-main { padding: 15px 0; border-bottom: 1px solid var(--border-color); }
.header-main-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.logo { display: flex; align-items: center; gap: 15px; }
.logo-icon { width: 50px; height: 50px; background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%); border-radius: 8px; display: flex; align-items: center; justify-content: center; position: relative; }
.logo-icon::before { content: ''; width: 20px; height: 20px; background-color: var(--accent-orange); border-radius: 50%; position: absolute; }
.logo-icon svg { width: 30px; height: 30px; fill: var(--white); position: relative; z-index: 1; }
.logo-text { font-family: var(--font-heading); }
.logo-text .name { font-size: 1.4rem; font-weight: 800; color: var(--primary-navy); line-height: 1.2; }
.logo-text .tagline { font-size: 0.75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }
.header-contact { display: flex; align-items: center; gap: 40px; }
.header-contact-item { display: flex; align-items: center; gap: 12px; }
.header-contact-icon { width: 45px; height: 45px; background-color: var(--light-gray); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.header-contact-icon svg { width: 20px; height: 20px; fill: var(--primary-navy); }
.header-contact-text { line-height: 1.3; }
.header-contact-text .label { font-size: 0.8rem; color: var(--text-light); }
.header-contact-text .value { font-size: 1rem; font-weight: 600; color: var(--primary-navy); }
.header-contact-text .value a:hover { color: var(--accent-orange); }
.header-cta .btn { padding: 16px 28px; }

/* NAVIGATION */
.nav-bar { background-color: var(--white); border-bottom: 1px solid var(--border-color); }
.nav-menu { display: flex; align-items: center; gap: 0; }
.nav-item { position: relative; }
.nav-link { display: block; padding: 18px 20px; font-family: var(--font-heading); font-size: 0.9rem; font-weight: 500; color: var(--primary-navy); position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 20px; right: 20px; height: 3px; background-color: var(--accent-orange); transform: scaleX(0); transition: var(--transition-smooth); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.has-dropdown { display: flex; align-items: center; gap: 5px; }
.nav-link.has-dropdown svg { width: 12px; height: 12px; fill: currentColor; transition: var(--transition-smooth); }
.nav-item:hover .nav-link.has-dropdown svg { transform: rotate(180deg); }
.dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 280px; background-color: var(--white); box-shadow: var(--shadow-medium); border-radius: 0 0 8px 8px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition-smooth); z-index: 100; }
.nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 14px 20px; font-size: 0.9rem; color: var(--text-gray); border-bottom: 1px solid var(--border-color); }
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background-color: var(--light-gray); color: var(--accent-orange); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
.menu-toggle span { width: 25px; height: 2px; background-color: var(--primary-navy); transition: var(--transition-smooth); }

/* =========================================================================
   HERO V2 — 50/50 Banner: Text | Person
   ========================================================================= */
.hero-v2 {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: stretch;
    background: linear-gradient(160deg, #001a57 0%, #001240 55%, #000d30 100%);
    overflow: hidden;
}
.hero-v2-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-v2-shape { position: absolute; border-radius: 50%; }
.hero-v2-shape-1 { width: 500px; height: 500px; border: 50px solid rgba(238,95,24,0.06); top: -200px; right: -100px; }
.hero-v2-shape-2 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(238,95,24,0.08) 0%, transparent 70%); bottom: -100px; left: -80px; }
.hero-v2-grid-pattern { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 60px 60px; }

.hero-v2-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* Left: Text */
.hero-v2-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
    color: #fff;
}
.hero-v2-badge { display: inline-flex; align-items: center; font-family: var(--font-heading); font-size: 0.72rem; font-weight: 600; color: var(--accent-orange); text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 18px; background: rgba(238,95,24,0.1); padding: 7px 16px; border-radius: 30px; border: 1px solid rgba(238,95,24,0.2); width: fit-content; }
.hero-v2-title { font-family: var(--font-heading); font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; color: #fff !important; line-height: 1.18; margin-bottom: 16px; }
.hero-v2-accent { color: var(--accent-orange); }
.hero-v2-desc { font-size: 1rem; color: rgba(255,255,255,0.72); line-height: 1.7; margin-bottom: 22px; max-width: 480px; }
.hero-v2-checks { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 28px; }
.hero-v2-check { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: rgba(255,255,255,0.88); }
.hero-v2-check svg { width: 18px; height: 18px; fill: var(--accent-orange); flex-shrink: 0; }
.hero-v2-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: #fff; color: var(--primary-navy); border-color: #fff; }

/* Right: Person */
.hero-v2-person {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    align-self: stretch;
    overflow: hidden;
    contain: layout style;
}
.hero-v2-person-glow { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 340px; height: 280px; background: radial-gradient(ellipse at center bottom, rgba(238,95,24,0.2) 0%, transparent 70%); pointer-events: none; }
.hero-v2-person img { position: relative; z-index: 2; max-height: 520px; width: auto; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 6px 35px rgba(0,0,0,0.35)); display: block; }

/* Hero responsive */
@media (max-width: 1024px) {
    .hero-v2 { min-height: 400px; }
    .hero-v2-title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
    .hero-v2-person img { max-height: 420px; }
}
@media (max-width: 768px) {
    .hero-v2 { height: auto; max-height: none; min-height: auto; padding: 30px 0 0; }
    .hero-v2-layout { grid-template-columns: 1fr; gap: 0; }
    .hero-v2-left { text-align: center; align-items: center; padding: 30px 0 20px; }
    .hero-v2-checks { justify-content: center; }
    .hero-v2-cta-row { justify-content: center; }
    .hero-v2-person { max-height: 320px; justify-content: center; }
    .hero-v2-person img { max-height: 320px; }
}

/* =========================================================================
   CONSULTATION SECTION — Social Proof + Form
   ========================================================================= */
.consult-section {
    padding: 70px 0;
    background: var(--light-gray);
    position: relative;
}
.consult-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* LEFT: Social proof */
.consult-proof h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    margin-bottom: 14px;
    line-height: 1.3;
}
.consult-proof h2 strong {
    color: var(--accent-orange);
}
.consult-proof-desc {
    font-size: 0.98rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* Stats */
.consult-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.consult-stat {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    padding: 20px 12px;
    box-shadow: 0 2px 12px rgba(0,26,87,0.06);
}
.consult-stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1;
    margin-bottom: 4px;
}
.consult-stat-label {
    font-size: 0.72rem;
    color: var(--text-light);
    line-height: 1.3;
}

/* Testimonial */
.consult-testimonial {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
    border-left: 4px solid var(--accent-orange);
    box-shadow: 0 2px 12px rgba(0,26,87,0.06);
}
.consult-testimonial-quote {
    position: relative;
    margin-bottom: 16px;
}
.consult-testimonial-quote .quote-icon {
    width: 28px;
    height: 28px;
    fill: var(--accent-orange);
    opacity: 0.3;
    margin-bottom: 6px;
    display: block;
}
.consult-testimonial-quote p {
    font-size: 0.92rem;
    color: var(--text-gray);
    line-height: 1.65;
    font-style: italic;
}
.consult-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.consult-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-navy-light));
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.consult-testimonial-name {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-navy);
}
.consult-testimonial-role {
    font-size: 0.78rem;
    color: var(--text-light);
}

/* Trust badges */
.consult-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.consult-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-gray);
}
.consult-trust-item svg {
    width: 20px;
    height: 20px;
    fill: var(--accent-orange);
    flex-shrink: 0;
}

/* RIGHT: Form */
.consult-form-wrap {
    position: relative;
}
.consult-form {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 10px 40px rgba(0,26,87,0.08), 0 0 0 1px rgba(0,26,87,0.04);
    position: sticky;
    top: 100px;
}
.consult-form-header {
    text-align: center;
    margin-bottom: 24px;
}
.consult-form-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 4px;
}
.consult-form-header p {
    font-size: 0.88rem;
    color: var(--text-light);
}
.consult-form .form-group { margin-bottom: 14px; }
.consult-form .form-input,
.consult-form .form-select {
    padding: 14px 16px;
    font-size: 0.92rem;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    background: var(--light-gray);
}
.consult-form .form-input:focus,
.consult-form .form-select:focus {
    border-color: var(--accent-orange);
    background: #fff;
}
.consult-form textarea.form-input {
    resize: vertical;
    min-height: 70px;
}
.consult-form .form-btn {
    width: 100%;
    padding: 16px;
    font-size: 0.95rem;
    border-radius: 10px;
    margin-top: 4px;
}
.consult-form .form-privacy {
    margin-top: 12px;
}

/* Consultation responsive */
@media (max-width: 1024px) {
    .consult-layout { gap: 40px; }
}
@media (max-width: 768px) {
    .consult-section { padding: 50px 0; }
    .consult-layout { grid-template-columns: 1fr; gap: 30px; }
    .consult-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .consult-stat { padding: 16px 8px; }
    .consult-stat-number { font-size: 1.5rem; }
    .consult-form { padding: 28px 22px; position: static; }
}
@media (max-width: 480px) {
    .consult-stats { grid-template-columns: 1fr 1fr 1fr; }
    .consult-trust { flex-direction: column; gap: 10px; }
}

/* =========================================================================
   FORM BASE STYLES
   ========================================================================= */
.form-group { margin-bottom: 18px; }
.form-input, .form-select { width: 100%; padding: 15px 18px; font-family: var(--font-body); font-size: 0.95rem; color: var(--text-gray); background-color: var(--light-gray); border: 2px solid transparent; border-radius: 4px; transition: var(--transition-smooth); }
.form-input:focus, .form-select:focus { outline: none; border-color: var(--accent-orange); background-color: var(--white); }
.form-input::placeholder { color: var(--text-light); }
.form-select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.form-btn { width: 100%; padding: 16px; font-size: 1rem; }
.form-privacy { font-size: 0.8rem; color: var(--text-light); text-align: center; margin-top: 15px; }
.form-privacy a { color: var(--accent-orange); }

/* =========================================================================
   CONTACT FORM 7 — Theme Override Styles
   ========================================================================= */
/* Base CF7 form elements */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-gray);
    background-color: var(--light-gray);
    border: 2px solid transparent;
    border-radius: 8px;
    transition: var(--transition-smooth);
    box-sizing: border-box;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    outline: none;
    border-color: var(--accent-orange);
    background-color: #fff;
}
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder { color: var(--text-light); }
.wpcf7 textarea { resize: vertical; min-height: 80px; }
.wpcf7 select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

/* CF7 form row spacing */
.wpcf7-form p { margin-bottom: 14px; }
.wpcf7-form br { display: none; }

/* Submit button */
.wpcf7 input[type="submit"] {
    width: 100%;
    padding: 16px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: var(--accent-orange);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s;
    text-transform: none;
    letter-spacing: 0;
}
.wpcf7 input[type="submit"]:hover {
    background: var(--accent-orange-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(238,95,24,0.3);
}

/* CF7 validation messages */
.wpcf7-not-valid-tip {
    font-size: 0.78rem;
    color: #e74c3c;
    margin-top: 4px;
    display: block;
}
.wpcf7-response-output {
    font-size: 0.85rem;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0 0;
    text-align: center;
}
.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #2ecc71;
    color: #27ae60;
    background: #f0faf4;
}
.wpcf7-validation-errors,
.wpcf7 form.invalid .wpcf7-response-output {
    border-color: #e74c3c;
    color: #c0392b;
    background: #fdf0ef;
}

/* CF7 in consultation section */
.consult-form .wpcf7 input[type="text"],
.consult-form .wpcf7 input[type="email"],
.consult-form .wpcf7 input[type="tel"],
.consult-form .wpcf7 textarea,
.consult-form .wpcf7 select {
    border: 2px solid var(--border-color);
    border-radius: 10px;
}

/* CF7 in product page CTA */
.pp-cta-form .wpcf7 input[type="text"],
.pp-cta-form .wpcf7 input[type="email"],
.pp-cta-form .wpcf7 input[type="tel"],
.pp-cta-form .wpcf7 textarea,
.pp-cta-form .wpcf7 select {
    padding: 15px 16px;
    border-radius: 8px;
    margin-bottom: 14px;
}
.pp-cta-form .wpcf7 input[type="submit"] {
    text-transform: uppercase;
}

/* CF7 Honeypot — hide honeypot field */
.wpcf7-form .fluentcrm-honeypot,
.wpcf7-form .hp-field,
.wpcf7-form [data-name="honeypot"] {
    position: absolute !important;
    left: -9999px !important;
    visibility: hidden !important;
}

/* reCAPTCHA badge positioning */
.grecaptcha-badge { z-index: 900; }

/* PRODUCTS */
.products-overview { background-color: var(--white); }
.products-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.product-card { background-color: var(--white); border-radius: 8px; padding: 30px 20px; text-align: center; border: 1px solid var(--border-color); transition: var(--transition-smooth); position: relative; overflow: hidden; }
.product-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background-color: var(--accent-orange); transform: scaleX(0); transition: var(--transition-smooth); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: transparent; }
.product-card:hover::before { transform: scaleX(1); }
.product-icon { width: 70px; height: 70px; margin: 0 auto 20px; background-color: rgba(0, 26, 87, 0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition-smooth); }
.product-card:hover .product-icon { background-color: var(--accent-orange); }
.product-icon svg { width: 32px; height: 32px; fill: var(--primary-navy); transition: var(--transition-smooth); }
.product-card:hover .product-icon svg { fill: var(--white); }
.product-card h4, .product-card h3 { font-size: 1rem; margin-bottom: 10px; line-height: 1.3; }
.product-card p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 15px; }
.product-card .learn-more { font-size: 0.85rem; font-weight: 600; color: var(--accent-orange); }

/* FOR BUSINESS */
.for-business { background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%); position: relative; overflow: hidden; }
.for-business::before { content: ''; position: absolute; top: 0; right: 0; width: 40%; height: 100%; background: linear-gradient(135deg, rgba(238, 95, 24, 0.1) 0%, transparent 70%); }
.for-business-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.for-business-text h2, .for-business-text .section-subtitle { color: var(--white); }
.for-business-text .section-subtitle { color: var(--accent-orange); }
.for-business-text p { color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; margin-bottom: 30px; }
.business-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 35px; }
.business-feature { display: flex; align-items: center; gap: 12px; color: var(--white); font-size: 0.95rem; }
.business-feature svg { width: 24px; height: 24px; fill: var(--accent-orange); }
.business-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.business-card { background-color: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border-radius: 12px; padding: 30px; text-align: center; border: 1px solid rgba(255, 255, 255, 0.1); transition: var(--transition-smooth); }
.business-card:hover { background-color: rgba(255, 255, 255, 0.15); transform: translateY(-5px); }
.business-card-icon { width: 60px; height: 60px; margin: 0 auto 20px; background-color: rgba(238, 95, 24, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.business-card-icon svg { width: 28px; height: 28px; fill: var(--accent-orange); }
.business-card h4, .business-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 10px; }
.business-card p { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }

/* ABOUT */
.about { background-color: var(--white); }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image { position: relative; }
.about-image-main { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-medium); }
.about-image-placeholder { width: 100%; height: 500px; background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%); display: flex; align-items: center; justify-content: center; color: var(--white); font-family: var(--font-heading); font-size: 1.2rem; position: relative; overflow: hidden; }
.about-image-placeholder::before { content: ''; position: absolute; width: 200px; height: 200px; border: 30px solid rgba(238, 95, 24, 0.3); border-radius: 50%; bottom: -50px; right: -50px; }
.about-accent { position: absolute; bottom: -30px; right: -30px; width: 200px; height: 200px; background-color: var(--accent-orange); border-radius: 12px; z-index: -1; }
.about-stats { position: absolute; bottom: 30px; left: -40px; background-color: var(--white); border-radius: 12px; padding: 25px 35px; box-shadow: var(--shadow-medium); text-align: center; }
.about-stats-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; color: var(--accent-orange); line-height: 1; }
.about-stats-label { font-size: 0.9rem; color: var(--text-gray); }
.about-text h2 { margin-bottom: 25px; }
.about-text p { margin-bottom: 20px; font-size: 1.05rem; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 35px 0; }
.about-feature { display: flex; align-items: flex-start; gap: 15px; }
.about-feature-icon { width: 50px; height: 50px; background-color: rgba(238, 95, 24, 0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-feature-icon svg { width: 24px; height: 24px; fill: var(--accent-orange); }
.about-feature-text h4 { font-size: 1rem; margin-bottom: 5px; }
.about-feature-text p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0; }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%); position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 10% 90%, rgba(238, 95, 24, 0.15) 0%, transparent 40%), radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.05) 0%, transparent 30%); }
.cta-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.cta-text h2 { color: var(--white); margin-bottom: 15px; }
.cta-text p { color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; }
.cta-buttons { display: flex; gap: 15px; }

/* PARTNERS */
.partners { background-color: var(--light-gray); }
.partners-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 25px; }
.partner-logo { background-color: var(--white); border-radius: 8px; padding: 25px; display: flex; align-items: center; justify-content: center; height: 100px; border: 1px solid var(--border-color); transition: var(--transition-smooth); }
.partner-logo:hover { box-shadow: var(--shadow-soft); border-color: transparent; }
.partner-logo span { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; color: var(--text-gray); text-align: center; }

/* TRUST */
.trust { background-color: var(--white); }
.trust-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat-item { text-align: center; padding: 40px 20px; border-radius: 12px; background-color: var(--light-gray); transition: var(--transition-smooth); }
.stat-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.stat-number { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 800; color: var(--primary-navy); line-height: 1; margin-bottom: 10px; }
.stat-number span { color: var(--accent-orange); }
.stat-label { font-size: 1rem; color: var(--text-light); font-weight: 500; }

/* PROCESS */
.process { background-color: var(--light-gray); }
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.process-step { text-align: center; position: relative; }
.process-step::after { content: ''; position: absolute; top: 40px; right: -10px; width: calc(100% - 80px); height: 2px; background: linear-gradient(90deg, var(--accent-orange) 0%, transparent 100%); }
.process-step:last-child::after { display: none; }
.process-number { width: 80px; height: 80px; margin: 0 auto 20px; background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--white); position: relative; z-index: 1; }
.process-step h4 { font-size: 1rem; margin-bottom: 10px; }
.process-step p { font-size: 0.9rem; color: var(--text-light); }

/* PROCESS WITH PHOTO */
.process-with-photo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}
.process-photo {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}
.process-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.process-steps-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.process-step-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.process-step-row .process-number {
    width: 52px;
    height: 52px;
    min-width: 52px;
    margin: 0;
    font-size: 1.3rem;
}
.process-step-row h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--primary-navy);
}
.process-step-row p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* FOOTER */
.footer { background-color: var(--primary-navy-dark); padding: 80px 0 0; }
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-brand h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 20px; }
.footer-brand p { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; line-height: 1.8; margin-bottom: 25px; }
.footer-social { display: flex; gap: 15px; }
.footer-social a { width: 45px; height: 45px; background-color: rgba(255, 255, 255, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition-smooth); }
.footer-social a:hover { background-color: var(--accent-orange); }
.footer-social svg { width: 20px; height: 20px; fill: var(--white); }
.footer-column h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 25px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent-orange); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
.footer-contact-item svg { width: 20px; height: 20px; fill: var(--accent-orange); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { padding: 25px 0; display: flex; justify-content: space-between; align-items: center; }
.footer-copyright { color: rgba(255, 255, 255, 0.5); font-size: 0.9rem; }
.footer-compliance { color: rgba(255, 255, 255, 0.5); font-size: 0.9rem; }

/* PAGE HEADER */
.page-header { background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%); padding: 80px 0 60px; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%); }
.page-header-content { position: relative; z-index: 2; text-align: center; }
.page-header h1 { color: var(--white); margin-bottom: 15px; }
.page-header .breadcrumb { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }
.page-header .breadcrumb a { color: var(--accent-orange); }
.page-header .breadcrumb a:hover { text-decoration: underline; }

/* PRODUCT PAGE CONTENT */
.product-intro { padding: 80px 0; }
.product-intro-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.product-intro-text h2 { margin-bottom: 20px; }
.product-intro-text p { margin-bottom: 20px; font-size: 1.05rem; }
.product-benefits { padding: 60px 0; background-color: var(--light-gray); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.benefit-card { background: var(--white); padding: 30px; border-radius: 8px; box-shadow: var(--shadow-soft); }
.benefit-card h4 { margin-bottom: 15px; color: var(--primary-navy); }
.benefit-card p { color: var(--text-light); font-size: 0.95rem; }

/* RESPONSIVE */
@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .partners-grid { grid-template-columns: repeat(4, 1fr); }
    .process-steps { grid-template-columns: repeat(3, 1fr); }
    .process-step:nth-child(3)::after { display: none; }
}
@media (max-width: 1024px) {
    .header-contact { display: none; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .for-business-content { grid-template-columns: 1fr; }
    .business-cards { grid-template-columns: repeat(4, 1fr); }
    .about-content { grid-template-columns: 1fr; gap: 50px; }
    .about-image { order: -1; max-width: 500px; margin: 0 auto; }
    .about-text { text-align: center; }
    .about-features { justify-content: center; }
    .cta-content { grid-template-columns: 1fr; text-align: center; }
    .cta-buttons { justify-content: center; }
    .trust-stats { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
    .product-intro-content { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .process-with-photo { grid-template-columns: 1fr; gap: 30px; }
    .process-photo { max-width: 500px; margin: 0 auto; border-radius: 12px; }
}
@media (max-width: 768px) {
    .section-padding { padding: 70px 0; }
    .topbar { display: none; }
    .header-cta { display: none; }
    .nav-bar { position: fixed; top: 0; right: -100%; width: 80%; max-width: 350px; height: 100vh; background-color: var(--white); flex-direction: column; box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1); transition: var(--transition-smooth); z-index: 1001; overflow-y: auto; }
    .nav-bar.active { right: 0; }
    .nav-menu { flex-direction: column; width: 100%; padding: 80px 20px 30px; }
    .nav-link { width: 100%; border-bottom: 1px solid var(--border-color); }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; }
    .nav-item.open .dropdown-menu { display: block; }
    .menu-toggle { display: flex; z-index: 1002; }
    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .products-grid { grid-template-columns: 1fr; }
    .business-cards { grid-template-columns: repeat(2, 1fr); }
    .business-features { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .about-stats { position: static; margin-top: 20px; }
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
    .trust-stats { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .process-step::after { display: none; }
    .process-with-photo { gap: 25px; }
    .process-step-row .process-number { width: 44px; height: 44px; min-width: 44px; font-size: 1.1rem; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-social { justify-content: center; }
    .footer-contact-item { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    .benefits-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .business-cards { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
}



/* ==========================================================================
   PONIŻEJ: DODATKOWE STYLE WORDPRESS (blog, single post, sidebar, etc.)
   ========================================================================== */

/* ===== BLOG HERO ===== */
.blog-hero {
    background: linear-gradient(135deg, #1a2540 0%, #2c3e6b 100%);
    padding: 120px 0 60px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.blog-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,193,7,0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.blog-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.blog-hero p {
    font-family: 'Rubik', sans-serif;
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    padding: 0.75rem 0 0;
    font-family: 'Rubik', sans-serif;
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0;
}
.breadcrumbs a {
    color: #2c3e6b;
    text-decoration: none;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}
.breadcrumbs span {
    margin: 0 0.4rem;
    color: #9ca3af;
}

/* ===== BLOG CATEGORIES ===== */
.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    padding: 2rem 0 1rem;
}
.blog-category-btn {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-family: 'Rubik', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b5563;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.blog-category-btn:hover,
.blog-category-btn.active {
    background: #2c3e6b;
    border-color: #2c3e6b;
    color: #fff;
}

/* ===== BLOG GRID ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    padding: 2rem 0 4rem;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8ecf8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-card-image .blog-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #ffc107;
    color: #1a2540;
    font-family: 'Rubik', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.blog-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card-meta {
    font-family: 'Rubik', sans-serif;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.blog-card-meta svg {
    width: 14px;
    height: 14px;
    fill: #9ca3af;
    vertical-align: middle;
    margin-right: 3px;
}
.blog-card-body h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a2540;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}
.blog-card-body h2 a {
    color: inherit;
    text-decoration: none;
}
.blog-card-body h2 a:hover {
    color: #2c3e6b;
}
.blog-card-body p {
    font-family: 'Rubik', sans-serif;
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
    flex: 1;
}
.blog-card-footer {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.blog-read-more {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c3e6b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s ease;
}
.blog-card:hover .blog-read-more {
    gap: 0.6rem;
}
.blog-read-time {
    font-family: 'Rubik', sans-serif;
    font-size: 0.78rem;
    color: #9ca3af;
}

/* ===== BLOG PREVIEW (Homepage) ===== */
.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.blog-preview-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.blog-preview-image {
    height: 160px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8ecf8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    overflow: hidden;
}
.blog-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-preview-content {
    padding: 1.25rem;
}
.blog-preview-category {
    font-family: 'Rubik', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: #2c3e6b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.blog-preview-content h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1a2540;
    margin: 0.4rem 0;
    line-height: 1.4;
}
.blog-preview-content p {
    font-family: 'Rubik', sans-serif;
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
}

/* ===== SINGLE POST ===== */
.single-post-hero {
    background: linear-gradient(135deg, #1a2540 0%, #2c3e6b 100%);
    padding: 120px 0 50px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.single-post-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,193,7,0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.single-post-hero .post-category {
    display: inline-block;
    background: #ffc107;
    color: #1a2540;
    font-family: 'Rubik', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}
.single-post-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    max-width: 800px;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #fff !important;
}
.single-post-hero .post-meta {
    font-family: 'Rubik', sans-serif;
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.single-post-hero .post-meta svg {
    width: 16px;
    height: 16px;
    fill: rgba(255,255,255,0.7);
    vertical-align: middle;
    margin-right: 4px;
}

.single-post-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 3rem;
    padding: 2rem 0 4rem;
}

.single-post-content {
    font-family: 'Rubik', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
}

/* Fix: empty paragraph before TOC */
.single-post-content > p:first-child:empty,
.single-post-content > p:first-child br:only-child {
    display: none;
    margin: 0;
    padding: 0;
    line-height: 0;
    font-size: 0;
}

/* Fix: blog-author full width */
.single-post-content .blog-author {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}
.single-post-content .blog-author > div {
    width: 100% !important;
    max-width: 100% !important;
}
.single-post-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a2540;
    margin: 2rem 0 1rem;
}
.single-post-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a2540;
    margin: 1.5rem 0 0.75rem;
}
.single-post-content p {
    margin-bottom: 1.25rem;
}
.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}
.single-post-content ul,
.single-post-content ol {
    margin: 1rem 0 1.25rem 1.5rem;
}
.single-post-content li {
    margin-bottom: 0.5rem;
}
.single-post-content blockquote {
    border-left: 4px solid #ffc107;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4b5563;
}
.single-post-content a {
    color: #2c3e6b;
    text-decoration: underline;
}

/* Post tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}
.post-tags a {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: #f3f4f6;
    border-radius: 50px;
    font-family: 'Rubik', sans-serif;
    font-size: 0.8rem;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s;
}
.post-tags a:hover {
    background: #2c3e6b;
    color: #fff;
}

/* Post navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}
.post-nav-link {
    padding: 1.25rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}
.post-nav-link:hover {
    background: #e8ecf8;
}
.post-nav-link .nav-label {
    font-family: 'Rubik', sans-serif;
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.3rem;
}
.post-nav-link .nav-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a2540;
}
.post-nav-link.next {
    text-align: right;
}

/* Author box */
.author-box {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 2rem;
    align-items: center;
}
.author-box-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #2c3e6b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
    overflow: hidden;
}
.author-box-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author-box-text h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1a2540;
    margin-bottom: 0.25rem;
}
.author-box-text p {
    font-family: 'Rubik', sans-serif;
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
}

/* Blog author WordPress class fix */
.blog-author {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* ===== SIDEBAR ===== */
.blog-sidebar {
    position: sticky;
    top: 100px;
}
.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.sidebar-widget h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1a2540;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #ffc107;
}
.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-widget ul li {
    margin-bottom: 0.5rem;
}
.sidebar-widget ul li a {
    font-family: 'Rubik', sans-serif;
    font-size: 0.9rem;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sidebar-widget ul li a:hover {
    color: #2c3e6b;
}
.sidebar-widget ul li a .count {
    background: #f3f4f6;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, #1a2540 0%, #2c3e6b 100%);
    color: #fff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
}
.sidebar-cta h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0.5rem;
}
.sidebar-cta p {
    font-family: 'Rubik', sans-serif;
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 1.25rem;
}
.sidebar-cta .btn {
    display: inline-block;
    width: 100%;
}

/* ===== MOBILE CTA BAR (Zadzwoń / Napisz) ===== */
.mobile-cta-bar {
    display: none;
}
@media (max-width: 768px) {
    .mobile-cta-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background: var(--primary-navy, #001a57);
        padding: 8px 10px;
        padding-bottom: max(8px, env(safe-area-inset-bottom));
        gap: 8px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    }
    .mobile-cta-bar a {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 8px;
        font-family: var(--font-heading, 'Poppins', sans-serif);
        font-size: 0.8rem;
        font-weight: 600;
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.2s;
    }
    .mobile-cta-bar .cta-call {
        background: var(--accent-orange, #EE5F18);
        color: #fff;
    }
    .mobile-cta-bar .cta-message {
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    .mobile-cta-bar a svg {
        width: 18px;
        height: 18px;
        fill: currentColor;
        flex-shrink: 0;
    }
}

/* ===== NEWSLETTER ===== */
.blog-cta h3 { color: #fff !important; }
.blog-newsletter {
    background: linear-gradient(135deg, #1a2540 0%, #2c3e6b 100%);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    color: #fff;
    margin: 2rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.blog-newsletter::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,193,7,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.blog-newsletter h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
}
.blog-newsletter p {
    font-family: 'Rubik', sans-serif;
    opacity: 0.85;
    margin-bottom: 1.5rem;
    position: relative;
}
.newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}
.newsletter-form input {
    flex: 1;
    padding: 0.85rem 1.2rem;
    border: none;
    border-radius: 8px;
    font-family: 'Rubik', sans-serif;
    font-size: 0.9rem;
}
.newsletter-form button {
    padding: 0.85rem 1.5rem;
    background: #ffc107;
    color: #1a2540;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.newsletter-form button:hover {
    background: #e6ad00;
}

/* ===== PAGINATION ===== */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem 0 3rem;
}
.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-family: 'Rubik', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4b5563;
    background: #fff;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.2s;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: #2c3e6b;
    border-color: #2c3e6b;
    color: #fff;
}
.blog-pagination .prev,
.blog-pagination .next {
    width: auto;
    padding: 0 1rem;
}

/* ===== 404 PAGE ===== */
.page-404 {
    text-align: center;
    padding: 160px 0 80px;
}
.page-404 h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 6rem;
    font-weight: 800;
    color: #e5e7eb;
    line-height: 1;
}
.page-404 h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #1a2540;
    margin-bottom: 1rem;
}
.page-404 p {
    font-family: 'Rubik', sans-serif;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* ===== WORDPRESS DEFAULTS ===== */
.wp-caption {
    max-width: 100%;
}
.wp-caption img {
    border-radius: 8px;
}
.wp-caption-text {
    font-family: 'Rubik', sans-serif;
    font-size: 0.8rem;
    color: #9ca3af;
    text-align: center;
    margin-top: 0.5rem;
}
.alignleft {
    float: left;
    margin: 0 1.5rem 1rem 0;
}
.alignright {
    float: right;
    margin: 0 0 1rem 1.5rem;
}
.aligncenter {
    display: block;
    margin: 1.5rem auto;
}
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .single-post-layout {
        grid-template-columns: 1fr;
    }
    .blog-sidebar {
        position: static;
    }
}
@media (max-width: 768px) {
    .blog-hero { padding: 100px 0 40px; }
    .blog-hero h1 { font-size: 1.8rem; }
    .single-post-hero h1 { font-size: 1.6rem; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-preview-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .blog-newsletter { padding: 2rem 1.5rem; }
    .post-navigation { grid-template-columns: 1fr; }
    .author-box { flex-direction: column; text-align: center; }
}


/* ==========================================================================
   DESKTOP CONTACT WIDGET
   ========================================================================== */

.kn-contact-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* Toggle button */
.kn-cw-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: var(--accent-orange);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(238,95,24,0.4);
    transition: all 0.3s ease;
}
.kn-cw-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(238,95,24,0.5);
}
.kn-cw-toggle svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}
.kn-cw-icon-close {
    display: none;
}
.kn-contact-widget.open .kn-cw-icon-open {
    display: none;
}
.kn-contact-widget.open .kn-cw-icon-close {
    display: block;
}

/* Options panel */
.kn-cw-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.95);
    transition: all 0.25s ease;
    pointer-events: none;
}
.kn-contact-widget.open .kn-cw-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Individual option */
.kn-cw-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.kn-cw-option:hover {
    transform: translateX(-4px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.16);
}
.kn-cw-option svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.kn-cw-option span {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
}

/* Colors per option */
.kn-cw-call svg { fill: #16a34a; }
.kn-cw-call span { color: #16a34a; }
.kn-cw-call:hover { background: #f0fdf4; }

.kn-cw-email svg { fill: var(--accent-orange); }
.kn-cw-email span { color: var(--accent-orange); }
.kn-cw-email:hover { background: #fff7ed; }

.kn-cw-schedule svg { fill: var(--primary-navy); }
.kn-cw-schedule span { color: var(--primary-navy); }
.kn-cw-schedule:hover { background: #f0f4ff; }

/* Hide on mobile (mobile CTA bar handles this) */
@media (max-width: 768px) {
    .kn-contact-widget {
        display: none;
    }
}
