/* ============================================
   Modern Legal Website - Tomasz Zygmund
   ============================================ */

/* CSS Variables */
:root {
    /* Primary Colors */
    --primary-color: #0d1b2a;
    --secondary-color: #1b263b;
    --accent-platinum: #e8e8e8;
    --accent-silver: #c0c0c0;
    --accent-chrome: #f5f5f5;
    
    /* Accent Gradient - Luxury Platinum Silver */
    --accent-gradient: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 25%, #c0c0c0 50%, #a8a8a8 75%, #909090 100%);
    --accent-gradient-reverse: linear-gradient(135deg, #909090 0%, #a8a8a8 25%, #c0c0c0 50%, #e8e8e8 75%, #f5f5f5 100%);
    --accent-glow: rgba(192, 192, 192, 0.4);
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-dark: #0d1b2a;
    
    /* Text Colors */
    --text-primary: #7f8c8d;
    --text-secondary: #95a5a6;
    --text-light: #bdc3c7;
    
    /* Border & Shadow */
    --border-color: #ecf0f1;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    
    /* Spacing */
    --section-padding: 80px 0;
    
    /* Fonts - Elegant */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 19.2px; /* 16px * 1.2 = 19.2px (20% increase) */
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.7;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 25%, #0d1b2a 50%, #1b263b 75%, #0d1b2a 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-wide {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-full {
    max-width: 100%;
    padding: 0 60px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

/* Universal word-break for long German words - WITH HYPHENS */
* {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

/* Buttons - Modern Glowing Effect */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    font-size: 0.95rem;
    line-height: 1.4;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: transparent;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 0;
    height: 0;
}

.btn-primary {
    background: linear-gradient(145deg, #f5f5f5 0%, #e8e8e8 20%, #d8d8d8 40%, #d0d0d0 60%, #c8c8c8 80%, #c0c0c0 100%);
    background-size: 200% 200%;
    color: #2c3e50;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    padding: 14px 35px;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.25),
        0 0 20px rgba(192, 192, 192, 0.4);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(192, 192, 192, 0.5), 0 0 30px rgba(192, 192, 192, 0.4);
}

.btn-secondary {
    background: linear-gradient(145deg, #e8e8e8 0%, #d0d0d0 25%, #c0c0c0 50%, #b0b0b0 75%, #a0a0a0 100%);
    color: #2c3e50;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    padding: 14px 35px;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.25),
        inset 0 2px 5px rgba(255, 255, 255, 0.9),
        inset 0 -2px 5px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(192, 192, 192, 0.4);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: inline-block;
    width: auto;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background: linear-gradient(145deg, #f0f0f0 0%, #e0e0e0 25%, #d0d0d0 50%, #c0c0c0 75%, #b0b0b0 100%);
    color: #1a252f;
    font-weight: 700;
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(192, 192, 192, 0.9),
        0 0 60px rgba(192, 192, 192, 0.6),
        inset 0 2px 8px rgba(255, 255, 255, 0.8),
        inset 0 -2px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px) scale(1.05);
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.1rem;
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

/* Ukryj przełącznik języków TYLKO na głównej stronie kancelaria/index.html */
/* Nie ukrywaj na dashboard.html ani strefa-klienta.html */

/* Specjalne style dla sekcji kontaktowej - srebrny tekst na ciemnym tle */
#contact .section-description {
    background: linear-gradient(135deg, 
        #b0b0b0 0%, 
        #d8d8d8 25%, 
        #f0f0f0 50%, 
        #d8d8d8 75%, 
        #b0b0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
    font-weight: 500;
}

/* Formularz i dane kontaktowe na ciemnym luksusowym tle */
.contact-wrapper,
.contact-info,
.contact-form-wrapper {
    position: relative;
    z-index: 1;
}

/* Tylko mapa Google na białym tle - pełna szerokość */
.contact-map {
    background: #ffffff;
    padding: 80px 0;
    margin-top: 80px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.contact-map iframe {
    max-width: 1200px;
    margin: 0 auto;
    display: block;
    padding: 0 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}


.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent-gradient);
    background-size: 200% 200%;
    color: var(--bg-white);
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: gradientShift 3s ease infinite;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    background: linear-gradient(135deg, 
        #d8d8d8 0%, 
        #f8f8f8 25%, 
        #ffffff 50%, 
        #f8f8f8 75%, 
        #d8d8d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: 
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.6))
        drop-shadow(0 0 20px rgba(255, 255, 255, 0.4))
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    font-weight: 900;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: #2c3e50;
    font-weight: 500;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.navbar.scrolled .container {
    padding: 10px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.brand-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 50%, #909090 100%);
    background-size: 200% 200%;
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    animation: gradientShift 3s ease infinite;
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.4), inset 0 1px 3px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.brand-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    animation: shine 3s infinite;
    z-index: -1;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.navbar.scrolled .brand-icon {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
    border-radius: 8px;
}

/* Logo image w navbar */
.nav-brand img {
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-brand img {
    width: 45px !important;
    height: 45px !important;
    padding: 3px !important;
}

.brand-text h1 {
    font-size: 1.25rem;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

.navbar.scrolled .brand-text h1 {
    font-size: 1rem;
}

.brand-text span {
    font-size: 0.875rem;
    color: rgba(192, 197, 206, 0.9);
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    line-height: 1.3;
}

.navbar.scrolled .brand-text span {
    font-size: 0.7rem;
}

/* Przycisk języków w navbar */
.language-selector button {
    transition: all 0.3s ease;
}

.navbar.scrolled .language-selector button {
    padding: 6px 10px !important;
    font-size: 0.8rem !important;
}

.navbar.scrolled .language-selector button span:first-child {
    font-size: 1rem !important;
}

.nav-menu {
    display: flex;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu li:not(:last-child)::after {
    content: '•';
    margin: 0 15px;
    color: var(--accent-platinum);
    font-size: 0.8rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 5px 0;
}

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

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

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition-normal);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2332 100%);
    overflow: hidden;
    padding-bottom: 0;
    margin-bottom: 0;
}

.paragraph-logo {
    position: absolute;
    right: 5%;
    top: 10%;
    transform: rotate(15deg);
    font-size: 80vh;
    font-weight: 300;
    color: rgba(192, 197, 206, 0.15);
    font-family: 'Playfair Display', serif;
    z-index: 1;
    pointer-events: none;
    line-height: 1;
    text-shadow: 0 0 30px rgba(192, 197, 206, 0.2);
    animation: paragraphFloat 6s ease-in-out infinite;
}

@keyframes paragraphFloat {
    0%, 100% {
        transform: rotate(15deg) translateY(0);
    }
    50% {
        transform: rotate(18deg) translateY(-2vh);
    }
}

@media (max-width: 1200px) {
    .paragraph-logo {
        font-size: 70vh;
        right: 3%;
    }
}

@media (max-width: 768px) {
    .paragraph-logo {
        font-size: 60vh;
        right: -5%;
        opacity: 0.5;
    }
}

@media (max-width: 480px) {
    .paragraph-logo {
        font-size: 50vh;
        right: -10%;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(192, 197, 206, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(139, 149, 165, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 40% 20%, rgba(192, 197, 206, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 60% 60%, rgba(139, 149, 165, 0.15) 0%, transparent 50%);
    animation: backgroundMove 25s ease-in-out infinite;
    filter: blur(60px);
}

@keyframes backgroundMove {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(8%, 8%) rotate(5deg);
    }
    50% {
        transform: translate(-8%, 8%) rotate(-5deg);
    }
    75% {
        transform: translate(8%, -8%) rotate(5deg);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-logo {
    width: 96px;
    height: 80px;
    margin: 0 auto 20px;
}

.hero-logo svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-subtitle-small {
    font-size: 0.5em;
    font-weight: 400;
    color: var(--accent-silver);
    font-family: var(--font-body);
    position: relative;
    top: -5mm;
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(192, 197, 206, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(192, 197, 206, 0.4);
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 20px;
    margin-bottom: 30px;
    box-shadow: 
        0 0 20px rgba(192, 197, 206, 0.3),
        0 0 40px rgba(255, 255, 255, 0.2),
        inset 0 0 15px rgba(255, 255, 255, 0.1);
    animation: ledGlow 3s ease-in-out infinite;
}

@keyframes ledGlow {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(192, 197, 206, 0.3),
            0 0 40px rgba(255, 255, 255, 0.2),
            inset 0 0 15px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(192, 197, 206, 0.5),
            0 0 60px rgba(255, 255, 255, 0.4),
            inset 0 0 20px rgba(255, 255, 255, 0.2);
    }
}

.hero-title {
    margin-bottom: 30px;
    color: var(--bg-white);
    position: relative;
    top: 10mm;
}

.hero-title .highlight {
    background: var(--accent-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

.hero-title-center {
    font-size: 3rem;
    margin-bottom: 30px;
    margin-top: 1cm;
    color: var(--bg-white);
    text-align: center;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Eleganckie rozjaśnianie i ściemnianie przycisków - WYŁĄCZONE */
/* .btn-pulse {
    animation: elegantGlow 5s ease-in-out infinite;
} */

@keyframes elegantGlow {
    0% {
        opacity: 0.85;
        filter: brightness(0.95);
        box-shadow: 
            0 4px 15px rgba(192, 192, 192, 0.35),
            inset 0 2px 5px rgba(255, 255, 255, 0.45),
            inset 0 -2px 5px rgba(0, 0, 0, 0.1);
    }
    50% {
        opacity: 1;
        filter: brightness(1.1);
        box-shadow: 
            0 6px 20px rgba(192, 192, 192, 0.5),
            0 0 30px rgba(192, 192, 192, 0.3),
            inset 0 2px 8px rgba(255, 255, 255, 0.55),
            inset 0 -2px 8px rgba(0, 0, 0, 0.12);
    }
    100% {
        opacity: 0.85;
        filter: brightness(0.95);
        box-shadow: 
            0 4px 15px rgba(192, 192, 192, 0.35),
            inset 0 2px 5px rgba(255, 255, 255, 0.45),
            inset 0 -2px 5px rgba(0, 0, 0, 0.1);
    }
}

/* Płynne podświetlenie dla linków */
.problem-link {
    animation: linkGlow 3s ease-in-out infinite;
}

@keyframes linkGlow {
    0% {
        text-shadow: 0 0 5px rgba(192, 197, 206, 0.3);
    }
    50% {
        text-shadow: 
            0 0 10px rgba(192, 197, 206, 0.7),
            0 0 20px rgba(192, 197, 206, 0.5);
    }
    100% {
        text-shadow: 0 0 5px rgba(192, 197, 206, 0.3);
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    margin-top: 80px;
    padding-top: 60px;
    border-top: none;
    transform: translateY(-3cm);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    background: var(--accent-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    animation: gradientShift 3s ease infinite;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 15px rgba(189, 195, 199, 0.4),
        inset 0 -2px 5px rgba(0, 0, 0, 0.2),
        inset 0 2px 5px rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.scroll-indicator:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 
        0 6px 20px rgba(189, 195, 199, 0.6),
        inset 0 -2px 5px rgba(0, 0, 0, 0.3),
        inset 0 2px 5px rgba(255, 255, 255, 0.6);
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    color: var(--bg-white);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--accent-color));
    margin: 10px auto 0;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { transform: translateY(0); opacity: 0; }
    50% { transform: translateY(10px); opacity: 1; }
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--bg-light);
    padding-top: 80px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

.image-placeholder svg {
    width: 60%;
    height: 60%;
    fill: var(--bg-white);
    opacity: 0.9;
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--accent-gradient);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.about-text .lead {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--primary-color);
    font-weight: 700;
    background: var(--accent-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

.about-features {
    margin: 40px 0;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 5px 0;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: var(--bg-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.feature-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.credentials {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.credential-item {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.credential-item strong {
    color: var(--primary-color);
}

/* ============================================
   Common Problems Section
   ============================================ */
.common-problems {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 50px;
}

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

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

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

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

.problem-card {
    background: var(--bg-white);
    padding: 25px 20px;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(192, 197, 206, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.problem-card:hover::before {
    opacity: 1;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(192, 197, 206, 0.25);
    border-color: var(--accent-platinum);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.problem-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 0.95rem;
    flex-grow: 1;
}

.problem-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    margin-top: 15px;
    transition: all 0.3s;
}

.problem-link:hover {
    color: var(--accent-platinum);
    transform: translateX(5px);
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

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

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 45px;
    border-radius: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 0.95rem;
    line-height: 1.6;
    min-height: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(192, 197, 206, 0.15);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(192, 197, 206, 0.3);
    border-color: var(--accent-platinum);
}

.service-card.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    border-color: transparent;
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured li {
    color: var(--bg-white);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 16px;
    background: var(--accent-color);
    color: var(--bg-white);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e8e8e8 0%, #c0c0c0 50%, #a8a8a8 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 
        0 4px 15px rgba(192, 192, 192, 0.5),
        inset 0 2px 5px rgba(255, 255, 255, 0.6),
        inset 0 -2px 5px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: scratch 3s ease-in-out infinite;
}

@keyframes scratch {
    0%, 100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.service-card.featured .service-icon {
    background: linear-gradient(135deg, #f0f0f0 0%, #d0d0d0 50%, #b0b0b0 100%);
    box-shadow: 
        0 4px 20px rgba(192, 192, 192, 0.6),
        inset 0 2px 8px rgba(255, 255, 255, 0.7),
        inset 0 -2px 8px rgba(0, 0, 0, 0.2);
}

.service-icon svg {
    width: 30px;
    height: 30px;
    color: #2c3e50;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.5));
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-card p {
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-platinum);
    font-weight: 700;
}

.service-card.featured .service-list li::before {
    color: var(--accent-platinum);
}

/* Service Card - Clickable with cursor */
.service-card {
    cursor: pointer;
    position: relative;
}

.service-card::after {
    content: "Kliknij aby zobaczyć więcej";
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--accent-platinum);
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 10;
    white-space: nowrap;
}

/* Tłumaczenia dla hover text - używane przez JavaScript */
.service-card[data-lang="PL"]::after {content: "Kliknij aby zobaczyć więcej";}
.service-card[data-lang="GB"]::after {content: "Click to see more";}
.service-card[data-lang="DE"]::after {content: "Klicken Sie für mehr";}
.service-card[data-lang="NL"]::after {content: "Klik om meer te zien";}
.service-card[data-lang="ES"]::after {content: "Haz clic para ver más";}
.service-card[data-lang="AR"]::after {content: "انقر لرؤية المزيد";}
.service-card[data-lang="TR"]::after {content: "Daha fazlasını görmek için tıklayın";}
.service-card[data-lang="FR"]::after {content: "Cliquez pour en voir plus";}

.service-card:hover::after {
    opacity: 1;
}

/* Modal/Pop-up Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--bg-white);
    width: 90%;
    max-width: 1400px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    max-height: 90vh;
    border-radius: 30px;
    padding: 0;
    position: relative;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    transform: scale(0.9);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
    flex-direction: column;
}

.modal-content::-webkit-scrollbar {
    display: none;
}

/* Modal lists and paragraphs - hyphens for long German words */
.modal-content ul,
.modal-content li,
.modal-content p,
.modal-content h3,
.modal-content h4 {
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    line-height: 1.6;
    word-break: normal;
    overflow-wrap: normal;
}

/* Modal feature cards - better spacing for German */
.modal-content .service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.modal-content .feature-card {
    padding: 25px;
    min-height: 150px;
}

.modal-content .feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    hyphens: manual;
}

.modal-content .feature-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.9) translateY(30px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Remove thin focus frame around buttons/icons (including small piano widget) */
button:focus,
button:focus-visible,
button:active,
.btn:focus,
.btn:focus-visible,
.note-btn:focus,
.download-note-btn:focus,
.note-btn:focus-visible,
.download-note-btn:focus-visible {
    outline: none !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
}

/* Also ensure images/inline SVG used as buttons don't get outlines */
img:focus,
svg:focus {
    outline: none !important;
}

/* Compact action buttons inside modals (short, centered, no clipping) */
.modal .btn.btn-primary,
.modal-content .btn.btn-primary,
.modal .modal-action,
.modal-content .modal-action {
    display: block;
    width: min(300px, 90%);
    margin: 16px auto;
    padding: 12px 18px;
    min-height: 46px;
    line-height: 1.2;
    font-weight: 700;
    font-size: 1.05rem;
    color: #2c3e50;
    background: linear-gradient(145deg, #f8f8f8 0%, #e8e8e8 20%, #d8d8d8 40%, #c8c8c8 60%, #b8b8b8 80%, #a8a8a8 100%);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25), inset 0 2px 0 rgba(255,255,255,0.9), inset 0 -2px 0 rgba(0,0,0,0.2);
    text-shadow: 0 1px 0 rgba(255,255,255,0.9), 0 -1px 0 rgba(0,0,0,0.2);
}

.modal .btn.btn-primary:hover,
.modal-content .btn.btn-primary:hover,
.modal .modal-action:hover,
.modal-content .modal-action:hover {
    filter: brightness(0.97);
    transform: translateY(-1px);
}

.modal .btn.btn-primary:active,
.modal-content .btn.btn-primary:active,
.modal .modal-action:active,
.modal-content .modal-action:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0,0,0,0.18) inset;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    background-size: 200% 200%;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--bg-white);
    transition: all 0.3s;
    animation: gradientShift 3s ease infinite;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.modal-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 30px 30px 0 0;
    overflow: hidden;
    position: relative;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.modal-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.modal-image-placeholder svg {
    width: 100px;
    height: 100px;
    color: var(--bg-white);
    opacity: 0.5;
}

.modal-inner {
    padding: 60px;
}

.modal-header {
    margin-bottom: 40px;
    text-align: center;
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    background-size: 200% 200%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    animation: gradientShift 3s ease infinite;
    box-shadow: 0 8px 25px var(--accent-glow);
}

.modal-icon svg {
    width: 40px;
    height: 40px;
    color: var(--bg-white);
}

.modal-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.modal-body {
    line-height: 1.8;
}

.modal-body h3 {
    margin-top: 40px;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.modal-body h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    border-radius: 2px;
}

.modal-body p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.modal-body ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.modal-body ul li {
    padding: 18px 20px;
    padding-left: 50px;
    position: relative;
    color: var(--text-secondary);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid rgba(192, 197, 206, 0.15);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.5;
}

.modal-body ul li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(192, 197, 206, 0.2);
    border-color: var(--accent-platinum);
}

.modal-body ul li::before {
    content: '✓';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-platinum);
    font-weight: 700;
    font-size: 1.3rem;
}

.modal-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.modal-feature-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(192, 197, 206, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modal-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.modal-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(192, 197, 206, 0.3);
}

.modal-feature-item h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    padding-left: 15px;
}

.modal-feature-item p {
    padding-left: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-case-study {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px;
    border-radius: 20px;
    margin: 30px 0;
    border-left: 4px solid var(--accent-platinum);
}

.modal-case-study h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.modal-case-study p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.modal-case-study strong {
    color: var(--primary-color);
    font-weight: 700;
}

.modal-tips {
    background: linear-gradient(135deg, #bdc3c7 0%, #95a5a6 50%, #7f8c8d 100%);
    padding: 40px;
    border-radius: 20px;
    margin-top: 30px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.modal-tips::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.modal-tips h3 {
    color: var(--bg-white);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.modal-tips ul {
    list-style: none;
}

.modal-tips li {
    color: var(--bg-white);
    padding: 18px 20px;
    padding-left: 50px;
    position: relative;
    line-height: 1.8;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.modal-tips li:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modal-tips ul li::before {
    content: '💡';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
}

.modal-cta {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.modal-cta p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

/* ============================================
   Contact Page Styles
   ============================================ */

.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 120px 0 80px;
    color: var(--bg-white);
    text-align: center;
}

.contact-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.contact-hero-content .lead {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 25%, #0d1b2a 50%, #1b263b 75%, #0d1b2a 100%);
}

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

.contact-info-card,
.contact-form-card {
    background: var(--bg-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-card h2,
.contact-form-card h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #d8d8d8 0%, #f8f8f8 25%, #ffffff 50%, #f8f8f8 75%, #d8d8d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
    font-weight: 700;
}

.contact-info-card > p,
.contact-form-card > p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-details {
    margin: 40px 0;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.about-image {
    position: relative;
    flex: 1;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.about-image img:hover {
    transform: scale(1.02);
}

.contact-detail-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 24px;
    height: 24px;
    color: var(--bg-white);
}

.contact-detail-text h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #c8c8c8 0%, #e8e8e8 50%, #c8c8c8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
    font-weight: 600;
}

.contact-detail-text p {
    color: #d0d0d0;
    line-height: 1.6;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.contact-detail-text a {
    color: var(--accent-platinum);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-detail-text a:hover {
    color: var(--accent-silver);
}

.contact-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    border-left: 4px solid var(--accent-platinum);
}

.contact-cta h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-cta p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-platinum);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

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

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--accent-platinum);
    text-decoration: underline;
}

.contact-form .btn-large {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-form .btn-large svg {
    width: 20px;
    height: 20px;
}

.form-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 15px;
}

.form-success {
    text-align: center;
    padding: 60px 40px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 3rem;
    color: var(--bg-white);
}

.form-success h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.form-success p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.map-wrapper {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    position: relative;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
}

.map-overlay-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--bg-white);
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    max-width: 400px;
}

.map-overlay-info p {
    margin: 0 0 10px 0;
    color: var(--text-primary);
}

.map-overlay-info p:last-of-type {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Office Gallery */
.office-gallery {
    padding: 80px 0;
}

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

.gallery-item {
    text-align: center;
}

.gallery-image {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.gallery-image:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.gallery-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.gallery-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.gallery-item p {
    color: var(--text-secondary);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.faq-item {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(192, 197, 206, 0.2);
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 35px 25px;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Languages Section
   ============================================ */
.languages-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.languages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.languages-section .section-header {
    position: relative;
    z-index: 1;
}

.languages-section .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
}

/* LED Glow Effect - Wypolerowane Srebro */
.led-glow {
    position: relative;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 12px 30px !important;
    background: linear-gradient(135deg, #e8e8e8 0%, #c0c0c0 50%, #a8a8a8 100%) !important;
    border-radius: 50px;
    box-shadow: 
        0 0 20px rgba(192, 192, 192, 0.6),
        0 0 40px rgba(192, 192, 192, 0.4),
        0 0 60px rgba(192, 192, 192, 0.2),
        inset 0 2px 10px rgba(255, 255, 255, 0.8),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2);
    text-shadow: 
        0 1px 2px rgba(255, 255, 255, 0.8),
        0 -1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes ledSmoothGlow {
    0% {
        box-shadow: 
            0 0 10px rgba(139, 149, 165, 0.3),
            0 0 20px rgba(139, 149, 165, 0.2),
            0 0 30px rgba(139, 149, 165, 0.1),
            inset 0 0 8px rgba(255, 255, 255, 0.2);
        text-shadow: 
            0 0 3px rgba(255, 255, 255, 0.6),
            0 0 6px rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 
            0 0 25px rgba(139, 149, 165, 0.8),
            0 0 50px rgba(139, 149, 165, 0.6),
            0 0 75px rgba(139, 149, 165, 0.4),
            0 0 100px rgba(139, 149, 165, 0.2),
            inset 0 0 20px rgba(255, 255, 255, 0.5);
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 1),
            0 0 20px rgba(255, 255, 255, 0.8),
            0 0 30px rgba(139, 149, 165, 0.6);
    }
    100% {
        box-shadow: 
            0 0 10px rgba(139, 149, 165, 0.3),
            0 0 20px rgba(139, 149, 165, 0.2),
            0 0 30px rgba(139, 149, 165, 0.1),
            inset 0 0 8px rgba(255, 255, 255, 0.2);
        text-shadow: 
            0 0 3px rgba(255, 255, 255, 0.6),
            0 0 6px rgba(255, 255, 255, 0.4);
    }
}

.languages-section .section-title,
.languages-section .section-description {
    color: var(--bg-white);
}

.languages-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 15px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
    flex-wrap: nowrap;
    max-width: 100%;
}

.language-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px 15px;
    position: relative;
    cursor: none; /* Ukryty kursor */
    border-radius: 18px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.language-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.language-flag {
    font-size: 4rem;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
    /* Efekt 3D */
    position: relative;
    transform-style: preserve-3d;
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.3),
        0 12px 24px rgba(0, 0, 0, 0.2),
        inset 0 -3px 6px rgba(0, 0, 0, 0.2),
        inset 0 3px 6px rgba(255, 255, 255, 0.1);
    border: none !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.language-flag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%, rgba(0,0,0,0.2) 100%);
    pointer-events: none;
}

.language-card:hover .language-flag {
    transform: translateZ(20px) scale(1.05);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.4),
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 -4px 8px rgba(0, 0, 0, 0.25),
        inset 0 4px 8px rgba(255, 255, 255, 0.15);
}

.language-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--bg-white);
    font-weight: 700;
    white-space: nowrap;
}

.language-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Symbol § przy hover na language-card */
.language-card::after {
    content: '§' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 4rem !important;
    font-weight: 900 !important;
    color: #e8e8e8 !important; /* Błyszczący srebrny */
    opacity: 0 !important;
    transition: opacity 0.2s ease, transform 0.3s ease !important;
    pointer-events: none !important;
    text-shadow: 0 0 15px rgba(232, 232, 232, 1),
                 0 0 25px rgba(192, 192, 192, 0.8),
                 0 0 35px rgba(160, 160, 160, 0.6),
                 0 3px 8px rgba(0, 0, 0, 0.3) !important; /* Błyszczący efekt */
    z-index: 10 !important;
    font-family: Georgia, serif !important;
}

.language-card:hover::after {
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1.2) rotate(10deg) !important;
}

/* Ukryj kursor w całej sekcji języków */
.languages-grid {
    cursor: none !important;
}

.languages-grid * {
    cursor: none !important;
}

/* Animacja § dla aktywowanych kart w sekwencji */
.language-card.activated::after {
    animation: pulseGlow 1s ease infinite !important;
}

@keyframes pulseGlow {
    0%, 100% { 
        opacity: 0.7;
        text-shadow: 0 0 25px rgba(232, 232, 232, 1),
                     0 0 35px rgba(192, 192, 192, 0.9),
                     0 0 45px rgba(160, 160, 160, 0.7);
    }
    50% { 
        opacity: 1;
        text-shadow: 0 0 35px rgba(232, 232, 232, 1),
                     0 0 50px rgba(192, 192, 192, 1),
                     0 0 70px rgba(160, 160, 160, 0.9),
                     0 0 90px rgba(128, 128, 128, 0.7);
    }
}

.languages-cta {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.languages-cta p {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--bg-white);
    font-weight: 500;
}

.languages-cta .btn-primary {
    background: var(--bg-white);
    color: var(--primary-color);
}

.languages-cta .btn-primary:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-4px) scale(1.05);
}

/* ============================================
   Experience Section with Music
   ============================================ */
.experience-instruction {
    text-align: center;
    margin-top: 20px;
    padding: 15px 30px;
    background: linear-gradient(135deg, rgba(192, 197, 206, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 30px;
    font-size: 1rem;
    color: var(--accent-silver);
    font-weight: 600;
    animation: gentle-pulse 2s ease-in-out infinite;
}

@keyframes gentle-pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.02); opacity: 1; }
}

.timeline-music-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #c0c5ce 0%, #95a5a6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(192, 197, 206, 0.3);
    z-index: 10;
    pointer-events: all;
}

.timeline-music-icon:hover {
    transform: translate(-50%, -50%) scale(1.2) rotate(10deg);
    box-shadow: 0 6px 20px rgba(192, 197, 206, 0.5);
}

.timeline-music-icon.pulsing {
    animation: music-pulse 0.6s ease-in-out infinite;
}

@keyframes music-pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        box-shadow: 0 4px 15px rgba(192, 197, 206, 0.3);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.3) rotate(15deg);
        box-shadow: 0 8px 30px rgba(192, 197, 206, 0.6);
    }
}

.timeline-item.playing-music {
    background: linear-gradient(135deg, rgba(192, 197, 206, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    transform: translateX(10px);
}

.timeline-item.playing-music .timeline-dot {
    background: linear-gradient(135deg, #c0c5ce 0%, #95a5a6 100%);
    box-shadow: 0 0 30px rgba(192, 197, 206, 0.6);
    animation: dot-glow 0.6s ease-in-out infinite;
}

@keyframes dot-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(192, 197, 206, 0.4);
    }
    50% { 
        box-shadow: 0 0 40px rgba(192, 197, 206, 0.8);
    }
}

.timeline-item.playing-music .timeline-content {
    color: var(--text-primary);
}

/* Flying Notes Animation */
.flying-note {
    position: fixed;
    font-size: 1.5rem;
    color: var(--accent-silver);
    pointer-events: none;
    opacity: 0;
    font-weight: bold;
}

.flying-note.fly-right {
    animation: fly-right-animation 2s ease-out forwards;
}

.flying-note.fly-left {
    animation: fly-left-animation 2s ease-out forwards;
}

@keyframes fly-right-animation {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.5) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(150px, -80px) scale(1.2) rotate(360deg);
    }
}

@keyframes fly-left-animation {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.5) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-150px, -80px) scale(1.2) rotate(-360deg);
    }
}

