/* Tú Anh Foods — v2 layout (Haseca-inspired)
   Loaded only by header_v2.php / footer_v2.php
   Source: ta-brand.css + ta-home.css consolidated */

/* Tú Anh Foods — A1 brand tokens + site chrome
   Source tokens: upload/demo/haseca/ (extracted from haseca.com SSR) */

@font-face {
  font-family: "SVN-Gilroy";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/SVN-Gilroy-Light.otf") format("opentype");
}

@font-face {
  font-family: "SVN-Gilroy";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/SVN-Gilroy-Regular.otf") format("opentype");
}

@font-face {
  font-family: "SVN-Gilroy";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/SVN-Gilroy-Medium.otf") format("opentype");
}

@font-face {
  font-family: "SVN-Gilroy";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/SVN-Gilroy-SemiBold.otf") format("opentype");
}

@font-face {
  font-family: "SVN-Gilroy";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/SVN-Gilroy-Bold.otf") format("opentype");
}

@font-face {
  font-family: "SVN-Gilroy";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/SVN-Gilroy-Bold.otf") format("opentype");
}

:root {
  --ta-red: #d00828;
  --ta-red-dark: #a00620;
  --ta-lime: #a8b848;
  --ta-lime-dark: #8a9838;
  --ta-ink: #141414;
  --ta-muted: #6b7280;
  --ta-surface: #f7f8f2;
  --ta-border: #e5e7eb;
  --ta-white: #ffffff;
  --ta-topbar-bg: #1f2937;
  --ta-max: 100%;
  --ta-header-h: 72px;
  /* Use px — site html { font-size: 10px } so 1rem ≠ Haseca’s 16px root */
  --ta-container-px: 16px;
  --ta-container-px-2xl: 64px; /* Haseca @1440: padding-left/right: 4rem */
  --ta-font: "SVN-Gilroy", sans-serif;
  --ta-fs-desc: 12px;
  --ta-lh-desc: 12px;
  --ta-fs-body: 16px;
  --ta-lh-body: 1.5;
  --ta-fs-nav: 16px;
  --ta-lh-nav: 24px;
  --ta-fs-h2: 28px;
  --ta-fs-h2-lg: 40px;
  --ta-lh-h2-lg: 48px;
  --ta-tracking-tight: -1px;
  /* Hero title — Haseca .h1: 32 / 48 (md) / 56 (lg), weight 800 */
  --ta-fs-hero: 32px;
  --ta-fs-hero-md: 48px;
  --ta-fs-hero-lg: 56px;
  --ta-lh-hero: 1.2;
}

body.ta-body {
  font-family: var(--ta-font);
  font-size: var(--ta-fs-body);
  line-height: var(--ta-lh-body);
  font-weight: 400;
  color: var(--ta-ink);
  background: var(--ta-white);
}

.ta-heading,
.ta-site-logo__brand,
.ta-section-head__title,
.ta-kpi__value,
.ta-hero__title,
.ta-intro__title,
.ta-intro__brand,
.ta-infobox__brand-text,
.ta-infobox__title,
.ta-news__title,
.ta-news-card__title,
.ta-reason h3 {
  font-family: var(--ta-font);
}

