/* 1. Nagłówek strony z szybką wyceną */

.hero {
    padding: 88px 0;
    background: var(--mint);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "title form"
        "details form";
    column-gap: 64px;
    row-gap: 24px;
}

.hero-title {
    grid-area: title;
    align-self: end;
}

.hero-details {
    grid-area: details;
    align-self: start;
}

.hero-title h1 {
    margin: 24px 0;
    font-size: 54px;
    line-height: 1.1;
}

.highlight {
    color: var(--green);
}

.hero-lead {
    margin-bottom: 24px;
    font-size: 19px;
    color: var(--text-light);
}

.quick-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 36px;
    background: #FFFFFF;
    border: 1px solid var(--border-strong);
    border-radius: 22px;
    box-shadow: 0 12px 32px rgba(30, 43, 36, 0.07);
    grid-area: form;
    align-self: center;
}

.quick-form h2 {
    font-size: 24px;
}

.quick-form-lead {
    margin-top: -12px;
    font-size: 15px;
    color: var(--muted);
}

/* 2. Sekcje z treścią */

.section {
    padding: 96px 0;
}

.section-mint {
    background: var(--mint);
}

.section-dark {
    background: var(--green-dark);
    color: #FFFFFF;
}

.section-intro {
    max-width: 760px;
    margin-bottom: 40px;
}

.eyebrow {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--white);
}

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

.section-title {
    margin: 12px 0 16px;
    font-size: 38px;
}

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

.section-note {
    margin-top: 24px;
    font-size: 15px;
    color: var(--muted);
}

.section-button {
    margin-top: 40px;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.panel {
    padding: 36px;
    border-radius: 18px;
    background: var(--mint);
}

.panel h3 {
    margin-bottom: 18px;
    font-size: 21px;
    font-weight: 700;
}

/* 3. Kontakt */

.contact {
    padding: 72px 0;
    background: var(--mint);
}

.contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.contact h2 {
    margin-bottom: 8px;
    font-size: 32px;
}

.contact p {
    color: var(--text-light);
}

/* 4. Tablet i telefon */

@media (max-width: 960px) {
    .hero-inner,
    .two-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title h1 {
        font-size: 42px;
    }

    .contact-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 40px 0;
    }

    .hero-inner {
        grid-template-areas:
        "title"
        "form"
        "details";
    }

    .hero-title h1 {
        font-size: 32px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .quick-form,
    .panel {
        padding: 22px;
    }

    .section {
        padding: 56px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .contact {
        padding: 48px 0;
    }

    .contact h2 {
        font-size: 24px;
    }
}
