/* ==========================================================================
   TechBound Careers Stylesheet
   Uniform typography, modern glass cards, responsive job boards & application form
   ========================================================================== */

/* ---------- Page Banner Override / Enhancement ---------- */
.careers-banner {
  position: relative;
  min-height: 400px;
  padding: 160px 24px 100px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  background: #06121e;
}

.careers-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.7) contrast(1.1);
}

.careers-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 18, 30, 0.75) 0%, rgba(6, 18, 30, 0.92) 100%);
}

.careers-banner__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.careers-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(0, 229, 153, 0.12);
  border: 1px solid rgba(0, 229, 153, 0.3);
  color: var(--brand, #00e599);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.careers-banner__badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand, #00e599);
  box-shadow: 0 0 10px var(--brand, #00e599);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.careers-banner__title {
  margin: 0 0 18px;
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: clamp(38px, 5.5vw, 56px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.careers-banner__title em {
  font-style: normal;
  background: linear-gradient(135deg, #00e599 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.careers-banner__lead {
  font-size: clamp(16px, 2vw, 19px);
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0 auto 30px;
  max-width: 680px;
}

.careers-banner__crumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}
.careers-banner__crumbs a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.careers-banner__crumbs a:hover {
  color: var(--brand, #00e599);
}
.careers-banner__crumbs span:last-child {
  color: var(--brand, #00e599);
  font-weight: 500;
}

/* Quick Bar */
.careers-quickbar {
  background: #0c1c2e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 24px;
}
.careers-quickbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.careers-quickbar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #94a3b8;
}
.careers-quickbar__item svg {
  width: 18px;
  height: 18px;
  color: var(--brand, #00e599);
  flex-shrink: 0;
}
.careers-quickbar__item strong {
  color: #fff;
  font-weight: 600;
}

/* ---------- Shared Container & Headings ---------- */
.cr-section {
  padding: 90px 24px;
  position: relative;
}
@media (max-width: 768px) {
  .cr-section {
    padding: 60px 18px;
  }
}
.cr-container {
  max-width: 1200px;
  margin: 0 auto;
}

.cr-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 60px;
}
.cr-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 229, 153, 0.1);
  border: 1px solid rgba(0, 229, 153, 0.25);
  color: var(--brand, #00e599);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cr-title {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #0f172a;
}
.cr-title--white {
  color: #ffffff;
}
.cr-lead {
  font-size: clamp(16px, 1.8vw, 18px);
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}
.cr-lead--light {
  color: #94a3b8;
}

/* ---------- Culture & Story Split ---------- */
.cr-culture {
  background: #ffffff;
}
.cr-culture__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 992px) {
  .cr-culture__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.cr-culture__image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
}
.cr-culture__image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.cr-culture__image-wrap:hover .cr-culture__image {
  transform: scale(1.03);
}

.cr-culture__badge-float {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(6, 18, 30, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
}
.cr-culture__badge-stat {
  display: flex;
  flex-direction: column;
}
.cr-culture__badge-stat strong {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--brand, #00e599);
}
.cr-culture__badge-stat span {
  font-size: 12px;
  color: #cbd5e1;
}

.cr-culture__text-col .cr-title {
  margin-top: 10px;
}
.cr-culture__text-col p {
  color: #475569;
  line-height: 1.7;
  font-size: 16px;
  margin-bottom: 24px;
}

.cr-values-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}
@media (max-width: 540px) {
  .cr-values-compact {
    grid-template-columns: 1fr;
  }
}
.cr-value-item {
  padding: 18px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: border-color 0.2s, transform 0.2s;
}
.cr-value-item:hover {
  border-color: var(--brand, #00e599);
  transform: translateY(-2px);
}
.cr-value-item__num {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 13px;
  font-weight: 800;
  color: var(--brand, #00e599);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.cr-value-item h4 {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #0f172a;
}
.cr-value-item p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ---------- Perks & Benefits Grid ---------- */
.cr-perks {
  background: #08121e;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cr-perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 992px) {
  .cr-perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .cr-perks-grid {
    grid-template-columns: 1fr;
  }
}

.cr-perk-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
  position: relative;
}
.cr-perk-card:hover,
.cr-perk-card.is-hovered,
.cr-perk-card.is-scroll-hovered {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 153, 0.35);
  background: rgba(255, 255, 255, 0.05);
}
.cr-perk-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 229, 153, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand, #00e599);
  margin-bottom: 20px;
}
.cr-perk-icon svg {
  width: 24px;
  height: 24px;
}
.cr-perk-title {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
}
.cr-perk-text {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
}

/* ---------- Open Positions Board ---------- */
.cr-openings {
  background: #f8fafc;
}

/* Category Filter Tabs */
.cr-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.cr-filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cr-filter-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.cr-filter-btn.is-active {
  background: #06121e;
  border-color: #06121e;
  color: #fff;
  box-shadow: 0 4px 12px rgba(6, 18, 30, 0.15);
}
.cr-filter-btn.is-active span {
  background: var(--brand, #00e599);
  color: #06121e;
}
.cr-filter-btn span {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 10px;
  background: #e2e8f0;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
  transition: all 0.2s;
}

/* Job Cards List */
.cr-jobs-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cr-job-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.cr-job-card:hover,
.cr-job-card.is-hovered,
.cr-job-card.is-scroll-hovered {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.cr-job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.cr-job-info {
  flex: 1 1 500px;
}
.cr-job-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.cr-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.cr-tag--dept {
  background: #eff6ff;
  color: #1d4ed8;
}
.cr-tag--type {
  background: #f0fdf4;
  color: #15803d;
}
.cr-tag--exp {
  background: #fef3c7;
  color: #b45309;
}
.cr-tag--loc {
  background: #f1f5f9;
  color: #475569;
}

.cr-job-title {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
}
.cr-job-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 16px;
}

.cr-job-skills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.cr-skill-pill {
  font-size: 12px;
  padding: 3px 9px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  color: #475569;
}

.cr-job-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  align-self: center;
}
@media (max-width: 640px) {
  .cr-job-actions {
    width: 100%;
    margin-top: 10px;
  }
  .cr-job-actions .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}

/* Expandable Drawer / Details */
.cr-job-drawer {
  display: none;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px dashed #e2e8f0;
}
.cr-job-card.is-expanded .cr-job-drawer {
  display: block;
  animation: fadeInDown 0.3s ease;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.cr-drawer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .cr-drawer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.cr-drawer-col h5 {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px;
}
.cr-drawer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cr-drawer-col ul li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}
.cr-drawer-col ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand, #00e599);
  font-weight: 700;
}

