:root {
    --primary-color: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --secondary-color: #10b981;
    --accent-color: #10b981;
    --accent-light: #34d399;
    --text-color: #1e293b;
    --light-text: #64748b;
    --background: #ffffff;
    --bg-light: #f0fdf4;
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-accent: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    --shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
    --shadow-lg: 0 20px 60px rgba(16, 185, 129, 0.2);
    --shadow-xl: 0 30px 80px rgba(16, 185, 129, 0.25);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --border-radius-lg: 24px;
}
/* Reset i zmienne - Kraków Theme 2025 */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background);
    overflow-x: hidden;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.95) 0%, rgba(124, 58, 237, 0.9) 100%);
    backdrop-filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-badge i {
    margin-right: 0.5rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-cta {
    margin-bottom: 3rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
}

.btn i {
    margin-right: 0.75rem;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
}

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

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: var(--background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-features li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}


/* Phone Lead Section - Improved */
.phone-lead-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.phone-lead-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.phone-lead-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.phone-lead-text {
    color: white;
}

.phone-lead-text h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.phone-lead-text p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.phone-lead-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.phone-lead-benefits li {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.phone-lead-benefits li i {
    color: #10b981;
    margin-right: 0.75rem;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.phone-lead-form-wrapper {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phone-lead-form h3 {
    color: #1a202c;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.phone-lead-form .form-group {
    margin-bottom: 1.5rem;
}

.phone-lead-form .form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    color: #1a202c;
    background: white;
}

.phone-lead-form .form-input::placeholder {
    color: #94a3b8;
}

.phone-lead-form .form-input:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.phone-lead-form .btn-block {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.phone-lead-form .btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.phone-lead-form .form-privacy {
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Responsive dla phone-lead */
@media (max-width: 968px) {
    .phone-lead-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .phone-lead-text h2 {
        font-size: 2rem;
    }
    
    .phone-lead-section {
        padding: 3rem 0;
    }
}

@media (max-width: 640px) {
    .phone-lead-form-wrapper {
        padding: 1.5rem;
    }
    
    .phone-lead-text h2 {
        font-size: 1.75rem;
    }
    
    .phone-lead-text p {
        font-size: 1rem;
    }
    
    .phone-lead-benefits li {
        font-size: 1rem;
    }
    
    .phone-lead-form h3 {
        font-size: 1.5rem;
    }
    
    .phone-lead-form .btn-block {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}


/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-section i {
    margin-right: 0.5rem;
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-features {
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .form-group input[type="tel"] {
        min-width: 100%;
    }

    .trust-badges {
        gap: 1rem;
    }
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--background);
}

.faq-section .section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.faq-section .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    scroll-margin-top: 100px; /* Dla anchor links */
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.faq-item:target {
    animation: highlight 2s ease;
}

@keyframes highlight {
    0%, 100% {
        background: white;
    }
    50% {
        background: var(--bg-light);
    }
}

.faq-question {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-question i {
    font-size: 1.1rem;
}

.faq-answer {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.05rem;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: var(--primary-dark);
    font-weight: 600;
}


/* CTA Box */
.cta-box {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    margin: 3rem 0;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-text h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-text h3 i {
    color: #fbbf24;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin: 0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.cta-primary:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

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

@media (max-width: 768px) {
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cta-btn {
        flex: 1;
        justify-content: center;
        min-width: 150px;
    }
    
    .cta-text h3 {
        font-size: 1.5rem;
        justify-content: center;
    }
    
    .cta-text p {
        font-size: 1rem;
    }
}


/* Author Section - E-E-A-T */
.author-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.author-card {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: start;
}

.author-image {
    text-align: center;
}

.author-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.author-name {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.author-title {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.author-bio {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.author-bio p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.author-bio strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.author-contact {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.author-contact p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
}

.author-contact p:last-child {
    margin-bottom: 0;
}

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

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

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

.author-expertise h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.author-expertise ul {
    list-style: none;
    padding: 0;
}

.author-expertise li {
    padding: 0.5rem 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-expertise li i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Responsive Author Section */
@media (max-width: 768px) {
    .author-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .author-image img {
        width: 150px;
        height: 150px;
    }
}

/* FAQ Accordion Section */
.faq-accordion-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.faq-accordion-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.faq-hidden {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-hidden.expanded {
    max-height: 100000px;
    transition: max-height 2s ease;
}

.faq-toggle-wrapper {
    text-align: center;
    margin-top: 2rem;
}

.faq-toggle-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.faq-toggle-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.faq-toggle-btn i {
    margin-right: 0.5rem;
}


/* Mobile Optimizations - Enhanced */
@media (max-width: 768px) {
    /* Sekcje - lepsze odstępy */
    section {
        padding: 2.5rem 0;
    }
    
    .container {
        padding: 0 1.25rem;
    }
    
    /* Hero - mobile */
    .hero {
        min-height: 500px;
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .hero-badge {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    /* Przyciski - touch targets min 48px */
    .btn {
        min-height: 48px;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-lg {
        min-height: 56px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    /* Hero features - stack on mobile */
    .hero-features {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .feature-item {
        font-size: 0.95rem;
    }
    
    /* Services grid - 1 kolumna na mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    /* FAQ - lepsze odstępy na mobile */
    .faq-section {
        padding: 2.5rem 0;
    }
    
    .faq-item {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .faq-question {
        font-size: 1.1rem;
        line-height: 1.4;
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .faq-question i {
        margin-top: 0.2rem;
        flex-shrink: 0;
    }
    
    .faq-answer {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-top: 0.75rem;
    }
    
    /* FAQ Toggle Button - touch target */
    .faq-toggle-btn {
        min-height: 56px;
        padding: 1rem 2rem;
        font-size: 1.05rem;
        width: 100%;
        max-width: 100%;
    }
    
    /* Author section - mobile */
    .author-card {
        padding: 2rem 1.5rem;
    }
    
    .author-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .author-avatar {
        width: 100px;
        height: 100px;
    }
    
    .author-name {
        font-size: 1.5rem;
    }
    
    .author-title {
        font-size: 1rem;
    }
    
    /* Stats - 2 kolumny na mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* Phone form - mobile */
    .phone-form {
        padding: 2rem 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        min-height: 48px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-group textarea {
        min-height: 120px;
    }
    
    /* Section titles - mobile */
    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Footer - mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-column {
        align-items: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    /* Back to top button - touch target */
    #backToTop,
    #scrollTopBtn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    /* Floating call button - touch target */
    .floating-call-btn {
        width: 60px;
        height: 60px;
        bottom: 80px;
        right: 20px;
    }
}

/* Small mobile - extra optimizations */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Landscape mobile - optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
}

