.pf-wrapper {
    display: flex;
    min-height: 100vh;
    background: var(--light-blue);
    flex-wrap: wrap;
}

.pf-left {
    flex: 1 1 40%;
    min-width: 280px;
    padding: 40px 5vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pf-left h1 {
    color: var(--blue);
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    margin-bottom: 20px;
}

.pf-left p {
    color: var(--grey);
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    line-height: 1.6;
}

.pf-right {
    flex: 1 1 60%;
    min-width: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
     min-height: 50vh;   
    padding: 3vw 0;
}

.pf-card {
    background: var(--light);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 4vw 5vw;
    width: 80%;
    max-width: 900px;
}

.pf-card h2 {
    margin: 0 0 6px 0;
    color: var(--blue);
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    text-align: center;
}

.pf-card p.sub {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    margin: 0 0 16px 0;
    color: var(--grey);
    text-align: center;
}

.pf-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.pf-full {
    grid-column: 1 / -1;
}

.pf-full label {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
}

.pf-full input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--blue);
}

.pf-form label {
    display: block;
    text-align: left;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--grey);
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    outline: none;
    background: #fff;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.pf-full .pf-hint {
    font-size: 12px;
    color: #777;
    margin-top: 4px;
    text-align: left;
}

.pf-actions {
    display: flex;
    align-items: center;
    margin-top: 12px;
}

.pf-actions button {
    padding: 12px 22px;
    border-radius: 24px;
    border: 2px solid var(--hover-blue);
    background: #fff;
    color: var(--hover-blue);
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

.pf-actions button:hover {
    background: var(--hover-blue);
    color: #fff;
}

.pf-msg {
    margin-top: 10px;
    font-weight: 600;
}

.pf-msg.ok {
    color: var(--ok);
}

.pf-msg.err {
    color: var(--error);
}

@media(max-width:900px) {
    body {
        flex-direction: column;
    }

    .pf-left,
    .pf-right {
        flex: unset;
        width: 100%;
        box-shadow: none;
    }

    .pf-left {
        padding: 30px 20px;
        text-align: center;
    }
}

@media (max-width:768px) {
    .pf-form {
        grid-template-columns: 1fr;
    }
}