/* ===== POPRAWA DLA DROPDOWN ===== */
.dropdown.active .dropdown-menu,
.dropdown.hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown.active .nav-link,
.dropdown.hover .nav-link {
    color: var(--primary);
}

.dropdown.active .nav-link:after,
.dropdown.hover .nav-link:after {
    width: 100%;
}

.dropdown-item.active {
    background: linear-gradient(135deg, var(--light), white);
    color: var(--primary);
    transform: translateX(5px);
}

.dropdown-item.active i {
    color: var(--primary);
}

/* Dla mobile */
@media (max-width: 1024px) {
    .dropdown.active .dropdown-menu,
    .dropdown.hover .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 10px;
        background: rgba(255,255,255,0.05);
    }
    
    .dropdown.active .nav-link {
        color: var(--primary);
    }
}


/* ===== POPRAWKI WIDOCZNOŚCI SEKCJI NA MOBILE ===== */
@media (max-width: 768px) {
    /* Wymuś widoczność sekcji */
    section {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100%;
        overflow: visible;
    }
    
    /* Naprawa oferty */
    .offer,
    .tax-services,
    .real-estate,
    .legal,
    .consolidation,
    .transfer-pricing {
        display: block !important;
        min-height: auto;
        padding: 60px 20px !important;
    }
    
    /* Naprawa kart w ofercie */
    .packages-showcase {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .package-super-card {
        min-height: auto !important;
        height: auto !important;
        margin-bottom: 20px;
    }
    
    .card-content {
        max-height: none !important;
        overflow: visible !important;
        padding: 20px !important;
    }
    
    /* Naprawa usług podatkowych */
    .service-showcase-grid {
        grid-template-columns: 1fr !important;
        padding: 20px !important;
    }
    
    .service-info {
        padding-right: 0 !important;
    }
    
    .service-visual {
        min-height: auto !important;
        margin-top: 30px;
    }
    
    /* Naprawa wizualnych elementów */
    .visual-card {
        position: relative !important;
        width: 100% !important;
        margin-bottom: 15px;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }
    
    /* Naprawa zakładek */
    .service-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* Naprawa nieruchomości */
    .estate-grid {
        grid-template-columns: 1fr !important;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr !important;
    }
    
    .areas-grid {
        grid-template-columns: 1fr !important;
    }
    
    .partnership-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Naprawa animacji i pływających elementów */
    .floating-element,
    .float-el,
    .estate-floating-elements .float-el {
        display: none !important; /* Ukryj dekoracje na mobile */
    }
    
    /* Naprawa sekcji prawnej */
    .legal-grid {
        grid-template-columns: 1fr !important;
    }
    
    .legal-features-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Naprawa konsolidacji */
    .consolidation-section {
        padding: 30px 20px !important;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Naprawa kontenerów */
    .container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Naprawa tekstu */
    h2 {
        font-size: 2rem !important;
        word-wrap: break-word;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
    
    p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
    
    /* Naprawa kart */
    .package-card,
    .service-card,
    .estate-card,
    .legal-feature-card,
    .benefit-card,
    .area-card,
    .partnership-card {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Dodatkowe poprawki dla bardzo małych ekranów */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .offer-title {
        font-size: 2rem !important;
    }
    
    .price-badge .amount {
        font-size: 1.8rem !important;
    }
    
    .btn, .btn-card, .btn-service {
        width: 100% !important;
        text-align: center !important;
    }
}



/* ===== RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1e293b;
    overflow-x: hidden;
    padding-top: 118px;
    transition: padding-top 0.4s ease;
}

body.top-bar-hidden {
    padding-top: 72px;
}

:root {
    --primary: #c5a059;
    --primary-dark: #a8843e;
    --primary-light: #e2c08d;
    --blue: #3b82f6;
    --blue-dark: #2563eb;
    --blue-light: #93c5fd;
    --secondary: #1e293b;
    --secondary-light: #334155;
    --light: #f8fafc;
    --white: #ffffff;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --shadow: 0 20px 40px -10px rgba(0,0,0,0.15);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--secondary);
    color: var(--white);
    padding: 8px 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    border-bottom: 2px solid var(--primary);
    height: 46px;
    transition: transform 0.4s ease, opacity 0.3s ease;
    font-size: 0.9rem;
}

.top-bar.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4477ef;
    display: flex;
    align-items: center;
    gap: 5px;
}

.phone i {
    color: var(--primary);
    font-size: 0.9rem;
}

.address, .email-info {
    font-size: 0.85rem;
    opacity: 0.9;
}

.address i, .email-info i {
    margin-right: 5px;
    color: var(--primary);
    font-size: 0.8rem;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); color: #f87171; }
    100% { transform: scale(1); }
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 46px;
    width: 100%;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

nav.top-bar-hidden {
    top: 0 !important;
}

nav.scrolled {
    background: rgba(30, 41, 59, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo-wrapper {
    position: relative;
    overflow: hidden;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.logo-text {
    color: var(--white);
    position: relative;
    z-index: 2;
}

.logo-dot {
    color: var(--primary);
    margin-left: 2px;
    position: relative;
    z-index: 2;
    animation: pulse 2s infinite;
}

.logo-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
    z-index: 1;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover:before,
.nav-link.active:before {
    opacity: 0.15;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    transform: translateY(-2px);
}

.link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.nav-link:hover .link-icon {
    transform: translateX(3px);
}

.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% - 10px);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: white;
    min-width: 240px;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(197, 160, 89, 0.2);
    z-index: 100;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--secondary);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dropdown-item i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 24px;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, var(--light), white);
    transform: translateX(5px);
    color: var(--primary);
}

.nav-cta {
    margin-left: 20px;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover:before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: rotate(15deg);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 100;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

.nav-link.active {
    color: var(--primary);
    background: rgba(197, 160, 89, 0.1);
}

.nav-link.active .link-icon {
    color: var(--primary);
}

/* ===== GLOBAL STYLES ===== */
.section-padding {
    padding: 80px 5%;
}

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

h2 {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    color: var(--secondary);
    font-weight: 700;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--blue-light));
    border-radius: 3px;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn:hover:before {
    left: 100%;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

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

/* ===== HERO ===== */
.hero {
    min-height: 70vh;
    background: linear-gradient(135deg, #1e293b 0%, #2d3a4f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover;
    opacity: 0.1;
    animation: zoom 20s infinite alternate;
}

@keyframes zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease;
}

.hero h1 span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero h1 span:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(197, 160, 89, 0.3);
    z-index: -1;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== ABOUT ===== */
.about {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 5%;
}

.about:before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.about:after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content {
    padding-right: 30px;
}

.about-badge {
    margin-bottom: 20px;
}

.badge-text {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(197, 160, 89, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    backdrop-filter: blur(5px);
}

.about-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
    color: var(--secondary);
}

.about-title .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.about-title .highlight:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(197, 160, 89, 0.2);
    z-index: -1;
}

.lead {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: 40px;
    font-weight: 400;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
    padding: 15px 20px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    border: 1px solid var(--light-gray);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.1);
    border-color: var(--primary);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary);
    font-weight: 600;
}

.feature-text p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: 20px;
    color: white;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.about-cta {
    margin-top: 30px;
}

.about-visual {
    position: relative;
}

.image-stack {
    position: relative;
    width: 100%;
    height: 500px;
}

.image-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    z-index: 1;
}