/* Haseca .container breakpoints (from SSR CSS) */
.ta-container,
.ta-topbar__inner,
.ta-header-bar,
.ta-footer-inner,
.ta-video-rail-wrap,
.ta-hero__overlay-inner {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--ta-container-px);
  padding-right: var(--ta-container-px);
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .ta-container,
  .ta-topbar__inner,
  .ta-header-bar,
  .ta-footer-inner,
  .ta-video-rail-wrap,
  .ta-hero__overlay-inner {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .ta-container,
  .ta-topbar__inner,
  .ta-header-bar,
  .ta-footer-inner,
  .ta-video-rail-wrap,
  .ta-hero__overlay-inner {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .ta-container,
  .ta-topbar__inner,
  .ta-header-bar,
  .ta-footer-inner,
  .ta-video-rail-wrap,
  .ta-hero__overlay-inner {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .ta-container,
  .ta-topbar__inner,
  .ta-header-bar,
  .ta-footer-inner,
  .ta-video-rail-wrap,
  .ta-hero__overlay-inner {
    max-width: 1280px;
  }
}

@media (min-width: 1440px) {
  .ta-container,
  .ta-topbar__inner,
  .ta-header-bar,
  .ta-footer-inner,
  .ta-video-rail-wrap,
  .ta-hero__overlay-inner {
    max-width: 1440px;
    padding-left: var(--ta-container-px-2xl);
    padding-right: var(--ta-container-px-2xl);
  }
}

/* Buttons — Haseca .btn: pill, uppercase, pad ~14×20, 16px/600 */
.ta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  font-family: var(--ta-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: normal;
  text-transform: uppercase;
  border-radius: 9999px;
  border: 1px solid transparent;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.ta-btn:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.12), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.ta-btn--primary {
  background: var(--ta-red);
  border-color: var(--ta-red);
  color: #fff !important;
}

.ta-btn--primary:hover {
  background: var(--ta-red-dark);
  border-color: var(--ta-red-dark);
  color: #fff !important;
}

.ta-btn--lime,
.ta-btn--accent {
  background: var(--ta-lime);
  border-color: var(--ta-lime);
  color: #141414 !important;
}

.ta-btn--lime:hover,
.ta-btn--accent:hover {
  background: var(--ta-lime-dark);
  border-color: var(--ta-lime-dark);
  color: #141414 !important;
}

/* Accent outline — dark sections */
.ta-btn--outline-accent,
.ta-btn--outline-light {
  background: transparent;
  border: 1px solid var(--ta-lime);
  color: var(--ta-lime) !important;
  box-shadow: none;
}

.ta-btn--outline-accent:hover,
.ta-btn--outline-light:hover {
  background: var(--ta-lime);
  border-color: var(--ta-lime);
  color: #141414 !important;
}

/* Primary outline — light sections */
.ta-btn--outline-primary,
.ta-btn--outline-dark {
  background: transparent;
  border: 1px solid var(--ta-red);
  color: var(--ta-red) !important;
  box-shadow: none;
}

.ta-btn--outline-primary:hover,
.ta-btn--outline-dark:hover {
  background: var(--ta-red);
  border-color: var(--ta-red);
  color: #fff !important;
}

.ta-btn--sm {
  padding: 10px 16px;
  font-size: 14px;
}

/* ——— Topbar (Haseca: bg-gray-800, py-10px, 12px white Gilroy) ——— */
.ta-topbar {
  background: var(--ta-topbar-bg);
  color: #fff;
  padding: 10px 0;
  min-height: 44px;
  box-sizing: border-box;
}

.ta-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
}

.ta-topbar__left {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.ta-topbar__link {
  font-family: var(--ta-font);
  font-size: var(--ta-fs-desc);
  font-weight: 400;
  line-height: var(--ta-lh-desc);
  letter-spacing: -0.05em;
  color: #fff !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.ta-topbar__link .fa {
  font-size: 11px;
  opacity: 0.9;
}

.ta-topbar__link:hover {
  opacity: 0.85;
}

/* ——— Sticky header white bar only (72px) ——— */
.ta-site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: #fff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  border-bottom: none;
}

.ta-site-header.is-scrolled {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.ta-header-bar {
  height: var(--ta-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ta-site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  color: var(--ta-ink);
  flex-shrink: 0;
  height: var(--ta-header-h);
}

.ta-site-logo img {
  max-height: 56px;
  width: auto;
  max-width: 114px;
  display: block;
  object-fit: contain;
}

.ta-site-logo__brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ta-ink);
}

.ta-site-logo__brand span {
  color: var(--ta-red);
}

.ta-site-logo__domain {
  font-size: 10px;
  color: var(--ta-muted);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.ta-nav-desktop {
  display: none;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0;
}

.ta-nav-desktop > li {
  position: relative;
  list-style: none;
  margin: 0;
  flex-shrink: 0;
  padding: 0 12px; /* Haseca item wrap ~px-3 */
}

@media (min-width: 1280px) {
  .ta-nav-desktop > li {
    padding: 0 16px; /* Haseca xl:px-5 */
    margin-right: 8px; /* approx xl:mr-[22px] residual between items */
  }

  .ta-nav-desktop > li:last-child {
    margin-right: 0;
  }
}

/* Haseca .menu-pc: py-10px, fw 400, border-b 2px; hover/active = border only */
.ta-nav-desktop > li > a {
  display: block;
  padding: 10px 0;
  font-family: var(--ta-font);
  font-size: 14px; /* Haseca body-text below lg */
  font-weight: 400;
  line-height: 150%;
  color: #000;
  text-decoration: none !important;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}

@media (min-width: 1024px) {
  .ta-nav-desktop > li > a {
    font-size: 16px; /* Haseca body-text @ lg */
    line-height: 24px;
  }
}

.ta-nav-desktop > li > a:hover,
.ta-nav-desktop > li.is-active > a {
  color: #000; /* Haseca keeps text black — only underline highlights */
  border-bottom-color: var(--ta-red);
}

.ta-nav-desktop .ta-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--ta-border);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  z-index: 50;
}

.ta-nav-desktop > li:hover > .ta-submenu {
  display: block;
}

.ta-nav-desktop .ta-submenu li a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: var(--ta-ink);
  text-decoration: none !important;
}

.ta-nav-desktop .ta-submenu li a:hover {
  background: var(--ta-surface);
  color: var(--ta-red);
}

.ta-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.ta-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--ta-ink);
  cursor: pointer;
  padding: 0;
}

.ta-menu-toggle .fa {
  font-size: 20px;
}

.ta-nav-mobile {
  display: none;
  border-top: 1px solid var(--ta-border);
  background: #fff;
  max-height: 70vh;
  overflow-y: auto;
}

.ta-nav-mobile.is-open {
  display: block;
}

.ta-nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

.ta-nav-mobile > ul > li > a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 16px;
  font-weight: 500;
  color: var(--ta-ink);
  text-decoration: none !important;
  border-bottom: 1px solid var(--ta-border);
}

.ta-nav-mobile .ta-submenu {
  list-style: none;
  margin: 0;
  padding: 0 0 0.4rem;
  background: var(--ta-surface);
}

.ta-nav-mobile .ta-submenu a {
  display: block;
  padding: 0.45rem 1.75rem;
  font-size: 14px;
  color: var(--ta-muted);
  text-decoration: none !important;
}