/* ============================================
   Experience Section
   ============================================ */
.experience {
    background: var(--bg-light);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), var(--accent-dark));
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 1;
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 3;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 4px solid var(--bg-light);
    box-shadow: 0 0 0 4px var(--accent-color);
    grid-column: 2;
    z-index: 2;
}

.timeline-content {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-date {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: var(--bg-white);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-content h3 {
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 0.95rem;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    background: var(--bg-white);
}

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

.testimonial-card {
    background: var(--bg-light);
    padding: 35px;
    border-radius: 20px;
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    font-size: 1.25rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, 
        #B76E79 0%, 
        #E8B4B8 25%, 
        #F5E6E8 50%, 
        #E8B4B8 75%, 
        #B76E79 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(183, 110, 121, 0.4)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    font-weight: 600;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-info strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 25%, #0d1b2a 50%, #1b263b 75%, #0d1b2a 100%);
}

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

.contact-details {
    margin-top: 40px;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--bg-white);
}

.contact-text h4 {
    margin-bottom: 8px;
    background: linear-gradient(135deg, #c8c8c8 0%, #e8e8e8 50%, #c8c8c8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
    font-weight: 600;
}

.contact-text p {
    color: #d0d0d0;
    line-height: 1.6;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.contact-text a {
    color: var(--accent-platinum);
    font-weight: 500;
}

.contact-text a:hover {
    color: var(--accent-silver);
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-platinum);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}

/* ============================================
   About Modal Styles
   ============================================ */
.about-modal-content {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

.about-modal-timeline {
    margin: 40px 0;
}

.about-timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.about-timeline-item:last-child {
    border-bottom: none;
}

.about-timeline-year {
    flex-shrink: 0;
    width: 100px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-silver);
    font-family: var(--font-heading);
}

.about-timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.about-timeline-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.about-timeline-content li {
    padding: 8px 0 8px 25px;
    position: relative;
    line-height: 1.6;
}

.about-timeline-content li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-silver);
    font-weight: bold;
}

