@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,600;0,700;0,800;1,700;1,800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --ink: #161616;
  --green: #2BB561;
  --green-deep: #1E8F4C;
  --blue: #0275FB;
  --paper: #FAFAF8;
  --white: #FFFFFF;
  --gray-700: #4A4A47;
  --gray-500: #6B6B68;
  --gray-300: #C9C9C4;
  --gray-100: #E9E9E5;
  --line: #DEDEDA;

  --font-display: 'Archivo', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.2;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 8px;
  display: block;
}

.mono-text {
  font-family: var(--font-mono);
}

/* ---------- SKEW TAG & BUTTONS ---------- */
.skew-tag {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  transform: skewX(-10deg);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
}
.skew-tag span {
  display: inline-block;
  transform: skewX(10deg);
}
.skew-tag.blue { background: var(--blue); }
.skew-tag.ink { background: var(--ink); }
.skew-tag.outline { background: transparent; border: 1px solid var(--green); color: var(--green-deep); }

.btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  background: var(--green);
  color: var(--white);
  padding: 10px 22px;
  border: none;
  transform: skewX(-8deg);
  cursor: pointer;
  display: inline-block;
  transition: background 0.15s ease;
  border-radius: 2px;
  text-align: center;
}
.btn span {
  display: block;
  transform: skewX(8deg);
}
.btn:hover {
  background: var(--green-deep);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--gray-300);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--ink);
  background: var(--white);
}
.btn-blue {
  background: var(--blue);
}
.btn-blue:hover {
  background: #0264d8;
}
.btn-block {
  display: block;
  width: 100%;
}

/* ---------- HEADER & NAV ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 26px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 2px;
}
.wordmark .tuyensale { color: var(--ink); }
.wordmark .bds { color: var(--green); }
.logo-img { height: 38px; width: auto; object-fit: contain; }

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-item {
  position: relative;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray-700);
  padding: 24px 0;
  transition: color 0.15s;
}
.nav-item:hover, .nav-item.active {
  color: var(--ink);
}
.nav-item .arrow {
  font-family: var(--font-mono);
  font-size: 10px;
  margin-left: 4px;
  color: var(--gray-500);
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  min-width: 220px;
  display: none;
  flex-direction: column;
  padding: 8px 0;
  border-radius: 4px;
  z-index: 10;
}
.nav-item:hover .dropdown-menu {
  display: flex;
}
.dropdown-item {
  padding: 10px 18px;
  font-size: 13px;
  color: var(--gray-700);
  transition: background 0.15s, color 0.15s;
}
.dropdown-item:hover {
  background: var(--paper);
  color: var(--green-deep);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------- HERO SECTION ---------- */
.hero-section {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-content h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--green);
}
.hero-content p {
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-image-card {
  background: var(--ink);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
  border: 1px solid var(--ink);
}
.hero-image-card img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.65;
}
.hero-card-overlay {
  position: relative;
  z-index: 2;
}

/* ---------- CATEGORY PILL STRIP ---------- */
.cat-strip-wrapper {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.cat-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.cat-pill {
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--gray-700);
  background: var(--white);
  transition: all 0.15s;
}
.cat-pill:hover, .cat-pill.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* ---------- STATS BAND ---------- */
.stats-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  padding: 0 16px;
  border-right: 1px solid var(--line);
}
.stat-card:last-child {
  border-right: none;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  color: var(--ink);
}
.stat-label {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ---------- SECTION COMMON ---------- */
.section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}
.section-header h2 {
  font-size: 28px;
  font-weight: 700;
}
.view-all-link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue);
  letter-spacing: 0.05em;
  transition: color 0.15s;
}
.view-all-link:hover {
  color: var(--ink);
}

/* ---------- ARTICLE CARD GRID ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.card-thumb {
  height: 180px;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-thumb .skew-tag {
  position: absolute;
  top: 12px;
  left: 12px;
}
.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}
.card-title a:hover {
  color: var(--green-deep);
}
.card-excerpt {
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}
.card-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-500);
}

/* ---------- KNOWLEDGE FEATURED GRID ---------- */
.know-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}
.know-featured {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.know-featured .card-thumb {
  height: 240px;
}
.know-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.know-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px 20px;
  border-left: 4px solid var(--blue);
  transition: border-left-color 0.15s;
}
.know-item:hover {
  border-left-color: var(--green);
}
.know-item h4 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}
.know-item .card-meta {
  margin-top: 8px;
}