@media (min-width: 992px) {
  .ta-nav-desktop {
    display: flex;
  }
  .ta-menu-toggle {
    display: none;
  }
  .ta-nav-mobile {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .ta-topbar {
    display: none;
  }
}


/* Hero slider — Haseca cinematic (~70vh) */
.ta-hero {
  position: relative;
  overflow: hidden;
  background: var(--ta-ink);
}

.ta-hero--home {
  min-height: min(693px, 87vh);
}

.ta-hero .callbacks_container,
.ta-hero .rslides {
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
}

.ta-hero--home .callbacks_container,
.ta-hero--home .rslides,
.ta-hero--home .rslides li {
  min-height: min(693px, 87vh);
}

.ta-hero .rslides li {
  position: relative;
}

.ta-hero .rslides img {
  width: 100%;
  height: clamp(320px, 52vw, 560px);
  object-fit: cover;
  display: block;
}

.ta-hero--home .rslides img {
  height: min(693px, 87vh);
  min-height: 420px;
}

.ta-hero--inner .rslides img {
  height: clamp(180px, 28vw, 320px);
}

/* Hide baked-in title tooltips / old caption chrome */
.ta-hero .caption,
.ta-hero .rslides_caption,
.ta-hero p.caption {
  display: none !important;
}

.ta-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 2.5rem 1.25rem 5rem;
  color: #fff;
  background: linear-gradient(
    100deg,
    rgba(26, 26, 26, 0.55) 0%,
    rgba(26, 26, 26, 0.2) 48%,
    rgba(26, 26, 26, 0.05) 100%
  );
  pointer-events: none;
}

.ta-hero__overlay-inner {
  pointer-events: auto;
}

.ta-hero__title {
  font-family: var(--ta-font);
  font-size: var(--ta-fs-hero); /* px — site html rem root is 10px */
  font-weight: 800;
  line-height: var(--ta-lh-hero);
  margin: 0 0 16px;
  max-width: 18em;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: #fff;
}

@media (min-width: 768px) {
  .ta-hero__title {
    font-size: var(--ta-fs-hero-md);
  }
}

@media (min-width: 1024px) {
  .ta-hero__title {
    font-size: var(--ta-fs-hero-lg);
  }
}

/* Haseca-style highlight bars — Tú Anh lime / red; pad 5px 4px like ref */
.ta-hero__mark {
  display: inline;
  background: var(--ta-lime);
  color: var(--ta-ink);
  padding: 5px 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  line-height: 1.2;
  font-weight: 800;
}

.ta-hero__line {
  display: inline;
  background: rgba(208, 8, 40, 0.92);
  color: #fff;
  padding: 5px 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  line-height: 1.2;
  font-weight: 800;
}

.ta-hero__lead {
  font-size: 16px;
  max-width: 36rem;
  margin: 0 0 24px;
  opacity: 0.95;
  line-height: 1.5;
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
  .ta-hero__lead {
    font-size: 18px;
  }
}

@media (min-width: 1024px) {
  .ta-hero__lead {
    font-size: 20px;
  }
}

.ta-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Dot pager (Haseca-style) — replace arrow nav */
.ta-hero .callbacks_nav {
  display: none !important;
}

.ta-hero .callbacks_tabs {
  position: absolute;
  z-index: 8;
  bottom: 28px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  text-align: center !important;
  font-size: 0;
  line-height: 0;
}

.ta-hero .callbacks_tabs li {
  float: none !important;
  display: inline-block !important;
  margin: 0 8px !important;
  vertical-align: middle;
}

.ta-hero .callbacks_tabs a {
  display: block !important;
  background: #fff !important;
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  text-indent: -9999px;
  overflow: hidden;
  opacity: 1;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.ta-hero .callbacks_tabs .callbacks_here a {
  background: var(--ta-lime) !important;
  transform: scale(1.15);
}

@media (min-width: 768px) {
  .ta-hero .callbacks_tabs {
    bottom: 32px !important;
  }

  .ta-hero .callbacks_tabs a {
    width: 14px !important;
    height: 14px !important;
  }
}

/* Footer */
.ta-site-footer {
  background: var(--ta-ink);
  color: #f5f5f5;
  border-top: 3px solid var(--ta-lime);
  padding: 48px 0 0;
  font-size: 16px;
  line-height: 1.6;
}

.ta-site-footer a {
  color: #f5f5f5;
  text-decoration: none;
}

.ta-site-footer a:hover {
  color: var(--ta-lime);
  text-decoration: underline;
}

.ta-footer-inner {
  padding-bottom: 40px;
}

.ta-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .ta-footer-grid {
    grid-template-columns: minmax(200px, 0.9fr) minmax(160px, 0.7fr) minmax(280px, 1.4fr);
    gap: 40px;
  }
}

.ta-footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-decoration: none !important;
  margin-bottom: 16px;
}

.ta-footer-logo img {
  display: block;
  max-height: 64px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 4px;
}

