/* ==========================================================================
   TKM ADWOKACI - Glowny Arkusz Stylow
   ========================================================================== */

/* Import czcionek z Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* Zmienne globalne (Design System) */
:root {
    /* Kolory */
    --color-bg-deep: #07090e;
    --color-bg-card: rgba(18, 22, 33, 0.75);
    --color-bg-card-hover: rgba(26, 32, 48, 0.9);
    --color-border: rgba(197, 168, 128, 0.15);
    --color-border-active: rgba(197, 168, 128, 0.6);
    
    --color-gold: #c5a880;
    --color-gold-dark: #a88a61;
    --color-gold-light: #e2d1ba;
    --color-gold-glow: rgba(197, 168, 128, 0.35);
    
    --color-text-primary: #f0f4f8;
    --color-text-secondary: #8c9ba5;
    --color-text-muted: #5a6b77;
    
    --color-success: #4caf50;
    --color-error: #f44336;

    /* Typografia */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Cienie i zaokraglenia */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 0 25px rgba(197, 168, 128, 0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Transition */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset i podstawy */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-deep);
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-deep);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

li {
    list-style: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-deep);
}
::-webkit-scrollbar-thumb {
    background: rgba(197, 168, 128, 0.3);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* Struktura i Kontenery */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* Typografia klasowa */
.playfair {
    font-family: var(--font-heading);
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 12px;
    font-weight: 600;
}

.section-desc {
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
    font-weight: 300;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

/* Przycisk CTA */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--color-gold);
    color: #000;
    border: 1px solid var(--color-gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--color-gold);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.20);
}

.btn-secondary:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-2px);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    color: var(--color-gold);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 4px;
}

.btn-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background: var(--color-gold);
    transition: var(--transition-normal);
}

.btn-text:hover::after {
    width: 100%;
}

.btn-text span {
    margin-left: 8px;
    transition: transform var(--transition-fast);
}

.btn-text:hover span {
    transform: translateX(5px);
}

/* Pasek Nawigacji (Header) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-normal);
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(7, 9, 14, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition-normal);
}

.header.scrolled .navbar {
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.logo-accent {
    color: var(--color-gold);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition-normal);
}

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

.nav-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--color-text-primary);
    transition: var(--transition-normal);
}

@media (max-width: 992px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: #0b0e14;
        width: 100%;
        height: calc(100vh - 80px);
        text-align: center;
        transition: var(--transition-normal);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        padding: 40px 0;
        gap: 30px;
        border-top: 1px solid var(--color-border);
    }
    
    .header.scrolled .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        background-color: var(--color-gold);
    }
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        background-color: var(--color-gold);
    }
}

/* Sekcja Hero (Strona Glowna) */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(197, 168, 128, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.2s;
}

.hero-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.15;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 580px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.hero-image-container {
    position: relative;
    opacity: 0;
    transform: scale(0.95);
    animation: scaleIn 1s forwards 0.4s;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 10s ease;
}

.hero-image-container:hover .hero-img {
    transform: scale(1.05);
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #0b0e14;
    border: 1px solid var(--color-gold);
    padding: 20px 30px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    z-index: 3;
}

.hero-badge-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-gold);
    line-height: 1;
}

.hero-badge-txt {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-secondary);
    margin-top: 4px;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-img {
        height: auto;
    }
    .hero-badge {
        bottom: 20px;
        left: 20px;
        padding: 15px 25px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    .hero-btns .btn {
        width: 100%;
    }
}

/* Sekcje standardowe - Grid / Karty */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Karty usług i dla kogo (Premium Cards) */
.card-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 40px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.card-item:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-active);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.card-item:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 24px;
    line-height: 1;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.card-desc {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 30px;
    flex-grow: 1;
    font-weight: 300;
}

/* Zespol Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

.team-member {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

.team-member:hover {
    border-color: var(--color-border-active);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
    transform: translateY(-5px);
}

.team-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    border-bottom: 1px solid var(--color-border);
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-member:hover .team-img {
    transform: scale(1.03);
}

.team-info {
    padding: 30px;
    text-align: center;
}

.team-role {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 8px;
    font-weight: 600;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.team-spec {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    font-weight: 300;
}

/* Jak pracujemy (Model wspolpracy - Sekcja na stronie glownej) */
.how-we-work-section {
    background: linear-gradient(180deg, #07090e 0%, #0c0f16 100%);
    position: relative;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

@media (max-width: 992px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

.process-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 35px;
    position: relative;
    transition: var(--transition-normal);
}

.process-card:hover {
    border-color: var(--color-border-active);
    transform: translateY(-5px);
    background: var(--color-bg-card-hover);
}

.process-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 600;
    color: rgba(197, 168, 128, 0.15);
    line-height: 1;
    margin-bottom: 15px;
    transition: var(--transition-normal);
}

.process-card:hover .process-num {
    color: var(--color-gold);
    transform: scale(1.05);
}

.process-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.process-desc {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 300;
}

/* Sekcja Kontakt & Formularz */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-icon {
    font-size: 1.5rem;
    color: var(--color-gold);
    flex-shrink: 0;
}

.contact-info-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-info-value {
    color: var(--color-text-secondary);
    font-weight: 300;
}

.contact-model-info {
    border-left: 2px solid var(--color-gold);
    padding-left: 24px;
    margin-top: 40px;
}

.contact-model-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.contact-model-desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    font-weight: 300;
}

