/* ==================== Contact form — budget & phone ==================== */

.meta-form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(0, 0, 0, 0.55);
}

.meta-form-label--inline {
  margin-bottom: 0;
}

/* —— Budget card —— */
.meta-budget-card {
  padding: 20px 22px 18px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: linear-gradient(180deg, #fff 0%, #faf9fc 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(135, 27, 156, 0.06);
}

.meta-budget-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.meta-budget-card__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
  margin-bottom: 4px;
}

.meta-budget-card__tier {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #871b9c;
  background: rgba(194, 75, 218, 0.1);
  border: 1px solid rgba(194, 75, 218, 0.18);
}

.meta-budget-card__amount {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #111;
  white-space: nowrap;
}

.meta-budget-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.meta-budget-card__chip {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  color: #444;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.meta-budget-card__chip:hover {
  border-color: rgba(194, 75, 218, 0.35);
  color: #871b9c;
}

.meta-budget-card__chip.is-active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #871b9c, #c24bda);
  box-shadow: none;
}

.meta-budget-card__track {
  position: relative;
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 2px;
}

.meta-budget-card__track-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 14px;
  border-radius: 999px;
  background: #e4e9f0;
  box-shadow: none;
  overflow: hidden;
  z-index: 1;
}

.meta-budget-card__track-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #e9d5ff 0%, #c084fc 38%, #9333ea 72%, #7e22ce 100%);
  transition: width 0.18s ease;
}

.meta-budget-card__slider {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  z-index: 2;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  cursor: pointer;
}

.contact-sec.style2 .form .meta-budget-card__slider,
.contact-sec .form .meta-budget-card__slider,
.contact .form .meta-budget-card__slider {
  padding: 0 !important;
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}

.meta-budget-card__slider::-webkit-slider-runnable-track {
  height: 14px;
  background: transparent !important;
  border: none;
  box-shadow: none;
}

.meta-budget-card__slider::-webkit-slider-container {
  background: transparent !important;
}

.meta-budget-card__slider:focus-visible {
  outline: none;
}

.meta-budget-card__slider:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.meta-budget-card__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 32px;
  margin-top: -9px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
  cursor: grab;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.meta-budget-card__slider:hover::-webkit-slider-thumb {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.meta-budget-card__slider:active::-webkit-slider-thumb {
  cursor: grabbing;
  transform: scale(1.06);
}

.meta-budget-card__slider::-moz-range-thumb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
  cursor: grab;
}

.meta-budget-card__slider::-moz-range-track {
  height: 14px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.meta-budget-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.38);
}

.meta-budget-card__hint {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: rgba(0, 0, 0, 0.42);
}

/* —— Phone field —— */
.meta-phone-field {
  margin-bottom: 0;
}

.meta-phone-field__control {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  direction: ltr;
  width: 100%;
  padding: 0;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.92);
  overflow: visible;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.meta-phone-field__control:focus-within {
  border-color: rgba(194, 75, 218, 0.45);
  box-shadow: 0 0 0 2px rgba(194, 75, 218, 0.12);
}

.meta-phone-field__trigger {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 20px 12px 20px 16px;
  border: none;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  background: transparent;
  cursor: pointer;
  color: #111;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.meta-phone-field__trigger:hover {
  background: rgba(194, 75, 218, 0.06);
}

.meta-phone-field__flag {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.meta-phone-field__dial {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  direction: ltr;
  unicode-bidi: embed;
  white-space: nowrap;
}

.meta-phone-field__chevron {
  width: 12px;
  height: 12px;
  opacity: 0.45;
  flex-shrink: 0;
}

.meta-phone-field__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: auto;
  z-index: 30;
  width: min(280px, 100%);
  max-height: 240px;
  overflow-y: auto;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  direction: ltr;
}

.meta-phone-field__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-phone-field__option {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  direction: ltr;
  transition: background 0.15s ease;
}

.meta-phone-field__option:hover,
.meta-phone-field__option:focus-visible {
  background: rgba(194, 75, 218, 0.08);
  outline: none;
}

.meta-phone-field__option-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  color: #871b9c;
  background: rgba(194, 75, 218, 0.12);
  flex-shrink: 0;
}

.meta-phone-field__option-name {
  flex: 1;
  font-size: 13px;
  color: #333;
  text-align: left;
}

.meta-phone-field__option-dial {
  font-size: 12px;
  font-weight: 600;
  color: #871b9c;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}

.meta-phone-field__input {
  flex: 1;
  min-width: 0;
  width: auto;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 20px 20px 20px 12px !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: #111 !important;
  direction: ltr;
  text-align: left;
}

.meta-phone-field__input:focus {
  outline: none !important;
  box-shadow: none !important;
}

.contact-sec.style2 .form .meta-phone-field__control,
.contact-sec .form .form-group.meta-phone-field .meta-phone-field__control {
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  background: rgba(255, 255, 255, 0.92) !important;
}

.contact-sec.style2 .form .meta-phone-field__control:focus-within,
.contact-sec .form .form-group.meta-phone-field .meta-phone-field__control:focus-within {
  border-color: rgba(194, 75, 218, 0.45) !important;
  box-shadow: 0 0 0 2px rgba(194, 75, 218, 0.12);
}

/* Match contact page */
.contact .form .meta-phone-field__control {
  border: 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: none !important;
}

.contact .form .meta-phone-field__trigger {
  padding: 15px 10px 15px 0;
}

.contact .form .meta-phone-field__input {
  padding: 15px 0 15px 12px !important;
}

.contact .form .meta-phone-field__control:focus-within {
  border-bottom-color: rgba(194, 75, 218, 0.45) !important;
  box-shadow: none !important;
}

@media (max-width: 575px) {
  .meta-budget-card {
    padding: 16px;
  }

  .meta-budget-card__header {
    flex-direction: column;
    gap: 10px;
  }

  .meta-budget-card__amount {
    font-size: 28px;
  }

  .meta-phone-field__trigger {
    padding: 20px 10px 20px 12px;
    gap: 6px;
  }

  .meta-phone-field__input {
    padding: 20px 16px 20px 10px !important;
  }
}
