/* ============================================================
   CAREERS PAGE STYLES
   ============================================================ */

/* ── HERO — FULL-WIDTH BG IMAGE ── */

.careers-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  background: url('../images/careers.webp') center center / cover no-repeat;
  overflow: hidden;
}


.ch-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 60px 2rem 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

/* Badge as link */
.ch-badge {
  text-decoration: none; cursor: pointer; transition: opacity 0.2s;
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.28) !important;
  color: #fff !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ch-badge:hover { opacity: 0.8; }
.ch-badge .badge-pulse { background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,0.5); }

.ch-bg-overlay {
  position: absolute; inset: 0;
  background: rgba(10,15,35,0.58);
  z-index: 1;
}

/* Heading */
.ch-h1 {
  font-family: var(--font-head);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 1.2rem 0 1.6rem;
}
.ch-h1-em { display: block; color: #FF2D55; font-style: normal; }

.ch-sub {
  font-size: 18px; color: rgba(255,255,255,0.80); line-height: 1.74;
  max-width: 620px; margin: 0 auto 2.4rem;
}

.ch-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 0; }

.btn-ghost-white {
  border: 2px solid rgba(255,255,255,0.55);
  color: #fff;
  background: transparent;
  transition: background 0.2s, border-color 0.2s;
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

/* 2×2 stats icon grid */
.ch-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.ch-sg-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--gray-50); border: 1px solid var(--border-light);
  border-radius: 14px; padding: 1rem 1.2rem;
  transition: box-shadow 0.25s, transform 0.25s;
}
.ch-sg-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ch-sg-card-accent { background: rgba(196,30,58,0.04); border-color: rgba(196,30,58,0.18); }

