/* ============================================================
   PODSTRONA DOŁĄCZ DO NAS — REDESIGN
   ============================================================ */

/* ── KONTENER ── */
.join-hero .container,
.join-section .container,
.join-perks .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

@media (max-width: 768px) {
    .join-hero .container,
    .join-section .container,
    .join-perks .container { padding: 0 24px; }
}

/* ── HERO ── */
.join-hero {
    padding: 130px 0 56px;
    text-align: center;
}

.join-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.join-hero-inner .section-label {
    opacity: 0;
    transform: translateY(16px);
    animation: join-in 0.65s cubic-bezier(0.22,1,0.36,1) 0.05s forwards;
}

.join-hero-inner h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 6vw, 66px);
    line-height: 1.07;
    font-weight: 500;
    color: var(--text-green-dark);
    margin-bottom: 22px;
    opacity: 0;
    transform: translateY(22px);
    animation: join-in 0.7s cubic-bezier(0.22,1,0.36,1) 0.18s forwards;
}

.join-hero-inner > p {
    font-size: 18px;
    line-height: 1.75;
    color: rgba(74,74,74,0.7);
    max-width: 600px;
    margin: 0 auto 0;
    opacity: 0;
    transform: translateY(16px);
    animation: join-in 0.65s cubic-bezier(0.22,1,0.36,1) 0.3s forwards;
}

@keyframes join-in {
    to { opacity: 1; transform: translateY(0); }
}

/* ── PASEK CECH / PERKS ── */
.join-perks {
    padding: 0 0 0;
}

.join-perks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.join-perk-card {
    background: #fff;
    border: 1px solid rgba(55,70,43,0.09);
    border-radius: 22px;
    padding: 28px 26px 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1),
                transform 0.6s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.3s ease, border-color 0.3s ease;
}

.join-perk-card.is-visible { opacity: 1; transform: translateY(0); }

.join-perk-card:hover {
    box-shadow: 0 8px 32px rgba(55,70,43,0.08);
    border-color: rgba(55,70,43,0.16);
}

.join-perk-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: rgba(255,214,68,0.18);
    border: 1px solid rgba(255,214,68,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-green-dark);
    flex-shrink: 0;
}

.join-perk-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-green-dark);
    line-height: 1.25;
}

.join-perk-card p {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(74,74,74,0.65);
    margin: 0;
}

/* ── GŁÓWNA SEKCJA ── */
.join-section {
    padding: 56px 0 120px;
}

.join-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 52px;
    align-items: start;
}

/* ══════════════════════════════
   LEWA KOLUMNA — CIEMNOZIELONA
   ══════════════════════════════ */
.join-info-box {
    background: var(--text-green-dark);
    border-radius: 32px;
    padding: 48px 40px 44px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

/* Watermark */
.join-info-box::before {
    content: 'OTO';
    position: absolute;
    bottom: -20px; right: -10px;
    font-family: 'Playfair Display', serif;
    font-size: 110px;
    font-weight: 700;
    color: rgba(255,255,255,0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: -4px;
}

/* Żółty pasek */
.join-info-box::after {
    content: '';
    position: absolute;
    top: 0; left: 40px;
    width: 48px; height: 3px;
    background: var(--accent-yellow);
    border-radius: 0 0 3px 3px;
}

.join-small-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.join-info-box .join-small-label { color: var(--accent-yellow); }
.join-form-box .join-small-label { color: rgba(55,70,43,0.5); }

.join-grid .join-info-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    line-height: 1.18;
    font-weight: 500;
    color: #fff;
    margin-bottom: 36px;
}

/* Punkty */
.join-points {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.join-point-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    transition: background 0.2s ease;
}

.join-point-row:hover { background: rgba(255,255,255,0.07); }

.join-point-num {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--accent-yellow);
    line-height: 1;
    min-width: 36px;
    flex-shrink: 0;
    padding-top: 2px;
}

.join-point-text {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,0.82);
    margin: 0;
    padding-top: 4px;
}

/* Dolna część info-box: kto szuka? */
.join-info-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 14px;
}

.join-info-footer-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-yellow);
    flex-shrink: 0;
}

.join-info-footer-text {
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255,255,255,0.55);
}

.join-info-footer-text strong {
    display: block;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    margin-bottom: 2px;
}

/* ══════════════════════════════
   PRAWA KOLUMNA — FORMULARZ
   ══════════════════════════════ */
.join-form-box {
    background: #fff;
    border: 1px solid rgba(55,70,43,0.09);
    border-radius: 32px;
    padding: 48px 44px 44px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 48px rgba(55,70,43,0.06);
}

.join-form-box::after {
    content: '';
    position: absolute;
    top: 0; left: 44px;
    width: 48px; height: 3px;
    background: rgba(55,70,43,0.12);
    border-radius: 0 0 3px 3px;
}

.join-form-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    line-height: 1.18;
    font-weight: 500;
    color: var(--text-green-dark);
    margin-bottom: 32px;
}

/* Formularz */
.join-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(55,70,43,0.6);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1.5px solid rgba(55,70,43,0.13);
    background: #FAFAF8;
    border-radius: 14px;
    padding: 14px 18px;
    font-family: 'Geist', sans-serif;
    font-size: 15px;
    color: var(--text-green-dark);
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.2s;
    box-sizing: border-box;
    min-height: 52px;
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2337462B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 44px;
    cursor: pointer;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-yellow);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255,214,68,0.18);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(55,70,43,0.3);
}

/* Wybór obszaru — checkboxowe tagi */
.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.area-tag {
    display: none;
}

.area-tag-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1.5px solid rgba(55,70,43,0.14);
    background: #FAFAF8;
    font-size: 13px;
    font-weight: 600;
    color: rgba(55,70,43,0.65);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.area-tag-label:hover {
    border-color: rgba(55,70,43,0.3);
    color: var(--text-green-dark);
}

.area-tag:checked + .area-tag-label {
    background: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: var(--text-green-dark);
}

/* Submit */
.join-form-submit {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
}

.join-form .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 32px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
    border: none;
}

.join-form .btn-yellow {
    background: var(--accent-yellow);
    color: var(--text-green-dark);
}

.join-form .btn-yellow:hover {
    background: #f0c800;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,214,68,0.35);
}

.join-form .btn-yellow:active { transform: translateY(0); }

.join-form-note {
    font-size: 13px;
    color: rgba(55,70,43,0.4);
    line-height: 1.5;
}

/* Gwiazdka wymaganego pola */
.req-star {
    color: var(--accent-yellow);
    font-weight: 800;
}

/* Stan sukcesu po wysłaniu */
.join-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    padding: 48px 24px;
}

.join-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(55,70,43,0.08);
    border: 2px solid var(--accent-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-green-dark);
}

.join-success h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 500;
    color: var(--text-green-dark);
    margin: 0;
}

.join-success p {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(55,70,43,0.6);
    max-width: 340px;
    margin: 0;
}

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

/* ── REVEAL ── */
.join-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
                transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.join-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .join-grid { grid-template-columns: 1fr 1fr; }
    .join-perks-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
    .join-grid { grid-template-columns: 1fr; }
    .join-perks-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .join-hero { padding: 90px 0 0; }
    .join-perks-grid { grid-template-columns: 1fr; }
    .join-info-box, .join-form-box { padding: 32px 24px 28px; border-radius: 24px; }
    .form-row { grid-template-columns: 1fr; }
    .join-form-submit { flex-direction: column; align-items: flex-start; }
}
