/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #0f172a;        /* đen graphite */
  --primary-2: #1e293b;
  --accent: #dc2626;          /* đỏ racing */
  --accent-dark: #b91c1c;
  --accent-soft: rgba(220, 38, 38, 0.1);
  --text: #111827;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e5e7eb;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  flex-shrink: 0;
}
.logo-mark svg { width: 26px; height: 26px; }
.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: 0.5px;
  font-weight: 800;
}
.logo-text small {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 26px;
}
.nav a {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--primary);
  transition: color 0.2s;
  position: relative;
}
.nav a:hover { color: var(--accent); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.25s;
}
.nav a:hover::after { width: 100%; }

.header-cta { white-space: nowrap; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary);
  padding: 8px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  font-family: inherit;
}
.btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220,38,38,0.3);
}
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline:hover {
  background: #fff;
  color: var(--accent);
  box-shadow: none;
}
.btn-light {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}
.btn-light:hover {
  background: #f8fafc;
  color: var(--accent-dark);
  border-color: #f8fafc;
}
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #fff;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(220,38,38,0.2), transparent 60%);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -20%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(220,38,38,0.12), transparent 65%);
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(220,38,38,0.15);
  border: 1px solid rgba(220,38,38,0.4);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fca5a5;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero h1 .accent { color: #ef4444; }
.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 30px;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.hero-stats {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
}
.hero-stats div {
  display: flex;
  flex-direction: column;
}
.hero-stats strong {
  font-size: 34px;
  font-weight: 800;
  color: #ef4444;
  line-height: 1;
}
.hero-stats span {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}
.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-placeholder {
  width: 100%;
  aspect-ratio: 1;
  max-width: 380px;
  background: rgba(255,255,255,0.03);
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.hero-img-placeholder svg { width: 180px; height: 180px; opacity: 0.9; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.25;
  letter-spacing: -0.3px;
}
.section-desc {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 620px;
  margin: 0 auto;
}
.section-head {
  text-align: center;
  margin-bottom: 50px;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-grid p { color: var(--text-muted); margin-bottom: 14px; }
.check-list {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.check-list li {
  padding-left: 30px;
  position: relative;
  color: var(--text);
  font-weight: 500;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}
.about-visual { display: flex; justify-content: center; }
.about-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
  border-top: 4px solid var(--accent);
  max-width: 300px;
}
.about-card-num {
  font-size: 56px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.about-card strong {
  display: block;
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 8px;
}
.about-card p { font-size: 14px; color: var(--text-muted); }

/* ===== GRID ===== */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== CARDS ===== */
.card {
  background: #fff;
  padding: 30px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.card-icon { font-size: 34px; margin-bottom: 14px; }
.card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* ===== PRODUCT CARD ===== */
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all 0.25s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.product-img {
  font-size: 68px;
  padding: 24px 0;
  background: var(--bg-alt);
  border-radius: 8px;
  margin-bottom: 16px;
}
.product-card h3 { font-size: 15.5px; color: var(--primary); margin-bottom: 6px; font-weight: 700; }
.product-code { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }

/* ===== PARTNERS ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.partner-item {
  background: #fff;
  padding: 28px 16px;
  border-radius: 10px;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
  color: var(--primary);
  letter-spacing: 1px;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.partner-item:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  padding: 60px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta h2 { font-size: 26px; margin-bottom: 6px; color: #fff; }
.cta p { opacity: 0.95; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== CAREERS ===== */
.career-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.25s;
}
.career-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.career-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}
.career-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.career-card > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.career-desc {
  margin: 12px 0 20px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 50px;
}
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border);
  align-items: center;
}
.contact-icon {
  font-size: 24px;
  width: 48px; height: 48px;
  background: var(--accent-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  font-weight: 600;
}
.contact-item p, .contact-item a {
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
}
.contact-item a:hover { color: var(--accent); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s;
  background: #fff;
  color: var(--text);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.contact-form textarea { resize: vertical; }
.form-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}
.form-note a { color: var(--accent); font-weight: 700; }

/* ===== MAP ===== */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  line-height: 0;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 20px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 40px;
}
.footer .logo-text { color: #fff; }
.footer .logo-text small { color: rgba(255,255,255,0.55); }
.footer-desc { margin-top: 16px; font-size: 14px; line-height: 1.7; }
.footer h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
}
.footer ul li {
  margin-bottom: 10px;
  font-size: 14px;
}
.footer a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { order: -1; }
  .hero-img-placeholder { max-width: 240px; }
  .hero-img-placeholder svg { width: 120px; height: 120px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    gap: 4px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
  .nav a::after { display: none; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }

  .hero { padding: 50px 0; }
  .hero-stats { gap: 24px; }
  .hero-stats strong { font-size: 26px; }

  .section { padding: 60px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { width: 100%; justify-content: center; }

  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .contact-form { padding: 24px 20px; }
}
