/* ============================================================
   PODSTRONA KONTAKT — REDESIGN
   ============================================================ */

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

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

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

.contact-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

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

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

.contact-hero-content p:last-child {
    font-size: 18px;
    line-height: 1.75;
    color: rgba(74,74,74,0.7);
    max-width: 580px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(18px);
    animation: contact-in 0.65s cubic-bezier(0.22,1,0.36,1) 0.32s forwards;
}

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

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

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

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

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

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

.contact-small-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-yellow);
    margin-bottom: 8px;
}

/* Lista danych kontaktowych */
.contact-info-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 500;
    color: #fff;
    margin-bottom: 28px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 36px;
}

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

.contact-info-row:hover {
    background: rgba(255,255,255,0.07);
}

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

.contact-info-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.contact-info-content span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,0.45);
}

.contact-info-content a,
.contact-info-content p {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    line-height: 1.5;
    margin: 0;
    word-break: break-word;
}

.contact-info-content a:hover {
    color: var(--accent-yellow);
}

/* Divider */
.contact-info-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 8px 0 24px;
}

/* Social media */
.contact-socials {
    display: flex;
    gap: 10px;
}

.contact-socials a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
}

.contact-socials a:hover {
    background: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: var(--text-green-dark);
    transform: translateY(-3px);
}

/* ══════════════════════════════
   PRAWA KOLUMNA — FORMULARZ
   ══════════════════════════════ */
.contact-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);
}

.contact-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;
}

.contact-form-box .contact-small-label {
    color: rgba(55,70,43,0.55);
}

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

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

.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 {
    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 ease, box-shadow 0.25s ease, background 0.2s;
    box-sizing: border-box;
    min-height: 52px;
}

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

.form-group input:focus,
.form-group textarea: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);
}

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

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

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

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

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

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

/* ── REVEAL ANIMACJE ── */
.contact-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);
}
.contact-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .contact-hero { padding: 100px 0 56px; }
    .contact-hero-content h1 { font-size: 40px; }

    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-box,
    .contact-form-box {
        padding: 36px 28px 32px;
    }

    .contact-info-box h2,
    .contact-form-box h2 { font-size: 28px; }

    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .contact-hero { padding: 80px 0 40px; }
    .contact-info-box,
    .contact-form-box { border-radius: 24px; padding: 28px 22px; }
}
