:root{
  --brand-green:#2E7D32;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
  --brand-deep:  #093E08;   /* thêm mới */
   --brand-yellow: #FCCD04;
  --ink-900: #2f4a36;
  --ink-700: #415b4d;
  --rule: rgba(46,125,50,.18);
   --soft-green: rgba(46,125,50,.12);
  --ink-700:#0f172a; --ink-500:#475569;
    /* brand */
    --green: #2E7D32;
    --yellow: #FCCD04;
    --white: #fff;
    --text: #222;
    --brand: var(--green);
    --accent: var(--yellow);
}

body{
  background-color:#F2FAE3; 
}
header{
  margin-bottom: 87px;
}
/* NAVBAR */
  .navbar-custom {
    background: var(--green);
    padding: 14px 40px;
    position: fixed;
    top: 0;
    z-index: 1200;
    width: 100%;
  }
  .btn-mobile{
    display: none;
  }
  .btn-desktop{
    display: inline;
  }
  .navbar-nav.gap-20>*+* {
    margin-left: 20px;
  }

  .brand-logo-img {
    height: 61px;
    width: auto;
    display: block;
  }

  .nav-link {
    color: #fff !important;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.5;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    text-decoration: none;
    transition: all .18s ease;
    z-index: 1;
  }

  .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: transparent;
    transition: background .18s ease;
    z-index: 2;
  }

  .nav-link:hover {
    color: var(--yellow) !important;
  }

  .nav-link:hover::after {
    background: var(--yellow);
  }

  .nav-link.active {
    color: var(--yellow) !important;
    font-weight: 700;
  }

  .nav-link.active::after {
    background: var(--yellow);
  }

  .chev {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .18s ease;
  }

  .dropdown-toggle::after {
    display: none;
  }

  .btn-quote {
    background: var(--yellow);
    color: var(--green);
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-weight: 700;
    font-size: 17px;
  }

  .btn-quote:hover {
    color: #fff;
  }

  .nav-divider {
    width: 1px;
    height: 22px;
    background: #fff;
    opacity: .6;
  }

  .dropdown.position-static {
    position: static;
  }

  .mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
    display: none;
    z-index: 1100;
  }

  .mega-inner {
    padding: 28px 64px;
  }

  .mega-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 56px;
  }

  .mega-title {
    font-weight: 700;
    font-size: 16px;
    color: #111;
    padding-bottom: 6px;
    margin-bottom: 14px;
    border-bottom: 1px solid #111;
  }

  .mega-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
  }

  .mega-list li+li {
    margin-top: 16px;
  }

  .mega-list a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
  }

  .mega-list a:hover {
    text-decoration: underline;
  }

  .mega-cta {
    text-align: center;
    padding-top: 18px;
  }

  #navProductsItem.open>.dropdown-menu,
  #navProductsItem.show>.dropdown-menu {
    display: block;
  }

  #navProductsItem>a.nav-link {
    z-index: 1202;
  }

  #navProductsItem.open>a.nav-link,
  #navProductsItem.show>a.nav-link {
    color: var(--yellow) !important;
  }

  #navProductsItem.open>a.nav-link::after,
  #navProductsItem.show>a.nav-link::after {
    background: var(--yellow);
  }

  #navProductsItem.open>a .chev,
  #navProductsItem.show>a .chev {
    transform: rotate(180deg);
  }

  .mega-grid>div:first-child .mega-list {
    column-count: 2;
    column-gap: 56px;
  }

  .mega-grid>div:first-child .mega-list li {
    break-inside: avoid;
  }

  #navNewsItem {
    position: relative;
  }

  .news-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    display: none;
    padding: 8px 0;
    border: 0;
    border-radius: 10px;
    background: #fff;
    min-width: 280px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
    z-index: 1100;
  }

  #navNewsItem.open>.news-menu,
  #navNewsItem.show>.news-menu {
    display: block;
  }

  #navNewsItem>a.nav-link {
    z-index: 1202;
  }

  #navNewsItem:hover>a.nav-link,
  #navNewsItem.open>a.nav-link,
  #navNewsItem.show>a.nav-link {
    color: var(--yellow) !important;
  }

  #navNewsItem:hover>a.nav-link::after,
  #navNewsItem.open>a.nav-link::after,
  #navNewsItem.show>a.nav-link::after {
    background: var(--yellow);
  }

  #navNewsItem.open>a .chev,
  #navNewsItem.show>a .chev {
    transform: rotate(180deg);
  }

  .news-menu .dropdown-item {
    padding: 10px 16px;
    font-size: 14px;
    color: #222;
    white-space: nowrap;
    border-radius: 6px;
    background: transparent;
    transition: background .12s ease, color .12s ease, font-weight .12s ease;
  }

  .news-menu .dropdown-item:hover {
    background: #f6f6f6;
    color: #111;
    font-weight: 700;
  }

  #langItem {
    position: relative;
  }

  .lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    display: none;
    padding: 10px;
    border: 0;
    border-radius: 14px;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .14);
    z-index: 1300;
  }

  .lang-menu.show,
  #langItem.show>.lang-menu {
    display: block;
  }

  .dropdown-menu.show {
    display: block;
  }

  #langFlag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
  }

  .lang-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    font-size: 14px;
    color: #222;
    border-radius: 6px;
    text-decoration: none;
    background: transparent;
    line-height: 1.5;
    transition: background .12s ease, color .12s ease, font-weight .12s ease;
  }

  .lang-item:hover {
    background: #f6f6f6;
    color: #111;
    font-weight: 700;
  }

  .lang-item.active {
    font-weight: 700;
  }

  .lang-item .flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 24px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .08) inset;
  }

/* ===== ≤ 950px (bật nút mobile, ẩn nút trong menu) ===== */
@media (max-width: 993px){
   .navbar-nav .nav-item:first-child {
    margin-left: 20px; /* bằng giá trị gap */
  }
  header{
    margin-bottom: 0;
  }
  .btn-mobile{ display:inline-block; padding:12px 20px; font-size:18px; border-radius:16px; }
  .btn-desktop{ display:none !important; }
  .navbar-custom{ padding:14px 16px; }
  .navbar-toggler{ margin-right:14px !important; border:0 !important; padding:0.25rem 0 !important; }
  .navbar-toggler-icon{
    width:42px; height:4px; background:#fff; border-radius:3px;
    position:relative; display:inline-block; background-image:none !important;
  }
  .navbar-toggler-icon::before,
  .navbar-toggler-icon::after{
    content:""; position:absolute; left:0; right:0; height:4px; background:#fff; border-radius:3px;
  }
  .navbar-toggler-icon::before{ top:-10px; }
  .navbar-toggler-icon::after { top: 10px; }
  .brand-logo-img{ height:86px; } /* nhỏ hơn 82 để chừa chỗ */
}