.image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.2), rgba(59, 130, 246, 0.2));
    mix-blend-mode: overlay;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 20px;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    bottom: 80px;
    right: 0;
    animation-delay: 0.5s;
}

.card-3 {
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    animation-delay: 1s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-text strong {
    font-size: 1rem;
    color: var(--secondary);
}

.card-text span {
    font-size: 0.85rem;
    color: var(--gray);
}

.experience-badge {
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.3);
    animation: pulse 2s infinite;
}

.badge-content {
    text-align: center;
    color: white;
}

.badge-content .years {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.badge-content .text {
    font-size: 0.8rem;
    opacity: 0.9;
}

.partners-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 50px;
    padding: 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--light-gray);
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    font-weight: 500;
}

.partner-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* ===== TAX SERVICES ===== */
.tax-services {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 5%;
}

.tax-services:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(197, 160, 89, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.header-badge {
    margin-bottom: 20px;
}

.badge-pulse {
    display: inline-block;
    padding: 8px 25px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    animation: badgePulse 2s infinite;
    box-shadow: 0 5px 20px rgba(197, 160, 89, 0.3);
}

@keyframes badgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--secondary);
}

.section-title .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.section-title .highlight:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(197, 160, 89, 0.2);
    z-index: -1;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.service-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: white;
    border: 2px solid var(--light-gray);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.tab-btn i {
    font-size: 1.2rem;
    color: var(--primary);
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.2);
}

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

.tab-btn.active i {
    color: white;
}

.tab-content-container {
    position: relative;
    min-height: 500px;
    margin-bottom: 60px;
}

.tab-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.tab-pane.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
}

.service-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: white;
    border-radius: 40px;
    padding: 50px;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.1);
    border: 1px solid var(--light-gray);
}

.service-info {
    padding-right: 30px;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.3);
}

.service-info h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.service-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 30px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--light);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--secondary);
    border: 1px solid var(--light-gray);
}

.feature-badge i {
    color: var(--primary);
}

.service-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.stat {
    text-align: left;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.btn-service {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-service:hover {
    background: var(--primary);
    transform: translateX(5px);
    gap: 15px;
}

.service-visual {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border: 1px solid var(--light-gray);
    position: absolute;
    width: 200px;
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

.visual-card:nth-child(1) {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.visual-card:nth-child(2) {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 0.5s;
}

.visual-card:nth-child(3) {
    bottom: 0;
    left: 20%;
    animation-delay: 1s;
}

.visual-card:hover {
    transform: scale(1.05) translateY(-5px);
    border-color: var(--primary);
}

.visual-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: white;
    font-size: 1.5rem;
}

.visual-card h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary);
}

.visual-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    animation: floatRotate 4s ease-in-out infinite;
}

.element-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.element-2 {
    bottom: 20%;
    left: 5%;
    animation-delay: 1s;
}

.element-3 {
    top: 30%;
    right: 15%;
    animation-delay: 2s;
}

@keyframes floatRotate {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(10deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.visual-chart {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    height: 200px;
    padding: 20px;
    background: linear-gradient(135deg, var(--light), white);
    border-radius: 30px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
}

.chart-bar {
    width: 40px;
    background: linear-gradient(to top, var(--primary), var(--primary-light));
    border-radius: 20px 20px 5px 5px;
    animation: growBar 1.5s ease-out forwards;
    transform-origin: bottom;
}

@keyframes growBar {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.gauge-container {
    text-align: center;
}

.gauge {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(var(--primary) 0deg 270deg, var(--light-gray) 270deg 360deg);
    margin-bottom: 20px;
    position: relative;
    animation: fillGauge 1.5s ease-out;
}

.gauge:after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    background: white;
    border-radius: 50%;
}

.gauge-label {
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 600;
}

@keyframes fillGauge {
    from { opacity: 0; transform: rotate(-90deg); }
    to { opacity: 1; transform: rotate(0); }
}

.code-window {
    background: #1e293b;
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.code-header {
    background: #334155;
    padding: 12px 15px;
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.code-content {
    padding: 20px;
    color: #e2e8f0;
    font-family: monospace;
    font-size: 0.9rem;
}

.code-content pre {
    margin: 0;
    color: #a5f3fc;
}

.shield-animation {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-animation i {
    font-size: 5rem;
    color: var(--primary);
    z-index: 2;
    animation: shieldPulse 2s infinite;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: ringPulse 2s infinite;
}

@keyframes shieldPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes ringPulse {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.services-grid-bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.grid-card {
    background: white;
    padding: 30px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}

.grid-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.1);
}

.grid-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.grid-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.grid-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== LEGAL ===== */
.legal {
    background: white;
}

.legal-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: start;
}

.legal-table {
    background: var(--light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table-row {
    display: grid;
    grid-template-columns: 50px 1fr;
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
}

.table-row:hover {
    background: white;
    transform: translateX(10px);
}

.table-row:last-child {
    border-bottom: none;
}

.table-icon {
    font-size: 1.8rem;
    color: var(--primary);
}

.table-content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary);
}

.table-content p {
    color: var(--gray);
    font-size: 0.95rem;
}

.legal-image {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 200px;
}

.legal-image i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* ===== OFERTA ===== */
.offer {
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 5%;
}

.offer-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 5;
}

.header-badge {
    margin-bottom: 25px;
}

.badge-3d {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.3);
    transform-style: preserve-3d;
    animation: floatBadge 3s ease-in-out infinite;
}

.badge-3d i {
    font-size: 1.2rem;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0) rotateX(0deg); }
    50% { transform: translateY(-5px) rotateX(5deg); }
}

