/*
Theme Name: Lancelot Expert
Theme URI: https://lancelot-expert.pl
Author: Lancelot Team
Description: Autorski, superszybki motyw dla Lancelot Expert.
Version: 1.0
*/

/* === ZMIENNE CSS === */
:root {
    --primary-navy: #0A192F;
    --primary-dark: #0f1e33;
    --accent-gold: #F2A900;
    --text-light: #F4F6F9;
    --text-dark: #333333;
    --bg-light: #FFFFFF;
    --bg-gray: #F8FAFC;
    --shadow-soft: 0 10px 30px rgba(10, 25, 47, 0.05);
    --shadow-hover: 0 20px 40px rgba(10, 25, 47, 0.12);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ... TU POWINNA BYĆ CAŁA RESZTA KODU CSS (ponad 300 linijek, które wklejałem wcześniej) ... */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; color: var(--text-dark); background-color: var(--bg-gray); overflow-x: hidden; }
/* upewnij się, że masz ten kod do samego końca pliku! */

/* === ZMIENNE CSS === */
:root {
    --primary-navy: #0A192F;
    --primary-dark: #0f1e33;
    --accent-gold: #F2A900;
    --text-light: #F4F6F9;
    --text-dark: #333333;
    --bg-light: #FFFFFF;
    --bg-gray: #F8FAFC;
    --shadow-soft: 0 10px 30px rgba(10, 25, 47, 0.05);
    --shadow-hover: 0 20px 40px rgba(10, 25, 47, 0.12);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; color: var(--text-dark); background-color: var(--bg-gray); overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; }
a { text-decoration: none; color: inherit; }

/* === HEADER (Desktop) === */
header {
    background-color: rgba(10, 25, 47, 0.98); backdrop-filter: blur(10px);
    position: fixed; width: 100%; top: 0; z-index: 1000; padding: 0 5%; height: 80px;
    display: flex; justify-content: space-between; align-items: center;
}
header::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(242, 169, 0, 0.7) 50%, transparent 100%);
}

.header-left { flex: 1; display: flex; align-items: center; position: relative; height: 100%; }

.logo-shield {
    position: absolute; top: 0; background-color: var(--primary-dark);
    padding: 10px 20px 20px; border-radius: 0 0 50% 50% / 0 0 25px 25px;
    border: 2px solid rgba(242, 169, 0, 0.4); border-top: none;
    z-index: 1010; display: flex; justify-content: center; align-items: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3); transition: var(--transition);
}
.logo-img { height: 120px; width: auto; display: block; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2)); }

.header-center { flex: 2; display: flex; justify-content: center; z-index: 999; }
.header-center ul { display: flex; list-style: none; gap: 35px; }
.header-center ul li a { color: var(--text-light); font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13px; text-transform: uppercase; transition: var(--transition); letter-spacing: 0.5px; }
.header-center ul li a:hover { color: var(--accent-gold); }

.header-right { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 20px; color: var(--text-light); font-size: 14px; font-weight: 600; }
.contact-item-top { display: flex; align-items: center; gap: 8px; transition: var(--transition); }
.contact-item-top:hover { color: var(--accent-gold); }
.contact-item-top svg { width: 18px; height: 18px; fill: currentColor; }

/* === HAMBURGER MENU (SVG) === */
.hamburger {
    display: none; background: transparent; border: none; cursor: pointer;
    z-index: 1050; margin-left: 15px; color: var(--accent-gold); padding: 5px;
}
.hamburger-svg { width: 34px; height: 34px; display: block; pointer-events: none; }
.hamburger .line { transition: transform 0.3s ease-in-out, opacity 0.2s ease-in-out; transform-origin: center; }
.hamburger.is-active .top { transform: translateY(6px) rotate(45deg); }
.hamburger.is-active .middle { opacity: 0; }
.hamburger.is-active .bottom { transform: translateY(-6px) rotate(-45deg); }

