/* ── Roofing Contact Form – Simple Clean Style ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --rcf-primary:   #c93e1a;
  --rcf-primary-d: #a82e0e;
  --rcf-radius:    8px;
  --rcf-font:      'Inter', sans-serif;
}

.rcf-wrapper {
  width: 100%;
  padding: 16px;
  box-sizing: border-box;
  font-family: var(--rcf-font);
}

/* Card — transparent, no heavy background */
.rcf-card {
  background: transparent;
  padding: 32px 0 0;
}

/* Title */
.rcf-title {
  font-family: var(--rcf-font);
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0 0 8px;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* ── ROWS ── */
.rcf-row {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.rcf-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rcf-field-full { flex: 1 1 100%; }

/* Hide labels — use placeholder only (like the reference image) */
.rcf-field label { display: none; }

/* ── INPUTS ── */
.rcf-card input[type="text"],
.rcf-card input[type="email"],
.rcf-card input[type="tel"],
.rcf-card textarea {
  width: 100%;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: var(--rcf-radius);
  color: #222;
  font-family: var(--rcf-font);
  font-size: 0.95rem;
  padding: 13px 16px;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.rcf-card input::placeholder,
.rcf-card textarea::placeholder {
  color: #999;
}

.rcf-card input:focus,
.rcf-card textarea:focus {
  border-color: var(--rcf-primary);
  box-shadow: 0 0 0 3px rgba(201,62,26,0.12);
}

.rcf-card textarea {
  resize: vertical;
  min-height: 130px;
}

/* ── CHOICES.JS — White style ── */
.rcf-card .choices { margin: 0; }

.rcf-card .choices__inner {
  background: #fff !important;
  border: 1.5px solid #e0e0e0 !important;
  border-radius: var(--rcf-radius) !important;
  color: #222 !important;
  font-family: var(--rcf-font) !important;
  font-size: 0.95rem !important;
  padding: 7px 14px !important;
  min-height: 46px !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.rcf-card .choices.is-focused .choices__inner,
.rcf-card .choices.is-open .choices__inner {
  border-color: var(--rcf-primary) !important;
  box-shadow: 0 0 0 3px rgba(201,62,26,0.12) !important;
}

.rcf-card .choices__placeholder {
  color: #999 !important;
  opacity: 1 !important;
}

.rcf-card .choices__item--selectable {
  color: #222 !important;
}

.rcf-card .choices__list--dropdown {
  background: #fff !important;
  border: 1.5px solid #e0e0e0 !important;
  border-radius: var(--rcf-radius) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
  z-index: 9999 !important;
}

.rcf-card .choices__list--dropdown .choices__item {
  color: #333 !important;
  font-size: 0.9rem !important;
  padding: 10px 14px !important;
}

.rcf-card .choices__list--dropdown .choices__item--highlighted {
  background: var(--rcf-primary) !important;
  color: #fff !important;
}

.rcf-card .choices__input {
  background: #fff !important;
  color: #333 !important;
  font-family: var(--rcf-font) !important;
  font-size: 0.9rem !important;
  border: none !important;
  padding: 4px 0 !important;
}

.rcf-card .choices__input::placeholder { color: #999 !important; }

.rcf-card .choices[data-type*="select-one"]::after {
  border-color: #999 transparent transparent !important;
  right: 14px !important;
}

.rcf-card .choices[data-type*="select-one"].is-open::after {
  border-color: var(--rcf-primary) transparent transparent !important;
}

/* ── ERRORS ── */
.rcf-error {
  font-size: 0.78rem;
  color: #e53e3e;
  min-height: 16px;
  display: block;
  margin-top: 4px;
}

/* ── SUBMIT BUTTON ── */
.rcf-submit-row { margin-top: 6px; }

.rcf-btn {
  background: var(--rcf-primary);
  color: #fff;
  font-family: var(--rcf-font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  border-radius: var(--rcf-radius);
  padding: 15px 48px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, transform 0.15s;
}

.rcf-btn:hover {
  background: var(--rcf-primary-d);
  transform: translateY(-1px);
}

.rcf-btn:active { transform: translateY(0); }
.rcf-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* ── THANK YOU ── */
.rcf-thankyou {
  text-align: center;
  padding: 60px 20px;
  animation: rcfFadeIn 0.5s ease;
}

.rcf-ty-icon {
  width: 68px; height: 68px;
  background: var(--rcf-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  margin: 0 auto 20px;
}

.rcf-thankyou h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  line-height: 1.6;
  margin: 0;
}

@keyframes rcfFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .rcf-title { font-size: 1.5rem; }
  .rcf-row { flex-direction: column; gap: 12px; }
  .rcf-btn { padding: 14px 24px; }
}
