/* Formularz „bezpłatna wycena” na zwykłych podstronach (30.11.2026, Igor: jak na landing page, 1:1, bez rabatu).
   Reguły bloku #wycena wycięte z lp-konserwacja-podwozia.css i zamknięte w .sd-wycena (wytnij_css.py), żeby nie mieszały się
   ze stylami strony. Źródło: repo IRON SCALE, klienci/01-surowy-detailing/strony/formularz-strony/. */

/* Odcięcie stylów strony (nagłówki Bebas wielkimi literami, odstępy liter, marginesy). Specyficzność .sd-wycena .lp-lead X
   wygrywa z regułami strony typu .ceramic-contact h2. */
.sd-wycena { font-family: var(--body); font-size: 16px; line-height: 1.5; color: var(--paper); text-align: left; }
.sd-wycena *, .sd-wycena *::before, .sd-wycena *::after { box-sizing: border-box; }
.sd-wycena .lp-lead :is(h2, p, label, a, span, strong, small, button, input) { text-transform: none; letter-spacing: normal; font-style: normal; text-shadow: none; }
.sd-wycena .lp-lead :is(h2, p) { margin: 0; }
.sd-wycena .lp-lead :is(h2, label, input, button) { font-family: var(--body); }
.sd-wycena .lp-lead a { text-decoration: none; }
.sd-wycena .lp-lead img { max-width: none; }

.sd-wycena { --bg: #fdfdfc;
  --surface: #f2f1ee;
  --card: #ffffff;
  --lead-bg: #222324;
  --paper: #121313;
  --muted: #5e5f5b;
  --gold: #d7b56d;
  --gold-hover: #e2c483;
  --gold-text: #8c6f36;
  --price: #17803d;
  --error: #b42318;
  --line: rgba(18, 19, 19, .12);
  --field: rgba(18, 19, 19, .24);
  --display: "Bebas Neue", "Arial Narrow", Arial, sans-serif;
  --body: "DM Sans", "DM Sans Fallback", Arial, sans-serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --radius: 4px;
  --pad: 16px; }
.sd-wycena .lp-btn { display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 20px;
  border-radius: var(--radius);
  font: 600 16px/1.1 var(--body);
  letter-spacing: .01em;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none; }
.sd-wycena .lp-btn-icon { width: 20px; height: 20px; flex: none; fill: currentColor; }
.sd-wycena .lp-btn:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }
.sd-wycena .lp-owner { display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "photo text" "exp exp";
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0 4px; }
.sd-wycena .lp-owner .lp-owner-photo { grid-area: photo; }
.sd-wycena .lp-owner .lp-owner-text { grid-area: text; }
.sd-wycena .lp-owner-exp { grid-area: exp;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(215, 181, 109, .5);
  border-radius: 999px;
  background: rgba(215, 181, 109, .12);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25; }
.sd-wycena .lp-owner-exp svg { flex: none; width: 18px; height: 18px; fill: var(--gold); }
@media (max-width: 599px) {
  .sd-wycena .lp-owner-exp { gap: 6px; padding: 6px 11px 6px 8px; font-size: min(14px, 3.45vw); white-space: nowrap; }
  .sd-wycena .lp-owner-exp svg { width: 16px; height: 16px; }
}
.sd-wycena .lp-owner-photo { flex: none;
  width: 64px;
  height: 64px;
  padding: 2px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, #efdcaa, #c9a252 50%, #a8843f);
  box-shadow: 0 6px 16px -8px rgba(140, 111, 54, .7); }
