/* ===== Page Shell ===== */
.join-hero {
  background: #7A3B4E;
  color: #fff;
  padding: 2.25rem 1rem 2rem;
  text-align: center;
}
.join-hero.white {
  background: #ffffff;
  color: #010101;
  padding: 2.25rem 1rem 2rem;
  text-align: center;
}
.join-hero h1,
h2,
h3 {
  margin: 0 0 0.35rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.join-hero p {
  margin: 0 auto;
  max-width: 780px;
  opacity: 0.95;
}

.join-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

.about-hero-image {
  width: 100%;
  overflow: hidden;
}

.hero-skyline-img {
  width: 100%;
  max-height: 400px;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===== Tabs / Segmented Control ===== */
.seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: #fff;
  padding: 0.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  margin: 1rem auto 1.25rem;
}
.seg button {
  appearance: none;
  border: 1px solid #e9dfe3;
  background: #fff;
  color: #7A3B4E;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}
.seg button[aria-pressed="true"] {
  background: #7A3B4E;
  color: #fff;
  border-color: #7A3B4E;
  box-shadow: 0 4px 14px rgba(122, 59, 78, 0.25);
}

/* ===== Panels ===== */
.panel {
  display: none;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.panel.active {
  display: block;
}
.panel-head {
  background: #f7f2f4;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid #efe6ea;
}
.panel-body {
  padding: 1rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
.panel-body .col {
  background: #fff;
  border: 1px solid #f0e6ea;
  border-radius: 10px;
  padding: 1rem;
}
.kpis {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.kpi {
  background: #fff;
  border: 1px solid #f1e7eb;
  border-radius: 10px;
  padding: 0.85rem;
  text-align: center;
}
.kpi b {
  display: block;
  font-size: 1.15rem;
}
.bullet {
  margin: 0;
  padding-left: 1.25rem;
}
.bullet li {
  margin: 0.35rem 0;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.35rem;
}
.btn-primary {
  background: #7A3B4E;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover {
  background: #6b3343;
}
.btn-outline {
  background: #fff;
  color: #7A3B4E;
  border: 2px solid #7A3B4E;
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-block;
}

/* ===== Interest Forms ===== */
.forms-wrap {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

form.join-form {
  background: #fff;
  border: 1px solid #efe6ea;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form.join-form input,
form.join-form textarea,
form.join-form button {
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  form.join-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  form.join-form textarea,
  form.join-form button {
    grid-column: span 2;
  }
}

@media (min-width: 900px) {
  .forms-wrap {
    justify-content: center;
  }

  form.join-form {
    max-width: 900px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .forms-wrap {
    padding: 0 1rem;
  }

  form.join-form {
    max-width: 100%;
    padding: 1.25rem;
    grid-template-columns: 1fr;
  }
}

/* Labels and Inputs */
.form-title {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  color: #7A3B4E;
}
.form-sub {
  margin: 0.15rem 0 1rem;
  color: #555;
  font-size: 0.95rem;
}
label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  display: block;
  margin-bottom: 0.25rem;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
textarea {
  min-height: 80px;
}
.form-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-top: 0.5rem;
  justify-content: center;
}
.req {
  color: #b20000;
}

/* ===== Teaser (for search page) ===== */
.atl-teaser {
  max-width: 1100px;
  margin: 1rem auto 1.25rem;
  background: #fff;
  border: 1px solid #efe6ea;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.atl-teaser h3 {
  margin: 0;
  color: #7A3B4E;
  font-size: 1.15rem;
}
.atl-teaser p {
  margin: 0;
  color: #333;
}
.atl-teaser .grow {
  flex: 1 1 420px;
}
.atl-teaser .cta {
  white-space: nowrap;
}

/* Desktop */
@media (min-width: 1200px) {
  .hero-skyline-img {
    max-height: 680px;
  }
}

/* Tablet */
@media (max-width: 980px) {
  .hero-skyline-img {
    max-height: 380px;
  }
}
/* Mobile */
@media (max-width: 520px) {
  .hero-skyline-img {
    max-height: 280px;
  }
}

/* ===========================================================
   Enhanced "How It Works" Section Styling
=========================================================== */

.join-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.join-hero.white h3 {
  font-size: 1.8rem;
  color: #7A3B4E;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
}

.panel-body.merch {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: #34495e;
  text-align: left;
}

.panel-body.merch ol {
  counter-reset: step-counter;
  list-style: none;
  padding-left: 0;
}

.panel-body.merch li {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 2.2rem;
}

.panel-body.merch li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.6rem;
  height: 1.6rem;
  background-color: #7A3B4E;
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.panel-body.merch a {
  color: #7A3B4E;
  font-weight: 600;
  text-decoration: underline;
}

.panel-body.merch a:hover {
  color: #5e2e3c;
  text-decoration: none;
}

@media (max-width: 768px) {
  .join-hero h1 {
    font-size: 2rem;
  }

  .join-hero.white h3 {
    font-size: 1.5rem;
  }

  .panel-body.merch li {
    font-size: 0.95rem;
  }
}
