/* ==========================================================
   Hub page (Figma: Web · 04 · Hub)
   ========================================================== */

/* ---------- Hero ---------- */
.hub-hero { padding: 80px 0; background: var(--bw-coral-bg); }
.hub-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hub-hero-copy .lead-text { margin: 0; line-height: 30px; }
.hub-title {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.07;
  letter-spacing: -.03em;
  margin: 0;
}
.hub-stats { gap: 16px 32px; }

/* Split CTAs (visitor / host) */
.hub-split { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.hub-split-card { padding: 28px; border-radius: 18px; }
.hub-split-visitor { background: #fff; border: 1px solid var(--bw-border); }
.hub-split-host { background: var(--bw-navy); scroll-margin-top: 100px; }
.hub-split-title { font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 14px; }
.hub-split-text { font-size: 14px; line-height: 21px; color: var(--bw-muted); margin: 0 0 14px; }
.hub-split-host .hub-split-title { color: #fff; }
.hub-split-host .hub-split-text { color: var(--bw-on-navy); }
.hub-split-host .form-label { color: #fff; }

.hub-form { display: flex; flex-direction: column; gap: 14px; }
.hub-form .form-label { font-size: 13px; font-weight: 500; }
.hub-form .form-control,
.hub-form .form-select {
  height: 46px;
  border-width: 1px;
  font-size: 15px;
  padding-top: 0;
  padding-bottom: 0;
}
.hub-form .form-control::placeholder { color: #9aa9b6; }
.hub-form .form-select {
  background-image: url("../images/hub-icon-chevron-down.svg");
  background-size: 18px 18px;
  background-position: right 14px center;
  padding-right: 42px;
}
.hub-form .form-select:invalid { color: #9aa9b6; }
.hub-form .form-select option { color: var(--bw-navy); }
.hub-split-host .invalid-feedback { color: #ff9b86; }

.hub-input-icon { position: relative; }
.hub-input-icon > img { position: absolute; left: 15px; top: 14px; width: 18px; height: 18px; pointer-events: none; }
.hub-input-icon .form-control { padding-left: 43px; }
/* keep the validation icon from overlapping */
.hub-input-icon .form-control.is-invalid,
.was-validated .hub-input-icon .form-control:invalid,
.was-validated .hub-input-icon .form-control:valid { padding-left: 43px; }

.hub-find-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: var(--bw-teal-ink);
}
.hub-find-link:hover { color: var(--bw-teal); }
.hub-find-link img { width: 16px; height: 16px; }

/* ---------- What's in the Hub ---------- */
.hub-features { display: flex; flex-direction: column; gap: 18px; }
.hub-features-head { display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.hub-feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.hub-feature-list li { display: flex; align-items: center; gap: 16px; }
.hub-feature-list .icon-tile-lg { border-radius: 12px; }
.hub-feature-list strong { display: block; font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.hub-feature-list span:not(.icon-tile) { display: block; font-size: 14px; color: var(--bw-muted); }

/* Floor plan: grid of zones (6 columns -> 3+3, 2+2+2, 6) */
.hub-plan {
  width: 560px;
  max-width: 100%;
  margin: 0 0 0 auto;
  padding: 19px 23px 23px;
  border: 1px solid var(--bw-border);
  border-radius: 20px;
  background: var(--bw-mint);
}
.hub-plan-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bw-muted);
  margin-bottom: 18px;
  line-height: 1.2;
}
.hub-plan-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 170px 96px 90px;
  gap: 14px 12px;
}
.hub-zone {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8.5px 10.5px;
  border: 1.5px solid var(--bw-teal);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  min-width: 0;
}
.hub-zone strong { font-size: 14px; font-weight: 700; line-height: 1.2; color: var(--bw-navy); }
.hub-zone span { font-size: 11px; line-height: 1.2; color: var(--bw-muted); }
.hub-zone-bay { grid-column: span 3; }
.hub-zone-sm { grid-column: span 2; }
.hub-zone-wide { grid-column: span 6; }
.hub-zone-amber { background: var(--bw-amber-bg); border-color: var(--bw-amber); }
.hub-zone-coral { background: var(--bw-coral-bg); border-color: var(--bw-coral); }
.hub-zone-navy { background: var(--bw-navy); border-color: var(--bw-navy); }
.hub-zone-navy strong,
.hub-zone-navy span { color: #fff; }

/* ---------- For visitors ---------- */
.hub-price-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; min-height: 221px; }
.hub-price-card h3 { font-size: 16px; font-weight: 700; margin: 0; }
.hub-price { font-size: 26px; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; color: var(--bw-navy); margin: 0; }
.hub-price-note { font-size: 13px; color: var(--bw-muted); margin: 0; }

.hub-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bw-coral);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.hub-num-lg { width: 36px; height: 36px; font-size: 15px; }

.hub-visit-steps {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.hub-visit-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--bw-navy);
}

.hub-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bw-navy);
}
.hub-note img { flex-shrink: 0; width: 20px; height: 20px; }
.hub-note-white { background: #fff; }
.hub-note-coral { gap: 14px; margin-top: 40px; padding: 16px 22px; border-radius: 14px; background: var(--bw-coral-bg); }
.hub-note-coral img { width: 22px; height: 22px; }

/* ---------- Visitor app ---------- */
.hub-app { padding: 88px 0; }
.hub-app-head { gap: 14px; margin-bottom: 44px; }
.hub-app-head .sub-text { line-height: 26px; }
.hub-phones {
  display: grid;
  grid-template-columns: repeat(5, 210px);
  justify-content: space-between;
  align-items: start;
  gap: 32px 24px;
}
.hub-phone { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; }
.hub-phone img {
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 21px;
}
.hub-phone figcaption { font-size: 15px; font-weight: 700; color: var(--bw-navy); text-align: center; }

/* ---------- For hosts ---------- */
.hub-eyebrow-coral-light { color: var(--bw-coral); }
.hub-income {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 32px;
  border-radius: 18px;
  background: var(--bw-coral);
  color: #fff;
}
.hub-income-label { font-size: 12px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.hub-income-value { font-size: clamp(40px, 5vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; margin: 0; }
.hub-income-text { font-size: 15px; line-height: 22px; margin: 0; }

.hub-benefit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  height: 100%;
  padding: 22px;
  border-radius: 18px;
  background: var(--bw-navy-2);
}
.hub-benefit-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 107, 77, .18);
}
.hub-benefit-tile img { width: 20px; height: 20px; }
.hub-benefit h3 { font-size: 17px; font-weight: 700; color: #fff; margin: 0; }
.hub-benefit p { font-size: 14px; color: var(--bw-on-navy); margin: 0; }

.hub-needs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 40px 0; }
.hub-needs-label { font-size: 12px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--bw-teal-2); }
.hub-needs ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.hub-needs li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: #fff; }
.hub-ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(82, 200, 203, .15);
}
.hub-ok img { width: 13px; height: 13px; }

