/* Підказки «натисніть у Telegram» під CTA більше не потрібні */
#root p[role="note"] {
  display: none !important;
}

/* Модальна форма зв'язку (замість переходу в Telegram) */
#contact-form-root {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(5, 8, 14, 0.72);
  backdrop-filter: blur(6px);
}

#contact-form-root.is-open {
  display: flex;
}

.contact-form-panel {
  width: 100%;
  max-width: 420px;
  background: #0e111a;
  border: 1px solid rgba(184, 254, 58, 0.18);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  color: #f4f6fb;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
}

.contact-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem 0.5rem;
}

.contact-form-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.contact-form-close {
  border: none;
  background: transparent;
  color: #b8fe3a;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.35rem;
  border-radius: 8px;
}

.contact-form-close:hover {
  background: rgba(184, 254, 58, 0.12);
}

.contact-form-body {
  padding: 0.35rem 1.25rem 1.25rem;
}

.contact-form-field {
  margin-bottom: 1rem;
}

.contact-form-field label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: #e8ebf5;
}

.contact-form-field input[type="text"],
.contact-form-field textarea {
  width: 100%;
  box-sizing: border-box;
  background: #151a26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #f4f6fb;
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
  outline: none;
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
  color: #7a8299;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
  border-color: rgba(184, 254, 58, 0.45);
}

.contact-form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form-radios {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.contact-form-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  font-size: 0.92rem;
}

.contact-form-radio input {
  accent-color: #b8fe3a;
  width: 1rem;
  height: 1rem;
}

.phone-row {
  display: flex;
  align-items: stretch;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background: #151a26;
}

.phone-prefix {
  flex: 0 0 auto;
  padding: 0.65rem 0.7rem;
  font-size: 0.9rem;
  color: #b8fe3a;
  background: rgba(184, 254, 58, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-row input {
  border: none !important;
  border-radius: 0 !important;
  flex: 1 1 auto;
}

.contact-form-offer {
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 0 0 0.85rem;
  color: #9aa3b8;
}

.contact-form-offer a {
  color: #22d3ee;
  text-decoration: none;
}

.contact-form-offer a:hover {
  text-decoration: underline;
}

.contact-form-submit {
  width: 100%;
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 999px;
  background: #b8fe3a;
  color: #0a0d14;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.contact-form-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(184, 254, 58, 0.25);
}

.contact-form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact-form-submit .arrow-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.contact-form-msg {
  min-height: 1.25rem;
  font-size: 0.82rem;
  margin-top: 0.35rem;
  color: #9aa3b8;
}

.contact-form-msg.is-error {
  color: #ff8a8a;
}

.contact-form-msg.is-ok {
  color: #b8fe3a;
}

.contact-form-honeypot {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
