/* --- ZMIENNE --- */
:root {
    --color-navy: #1e2d3b;
    --color-accent: #4a6984;
    --color-text: #333;
    --color-bg-light: #f9f9f9;
    --color-white: #fff;
    --header-height: 78px;
    --transition: 0.3s ease;
}

/* --- RESET I USTAWIEŃ BAZOWYCH --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-bg-light);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
}

[hidden] {
    display: none !important;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    background: var(--color-navy);
    color: #fff;
    padding: 12px 18px;
    z-index: 2000;
    border-radius: 3px;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
}

/* --- NAWIGACJA --- */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: padding var(--transition), box-shadow var(--transition);
}

.main-header.scrolled {
    padding: 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    min-height: var(--header-height);
}

.logo a {
    color: inherit;
    display: inline-block;
}

.logo h2 {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    letter-spacing: 1px;
    color: var(--color-navy);
}

.accent-text {
    color: var(--color-accent);
}

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

.main-nav a {
    text-decoration: none;
    color: #1e2d3b;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

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

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-navy);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition);
    z-index: 1050;
}

.nav-backdrop.show {
    opacity: 1;
    visibility: visible;
}

/* --- HERO BANNER --- */
.hero-section {
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.45)), url('../assets/hero-bg.jpg') no-repeat center center/cover;
    min-height: 90vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 100px;
    padding-top: var(--header-height);
    color: #fff;
}

.hero-content {
    width: 100%;
}