.offer-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary);
    text-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.offer-title .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.offer-title .highlight:after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 15px;
    background: rgba(197, 160, 89, 0.2);
    z-index: -1;
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.title-decoration .line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.title-decoration .icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    animation: spin 6s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.offer-description-card {
    background: white;
    border-radius: 30px;
    padding: 50px;
    margin-bottom: 80px;
    position: relative;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.1);
    border: 1px solid rgba(197, 160, 89, 0.2);
    overflow: hidden;
    z-index: 5;
}

.description-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: 20px;
}

.description-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--secondary);
    font-weight: 400;
}

.dropcap {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    float: left;
    line-height: 1;
    margin-right: 10px;
}

.highlight-text {
    color: var(--primary);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.description-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.2;
    animation: particleFloat 8s infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; right: 15%; animation-delay: 2s; }
.particle:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 4s; }
.particle:nth-child(4) { top: 40%; right: 25%; animation-delay: 6s; }

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(10px, -10px); }
    50% { transform: translate(-5px, 15px); }
    75% { transform: translate(15px, 5px); }
}

/* ===== PAKIETY - POPRAWIONA WYSOKOŚĆ ===== */
.packages-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
    align-items: stretch;
}

.package-super-card {
    perspective: 1500px;
    position: relative;
    height: auto;
    min-height: 1300px;
    display: flex;
}

.package-super-card.featured {
    transform: scale(1.02);
    z-index: 20;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    display: flex;
}

.package-super-card:hover .card-inner {
    transform: none;
}

.card-front {
    position: relative;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(197, 160, 89, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255,255,255,0.95);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
}

.featured-badge {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-badge i {
    color: white;
    font-size: 0.8rem;
}

.card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.package-super-card:hover .card-image img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(30, 41, 59, 0.8) 100%);
}

.card-icon {
    position: absolute;
    bottom: -30px;
    right: 20px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.3);
    z-index: 5;
    border: 3px solid white;
}

.card-content {
    padding: 25px 25px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: visible;
    max-height: 800px;
}

.card-content::-webkit-scrollbar {
    width: 5px;
}

.card-content::-webkit-scrollbar-track {
    background: var(--light);
    border-radius: 10px;
}

.card-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.card-content h3 span {
    color: var(--primary);
    display: block;
    font-size: 1.2rem;
    margin-top: 5px;
}

