:root {
    --primary-color: #c64000;
    --primary-hover: #a03300;
    --dark-bg: #0d0f12;
    --light-bg: #f8f9fa;
    --text-color: #111111;
    --text-muted: #222222;
    --white: #ffffff;
    --font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 20px;
    scrollbar-gutter: stable;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--white);
    text-rendering: optimizeSpeed;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

section {
    scroll-margin-top: 130px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

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

.section-padding {
    padding: 90px 0;
}

.icon {
    width: 1.4rem;
    height: 1.4rem;
    vertical-align: middle;
    display: inline-block;
    fill: currentColor;
    flex-shrink: 0;
}

.icon-lg {
    width: 2.6rem;
    height: 2.6rem;
    fill: currentColor;
    flex-shrink: 0;
}

.icon-xl {
    width: 4rem;
    height: 4rem;
    fill: currentColor;
    flex-shrink: 0;
}

.text-primary {
    color: #ff7700;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-bg);
    color: #ffffff;
    font-size: 1.15rem;
    padding: 16px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    min-height: 58px;
}

.top-bar-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 40px;
}

.top-info, .top-contact {
    display: flex;
    align-items: center;
    gap: 35px;
}

.top-info span, .top-contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.top-contact a:hover {
    color: #ff7700;
}

/* Header & Nav */
.header {
    background-color: var(--dark-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    min-height: 95px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 95px;
    padding: 10px 0;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.9rem;
    color: var(--white);
    letter-spacing: -0.5px;
    display: inline-block;
    min-height: 40px;
}

.logo-accent {
    color: #ff7700;
}

.logo-sub {
    font-size: 1.1rem;
    color: #dddddd;
    font-weight: 500;
}

.nav ul {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav a {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: #ff7700;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 3px solid var(--white);
}

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

.btn-nav {
    background-color: var(--primary-color);
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-nav:hover {
    background-color: var(--primary-hover);
    color: #ffffff !important;
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    background: var(--dark-bg) url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?auto=format&fit=crop&w=1200&q=75') center/cover no-repeat;
    color: var(--white);
    padding: 150px 0;
    text-align: center;
    min-height: 550px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 15, 18, 0.96), rgba(13, 15, 18, 0.85));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    background-color: rgba(198, 64, 0, 0.4);
    color: #ffaa44;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 25px;
    border: 2px solid #ffaa44;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.25;
}

.hero-title-break {
    letter-spacing: -0.5px;
    word-spacing: 1px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #ffffff;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Stats Section */
.stats {
    background-color: #12161c;
    color: var(--white);
    padding: 60px 0;
    border-top: 1px solid #232a34;
    border-bottom: 1px solid #232a34;
    min-height: 180px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    text-align: center;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-box .icon-lg {
    margin-bottom: 12px;
    color: #ff7700;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    color: #ff7700;
    min-height: 60px;
}

.stat-label {
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.lead {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.25rem;
    color: #ffffff;
}

.about-list {
    margin-top: 25px;
}

.about-list li {
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-card {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 45px;
    border-radius: 10px;
    border-left: 6px solid var(--primary-color);
}

.card-content .icon-xl {
    margin-bottom: 20px;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.card-content p {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Services Section */
.bg-light {
    background-color: var(--light-bg);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: #000000; /* Zmiana nagłówków na czarny */
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.35rem;
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #d0d5dd;
    transition: var(--transition);
    contain: content;
}

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

.service-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background-color: #e2e8f0;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.05);
}

.service-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.service-card-body {
    padding: 35px 30px 30px 30px;
}

.service-card-body h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #000000;
}

.service-card-body p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Why Us Section */
.why-us {
    background-color: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
    margin-bottom: 60px;
}

.why-us-card {
    background: #ffffff;
    border: 2px solid #cfd8dc;
    padding: 35px;
    border-radius: 10px;
    transition: var(--transition);
}

.why-us-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.why-us-icon {
    width: 60px;
    height: 60px;
    background-color: var(--dark-bg);
    color: #ff7700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.why-us-card:hover .why-us-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.why-us-card h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    margin-bottom: 15px;
    color: #000000;
}

.why-us-card p {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.7;
}

.why-us-cta {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1e242c 100%);
    color: var(--white);
    padding: 45px 50px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    border-left: 6px solid var(--primary-color);
}

.cta-text h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.cta-text p {
    color: #ffffff;
    font-size: 1.25rem;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border: 2px solid #b0bec5;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 20px 25px;
    min-height: 70px;
}

.faq-item summary {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    cursor: pointer;
    outline: none;
    color: #000000;
}

.faq-item p {
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.7;
}

/* Contact Section */
.bg-dark {
    background-color: var(--dark-bg);
    color: var(--white);
}

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

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 35px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.c-item {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.25rem;
}

.c-item strong {
    display: block;
    font-size: 1.3rem;
}

.c-item a:hover {
    color: #ff7700;
}

.contact-form {
    background-color: #1a1e24;
    padding: 45px;
    border-radius: 10px;
    border: 1px solid #333a42;
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 25px;
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 6px;
    border: 2px solid #455a64;
    background-color: #0d0f12;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1.2rem;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: #aaaaaa;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #ff7700;
}

/* Legal Section (Polityka Prywatności) */
.legal-section {
    padding: 60px 0;
    background-color: var(--white);
    color: var(--text-color);
}

.legal-section h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--dark-bg);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.legal-section h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--dark-bg);
}

.legal-section p, .legal-section li {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #333333;
}

.legal-section ul {
    margin-left: 20px;
    list-style-type: disc;
    margin-bottom: 25px;
}

/* Footer */
.footer {
    background-color: #050607;
    color: #ffffff;
    padding: 35px 0;
    text-align: center;
    font-size: 1.1rem;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
}

.footer-sub {
    font-size: 1rem;
    margin-top: 8px;
    color: #dddddd;
}

.footer-links {
    margin-top: 15px;
    font-size: 0.95rem;
}

.footer-links a {
    color: #ff7700;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
}

/* RWD / Media Queries */
@media (max-width: 1200px) {
    .top-bar-content {
        flex-wrap: wrap;
        justify-content: center;
    }
}

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

@media (max-width: 768px) {
    section {
        scroll-margin-top: 130px;
    }
    
    html {
        font-size: 16px;
    }

    .top-bar {
        display: none;
    }

    .header {
        position: sticky;
        top: 0;
        z-index: 1000;
        padding: 6px 0;
        min-height: 70px;
    }

    .header-container {
        min-height: auto;
        padding: 4px 0;
        flex-direction: column;
        gap: 6px;
    }

    .logo {
        font-size: 1.25rem;
        min-height: 28px;
    }

    .logo-sub {
        font-size: 0.8rem;
    }

    .nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 6px 10px;
    }

    .nav a {
        font-size: 0.9rem;
    }

    .btn-nav {
        padding: 5px 12px;
        font-size: 0.85rem;
        border-radius: 4px;
    }

    .hero {
        padding: 50px 0 35px 0;
        min-height: auto;
    }

    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 1.1rem;
    }

    .section-padding {
        padding: 45px 0;
    }

    .about-text h2, .section-header h2, .contact-info h2 {
        font-size: 1.7rem;
        line-height: 1.3;
    }

    .lead {
        font-size: 1.05rem;
    }

    .why-us-cta {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .legal-section h1 {
        font-size: 1.8rem;
    }
}