/*
 Theme Name:  Giới thiệu
 Theme URI:    https://example.com/twentytwentyfour-child/
 Description:  Twenty Twenty-Five Child Theme
 Author:       huy
 Author URI:   https://example.com
 Template:     twentytwentyfour
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  twentytwentyfour-child
*/
/* NHẬP FONT CHỮ QUA GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&display=swap');

/* SCOPE WRAPPER ĐỂ TRÁNH XUNG ĐỘT VỚI THEME */
.qtth-wrapper {
  font-family: 'Be Vietnam Pro', sans-serif;
  color: #403532;
  line-height: 1.85;
  background-color: #FAF7F2;
  overflow-x: hidden;
  overflow-y: visible;
  box-sizing: border-box;
}

.qtth-wrapper * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── HỆ THỐNG MÀU ── */
.qtth-wrapper {
  --qtth-warm: #e43935;
  --qtth-dark: #261D1A;
  --qtth-ivory: #FAF7F2;
  --qtth-sand: #EFE9DF;
  --qtth-text: #403532;
  --qtth-muted: #786B67;
  --qtth-white: #FFFFFF;
  --qtth-font: 'Be Vietnam Pro', sans-serif;
}

.qtth-wrapper h1,
.qtth-wrapper h2,
.qtth-wrapper h3,
.qtth-wrapper h4,
.qtth-wrapper h5,
.qtth-wrapper h6 {
  font-family: var(--qtth-font);
  font-weight: 500;
  line-height: 1.25;
  color: var(--qtth-dark);
  margin: 0;
}

/* ── CẤU TRÚC SECTION CHUNG ── */
.qtth-section {
  padding: 50px 40px;
  width: 100%;
  position: relative;
}

.qtth-section-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.qtth-section--ivory { background-color: var(--qtth-ivory); }
.qtth-section--sand  { background-color: var(--qtth-sand); }
.qtth-section--white { background-color: var(--qtth-white); }

/* ── NHÃN TIÊU ĐỀ (EYEBROW) ── */
.qtth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
} 
.qtth-wrapper .qtth-eyebrow span {
  font-family: 'Dancing Script', cursive !important;
  font-size: 50px;
  font-weight: 900;
  color: var(--qtth-warm);
  letter-spacing: 0.5px;
}
/* h2 trần không có class riêng (VD section "Tại Sao Nên Lựa Chọn") vẫn cần
   giữ font chữ ký khi nằm trong .qtth-eyebrow */
.qtth-wrapper .qtth-eyebrow h2  {
  font-family: 'Dancing Script', cursive !important;
  font-weight: 900;
  color: var(--qtth-warm);
  font-size: clamp(28px, 4vw, 45px);
}

/* ── SLOGAN SO LE (dùng trong .qtth-eyebrow, cấu trúc span + em + span) ── */
/* .qtth-eyebrow chứa h2.qtth-slogan-split thì tự động full-width,
   không ảnh hưởng các .qtth-eyebrow khác (label nhỏ dạng "• Giá Trị Cốt Lõi") */
.qtth-wrapper .qtth-eyebrow:has(.qtth-slogan-split) {
  display: flex;
  width: 70%;
}
.qtth-wrapper .qtth-eyebrow:has(.qtth-slogan-split) .qtth-slogan-split {
  flex: 1;
  width: 700%;
}
.qtth-wrapper .qtth-slogan-split  {
  display: flex;
  flex-direction: column;
  font-family: 'Dancing Script', cursive !important;
  font-weight: 700;
  color: var(--qtth-warm);
}
.qtth-wrapper .qtth-slogan-split span:first-child {
  align-self: flex-start;
  font-size: clamp(25px, 5vw, 45px);
  line-height: 1.15;
}
.qtth-wrapper .qtth-slogan-split span:last-child {
  align-self: flex-end;
  font-size: clamp(25px, 5vw, 45px);
  line-height: 1.15;
}

