:root {
    /* Nowa paleta kolorów oparta na zrzutach ekranu */
    --primary-dark: #0f172a; /* Bardzo ciemne tło stopki */
    --form-bg: #1e3a8a; /* Głęboki niebieski tła formularza */
    --form-input-bg: rgba(255, 255, 255, 0.1); /* Półprzezroczyste pola */
    --accent-cyan: #06b6d4; /* Jasny cyjan przycisku w formularzu */
    --accent-orange: #ED8936; /* Zachowany do akcentów (ikony sekcji) */
    
    --bg-light: #F8FAFC;
    --text-dark: #334155;
    --text-light: #F8FAFC; /* Białawy tekst na ciemne tła */
    
    --success-green: #22c55e;
    --error-red: #ef4444;

    /* Definicje kolorów sekcji dla klas użytkowych */
    --section-blue: #f0f9ff;
    --section-beige: #fffdf5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; color: var(--text-dark); line-height: 1.6; padding-bottom: 0px; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; }
h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 10px;
}

/* --- KLASY TŁA SEKCJI (DO UŻYCIA W HTML) --- */
.bg-soft-blue { background-color: var(--section-blue) !important; }
.bg-warm-beige { background-color: var(--section-beige) !important; }
.bg-white { background-color: #ffffff !important; }
.bg-dark { background-color: var(--primary-dark) !important; }


/* Utility Classes */
.container { max-width: 1100px; margin: 0 auto; padding: 0 5px; }
.btn { display: inline-block; padding: 12px 24px; border-radius: 6px; font-weight: 600; text-decoration: none; transition: 0.3s; text-align: center; cursor: pointer; border: none; }
.btn-cyan { background-color: var(--accent-cyan); color: white; box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3); width: 100%; font-size: 1.1rem; padding: 14px; }
.btn-cyan:hover { background-color: #0891b2; transform: translateY(-2px); }

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

/* Header */
header { background: white; padding: 5px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.logo img { max-height: 50px; } 
.header-contact { text-align: right; }
.header-phone { display: block; font-size: 1.2rem; font-weight: 700; color: var(--form-bg); text-decoration: none; }
.header-sub { font-size: 0.85rem; color: #64748b; }

/* Hero Section */
.hero { 
    background: linear-gradient(rgba(35, 52, 90, 0.85), rgba(19, 32, 63, 0.85)), 
                url('img/bck2.png'); 
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 0;
}

@media (min-width: 768px) {
    .hero {
        background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), 
                    url('img/bck.png');
        background-position: center 20%;
    }
}
.hero-flex { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.hero-text { flex: 1; min-width: 300px; padding-top: 5px; }
.hero-text h1 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.2; }
.hero-text p { font-size: 1.1rem; margin-bottom: 30px; opacity: 0.9; }
.trust-badges { display: flex; gap: 15px; font-size: 0.9rem; font-weight: 600; }
.trust-item { display: flex; align-items: center; }
.trust-item span { margin-left: 8px; }

/* Hero form */
.hero-form-wrapper { 
    flex: 0 0 420px; 
    background: linear-gradient(135deg, rgba(14, 72, 139, 0.4) 0%, rgba(28, 159, 131, 0.4) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 30px; 
    border-radius: 12px; 
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    color: var(--text-light);
    max-width: 100%;
}
.form-header { text-align: center; margin-bottom: 25px; }
.form-header h3 { 
    color: var(--accent-cyan); 
    font-size: clamp(1.1rem, 5vw, 1.4rem); 
    margin-bottom: 5px; 
    white-space: nowrap;
}
.form-header p { font-size: 0.95rem; color: #cbd5e1; }

.form-group { margin-bottom: 18px; position: relative; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; color: var(--text-light); }

.form-control { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid rgba(255, 255, 255, 0.3); 
    border-radius: 6px; 
    font-size: 1rem; 
    transition: all 0.3s; 
    background: var(--form-input-bg);
    color: white;
}
.form-control::placeholder { color: rgba(255, 255, 255, 0.6); }
.form-control:focus { border-color: var(--accent-cyan); outline: none; box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2); background: rgba(255, 255, 255, 0.15); }

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

.topic-selector { display: flex; gap: 10px; margin-bottom: 15px; flex-wrap: wrap; }
.radio-label { 
    flex: 1; 
    cursor: pointer; 
    text-align: center; 
    font-size: 0.9rem; 
    border: 1px solid rgba(255, 255, 255, 0.3); 
    padding: 10px; 
    border-radius: 6px; 
    transition: 0.2s;
    background: var(--form-input-bg);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}
.radio-input { display: none; }
.radio-input:checked + .radio-label { background-color: var(--accent-cyan); color: white; border-color: var(--accent-cyan); box-shadow: 0 2px 10px rgba(6, 182, 212, 0.3); }

.error-msg { color: var(--error-red); font-size: 0.8rem; display: none; margin-top: 5px; font-weight: 600; }
.input-error { border-color: var(--error-red) !important; background-color: rgba(239, 68, 68, 0.1); }
.privacy-note { font-size: 0.75rem; text-align: center; margin-top: 15px; color: #cbd5e1; opacity: 0.8; }

/* Features Section */
.features { padding: 60px 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; text-align: center; }
.feature-card { background: white; padding: 35px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); border-bottom: 4px solid var(--accent-orange); }
.feature-icon { font-size: 2.5rem; color: var(--accent-orange); margin-bottom: 20px; }
.feature-title { font-weight: 700; margin-bottom: 15px; color: var(--form-bg); font-size: 1.2rem; }

/* Info Section */
.info-section { padding: 40px 0; }
.info-content h2 { color: var(--form-bg); margin-bottom: 5px; font-size: 2rem; }

/* Map Section */
.map-section { height: 400px; width: 100%; background: #e2e8f0; }
.map-section iframe { width: 100%; height: 100%; border: 0; filter: grayscale(20%) contrast(1.1); }

/* Footer */
footer { color: #94a3b8; padding: 60px 0 80px 0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; }
.footer h4 { color: white; margin-bottom: 25px; font-size: 1.3rem; }
.footer-about p { line-height: 1.8; }
.footer-contact ul { list-style: none; }
.footer-contact li { display: flex; align-items: center; margin-bottom: 20px; }
.contact-emoji { font-size: 1.4rem; margin-right: 15px; }

/* --- COMPACT AMENITIES SECTION --- */
.amenities-section {
    padding: 40px 0; /* Zmniejszony margines sekcji */
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-content: center;
    gap: 20px;
}

.amenity-card {
    background: #f8fafc;
    padding: 20px; /* Zmniejszony padding */
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.amenity-emoji {
    font-size: 2.5rem; /* Nieco mniejsza ikona */
    display: block;
    margin-bottom: 10px;
}

.amenity-card h4 {
    color: var(--form-bg);
    margin-bottom: 8px;
    font-size: 1.1rem; /* Mniejszy tytuł */
}

.amenity-card p {
    font-size: 0.9rem; /* Mniejszy opis */
    color: #64748b;
    line-height: 1.4;
}

/* Responsywność - KOMPAKTOWY MOBILE */
@media (max-width: 600px) {
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr); /* Dwie kolumny na mobile */
        gap: 12px; /* Mniejsze przerwy między kafelkami */
    }

    .amenity-card {
        padding: 15px 10px; /* Bardzo kompaktowe wnętrze */
    }

    .amenity-emoji {
        font-size: 1.8rem; /* Znacznie mniejsza ikona na telefonie */
    }

    .amenity-card h4 {
        font-size: 0.95rem; /* Dopasowanie tytułu do małej karty */
    }

    .amenity-card p {
        font-size: 0.8rem; /* Bardzo mały tekst pomocniczy */
        line-height: 1.3;
    }
}

.footer-contact a {
    color: var(--accent-cyan) !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    display: inline-block;
    position: relative;
}

.footer-contact a:hover {
    color: #22d3ee !important;
    transform: translateY(-1px);
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.4);
}

.footer-contact a:active {
    transform: scale(0.95);
    color: white !important;
    transition: 0.1s;
}

.footer-contact a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-cyan);
    transition: width 0.3s ease;
}

.footer-contact a:hover::after { width: 100%; }
.footer-sub { display: block; font-size: 0.85rem; color: #64748b; font-weight: 400; margin-top: 4px; }

/* Sticky Bottom CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    animation: slideUp 0.5s ease-out;
}
.sticky-btn {
    flex: 1;
    max-width: 300px;
    padding: 14px;
    text-align: center;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    color: white;
}
.sticky-call { background-color: var(--success-green); }
.sticky-form { background-color: var(--form-bg); }

@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-text h1 { font-size: 1.8rem; }
    .hero-form-wrapper { padding: 25px 15px; flex: 0 0 100%; }
    .header-phone { font-size: 1rem; }
    .header-sub { display: none; }
    .hero { padding: 20px 0; }
}

/* Specialists */
.specialists-section { padding: 20px 0; }
.specialists-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.specialist-card {
    background: white; padding: 25px; border-radius: 15px; text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); border-bottom: 6px solid var(--accent-cyan);
}
.specialist-img-container {
    width: 100px; height: 100px; margin: 0 auto 15px; border-radius: 50%; overflow: hidden; border: 3px solid #f1f5f9;
}
.specialist-icon { width: 100%; height: 100%; object-fit: cover; }
.specialist-role { color: var(--accent-cyan); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; display: block; margin-bottom: 10px; }

/* Akordeon style */
.qa-section { padding: 60px 0; }
.accordion-item { 
    border: 2px solid #a9cce3; 
    border-radius: 12px; 
    margin-bottom: 15px; 
    overflow: hidden; 
    transition: border-color 0.3s ease;
    background: white;
}
.accordion-item:has(.active) { border-color: #7fb3d5; }
.accordion-header {
    background: #a9cce3; 
    color: #1a3a5f; 
    cursor: pointer; 
    padding: 20px;
    width: 100%; 
    border: none; 
    text-align: left; 
    font-size: 1.1rem; 
    font-weight: 600;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    transition: 0.3s;
}
.accordion-header:hover, .accordion-header.active { background: #7fb3d5; color: #ffffff; }
.accordion-header::after { content: '\002B'; font-size: 1.5rem; color: #1a3a5f; transition: 0.3s; }
.accordion-header.active::after { content: "\2212"; color: #ffffff; }
.accordion-body { padding: 0 20px; background: white; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.accordion-body p { padding: 20px 0; margin: 0; color: #444; line-height: 1.6; }

/* Sekcja Dla kogo (w Hero) */
.hero-for-whom {
    flex: 0 0 400px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
}
.hero-for-whom h3 { color: var(--accent-cyan); margin-bottom: 20px; }
.for-whom-list { list-style: none; }
.for-whom-list li { margin-bottom: 15px; display: flex; align-items: center; font-weight: 500; }
.for-whom-list li span { margin-right: 12px; font-size: 1.2rem; }

/* Kroki */
.steps-section { padding: 50px 0; font-family: 'Inter', sans-serif; }
.section-title { text-align: center; margin-bottom: 40px; color: #2d3436; }
.process-path { display: flex; align-items: flex-start; justify-content: center; gap: 20px; max-width: 900px; margin: 0 auto; }
.process-step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.step-visual { position: relative; margin-bottom: 15px; }
.step-number { position: absolute; top: -10px; right: -10px; background: #00bcd4; color: white; width: 24px; height: 24px; border-radius: 50%; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.step-icon-small { font-size: 2rem; background: white; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.step-content h4 { margin: 5px 0; font-size: 1.1rem; color: #2d3436; }
.step-content p { font-size: 0.9rem; color: #636e72; line-height: 1.4; }
.process-arrow { font-size: 1.5rem; color: #00bcd4; padding-top: 15px; animation: moveRight 2s infinite ease-in-out; }

@keyframes moveRight { 0%, 100% { transform: translateX(0); opacity: 0.5; } 50% { transform: translateX(8px); opacity: 1; } }
@keyframes moveDown { 0%, 100% { transform: translateY(0) rotate(90deg); opacity: 0.5; } 50% { transform: translateY(8px) rotate(90deg); opacity: 1; } }

/* Kontakt */
.contact-section-new { padding: 60px 0; }

@media (max-width: 768px) {
    .process-path { flex-direction: column; align-items: center; gap: 10px; }
    .process-step { flex-direction: row; text-align: left; width: 100%; max-width: 300px; gap: 20px; background: rgba(255,255,255,0.5); padding: 15px; border-radius: 12px; }
    .process-arrow { transform: rotate(90deg); padding: 0; margin: 5px 0; animation: moveDown 2s infinite ease-in-out; }
    .hero-for-whom { flex: 0 0 100%; margin-top: 20px; }
}

.floating-call { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 400px; background: #22c55e; color: white; text-align: center; padding: 15px; border-radius: 50px; font-weight: bold; text-decoration: none; box-shadow: 0 4px 15px rgba(0,0,0,0.2); z-index: 9999; display: flex; align-items: center; justify-content: center; gap: 10px; }

.back-btn { display: inline-block; margin-top: 20px; padding: 12px 25px; background: var(--accent-cyan); color: white; text-decoration: none; border-radius: 50px; font-weight: bold; transition: 0.3s; }
.back-btn:hover { background: var(--form-bg); transform: translateY(-2px); }

.highlight-box { background: var(--section-blue); padding: 10px; border-left: 4px solid var(--accent-cyan); margin: 20px 0; border-radius: 0 8px 8px 0; }