.ta-footer-logo__domain {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.ta-footer-logo:hover .ta-footer-logo__domain {
  color: var(--ta-lime);
}

.ta-footer-col h6 {
  font-family: var(--ta-font);
  font-size: 18px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 16px !important;
  color: #fff !important;
}

.ta-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ta-footer-col ul li {
  margin-bottom: 10px;
}

.ta-footer-col ul li a {
  font-size: 16px;
  line-height: 1.5;
}

.ta-footer-col > p,
.ta-footer-brand__name,
.ta-footer-contact__body,
.ta-footer-contact__body p {
  font-size: 16px;
  line-height: 1.65;
  opacity: 0.9;
  margin: 0 0 12px;
  color: #f5f5f5;
}

.ta-footer-brand__name {
  font-weight: 600;
  opacity: 1;
  margin-top: 0;
}

/* Neutralize CMS inline styles (white bg / tiny fonts) inside address HTML */
.ta-footer-contact__body *,
.ta-footer-contact__body span,
.ta-footer-contact__body font {
  background: transparent !important;
  color: inherit !important;
  font-size: inherit !important;
  font-family: inherit !important;
  line-height: inherit !important;
}

.ta-footer-contact__body {
  font-size: 15px;
  line-height: 1.7;
}

.ta-footer-contact__body p {
  margin: 0 0 14px;
}

.ta-footer-hotline {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  color: var(--ta-lime) !important;
  font-size: 18px;
  line-height: 1.4;
}

.ta-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px;
  text-align: center;
  font-size: 14px;
  opacity: 0.75;
}

.ta-footer-bottom span {
  color: var(--ta-lime);
}

.ta-footer-social {
  margin-top: 16px;
}

.ta-footer-social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  margin-right: 8px;
  color: #fff !important;
  font-size: 16px;
}

.ta-footer-social a:hover {
  border-color: var(--ta-lime);
  color: var(--ta-lime) !important;
  text-decoration: none !important;
}

/* Partners strip (all pages) */
.ta-partners {
  padding: 2.5rem 0;
  background: var(--ta-surface);
}

.ta-partners .ta-section-head {
  margin-bottom: 40px;
}

.ta-partners #wrap_partner {
  margin: 0 auto;
}

/* Float widgets — keep existing, tint brand */
.hotlineSupport {
  background: var(--ta-red) !important;
}

/* Home wrap: full bleed */
body.ta-page-home #wrap_block_4.container {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

body.ta-page-home #wrap_block_4 > .row {
  margin-left: 0;
  margin-right: 0;
}

/* ========== Home sections (v2) ========== */

/* Tú Anh Foods — A1 home · Haseca-matched sections */

.ta-section {
  padding: 3.5rem 0;
}

@media (min-width: 992px) {
  .ta-section {
    padding: 4.5rem 0;
  }
}

.ta-section--surface {
  background: var(--ta-surface);
}

.ta-section--dark {
  background: #292929;
  color: #f5f5f5;
  padding: 3.5rem 0;
}

@media (min-width: 992px) {
  .ta-section--dark {
    padding: 4.5rem 0;
  }
}

.ta-section--videos {
  padding-bottom: 1.5rem;
}

.ta-section--intro {
  padding-top: 16px;
  padding-bottom: 48px;
  background: #fff;
}

@media (min-width: 768px) {
  .ta-section--intro {
    padding-top: 24px;
    padding-bottom: 60px;
  }
}

@media (min-width: 1024px) {
  .ta-section--intro {
    padding-top: 32px;
  }
}

.ta-section-head {
  margin-bottom: 40px;
}

.ta-section-head--center {
  text-align: center;
}

/* Haseca hides small eyebrows on main titles — keep optional, muted */
.ta-section-head__eyebrow {
  display: none;
}

.ta-section-head__title {
  font-family: var(--ta-font);
  font-size: var(--ta-fs-h2);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0;
  color: #141414;
  text-transform: none;
}

@media (min-width: 768px) {
  .ta-section-head__title {
    font-size: var(--ta-fs-h2-lg);
    line-height: var(--ta-lh-h2-lg);
    letter-spacing: var(--ta-tracking-tight);
  }
}

.ta-section-head__title--caps {
  text-transform: uppercase;
  letter-spacing: -1px;
}

/* Haseca title underline bar: 130×22 yellow → Tú Anh lime */
.ta-section-head__title-wrap {
  position: relative;
  display: inline-block;
}

.ta-section-head__title-wrap .ta-section-head__title {
  position: relative;
  z-index: 2;
}

.ta-section-head__line {
  display: none;
  position: absolute;
  left: 0;
  top: 24px;
  width: 130px;
  max-width: 100%;
  height: 22px;
  background: var(--ta-lime);
  z-index: 1;
  pointer-events: none;
}

@media (min-width: 768px) {
  .ta-section-head__line {
    display: block;
  }
}

@media (min-width: 1024px) {
  .ta-section-head__line {
    top: 30px;
  }
}

/* Title row + CTA — Haseca: mb 24 / md 40 before content */
.ta-section-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.ta-section-toolbar .ta-section-head {
  margin-bottom: 0;
}

/* Video: Haseca mb-[24px] md:mb-[40px] on title row */
.ta-section--videos .ta-section-toolbar {
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .ta-section--videos .ta-section-toolbar {
    margin-bottom: 40px;
  }
}

.ta-section-more {
  text-align: center;
  margin-top: 2rem;
}

/* ——— Video rail (Haseca horizontal scroll) ——— */
.ta-video-rail-wrap {
  padding-bottom: 8px;
}

