/* =========================================================
   START. – startwnieruchomosci.pl
   Wygląd → Dostosuj → Dodatkowy CSS  (wklej cały plik)
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Raleway:wght@300;400;600&display=swap");

html,
body.sw-start-page {
    margin: 0;
    padding: 0;
    background: #f6f3ef;
}

:root {
    --sw-ink: #272628;
    --sw-muted: #2d2a2d;
    --sw-gold: #f0c94d;
    --sw-btn: #641c31;
    --sw-btn-border: #d4bfa3;
    --sw-page: #f6f3ef;
    --sw-input: #14203b;
}

/* Schowaj zbędne elementy motywu na stronie głównej */
.home .wp-site-blocks > header,
.home .wp-block-template-part,
.home footer.wp-block-template-part,
.home .site-header,
.home .site-footer,
.home .entry-header,
.home .wp-block-post-title,
.home .page-title {
    display: none;
}

.home .entry-content,
.home .wp-block-post-content,
.home main,
.home .wp-block-group {
    margin: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    width: 100%;
}

.sw-start {
    font-family: Raleway, sans-serif;
    color: var(--sw-muted);
    background: var(--sw-page);
    margin: 0;
}

.sw-dot {
    display: inline-block;
    width: 0.22em;
    height: 0.22em;
    margin-left: 0.08em;
    border-radius: 50%;
    background: var(--sw-gold);
    flex-shrink: 0;
    position: relative;
    top: 0.28em;
}

/* Baner Bridge / skyline wyłączony — zostaje sam content */
.sw-hero,
.title_outer,
.qode_page_title,
.qode-page-header,
.sw-aside {
    display: none !important;
}

/* ----- Treść ----- */
.sw-main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 56px 24px 80px;
}

.sw-copy {
    max-width: 720px;
}

.sw-logo {
    display: flex;
    align-items: center;
    margin: 0 0 18px;
    color: var(--sw-ink);
    font-family: inherit;
    font-size: clamp(48px, 9vw, 92px);
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
}

.sw-lead {
    margin: 0 0 22px;
    max-width: 36em;
    color: var(--sw-muted);
    font-family: Raleway, sans-serif;
    font-size: clamp(18px, 2.1vw, 22px);
    font-weight: 400;
    line-height: 1.45;
}

.sw-body {
    max-width: 38em;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.65;
}

.sw-body p {
    margin: 0 0 1.1em;
}

.sw-body strong {
    font-weight: 600;
}

.sw-mark {
    display: inline-flex;
    align-items: center;
    color: var(--sw-ink);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ----- Formularz (jak start-dot / Bridge CF7) ----- */
.sw-form-wrap {
    margin-top: 28px;
    max-width: none;
    width: 100%;
}

.qode-cf-two-columns-inner,
.sw-form-wrap .qode-cf-two-columns-inner {
    display: flex;
    align-items: flex-start;
    column-gap: 30px;
}

.qode-cf-left,
.qode-cf-right {
    width: 50%;
    flex-shrink: 0;
    box-sizing: border-box;
}

.sw-form-wrap .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.sw-form-wrap input.wpcf7-text,
.sw-form-wrap input.wpcf7-email,
.sw-form-wrap input[type="text"],
.sw-form-wrap input[type="email"],
.sw-form-wrap input[type="tel"],
.sw-form-wrap textarea.wpcf7-textarea {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 5px 0 27px;
    padding: 15px 15px 15px 7px;
    border: 1px solid #ddd;
    background: #fff;
    color: var(--sw-input);
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 17px;
}

.sw-form-wrap input.wpcf7-text,
.sw-form-wrap input.wpcf7-email,
.sw-form-wrap input[type="text"],
.sw-form-wrap input[type="email"],
.sw-form-wrap input[type="tel"] {
    height: 48px;
}

.sw-form-wrap textarea.wpcf7-textarea,
.sw-form-wrap textarea.qodef--adjusted-height {
    height: 124px;
    min-height: 124px;
    resize: vertical;
}

.sw-form-wrap .wpcf7-checkbox {
    margin: 21px 0 24px;
    display: inline-block;
}

.sw-form-wrap .wpcf7-list-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0;
}

.sw-form-wrap input[type="checkbox"] {
    flex-shrink: 0;
    margin: 4px 0 0;
    min-width: 16px;
    min-height: 16px;
}

.sw-form-wrap .wpcf7-list-item-label,
.sw-form-wrap .wpcf7-list-item label {
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0;
    line-height: 28px;
    color: var(--sw-muted);
}

.sw-rodo,
.sw-form-wrap .wpcf7-acceptance {
    display: block;
    margin: 0 0 18px;
}

.sw-rodo__box .wpcf7-checkbox,
.sw-rodo__box .wpcf7-list-item {
    margin: 3px 0 0;
}

.sw-rodo__text,
.sw-form-wrap .wpcf7-acceptance .wpcf7-list-item-label {
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 28px;
    color: var(--sw-muted);
}

.sw-rodo__text a,
.sw-form-wrap .wpcf7-acceptance a,
.sw-privacy-body a {
    color: var(--sw-ink);
    text-decoration: underline;
}

.sw-privacy-back {
    margin: 0 0 28px;
}

.sw-privacy-back a {
    color: var(--sw-ink);
    font-family: inherit;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
}

.sw-privacy-body {
    max-width: 42em;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.65;
}

.sw-privacy-body h2,
.sw-privacy-body h3 {
    margin: 1.4em 0 0.5em;
    font-size: 1.15em;
    font-weight: 600;
}

.sw-privacy-body ul {
    margin: 0 0 1em;
    padding-left: 1.2em;
}

.sw-form-wrap input.wpcf7-submit,
.sw-form-wrap input[type="submit"] {
    display: inline-block;
    margin: 8px 0 0;
    padding: 0 58px;
    min-height: 47px;
    border: 1px solid var(--sw-btn-border);
    background: var(--sw-btn);
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.sw-form-wrap input.wpcf7-submit:hover,
.sw-form-wrap input[type="submit"]:hover {
    background: #7a2e46;
}

@media only screen and (max-width: 768px) {
    .sw-main {
        padding: 32px 20px 56px;
    }

    .qode-cf-two-columns-inner,
    .sw-form-wrap .qode-cf-two-columns-inner {
        flex-direction: column;
        column-gap: 0;
    }

    .qode-cf-left,
    .qode-cf-right {
        width: 100%;
    }

    .qode-cf-right,
    .sw-form-wrap .qode-cf-right {
        text-align: center;
    }

    .sw-rodo {
        text-align: left;
    }

    .sw-form-wrap input.wpcf7-submit,
    .sw-form-wrap input[type="submit"] {
        display: block !important;
        width: fit-content !important;
        max-width: 100%;
        margin: 24px auto 0 !important;
        float: none !important;
    }
}
