/*
 * Rebrandy Cinematic – Global Styles
 * Font: DM Sans (Google Fonts)
 * Formularz rezerwacji [rebrandy_rezerwacja]
 */

/* =========================================================
   0. Import fontu DM Sans
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300;1,9..40,400&display=swap');

/* =========================================================
   1. Zmienne globalne
   ========================================================= */
:root {
  --rbf-gold:        #C9A96E;
  --rbf-gold-hover:  #ddb97a;
  --rbf-button-hover:#a7864f;
  --rbf-button-active:#8f7043;
  --rbf-gold-light:  rgba(201, 169, 110, 0.18);
  --rbf-border:      rgba(201, 169, 110, 0.22);
  --rbf-border-dim:  rgba(255, 255, 255, 0.08);
  --rbf-text:        #f2efe4;
  --rbf-muted:       rgba(242, 239, 228, 0.38);
  --rbf-input-bg:    rgba(255, 255, 255, 0.03);
  --rbf-radius:      0px;
  --rbf-transition:  0.22s ease;
  --rbf-font:        'DM Sans', sans-serif;
  --rbf-shadow-color: rgba(201, 169, 110, 0.3);
  --rbf-select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23C9A96E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

/* =========================================================
   2. Wrapper formularza
   ========================================================= */
.rbf-wrap {
  font-family: var(--rbf-font);
  color: var(--rbf-text);
  width: 100%;
}

.rbf-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* =========================================================
   3. Wiersze
   ========================================================= */
.rbf-row {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}

.rbf-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.rbf-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.rbf-row-rodo {
  margin-bottom: 32px;
}

.rbf-row-submit {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* =========================================================
   4. Pola formularza
   ========================================================= */
.rbf-field {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

/* Label – uppercase, mały, złoty */
.rbf-label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-family: var(--rbf-font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.2;
  color: var(--rbf-gold);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.rbf-label::before,
.rbf-label::after,
.rbf-stage-label::before,
.rbf-stage-label::after,
.rbf-stage-text::before,
.rbf-stage-text::after {
  content: none !important;
  display: none !important;
}

/* Input/Textarea */
.rbf-input {
  background: var(--rbf-input-bg);
  border: 1px solid var(--rbf-border-dim);
  border-radius: var(--rbf-radius) !important;
  color: var(--rbf-text);
  font-family: var(--rbf-font);
  font-size: 14px;
  font-weight: 300;
  padding: 13px 14px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  transition:
    border-color var(--rbf-transition),
    background var(--rbf-transition),
    box-shadow var(--rbf-transition);
  resize: none;
  -webkit-appearance: none;
  appearance: none;
}

.rbf-input::placeholder {
  color: var(--rbf-muted);
  font-style: normal;
  font-weight: 300;
}

.rbf-input:focus {
  border-color: var(--rbf-gold) !important;
  background: rgba(201, 169, 110, 0.05) !important;
  box-shadow: 0 0 0 1px var(--rbf-gold) !important;
  outline: none !important;
}

/* Custom Select Premium */
.rbf-custom-select {
  position: relative;
  width: 100%;
}

.rbf-cs-trigger {
  width: 100%;
  height: 52px;
  background: var(--rbf-input-bg);
  border: 1px solid var(--rbf-border);
  color: var(--rbf-text);
  font-family: var(--rbf-font);
  font-size: 13px;
  font-weight: 400;
  padding: 0 40px 0 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: var(--rbf-transition);
  position: relative;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rbf-cs-trigger::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 6px;
  background-image: var(--rbf-select-arrow);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: translateY(-50%);
  transition: transform 0.25s ease;
  pointer-events: none;
}

.rbf-custom-select.is-open .rbf-cs-trigger {
  border-color: var(--rbf-gold);
  box-shadow: 0 0 15px var(--rbf-shadow-color);
}

.rbf-custom-select.is-open .rbf-cs-trigger::after {
  transform: translateY(-50%) rotate(180deg);
}

.rbf-cs-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #15140f;
  border: 1px solid var(--rbf-gold);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.rbf-custom-select.is-open .rbf-cs-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rbf-cs-option {
  padding: 14px 16px;
  font-size: 12px;
  color: var(--rbf-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rbf-cs-option:hover {
  background: rgba(201, 169, 110, 0.1);
  color: var(--rbf-text);
  padding-left: 20px;
}

.rbf-cs-option.is-selected {
  background: var(--rbf-gold);
  color: #111009;
  font-weight: 600;
}

.rbf-other-field {
  display: none;
  margin-top: 12px;
  animation: rbfFadeIn 0.3s ease;
}

@keyframes rbfFadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.rbf-input.rbf-error {
  border-color: rgba(224, 82, 82, 0.6);
  box-shadow:
    0 0 0 1px rgba(224, 82, 82, 0.45),
    0 0 0 4px rgba(224, 82, 82, 0.08);
}

.rbf-textarea {
  min-height: 110px;
  line-height: 1.6;
}

/* =========================================================
   5. Etap projektu – prostokątne przyciski (jak na screenie)
   ========================================================= */
.rbf-stages {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 0;
}

.rbf-stage-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  position: relative;
  margin: 0;
  min-height: 38px;
}

.rbf-stage-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Styl przycisku jako prostokąt z borderem */
.rbf-stage-dot {
  display: none; /* ukrywamy stary dot */
}

.rbf-stage-text {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 38px;
  padding: 0 18px;
  margin: 0;
  font-family: var(--rbf-font) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--rbf-muted) !important;
  border: 1px solid var(--rbf-border-dim) !important;
  border-radius: var(--rbf-radius) !important;
  background: var(--rbf-input-bg) !important;
  line-height: 1 !important;
  transition:
    color var(--rbf-transition),
    border-color var(--rbf-transition),
    background var(--rbf-transition),
    box-shadow var(--rbf-transition);
  white-space: nowrap;
}

.rbf-stage-label:hover .rbf-stage-text {
  color: var(--rbf-text);
  border-color: rgba(201, 169, 110, 0.4);
  background: rgba(201, 169, 110, 0.06);
}

.rbf-stage-input:checked ~ .rbf-stage-text {
  color: #111009 !important;
  border-color: var(--rbf-gold) !important;
  background: var(--rbf-gold) !important;
  box-shadow: 0 0 15px var(--rbf-shadow-color) !important;
}

/* =========================================================
   6. Checkbox polityki prywatności
   ========================================================= */
.rbf-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.rbf-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.rbf-checkbox-box {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--rbf-border-dim);
  border-radius: 0;
  background: var(--rbf-input-bg);
  position: relative;
  transition:
    border-color var(--rbf-transition),
    background var(--rbf-transition),
    box-shadow var(--rbf-transition);
  margin-top: 3px;
}

.rbf-checkbox-box::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 4px;
  width: 5px;
  height: 8px;
  border: 1.5px solid var(--rbf-gold);
  border-top: none;
  border-left: none;
  transform: rotate(45deg) scale(0);
  transition: transform 0.18s ease;
}

.rbf-checkbox:checked ~ .rbf-checkbox-box {
  border-color: var(--rbf-gold);
  background: rgba(201, 169, 110, 0.1);
}

.rbf-checkbox:checked ~ .rbf-checkbox-box::after {
  transform: rotate(45deg) scale(1);
}

.rbf-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  margin-top: 14px;
}

.rbf-checkbox-item {
  display: flex;
  margin-bottom: 0;
}

.rbf-checkbox-text {
  font-family: var(--rbf-font);
  font-size: 12px;
  font-weight: 300;
  color: var(--rbf-muted);
  line-height: 1.65;
}

.rbf-link {
  color: var(--rbf-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(201, 169, 110, 0.5);
  transition: color var(--rbf-transition), text-decoration-color var(--rbf-transition);
}

.rbf-link:hover {
  color: var(--rbf-gold-hover);
  text-decoration-color: var(--rbf-gold-hover);
}

/* =========================================================
   7. Przycisk submit – wypełniony złotem z animacją
   ========================================================= */
.rbf-wrap .rbf-submit,
.rbf-form .rbf-row-submit .rbf-submit,
div.elementor-widget-container button.rbf-submit {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-height: 46px !important;
  padding: 12px 24px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: var(--rbf-gold) !important;
  color: #111009 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  position: relative !important;
  overflow: hidden !important;
  font-family: var(--rbf-font) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition:
    background var(--rbf-transition),
    box-shadow var(--rbf-transition),
    transform var(--rbf-transition),
    filter var(--rbf-transition) !important;
}

/* Shimmer sweep on hover */
.rbf-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 0.55s ease;
}

.rbf-submit:hover::before {
  left: 160%;
}

.rbf-wrap .rbf-submit:hover,
.rbf-wrap .rbf-submit:focus,
.rbf-wrap .rbf-submit:focus-visible {
  background-color: var(--rbf-button-hover) !important;
  color: #111009 !important;
  box-shadow:
    0 10px 28px rgba(201, 169, 110, 0.22),
    0 3px 10px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-2px) !important;
  filter: saturate(1.05) !important;
  outline: none !important;
}