.ta-video-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  /* Haseca: pt-[10px] pb-[24px] after title row */
  padding: 10px 0 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ta-video-rail::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .ta-video-rail {
    gap: 24px;
  }
}

/* Haseca card: h 340→420, rounded-2xl, border, shadow-lg */
.ta-video-card {
  position: relative;
  flex: 0 0 240px;
  width: 240px;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f4f6;
  display: block;
  text-decoration: none !important;
  color: #fff;
  cursor: pointer;
  border: 1px solid #f3f4f6;
  padding: 0;
  scroll-snap-align: start;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

@media (min-width: 768px) {
  .ta-video-card {
    flex-basis: 300px;
    width: 300px;
    height: 420px;
  }
}

.ta-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.ta-video-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 1s ease;
}

.ta-video-card:hover img {
  transform: scale(1.05);
}

/* Top-left: eye + views pill (Haseca) — lime stroke for Tú Anh */
.ta-video-card__views {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  pointer-events: none;
}

.ta-video-card__views svg {
  color: var(--ta-lime);
  flex-shrink: 0;
}

.ta-video-card__views-n {
  font-weight: 600;
}

/* Dim overlay + play on hover */
.ta-video-card__shade {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.1);
  transition: background 0.5s ease;
  pointer-events: none;
}

.ta-video-card:hover .ta-video-card__shade {
  background: rgba(0, 0, 0, 0.3);
}

.ta-video-card__play {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  font-size: inherit;
  color: inherit;
}

.ta-video-card:hover .ta-video-card__play {
  opacity: 1;
  transform: scale(1.1);
}

.ta-video-card__play svg {
  display: block;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.35));
}

/* Bottom gradient + bold title */
.ta-video-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  z-index: 15;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4), transparent);
  pointer-events: none;
}

.ta-video-card__title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 20px;
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: left;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  pointer-events: none;
}

@media (min-width: 768px) {
  .ta-video-card__title {
    padding: 24px;
    font-size: 18px;
  }
}

.ta-video-empty {
  flex: 1;
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--ta-muted);
  border: 1px dashed var(--ta-border);
  border-radius: 8px;
  margin: 0 1rem;
}

/* ——— Intro + KPI (Haseca about block) ——— */
.ta-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .ta-intro-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .ta-intro-grid {
    gap: 64px;
  }
}

@media (min-width: 1280px) {
  .ta-intro-grid {
    gap: 80px;
  }
}

.ta-intro__title {
  font-family: var(--ta-font);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
  color: #131001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

@media (min-width: 768px) {
  .ta-intro__title {
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -1px;
  }
}

/* Brand with lime highlight bar behind (Haseca yellow bar → Tú Anh lime) */
.ta-intro__brand-wrap {
  position: relative;
  display: inline-block;
}

.ta-intro__brand {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-weight: 700;
  color: #131001;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}

.ta-intro__brand-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  top: 52%;
  width: 100%;
  height: 52%;
  background: var(--ta-lime);
  z-index: 0;
  pointer-events: none;
}

.ta-intro__headline {
  display: block;
  font-weight: 700;
  color: #131001;
}

.ta-intro__body {
  font-size: 14px;
  line-height: 1.5;
  color: #1f2937;
  margin: 0 0 21px;
  text-align: justify;
}

@media (min-width: 768px) {
  .ta-intro__body {
    font-size: 14px;
    margin-bottom: 29px;
  }
}

@media (min-width: 1024px) {
  .ta-intro__body {
    font-size: 16px;
    margin-bottom: 40px;
  }
}

.ta-intro__body p {
  margin: 0 0 0.75rem;
}

.ta-intro__body p:last-child {
  margin-bottom: 0;
}

/* Cream KPI panel — Haseca bg-main-yellow-0 → soft lime wash */
.ta-intro__kpis {
  background: #f7f9e8;
  padding: 32px 14px;
}

@media (min-width: 768px) {
  .ta-intro__kpis {
    padding: 40px 42px;
  }
}

@media (min-width: 1280px) {
  .ta-intro__kpis {
    padding: 45px 56px 41px;
  }
}

.ta-kpi {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: none;
}

@media (min-width: 1280px) {
  .ta-kpi {
    padding-left: 42px;
    padding-right: 42px;
    gap: 7px;
  }
}

.ta-kpi__value {
  font-family: var(--ta-font);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  color: var(--ta-red);
  letter-spacing: -0.5px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

@media (min-width: 768px) {
  .ta-kpi__value {
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -1px;
  }
}

.ta-kpi__unit {
  font-weight: 700;
  font-size: 0.72em;
  letter-spacing: -0.02em;
  margin-left: -2px;
}

.ta-kpi__desc {
  font-size: 14px;
  line-height: 1.5;
  color: #1f2937;
  margin: 0 0 0 3px;
}

.ta-kpi__rule {
  border: 0;
  border-top: 1px solid #a6a7aa;
  margin: 12px 0;
}

@media (min-width: 768px) {
  .ta-kpi__rule {
    margin: 20px 0;
  }
}

@media (min-width: 1280px) {
  .ta-kpi__rule {
    margin: 41px 0 45px;
  }
}

/* ——— Services — Haseca portrait cards, title overlay only ——— */
/* Haseca: title then mt-[40px] before grid */
.ta-svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 0;
}

@media (min-width: 640px) {
  .ta-svc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .ta-svc-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
}

@media (min-width: 768px) {
  .ta-svc-grid {
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .ta-svc-grid {
    gap: 8px;
  }
}

.ta-svc-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  background: #111;
  text-decoration: none !important;
  color: #fff;
  aspect-ratio: 2 / 3;
}

@media (min-width: 1024px) {
  .ta-svc-card {
    border-radius: 0;
  }
}

.ta-svc-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ta-svc-card:hover .ta-svc-card__img {
  transform: scale(1.05);
}

/* Dark gradient + title only */
.ta-svc-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 48px 12px 17px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
  display: flex;
  align-items: flex-end;
  min-height: 38%;
  transition: background 0.4s ease, padding 0.4s ease;
}

