/* ===== GLOBAL STYLES & VARIABLES ===== */
:root {
    --accent-color: #FF671A;
    --bg-light: #FFFFFA;
    --bg-light-alt: #f8f8f8;
    --text-dark: #414542;
    --text-medium: #8C928D;
    --bg-dark: #020202;
    --bg-dark-secondary: #1a1a1a;
    --border-color: #e0e0e0;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto Mono', monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-primary); background-color: var(--bg-light); color: var(--text-dark); line-height: 1.7; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; }
h1 { font-size: 3.2rem; font-weight: 700; }
h2 { font-size: 2.5rem; margin-bottom: 20px; font-family: var(--font-secondary); }
h3 { font-size: 1.5rem; margin-bottom: 10px; }
p { margin-bottom: 1rem; color: var(--text-medium); }
.dark-bg p, .about-intro p { color: #ccc; }
.about-intro .about-text p:first-of-type { color: #fff; }
a { color: var(--accent-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #e05a10; }
.section-padding { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title p { color: var(--text-medium); max-width: 700px; margin: 10px auto 0; }
.text-center { text-align: center; }
.dark-bg { background-color: var(--bg-dark); color: var(--bg-light); }
.dark-bg h2, .dark-bg h3 { color: var(--bg-light); }

/* ===== HEADER ===== */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 999; padding: 20px 0; transition: background-color 0.4s ease, padding 0.4s ease; }
.header.scrolled { background-color: rgba(2, 2, 2, 0.95); padding: 15px 0; backdrop-filter: blur(5px); box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 50px; transition: height 0.4s ease; }
.header.scrolled .logo img { height: 40px; }
.main-nav ul { list-style: none; display: flex; gap: 30px; }
.main-nav a { color: var(--bg-light); font-weight: 600; font-size: 1rem; position: relative; padding: 5px 0; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--accent-color); transition: width 0.3s ease; }
.main-nav a:hover::after { width: 100%; }

/* --- HERO SECTION --- */
.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--bg-light); overflow: hidden; z-index: 1; }
.hero-video { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: -2; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%); z-index: -1; }
.hero-content { max-width: 900px; padding: 20px; }
.hero h1 { margin-bottom: 20px; }
.hero-content p { font-size: 1.25rem; margin-bottom: 40px; color: #ddd; }

/* --- POZOSTAŁE SEKCJE --- */
.btn { display: inline-block; padding: 14px 35px; border-radius: 5px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease; border: 2px solid transparent; }
.btn-primary { background-color: var(--accent-color); color: var(--bg-light); border-color: var(--accent-color); }
.btn-primary:hover { background-color: transparent; border-color: var(--accent-color); color: var(--accent-color); }
.btn-primary-outline { background-color: transparent; color: var(--accent-color); border-color: var(--accent-color); }
.btn-primary-outline:hover { background-color: var(--accent-color); color: var(--bg-light); }
.btn-secondary { background-color: transparent; color: var(--bg-light); border-color: var(--bg-light); }
.btn-secondary:hover { background-color: var(--bg-light); color: var(--bg-dark); }
.stats-section { background-color: var(--bg-dark); padding: 40px 0; border-bottom: 1px solid #333; }
.stats-container { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 20px; }
.stat-item { text-align: center; color: var(--bg-light); }
.stat-number { display: block; font-size: 2.5rem; font-weight: 700; color: var(--accent-color); font-family: var(--font-secondary); }
.stat-label { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-medium); }
.key-services { background-color: var(--bg-light-alt); }
.key-services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background-color: #fff; padding: 40px 30px; text-align: center; border: 1px solid var(--border-color); border-radius: 8px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.service-card i { font-size: 3rem; color: var(--accent-color); margin-bottom: 20px; }
.service-card h3 { margin-bottom: 15px; }
.specializations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.specializations .spec-card { background-color: var(--bg-dark-secondary); border: 1px solid #333; text-align: center; border-radius: 8px; padding: 30px; }
.specializations .spec-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); border-color: var(--accent-color); }
.specializations .spec-icon { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 20px; }
.specializations .spec-card h3 { margin-bottom: 15px; color: var(--bg-light); }
.specializations .spec-card p { color: var(--text-medium); }
.process-section { background-color: var(--bg-light); }
.process-timeline { position: relative; max-width: 800px; margin: 0 auto; }
.process-timeline::after { content: ''; position: absolute; width: 3px; background-color: #ddd; top: 0; bottom: 0; left: 40px; }
.process-step { display: flex; gap: 30px; align-items: flex-start; margin-bottom: 50px; position: relative; }
.process-icon { flex-shrink: 0; width: 80px; height: 80px; background-color: #fff; border: 3px solid #ddd; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--accent-color); z-index: 1; }
.process-content h3 { font-size: 1.2rem; margin-bottom: 5px; }
.about-intro-container { display: flex; align-items: center; gap: 60px; }
.about-text { flex: 1.2; }
.about-text h3 { color: var(--accent-color); font-family: var(--font-secondary); }
.about-image { flex: 1; text-align: center; }
.about-image img { max-width: 100%; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5)); }
.testimonials-section { background-color: var(--bg-light-alt); }
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.testimonial-card { background-color: #fff; padding: 30px; border-radius: 8px; border-left: 5px solid var(--accent-color); box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.testimonial-card p { font-style: italic; color: var(--text-dark); margin-bottom: 0; }
.final-cta { background: url('https://www.transparenttextures.com/patterns/cubes.png'), var(--text-dark); color: var(--bg-light); }
.final-cta h2 { color: var(--bg-light); }
.final-cta p { color: var(--text-medium); margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
.page-hero { background-color: var(--bg-dark); color: var(--bg-light); padding: 120px 0 60px; text-align: center; }
.page-hero h1 { font-size: 3rem; margin-bottom: 10px; }
.page-hero p { font-size: 1.2rem; color: var(--text-medium); font-family: var(--font-secondary); }
.services-choice { background-color: var(--bg-light-alt); }
.choice-grid-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.choice-card { background-color: #fff; padding: 40px; border: 1px solid var(--border-color); border-radius: 8px; text-align: center; transition: all 0.3s ease-in-out; display: flex; flex-direction: column; }
.choice-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); border-color: var(--accent-color); }
.choice-icon { width: 80px; height: 80px; margin: 0 auto 30px; background-color: var(--bg-light-alt); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.choice-icon i { font-size: 2.5rem; color: var(--accent-color); }
.choice-card h2 { font-size: 1.8rem; font-family: var(--font-primary); color: var(--text-dark); }
.choice-list { list-style: none; margin: 30px 0; text-align: left; display: inline-block; }
.choice-list li { margin-bottom: 10px; position: relative; padding-left: 25px; color: var(--text-dark); }
.choice-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--accent-color); position: absolute; left: 0; top: 2px; }
.choice-card .btn { margin-top: auto; }
.contact-prompt { background-color: var(--bg-dark); }
.contact-prompt h2 { color: var(--bg-light); }
.contact-prompt p { max-width: 600px; margin: 20px auto 30px; color: var(--text-medium); }
.section-intro { max-width: 800px; margin: 0 auto 80px; }
.service-feature { display: flex; align-items: center; gap: 50px; margin-bottom: 80px; }
.service-feature:last-of-type { margin-bottom: 0; }
.service-feature.reverse { flex-direction: row-reverse; }
.feature-icon { flex: 0 0 150px; height: 150px; background-color: var(--bg-light-alt); border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 3px solid var(--border-color); }
.feature-icon i { font-size: 4rem; color: var(--accent-color); }
.feature-description { flex: 1; }
.feature-description h3 { font-family: var(--font-secondary); font-size: 1.8rem; margin-bottom: 15px; }
.feature-description ul { list-style: none; margin-top: 20px; }
.feature-description ul li { margin-bottom: 10px; display: flex; align-items: center; }
.feature-description ul i { color: var(--accent-color); margin-right: 15px; }
.why-us-feature .why-us-list { max-width: 100%; list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; }
.why-us-feature .why-us-list li { padding-left: 0; font-size: 1rem; color: var(--bg-light); border: none; }
.why-us-feature .why-us-list i { position: static; font-size: 1.2rem; margin-right: 15px; vertical-align: middle; }
.subpage-cta-section { background-color: var(--bg-light-alt); }
.subpage-cta-section p { max-width: 600px; margin-left: auto; margin-right: auto; margin-bottom: 30px; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cta-buttons .btn { display: flex; align-items: center; gap: 10px; }
.about-intro-page .section-subtitle { max-width: 800px; margin: 20px auto 0; font-size: 1.1rem; color: var(--text-dark); }
.founder-section { color: #eee; }
.founder-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: center; }
.founder-photo img { width: 100%; max-width: 400px; border-radius: 50%; border: 5px solid var(--bg-dark-secondary); box-shadow: 0 0 40px rgba(0,0,0,0.5); }
.founder-bio h3 { color: var(--bg-light); font-size: 2.2rem; }
.founder-bio span { display: block; color: var(--accent-color); font-family: var(--font-secondary); margin-bottom: 20px; }
.founder-bio p { color: var(--text-medium); }
.philosophy-section { background-color: var(--bg-light-alt); }
.philosophy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.value-card { background: #fff; padding: 40px 30px; text-align: center; border-radius: 8px; border: 1px solid var(--border-color); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.value-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.value-icon { font-size: 3rem; color: var(--accent-color); margin-bottom: 20px; }
.value-card h3 { margin-bottom: 15px; }
.under-construction-section { background-color: var(--bg-light-alt); min-height: 50vh; display: flex; align-items: center; justify-content: center; }
.construction-icon { font-size: 5rem; color: var(--accent-color); margin-bottom: 30px; opacity: 0.5; }
.under-construction-section .section-subtitle { max-width: 600px; margin: 20px auto 40px; font-size: 1.1rem; color: var(--text-dark); }
.contact-section-redesigned { background-color: var(--bg-light-alt); }
.contact-grid-redesigned { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: center; }
.contact-details-card { background-color: #fff; padding: 40px; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.contact-details-card h2 { font-family: var(--font-primary); margin-bottom: 15px; }
.contact-item { display: flex; align-items: flex-start; margin-top: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.contact-item:last-of-type { border-bottom: none; }
.contact-item i { color: var(--accent-color); font-size: 1.5rem; margin-right: 20px; width: 25px; text-align: center; padding-top: 5px; }
.contact-item span { display: block; font-size: 0.9rem; color: var(--text-medium); margin-bottom: 5px; }
.contact-item p { margin: 0; font-size: 1rem; color: var(--text-dark); line-height: 1.6; }
.contact-actions { margin-top: 30px; display: grid; grid-template-columns: 1fr; gap: 15px; }
.contact-actions .btn { width: 100%; display: flex; justify-content: center; align-items: center; gap: 10px; }
.contact-map-wrapper { width: 100%; height: 550px; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.contact-map-wrapper iframe { width: 100%; height: 100%; border: 0; }
.main-footer { background-color: var(--bg-dark); color: var(--text-medium); padding: 80px 0 0; border-top: 4px solid var(--accent-color); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; padding-bottom: 60px; }
.footer-column h4 { font-family: var(--font-primary); font-weight: 600; color: var(--bg-light); font-size: 1rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; position: relative; padding-bottom: 10px; }
.footer-column h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background-color: var(--accent-color); }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 12px; }
.footer-column ul a { color: var(--text-medium); transition: all 0.3s ease; }
.footer-column ul a:hover { color: var(--accent-color); padding-left: 5px; }
.footer-logo { max-height: 50px; margin-bottom: 20px; }
.about-column p { font-size: 0.9rem; line-height: 1.8; }
.contact-list li { display: flex; align-items: center; font-size: 1rem; }
.contact-list i { color: var(--accent-color); margin-right: 15px; font-size: 1.1rem; width: 20px; }
.company-name { margin-top: 20px; color: var(--bg-light); font-weight: 600; }
.footer-bottom { background-color: #000; padding: 20px 0; text-align: center; font-size: 0.9rem; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--text-medium); }
.footer-bottom a:hover { color: var(--bg-light); }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.stat-item.animate-on-scroll:nth-child(2), .service-card.animate-on-scroll:nth-child(2), .spec-card.animate-on-scroll:nth-child(2), .process-step.animate-on-scroll:nth-child(2), .testimonial-card.animate-on-scroll:nth-child(2), .choice-card.animate-on-scroll:nth-child(2), .value-card.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.stat-item.animate-on-scroll:nth-child(3), .service-card.animate-on-scroll:nth-child(3), .spec-card.animate-on-scroll:nth-child(3), .process-step.animate-on-scroll:nth-child(3), .choice-card.animate-on-scroll:nth-child(3), .value-card.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.stat-item.animate-on-scroll:nth-child(4), .spec-card.animate-on-scroll:nth-child(4), .process-step.animate-on-scroll:nth-child(4), .value-card.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.spec-card.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.spec-card.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }


/* ===== FAQ SECTION STYLES ===== */
.faq-section {
    background-color: var(--bg-light-alt); /* Użycie Twojej zmiennej dla jasnego tła */
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--bg-light); /* Użycie Twojej zmiennej dla bieli */
    border: 1px solid var(--border-color); /* Użycie Twojej zmiennej dla koloru ramki */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.faq-question {
    width: 100%;
    background-color: transparent;
    padding: 20px 25px;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-primary); /* Użycie Twojej głównej czcionki */
    color: var(--text-dark); /* Użycie Twojej zmiennej dla ciemnego tekstu */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: rgba(0,0,0,0.02);
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 1rem;
    color: var(--accent-color); /* POPRAWIONA ZMIENNA KOLORU */
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
    padding: 0 25px 20px 25px;
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-medium); /* Użycie Twojej zmiennej dla średniego tekstu */
}

/* ===== RESPONSIVE STYLES & MOBILE MENU ===== */
.mobile-menu-toggle { display: none; }
@media (max-width: 1024px) {
    /* --- POPRAWKA DLA iPHONE/TABLET - Ukrywanie wideo --- */
    .hero-video {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    .hero { background-color: var(--bg-dark); }

    /* Pozostałe style dla tabletów */
    .about-intro-container, .founder-grid, .contact-grid-redesigned { grid-template-columns: 1fr; }
    .about-image, .founder-photo, .contact-map-wrapper { margin-top: 40px; }
    .about-intro-container { flex-direction: column-reverse; }
    .founder-grid { text-align: center; }
    .founder-photo { justify-self: center; }
    .testimonials-grid, .choice-grid-three, .why-us-feature .why-us-list { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .section-padding { padding: 80px 0; }
    .mobile-menu-toggle { display: flex; flex-direction: column; justify-content: space-around; width: 30px; height: 24px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; }
    .mobile-menu-toggle span { width: 100%; height: 3px; background: var(--accent-color); border-radius: 10px; transition: all 0.3s linear; position: relative; transform-origin: 1px; }
    .mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg); }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(20px); }
    .mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg); }
