/* RTC hotel lead module: light version for programmatic hotel pages */

.rtc-lead-section {
  margin-top: 20px;
}

.rtc-lead-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(900px 420px at 8% 0%, rgba(11,99,206,.12), transparent 62%),
    linear-gradient(135deg, #ffffff, #f4f8ff);
  border: 1px solid #dce6f3;
  box-shadow: 0 18px 45px rgba(16,31,60,.08);
}

.rtc-lead-left {
  min-width: 0;
  padding: 26px;
  border-right: 1px solid #dce6f3;
}

.rtc-lead-right {
  min-width: 0;
  padding: 26px;
}

.rtc-lead-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0b63ce;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.rtc-lead-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #0b63ce;
  box-shadow: 0 0 0 5px rgba(11,99,206,.12);
}

.rtc-lead-title {
  margin: 12px 0 10px;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #081426;
}

.rtc-lead-text {
  margin: 0 0 18px;
  color: #4c5a6f;
  line-height: 1.6;
}

.rtc-expert-mini {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 11px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d7e5f7;
  box-shadow: 0 10px 24px rgba(16,31,60,.08);
  text-decoration: none;
  color: #081426;
  transition: transform .15s ease, box-shadow .15s ease;
}

.rtc-expert-mini:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(16,31,60,.12);
}

.rtc-expert-mini img {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #0b63ce;
  background: #e8eef7;
}

.rtc-expert-mini-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.rtc-expert-name {
  font-weight: 900;
  font-size: 16px;
}

.rtc-expert-sub {
  margin-top: 4px;
  color: #0b63ce;
  font-size: 13px;
  font-weight: 700;
}

.rtc-lead-hint {
  margin-top: 18px;
  color: #4c5a6f;
  font-size: 14px;
  line-height: 1.55;
}

.rtc-lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.rtc-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.rtc-field label {
  font-size: 12px;
  color: #516174;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
}

.rtc-field input,
.rtc-field textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid #dce4ef;
  border-radius: 15px;
  padding: 13px 14px;
  color: #081426;
  font-size: 15px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.rtc-field input:focus,
.rtc-field textarea:focus {
  border-color: #0b63ce;
  box-shadow: 0 0 0 4px rgba(11,99,206,.10);
}

.rtc-span-2 {
  grid-column: span 2;
}

.rtc-field textarea {
  min-height: 118px;
  resize: vertical;
}

.rtc-char-counter {
  text-align: right;
  font-size: 12px;
  color: #7b8797;
  margin-top: 4px;
}

.rtc-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding-bottom: 4px;
}

.rtc-lead-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 0;
  background: #0b63ce;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
}

.rtc-lead-btn:hover {
  filter: brightness(.96);
}

.rtc-lead-btn.secondary {
  background: #eef5ff;
  color: #0b63ce;
  border: 1px solid #d5e8ff;
}

.rtc-fineprint {
  margin: 0;
  color: #657083;
  font-size: 12px;
  line-height: 1.45;
}

.rtc-lead-status {
  display: none;
  grid-column: span 2;
  padding: 12px 14px;
  border-radius: 14px;
  background: #eef5ff;
  border: 1px solid #d5e8ff;
  color: #0b3c7a;
  font-size: 14px;
}

.rtc-lead-status.is-visible {
  display: block;
}

/* Floating RTC guide */
.rtc-guide-float {
  position: fixed;
  right: 22px;
  bottom: 96px;
  z-index: 9999;
  display: none;
}

.rtc-guide-float.is-visible {
  display: block;
}

.rtc-guide-button {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  border: 1px solid rgba(11,99,206,.28);
  background:
    radial-gradient(circle at 35% 25%, #ffffff, #dcecff 45%, #0b63ce 100%);
  color: #081426;
  box-shadow: 0 18px 42px rgba(11,99,206,.25);
  cursor: pointer;
  font-weight: 900;
  line-height: 1.05;
  font-size: 12px;
}

.rtc-guide-button span {
  display: block;
  color: #0b63ce;
  font-size: 11px;
}

.rtc-guide-panel {
  position: absolute;
  right: 0;
  bottom: 86px;
  width: min(360px, calc(100vw - 36px));
  padding: 18px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #dce6f3;
  box-shadow: 0 22px 60px rgba(16,31,60,.18);
  display: none;
}

.rtc-guide-panel.is-open {
  display: block;
}

.rtc-guide-panel h3 {
  margin: 0 0 8px;
  color: #081426;
  font-size: 20px;
}

.rtc-guide-panel p {
  margin: 0 0 12px;
  color: #4c5a6f;
  line-height: 1.55;
  font-size: 14px;
}

.rtc-guide-panel ul {
  margin: 0 0 14px;
  padding-left: 18px;
  color: #4c5a6f;
  font-size: 14px;
}

@media (max-width: 860px) {
  .rtc-lead-card {
    grid-template-columns: 1fr;
  }

  .rtc-lead-left {
    border-right: 0;
    border-bottom: 1px solid #dce6f3;
  }

  .rtc-lead-form {
    grid-template-columns: 1fr;
  }

  .rtc-span-2,
  .rtc-lead-status {
    grid-column: span 1;
  }

  .rtc-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .rtc-lead-btn {
    width: 100%;
  }

  .rtc-guide-float {
    right: 14px;
    bottom: 18px;
  }

  .rtc-guide-button {
    width: 66px;
    height: 66px;
    font-size: 11px;
  }

  .rtc-guide-panel {
    right: 0;
    bottom: 76px;
  }
}
