/* ==========================================================================
   sumenh.css — Trang "Sứ mệnh - Tầm nhìn"
   Section 1: Tầm nhìn · Section 2: Sứ mệnh · Section 3: Giá trị cốt lõi
   Nền sáng, heading đậm, card trắng. Bám sát Figma node 1260:16821 / mobile 1266:18366.
   ========================================================================== */

/* -------- Token cục bộ cho các section nền sáng -------- */
.sumenh-page {
  --sm-bg:       #f8f9fa;   /* nền section Tầm nhìn / Giá trị cốt lõi */
  --sm-bg-2:     #f3f4f5;   /* nền section Sứ mệnh + card giá trị */
  --sm-heading:  #191c1d;   /* chữ heading đen than */
  --sm-body:     #59413f;   /* chữ mô tả nâu đỏ trầm */
  --sm-rose:     #e1bebc;   /* hồng nhạt — divider ngang */
  --sm-border:   rgba(225, 190, 188, .3);
  --sm-border-2: rgba(225, 190, 188, .4);
  /* Font heading riêng của trang này (khớp Figma) — chỉ dùng ở đây */
  --sm-font-heading: "Montserrat", var(--font-heading);
}

/* Gạch trang trí ngang màu hồng nhạt (Tầm nhìn) */
.sm-divider {
  display: block;
  width: 48px;
  height: 2px;
  margin: 0 auto 16px;
  background: var(--sm-rose);
}

/* ===== Section 1: Tầm nhìn ===== */
.sm-vision {
  background: var(--sm-bg);
  border-bottom: 1px solid rgba(225, 190, 188, .2);
  padding-block: clamp(40px, 5vw, 48px);
}

.sm-vision-title {
  font-family: var(--sm-font-heading);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--dsh-red);
  text-align: center;
  margin: 0 0 32px;
}

.sm-vision-quote {
  max-width: 1644px;
  margin: 0 auto;
  padding: 0 16px;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 2rem);
  line-height: 1.2;
  color: var(--sm-heading);
  text-align: center;
}

/* ===== Section 2: Sứ mệnh ===== */
.sm-mission {
  background: var(--sm-bg-2);
  padding-block: clamp(40px, 5vw, 48px);
}

.sm-mission-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: 12px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  padding: clamp(32px, 4vw, 49px);
}

/* Badge vuông đỏ nổi góc trên trái */
.sm-mission-badge {
  position: absolute;
  top: -24px;
  left: -24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dsh-red);
}

.sm-mission-badge img { width: 15px; height: 17px; }

.sm-mission-title {
  font-family: var(--sm-font-heading);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--sm-heading);
  margin: 0 0 24px;
}

.sm-mission-text {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.625;
  color: var(--sm-body);
  margin: 0 0 24px;
}

/* Hàng chip đặc trưng */
.sm-mission-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sm-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  background: var(--sm-bg-2);
  border: 1px solid var(--sm-border-2);
  border-radius: 2px;
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--sm-heading);
}

.sm-tag img { width: 13px; height: 12px; flex-shrink: 0; }

/* Ảnh cột phải — cao bằng card (row align-items-stretch) */
.sm-mission-visual {
  height: 100%;
  min-height: 508px;
  border-radius: 12px;
  overflow: hidden;
}

.sm-mission-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s var(--ease-out-soft, cubic-bezier(.25, .8, .28, 1));
}

.sm-mission-visual:hover img { transform: scale(1.05); }

/* Badge nảy nhẹ khi card hiện ra */
.sm-mission-badge {
  transition: transform .5s var(--ease-out-back, cubic-bezier(.16, 1, .3, 1));
}

.sm-mission-card:hover .sm-mission-badge { transform: scale(1.08) rotate(-4deg); }

/* ===== Section 3: Giá trị cốt lõi ===== */
.sm-values {
  background: var(--sm-bg);
  padding-block: clamp(48px, 6vw, 64px);
}

.sm-values-head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }

.sm-values-title {
  font-family: var(--sm-font-heading);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--dsh-red);
  margin: 0 0 16px;
}

.sm-values-sub {
  max-width: 672px;
  margin: 0 auto 16px;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--sm-body);
}

.sm-values-bar {
  display: block;
  width: 96px;
  height: 4px;
  margin: 0 auto;
  background: var(--dsh-red);
}

.sm-value-card {
  height: 100%;
  background: var(--sm-bg-2);
  border-bottom: 4px solid transparent;
  border-radius: 12px;
  padding: 32px;
}

/* Độ đặc hiệu cao hơn [data-reveal] (animations.css) để giữ đúng nhịp hover */
.sumenh-page .sm-value-card.is-visible {
  transition:
    transform .5s var(--ease-out-soft, cubic-bezier(.25, .8, .28, 1)),
    box-shadow .5s var(--ease-out-soft, cubic-bezier(.25, .8, .28, 1)),
    border-color .5s var(--ease-out-soft, cubic-bezier(.25, .8, .28, 1));
}

.sm-value-card:hover {
  border-bottom-color: var(--dsh-red);
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(8, 15, 29, .12);
}

.sm-value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  transition: transform .5s var(--ease-out-back, cubic-bezier(.16, 1, .3, 1));
}

.sm-value-card:hover .sm-value-icon { transform: translateY(-2px) scale(1.06); }

/* Icon export Figma dùng preserveAspectRatio="none" → khai báo cố định cả rộng
   lẫn cao theo tỉ lệ gốc từng biến thể, tránh bị kéo giãn méo. */
.sm-value-icon img { width: 30px; height: 30px; }
.sm-value-icon--award img { width: 23px; height: 30px; } /* viewBox 19×25 */
.sm-value-icon--inner img { width: 30px; height: 30px; } /* viewBox 24×24 */

.sm-value-card h3 {
  font-family: var(--sm-font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--sm-heading);
  margin: 0 0 15px;
}

.sm-value-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--sm-body);
  margin: 0;
}

/* ===== Hero override — khớp Figma: ảnh lật ngang, opacity 50% ===== */
.sumenh-page .about-hero-bg {
  transform: scaleX(-1);
  opacity: .5;
  object-position: center;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  /* Mission: ảnh xuống dưới card (thứ tự DOM đã đặt card trước) */
  .sm-mission-visual { min-height: 220px; }
}

@media (max-width: 575.98px) {
  .sm-mission-badge { top: -20px; left: 20px; width: 40px; height: 40px; }
  .sm-mission-tags { flex-direction: column; align-items: flex-start; }

  /* Card giá trị gọn lại khi 2 cột trên mobile (khớp Figma 375px) */
  .sm-value-card { padding: 20px; border-radius: 8px; }
  .sm-value-icon { width: 48px; height: 48px; margin-bottom: 12px; }
  .sm-value-icon img { width: 24px; height: 24px; }
  .sm-value-icon--award img { width: 18px; height: 24px; }
  .sm-value-icon--inner img { width: 24px; height: 24px; }
  .sm-value-card h3 { font-size: 1.125rem; margin-bottom: 10px; }
  .sm-value-card p { font-size: .875rem; }
}