.rbf-wrap .rbf-submit:active {
  background-color: var(--rbf-button-active) !important;
  transform: translateY(0) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18) !important;
}

/* Strzałka */
.rbf-submit-arrow {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  transition: transform 0.22s ease;
}

.rbf-submit:hover .rbf-submit-arrow {
  transform: translateX(5px);
}

/* Loader spinner (stan ładowania) */
.rbf-submit-loader {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(17, 16, 9, 0.25);
  border-top-color: #111009;
  border-radius: 50%;
  animation: rbf-spin 0.7s linear infinite;
  flex-shrink: 0;
}

.rbf-form.rbf-loading .rbf-submit-loader { display: block; }
.rbf-form.rbf-loading .rbf-submit-text   { opacity: 0.7; }
.rbf-form.rbf-loading .rbf-submit-arrow  { display: none; }
.rbf-form.rbf-loading .rbf-submit        { pointer-events: none; }

@keyframes rbf-spin {
  to { transform: rotate(360deg); }
}

/* =========================================================
   8. Status wysyłki
   ========================================================= */
.rbf-status {
  font-family: var(--rbf-font);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.rbf-status.rbf-status-visible {
  opacity: 1;
  transform: translateY(0);
}

.rbf-status.rbf-ok  { color: #7ecf8a; }
.rbf-status.rbf-err { color: #e07070; }

.rbf-submit-info {
  width: 100%;
  font-family: var(--rbf-font);
  font-size: 13px;
  color: var(--rbf-muted);
  margin-top: 10px;
  letter-spacing: 0.02em;
}

/* =========================================================
   9. Ścieżki kontaktu
   ========================================================= */
.rbh-wrap {
  width: 100%;
  color: var(--rbf-text);
  font-family: var(--rbf-font);
  background: transparent;
}

.rbh-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(201, 169, 110, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rbh-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 40px 36px 36px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
}

.rbh-card:last-child {
  border-right: none;
}

.rbh-card-topline {
  position: absolute;
  top: -1px;
  left: 0;
  width: 160px;
  max-width: 42%;
  height: 1px;
  background: rgba(201, 169, 110, 0.6);
}

.rbh-card-number {
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(242, 239, 228, 0.45);
  margin-bottom: 24px;
}

.rbh-card-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--rbf-gold);
  margin-bottom: 28px;
}

.rbh-card-icon svg {
  width: 38px;
  height: 38px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.rbh-card-eyebrow,
.rbh-panel-eyebrow,
.rbh-contact-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201, 169, 110, 0.82);
}