/* ===== THÊM RESPONSIVE CSS ===== */
/* Tablet - iPad (768px - 950px) */
@media (min-width: 768px) and (max-width: 993px) {
  .navbar-custom {
    padding: 12px 16px;
  }
  
  .brand-logo-img {
    height: 74px;
  }
  
   .btn-quote.btn-mobile {
    padding: 8px 14px;
    font-size: 17px;
    border-radius: 10px;
  }
  
  .navbar-toggler {
    margin-right: 8px !important;
  }
  
  .navbar-toggler-icon {
    width: 36px;
    height: 3px;
  }
  
  .navbar-toggler-icon::before {
    top: -8px;
    height: 3px;
  }
  
  .navbar-toggler-icon::after {
    top: 8px;
    height: 3px;
  }
  
  .navbar-collapse {
    background: var(--green);
    margin-top: 12px;
    padding: 16px 0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .navbar-nav {
    align-items: flex-start !important;
    gap: 12px;
    padding: 0 12px;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-link {
    padding: 10px 0;
    font-size: 17px;
  }
  
  .nav-divider {
    width: 90%;
    height: 1px;
   
  }
  /* Dropdown menus trên mobile */
  .dropdown-menu {
    position: static !important;
    display: none !important;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 8px;
    margin-top: 8px;
    box-shadow: none;
  }
  
  .dropdown-item {
    color: #fff !important;
    padding: 8px 16px;
  }
  
  .dropdown-item:hover {
    background: rgba(255,255,255,0.1);
    color: var(--yellow) !important;
  }
  
  .mega-menu {
    position: static !important;
    display: none !important;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    margin-top: 8px;
    box-shadow: none;
  }
  
  .mega-inner {
    padding: 16px;
  }
  
  .mega-grid {
    display: block;
  }
  
  .mega-title {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.3);
    margin-bottom: 8px;
    padding-bottom: 4px;
  }
  
  .mega-list a {
    color: rgba(255,255,255,0.9);
    font-size: 13px;
  }
  
  .mega-list a:hover {
    color: var(--yellow);
    text-decoration: none;
  }
  
  .mega-cta .btn {
    background: var(--yellow);
    color: var(--green);
    border: none;
    font-weight: 700;
  }
    .dropdown-menu.show,
  .mega-menu.show{
    width: 95%;
    display: block !important;              /* hiển thị khi có .show */
  }
}

/* Mobile Large (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .navbar-custom {
    padding: 12px 16px;
  }
  
  .brand-logo-img {
    height: 74px;
  }
  
 .btn-quote.btn-mobile {
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 10px;
  }
  
  .navbar-toggler {
    margin-right: 8px !important;
  }
  
  .navbar-toggler-icon {
    width: 36px;
    height: 3px;
  }
  
  .navbar-toggler-icon::before {
    top: -8px;
    height: 3px;
  }
  
  .navbar-toggler-icon::after {
    top: 8px;
    height: 3px;
  }
  
  .navbar-collapse {
    background: var(--green);
    margin-top: 12px;
    padding: 16px 0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .navbar-nav {
    align-items: flex-start !important;
    gap: 12px;
    padding: 0 12px;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-link {
    padding: 10px 0;
    font-size: 15px;
  }
  
  .nav-divider {
    width: 90%;
    height: 1px;
   
  }
  /* Dropdown menus trên mobile */
  .dropdown-menu {
    position: static !important;
    display: none !important;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 8px;
    margin-top: 8px;
    box-shadow: none;
  }
  
  .dropdown-item {
    color: #fff !important;
    padding: 8px 16px;
  }
  
  .dropdown-item:hover {
    background: rgba(255,255,255,0.1);
    color: var(--yellow) !important;
  }
  
  .mega-menu {
    position: static !important;
    display: none !important;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    margin-top: 8px;
    box-shadow: none;
  }
  
  .mega-inner {
    padding: 16px;
  }
  
  .mega-grid {
    display: block;
  }
  
  .mega-title {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.3);
    margin-bottom: 8px;
    padding-bottom: 4px;
  }
  
  .mega-list a {
    color: rgba(255,255,255,0.9);
    font-size: 13px;
  }
  
  .mega-list a:hover {
    color: var(--yellow);
    text-decoration: none;
  }
  
  .mega-cta .btn {
    background: var(--yellow);
    color: var(--green);
    border: none;
    font-weight: 700;
  }
    .dropdown-menu.show,
  .mega-menu.show{
    width: 92%;
    display: block !important;              /* hiển thị khi có .show */
  }
}

/* Mobile Small (≤ 575px) */
@media (max-width: 575px) {
  .navbar-custom {
    padding: 10px 12px;
  }
  
  .brand-logo-img {
    height: 40px;
  }
  
  .btn-quote.btn-mobile {
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 10px;
  }
  
  .navbar-toggler {
    margin-right: 8px !important;
  }
  
  .navbar-toggler-icon {
    width: 36px;
    height: 3px;
  }
  
  .navbar-toggler-icon::before {
    top: -8px;
    height: 3px;
  }
  
  .navbar-toggler-icon::after {
    top: 8px;
    height: 3px;
  }
  
  .navbar-collapse {
    background: var(--green);
    margin-top: 12px;
    padding: 16px 0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .navbar-nav {
    align-items: flex-start !important;
    gap: 12px;
    padding: 0 12px;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-link {
    padding: 10px 0;
    font-size: 15px;
  }
  
  .nav-divider {
    width: 90%;
    height: 1px;
   
  }
  /* Dropdown menus trên mobile */
  .dropdown-menu {
    position: static !important;
    display: none !important;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 8px;
    margin-top: 8px;
    box-shadow: none;
  }
  
  .dropdown-item {
    color: #fff !important;
    padding: 8px 16px;
  }
  
  .dropdown-item:hover {
    background: rgba(255,255,255,0.1);
    color: var(--yellow) !important;
  }
  
  .mega-menu {
    position: static !important;
    display: none !important;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    margin-top: 8px;
    box-shadow: none;
  }
  
  .mega-inner {
    padding: 16px;
  }
  
  .mega-grid {
    display: block;
  }
  
  .mega-title {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.3);
    margin-bottom: 8px;
    padding-bottom: 4px;
  }
  
  .mega-list a {
    color: rgba(255,255,255,0.9);
    font-size: 13px;
  }
  
  .mega-list a:hover {
    color: var(--yellow);
    text-decoration: none;
  }
  
  .mega-cta .btn {
    background: var(--yellow);
    color: var(--green);
    border: none;
    font-weight: 700;
  }
    .dropdown-menu.show,
  .mega-menu.show{
    width: 90%;
    display: block !important;              /* hiển thị khi có .show */
  }
}
@media (max-width: 365px){
  .brand-logo-img {
    height: 35px;
  }
}
/* Animation cho hamburger menu */
.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Smooth transitions */
.navbar-toggler-icon,
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  transition: all 0.3s ease;
}

.navbar-collapse {
  transition: all 0.3s ease;
}

/* Logo container trên mobile để căn giữa */
@media (max-width: 950px) {
  .navbar-brand {
    flex: 1;
    display: flex;
    justify-content: center;
  }
}


/*  */
.tl-title{
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 600;       /* SemiBold */
  line-height: 1.3;
  font-size: 50px;
  color: var(--brand-green);
  text-transform: lowercase; /* toàn bộ thường trước */
}
.tl-title::first-letter {
  text-transform: uppercase; /* chỉ viết hoa chữ cái đầu tiên */
}
/* Breadcrumb wrapper */
.breadcrumb-wrapper{
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}
.breadcrumb{
  --bs-breadcrumb-divider: "›";
  padding: .75rem 0;
}
.breadcrumb .breadcrumb-item a{
  color:#6c757d;
}
.breadcrumb .breadcrumb-item.active{
  color:#000;
  font-weight:600;
}

