:root {
  /* TTP brand identity (Brand Guidelines 2022) */
  --accent: #a32015;        /* TTP red */
  --accent-dark: #7e180f;
  --accent-bright: #c62a1e;
  --accent-soft: #fbeae8;
  --ink: #1d1d1f;
  --ink-2: #55575c;
  --slate: #2c2d31;         /* neutral charcoal paired with brand red */
  --slate-2: #202124;
  --line: #e6e6e8;
  --bg: #ffffff;
  --bg-2: #f6f5f4;
  --radius: 4px;
  --max: 1200px;
  --header-h: 76px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.site-header .container { display: flex; align-items: center; height: 100%; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); padding: 6px 0; }
.main-nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lang-switch button {
  border: 0; background: #fff; padding: 6px 10px; font: inherit; font-size: 13px; font-weight: 600;
  color: var(--ink-2); cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius);
  font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

@media (max-width: 960px) {
  .main-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: block; }
  .header-actions .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 440px; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20,28,34,.15) 0%, rgba(20,28,34,.75) 100%),
    radial-gradient(circle at 78% 30%, #e08a4f 0%, transparent 45%),
    radial-gradient(circle at 20% 80%, #6b3a1f 0%, transparent 50%),
    linear-gradient(120deg, #3a2a20 0%, #7a3d17 45%, #c8501a 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.hero .container { position: relative; z-index: 1; padding-bottom: 56px; width: 100%; }
.breadcrumb { font-size: 14px; opacity: .85; margin-bottom: 14px; }
.breadcrumb a { text-decoration: none; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 300; margin: 0 0 10px; }
.hero .slogan { font-size: clamp(16px, 2vw, 20px); font-weight: 500; opacity: .95; margin: 0; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-alt { background: var(--bg-2); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.section-title { font-size: clamp(28px, 3.4vw, 40px); max-width: 820px; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 820px; }
@media (max-width: 600px) { section { padding: 60px 0; } }

/* About statement */
.statement { font-size: clamp(26px, 3.6vw, 42px); font-weight: 700; max-width: 960px; margin-bottom: 28px; }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.about-grid .lead { font-size: 18px; }
.pillars { display: grid; gap: 16px; }
.pillar { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pillar-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.pillar h3 { font-size: 17px; margin-bottom: 4px; }
.pillar p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Split stat block (SGS-like) */
.split { display: grid; grid-template-columns: 1fr 1fr; margin-top: 72px; }
.split-visual {
  min-height: 360px; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,.25), transparent 40%),
    linear-gradient(135deg, #e7a46a 0%, #c8501a 55%, #7a3d17 100%);
  display: grid; place-items: center;
}

.split-stats {
  background: var(--slate); color: #fff; padding: 56px 48px;
  display: grid; gap: 28px; align-content: center; text-align: center;
}
.stat .num { font-size: clamp(36px, 4.4vw, 52px); font-weight: 700; line-height: 1.1; }
.stat .label { opacity: .85; font-size: 16px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-visual { min-height: 240px; } .split-stats { padding: 40px 24px; } }

/* Mission & vision */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 40px; }
.mv-card { padding: 48px; color: #fff; }
.mv-card.mission { background: var(--slate); }
.mv-card.vision { background: var(--accent); }
.mv-card h3 { font-size: 28px; margin-bottom: 18px; }
.mv-card p { font-size: 17px; opacity: .95; }
.mv-card blockquote {
  margin: 0 0 20px; padding-left: 18px; border-left: 4px solid currentColor;
  font-size: 20px; font-weight: 600; font-style: italic;
}
.mv-card ul { margin: 0; padding-left: 20px; }
.mv-card li { margin-bottom: 8px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.value { background: #fff; border-top: 3px solid var(--accent); padding: 24px; }
.value h4 { font-size: 18px; margin-bottom: 6px; }
.value p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) {
  .mv-grid { grid-template-columns: 1fr; }
  .mv-card { padding: 32px 24px; }
  .values { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* Leadership */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.member {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; text-align: left; padding: 0; font: inherit; color: inherit; cursor: pointer;
  transition: box-shadow .2s, transform .2s;
}
.member:hover { box-shadow: 0 12px 28px rgba(31,42,51,.12); transform: translateY(-2px); }
.member .photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.member .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.member .info { padding: 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.member h3 { font-size: 19px; margin: 0; }
.member .role { color: var(--accent); font-weight: 600; font-size: 14px; }
.member .more { margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
@media (max-width: 960px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

/* Products */

.tag { font-size: 13px; background: var(--accent-soft); color: var(--accent-dark); padding: 4px 10px; border-radius: 999px; font-weight: 600; }

.specs { margin: 4px 0 0; padding: 0; list-style: none; font-size: 14px; border-top: 1px solid var(--line); }
.specs li { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.specs li span:first-child { flex: none; width: 112px; color: var(--ink-2); }
.specs li span:last-child { font-weight: 500; }

.gel-table-wrap { margin-top: 18px; overflow-x: auto; }
table.gel { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 420px; }
table.gel caption { text-align: left; font-weight: 700; margin-bottom: 8px; font-size: 15px; }
table.gel th, table.gel td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
table.gel th { background: var(--slate); color: #fff; font-weight: 600; font-size: 13px; }
table.gel tbody tr:nth-child(even) { background: var(--bg-2); }
.tables-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
@media (max-width: 860px) { .tables-2 { grid-template-columns: 1fr; } }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.svc-top { height: 8px; background: var(--accent); }
.svc:nth-child(2) .svc-top { background: var(--slate); }
.svc:nth-child(3) .svc-top { background: #8a5a2b; }
.svc:nth-child(4) .svc-top { background: #3f6b52; }
.svc-body { padding: 32px; display: flex; flex-direction: column; flex: 1; }
.svc-num { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: 1px; }
.svc h3 { font-size: 22px; margin: 6px 0 14px; }
.svc p { color: var(--ink-2); }
.svc .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.chip { font-size: 12px; font-weight: 600; border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; color: var(--ink-2); }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } .svc-body { padding: 24px; } }

/* CTA */
.cta { background: var(--slate); color: #fff; padding: 72px 0; }
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 8px; }
.cta p { margin: 0; opacity: .85; max-width: 640px; }

/* Footer */
.site-footer { background: var(--slate-2); color: rgba(255,255,255,.8); padding: 56px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .footer-h { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--accent); color: #fff; cursor: pointer; font-size: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,.2); opacity: 0; pointer-events: none; transition: opacity .2s;
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Source photo has a red stripe on its right edge — crop it out */
.crop-right { transform: scale(1.05); transform-origin: left center; }

/* =====================================================================
   Review pass — structure, UX & accessibility refinements
   ===================================================================== */

/* Skip link & focus */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius);
  text-decoration: none; font-weight: 600; transition: top .15s;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.cta :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: #fff; }

/* Header: single navigation system (section tab bar), no duplicate menu */

.header-actions { margin-left: auto; }

@media (max-width: 600px) { .header-actions .btn { display: none; } }

/* Hero */
.hero { min-height: 480px; }
.hero-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 12px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; margin-bottom: 18px;
}
.hero .slogan { max-width: 640px; font-weight: 400; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 600px) { .hero { min-height: 420px; } .hero .container { padding-bottom: 40px; } .hero-eyebrow { font-size: 11px; letter-spacing: 1px; } }

/* Sources block (replaces decorative logo) */
.split-visual { display: block; place-items: initial; padding: 48px; color: #fff; min-height: 0; }
.split-visual h3 { font-size: 24px; margin-bottom: 20px; }
.origins { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.origins li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.3); }
.origins li:last-child { border-bottom: 1px solid rgba(255,255,255,.3); }
.origins strong { font-size: 17px; }
.origins span { opacity: .92; font-size: 15px; }
@media (max-width: 860px) { .split-visual { padding: 32px 24px; } }

/* Leadership cards: article with a real button (valid HTML) and full-card click area */
.member { position: relative; cursor: default; }
.member .more {
  margin-top: auto; padding: 14px 0 0; border: 0; background: none; text-align: left;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.member .more::after { content: ""; position: absolute; inset: 0; }
.member:hover .more { color: var(--accent); }
.member:focus-within { box-shadow: 0 0 0 3px var(--accent); }
.member .more:focus-visible { outline: none; }

/* Experience strip */
.experience { margin-top: 48px; padding: 28px 32px; background: var(--bg-2); border-radius: var(--radius); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.experience-title { margin: 0; font-weight: 700; font-size: 15px; color: var(--ink-2); flex: none; }
.experience ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.experience li { font-weight: 700; font-size: 16px; color: var(--ink); position: relative; }
@media (max-width: 600px) { .experience { padding: 24px 20px; } .experience ul { gap: 8px 20px; } .experience li { font-size: 15px; } }

/* Product tabs: horizontal scroll on small screens instead of wrapping */
@media (max-width: 760px) {
  .cat-tabs { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .cat-tabs::-webkit-scrollbar { display: none; }
  .cat-tabs button { flex: none; }
}

/* Consulting process */
.process { margin-top: 48px; }
.process h3 { font-size: 22px; margin-bottom: 20px; }
.process ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: none; }
.process li { position: relative; padding: 0 16px 0 0; display: grid; gap: 4px; align-content: start; }
.process li::before { content: ""; position: absolute; top: 20px; left: 48px; right: 8px; height: 2px; background: var(--line); }
.process li:last-child::before { display: none; }
.step-n { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 10px; position: relative; }
.process strong { font-size: 17px; }
.process li > span:last-child { color: var(--ink-2); font-size: 14px; }
@media (max-width: 860px) {
  .process ol { grid-template-columns: 1fr; gap: 18px; }
  .process li { grid-template-columns: 40px 1fr; column-gap: 16px; padding: 0; }
  .process li .step-n { grid-row: span 2; margin: 0; }
  .process li::before { top: 44px; bottom: -14px; left: 19px; right: auto; width: 2px; height: auto; }
}

/* Contact section */
.cta { padding: 88px 0; }
.cta .container { display: block; }
.cta-head { max-width: 760px; margin-bottom: 40px; }
.eyebrow-light { color: #f0b28f; }
.cta-head p { margin-top: 8px; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  padding: 24px; display: grid; gap: 6px; align-content: start;
}
.contact-card svg { color: #f0b28f; margin-bottom: 6px; }
.c-label { font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; opacity: .75; }
.c-value { font-size: 17px; font-weight: 600; color: #fff; text-decoration: none; }
a.c-value:hover { text-decoration: underline; }

@media (max-width: 960px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .contact-cards { grid-template-columns: 1fr; } .cta { padding: 64px 0; } }

/* Section divider between leadership/products spacing */
#ban-lanh-dao .lead { margin-bottom: 0; }

/* Print (for sharing on paper / PDF) */
@media print {
  .site-header, .to-top, .hero-actions, .cat-tabs, .skip-link { display: none !important; }
  .cat-panel[hidden] { display: block !important; }
  .hero { min-height: 0; color: #000; background: none; }
  .hero::after { display: none; }
  section { padding: 24px 0; break-inside: avoid-page; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .mv-card, .split-stats, .split-visual, .cta, .site-footer { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* =====================================================================
   TTP Brand identity layer (Brand Guidelines 2022)
   Red #A32015 + white, Montserrat, shield mark, double stripes,
   curved red waves, repeating mark pattern.
   ===================================================================== */
h1, h2, h3, h4, .statement, .section-title { letter-spacing: -0.01em; }
.statement, .section-title { font-weight: 700; }

/* Logo */
.logo img { height: 50px; width: auto; display: block; }
.site-footer .logo img { height: 46px; }
.legal-name { margin: 18px 0 6px; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; font-size: 14px; }

/* Hero: brand red waves + watermark shield + double stripes */
.hero {
  background: url("/assets/img/brand/hero-waves.svg") center / cover no-repeat, var(--accent);
}
.hero::after { display: none; }
.hero-mark {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  height: 125%; width: auto; opacity: .09; pointer-events: none;
}
.brand-stripes {
  position: absolute; top: 0; bottom: 0; left: max(24px, calc((100vw - var(--max)) / 2 - 56px));
  width: 34px; pointer-events: none; opacity: .9;
  background:
    linear-gradient(#fff, #fff) left / 12px 100% no-repeat,
    linear-gradient(#fff, #fff) right / 12px 100% no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 76%, 0 70%);
}
.hero .container { padding-left: 24px; }
@media (min-width: 1100px) { .hero .container { padding-left: 64px; } }
@media (max-width: 1099px) { .brand-stripes { display: none; } }
.hero-eyebrow { border-color: rgba(255,255,255,.6); }
.hero .btn-primary { background: #fff; color: var(--accent); }
.hero .btn-primary:hover { background: var(--ink); color: #fff; }

/* Buttons */
.btn { font-weight: 600; letter-spacing: .2px; }
.btn-light:hover { color: var(--accent); }

/* Sources block & vision card in brand red */
.split-visual, .mv-card.vision {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent) 55%, var(--accent-dark) 100%);
}
.split-visual::after, .mv-card.vision::after {
  content: ""; position: absolute; z-index: -1; right: -70px; bottom: -70px; width: 280px; height: 280px;
  background: url("/assets/img/brand/ttp-mark-white.png") center / contain no-repeat; opacity: .1; pointer-events: none;
}

/* Service accent bars: brand palette only */
.svc .svc-top { background: var(--accent); }
.svc:nth-child(2) .svc-top { background: var(--slate); }
.svc:nth-child(3) .svc-top { background: var(--accent-dark); }
.svc:nth-child(4) .svc-top { background: #8a8c91; }

/* Product category tiles: unified brand treatment */

/* Brand pattern (repeating shield mark) — contact section in TTP red */
.brand-pattern {
  position: relative; overflow: hidden;
  background-color: var(--accent);
  background-image: url("/assets/img/brand/ttp-mark-white.png");
  background-size: 54px auto;
  background-repeat: space;
}
.brand-pattern::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(126,24,15,.94) 0%, rgba(163,32,21,.93) 55%, rgba(126,24,15,.96) 100%);
}
.brand-pattern > .container { position: relative; z-index: 1; }
.cta .eyebrow-light { color: rgba(255,255,255,.85); }
.contact-card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.contact-card svg { color: #fff; }

/* Footer */
.site-footer { background: var(--slate-2); }

/* Process steps, eyebrow etc. inherit --accent automatically */
.step-n { background: var(--accent); }
.member .role, .svc-num { color: var(--accent); }

/* Small screens */
@media (max-width: 600px) {
  .logo img { height: 40px; }
  .hero-mark { height: 90%; right: -80px; opacity: .08; }
}

/* Print: keep logo & brand colours */
@media print {
  .hero { background: none !important; }
  .hero-mark, .brand-stripes { display: none; }
  .brand-pattern, .brand-pattern::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Contact details (live) ---------- */
.contact-cards { grid-template-columns: 1.5fr 1fr 1.1fr .9fr; }
.c-address { font-size: 15px; line-height: 1.45; }
@media (max-width: 960px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-card a.c-value { overflow-wrap: anywhere; }
.site-footer .footer-contact { margin-top: 16px; font-size: 14px; line-height: 1.9; }
.site-footer .footer-contact a { color: inherit; text-decoration: none; font-weight: 600; white-space: nowrap; }
.site-footer .footer-contact a:hover { text-decoration: underline; }
@media (max-width: 760px) { .contact-cards { grid-template-columns: 1fr; } }

/* =====================================================================
   v2 – multi-page layout
   ===================================================================== */

/* Header & main navigation */
.site-header .container { gap: 24px; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 8px 12px; border-radius: var(--radius); text-decoration: none;
  font-weight: 600; font-size: 15px; color: var(--ink-2); position: relative;
}
.main-nav a:hover { color: var(--accent); }
.main-nav a[aria-current] { color: var(--accent); }
.main-nav a[aria-current]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 3px; background: var(--accent); border-radius: 2px;
}
.header-actions { margin-left: 8px; }
.lang-switch a {
  display: block; padding: 6px 10px; font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: none; background: #fff;
}
.lang-switch a:hover { color: var(--accent); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: #fff; }
.menu-toggle { color: var(--ink); }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: inline; }
@media (max-width: 1100px) { .main-nav a { padding: 8px 9px; font-size: 14px; } }
@media (max-width: 960px) {
  .header-actions { margin-left: auto; }
  .main-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(0,0,0,.12);
    padding: 8px 16px 16px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a[aria-current]::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .main-nav a[aria-current] { padding-left: 14px; }
  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; }
}
body.nav-open { overflow: hidden; }
@media (min-width: 961px) { body.nav-open { overflow: auto; } }

/* Inner-page hero */
.hero--page { min-height: 340px; }
.hero--page h1 { font-size: clamp(32px, 4.4vw, 52px); }
.hero--page .container { padding-bottom: 48px; }
.breadcrumb { margin-bottom: 16px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: #fff; opacity: .85; text-decoration: none; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb [aria-current] { opacity: 1; font-weight: 600; }
.hero--404 { min-height: 70vh; align-items: center; }
.hero--404 .slogan-en { opacity: .8; margin-top: 8px; font-size: 16px; }
@media (max-width: 600px) { .hero--page { min-height: 280px; } .hero--page .container { padding-bottom: 36px; } }

/* Section helpers */
.section-tight { padding: 64px 0; }
.center { text-align: center; margin-top: 36px; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); text-decoration: none; margin-top: 8px; }
.link-more .arrow { transition: transform .15s; }
.link-more:hover .arrow, a:hover > .link-more .arrow { transform: translateX(4px); }
.link-more:hover { text-decoration: underline; }

/* Home: stats card */
.split-stats--card { border-radius: var(--radius); padding: 40px 32px; }
.split-stats--card .stat + .stat { border-top: 1px solid rgba(255,255,255,.14); padding-top: 24px; }

/* Home: product group cards (brand tiles – work with or without photos) */
.group-grid { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.group-card {
  display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink);
  transition: box-shadow .2s, transform .2s;
}
.group-card:hover { box-shadow: 0 12px 28px rgba(31,42,51,.12); transform: translateY(-2px); }
.group-visual {
  position: relative; overflow: hidden; aspect-ratio: 16 / 9; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent) 55%, var(--accent-dark));
  font-weight: 800; letter-spacing: 1px; font-size: 18px; text-align: center; padding: 12px;
}
.group-visual--dark { background: linear-gradient(135deg, #3a3b40, var(--slate) 55%, var(--slate-2)); }
.group-visual::after {
  content: ""; position: absolute; right: -24px; bottom: -24px; width: 110px; height: 110px;
  background: url("/assets/img/brand/ttp-mark-white.png") center / contain no-repeat; opacity: .14;
}
.group-visual > span { position: relative; z-index: 1; }
.group-body { padding: 18px 20px 20px; display: grid; gap: 4px; }
.group-name { font-weight: 700; font-size: 17px; }
.group-use { font-size: 14px; color: var(--ink-2); }
.group-card:hover .group-name { color: var(--accent); }
@media (max-width: 960px) { .group-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .group-grid { grid-template-columns: 1fr; } }

/* Home: compact services list */
.svc-list { list-style: none; margin: 36px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-list li { border-top: 3px solid var(--accent); padding: 20px 0 0; }
.svc-list li:nth-child(2) { border-color: var(--slate); }
.svc-list li:nth-child(3) { border-color: var(--accent-dark); }
.svc-list li:nth-child(4) { border-color: #8a8c91; }
.svc-list h3 { font-size: 18px; margin: 6px 0 8px; }
.svc-list p { color: var(--ink-2); font-size: 14px; margin: 0; }
@media (max-width: 960px) { .svc-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .svc-list { grid-template-columns: 1fr; } }

/* Home: leadership teaser */
.teaser { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
.teaser .experience { margin-top: 0; background: #fff; }
@media (max-width: 860px) { .teaser { grid-template-columns: 1fr; gap: 24px; } }

/* Leadership page */
.team-grid { list-style: none; padding: 0; }
.member .more { text-decoration: none; }
.member .more::after { content: ""; position: absolute; inset: 0; }
.profiles { padding-top: 72px; }
.profile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.profile + .profile { margin-top: 28px; }
.profile-inner { display: grid; grid-template-columns: 280px 1fr; }
.profile-photo { background: var(--bg-2); overflow: hidden; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.profile-body { padding: 36px 40px; }
.profile-body h2 { font-size: 26px; margin-bottom: 4px; }
.profile-body .role { color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.profile-body h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--ink-2); margin: 22px 0 8px; }
.profile-body ul { margin: 0; padding-left: 18px; }
.profile-body li { margin-bottom: 6px; }
.profile:target { box-shadow: 0 0 0 3px var(--accent); }
@media (max-width: 760px) {
  .profile-inner { grid-template-columns: 1fr; }
  .profile-photo { height: 360px; }
  .profile-body { padding: 24px; }
}

/* Contact page: help cards */
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.help-card {
  display: flex; flex-direction: column; gap: 6px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); background: #fff; border-top: 3px solid var(--accent); transition: box-shadow .2s;
}
.help-card:hover { box-shadow: 0 12px 28px rgba(31,42,51,.12); }
.help-card h3 { font-size: 19px; margin: 0; }
.help-card p { color: var(--ink-2); font-size: 15px; margin: 0 0 8px; flex: 1; }
@media (max-width: 860px) { .help-grid { grid-template-columns: 1fr; } }

/* Contact band on inner pages directly after the hero */
.page-contact .cta { padding-top: 64px; }

/* Picture elements behave like images */
picture { display: contents; }

/* =====================================================================
   v2 phase 2 – product group pages
   ===================================================================== */

/* Media frame: identical box for real photos and branded placeholders */
.media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.media--photo { background: #fff; }
.media--photo img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.media--brand {
  color: #fff; text-align: center; padding: 20px; align-content: center; gap: 6px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent) 55%, var(--accent-dark));
}
.media--dark { background: linear-gradient(135deg, #3a3b40, var(--slate) 55%, var(--slate-2)); }
.media--brand::before {
  content: ""; position: absolute; inset: 0; opacity: .07;
  background: url("/assets/img/brand/ttp-mark-white.png") center / 46px auto space;
}
.media--brand::after {
  content: ""; position: absolute; right: -30px; bottom: -30px; width: 140px; height: 140px;
  background: url("/assets/img/brand/ttp-mark-white.png") center / contain no-repeat; opacity: .14;
}
.media-name, .media-sub { position: relative; z-index: 1; }
.media-name { font-weight: 800; font-size: clamp(18px, 2vw, 24px); letter-spacing: .5px; line-height: 1.25; }
.media-sub { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; opacity: .85; }

/* Group intro block */
.group-page { padding-top: 64px; }
.group-intro {
  display: grid; grid-template-columns: minmax(280px, 1fr) 1.5fr; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.group-intro > .media { aspect-ratio: auto; min-height: 320px; height: 100%; }
.group-intro > .media--photo { border-right: 1px solid var(--line); }
.group-intro-text { padding: 36px 40px; }
.group-intro-text h2 { font-size: 28px; }
.group-intro-text p { color: var(--ink-2); }
.group-intro-text .btn { margin-top: 20px; }
@media (max-width: 860px) {
  .group-intro { grid-template-columns: 1fr; }
  .group-intro > .media { min-height: 0; aspect-ratio: 16 / 9; }
  .group-intro > .media--photo { border-right: 0; border-bottom: 1px solid var(--line); }
  .group-intro-text { padding: 24px; }
}

/* Specs as definition list */
dl.specs { margin: 8px 0 0; font-size: 14px; border-top: 1px solid var(--line); }
dl.specs > div { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
dl.specs dt { flex: none; width: 120px; color: var(--ink-2); }
dl.specs dd { margin: 0; font-weight: 500; }
ul.tags { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

/* Product cards */
.products-title { margin-top: 56px; display: flex; align-items: center; gap: 12px; }
.products-title .count {
  font-size: 14px; font-weight: 700; background: var(--accent); color: #fff; border-radius: 999px; padding: 2px 10px; line-height: 1.6;
}
.prod-cards { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.prod-card > .media--photo { border-bottom: 1px solid var(--line); }
.prod-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.prod-card h3 { font-size: 19px; margin-bottom: 2px; }
.prod-card .sub { color: var(--accent); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 10px; }
.prod-card p { color: var(--ink-2); font-size: 15px; }
.prod-card dl.specs { margin-top: auto; }
@media (max-width: 960px) { .prod-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .prod-cards { grid-template-columns: 1fr; } }
/* A single product spans nicely instead of leaving empty columns */
.prod-cards:has(> li:only-child) { grid-template-columns: minmax(0, 420px); }

/* Compact group grid (other groups) */
.group-grid--compact { grid-template-columns: repeat(7, 1fr); gap: 12px; margin-top: 24px; }
.group-grid--compact .group-visual { aspect-ratio: 3 / 2; font-size: 13px; }
.group-grid--compact .group-body { padding: 10px 12px 12px; }
.group-grid--compact .group-name { font-size: 14px; }
.group-grid--compact .group-use { display: none; }
@media (max-width: 1100px) { .group-grid--compact { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .group-grid--compact { grid-template-columns: repeat(2, 1fr); } }

/* Products overview: sources band */
.origins-band { background: var(--slate); color: #fff; border-radius: var(--radius); padding: 40px; position: relative; overflow: hidden; }
.origins-band .section-title { color: #fff; }
.origins-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.origins-list li { display: grid; gap: 4px; border-top: 2px solid var(--accent-bright); padding-top: 14px; }
.origins-list strong { font-size: 17px; }
.origins-list span { opacity: .85; font-size: 15px; }
@media (max-width: 860px) { .origins-list { grid-template-columns: 1fr 1fr; } .origins-band { padding: 28px 24px; } }
@media (max-width: 480px) { .origins-list { grid-template-columns: 1fr; } }

/* Contact page: map (click to load) */
.map-block { display: grid; grid-template-columns: 1fr 1.6fr; gap: 0; margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map-info { padding: 32px; }
.map-info h3 { font-size: 20px; }
.map-info p { color: var(--ink-2); }
.map-info a { color: var(--ink); font-weight: 600; text-decoration: none; }
.map-info a:hover { color: var(--accent); }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.map-actions .btn-primary { color: #fff; }
.map-actions .btn-outline:hover { color: #fff; }
.map-frame { position: relative; min-height: 360px; background:
  linear-gradient(rgba(44,45,49,.92), rgba(44,45,49,.92)), url("/assets/img/brand/ttp-mark-white.png") center / 56px auto space; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .map-block { grid-template-columns: 1fr; } .map-info { padding: 24px; } .map-frame { min-height: 300px; } }

/* Quick contact: Zalo + call (floating) */
.quick-contact { position: fixed; right: 20px; bottom: 78px; z-index: 45; display: grid; gap: 10px; }
.qc {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 0;
  color: #fff; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.22); transition: transform .15s;
}
.qc:hover { transform: scale(1.06); }
.qc-label { font-size: 10px; font-weight: 700; line-height: 1; margin-top: 2px; }
.qc-zalo { background: #0068ff; }
.qc-call { background: var(--accent); display: none; }
.to-top { background: var(--slate); }
@media (max-width: 960px) {
  .qc-call { display: grid; }
  .quick-contact { right: 14px; bottom: 74px; }
  .to-top { right: 17px; }
}
body.nav-open .quick-contact { display: none; }
@media print { .quick-contact { display: none !important; } }
/* Zalo link in the contact band */
.c-zalo { margin-top: 4px; font-size: 14px; font-weight: 600; color: #fff; text-decoration: none; opacity: .9; }
.c-zalo:hover { text-decoration: underline; opacity: 1; }
.qc, .to-top { border: 2px solid #fff; }

/* Contact form */
.form-section { padding-top: 72px; }
.form-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 48px; align-items: start; }
.cform { margin-top: 24px; }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14px; }
.req { color: var(--accent); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: #fff; width: 100%;
  border: 1px solid #cfd0d4; border-radius: var(--radius); padding: 11px 12px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field .err { display: none; margin: 0; font-size: 13px; color: var(--accent-dark); font-weight: 600; }
.field.has-error input, .field.has-error textarea { border-color: var(--accent); }
.field.has-error .err { display: block; }
.field--check { grid-template-columns: 20px 1fr; align-items: start; column-gap: 10px; }
.field--check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--accent); }
.field--check label { font-weight: 500; color: var(--ink-2); }
.field--check .err { grid-column: 2; }
.cform-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 22px; }
.cform-actions .btn[disabled] { opacity: .6; cursor: progress; }
.cform-note { margin: 0; font-size: 14px; color: var(--ink-2); }
.cform-note a { color: var(--ink); font-weight: 600; }
.cform-status { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); font-weight: 600; }
.cform-status.is-ok { background: #e8f5ee; color: #1d6b3f; }
.cform-status.is-error { background: var(--accent-soft); color: var(--accent-dark); }
.cform-status.is-info { background: var(--bg-2); color: var(--ink-2); }
.contact-aside { background: var(--slate); color: #fff; border-radius: var(--radius); padding: 32px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-aside h3 { font-size: 20px; }
.contact-aside ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-aside li { display: grid; gap: 2px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 14px; }
.contact-aside li span { font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; opacity: .7; }
.contact-aside a { color: #fff; font-weight: 600; text-decoration: none; }
.contact-aside a:hover { text-decoration: underline; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; gap: 32px; } .contact-aside { position: static; } }
@media (max-width: 600px) { .cform-grid { grid-template-columns: 1fr; } }
/* Contact page on phones: contact details sit next to the form, floating buttons would cover the inputs */
@media (max-width: 960px) { .page-contact .quick-contact { display: none; } }

/* Long-form text (privacy policy) */
.prose { max-width: 820px; }
.prose h2 { font-size: 22px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); font-weight: 600; }
.prose-meta { font-size: 14px; }
.toc { background: var(--bg-2); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 20px 24px; margin: 20px 0 32px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 4px; break-inside: avoid; }
.toc a { color: var(--ink); font-weight: 500; text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.field--check label a { color: var(--accent); font-weight: 600; }
.footer-bottom a { color: inherit; }

/* =====================================================================
   v2 beta.2 – product presentation upgrade
   ===================================================================== */
.group-visual { flex-direction: column; gap: 8px; display: flex; align-items: center; justify-content: center; }
.group-visual .gicon { position: relative; z-index: 1; color: #fff; opacity: .95; }
.group-brand { position: relative; z-index: 1; font-size: 12px; letter-spacing: 1.5px; font-weight: 700; opacity: .85; }
.group-grid--compact .group-visual .gicon { width: 34px; height: 34px; }
.group-grid--compact .group-brand { display: none; }
.media-icon { position: relative; z-index: 1; color: #fff; opacity: .95; margin-bottom: 6px; }
/* Application filter (products overview) */
.app-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0 4px; }
.app-filter-label { font-weight: 700; font-size: 14px; color: var(--ink-2); margin-right: 4px; }
.chip-btn {
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); transition: background .15s, color .15s, border-color .15s;
}
.chip-btn:hover { border-color: var(--ink); color: var(--ink); }
.chip-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.app-filter-status { min-height: 1.4em; margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }
.group-grid > li[hidden] { display: none; }
/* Group page: certifications + applications */
ul.certs { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cert {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius);
  background: #fff; border: 1.5px solid var(--accent); color: var(--accent-dark); font-weight: 700; font-size: 13px; letter-spacing: .3px;
}
.apps-line { margin: 16px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; }
.apps-line > span { font-weight: 700; color: var(--ink); }
.app-link { color: var(--accent); font-weight: 600; text-decoration: none; border-bottom: 1px dashed currentColor; }
.app-link:hover { border-bottom-style: solid; }
/* Product card: quote button + photo frame */
.btn-sm { padding: 8px 14px; font-size: 14px; }
.prod-quote { align-self: flex-start; margin-top: 18px; }
.prod-card dl.specs { margin-top: auto; }
.prod-card > .media--photo img { padding: 6px; }
/* Group cover photos */
.group-visual.has-photo { padding: 0; justify-content: flex-end; align-items: flex-start; }
.group-visual.has-photo::after { display: none; }
.gv-photo { position: absolute; inset: 0; }
.gv-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gv-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,20,22,.55) 0%, rgba(20,20,22,0) 55%); }
.group-card:hover .gv-photo img { transform: scale(1.04); }
.group-visual.has-photo .group-brand {
  margin: 0 0 12px 12px; padding: 4px 10px; border-radius: 3px; background: var(--accent); color: #fff; opacity: 1; font-size: 11px;
}
.group-visual--dark.has-photo .group-brand { background: var(--slate); }
.group-grid--compact .group-visual.has-photo .group-brand { display: none; }
/* Group page hero with cover photo under a brand-red overlay */
.hero--photo {
  background: linear-gradient(100deg, rgba(126,24,15,.94) 0%, rgba(163,32,21,.86) 45%, rgba(163,32,21,.55) 100%), var(--hero-photo) center / cover no-repeat, var(--accent);
}
@media (max-width: 760px) { .hero--photo { background: linear-gradient(rgba(126,24,15,.88), rgba(163,32,21,.82)), var(--hero-photo) center / cover no-repeat, var(--accent); } }
.group-visual > .gv-photo { position: absolute; inset: 0; z-index: 0; }
/* Group intro with a cover (lifestyle) photo */
.media--cover img { object-fit: cover; padding: 0 !important; }
.group-intro > .media--cover { border-right: 0; }
.media-badge { position: absolute; left: 16px; bottom: 16px; z-index: 1; background: var(--accent); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: 1.5px; padding: 5px 12px; border-radius: 3px; }
.media--cover img { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---- Home: who we are (compact 2-col + mosaic + stat band) ---- */
.who-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.who-title { font-size: clamp(24px, 2.4vw, 31px); line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; margin: 8px 0 18px; }
.who-text .lead { font-size: 17px; margin-bottom: 20px; }
.who-points { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.who-points li { position: relative; padding-left: 34px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.who-points li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.who-mosaic { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 6 / 5; }
.who-mosaic .wm { position: relative; overflow: hidden; border-radius: var(--radius); background: #eee; }
.who-mosaic .wm-1 { grid-row: 1 / span 2; }
.who-mosaic .wm picture, .who-mosaic .wm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.who-stats { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--slate); color: #fff; border-radius: var(--radius); padding: 30px 8px; }
.who-stats .stat { display: flex; align-items: center; gap: 18px; padding: 4px 32px; }
.who-stats .stat + .stat { border-left: 1px solid rgba(255,255,255,.16); }
.who-stats .stat .num { font-size: clamp(36px, 3.6vw, 48px); line-height: 1; flex: none; }
.who-stats .stat .label { font-size: 15px; line-height: 1.4; opacity: .88; }
@media (max-width: 960px) {
  .who-grid { grid-template-columns: 1fr; gap: 36px; }
  .who-mosaic { aspect-ratio: 16 / 11; }
}
@media (max-width: 720px) {
  .who-stats { grid-template-columns: 1fr; padding: 8px 24px; margin-top: 40px; }
  .who-stats .stat { padding: 18px 0; }
  .who-stats .stat + .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
}

.who-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }


/* Home services: readable descriptions */
.svc-list .svc-item { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.svc-list .svc-item h3 { transition: color .2s; }
.svc-list .svc-item:hover h3 { color: var(--accent); }
.svc-list p.svc-desc { color: var(--ink-2); font-size: 15px; line-height: 1.55; margin: 0 0 14px; }

.svc-list + .process { margin: 40px 0 32px; padding-top: 32px; border-top: 1px solid var(--line); }

/* ---- Home: leadership teaser with cards ---- */
.leaders-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 56px; align-items: end; margin-bottom: 36px; }
.leaders-head .section-title { margin-bottom: 0; }
.leaders-intro p { color: var(--ink-2); font-size: 16px; line-height: 1.6; margin: 0 0 12px; }
.leader-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.leader-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: box-shadow .2s, transform .2s; }
.leader-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.10); transform: translateY(-2px); }
.leader-photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #e9e9eb; }
.leader-photo picture, .leader-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.leader-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; border-top: 3px solid var(--accent); flex: 1; }
.leader-name { font-size: 18px; font-weight: 700; color: var(--ink); }
.leader-role { font-size: 13px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; line-height: 1.4; }
.leader-line { font-size: 14.5px; color: var(--ink); line-height: 1.5; margin-top: 4px; }
.leader-edu { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 960px) { .leaders-head { grid-template-columns: 1fr; align-items: start; } .leader-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .leader-grid { gap: 14px; } .leader-body { padding: 14px; } .leader-name { font-size: 16px; } .leader-line { font-size: 13.5px; } }

/* Contact band: icon + label on one line, tighter cards */
.contact-card .c-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.contact-card .c-head svg { margin: 0; width: 20px; height: 20px; flex: none; }
.contact-card .c-head .c-label { margin: 0; }

/* QA fixes: tap targets */
.c-zalo { display: inline-block; padding: 6px 0; }
.cform input[type="checkbox"] { width: 20px; height: 20px; flex: none; }

/* ===== v3.0 ===== */
.leaders .leader-card { border: 1px solid var(--line); box-shadow: none; }
.leaders .leader-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.08); }
/* v3.0 – headings bolder; compact sub-page banners; calmer brand mark */
.hero h1 { font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; max-width: 900px; text-wrap: balance; }
.hero .slogan { text-wrap: pretty; }
.hero-mark { opacity: .05; }
.hero--page { min-height: 0; align-items: flex-end; padding-top: 0; padding-bottom: 0; }
.hero--page .container { padding-top: 40px; padding-bottom: 36px; }
.hero--page h1 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 8px; }
.hero--page .breadcrumb { margin-bottom: 10px; }
.hero--page .hero-eyebrow { margin-bottom: 10px; }
.hero--page .slogan { font-size: 16px; max-width: 720px; }
.hero--page .hero-mark { height: 160%; right: -60px; }
@media (max-width: 600px) {
  .hero--page .container { padding-top: 28px; padding-bottom: 26px; }
  .hero--page h1 { font-size: 26px; }
  .hero--page .slogan { font-size: 15px; }
  .hero--page .hero-eyebrow { display: none; }
}
.hero--page { min-height: 236px; }
@media (max-width: 600px) { .hero--page { min-height: 184px; } }
.hero:not(.hero--page) h1 { font-size: clamp(30px, 4.2vw, 52px); max-width: 1040px; }
@media (max-width: 600px) { .hero:not(.hero--page) h1 { font-size: 30px; } .hero:not(.hero--page) { min-height: 0; } .hero:not(.hero--page) .container { padding-top: 56px; } }
/* v3.0 – shorter mobile pages (no smaller body text) */
@media (max-width: 600px) {
  section { padding: 48px 0; }
  .section-tight { padding: 40px 0; }
  .group-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
  .group-body { padding: 12px 12px 14px; }
  .group-name { font-size: 15px; line-height: 1.3; }
  .group-use { font-size: 13px; line-height: 1.4; }
  .group-brand { font-size: 10px; }
  .who-mosaic { display: none; }
  .who-grid { gap: 0; }
  .who-stats { margin-top: 28px; }
  .svc-list { gap: 0; margin: 24px 0 8px; }
  .svc-list li { padding: 18px 0; }
  .svc-list + .process { margin-top: 16px; padding-top: 24px; }
  .leader-grid { gap: 12px; }
  .cta { padding: 48px 0; }
  .cta-head { margin-bottom: 24px; }
  .contact-cards { gap: 10px; }
  .contact-card { padding: 16px 18px; }
}

.svc-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: 15px; color: var(--accent); text-decoration: none; padding: 6px 0; }
.svc-cta:hover { text-decoration: underline; }
/* v3.0 – calmer contact band: plain deep red + one faint mark in the corner */
.brand-pattern { background-image: none; background-color: var(--accent-dark); }
.brand-pattern::before {
  background: url("/assets/img/brand/ttp-mark-white.png") right -60px bottom -80px / 380px auto no-repeat;
  opacity: .06;
}
@media (max-width: 600px) { .brand-pattern::before { background-size: 240px auto; background-position: right -50px bottom -50px; } }

/* ===== v3.1 – package 1: layout only ===== */
/* Home hero: text left, ingredient photo right; smaller decorative mark */
.hero--split { min-height: 0; padding: 0; }
.hero--split .brand-stripes { display: none; }
.hero--split .hero-mark { height: 70%; right: auto; left: -60px; opacity: .05; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero--split .container.hero-grid { padding-left: 24px; }
.hero-visual { position: relative; aspect-ratio: 4 / 5; max-height: 520px; justify-self: end; width: 100%; max-width: 440px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.hero-visual picture, .hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--split h1 { font-size: clamp(30px, 3.6vw, 48px); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; }
  .hero-visual { display: none; }
}
/* Sub-page banners: light background, red only as accent (404 keeps the red brand banner) */
.hero--page:not(.hero--404) {
  background: #fff; color: var(--ink);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.hero--page:not(.hero--404)::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent);
}
.hero--page:not(.hero--404) .hero-mark,
.hero--page:not(.hero--404) .brand-stripes { display: none; }
.hero--page:not(.hero--404) .breadcrumb { color: var(--ink-2); opacity: 1; }
.hero--page:not(.hero--404) .breadcrumb a:hover { color: var(--accent); }
.hero--page:not(.hero--404) .breadcrumb [aria-current] { color: var(--ink); }
.hero--page:not(.hero--404) .hero-eyebrow {
  border: 0; padding: 0; background: none; color: var(--accent);
  font-weight: 700; letter-spacing: .12em;
}
.hero--page:not(.hero--404) h1 { color: var(--ink); }
.hero--page:not(.hero--404) .slogan { color: var(--ink-2); opacity: 1; }
.hero--page:not(.hero--404) :focus-visible { outline-color: var(--accent); }
.hero--page:not(.hero--404) .container { padding-left: 24px; }
.hero--page:not(.hero--404) .breadcrumb a { color: var(--ink-2); opacity: 1; }
.hero--page:not(.hero--404) .breadcrumb a:hover { color: var(--accent); }
.svc h2.svc-title { font-size: 22px; margin: 6px 0 14px; letter-spacing: 0; }
/* v3.1 – closing call-to-action: one clear invitation, contact details live in the footer */
.cta-invite { padding: 64px 0; }
.cta-invite-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.cta-invite h2 { color: #fff; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; margin: 0; max-width: 640px; font-weight: 700; }
.cta-invite-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-white { background: #fff; color: var(--accent); border-color: #fff; }
.btn-white:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.cta-invite :focus-visible { outline-color: #fff; }
@media (max-width: 600px) { .cta-invite { padding: 44px 0; } .cta-invite-actions, .cta-invite-actions .btn { width: 100%; } .cta-invite-actions .btn { justify-content: center; } }
/* v3.1.2 – home hero without photo (owner: fewer images); text column only */
.hero-grid { grid-template-columns: 1fr; }
.hero--split .hero-text { max-width: 860px; }
.hero--split .hero-mark { left: auto; right: -40px; height: 110%; opacity: .06; }