.rbh-card-eyebrow {
  margin-bottom: 16px;
}

.rbh-card-title {
  margin: 0 0 18px;
  font-size: 38px;
  line-height: 0.98;
  font-weight: 500;
  color: #f8f4ec;
}

.rbh-card-title-line {
  display: block;
}

.rbh-card-title-line-accent {
  font-style: italic;
  font-weight: 400;
}

.rbh-card-copy,
.rbh-panel-copy,
.rbh-contact-note {
  margin: 0;
  font-size: 16px;
  line-height: 1.72;
  color: rgba(242, 239, 228, 0.58);
}

.rbh-card-copy {
  max-width: 34ch;
  margin-bottom: 30px;
}

.rbh-wrap .rbh-card-button {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-height: 46px !important;
  margin-top: auto !important;
  padding: 12px 22px !important;
  border: 1px solid rgba(201, 169, 110, 0.34) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #e7d1a0 !important;
  font-family: var(--rbf-font) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition:
    color var(--rbf-transition),
    background var(--rbf-transition),
    border-color var(--rbf-transition),
    transform var(--rbf-transition),
    box-shadow var(--rbf-transition) !important;
}

.rbh-wrap .rbh-card-button:hover,
.rbh-wrap .rbh-card-button:focus-visible,
.rbh-wrap .rbh-card-button.is-active {
  border-color: rgba(201, 169, 110, 0.7) !important;
  color: #111009 !important;
  background: #c9a96e !important;
  box-shadow: 0 10px 24px rgba(201, 169, 110, 0.15) !important;
  transform: translateY(-1px) !important;
  outline: none !important;
}

.rbh-wrap .rbh-card-button-filled {
  background: #c9a96e !important;
  color: #111009 !important;
  border-color: #c9a96e !important;
}

.rbh-wrap .rbh-card-button-filled:hover,
.rbh-wrap .rbh-card-button-filled:focus-visible,
.rbh-wrap .rbh-card-button-filled.is-active {
  background: #a7864f !important;
  border-color: #a7864f !important;
}

.rbh-panel {
  margin-top: 32px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.015);
}

.rbh-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.rbh-panel-title {
  margin: 10px 0 10px;
  font-size: 32px;
  line-height: 1.04;
  font-weight: 500;
  color: #f8f4ec;
}

.rbh-panel-copy {
  max-width: 62ch;
}