@media (min-width: 640px) {
  .ta-svc-card__overlay {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (min-width: 1024px) {
  .ta-svc-card__overlay {
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 22px;
  }
}

.ta-svc-card:hover .ta-svc-card__overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.45) 60%, transparent 100%);
}

.ta-svc-card__title {
  font-family: var(--ta-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

@media (min-width: 640px) {
  .ta-svc-card__title {
    font-size: 20px;
  }
}

/* ——— Why choo/* ——— Why choose — Haseca 2-col + accordion ——— */
.ta-why {
  position: relative;
  background: #1a1a1a;
  color: #fff;
  padding: 0;
  overflow: visible;
}

/* Haseca: white strip above, then textured dark panel */
.ta-why::before {
  content: "";
  display: block;
  height: 48px;
  background: #fff;
}

@media (min-width: 768px) {
  .ta-why::before {
    height: 67px;
  }
}

@media (min-width: 1024px) {
  .ta-why::before {
    height: 96px;
  }
}

.ta-why__panel {
  position: relative;
  background: #1a1a1a url("../img/ta-why-bg.jpg") center / cover no-repeat;
  padding-top: 0;
  padding-bottom: 47px;
}

@media (min-width: 768px) {
  .ta-why__panel {
    padding-top: 67px;
  }
}

@media (min-width: 1280px) {
  .ta-why__panel {
    padding-top: 96px;
  }
}

.ta-why__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.55);
  pointer-events: none;
  z-index: 0;
}

.ta-why__inner {
  position: relative;
  z-index: 1;
  padding-bottom: 0;
}

.ta-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* Stack until lg — tablet 2-col was too tight with photo + accordion */
@media (min-width: 1024px) {
  .ta-why-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: 64px;
    row-gap: 40px;
    align-items: start;
  }
}

@media (min-width: 1280px) {
  .ta-why-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 80px;
  }
}

.ta-why__title {
  font-family: var(--ta-font);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #141414;
  margin: 0 0 16px;
}

@media (min-width: 768px) {
  .ta-why__title {
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -1px;
    margin-bottom: 22px;
    color: #fff;
  }
}

@media (min-width: 1024px) {
  .ta-why__title {
    margin-bottom: 32px;
    color: #fff;
  }
}

/* Mobile: dark section but title needs contrast — use white on dark always for section */
.ta-why__title {
  color: #fff;
}