.cr-drawer-apply-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  padding: 14px 20px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}
@media (max-width: 600px) {
  .cr-drawer-apply-bar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}
.cr-drawer-apply-bar p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

/* ---------- Hiring Roadmap ---------- */
.cr-process {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}
.cr-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 992px) {
  .cr-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .cr-process-grid {
    grid-template-columns: 1fr;
  }
}

.cr-process-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px 24px;
  position: relative;
}
.cr-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.cr-process-title {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 10px;
}
.cr-process-text {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Application Section & Form (Matches White Contact Interface) ---------- */
.cr-apply {
  background: #fff;
  color: #0a1220;
  padding: 60px 20px;
  border-top: 1px solid #e2e8f0;
}
@media (min-width: 768px)  { .cr-apply { padding: 80px 24px; } }
@media (min-width: 1280px) { .cr-apply { padding: 100px 24px; } }

.cr-apply__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

/* Left info column */
.cr-apply__title {
  margin: 20px 0 18px;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: #000;
}
@media (min-width: 768px)  { .cr-apply__title { font-size: 40px; } }
@media (min-width: 1280px) { .cr-apply__title { font-size: 46px; } }

.cr-apply__lead {
  max-width: 520px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: #3d4a44;
  margin: 0;
}

.cr-contact-list {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 22px;
}
.cr-contact-list a,
.cr-contact-list__row {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: inherit;
}
.cr-contact-list__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f3f5f4;
  color: #000;
  transition: background-color .35s ease, color .35s ease, transform .35s ease;
}
.cr-contact-list__icon svg {
  width: 20px;
  height: 20px;
}
.cr-contact-list li:hover .cr-contact-list__icon {
  background: var(--brand);
  color: #fff;
  transform: translateY(-3px);
}
.cr-contact-list__text {
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.4;
  color: #0a1220;
}
.cr-contact-list__text small {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-body);
  font-size: 13px;
  color: #6b7378;
}

/* Right form column */
.cr-form-title {
  margin: 0 0 32px;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  color: #000;
}
@media (min-width: 768px) { .cr-form-title { font-size: 34px; } }

.cr-form {
  display: grid;
  gap: 6px;
}

/* Underline field with floating label (matches contact.css) */
.cr-field {
  position: relative;
  padding-top: 22px;
}
.cr-field input,
.cr-field select,
.cr-field textarea {
  display: block;
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid #cfd8d2;
  border-radius: 0;
  background: transparent;
  outline: none;
  font-family: var(--font-body);
  font-size: 17px;
  color: #0a1220;
  box-sizing: border-box;
}
.cr-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238a949b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 14px;
  padding-right: 28px;
}
.cr-field select option {
  background: #fff;
  color: #0a1220;
}
.cr-field textarea {
  resize: vertical;
  min-height: 84px;
}

