/* Zmienne kolorystyczne */
:root {
    --p-slate-50: #f8fafc;
    --p-slate-100: #f1f5f9;
    --p-slate-200: #e2e8f0;
    --p-slate-400: #94a3b8;
    --p-slate-500: #64748b;
    --p-slate-600: #475569;
    --p-slate-700: #334155;
    --p-slate-800: #1e293b;
    --p-slate-900: #0f172a;

    --p-emerald-50: #ecfdf5;
    --p-emerald-100: #d1fae5;
    --p-emerald-200: #a7f3d0;
    --p-emerald-400: #34d399;
    --p-emerald-500: #10b981;
    --p-emerald-600: #059669;
    --p-emerald-700: #047857;

    --p-red-500: #ef4444;
    --p-red-50: #fef2f2;
    --p-red-600: #dc2626;

    --p-white: #ffffff;
    --p-white-80: rgba(255, 255, 255, 0.8);
}

.profilio-contact-section {
    position: relative;
    background-color: var(--p-slate-50);
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    color: var(--p-slate-900);
    /* Zwiększony padding sekcji */
    padding-top: 100px; 
    padding-bottom: 80px;
}

/* Gradient na dole */
.profilio-gradient-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20rem; /* Powiększone */
    background: linear-gradient(to top, rgba(209, 250, 229, 0.6), transparent);
    pointer-events: none;
}

/* Kontener - szerszy */
.profilio-container {
    position: relative;
    max-width: 1100px; /* Zwiększone z 1020px */
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .profilio-container {
        flex-direction: row;
        padding: 6rem 2.5rem;
        gap: 5rem;
    }
}

/* KOLUMNY */
.profilio-col-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Większy odstęp */
}

.profilio-col-right {
    width: 100%;
}

@media (min-width: 1024px) {
    .profilio-col-left { width: 42%; }
    .profilio-col-right { width: 58%; }
}

/* UI Lewa strona */
.profilio-badge-question {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: var(--p-emerald-50);
    color: var(--p-emerald-700);
    padding: 0.35rem 0.85rem; /* Powiększone */
    border-radius: 9999px;
    font-size: 0.85rem; /* Zwiększone z 0.75rem */
    font-weight: 600;
    align-self: flex-start;
}

.profilio-dot {
    width: 0.5rem; /* Powiększone */
    height: 0.5rem;
    background-color: var(--p-emerald-500);
    border-radius: 50%;
}

.profilio-headline {
    font-size: 1.75rem; /* Zwiększone z 1.5rem */
    font-weight: 700;
    line-height: 1.25;
    color: var(--p-slate-900);
    margin: 0;
}
@media (min-width: 640px) { .profilio-headline { font-size: 2.25rem; } } /* Zwiększone z 1.875rem */

.profilio-desc {
    font-size: 1rem; /* Zwiększone z 0.875rem */
    line-height: 1.7;
    color: var(--p-slate-600);
    max-width: 38rem;
    margin: 0;
}

.profilio-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* Większy odstęp */
    font-size: 1rem; /* Zwiększone */
    color: var(--p-slate-600);
}

.profilio-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.profilio-icon-green {
    color: var(--p-emerald-500); /* Zmiana odcienia na żywszy */
    display: flex;
    margin-top: 0.25rem;
    font-size: 1.1rem; /* Kontrola rozmiaru FontAwesome */
}

/* Szybkie przyciski */
.profilio-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.profilio-capsule {
    border: none;
    border-radius: 9999px;
    padding: 0.5rem 1rem; /* Powiększone */
    font-size: 0.85rem; /* Zwiększone */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.profilio-capsule-dark {
    background-color: var(--p-slate-900);
    color: var(--p-slate-50);
}
.profilio-capsule-dark:hover { background-color: var(--p-slate-800); }

.profilio-capsule-light {
    background-color: #fff;
    color: var(--p-slate-700);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
}
.profilio-capsule-light:hover { background-color: var(--p-slate-50); }

.profilio-dot-light {
    width: 0.4rem;
    height: 0.4rem;
    background-color: var(--p-emerald-400);
    border-radius: 50%;
}

.profilio-small-note {
    font-size: 0.85rem; /* Zwiększone */
    color: var(--p-slate-500);
}

/* KARTA FORMULARZA */
.profilio-card {
    position: relative;
    background-color: var(--p-white-80);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 1.75rem; /* Bardziej zaokrąglone */
    padding: 1.75rem;
    box-shadow: 0 25px 30px -5px rgba(15, 23, 42, 0.06), 0 10px 15px -6px rgba(15, 23, 42, 0.04);
}
@media (min-width: 640px) { .profilio-card { padding: 2.5rem; } }

.profilio-card-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.profilio-badge-form {
    background-color: var(--p-emerald-50);
    color: var(--p-emerald-700);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.profilio-reply-time {
    font-size: 0.8rem; /* Zwiększone z 11px */
    color: var(--p-slate-500);
}

.profilio-card-title {
    font-size: 1.35rem; /* Zwiększone z 1.125rem */
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--p-slate-900);
}

.profilio-card-desc {
    font-size: 1rem;
    color: var(--p-slate-500);
    margin: 0 0 2rem 0;
}

/* Status Box */
.profilio-status-box {
    margin-bottom: 2rem;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
/* Ikony w status boxie */
.profilio-status-box i { font-size: 1.2rem; }

.profilio-status-box.success {
    background-color: var(--p-emerald-50);
    border: 1px solid var(--p-emerald-200);
    color: var(--p-emerald-700);
}
.profilio-status-box.error {
    background-color: var(--p-red-50);
    border: 1px solid var(--p-red-500);
    color: var(--p-red-600);
}

/* CHIPS */
.profilio-chips-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.profilio-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    padding: 0.6rem 1rem; /* Powiększone */
    font-size: 0.85rem; /* Zwiększone */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--p-slate-200);
    color: var(--p-slate-700);
}
.profilio-chip:hover {
    border-color: var(--p-emerald-200);
    background-color: rgba(236, 253, 245, 0.8);
}