.ta-why__mark {
  display: inline;
  background: var(--ta-lime);
  color: #141414;
  padding: 0 4px;
  margin-right: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.ta-why__left .ta-btn {
  margin-bottom: 42px;
}

@media (min-width: 768px) {
  .ta-why__left .ta-btn {
    margin-bottom: 59px;
  }
}

@media (min-width: 1024px) {
  .ta-why__left .ta-btn {
    margin-bottom: 84px;
  }
}

/* Haseca aspect-w-3/h-2 + absolute children + cream offset plate
   Do NOT set width:100% — margin-right must shrink the box so the
   absolute img (full size + ml offset) stays out of the column gap. */
.ta-why__photo {
  position: relative;
  padding-bottom: 66.666%;
  margin-right: 24px;
  overflow: visible;
}

@media (min-width: 768px) {
  .ta-why__photo {
    margin-right: 32px;
  }
}

@media (min-width: 1280px) {
  .ta-why__photo {
    margin-right: 56px;
  }
}

.ta-why__photo > * {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ta-why__photo-bg {
  height: 91%;
  background: #fcf0c4;
  z-index: 0;
}

.ta-why__photo img {
  z-index: 1;
  display: block;
  object-fit: cover;
  margin-top: 10px;
  margin-left: 10px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

@media (min-width: 768px) {
  .ta-why__photo img {
    margin-top: 24px;
    margin-left: 24px;
  }
}

@media (min-width: 1280px) {
  .ta-why__photo img {
    margin-top: 32px;
    margin-left: 48px;
  }
}

.ta-why__photo:hover img {
  transform: scale(1.04);
}

/* Photo + cream staggered reveal */
.ta-why__photo-bg,
.ta-why__photo img {
  opacity: 0;
}

.ta-why__photo-bg {
  transform: translate(-8px, -8px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.ta-why__photo img {
  transform: translate(16px, 20px);
  transition:
    opacity 0.65s ease 0.12s,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.ta-reveal.is-visible .ta-why__photo-bg,
.ta-reveal.is-visible .ta-why__photo img {
  opacity: 1;
  transform: translate(0, 0);
}

.ta-reveal.is-visible .ta-why__photo:hover img {
  transform: scale(1.04);
}

@media (min-width: 1024px) {
  .ta-why__right {
    padding-left: 32px;
  }
}

@media (min-width: 1280px) {
  .ta-why__right {
    padding-left: 40px;
  }
}

.ta-why-item {
  padding-left: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.ta-why-item:last-child {
  border-bottom: none;
}

.ta-why-item__head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 22px 0;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  text-align: left;
  font-family: var(--ta-font);
  transition: color 0.2s ease;
}

@media (min-width: 1280px) {
  .ta-why-item__head {
    padding-top: 38px;
  }
}

.ta-why-item__head:hover {
  color: rgba(255, 255, 255, 0.85);
}

.ta-why-item__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .ta-why-item__label {
    gap: 8px;
  }
}

@media (min-width: 768px) {
  .ta-why-item__label {
    gap: 12px;
  }
}

@media (min-width: 1280px) {
  .ta-why-item__label {
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .ta-why-item__label {
    font-size: 20px;
  }
}

.ta-why-item__n {
  display: none;
  flex-shrink: 0;
  font-weight: 600;
}

@media (min-width: 640px) {
  .ta-why-item__n {
    display: inline;
  }
}

.ta-why-item__name {
  font-weight: 600;
}

.ta-why-item__icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--ta-lime);
}

.ta-why-item__minus {
  display: none;
}

.ta-why-item.is-open .ta-why-item__plus {
  display: none;
}

.ta-why-item.is-open .ta-why-item__minus {
  display: block;
}

.ta-why-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 0, 0.2, 1);
}

.ta-why-item.is-open .ta-why-item__body {
  max-height: 480px;
}

.ta-why-item__content {
  padding: 0 0 24px 10px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  white-space: pre-line;
}

@media (min-width: 640px) {
  .ta-why-item__content {
    padding-left: 32px;
  }
}

@media (min-width: 1280px) {
  .ta-why-item__content {
    padding-right: 60px;
    padding-bottom: 32px;
    font-size: 16px;
  }
}

/* ——— Infobox / Giới thiệu + video (Haseca video band) ——— */
.ta-infobox {
  background: #141414;
  color: #fff;
  padding: 40px 0;
}

@media (min-width: 1024px) {
  .ta-infobox {
    padding: 60px 0;
  }
}

.ta-infobox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

/* Haseca: lg 4/12 text + 8/12 video */
@media (min-width: 1024px) {
  .ta-infobox-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .ta-infobox__text {
    padding-top: 62px;
  }
}

/* Brand plate — same pattern as Haseca “Haseca” on yellow */
.ta-infobox__brand {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin: 0 0 4px;
}

.ta-infobox__brand-text {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 2px 6px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #111827;
}

@media (max-width: 379px) {
  .ta-infobox__brand-text {
    white-space: normal;
  }
}

@media (min-width: 380px) {
  .ta-infobox__brand-text {
    white-space: nowrap;
  }
}

@media (min-width: 768px) {
  .ta-infobox__brand-text {
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -1px;
    padding: 0 8px;
  }
}

.ta-infobox__brand-bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: var(--ta-lime);
}

.ta-infobox__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #fff;
}

.ta-infobox__br {
  display: none;
}

@media (min-width: 1280px) {
  .ta-infobox__br {
    display: block;
  }
}

@media (min-width: 768px) {
  .ta-infobox__title {
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -1px;
  }
}

.ta-infobox__body {
  margin: 0;
  padding-top: 16px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: #fff;
}

@media (min-width: 1024px) {
  .ta-infobox__body {
    padding-top: 36px;
  }
}

@media (min-width: 1280px) {
  .ta-infobox__body {
    padding-top: 48px;
  }
}

.ta-infobox__frame {
  position: relative;
  width: 100%;
}

@media (min-width: 640px) {
  .ta-infobox__frame {
    padding-right: 18px;
    padding-bottom: 18px;
  }
}

/* Video fills media column; 16:9 keeps width honest across breakpoints */
.ta-infobox__video {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}

.ta-infobox__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.ta-infobox__accent {
  display: none;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 50%;
  height: 50%;
  background: #ffa600;
  pointer-events: none;
}

@media (min-width: 640px) {
  .ta-infobox__accent {
    display: block;
  }
}

@media (min-width: 1024px) {
  .ta-infobox__accent {
    width: 348px;
    height: 348px;
  }
}

.ta-infobox__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  padding: 16px;
  text-align: center;
  box-sizing: border-box;
}

/* ——— Certs ——— */
.ta-certs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 576px) {
  .ta-certs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ta-certs-item {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--ta-border);
  border-radius: 10px;
  padding: 1rem;
  transition: box-shadow 0.2s ease;
}

.ta-certs-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.ta-certs-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ——— News / Bản tin (Haseca dark staggered grid) ——— */
.ta-news {
  background: #141414;
  color: #fff;
  padding: 48px 0;
}

@media (min-width: 768px) {
  .ta-news {
    padding: 67px 0;
  }
}

@media (min-width: 1280px) {
  .ta-news {
    padding: 96px 0;
  }
}

