:root {
    --primary: #d90429;      /* dynamiczny czerwony w stylu Milwaukee/Hilti */
    --primary-hover: #b00320;
    --dark: #1e1e24;         /* grafitowe tło sekcji */
    --darker: #131316;       /* prawie czarny */
    --light: #f8f9fa;        /* tło sekcji jasnych */
    --text-dark: #2b2d42;
    --text-light: #edf2f4;
    --gray: #8d99ae;
    --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    scroll-behavior: smooth;
}

body {
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
}

/* --- NAWIGACJA --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(19, 19, 22, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--primary);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.logo-icon {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

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

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

.burger {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(rgba(19, 19, 22, 0.85), rgba(19, 19, 22, 0.92)), 
                url('https://images.unsplash.com/photo-1581092160607-ee22621dd758?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
    color: white;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 7rem 1.5rem 4rem;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.badge {
    background: rgba(217, 4, 41, 0.2);
    color: #ff4d6d;
    border: 1px solid var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 650px;
    color: #cfd2d6;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.9rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

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

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

.btn-outline {
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: var(--darker);
}

/* --- SEKCJE OGÓLNE --- */
section {
    padding: 5rem 1.5rem;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--darker);
}

.section-header p {
    color: var(--gray);
    font-size: 1.05rem;
}

.section-subtitle-light {
    color: #94a3b8;
}

/* --- MARKI (BRANDS) --- */
.brands {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 3rem 1.5rem;
}

.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.brand-badge {
    font-weight: 800;
    font-size: 1.4rem;
    color: #94a3b8;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.brand-badge:hover {
    color: var(--primary);
    transform: scale(1.05);
}

/* --- USŁUGI --- */
.services {
    background-color: var(--light);
}

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

.service-card {
    background: #ffffff;
    padding: 2.2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid #eef0f3;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(217, 4, 41, 0.1);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--darker);
}

.service-card p {
    color: #4b5563;
    font-size: 0.95rem;
}

/* --- DLACZEGO MY --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1rem;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: #64748b;
}

/* --- KONTAKT & LOKALIZACJA --- */
.contact {
    background-color: var(--darker);
    color: white;
}

.contact .section-header h2 {
    color: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    background: #1c1c22;
    padding: 1.2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.info-card i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 4px;
}

.info-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: #ffffff;
}

.info-card p, 
.info-card a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.info-card a:hover {
    color: white;
}

.phone-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff !important;
}

.map-box {
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    min-height: 380px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #2d2d38;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- FOOTER --- */
footer {
    background: #0d0d0f;
    color: #64748b;
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.9rem;
    border-top: 1px solid #1f1f27;
}

.footer-disclaimer {
    margin-top: 5px;
    font-size: 0.8rem;
}

/* --- STICKY CALL BUTTON DLA SMARTFONÓW --- */
.mobile-call-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(217, 4, 41, 0.5);
    z-index: 9999;
    text-decoration: none;
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--darker);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 2px solid var(--primary);
    }

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

    .burger {
        display: block;
    }

    .mobile-call-btn {
        display: flex;
    }
}