.ch-sg-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.ch-sg-icon svg { width: 18px; height: 18px; }
.ch-ic-team   { background: rgba(56,72,125,0.1);  color: var(--navy); }
.ch-ic-office { background: rgba(6,95,70,0.1);    color: #065F46; }
.ch-ic-rating { background: rgba(180,83,9,0.1);   color: #B45309; }
.ch-ic-roles  { background: rgba(196,30,58,0.1);  color: var(--red); }

.ch-sg-val {
  font-family: var(--font-mono); font-size: 22px; font-weight: 800;
  color: var(--dark); line-height: 1; margin-bottom: 2px;
}
.ch-sg-val span { font-size: 13px; opacity: 0.5; }
.ch-sg-val-accent { color: var(--red); }
.ch-sg-label {
  font-size: 10px; font-family: var(--font-mono); color: rgba(0,0,0,0.38);
  text-transform: uppercase; letter-spacing: 0.07em;
}


/* ── TECH STACK TICKER ── */
.ch-ticker {
  border-top: 1px solid var(--border-light);
  background: var(--gray-50);
  padding: 10px 0;
  overflow: hidden;
}
.ch-ticker-inner { overflow: hidden; }
.ch-ticker-track {
  display: flex; align-items: center;
  width: max-content;
  animation: ch-ticker-scroll 35s linear infinite;
}
.ch-ticker-track span {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  white-space: nowrap; padding: 0 20px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.ch-ticker-track span:nth-child(odd)  { color: rgba(56,72,125,0.45); }
.ch-ticker-track span:nth-child(even) { color: rgba(196,30,58,0.4); }
@keyframes ch-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .ch-inner { padding: 40px 1.5rem 60px; }
  .careers-hero { min-height: 70vh; }
}
@media (max-width: 540px) {
  .ch-inner { padding: 32px 1.25rem 50px; }
  .careers-hero { min-height: 60vh; background-position: 65% center; }
  .ch-h1 { letter-spacing: -1px; }
  .ch-btns { flex-direction: column; }
  .ch-btns .btn { text-align: center; justify-content: center; }
}

/* Why Work Here */
.careers-why { padding: 56px 0 24px; background: #F4F6FB; }

.ww-header { text-align: center; margin-bottom: 3.5rem; }
.ww-h2 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  margin: 0.6rem 0 1rem;
}
.ww-intro {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

.why-work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.ww-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-top: 3px solid transparent;
  border-radius: 16px;
  padding: 2rem 1.8rem 2.2rem;
  transition: box-shadow 0.3s, transform 0.3s, border-top-color 0.3s;
}
.ww-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.09); transform: translateY(-4px); }
.ww-card:nth-child(1):hover { border-top-color: var(--navy); }
.ww-card:nth-child(2):hover { border-top-color: #00A87A; }
.ww-card:nth-child(3):hover { border-top-color: #B45309; }
.ww-card:nth-child(4):hover { border-top-color: var(--red); }
.ww-card:nth-child(5):hover { border-top-color: #059669; }
.ww-card:nth-child(6):hover { border-top-color: #6D28D9; }

.ww-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  flex-shrink: 0;
}
.ww-icon-wrap svg, .ww-icon-wrap img { width: 28px; height: 28px; }

.ww-ic-navy   { background: rgba(56,72,125,0.1);  color: var(--navy); }
.ww-ic-teal   { background: rgba(0,168,122,0.12); color: #00A87A; }
.ww-ic-gold   { background: rgba(180,83,9,0.1);   color: #B45309; }
.ww-ic-red    { background: rgba(196,30,58,0.1);  color: var(--red); }
.ww-ic-green  { background: rgba(5,150,105,0.1);  color: #059669; }
.ww-ic-purple { background: rgba(109,40,217,0.1); color: #6D28D9; }

.ww-stat {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.35rem;
}
.ww-title {
  font-family: var(--font-head); font-size: 18px; font-weight: 700;
  color: var(--dark); margin-bottom: 0.6rem; line-height: 1.3;
}
.ww-desc { font-size: 14px; color: var(--gray-600); line-height: 1.72; }

/* Jobs */
.careers-jobs { padding: 40px 0; background: var(--gray-50); }
.jobs-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 2.5rem; gap: 1.5rem; flex-wrap: wrap;
}
.jobs-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.jf-btn {
  background: var(--white); border: 1.5px solid var(--border-light);
  color: var(--gray-600); font-size: 13px; font-weight: 600;
  padding: 8px 18px; border-radius: 100px; cursor: pointer;
  transition: var(--transition); font-family: var(--font-body);
}
.jf-btn:hover, .jf-btn.active {
  background: var(--navy); color: #fff; border-color: var(--navy);
}

.jobs-list { display: flex; flex-direction: column; gap: 12px; }
.job-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: 14px; padding: 1.8rem 2rem;
  display: grid; grid-template-columns: auto 1fr auto auto;
  align-items: start; gap: 0.5rem 1.4rem;
  transition: box-shadow 0.25s, transform 0.25s;
}
.job-card:hover { box-shadow: var(--shadow-lift); transform: translateX(4px); }
.job-card.hidden { display: none; }

.job-meta {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; margin-bottom: 0.3rem;
}
.job-dept {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 100px; letter-spacing: 0.06em;
}
.dept-eng { background: #EEF0FA; color: var(--navy); }
.dept-prod { background: #FEF3C7; color: #B45309; }
.dept-sales { background: #FEE8EC; color: var(--red); }
.dept-ops { background: #D1FAE5; color: #065F46; }
.job-type { font-size: 11px; color: var(--gray-400); font-family: var(--font-mono); font-weight: 600; }
.job-loc { font-size: 11px; color: var(--gray-400); font-family: var(--font-mono); }

.job-title {
  grid-column: 1 / 4; font-family: var(--font-head); font-size: 18px; font-weight: 700;
  color: var(--dark); margin-bottom: 0.4rem;
}
.job-desc {
  grid-column: 1 / 4; font-size: 13.5px; color: var(--gray-600);
  line-height: 1.66; margin-bottom: 0.8rem;
}
.job-skills {
  grid-column: 1 / 4; display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 0;
}
.skill-tag {
  background: var(--gray-100); border: 1px solid var(--border-light);
  color: var(--gray-600); font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 100px; font-family: var(--font-mono);
}
.job-apply-btn {
  grid-row: 2 / 5; grid-column: 4; align-self: center;
  background: var(--red); color: #fff; border: none;
  padding: 10px 20px; border-radius: 8px; font-size: 13px; font-weight: 700;
  cursor: pointer; white-space: nowrap; transition: var(--transition);
  font-family: var(--font-body);
}
.job-apply-btn:hover { background: var(--red-hover); transform: scale(1.04); }

/* Closed job card */
.job-card--closed { opacity: 0.55; pointer-events: none; }
.job-card--closed:hover { box-shadow: none; transform: none; }
.job-closed-badge {
  grid-row: 2 / 5; grid-column: 4; align-self: center;
  background: var(--gray-100); border: 1px solid var(--border-light);
  color: var(--gray-400); font-size: 11px; font-weight: 700;
  padding: 8px 14px; border-radius: 8px; white-space: nowrap;
  font-family: var(--font-mono); letter-spacing: 0.04em; text-align: center;
}

/* Culture Gallery */
.careers-culture { padding: 80px 0; background: var(--white); }

.culture-header { text-align: center; margin-bottom: 3rem; }
.culture-h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--dark);
  margin: 0.5rem 0;
}
.culture-sub {
  color: var(--gray-600);
  font-size: 15px;
  max-width: 440px;
  margin: 0.5rem auto 0;
}

.culture-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 14px;
}

.culture-card {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: default;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.culture-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.18); }

/* Main photo card — left, spans both rows */
.cc-main { grid-column: 1; grid-row: 1 / span 2; }
.cc-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.cc-main:hover img { transform: scale(1.04); }

/* Small cards — right 2×2 */
.culture-grid .cc-sm:nth-child(2) { grid-column: 2; grid-row: 1; }
.culture-grid .cc-sm:nth-child(3) { grid-column: 3; grid-row: 1; }
.culture-grid .cc-sm:nth-child(4) { grid-column: 2; grid-row: 2; }
.culture-grid .cc-sm:nth-child(5) { grid-column: 3; grid-row: 2; }

/* Dot pattern texture */
.cc-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

/* Overlays */
.cc-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.2rem 1.4rem;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
}
.cc-overlay--full {
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 65%);
}

.cc-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.cc-label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.cc-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  margin: 5px 0 0;
  line-height: 1.45;
}

/* Hiring Process */
.careers-process { padding: 100px 0; background: var(--gray-50); }
.process-steps {
  display: flex; align-items: flex-start; gap: 0;
  justify-content: space-between; flex-wrap: wrap;
}
.ps-step {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  flex: 1; min-width: 120px; max-width: 160px; padding: 0 6px;
}
.ps-connector {
  flex: 0 0 20px; height: 1px; background: var(--border-light);
  align-self: center; min-width: 16px;
  margin-top: -60px;
}
.ps-num {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  color: var(--gray-400); letter-spacing: 0.08em; margin-bottom: 8px;
}
.ps-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 0.8rem; box-shadow: var(--shadow-card);
}
.ps-title {
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
  color: var(--dark); margin-bottom: 0.4rem;
}
.ps-desc { font-size: 12.5px; color: var(--gray-600); line-height: 1.55; }

/* ===================== APPLY MODAL ===================== */
.apply-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.apply-overlay.open { opacity: 1; visibility: visible; }
.apply-modal {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 1.6rem 2rem; width: 100%; max-width: 580px;
  position: relative; margin: auto;
  transform: scale(0.94) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 40px 80px rgba(0,0,0,0.25);
}
.apply-overlay.open .apply-modal { transform: scale(1) translateY(0); }
.apply-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: var(--gray-100); border: none; color: var(--gray-600);
  width: 32px; height: 32px; border-radius: 50%; font-size: 16px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.apply-close:hover { background: var(--gray-200); color: var(--dark); }

.apply-modal-header { margin-bottom: 1rem; }
.apply-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red-subtle); border: 1px solid rgba(196,30,58,0.22);
  color: var(--red); padding: 3px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 700; font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem;
}
.apply-title {
  font-family: var(--font-head); font-size: 22px; font-weight: 800;
  color: var(--dark); margin-bottom: 0.2rem;
}
.apply-role-name {
  font-size: 14px; color: var(--red); font-weight: 600;
  font-family: var(--font-mono);
}
.apply-label {
  display: block; font-size: 12px; font-weight: 700;
  color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 6px; font-family: var(--font-mono);
}

