/* Bạn Đồng Ca (tuyen-cong-nhan 4.5): warm and people-first, like a friend who knows the factories. Cream paper, forest
   green, mustard highlights, an arched portrait of a recruiter, a timeline, speech-bubble quotes and a guide for new
   workers. Fonts: Fraunces (titles) + Be Vietnam Pro (text). */
:root {
  --cream: #f7f1e6;
  --paper: #fffaf1;
  --forest: #1f4d3a;
  --forest-2: #2c6650;
  --mustard: #e2a33b;
  --mustard-soft: #f6e2b8;
  --ink: #2b2a26;
  --muted: #6b665c;
  --line: rgba(43, 42, 38, 0.14);
  --k-font: 'Be Vietnam Pro', system-ui, sans-serif;
  --k-font-display: 'Fraunces', Georgia, serif;
  --k-accent: #1f4d3a;
  --k-accent-ink: #fffaf1;
  --k-ink: #2b2a26;
  --k-paper: #fffaf1;
  --k-muted: #6b665c;
  --k-line: rgba(43, 42, 38, 0.18);
  --k-radius: 16px;
}

body {
  background: var(--cream);
  color: var(--ink);
  font:
    400 16px/1.65 'Be Vietnam Pro',
    system-ui,
    sans-serif;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
}
.plain {
  margin: 0;
  padding: 0;
  list-style: none;
}
.kicker {
  margin: 0 0 8px;
  color: var(--forest-2);
  font-size: 14px;
  font-weight: 700;
}
.lead {
  max-width: 56ch;
  margin: -6px 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border: 2px solid var(--forest);
  border-radius: 999px;
  background: var(--forest);
  color: var(--paper);
  font:
    700 16px/1.2 'Be Vietnam Pro',
    sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.btn-line {
  background: transparent;
  color: var(--forest);
}
.btn-mustard {
  border-color: var(--mustard);
  background: var(--mustard);
  color: var(--ink);
}
.btn-sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
}
.btn-block {
  width: 100%;
}
.link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.link-big {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  text-decoration: none;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--forest);
  font-weight: 700;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
}

/* Header: name on top, a swipeable row of links under it */
.hdr {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.hdr-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px 16px 4px;
}
.brand {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 700;
  color: var(--forest);
  text-decoration: none;
}
.hdr-zalo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--mustard-soft);
  color: var(--ink);
  font:
    700 15px/1 'Be Vietnam Pro',
    sans-serif;
  cursor: pointer;
}
.nav {
  display: flex;
  gap: 4px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 2px 16px 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav a {
  flex: none;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover {
  background: var(--cream);
}
.nav .nav-cta {
  background: var(--forest);
  color: var(--paper);
}
.nav .nav-cta:hover {
  background: var(--forest-2);
}

/* Sections */
.sec {
  padding: 44px 16px;
}
.sec > * {
  max-width: 1128px;
  margin-left: auto;
  margin-right: auto;
}
.page {
  max-width: 1160px;
  margin: 0 auto;
}
.sec-green {
  background: var(--forest);
  color: var(--paper);
}
.sec-green .h2 {
  color: var(--paper);
}
.sec-paper {
  background: var(--paper);
}
.h1 {
  font-size: 32px;
  color: var(--forest);
}
.h2 {
  margin-bottom: 20px;
  font-size: 28px;
  color: var(--forest);
}
.h3 {
  margin: 26px 0 10px;
  font-size: 21px;
  color: var(--forest);
}
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
}
.sec-head .h2 {
  margin-bottom: 16px;
}

/* Hero */
.hero {
  display: grid;
  gap: 28px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 16px 36px;
}
.hero-title {
  font-size: 40px;
  line-height: 1.08;
  color: var(--forest);
}
.hero-title em {
  display: block;
  color: var(--ink);
  font-weight: 400;
}
.hero-lead {
  max-width: 40ch;
  margin: 16px 0 0;
  font-size: 17px;
}
.hero-arch {
  position: relative;
  margin: 0 0 24px;
}
.hero-arch img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: top;
  border-radius: 200px 200px 24px 24px;
  border: 6px solid var(--paper);
  box-shadow: 0 0 0 2px var(--mustard);
}
.hero-note {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -22px;
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(43, 42, 38, 0.16);
  line-height: 1.4;
}
.hero-note b {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px;
  color: var(--forest);
}
.hero-note span {
  color: var(--muted);
  font-size: 15px;
}

/* Promises */
.promises {
  padding: 0 16px;
}
.promises-in {
  display: grid;
  gap: 12px;
  max-width: 1128px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 20px;
  background: var(--mustard-soft);
}
.promises li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.promises .k-icon {
  width: 28px;
  height: 28px;
  color: var(--forest);
}

