.join-page {
  background: var(--color-bg-dark, #1a1115);
  color: #f5f5f5;
}

.join-hero {
  padding: 72px var(--container-pad, 24px) 48px;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(197, 31, 2, 0.18), transparent 55%),
    var(--color-bg-dark, #1a1115);
}

.join-hero__inner {
  max-width: 920px;
  margin: 0 auto;
}

.join-hero__eyebrow {
  margin: 0 0 12px;
  color: #c51f02;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.join-hero__title {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}

.join-hero__title span {
  color: #c51f02;
}

.join-hero__desc {
  margin: 0 auto 32px;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.6;
}

.join-hero__roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.join-role-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.join-role-card:hover {
  border-color: rgba(197, 31, 2, 0.6);
  background: rgba(197, 31, 2, 0.12);
  color: #fff;
  transform: translateY(-2px);
}

.join-role-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(197, 31, 2, 0.18);
  color: #ff6b4a;
}

.join-section {
  padding: 64px var(--container-pad, 24px);
}

.join-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.join-section__header {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.join-section__header h2,
.join-section__copy h2,
.join-resources h2,
.join-faq h2,
.join-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 36px);
  color: #fff;
}

.join-section__header p,
.join-section__copy > p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.join-section__media {
  margin-top: 28px;
  border-radius: 16px;
  overflow: hidden;
}

.join-section__media img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.join-benefits,
.join-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.join-benefits li,
.join-feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.join-benefits__icon,
.join-feature-list__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(197, 31, 2, 0.18);
  color: #ff6b4a;
  font-size: 14px;
}

.join-benefits strong,
.join-feature-list strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}

.join-benefits span,
.join-feature-list span:last-child {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.45;
}

.join-form-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #24181d;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.join-form-card--compact {
  max-width: 480px;
  width: 100%;
  padding: 18px;
  border-radius: 12px;
  justify-self: end;
  margin-right: 0;
  transform: translateX(-200px);
}

.join-section--member .join-section__grid,
.join-section__grid--member {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: 48px;
}

.join-section__copy--member {
  justify-self: start;
  width: 100%;
  max-width: 560px;
  text-align: left;
  margin-left: 200px;
}

.join-section__copy--member .join-section__media {
  margin-top: 24px;
  border-radius: 14px;
  overflow: hidden;
}

.join-section__copy--member .join-section__media img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
  object-position: center;
}

.join-form-card h3 {
  margin: 0 0 20px;
  font-size: 22px;
  color: #fff;
}

.join-form-card--compact h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.join-form {
  display: grid;
  gap: 14px;
}

.join-form-card--compact .join-form {
  gap: 8px;
}

.join-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.join-form-card--compact .join-form__row {
  gap: 8px;
}

.join-form__field {
  display: grid;
  gap: 6px;
}

.join-form-card--compact .join-form__field {
  gap: 4px;
}

.join-form__field label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.join-form-card--compact .join-form__field label {
  font-size: 12px;
}

.join-form__field input,
.join-form__field select,
.join-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font: inherit;
}

.join-form-card--compact .join-form__field input,
.join-form-card--compact .join-form__field select,
.join-form-card--compact .join-form__field textarea {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
}

.join-form-card--compact .join-form__field textarea {
  min-height: 56px;
  resize: vertical;
}

.join-form__field input:focus,
.join-form__field select:focus,
.join-form__field textarea:focus {
  outline: none;
  border-color: #c51f02;
}

.join-form__field select option {
  color: #111;
}

.join-upload {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  text-align: center;
}

.join-upload span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.join-form__submit {
  width: 100%;
  margin-top: 6px;
  justify-content: center;
}

.join-form-card--compact .join-form__submit {
  margin-top: 4px;
  min-height: 40px;
  padding: 10px 14px;
  font-size: 13px;
}

.join-accordion {
  display: grid;
  gap: 12px;
}

.join-accordion details {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.join-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-right: 44px;
}

.join-accordion summary::-webkit-details-marker {
  display: none;
}

.join-accordion summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #c51f02;
  font-size: 20px;
  line-height: 1;
}