.package-full-description {
    margin: 15px 0;
    padding: 15px;
    background: var(--light);
    border-radius: 15px;
    border-left: 4px solid var(--primary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.package-intro {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 500;
}

.package-intro i {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.package-highlight {
    background: white;
    padding: 12px;
    border-radius: 12px;
    margin-top: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.package-highlight p {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--secondary);
}

.package-highlight p:last-child {
    margin-bottom: 0;
}

.text-primary {
    color: var(--primary);
    font-weight: 600;
}

.mt-2 {
    margin-top: 8px;
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin: 15px 0;
    padding: 15px 0;
    border-top: 1px dashed var(--light-gray);
    border-bottom: 1px dashed var(--light-gray);
}

.price {
    font-size: 1.2rem;
    color: var(--gray);
}

.amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 5px;
}

.price-period {
    font-size: 0.9rem;
    color: var(--gray);
}

.card-features {
    margin: 10px 0 15px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0;
    font-size: 0.95rem;
    color: var(--secondary);
}

.feature i {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature.highlight-feature {
    background: rgba(197, 160, 89, 0.1);
    padding: 10px 12px;
    border-radius: 10px;
    margin-top: 15px;
    border: 1px dashed var(--primary);
}

.feature.highlight-feature i {
    color: var(--primary);
}

.card-footer {
    margin-top: 20px;
    margin-bottom: 10px;
}

.btn-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    background: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-card:hover {
    background: var(--primary);
    gap: 15px;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.3);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background: radial-gradient(circle at 50% 50%, rgba(197, 160, 89, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: -1;
}

.package-super-card:hover .card-glow {
    opacity: 1;
}

.featured-ribbon {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
    z-index: 30;
    transform: rotate(2deg);
    animation: ribbonPulse 2s infinite;
}

@keyframes ribbonPulse {
    0%, 100% { transform: rotate(2deg) scale(1); }
    50% { transform: rotate(2deg) scale(1.05); }
}

.additional-services {
    background: white;
    border-radius: 40px;
    padding: 50px;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.1);
    border: 1px solid rgba(197, 160, 89, 0.2);
    position: relative;
    z-index: 5;
    margin-top: 40px;
}

.additional-header {
    text-align: center;
    margin-bottom: 40px;
}

.additional-header h3 {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.additional-header p {
    font-size: 1.1rem;
    color: var(--gray);
}

.services-grid-detailed {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.service-detailed-card {
    background: white;
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-detailed-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.1);
}

.service-detailed-card.highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.service-detailed-card.highlight .service-icon {
    background: rgba(255,255,255,0.2);
    color: white;
}

.service-detailed-card.highlight h4,
.service-detailed-card.highlight p {
    color: white;
}

.service-detailed-card.highlight .price-tag {
    background: rgba(255,255,255,0.2);
    color: white;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.3s;
    flex-shrink: 0;
}

.service-detailed-card:hover .service-icon {
    transform: rotateY(180deg);
    background: var(--primary);
    color: white;
}

.service-detailed-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.service-detailed-card p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.service-footer {
    margin-top: auto;
}

.price-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(197, 160, 89, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.additional-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    background: var(--light);
    border-radius: 20px;
    margin-top: 30px;
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-left i {
    font-size: 3rem;
    color: var(--primary);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cta-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
}

.cta-subtitle {
    font-size: 1rem;
    color: var(--gray);
}

.btn-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-cta.pulse {
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.btn-cta:hover {
    background: var(--primary);
    transform: translateX(5px);
    gap: 15px;
}

.offer-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), transparent);
    opacity: 0.03;
}

.circle-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -200px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: 100px;
    left: -100px;
    background: linear-gradient(135deg, var(--blue), transparent);
}

.circle-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 10%;
    background: radial-gradient(circle, var(--primary), transparent);
}

/* ===== KONSOLIDACJA I CENY TRANSFEROWE ===== */
.consolidation, .transfer-pricing {
    background: white;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
    border: 1px solid var(--light-gray);
}

.accordion-header {
    background: white;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.2rem;
    border-left: 5px solid transparent;
    transition: var(--transition);
}

.accordion-header:hover {
    border-left-color: var(--primary);
    background: var(--light);
}

.accordion-header i {
    color: var(--primary);
    margin-right: 15px;
}

.accordion-content {
    max-height: 0;
    padding: 0 25px;
    background: var(--light);
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 25px;
}

/* ===== NIERUCHOMOŚCI ===== */
.real-estate {
    background: linear-gradient(135deg, #2d3a4f 0%, #3b4a63 100%);
    color: white;
    position: relative;
}

.real-estate:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMzAgMTBhMjAgMjAgMCAwIDEgMjAgMjAgMjAgMjAgMCAwIDEtNDAgMCAyMCAyMCAwIDAgMSAyMC0yMHoiIGZpbGw9InJnYmEoMTk3LCAxNjAsIDg5LCAwLjA1KSIvPjwvc3ZnPg==');
    opacity: 0.2;
    pointer-events: none;
}

.real-estate h2 {
    color: white;
    position: relative;
    z-index: 2;
}

.real-estate h2:after {
    background: linear-gradient(90deg, var(--primary), #fbbf24);
}

.real-estate .container {
    position: relative;
    z-index: 2;
}

.real-estate p {
    color: rgba(255,255,255,0.95);
    font-size: 1.1rem;
    line-height: 1.7;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.estate-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.estate-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.estate-card:hover {
    background: rgba(197, 160, 89, 0.2);
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
}

.estate-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.estate-card:hover i {
    transform: rotateY(180deg);
}

.estate-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.estate-card ul {
    list-style: none;
    margin-top: 15px;
}

.estate-card li {
    margin: 10px 0;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 8px;
}

.estate-card li:before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ===== REFERENCJE ===== */
.testimonials {
    background: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--light-gray);
}

.testimonial-card:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: var(--shadow);
}

.testimonial-card:before {
    content: ',,';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 8rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-card h3 {
    color: var(--secondary);
    margin-bottom: 10px;
}

.testimonial-card p {
    color: var(--gray);
}

/* ===== KONTAKT ===== */
.contact {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-panel {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.contact-info-panel h3 {
    color: var(--primary);
}

.info-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
    font-size: 1.1rem;
    transition: var(--transition);
}

.info-row:hover {
    transform: translateX(10px);
}

.info-row i {
    font-size: 2rem;
    color: var(--primary);
    width: 40px;
}

.map-container {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== FOOTER ===== */
footer {
    background: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 40px 5%;
    border-top: 3px solid var(--primary);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-address {
    margin-top: 10px;
    font-size: 0.9rem;
}

.footer-social {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-social a {
    color: white;
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: rotate(360deg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .packages-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .package-super-card.featured {
        transform: scale(1);
        grid-column: span 2;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 118px;
        left: 0;
        width: 100%;
        height: calc(100vh - 118px);
        background: rgba(30, 41, 59, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 40px 20px;
        gap: 15px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    .nav-links.show {
        transform: translateX(0);
    }

    .nav-item {
        width: 100%;
        height: auto;
    }

    .nav-link {
        width: 100%;
        justify-content: center;
        padding: 15px;
        font-size: 1.1rem;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
        margin-top: 10px;
        width: 100%;
    }

    .dropdown-item {
        color: white;
        justify-content: center;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    body.top-bar-hidden .nav-links {
        top: 72px;
        height: calc(100vh - 72px);
    }
    
    .service-showcase-grid {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .services-grid-bottom {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .visual-card {
        position: relative;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .visual-card:nth-child(1),
    .visual-card:nth-child(2),
    .visual-card:nth-child(3) {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        transform: none;
    }
    
    .service-visual {
        min-height: auto;
        flex-direction: column;
    }
    
    .about-grid,
    .legal-grid,
    .contact-grid,
    .estate-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        padding-right: 0;
    }
    
    .about-title {
        font-size: 2.8rem;
    }
    
    .image-stack {
        height: 400px;
    }
    
    .card-1 {
        top: 10px;
    }
    
    .card-2 {
        bottom: 60px;
    }
    
    .top-bar .address {
        display: none;
    }
    
    .services-grid-detailed {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body { padding-top: 106px; }
    body.top-bar-hidden { padding-top: 60px; }
    
    .nav-container {
        height: 60px;
    }

    .logo {
        font-size: 1.6rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .phone {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-title {
        font-size: 2.2rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .partners-row {
        flex-direction: column;
        gap: 15px;
        border-radius: 20px;
    }
    
    .floating-card {
        display: none;
    }
    
    .experience-badge {
        width: 80px;
        height: 80px;
        bottom: 20px;
    }
    
    .badge-content .years {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .service-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid-bottom,
    .packages-showcase,
    .services-grid-detailed {
        grid-template-columns: 1fr;
    }
    
    .package-super-card.featured {
        grid-column: auto;
    }
    
    .additional-cta {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cta-left {
        flex-direction: column;
        text-align: center;
    }
    
    .description-text {
        font-size: 1.1rem;
    }
    
    .offer-title {
        font-size: 2.8rem;
    }
}

/* ===== DODATKOWE STYLE DLA ROZBUDOWANYCH OPISÓW ===== */
.service-full-description {
    margin: 15px 0 20px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.service-full-description::-webkit-scrollbar {
    width: 4px;
}

.service-full-description::-webkit-scrollbar-track {
    background: var(--light);
    border-radius: 10px;
}

.service-full-description::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.service-full-description p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--secondary);
    font-size: 0.95rem;
}

.service-full-description h4 {
    font-size: 1.1rem;
    margin: 20px 0 10px;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-full-description h4 i {
    color: var(--primary);
}

.service-list {
    list-style: none;
    margin: 15px 0;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--secondary);
}

.service-list li i {
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.service-highlight-box {
    background: var(--light);
    border-left: 4px solid var(--primary);
    padding: 15px;
    border-radius: 0 15px 15px 0;
    margin: 20px 0;
}

.service-highlight-box h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--secondary);
}

.service-highlight-box p {
    margin-bottom: 0;
    color: var(--gray);
}

.service-highlight-box i {
    color: var(--primary);
    margin-right: 8px;
}

.service-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 15px;
}

/* ===== LEGAL SECTION - ROZBUDOWANA ===== */
.legal {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.legal-showcase {
    margin-bottom: 60px;
}

.legal-content-full {
    padding-right: 30px;
}

.legal-lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--secondary);
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(197, 160, 89, 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--primary);
}

.legal-highlight-box {
    margin: 30px 0 20px;
}

.legal-highlight-box h3 {
    font-size: 1.6rem;
    color: var(--secondary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-highlight-box h3 i {
    color: var(--primary);
}

.legal-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.legal-feature-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.legal-feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.1);
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: white;
    font-size: 1.5rem;
}

.legal-feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.legal-feature-card p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
}

.legal-quote-box {
    display: flex;
    gap: 20px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: white;
    padding: 30px;
    border-radius: 20px;
    margin: 40px 0 20px;
}

.quote-icon i {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.5;
}

.quote-content {
    flex: 1;
}

.quote-text {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.quote-content p {
    margin-bottom: 10px;
    line-height: 1.7;
}

.quote-footer {
    margin-top: 15px;
    font-style: italic;
}

.quote-footer .highlight-text {
    color: var(--primary);
    font-weight: 600;
}

.legal-visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-image-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 30px 60px -15px rgba(197, 160, 89, 0.3);
    width: 100%;
    position: relative;
    z-index: 2;
}

.legal-image-card i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: white;
}

.legal-image-card h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.legal-image-card p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
}

.legal-stats-mini {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.mini-stat {
    text-align: center;
}

.mini-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
    color: white;
}

.mini-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.legal-element-1 {
    top: 10%;
    left: 0;
    animation-delay: 0s;
}

.legal-element-2 {
    bottom: 10%;
    right: 0;
    animation-delay: 1s;
}

/* ===== KONSOLIDACJA I CENY TRANSFEROWE - ROZBUDOWANE ===== */
.consolidation-section,
.transfer-pricing-section {
    margin-top: 60px;
}

.section-subheader {
    text-align: center;
    margin-bottom: 40px;
}

.section-title-small {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.title-decoration-small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.title-decoration-small .line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.title-decoration-small i {
    color: var(--primary);
    font-size: 1.5rem;
}

.accordion-container {
    max-width: 1000px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--light-gray);
    background: white;
}

.accordion-header {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.2rem;
    border-left: 5px solid transparent;
    transition: all 0.3s ease;
    background: white;
}

.accordion-header:hover {
    border-left-color: var(--primary);
    background: var(--light);
}

.accordion-header i {
    color: var(--primary);
    margin-right: 15px;
}

.accordion-content {
    max-height: 0;
    padding: 0 30px;
    background: var(--light);
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
    padding: 30px;
}

.accordion-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--secondary);
    margin-bottom: 20px;
    font-weight: 500;
}

.accordion-content h4 {
    font-size: 1.3rem;
    margin: 25px 0 15px;
    color: var(--secondary);
}

.accordion-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--gray);
}

.accordion-list {
    list-style: none;
    margin: 20px 0;
}

.accordion-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.accordion-list li i {
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.accordion-list li strong {
    color: var(--secondary);
}

.numbered-list {
    list-style: none;
    counter-reset: item;
    margin: 20px 0;
}

.numbered-list li {
    counter-increment: item;
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    line-height: 1.6;
}

.numbered-list li:before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.accordion-highlight {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-top: 25px;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.accordion-highlight h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary);
}

.accordion-highlight h4 i {
    margin-right: 10px;
}

.mt-2 {
    margin-top: 15px;
}

/* Responsywność */
@media (max-width: 1024px) {
    .legal-features-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-quote-box {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-content-full {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .section-title-small {
        font-size: 1.8rem;
    }
    
    .accordion-header {
        padding: 20px;
        font-size: 1rem;
    }
    
    .accordion-list li {
        flex-direction: column;
        gap: 5px;
    }
}

/* ===== REAL ESTATE - ROZBUDOWANA ===== */
.real-estate {
    background: linear-gradient(135deg, #2d3a4f 0%, #3b4a63 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.real-estate .section-header {
    margin-bottom: 40px;
}

.real-estate .section-title {
    color: white;
}

.real-estate .section-title .highlight {
    color: var(--primary);
}

.real-estate .section-subtitle {
    color: rgba(255,255,255,0.8);
}

/* Intro */
.estate-intro {
    margin-bottom: 60px;
}

.intro-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 40px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.intro-card .quote-icon {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
}

.intro-text {
    font-size: 1.3rem;
    line-height: 1.8;
    position: relative;
    z-index: 2;
    padding-left: 30px;
    color: rgba(255,255,255,0.95);
}

.intro-text strong {
    color: var(--primary);
}

/* Why us section */
.why-us-section {
    margin-bottom: 70px;
}

.section-subheading {
    font-size: 2rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.section-subheading i {
    color: var(--primary);
    font-size: 2rem;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.why-us-content {
    padding-right: 30px;
}

.why-us-lead {
    font-size: 1.4rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 500;
}

.why-us-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
}

.why-us-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-us-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.why-us-card:hover {
    transform: translateX(10px);
    background: rgba(197, 160, 89, 0.15);
    border-color: var(--primary);
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: white;
}

.why-us-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: white;
}

.why-us-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
}

.why-us-card strong {
    color: var(--primary);
}

/* Support areas */
.support-areas {
    margin-bottom: 70px;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.area-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.area-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.area-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.area-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.area-header h4 {
    font-size: 1.3rem;
    color: white;
    margin: 0;
}

.area-list {
    list-style: none;
}

.area-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    line-height: 1.6;
}

.area-list li i {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.area-list li strong {
    color: white;
}

/* Shield section */
.shield-section {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.2), rgba(0,0,0,0.3));
    border-radius: 40px;
    padding: 50px;
    margin-bottom: 70px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.shield-section:before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary), transparent);
    opacity: 0.1;
    border-radius: 50%;
}

.shield-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.shield-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: white;
    animation: shieldPulse 2s infinite;
}

.shield-content h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 20px;
}

.shield-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.9);
}

.shield-highlight {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 30px;
}

.shield-quote {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(0,0,0,0.2);
    padding: 25px;
    border-radius: 20px;
    margin-top: 30px;
}

.shield-quote i {
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.5;
}

.shield-quote p {
    font-size: 1.1rem;
    line-height: 1.7;
    font-style: italic;
    color: white;
    margin: 0;
}

/* Partnership section */
.partnership-section {
    margin-bottom: 50px;
}

.partnership-intro {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    border-left: 5px solid var(--primary);
}

.partnership-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.partnership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.partnership-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 35px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.partnership-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: rgba(197, 160, 89, 0.1);
}

.card-number {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.1;
}

.partnership-card i:not(.card-number) {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.partnership-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: white;
}

.partnership-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
}

