:root { --primary: #fbbf24; --secondary: #0f172a; --accent: #2563eb; --text: #334155; --light: #f8fafc; }
body { font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; margin: 0; line-height: 1.6; color: var(--text); background: var(--light); scroll-behavior: smooth; }

header { background: rgba(255, 255, 255, 0.95); padding: 1rem 8%; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(5px); }
.logo { font-size: 1.6rem; font-weight: 900; color: var(--secondary); letter-spacing: -1px; }
.logo span { color: var(--primary); }
nav a { margin-left: 25px; text-decoration: none; color: var(--secondary); font-weight: 600; transition: 0.3s; }
nav a:hover { color: var(--accent); }

.hero-container { width: 100%; line-height: 0; }
.hero-container img { width: 100%; height: auto; display: block; }

.intro { padding: 50px 8% 10px; max-width: 1000px; margin: 0 auto; text-align: center; }
.intro h1 { color: var(--secondary); font-size: 2.2rem; line-height: 1.25; margin: 0 0 18px; }
.intro .lead { color: var(--text); font-size: 1.1rem; max-width: 800px; margin: 0 auto; }

.section { padding: 80px 8%; background: white; }
.section-light { background: var(--light); }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; max-width: 1200px; margin: 0 auto; }
.about-text h2 { color: var(--secondary); font-size: 2.5rem; margin-bottom: 20px; }
.about-image img { width: 100%; height: auto; border-radius: 12px; border: 1px solid #e2e8f0; box-shadow: 0 10px 25px rgba(0,0,0,0.08); }

.services-title { text-align: center; margin-bottom: 40px; font-size: 2.2rem; }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.service-box { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; transition: 0.3s; display: flex; flex-direction: column; }
.service-box:hover { transform: translateY(-10px); }
.service-img { width: 100%; height: 220px; object-fit: cover; }
.service-content { padding: 25px; flex-grow: 1; }
.service-content h4 { color: var(--secondary); margin-top: 0; font-size: 1.2rem; }

.contact-section { background: var(--secondary); color: white; padding: 80px 8%; }
.contact-container { max-width: 850px; margin: 0 auto; background: white; padding: 40px; border-radius: 15px; color: var(--text); }
.contact-container h2 { text-align: center; color: var(--secondary); margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: span 2; }
label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
input, textarea, select { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 6px; box-sizing: border-box; font-family: inherit; font-size: 1rem; }

input[type="file"] { padding: 8px; background: #f1f5f9; cursor: pointer; border: 1px dashed #cbd5e1; }
.file-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.btn { background: var(--primary); color: var(--secondary); padding: 15px 40px; border-radius: 5px; text-decoration: none; font-weight: bold; display: inline-block; transition: 0.3s; border: none; cursor: pointer; font-size: 1rem; width: 100%; }
.btn:hover { background: #000; color: #fff; }

.is-hidden { display: none; }

footer { background: #070b14; color: white; text-align: center; padding: 60px 8%; border-top: 1px solid rgba(255,255,255,0.1); }
footer p { max-width: 850px; margin: 10px auto; line-height: 1.8; }
.contact-link { color: var(--primary); text-decoration: none; font-weight: bold; }
.reveal-link { cursor: pointer; color: var(--primary); text-decoration: underline; }
.footer-legal { opacity: 0.6; font-size: 0.85rem; display: block; margin-top: 15px; }
.footer-link { color: inherit; text-decoration: underline; }

@media (max-width: 900px) {
    .about-grid, .form-grid { grid-template-columns: 1fr; }
    .form-group.full { grid-column: span 1; }
}

/* Stylizacja kontenera zgody */
.privacy-agreement {
    margin-top: 15px;
    padding: 15px;
    background: #f8fafc; /* Delikatne tło, by wyróżnić sekcję */
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.privacy-label {
    display: grid;
    grid-template-columns: 24px 1fr; /* Stała szerokość dla checkboxa */
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text);
}

/* Customowy wygląd checkboxa */
.privacy-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    margin: 0;
}

.privacy-label input[type="checkbox"]:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Ikona "ptaszka" po zaznaczeniu */
.privacy-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid var(--secondary);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.privacy-label a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.privacy-label a:hover {
    text-decoration: underline;
}

/* Poprawka dla urządzeń mobilnych - większy obszar klikalny */
@media (max-width: 600px) {
    .privacy-label {
        font-size: 0.85rem;
    }
}

/* Hamburger */
.nav-top { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--secondary); border-radius: 2px; transition: 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    nav { display: flex; flex-direction: column; align-items: center; position: absolute; top: 100%; left: 0; right: 0; background: rgba(255,255,255,0.98); max-height: 0; overflow: hidden; padding: 0 8%; box-shadow: 0 8px 12px rgba(0,0,0,0.1); transition: max-height 0.3s ease; }
    nav.open { max-height: 360px; padding: 0.5rem 8% 1rem; }
    nav a { margin: 0; width: 100%; padding: 12px 0; text-align: center; border-bottom: 1px solid #eee; }
    nav a.nav-top { display: block; margin-top: 12px; border-top: 2px solid #e2e8f0; border-bottom: none; font-weight: 900; color: var(--secondary); letter-spacing: -1px; }
}