.rbh-wrap .rbh-panel-close {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: transparent;
  color: rgba(242, 239, 228, 0.74);
  font-family: var(--rbf-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color var(--rbf-transition),
    color var(--rbf-transition),
    background var(--rbf-transition);
}

.rbh-wrap .rbh-panel-close:hover,
.rbh-wrap .rbh-panel-close:focus-visible {
  border-color: rgba(201, 169, 110, 0.42);
  color: var(--rbf-text);
  background: rgba(201, 169, 110, 0.06);
  outline: none;
}

.rbh-panel-body .rbf-form[hidden] {
  display: none !important;
}

.rbh-field-span-2 {
  grid-column: span 2;
}

.rbh-contact {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px 0 0;
}

.rbh-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.rbh-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.rbh-contact-item:last-child {
  border-right: none;
}

.rbh-contact-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  color: rgba(201, 169, 110, 0.85);
  flex-shrink: 0;
  margin-top: 2px;
}

.rbh-contact-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.rbh-contact-meta {
  min-width: 0;
}

.rbh-contact-label {
  margin-bottom: 6px;
}

.rbh-contact-value {
  color: #f5efe2;
  font-size: 16px;
  line-height: 1.45;
  text-decoration: none;
}

.rbh-contact-value:hover {
  color: #e7d1a0;
}

.rbh-contact-note {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(201, 169, 110, 0.66);
}

/* =========================================================
   10. Responsywność
   ========================================================= */
@media (max-width: 1180px) {
  .rbh-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rbh-card:nth-child(2) {
    border-right: none;
  }

  .rbh-card:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-right: none;
  }

  .rbh-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rbh-contact-item:nth-child(2) {
    border-right: none;
  }

  .rbh-contact-item:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 900px) {
  .rbf-row-3,
  .rbf-row-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .rbh-panel-head {
    flex-direction: column;
  }

  .rbh-panel-close {
    align-self: flex-start;
  }
}

@media (max-width: 600px) {
  .rbf-row-3,
  .rbf-row-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rbf-row {
    flex-direction: column;
    gap: 16px;
  }

  .rbf-stages {
    gap: 8px;
  }

  .rbf-stage-text {
    padding: 8px 14px;
    font-size: 9px;
  }

  .rbf-submit {
    width: 100%;
    justify-content: center;
  }

  .rbf-row-submit {
    flex-direction: column;
    align-items: stretch;
  }

  .rbf-checkbox-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rbh-grid,
  .rbh-contact-grid {
    grid-template-columns: 1fr;
  }

  .rbh-card,
  .rbh-card:nth-child(2),
  .rbh-card:nth-child(3),
  .rbh-contact-item {
    grid-column: auto;
    border-right: none;
  }

  .rbh-card + .rbh-card,
  .rbh-contact-item + .rbh-contact-item {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .rbh-card {
    padding: 28px 22px;
  }

  .rbh-card-title {
    font-size: 30px;
  }

  .rbh-card-copy,
  .rbh-panel-copy,
  .rbh-contact-value {
    font-size: 15px;
  }

  .rbh-card-button {
    width: 100%;
  }

  .rbh-panel {
    margin-top: 24px;
    padding: 22px 18px;
  }

  .rbh-field-span-2 {
    grid-column: auto;
  }

  .rbh-contact-item {
    padding: 16px 0;
  }

  .rbh-contact {
    gap: 14px;
  }
}

/* =========================================================
   11. B2B Architekci – wariant niebieski (#185fa5)
   ========================================================= */
.rbf-theme-blue {
  --rbf-gold: #185fa5;
  --rbf-gold-hover: #1e70c2;
  --rbf-gold-light: rgba(24, 95, 165, 0.18);
  --rbf-border: rgba(24, 95, 165, 0.22);
  --rbf-shadow-color: rgba(24, 95, 165, 0.3);
  --rbf-select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23185fa5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

/* THE THE the the the Etykiety the pozostają w The kolorze The the złotym the the the the! */
.rbf-theme-blue .rbf-label {
  color: #C9A96E !important;
}

/* Hardcodowane the transparentne The the rgb the pod the theme-blue dla the starych elements the The B2C the (inquiry) */
.rbf-theme-blue .rbf-stage-label:hover .rbf-stage-text {
  border-color: rgba(24, 95, 165, 0.4) !important;
  background: rgba(24, 95, 165, 0.06) !important;
}

.rbf-theme-blue .rbf-stage-input:checked ~ .rbf-stage-text {
  box-shadow: 0 0 12px rgba(24, 95, 165, 0.15) !important;
}

.rbf-theme-blue .rbf-checkbox:checked ~ .rbf-checkbox-box {
  background: rgba(24, 95, 165, 0.1) !important;
}

.rbf-theme-blue .rbf-link {
  text-decoration-color: rgba(24, 95, 165, 0.5) !important;
}

.rbf-theme-blue .rbf-input:focus {
  background: rgba(24, 95, 165, 0.05) !important;
}

/* Przycisk WYŚLIJ ZAPYTANIE pozostaje w kolorze złotym w THE rbf-theme-blue */
.rbf-theme-blue .rbf-submit {
  --rbf-gold: #C9A96E;
  --rbf-gold-light: rgba(201, 169, 110, 0.18);
  background-color: #C9A96E !important;
  color: #111009 !important;
  --rbf-button-hover: #a7864f;
  --rbf-button-active: #8f7043;
}
.rbf-theme-blue .rbf-submit:hover,
.rbf-theme-blue .rbf-submit:focus,
.rbf-theme-blue .rbf-submit:focus-visible {
  background-color: #a7864f !important;
  box-shadow: 0 10px 28px rgba(201, 169, 110, 0.22), 0 3px 10px rgba(0, 0, 0, 0.2) !important;
}

.rbf-theme-blue .rbf-submit:active {
  background-color: #8f7043 !important;
}

/* 3px border-left na wrapperze - USUNIĘTO NA PROŚBĘ UŻYTKOWNIKA */
.rbf-wrap.rbf-theme-blue {
  padding-left: 0;
}

/* Zwykłe kółeczka the radio do B2B the (jak na the screenie the) */
.rbf-theme-blue .rbf-b2b-stages {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}
.rbf-theme-blue .rbf-b2b-stage-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rbf-muted);
  font-family: var(--rbf-font);
  font-size: 13px;
  font-style: italic;
  cursor: pointer;
  margin: 0;
  transition: color var(--rbf-transition);
}
.rbf-theme-blue .rbf-b2b-stage-label:hover {
  color: #f2efe4;
}
.rbf-theme-blue .rbf-b2b-stage-input {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: transparent;
  margin: 0;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--rbf-transition);
}
.rbf-theme-blue .rbf-b2b-stage-input:checked {
  border-color: #185fa5;
}
.rbf-theme-blue .rbf-b2b-stage-input:checked::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #185fa5;
  border-radius: 50%;
}
.rbf-theme-blue .rbf-b2b-stage-input:checked ~ .rbf-b2b-stage-text {
  color: #f2efe4;
  font-style: normal;
}
.rbf-theme-blue .rbf-b2b-stage-text {
  transition: color var(--rbf-transition);
}