.hero-content h1 {
    font-size: clamp(1.6rem, 5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.25;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

/* --- BUTTONY --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.btn-primary {
    background-color: var(--color-navy);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.btn-outline:hover {
    background-color: #333;
    color: #fff;
}

.btn-light {
    border-color: #fff;
    color: #fff;
}

.btn-light:hover {
    background-color: #fff;
    color: #333;
}

/* --- SEKCJA: NASZA SPECJALIZACJA --- */
.specialization-section {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: clamp(1.4rem, 4vw, 2rem);
    margin-bottom: 50px;
    letter-spacing: 1px;
    font-weight: 800;
}

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

.spec-card,
.spec-rent-card {
    background-color: #fff;
    padding: 50px 30px;
    border: 1px solid #eee;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 380px;
    transform: translateY(calc(var(--reveal-y, 0px) + var(--hover-y, 0px)));
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.spec-card:hover,
.spec-rent-card:hover {
    --hover-y: -10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.spec-card h3,
.spec-rent-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.spec-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
}

.spec-rent-card p {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 25px;
}

.spec-rent-card h3 {
    color: #ffffff;
}

.card-featured {
    background: linear-gradient(135deg, #3d2b1f 0%, #6b4423 55%, #8b5a2b 100%);
    color: #fff;
}

.card-disabled {
    background-color: #333;
}

.card-featured .card-icon,
.card-featured p {
    color: #fff;
}

.value-card {
    justify-content: flex-start;
    gap: 18px;
    min-height: auto;
}

.value-card p {
    margin-bottom: 0;
}

/* --- FOOTER --- */
.main-footer {
    background-color: var(--color-navy);
    color: #cdd5db;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-logo {
    color: #fff;
    font-size: 1.3rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.footer-about p {
    color: #9aa7b2;
    font-size: 0.9rem;
    margin-bottom: 20px;
    max-width: 360px;
}

.footer-social {
    /* tymczasowo skryte - profile FB/Instagram jeszcze nieaktywne, wracamy do tego po uzupelnieniu linkow */
    display: none;
    gap: 12px;
}

.footer-social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: background var(--transition);
}

.footer-social a:hover {
    background: var(--color-accent);
}

.footer-col h3 {
    color: #fff;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer-links,
.footer-contact-list {
    list-style: none;
}

.footer-links li,
.footer-contact-list li {
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-links a,
.footer-contact-list a {
    color: #cdd5db;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact-list a:hover {
    color: var(--color-accent);
}

.footer-contact-list i {
    margin-right: 10px;
    color: var(--color-accent);
    width: 16px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
    text-align: center;
}

.footer-bottom p {
    color: #7c8a96;
    font-size: 0.8rem;
}

/* --- RESPONSYWNOŚĆ: TABLET --- */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(78%, 320px);
        background: var(--color-navy);
        padding: calc(var(--header-height) + 30px) 30px 30px;
        transform: translateX(100%);
        transition: transform var(--transition);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.25);
        z-index: 1080;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 22px;
    }

    .main-nav a {
        color: #fff;
        font-size: 1rem;
    }

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

    .hero-content h1 {
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 50px 0 30px;
        text-align: left;
    }

    .footer-about p {
        max-width: none;
    }
}

/* --- RESPONSYWNOŚĆ: TELEFON --- */
@media (max-width: 600px) {
    .grid-three-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 80vh;
        padding-bottom: 60px;
    }

    .btn {
        padding: 13px 24px;
        font-size: 0.8rem;
    }

    .specialization-section {
        padding: 60px 0;
    }

    .spec-card,
    .spec-rent-card {
        padding: 35px 20px;
        min-height: auto;
    }

    .footer-social a {
        width: 34px;
        height: 34px;
    }
}

/* --- PODSTRONY: BANER NAGŁÓWKOWY --- */
.page-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('../assets/hero-bg.jpg') no-repeat center center/cover;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 60px;
    color: #fff;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(1.6rem, 4.5vw, 2.4rem);
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.breadcrumbs {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #cdd5db;
}

.breadcrumbs a {
    color: #cdd5db;
}

.breadcrumbs a:hover {
    color: #fff;
}

/* --- PODSTRONY: SEKCJA TREŚCI --- */
.content-section {
    padding: 80px 0;
}

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

.intro-eyebrow {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.content-lead {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

.content-lead strong {
    color: var(--color-navy);
    font-weight: 600;
}

.intro-divider {
    width: 64px;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 2px;
    margin: 0 auto 40px;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* --- PODSTRONY: HISTORIA / DLACZEGO MY --- */
.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: stretch;
}

.history-card {
    background-color: #fff;
    border-radius: 6px;
    padding: 45px 40px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    border-top: 4px solid var(--color-accent);
    transform: translateY(calc(var(--reveal-y, 0px) + var(--hover-y, 0px)));
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.history-card:hover {
    --hover-y: -8px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

.history-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(74, 105, 132, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--color-accent);
    margin-bottom: 22px;
}

.history-title {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.history-card-dark {
    background: linear-gradient(135deg, var(--color-navy) 0%, #16212c 100%);
    color: #cdd5db;
}

.history-card-dark .history-title {
    color: #fff;
}

.history-card-dark .history-card-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.history-card-dark .check-list li {
    color: #cdd5db;
}

@media (max-width: 768px) {
    .history-grid {
        grid-template-columns: 1fr;
    }
}

.check-list {
    list-style: none;
    margin-top: 10px;
}

.check-list li {
    margin-bottom: 14px;
    padding-left: 30px;
    position: relative;
}

.check-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--color-accent);
    position: absolute;
    left: 0;
    top: 2px;
}

.cta-section {
    background-color: var(--color-navy);
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.cta-section h2 {
    margin-bottom: 20px;
}

.cta-section .btn i {
    margin-left: 8px;
}

/* --- PODSTRONY: SEKCJA STATYSTYK --- */
.stats-section {
    background: linear-gradient(135deg, var(--color-navy) 0%, #16212c 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 10px;
}

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

.stat-item .card-icon {
    margin-bottom: 14px;
}

.stat-number {
    display: block;
    font-size: clamp(2.2rem, 6vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-label {
    margin-top: 10px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #9aa7b2;
}

.stats-note {
    margin-top: 45px;
    font-size: 0.85rem;
    color: #7c8a96;
}

/* --- ANIMACJE: WEJŚCIE PRZY SCROLLU --- */
.reveal {
    --reveal-y: 28px;
    opacity: 0;
    transform: translateY(calc(var(--reveal-y, 0px) + var(--hover-y, 0px)));
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    --reveal-y: 0px;
    opacity: 1;
}

.reveal-delay-1 {
    transition-delay: 0.12s;
}

.reveal-delay-2 {
    transition-delay: 0.24s;
}

.reveal-delay-3 {
    transition-delay: 0.36s;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        opacity: 1;
        transform: none;
    }

    .spec-card,
    .spec-rent-card {
        transition: none;
    }
}

/* --- PODSTRONY: GALERIA REALIZACJI --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.gallery-item {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
}

.gallery-item-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #1e2d3b 0%, #4a6984 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
}

.gallery-item-body {
    padding: 20px;
}

.gallery-item-body h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.gallery-item-body p {
    font-size: 0.9rem;
    color: #666;
}

/* --- GALERIA: ZDJĘCIA DYNAMICZNE --- */
.gallery-photo {
    margin: 0;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.gallery-photo-btn {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background: none;
}

/* Wymusza stałe proporcje 4:3 niezalezne od rozmiaru zdjecia, w sposob
   dzialajacy na wszystkich przegladarkach (w tym starsze/inne silniki
   WebView, gdzie samo CSS "aspect-ratio" bywa niespojnie stosowane). */
.gallery-photo-btn::before {
    content: "";
    display: block;
    padding-top: 75%;
}

.gallery-photo-btn img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-photo-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 45, 59, 0.45);
    color: #fff;
    font-size: 1.6rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-photo-btn:hover .gallery-photo-overlay,
.gallery-photo-btn:focus-visible .gallery-photo-overlay {
    opacity: 1;
}

.gallery-photo-btn:hover img {
    transform: scale(1.06);
}

.gallery-loading {
    text-align: center;
    padding: 40px 0;
    color: #888;
    font-size: 0.95rem;
}

.gallery-loading::before {
    content: "";
    display: block;
    width: 36px;
    height: 36px;
    margin: 0 auto 14px;
    border: 3px solid #ddd;
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.gallery-empty-state {
    text-align: center;
    color: #777;
    max-width: 560px;
    margin: 0 auto;
    padding: 20px 0;
}

/* --- GALERIA: FILTRY KATEGORII --- */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.gallery-filter-btn {
    border: 1px solid #ddd;
    background-color: #fff;
    color: var(--color-navy);
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.gallery-filter-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.gallery-filter-btn.active {
    background-color: var(--color-navy);
    border-color: var(--color-navy);
    color: #fff;
}

.gallery-load-more {
    display: block;
    margin: 45px auto 0;
    border: 2px solid var(--color-navy);
    background: transparent;
    color: var(--color-navy);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 14px 36px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-load-more:hover {
    background-color: var(--color-navy);
    color: #fff;
}

/* --- GALERIA: CTA PEŁNEJ GALERII --- */
.full-gallery-cta {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    text-align: center;
    padding: 50px 30px;
    margin-top: 60px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
}

.full-gallery-cta h2 {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    margin-bottom: 12px;
}

.full-gallery-cta p {
    color: #666;
    max-width: 520px;
    margin: 0 auto 25px;
}

/* --- LIGHTBOX --- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 18, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 20px;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-image {
    width: 90vw;
    height: 85vh;
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #cdd5db;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.lightbox-caption {
    position: absolute;
    bottom: 46px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 80vw;
    color: #f0f2f4;
    font-size: 0.9rem;
    text-align: center;
}

.lightbox-caption[hidden] {
    display: none;
}

.gallery-photo-caption {
    margin: 8px 2px 0;
    font-size: 0.82rem;
    color: var(--color-accent);
}

@media (max-width: 600px) {
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }
}

/* --- PODSTRONY: FORMULARZ KONTAKTOWY --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-list {
    list-style: none;
    margin-top: 20px;
}

.contact-info-list li {
    margin-bottom: 20px;
    font-size: 1rem;
}

.contact-info-list i {
    margin-right: 12px;
    color: var(--color-accent);
    width: 18px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-navy);
}

.form-group input,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 1px;
}

.btn-form {
    border: none;
    cursor: pointer;
    align-self: flex-start;
}

.btn-form:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    font-size: 0.9rem;
    font-weight: 600;
    min-height: 1.2em;
}

.form-status--success {
    color: #2e7d4f;
}

.form-status--error {
    color: #c0392b;
}

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

/* --- PODSTRONY: PROCES / ETAPY WSPÓŁPRACY --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.process-step {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 40px 28px 32px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
    transform: translateY(calc(var(--reveal-y, 0px) + var(--hover-y, 0px)));
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.process-step:hover {
    --hover-y: -8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.process-step-number {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--color-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.process-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.9rem;
    color: #666;
}

/* --- PODSTRONY: FAQ --- */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 22px 26px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--color-navy);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--color-accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item p {
    margin-top: 14px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- PODSTRONY: SZYBKI KONTAKT W CTA --- */
.cta-contact-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 18px 0 30px;
    font-size: 0.95rem;
}

.cta-contact-row a {
    color: #fff;
}

.cta-contact-row a:hover {
    color: var(--color-accent);
}

.cta-contact-row i {
    margin-right: 8px;
    color: var(--color-accent);
}

/* --- PODSTRONY: OBSZAR DZIAŁANIA --- */
.area-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.area-chip {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-navy);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.area-chip i {
    margin-right: 8px;
    color: var(--color-accent);
}

.area-cta-banner {
    display: flex;
    align-items: center;
    gap: 25px;
    background: linear-gradient(135deg, var(--color-navy) 0%, #16212c 100%);
    border-radius: 14px;
    padding: 35px 40px;
    margin-top: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

.area-cta-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    font-size: 1.8rem;
    color: var(--color-accent);
}

.area-cta-text {
    flex: 1;
}

.area-cta-text h3 {
    color: #fff;
    margin-bottom: 6px;
}

.area-cta-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.area-cta-banner .btn {
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .area-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
    }
}

/* --- STRONA 404 --- */
.error-section {
    background: linear-gradient(135deg, var(--color-navy) 0%, #16212c 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: calc(var(--header-height) + 60px) 0 60px;
}

.error-code {
    font-size: clamp(5rem, 18vw, 10rem);
    font-weight: 800;
    line-height: 1;
    color: var(--color-accent);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.error-section h1 {
    font-size: clamp(1.6rem, 4.5vw, 2.4rem);
    font-weight: 800;
    margin: 10px 0 20px;
}

.error-text {
    max-width: 560px;
    margin: 0 auto 35px;
    color: #cdd5db;
    font-size: 1.05rem;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
