/* Quiet bespoke inquiry drawer shared across all 4 Berwaz landing concepts. */

.bw-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  isolation: isolate;
  background: rgba(8, 6, 5, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  justify-content: flex-end;
}

.bw-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.bw-drawer {
  width: min(100vw, 450px);
  height: 100%;
  background: #14100d;
  color: #f3eadc;
  border-inline-start: 1px solid rgba(201, 162, 74, 0.22);
  padding: clamp(20px, 3.5vw, 32px) clamp(20px, 4.5vw, 34px);
  overflow-y: auto;
  touch-action: pan-y;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateX(-100%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  font-family: "Amiri", Georgia, serif;
  direction: rtl;
  text-align: right;
}

.bw-drawer-backdrop.is-open .bw-drawer {
  transform: translateX(0);
}

.bw-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(201, 162, 74, 0.16);
  padding-bottom: 16px;
}

.bw-drawer__brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: #c9a24a;
}

.bw-drawer__close {
  background: transparent;
  border: 1px solid rgba(201, 162, 74, 0.28);
  color: #f3eadc;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.bw-drawer__close:hover {
  border-color: #c9a24a;
  color: #f3e2b0;
}

.bw-drawer__title {
  font-size: clamp(26px, 5vw, 34px);
  font-weight: 400;
  margin: 0;
  line-height: 1.35;
  color: #f6ecdb;
}

.bw-drawer__lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(243, 234, 220, 0.72);
}

.bw-drawer__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bw-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bw-field label {
  font-size: 15px;
  color: rgba(243, 226, 176, 0.88);
}

.bw-field input,
.bw-field select,
.bw-field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: none;
  border-bottom: 1px solid rgba(201, 162, 74, 0.28);
  color: #f6ecdb;
  font-family: "Amiri", Georgia, serif;
  font-size: 16px;
  padding: 8px 4px;
  outline: none;
  user-select: text;
  -webkit-user-select: text;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.bw-field input::placeholder,
.bw-field textarea::placeholder {
  color: rgba(243, 234, 220, 0.45);
}

.bw-field select option {
  background: #14100d;
  color: #f6ecdb;
}

.bw-field input:focus,
.bw-field select:focus,
.bw-field textarea:focus {
  border-bottom-color: #c9a24a;
  background: rgba(201, 162, 74, 0.05);
}

.bw-drawer__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.bw-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid rgba(201, 162, 74, 0.65);
  background: rgba(201, 162, 74, 0.14);
  color: #f6e8be;
  font-family: "Amiri", Georgia, serif;
  font-size: 18px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.bw-btn-primary:hover {
  background: rgba(201, 162, 74, 0.24);
  border-color: #f3e2b0;
}

.bw-btn-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: transparent;
  border: none;
  color: rgba(243, 234, 220, 0.68);
  font-family: "Amiri", Georgia, serif;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 6px;
  cursor: pointer;
}

.bw-btn-quiet:hover {
  color: #f3e2b0;
}

.bw-drawer__status {
  font-size: 16px;
  line-height: 1.7;
  color: #f3e2b0;
  padding: 14px 16px;
  border: 1px solid rgba(201, 162, 74, 0.35);
  background: rgba(201, 162, 74, 0.08);
  display: none;
}

.bw-drawer__status.is-visible {
  display: block;
}