/* ---------- Host process ---------- */
.hub-step { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; min-height: 190px; }
.hub-step h3 { font-size: 17px; font-weight: 700; margin: 0; }
.hub-step p { font-size: 14px; line-height: 21px; color: var(--bw-muted); margin: 0; }

/* ---------- CTA ---------- */
.hub-cta { background: var(--bw-coral); color: #fff; }
.hub-cta .cta-title { color: #fff; font-size: clamp(26px, 3vw, 32px); }
.hub-cta .cta-text { color: #fff; }

/* ---------- Responsive ---------- */
@media (min-width: 992px) {
  .hub-split { width: 480px; }
  .hub-income { width: 420px; }
}

@media (max-width: 1199.98px) {
  .hub-phones { grid-template-columns: repeat(3, minmax(0, 210px)); justify-content: center; gap: 40px 32px; }
  .hub-visit-steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991.98px) {
  .hub-hero { padding: 48px 0 64px; }
  .hub-app { padding: 72px 0; }
  .hub-plan { margin: 0 auto; }
  .hub-income { height: auto; }
}

@media (max-width: 767.98px) {
  .hub-phones { grid-template-columns: repeat(2, minmax(0, 210px)); gap: 32px 20px; }
  .hub-visit-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
  .hub-split-card { padding: 22px; }
  .hub-plan { padding: 16px; }
  .hub-plan-grid { grid-template-rows: 120px auto auto; gap: 10px 8px; }
  .hub-zone-sm { min-height: 88px; }
  .hub-zone-wide { min-height: 76px; }
  .hub-zone strong { font-size: 13px; }
  .hub-zone span { font-size: 10px; }
  .hub-visit-steps { grid-template-columns: 1fr; }
  .hub-price-card,
  .hub-step { min-height: 0; }
  .hub-income { padding: 24px; }
  .hub-app { padding: 56px 0; }
}

/* Keep plug-banner chips from being squeezed by the copy column */
.plug-banner .plug-chips { flex-shrink: 0; }

@media (min-width: 1200px) {
  .hub-visit-steps li { padding-right: 8px; white-space: nowrap; }
}
