:root {
    --primary: #1a365d;
    --secondary: #2c5282;
    --accent: #ed8936;
    --light: #f7fafc;
    --dark: #1a202c;
    --gray: #718096;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: var(--accent);
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark);
    position: relative;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: all 0.3s ease;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #dd6b20;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

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

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

.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,117.3C960,107,1056,149,1152,154.7C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
    color: var(--white);
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

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

section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

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

.services-magazine {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.service-card-large {
    flex: 2 1 calc(66.666% - 15px);
    display: flex;
    gap: 30px;
    align-items: center;
}

.service-card-small {
    flex: 1 1 calc(33.333% - 20px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.service-icon svg {
    width: 35px;
    height: 35px;
    fill: var(--white);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}

.service-price span {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 400;
}

.about-grid {
    display: flex;
    gap: 80px;
    align-items: center;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent);
    border-radius: var(--radius);
    z-index: -1;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    margin: 30px 0;
}

.features-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.bg-light {
    background: var(--light);
}

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

.bg-dark h2, .bg-dark h3 {
    color: var(--white);
}

.bg-dark p {
    color: rgba(255, 255, 255, 0.8);
}

.testimonials-grid {
    display: flex;
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex: 1;
    position: relative;
}

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

.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
    color: var(--dark);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
}

.author-info h4 {
    color: var(--primary);
    font-size: 1rem;
}

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

.process-steps {
    display: flex;
    gap: 40px;
    counter-reset: step;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.process-step::before {
    counter-increment: step;
    content: counter(step);
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 25px;
}

.process-step h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.process-step p {
    color: var(--gray);
}

.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, #dd6b20 100%);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 35px;
}

.cta-section .btn {
    background: var(--white);
    color: var(--accent);
}

.cta-section .btn:hover {
    background: var(--dark);
    color: var(--white);
}

.contact-wrapper {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 25px;
}

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

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
}

.contact-details li:last-child {
    border-bottom: none;
}

.contact-details svg {
    width: 24px;
    height: 24px;
    fill: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-details h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--gray);
}

.contact-form-wrapper {
    flex: 1;
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: flex;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-col {
    flex: 1;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--accent);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 25px;
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

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

.sticky-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: none;
}

.sticky-cta.show {
    display: block;
}

.sticky-cta .btn {
    box-shadow: 0 5px 25px rgba(237, 137, 54, 0.4);
}

.page-header {
    background: var(--primary);
    padding: 150px 0 80px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-header p {
    opacity: 0.8;
    font-size: 1.1rem;
}

.content-page {
    padding: 80px 0;
}

.content-page h2 {
    color: var(--primary);
    margin: 40px 0 20px;
    font-size: 1.8rem;
}

.content-page h3 {
    color: var(--secondary);
    margin: 30px 0 15px;
    font-size: 1.4rem;
}

.content-page p {
    color: var(--gray);
    margin-bottom: 20px;
}

.content-page ul {
    margin: 20px 0;
    padding-left: 25px;
    color: var(--gray);
}

.content-page li {
    margin-bottom: 10px;
}

.thanks-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
}

.thanks-content {
    max-width: 600px;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent), #dd6b20);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.thanks-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--white);
}

.thanks-content h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.thanks-content p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.values-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.value-card {
    flex: 1 1 calc(33.333% - 27px);
    min-width: 280px;
    padding: 35px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.value-card h3 {
    color: var(--primary);
    margin: 20px 0 15px;
}

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

.team-section {
    background: var(--light);
}

.team-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.team-member {
    flex: 0 1 280px;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
}

.team-photo {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo span {
    font-size: 4rem;
    color: var(--white);
    font-weight: bold;
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    color: var(--primary);
    margin-bottom: 5px;
}

.team-info span {
    color: var(--accent);
    font-size: 0.9rem;
}

.pricing-table {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.pricing-card {
    flex: 1 1 calc(33.333% - 17px);
    min-width: 300px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Popularne';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.pricing-card .price {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 25px;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    color: var(--gray);
    padding-left: 25px;
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.map-placeholder {
    height: 300px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 1.2rem;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.4rem;
    }

    .hero-text p {
        margin: 0 auto 35px;
    }

    .hero-stats {
        justify-content: center;
    }

    .about-grid {
        flex-direction: column;
        gap: 40px;
    }

    .service-card-large {
        flex: 1 1 100%;
        flex-direction: column;
        text-align: center;
    }

    .service-card-small {
        flex: 1 1 calc(50% - 15px);
    }

    .testimonials-grid {
        flex-direction: column;
    }

    .process-steps {
        flex-direction: column;
        gap: 30px;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .footer-grid {
        flex-wrap: wrap;
    }

    .footer-col {
        flex: 1 1 45%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 130px 0 70px;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .service-card-small {
        flex: 1 1 100%;
    }

    .values-grid .value-card {
        flex: 1 1 100%;
    }

    .pricing-card {
        flex: 1 1 100%;
    }

    .footer-col {
        flex: 1 1 100%;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

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

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

    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.7rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

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

    .sticky-cta {
        right: 15px;
        bottom: 15px;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-buttons .btn {
        width: 100%;
    }
}
