/* ====================================================
   VỀ TÔI - HERO SECTION (CHUẨN GỐC 100%)
   ==================================================== */
.about-hero {
  position: relative;
  width: 100%;
  height: 90vh; /* Chiều cao chiếm gần hết màn hình */
  min-height: 700px;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

/* CỘT DỌC BÊN TRÁI */
.hero-sidebar {
  position: absolute;
  top: 0;
  left: max(30px, 4vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 4;
}

.sidebar-line {
  width: 1px;
  height: 25vh; /* Đường kẻ chạy từ trên cùng xuống */
  background-color: #111;
  margin-bottom: 24px;
}

.m-label {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #111;
  writing-mode: vertical-rl;
  transform: rotate(180deg); /* Xoay chữ dọc từ trên xuống */
  margin-bottom: 24px;
}

.m-num {
  font-family: var(--font-condensed);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 4px;
}

.m-sep {
  font-size: 14px;
  color: #111;
  opacity: 0.5;
  margin-bottom: 4px;
}

.m-year {
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

/* CHỮ KHỔNG LỒ LÀM NỀN (ĐÃ FIX TỶ LỆ CHUẨN) */
.hero-bg-text {
  position: absolute;
  top: 35%; 
  left: max(100px, 12vw);
  transform: translateY(-50%);
  font-family: var(--font-condensed);
  font-weight: 700;
  line-height: 1.20;
  text-transform: uppercase;
  
  /* CÁC DÒNG THÊM MỚI QUAN TRỌNG: */
  z-index: 2; /* Đẩy nổi lên trên ảnh nhân vật */
  color: #fff; /* Chuyển màu chữ gốc thành Trắng */
  mix-blend-mode: difference; /* Ma thuật đảo màu ở đây! */
  pointer-events: none; /* Tránh chữ chặn các thao tác click vào ảnh/nền */
}

.hero-bg-text .line-1 {
  /* Giảm max-size từ 320px xuống 220px, giảm hệ số co giãn vw */
  font-size: clamp(90px, 13vw, 320px); 
  letter-spacing: -2px;
}

.hero-bg-text .line-2 {
  font-size: clamp(90px, 13vw, 220px);
  letter-spacing: -2px;
}

/* ĐOẠN INTRO GÓC DƯỚI TRÁI */
.hero-intro {
  position: absolute;
  bottom: 80px;
  left: 12vw;
  z-index: 4;
}

.hero-intro .name-highlight {
  font-size: 13px;
  color: var(--accent-orange);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero-intro p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  font-weight: 500;
}

/* ẢNH NHÂN VẬT TÁCH NỀN */
.hero-person {
  position: absolute;
  bottom: 0;
  right: 25vw; 
  height: 95%; 
  z-index: 1; /* HẠ XUỐNG LỚP DƯỚI CÙNG (DƯỚI CHỮ) */
}

.hero-person img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

/* CHỮ KÝ TAY GÓC PHẢI */
.hero-handwriting {
  position: absolute;
  top: 55%;
  right: max(40px, 8vw);
  transform: translateY(-50%) rotate(-5deg);
  z-index: 4;
}

.hw-text {
  font-family: 'Caveat', cursive; /* Nhớ có link Google Fonts font Caveat trên head nhé */
  font-size: clamp(28px, 4vw, 42px);
  color: #222;
  line-height: 1.2;
}

.hw-underline {
  position: absolute;
  bottom: -15px;
  right: -10px;
  width: 140px;
  height: auto;
}



/* ====================================================
   STATEMENT SECTION
   ==================================================== */
.about-statement {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #111;
  color: #fff;
  min-height: 600px;
}

.statement-left {
  padding: 80px max(40px, 6vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.st-label {
  color: var(--accent-orange);
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.st-quote {
  position: relative;
  margin-bottom: 30px;
}
.st-quote-icon {
  font-family: var(--font-hand);
  font-size: 60px;
  line-height: 0;
  position: absolute;
  top: 20px;
  left: -40px;
  color: #fff;
}
.st-quote h2 {
  font-family: var(--font-condensed);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
}

.st-line {
  width: 60px;
  height: 2px;
  background-color: var(--accent-orange);
  margin-bottom: 30px;
}

.st-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #ccc;
}

.statement-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%);
}

/* ====================================================
   TIMELINE / JOURNEY (CHUẨN HỆ THỐNG LƯỚI BẢN GỐC)
   ==================================================== */
.about-journey {
  background-color: var(--bg-primary);
  padding: 80px max(24px, 4vw);
}

.journey-container {
  max-width: 1320px; /* Tăng độ rộng lên chút cho không gian thoáng hơn */
  margin: 0 auto;
  border-top: 1px solid var(--border-light); 
}

/* Xóa đường kẻ ảo lúc nãy vì sẽ dùng viền Grid */
.journey-center-line {
  display: none; 
}

.journey-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border-light); /* Đường ngang ngăn cách các hàng */
}

/* Tạo đường dọc chính giữa bằng cách bo viền phải cho cột đầu tiên của mỗi hàng */
.journey-row > .j-col:first-child {
  border-right: 1px solid var(--border-light);
}

/* Tạo khoảng không gian (padding) thở cho chữ và ảnh không bị dính vào viền */
.j-col {
  position: relative;
  /* Reset padding: Trên dưới 60px, còn trái phải để 0 nhằm ép sát mép */
  padding: 60px 0; 
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Cột bên trái: Sát mép trái, chỉ đẩy lề bên phải để cách xa trục giữa */
.journey-row > .j-col:first-child {
  border-right: 1px solid var(--border-light);
  padding-right: max(40px, 5vw);
  padding-left: 0;
}

/* Cột bên phải: Sát mép phải, chỉ đẩy lề bên trái để cách xa trục giữa */
.journey-row > .j-col:last-child {
  padding-left: max(40px, 5vw);
  padding-right: 0;
}

/* Tinh chỉnh lại chiều cao ảnh cho cân xứng khi kéo full mép */
.j-image img {
  width: 100%;
  height: 380px; 
  object-fit: cover;
  display: block;
}

/* DẤU CHẤM CAM VẪN NEO CHUẨN VÀO TRỤC GIỮA */
.j-dot {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  background-color: var(--accent-orange);
  border-radius: 50%;
  z-index: 3;
}
.j-text--right .j-dot {
  left: 0;
  transform: translate(-50%, -50%);
}
.j-text--left .j-dot {
  right: 0;
  transform: translate(50%, -50%);
}

/* Responsive cho Mobile: Trả lại lề 2 bên để không bị dính sát màn hình điện thoại */
@media (max-width: 1024px) {
  .journey-row > .j-col:first-child,
  .journey-row > .j-col:last-child {
    padding-left: 0; /* Trên mobile sẽ dùng padding của container tổng */
    padding-right: 0;
  }
}

.j-num {
  font-family: var(--font-condensed);
  font-size: 64px;
  font-weight: 700;
  color: var(--accent-orange);
  line-height: 1;
  margin-bottom: 8px;
}

.j-title {
  font-family: var(--font-condensed);
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #111;
  letter-spacing: -0.5px;
}

.j-text p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  font-weight: 500;
}

/* Responsive cho Mobile */
@media (max-width: 1024px) {
  .journey-row {
    grid-template-columns: 1fr;
  }
  .journey-row > .j-col:first-child {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
  .j-dot {
    display: none; /* Trên mobile ẩn chấm đi cho đỡ rườm rà */
  }
  /* Đảo ngược thứ tự trên mobile để Ảnh luôn nằm trên Chữ */
  .journey-row:nth-child(even) { 
    display: flex; 
    flex-direction: column-reverse; 
  }
  .journey-row:nth-child(even) > .j-col:first-child {
    border-bottom: none;
  }
  .journey-row:nth-child(even) > .j-col:last-child {
    border-bottom: 1px solid var(--border-light);
  }
}

/* ====================================================
   PRINCIPLES (DARK)
   ==================================================== */
.about-principles {
  background-color: #111;
  color: #fff;
  padding: 100px max(24px, 4vw);
}

.principles-header {
  margin-bottom: 60px;
}
.p-sub {
  font-size: 12px;
  color: var(--accent-orange);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.p-title {
  font-family: var(--font-condensed);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  text-transform: uppercase;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid #333;
}

.p-item {
  padding-top: 30px;
  border-right: 1px solid #333;
  padding-right: 30px;
}
.p-item:last-child {
  border-right: none;
}

.p-num {
  color: var(--accent-orange);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}
.p-item h3 {
  font-family: var(--font-condensed);
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.p-item p {
  font-size: 14px;
  line-height: 1.6;
  color: #aaa;
}

/* ====================================================
   CONTACT CTA
   ==================================================== */
.about-contact {
  background-color: var(--bg-primary);
  padding: 60px max(24px, 4vw);
  border-bottom: 1px solid var(--border-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.c-title-col h2 {
  font-family: var(--font-condensed);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 10px;
}
.c-title-col svg { width: 120px; }

.c-desc-col p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  font-weight: 500;
  border-left: 1px solid #ccc;
  padding-left: 30px;
}

.c-info-col {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.c-info-col ul { list-style: none; padding: 0; }
.c-info-col li { font-size: 14px; color: #111; margin-bottom: 10px; font-weight: 500; }
.c-info-col li .icon { display: inline-block; width: 24px; color: #666; }

.c-arrow {
  font-size: 24px;
  color: #111;
  text-decoration: none;
}

/* ====================================================
   RESPONSIVE CHO MOBILE & TABLET (FIX TRIỆT ĐỂ HERO)
   ==================================================== */
@media (max-width: 1024px) {
  .about-hero {
    height: 100vh; /* Cho chiếm trọn màn hình điện thoại */
    min-height: 600px;
  }

  /* 1. CHỮ KHỔNG LỒ: Căn giữa, ép size theo chiều rộng màn hình (vw) để luôn nằm trên 2 dòng */
  .hero-bg-text {
    top: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    transform: none;
  }
  
  .hero-bg-text .line-1,
  .hero-bg-text .line-2 {
    font-size: 15vw; /* Size chữ tự động phình/teo theo bề ngang máy */
    letter-spacing: -1px;
  }

  /* 2. ẢNH NHÂN VẬT: Neo chính giữa đáy màn hình, vươn cao lên */
  .hero-person {
    position: absolute;
    bottom: 0;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    height: 60%; /* Chiếm 60% chiều cao màn hình dưới */
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* 3. ĐOẠN INTRO: Neo sát góc dưới cùng bên trái */
  .hero-intro {
    bottom: 30px;
    left: 20px;
    z-index: 5;
    max-width: 60%; /* Giới hạn độ rộng để không đâm vào giữa */
  }
  
  .hero-intro p {
    font-size: 13px; /* Thu nhỏ text một chút trên mobile */
  }

  /* 4. CHỮ KÝ TAY: Thu nhỏ lại, nép gọn vào khoảng trống bên phải */
  .hero-handwriting {
    top: 50%;
    right: 15px;
    transform: translateY(-50%) rotate(-10deg);
    z-index: 5;
  }

  .hw-text {
    font-size: 20px; /* Thu nhỏ chữ viết tay */
  }

  .hw-underline {
    width: 90px; /* Thu nhỏ nét gạch */
    bottom: -8px;
    right: 0;
  }
  /* 1. KHỐI NGUYÊN TẮC (Dữ liệu - Thực địa - Kỷ luật) */
  .principles-grid {
    grid-template-columns: 1fr; /* Đưa về 1 cột dọc */
    gap: 0;
  }
  .p-item {
    border-right: none; /* Xóa đường kẻ dọc */
    border-bottom: 1px solid #333; /* Thêm đường kẻ ngang */
    padding-right: 0;
    padding-bottom: 30px;
    margin-bottom: 30px;
  }
  .p-item:last-child {
    border-bottom: none; /* Khối cuối cùng không cần kẻ đáy */
    margin-bottom: 0;
    padding-bottom: 0;
  }

  /* 2. KHỐI TÔI LÀ AI (Statement) */
  .about-statement {
    grid-template-columns: 1fr;
  }
  
  /* 3. KHỐI LIÊN HỆ (Contact) */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .c-desc-col p {
    border-left: none;
    border-top: 1px solid #ccc; /* Chuyển vạch kẻ dọc thành kẻ ngang */
    padding-left: 0;
    padding-top: 20px;
  }
}

/* ====================================================
   SECTION: TÔI LÀ AI? (STATEMENT DARK)
   ==================================================== */
.about-statement-dark {
  background-color: #111 !important; /* Ép cứng nền đen tuyền bằng !important */
  color: #fff !important;
  border-bottom: 1px solid #333;
}

.about-statement-dark .s-quote {
  color: #fff !important;
}

.about-statement-dark .s-desc p {
  color: #bbb !important;
}

.statement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Chia đôi 50 - 50 */
  max-width: 100%;
}

/* Cột trái */
.statement-left {
  padding: 80px max(40px, 6vw) 80px max(100px, 10vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.s-tag {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-orange);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.s-quote {
  font-family: var(--font-condensed);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.quote-mark {
  color: var(--accent-orange);
  font-family: serif;
}

.s-line-orange {
  width: 40px;
  height: 2px;
  background-color: var(--accent-orange);
  margin-bottom: 30px;
}

.s-desc p {
  font-size: 15px;
  line-height: 1.7;
  color: #bbb;
  margin-bottom: 14px;
  font-weight: 400;
}

/* Cột phải (Ảnh) */
.statement-right {
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.statement-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(110%);
  display: block;
}

/* RESPONSIVE CHO MOBILE */
@media (max-width: 1024px) {
  .statement-grid {
    grid-template-columns: 1fr; /* Đưa về 1 cột trên mobile */
  }
  .statement-left {
    padding: 60px 20px;
  }
  .statement-right {
    height: 350px;
    min-height: auto;
  }
}