.cr-field label {
  position: absolute;
  left: 0;
  top: 34px;
  font-family: var(--font-body);
  font-size: 17px;
  color: #8a949b;
  pointer-events: none;
  transform-origin: left top;
  transition: transform .25s ease, color .25s ease;
}
.cr-field input:focus + label,
.cr-field input:not(:placeholder-shown) + label,
.cr-field select + label,
.cr-field textarea:focus + label,
.cr-field textarea:not(:placeholder-shown) + label {
  transform: translateY(-24px) scale(.78);
  color: var(--brand);
}

/* Green line that grows on focus */
.cr-field::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.cr-field:focus-within::after {
  transform: scaleX(1);
}

/* Phone row */
.cr-form__phone {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
}
.cr-field--code {
  align-self: start;
}
.cr-field--code input {
  text-align: left;
}

/* Resume Upload Box (Clean light style matching the white form) */
.cr-upload-field {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cr-upload-label {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--brand);
}
.cr-upload-label .opt {
  color: #8a949b;
  font-weight: 400;
}
.cr-upload-box {
  position: relative;
  border: 1.5px dashed #cfd8d2;
  border-radius: 12px;
  padding: 20px 18px;
  text-align: center;
  background: #f8faf9;
  cursor: pointer;
  transition: border-color .25s ease, background-color .25s ease;
}
.cr-upload-box:hover,
.cr-upload-box.is-dragover {
  border-color: var(--brand);
  background: rgba(27, 140, 67, 0.04);
}
.cr-upload-box input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}
.cr-upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}
.cr-upload-content svg {
  width: 24px;
  height: 24px;
  color: var(--brand);
}
.cr-upload-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: #3d4a44;
}
.cr-upload-text strong {
  color: var(--brand);
}
.cr-upload-hint {
  font-family: var(--font-body);
  font-size: 12px;
  color: #8a949b;
}
.cr-upload-name {
  display: none;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
}

/* Honeypot hidden input */
.cr-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Privacy note & submit button (matches contact.css) */
.cr-form__note {
  margin: 14px 0 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: #6b7378;
}
.cr-form__note a {
  color: var(--brand);
  text-decoration: underline;
}

.cr-submit-btn {
  margin-top: 18px;
  justify-self: start;
  height: 50px;
  padding: 10px 22px;
  font-size: 16px;
  line-height: 1.3;
  gap: 12px;
}
.cr-submit-btn.btn--arrow::after {
  width: 16px;
  height: 16px;
}
.cr-submit-btn:disabled {
  opacity: .7;
  pointer-events: none;
}

.cr-status {
  margin: 16px 0 0;
  min-height: 22px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  display: none;
}
.cr-status.is-success {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #eef7f1;
  border: 1px solid rgba(27, 140, 67, 0.35);
  color: #114b27;
}
.cr-status.is-success strong {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--brand);
}
.cr-status.is-error {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .cr-apply__inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}
@media (max-width: 520px) {
  .cr-form__phone {
    grid-template-columns: 76px 1fr;
    gap: 12px;
  }
}

/* ---------- FAQ Section ---------- */
.cr-faq {
  background: #ffffff;
}
.cr-faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cr-faq-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  overflow: hidden;
  transition: border-color 0.2s;
}
.cr-faq-card[open] {
  border-color: var(--brand, #00e599);
  background: #fff;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.06);
}
.cr-faq-summary {
  padding: 20px 24px;
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.cr-faq-summary::-webkit-details-marker {
  display: none;
}
.cr-faq-summary .chevron {
  width: 20px;
  height: 20px;
  color: #64748b;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.cr-faq-card[open] .cr-faq-summary .chevron {
  transform: rotate(180deg);
  color: var(--brand, #00e599);
}
.cr-faq-body {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
}
.cr-faq-body p {
  margin: 0 0 10px;
}
.cr-faq-body p:last-child {
  margin: 0;
}

/* ---------- Speculative Banner / Bottom CTA ---------- */
.cr-bottom-cta {
  position: relative;
  overflow: hidden;
  background: #000000 url('../assets/hero.avif') center / cover no-repeat;
  color: #fff;
  padding: 76px 24px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cr-bottom-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(640px 380px at 85% 25%, rgba(27, 140, 67, 0.34), transparent 70%),
    linear-gradient(180deg, rgba(4, 14, 10, 0.78) 0%, rgba(4, 14, 10, 0.88) 70%, #000000 100%);
  pointer-events: none;
}
.cr-bottom-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.cr-bottom-cta h3 {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: clamp(26px, 3.5vw, 36px);
  margin: 0 0 14px;
}
.cr-bottom-cta p {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 28px;
}
.cr-bottom-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}


/* ===== Career Application Popup Modal ===== */
.cr-apply-modal__dialog {
  max-width: 600px;
}

.cr-apply-modal__body {
  padding: 36px 34px 34px;
  background: #ffffff;
}

.cr-apply-modal__lead {
  margin: 0 0 22px;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.55;
  color: #4b5852;
}

@media (max-width: 600px) {
  .cr-apply-modal__body {
    padding: 28px 20px 26px;
  }
}