/* Banner */
.banner-about{
  /* tuỳ chỉnh nhanh vị trí/kích thước quầng sáng */
  --glow-top: 15%;                 /* đẩy ánh sáng lên/xuống */
  --glow-size: min(680px, 60vw);   /* kích thước tối đa của quầng sáng */
--bg-zoom: 1.15; /* 1.0 = bình thường, 1.12 = phóng ~12% */
  position: relative;
  min-height: 86vh;
  display:flex; align-items:center; justify-content:center;
  color: #fff;
  background-image: url("../img/background-about.jpg");
  background-size: 115% auto; /* fallback */
  background-size: calc(100% * var(--bg-zoom)) auto; /* chính */
  background-position: center bottom 15%;
  background-repeat: no-repeat;
  overflow:hidden;
  isolation:isolate;
}

/* Ảnh ánh sáng thay cho overlay */
.banner-glow{
  position:absolute;
  left:50%; top:var(--glow-top);
  transform: translate(-50%, -50%);
  width: var(--glow-size);
  height: auto;
  opacity: .9;
  pointer-events: none;
  z-index: 0;

  /* hoà trộn nhẹ để ánh sáng ngả vàng lên nền */
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 22px rgba(255, 210, 90, .55));

  /* làm mờ dần mép ảnh (feather) để hoà vào nền mượt hơn) */
  -webkit-mask-image: radial-gradient(closest-side, rgba(0,0,0,1) 68%, rgba(0,0,0,.5) 80%, rgba(0,0,0,0) 100%);
          mask-image: radial-gradient(closest-side, rgba(0,0,0,1) 68%, rgba(0,0,0,.5) 80%, rgba(0,0,0,0) 100%);

  /* hiệu ứng xuất hiện mượt */
  animation: glowFade .9s ease-out .05s both;
}
.banner-about .banner-inner img{
    height: 90px;
    width: auto;
    letter-spacing:.2px;
}
@keyframes glowFade{
  from{ opacity: 0; transform: translate(-50%,-50%) scale(.96); }
  to  { opacity: .9; transform: translate(-50%,-50%) scale(1); }
}
@media (max-width: 576px){
  .banner-about{ --bg-zoom: 1.25; }  /* phóng ~25% trên mobile */
}

/* Nội dung trong banner */
.banner-inner{
  position:relative; z-index:1;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  opacity:1; transform:none; /* luôn hiện */
  margin-bottom: 7rem;
}
.brand-mark{
  width:min(230px, 45vw);
  height:auto;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.25));
}
.title{ font-weight:700; font-size:clamp(22px, 3.3vw, 36px); letter-spacing:.2px; }

/* ============ Glow dạng "thẻ" mờ như Figma ============ */
.glow-stack{
  /* tham số dễ chỉnh */
  --stack-w: min(560px, 60vw);
  --stack-h: clamp(200px, 24vw, 260px);
  --stack-top: 40%;          /* vị trí theo trục dọc */
  --stack-rotate: -3.8deg;   /* xoay nhẹ */
  position: absolute;
  left: 50%;
  top: var(--stack-top);
  width: var(--stack-w);
  height: var(--stack-h);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

/* Mỗi "thẻ" là một gradient + blur, hòa trộn Screen để ra ánh vàng */
.glow-card{
  position: absolute; inset: 0;
  border-radius: 24px;
  mix-blend-mode: screen;
  will-change: transform, filter, opacity;
  /* làm mờ rìa/mềm mép để không lộ viền */
  -webkit-mask-image: radial-gradient(120% 100% at 50% 50%,
      #000 0, #000 65%, rgba(0,0,0,.5) 80%, rgba(0,0,0,0) 100%);
          mask-image: radial-gradient(120% 100% at 50% 50%,
      #000 0, #000 65%, rgba(0,0,0,.5) 80%, rgba(0,0,0,0) 100%);
}

/* Thẻ 1 – màu chủ đạo #FEE682 */
.glow-card.c1{
  background: radial-gradient(100% 100% at 50% 50%,
      rgba(254,230,130,1) 0%,
      rgba(254,230,130,.82) 40%,
      rgba(254,230,130,0) 80%);
  filter: blur(80px);
  opacity: .28;                               /* ~25–30% */
  transform: rotate(var(--stack-rotate)) scale(1.00) translate(0,0);
}

/* Thẻ 2 – sắc honey #FFD16A để dày ánh sáng */
.glow-card.c2{
  background: radial-gradient(110% 100% at 48% 52%,
      rgba(255,209,106,.95) 0%,
      rgba(255,209,106,.60) 38%,
      rgba(255,209,106,0) 78%);
  filter: blur(90px);
  opacity: .20;
  transform: rotate(calc(var(--stack-rotate) - 2deg)) scale(1.08) translate(4%, -6%);
}

/* Thẻ 3 – sắc kem #FFF2C0 làm viền dịu hơn */
.glow-card.c3{
  background: radial-gradient(120% 100% at 52% 48%,
      rgba(255,242,192,.95) 0%,
      rgba(255,242,192,.55) 36%,
      rgba(255,242,192,0) 80%);
  filter: blur(70px);
  opacity: .18;
  transform: rotate(calc(var(--stack-rotate) + 2deg)) scale(.95) translate(-6%, 4%);
}

/* Bảo đảm nội dung nổi phía trên glow */
.banner-inner{ position: relative; z-index: 1; }

/* —— Defaults (desktop) —— */
.banner-about{
  contain: paint;                 /* ngăn hiệu ứng tràn */
  --bg-zoom: 1.15;
  --glow-top: 26%;
}
.banner-glow{ filter: none; }     /* tránh quầng đen trên mobile */

/* ====== XS (≤576px) ====== */
@media (max-width: 576px){
  .banner-about{
    min-height: 0;
    height: 52vh;                 /* chiều cao banner trên mobile */
    --bg-zoom: 1.28;              /* phóng nền thêm chút ở màn nhỏ */
    --glow-top: 33%;              /* đẩy glow xuống, không chạm mép trên */
  }
  .banner-glow{
    width: min(520px, 94vw);
    -webkit-mask-image: radial-gradient(120% 90% at 50% 58%,
      #000 0 64%, rgba(0,0,0,.35) 78%, rgba(0,0,0,0) 100%);
            mask-image: radial-gradient(120% 90% at 50% 58%,
      #000 0 64%, rgba(0,0,0,.35) 78%, rgba(0,0,0,0) 100%);
  }
  .glow-stack{
    top: 48%;
    width: min(520px, 94vw);
    height: clamp(160px, 38vw, 220px);
  }
  .banner-about .banner-inner img{ height: 72px; }
  .banner-inner{ margin-bottom: 4rem; }
  .title{ font-size: clamp(20px, 5.2vw, 28px); }
}

/* ====== SM (577–768px) ====== */
@media (min-width: 577px) and (max-width: 768px){
  .banner-about{
    min-height: 62vh;
    --bg-zoom: 1.22;
    --glow-top: 30%;
  }
  .banner-glow{ width: min(620px, 86vw); }
  .glow-stack{
    top: 46%;
    width: min(620px, 86vw);
    height: clamp(180px, 30vw, 240px);
  }
}

/* ====== MD (769–992px) ====== */
@media (min-width: 769px) and (max-width: 992px){
  .banner-about{
    min-height: 72vh;
    --bg-zoom: 1.18;
    --glow-top: 28%;
  }
  .glow-stack{ top: 44%; }
}

/* ====== LG (993–1200px) ====== */
@media (min-width: 993px) and (max-width: 1200px){
  .banner-about{
    min-height: 80vh;
    --bg-zoom: 1.16;
    --glow-top: 27%;
  }
}

  /* ABOUT */
  #about {
    background: #fff;
  }

  #about .sec-head {
    width: var(--wrap);
    padding: 60px 0 0;
  }

  #about .sec-head h2 {
    margin: 0;
    font: 600 50px/1.2 "Playfair Display", serif;
    color: var(--brand);
  }

  #about .sec-head .bar {
    width: var(--bar-w);
    height: 3px;
    background: #FCCD04;
    border-radius: 999px;
    margin: 12px 0 18px;
  }

  #about .sec-head .lead {
    margin: 0;
    font: 700 21px/1.35 "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    color: #11261B;
  }

  #about .about-row {
    width: var(--wrap);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 556px 1fr;
    gap: 32px;
    align-items: center;
    padding: 32px 0 60px;
  }

  #about .about-media {
    width: 556px;
    height: 556px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    margin: 0;
  }

  #about .about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  #about .about-copy {
    display: grid;
    gap: 30px;
  }

  #about .about-copy .body {
    font: 400 15px/22.5px "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  }

  #about .file-card {
    position: relative;
    width: 361px;
    height: 80px;
    background: #FDFDFD;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    display: block;
    text-decoration: none;
    color: #131313;
  }

  #about .file-card .icon {
    position: absolute;
    left: 16px;
    top: 24px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #ECF1EF;
  }

  #about .file-card .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  #about .file-card .name {
    position: absolute;
    left: 60px;
    top: 7px;
    font: 700 18px/38px "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    color: #131313;
  }

  #about .file-card .sub {
    position: absolute;
    left: 60px;
    top: 44px;
    font: 400 16px/20px "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    color: #818C99;
  }

  #about .file-card .dl {
    position: absolute;
    right: 16px;
    top: 28px;
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
  }

  @media (max-width:1100px) {
    #about .sec-head {
      padding: 60px 0;
    }

    #about .about-row {
      padding: 32px 0 60px;
      grid-template-columns: 1fr;
    }

    #about .about-media {
      width: 100%;
      height: auto;
      aspect-ratio: 1/1;
    }

    #about .file-card {
      width: 100%;
      max-width: 420px;
    }
  }

  @media (max-width:640px) {
    #about .sec-head h2 {
      font-size: 36px;
    }

    #about .sec-head .bar {
      width: 240px;
    }
  }