/* ── TIÊU ĐỀ & VĂN BẢN ── */
.qtth-wrapper .qtth-h {
  font-family: var(--qtth-font);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--qtth-dark);
  margin-bottom: 24px;
}
.qtth-wrapper .qtth-h em {
  font-style: italic;
  font-weight: 400;
  color: var(--qtth-warm);
}
.qtth-p {
  font-size: 15px;
  color: var(--qtth-text);
  font-weight: 400;
  line-height: 1.9;
  margin-bottom: 18px;
}

/* ── LAYOUT ẢNH + NỘI DUNG (dùng chung cho các section 2 cột) ── */
.qtth-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.qtth-img-box {
  position: relative;
  width: 100%;
  height: 440px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(38, 29, 26, 0.08);
  background-color: var(--qtth-sand);
}
.qtth-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(8%) contrast(95%);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.qtth-img-box:hover img { transform: scale(1.04); }

/* ── SỐ CHẠY (COUNTER) ── */
.qtth-stats-clean {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(158, 63, 43, 0.15);
}
.qtth-stat-item {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
  transition-delay: calc(var(--stagger-i, 0) * 110ms);
}
.qtth-stat-item.qtth-in { opacity: 1; transform: none; }
.qtth-stat-num {
  font-family: var(--qtth-font);
  font-size: 36px;
  font-weight: 500;
  color: var(--qtth-warm);
  line-height: 1.1;
  margin-bottom: 6px;
}
.qtth-stat-label {
  font-size: 12.5px;
  color: var(--qtth-muted);
  font-weight: 500;
  letter-spacing: 0.3px;
}
@media (max-width: 500px) {
  .qtth-stats-clean { grid-template-columns: 1fr 1fr; }
}

/* Hàng badge thay cho số liệu (không bịa số liệu chưa có thật) */
.qtth-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(158, 63, 43, 0.15);
}
.qtth-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--qtth-dark);
  background: var(--qtth-white);
  border: 1px solid rgba(38,29,26,0.08);
  padding: 9px 16px;
  border-radius: 30px;
}
.qtth-badge::before {
  content: "✓";
  color: var(--qtth-warm);
  font-weight: 700;
}
.qtth-hero-word-box {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  display: flex;

}
.qtth-hero-word {
  font-family: 'Dancing Script', cursive !important;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 55px); ;
  color: var(--qtth-warm);
  letter-spacing: 1px;
  line-height: 1;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* ── SỨ MỆNH / TẦM NHÌN ── */
.qtth-mv-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
}
.qtth-mv-box {
  background-color: var(--qtth-white);
  padding: 42px 36px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(38, 29, 26, 0.03);
  border: 1px solid rgba(38, 29, 26, 0.04);
}
.qtth-mv-label {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--qtth-warm);
  margin-bottom: 16px;
  display: inline-block;
  border-bottom: 2px solid var(--qtth-warm);
  padding-bottom: 4px;
}
.qtth-mv-p { font-size: 14.5px; color: var(--qtth-text); line-height: 1.85; }

/* ── GIÁ TRỊ CỐT LÕI (3 THẺ) — CSS riêng, chỉ áp dụng trong .qtth-section--values ── */
.qtth-section--values {
  padding: 20px 30px; /* giảm padding riêng cho section này, không đụng .qtth-section gốc */
}
.qtth-section--values .qtth-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.qtth-section--values .qtth-value-card {
  background: var(--qtth-white);
  border: 1px solid rgba(38,29,26,0.08);
  border-radius: 16px;
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.45s cubic-bezier(0.16,1,0.3,1),
              border-color 0.45s cubic-bezier(0.16,1,0.3,1);
}
/* gạch chân đỏ ẩn, chạy ra khi hover — thay cho hiệu ứng đổi màu nền */
.qtth-section--values .qtth-value-card::after {
  content: '';
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 22px;
  height: 2px;
  background: var(--qtth-warm);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
/* entrance riêng cho thẻ giá trị: fade + scale nhẹ, so le theo --stagger-i */
.qtth-section--values .qtth-value-card.qtth-reveal {
  transform: translateY(24px) scale(0.94);
}
.qtth-section--values .qtth-value-card.qtth-reveal.qtth-in {
  transform: none;
}
/* hover: nâng thẻ + phóng nhẹ + đổ bóng sâu hơn + gạch chân chạy ra.
   Selector .qtth-reveal.qtth-in:hover (specificity cao hơn .qtth-reveal.qtth-in)
   để đảm bảo transform hover không bị rule "transform: none" phía trên đè mất
   sau khi thẻ đã reveal xong (class qtth-in không bị gỡ bởi JS). */
.qtth-section--values .qtth-value-card:hover,
.qtth-section--values .qtth-value-card.qtth-reveal.qtth-in:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 22px 42px rgba(38, 29, 26, 0.14);
  border-color: var(--qtth-warm);
}
.qtth-section--values .qtth-value-card:hover::after {
  transform: scaleX(1);
}