.partnership-card strong {
    color: var(--primary);
}

.partnership-footer {
    text-align: center;
    padding: 40px;
    background: rgba(197, 160, 89, 0.1);
    border-radius: 30px;
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.footer-big {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
}

.footer-small {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
}

.footer-small strong {
    color: var(--primary);
}

/* Floating elements */
.estate-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.float-el {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    border: 1px solid rgba(255,255,255,0.1);
    animation: floatEstate 8s ease-in-out infinite;
}

.el-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.el-2 {
    bottom: 15%;
    right: 8%;
    animation-delay: 2s;
}

.el-3 {
    top: 30%;
    right: 15%;
    animation-delay: 4s;
}

.el-4 {
    bottom: 25%;
    left: 10%;
    animation-delay: 6s;
}

@keyframes floatEstate {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* Responsywność */
@media (max-width: 1024px) {
    .why-us-grid,
    .areas-grid,
    .partnership-grid {
        grid-template-columns: 1fr;
    }
    
    .shield-section {
        padding: 30px;
    }
    
    .shield-content h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .section-subheading {
        font-size: 1.6rem;
        flex-direction: column;
        text-align: center;
    }
    
    .intro-text {
        font-size: 1.1rem;
    }
    
    .why-us-lead {
        font-size: 1.2rem;
    }
    
    .shield-quote {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-big {
        font-size: 1.2rem;
    }
    
    .footer-small {
        font-size: 1rem;
    }
}

/* ===== PRZYCISK SCROLL TO TOP ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.3rem;
    box-shadow: 0 5px 20px rgba(197, 160, 89, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border: 2px solid white;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    bottom: 40px;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.6);
}

.scroll-to-top i {
    transition: transform 0.3s ease;
}

.scroll-to-top:hover i {
    transform: translateY(-3px);
}

/* Animacja pulsowania */
.scroll-to-top {
    animation: pulse-soft 2s infinite;
}

@keyframes pulse-soft {
    0%, 100% { box-shadow: 0 5px 20px rgba(197, 160, 89, 0.4); }
    50% { box-shadow: 0 5px 25px rgba(197, 160, 89, 0.8); }
}

/* Responsywność dla mobile */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1.1rem;
    }
    
    .scroll-to-top.show {
        bottom: 30px;
    }
}

/* ===== BANER COOKIES ===== */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    z-index: 9999;
    transform: translateY(200%);
    transition: transform 0.5s ease;
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 30px;
    flex-wrap: wrap;
}