/* Nền section */
.capacity-section{
  padding: 10px 0px;
  color: #fff;
  background: radial-gradient(120% 120% at 18% 12%, rgba(255,255,255,.10) -40%, rgba(255,255,255,0) 60%),
    linear-gradient(135deg, var(--brand-green) -40%, var(--brand-deep) 45%);
}

/* Card */
.cap-card{
  position: relative;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* highlight góc + chuyển 2 màu yêu cầu */
  background:
    radial-gradient(120% 120% at 18% 12%, rgba(255,255,255,.10) -40%, rgba(255,255,255,0) 80%),
    linear-gradient(135deg, var(--brand-green) -40%, var(--brand-deep) 45%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}

/* patch sáng nhẹ */
.cap-card::before{
  content:"";
  position:absolute; inset:10px;
  border-radius: 12px;
  background: radial-gradient(120% 100% at 30% 30%,
              rgba(255,255,255,.07) 0%,
              rgba(255,255,255,0) 70%);
  filter: blur(8px);
  pointer-events:none;
}

/* chữ & responsive giữ nguyên như trước */


/* Value line */
.cap-value{
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: .3px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0,0,0,.25);
  white-space: nowrap;
}
.cap-value .num{
  font-size: clamp(32px, 4.5vw, 48px);
  margin-right: .2ch;
  display:inline-block;
}

.cap-value .unit{
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 800;
}
.cap-value .per{
  font-size: .55em;            /* chữ “ngày” nhỏ hơn */
  font-weight: 800;
  margin-left: .3ch;
  position: relative;
  top: -.12em;                 /* nhích lên chút để “/ ngày” đẹp hơn */
}

/* Type line */
.cap-type{
  margin: 0;
  font-size: clamp(14px, 1.6vw, 18px);
  color: rgba(255,255,255,.82);
  letter-spacing: .4px;
}

/* Hover (desktop) */
@media (hover:hover){
  .cap-card{ transition: transform .25s ease, box-shadow .25s ease; }
  .cap-card:hover{
    transform: translateY(-4px);
    box-shadow:
      0 14px 30px rgba(0,0,0,.25),
      inset 0 0 0 1px rgba(255,255,255,.07);
  }
}

/* Responsive spacing */
@media (max-width: 576px){
  .cap-card{ min-height: 160px; padding: 36px 16px; }
}






/* ===== Timeline Section ===== */
.timeline-section{
  padding: 80px 0 72px;
  background: #fff;
  color: var(--brand-deep);
}

