/*
Theme Name: Drabiny Starter
Theme URI: https://drabinyewakuacyjne.pl
Author: Pixudo
Description: Lekki, szybki motyw dla Drabiny Ewakuacyjne
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: drabiny-starter
*/

/* === RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #933A3A;
    --color-primary-dark: #7a2f2f;
    --color-primary-light: #b84a4a;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --color-bg: #ffffff;
    --color-bg-light: #f8fafc;
    --color-border: #e2e8f0;
    --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --max-width: 1200px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-primary-dark);
}

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1em; }

/* === LAYOUT === */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

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

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

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

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

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

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

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

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

/* === HEADER === */
.site-header {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Transparent header on home page */
.home .site-header {
    background: transparent;
    box-shadow: none;
    position: fixed;
    width: 100%;
}

.home .site-header .main-nav a {
    color: #fff;
}

.home .site-header .main-nav a:hover {
    color: rgba(255,255,255,0.8);
}

/* Header becomes solid on scroll */
.home .site-header.scrolled {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.home .site-header.scrolled .main-nav a {
    color: var(--color-text);
}

.home .site-header.scrolled .main-nav a:hover {
    color: var(--color-primary);
}

/* Header icons base colors */
.header-cart,
.header-account,
.header-login,
.menu-toggle {
    background: rgba(147, 58, 58, 0.1);
    color: #933A3A;
}

.header-cart:hover,
.header-account:hover,
.header-login:hover {
    background: #933A3A;
    color: #fff;
}

/* Menu toggle - only change when active (menu open) */
.menu-toggle.active {
    background: #933A3A;
    color: #fff;
}

/* Header icons on transparent home page */
.home .site-header .header-cart,
.home .site-header .header-account,
.home .site-header .header-login,
.home .site-header .menu-toggle {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.home .site-header .header-cart:hover,
.home .site-header .header-account:hover,
.home .site-header .header-login:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Menu toggle on transparent home - no background change even when active */
.home .site-header:not(.scrolled) .menu-toggle.active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Header icons on scrolled home page */
.home .site-header.scrolled .header-cart,
.home .site-header.scrolled .header-account,
.home .site-header.scrolled .header-login,
.home .site-header.scrolled .menu-toggle {
    background: rgba(147, 58, 58, 0.1);
    color: #933A3A;
}

.home .site-header.scrolled .header-cart:hover,
.home .site-header.scrolled .header-account:hover,
.home .site-header.scrolled .header-login:hover {
    background: #933A3A;
    color: #fff;
}

/* Menu toggle on scrolled home - only change when active */
.home .site-header.scrolled .menu-toggle.active {
    background: #933A3A;
    color: #fff;
}

/* Add padding to hero on home to compensate for fixed header */
.home .hero {
    padding-top: 180px;
}

/* Fix for WordPress admin bar */
.admin-bar .site-header {
    top: 32px;
}

.admin-bar.home .hero {
    padding-top: 212px;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
    .admin-bar.home .hero {
        padding-top: 226px;
    }
    /* Make admin bar scroll away on mobile */
    #wpadminbar {
        position: absolute !important;
    }
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-left: 20px;
}

.site-logo .logo-icon {
    flex-shrink: 0;
}

.site-logo .logo-text {
    white-space: nowrap;
}

.site-logo img,
.site-logo .custom-logo-link img,
.custom-logo {
    max-height: 38px !important;
    height: 38px !important;
    width: auto !important;
}

.site-logo:hover {
    color: var(--color-primary-dark);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

/* Hide nav icons on desktop */
.main-nav .nav-icon {
    display: none;
}

.main-nav a {
    color: var(--color-text);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Dropdown menu */
.main-nav .has-dropdown {
    position: relative;
}

.main-nav .has-dropdown > a::after {
    content: none;
}

.main-nav .has-dropdown > a {
    display: inline;
}

.main-nav .has-dropdown > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition);
}

.main-nav .has-dropdown:hover > a::before {
    width: 100%;
}

.main-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    min-width: 220px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 12px 0;
    z-index: 1000;
    list-style: none;
    display: block;
    flex-direction: column;
    gap: 0;
}

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

.main-nav .dropdown-menu li {
    padding: 0;
    display: block;
    width: 100%;
}

.main-nav .dropdown-menu a,
.home .site-header .main-nav .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--color-text) !important;
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.main-nav .dropdown-menu a:hover,
.home .site-header .main-nav .dropdown-menu a:hover {
    background: var(--color-bg-light);
    color: var(--color-primary) !important;
    padding-left: 24px;
}

.main-nav .dropdown-divider {
    height: 1px;
    background: var(--color-border);
    margin: 8px 15px;
}