.cookie-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary);
}

.cookie-text p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

.cookie-btn.accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.5);
}

.cookie-btn.settings {
    background: var(--light);
    color: var(--secondary);
    border: 1px solid var(--light-gray);
}

.cookie-btn.settings:hover {
    background: var(--light-gray);
}

/* ===== MODAL COOKIES ===== */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cookie-modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
}

.modal-header h3 i {
    color: var(--primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray);
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-body {
    padding: 30px;
}

.cookie-option {
    margin-bottom: 25px;
    padding: 15px;
    background: var(--light);
    border-radius: 15px;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.option-header h4 {
    margin: 0;
    color: var(--secondary);
}

.option-desc {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

/* Switch (toggle) */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .3s;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:disabled + .slider {
    opacity: 0.5;
    cursor: not-allowed;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

.modal-footer {
    padding: 25px 30px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.modal-footer .cookie-btn {
    padding: 12px 25px;
}

/* Footer links */
.footer-links {
    margin: 15px 0;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.separator {
    color: var(--gray);
    margin: 0 10px;
}

/* Responsywność */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .cookie-btn {
        width: 100%;
    }
}

/* ===== POLITYKA PRYWATNOŚCI ===== */
.privacy-policy {
    background: white;
    min-height: 60vh;
}

.privacy-header {
    text-align: center;
    margin-bottom: 50px;
}

.privacy-header h1 {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.last-updated {
    color: var(--gray);
    font-size: 0.95rem;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--light);
    border-radius: 20px;
    border-left: 5px solid var(--primary);
}

.privacy-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.privacy-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--secondary);
    margin-bottom: 15px;
}

.privacy-section ul {
    list-style: none;
}

.privacy-section ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--secondary);
}

.privacy-section ul li:before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-list li i {
    color: var(--primary);
    width: 20px;
}

/* ===== DLACZEGO MY - Z OBRAZKIEM W TLE ===== */
.why-us-content {
    position: relative;
    width: 100%;
}

.why-us-image-bg {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1560520653-9e0e4c89eb11?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 25px;
    padding: 40px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Ciemna nakładka dla lepszej czytelności tekstu */
.image-overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.85), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.why-us-image-bg .why-us-lead,
.why-us-image-bg .why-us-text {
    position: relative;
    z-index: 2;
    color: white;
    margin-bottom: 20px;
}

.why-us-image-bg .why-us-lead {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.why-us-image-bg .why-us-text {
    font-size: 1.2rem;
    opacity: 0.95;
}

.why-us-image-bg .why-us-text strong {
    color: var(--primary);
    font-weight: 700;
}

/* Dekoracyjne ikony */
.image-accent {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.image-accent i {
    font-size: 2rem;
    color: var(--primary);
    background: rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    animation: float 3s ease-in-out infinite;
}

.image-accent i:nth-child(2) {
    animation-delay: 0.5s;
}

.image-accent i:nth-child(3) {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== FOOTER - AUTOR (BARTOSZ ZIELIŃSKI) ===== */
.footer-author {
    margin: 20px 0 15px;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.author-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 0.95rem;
}

.author-badge i {
    color: var(--primary);
    font-size: 1.2rem;
}

.author-badge strong {
    color: var(--primary);
    font-weight: 600;
    position: relative;
}

.author-badge strong:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary);
    opacity: 0.3;
}

.author-year {
    color: var(--gray);
    font-size: 0.9rem;
    background: rgba(255,255,255,0.05);
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Responsywność */
@media (max-width: 768px) {
    .footer-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-badge {
        flex-direction: column;
    }
}

/* ===== FORMULARZ KONTAKTOWY ===== */
.contact-form-section {
    margin-top: 60px;
    padding: 40px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid var(--light-gray);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.form-header h3 i {
    color: var(--primary);
    margin-right: 10px;
}

.form-header p {
    color: var(--gray);
    font-size: 1rem;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    margin-bottom: 20px;
}

.form-group {
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.95rem;
}

.form-group .required {
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
    opacity: 0.6;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

.checkbox-group label {
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.btn-submit {
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.4);
}

.btn-submit i {
    transition: transform 0.3s;
}

.btn-submit:hover i {
    transform: translateX(5px);
}

/* Komunikaty */
.form-message {
    margin-top: 30px;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    color: #10b981;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
}

.form-message i {
    font-size: 2rem;
}

.form-message p {
    margin: 0;
    font-size: 1rem;
}

/* Responsywność */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 30px 20px;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
    
    .btn-submit {
        padding: 14px 20px;
    }
}

/* ===== KOMUNIKATY FORMULARZA ===== */
.form-message {
    margin: 20px 0 30px;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    position: relative;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    color: #065f46;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #991b1b;
}

.form-message i {
    font-size: 2rem;
    flex-shrink: 0;
}

.form-message.success i {
    color: #10b981;
}

.form-message.error i {
    color: #ef4444;
}

.form-message strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.form-message p {
    margin: 0;
    font-size: 0.95rem;
}

.form-message ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.form-message li {
    margin-bottom: 5px;
}

.close-message {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.close-message:hover {
    opacity: 1;
}


/* ===== KSeF SECTION ===== */
.ksef-section {
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 5%;
}

/* Alert */
.ksef-alert {
    display: flex;
    align-items: center;
    gap: 25px;
    background: linear-gradient(135deg, #fff3cd, #ffe69c);
    border-left: 8px solid #ffc107;
    border-radius: 20px;
    padding: 25px 35px;
    margin-bottom: 50px;
    box-shadow: 0 15px 30px rgba(255, 193, 7, 0.2);
}

.alert-icon i {
    font-size: 3rem;
    color: #856404;
}

.alert-content h3 {
    font-size: 1.6rem;
    color: #856404;
    margin-bottom: 10px;
}

.alert-content p {
    font-size: 1.1rem;
    color: #856404;
    margin: 0;
}

/* Grid dla dwóch kolumn */
.ksef-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.ksef-info-card {
    background: white;
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid var(--light-gray);
    transition: transform 0.3s ease;
}

.ksef-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.ksef-info-card .card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 2rem;
}

.ksef-info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.ksef-info-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 20px;
}

.fact-highlight {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--light);
    padding: 20px;
    border-radius: 15px;
    border-left: 5px solid var(--primary);
    margin-top: 20px;
}

.fact-highlight i {
    font-size: 1.8rem;
    color: var(--primary);
}

.fact-highlight span {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--secondary);
    font-style: italic;
}

/* Tabela harmonogramu */
.ksef-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.ksef-table th {
    background: var(--secondary);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.ksef-table td {
    padding: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.ksef-table tr:last-child td {
    border-bottom: none;
}

.footnote {
    font-size: 0.9rem;
    color: var(--gray);
    font-style: italic;
    margin-top: 15px;
}

/* Dlaczego KSeF? */
.ksef-why {
    margin-bottom: 60px;
}

.ksef-why h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
}

.ksef-why h3 i {
    color: var(--primary);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.why-item {
    background: white;
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.why-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.1);
}

.why-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.why-item h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.why-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray);
}

/* Jak działa KSeF? */
.ksef-how {
    margin-bottom: 60px;
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid var(--light-gray);
}

.ksef-how h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
}