/* Formularz Premium */
.form-box {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 50px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

@media (max-width: 576px) {
    .form-box {
        padding: 30px;
    }
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding: 10px 0;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    transition: var(--transition-normal);
}

.form-input:focus {
    outline: none;
    border-bottom-color: var(--color-gold);
}

.form-label {
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--color-text-secondary);
    pointer-events: none;
    transition: var(--transition-normal);
    font-weight: 300;
    font-size: 0.95rem;
}

/* Efekt float dla labela */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -15px;
    font-size: 0.8rem;
    color: var(--color-gold);
}

.form-textarea {
    min-height: 100px;
    resize: none;
}

.form-status {
    margin-top: 20px;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: none;
    text-align: center;
}

.form-status.success {
    display: block;
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid var(--color-success);
    color: #81c784;
}

.form-status.error {
    display: block;
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid var(--color-error);
    color: #e57373;
}

/* Footer (Stopka) */
.footer {
    background-color: #040609;
    border-top: 1px solid var(--color-border);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-gold);
    margin-bottom: 24px;
    font-weight: 500;
}

.footer-desc {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-top: 16px;
    font-weight: 300;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

@media (max-width: 576px) {
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ==========================================================================
   Strony Podrzedne (Layouts & Components)
   ========================================================================== */

/* Naglowek podstron (Subpage Hero) */
.subpage-hero {
    padding: 160px 0 80px;
    background: linear-gradient(180deg, #090c12 0%, #07090e 100%);
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.subpage-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 100%, rgba(197, 168, 128, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.subpage-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
}

.breadcrumbs a:hover {
    color: var(--color-gold);
}

.breadcrumbs-separator {
    color: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .subpage-title {
        font-size: 2.25rem;
    }
}

/* Layout z panelem bocznym (Sidebar layout) */
.layout-sidebar {
    display: grid;
    grid-template-columns: 2.2fr 0.8fr;
    gap: 60px;
}

@media (max-width: 992px) {
    .layout-sidebar {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Zawartosc merytoryczna podstron */
.content-rich {
    color: var(--color-text-primary);
}

.content-rich p {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    font-weight: 300;
    line-height: 1.7;
}

.content-rich h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    margin: 40px 0 20px;
    color: var(--color-text-primary);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 10px;
}

.content-rich h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    margin: 30px 0 15px;
    color: var(--color-gold);
}

.content-rich ul, .content-rich ol {
    margin-bottom: 30px;
    padding-left: 20px;
}

.content-rich li {
    list-style-type: square;
    color: var(--color-text-secondary);
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 300;
}

.content-rich blockquote {
    border-left: 3px solid var(--color-gold);
    padding-left: 24px;
    margin: 30px 0;
    font-style: italic;
    color: var(--color-text-primary);
}

/* Panel boczny (Sidebar components) */
.sidebar-box {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 30px;
    margin-bottom: 30px;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-gold);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 10px;
}

.sidebar-menu li {
    margin-bottom: 12px;
}

.sidebar-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    padding: 4px 0;
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    color: var(--color-gold);
}

/* Podstrona Jak pracujemy (Timeline Layout) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--color-border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    right: -7px;
    background-color: var(--color-bg-deep);
    border: 2px solid var(--color-gold);
    top: 30px;
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition-normal);
}

.timeline-item:hover::after {
    background-color: var(--color-gold);
    box-shadow: 0 0 10px var(--color-gold);
}

.timeline-left {
    left: 0;
    text-align: right;
}

.timeline-right {
    left: 50%;
}

.timeline-right::after {
    left: -7px;
}

@media (max-width: 768px) {
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        text-align: left;
    }
    
    .timeline-item::after {
        left: 24px;
    }
    
    .timeline-right {
        left: 0%;
    }
}

.timeline-card {
    padding: 30px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    position: relative;
    transition: var(--transition-normal);
}

.timeline-card:hover {
    border-color: var(--color-border-active);
    box-shadow: var(--shadow-md);
}

.timeline-item-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.timeline-item-desc {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
}

/* Publikacje (Blog post cards) */
.article-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

.article-card:hover {
    border-color: var(--color-border-active);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.article-info {
    padding: 30px;
}

.article-date {
    font-size: 0.75rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 15px;
}

.article-title a:hover {
    color: var(--color-gold);
}

.article-excerpt {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 300;
}

/* Oczekiwania wobec klienta (na stronie kontakt) */
.expectations-list {
    margin-top: 30px;
}

.expectation-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.expectation-check {
    color: var(--color-gold);
    font-weight: bold;
    flex-shrink: 0;
}

.expectation-text {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
}

.contact-map-section {
    width: 100%;
    height: 450px;
    padding: 0;
    background-color: #0b0e14;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.contact-map {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .contact-map-section {
        height: 320px;
    }
}

/* ==========================================================================
   Animacje i Scroll Reveal
   ========================================================================== */

/* Definicje animacji CSS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Klasy pomocnicze do wdrozenia w JS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