.sd-wycena .lp-owner-text { display: grid; gap: 3px; margin: 0; line-height: 1.2; }
.sd-wycena .lp-owner-text strong { font-size: 17px; font-weight: 700; color: #fff; }
.sd-wycena .lp-owner-text span { font-size: 14px; font-weight: 500; color: var(--gold); }
.sd-wycena .lp-owner-text .lp-owner-role { display: flex; align-items: center; gap: 10px; }
.sd-wycena .lp-owner-text .lp-avail { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #4ade80; }
.sd-wycena .lp-owner-text .lp-avail[hidden] { display: none; }
.sd-wycena .lp-avail-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
@media (prefers-reduced-motion: no-preference) {
  .sd-wycena .lp-avail-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(34, 197, 94, .6); animation: lp-pulse 2.2s ease-out infinite; }
}
@keyframes lp-pulse {0% { transform: scale(1); opacity: .6; }
  70%, 100% { transform: scale(3); opacity: 0; }}
.sd-wycena .lp-lead .lp-mark { position: relative; z-index: 0; isolation: isolate; white-space: nowrap; color: var(--gold); }
.sd-wycena .lp-mark::after { content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  bottom: -.1em;
  height: .3em;
  z-index: -1;
  opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10 C 48 4, 118 2, 197 7' stroke='%23d7b56d' stroke-width='6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transform-origin: left center; }
@media (prefers-reduced-motion: no-preference) {
  .sd-wycena .lp-mark::after { transform: scaleX(0); transition: transform 700ms var(--ease-out) 200ms; }
  .sd-wycena .lp-lead.is-seen .lp-mark::after { transform: scaleX(1); }
}
.sd-wycena .lp-lead { margin-top: 10px;
  padding: 24px 14px 18px;
  border: 4px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(var(--lead-bg), var(--lead-bg)) padding-box,
    linear-gradient(135deg, #efdcaa 0%, #c9a252 38%, #e8cf8e 62%, #a8843f 100%) border-box;
  box-shadow: 0 0 0 4px rgba(215, 181, 109, .16), 0 28px 56px -28px rgba(18, 19, 19, .7);
  scroll-margin-top: 12px; }
.sd-wycena .lp-lead h2 { margin: 0;
  font-weight: 600;
  font-size: clamp(24px, 6.6vw, 30px);
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance; }
.sd-wycena .lp-lead-error { margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: #fdecea;
  color: var(--error);
  font-size: 14px; }
.sd-wycena .lp-lead-error a { color: inherit; font-weight: 600; }
.sd-wycena .lp-lead h2 { padding: 0 4px; }
.sd-wycena .lp-form { display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: 20px 16px 18px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .8); }
.sd-wycena .lp-f { position: relative; min-width: 0; }
.sd-wycena .lp-field { display: block; padding: 0; margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--paper); }
.sd-wycena .lp-input { width: 100%;
  min-height: 56px;
  padding: 0 14px;
  border: 1px solid var(--field);
  border-radius: var(--radius);
  background: #fff;
  color: var(--paper);
  font: 17px var(--body);
  transition: border-color 160ms ease; }
