@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600&family=Inter:wght@400;500;600&display=swap');

.rscb-contact-root,
.rscb-contact-root *,
.rscb-modal,
.rscb-modal * {
  box-sizing: border-box;
}

.rscb-launcher {
  position: fixed;
  z-index: 999990;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 12px;
  border: 1px solid #080808;
  border-radius: 999px;
  background: #080808;
  color: #fff;
  box-shadow: 0 16px 44px rgba(0,0,0,.22);
  cursor: pointer;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .07em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform .25s ease, background-color .25s ease, color .25s ease;
}

.rscb-launcher:hover,
.rscb-launcher:focus-visible {
  background: #fff;
  color: #080808;
  outline: none;
  transform: translate(-50%, -3px);
}

.rscb-launcher__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #080808;
}

.rscb-launcher:hover .rscb-launcher__icon,
.rscb-launcher:focus-visible .rscb-launcher__icon {
  background: #080808;
  color: #fff;
}

.rscb-launcher__icon svg {
  width: 22px;
  height: 22px;
}

body.rscb-modal-open {
  overflow: hidden !important;
}

.rscb-modal[hidden] {
  display: none !important;
}

.rscb-modal {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 36px);
  font-family: Inter, Arial, sans-serif;
}

.rscb-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.rscb-panel {
  width: min(1180px, 100%);
  max-height: calc(100dvh - 28px);
  position: relative;
  overflow-y: auto;
  background: #fff;
  color: #080808;
  box-shadow: 0 30px 100px rgba(0,0,0,.32);
  animation: rscb-panel-in .32s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes rscb-panel-in {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
}

.rscb-close {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #080808;
  cursor: pointer;
  font: 400 38px/1 Arial, sans-serif;
}

.rscb-close:focus-visible {
  outline: 2px solid #080808;
  outline-offset: 2px;
}

.rscb-panel__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
}

.rscb-contact-details {
  min-height: 680px;
  padding: clamp(42px, 6vw, 78px);
  background: #080808;
  color: #fff;
}

.rscb-eyebrow {
  margin: 0 0 26px;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .17em;
  line-height: 1;
  text-transform: uppercase;
}

.rscb-contact-details h2 {
  max-width: 100%;
  margin: 0 0 28px;
  color: #fff;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(48px, 4.8vw, 72px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .95;
  overflow-wrap: break-word;
  text-transform: uppercase;
}

.rscb-intro {
  max-width: 470px;
  margin: 0 0 24px;
  color: rgba(255,255,255,.68);
  font-size: 15px;
  line-height: 1.7;
}

.rscb-inquiry-notice {
  max-width: 470px;
  margin: 0 0 42px;
  padding: 17px 18px;
  border-left: 3px solid #fff;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.65;
}

.rscb-inquiry-notice strong {
  color: #fff;
}

.rscb-detail {
  padding: 19px 0;
  border-top: 1px solid rgba(255,255,255,.18);
}

.rscb-detail__label {
  display: block;
  margin-bottom: 7px;
  color: rgba(255,255,255,.55);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.rscb-detail a,
.rscb-detail p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  text-decoration: none;
}

.rscb-detail a:hover,
.rscb-detail a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rscb-form-wrap {
  padding: clamp(56px, 6vw, 78px) clamp(28px, 6vw, 72px);
  background: #fff;
}

.rscb-form {
  display: grid;
  gap: 22px;
}

.rscb-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rscb-field label,
.rscb-label-row label {
  display: block;
  margin: 0 0 9px;
  color: #080808;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.rscb-label-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.rscb-count {
  color: #777;
  font-size: 12px;
}

.rscb-field input,
.rscb-field textarea {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid #c9c9c6;
  border-radius: 0;
  background: #fff;
  color: #080808;
  font: 400 16px/1.5 Inter, Arial, sans-serif;
  box-shadow: none;
}

.rscb-field textarea {
  min-height: 154px;
  resize: vertical;
}

.rscb-field input:focus,
.rscb-field textarea:focus {
  border-color: #080808;
  outline: 2px solid #080808;
  outline-offset: 1px;
}

.rscb-field input:disabled {
  background: #eee;
  cursor: wait;
}

.rscb-captcha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  background: #f2f2f0;
}

.rscb-captcha__field input {
  background: #fff;
}

.rscb-refresh {
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid #080808;
  background: transparent;
  color: #080808;
  cursor: pointer;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.rscb-refresh:hover,
.rscb-refresh:focus-visible {
  background: #080808;
  color: #fff;
  outline: none;
}

.rscb-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #555;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.5;
}

.rscb-consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 1px 0 0;
  accent-color: #080808;
}

.rscb-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.rscb-status {
  display: none;
  padding: 14px 16px;
  border-left: 4px solid #080808;
  background: #f2f2f0;
  color: #252525;
  font-size: 14px;
  line-height: 1.55;
}

.rscb-status.is-visible {
  display: block;
}

.rscb-status.is-error {
  border-color: #b42318;
  background: #fff1f0;
  color: #8f1d14;
}

.rscb-status.is-success {
  border-color: #18794e;
  background: #ecf8f1;
  color: #11633f;
}

.rscb-submit {
  width: 100%;
  min-height: 58px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 15px 20px;
  border: 1px solid #080808;
  border-radius: 0;
  background: #080808;
  color: #fff;
  cursor: pointer;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.rscb-submit:hover,
.rscb-submit:focus-visible {
  background: #fff;
  color: #080808;
  outline: none;
}

.rscb-submit:disabled {
  opacity: .55;
  cursor: wait;
}

.rscb-submit span:last-child {
  font-size: 26px;
}

@media (max-width: 850px) {
  .rscb-panel__grid {
    grid-template-columns: 1fr;
  }

  .rscb-contact-details {
    min-height: 0;
  }

  .rscb-intro {
    margin-bottom: 32px;
  }

  .rscb-close {
    color: #fff;
  }

  .rscb-close:focus-visible {
    outline-color: #fff;
  }
}

@media (max-width: 560px) {
  .rscb-launcher {
    left: 50%;
    bottom: max(14px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: 58px;
    height: 58px;
    min-height: 58px;
    justify-content: center;
    padding: 9px;
  }

  .rscb-launcher__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .rscb-launcher__icon {
    width: 40px;
    height: 40px;
  }

  .rscb-modal {
    place-items: end center;
    padding: 0;
  }

  .rscb-panel {
    width: 100%;
    max-height: 94dvh;
    animation-name: rscb-sheet-in;
  }

  @keyframes rscb-sheet-in {
    from { opacity: 0; transform: translateY(30px); }
  }

  .rscb-contact-details,
  .rscb-form-wrap {
    padding: 48px 22px 34px;
  }

  .rscb-contact-details h2 {
    font-size: 50px;
  }

  .rscb-form__row,
  .rscb-captcha {
    grid-template-columns: 1fr;
  }

  .rscb-refresh {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rscb-launcher,
  .rscb-panel {
    animation: none !important;
    transition: none !important;
  }
}