/* Resume Upload Zone */
.resume-upload-zone {
  border: 2px dashed var(--border-light); border-radius: 10px;
  padding: 0.9rem 1.2rem; display: flex; align-items: center; gap: 1rem;
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
  background: var(--gray-50);
}
.resume-upload-zone:hover, .resume-upload-zone:focus {
  border-color: rgba(196,30,58,0.45); background: var(--white); outline: none;
}
.resume-upload-zone.drag-over {
  border-color: var(--red); background: var(--red-subtle);
}
.ruz-icon { font-size: 28px; flex-shrink: 0; }
.ruz-title { font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 3px; }
.ruz-browse { color: var(--red); text-decoration: underline; cursor: pointer; }
.ruz-hint { font-size: 12px; color: var(--gray-400); font-family: var(--font-mono); }

.resume-file-info {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: #D1FAE5;
  border: 1px solid #A7F3D0; border-radius: 8px; margin-top: 8px;
}
.rfi-name { font-size: 13px; font-weight: 600; color: #065F46; flex: 1; }
.rfi-size { font-size: 11px; color: #065F46; font-family: var(--font-mono); opacity: 0.7; }
.rfi-remove {
  background: none; border: none; color: #065F46; font-size: 12px;
  font-weight: 700; cursor: pointer; padding: 2px 6px; border-radius: 4px;
  transition: background 0.15s;
}
.rfi-remove:hover { background: rgba(0,0,0,0.08); }

.resume-error {
  font-size: 12px; color: var(--red); font-weight: 600;
  padding: 8px 12px; background: var(--red-subtle);
  border: 1px solid rgba(196,30,58,0.2); border-radius: 7px; margin-top: 6px;
}

.apply-consent { margin: 0.6rem 0; }
.consent-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--gray-600); line-height: 1.55; cursor: pointer;
}
.consent-label input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; accent-color: var(--red); }

