/* ============================================================
   Floating Contact Widget
   Two stacked pills: TEXT ME (filled black) + CONTACT (outlined white)
   Bottom-right corner. Always visible. Modal form on CONTACT tap.
   Brand: --agency-red #EE2128, --ink #111, --cream #FAF8F4
   ============================================================ */

.rc-fc {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  font-family: 'Inter', system-ui, sans-serif;
  pointer-events: none; /* children re-enable */
}

.rc-fc__btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.25rem 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  box-shadow: 0 6px 22px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.08);
  -webkit-tap-highlight-color: transparent;
}

.rc-fc__btn:hover,
.rc-fc__btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.22), 0 3px 8px rgba(0,0,0,0.1);
  outline: none;
}

.rc-fc__btn--text {
  background: #111;
  color: #fff;
}
.rc-fc__btn--text:hover {
  background: #000;
  color: #fff;
}

.rc-fc__btn--contact {
  background: #fff;
  color: #111;
  border: 1px solid rgba(0,0,0,0.15);
}
.rc-fc__btn--contact:hover {
  background: #FAF8F4;
  color: #111;
}

.rc-fc__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.rc-fc__icon svg {
  width: 100%;
  height: 100%;
}

/* Mobile sizing */
@media (max-width: 600px) {
  .rc-fc {
    right: 0.9rem;
    bottom: 0.9rem;
    gap: 0.55rem;
  }
  .rc-fc__btn {
    padding: 0.75rem 1.05rem 0.75rem 1.25rem;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }
  .rc-fc__icon {
    width: 18px;
    height: 18px;
  }
}

/* ============================================================
   Contact modal
   ============================================================ */
.rc-fc-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(17, 17, 17, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.rc-fc-modal[data-open="true"] {
  display: flex;
  opacity: 1;
}

.rc-fc-modal__card {
  background: #FAF8F4;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  border-radius: 6px;
  padding: 2rem 1.85rem 1.85rem;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.rc-fc-modal[data-open="true"] .rc-fc-modal__card {
  transform: translateY(0);
}

.rc-fc-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 1.5rem;
  line-height: 1;
  transition: background 0.15s ease;
}
.rc-fc-modal__close:hover {
  background: rgba(0,0,0,0.06);
}

.rc-fc-modal__eyebrow {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--agency-red, #EE2128);
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.rc-fc-modal__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.1;
  margin: 0 0 0.5rem;
  color: #111;
}

.rc-fc-modal__intro {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(17,17,17,0.7);
  margin: 0 0 1.5rem;
}

.rc-fc-modal__field {
  display: block;
  margin-bottom: 1rem;
}

.rc-fc-modal__field > label {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #111;
  margin-bottom: 0.35rem;
}

.rc-fc-modal__field input,
.rc-fc-modal__field textarea {
  width: 100%;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 3px;
  background: #fff;
  color: #111;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}
.rc-fc-modal__field input:focus,
.rc-fc-modal__field textarea:focus {
  outline: none;
  border-color: var(--agency-red, #EE2128);
}
.rc-fc-modal__field textarea {
  min-height: 100px;
  resize: vertical;
  font-family: 'Inter', system-ui, sans-serif;
}

.rc-fc-modal__toggle {
  display: flex;
  gap: 0;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}
.rc-fc-modal__toggle label {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  color: rgba(17,17,17,0.55);
  transition: background 0.15s ease, color 0.15s ease;
  border-right: 1px solid rgba(0,0,0,0.12);
}
.rc-fc-modal__toggle label:last-child {
  border-right: none;
}
.rc-fc-modal__toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.rc-fc-modal__toggle input:checked + span {
  color: #fff;
}
.rc-fc-modal__toggle label:has(input:checked) {
  background: #111;
  color: #fff;
}

.rc-fc-modal__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.95rem 1.5rem;
  background: var(--agency-red, #EE2128);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.rc-fc-modal__submit:hover {
  background: #d31922;
  transform: translateY(-1px);
}
.rc-fc-modal__submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.rc-fc-honeypot {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

/* Don't show when printing */
@media print {
  .rc-fc,
  .rc-fc-modal {
    display: none !important;
  }
}