.ta-news__head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .ta-news__head {
    flex-direction: row;
    align-items: flex-start;
  }
}

.ta-news__title-wrap {
  position: relative;
  display: inline-block;
}

.ta-news__title {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #fff;
}

@media (min-width: 768px) {
  .ta-news__title {
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -1px;
  }
}

.ta-news__title-bar {
  display: none;
  position: absolute;
  left: 0;
  top: 24px;
  z-index: 1;
  width: 100%;
  max-width: 130px;
  height: 22px;
  background: var(--ta-lime);
  pointer-events: none;
}

@media (min-width: 768px) {
  .ta-news__title-bar {
    display: block;
  }
}

@media (min-width: 1024px) {
  .ta-news__title-bar {
    top: 30px;
  }
}

.ta-news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 32px;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .ta-news-grid {
    column-gap: 26px;
  }
}

@media (min-width: 1024px) {
  .ta-news-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .ta-news-grid {
    column-gap: 32px;
  }
}

@media (max-width: 459px) {
  .ta-news-grid {
    grid-template-columns: 1fr;
  }
}

.ta-news-card {
  display: block;
  min-width: 0;
}

@media (min-width: 1024px) {
  .ta-news-card--stagger {
    margin-top: 32px;
  }
}

@media (min-width: 1280px) {
  .ta-news-card--stagger {
    margin-top: 62px;
  }
}

.ta-news-card__media {
  position: relative;
  overflow: hidden;
  height: 304px;
  margin-bottom: 16px;
  border-radius: 2px;
  background: #1f1f1f;
}

@media (min-width: 1024px) {
  .ta-news-card__media {
    margin-bottom: 0;
    border-radius: 0;
  }
}

.ta-news-card__thumb {
  display: block;
  width: 100%;
  height: 100%;
}

.ta-news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ta-news-card__overlay {
  display: none;
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(168, 184, 72, 0) 37.34%, var(--ta-lime));
  transition: bottom 0.2s ease;
  pointer-events: none;
}

@media (min-width: 768px) {
  .ta-news-card__overlay {
    display: flex;
  }
}

.ta-news-card:hover .ta-news-card__overlay {
  bottom: 0;
  pointer-events: auto;
}

.ta-news-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 16px;
  padding: 8px 16px;
  border: 1px solid var(--ta-red);
  border-radius: 9999px;
  background: var(--ta-red);
  color: #fff !important;
  font-family: var(--ta-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  text-transform: none;
  pointer-events: auto;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ta-news-card__cta:hover {
  background: var(--ta-red-dark);
  border-color: var(--ta-red-dark);
  color: #fff !important;
}

.ta-news-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 6px 0;
  font-size: 12px;
  line-height: 1;
  color: #e5e7eb;
}

@media (min-width: 768px) {
  .ta-news-card__meta {
    margin: 14px 0;
  }
}

.ta-news-card__source {
  text-transform: uppercase;
}

.ta-news-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #fff !important;
  text-decoration: none !important;
}

@media (min-width: 768px) {
  .ta-news-card__title {
    font-size: 20px;
  }
}

.ta-news-card__title:hover {
  color: rgba(255, 255, 255, 0.88) !important;
}

/* ——— Scroll reveal ——— */
.ta-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ta-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .ta-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .ta-why__photo-bg,
  .ta-why__photo img {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .ta-why__photo:hover img,
  .ta-reveal.is-visible .ta-why__photo:hover img {
    transform: none;
  }
  .ta-svc-card:hover,
  .ta-video-card:hover {
    transform: none;
  }
  .ta-video-card:hover img,
  .ta-svc-card:hover .ta-svc-card__img {
    transform: none;
  }
  .ta-news-card:hover .ta-news-card__overlay {
    bottom: -100%;
  }
}

/* ——— Video lightbox ——— */
.ta-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.88);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.ta-lightbox.is-open {
  display: flex;
}

.ta-lightbox__inner {
  position: relative;
  width: min(900px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
}

.ta-lightbox__inner iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.ta-lightbox__close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

/* Hide legacy visitor counter chrome on home */
body.ta-page-home .count_num {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.55) !important;
  border: 0 !important;
  padding: 0 1px !important;
  margin: 0 !important;
  font-size: 12px !important;
}

/* Inner pages on v2 chrome */
body.ta-page-inner #wrap_block_4.container {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

body.ta-page-inner .wrap_center {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 16px 3.5rem;
  float: none;
}

body.ta-page-inner .kmt_title {
  text-align: left;
  margin-bottom: 1.5rem;
}

body.ta-page-inner .content_article {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

.ta-inner-page {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.ta-article-body {
  font-size: 16px;
  line-height: 1.75;
  color: #333;
}

.ta-article-body img {
  max-width: 100%;
  height: auto;
}

.ta-customer-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
}

.ta-customer-grid__item {
  width: 16.666%;
  padding: 8px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.ta-customer-grid__item img {
  width: 100%;
  height: 88px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 10px;
}

@media (max-width: 991px) {
  .ta-customer-grid__item {
    width: 25%;
  }
}

@media (max-width: 767px) {
  .ta-customer-grid__item {
    width: 50%;
  }
  .ta-customer-grid__item img {
    height: 72px;
  }
}