.about-modal-team {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
}

.about-modal-team h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-modal-team ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.about-modal-team li {
    padding: 8px 0;
    line-height: 1.6;
}

.about-modal-cta {
    text-align: center;
    margin-top: 40px;
}

.about-modal-cta h3 {
    margin-bottom: 30px;
    color: var(--primary-color);
}

.about-modal-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.benefit-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, rgba(192, 197, 206, 0.1) 0%, rgba(149, 165, 166, 0.1) 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.benefit-icon svg {
    width: 30px;
    height: 30px;
    color: var(--accent-silver);
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    background: linear-gradient(135deg, #c0c5ce 0%, #95a5a6 100%);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(192, 197, 206, 0.3);
}

.benefit-item:hover .benefit-icon svg {
    color: white;
    transform: scale(1.1);
}

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

.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .about-timeline-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-timeline-year {
        width: auto;
    }
    
    .about-modal-benefits {
        grid-template-columns: 1fr;
    }
}

/* Contact Map */
.contact-map {
    margin-top: 60px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    display: block;
    width: 100%;
}

/* ============================================
   Scroll Spotlight Effect - Halogeny
   ============================================ */
.scroll-spotlight {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: all 0.6s ease;
    filter: blur(60px);
}

.scroll-spotlight.left {
    left: -150px;
    background: radial-gradient(circle, rgba(192, 197, 206, 0.3) 0%, rgba(192, 197, 206, 0) 70%);
}

