/* ============================================================
   인재채용 (Careers) page
   ============================================================ */

.cr-badge {
  display: inline-flex; align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: #EFF6FF;
  color: #2563EB;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Hero ─── */
.cr-hero {
  background: #F0F7FF;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.cr-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 60%);
  pointer-events: none;
}
.cr-hero .shell { position: relative; }
.cr-hero-title {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0F172A;
  margin: 18px 0 18px;
  line-height: 1.15;
}
.cr-hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
  max-width: 600px;
}
@media (max-width: 720px) {
  .cr-hero { padding: 64px 0 56px; }
  .cr-hero-title { font-size: 36px; }
  .cr-hero-sub { font-size: 16px; }
}

/* ─── Section wrappers ─── */
.cr-section {
  padding: 112px 0;
}
.cr-section-white { background: #FFFFFF; }
.cr-section-blue  { background: #F0F7FF; }

.cr-section-head { margin-bottom: 56px; }
.cr-center { text-align: center; }
.cr-center .cr-section-sub { margin-left: auto; margin-right: auto; }
.cr-section-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #0F172A;
  margin: 16px 0 14px;
  line-height: 1.3;
}
.cr-section-title-sm { font-size: 30px; }
.cr-section-sub {
  font-size: 17px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
  max-width: 620px;
}
@media (max-width: 720px) {
  .cr-section { padding: 72px 0; }
  .cr-section-head { margin-bottom: 36px; }
  .cr-section-title { font-size: 26px; }
  .cr-section-sub { font-size: 15.5px; }
}

/* ─────────────────────────────────────────
   Section 1: Values
   ───────────────────────────────────────── */
.cr-values {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) {
  .cr-values { grid-template-columns: 1fr; }
}
.cr-value {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 36px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cr-value:hover {
  transform: translateY(-2px);
  border-color: #BFDBFE;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}
.cr-value-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: #EFF6FF;
  color: #2563EB;
  margin-bottom: 6px;
}
.cr-value-en {
  font-size: 13px;
  font-weight: 700;
  color: #2563EB;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cr-value-divider {
  display: block;
  width: 20px; height: 2px;
  background: #2563EB;
  border-radius: 1px;
  margin: 2px 0 6px;
  opacity: 0.6;
}
.cr-value-ko {
  font-size: 26px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.cr-value-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

/* ─────────────────────────────────────────
   Section 2: Teams
   ───────────────────────────────────────── */
.cr-teams {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) {
  .cr-teams { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cr-teams { grid-template-columns: 1fr; }
}

.cr-team {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cr-team:hover {
  transform: translateY(-2px);
  border-color: #BFDBFE;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}
.cr-team-en {
  font-size: 13.5px;
  font-weight: 700;
  color: #2563EB;
  letter-spacing: 0.08em;
}
.cr-team-ko {
  font-size: 26px;
  font-weight: 700;
  color: #0F172A;
  margin: 4px 0 4px;
  letter-spacing: -0.02em;
}
.cr-team-sub {
  font-size: 13.5px;
  color: #94A3B8;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.cr-team-body {
  font-size: 14.5px;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 16px;
}
.cr-team-chip-label {
  font-size: 12px;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cr-team-chips {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cr-chip {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: #F1F5F9;
  color: #334155;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

/* ─────────────────────────────────────────
   Section 3: Space
   ───────────────────────────────────────── */
.cr-spaces {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
/* 5 cards in mosaic: top row 3 (each spans 2), bottom row 2 (each spans 3) */
.cr-space-1 { grid-column: span 2; }
.cr-space-2 { grid-column: span 2; }
.cr-space-3 { grid-column: span 2; }
.cr-space-4 { grid-column: span 3; }
.cr-space-5 { grid-column: span 3; }

@media (max-width: 960px) {
  .cr-spaces { grid-template-columns: repeat(2, 1fr); }
  .cr-space-1, .cr-space-2, .cr-space-3,
  .cr-space-4, .cr-space-5 { grid-column: span 1; }
}
@media (max-width: 560px) {
  .cr-spaces { grid-template-columns: 1fr; }
}

.cr-space {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cr-space-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: #F1F5F9;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cr-space:hover .cr-space-media {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.10);
}
.cr-space-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.cr-space-placeholder {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #2563EB;
  letter-spacing: 0.06em;
  font-size: 12.5px;
  font-weight: 700;
}
.cr-space-placeholder svg {
  width: 56px; height: 42px;
  opacity: 0.55;
}
.cr-space-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #0F172A;
  letter-spacing: -0.01em;
  padding: 0 4px;
}
.cr-space-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.06em;
}
.cr-space-note {
  margin-top: 28px;
  font-size: 13px;
  color: #94A3B8;
  text-align: center;
}

/* ─────────────────────────────────────────
   Section 4: Benefits
   ───────────────────────────────────────── */
.cr-benefits {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) {
  .cr-benefits { grid-template-columns: 1fr; }
}
.cr-benefit {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cr-benefit:hover {
  transform: translateY(-2px);
  border-color: #BFDBFE;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}
.cr-benefit-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: #EFF6FF;
  color: #2563EB;
  margin-bottom: 18px;
}
.cr-benefit-title {
  font-size: 20px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.cr-benefit-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cr-benefit-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: #334155;
  line-height: 1.5;
}
.cr-benefit-check {
  width: 20px; height: 20px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
}

/* ─────────────────────────────────────────
   Section 5: Careers (Join us)
   ───────────────────────────────────────── */
.cr-careers-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #EFF6FF;
  border-left: 4px solid #2563EB;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 0 auto 28px;
  max-width: 680px;
  text-align: left;
}
.cr-careers-notice-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #2563EB;
  color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.cr-careers-notice p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #334155;
}
.cr-careers-notice b {
  color: #0F172A;
  font-weight: 700;
}
.cr-careers-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.cr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  border: 1px solid transparent;
}
.cr-btn:hover { transform: translateY(-1px); }
.cr-btn-primary {
  background: #2563EB;
  color: #FFFFFF;
}
.cr-btn-primary:hover {
  background: #1D4ED8;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.32);
}
.cr-btn-outline {
  background: #FFFFFF;
  color: #0F172A;
  border-color: #0F172A;
}
.cr-btn-outline:hover {
  background: #0F172A;
  color: #FFFFFF;
}
/* 입사지원 양식 slide 패널 — 버튼 클릭 시 grid-rows 0fr→1fr 로 부드럽게 열림 */
.cr-apply-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s ease;
  margin: 0 auto 18px;
  max-width: 1280px;
}
.cr-apply-panel.is-open {
  grid-template-rows: 1fr;
}
.cr-apply-panel-inner {
  overflow: hidden;
  min-height: 0;
}

/* ───────── 입사지원 양식 (새 디자인) ───────── */
.cr-apply-form {
  margin-top: 22px;
  padding: 28px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  box-shadow: 0 18px 50px -28px rgba(15, 23, 42, 0.25);
  text-align: left;
}
.cr-apply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cr-apply-field { margin-bottom: 16px; }
.cr-apply-field > label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}
.cr-apply-req { color: #EF4444; font-weight: 700; }
.cr-apply-field input[type=text],
.cr-apply-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #0F172A;
  background: #F8FAFC;
  border: 1px solid #D9E0EA;
  border-radius: 10px;
  outline: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.cr-apply-field input[type=text]::placeholder,
.cr-apply-field textarea::placeholder { color: #94A3B8; }
.cr-apply-field input[type=text]:focus,
.cr-apply-field textarea:focus {
  border-color: #0F172A;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}
.cr-apply-field textarea { resize: vertical; min-height: 180px; line-height: 1.6; }

.cr-apply-email { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.cr-apply-email input[type=text] { flex: 1 1 0; min-width: 0; padding-left: 10px; padding-right: 10px; }
.cr-apply-at { color: #64748B; font-weight: 600; flex: 0 0 auto; }
.cr-apply-email-sel {
  flex: 0 0 auto;
  min-width: 0;
  max-width: 130px;
  padding: 12px 8px;
  font-size: 13px;
  font-family: inherit;
  color: #0F172A;
  background: #F8FAFC;
  border: 1px solid #D9E0EA;
  border-radius: 10px;
  outline: none;
  cursor: pointer;
}

.cr-apply-file { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.cr-apply-file input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.cr-apply-file-btn {
  display: inline-block;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #FFFFFF;
  background: #334155;
  border-radius: 9px;
  transition: background .18s ease;
}
.cr-apply-file:hover .cr-apply-file-btn { background: #0F172A; }
.cr-apply-file-name { font-size: 13px; color: #64748B; }

.cr-apply-terms {
  margin: 4px 0 18px;
  padding: 18px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}
.cr-apply-terms h4 { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: #0F172A; }
.cr-apply-terms-body {
  max-height: 150px;
  overflow-y: auto;
  font-size: 12.5px;
  line-height: 1.65;
  color: #64748B;
  padding-right: 8px;
}
.cr-apply-terms-body p { margin: 0 0 10px; }
.cr-apply-terms-body b { color: #334155; }
.cr-apply-agree {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #0F172A;
  cursor: pointer;
}
.cr-apply-agree input[type=checkbox] { width: 17px; height: 17px; accent-color: #0F172A; cursor: pointer; }

.cr-apply-submit { text-align: center; }
.cr-apply-submit .cr-btn { min-width: 200px; justify-content: center; }

@media (max-width: 600px) {
  .cr-apply-form { padding: 20px; }
  .cr-apply-grid { grid-template-columns: 1fr; }
}
.cr-careers-foot {
  text-align: center;
  font-size: 13.5px;
  color: #94A3B8;
  margin: 0;
  letter-spacing: -0.005em;
}
@media (max-width: 560px) {
  .cr-careers-actions { flex-direction: column; }
  .cr-careers-actions .cr-btn { width: 100%; justify-content: center; }
}
