/* ==========================================================
   Riverport Business Club - Contact
   hero > intro + enquiry form (white) > meeting schedule (grey)
   > locations + map (white) > member circles > footer
   ========================================================== */

/* ---------- Intro + form ---------- */
.ct-main__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.35fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.ct-lead { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); font-weight: 500; color: #3a3a3a; line-height: 1.65; }
.ct-intro p { max-width: 58ch; }
.ct-actions { display: inline-flex; flex-direction: column; align-items: stretch; gap: 0.75rem; margin-top: 0.5rem; max-width: 100%; }   /* both buttons match the wider one */
.ct-actions .rp-btn { justify-content: center; text-align: center; }
a.ct-tickets { background: var(--brand); color: var(--white); }
a.ct-tickets:hover { background: var(--brand-dark); color: var(--white); box-shadow: 0 10px 24px rgba(254, 104, 191, 0.35); }

.ct-quick { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.85rem; margin-top: 1.75rem; }
.ct-quick li { min-width: 0; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; background: var(--grey); border-radius: var(--radius); }
.ct-quick__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--charcoal); color: var(--brand); }
.ct-quick__body { display: flex; flex-direction: column; min-width: 0; line-height: 1.45; }
.ct-quick__label { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.ct-quick a { color: #2b2b2b; font-weight: 700; text-decoration-color: var(--brand); text-underline-offset: 3px; }
.ct-quick .rp-email a { color: #2b2b2b; gap: 0; }
.ct-quick .rp-email__link .fa-envelope { display: none; } /* panel already has its own envelope icon */

/* Form card - charcoal with the logo circles */
.ct-form-card {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius-lg); color: var(--white);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(254, 104, 191, 0.25), transparent 55%),
    linear-gradient(150deg, #4d4d4d 0%, #383838 100%);
  box-shadow: var(--shadow-md);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.ct-form-card__circles { position: absolute; z-index: -1; width: 260px; aspect-ratio: 1; right: -90px; top: -110px; pointer-events: none; }
.ct-form-card__circles span { position: absolute; border-radius: 50%; width: 52%; aspect-ratio: 1; }
.ct-form-card__circles span:nth-child(1) { left: 22%; top: 4%; background: rgba(255, 255, 255, 0.07); }
.ct-form-card__circles span:nth-child(2) { left: 6%; top: 40%; background: rgba(254, 104, 191, 0.45); }
.ct-form-card__circles span:nth-child(3) { left: 40%; top: 38%; background: rgba(147, 147, 147, 0.3); }
.ct-form-card__title { color: var(--white); font-size: var(--fs-h3); font-weight: 800; margin: 0 0 0.3rem; }
.ct-form-card__sub { color: #dcdcdc; margin: 0 0 1.5rem; }

.ct-alert { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0 0 1.25rem; padding: 0.85rem 1rem; border-radius: var(--radius); background: rgba(254, 104, 191, 0.16); border: 1px solid rgba(254, 104, 191, 0.5); color: var(--white); font-size: 0.95rem; }
.ct-alert i { color: var(--brand); margin-top: 0.2em; }

.ct-form { display: grid; gap: 1.1rem; }
.ct-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.ct-field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.ct-field label { font-size: 0.9rem; font-weight: 700; color: #f1f1f1; }
.ct-field label span { color: var(--brand); }
.ct-field input, .ct-field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: #2b2b2b;
  background: var(--white); border: 2px solid transparent; border-radius: 10px;
  padding: 0.8rem 0.95rem; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.ct-field textarea { resize: none; min-height: 11rem; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: #9a9a9a; opacity: 1; }
.ct-field input:focus, .ct-field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(254, 104, 191, 0.25); }
.ct-field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ct-submit { justify-self: start; background: var(--brand); color: var(--white); padding: 1rem 2rem; font-size: 1.05rem; }
.ct-submit:hover { background: var(--brand-dark); color: var(--white); box-shadow: 0 10px 24px rgba(254, 104, 191, 0.35); }
.ct-form__note { margin: 0; font-size: 0.85rem; color: #cfcfcf; }
.ct-form__note a { color: var(--white); text-decoration-color: var(--brand); text-underline-offset: 3px; }

/* ---------- Schedule ---------- */
.ct-schedule__head { text-align: center; margin-bottom: var(--stack); }
.ct-schedule__head .rp-rule { margin-bottom: 1rem; }
.ct-schedule__head p { margin: 0; color: var(--muted); }
.ct-weeks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.ct-week {
  display: flex; flex-direction: column; gap: 0.6rem; min-width: 0;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: 1.4rem 1.25rem; border-top: 3px solid var(--grey-brand);
}
.ct-week--live { border-top-color: var(--brand); }
.ct-week__when { font-size: 1.15rem; font-weight: 800; color: #2b2b2b; line-height: 1.25; }
.ct-week__when small { display: block; font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-top: 0.15rem; }
.ct-week__type { display: inline-flex; align-items: center; gap: 0.45rem; align-self: flex-start; padding: 0.25rem 0.7rem; border-radius: 999px; background: var(--brand-tint); color: var(--brand-deep); font-size: 0.8rem; font-weight: 800; }
.ct-week__type--zoom { background: var(--grey); color: var(--charcoal); }
.ct-week__where { font-weight: 600; color: #3a3a3a; line-height: 1.45; }
.ct-week__time { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.95rem; color: var(--muted); font-weight: 600; }
.ct-week__time i { color: var(--brand); }
a.ct-week__btn { margin-top: auto; padding: 0.7rem 1.2rem; font-size: 0.9rem; background: var(--brand); color: var(--white); }
a.ct-week__btn:hover { background: var(--brand-dark); color: var(--white); }

/* ---------- Locations + map (dark panel with the logo circles) ---------- */
.ct-locations {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: var(--section-y); color: var(--white);
  background:
    radial-gradient(ellipse at 10% 15%, rgba(254, 104, 191, 0.2), transparent 50%),
    linear-gradient(135deg, #4d4d4d 0%, #3a3a3a 100%);
}
.ct-locations__circles { position: absolute; z-index: -1; pointer-events: none; aspect-ratio: 1; }
.ct-locations__circles span { position: absolute; border-radius: 50%; width: 52%; aspect-ratio: 1; }
.ct-locations__circles span:nth-child(1) { left: 22%; top: 4%; background: rgba(255, 255, 255, 0.07); }
.ct-locations__circles span:nth-child(2) { left: 6%; top: 40%; background: rgba(254, 104, 191, 0.38); }
.ct-locations__circles span:nth-child(3) { left: 40%; top: 38%; background: rgba(147, 147, 147, 0.26); }
.ct-locations__circles--main { width: clamp(300px, 34vw, 520px); left: clamp(-170px, -8vw, -60px); bottom: clamp(-200px, -11vw, -90px); }
.ct-locations__circles--small { width: clamp(140px, 13vw, 200px); right: clamp(-50px, -2vw, -20px); top: clamp(-70px, -4vw, -30px); }
.ct-locations__circles--small span:nth-child(2) { background: rgba(254, 104, 191, 0.22); }

.ct-locations__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.35fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.ct-locations__title { color: var(--white); font-size: var(--fs-h2); font-weight: 800; margin-bottom: 0.6em; }

.ct-venue {
  display: flex; gap: 1rem; padding: 1.25rem 1.35rem; margin-top: 1rem;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ct-venue__icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; background: var(--brand); color: var(--white); box-shadow: 0 6px 18px rgba(254, 104, 191, 0.35); }
.ct-venue__name { color: var(--white); font-size: 1.15rem; font-weight: 800; margin: 0.15rem 0 0.2rem; }
.ct-venue__meta { margin: 0 0 0.4rem; font-size: 0.85rem; font-weight: 700; color: var(--brand); }
.ct-venue address { font-style: normal; margin-bottom: 0.55rem; color: #e6e6e6; }
.ct-venue__link { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; color: var(--white); text-decoration: none; border-bottom: 2px solid var(--brand); }
.ct-venue__link i { color: var(--brand); }
.ct-venue__link:hover { color: var(--brand); }

.ct-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); aspect-ratio: 16 / 10; background: #2f2f2f; border: 4px solid rgba(255, 255, 255, 0.12); }
.ct-map iframe { display: block; width: 100%; height: 100%; }

/* Processing overlay: now in css/riverport-form-processing.css (shared by every form) */

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .ct-weeks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ct-main__grid, .ct-locations__grid { grid-template-columns: minmax(0, 1fr); }
  .ct-locations__circles--main { width: 280px; left: -110px; bottom: -120px; }
  .ct-map { aspect-ratio: 4 / 3; }
  .ct-weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ct-row { grid-template-columns: minmax(0, 1fr); }
  .ct-submit { justify-self: stretch; }
  .ct-actions { display: flex; }
  .ct-apply, .ct-tickets { width: 100%; justify-content: center; }
  .ct-weeks { grid-template-columns: minmax(0, 1fr); }
  .ct-map { aspect-ratio: 1 / 1; }
}

/* Small phones: icon above the text so the revealed email has the full panel width */
@media (max-width: 420px) {
  .ct-quick li { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .ct-quick__icon { width: 38px; height: 38px; font-size: 0.9rem; }
  .ct-quick .rp-email__link { font-size: 0.9rem; }
}