.join-accordion details[open] summary::after {
  content: '−';
}

.join-accordion p {
  margin: 0;
  padding: 0 18px 16px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
}

.join-resources,
.join-faq {
  padding: 24px var(--container-pad, 24px) 64px;
}

.join-faq {
  background: #140c10;
  padding: 72px var(--container-pad, 24px) 80px;
}

.join-faq__inner {
  max-width: 860px;
  margin: 0 auto;
}

.join-resources h2,
.join-faq h2 {
  text-align: center;
  margin-bottom: 28px;
}

.join-faq h2 {
  margin: 0 0 40px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: #f3e9ec;
  text-align: center;
}

.join-accordion--faq {
  gap: 0;
}

.join-accordion--faq details {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.join-accordion--faq summary {
  padding: 22px 36px 22px 0;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
  color: #ffffff;
}

.join-accordion--faq summary::after {
  content: '';
  width: 10px;
  height: 10px;
  right: 4px;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  transform: translateY(-70%) rotate(45deg);
  color: transparent;
  font-size: 0;
}

.join-accordion--faq details[open] summary::after {
  content: '';
  transform: translateY(-20%) rotate(225deg);
}

.join-accordion--faq p {
  margin: 0;
  padding: 0 0 20px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
  font-size: 15px;
}

.join-resources {
  background: #22191d;
  padding: 64px var(--container-pad, 24px) 72px;
}

.join-resources h2,
.join-faq h2 {
  text-align: center;
  margin-bottom: 28px;
}

.join-resources h2 {
  margin: 0 0 36px;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: #ffffff;
}

.join-resources__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

.join-resource-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: 170px;
  padding: 28px 18px;
  border: 1px solid rgba(204, 32, 2, 0.55);
  border-radius: 12px;
  background: #2a1f24;
  color: #fff;
  text-decoration: none;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.join-resource-card:hover {
  border-color: #cc2002;
  color: #fff;
  transform: translateY(-2px);
}

.join-resource-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.join-resource-card strong {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.join-resource-card__desc {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.join-resources__action {
  margin-top: 36px;
  text-align: center;
}

.join-resources__folder-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 28px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: #2a1f24;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.join-resources__folder-btn:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: #32252b;
  color: #ffffff;
}

.join-cta {
  margin: 0;
  padding: 80px var(--container-pad, 24px);
  border-radius: 0;
  background: #d93a2d1a;
  border: 0;
  text-align: center;
}

.join-cta__inner {
  max-width: 760px;
  margin: 0 auto;
}

.join-cta h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.join-cta p {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.join-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.join-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 180px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.join-cta__btn--primary {
  background: #cc2002;
  border: 1px solid #cc2002;
  color: #ffffff;
}

.join-cta__btn--primary:hover {
  background: #a81901;
  border-color: #a81901;
  color: #ffffff;
}

.join-cta__btn--secondary {
  background: #2a2226;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.join-cta__btn--secondary:hover {
  background: #352b30;
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

@media (max-width: 960px) {
  .join-section__grid,
  .join-hero__roles {
    grid-template-columns: 1fr;
  }

  .join-resources__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .join-form__row {
    grid-template-columns: 1fr;
  }

  .join-form-card--compact .join-form__row {
    grid-template-columns: 1fr;
  }

  .join-form-card--compact {
    max-width: 100%;
    justify-self: stretch;
    margin-right: 0;
    transform: none;
  }

  .join-section__grid--member {
    grid-template-columns: 1fr;
  }

  .join-section__copy--member {
    justify-self: stretch;
    max-width: 100%;
    margin-left: 0;
  }

  .join-section--employee .join-section__grid {
    display: flex;
    flex-direction: column-reverse;
  }
}

/* Language Instructor section — dark redesign */
.join-section--instructor {
  background: #22191d;
  padding: 72px var(--container-pad, 24px);
}

.join-instructor__header {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.join-instructor__header h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  color: #ffffff;
}

.join-instructor__header p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.join-instructor__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.join-instructor__cards {
  display: grid;
  gap: 14px;
}

.join-instructor-card {
  padding: 20px 22px;
  border-radius: 14px;
  background: #2a1f24;
}

.join-instructor-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.join-instructor-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #cc2002;
}

.join-instructor-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.join-instructor-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}

.join-instructor-card__more {
  color: #cc2002;
  font-weight: 600;
  text-decoration: none;
}

.join-instructor-card__more:hover {
  color: #ff4d2e;
  text-decoration: underline;
}

.join-form-card--instructor {
  background: #2a1f24;
  border: 0;
  border-radius: 14px;
  padding: 24px;
  box-shadow: none;
}

.join-form-card--instructor h3 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.join-form-card--instructor .join-form {
  gap: 12px;
}

.join-form-card--instructor .join-form__field label {
  display: none;
}

.join-form-card--instructor .join-form__field input,
.join-form-card--instructor .join-form__field select,
.join-form-card--instructor .join-form__field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
  background: #0d0a0c;
  color: #ffffff;
  font-size: 15px;
}

.join-form-card--instructor .join-form__field textarea {
  min-height: 110px;
  resize: vertical;
}

.join-form-card--instructor .join-form__field input::placeholder,
.join-form-card--instructor .join-form__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.join-form-card--instructor .join-form__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  color: rgba(255, 255, 255, 0.7);
}

