/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --purple-dark: #2d0a3a;
    --purple: #4a1a6b;
    --purple-light: #6b2d8a;
    --purple-soft: #8b4aab;
    --gold: #c9a227;
    --gold-light: #e8c84a;
    --gold-pale: #f5e6a3;
    --green-dark: #0f2a1c;
    --green: #1e4d36;
    --green-mid: #2d5a3d;
    --bg: #0d0a12;
    --bg-card: #1a1225;
    --text: #f0eaf5;
    --text-muted: #b8a8c8;
    --radius: 12px;
    --shadow: 0 10px 40px rgba(0,0,0,0.4);
}

body {
    font-family: 'Source Sans 3', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: 'Cinzel', serif; font-weight: 600; }
a { text-decoration: none; color: inherit; transition: 0.25s ease; }

/* ===== HEADER ===== */
.header {
    background: linear-gradient(180deg, var(--purple-dark) 0%, rgba(45,10,58,0.95) 100%);
    border-bottom: 2px solid var(--gold);
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(10px);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
    font-size: 2.2rem; color: var(--gold);
    filter: drop-shadow(0 0 8px rgba(201,162,39,0.5));
}
.logo-text h1 { font-size: 1.5rem; color: var(--gold-light); letter-spacing: 1px; }
.logo-text p { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-size: 0.95rem; color: var(--text-muted); }
.nav a:hover, .nav a.active { color: var(--gold-light); }

.btn-nav {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
    color: #fff !important; padding: 8px 18px; border-radius: 30px;
    border: 1px solid var(--gold); font-weight: 600 !important;
}
.btn-nav:hover { box-shadow: 0 0 15px rgba(201,162,39,0.3); }
.btn-nav-outline {
    border: 1px solid var(--gold); color: var(--gold) !important;
    padding: 7px 16px; border-radius: 30px; font-weight: 600 !important;
}
.btn-nav-outline:hover { background: rgba(201,162,39,0.15); }

.menu-toggle {
    display: none; background: none; border: none; color: var(--gold);
    font-size: 1.6rem; cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    position: relative; padding: 60px 0 70px;
    background: radial-gradient(ellipse at 30% 50%, rgba(74,26,107,0.35) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 20%, rgba(30,77,54,0.25) 0%, transparent 50%),
                var(--bg);
}
.hero-content {
    display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center;
}
.hero-text h2 {
    font-size: 2.2rem; line-height: 1.25; color: var(--gold-light); margin-bottom: 16px;
}
.hero-text > p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 24px; max-width: 460px; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--purple-dark); padding: 12px 26px; border-radius: 30px;
    font-weight: 600; font-size: 1rem;
    box-shadow: 0 4px 20px rgba(201,162,39,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(201,162,39,0.55); }

.btn-secondary {
    display: inline-block;
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
    color: #fff; padding: 12px 26px; border-radius: 30px;
    font-weight: 600; border: 1px solid var(--gold);
}
.btn-secondary:hover { box-shadow: 0 0 15px rgba(107,45,138,0.5); }

.btn-outline {
    display: inline-block;
    border: 1.5px solid var(--gold); color: var(--gold);
    padding: 11px 22px; border-radius: 30px; font-weight: 600;
}
.btn-outline:hover { background: rgba(201,162,39,0.12); }

.disclaimer-hero {
    font-size: 0.78rem !important; color: #9a8aa8 !important;
    line-height: 1.45; max-width: 460px; margin-top: 8px;
    border-left: 2px solid rgba(201,162,39,0.4); padding-left: 12px;
}

.desk-svg {
    width: 100%; max-width: 480px; height: auto;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.55));
}