.main-nav .dropdown-menu a::after {
    display: none;
}

/* Dropdown arrow indicator */
.main-nav .has-dropdown > a .dropdown-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.main-nav .has-dropdown > a .dropdown-arrow svg {
    width: 14px;
    height: 14px;
}

.main-nav .has-dropdown:hover > a .dropdown-arrow {
    transform: rotate(180deg);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    transition: none;
}

/* === HERO === */
.hero {
    /* Fallback dla starszych przeglądarek */
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
                url('../images/hero-bg-optimized.jpg') center center / cover no-repeat;
    /* WebP dla nowoczesnych przeglądarek - 95% mniejszy plik! */
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
                url('../images/hero-bg.webp') center center / cover no-repeat;
    color: #fff;
    padding: 120px 0;
    text-align: center;
    position: relative;
    background-attachment: scroll; /* Wydajność na mobile */
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.hero-tagline {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 40px;
}

.hero .btn {
    font-size: 1.1rem;
    padding: 16px 36px;
}

/* === FEATURE CARDS === */
.features {
    padding: 80px 0;
}

.features-title {
    text-align: center;
    margin-bottom: 50px;
}

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

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

.feature-card h3 {
    color: var(--color-text);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* === FAQ ACCORDION === */
.faq {
    padding: 80px 0;
}

.faq-title {
    text-align: center;
    margin-bottom: 50px;
}

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

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition);
}

.faq-question:hover {
    background: var(--color-bg-light);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-primary);
    transition: transform var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 25px 25px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* === CONTACT === */
.contact-section {
    padding: 80px 0;
}

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

