/* ===================== CONTACT PAGE — 55-kontakt.css ===================== */

/* ─── Layout ─── */
.bc-kontakt-page {
    padding: 60px 0 120px;
}

.bc-kontakt-intro {
    text-align: center;
    padding: 0 0 60px;
}

/* Ukryj Bricks-generated h1 (post title) na stronie kontakt */
.page-id-41339 #brx-content h1:first-child,
.page-id-41339 .brxe-post-title {
    display: none !important;
}

.bc-kontakt-intro .bc-kontakt-title {
    font-family: 'NT Vanilla', Georgia, serif;
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #393029;
    margin: 0 0 10px;
    line-height: 140%;
}

.bc-kontakt-intro .bc-kontakt-sub {
    font-family: 'NT Vanilla', Georgia, serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #393029;
    margin: 0;
    line-height: 140%;
}

/* ─── Info row (kontakt | zdjęcie | godziny) ─── */
.bc-kontakt-info-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    max-width: 996px;
    margin: 0 auto 80px;
    padding: 60px 0;
}

/* lewa kolumna */
.bc-kontakt-left {
    flex: 0 0 262px;
}

.bc-kontakt-left h2,
.bc-kontakt-right h2 {
    font-family: 'NT Vanilla', Georgia, serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #2D2D2D;
    margin: 0 0 12px;
}

.bc-kontakt-left a.bc-email {
    display: block;
    font-family: 'Clarity City', 'Metropolis', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 160%;
    letter-spacing: 0.05em;
    text-decoration: underline;
    color: #A67C5B;
    margin-bottom: 4px;
}

.bc-kontakt-left .bc-phone {
    display: block;
    font-family: 'Clarity City', 'Metropolis', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 160%;
    letter-spacing: 0.05em;
    color: #A67C5B;
    text-decoration: none;
    margin-bottom: 24px;
}

.bc-kontakt-left .bc-adres-block {
    margin-bottom: 24px;
}

.bc-kontakt-left .bc-adres-block p {
    font-family: 'Clarity City', 'Metropolis', sans-serif;
    font-size: 20px;
    line-height: 160%;
    letter-spacing: 0.05em;
    color: #B0947E;
    margin: 0;
}

/* ikony social */
.bc-social-icons {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-top: 16px;
}

.bc-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #F5F2EE;
    color: #A67C5B;
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.bc-social-icons a:hover {
    background: #A67C5B;
    color: #fff;
}

.bc-social-icons svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* zdjęcie centralne */
.bc-kontakt-photo {
    flex: 0 0 auto;
}