.tl-title::after{
  content:"";
  display:block;
  width:500px; height:2px;
  margin-top:12px;
  border-radius:2px;
  background: linear-gradient(90deg, #fccd04);
}

/* ===== Timeline grid ===== */
.timeline{
  --label-w: 120px;     /* cột ribbon bên trái */
  --track-w: 8px;      /* cột đường thẳng + chấm */
  --gap: 10px;          /* khoảng cách giữa cột */
   --dot-size: 12px;      /* đường kính chấm */
  --dot-border: 3px;     /* viền chấm */
  --dot-center: 12px;    /* vị trí tâm chấm theo trục dọc */
}

.tl-item{
  display: grid;
  grid-template-columns: var(--label-w) var(--track-w) 1fr;
  column-gap: var(--gap);
  align-items: stretch;
  padding: 18px 0 36px;
}

/* ===== Ribbon năm/mốc ===== */
.tl-year{ display:flex; align-items: flex-start;}

.ribbon{
    width: 80%;
  position: relative;
  display: inline-block;
  background: var(--brand-green);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 32px;
  padding: 0 20px 0 14px;
  border-radius: 6px ;
}
.ribbon::after{
  content:"";
  position:absolute; right:-12px; top:50%;
  transform:translateY(-50%);
  border-left:25px solid var(--brand-green);
  border-top:16px solid transparent;
  border-bottom:16px solid transparent;
}
.ribbon.now{ background:#1e8b45; }
.ribbon.now::after{ border-left-color:#1e8b45; }

/* ===== Track & Dot (mỗi item có line riêng) ===== */
.tl-track{ position:relative; align-self: stretch; margin-left: -16px;}
.tl-track::before{
  content: "";
  position: absolute;
  left: 50%;
  /* 21px = 12px (tâm) + (12px + 2*3px)/2 (bán kính kể cả viền) */
  top: calc(var(--dot-center) + (var(--dot-size) + var(--dot-border)*2) / 2);
  bottom: 0;
  width: 2px;
  transform: translateX(-1px);
  background: linear-gradient(180deg, var(--brand-green), var(--brand-deep));
}

/* 3) Chấm mốc nằm trên vạch (z-index) */
.tl-track .dot{
  position: absolute;
  left: 50%;
  top: var(--dot-center);
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--brand-green);
  border: var(--dot-border) solid var(--brand-green);
  box-shadow: 0 0 0 3px rgba(46,125,50,.20);
  z-index: 1;                               /* nằm trên line */
}
/* ===== Nội dung & Gallery ===== */
.tl-content p{
  margin:0 0 14px;
  color:#2f4a36;                 /* chữ đậm vừa trên nền trắng */
}

.tl-gallery{
  display:flex;
  gap: 10px;   
    align-items: flex-start;
  flex-wrap: wrap;     
}
.tl-gallery img{
  display: block;
  width: auto;                              /* ảnh đầy cột -> không còn khoảng trắng */
  height: 270px;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.tl-gallery img:nth-child(1):only-child{ height:200px; }

/* ===== Responsive ===== */
@media (max-width: 992px){
  .timeline{ --label-w: 105px; --gap:16px; }
  .tl-gallery img{ height:150px; }
  .ribbon{ font-size:12px;  line-height:30px; padding:0 18px 0 18px; }
}

@media (max-width: 768px){
  .timeline{ --label-w: 92px; --track-w: 18px; --gap:14px; }
  .tl-item{ padding:14px 0 28px; }
  .ribbon{ font-size:12px;  line-height:30px; padding:0 14px 0 14px; }
}

@media (max-width: 576px){

    .tl-title::after{width:100%;}
    .tl-title{font-size: 32px;  }
    .tk__title{font-size: 32px; }
  .timeline{ --label-w: 86px; --track-w: 16px; --gap:10px; }
  .ribbon{ font-size:12px;  line-height:30px; padding:0 8px 0 8px; }
  .ribbon::after{ border-left-width:25px; border-top:15px solid transparent; border-bottom:15px solid transparent; }
  .tl-track .dot{ top:10px; }
  .tl-gallery{ gap: 14px; }
  .tl-gallery img{ width: 100%; height:auto; }
}


/* ========== Org Chart (image version) ========== */
.org-section{ background:#F2FAE3;  padding: 56px 0 72px;}            /* cùng nền như mock */

.org-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-top: 16px;
}

.org-picture{ display:block; max-width: 1200px; width:100%; }
.org-image{
  display:block;
  width:100%;
  height:auto;          /* nếu không muốn bo, xóa dòng này */
}

/* Tiêu đề căn giữa (dùng lại tl-title) */
.org-title{ text-align:center; margin-bottom: 80px; }
.org-title::after{
  content:"";
  display:block;
  width:500px; height:2px;
  margin:12px auto 0;
  border-radius:2px;
  background:#fccd04;
}
.team-title{ text-align:center; margin-bottom: 80px; }
.team-title::after{
  content:"";
  display:block;
  width:500px; height:2px;
  margin:12px auto 0;
  border-radius:2px;
  background:#fccd04;
}

/* Mobile: bỏ shadow cho nhẹ, giữ full-width */
@media (max-width: 768px){
  .org-title::after{
    width: 100%;
  }
  .team-title::after{
    width: 100%;
  }
}



/* ===== Team ===== */
.team-section{
  border-top-left-radius: 100px;
  border-top-right-radius: 100px;
  background: #ffffff;
  padding: 56px 0 64px;
}

.team-intro{
  max-width: 900px;
  margin: 10px auto 30px;
  color: #385143;
  text-align: center;
}

/* Feature row */
.team-feature{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 18px 8px 12px;
  width: 70%;
  margin: 0 auto; 
}
.team-figure-xl{
  width: 280px; height: 300px; margin: 0;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}
.team-figure-xl img{
  width: 280px; height: 300px; object-fit: contain; border-radius: 50%;
  border-bottom: 6px solid rgba(46, 125, 50, 0.50); /* chính là #2E7D32 với opacity 12% */

}

.team-feature-body .team-name{
  font-family: "Playfair Display", "Times New Roman", serif;
  color: var(--brand-green);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 30px);
  margin: 0 0 6px;
}
.team-role{ font-weight: 700; color:#2f4a36; margin-bottom: 8px; }
.team-bio{ margin: 0 0 12px; color:#415b4d; }

.team-social{ list-style:none; padding:0; margin:10px 0 0; display:flex; gap:10px; }
.team-social li a{
  text-decoration: none;
  width: 36px; height: 36px; display:grid; place-items:center;
  border-radius: 50%;
  background: var(--brand-green);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}
.team-social.sm li a{ width: 30px; height: 30px; font-size: 13px; }

/* Grid list */
.team-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 86px 34px;
  margin-top: 18px;
}
.team-card{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 90px;
  align-items: start;
}
.team-figure{
  width: 180px; height: 180px; margin: 0;
  border-radius: 50%; overflow: hidden;
  box-shadow: 0 12px 26px rgba(0,0,0,.12);
  background:#fff;
  border-bottom: 6px solid rgba(46, 125, 50, 0.50);
}
.team-figure img{ width:100%; height:100%; object-fit:  contain;  transform: scale(1.19) ;   /* thu nhỏ ảnh 90% */
  transition: transform 0.3s ease; }

.team-card-body .team-person{
  color: var(--brand-green);
  font-weight: 700;
  margin: 0 0 4px;
}
.team-position{ font-weight: 700; color:#2f4a36; font-size: 14px; margin-bottom: 6px; }
.team-desc{ color:#4a6a5a; margin:0 0 8px; }

/* Load more button */
.team-loadmore{
  display:inline-block;
  margin-top: 52px;
  padding: 10px 18px;
  border-radius: 0px;
  border: 1px solid #A8A8A8;
  color: #383838;
  background: #fff;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
@media (hover:hover){
  .team-loadmore{ transition: all .2s ease; }
  .team-loadmore:hover{ background: var(--brand-green); color:#fff; }
}

/* Responsive */
@media (max-width: 992px){
  .team-feature{ grid-template-columns: 220px 1fr; padding-bottom: 32px; gap: 32px 0; border-bottom: 1px solid #D8D8D8; }
  .team-figure-xl{ width:250px; height:290px;  margin: 0 0;}
  .team-figure-xl img{ width:250px; height:290px; }
}
@media (max-width: 768px){
  .team-feature{ grid-template-columns: 1fr;  justify-items: center; width: 100%; }
  .team-feature-body{ max-width: 650px; margin:auto; }
  .team-grid{ grid-template-columns: 1fr; gap: 32px 34px; }
  .team-card{ grid-template-columns: 90px 1fr; padding-bottom: 32px; border-bottom: 1px solid #D8D8D8; }
  .team-figure{ width:150px; height:150px; }

  
}
 


.mosaic{
  position: relative;
  padding: 20px 0;      /* KHÔNG chừa padding-top lớn */
  background:#fff;
}

/* 1) Overlay đè lên */
.mosaic-overlay{
  position: absolute;
  inset: 0 auto auto 0; /* top:0; left:0 */
  width: 100%;
  padding: 0px 20px;
  z-index: 1000;        /* cao hơn grid */
  pointer-events: none; /* không chặn hover/click vào grid */
}

/* Bootstrap .row có margin âm 2 bên -> dùng g-0 hoặc reset */
.mosaic-overlay .row{ margin: 0; }
.mosaic-overlay .col-sm-10{ padding-left: 0; }

.mosaic-overlay img{
  max-width: 100%;
  height: auto;
  filter: brightness(0) invert(1); /* nếu muốn chấm trắng */
}

.mosaic-overlay .frame{
  height: 600px;
  border-top: 2px solid #36B845;
  border-right: 2px solid #36B845;
  border-top-right-radius: 30px;
}

/* 2) Grid không bị đẩy xuống */
.mosaic-grid{
  position: relative;   /* tạo stacking context riêng, dưới overlay */
  z-index: 1;
  margin-top: 0 !important;
  padding-top:30px !important;
  display: grid;
  grid-template-columns: 2.3fr 1.5fr 1fr;
  grid-auto-rows: 320px;
  gap: 10px;
}

.mosaic .item{ margin:0; overflow:hidden; background:#eee; }
.mosaic-overlay img{ filter: none; }  
.mosaic .item img{ width:100%; height:100%; object-fit:cover; display:block; }

/* Vị trí ô */
.hero     { grid-column: 1 / 2; grid-row: 1; }
.top-mid  { grid-column: 2;     grid-row: 1; }
.top-right{ grid-column: 3;     grid-row: 1; }
.bot-left { grid-column: 1;     grid-row: 2; }
.bot-wide { grid-column: 2 / 4; grid-row: 2; }

/* 3) Loại bỏ các pseudo cũ nếu còn (tránh chiếm chỗ/đè sai) */
.has-dots::before,
.mosaic-frame,
.mosaic-frame::before,
.mosaic-frame::after{ display:none !important; }


/* Responsive */
@media (max-width: 992px){
  .mosaic-grid{
    grid-template-columns: 1.4fr 1fr;
    grid-auto-rows: 180px;
  }
  .hero    { grid-column: 1 / -1; grid-row: 1; }
  .top-mid { grid-column: 1; grid-row: 3; }
  .top-right{grid-column: 2; grid-row: 3; }
  .bot-left{ grid-column: 1/-1; grid-row: 2; }
  .bot-wide{ grid-column: 1/-1; grid-row: 4; }
  .mosaic-frame{ display:none; }     /* ẩn khung xanh trên mobile cho gọn */
}
.whyus{ padding:56px 0 40px; background:#fff; }

.whyus-item{ max-width:420px; }
.whyus-icon{
  display:inline-grid; place-items:center;
  width:56px; height:56px; border-radius:14px; background:var(--soft-green);
  margin-bottom:14px;
}
.whyus-icon img{
  width:22px; height:22px; object-fit:contain; display:block;
  filter:none !important;           /* giữ nguyên màu xanh của PNG */
}

.whyus-heading{ font-size:21px; font-weight:700; color:var(--ink-700); margin:6px 0 8px; }
.whyus-desc{ margin:0; color:var(--ink-500); line-height:1.6; font-size:.95rem; }




/* ===== Capacity block (additive) ===== */
.capacity-block{        /* khớp nền mock */
  padding: 56px 0 40px;
}

.cap-intro{
  max-width: 780px;
  color: var(--ink-700);
  margin: 10px 0 24px;
}

/* Lưới ảnh + thẻ */
.capacity-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* Ảnh chung */
.cap-img{ margin:0; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,.10); }
.cap-img img{ width:100%; height:332.61px; object-fit: cover; display:block; }

/* Ảnh lớn hàng 1 span 2 cột */
.cap-hero{ grid-column: 1 / span 2; min-height: 260px; }


/* Ghi chú nền xanh (tận dụng cap-card sẵn có) */
.cap-note{
  border-radius: 12px;
  padding: 24px 22px;
}
.cap-note p{ margin:0; font-size: 14px; line-height: 1.6; color: #fff; }

/* Kích thước đề xuất cho các block còn lại */
.capacity-grid > .cap-img:nth-of-type(n+2):not(.cap-hero){ min-height: 240px; }

/* ===== Responsive bổ sung ===== */
@media (max-width: 992px){
  .capacity-grid{
    grid-template-columns: 1fr 1fr;
  }
  .cap-hero{ grid-column: 1 / -1; min-height: 240px; }
  .cap-stack{ grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: none; }
}

@media (max-width: 576px){
  .capacity-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cap-stack{ grid-template-columns: 1fr; }
  .cap-img,
  .cap-hero{ min-height: 200px; }
}
/* Sắp xếp 3 hàng: 2 | 2 | 3 item */
.capacity-grid{
  grid-template-areas:
    "hero  hero  stack"     /* hàng 1: 2 item */
    "note1 truck truck"     /* hàng 2: 2 item */
    "img1  img2  note2";    /* hàng 3: 3 item */
}

/* Gán vùng cho từng phần tử */
.grid-hero { grid-area: hero; }
.grid-stack{ grid-area: stack; grid-auto-rows: 1fr; gap: 18px; min-height: 260px; }

.grid-note1{ grid-area: note1; }
.grid-truck{ grid-area: truck; min-height: 240px; }

.grid-img1 { grid-area: img1;  min-height: 240px; }
.grid-img2 { grid-area: img2;  min-height: 240px; }
.grid-note2{ grid-area: note2; }

/* Responsive 2 cột */
@media (max-width: 992px){
  .capacity-grid{
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "hero  hero"
      "stack stack"
      "note1 truck"
      "img1  img2"
      "note2 note2";
  }
  .grid-truck, .grid-img1, .grid-img2{ min-height: 200px; }
}

/* Responsive 1 cột */
@media (max-width: 576px){
  .capacity-grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero"
      "stack"
      "note1"
      "truck"
      "img1"
      "img2"
      "note2";
  }
}


/* ================= TESTIMONIALS / PARTNERS (clean) ================= */
.tk{position:relative;overflow:hidden;}
.tk__bg{position:absolute;inset:0;background:url("../img/bg_doitac.png") center/cover no-repeat;}
.tk__bg::after{content:"";position:absolute;inset:0;}
.tk__glow{position:absolute;left:var(--x,50%);top:var(--y,40%);width:var(--s,480px);height:calc(var(--s,480px)*.66);transform:translate(-50%,-50%);background:#13BC13;filter:blur(28px);border-radius:9999px;opacity:.35;mix-blend:screen;}

.tk__inner{position:relative;z-index:1;width:var(--wrap);margin:0 auto;padding:60px 0;}
.tk__head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:40px;}
.tk__title-wrap{display:grid;gap:16px;}
.tk__title{color:#fff;font-family:"Playfair Display",serif;}
.tk__title::after{content:"";display:block;height:2px;margin-top:12px;border-radius:2px;background:#fccd04;}
.tk__bar{width:var(--bar-w);height:3px;background:var(--yellow);border-radius:999px;}
.tk__nav{display:flex;gap:10px;}
.tk__btn{width:40px;height:40px;border:0;border-radius:10px;display:grid;place-items:center;cursor:pointer;transition:filter .2s,transform .06s;}
.tk__btn--prev{background:#172432;}
.tk__btn--next{background:var(--brand-green);}
.tk__btn:hover{filter:brightness(1.08);}
.tk__btn:active{transform:scale(.98);}
.tk__ico{width:20px;height:20px;fill:#fff;display:block;}

/* Cards */
.tk-card{background:#fff;color:#11261B;position:relative;border-radius:26px;padding:20px 22px 18px;box-shadow:0 0 72px rgba(0,0,0,.10);min-height:260px;transition:transform .25s,box-shadow .25s,border-radius .25s;}
.tk-card--lg{border-radius:26px;padding:20px 22px 18px;} /* đồng bộ kích thước */
.tk-card__head{display:flex;align-items:center;gap:12px;position:relative;}
.tk-card__ava{width:78px;height:78px;border-radius:999px;object-fit:cover;}
.tk-card__meta{display:grid;gap:4px;}
.tk-card__name{font:600 18px/1 "Open Sans",system-ui,sans-serif;color:#11261B;}
.tk-card__stars{color:#FFB100;font-size:13px;letter-spacing:2px;}
.tk-card__quote{position:absolute;right:0;top:-6px;color:#FFB100;font-size:40px;line-height:1;}
.tk-card__text{margin:12px 0 14px;color:#4B5563;font:400 16px/1.45 "Open Sans",system-ui,sans-serif;}
.tk-card__brand{height:32px;width:auto;object-fit:contain;}



/* ================= Responsive ================= */
@media (max-width:1024px){
  .tk-card{min-height:220px;}
}
@media (max-width:640px){
  .tk__inner{padding:40px 0;}
  .tk__head{position:relative;align-items:flex-start;margin-bottom:20px;}
  
  .tk__title::after{width:160px;height:3px;margin-top:10px;}
  .tk__bar{display:none;}
  .tk__nav{position:absolute;right:0;top:50px;gap:8px;}
  .tk__btn{width:36px;height:36px;border-radius:8px;}
  .tk__glow{--s:360px;--x:62%;--y:24%;opacity:.4;}

  .tk__slider .splide__track{overflow:visible;} /* cho bóng đổ thoáng */
  .tk-card{min-height:220px;}
  .tk-card__ava{width:74px;height:74px;}
  .tk-card__name{font-size:18px;}
  .tk-card__text{font-size:17px;line-height:1.5;margin:14px 0 16px;}
  .tk-card__brand{height:44px;}
  .tk-card__quote{font-size:52px;right:2px;top:-8px;}
}

.tk__slider .splide__track{ overflow: hidden; }
/* Swiper layout – để khoảng cách đều & slide active phóng to */
.tk__slider.swiper{overflow:visible;}                 /* để bóng/phóng to không bị cắt */
.tk__slider .swiper-wrapper{align-items:center;}
.tk__slider .swiper-slide{display:flex;align-items:center; }
.tk__slider .tk-card{width:100%;min-height:220px;transition:transform .25s,box-shadow .25s,border-radius .25s; margin: 0 10px;}
.tk__slider .swiper-slide-active .tk-card{transform:scale(1.08);box-shadow:0 0 88px rgba(0,0,0,.18);border-radius:34px; height: 260px;}


/* CHẶN tràn ra ngoài khung slider */
.tk__slider.swiper{
  position: relative;
  overflow: hidden !important;   /* quan trọng */
  padding: 30px 0;
}

/* --- MOBILE FIX: 1 slide, canh giữa, không scale --- */
@media (max-width: 789px){
  /* container slider */
  #tkSwiper.tk__slider.swiper{
    overflow: hidden !important;
    padding: 16px 0 28px;
  }

  /* mỗi slide chiếm 100% chiều rộng khung nhìn */
  #tkSwiper .swiper-wrapper{ align-items: stretch; }



  /* avatar + chữ cho mobile */
  #tkSwiper .tk-card__ava{ width: 48px; height: 48px; }


  /* bỏ hiệu ứng scale slide active trên mobile */
  #tkSwiper .swiper-slide-active .tk-card{
    transform: none !important;
    box-shadow: 0 0 72px rgba(0,0,0,.10);
    border-radius: 28px;
  }
}


/* ============ Newsletter ============ */
  :root { 
    --nl-h: 50px;
    --nl-btn-h: 46px;
    --nl-form-w: 512px;
  }

  .nl {
    background: var(--brand-green);
    color: #fff;
  }

  /* Title & sub như mockup: 36/18px */
  .nl__title {
    margin: 0;
    font: 700 36px/1.2 "Playfair Display", serif;
    word-wrap: break-word;
  }

  .nl__sub {
    margin: 8px 0 0;
    font: 400 18px/27px "Open Sans", system-ui, sans-serif;
    opacity: .95;
  }

  /* Form (bên phải) */
  .nl__form {
    align-self: start;
    width: 100%;
  }

  .nl__field {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: 200px;
    padding: 2px 2px 2px 18px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06) inset;
  }

  .nl__input {
    flex: 1;
    height: var(--nl-h);
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111;
    font: 400 14.5px/1 "Montserrat", "Roboto", system-ui, sans-serif;
  }

  .nl__input::placeholder {
    color: #7E7E7E;
  }

  /* Nút lớn hơn, bo tròn 200px, màu như mockup */
  .nl__btn {
    height: var(--nl-btn-h);
    padding: 0 26px;
    border: 0;
    border-radius: 200px;
    cursor: pointer;
    background: #F9A825;
    /* hoặc dùng var(--yellow) nếu muốn đồng bộ hệ màu */
    color: #4E342E;
    /* theo mockup */
    font: 700 15px/22.5px "Roboto", system-ui, sans-serif;
    transition: filter .18s ease, transform .06s ease;
  }

  .nl__btn:hover {
    filter: brightness(.98);
  }

  .nl__btn:active {
    transform: translateY(1px);
  }

  .nl__field:focus-within {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25), 0 0 0 5px rgba(249, 168, 37, .35);
  }

  /* --- CF7 spinner đứng trước nút submit --- */
.nl__field { display:flex; align-items:center; gap:8px; } /* bạn đã có */


/* Sắp xếp lại thứ tự: input (1) -> spinner (2) -> submit (3) */
.nl__field .wpcf7-spinner { 
  order: 20;                /* trước nút */
  width: 18px; 
  height: 18px; 
  margin-right: 6px;        /* khoảng cách với nút */
  visibility: hidden;       /* ẩn khi chưa submit */
}
.nl__field .wpcf7-submit,
.nl__field .nl__btn { 
  order: 30;                /* sau spinner */
}
/* ========== CF7 trong Newsletter – fix lỗi giao diện ========== */

/* FORM của CF7 chiếm full, nội dung form giữ đúng pill .nl__field của bạn */
.nl__form .wpcf7 { width: 100%; }

/* Input email: không để UA tạo viền/đổ bóng mặc định khi :invalid */
.nl__form input[type="email"]:invalid{
  box-shadow: none; outline: 0;
}

/* Khi CF7 báo invalid, đổi ring của PILL thay vì border từng phần */
.wpcf7 form.invalid .nl__field,
.wpcf7 form.unaccepted .nl__field{
  box-shadow:
    0 0 0 3px rgba(255,255,255,.25),
    0 0 0 5px rgba(211,47,47,.45); /* đỏ brand */
}

/* Bản thân ô lỗi không có border đỏ “xấu” bên trong pill */
.nl__form .wpcf7-not-valid{
  border: 0 !important;
  background: transparent !important;
}

/* Tip lỗi của CF7 hiển thị gọn bên dưới pill, trái qua phải */
.nl__field{ position: relative; }
.nl__form .wpcf7-not-valid-tip{
  position: absolute;
  left: 18px;
  top: calc(100% + 6px);
  margin: 0; padding: 0;
  font: 400 13px/1.4 "Open Sans", system-ui, sans-serif;
  color: #B00020;             /* đỏ cảnh báo */
  background: transparent;
}

/* Spinner đứng TRƯỚC nút */
.nl__form .wpcf7-spinner{
  order: 20;
  width: 18px; height: 18px;
  margin-right: 6px;
  visibility: hidden;
}
.wpcf7 form.submitting .wpcf7-spinner{ visibility: visible; }

.nl__form .wpcf7-submit,
.nl__form .nl__btn{ order: 30; }

/* Thông báo chung của CF7 (response output) trông “đàng hoàng” */
.wpcf7 .wpcf7-response-output{
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #F9A825;
  background: #FFF9E6;
  color: #4E342E;
}
.wpcf7 form.invalid .wpcf7-response-output{
  border-color:#E53935; background:#FFEDEE; color:#B71C1C;
}
.wpcf7 form.sent .wpcf7-response-output{
  border-color:#2E7D32; background:#E6F5EA; color:#1B5E20;
}
/* Đẩy nút submit sát mép phải như hình 2 */
.nl__form .wpcf7 { width: 100%; }
.nl__form .wpcf7 form { margin: 0; }
.nl__form .wpcf7 p { margin: 0; }

/* Quan trọng: cho vùng bọc input của CF7 co giãn hết chiều ngang */
.nl__field { display: flex; align-items: center; gap: 8px; }
.nl__field .wpcf7-form-control-wrap {
  flex: 1;          /* input chiếm hết phần còn lại */
  min-width: 0;     /* tránh tràn */
}

/* Input full width trong wrapper */
.nl__field input[type="email"] {
  width: 100%;
}

/* Nút ở cuối hàng (sau spinner) */
.nl__field .wpcf7-submit,
.nl__field .nl__btn {
  order: 30;
  margin-left: auto;  /* phòng trường hợp thiếu order vẫn ép về phải */
}

/* Spinner đứng trước nút, không đẩy lệch layout */
.nl__field .wpcf7-spinner {
  order: 20;
  width: 18px; height: 18px;
  margin-right: 6px;
  visibility: hidden;
}
.wpcf7 form.submitting .wpcf7-spinner { visibility: visible; }

/* Chỉ hiện spinner khi đang gửi */
.wpcf7 form.submitting .wpcf7-spinner { visibility: visible; }

  /* Trợ năng ẩn label mà vẫn đọc được bởi screen reader */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  /* Responsive: mobile xếp dọc, giữ tỉ lệ chữ, không rơi/chặt chữ */
  @media (max-width: 960px) {
    .nl__title {
      font-size: 30px;
    }
  }



/* FOOTER */
.footer-mrg{
  --brand:#FCCD04;
  background: linear-gradient(133deg,#725030 0%,#83653A 25%,#947044 50%,#83613E 100%);
  padding: 0;
}
.footer-mrg a{color:#fff;text-decoration:none;}
.footer-mrg a:hover{text-decoration:underline;}
.footer-logo{width:230px;filter:brightness(0) invert(1);}
.footer-title{font-weight:700;font-size:16px;margin-bottom:.75rem;}
.footer-list li+li{margin-top:.35rem;}
.footer-list a{opacity:.95;font-size:13px;}

.social .social-btn{
  width:28px;height:28px;display:grid;place-items:center;
  border-radius:50%;border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.08);transition:.2s;
}
.social .social-btn:hover{background:rgba(255,255,255,.16);filter:brightness(1.06);}
.social .social-btn svg{width:16px;height:16px}

.ico{width:18px;height:18px;display:inline-grid;place-items:center;flex:0 0 18px;}
.ico svg{width:18px;height:18px}
.hotline{color:var(--brand-yellow) !important;font-size:20px}

.footer-bottom{background:rgba(34,34,34,.25);}

/* Mobile tweaks */
@media (max-width: 576px){
  .footer-logo{width:220px}
  .hotline{font-size:18px}
  .footer-mrg .social{justify-content:center}
  .footer-mrg .col-12.text-center .footer-list a{display:inline-block}
}



/* 0) Nền & chống tràn ngang toàn trang */
html{ background:#F2FAE3; }         /* cùng màu với body để không thấy vệt “ngoài html” */
body{ overflow-x:hidden; }          /* phòng 100%/grid đẩy tràn ngang */

/* 1) Navbar: giữ fixed cho desktop, STICKY cho mobile/tablet để không thoát flow */
@media (max-width: 950px){
  .navbar-custom{
    position: sticky;    /* thay vì fixed trên mobile */
    top: 0;
    left: 0; right: 0;   /* đảm bảo bám sát viewport */
    width: auto;         /* tránh case width:100% + padding gây tràn */
  }
}

/* 4) Chặn dropdown/mega-menu kéo layout tràn ngang trên mobile */
@media (max-width: 575px){
  .dropdown-menu, .mega-menu{ width:100%; box-sizing:border-box; }
}
/* Đảm bảo không đệm body khi dùng sticky (mobile/tablet) */
@media (max-width: 950px){
  body{ padding-top: 0 !important; }
  .navbar-custom{ margin-top: 0 !important; } /* phòng khi có margin-top vô ý */
}

  .lead-intro{
    border-left: 3px solid #DDDDDD;
    padding-left: 1rem;
    color: var(--ink);
    font: 400 15px/22.5px Roboto, system-ui, sans-serif;
  }


  /* Scroll-to-top FAB */
.backtop-fab{
  position: fixed;
  right: 16px;
  bottom: 10px;                 /* để không đè lên contact-fab (56px + gap) */
  z-index: 1499;                /* thấp hơn contact-fab một chút */
}

.btp-btn{
  width: 44px; height: 44px;
  border: 0; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(46,125,50,.90);   /* cùng tone brand trong suốt */
  color: #fff; cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.18), 0 4px 0 rgba(0,0,0,.12);

  /* ẩn mặc định */
  opacity: 0; transform: translateY(10px) scale(.92);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s cubic-bezier(.2,.7,.2,1);
}

.btp-btn:hover{ filter: brightness(1.06); }

/* khi hiện */
.backtop-fab.show .btp-btn{
  opacity: 1; transform: translateY(0) scale(1);
  pointer-events: auto;
}

@media (max-width:991px){
  .backtop-fab{bottom: 55px; } /* nhích theo mobile */
}
@media (max-width:575.98px){
  .backtop-fab{ right: 12px; }
}