/* Jobs */
.jobs {
  display: grid;
  gap: 14px;
}
.job {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px;
  padding: 12px;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.job-img img {
  display: block;
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 14px;
}
.job-body {
  min-width: 0;
}
.job-cat {
  margin: 0;
  color: var(--forest-2);
  font-size: 13px;
  font-weight: 700;
}
.job-name {
  margin: 2px 0 4px;
  font-size: 19px;
  line-height: 1.25;
}
.job-name a {
  text-decoration: none;
}
.job-where {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.job-pay {
  display: inline-block;
  margin: 10px 10px 10px 0;
  padding: 3px 12px 3px 10px;
  border-radius: 4px 999px 999px 4px;
  background: var(--mustard);
  font-weight: 700;
  font-size: 15px;
}

/* Team */
.team {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}
.mate {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 16px;
  margin: 0;
}
.mate img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--mustard);
}
.mate figcaption {
  display: flex;
  flex-direction: column;
  line-height: 1.45;
}
.mate b {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
}
.mate-role {
  color: var(--mustard);
  font-size: 15px;
  font-weight: 700;
}
.mate-bio {
  color: rgba(255, 250, 241, 0.82);
  font-size: 15px;
}

/* Timeline */
.timeline {
  position: relative;
  display: grid;
  gap: 22px;
  padding-left: 34px;
  counter-reset: tl;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 11px;
  border-left: 2px dashed var(--forest-2);
}
.timeline li {
  position: relative;
  display: flex;
  flex-direction: column;
  counter-increment: tl;
}
.timeline li::before {
  content: counter(tl);
  position: absolute;
  top: 0;
  left: -34px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
}
.timeline b {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--forest);
}
.timeline span {
  margin-top: 4px;
  color: var(--muted);
}

/* Posts */
.posts {
  display: grid;
  gap: 22px;
}
.post {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 18px;
}
.post-date {
  margin-top: 12px;
  color: var(--forest-2);
  font-size: 14px;
  font-weight: 700;
}
.post-title {
  margin-top: 4px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
}
.post:hover .post-title {
  color: var(--forest);
  text-decoration: underline;
}
.post-excerpt {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

/* Quotes as speech bubbles */
.talks {
  display: grid;
  gap: 20px;
}
.talk {
  margin: 0;
}
.talk blockquote {
  position: relative;
  margin: 0 0 14px;
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.talk blockquote::after {
  content: '';
  position: absolute;
  left: 28px;
  bottom: -9px;
  width: 16px;
  height: 16px;
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}
.talk figcaption {
  padding-left: 20px;
  color: var(--muted);
  font-size: 15px;
}
.talk b {
  color: var(--ink);
}

/* Life gallery */
.life {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.life img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 16px;
}
.life img:first-of-type {
  grid-column: span 2;
  height: 200px;
}

/* FAQ */
.faqs {
  display: grid;
  gap: 0;
}
.faq {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  position: relative;
  padding: 16px 40px 16px 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  top: 12px;
  right: 4px;
  color: var(--mustard);
  font-size: 26px;
}
.faq[open] summary::after {
  content: '−';
}
.faq p {
  margin: 0;
  padding: 0 0 18px;
  color: var(--muted);
}

/* Visit */
.visit {
  display: grid;
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
}
.visit > *,
.dgrid > * {
  max-width: none;
  margin: 0;
}
.cta-row {
  margin-top: 0;
  margin-bottom: 0;
}
.visit-card {
  padding: 22px;
  border-radius: 24px;
  background: var(--paper);
}
.visit-hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dotted var(--line);
}
.map {
  min-height: 280px;
  overflow: hidden;
  border-radius: 24px;
}

/* List */
.tools {
  display: grid;
  gap: 14px;
  margin: 18px 0 24px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--paper);
  border: 2px solid var(--forest);
  color: var(--forest);
}
.search input {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  outline: none;
}
.pills,
.pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font:
    600 15px/1 'Be Vietnam Pro',
    sans-serif;
  cursor: pointer;
}
.pill[aria-pressed='true'] {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--paper);
}
.empty {
  padding: 22px;
  border-radius: 20px;
  background: var(--paper);
  text-align: center;
}

/* Detail */
.dhero {
  display: grid;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 16px 8px;
}
.dhero-short {
  margin: 12px 0 0;
  font-size: 17px;
}
.dhero-pay {
  display: inline-flex;
  flex-direction: column;
  margin: 18px 0 0;
  padding: 10px 18px;
  border-radius: 16px;
  background: var(--mustard-soft);
  line-height: 1.3;
}
.dhero-pay small {
  color: var(--muted);
  font-size: 14px;
}
.dhero-pay b {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 26px;
  color: var(--forest);
}
.dhero-img {
  margin: 0;
}
.dhero-img img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 24px 120px 24px 24px;
}
.dgrid {
  display: grid;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
}
.dtext {
  margin: 0;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.tags li {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}
.facts {
  margin: 0;
  border-radius: 20px;
  background: var(--paper);
  overflow: hidden;
}
.facts div {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.facts div:last-child {
  border-bottom: 0;
}
.facts dt {
  color: var(--muted);
  font-size: 14px;
}
.facts dd {
  margin: 0;
  font-weight: 600;
}
.ask {
  align-self: start;
  padding: 22px;
  border-radius: 24px;
  background: var(--forest);
  color: var(--paper);
  text-align: center;
}
.ask img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--mustard);
}
.ask-q {
  margin: 10px 0 6px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
}
.ask p {
  margin-top: 0;
}