/* =========================================================
   12. Showroom – wariant formularza prezentacji
   ========================================================= */
.rbf-theme-showroom {
  --rbf-gold: #B8860C;
  --rbf-gold-hover: #D4A93A;
  --rbf-button-hover: rgba(184,134,12,0.08);
  --rbf-button-active: rgba(184,134,12,0.14);
  --rbf-gold-light: rgba(184,134,12,0.16);
  --rbf-border: rgba(184,134,12,0.18);
  --rbf-border-dim: rgba(184,134,12,0.14);
  --rbf-text: #E4DDD0;
  --rbf-muted: #9A9088;
  --rbf-input-bg: #131313;
  --rbf-shadow-color: rgba(184,134,12,0.14);
  --rbf-select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23B8860C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

.rbf-theme-showroom .rbf-row {
  margin-bottom: 16px;
}

.rbf-theme-showroom .rbf-row-2 {
  gap: 16px;
  margin-bottom: 16px;
}

.rbf-theme-showroom .rbf-label {
  color: var(--rbf-gold);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  opacity: 0.72;
  margin-bottom: 8px;
}

.rbf-theme-showroom .rbf-label span {
  color: rgba(154,144,136,0.76);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: none;
}

.rbf-theme-showroom .rbf-input,
.rbf-theme-showroom .rbf-cs-trigger {
  min-height: 48px;
  border-color: var(--rbf-border);
  background: var(--rbf-input-bg);
  color: var(--rbf-text);
  font-size: 13.5px;
  font-weight: 300;
  padding: 14px 16px;
}

.rbf-theme-showroom .rbf-cs-trigger {
  height: 48px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.rbf-theme-showroom .rbf-input:focus,
.rbf-theme-showroom .rbf-cs-trigger.rbf-error,
.rbf-theme-showroom .rbf-custom-select.is-open .rbf-cs-trigger {
  background: #161616 !important;
  border-color: rgba(184,134,12,0.5) !important;
  box-shadow: none !important;
}

.rbf-theme-showroom .rbf-textarea {
  min-height: 120px;
  line-height: 1.7;
}

.rbf-theme-showroom .rbf-cs-options {
  background: #131313;
  border-color: rgba(184,134,12,0.5);
}

.rbf-theme-showroom .rbf-cs-option {
  color: var(--rbf-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.rbf-theme-showroom .rbf-cs-option:hover {
  background: rgba(184,134,12,0.08);
  color: var(--rbf-text);
}

.rbf-theme-showroom .rbf-cs-option.is-selected {
  background: rgba(184,134,12,0.14);
  color: var(--rbf-gold);
  font-weight: 500;
}

.rbf-theme-showroom .rbf-showroom-divider {
  height: 1px;
  margin: 24px 0;
  background: rgba(184,134,12,0.08);
}

.rbf-theme-showroom .rbf-checkbox-label {
  gap: 14px;
}

.rbf-theme-showroom .rbf-checkbox-box {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-color: rgba(184,134,12,0.28);
  background: var(--rbf-input-bg);
}

.rbf-theme-showroom .rbf-checkbox:checked ~ .rbf-checkbox-box {
  background: rgba(184,134,12,0.12);
  border-color: var(--rbf-gold);
}

.rbf-theme-showroom .rbf-checkbox-box::after {
  top: 2px;
  left: 5px;
}

.rbf-theme-showroom .rbf-checkbox-text {
  color: var(--rbf-muted);
  font-size: 12.5px;
  line-height: 1.72;
}

.rbf-theme-showroom .rbf-checkbox-text strong {
  color: var(--rbf-text);
  font-weight: 400;
}

.rbf-theme-showroom .rbf-row-submit {
  margin-bottom: 0;
}

.rbf-theme-showroom .rbf-submit,
.rbf-theme-showroom .rbf-row-submit .rbf-submit,
div.elementor-widget-container .rbf-theme-showroom button.rbf-submit {
  width: 100% !important;
  min-height: 48px !important;
  border: 1px solid var(--rbf-gold) !important;
  background: transparent !important;
  color: var(--rbf-gold) !important;
  box-shadow: none !important;
  transform: none !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
}

.rbf-theme-showroom .rbf-submit::before {
  display: none !important;
}

.rbf-theme-showroom .rbf-submit:hover,
.rbf-theme-showroom .rbf-submit:focus,
.rbf-theme-showroom .rbf-submit:focus-visible {
  background: rgba(184,134,12,0.08) !important;
  color: var(--rbf-gold) !important;
  box-shadow: none !important;
  transform: none !important;
}

.rbf-theme-showroom .rbf-submit:active {
  background: rgba(184,134,12,0.14) !important;
  transform: none !important;
}

.rbf-theme-showroom .rbf-submit:disabled,
.rbf-theme-showroom .rbf-submit[aria-disabled="true"] {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
}

.rbf-theme-showroom .rbf-showroom-footnote {
  margin: 14px 0 0;
  width: 100%;
  color: rgba(154,144,136,0.72);
  font-family: var(--rbf-font);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.65;
  text-align: center;
}

/* Prywatne kino: odrębny, zwarty wariant formularza z referencji strony. */
.rbf-theme-private-cinema .rbf-row,
.rbf-theme-private-cinema .rbf-row-2 {
  gap: 16px;
  margin-bottom: 16px;
}

.rbf-theme-private-cinema .rbf-label {
  margin-bottom: 0;
  color: rgba(184,134,12,0.55);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.rbf-theme-private-cinema .rbf-label span {
  margin-left: 4px;
  color: rgba(184,134,12,0.35);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
}

.rbf-theme-private-cinema .rbf-input,
.rbf-theme-private-cinema .rbf-cs-trigger {
  min-height: 48px;
  border: 1px solid rgba(184,134,12,0.18);
  background: #131313;
  color: #d8d1c8;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
}

.rbf-theme-private-cinema .rbf-cs-trigger {
  height: 48px;
  padding: 0 40px 0 16px;
}

.rbf-theme-private-cinema .rbf-input:focus,
.rbf-theme-private-cinema .rbf-custom-select.is-open .rbf-cs-trigger {
  border-color: rgba(184,134,12,0.55) !important;
  background: #131313 !important;
  box-shadow: none !important;
}

.rbf-theme-private-cinema .rbf-textarea {
  height: 120px;
  min-height: 120px;
  line-height: 1.6;
  resize: vertical;
}

.rbf-theme-private-cinema .rbf-row-submit {
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  margin-bottom: 0;
}

.rbf-theme-private-cinema .rbf-row-project {
  margin-bottom: 0;
}

/* Keep the private-cinema form consent note beside its extended CTA on desktop. */
.rbf-theme-private-cinema .rbf-row-submit {
  flex-wrap: nowrap;
}
.rbf-theme-private-cinema .rbf-row-submit .rbf-showroom-footnote {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}
@media (max-width: 767px) {
  .rbf-theme-private-cinema .rbf-row-submit {
    flex-wrap: wrap;
  }
  .rbf-theme-private-cinema .rbf-row-submit .rbf-showroom-footnote {
    flex-basis: 100%;
  }
}

.rbf-theme-private-cinema .rbf-status:empty {
  display: none;
}

.rbf-theme-private-cinema .rbf-submit,
.rbf-theme-private-cinema .rbf-row-submit .rbf-submit,
div.elementor-widget-container .rbf-theme-private-cinema button.rbf-submit {
  width: auto !important;
  min-height: 46px !important;
  padding: 16px 32px !important;
  border: 0 !important;
  background: #B8860C !important;
  color: #080808 !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.2em !important;
}

.rbf-theme-private-cinema .rbf-submit::before {
  display: none !important;
}

.rbf-theme-private-cinema .rbf-submit:hover,
.rbf-theme-private-cinema .rbf-submit:focus,
.rbf-theme-private-cinema .rbf-submit:focus-visible {
  background: #9A7009 !important;
  color: #080808 !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

.rbf-theme-private-cinema .rbf-showroom-footnote {
  width: min(280px,100%);
  margin: 0;
  color: rgba(154,144,136,0.45);
  font-size: 11px;
  line-height: 1.5;
  text-align: left;
}

.rbf-theme-private-cinema .rbf-status {
  flex-basis: 100%;
}

/* Showroom page accents loaded with the showroom form shortcode. */
.elementor-page-2197 .cksh-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(184,134,12,0.14);
}
.elementor-page-2197 .cksh-inner {
  max-width: 1480px;
  margin-left: auto !important;
  margin-right: auto !important;
}
.elementor-page-2197 .cksh-h2 em,
.elementor-page-2197 .cksh-hero-h1 em,
.elementor-page-2197 .cksh-card-title em {
  color: #B8860C;
  font-style: italic;
}
.elementor-page-2197 .cksh-p p {
  margin: 0 0 18px;
}
.elementor-page-2197 .cksh-p p:last-child {
  margin-bottom: 0;
}
.elementor-page-2197 .cksh-hero {
  position: relative;
  overflow: hidden;
}
.elementor-page-2197 .cksh-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(8,8,8,0.96) 0%, rgba(8,8,8,0.76) 36%, rgba(8,8,8,0.32) 64%, rgba(8,8,8,0) 86%),
    linear-gradient(to top, rgba(8,8,8,0.78) 0%, rgba(8,8,8,0) 46%),
    linear-gradient(to bottom, rgba(8,8,8,0.44) 0%, rgba(8,8,8,0) 22%);
}
.elementor-page-2197 .cksh-hero-content {
  position: relative;
  z-index: 2;
}

.elementor-page-2197 .cksh-hero-cta .elementor-button,
.elementor-page-2197 .cksh-button .elementor-button {
  border-radius: 0 !important;
}
.elementor-page-2197 .cksh-hero-video .elementor-button {
  border-color: rgba(245,240,232,0.18) !important;
  color: #E4DDD0 !important;
  background: rgba(245,240,232,0.08) !important;
}

/* Prywatne kino: reset marginesów motywu wewnątrz natywnych widgetów tekstowych.
 * Elementor nie udostępnia kontroli nad marginesem znacznika <p>; odstępy między
 * wieloma akapitami pozostają jawnie zdefiniowane klasami sekcji. */
.elementor-page-227315 .pkv2-section .elementor-widget-text-editor p,
.elementor-page-237421 .pkv2-section .elementor-widget-text-editor p {
  margin: 0;
}

.elementor-page-227315 .pkv2-section .elementor-widget-text-editor p + p,
.elementor-page-237421 .pkv2-section .elementor-widget-text-editor p + p {
  margin-top: 14px;
}
.elementor-page-2197 .cksh-hero-video .elementor-button:hover {
  background: rgba(245,240,232,0.14) !important;
}
.elementor-page-2197 .cksh-fact,
.elementor-page-2197 .cksh-row {
  border-top: 1px solid rgba(184,134,12,0.10);
}
.elementor-page-2197 .cksh-fact:last-child,
.elementor-page-2197 .cksh-row:last-child {
  border-bottom: 1px solid rgba(184,134,12,0.10);
}
.elementor-page-2197 .cksh-fact-num,
.elementor-page-2197 .cksh-num {
  min-width: 34px;
  opacity: 0.72;
}
.elementor-page-2197 .cksh-fact-text {
  max-width: 760px;
}
.elementor-page-2197 .cksh-image-frame {
  overflow: hidden;
  background: #050505;
  position: relative;
}
.elementor-page-2197 .cksh-image-frame img,
.elementor-page-2197 .cksh-card-img img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 5s ease;
}
.elementor-page-2197 .cksh-image-frame:hover img,
.elementor-page-2197 .cksh-card:hover .cksh-card-img img {
  transform: scale(1.045);
}
.elementor-page-2197 .cksh-card {
  border: 1px solid rgba(184,134,12,0.10);
  height: 100%;
  overflow: hidden;
  transition: background 0.35s, border-color 0.35s;
}
.elementor-page-2197 .cksh-card:hover {
  background: #11100d;
  border-color: rgba(184,134,12,0.26);
}
.elementor-page-2197 .cksh-card-img {
  height: 260px;
  overflow: hidden;
}
.elementor-page-2197 .cksh-card-img img {
  height: 260px;
}
.elementor-page-2197 .cksh-card-grid-3 > .elementor-element {
  width: calc((100% - 4px) / 3);
}
.elementor-page-2197 .cksh-wide-photo img {
  height: 520px;
  object-fit: cover;
  object-position: center;
}
.elementor-page-2197 .cksh-film-frame img {
  height: 470px;
  object-fit: cover;
}
.elementor-page-2197 .cksh-sticky-image img {
  height: 760px;
  object-fit: cover;
}
.elementor-page-2197 .cksh-form-photo img {
  height: 360px;
  object-fit: cover;
}
.elementor-page-2197 .cksh-quote p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
}
.elementor-page-2197 .cksh-details .cksh-fact {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}
.elementor-page-2197 .cksh-details .cksh-fact-num {
  display: none;
}
.elementor-page-2197 .cksh-form-shortcode {
  width: 100%;
}
@media (max-width: 1024px) {
  .elementor-page-2197 .cksh-card-grid-3 > .elementor-element {
    width: 100%;
  }
  .elementor-page-2197 .cksh-wide-photo img,
  .elementor-page-2197 .cksh-film-frame img,
  .elementor-page-2197 .cksh-sticky-image img {
    height: auto;
    min-height: 0;
  }
  .elementor-page-2197 .cksh-card-img,
  .elementor-page-2197 .cksh-card-img img {
    height: 250px;
  }
}
@media (max-width: 767px) {
  .elementor-page-2197 .cksh-section {
    border-top-color: rgba(184,134,12,0.12);
  }
  .elementor-page-2197 .cksh-hero {
    background-position: center center !important;
  }
  .elementor-page-2197 .cksh-hero::before {
    background: linear-gradient(to bottom, rgba(8,8,8,0.35) 0%, rgba(8,8,8,0.18) 28%, rgba(8,8,8,0.82) 72%, rgba(8,8,8,0.95) 100%);
  }
  
  .elementor-page-2197 .cksh-h2 br {
    display: block;
  }
  .elementor-page-2197 .cksh-eyebrow {
    margin-bottom: 20px !important;
  }
  .elementor-page-2197 .cksh-fact,
  .elementor-page-2197 .cksh-row {
    gap: 16px !important;
  }
  .elementor-page-2197 .cksh-fact-num,
  .elementor-page-2197 .cksh-num {
    min-width: 28px;
  }
  .elementor-page-2197 .cksh-card-body {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }
  .elementor-page-2197 .cksh-card-img,
  .elementor-page-2197 .cksh-card-img img {
    height: 220px;
  }
  .elementor-page-2197 .cksh-side-note {
    padding-left: 18px !important;
  }
  .elementor-page-2197 .cksh-filter-box {
    width: 100% !important;
  }
  .elementor-page-2197 .cksh-form-photo img {
    height: 260px;
  }
}

/* Pole the na plik B2B */
.rbf-file-drop {
  border: 1px dashed rgba(255,255,255,0.08); /* defaultowo szary dash */
  border-radius: var(--rbf-radius) !important;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--rbf-muted);
  font-family: var(--rbf-font);
  font-size: 13px;
  font-style: italic;
  cursor: pointer;
  background: rgba(255,255,255,0.015);
  transition: all var(--rbf-transition);
  margin-bottom: 28px;
}
.rbf-theme-blue .rbf-file-drop {
  border-color: rgba(24, 95, 165, 0.2); /* delikatny the niebieski the the w the the the wariancie blue the */
}
.rbf-file-drop:hover {
  border-color: var(--rbf-gold);
  background: rgba(255,255,255,0.03);
  color: var(--rbf-text);
}
.rbf-theme-blue .rbf-file-drop:hover {
  border-color: rgba(24, 95, 165, 0.5);
  background: rgba(24, 95, 165, 0.05);
}
.rbf-file-drop-icon {
  width: 14px;
  height: 14px;
  color: var(--rbf-gold);
  flex-shrink: 0;
  display: inline-flex;
}
.rbf-theme-blue .rbf-file-drop .rbf-file-drop-icon {
  color: #185fa5;
}
.rbf-file-drop-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.rbf-file-input {
  display: none !important;
}
.rbf-file-name {
  color: var(--rbf-gold);
  margin-left: auto;
  font-weight: 500;
  font-style: normal;
}
.rbf-theme-blue .rbf-file-drop .rbf-file-name {
  color: #185fa5;
}

/* Wiersz z podziałem The 2 do 1 w the B2B */
.rbf-row-2-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
@media (max-width: 900px) {
  .rbf-row-2-1 {
    grid-template-columns: 1fr;
  }
}