.sd-wycena .lp-input::placeholder { color: #8a8a85; }
.sd-wycena .lp-input:focus { outline: 2px solid var(--gold-text); outline-offset: -1px; border-color: transparent; }
.sd-wycena .lp-input[aria-invalid] { border-color: var(--error); }
.sd-wycena .lp-tel { display: flex; }
.sd-wycena .lp-tel-prefix { display: grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid var(--field);
  border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 16px;
  font-weight: 500; }
.sd-wycena .lp-tel .lp-input { border-radius: 0 var(--radius) var(--radius) 0; }
.sd-wycena .lp-field-err { display: block; margin-top: 6px; color: var(--error); font-size: 13px; font-weight: 500; }
.sd-wycena .lp-field-err[hidden] { display: none; }
.sd-wycena .lp-submit { position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 72px;
  margin-top: 4px;
  padding: 10px 18px;
  border: 0;
  background: linear-gradient(180deg, #23a557 0%, #15803d 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: normal;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 14px 28px -12px rgba(21, 128, 61, .8); }
.sd-wycena .lp-submit-label { display: grid; gap: 3px; text-align: center; }
.sd-wycena .lp-submit-label strong { font-size: 18px; font-weight: 700; line-height: 1.15; }
.sd-wycena .lp-submit-label small { font-size: 15px; font-weight: 600; line-height: 1.15; color: #e4f7c9; }
@media (max-width: 419px) {
  .sd-wycena .lp-submit { padding: 10px 12px; }
  .sd-wycena .lp-submit .lp-btn-icon { display: none; }
  .sd-wycena .lp-submit-label strong { font-size: 17px; }
}
.sd-wycena .lp-submit .lp-btn-icon { width: 20px; height: 20px; }
.sd-wycena .lp-submit:disabled { opacity: .7; cursor: progress; }
.sd-wycena .lp-lead-call { margin: 20px 0 0; text-align: center; }
.sd-wycena .lp-lead-call .lp-end-phone { font-size: clamp(19px, 5.75vw, 36px); }
.sd-wycena .lp-legal { margin: 10px 0 0; text-align: center; font-size: 12px; line-height: 1.4; color: var(--muted); }
.sd-wycena .lp-legal a { color: inherit; }
.sd-wycena .lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sd-wycena .lp-lead-done { display: grid; justify-items: center; gap: 10px; padding: 12px 0 6px; text-align: center; }
.sd-wycena .lp-lead-done[hidden] { display: none; }
.sd-wycena .lp-done-icon { width: 52px; height: 52px; fill: var(--price); }
.sd-wycena .lp-lead-done p { margin: 0; color: var(--muted); }
.sd-wycena .lp-lead-done a { color: var(--paper); font-weight: 600; text-decoration: none; }
@media (prefers-reduced-motion: no-preference) {
  .sd-wycena .lp-lead-done:not([hidden]) .lp-done-icon { animation: lp-pop 420ms var(--ease-out) both; }
}
@keyframes lp-pop {from { opacity: 0; transform: scale(.9); }}
.sd-wycena .lp-lead h2 { color: #fff; }
.sd-wycena .lp-legal { color: rgba(255, 255, 255, .58); }
.sd-wycena .lp-lead-done h2 { color: #fff; }
.sd-wycena .lp-lead-done p { color: rgba(255, 255, 255, .7); }
.sd-wycena .lp-lead-done a { color: #fff; }
.sd-wycena .lp-lead .lp-done-icon { fill: #3fc874; }
.sd-wycena .lp-end-phone { display: inline-flex;
  align-items: center;
  gap: .3em;
  color: #fff;
  font-size: clamp(38px, 11.5vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
  text-decoration: none; }
.sd-wycena .lp-end-phone svg { flex: none; width: .78em; height: .78em; fill: var(--gold); }
.sd-wycena .lp-end-phone:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 6px; }
@media (min-width: 900px) {
  .sd-wycena { --pad: 40px; }
  .sd-wycena .lp-lead { grid-area: lead; margin-top: 12px; padding: 40px 36px 30px; }
  .sd-wycena .lp-lead-form, .sd-wycena .lp-lead-done { max-width: 600px; margin: 0 auto; }
  .sd-wycena .lp-owner { width: fit-content; margin: 0 auto 20px; grid-template-areas: "photo text" "photo exp"; row-gap: 8px; column-gap: 14px; }
  .sd-wycena .lp-owner .lp-owner-text { align-self: end; }
  .sd-wycena .lp-owner-exp { align-self: start; }
  .sd-wycena .lp-lead h2 { font-size: 32px; text-align: center; }
  .sd-wycena .lp-submit { min-height: 76px; }
  .sd-wycena .lp-submit-label strong { font-size: 20px; }
  .sd-wycena .lp-submit-label small { font-size: 16px; }
  .sd-wycena .lp-form { padding: 28px 28px 24px; margin-top: 22px; }
}

/* ---------- Miejsca na podstronach ---------- */
/* Po wysyłce (#wycena) blok zatrzymuje się pod przyklejonym nagłówkiem strony, nie pod nim. */
.sd-wycena .lp-lead { scroll-margin-top: 104px; }
/* Strona główna, „Pokaż nam auto” (Igor 30.11): jedna kolumna, nagłówek, formularz na całą szerokość, pod nim wyśrodkowany pasek
   z mocnym numerem (duże białe cyfry, ikona) po lewej i adresem po prawej. Numer z wnętrza bloku znika, żeby nie stał dwa razy. */
.layout-v2 .contact-hub-main.contact-hub-main--wycena { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "form" "kontakt"; column-gap: 0; row-gap: 0; }
.contact-hub-main--wycena .sd-wycena { grid-area: form; margin-top: clamp(30px, 3.4vw, 48px); }
.contact-hub-main--wycena .sd-wycena .lp-lead { margin-top: 0; }
.contact-hub-main--wycena .sd-wycena .lp-lead-call { display: none; }
.contact-hub-main--wycena .sd-wycena .lp-legal { margin-top: 16px; }
.sd-kontakt { grid-area: kontakt; justify-self: center; display: flex; align-items: center; justify-content: center; margin-top: clamp(26px, 3vw, 40px); padding: 22px clamp(22px, 3vw, 40px); border: 1px solid rgba(202, 166, 93, .32); background: rgba(255, 255, 255, .025); }
.sd-kontakt a { display: flex; align-items: center; gap: 16px; color: #f4f1e9; text-decoration: none; }
.layout-v2 .sd-kontakt .contact-hub-detail-icon { flex: none; width: 46px; height: 46px; color: var(--v2-gold, #caa65d); -webkit-mask-size: 30px 30px; mask-size: 30px 30px; }
.sd-kontakt__tel { padding-right: clamp(24px, 3.4vw, 48px); }
.sd-kontakt__tel strong { font-family: var(--display, "Bebas Neue", sans-serif); font-size: clamp(52px, 5.6vw, 80px); font-weight: 400; line-height: .9; letter-spacing: .02em; color: #fff; white-space: nowrap; }
.sd-kontakt__adres { padding-left: clamp(24px, 3.4vw, 48px); border-left: 1px solid rgba(202, 166, 93, .32); }
.sd-kontakt__adres-tekst { display: grid; gap: 2px; line-height: 1.25; }
.sd-kontakt__adres-tekst strong { font-family: var(--display, "Bebas Neue", sans-serif); font-size: 30px; font-weight: 400; letter-spacing: .03em; color: #fff; }
.sd-kontakt__adres-tekst > span { font-size: 14px; color: rgba(244, 241, 233, .72); }
.sd-kontakt__adres-tekst em { margin-top: 4px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--v2-gold, #caa65d); }
@media (hover: hover) {
  .sd-kontakt__tel:hover strong { color: var(--v2-gold, #caa65d); }
  .sd-kontakt__adres:hover em { text-decoration: underline; text-underline-offset: 3px; }
}
@media (max-width: 640px) {
  .sd-kontakt { justify-self: stretch; flex-direction: column; align-items: stretch; padding: 6px 18px; }
  .sd-kontakt a { justify-content: center; padding: 16px 0; }
  .sd-kontakt__tel { padding-right: 0; }
  .sd-kontakt__tel strong { font-size: clamp(44px, 13vw, 56px); }
  .sd-kontakt__adres { padding-left: 0; border-left: 0; border-top: 1px solid rgba(202, 166, 93, .32); }
}
.ceramic-contact-form-wrap.ceramic-contact-form-wrap--wycena { display: flex; flex-direction: column; justify-content: center; padding: clamp(14px, 2.2vw, 32px); }
.ceramic-contact-form-wrap--wycena .sd-wycena .lp-lead { margin-top: 0; }

/* Nagłówki i teksty wokół formularza na środku (Igor 30.11: „każdy nagłówek wyśrodkować wokół kontaktu, proste ułożenie, czytelne”). */
.contact-hub-main--wycena .contact-hub-heading { justify-self: center; text-align: center; }
.layout-v2 .contact-hub-main--wycena .contact-hub-heading > p:last-child { margin-right: auto; margin-left: auto; }
.ceramic-contact-copy--srodek { text-align: center; }
.ceramic-contact-copy--srodek > p:not(.ceramic-kicker) { margin-right: auto; margin-left: auto; }
.ceramic-contact-copy--srodek .ceramic-contact-phone { justify-content: center; }
.ceramic-contact-copy--srodek .ceramic-contact-phone span,
.ceramic-contact-copy--srodek .ceramic-contact-meta a { justify-items: center; }
.contact-page .contact-section-heading { flex-direction: column; align-items: center; justify-content: flex-start; gap: 0; text-align: center; }
.contact-conversion-grid--mapa .contact-visit-copy { text-align: center; }
.contact-conversion-grid--mapa .contact-visit-copy > p:not(.contact-kicker) { margin-right: auto; margin-left: auto; }
.contact-conversion-grid--mapa .contact-visit-copy > a { margin-right: auto; margin-left: auto; }

/* Kontakt (Igor 30.11): nagłówek z autem i formularz to jedna sekcja na czarnym tle nagłówka. Formularz bez złotej ramki i ciemnej
   karty, tło po całej szerokości, bez numeru w środku; pod nim pasek z numerem i adresem jak na stronie głównej. Dalej „Kontakt
   do studia” i dojazd z mapą. */
.contact-wycena { position: relative; z-index: 1; margin-top: clamp(-64px, -4.5vw, -28px); padding: 0 0 clamp(56px, 6vw, 96px); background: linear-gradient(transparent, #000 clamp(28px, 4.5vw, 64px)); }
.contact-wycena .sd-wycena .lp-lead { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.contact-wycena .sd-wycena .lp-lead-call { display: none; }
.contact-wycena .sd-wycena .lp-legal { margin-top: 16px; }
.contact-wycena .sd-kontakt { width: fit-content; margin: clamp(30px, 3.4vw, 44px) auto 0; }
@media (max-width: 640px) {
  .contact-wycena .sd-kontakt { width: auto; }
}
@media (min-width: 821px) {
  .contact-conversion-grid--mapa { grid-template-columns: 1fr; }
  .contact-conversion-grid--mapa .contact-visit-panel { grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); grid-template-rows: minmax(430px, auto); }
  .contact-conversion-grid--mapa .contact-page-map { min-height: 430px; border-top: 0; border-left: 1px solid rgba(215, 181, 109, .34); }
}