/* ===== SERVICES ===== */
.services { padding: 70px 0; background: linear-gradient(180deg, var(--bg) 0%, #120e1a 100%); }
.section-title { text-align: center; font-size: 1.9rem; color: var(--gold-light); margin-bottom: 8px; }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 40px; font-size: 1.05rem; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    background: var(--bg-card); border: 1px solid rgba(107,45,138,0.4);
    border-radius: var(--radius); padding: 28px 24px; text-align: center;
    position: relative; transition: 0.3s; box-shadow: var(--shadow);
}
.service-card:hover { transform: translateY(-8px); border-color: var(--gold); }
.service-card.featured { border-color: var(--gold); background: linear-gradient(180deg, #221530 0%, var(--bg-card) 100%); }
.badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--gold); color: var(--purple-dark); font-size: 0.72rem;
    font-weight: 600; padding: 4px 12px; border-radius: 20px; white-space: nowrap;
}
.card-icon { font-size: 2.3rem; margin-bottom: 12px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.price { font-family: 'Cinzel', serif; font-size: 1.85rem; color: var(--gold); font-weight: 700; margin-bottom: 16px; }
.service-card ul { list-style: none; text-align: left; margin-bottom: 22px; }
.service-card ul li { padding: 5px 0 5px 16px; color: var(--text-muted); font-size: 0.92rem; position: relative; }
.service-card ul li::before { content: "▸"; position: absolute; left: 0; color: var(--gold); }
.btn-card {
    display: inline-block; border: 1.5px solid var(--gold); color: var(--gold);
    padding: 9px 24px; border-radius: 30px; font-weight: 600;
}
.btn-card:hover { background: var(--gold); color: var(--purple-dark); }

.services-scope {
    text-align: center; margin-top: 28px; font-size: 0.95rem; color: var(--text-muted);
    max-width: 700px; margin-left: auto; margin-right: auto;
}

/* ===== HOW IT WORKS ===== */
.how-it-works { padding: 60px 0; background: var(--bg); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.step { text-align: center; padding: 20px 12px; }
.step-num {
    width: 48px; height: 48px; background: var(--purple); border: 2px solid var(--gold);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px; font-family: 'Cinzel', serif; font-weight: 700; color: var(--gold-light);
}
.step h3 { font-size: 1.05rem; color: var(--gold-light); margin-bottom: 6px; }
.step p { font-size: 0.9rem; color: var(--text-muted); }

/* ===== SECURITY ===== */
.security { padding: 60px 0; background: linear-gradient(180deg, #120e1a 0%, var(--bg) 100%); }
.security-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.security-card {
    background: var(--bg-card); border: 1px solid rgba(107,45,138,0.35);
    border-radius: var(--radius); padding: 24px 16px; text-align: center;
}
.sec-icon { font-size: 1.8rem; margin-bottom: 10px; }
.security-card h3 { font-size: 1rem; color: var(--gold-light); margin-bottom: 8px; }
.security-card p { font-size: 0.88rem; color: var(--text-muted); }
.security-card a { color: var(--gold); text-decoration: underline; }

/* ===== CONSULTATION ===== */
.consultation { padding: 50px 0; }
.consult-box {
    background: linear-gradient(135deg, rgba(74,26,107,0.4) 0%, rgba(30,77,54,0.25) 100%);
    border: 1px solid rgba(201,162,39,0.35); border-radius: 16px;
    padding: 40px; text-align: center;
}
.consult-box h2 { font-size: 1.7rem; color: var(--gold-light); margin-bottom: 12px; }
.consult-box > p { color: var(--text-muted); margin-bottom: 24px; }
.consult-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ===== ABOUT ===== */
.about { padding: 60px 0; background: radial-gradient(ellipse at center, rgba(30,77,54,0.12) 0%, transparent 70%), var(--bg); }
.about-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.about-text h2 { font-size: 1.7rem; color: var(--gold-light); margin-bottom: 14px; }
.about-text p { color: var(--text-muted); margin-bottom: 18px; font-size: 1rem; }
.features { list-style: none; }
.features li { padding: 6px 0; color: var(--text); font-size: 1rem; }
.about-stats { display: grid; gap: 16px; }
.stat {
    background: var(--bg-card); border: 1px solid rgba(201,162,39,0.25);
    border-radius: var(--radius); padding: 18px 24px; text-align: center;
}
.stat-num { display: block; font-family: 'Cinzel', serif; font-size: 2rem; color: var(--gold); font-weight: 700; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* ===== CONTACT ===== */
.contact { padding: 60px 0 70px; background: linear-gradient(180deg, #120e1a 0%, var(--purple-dark) 100%); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.contact-card {
    background: rgba(26,18,37,0.8); border: 1px solid rgba(107,45,138,0.35);
    border-radius: var(--radius); padding: 30px 20px; text-align: center;
}
.contact-card:hover { border-color: var(--gold); }
.contact-icon { font-size: 2rem; margin-bottom: 10px; }
.contact-card h3 { font-size: 1.1rem; color: var(--gold-light); margin-bottom: 8px; }
.placeholder { font-size: 1rem; font-weight: 600; }
.hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; font-style: italic; }

/* ===== FORM / PANEL ===== */
.form-section {
    padding: 50px 0 70px; min-height: calc(100vh - 160px);
    background: radial-gradient(ellipse at 50% 0%, rgba(74,26,107,0.22) 0%, transparent 55%), var(--bg);
}
.form-wrapper, .panel-wrapper {
    max-width: 620px; margin: 0 auto; background: var(--bg-card);
    border: 1px solid rgba(107,45,138,0.4); border-radius: 16px;
    padding: 36px 32px; box-shadow: var(--shadow);
}
.panel-wrapper { max-width: 720px; }
.form-header { text-align: center; margin-bottom: 28px; }
.form-header h2 { font-size: 1.7rem; color: var(--gold-light); margin-bottom: 8px; }
.form-header p { color: var(--text-muted); font-size: 0.95rem; }

.case-form .form-group { margin-bottom: 18px; }
.case-form label { display: block; margin-bottom: 5px; font-size: 0.92rem; font-weight: 500; }
.req { color: var(--gold); }
.case-form input, .case-form select, .case-form textarea {
    width: 100%; padding: 11px 14px; background: rgba(13,10,18,0.7);
    border: 1px solid rgba(107,45,138,0.5); border-radius: 8px;
    color: var(--text); font-size: 0.98rem; font-family: inherit;
}
.case-form input:focus, .case-form select:focus, .case-form textarea:focus {
    outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
}
.case-form select {
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c9a227' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
}
.case-form textarea { resize: vertical; min-height: 100px; }
.form-row.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox-group { margin-top: 6px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--text-muted); cursor: pointer; }
.checkbox-label input { width: auto; margin-top: 3px; accent-color: var(--gold); }
.checkbox-label a { color: var(--gold); text-decoration: underline; }

.btn-submit {
    width: 100%; margin-top: 10px; padding: 13px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--purple-dark); border: none; border-radius: 30px;
    font-size: 1.05rem; font-weight: 600; cursor: pointer; font-family: inherit;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(201,162,39,0.45); }

.form-footer-link { text-align: center; margin-top: 18px; font-size: 0.92rem; color: var(--text-muted); }
.form-footer-link a { color: var(--gold); text-decoration: underline; }

.success-message { text-align: center; padding: 30px 15px; }
.success-icon {
    width: 64px; height: 64px; background: var(--green); color: var(--gold-light);
    font-size: 2rem; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; margin: 0 auto 16px; border: 2px solid var(--gold);
}
.success-message h3 { font-size: 1.5rem; color: var(--gold-light); margin-bottom: 12px; }
.case-details { text-align: left; background: rgba(13,10,18,0.5); padding: 16px; border-radius: 8px; margin: 16px 0; }
.case-details p { margin: 6px 0; font-size: 0.95rem; }

/* Panel specific */
.panel-info { margin-bottom: 24px; }
.info-row { padding: 8px 0; border-bottom: 1px solid rgba(107,45,138,0.25); font-size: 0.95rem; }
.info-row span { color: var(--text-muted); margin-right: 8px; }
.info-row.highlight { background: rgba(201,162,39,0.08); padding: 10px 12px; border-radius: 6px; margin: 8px 0; }
.panel-subtitle { font-size: 1.2rem; color: var(--gold-light); margin: 20px 0 14px; }
.sprawa-card {
    background: rgba(13,10,18,0.6); border: 1px solid rgba(107,45,138,0.35);
    border-radius: 10px; padding: 16px; margin-bottom: 12px;
}
.sprawa-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sprawa-numer { font-family: 'Cinzel', serif; font-weight: 700; color: var(--gold); font-size: 1.1rem; }
.sprawa-status { font-size: 0.8rem; background: var(--purple); color: var(--gold-pale); padding: 3px 10px; border-radius: 12px; }
.sprawa-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.sprawa-opis { font-size: 0.92rem; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ===== FOOTER ===== */
.footer {
    background: var(--purple-dark); border-top: 2px solid var(--gold); padding: 28px 0 20px;
}
.footer-inner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 14px; margin-bottom: 16px;
}
.footer-logo span { font-family: 'Cinzel', serif; color: var(--gold); font-size: 1.05rem; }
.footer-logo p { font-size: 0.72rem; color: var(--text-muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--text-muted); font-size: 0.88rem; }
.footer-links a:hover { color: var(--gold); }
.footer-copy p { font-size: 0.82rem; color: var(--text-muted); }
.footer-disclaimer {
    font-size: 0.72rem; color: #8a7a98; line-height: 1.45;
    border-top: 1px solid rgba(107,45,138,0.3); padding-top: 14px; margin-top: 4px;
}

/* ===== POLITYKA ===== */
.polityka-content { max-width: 720px; margin: 0 auto; padding: 40px 20px 60px; }
.polityka-content h2 { color: var(--gold-light); margin: 28px 0 12px; font-size: 1.3rem; }
.polityka-content p, .polityka-content li { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 10px; }
.polityka-content ul { padding-left: 20px; margin-bottom: 16px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 950px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text > p, .disclaimer-hero { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .desk-svg { max-width: 380px; margin: 0 auto; }
    .services-grid, .steps-grid, .security-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
    .about-inner { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
    .header-inner { flex-wrap: wrap; }
    .menu-toggle { display: block; }
    .nav { display: none; width: 100%; flex-direction: column; gap: 10px; padding: 12px 0; }
    .nav.open { display: flex; }
    .services-grid, .steps-grid, .security-grid, .contact-grid { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
    .form-row.two-cols { grid-template-columns: 1fr; }
    .form-wrapper, .panel-wrapper { padding: 24px 18px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .hero-text h2 { font-size: 1.7rem; }
}