/* ---------- JOB RECRUITMENT GRID ---------- */
.job-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.job-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.15s;
}
.job-card:hover {
  border-color: var(--green);
}
.job-title {
  font-size: 16px;
  font-weight: 700;
}
.job-company {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 4px;
}
.job-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.job-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 6px 14px;
  border-radius: 20px;
}
.job-pill.highlight {
  background: #EEF5FF;
  color: var(--blue);
}

/* ---------- SUCCESS STORIES ---------- */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.story-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px;
  border-top: 4px solid var(--green);
}
.story-quote {
  font-size: 13.5px;
  color: var(--gray-700);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 20px;
}
.story-author {
  font-weight: 700;
  font-size: 14px;
}
.story-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 2px;
}

/* ---------- PARTNER LOGOS ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.partner-card {
  background: var(--white);
  border: 1px solid var(--line);
  height: 72px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 16px;
  color: var(--gray-500);
}

/* ---------- EVENTS GRID ---------- */
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.event-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px;
  display: flex;
  gap: 16px;
}
.date-badge {
  width: 54px;
  height: 54px;
  background: var(--ink);
  color: var(--white);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.date-badge .day {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
}
.date-badge .month {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--green);
  text-transform: uppercase;
  margin-top: 2px;
}

/* ---------- LEAD CAPTURE BAND ---------- */
.lead-band {
  background: var(--ink);
  color: var(--white);
  padding: 64px 0;
}
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}
.lead-info h2 {
  color: var(--white);
  font-size: 32px;
  margin-bottom: 14px;
}
.lead-info p {
  color: var(--gray-300);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.lead-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  color: var(--gray-300);
}
.lead-bullets div {
  position: relative;
  padding-left: 20px;
}
.lead-bullets div::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--green);
}

.lead-form-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 6px;
  padding: 32px;
}
.form-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.form-sub {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-group label .req {
  color: #D64545;
}
.form-group label .opt {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 400;
}
.form-control {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 13.5px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}
.form-control:focus {
  border-color: var(--blue);
  background: var(--white);
}
textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

.consent-box {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 12px 14px;
  border-radius: 3px;
  margin: 20px 0 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.consent-box input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--green);
}
.consent-box label {
  font-size: 12px;
  color: var(--gray-700);
  line-height: 1.5;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}
.footer-col .col-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 16px;
}
.footer-col p {
  font-size: 13px;
  color: var(--gray-300);
  line-height: 1.6;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 13px;
  color: var(--gray-300);
  transition: color 0.15s;
}
.footer-links a:hover {
  color: var(--white);
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--gray-500);
}

/* ---------- COOKIE POPUP ---------- */
.cookie-popup {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 640px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--white);
  border-radius: 6px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  z-index: 9999;
}
.cookie-popup p {
  font-size: 13px;
  color: var(--gray-300);
  line-height: 1.5;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ---------- PAGE BREADCRUMB & BANNER ---------- */
.page-banner {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}
.page-banner h1 {
  font-size: 32px;
  font-weight: 800;
  margin-top: 6px;
}
.page-banner p {
  font-size: 15px;
  color: var(--gray-700);
  margin-top: 8px;
}

/* ---------- LAYOUT 2 COLUMNS (Category & Article) ---------- */
.layout-2col {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 48px 0;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-deep);
  margin-bottom: 16px;
}

/* ---------- PAGINATION ---------- */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
}
.page-link {
  font-family: var(--font-mono);
  font-size: 13px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
}
.page-link.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* ---------- LEGAL POLICY PAGES STYLING ---------- */
.policy-content {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 40px;
  margin: 40px 0;
}
.policy-content h2 {
  font-size: 22px;
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.policy-content h3 {
  font-size: 17px;
  margin: 24px 0 10px;
}
.policy-content p, .policy-content li {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 12px;
}
.policy-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
.policy-meta-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-700);
  margin-bottom: 32px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .hero-grid, .know-grid, .lead-grid, .layout-2col {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-card:nth-child(2) {
    border-right: none;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .main-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .article-grid, .story-grid, .event-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cookie-popup {
    flex-direction: column;
    align-items: flex-start;
  }
}
