/* ==========================================================================
   NAGA Concept — about.css (Về chúng tôi)
   ========================================================================== */

.hero{min-height:620px}

/* Nút của trang này nhỏ và đậm hơn mặc định */
button,.button{
  font-size:10px;
  font-weight:800;
  letter-spacing:.1em;
}

/* --- Triết lý thiết kế -------------------------------------------------- */
.philosophy-simple{
  display:grid;
  grid-template-columns:38% 62%;
  min-height:360px;
}
.philosophy-simple-title{
  padding:38px 34px;
  border-right:1px solid var(--line);
  background:var(--soft);
}
.philosophy-simple-title h2{
  margin:22px 0 0;
  font-size:48px;
  line-height:.98;
  letter-spacing:-.065em;
}
.philosophy-simple-copy{
  padding:46px 38px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.philosophy-simple-copy > p{
  margin:0;
  max-width:820px;
  font-size:26px;
  line-height:1.5;
  letter-spacing:-.035em;
}
.philosophy-keywords{
  display:flex;
  gap:30px;
  padding-top:28px;
  border-top:1px solid var(--line);
  margin-top:36px;
}
.philosophy-keywords span{
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.13em;
  font-weight:800;
}

/* --- Tuyên ngôn --------------------------------------------------------- */
.about{
  display:grid;
  grid-template-columns:38% 62%;
  min-height:400px;
}
.about-title{
  padding:36px 34px;
  border-right:1px solid var(--line);
  background:var(--ink);
  color:var(--paper);
}
.about-title h2{
  margin:22px 0 0;
  font-size:48px;
  line-height:.98;
  letter-spacing:-.065em;
}
.about-copy{
  padding:42px 36px;
  display:flex;
  align-items:center;
}
.about-copy p{
  margin:0;
  max-width:800px;
  font-size:21px;
  line-height:1.55;
  letter-spacing:-.025em;
}

/* --- Quy trình (bản rút gọn 5 bước) ------------------------------------- */
.process{
  display:grid;
  grid-template-columns:repeat(5,1fr);
}
.process-step{
  min-height:260px;
  padding:26px;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.process-step:last-child{border-right:0}
.process-step span{
  font-size:30px;
  font-weight:700;
  letter-spacing:-.05em;
}
.process-step h3{
  margin:0 0 12px;
  font-size:21px;
  line-height:1.08;
  letter-spacing:-.04em;
}
.process-step p{
  margin:0;
  font-size:12px;
  line-height:1.65;
  color:#48423b;
}

/* --- Hồ sơ năng lực ----------------------------------------------------- */
.profile{
  display:grid;
  grid-template-columns:42% 58%;
  min-height:430px;
}
.profile-visual{
  padding:34px;
  border-right:1px solid var(--line);
  background:var(--soft);
  display:flex;
  align-items:center;
  justify-content:center;
}
.profile-cover{
  width:min(290px,78%);
  aspect-ratio:3/4;
  border:1px solid var(--line);
  background:var(--paper);
  padding:24px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  box-shadow:14px 14px 0 rgba(17,17,17,.08);
}
.profile-cover strong{
  font-size:28px;
  line-height:1;
  letter-spacing:-.055em;
}
.profile-cover span{
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.13em;
  font-weight:800;
}
.profile-copy{
  padding:42px 38px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
}
.profile-copy h2{
  margin:22px 0 20px;
  font-size:48px;
  line-height:.98;
  letter-spacing:-.065em;
}
.profile-copy p{
  margin:0 0 28px;
  max-width:700px;
  font-size:15px;
  line-height:1.75;
  color:#3f3a34;
}
.profile-meta{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin-bottom:28px;
  padding-top:18px;
  border-top:1px solid var(--line);
  width:100%;
}
.profile-meta span{
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:800;
}

/* --- Đội ngũ ------------------------------------------------------------ */
.team-head{display:block}
.team-head h2{border:0}
/* minmax(0,…) chứ không phải 1fr: 1fr = minmax(auto,1fr), tức là cột không co
   nhỏ hơn nội dung được — một cái tên dài hoặc một tấm ảnh là đủ để tràn. */
.team{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.team-card{
  min-height:260px;
  padding:28px;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  background:
    linear-gradient(135deg,transparent 49.6%,rgba(0,0,0,.12) 50%,transparent 50.4%),
    var(--soft);
}
/* Số thành viên do khách nhập, không cố định 3. Bỏ viền theo cột cuối MỖI hàng
   (:nth-child(3n)) chứ không chỉ thẻ cuối cùng — với 4 người, cách cũ để lại
   một đường viền lửng giữa lưới. Thẻ cuối vẫn bỏ viền cho hàng chưa đủ cột. */
.team-card:nth-child(3n),
.team-card:last-child{border-right:0}
/* Có ảnh thì nền kẻ chéo thành thừa — nó vẽ đè lên chân dung. */
.team-card:has(.team-photo){background:var(--soft)}
.team-photo{
  position:relative;
  margin:-28px -28px 20px;
  aspect-ratio:4/5;
  overflow:hidden;
}
.team-photo img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:grayscale(1) contrast(1.05);
}
.team-card h3{
  margin:0 0 8px;
  font-size:24px;
  letter-spacing:-.045em;
}
.team-card p{
  margin:0;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-size:10px;
  font-weight:700;
}

/* --- CTA ---------------------------------------------------------------- */
.cta{
  display:grid;
  grid-template-columns:62% 38%;
  min-height:360px;
}
.cta-copy{
  padding:42px 34px;
  background:var(--ink);
  color:var(--paper);
  border-right:1px solid var(--line);
}
.cta-copy .eyebrow{color:#d8d0c5}
.cta-copy h2{
  margin:24px 0 18px;
  font-size:56px;
  line-height:.95;
  letter-spacing:-.07em;
}
.cta-copy p{
  margin:0;
  max-width:680px;
  color:#d8d0c5;
  font-size:14px;
  line-height:1.7;
}
.cta-links{
  padding:36px 30px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:10px;
}

/* --- Footer ------------------------------------------------------------- */
footer{
  padding:25px 28px;
  font-size:10px;
  letter-spacing:.1em;
}

/* --- Responsive --------------------------------------------------------- */
@media(max-width:900px){
  .philosophy-simple,.about,.profile,.cta{grid-template-columns:1fr}
  .philosophy-simple-title,.about-title,.profile-visual,.cta-copy{
    border-right:0;
    border-bottom:1px solid var(--line);
  }

  /* Quy trình 5 bước: bản gốc giữ 5 cột tới tận 680px, ở khổ tablet mỗi cột chỉ
     còn ~88px nội dung nên tiêu đề 21px vỡ thành từng chữ một. Xuống 2 cột,
     bước cuối trải hết hàng để không còn ô trống lẻ. */
  .process{grid-template-columns:repeat(2,1fr)}
  .process-step{border-bottom:1px solid var(--line)}
  .process-step:nth-child(2n){border-right:0}
  .process-step:last-child{
    grid-column:1/-1;
    border-right:0;
    border-bottom:0;
  }
}
@media(max-width:680px){
  .team,.process{grid-template-columns:1fr}
  .team-card,.process-step{
    border-right:0;
    border-bottom:1px solid var(--line);
  }
  .philosophy-simple-copy > p{font-size:20px}
  .philosophy-keywords{gap:16px;flex-wrap:wrap}
  .about-copy p{font-size:17px}
  .cta-copy h2{font-size:43px}
}