.contact-info h2 {
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item h4 {
    color: var(--color-primary);
    margin-bottom: 8px;
    font-size: 1rem;
}

.contact-item p,
.contact-item a {
    color: var(--color-text);
    font-size: 1.1rem;
}

.contact-form h2 {
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(147, 58, 58, 0.1);
}

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

/* === FOOTER === */
.site-footer {
    background: #fff;
    border-top: 1px solid var(--color-border);
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Old footer styles removed - see new footer styles below line 1396 */

/* === MAP === */
.map-section {
    padding: 60px 0;
    background: var(--color-bg-light);
}

.map-title {
    text-align: center;
    margin-bottom: 30px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Menu mobilne przy 1000px */
@media (max-width: 1150px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        /* Colors inherited from "Header icons base colors" section */
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
        margin: 0;
    }

    .main-nav.active {
        max-height: 400px;
        opacity: 1;
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }

    .main-nav li {
        border-bottom: 1px solid var(--color-border);
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        display: block;
        padding: 15px 0;
        color: var(--color-text) !important;
    }

    .main-nav a:hover {
        color: var(--color-primary) !important;
    }
}

@media (max-width: 768px) {
    .hero {
        /* Lepsze pozycjonowanie na tablecie */
        background-position: center center !important;
        min-height: 70vh;
    }

    .hero h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .home .hero {
        padding-top: 140px;
        padding-bottom: 80px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

}

/* Header zmiany przy 600px - tylko ikona logo */
@media (max-width: 600px) {
    .site-logo .logo-text {
        display: none;
    }

    .header-inner {
        padding: 10px 15px;
    }

    .map-container iframe {
        height: 300px;
    }

    h2 {
        font-size: 1.6rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        /* Optymalizacja dla małych ekranów */
        background-position: 60% center !important;
        background-size: cover !important;
        min-height: 60vh;
        padding: 100px 20px 60px !important;
    }

    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .home .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

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

    .section {
        padding: 40px 0;
    }
}

/* ============================================
   MOBILE: Timeline fix dla O nas
   ============================================ */
@media (max-width: 768px) {
    /* O nas - 1 kolumna na małych ekranach */
    .about-content {
        display: block !important;
        grid-template-columns: 1fr !important;
    }

    .about-text {
        margin-bottom: 30px !important;
    }

    /* Timeline - wyrównanie pinów */
    .about-visual .timeline {
        padding-left: 40px !important;
    }

    .about-visual .timeline-item {
        padding-left: 15px !important;
        margin-bottom: 15px !important;
    }

    .about-visual .timeline-item::before {
        left: -40px !important;
        width: 12px !important;
        height: 12px !important;
    }

    .about-visual .timeline-item::after {
        left: -28px !important;
        width: 28px !important;
        top: 30px !important;
    }

    .about-visual .timeline-content {
        padding: 12px 15px !important;
    }

    .about-visual .timeline-year {
        font-size: 0.85rem !important;
        padding: 4px 10px !important;
    }

    .about-visual .timeline-content h4 {
        font-size: 0.95rem !important;
    }

    .about-visual .timeline-content p {
        font-size: 0.85rem !important;
    }

    .about-visual .timeline-now {
        margin-left: 0 !important;
    }

    .about-visual .timeline-now-card {
        margin-left: 0 !important;
    }
}


/* ============================================
   OVERRIDE: Tylko tabela porównawcza i O nas
   na małych viewportach (desktop na telefonie)
   ============================================ */
@media (max-width: 992px) {
    /* Tabelka porównawcza - 3 kolumny, dopracowana */
    .comparison-section {
        padding: 30px 20px !important;
        border-radius: 16px !important;
    }

    .comparison-title {
        font-size: 1.4rem !important;
        margin-bottom: 20px !important;
    }

    .comparison-header {
        display: grid !important;
        grid-template-columns: 1.8fr 1fr 1fr !important;
        gap: 8px !important;
        padding-bottom: 12px !important;
    }

    .comparison-row {
        display: grid !important;
        grid-template-columns: 1.8fr 1fr 1fr !important;
        gap: 8px !important;
        background: transparent !important;
        border-radius: 0 !important;
        margin-bottom: 0 !important;
        padding: 12px 0 !important;
        align-items: center !important;
    }

    .comparison-cell {
        font-size: 0.85rem !important;
        padding: 8px !important;
    }

    .feature-cell {
        align-self: center !important;
        justify-content: flex-start !important;
        padding-bottom: 0 !important;
        border-bottom: none !important;
        font-size: 0.7rem !important;
    }

    .feature-cell svg {
        width: 16px !important;
        height: 16px !important;
    }

    .us-cell,
    .them-cell {
        flex-direction: column !important;
        padding: 8px 10px !important;
        font-size: 0.7rem !important;
    }

    .us-cell strong,
    .them-cell strong {
        font-size: 0.7rem !important;
    }

    .us-cell::before,
    .them-cell::before {
        content: none !important;
    }

    .cell-logo {
        font-size: 0.85rem !important;
    }

    /* Sekcja O nas - 2 kolumny, mniejsza */
    .drabiny-about-section {
        padding: 50px 15px !important;
    }

    .about-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }

    .about-text {
        padding-right: 10px !important;
        text-align: left !important;
    }

    .about-title {
        font-size: 1.6rem !important;
        margin-bottom: 15px !important;
    }

    .about-description {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }

    .about-highlights {
        align-items: flex-start !important;
        padding: 15px !important;
        gap: 10px !important;
    }

    .highlight-item {
        font-size: 0.85rem !important;
    }

    .about-btn {
        justify-content: flex-start !important;
    }

    .about-btn .btn {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }

    .timeline {
        max-width: none !important;
    }

    .timeline-item {
        padding-left: 20px !important;
    }

    .timeline-content {
        padding: 12px !important;
    }

    .timeline-year {
        font-size: 0.9rem !important;
    }

    .timeline-text {
        font-size: 0.85rem !important;
    }

    /* Przed zakupem - desktop layout (3+2 centrowane) */
    .resources-grid {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 30px !important;
    }

    .resource-card:nth-child(1),
    .resource-card:nth-child(2),
    .resource-card:nth-child(3) {
        grid-column: span 2 !important;
    }

    .resource-card:nth-child(4) {
        grid-column: 2 / span 2 !important;
    }

    .resource-card:nth-child(5) {
        grid-column: 4 / span 2 !important;
        max-width: none !important;
        margin: 0 !important;
    }


    /* FAQ na stronie głównej */
    .faq-homepage .faq-list {
        gap: 8px !important;
    }

    .faq-homepage .faq-item {
        margin-bottom: 6px !important;
    }

    .faq-homepage .faq-question {
        padding: 14px 16px !important;
        font-size: 0.9rem !important;
    }

    .faq-homepage .faq-question span {
        padding-left: 8px !important;
    }

    .faq-homepage .faq-answer {
        background: #f8fafc !important;
    }

    .faq-homepage .faq-answer p {
        padding: 14px 16px 16px 24px !important;
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
        color: #555 !important;
    }

    .faq-homepage .faq-chevron {
        width: 26px !important;
        height: 26px !important;
        flex-shrink: 0 !important;
    }

    /* Hero - zawsze pokazuj tło */
    .hero,
    .drabiny-hero {
        background-size: cover !important;
        background-position: center !important;
    }

    /* FAQ container - margines na telefonie */
    .faq-homepage {
    width: 100%;
    box-sizing: border-box;
        padding: 20px 15px !important;
        margin: 0 10px !important;
    }

    /* Tytuł FAQ na stronie głównej */
    .faq-homepage-title {
        font-size: 1.4rem !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }

    /* Ikona pytania w FAQ */
    .faq-question-icon {
        flex-shrink: 0 !important;
        width: 20px !important;
        height: 20px !important;
        margin-right: 8px !important;
    }
}

/* ============================================
   FAQ Homepage - Desktop styling
   ============================================ */
.faq-homepage {
    display: block;
    width: 100%;
    box-sizing: border-box;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 40px;
}

.faq-homepage-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 30px;
    text-align: center;
}

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

.faq-homepage .faq-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-homepage .faq-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.faq-homepage .faq-question {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 18px 22px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    transition: background 0.2s ease;
}

.faq-homepage .faq-question:hover {
    background: #f8fafc;
}

.faq-homepage .faq-question-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

.faq-homepage .faq-question span {
    flex: 1;
}

.faq-homepage .faq-chevron {
    width: 28px;
    height: 28px;
    padding: 4px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    transition: all 0.3s ease;
}

.faq-homepage .faq-item.active .faq-chevron {
    background: #933A3A;
    color: #fff;
    transform: rotate(180deg);
}

.faq-homepage .faq-answer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.faq-homepage .faq-answer p {
    padding: 18px 22px 20px 58px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}


/* Mobile fix - resources grid */
@media (max-width: 576px) {
    .resources-grid {
        gap: 8px !important;
    }
    .resource-card h3 {
        font-size: 1rem !important;
    }
    .resource-card p {
        font-size: 0.7rem !important;
    }
    .resource-content {
        padding: 12px !important;
    }
}

/* Mobile fix - O nas i tabela porównawcza */
@media (max-width: 576px) {
    /* O nas */
    .about-title {
        font-size: 1.3rem !important;
    }
    .about-description {
        font-size: 0.8rem !important;
    }
    .highlight-item {
        font-size: 0.75rem !important;
    }
    .timeline-content h4 {
        font-size: 0.85rem !important;
    }
    .timeline-content p {
        font-size: 0.75rem !important;
    }
    
    /* Tabela porównawcza */
    .comparison-title {
        font-size: 1.2rem !important;
    }
    .comparison-cell {
        font-size: 0.7rem !important;
        padding: 6px !important;
    }
    .feature-cell {
        font-size: 0.7rem !important;
    }
    .us-cell, .them-cell {
        font-size: 0.7rem !important;
        padding: 5px !important;
    }
}

/* Mobile fix - tabela porównawcza pierwsza kolumna */
@media (max-width: 576px) {
    .feature-cell {
        padding-right: 2px !important;
    }
}

@media (max-width: 576px) {
    .us-cell {
    }
}

@media (max-width: 576px) {
    .us-cell {
        margin-left: 0 !important;
    }
}

/* === FOOTER === */
.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 60px 0 0 0;
    margin-top: 80px;
    position: relative;
}

