.cv-request {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 27, 51, 0);
  opacity: 0;
  pointer-events: none;
  transition: background 0.3s ease, opacity 0.3s ease;
}

.cv-request.is-visible {
  background: rgba(15, 27, 51, 0.78);
  opacity: 1;
  pointer-events: auto;
}

.cv-request__card {
  background: #0F1B33;
  color: #FAF6EF;
  border: 1px solid rgba(197, 162, 88, 0.28);
  border-top: 2px solid #C5A258;
  border-radius: 4px;
  width: min(480px, calc(100vw - 32px));
  padding: 28px 28px 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  transform: translateY(14px) scale(0.96);
  transition: transform 0.3s ease;
}

.cv-request.is-visible .cv-request__card {
  transform: translateY(0) scale(1);
}

.cv-request__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.cv-request__kicker {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #C5A258;
  font-weight: 600;
  margin-bottom: 6px;
}

.cv-request__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  color: #FAF6EF;
  letter-spacing: 0.04em;
}

.cv-request__sub {
  font-family: "Lora", Georgia, serif;
  font-size: 0.92rem;
  color: rgba(250, 246, 239, 0.72);
  margin-top: 8px;
  line-height: 1.55;
}

.cv-request__close {
  background: none;
  border: 1px solid rgba(197, 162, 88, 0.35);
  color: #FAF6EF;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cv-request__close:hover {
  background: #C5A258;
  border-color: #C5A258;
  color: #0F1B33;
}

.cv-request__form {
  display: grid;
  gap: 14px;
}

.cv-request__field label {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C5A258;
  margin-bottom: 6px;
  font-weight: 600;
}

.cv-request__field input {
  width: 100%;
  font-family: "Lora", Georgia, serif;
  font-size: 0.95rem;
  color: #FAF6EF;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(197, 162, 88, 0.25);
  border-radius: 2px;
  padding: 11px 12px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.cv-request__field input::placeholder {
  color: rgba(250, 246, 239, 0.35);
}

.cv-request__field input:focus {
  border-color: #C5A258;
  background: rgba(255, 255, 255, 0.06);
}

.cv-request__submit {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #0F1B33;
  background: #C5A258;
  border: 1px solid #C5A258;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.cv-request__submit:hover:not(:disabled) {
  background: #D4B97A;
  border-color: #D4B97A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 162, 88, 0.28);
}

.cv-request__submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.cv-request__thanks {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  color: #C5A258;
  line-height: 1.5;
  padding: 8px 0 4px;
}

.cv-request__error {
  font-size: 0.82rem;
  color: #F87171;
  line-height: 1.4;
}