.scroll-spotlight.right {
    right: -150px;
    background: radial-gradient(circle, rgba(192, 197, 206, 0.3) 0%, rgba(192, 197, 206, 0) 70%);
}

.scroll-spotlight.active {
    opacity: 1;
}

/* Podświetlenie elementu */
.spotlight-active {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(192, 197, 206, 0.4) !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(192, 197, 206, 0.05) 100%) !important;
    transition: all 0.6s ease !important;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    position: relative;
    background: #ffffff;
    color: #2c3e50;
    padding: 20px 0 15px;
    overflow: hidden;
    border-top: 3px solid;
    border-image: linear-gradient(90deg, 
        #a8a8a8 0%, 
        #c0c0c0 15%, 
        #e8e8e8 30%, 
        #ffffff 50%, 
        #e8e8e8 70%, 
        #c0c0c0 85%, 
        #a8a8a8 100%) 1;
}

/* Paragraph Logo Footer */
.paragraph-logo-footer {
    position: absolute;
    right: 5%;
    bottom: 10%;
    transform: rotate(15deg);
    font-size: 12rem;
    font-weight: 400;
    color: rgba(192, 197, 206, 0.15);
    font-family: 'Playfair Display', serif;
    z-index: 1;
    pointer-events: none;
    line-height: 1;
    text-shadow: 0 0 30px rgba(192, 197, 206, 0.2);
    animation: paragraphFloatFooter 8s ease-in-out infinite;
}

