/* REITER – formularz wyceny (zakładka Kontakt). Plik: /formularz/formularz.css */
#mapa, #dane-kontaktowe { scroll-margin-top: 500px; }
    #formularz { scroll-margin-top: 120px; }

    /* --- CSS GŁÓWNY --- */
    #reiter-contact-wrapper {
        font-family: 'Rajdhani', sans-serif; color: #333; max-width: 1100px;
        margin: 10px auto; padding: 0 20px; position: relative;
        box-sizing: border-box; overflow: hidden; overflow: clip;
    }
    /* nagłówki – żeby styl strony ich nie rozjaśniał */
    #reiter-contact-wrapper h2.title-lg, #reiter-contact-wrapper h2.expert-name, #reiter-contact-wrapper .rf-success h3 { font-weight: 700 !important; font-family: inherit; }
    .contact-grid {
        display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px;
        align-items: stretch; width: 100%;
    }
    .contact-card {
        background: #fff; border-radius: 30px; padding: 40px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.03); box-sizing: border-box;
        height: 100%; min-width: 0; width: 100%;
    }

    /* --- LEWA KOLUMNA (FORMULARZ) --- */
    .action-card { position: relative; border: 1px solid #eee; }
    /* lewa kolumna: karta z Przemkiem (telefon, status) + karta formularza */
    .rf-left { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
    .rf-left > .contact-card { height: auto; }
    .expert-section { padding: 22px 26px 20px; border: 1px solid #eee; text-align: left; }
    .expert-top { display: flex; align-items: center; gap: 16px; }
    .expert-section .office-status-box { margin: 7px 0 0; font-size: .76rem; padding: 5px 11px; }
    .expert-section .phone-btn { margin-top: 14px; }
    .expert-visit { margin: 10px 2px 0; font-size: .98rem; color: #555; line-height: 1.4; font-weight: 500; }
    .expert-avatar {
        width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
        border: 3px solid #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.1); flex-shrink: 0;
    }
    .expert-name { font-size: 1.3rem; font-weight: 700; color: #333; margin: 0; }
    .expert-role { font-size: 0.9rem; color: #a70f27; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

    .title-lg { font-size: 1.8rem; font-weight: 700; margin: 0 0 8px; line-height: 1.15; color: #222; }
    .subtitle { font-size: 1.08rem; color: #555; margin: 0 0 10px; font-weight: 500; line-height: 1.45; }
    .rf-prep { font-size: 1rem; color: #555; margin: 0 0 18px; line-height: 1.4; }
    .rf-prep strong { color: #222; }



    .rf-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; background: #9a9a9a; }
    .rf-dot--open { background: #1e9e45; box-shadow: 0 0 0 4px rgba(30,158,69,.15); }
    .rf-dot--vac { background: #d4a017; }

    /* Pasek kroków */
    .rf-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
    .rf-progress li { font-size: 0.85rem; font-weight: 700; color: #b0b0b0; text-transform: uppercase; letter-spacing: .5px; }
    .rf-progress li::before { content: ''; display: block; height: 5px; border-radius: 5px; background: #eee; margin-bottom: 7px; transition: background .25s; }
    .rf-progress li.is-current, .rf-progress li.is-done { color: #333; }
    .rf-progress li.is-current::before, .rf-progress li.is-done::before { background: #a70f27; }
    .rf-progress-caption { display: none; font-size: .95rem; font-weight: 700; color: #333; margin: -14px 0 18px; }
    .rf-progress-caption span { color: #a70f27; }

    .rf-form, .rf-success { text-align: left; }
    .rf-step { border: 0; padding: 0; margin: 0; min-width: 0; }
    .rf-step[hidden], .rf-cond[hidden], .rf-success[hidden], .rf-form[hidden], .rf-hide { display: none !important; }
    .rf-legend { font-size: 1.4rem; font-weight: 700; color: #222; padding: 0; margin: 0 0 4px; outline: none; }
    .rf-hint { color: #777; font-size: 0.98rem; margin: 0 0 16px; line-height: 1.4; transition: color .2s; }
    .rf-hint.is-flash { color: #a70f27; font-weight: 700; }
    .rf-req { color: #a70f27; font-size: .82rem; font-weight: 700; text-transform: none; letter-spacing: 0; margin-left: 4px; white-space: nowrap; }
    .rf-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

    /* Kafelki (krok 1) */
    .rf-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .rf-tile { position: relative; cursor: pointer; display: block; }
    .rf-tile-box {
        position: relative; display: flex; flex-direction: column; text-align: center;
        border: 1px solid #e6e6e6; border-radius: 16px; background: #fff; overflow: hidden;
        height: 100%; box-sizing: border-box; transition: border-color .15s, box-shadow .2s, transform .2s;
    }
    .rf-tile input:checked + .rf-tile-box { border-color: #a70f27; }
    .rf-tile input:focus-visible + .rf-tile-box { outline: 3px solid rgba(167,15,39,.35); outline-offset: 2px; }
    .rf-tile-img { position: relative; display: block; height: 125px; background: #fff; overflow: hidden; }
    .rf-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
    .rf-tile-img--other { display: flex; align-items: center; justify-content: center; background: #f6f6f6; }
    .rf-tile-img--other svg { width: 40px; height: 40px; fill: none; stroke: #a0a0a0; stroke-width: 2; stroke-linecap: round; }
    .rf-tile-body { display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 10px 8px 12px; border-top: 1px solid #f4f4f4; flex: 1; transition: background .15s; }
    .rf-tile input:checked + .rf-tile-box .rf-tile-body { background: #fdf4f5; }
    .rf-tile-name { font-weight: 700; font-size: 1.12rem; color: #222; line-height: 1.15; }
    .rf-tile input:checked + .rf-tile-box .rf-tile-name { color: #a70f27; }
    .rf-tile-desc { font-size: 0.88rem; color: #888; line-height: 1.2; font-weight: 500; }
    /* "Coś innego" – szeroki, niski kafelek na całą szerokość */
    .rf-tile--wide { grid-column: 1 / -1; }
    .rf-tile--wide .rf-tile-box { flex-direction: row; align-items: stretch; text-align: left; }
    .rf-tile--wide .rf-tile-img { width: 90px; height: auto; min-height: 64px; flex-shrink: 0; }
    .rf-tile--wide .rf-tile-img--other svg { width: 30px; height: 30px; }
    .rf-tile--wide .rf-tile-body { border-top: 0; border-left: 1px solid #f4f4f4; padding: 12px 44px 12px 14px; align-items: flex-start; }

    /* Katalog modeli (krok 2) */
    .rf-gallery { display: grid; grid-template-columns: 1fr; gap: 10px; }
    .rf-mcard { position: relative; display: block; cursor: pointer; }
    .rf-mcard[hidden] { display: none; }
    .rf-mcard-box { position: relative; display: block; border: 1px solid #e6e6e6; border-radius: 14px; overflow: hidden; background: #fff; transition: border-color .15s, transform .2s, box-shadow .2s; }
    /* szeroki widok całego ogrodzenia – kadr na pas, w którym stoi ogrodzenie */
    .rf-mcard-img { display: block; overflow: hidden; aspect-ratio: 3 / 1; background: #fff; }
    .rf-mcard-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
    .rf-mcard-bar { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-top: 1px solid #f4f4f4; transition: background .15s; min-height: 26px; }
    .rf-mcard-bar .rf-check { position: static; flex-shrink: 0; }
    .rf-mcard-name { font-weight: 700; font-size: 1.12rem; color: #222; line-height: 1.1; }
    .rf-mcard input:checked + .rf-mcard-box { border-color: #a70f27; }
    .rf-mcard input:checked + .rf-mcard-box .rf-mcard-bar { background: #fdf4f5; }
    .rf-mcard input:checked + .rf-mcard-box .rf-mcard-name { color: #a70f27; }
    .rf-mcard input:focus-visible + .rf-mcard-box { outline: 3px solid rgba(167,15,39,.35); outline-offset: 2px; }
    .rf-mbadge { margin-left: auto; background: #fdf4f5; color: #a70f27; border: 1px solid #f0cdd3; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; padding: 3px 8px; border-radius: 20px; white-space: nowrap; }
    .rf-mbadge--seen { background: #a70f27; border-color: #a70f27; color: #fff; }  /* znaczek „Oglądane” */
    .rf-group { margin: 0 0 22px; }
    .rf-group-title { font-size: .95rem; font-weight: 700; color: #a70f27; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 1px solid #f0d9de; }
    .rf-group-title span { color: #888; text-transform: none; letter-spacing: 0; font-weight: 600; }
    .rf-picked { margin-top: 12px; font-size: 1rem; color: #555; line-height: 1.4; }
    .rf-picked strong { color: #a70f27; }

    /* Brama – zmieniające się zdjęcia */
    .rf-slides img { position: absolute; top: 0; left: 0; opacity: 0; animation: rfFade 9s infinite; }
    .rf-slides img:nth-child(2) { animation-delay: 3s; }
    .rf-slides img:nth-child(3) { animation-delay: 6s; }
    @keyframes rfFade { 0% { opacity: 0; } 4% { opacity: 1; } 33% { opacity: 1; } 37% { opacity: 0; } 100% { opacity: 0; } }
    @media (prefers-reduced-motion: reduce) {
        .rf-slides img { animation: none; }
        .rf-slides img:first-child { opacity: 1; }
    }

    /* Znaczek zaznaczenia */
    .rf-check {
        position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; z-index: 2;
        background: #a70f27; display: none; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff;
    }
    .rf-check::after { content: ''; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
    .rf-tile .rf-check, .rf-mcard .rf-check { display: flex; background: rgba(255,255,255,.92); box-shadow: inset 0 0 0 1.5px #c4c4c4; }
    .rf-tile .rf-check::after, .rf-mcard .rf-check::after { opacity: 0; }
    .rf-tile input:checked + .rf-tile-box .rf-check, .rf-mcard input:checked + .rf-mcard-box .rf-check { background: #a70f27; box-shadow: 0 0 0 2px #fff; }
    .rf-tile input:checked + .rf-tile-box .rf-check::after, .rf-mcard input:checked + .rf-mcard-box .rf-check::after { opacity: 1; }
    input:checked + .rf-type-box .rf-check { display: flex; }

    /* Pola */
    .rf-field { margin-bottom: 20px; }
    .rf-label { display: block; font-weight: 700; font-size: 1.08rem; color: #222; margin-bottom: 7px; line-height: 1.25; }
    .rf-label small { font-weight: 500; color: #999; font-size: .9rem; }
    .rf-input, .rf-select, .rf-textarea {
        width: 100%; box-sizing: border-box; font-family: inherit; font-size: 1.1rem; font-weight: 600;
        color: #222; padding: 13px 15px; border: 1px solid #dcdcdc; border-radius: 12px; background: #fff;
        transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
    }
    .rf-textarea { min-height: 110px; resize: vertical; line-height: 1.4; font-weight: 500; }
    .rf-textarea--big { min-height: 220px; font-size: 1.12rem; line-height: 1.5; margin-bottom: 8px; }
    .rf-link { display: inline-block; background: none; border: 0; padding: 4px 0; margin: 0 0 10px; font-family: inherit; font-size: 1rem; font-weight: 700; color: #a70f27; cursor: pointer; text-decoration: underline; }
    .rf-link[hidden] { display: none; }
    .rf-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23777' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
    .rf-input:focus, .rf-select:focus, .rf-textarea:focus { border-color: #a70f27; outline: none; box-shadow: 0 0 0 3px rgba(167,15,39,.12); }
    .rf-input::placeholder, .rf-textarea::placeholder { color: #b5b5b5; font-weight: 500; }
    [aria-invalid="true"] { border-color: #c0392b !important; }
    .rf-unit { position: relative; max-width: 220px; }
    .rf-unit .rf-input { padding-right: 50px; }
    .rf-unit span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: #888; font-weight: 700; pointer-events: none; }
    .rf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .rf-small { font-size: .92rem; color: #888; margin-top: 6px; line-height: 1.4; }

    /* Grupy (brama, zdjęcia, ogrodzenie) */
    .rf-cond { border-left: 3px solid #f1e3e6; padding: 2px 0 2px 16px; margin: 0 0 24px; }
    .rf-cond-title { font-size: .85rem; font-weight: 700; color: #a70f27; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }

    /* Rodzaj bramy – zdjęcia */
    .rf-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .rf-type { position: relative; cursor: pointer; display: block; }
    .rf-type-box { position: relative; display: flex; flex-direction: column; height: 100%; box-sizing: border-box; border: 1px solid #e6e6e6; border-radius: 12px; background: #fff; overflow: hidden; text-align: center; transition: border-color .15s; }
    .rf-type-box img, .rf-type-q { width: 100%; height: 82px; object-fit: cover; display: block; }
    .rf-type-q { display: flex; align-items: center; justify-content: center; background: #f6f6f6; color: #a0a0a0; font-size: 2.2rem; font-weight: 700; }
    .rf-type-name { display: block; font-weight: 700; font-size: 1rem; color: #222; padding: 7px 4px 0; line-height: 1.15; }
    .rf-type-desc { display: block; font-size: .82rem; color: #888; padding: 2px 4px 8px; line-height: 1.2; }
    .rf-type input:checked + .rf-type-box { border-color: #a70f27; background: #fdf4f5; }
    .rf-type input:checked + .rf-type-box .rf-type-name { color: #a70f27; }
    .rf-type input:focus-visible + .rf-type-box { outline: 3px solid rgba(167,15,39,.35); outline-offset: 2px; }

    /* Zdjęcia podjazdu */
    .rf-photos { display: flex; flex-wrap: wrap; gap: 10px; }
    .rf-photo, .rf-photo-add { position: relative; width: 104px; height: 104px; border-radius: 12px; overflow: hidden; box-sizing: border-box; flex-shrink: 0; }
    .rf-photo { border: 1px solid #e6e6e6; background: #f4f4f4; }
    .rf-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .rf-photo-wait { display: flex; align-items: center; justify-content: center; height: 100%; font-size: .85rem; color: #888; font-weight: 600; text-align: center; padding: 6px; box-sizing: border-box; }
    .rf-photo-del { position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 18px; line-height: 26px; padding: 0; cursor: pointer; font-family: inherit; }
    .rf-photo-add {
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer;
        border: 1px dashed #c48a95; background: #fdf8f9; color: #a70f27; font-weight: 700; font-size: .95rem; text-align: center; line-height: 1.1; padding: 6px;
    }
    .rf-photo-add:hover { background: #fbeef1; border-color: #a70f27; }
    .rf-photo-add svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .rf-photo-add--wide { width: 100%; height: auto; flex-direction: row; gap: 12px; padding: 18px 16px; font-size: 1.1rem; }
    #rf-zdjecia:focus-visible + .rf-photos .rf-photo-add { outline: 3px solid rgba(167,15,39,.35); outline-offset: 2px; }
    .rf-tip { background: #f7f7f7; border-radius: 12px; padding: 10px 14px; font-size: .95rem; color: #555; line-height: 1.4; margin: 0 0 12px; }
    .rf-tip strong { color: #222; }

    /* Pigułki (wybór jednej opcji) */
    .rf-pills { display: flex; flex-wrap: wrap; gap: 8px; }
    .rf-pill { position: relative; cursor: pointer; }
    .rf-pill > span {
        display: inline-block; padding: 10px 16px; border: 1px solid #dcdcdc; border-radius: 50px;
        font-weight: 700; font-size: 1.02rem; background: #fff; line-height: 1.2; color: #333;
        transition: border-color .15s, background .15s, color .15s;
    }
    .rf-pill input:checked + span { border-color: #a70f27; background: #fdf4f5; color: #a70f27; }
    .rf-pill input:focus-visible + span { outline: 3px solid rgba(167,15,39,.35); outline-offset: 2px; }


    /* Błędy */
    .rf-error { color: #c0392b; font-size: .95rem; font-weight: 700; margin-top: 7px; }
    .rf-error:empty { display: none; }
    .rf-form-error { margin-top: 16px; background: #fdecea; color: #a5281b; border-radius: 10px; padding: 12px 14px; font-weight: 600; line-height: 1.4; }
    .rf-form-error:empty { display: none; }
    .rf-form-error a { color: #a5281b; font-weight: 700; }

    /* Przyciski */
    .rf-nav-slot { margin-top: 26px; }
    .rf-nav { display: flex; gap: 12px; align-items: stretch; box-sizing: border-box; }
    /* przypięty do dołu ekranu (włącza go skrypt, gdy formularz jest na ekranie) */
    .rf-nav.is-floating { position: fixed; bottom: 0; z-index: 9990; background: #fff; padding: 10px 14px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); border-radius: 16px 16px 0 0; box-shadow: 0 -6px 24px rgba(0,0,0,.14); }
    .rf-btn {
        font-family: inherit; font-weight: 700; font-size: 1.25rem; border-radius: 12px; padding: 16px 22px;
        cursor: pointer; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; line-height: 1.1;
    }
    .rf-btn--primary { background: #a70f27; color: #fff; flex: 1; box-shadow: 0 8px 20px rgba(167,15,39,.25); }
    .rf-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(167,15,39,.35); }
    .rf-btn--ghost { background: #fff; color: #555; border-color: #e6e6e6; }
    .rf-btn--ghost:hover { border-color: #ccc; }
    .rf-btn[disabled] { opacity: .7; cursor: wait; transform: none; }
    .rf-privacy { font-size: .88rem; color: #888; line-height: 1.45; margin: 4px 0 0; }
    .rf-privacy a { color: #a70f27; }

    /* Po wysłaniu */
    .rf-success { padding: 10px 0 4px; text-align: center; }
    .rf-success-icon { width: 76px; height: 76px; border-radius: 50%; background: #e6f4ea; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
    .rf-success-icon svg { width: 38px; height: 38px; fill: none; stroke: #1e7e34; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
    .rf-success h3 { font-size: 1.7rem; margin: 0 0 10px; color: #222; outline: none; }
    .rf-success p { font-size: 1.1rem; color: #555; line-height: 1.5; margin: 0 auto 12px; max-width: 480px; }

    /* Telefon (druga opcja) */
    .office-status-box {
        display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px;
        border-radius: 50px; font-weight: 700; font-size: 0.82rem; text-transform: uppercase; margin-bottom: 12px;
    }
    .office-status-box .rf-dot { margin-top: 0; width: 8px; height: 8px; }
    .status-open { background: #e6f4ea; color: #1e7e34; border: 1px solid #c3e6cb; }
    .status-vacation { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
    .status-closed { background: #f4f4f4; color: #666; border: 1px solid #e4e4e4; }
    .phone-btn {
        display: flex; align-items: center; justify-content: center; gap: 12px;
        width: 100%; box-sizing: border-box; cursor: pointer; border-radius: 12px;
        font-family: 'Rajdhani', sans-serif; font-weight: 700; text-decoration: none;
        transition: transform 0.2s ease, background .2s; border: 1px solid #a70f27;
        background: #fff; color: #a70f27 !important; padding: 14px; font-size: 1.35rem;
    }
    .phone-btn:hover { transform: translateY(-2px); background: #fdf4f5; }
    .phone-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

    /* --- PRAWA KOLUMNA (INFO) --- */
    .info-card { text-align: left; gap: 35px; background: #fcfcfc; border: 1px solid #eee; padding: 30px; }
    .office-photo { width: 100%; height: 200px; object-fit: cover; border-radius: 15px; margin-bottom: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
    .info-group { border-bottom: 1px solid #f0f0f0; padding-bottom: 25px; }
    .info-group:last-child { border-bottom: none; padding-bottom: 0; }
    .info-group h3 { font-size: 0.85rem; margin: 0 0 8px 0; color: #999; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
    .info-text { font-size: 1.1rem; color: #333; font-weight: 600; line-height: 1.4; }
    .appointment-alert { margin-bottom: 15px; font-size: 0.9rem; color: #856404; background: #fff3cd; padding: 12px 15px; border-radius: 10px; border-left: 4px solid #ffeeba; line-height: 1.4; }
    .map-wrapper { width: 100%; height: 250px; border-radius: 15px; overflow: hidden; border: 1px solid #ddd; margin-top: 10px; }
    .map-wrapper iframe { width: 100%; height: 100%; border: 0; }
    .map-btn-google {
        display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; margin-bottom: 30px; text-decoration: none;
        background: #fff; color: #333; border: 1px solid #ddd; padding: 12px; border-radius: 50px; font-weight: 700; font-size: 0.9rem; box-shadow: 0 4px 10px rgba(0,0,0,0.08); transition: 0.3s;
    }
    .map-btn-google:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,0,0,0.12); border-color: #ccc; }

    /* efekty najechania tylko dla myszki (na telefonie się nie "przyklejają") */
    @media (hover: hover) {
        .rf-tile:hover .rf-tile-box { border-color: #d6d6d6; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.07); }
        .rf-tile:hover .rf-tile-img img { transform: scale(1.05); }
        .rf-mcard:hover .rf-mcard-box { border-color: #d6d6d6; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.06); }
        .rf-type:hover .rf-type-box { border-color: #d6d6d6; }
        .rf-pill:hover > span { border-color: #d6d6d6; }
        .rf-tile input:checked + .rf-tile-box, .rf-mcard input:checked + .rf-mcard-box { border-color: #a70f27; }
    }

    /* PODGLĄD (#debug) */
    #rf-debug { position: fixed; top: 10px; right: 10px; z-index: 2147483000; width: 290px; max-width: calc(100vw - 20px); background: #1f2226; color: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.35); font: 13px/1.35 Arial, sans-serif; }
    #rf-debug .rf-dbg-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 8px 12px; background: #a70f27; border-radius: 12px 12px 0 0; }
    #rf-debug.is-min .rf-dbg-head { border-radius: 12px; }
    #rf-debug.is-min .rf-dbg-body { display: none; }
    #rf-debug .rf-dbg-head button { background: rgba(255,255,255,.2); color: #fff; border: 0; border-radius: 6px; width: 26px; height: 24px; font-size: 16px; cursor: pointer; }
    #rf-debug .rf-dbg-body { padding: 10px 12px 12px; }
    #rf-debug .rf-dbg-now { background: #2e3237; border-radius: 8px; padding: 7px 9px; margin-bottom: 8px; font-weight: 700; }
    #rf-debug .rf-dbg-btns { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
    #rf-debug .rf-dbg-btns button { background: #3a3f45; color: #fff; border: 1px solid #50565d; border-radius: 6px; padding: 5px 8px; font: 12px Arial, sans-serif; cursor: pointer; }
    #rf-debug .rf-dbg-btns button.is-on { background: #fff; color: #a70f27; border-color: #fff; font-weight: 700; }
    #rf-debug .rf-dbg-info { color: #aab0b6; font-size: 12px; }

    /* MOBILE */
    @media (max-width: 800px) {
        #reiter-contact-wrapper { padding: 0 5px; margin-top: 20px; }
        .contact-grid { grid-template-columns: 1fr; gap: 14px; }
        .rf-left { gap: 14px; }
        .contact-card { padding: 20px 16px; }
        .action-card, .info-card, .expert-section { border-radius: 20px; }
        .expert-section { padding: 16px 16px 14px; }
        .expert-top { gap: 12px; }
        .expert-visit { font-size: .92rem; }
        .expert-avatar { width: 52px; height: 52px; border-width: 2px; }
        .expert-name { font-size: 1.12rem; }
        .subtitle { font-size: 1rem; }
        .title-lg { font-size: 1.55rem; }
        .rf-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
        .rf-tile-img { height: 105px; }
        .rf-tile-name { font-size: 1.05rem; }
        .rf-types { grid-template-columns: repeat(2, 1fr); }
        /* wzory na telefonie: prawie od krawędzi do krawędzi karty – większe zdjęcia, lepiej widać szczegóły */
        .rf-gallery { grid-template-columns: 1fr; gap: 8px; margin: 0 -13px; }
        .rf-group-title { margin-left: 0; margin-right: 0; }
        .rf-mcard-box { border-width: 1px; border-radius: 8px; }
        .rf-mcard-bar { padding: 7px 10px; }
        /* na telefonie: same paski + jeden napis "Krok 2 z 5: Brama" */
        .rf-progress { gap: 5px; margin-bottom: 22px; }
        .rf-progress li { font-size: 0; }
        .rf-progress li::before { margin-bottom: 0; }
        .rf-progress-caption { display: block; margin: -12px 0 16px; }
        /* przycisk Dalej zawsze pod kciukiem */
        .rf-nav-slot { margin-top: 18px; }
        .rf-nav.is-floating { border-radius: 0; }
        .rf-type-box img, .rf-type-q { height: 90px; }
        .rf-cond { padding-left: 12px; }
        .rf-photo, .rf-photo-add { width: calc(33.33% - 7px); height: auto; aspect-ratio: 1 / 1; }
        .rf-photo-add--wide { width: 100%; aspect-ratio: auto; }
        .rf-row { grid-template-columns: 1fr; gap: 0; }
        .rf-btn { font-size: 1.15rem; padding: 15px 16px; }
        .rf-btn--ghost { flex: 0 0 auto; }
    }

/* =====================================================================
   WARIANT B (ostre kształty) – formularz wyceny  · 30.10.2026
   Ścięte narożniki 45° (prawy górny + lewy dolny), ramki 1 px, bez cieni.
   Ukośne odcinki ramki rysuje gradient (--obrys = kolor ramki).
   ===================================================================== */
#reiter-contact-wrapper .rf-tile-box,
#reiter-contact-wrapper .rf-mcard-box,
#reiter-contact-wrapper .rf-type-box,
#reiter-contact-wrapper .rf-pill > span,
#reiter-contact-wrapper .rf-btn,
#reiter-contact-wrapper .rf-photo,
#reiter-contact-wrapper .rf-photo-add,
#reiter-contact-wrapper .office-status-box,
html body #reiter-contact-wrapper .phone-btn {
  --c: 10px;
  --obrys: #e2e2e2;
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
  border-color: var(--obrys);
  background-image:
    linear-gradient(225deg, var(--obrys) calc(var(--c) * 0.7071 + 1px), transparent 0),
    linear-gradient(45deg, var(--obrys) calc(var(--c) * 0.7071 + 1px), transparent 0);
  background-origin: border-box;
  background-repeat: no-repeat;
  box-shadow: none !important;
  transform: none !important;
}
#reiter-contact-wrapper .rf-tile-box,
#reiter-contact-wrapper .rf-mcard-box { --c: 16px; }
#reiter-contact-wrapper .rf-pill > span { --c: 8px; --obrys: #cfcfcf; }
#reiter-contact-wrapper .rf-photo-add { --obrys: #c48a95; background-image: none; }

/* wybrane */
#reiter-contact-wrapper .rf-tile input:checked + .rf-tile-box,
#reiter-contact-wrapper .rf-mcard input:checked + .rf-mcard-box,
#reiter-contact-wrapper .rf-type input:checked + .rf-type-box,
#reiter-contact-wrapper .rf-pill input:checked + span { --obrys: #a70f27; }
@media (hover: hover) {
  #reiter-contact-wrapper .rf-tile:hover .rf-tile-box,
  #reiter-contact-wrapper .rf-mcard:hover .rf-mcard-box { --obrys: #c9c9c9; }
}

/* znaczek zaznaczenia: kwadrat zamiast kółka */
#reiter-contact-wrapper .rf-check { border-radius: 0 !important; }

/* przyciski: Dalej / Wyślij – czerwony; Wstecz – z cienką ramką */
#reiter-contact-wrapper .rf-btn { border-width: 1px; border-style: solid; }
#reiter-contact-wrapper .rf-btn--primary { --obrys: #a70f27; background-color: #a70f27; }
#reiter-contact-wrapper .rf-btn--primary:hover { --obrys: #8a0c20; background-color: #8a0c20; }
#reiter-contact-wrapper .rf-btn--ghost { --obrys: #c9c9c9; background-color: #fff; color: #313733; }
#reiter-contact-wrapper .rf-btn--ghost:hover { --obrys: #a70f27; color: #a70f27; }

/* telefon w karcie Przemka: biały z czerwoną ramką (zostaje obrysowany, jak było ustalone) */
html body #reiter-contact-wrapper .phone-btn {
  --obrys: #a70f27;
  background-color: #fff !important;
  color: #a70f27 !important;
  border: 1px solid var(--obrys) !important;
  background-image:
    linear-gradient(225deg, var(--obrys) calc(var(--c) * 0.7071 + 1px), transparent 0),
    linear-gradient(45deg, var(--obrys) calc(var(--c) * 0.7071 + 1px), transparent 0) !important;
  background-origin: border-box !important;
  background-repeat: no-repeat !important;
}
html body #reiter-contact-wrapper .phone-btn:hover { background-color: #fdf4f5 !important; }

/* pływający pasek Wstecz/Dalej na telefonie: prosta krawędź, cienka linia zamiast cienia */
#reiter-contact-wrapper .rf-nav.is-floating { box-shadow: none !important; border-top: 1px solid #e2e2e2; }

/* =====================================================================
   31.10.2026 (wieczór) – kontakt dopasowany do reszty strony
   ===================================================================== */
/* ta sama szerokość co nagłówek „Kontakt” i reszta podstron (wcześniej węższy blok na środku) */
html body #reiter-contact-wrapper { max-width: none; margin: 10px 0 30px; padding: 0; }
/* zaznaczenie kafla: pełny kwadrat zamiast „ptaszka” */
html body #reiter-contact-wrapper .rf-check::after { width: 8px; height: 8px; border: 0; background: #fff; transform: none; }
/* po wysłaniu: bez zielonego kółka z „ptaszkiem” – wystarczy nagłówek */
html body #reiter-contact-wrapper .rf-success-icon { display: none; }
/* „Dojazd”: spokojna szara ramka z czerwoną kreską zamiast żółtego ostrzeżenia */
html body #reiter-contact-wrapper .appointment-alert { color: #444; background: #f3f3f3; border: 0; border-left: 3px solid #a70f27; border-radius: 0; padding: 12px 15px; font-size: .95rem; }
html body #reiter-contact-wrapper .r-kontakt-dopisek { margin-top: 6px; font-size: .9rem; font-weight: 600; color: #313733; }
/* mapa: szare tło, póki się wczytuje */
html body #reiter-contact-wrapper .map-wrapper { background: #eee; border-color: #e2e2e2; }
@media (max-width: 800px) {
  html body #reiter-contact-wrapper { padding: 0; margin-top: 16px; }
}
/* najwyżej 3 wzory – podpowiedź pod listą, gdy klient zaznacza czwarty (31.10.2026) */
html body #reiter-contact-wrapper .rf-limit { display: block; margin-top: 4px; color: #a70f27; font-weight: 600; }
html body #reiter-contact-wrapper .rf-pelne .rf-mcard input:not(:checked) + .rf-mcard-box { opacity: .45; }

    /* ikony zamiast zdjęć w kafelkach (1.11.2026): cała ikona widoczna, z oddechem od krawędzi */
    .rf-tile-img img.rf-ikona { object-fit: contain; padding: 22px 18px 14px; box-sizing: border-box; }
    .rf-type-box img.rf-ikona { object-fit: contain; padding: 14px 16px 8px; box-sizing: border-box; background: #fff; }
    .rf-type-q { background: #fff; }
    @media (hover: hover) and (pointer: fine) {
        .rf-tile:hover .rf-tile-img img.rf-ikona { transform: scale(1.04); }
    }