/* chữ tiêu đề: font thư pháp/chữ ký Dancing Script, 3 dòng bậc thang */
.qtth-wrapper .qtth-value-title,
.qtth-wrapper .qtth-value-title * {
  font-family: 'Dancing Script', cursive !important;
  font-weight: 700;
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
}
.qtth-vl-l1,
.qtth-vl-l2 {
  font-size: clamp(25px, 5vw, 45px);
  line-height: 2.15;
 
}
.qtth-vl-l1 { align-self: flex-start; }
.qtth-vl-l2 { align-self: flex-end; }
.qtth-vl-amp {
  text-align: center;
  align-self: center;
  font-size: clamp(28px, 3.6vw, 36px);
  font-weight: 600;
  line-height: 1;
  margin: 0;
}

.qtth-why-list { display: flex; flex-direction: column; gap: 8px; }
.qtth-why-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(38, 29, 26, 0.08);
}
.qtth-why-item:first-child { border-top: 1px solid rgba(38, 29, 26, 0.08); }
.qtth-why-check {
  font-size: 18px;
  color: var(--qtth-warm);
  font-weight: bold;
  margin-top: 2px;
}
.qtth-wrapper .qtth-why-item-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--qtth-warm);
}
.qtth-why-item-desc { font-size: 13.5px; color: var(--qtth-muted); line-height: 1.8; }

/* ── SCROLL REVEAL ── */
.qtth-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--stagger-i, 0) * 90ms);
}
.qtth-reveal.qtth-in { opacity: 1; transform: none; }

/* ── THÔNG ĐIỆP GIÁM ĐỐC (trích dẫn) ── */

.qtth-wrapper .qtth-slogan-split .qtth-slogan-end {
  align-self: flex-end;
  font-size: clamp(25px, 5vw, 45px);
  line-height: 1.15;
}
.qtth-quote {
  font-size: 17px;
  font-style: italic;
  font-weight: 500;
  color: var(--qtth-text);
  line-height: 1.9;
  margin-bottom: 26px;
  padding-left: 22px;
  border-left: 3px solid var(--qtth-warm);
}
.qtth-quote-sign { display: flex; flex-direction: column; gap: 3px; }
.qtth-quote-name {
  font-family: var(--qtth-font);
  font-size: 17px;
  font-weight: 600;
  color: var(--qtth-dark);
}
.qtth-quote-title {
  font-size: 12px;
  color: var(--qtth-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .qtth-grid-2col { grid-template-columns: 1fr; gap: 30px; }
  .qtth-section--values .qtth-values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .qtth-section { padding: 50px 20px; }
  .qtth-img-box { height: 300px; }
  .qtth-mv-boxes { grid-template-columns: 1fr; }
  .qtth-section--values .qtth-values-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .qtth-wrapper *, .qtth-wrapper *::before, .qtth-wrapper *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .qtth-reveal { opacity: 1 !important; transform: none !important; }
}

/* Focus a11y */
.qtth-wrapper a:focus-visible, .qtth-wrapper button:focus-visible {
  outline: 2px solid var(--qtth-warm);
  outline-offset: 3px;
}
/* ── LOGO SECTION 1 ── */
.qtth-logo {
  
  width: 100%;
  height: auto;
  display: block;
}