.profilio-chip.active {
    background-color: var(--p-emerald-500);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
}

.profilio-chip-no-shadow.active {
    box-shadow: none;
}

.profilio-group-label {
    display: block;
    font-size: 0.95rem; /* Zwiększone */
    font-weight: 600;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--p-slate-800);
}

/* INPUTS */
.profilio-form-inputs-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem; /* Większy odstęp */
    margin-top: 1.75rem;
}

.profilio-input-wrap {
    position: relative;
}

.profilio-input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--p-slate-200);
    border-radius: 1.125rem; /* Bardziej obłe */
    padding: 0.85rem 1.15rem 0.85rem 3rem; /* Większy padding */
    font-size: 1rem; /* Zwiększone z 0.875rem */
    color: var(--p-slate-900);
    outline: none;
    transition: all 0.2s;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.04);
    box-sizing: border-box;
    height: 3.75rem; /* Zwiększone z 3.25rem */
}

.profilio-textarea {
    height: auto;
    min-height: 9rem;
    padding-left: 1.15rem; /* No icon */
}

.profilio-input:focus {
    border-color: var(--p-emerald-500);
    box-shadow: 0 0 0 4px var(--p-emerald-100);
}

.profilio-input.error {
    border-color: var(--p-red-500);
}

/* Floating Label Logic */
.profilio-floating-label {
    position: absolute;
    left: 2.8rem; /* Dopasowane do ikony */
    top: 50%;
    transform: translateY(-50%);
    color: var(--p-slate-400);
    font-size: 0.95rem; /* Zwiększone */
    transition: all 0.2s;
    pointer-events: none;
    padding: 0 0.35rem;
}

.profilio-textarea + .profilio-floating-label {
    left: 1rem;
    top: 1.5rem;
    transform: none;
}

/* Active State for Label */
.profilio-input:focus + .profilio-floating-label,
.profilio-input:not(:placeholder-shown) + .profilio-floating-label {
    top: 0;
    transform: translateY(-50%);
    font-size: 0.75rem; /* Zwiększone z 11px */
    color: var(--p-slate-500);
    background: #fff;
    border-radius: 4px;
}

.profilio-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--p-slate-400);
    pointer-events: none;
    display: flex;
    font-size: 1.1rem; /* Ikony inputów */
}

.profilio-input-phone .profilio-input {
    padding-left: 5.5rem;
}
.profilio-input-phone .profilio-input-icon {
    z-index: 2;
}

.profilio-phone-prefix {
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--p-slate-100);
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--p-slate-600);
    pointer-events: none;
    z-index: 2;
}

.profilio-helper-text {
    font-size: 0.8rem;
    color: var(--p-slate-400);
    margin-top: 0.6rem;
    line-height: 1.5;
}

/* Grid for context fields */
.profilio-grid-2 {
    display: grid;
    gap: 1.25rem;
}
@media (min-width: 640px) { .profilio-grid-2 { grid-template-columns: 1fr 1fr; } }

/* Consent Checkbox */
.profilio-consent-wrap {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.profilio-checkbox {
    margin-top: 0.35rem;
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--p-emerald-500);
    cursor: pointer;
}

.profilio-consent-label {
    font-size: 0.9rem; /* Zwiększone */
    color: var(--p-slate-600);
    line-height: 1.6;
    cursor: pointer;
}
.profilio-consent-label a {
    color: var(--p-slate-900);
    text-decoration: underline;
}

/* Field Errors */
.profilio-field-error {
    font-size: 0.8rem;
    color: var(--p-red-600);
    margin-top: 0.35rem;
    min-height: 1.4rem;
}

/* Submit Button */
.profilio-btn-submit {
    margin-top: 1.5rem;
    width: 100%;
    background: linear-gradient(to right, var(--p-emerald-600), var(--p-emerald-500));
    color: #fff;
    font-weight: 600;
    padding: 1rem; /* Większy padding */
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    font-size: 1rem; /* Większy tekst */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}
.profilio-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.profilio-submit-note {
    font-size: 0.8rem;
    color: var(--p-slate-500);
    text-align: center;
    margin-top: 1rem;
}