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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1e293b;
    background: #f8fafc;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: #0056a7;
    color: #fff;
    border-color: #0056a7;
}

.btn-primary:hover {
    background: #003f7d;
    border-color: #003f7d;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 86, 167, 0.35);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* layered gradient background — zamiast grafiki */
    background:
        linear-gradient(135deg, #0b1d33 0%, #132f4f 35%, #1a4875 65%, #0f2b47 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(0, 150, 255, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 70%, rgba(0, 200, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 50% 90%, rgba(0, 86, 167, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 800' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='100' cy='100' r='1.5' fill='rgba(255,255,255,0.12)'/%3E%3Ccircle cx='300' cy='250' r='1.2' fill='rgba(255,255,255,0.08)'/%3E%3Ccircle cx='600' cy='150' r='1.8' fill='rgba(255,255,255,0.10)'/%3E%3Ccircle cx='850' cy='80' r='1' fill='rgba(255,255,255,0.06)'/%3E%3Ccircle cx='1050' cy='300' r='1.4' fill='rgba(255,255,255,0.09)'/%3E%3Ccircle cx='200' cy='500' r='1.6' fill='rgba(255,255,255,0.07)'/%3E%3Ccircle cx='700' cy='450' r='1.3' fill='rgba(255,255,255,0.11)'/%3E%3Ccircle cx='950' cy='600' r='1' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
    background-size: cover;
    pointer-events: none;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: 80px 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.20);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 5.2rem);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #92c5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.hero-desc {
    max-width: 620px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

.section--dark {
    background: linear-gradient(135deg, #0f1f33 0%, #142b45 100%);
    color: #fff;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: #0f2b47;
}

.section-title--light {
    color: #fff;
}

.section-desc {
    max-width: 680px;
    margin: 0 auto 56px;
    text-align: center;
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
}

.section-desc--light {
    color: rgba(255, 255, 255, 0.75);
}

/* ===== GRID 3 ===== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: center;
    border: 1px solid #eef2f6;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 86, 167, 0.10);
}

.card-icon {
    font-size: 2.6rem;
    margin-bottom: 20px;
    display: inline-block;
}

.card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f2b47;
}

.card p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
}

/* ===== STEPS ===== */
.steps {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    padding: 24px 28px;
    transition: background 0.2s ease;
}

.step:hover {
    background: rgba(255, 255, 255, 0.10);
}

.step-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0056a7, #1a7ad4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
}

.step h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.step p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.6;
}

/* ===== CONTACT GRID ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    max-width: 960px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 12px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: #0f2b47;
}

.contact-value--badge {
    display: inline-block;
    background: #e8f0fe;
    color: #0056a7;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    align-self: flex-start;
}

.contact-value a {
    transition: color 0.2s ease;
}

.contact-value a:hover {
    color: #0056a7;
}

/* ===== FORM ===== */
.form {
    background: #fff;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f6;
}

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

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1e293b;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #d1d9e6;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: #1e293b;
    background: #fafbfc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-input:focus {
    border-color: #0056a7;
    box-shadow: 0 0 0 3px rgba(0, 86, 167, 0.12);
    background: #fff;
}

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

.form-footnote {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 12px;
    text-align: center;
}

.form-status {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
    margin-top: 16px;
}

.form-status--success {
    background: #e6f7e6;
    color: #166534;
    border: 1px solid #bbf7bb;
}

.form-status--error {
    background: #fee7e7;
    color: #991b1b;
    border: 1px solid #fbbcbc;
}

/* ===== FOOTER ===== */
.footer {
    background: #0b1d33;
    color: rgba(255, 255, 255, 0.55);
    padding: 24px 0;
    font-size: 0.9rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* ===== ANIMACJA SPINNERA PRZYCISKU ===== */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== RESPONSYWNOŚĆ ===== */
@media (max-width: 600px) {
    .hero {
        min-height: 90vh;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .section {
        padding: 64px 0;
    }

    .form {
        padding: 24px;
    }
}
