/* --- ZMIENNE: Styl "Corporate Tech" --- */
:root {
    --bg-body: #ffffff;
    --bg-light: #f8fafc;
    /* Bardzo jasny szary do sekcji */
    --bg-dark: #0f172a;
    /* Ciemny granat do sekcji kontakt/hero */
    --text-main: #0f172a;
    /* Głęboki granat (tekst główny) */
    --text-muted: #64748b;
    /* Szary tekst poboczny */

    --primary: #2563eb;
    /* Profesjonalny niebieski */
    --primary-dark: #1d4ed8;
    --accent: #f97316;
    /* Pomarańczowy akcent */

    /* Cienie dla efektu głębi */
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --font-head: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- TŁO ANIMOWANE --- */
.tech-background {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
    background: #fff;
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.tech-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s infinite alternate;
}

.orb-1 {
    width: 40vw;
    height: 40vw;
    background: var(--primary);
    top: -10%;
    left: -10%;
}

.orb-2 {
    width: 40vw;
    height: 40vw;
    background: var(--accent);
    bottom: -10%;
    right: -10%;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* --- UI KONTENERY I SEKCJE --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
}

/* Kolory tła sekcji */
.section-white {
    background: #fff;
}

.section-gray {
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-dark {
    background: var(--bg-dark);
    color: white;
}

.section-contact {
    background: var(--bg-dark);
    color: white;
    position: relative;
}

/* --- TYPOGRAFIA --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-contact h2,
.section-contact h3 {
    color: white;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.section-dark p,
.section-contact p {
    color: #cbd5e1;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-highlight {
    color: var(--primary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- NAWIGACJA --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--primary);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.btn-nav {
    padding: 8px 20px;
    background: var(--text-main);
    color: white !important;
    border-radius: 6px;
}

.btn-nav:hover {
    background: var(--primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* --- PRZYCISKI --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--text-main);
    background: var(--bg-light);
}

.btn-white {
    background: white;
    color: var(--primary);
    border: 1px solid white;
}

.btn-white:hover {
    background: #f1f5f9;
}

/* --- HERO SECTION --- */
.hero-section {
    padding-top: 180px;
    padding-bottom: 100px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 5px 15px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid #dbeafe;
}

.hero-desc {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    flex-wrap: wrap;
}

.hero-features i {
    color: #10b981;
    margin-right: 5px;
}

/* --- TRUST BAR (Loga) --- */
.trust-bar {
    border-top: 1px solid var(--border);
    padding-top: 40px;
    margin-top: 60px;
}

.trust-bar p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    font-weight: 700;
    color: #94a3b8;
    font-size: 1.2rem;
}

.logos-grid span {
    padding: 5px 15px;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
}

/* --- GRIDY I UKŁADY --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.blog-grid,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.services-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* --- ELEMENTY KART (Services, Blog, Features) --- */
.service-card,
.service-box,
.feature-card,
.blog-card,
.price-box {
    background: #fff;
    padding: 35px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: 0.3s;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover,
.service-box:hover,
.feature-card:hover,
.blog-card:hover,
.price-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.icon-box,
.icon-bg {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}

.check-list {
    list-style: none;
    margin: 15px 0;
    width: 100%;
}

.check-list li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
}

.link-arrow {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.link-arrow:hover {
    gap: 12px;
    transition: 0.3s;
}

/* --- CENNIK PREVIEW --- */
.price-box {
    text-align: center;
    align-items: center;
}

.price-box.highlight {
    border-color: var(--primary);
    background: #eff6ff;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 10px 0;
}

/* --- PROCES (KROKI) --- */
.step {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
    position: relative;
    transition: 0.3s;
}

.step:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: #f1f5f9;
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 0;
}

.step h3,
.step p {
    position: relative;
    z-index: 1;
}

/* --- AUTOMATYZACJA & AI (Dark Mode elements) --- */
.badge-new {
    background: var(--accent);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
}

.tech-steps {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-step {
    display: flex;
    gap: 20px;
}

.tech-step span {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
}

.tech-step strong {
    color: white;
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.visual-card {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.big-icon {
    font-size: 8rem;
    color: var(--primary);
    opacity: 0.8;
    margin-bottom: 30px;
}

.stats-row {
    display: flex;
    gap: 40px;
    text-align: center;
}

.stats-row strong {
    font-size: 2rem;
    color: white;
    display: block;
    line-height: 1;
}

.stats-row small {
    color: #cbd5e1;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* --- BLOG CARD --- */
.blog-content {
    padding: 10px 0;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

/* --- MAPA LOKALIZACJA --- */
.section-map {
    background: #fff;
}

.map-content {
    text-align: center;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
    text-align: left;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.locations-grid ul {
    list-style: none;
}

.locations-grid li {
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.locations-grid i {
    color: var(--primary);
}

/* --- LOKALIZACJA (Nowa Sekcja) --- */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-areas {
    margin-top: 30px;
    margin-bottom: 30px;
}

.service-areas h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.city-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.city-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--text-muted);
}

.city-list li i {
    color: var(--primary);
    font-size: 0.9rem;
}

.city-list li a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

.city-list li a:hover {
    color: var(--primary);
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

.location-badge i {
    font-size: 2rem;
    color: var(--accent);
}

.location-badge div {
    display: flex;
    flex-direction: column;
}

.location-badge strong {
    font-size: 1.1rem;
    color: var(--text-main);
}

.location-badge span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: #e2e8f0;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(#cbd5e1 2px, transparent 2px);
    background-size: 20px 20px;
}

.map-icon {
    font-size: 4rem;
    color: var(--text-muted);
    z-index: 2;
    margin-bottom: 10px;
}

.map-label {
    font-weight: 700;
    z-index: 2;
    font-size: 1.2rem;

    /* Zmiana na czarny */
    color: #000000;

    /* Biały cień/obwódka dookoła liter, aby odcinały się od mapy */
    text-shadow:
        -1px -1px 0 #ffffff,
        1px -1px 0 #ffffff,
        -1px 1px 0 #ffffff,
        1px 1px 0 #ffffff,
        0 0 10px rgba(255, 255, 255, 0.8);
}

/* Animowane okręgi na mapie */
.map-circles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0;
    animation: pulseMap 3s infinite;
}

.c1 {
    width: 100px;
    height: 100px;
    animation-delay: 0s;
}

.c2 {
    width: 200px;
    height: 200px;
    animation-delay: 1s;
}

.c3 {
    width: 300px;
    height: 300px;
    animation-delay: 2s;
}

@keyframes pulseMap {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

/* --- KONTAKT & CTA --- */
.cta-section {
    background: var(--primary);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.cta-info {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-info span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-big-btn {
    display: block;
    font-size: 2rem;
    color: white;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 15px;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 30px;
}

.hours {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

.contact-form-wrapper input,
.contact-form-wrapper select,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
}

.full-width {
    width: 100%;
}

/* --- FOOTER --- */
footer {
    background: #f1f5f9;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- PODSTRONY: CENNIK i SZCZEGÓŁY USŁUG --- */
.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.pricing-table th {
    background: var(--bg-light);
    padding: 20px;
    text-align: left;
    color: var(--text-main);
    border-bottom: 2px solid var(--border);
}

.pricing-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.price-tag {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Zig-Zag layout dla usług */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.service-detail:last-child {
    margin-bottom: 0;
}

.service-detail:nth-child(even) .service-content {
    order: 2;
}

.service-detail:nth-child(even) .service-image {
    order: 1;
}

.service-image {
    height: 350px;
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder {
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- RESPONSYWNOŚĆ (MOBILE) --- */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-hover);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
        color: var(--text-main);
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-buttons,
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }

    .services-row,
    .split-layout,
    .contact-wrapper,
    .footer-grid,
    .service-detail,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-detail:nth-child(even) .service-content {
        order: 0;
    }

    .page-header {
        padding-top: 120px;
    }

    /* Responsywność dla sekcji lokalizacji */
    .location-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .city-list {
        grid-template-columns: 1fr;
    }

    .map-placeholder {
        height: 300px;
    }
}

/* --- ANIMACJE WEJŚCIA --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}




/* --- DODATKI DO STRONY KONTAKT (Wklej na dół style.css) --- */

/* Odstępy wewnątrz formularza */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.mt-4 {
    margin-top: 30px;
}

/* Stylowanie lewej kolumny (informacje) */
.info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    text-decoration: none;
    color: var(--text-main);
    transition: 0.3s;
}

.info-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.info-card strong {
    display: block;
    font-size: 1.1rem;
}

.info-card span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Małe ikony w kółeczkach */
.icon-box-small {
    width: 50px;
    height: 50px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Responsywność dla kontaktu na telefonach */
@media (max-width: 900px) {
    .contact-wrapper {
        display: flex;
        flex-direction: column;
        gap: 50px;
    }
}



/* --- Dodatek: Sekcja Korzyści w Kontakcie --- */
.benefits-box {
    background: #f8fafc;
    /* Bardzo jasny szary (var(--bg-light)) */
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.benefits-box h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Dostosowanie listy wewnątrz boxa */
.benefits-box .check-list li {
    margin-bottom: 12px;
    color: var(--text-main);
    /* Ciemniejszy tekst dla czytelności */
}

.benefits-box .check-list li strong {
    color: var(--primary);
}







/* --- STYLE DLA POJEDYNCZEGO WPISU BLOGOWEGO --- */

/* Nagłówek nad zdjęciem */
.article-header {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.back-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: 2.5rem;
    /* Duży tytuł */
    line-height: 1.2;
    margin-top: 10px;
}

/* Główne zdjęcie */
.article-hero-image {
    max-width: 1000px;
    height: 400px;
    /* Stała wysokość lub auto */
    margin: 0 auto 60px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Właściwa treść tekstu (jak w Medium/Wordpress) */
.blog-text-content {
    max-width: 1000px;
    /* Wąska kolumna tekstu dla wygody czytania */
    margin: 0 auto;
    font-size: 1.15rem;
    /* Nieco większy tekst */
    color: var(--text-main);
    line-height: 1.8;
}

/* Automatyczne odstępy w tekście */
.blog-text-content h2 {
    font-size: 1.8rem;
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--text-main);
    font-family: var(--font-head);
}

.blog-text-content p {
    margin-bottom: 25px;
    color: #334155;
    /* Lekko szary dla mniejszego kontrastu (lepsze dla oczu) */
}

/* Styl dla wyróżnionego wstępu */
.blog-text-content .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 30px;
}

/* Styl cytatu */
.blog-text-content blockquote {
    border-left: 4px solid var(--primary);
    background: #f8fafc;
    padding: 20px 30px;
    font-style: italic;
    font-size: 1.2rem;
    margin: 40px 0;
    border-radius: 0 12px 12px 0;
}

/* Responsywność */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }

    .article-hero-image {
        height: 250px;
    }

    .blog-text-content {
        font-size: 1rem;
        padding: 0 10px;
    }
}


/* --- DODATKI DO BLOGA (Wklej na dół style.css) --- */

/* Poprawki czytelności tekstu w postach */
.blog-text-content p {
    margin-bottom: 1.5em;
    text-align: justify;
}

.blog-text-content ul {
    margin-bottom: 2em;
}

/* --- INFO BOXY (Ramki informacyjne) --- */
.info-box {
    background: #f8fafc;
    /* var(--bg-light) */
    border-left: 4px solid var(--primary);
    padding: 25px;
    margin: 40px 0;
    border-radius: 0 12px 12px 0;
}

.info-box.danger {
    border-left-color: #ef4444;
    /* Czerwony */
    background: #fef2f2;
}

.info-box.success {
    border-left-color: #10b981;
    /* Zielony */
    background: #ecfdf5;
}

.info-box h4 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

/* --- LISTY I NAGŁÓWKI TECHNICZNE --- */
.technical-list li {
    margin-bottom: 15px;
    padding-left: 20px;
}

.chapter-title {
    margin-top: 60px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
    color: var(--text-main);
}

/* --- TABELE W BLOGU --- */
.blog-table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.blog-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.blog-table th {
    background: var(--bg-light);
    padding: 15px;
    text-align: left;
    color: var(--text-main);
    font-weight: 700;
}

.blog-table td {
    padding: 15px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* Styl klawiszy (np. Ctrl + Alt) */
.key-combo {
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-weight: 700;
    color: #334155;
    border: 1px solid #cbd5e1;
}






/* --- UNIWERSALNY STYL DLA ZDJĘĆ W BLOGU --- */

/* Kontener na zdjęcie i podpis (odstępy góra/dół) */
.blog-visual {
    margin: 50px 0;
    text-align: center;
}

/* KLASA GŁÓWNA DLA ZDJĘCIA */
.content-image {
    width: 100%;
    /* Responsywność */
    height: auto;
    /* Zachowanie proporcji */
    display: block;

    border-radius: 16px;
    /* Zaokrąglenie */
    border: 1px solid var(--border);
    /* Subtelna ramka */

    /* Cień podstawowy */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Animacja */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* Styl podpisu */
.caption-styled {
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.caption-styled i {
    color: var(--primary);
}



/* ============================================
   UZUPEŁNIENIE BRAKUJĄCYCH KLAS
   ============================================ */

/* --- SEKCJA LOKALIZACJI (index.html) --- */
.location-section {
    /* Dziedziczy z .section-gray - brak dodatkowych styli potrzebnych */
}

.location-map-container {
    position: relative;
}

/* Mapa lokalizacji - zdjęcie na tle placeholder */
.location-map-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    z-index: 1;
}

/* --- KONTAKT: LEWA KOLUMNA (kontakt.html) --- */
.contact-info-panel {
    display: flex;
    flex-direction: column;
}

.contact-info-panel h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.contact-info-panel>p {
    margin-bottom: 0;
}

/* Formularz kontaktowy - nagłówek po prawej */
.contact-form-wrapper h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
}

/* Formularz - pole input/select/textarea wewnątrz .contact-form */
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    background: #fff;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}