* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f9fafb;
    color: #111827;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    padding: 16px 40px;
    border-bottom: 1px solid #e5e7eb;
}

nav a {
    font-weight: 500;
    margin-left: 24px;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #eef2ff, #f9fafb);
    text-align: center;
    padding: 40px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    max-width: 900px;
}

.hero p {
    font-size: 1.2rem;
    color: #4b5563;
    max-width: 700px;
    margin: 32px auto;
}

.button {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 999px;
    background: #4f46e5;
    color: white;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(79,70,229,0.3);
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 40px;
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
    text-align: center;
}

.section p.lead {
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
    color: #4b5563;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.card h3 {
    margin-top: 0;
}

.price {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 16px;
}

.faq-item {
    max-width: 800px;
    margin: 0 auto 24px;
}

.faq-item strong {
    display: block;
    margin-bottom: 8px;
}

footer {
    padding: 60px 40px;
    text-align: center;
    color: #6b7280;
    font-size: 0.9rem;
}

.form-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 48px;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.08);
}

.form-section {
    margin-bottom: 48px;
}

.form-section h3 {
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.form-section p {
    margin-top: 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    font-size: 1rem;
}

.form-card textarea {
    resize: vertical;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 40px;
    margin-top: 16px;
    justify-items: start; /* <<< KLUCZOWA LINIA */
}



.form-footer {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-footer small {
    color: #6b7280;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-size: 0.9rem;
    font-weight: 500;
}

.required {
    color: #ef4444;
    margin-left: 4px;
}

.form-card input:invalid,
.form-card select:invalid,
.form-card textarea:invalid {
    border-color: #ef4444;
}

.form-card input:focus:invalid,
.form-card select:focus:invalid,
.form-card textarea:focus:invalid {
    outline: none;
}


.checkbox-item {
    display: grid;
    grid-template-columns: 18px 1fr; /* checkbox | tekst */
    column-gap: 12px;
    align-items: start;
    font-size: 0.95rem;
    line-height: 1.4;
    width: 100%;
}




@media (max-width: 768px) {
    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

.checkbox-consent {
    display: grid;
    grid-template-columns: 18px 1fr;
    column-gap: 12px;
    align-items: start;
    font-size: 0.95rem;
    line-height: 1.4;
}

.checkbox-consent input[type="checkbox"] {
    margin: 0;
}

.brand {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand strong {
    font-size: 1.35rem;   /* WIĘKSZE */
    font-weight: 700;
    letter-spacing: 0.02em;
}


.brand-sub {
    font-size: 0.75rem;
    color: #6b7280;
    letter-spacing: 0.04em;
}

/* Formularz – link do polityki prywatności */
.form-footer .privacy-link a {
    color: #4f46e5;
    font-weight: 500;
    text-decoration: underline;
}

.form-footer .privacy-link a:hover {
    text-decoration: none;
    opacity: 0.85;
}

/* Informacja o przetwarzaniu danych */
.form-footer .data-info {
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Uwaga o cenie – wyróżniona, ale spokojna */
.form-footer .price-note {
    margin-top: 8px;
    padding-left: 12px;
    border-left: 3px solid #e5e7eb;
    color: #4b5563;
    font-size: 0.9rem;
}

/* HERO na O MNIE – bez scrolla */
.section:first-of-type {
    min-height: calc(100vh - 72px); /* minus wysokość nav */
    display: flex;
    align-items: center;
}

.hero-line-main {
    white-space: nowrap;
    display: inline-block;
}

@media (max-width: 1024px) {
    .hero-line-main {
        white-space: normal;
    }
}

/* HERO – O MNIE */
.hero-about .grid {
    grid-template-columns: 1.2fr 0.8fr; /* tekst | zdjęcie */
    align-items: center;
}

/* Obrazek nigdy nie wypycha tekstu */
.hero-about img {
    max-width: 340px;
    justify-self: center;
}

/* HERO – wyrównanie nagłówka i lead jak jeden blok */
.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/* Kontrola odstępów w nagłówku */
.hero-text h1 {
    margin-bottom: 24px;
}

/* HERO – intro tekst (hierarchia informacji) */
.hero-intro {
    margin-top: 32px;
}

.hero-name {
    font-size: 1.70rem;
    font-weight: 600;
    color: #5e8df8; /* niebieski – akcent */
    margin-bottom: 12px;
}

.hero-education {
    font-size: 1.15rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.hero-help {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto;        /* <<< TO CENTRUJE BLOK */
    text-align: center;    /* <<< TO CENTRUJE TEKST */
}

/* Strzałka przewijania w dół */
.scroll-down {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: #5e8df8;
    opacity: 0.6;
    animation: bounce 2s infinite;
    cursor: default;
}

/* Delikatna animacja */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(8px);
    }
    60% {
        transform: translateX(-50%) translateY(4px);
    }
}

/* Upewniamy się, że hero jest pozycjonowany */
.hero-about {
    position: relative;
}