@keyframes paragraphFloatFooter {
    0%, 100% {
        transform: rotate(15deg) translateY(0);
    }
    50% {
        transform: rotate(18deg) translateY(-10px);
    }
}

@media (max-width: 1200px) {
    .paragraph-logo-footer {
        font-size: 10rem;
    }
}

@media (max-width: 768px) {
    .paragraph-logo-footer {
        font-size: 6rem;
        right: -5%;
        opacity: 0.5;
    }
}

@media (max-width: 480px) {
    .paragraph-logo-footer {
        font-size: 4rem;
        right: -10%;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 15px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-brand .brand-icon {
    width: 50px;
    height: 50px;
}

.footer-brand h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 2px;
}

.footer-brand span {
    font-size: 0.875rem;
    color: #5a5a5a;
}

.footer-section h4 {
    color: #000000;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-section p {
    color: #3a3a3a;
    line-height: 1.8;
    font-weight: 500;
}

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

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

.footer-links a,
.footer-contact a {
    color: #2c3e50;
    transition: var(--transition-normal);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #3a3a3a;
    padding-left: 5px;
}

.footer-contact li,
.footer-info li {
    color: #5a5a5a;
    font-size: 0.95rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    color: #7a7a7a;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: #7a7a7a;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.footer-legal a:hover {
    color: var(--accent-platinum);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        grid-template-columns: auto 1fr;
        gap: 30px;
    }
    
    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        grid-column: 2;
        text-align: left;
    }
    
    .timeline-dot {
        grid-column: 1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 50px 0;
    }
    
    /* Mobile menu toggle button */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 10;
        -webkit-tap-highlight-color: transparent;
    }
    
    .mobile-menu-toggle span {
        width: 30px;
        height: 3px;
        background: var(--text-primary);
        border-radius: 10px;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        max-width: 100vw;
        height: calc(100vh - 80px);
        background: var(--bg-white);
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px;
        font-size: 1.1rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title-center {
        font-size: 2rem;
        margin-top: 20px;
        line-height: 1.3;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .languages-grid {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .language-card {
        flex: 0 0 calc(50% - 10px);
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .brand-text h1 {
        font-size: 1rem;
    }
    
    .brand-text span {
        font-size: 0.75rem;
    }
    
    .hero {
        padding-top: 80px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .image-decoration {
        display: none;
    }
    
    .modal.active {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        animation: none !important;
        transition: none !important;
    }
    
    .modal-content {
        width: 95% !important;
        max-width: 95% !important;
        min-width: 95% !important;
        height: 85vh !important;
        max-height: 85vh !important;
        min-height: 85vh !important;
        overflow-y: auto !important;
        border-radius: 20px !important;
        transition: none !important;
        opacity: 1 !important;
        animation: none !important;
        margin: auto !important;
    }
    
    .modal-inner {
        padding: 40px 25px !important;
        min-height: 100% !important;
        box-sizing: border-box !important;
    }
    
    .modal-image {
        height: 200px;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .modal-title {
        font-size: 1.8rem;
    }
    
    .modal-features {
        grid-template-columns: 1fr;
    }
    
    .modal-case-study,
    .modal-tips {
        padding: 25px 20px;
    }
    
    .modal-body ul {
        grid-template-columns: 1fr;
    }
    
    .modal-header {
        margin-bottom: 25px !important;
        text-align: center !important;
    }
    
    .modal-body {
        padding-bottom: 20px !important;
    }
    
    .modal-icon {
        width: 80px !important;
        height: 80px !important;
        margin: 0 auto 15px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(212, 175, 55, 0.1) !important;
        border-radius: 16px !important;
    }
    
    .modal-icon svg {
        width: 40px !important;
        height: 40px !important;
        color: #d4af37 !important;
    }
    
    .modal-title {
        font-size: 1.8rem !important;
        margin-bottom: 10px !important;
        line-height: 1.3 !important;
    }
    
    .modal-subtitle {
        font-size: 1rem !important;
        margin-bottom: 15px !important;
        opacity: 0.8 !important;
    }
}

/* ============================================
   Client Portal / Strefa Klienta
   ============================================ */
.hero-secondary {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2332 100%);
    min-height: 50vh;
    margin-bottom: -2cm;
}

.client-portal {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.portal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.portal-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.portal-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.login-form {
    margin-top: 30px;
}

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

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.login-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(192, 197, 206, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.login-form input:focus {
    outline: none;
    border-color: var(--accent-platinum);
}

.forgot-password {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: var(--accent-platinum);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.portal-features {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.portal-features h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    background: var(--bg-light);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateX(5px);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.registration-info {
    margin-top: 60px;
    text-align: center;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.registration-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.registration-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Melody Login Styles */
.melody-instruction {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.melody-login-form {
    margin-top: 20px;
}

.melody-group {
    margin-bottom: 30px;
}

.melody-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

.melody-display {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 10px;
    min-height: 50px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.melody-placeholder {
    color: var(--text-secondary);
    font-style: italic;
    opacity: 0.6;
}

.melody-note {
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8, #f5f5f5);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.5rem;
    animation: noteAppear 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 
                inset 0 1px 2px rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    filter: none !important;
    -webkit-text-fill-color: inherit !important;
    font-family: Arial, sans-serif !important;
}

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

.piano-keyboard {
    display: inline-flex;
    position: relative;
    margin: 0 auto 15px;
    padding: 30px 35px 25px;
    background: linear-gradient(135deg, #e8e8e8 0%, #c0c0c0 25%, #a8a8a8 50%, #c0c0c0 75%, #e8e8e8 100%);
    border-radius: 18px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.35),
        inset 0 3px 8px rgba(255, 255, 255, 0.9),
        inset 0 -3px 8px rgba(0, 0, 0, 0.25);
    border: 4px solid #d5d5d5;
}

.melody-group > div:not(.melody-display) {
    display: flex;
    justify-content: center;
}

.piano-keyboard::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    height: 6px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0.3) 0%, 
        rgba(255,255,255,0.6) 50%, 
        rgba(255,255,255,0.3) 100%);
    border-radius: 3px;
}

.piano-key {
    cursor: none; /* Ukryty kursor */
    transition: all 0.15s ease;
    user-select: none;
    position: relative;
}

/* Ukryj kursor w całym obszarze pianina */
.piano-keyboard {
    cursor: none !important;
}

.piano-keyboard * {
    cursor: none !important;
}

/* Symbol § przy hover - działa na wszystkich klawiszach */
.piano-key::after {
    content: '§' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 3.5rem !important;
    font-weight: 900 !important;
    color: #e8e8e8 !important; /* Błyszczący srebrny */
    opacity: 0 !important;
    transition: opacity 0.2s ease, transform 0.3s ease !important;
    pointer-events: none !important;
    text-shadow: 0 0 15px rgba(232, 232, 232, 1),
                 0 0 25px rgba(192, 192, 192, 0.8),
                 0 0 35px rgba(160, 160, 160, 0.6),
                 0 3px 8px rgba(0, 0, 0, 0.3) !important; /* Błyszczący efekt */
    z-index: 1000 !important;
    font-family: Georgia, serif !important;
}

.piano-key:hover::after {
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1.4) !important;
}


/* Na czarnych klawiszach biały § z błyszczącym srebrnym świeceniem */
.piano-key.black::after {
    color: #ffffff !important;
    text-shadow: 0 0 20px rgba(232, 232, 232, 1), 
                 0 0 30px rgba(192, 192, 192, 0.9),
                 0 0 40px rgba(160, 160, 160, 0.7),
                 0 0 50px rgba(128, 128, 128, 0.5),
                 0 3px 8px rgba(0, 0, 0, 0.9) !important;
}

.piano-key.black:hover::after {
    text-shadow: 0 0 25px rgba(232, 232, 232, 1), 
                 0 0 35px rgba(192, 192, 192, 1),
                 0 0 45px rgba(160, 160, 160, 0.8),
                 0 0 60px rgba(128, 128, 128, 0.6),
                 0 3px 8px rgba(0, 0, 0, 0.9) !important;
}

/* Białe klawisze */
.piano-key.white {
    width: 50px;
    height: 170px;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 30%, #f5f5f5 70%, #eeeeee 100%);
    border: 2px solid #ccc;
    border-radius: 0 0 8px 8px;
    box-shadow: 
        0 2px 5px rgba(0, 0, 0, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1),
        inset 0 2px 2px rgba(255, 255, 255, 0.8);
    position: relative;
    transition: transform 0.1s ease, background 0.1s ease, box-shadow 0.2s ease;
}

.piano-key.white:hover {
    background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 30%, #e8e8e8 70%, #e0e0e0 100%);
    box-shadow: 
        0 3px 6px rgba(0, 0, 0, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 1),
        inset 0 -4px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.piano-key.white:active,
.piano-key.white.active {
    background: linear-gradient(180deg, #e8e8e8 0%, #e0e0e0 30%, #d8d8d8 70%, #d0d0d0 100%);
    box-shadow: 
        inset 0 4px 10px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(2px);
}

/* Czarne klawisze */
.piano-key.black {
    width: 32px;
    height: 110px;
    background: linear-gradient(180deg, #2d2d2d 0%, #1a1a1a 30%, #0d0d0d 70%, #000000 100%);
    border: 2px solid #000;
    border-radius: 0 0 5px 5px;
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.6),
        inset 0 2px 3px rgba(255, 255, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.8);
    position: absolute;
    z-index: 10;
    top: 30px;
    transition: transform 0.1s ease, background 0.1s ease, box-shadow 0.2s ease;
}

.piano-key.black:hover {
    background: linear-gradient(180deg, #3d3d3d 0%, #2a2a2a 30%, #1d1d1d 70%, #101010 100%);
    box-shadow: 
        0 3px 8px rgba(0, 0, 0, 0.8),
        inset 0 1px 3px rgba(255, 255, 255, 0.25),
        inset 0 -3px 6px rgba(0, 0, 0, 0.6);
    transform: translateY(-1px);
}

.piano-key.black:active,
.piano-key.black.active {
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 30%, #050505 70%, #000000 100%);
    box-shadow: 
        inset 0 4px 10px rgba(0, 0, 0, 0.95),
        inset 0 1px 3px rgba(0, 0, 0, 0.9);
    transform: translateY(2px);
}

/* Pozycjonowanie czarnych klawiszy - 2 pełne oktawy (24 klawisze) */
/* Oktawa 1 - 12 klawiszy (7 białych, 5 czarnych) */
.piano-key.black[data-note="C#"] { left: 35px; }
.piano-key.black[data-note="D#"] { left: 88px; }
.piano-key.black[data-note="F#"] { left: 194px; }
.piano-key.black[data-note="G#"] { left: 247px; }
.piano-key.black[data-note="A#"] { left: 300px; }
/* Oktawa 2 - 12 klawiszy (7 białych, 5 czarnych) */
.piano-key.black[data-note="C#2"] { left: 406px; }
.piano-key.black[data-note="D#2"] { left: 459px; }
.piano-key.black[data-note="F#2"] { left: 565px; }
.piano-key.black[data-note="G#2"] { left: 618px; }
.piano-key.black[data-note="A#2"] { left: 671px; }

/* SPECJALNE POZYCJE DLA PIANINA W STREFIE KLIENTA (zaczyna się od F) */
/* Pianino: F, F#, G, G#, A, A#, B, C, C#, D, D#, E, F2, F#2, G2, G#2, A2, A#2, B2 */
#loginPiano .piano-key.black[data-note="F#"],
#passwordPiano .piano-key.black[data-note="F#"] { left: 34px; }

#loginPiano .piano-key.black[data-note="G#"],
#passwordPiano .piano-key.black[data-note="G#"] { left: 84px; }

#loginPiano .piano-key.black[data-note="A#"],
#passwordPiano .piano-key.black[data-note="A#"] { left: 134px; }

#loginPiano .piano-key.black[data-note="C#"],
#passwordPiano .piano-key.black[data-note="C#"] { left: 234px; }

#loginPiano .piano-key.black[data-note="D#"],
#passwordPiano .piano-key.black[data-note="D#"] { left: 284px; }

#loginPiano .piano-key.black[data-note="F#2"],
#passwordPiano .piano-key.black[data-note="F#2"] { left: 384px; }

#loginPiano .piano-key.black[data-note="G#2"],
#passwordPiano .piano-key.black[data-note="G#2"] { left: 434px; }

#loginPiano .piano-key.black[data-note="A#2"],
#passwordPiano .piano-key.black[data-note="A#2"] { left: 484px; }

.btn-clear {
    background: transparent;
    border: 1px solid var(--accent-platinum);
    color: var(--accent-platinum);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-clear:hover {
    background: var(--accent-platinum);
    color: white;
}

/* Animowane symbole muzyczne */
.music-symbol {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    animation: floatUp 2s ease-out forwards;
    opacity: 1;
    font-size: 30px;
    text-shadow: 0 0 10px rgba(192, 197, 206, 0.5);
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-100px) rotate(180deg) scale(1.5);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-200px) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

.login-message {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.login-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.login-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.melody-info {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
}

.melody-info p {
    margin: 5px 0;
    color: #856404;
    font-size: 0.9rem;
}

.melody-info strong {
    color: #856404;
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
        position: relative;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .hero-secondary {
        padding: 100px 0 40px;
        min-height: 35vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    .container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .client-portal {
        padding: 100px 0 40px;
    }
    
    .about {
        padding: 50px 0 !important;
        margin-top: 0;
    }
    
    .about .btn {
        margin-top: 49px;
        margin-bottom: 30px;
    }
    
    .credentials {
        flex-direction: column;
        gap: 15px;
    }
    
    .credential-item {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .credential-item strong {
        display: block;
    }
    
    section {
        padding: 50px 0 !important;
    }
    
    .hero {
        padding-top: 100px !important;
        min-height: 90vh;
        margin-bottom: 0 !important;
    }
    
    .services,
    .languages-section,
    .common-problems,
    .experience,
    .testimonials {
        padding: 50px 0 !important;
    }
    
    .section-header {
        padding: 0 5px;
        text-align: center;
        margin-bottom: 40px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .section-badge {
        display: inline-block;
        margin-bottom: 15px;
        font-size: 0.75rem;
        padding: 6px 16px;
        white-space: nowrap;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
        padding: 0 10px;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        box-sizing: border-box;
        filter: 
            drop-shadow(0 0 8px rgba(255, 255, 255, 0.5))
            drop-shadow(0 0 15px rgba(255, 255, 255, 0.3))
            drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
    }
    
    .section-description {
        font-size: 0.95rem;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .portal-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 30px;
    }
    
    .portal-card,
    .portal-features {
        padding: 20px 15px;
    }
    
    .piano-keyboard {
        padding: 25px 20px 20px;
        overflow-x: auto;
        max-width: 100%;
    }
    
    .piano-key.white {
        width: 38px;
        height: 130px;
    }
    
    .piano-key.black {
        width: 26px;
        height: 85px;
        top: 25px;
    }
    
    .piano-keyboard {
        transform: scale(0.95);
    }
    
    .piano-key.black[data-note="F#"] { left: 60px; }
    .piano-key.black[data-note="G#"] { left: 104px; }
    .piano-key.black[data-note="A#"] { left: 148px; }
    .piano-key.black[data-note="C#"] { left: 236px; }
    .piano-key.black[data-note="D#"] { left: 280px; }
    .piano-key.black[data-note="F#2"] { left: 368px; }
    .piano-key.black[data-note="G#2"] { left: 412px; }
    .piano-key.black[data-note="A#2"] { left: 456px; }
    
    .melody-display {
        min-height: 50px;
        font-size: 0.9rem;
    }
    
    .registration-info {
        padding: 30px 20px;
    }
    
    .contact-options {
        flex-direction: column;
    }
    
    .piano-keyboard {
        flex-wrap: wrap;
    }
}

/* Instrukcje logowania - pokazuj/ukrywaj na mobile/desktop */
.mobile-only {
    display: none !important;
}

.desktop-only {
    display: block !important;
}

@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
    .desktop-only {
        display: block !important;
    }
}

/* Proste przyciski nutowe - TYLKO NA MOBILE */
.simple-keypad {
    display: none; /* Ukryj na desktop */
}

@media (min-width: 769px) {
    .simple-keypad {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}

/* Wyłączenie niebieskiego outline po kliknięciu */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
.keypad-btn:focus,
.download-note-btn:focus {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Pokaż przyciski tylko na mobile */
@media (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .simple-keypad {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 10px 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .keypad-btn {
        padding: 20px 10px;
        font-size: 1.5rem;
        font-weight: 700;
        background: linear-gradient(135deg, #e8e8e8 0%, #c0c0c0 50%, #a8a8a8 100%);
        color: #2c3e50;
        border: 2px solid #d0d0d0;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 
            0 3px 10px rgba(0, 0, 0, 0.2),
            inset 0 2px 5px rgba(255, 255, 255, 0.6);
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
        -webkit-tap-highlight-color: transparent;
        width: 100%;
        line-height: 1.3;
        box-sizing: border-box;
    }
    
    .keypad-btn:active {
        transform: scale(0.95);
        box-shadow: 
            0 2px 8px rgba(0, 0, 0, 0.3),
            inset 0 3px 8px rgba(0, 0, 0, 0.2);
        background: linear-gradient(135deg, #b8b8b8 0%, #a0a0a0 50%, #888888 100%);
    }
    
    /* Ukryj pianino na mobile */
    .piano-keyboard {
        display: none !important;
    }
}

/* Note Security Modal Styles */
.note-selection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.note-btn {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #e8e8e8 0%, #c0c0c0 50%, #a8a8a8 100%);
    color: #2c3e50;
    border: 2px solid #d0d0d0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 15px rgba(192, 192, 192, 0.4),
        inset 0 2px 5px rgba(255, 255, 255, 0.6),
        inset 0 -2px 5px rgba(0, 0, 0, 0.15);
}

.note-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 0 25px rgba(192, 192, 192, 0.7),
        inset 0 2px 8px rgba(255, 255, 255, 0.7),
        inset 0 -2px 8px rgba(0, 0, 0, 0.2);
}

.note-btn.selected {
    background: linear-gradient(135deg, #c9b037 0%, #e6d690 50%, #a68b5b 100%);
    color: #2c2416;
    border-color: #8b7355;
    box-shadow: 
        0 0 30px rgba(201, 176, 55, 0.7),
        inset 0 2px 8px rgba(230, 214, 144, 0.5),
        inset 0 -2px 8px rgba(139, 115, 85, 0.3);
    font-weight: 900;
    text-shadow: 0 1px 1px rgba(255,255,255,0.3);
}

.selected-notes {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: rgba(192, 197, 206, 0.1);
    border-radius: 10px;
    min-height: 50px;
}

.note-message {
    text-align: center;
    margin-top: 20px;
    min-height: 30px;
}

.note-message .success {
    color: #c9b037;
    font-weight: 900;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(139, 115, 85, 0.3);
    filter: grayscale(1) sepia(1) saturate(3) hue-rotate(10deg) brightness(1.1);
}

.note-message .error {
    color: #f44336;
    font-weight: 700;
    font-size: 1.1rem;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    font-weight: 700;
    color: #aaa;
    cursor: pointer;
    transition: all 0.3s;
}

.close-modal:hover {
    color: #000;
    transform: rotate(90deg);
}

.modal-large {
    max-width: 900px;
}

.modal-xlarge {
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
}

.project-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.project-left-column,
.project-right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-documents {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(192, 197, 206, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--accent-platinum);
    transition: all 0.3s;
}

.doc-item:hover {
    background: rgba(192, 197, 206, 0.1);
    transform: translateX(5px);
}

.doc-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.doc-name {
    flex-grow: 1;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.doc-btn {
    padding: 6px 12px;
    background: linear-gradient(135deg, #e8e8e8 0%, #c0c0c0 50%, #a8a8a8 100%);
    color: #2c3e50;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.doc-btn:hover {
    background: linear-gradient(135deg, #f0f0f0 0%, #d0d0d0 50%, #b8b8b8 100%);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.project-website {
    text-align: center;
}

.project-website img {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Download Note Buttons */
.download-note-btn {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #e8e8e8 0%, #c0c0c0 50%, #a8a8a8 100%);
    color: #2c3e50;
    border: 2px solid #d0d0d0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 15px rgba(192, 192, 192, 0.4),
        inset 0 2px 5px rgba(255, 255, 255, 0.6),
        inset 0 -2px 5px rgba(0, 0, 0, 0.15);
}

.download-note-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 0 25px rgba(192, 192, 192, 0.7),
        inset 0 2px 8px rgba(255, 255, 255, 0.7),
        inset 0 -2px 8px rgba(0, 0, 0, 0.2);
}

.download-note-btn.selected {
    background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%);
    color: white;
    border-color: #909090;
    box-shadow: 
        0 0 30px rgba(39, 174, 96, 0.6),
        inset 0 2px 8px rgba(255, 255, 255, 0.3);
}

.project-details-content {
    padding: 20px 0;
}

.detail-section {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(192, 197, 206, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--accent-platinum);
}

.detail-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.detail-section p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.detail-section ul {
    list-style: none;
    padding-left: 0;
}

.detail-section ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.detail-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: 700;
}

@media (max-width: 768px) {
    .note-selection {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .note-btn {
        padding: 15px;
        font-size: 1rem;
    }
    
    .modal-xlarge {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .project-details-grid {
        grid-template-columns: 1fr;
    }
    
    .doc-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .doc-btn {
        width: 100%;
    }
    
    /* Flagi języków na mobile - dropdown po lewej stronie */
    .language-selector {
        display: block !important;
        visibility: visible !important;
    }
    
    #languageDropdown {
        left: 0 !important;
        right: auto !important;
        min-width: 200px !important;
        max-width: 280px !important;
    }
    
    #languageDropdown div span {
        font-size: 1.3rem !important;
        display: inline-block !important;
        visibility: visible !important;
    }
}

/* ============================================
   Experience Accordion
   ============================================ */
.experience-accordion {
    max-width: 900px;
    margin: 50px auto 0;
}

.accordion-item {
    background: var(--bg-white);
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 8px 25px rgba(192, 197, 206, 0.2);
}

.accordion-header {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #f0f1f2 0%, #f8f9fa 100%);
}

.accordion-header-content {
    flex: 1;
}

.accordion-date {
    font-size: 0.9rem;
    color: var(--accent-silver);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.accordion-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--accent-silver);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

.accordion-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .accordion-header {
        padding: 20px;
    }
    
    .accordion-title {
        font-size: 1rem;
    }
    
    .accordion-content {
        padding: 0 20px;
    }
    
    .accordion-item.active .accordion-content {
        padding: 0 20px 20px 20px;
    }
}