.footer-logo-bg {
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: auto;
    opacity: 0.5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-company h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.footer-company p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin: 0;
    font-size: 0.85rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: #933A3A;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links li svg {
    fill: #933A3A;
    flex-shrink: 0;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
}

.footer-contact-item svg {
    flex-shrink: 0;
    fill: #933A3A;
}

.footer-contact-item a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a {
    color: #933A3A;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #c45555;
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 15px;
}

.cta-section p {
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn--outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

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

/* === TRUST SECTION === */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.trust-item {
    padding: 30px;
}

.trust-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.trust-label {
    color: var(--color-text-light);
}

/* === PROCESS SECTION === */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.process-step {
    padding: 30px;
}

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

.process-step h4 {
    margin-bottom: 10px;
}

.process-step p {
    color: var(--color-text-light);
    margin: 0;
}

/* === FOOTER RESPONSIVE === */
@media (max-width: 992px) {
    .site-footer {
        padding: 50px 0 0 0;
        margin-top: 60px;
    }

    .footer-logo-bg {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }

    .footer-company {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-company h3 {
        font-size: 1.3rem;
    }

    .footer-links h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact-items {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 0 0;
        margin-top: 50px;
    }

    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    .footer-company {
        text-align: center;
    }

    .footer-company h3 {
        font-size: 1.2rem;
    }

    .footer-company p {
        font-size: 0.9rem;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-links a:hover {
        padding-left: 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 20px 0;
        font-size: 0.85rem;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   LARGE SCREENS (1920px+)
   ============================================ */
@media (min-width: 1920px) {
    .hero {
        /* Lepsze wycentrowanie na dużych ekranach */
        background-position: center 30% !important;
        min-height: 85vh;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-tagline {
        font-size: 1.25rem;
    }

    .container {
        max-width: 1400px;
    }
}
