/* ==========================================================================
   STYLE DEDYKOWANE: KONTAKT (SHARP BRAND EDITION)
   ========================================================================== */

/* --- 1. HERO --- */
.contact-hero {
    padding: 160px 20px 60px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(106, 13, 173, 0.05) 0%, transparent 70%);
}
.hero-title { 
    font-size: clamp(2.2rem, 4vw, 3.5rem); 
    margin-bottom: 20px; 
    line-height: 1.2; 
    color: var(--color-dark); 
    font-family: var(--font-head);
    font-weight: 700;
}
.hero-desc {
    font-size: 1.15rem;
    color: var(--color-dark);
    font-family: var(--font-body);
    max-width: 700px;
    margin: 0 auto;
}

/* --- 2. UKŁAD STRONY (GRID) --- */
.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

/* --- KOMUNIKATY PHP --- */
.msg-box {
    padding: 15px 20px;
    border-radius: 0; /* ZMIANA NA OSTRE KĄTY */
    margin-bottom: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-body);
}
.msg-box.success { background-color: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.msg-box.error { background-color: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* --- KOLUMNA FORMULARZA --- */
.form-heading {
    font-family: var(--font-head);
    font-size: 2.2rem;
    color: var(--color-accent-1);
    margin-bottom: 30px;
    font-weight: 700;
}

.form-group { margin-bottom: 25px; }
.form-group label {
    display: block; font-size: 0.95rem; font-weight: 700; color: var(--color-accent-1); margin-bottom: 10px; font-family: var(--font-head);
}

.form-group input, 
.form-group textarea {
    width: 100%; padding: 15px 20px;
    border: 1px solid rgba(15, 18, 25, 0.1); 
    border-radius: 0; /* ZMIANA NA OSTRE KĄTY */
    font-family: var(--font-body); font-size: 1rem; color: var(--color-dark); background: #fff;
    transition: 0.3s; outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(15, 18, 25, 0.4); font-style: italic; }
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--color-accent-2); 
    box-shadow: 0 0 0 1px var(--color-accent-2); /* Ostry obrys przy focusie */
}

/* --- RODO I ZGODY --- */
.legal-block { margin: 30px 0 40px; padding-top: 20px; border-top: 1px solid rgba(15, 18, 25, 0.05); }

.legal-text { 
    font-size: 0.85rem; 
    color: var(--color-dark); 
    opacity: 0.8;
    margin-bottom: 20px; 
    line-height: 1.6; 
    font-family: var(--font-body);
}

/* WYRÓŻNIENIE LINKU RODO */
.legal-text a {
    color: var(--color-accent-1); 
    font-weight: 700;             
    text-decoration: underline;   
    transition: color 0.3s;
}
.legal-text a:hover {
    color: var(--color-accent-2); 
}

/* Checkboxy */
.checkbox-container {
    display: block; position: relative; padding-left: 35px; margin-bottom: 20px;
    cursor: pointer; font-size: 0.85rem; color: var(--color-dark); line-height: 1.5; user-select: none;
    font-family: var(--font-body);
}
.checkbox-container input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkmark {
    position: absolute; top: 2px; left: 0; height: 20px; width: 20px;
    background-color: #fff; border: 1px solid rgba(15, 18, 25, 0.3); border-radius: 0; /* ZMIANA NA OSTRE KĄTY */ transition: 0.2s;
}
.checkbox-container:hover input ~ .checkmark { background-color: var(--bg-light); }
.checkbox-container input:checked ~ .checkmark { background-color: var(--color-accent-1); border-color: var(--color-accent-1); }
.checkmark:after { content: ""; position: absolute; display: none; }
.checkbox-container input:checked ~ .checkmark:after { display: block; }
.checkbox-container .checkmark:after {
    left: 7px; top: 3px; width: 5px; height: 10px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* --- KOLUMNA INFO (SIDEBAR - ELEGANCKIE ROZWIĄZANIE BRANDOWE) --- */
.info-column { display: flex; flex-direction: column; gap: 30px; }

.sidebar-info {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-accent-2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0; /* ZMIANA NA OSTRE KĄTY */
    padding: 40px;
    color: #fff;
    box-shadow: 0 20px 50px rgba(15, 18, 25, 0.2);
    position: relative;
    overflow: hidden;
}

/* Wewnętrzna dekoracyjna poświata */
.sidebar-info::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 0; /* ZMIANA NA OSTRE KĄTY */
    pointer-events: none;
}

.sidebar-cta-wrapper { margin-bottom: 30px; position: relative; z-index: 2; }

/* Przycisk w panelu - czysta biel dla kontrastu */
.sidebar-cta-wrapper .btn-prism {
    background: #fff !important;
    color: var(--color-dark) !important;
    border: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-radius: 0; /* ZMIANA NA OSTRE KĄTY */
}
.sidebar-cta-wrapper .btn-prism:hover {
    background: var(--color-gold) !important;
    color: var(--color-dark) !important;
    transform: translateY(-3px);
}

.full-width { width: 100%; display: block; text-align: center; }

.sidebar-info h3 {
    font-size: 1.4rem; color: #fff; margin-bottom: 15px; font-family: var(--font-head); font-weight: 700;
    position: relative; z-index: 1;
}

.divider {
    width: 50px; height: 3px; background: var(--color-gold); margin-bottom: 30px; border-radius: 0;
    position: relative; z-index: 1;
}

.info-group { margin-bottom: 20px; position: relative; z-index: 1; }
.info-label { 
    display: block; font-weight: 700; color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; margin-bottom: 5px; 
    text-transform: uppercase; letter-spacing: 1px; font-family: var(--font-head);
}
.info-text, .info-link { 
    display: block; color: #fff; font-size: 1.05rem; text-decoration: none; line-height: 1.5; font-family: var(--font-body); font-weight: 500;
}
.info-link:hover { color: var(--color-gold); text-decoration: underline; }

/* --- RWD --- */
@media (max-width: 992px) {
    .contact-layout { grid-template-columns: 1fr; gap: 60px; }
    .info-column { order: -1; }
    .hero-title { font-size: 2.5rem; }
}