/* === HERO SECTION === */
.hero {
    height: 75vh; min-height: 600px;
    background-image: linear-gradient(rgba(10, 25, 47, 0.75), rgba(10, 25, 47, 0.9)), url('img/sir-lancelot-main.webp');
    background-attachment: fixed; background-position: center; background-size: cover;
    display: flex; align-items: center; justify-content: center; text-align: center;
    color: var(--text-light); padding: 0 20px; position: relative;
}
.hero-content { max-width: 800px; margin-top: -30px; }
.hero h1 { font-size: 3.5rem; margin-bottom: 15px; line-height: 1.2; }
.hero p { font-size: 1.2rem; color: #E2E8F0; margin-bottom: 30px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background-color: var(--accent-gold); color: var(--primary-navy);
    padding: 16px 32px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem;
    border-radius: 6px; text-transform: uppercase; transition: var(--transition); border: 2px solid var(--accent-gold); cursor: pointer;
}
.btn:hover { background-color: transparent; color: var(--accent-gold); transform: translateY(-3px); }

/* === USŁUGI === */
.services-section { max-width: 1200px; margin: 0 auto 100px; padding: 0 5%; position: relative; z-index: 10; }
.services-top-panel {
    background-color: var(--primary-dark); padding: 50px 20px; border-radius: 16px;
    text-align: center; margin-top: -100px; margin-bottom: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3); border-bottom: 3px solid var(--accent-gold);
}
.services-header { margin-bottom: 30px; }
.services-header h2 { font-size: 2.5rem; color: var(--text-light); margin: 0; display: inline-block; position: relative; padding-bottom: 10px; }
.services-header h2::after { content: ''; position: absolute; width: 50%; height: 3px; background: var(--accent-gold); bottom: 0; left: 25%; border-radius: 2px; }

