* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a4f7a;
    --primary-dark: #0d3654;
    --secondary: #3d8fd1;
    --accent: #e8a54b;
    --bg-light: #f7f9fc;
    --bg-dark: #1c2833;
    --text-dark: #2c3e50;
    --text-light: #5d6d7e;
    --white: #ffffff;
    --border: #dce4ec;
    --shadow: rgba(26, 79, 122, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.25s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    flex-wrap: wrap;
    gap: 12px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.ad-label {
    background: var(--bg-light);
    color: var(--text-light);
    font-size: 0.72rem;
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid var(--border);
}

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

.nav-list {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.nav-link {
    padding: 10px 16px;
    font-size: 0.92rem;
    color: var(--text-dark);
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.nav-link:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.nav-link.active {
    background: var(--primary);
    color: var(--white);
}

.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=1400&q=80') center/cover no-repeat;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.15rem;
    opacity: 0.92;
    margin-bottom: 36px;
    line-height: 1.8;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: #d4922e;
    box-shadow: 0 8px 24px rgba(232, 165, 75, 0.35);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-light);
}

.section-dark {
    background: var(--bg-dark);
    color: var(--white);
}

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

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.section-dark .section-title {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.75);
}

.cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
}

.card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 0 1 calc(33.333% - 20px);
    min-width: 280px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px var(--shadow);
}

.card-image {
    height: 180px;
    background-color: var(--bg-light);
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.card-text {
    color: var(--text-light);
    font-size: 0.95rem;
    flex: 1;
    margin-bottom: 20px;
}

.card-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.card-price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-light);
}

.features-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
}

.features-col {
    flex: 1;
    min-width: 300px;
}

.features-image {
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--bg-light);
    box-shadow: 0 8px 32px var(--shadow);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    fill: var(--white);
}

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

.feature-content p {
    color: var(--text-light);
    font-size: 0.92rem;
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.stat-item {
    flex: 0 1 200px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
}

.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
}

.about-image {
    flex: 1;
    min-width: 320px;
    background-color: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 48px var(--shadow);
}

.about-content {
    flex: 1;
    min-width: 320px;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 1.02rem;
}

.form-section {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}

.form-container {
    max-width: 640px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 8px 40px var(--shadow);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(61, 143, 209, 0.15);
}

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

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
}

.contact-info {
    flex: 1;
    min-width: 280px;
}

.contact-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    margin-bottom: 24px;
}

.contact-card h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

.contact-map {
    flex: 1.5;
    min-width: 320px;
    min-height: 400px;
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.contact-map::after {
    content: 'Mapa lokalizacji';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-light);
    font-size: 1.1rem;
}

.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.85);
    padding: 60px 0 0;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
}

.disclaimer {
    background: var(--bg-light);
    border-left: 4px solid var(--secondary);
    padding: 20px 24px;
    margin: 40px 0;
    font-size: 0.88rem;
    color: var(--text-light);
    border-radius: 0 8px 8px 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 32px;
}

.legal-content h2 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin: 32px 0 16px;
}

.legal-content p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.legal-content ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
    color: var(--text-light);
    list-style: disc;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    color: var(--white);
    padding: 20px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}

.cookie-banner.show {
    display: block;
}

.cookie-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
    font-size: 0.92rem;
    line-height: 1.6;
}

.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    font-weight: 600;
    transition: background 0.2s;
}

.cookie-accept {
    background: var(--accent);
    color: var(--text-dark);
}

.cookie-accept:hover {
    background: #d4922e;
}

.cookie-reject {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

.cookie-reject:hover {
    background: rgba(255,255,255,0.1);
}

.thanks-container {
    text-align: center;
    padding: 120px 24px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
}

.thanks-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--white);
}

.thanks-title {
    font-size: 2.4rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.thanks-text {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 500px;
    margin-bottom: 32px;
}

.cta-block {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 40px;
    border-radius: 16px;
    text-align: center;
    color: var(--white);
    margin: 60px 0;
}

.cta-block h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.cta-block p {
    opacity: 0.9;
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 16px;
    }

    .nav-list {
        justify-content: center;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .card {
        flex: 0 1 100%;
    }

    .form-container {
        padding: 32px 24px;
    }

    .footer-col {
        flex: 0 1 100%;
    }
}
