.etk-contact-layer {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.etk-contact-layer.open {
  opacity: 1;
  pointer-events: auto;
}

.etk-contact-card {
  width: 100%;
  max-width: 420px;
  max-height: min(90dvh, 640px);
  overflow: auto;
  background: rgba(12, 12, 12, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.22s ease;
}

.etk-contact-layer.open .etk-contact-card {
  transform: translateY(0) scale(1);
}

.etk-contact-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 0;
}

.etk-contact-brand {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #ff3333;
}

.etk-contact-title {
  margin-top: 4px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.etk-contact-close {
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.etk-contact-form {
  padding: 14px 18px 18px;
  display: grid;
  gap: 12px;
}

.etk-contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.etk-contact-form input,
.etk-contact-form select,
.etk-contact-form textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
}

.etk-contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color-scheme: dark;
  padding-right: 36px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ff6666' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.etk-contact-form select option {
  background: #121212;
  color: #fff;
}

.etk-contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.etk-contact-form input:focus,
.etk-contact-form select:focus,
.etk-contact-form textarea:focus {
  border-color: rgba(255, 51, 51, 0.55);
  box-shadow: 0 0 0 2px rgba(255, 51, 51, 0.15);
}

.etk-contact-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.etk-contact-btn {
  flex: 1;
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.etk-contact-btn-primary {
  background: #ff3333;
  color: #fff;
}

.etk-contact-btn-muted {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}

.etk-contact-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.etk-contact-note {
  font-size: 0.78rem;
  opacity: 0.65;
  line-height: 1.45;
}

.etk-contact-error {
  font-size: 0.82rem;
  line-height: 1.4;
  color: #ff8888;
  background: rgba(255, 51, 51, 0.12);
  border: 1px solid rgba(255, 51, 51, 0.35);
  border-radius: 10px;
  padding: 10px 12px;
}

.etk-contact-error[hidden] {
  display: none;
}

.page-contact-cta {
  margin-top: 8px;
}

.btn-contact-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  padding: 13px 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff3333, #cc0000);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 8px 24px rgba(255, 51, 51, 0.25);
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 18px;
  font-size: 0.82rem;
}

.legal-footer-links a,
.legal-footer-links button {
  background: none;
  border: none;
  padding: 0;
  color: #ff3333;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