.tabs-container { display: inline-flex; justify-content: center; background: #071220; padding: 6px; border-radius: 50px; border: 1px solid rgba(242, 169, 0, 0.4); gap: 5px; margin-top: 10px; }
.tab-btn { background: transparent; border: none; color: #94A3B8; padding: 12px 35px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem; border-radius: 40px; cursor: pointer; transition: var(--transition); text-transform: uppercase; }
.tab-btn:hover { color: var(--text-light); }
.tab-btn.active { background: var(--accent-gold); color: var(--primary-dark); }

.tab-content { display: none; animation: fadeIn 0.4s ease-in-out; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

.insurance-banner { display: flex; align-items: center; gap: 20px; background: var(--bg-light); border-left: 4px solid var(--accent-gold); border-radius: 8px; padding: 20px 30px; margin-bottom: 40px; box-shadow: var(--shadow-soft); }
.insurance-icon { flex-shrink: 0; width: 45px; height: 45px; background: rgba(242, 169, 0, 0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.insurance-icon svg { width: 22px; height: 22px; fill: var(--accent-gold); }
.insurance-text h4 { color: var(--primary-navy); font-size: 1.1rem; margin-bottom: 5px; }
.insurance-text p { color: #64748B; font-size: 0.95rem; line-height: 1.5; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.modern-card { background: var(--bg-light); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-soft); transition: var(--transition); display: flex; flex-direction: column; position: relative; border: 1px solid #E2E8F0; }
.modern-card:hover { box-shadow: var(--shadow-hover); border-color: rgba(242, 169, 0, 0.4); }

.modern-card-img { width: 100%; position: relative; overflow: hidden; line-height: 0; }
.modern-card-img img { width: 100%; height: auto; aspect-ratio: 442 / 444; object-fit: contain; background-color: var(--bg-gray); transition: transform 0.6s ease; display: block; }
.modern-card:hover .modern-card-img img { transform: scale(1.05); }

.expand-trigger { padding: 25px 25px 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; background: var(--bg-light); user-select: none; }
.expand-trigger h3 { font-size: 1.2rem; color: var(--primary-navy); margin: 0; }
.expand-indicator { font-size: 0.8rem; font-weight: 700; color: #64748B; text-transform: uppercase; display: flex; align-items: center; gap: 8px; transition: var(--transition); }
.expand-icon { display: inline-block; width: 24px; height: 24px; background: var(--bg-gray); border-radius: 50%; text-align: center; line-height: 24px; color: var(--primary-navy); font-size: 1.1rem; transition: var(--transition); }
.modern-card.is-expanded .expand-indicator { color: var(--accent-gold); }
.modern-card.is-expanded .expand-icon { background: var(--accent-gold); color: var(--bg-light); transform: rotate(45deg); }

/* Zawartość karty (rozwijana) + Lista atutów */
.modern-card-body { max-height: 0; overflow: hidden; padding: 0 25px; opacity: 0; transition: max-height 0.5s ease, padding 0.5s ease, opacity 0.5s ease; }
.modern-card.is-expanded .modern-card-body { max-height: 500px; padding: 0 25px 20px; opacity: 1; }
.modern-card-body p { color: #64748B; line-height: 1.6; font-size: 0.95rem; border-top: 1px solid #E2E8F0; padding-top: 15px; margin-bottom: 0; }

.card-features-list { list-style: none; margin-top: 15px; padding-top: 15px; border-top: 1px dashed #E2E8F0; }
.card-features-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; color: #64748B; margin-bottom: 8px; line-height: 1.4; }
.card-features-list svg { width: 16px; height: 16px; fill: var(--accent-gold); flex-shrink: 0; margin-top: 2px; }
.card-features-list strong { color: var(--primary-navy); }

.card-footer { padding: 0 25px 25px; background: var(--bg-light); display: flex; align-items: flex-end; flex-grow: 1; }
.btn-subtle { font-size: 0.95rem; color: var(--primary-navy); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; display: inline-flex; align-items: center; gap: 5px; transition: var(--transition); border-bottom: 2px solid transparent; padding-bottom: 2px; }
.btn-subtle::after { content: '→'; font-size: 1.2rem; color: var(--accent-gold); transition: transform 0.3s ease; }
.btn-subtle:hover { border-color: var(--accent-gold); }
.btn-subtle:hover::after { transform: translateX(5px); }

/* === NOWE: DLA KOGO PRACUJEMY === */
.target-audience-section { padding: 80px 5%; background-color: var(--bg-light); border-top: 1px solid #E2E8F0; }
.target-container { max-width: 1200px; margin: 0 auto; }
.target-header { text-align: center; margin-bottom: 50px; }
.target-header h2 { font-size: 2.5rem; color: var(--primary-navy); margin: 0; display: inline-block; position: relative; padding-bottom: 10px; }
.target-header h2::after { content: ''; position: absolute; width: 50%; height: 3px; background: var(--accent-gold); bottom: 0; left: 25%; border-radius: 2px; }

.target-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; list-style: none; }
.target-list li { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 1.15rem; font-weight: 700; color: var(--primary-navy); background: var(--bg-light); padding: 40px 20px; border-radius: 12px; border: 1px solid #E2E8F0; border-bottom: 4px solid var(--accent-gold); transition: var(--transition); box-shadow: var(--shadow-soft); }
.target-list li:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--accent-gold); }
.target-list svg { width: 56px; height: 56px; fill: var(--accent-gold); margin-bottom: 15px; filter: drop-shadow(0 4px 6px rgba(242, 169, 0, 0.2)); transition: transform 0.3s ease; }
.target-list li:hover svg { transform: scale(1.1); }

/* === PORTFOLIO (Siatka) === */
.portfolio-section { padding: 80px 5%; background: var(--primary-navy); color: var(--text-light); }
.portfolio-header { text-align: center; margin-bottom: 40px; }
.portfolio-header h2 { font-size: 2.5rem; color: var(--text-light); margin-bottom: 20px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; max-width: 1400px; margin: 0 auto; }
.portfolio-item { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; transition: var(--transition); background: var(--primary-dark); border: 1px solid rgba(255,255,255,0.1); }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; display: block; }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-overlay { position: absolute; inset: 0; background: rgba(10, 25, 47, 0.75); display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; transition: var(--transition); text-align: center; }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h4 { font-size: 1.2rem; margin-bottom: 5px; color: var(--text-light); letter-spacing: 0.5px;}

/* === OKNO MODAL PRZED / PO === */
.ba-modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background-color: rgba(10, 25, 47, 0.95); backdrop-filter: blur(5px); }
.ba-modal.is-open { display: flex; align-items: center; justify-content: center; animation: fadeIn 0.3s ease; }
.ba-modal-content { background-color: var(--bg-light); padding: 30px; border-radius: 12px; max-width: 1000px; width: 90%; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.ba-close { color: #94A3B8; position: absolute; top: 15px; right: 25px; font-size: 35px; font-weight: bold; cursor: pointer; transition: color 0.3s; z-index: 10;}
.ba-close:hover { color: var(--primary-navy); }

/* Mechanika Suwaka */
.ba-slider-container { position: relative; width: 100%; border-radius: 8px; overflow: hidden; line-height: 0; background: var(--bg-gray); border: 1px solid #E2E8F0; }
#ba-after { width: 100%; height: auto; display: block; object-fit: cover; }
#ba-before { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%); }

.ba-slider-input { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    opacity: 0; 
    cursor: ew-resize; 
    z-index: 10; 
    margin: 0; 
    /* ZABEZPIECZENIA DLA SMARTFONÓW */
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    touch-action: pan-y;
}

.ba-slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 60px;
    height: 100vh; 
}
.ba-slider-input::-moz-range-thumb {
    width: 60px;
    height: 100vh;
    border: none;
}

.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: #fff; transform: translateX(-50%); pointer-events: none; z-index: 5; box-shadow: 0 0 10px rgba(0,0,0,0.3); }
.ba-handle-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; background: var(--accent-gold); border: 3px solid #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,0.4); }

.ba-label-before, .ba-label-after { position: absolute; bottom: 15px; background: rgba(10, 25, 47, 0.8); color: #fff; padding: 6px 15px; border-radius: 30px; font-size: 0.85rem; font-weight: bold; letter-spacing: 1px; z-index: 4; pointer-events: none;}
.ba-label-before { left: 15px; }
.ba-label-after { right: 15px; }

/* === FAQ === */
.faq-section { background-color: var(--primary-dark); padding: 100px 5%; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.faq-container { max-width: 900px; margin: 0 auto; }
.faq-header { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 50px; }
.faq-header h2 { font-size: 2.5rem; color: var(--text-light); margin: 0; }
.faq-icon { width: 40px; height: 40px; fill: var(--accent-gold); }

.faq-container details { background: rgba(255,255,255,0.03); margin-bottom: 15px; border-radius: 8px; border: 1px solid rgba(242, 169, 0, 0.2); overflow: hidden; transition: var(--transition); }
.faq-container details[open] { border-color: var(--accent-gold); background: rgba(255,255,255,0.06); }
.faq-container summary { padding: 20px 25px; font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--text-light); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-container summary::-webkit-details-marker { display: none; }
.faq-container summary::after { content: '+'; color: var(--accent-gold); font-size: 1.5rem; font-weight: 400; transition: transform 0.3s ease; }
.faq-container details[open] summary::after { transform: rotate(45deg); }
.faq-container p { padding: 0 25px 25px; color: #CBD5E1; line-height: 1.6; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 10px; padding-top: 20px;}

/* === SEKCJA FORMULARZA === */
.cta-section { padding: 100px 5%; background-color: var(--bg-gray); display: flex; justify-content: center; }
.form-container { background: var(--bg-light); padding: 60px; border-radius: 16px; box-shadow: var(--shadow-hover); max-width: 800px; width: 100%; border-top: 5px solid var(--accent-gold); text-align: center; }
.form-container h2 { font-size: 2.5rem; color: var(--primary-navy); margin-bottom: 15px; }
.form-container p { color: #64748B; margin-bottom: 40px; font-size: 1.1rem; line-height: 1.6; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; text-align: left; }
.form-group-full { grid-column: span 2; }

.form-container input, .form-container select, .form-container textarea { width: 100%; padding: 18px; border: 1px solid #E2E8F0; border-radius: 8px; font-family: 'Open Sans', sans-serif; background: var(--bg-gray); transition: var(--transition); font-size: 1rem; color: var(--text-dark); }
.form-container input:focus, .form-container select:focus, .form-container textarea:focus { outline: none; border-color: var(--accent-gold); background: var(--bg-light); box-shadow: 0 0 0 4px rgba(242, 169, 0, 0.1); }
.form-container textarea { height: 120px; resize: vertical; }

/* === KOMUNIKATY FORMULARZA === */
#form-messages { text-align: center; font-weight: 700; padding: 15px; border-radius: 8px; font-size: 0.95rem; animation: fadeIn 0.4s ease-in-out; }
.msg-success { background-color: #ecfdf5; color: #065f46; border: 1px solid #10b981; display: block !important; }
.msg-error { background-color: #fef2f2; color: #991b1b; border: 1px solid #ef4444; display: block !important; }
.btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* === NOTA PRAWNA (FORMULARZ RODO) === */
.legal-notice { margin-top: 10px; }
.legal-notice p { font-size: 0.85rem; color: #64748B; text-align: left; line-height: 1.5; margin-bottom: 20px !important; }
.legal-notice a { color: var(--accent-gold); text-decoration: none; border-bottom: 1px solid var(--accent-gold); font-weight: 600; transition: var(--transition); }
.legal-notice a:hover { color: var(--primary-navy); border-color: var(--primary-navy); }

/* === STRONA TEKSTOWA (POLITYKA PRYWATNOŚCI) === */
.page-header { background-color: var(--primary-navy); padding: 150px 5% 80px; text-align: center; color: var(--text-light); border-bottom: 4px solid var(--accent-gold); }
.page-header h1 { font-size: 3rem; margin-bottom: 15px; }
.legal-content { max-width: 800px; margin: 60px auto 100px; padding: 0 5%; color: var(--text-dark); line-height: 1.8; font-size: 1.05rem; }
.legal-content h2 { color: var(--primary-navy); margin: 50px 0 20px; font-size: 1.8rem; border-bottom: 1px solid #E2E8F0; padding-bottom: 10px; }
.legal-content h3 { color: var(--primary-navy); margin: 30px 0 15px; font-size: 1.3rem; }
.legal-content p { margin-bottom: 20px; color: #475569; }
.legal-content ul, .legal-content ol { margin-bottom: 20px; padding-left: 25px; color: #475569; }
.legal-content li { margin-bottom: 10px; }

/* === STOPKA === */
.site-footer { background-color: var(--primary-navy); color: #CBD5E1; padding: 80px 5% 30px; border-top: 4px solid var(--accent-gold); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 50px; max-width: 1200px; margin: 0 auto 50px; }
.footer-col h3 { color: var(--text-light); margin-bottom: 25px; font-size: 1.3rem; letter-spacing: 0.5px; }
.footer-col p { line-height: 1.8; margin-bottom: 20px; }
.footer-logo img { height: 60px; margin-bottom: 20px; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5)); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #94A3B8; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--accent-gold); transform: translateX(5px); }
.footer-links a::before { content: '›'; color: var(--accent-gold); font-size: 1.2rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.footer-contact-item svg { width: 22px; height: 22px; fill: var(--accent-gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item span { line-height: 1.5; }
.footer-contact-item strong { display: block; color: var(--text-light); font-size: 1.1rem; margin-bottom: 2px;}
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.08); color: #64748B; font-size: 0.9rem; }

/* === MEDIA QUERIES (RWD) === */
@media (max-width: 1024px) {
    .hamburger { display: block; }
    .header-right span { display: none; }
    .header-right { gap: 15px; }
    
    .header-center {
        position: fixed;
        top: 80px; 
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--primary-navy);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        z-index: 998;
        transform: translateX(-100%);
        transition: transform 0.4s ease-in-out;
        opacity: 0;
        visibility: hidden;
    }
    
    .header-center.is-open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .header-center ul {
        flex-direction: column;
        gap: 35px;
        width: 100%;
        text-align: center;
    }
    .header-center ul li a {
        display: inline-block;
        font-size: 1.5rem;
        padding: 10px 20px;
        letter-spacing: 2px;
    }
    
    .target-list { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
    .logo-shield { padding: 5px 10px 10px; border-radius: 0 0 15px 15px; border-width: 1px; }
    .logo-img { height: 50px; }
    
    .hero { height: 85vh; min-height: 650px; padding-top: 80px; }
    .hero h1 { font-size: 2.2rem; }
    
    .services-top-panel { padding: 30px 15px; margin-top: -60px; }
    .services-header h2 { font-size: 2rem; }
    
    .insurance-banner { flex-direction: column; text-align: center; }
    .form-container { padding: 40px 20px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group-full { grid-column: span 1; }
    .faq-header { flex-direction: column; text-align: center; }
    .target-header h2 { font-size: 2rem; }
    
    .page-header { padding: 110px 5% 40px; }
    .page-header h1 { font-size: 2.1rem; word-break: break-word; hyphens: auto; }
    
    .target-list { grid-template-columns: 1fr; }
    .target-list li { padding: 30px 20px; }
    
    /* Mobilne okno Modal */
    .ba-modal-content { padding: 20px 15px; width: 95%; }
    .ba-close { top: 5px; right: 15px; }
    #ba-title { font-size: 1.4rem; margin-top: 10px; }
    .ba-handle-btn { width: 34px; height: 34px; }
    .ba-handle-btn svg { width: 16px !important; height: 16px !important; }
}