.apply-form .form-group { margin-bottom: 8px; }
.apply-label { margin-bottom: 4px; }
.apply-submit { margin-top: 0; letter-spacing: 0.02em; }

/* Success state */
.apply-success { text-align: center; padding: 3rem 1rem; }
.success-icon { font-size: 56px; margin-bottom: 1.2rem; display: block; }
.success-title {
  font-family: var(--font-head); font-size: 26px; font-weight: 800;
  color: var(--dark); margin-bottom: 0.8rem;
}
.success-desc { font-size: 15px; color: var(--gray-600); line-height: 1.7; margin-bottom: 2rem; max-width: 380px; margin-left: auto; margin-right: auto; }

/* Responsive */
@media (max-width: 900px) {
  .why-work-grid { grid-template-columns: 1fr 1fr; }
  .job-card { grid-template-columns: 1fr; }
  .job-apply-btn { grid-row: auto; grid-column: 1; width: 100%; margin-top: 0.8rem; }
  .job-title, .job-desc, .job-skills { grid-column: 1; }
  .culture-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px 220px;
  }
  .cc-main { grid-column: 1 / span 2; grid-row: 1; }
  .culture-grid .cc-sm:nth-child(2) { grid-column: 1; grid-row: 2; }
  .culture-grid .cc-sm:nth-child(3) { grid-column: 2; grid-row: 2; }
  .culture-grid .cc-sm:nth-child(4) { grid-column: 1; grid-row: 3; }
  .culture-grid .cc-sm:nth-child(5) { grid-column: 2; grid-row: 3; }
  .process-steps { gap: 1.5rem; }
  .ps-connector { display: none; }
}
@media (max-width: 600px) {
  .why-work-grid { grid-template-columns: 1fr; }
  .culture-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 200px);
  }
  .cc-main { grid-column: 1; grid-row: 1; }
  .culture-grid .cc-sm:nth-child(2) { grid-column: 1; grid-row: 2; }
  .culture-grid .cc-sm:nth-child(3) { grid-column: 1; grid-row: 3; }
  .culture-grid .cc-sm:nth-child(4) { grid-column: 1; grid-row: 4; }
  .culture-grid .cc-sm:nth-child(5) { grid-column: 1; grid-row: 5; }
  .apply-modal { padding: 1.8rem 1.4rem; }
}

/* ===================== HEAR FROM EMPLOYEES ===================== */
.careers-voices { padding: 40px 0 40px; background: var(--gray-50); }
.voices-header { text-align: center; margin-bottom: 4rem; }
.voices-h2 { font-family: var(--font-head); font-size: clamp(28px,3.5vw,44px); font-weight: 800; color: var(--dark); line-height: 1.15; margin: 0.5rem 0; }
.voices-sub { font-size: 15px; color: var(--gray-500); margin-top: 0.6rem; }