.join-form-card--instructor .join-form__field select:valid,
.join-form-card--instructor .join-form__field select option {
  color: #ffffff;
}

.join-form-card--instructor .join-form__submit {
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
  border: 0;
  border-radius: 10px;
  background: #cc2002;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}

.join-form-card--instructor .join-form__submit:hover {
  background: #a81901;
}

@media (max-width: 960px) {
  .join-instructor__layout {
    grid-template-columns: 1fr;
  }

  .join-section--instructor {
    padding: 48px var(--container-pad, 24px);
  }
}

/* Work With Us / Career Inquiry section */
.join-section--employee {
  background: #22191d;
  padding: 72px var(--container-pad, 24px);
}

.join-employee__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.join-form-card--employee {
  background: #2a1f24;
  border: 0;
  border-radius: 14px;
  padding: 24px;
  box-shadow: none;
}

.join-form-card--employee h3 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.join-form-card--employee .join-form {
  gap: 12px;
}

.join-form-card--employee .join-form__field label.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.join-form-card--employee .join-form__field input,
.join-form-card--employee .join-form__field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
  background: #0d0a0c;
  color: #ffffff;
  font-size: 15px;
}

.join-form-card--employee .join-form__field textarea {
  min-height: 110px;
  resize: vertical;
}

.join-form-card--employee .join-form__field input::placeholder,
.join-form-card--employee .join-form__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.join-upload--employee {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 120px;
  padding: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  text-align: center;
}

.join-upload--employee input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.join-upload__icon {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.75);
}

.join-upload__text {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.join-form-card--employee .join-form__submit {
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
  border: 0;
  border-radius: 10px;
  background: #cc2002;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}

.join-form-card--employee .join-form__submit:hover {
  background: #a81901;
}

.join-employee__copy h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  color: #ffffff;
}

.join-employee__copy > p {
  margin: 0 0 28px;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}

.join-accordion--employee {
  gap: 12px;
}

.join-accordion--employee details {
  border: 0;
  border-radius: 12px;
  background: #2a1f24;
}

.join-accordion--employee summary {
  padding: 18px 20px;
  padding-right: 48px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.join-accordion--employee summary::after {
  content: '';
  width: 12px;
  height: 12px;
  right: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.75);
  border-bottom: 2px solid rgba(255, 255, 255, 0.75);
  transform: translateY(-65%) rotate(45deg);
  color: transparent;
  font-size: 0;
}

.join-accordion--employee details[open] summary::after {
  content: '';
  transform: translateY(-20%) rotate(225deg);
}

.join-accordion--employee p {
  padding: 0 20px 18px;
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 960px) {
  .join-employee__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .join-section--employee {
    padding: 48px var(--container-pad, 24px);
  }

  .join-section--employee .join-section__grid {
    display: grid;
  }
}