.main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-dark);
    display: flex; /* Dodajemy flexbox */
    align-items: center;
    justify-content: center;
    transform: translateX(100%); /* Menu jest schowane poza ekranem */
    transition: transform 0.4s ease-in-out;
    z-index: 1000;
    box-shadow: -10px 0px 30px rgba(0,0,0,0.2);
}

/* Kiedy menu jest aktywne, wsuń je na ekran */
.main-nav.nav-active {
    transform: translateX(0);
}

/* Od razu stylujemy listę i linki wewnątrz menu mobilnego */
.main-nav ul {
    display: flex;
    flex-direction: column; /* Ustawiamy linki w pionie */
    text-align: center;
    padding: 0; /* Usuwamy domyślny padding listy */
}

.main-nav a {
    color: var(--bg-light);
    font-size: 1.5rem;
    padding: 15px 0;
    display: block; /* Ważne dla prawidłowego klikania */
}
    
    .process-timeline::after { left: 40px; transform: translateX(-50%); }
    .process-step { flex-direction: column; align-items: center; text-align: center; }
    .process-icon { margin-bottom: 20px; }
    .specializations-grid, .key-services-grid { grid-template-columns: 1fr; }
    .service-feature, .service-feature.reverse { flex-direction: column; text-align: center; }
    .feature-description ul { text-align: left; }
    .page-hero { padding-top: 100px; }
    .page-hero h1 { font-size: 2.5rem; }
    .footer-bottom .container { flex-direction: column; gap: 10px; }
}
@media (max-width: 480px) {
    .stats-container { flex-direction: column; gap: 30px; }
    .stat-number { font-size: 2rem; }
}