/* Recruiter video */
.recruiter-video-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 4rem; }
.rv-video-panel { border-radius: 16px; overflow: hidden; background: var(--dark); aspect-ratio: 16/9; position: relative; }
.rv-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: url('../images/hr.webp') center / cover no-repeat; }
.rv-play-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; cursor: pointer; transition: transform 0.2s; }
.rv-play-icon:hover { transform: scale(1.1); }
.rv-title { font-size: 16px; font-weight: 700; color: #fff; }
.rv-sub { font-size: 12px; color: rgba(255,255,255,0.35); font-family: var(--font-mono); }
.rv-h3 { font-family: var(--font-head); font-size: clamp(22px,2.5vw,34px); font-weight: 800; color: var(--dark); line-height: 1.2; margin: 0.5rem 0 1rem; }
.rv-desc { font-size: 15px; color: var(--gray-600); line-height: 1.75; margin-bottom: 1.8rem; }
.rv-recruiters { display: flex; flex-direction: column; gap: 12px; }
.rv-recruiter { display: flex; align-items: center; gap: 12px; }
.rv-rec-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: #fff; flex-shrink: 0; }
.rv-rec-name { font-size: 14px; font-weight: 700; color: var(--dark); }
.rv-rec-role { font-size: 12px; color: var(--gray-400); }

/* Employee testimonials grid — horizontal scroll */
.emp-testi-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.emp-testi-grid::-webkit-scrollbar { display: none; }
.emp-testi-card { background: var(--white); border: 1.5px solid var(--border-light); border-radius: var(--radius-lg); padding: 2rem; display: flex; flex-direction: column; gap: 1.2rem; transition: box-shadow 0.2s, transform 0.2s; flex: 0 0 calc(33.333% - 14px); min-width: 280px; scroll-snap-align: start; }
.emp-testi-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.etc-quote { font-size: 14.5px; color: var(--gray-600); line-height: 1.75; flex: 1; font-style: italic; }
.etc-quote::before { content: '\201C'; font-size: 32px; color: var(--red); line-height: 0; vertical-align: -10px; margin-right: 4px; }
.etc-author { display: flex; align-items: center; gap: 12px; }
.etc-avatar { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; flex-shrink: 0; }
.etc-name { font-size: 14px; font-weight: 700; color: var(--dark); }
.etc-role { font-size: 12px; color: var(--gray-400); }

@media (max-width: 900px) {
  .recruiter-video-wrap { grid-template-columns: 1fr; gap: 32px; }
  .emp-testi-card { flex: 0 0 80%; }
}

/* ---- 480px: small phones ---- */
@media (min-width: 320px) and (max-width: 480px) {
  .careers-why { padding: 56px 0; }
  .why-work-grid { grid-template-columns: 1fr; }
  .ww-card { padding: 1.6rem 1.4rem; min-width: 0; }
  .careers-jobs { padding: 56px 0; }
  .job-card { padding: 1.4rem; grid-template-columns: 1fr; }
  .job-apply-btn { grid-row: auto; grid-column: 1; width: 100%; margin-top: 0.8rem; }
  .job-title, .job-desc, .job-skills, .job-meta { grid-column: 1; }
  .jobs-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .careers-voices { padding: 56px 0; }
  .recruiter-video-wrap { grid-template-columns: 1fr; gap: 24px; }
  .emp-testi-card { flex: 0 0 90%; }
  .rv-h3 { font-size: clamp(20px, 6vw, 28px); }
}

/* ---- 375px: iPhone SE/standard family ---- */
@media (min-width: 375px) and (max-width: 480px) {
  .ww-card { padding: 1.5rem 1.3rem; }
  .ww-title { font-size: 17px; }
  .job-card { padding: 1.3rem; }
  .job-title { font-size: 16.5px; }
  .rv-h3 { font-size: clamp(22px, 6vw, 28px); }
}

/* ---- max 375px: iPhone SE and smaller ---- */
@media (max-width: 375px) {
  .ww-card { padding: 1.4rem 1.2rem; }
  .ww-title { font-size: 16.5px; }
  .job-card { padding: 1.2rem; }
  .job-title { font-size: 16.5px; }
  .rv-h3 { font-size: clamp(21px, 6vw, 26px); }
}

/* ---- 360px: budget Androids ---- */
@media (max-width: 360px) {
  .ww-card { padding: 1.2rem; }
  .ww-title { font-size: 16px; }
  .ww-desc { font-size: 13px; }
  .job-title { font-size: 16px; }
  .job-desc { font-size: 12.5px; }
  .chs-val { font-size: 24px; }
  .jobs-filters { gap: 6px; }
  .jf-btn { font-size: 12px; padding: 7px 14px; }
}

/* ---- 320px: legacy phones ---- */
@media (max-width: 320px) {
  .ww-card { padding: 1rem; }
  .ww-title { font-size: 15px; }
  .job-card { padding: 1.1rem; }
  .job-title { font-size: 15px; }
  .chs-val { font-size: 20px; }
}