/* Order */
.order {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}
.paper {
  padding: 20px;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.fine {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.order-side {
  display: grid;
  gap: 14px;
  order: -1;
}
.order-job {
  padding: 18px;
  border-radius: 20px;
  background: var(--mustard-soft);
}
.order-name {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--forest);
}
.order-name:empty::before {
  content: 'Chọn việc ở ô “Việc” trong hồ sơ, hoặc để người tư vấn gợi ý.';
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
}
.order-pay {
  margin: 4px 0 0;
  font-weight: 700;
}
.order-job:has(.order-name:empty) .order-pay {
  display: none;
}
.order-mate {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 14px;
  padding: 0 4px;
  font-size: 15px;
}
.order-mate img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
}
.order-mate p {
  margin: 0;
}

/* News + article */
.posts-all {
  margin-top: 24px;
}
.read {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 16px 44px;
}
.read-lead {
  margin: 14px 0 20px;
  font-size: 19px;
  font-style: italic;
  font-family: 'Fraunces', Georgia, serif;
}
.read-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 20px;
}
.read-body p {
  margin: 0 0 16px;
  font-size: 17px;
}
.read-body p:first-of-type::first-letter {
  float: left;
  margin: 6px 10px 0 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 58px;
  line-height: 0.8;
  color: var(--forest);
}
.read-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding: 20px;
  border-radius: 20px;
  background: var(--mustard-soft);
}
.read-cta p {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
}

/* Footer */
.ftr {
  background: var(--forest);
  color: rgba(255, 250, 241, 0.85);
  font-size: 15px;
}
.ftr-in {
  display: grid;
  gap: 22px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 36px 16px;
}
.ftr p {
  margin: 0 0 6px;
}
.ftr-brand {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 28px;
  font-weight: 700;
  color: var(--paper);
}
.ftr-h {
  color: var(--mustard);
  font-weight: 700;
}

@media (min-width: 720px) {
  .promises-in {
    grid-template-columns: repeat(3, 1fr);
  }
  .jobs {
    grid-template-columns: 1fr 1fr;
  }
  .team {
    grid-template-columns: repeat(3, 1fr);
  }
  .mate {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .mate img {
    width: 120px;
    height: 120px;
  }
  .posts {
    grid-template-columns: repeat(3, 1fr);
  }
  .talks {
    grid-template-columns: repeat(3, 1fr);
  }
  .life {
    grid-template-columns: repeat(4, 1fr);
  }
  .life img {
    height: 180px;
  }
  .life img:first-of-type {
    grid-row: span 2;
    height: 370px;
  }
  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 34px 0 0;
  }
  .timeline::before {
    top: 11px;
    bottom: auto;
    left: 0;
    right: 0;
    border-left: 0;
    border-top: 2px dashed var(--forest-2);
  }
  .timeline li::before {
    top: -34px;
    left: 0;
  }
  .ftr-in {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .hdr-top {
    padding: 12px 16px 0;
  }
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 56px;
    padding: 56px 16px 64px;
  }
  .hero-title {
    font-size: 64px;
  }
  .hero-arch img {
    height: 520px;
  }
  .hero-note {
    left: -40px;
    right: auto;
    bottom: 40px;
  }
  .sec {
    padding: 72px 16px;
  }
  .h1 {
    font-size: 44px;
  }
  .h2 {
    font-size: 36px;
  }
  .jobs-all {
    grid-template-columns: repeat(3, 1fr);
  }
  .jobs-all .job {
    grid-template-columns: 1fr;
  }
  .jobs-all .job-img img {
    width: 100%;
    height: 180px;
  }
  .faqs {
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
  }
  .visit {
    grid-template-columns: 1fr 1.3fr;
    align-items: stretch;
  }
  .dhero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
    padding-top: 40px;
  }
  .dhero-img img {
    height: 460px;
  }
  .dgrid {
    grid-template-columns: 1fr 340px;
    gap: 48px;
  }
  .ask {
    position: sticky;
    top: 120px;
  }
  .order {
    grid-template-columns: 1fr 360px;
    align-items: start;
  }
  .order-side {
    order: 0;
    position: sticky;
    top: 120px;
  }
  .read-img {
    height: 400px;
  }
}