/* Owal pionowy wg Figma: 283x364px, border-radius: 141px */
.bc-kontakt-photo img {
    width: 283px;
    height: 364px;
    border-radius: 141px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* prawa kolumna — godziny */
.bc-kontakt-right {
    flex: 0 0 200px;
    text-align: right;
}

.bc-hours-table {
    width: 100%;
    border-collapse: collapse;
}

.bc-hours-table tr td {
    font-family: 'Clarity City', 'Metropolis', sans-serif;
    font-size: 20px;
    line-height: 160%;
    letter-spacing: 0.05em;
    color: #B0947E;
    padding: 0;
}

.bc-hours-table tr td:first-child {
    color: #B0947E;
    text-align: left;
    padding-right: 0;
    white-space: nowrap;
    display: block;
}

.bc-hours-table tr td:last-child {
    font-weight: 700;
    text-align: right;
    display: block;
}

/* Każdy wiersz = blok: dzień nad godziną */
.bc-hours-table tr {
    display: block;
    margin-bottom: 8px;
    text-align: right;
}

.bc-hours-table .bc-hours-nieczynne td:last-child {
    font-weight: 700;
    color: #B0947E;
}

/* ─── Forms row ─── */
.bc-kontakt-forms-row {
    display: flex;
    flex-direction: row;
    gap: 24px;
    max-width: 996px;
    margin: 0 auto;
    align-items: flex-start;
}

.bc-form-panel {
    flex: 1 1 0;
    background: #F5F2EE;
    border-radius: 10px;
    padding: 48px 40px 40px;
}

.bc-form-panel h3 {
    font-family: 'NT Vanilla', Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #393029;
    text-align: center;
    margin: 0 0 6px;
    line-height: 130%;
    white-space: normal;
}

.bc-form-panel .bc-form-subtitle {
    font-family: 'Clarity City', 'Metropolis', sans-serif;
    font-size: 13px;
    color: #6b5c50;
    text-align: center;
    margin: 0 0 24px;
}

/* ─── CF7 reset — usuń <p> marginesy generowane przez CF7 ─── */
.bc-form-panel .wpcf7-form p {
    margin: 0 0 16px;
    padding: 0;
}

.bc-form-panel .wpcf7-form .bc-form-field {
    margin-bottom: 0;
}

.bc-form-panel .wpcf7-form .bc-form-field p {
    margin: 0 0 16px;
}

/* ─── Inputy tekstowe ─── */
.bc-form-panel .wpcf7-form .bc-form-field input[type="text"],
.bc-form-panel .wpcf7-form .bc-form-field input[type="email"],
.bc-form-panel .wpcf7-form .bc-form-field input[type="tel"],
.bc-form-panel .wpcf7-form .bc-form-field textarea,
.bc-form-panel .wpcf7-form .bc-form-field .wpcf7-form-control {
    width: 100%;
    border: 1px solid #d9cfc7;
    border-radius: 4px;
    padding: 12px 16px;
    font-family: 'Clarity City', 'Metropolis', sans-serif;
    font-size: 15px;
    color: #2D2D2D;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.bc-form-panel .wpcf7-form .bc-form-field input:focus,
.bc-form-panel .wpcf7-form .bc-form-field textarea:focus {
    outline: none;
    border-color: #A67C5B;
}

.bc-form-panel .wpcf7-form .bc-form-field textarea {
    min-height: 120px;
    resize: vertical;
}

/* ─── Pliki — 2 obok siebie ─── */
.bc-form-panel .bc-form-files {
    margin-bottom: 12px;
}

.bc-form-panel .bc-form-files p {
    display: flex;
    gap: 10px;
    margin: 0 !important;
}

.bc-form-panel .bc-form-files .wpcf7-form-control-wrap {
    flex: 1 1 0;
    min-width: 0;
}

.bc-form-panel .bc-form-files input[type="file"] {
    width: 100%;
    border: 1px solid #d9cfc7;
    border-radius: 4px;
    padding: 9px 10px;
    font-family: 'Clarity City', 'Metropolis', sans-serif;
    font-size: 12px;
    color: #6b5c50;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
}

/* ─── Acceptance + Submit — CF7 wrzuca oba w jeden <p> z <br> ─── */
.bc-form-panel .wpcf7-form > p:has(.wpcf7-acceptance) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 8px 0 0 !important;
}

/* <br> między checkboxem a submitem — ukryj */
.bc-form-panel .wpcf7-form > p:has(.wpcf7-acceptance) br {
    display: none;
}

.bc-form-panel .wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 16px;
    font-family: 'Clarity City', 'Metropolis', sans-serif;
    font-size: 13px;
    color: #6b5c50;
    line-height: 1.5;
    width: 100%;
}

.bc-form-panel .wpcf7-acceptance input[type="checkbox"] {
    margin-top: 3px;
    accent-color: #A67C5B;
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

/* ─── Submit — prostokąt, wycentrowany pod checkboxem ─── */
.bc-form-panel .wpcf7-form input[type="submit"] {
    display: block;
    width: auto;
    min-width: 160px;
    padding: 14px 40px;
    background: #A67C5B;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: 'Clarity City', 'Metropolis', sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
    line-height: 1;
    -webkit-appearance: none;
    appearance: none;
}

.bc-form-panel .wpcf7-form input[type="submit"]:hover {
    background: #8B6544;
}

/* ─── Response output ─── */
.bc-form-panel .wpcf7-response-output {
    font-family: 'Clarity City', 'Metropolis', sans-serif;
    font-size: 14px;
    margin-top: 12px;
    padding: 10px 16px;
    border-radius: 4px;
    border: 1px solid #A67C5B;
    color: #393029;
}

/* ─── Validation errors ─── */
.bc-form-panel .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #c0392b;
    margin-top: 4px;
    display: block;
}

/* ─── Mobile ─── */
@media (max-width: 860px) {
    .bc-kontakt-info-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }
    .bc-kontakt-right {
        text-align: center;
    }
    .bc-kontakt-forms-row {
        flex-direction: column;
    }
    .bc-social-icons {
        justify-content: center;
    }
    .bc-kontakt-left .bc-adres-block p,
    .bc-kontakt-left .bc-email,
    .bc-kontakt-left .bc-phone {
        text-align: center;
    }
}