.ksef-how h3 i {
    color: var(--primary);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 20px;
    background: var(--light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.step:hover {
    background: white;
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--secondary);
}

.step-content p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

.ksef-note {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--primary);
    border-radius: 15px;
    padding: 20px;
    margin-top: 30px;
}

.ksef-note i {
    font-size: 1.8rem;
    color: var(--primary);
}

.ksef-note p {
    font-size: 1rem;
    margin: 0;
    color: var(--secondary);
}

/* Dla kogo KSeF? */
.ksef-forwhom {
    margin-bottom: 60px;
}

.ksef-forwhom h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
}

.ksef-forwhom h3 i {
    color: var(--primary);
}

.forwhom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.forwhom-card {
    background: white;
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.forwhom-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.forwhom-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.forwhom-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.forwhom-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray);
    margin: 0;
}

/* Lista kontrolna */
.ksef-checklist {
    margin-bottom: 60px;
    background: var(--secondary);
    border-radius: 30px;
    padding: 40px;
    color: white;
}

.ksef-checklist h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.ksef-checklist h3 i {
    color: var(--primary);
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.checklist-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.checklist-item span {
    font-size: 1rem;
    line-height: 1.6;
    color: white;
}

/* Tabela błędów */
.ksef-mistakes {
    margin-bottom: 60px;
}

.ksef-mistakes h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
}

.ksef-mistakes h3 i {
    color: var(--primary);
}

.mistakes-table-wrapper {
    overflow-x: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.mistakes-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 800px;
}

.mistakes-table th {
    background: var(--secondary);
    color: white;
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
}

.mistakes-table td {
    padding: 15px;
    border-bottom: 1px solid var(--light-gray);
    line-height: 1.6;
}

.mistakes-table tr:last-child td {
    border-bottom: none;
}

.mistakes-table tr:hover td {
    background: var(--light);
}

/* Konsekwencje */
.ksef-consequences {
    margin-bottom: 60px;
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid var(--light-gray);
}

.consequences-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.consequences-header i {
    font-size: 2.5rem;
    color: #dc3545;
}

.consequences-header h3 {
    font-size: 2rem;
    color: var(--secondary);
    margin: 0;
}

.consequences-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.consequence-item {
    background: var(--light);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #dc3545;
}

.consequence-item .date {
    display: inline-block;
    background: #dc3545;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.consequence-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--secondary);
    margin: 0;
}

/* CTA */
.ksef-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.3);
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-ksef {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 45px;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-ksef:hover {
    background: transparent;
    color: white;
    border-color: white;
    gap: 20px;
}

.btn-ksef i {
    transition: transform 0.3s;
}

.btn-ksef:hover i {
    transform: translateX(5px);
}

/* Responsywność */
@media (max-width: 1024px) {
    .why-grid,
    .forwhom-grid,
    .consequences-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .checklist-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ksef-alert {
        flex-direction: column;
        text-align: center;
    }
    
    .ksef-grid,
    .why-grid,
    .forwhom-grid,
    .consequences-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .ksef-note {
        flex-direction: column;
        text-align: center;
    }
    
    .ksef-cta {
        padding: 30px 20px;
    }
    
    .btn-ksef {
        width: 100%;
        justify-content: center;
    }
}

/* ===== KSeF - OFERTA INVICTA ===== */
.ksef-invicta-offer {
    background: white;
    border-radius: 40px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.1);
    border: 1px solid var(--primary-light);
}

.offer-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.offer-header i {
    font-size: 3rem;
    color: var(--primary);
}

.offer-header h3 {
    font-size: 2rem;
    color: var(--secondary);
    margin: 0;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.offer-card {
    background: var(--light);
    border-radius: 25px;
    padding: 30px 25px;
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
}

.offer-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.15);
}

.offer-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 2rem;
}

.offer-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.offer-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: 20px;
}

.offer-list {
    list-style: none;
}

.offer-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--secondary);
}

.offer-list li i {
    color: var(--primary);
    font-size: 0.9rem;
}

.offer-cta {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--light), white);
    border-radius: 30px;
}

.offer-cta p {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.btn-ksef-offer {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.3);
}

.btn-ksef-offer:hover {
    transform: translateY(-3px);
    gap: 20px;
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.4);
}

/* ===== KSeF - Jak pomagamy (timeline) ===== */
.ksef-how-we-help {
    background: white;
    border-radius: 40px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.ksef-how-we-help h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
}

.help-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 20px;
    background: var(--light);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: white;
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.1);
}

.timeline-marker {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

.timeline-content h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--secondary);
}

.timeline-content p {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 10px;
}

.timeline-help {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(197, 160, 89, 0.1);
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.95rem;
}

.timeline-help i {
    color: var(--primary);
}

/* ===== KSeF - Pakiety cenowe ===== */
.ksef-packages {
    margin-bottom: 50px;
}

.ksef-packages h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
}

.packages-grid-ksef {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.package-card-ksef {
    background: white;
    border-radius: 25px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.package-card-ksef:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 25px 45px rgba(197, 160, 89, 0.15);
}

.package-card-ksef.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary);
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.2);
    z-index: 2;
}

.package-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--light);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
}

.package-card-ksef.featured .package-badge {
    background: var(--primary);
    color: white;
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 20px 0;
}

.package-price small {
    font-size: 0.9rem;
    color: var(--gray);
}

.package-content h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.package-content ul {
    list-style: none;
    margin-bottom: 25px;
    text-align: left;
}

.package-content li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--secondary);
}

.package-content li i {
    color: var(--primary);
}

.package-btn {
    display: inline-block;
    padding: 12px 35px;
    background: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.package-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

/* ===== KSeF - Opinie ===== */
.ksef-testimonials {
    margin-bottom: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: 40px;
    padding: 50px;
    color: white;
}

.ksef-testimonials h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.ksef-testimonials h3 i {
    color: var(--primary);
}

.testimonials-grid-ksef {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonial-ksef {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.testimonial-ksef:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.testimonial-ksef i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
    opacity: 0.5;
}

.testimonial-ksef p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 15px;
}

.testimonial-author strong {
    display: block;
    color: var(--primary);
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsywność */
@media (max-width: 1024px) {
    .offer-grid,
    .packages-grid-ksef,
    .testimonials-grid-ksef {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .offer-grid,
    .packages-grid-ksef,
    .testimonials-grid-ksef {
        grid-template-columns: 1fr;
    }
    
    .offer-header {
        flex-direction: column;
        text-align: center;
    }
    
    .package-card-ksef.featured {
        transform: scale(1);
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ===== KSeF - Baner pomocy (TYLKO TO DODAJ) ===== */
.ksef-help-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 30px;
    padding: 30px 40px;
    margin-bottom: 40px;
    color: white;
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.3);
}

.help-banner-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.help-banner-content i {
    font-size: 3.5rem;
    color: white;
}

.help-banner-content h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 5px;
}

.help-banner-content p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0;
}

.help-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 35px;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.help-btn:hover {
    background: transparent;
    color: white;
    border-color: white;
    gap: 20px;
}

.help-btn i {
    font-size: 1rem;
    transition: transform 0.3s;
}

.help-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .help-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .help-btn {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}


/* ===== MODAL KONSULTACJI ===== */
.consultation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    background: white;
    border-radius: 30px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 30px 30px 0 0;
}

.modal-header h3 {
    margin: 0;
    color: white;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.modal-close-btn:hover {
    opacity: 1;
}

.modal-body {
    padding: 30px;
}

.modal-step {
    display: none;
}

.modal-step.active {
    display: block;
}

.step-indicator {
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.modal-step h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.step-desc {
    color: var(--gray);
    margin-bottom: 25px;
}

/* Kalendarz */
.calendar-container {
    background: var(--light);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
}

.calendar-header {
    text-align: center;
    margin-bottom: 20px;
}

.calendar-month {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary);
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 10px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border-radius: 50%;
    cursor: default;
    background: white;
    border: 1px solid var(--light-gray);
}

.calendar-day.available {
    cursor: pointer;
    background: white;
    border-color: var(--primary);
    color: var(--secondary);
    font-weight: 500;
    transition: all 0.3s;
}

.calendar-day.available:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.calendar-day.available.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.calendar-day.weekend {
    background: #f0f0f0;
    color: #aaa;
    border-color: #ddd;
}

.calendar-day.past {
    background: #f0f0f0;
    color: #aaa;
    border-color: #ddd;
    opacity: 0.5;
}

.calendar-day.empty {
    background: transparent;
    border: none;
}

.selected-date-info {
    background: rgba(197, 160, 89, 0.1);
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
}

.selected-date-info i {
    color: var(--primary);
}

/* Krok 2 */
.selected-date-summary {
    background: var(--light);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    font-size: 1.1rem;
}

.selected-date-summary i {
    color: var(--primary);
}

.modal-step .form-group {
    margin-bottom: 25px;
}

.modal-step .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary);
}

.modal-step .form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--light-gray);
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s;
}

.modal-step .form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.modal-btn {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-btn.next-btn,
.modal-btn.submit-btn {
    background: var(--primary);
    color: white;
}

.modal-btn.next-btn:hover,
.modal-btn.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.modal-btn.next-btn:disabled {
    background: var(--light-gray);
    cursor: not-allowed;
    transform: none;
}

.modal-btn.back-btn {
    background: var(--light);
    color: var(--secondary);
}

.modal-btn.back-btn:hover {
    background: var(--light-gray);
}

/* Krok 3 - sukces */
.success-icon {
    text-align: center;
    margin: 20px 0;
}

.success-icon i {
    font-size: 5rem;
    color: #10b981;
}

.success-message {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--secondary);
    margin: 20px 0 30px;
}

.close-success {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.close-success:hover {
    background: var(--primary-dark);
}

@media (max-width: 768px) {
    .modal-container {
        width: 95%;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}


/* ===== KALENDARZ - PRZYCISKI NAWIGACJI ===== */
.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.calendar-nav-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: var(--light);
    border-radius: 50%;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border: 1px solid var(--light-gray);
}

.calendar-nav-btn:hover:not(:disabled) {
    background: var(--primary);
    color: white;
}

.calendar-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.calendar-nav-btn i {
    font-size: 0.9rem;
}
