/*
Theme Name: Zân Zan
Theme URI: https://zanzan.space
Author: Zân Zan Studio
Author URI: https://zanzan.space
Description: Zân Zan creative studio — dark futuristic bento grid. Đẹp. Độc. Điên.
Version: 2.1.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zanzan
Tags: dark, creative, portfolio, vietnamese, bento
*/

/* ─── FONTS ──────────────────────────────────────────── */

@font-face {
  font-family: 'SVN-Monument Extended';
  src: url('fonts/SVN-MonumentExtended-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('fonts/BeVietnamPro-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('fonts/BeVietnamPro-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('fonts/BeVietnamPro-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('fonts/BeVietnamPro-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('fonts/BeVietnamPro-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('fonts/BeVietnamPro-Black.ttf') format('truetype');
  font-weight: 900; font-style: normal; font-display: swap;
}

/* ─── TOKENS ─────────────────────────────────────────── */

:root {
  --c-red:      #C02B3C;
  --c-red-dark: #A02030;
  --c-gold:     #E8922A;
  --c-green:    #2D7A3C;
  --c-ink:      #0E0E0E;
  --c-ink2:     #1A1A1A;
  --c-warm:     #E8D0A8;
  --c-muted:    #F7F4F0;
  --c-panel:    #181818;
  --c-border:   rgba(247,244,240,0.08);
  --c-border-hover: rgba(247,244,240,0.16);

  --font-display: 'SVN-Monument Extended', 'Monument Extended', serif;
  --font-sans:    'Be Vietnam Pro', sans-serif;

  --container-max: 1200px;
  --gap: 12px;
  --section-gap: 56px;
  --section-gap-lg: 80px;
}

/* ─── RESET ──────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--c-ink);
  color: var(--c-muted);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
li::marker { content: none; }

/* ─── ANIMATIONS ─────────────────────────────────────── */

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes stamp-sway-1 {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-7px); }
}
@keyframes stamp-sway-2 {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-9px); }
}
@keyframes stamp-sway-3 {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}

.float { animation: float 4s ease-in-out infinite; }

/* ── Kim Slay character card ──────────────────────────── */
.kim-char {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kim-char__main {
  height: 340px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  display: block;
}
.kim-char__stamp {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}
.kim-char__stamp--tl {
  top: 14px; left: 14px;
  width: 40px;
  animation: stamp-sway-1 3.6s ease-in-out infinite;
}
.kim-char__stamp--bl {
  bottom: 80px; left: 12px;
  width: 44px;
  animation: stamp-sway-2 4.2s ease-in-out infinite 1.1s;
}
.kim-char__stamp--br {
  bottom: 52px; right: 12px;
  width: 34px;
  animation: stamp-sway-3 3.8s ease-in-out infinite 0.6s;
}

/* ─── LAYOUT ─────────────────────────────────────────── */

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.site-main { flex: 1; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.page-wrap {
  padding: 48px 20px 96px;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* ─── PILL NAV ───────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 12px;
  z-index: 200;
  display: flex;
  justify-content: center;
  padding: 0 24px;
  pointer-events: none;
}

.pill-nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(24,24,24,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--c-border);
  border-radius: 100px;
  padding: 6px 8px;
  pointer-events: all;
}

.pill-nav__logo {
  padding: 4px 8px 4px 4px;
  margin-right: 4px;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.pill-nav__logo img { height: 36px; width: auto; display: block; }
.pill-nav__logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.pill-nav__logo-text .logo-z { color: var(--c-red); }

/* Nav menu items */
.pill-nav .menu {
  display: flex !important;
  list-style: none !important;
  list-style-type: none !important;
  gap: 4px;
  margin: 0 !important;
  padding: 0 !important;
}
.pill-nav .menu li {
  display: block !important; /* change from list-item → eliminates ::marker entirely */
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.pill-nav .menu li a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 7px 18px;
  border-radius: 100px;
  color: rgba(247,244,240,0.55);
  transition: all 0.2s ease;
  display: block;
}
.pill-nav .menu li a:hover,
.pill-nav .menu li.current-menu-item a {
  background: var(--c-red);
  color: #fff;
}

/* ── Dropdown sub-menu (desktop) ──────────────────────── */
.pill-nav .menu li.menu-item-has-children {
  position: relative;
}
.pill-nav .menu li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  margin-left: 5px;
  width: 0; height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.6;
  vertical-align: middle;
  position: relative; top: -1px;
  transition: transform 0.2s ease;
}
.pill-nav .menu li.menu-item-has-children:hover > a::after,
.pill-nav .menu li.menu-item-has-children.dropdown-open > a::after {
  transform: rotate(180deg);
  opacity: 1;
}

.pill-nav .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 168px;
  background: rgba(20,20,20,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 6px;
  list-style: none;
  margin: 0;
  z-index: 300;
  gap: 2px;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.pill-nav .menu li.menu-item-has-children:hover .sub-menu,
.pill-nav .menu li.menu-item-has-children.dropdown-open .sub-menu {
  display: flex;
}
.pill-nav .sub-menu li {
  display: block !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.pill-nav .sub-menu li a {
  font-size: 13px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 10px;
  color: rgba(247,244,240,0.65);
  white-space: nowrap;
  display: block;
  letter-spacing: 0.02em;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.pill-nav .sub-menu li a:hover {
  background: var(--c-red);
  color: #fff;
}

/* Mobile toggle — hidden on desktop, shown in mobile media query */
.menu-toggle-pill {
  display: none;
}

/* Home button — hidden on desktop, shown as center pill on mobile */
.pill-nav__home-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(247,244,240,0.06);
  border: 1px solid rgba(247,244,240,0.1);
  color: rgba(247,244,240,0.55);
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.pill-nav__home-btn svg { display: block; pointer-events: none; }
.pill-nav__home-btn:hover,
.pill-nav__home-btn.current-home {
  background: var(--c-red);
  border-color: var(--c-red);
  color: #fff;
}

/* Fallback text logo if no custom logo */
.pill-nav__fallback-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--c-muted);
  padding: 4px 12px 4px 4px;
  margin-right: 4px;
}
.pill-nav__fallback-logo .logo-z { color: var(--c-red); }

/* ─── BENTO CARD ─────────────────────────────────────── */

.bento-card {
  background: var(--c-panel);
  border-radius: 24px;
  border: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.bento-card:hover { border-color: var(--c-border-hover); }
.bento-card--clickable { cursor: pointer; }
.bento-card--clickable:hover { transform: scale(1.01); }

/* Scanlines overlay */
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.04) 3px,
    rgba(0,0,0,0.04) 4px
  );
  border-radius: inherit;
}

.bento-card > * { position: relative; z-index: 2; }

/* Radius variants */
.bento-card--r20 { border-radius: 20px; }
.bento-card--r16 { border-radius: 16px; }

/* Background variants */
.bento-card--dark-red  { background: #1A0A0E; }
.bento-card--dark-blue { background: #0A0F1A; }
.bento-card--dark-green{ background: #0A1A0E; }
.bento-card--warm      { background: var(--c-warm); }
.bento-card--red       { background: var(--c-red); }
.bento-card--ink2      { background: var(--c-ink2); }

/* ─── CORNER BRACKETS ────────────────────────────────── */

.brackets { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.bracket {
  position: absolute;
  width: 18px; height: 18px;
}
.bracket--tl { top: 10px; left: 10px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  border-radius: 6px 0 0 0; }
.bracket--tr { top: 10px; right: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 0 6px 0 0; }
.bracket--bl { bottom: 10px; left: 10px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  border-radius: 0 0 0 6px; }
.bracket--br { bottom: 10px; right: 10px;
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 0 0 6px 0; }

/* ─── TAG / BADGE ────────────────────────────────────── */

.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid;
}
.tag--red   { color: var(--c-red);   background: rgba(192,43,60,0.13);   border-color: rgba(192,43,60,0.27); }
.tag--gold  { color: var(--c-gold);  background: rgba(232,146,42,0.13);  border-color: rgba(232,146,42,0.27); }
.tag--green { color: var(--c-green); background: rgba(45,122,60,0.13);   border-color: rgba(45,122,60,0.27); }
.tag--ink   { color: var(--c-ink2);  background: var(--c-gold);          border-color: var(--c-gold); }

/* ─── BUTTONS ────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn--sm { font-size: 12px; padding: 8px 18px; }

.btn--primary { background: var(--c-red); color: #fff; }
.btn--primary:hover { background: var(--c-red-dark); color: #fff; }

.btn--outline {
  background: transparent;
  color: var(--c-muted);
  border: 1.5px solid rgba(247,244,240,0.3);
}
.btn--outline:hover { background: rgba(247,244,240,0.08); color: var(--c-muted); }

.btn--gold { background: var(--c-gold); color: var(--c-ink); border: none; }
.btn--gold:hover { background: #C97B1A; color: var(--c-ink); }

/* ─── TICKER ─────────────────────────────────────────── */

.ticker-wrap {
  overflow: hidden;
  padding: 10px 0;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 18s linear infinite;
}
.ticker-item {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-right: 48px;
  flex-shrink: 0;
}

/* ─── HOME — HERO BENTO GRID ─────────────────────────── */

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--gap);
  margin-bottom: var(--gap);
}

.hero-main {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  min-height: 420px;
  padding: 36px 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-char {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}
.hero-char__label-top {
  position: absolute;
  top: 16px; right: 20px;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(26,26,26,0.4);
  z-index: 3;
}
.hero-char__img {
  height: 340px;
  object-fit: contain;
  position: relative;
  z-index: 2;
}
.hero-char__nametag {
  position: absolute;
  bottom: 16px; right: 16px;
  background: var(--c-ink2);
  border-radius: 12px;
  padding: 6px 14px;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 600;
  color: var(--c-muted);
  letter-spacing: 0.06em;
  z-index: 3;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.hero-eyebrow__sub {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(247,244,240,0.35);
  letter-spacing: 0.08em;
}

.hero-headline {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.hero-headline__line {
  font-family: var(--font-display);
  font-size: clamp(60px, 7.5vw, 96px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.hero-headline__line--indent-1 { margin-left: clamp(44px, 5.5vw, 80px); }
.hero-headline__line--indent-2 { margin-left: clamp(88px, 11vw, 160px); }
.hero-headline__line--outline {
  -webkit-text-stroke: 2px var(--c-red);
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-body {
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 300; line-height: 1.7;
  color: rgba(247,244,240,0.45);
  max-width: 420px;
  margin-bottom: 28px;
}

.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }


/* Stats row */
.stats-row {
  grid-column: 1 / 4;
  grid-row: 2 / 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.stat-card {
  min-height: 120px;
  padding: 28px;
}
.stat-card__num {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 800; line-height: 1;
  letter-spacing: -0.03em;
  color: var(--c-gold);
  margin-bottom: 6px;
}
.stat-card--red .stat-card__num { color: #fff; }
.stat-card__label {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 500;
  color: rgba(247,244,240,0.45);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.stat-card--red .stat-card__label { color: rgba(255,255,255,0.7); }

/* ─── HOME — SERVICES + CHARACTERS ROW ──────────────── */

.services-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--gap);
  margin-bottom: var(--gap);
}

.services-card { padding: 36px; }

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}
.services-header h2 {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 700;
  text-transform: uppercase; letter-spacing: -0.01em;
  color: var(--c-muted); margin-top: 12; line-height: 1.1;
}

.services-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.service-pill {
  background: rgba(247,244,240,0.04);
  border: 1px solid rgba(247,244,240,0.06);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: all 0.2s ease;
}
.service-pill:hover {
  border-color: rgba(247,244,240,0.14);
}
.service-pill__icon {
  font-size: 20px;
  padding-top: 2px;
  flex-shrink: 0;
}
.service-pill__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.service-pill__title {
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 600;
  color: rgba(247,244,240,0.85);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.service-pill__en {
  font-size: 10px;
  font-weight: 400;
  color: rgba(247,244,240,0.3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.service-pill__sub {
  font-family: var(--font-sans);
  font-size: 11px;
  font-style: italic;
  color: rgba(247,244,240,0.5);
  line-height: 1.4;
}
.service-pill__desc {
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(247,244,240,0.4);
  line-height: 1.5;
  margin-top: 2px;
}
.service-pill:hover .service-pill__title { color: var(--c-cream, #F7F4F0); }
.service-pill:hover .service-pill__sub   { color: rgba(247,244,240,0.65); }
.service-pill:hover .service-pill__desc  { color: rgba(247,244,240,0.55); }

.char-showcase {
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.char-showcase__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.char-showcase__count {
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(247,244,240,0.3);
  letter-spacing: 0.06em;
}
.char-showcase__imgs {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex: 1;
}
.char-showcase__imgs img { object-fit: contain; flex-shrink: 0; }
.char-showcase__footer {
  margin-top: 16px;
  text-align: center;
}

/* ─── MID-PAGE CTA BANNER ────────────────────────────── */

.section-cta-banner {
  background: var(--c-ink2);
  border-radius: 24px;
  border: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
  padding: 64px 48px;
  text-align: center;
}

/* scanline overlay — match bento-card feel */
.section-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.04) 3px,
    rgba(0,0,0,0.04) 4px
  );
  border-radius: inherit;
}

.section-cta-banner > * { position: relative; z-index: 2; }

.section-cta-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}

.section-cta-banner__heading {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 44px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--c-muted);
}

.section-cta-banner__sub {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(247,244,240,0.45);
  max-width: 480px;
}

/* ─── PARTNERS BLOCK ─────────────────────────────────── */

.section-partners {
  padding: 36px 44px;
  background: transparent;
  text-align: center;
}

.section-partners__label {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 28px;
}

.section-partners__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.partner-logo-box {
  background: rgba(247,244,240,0.04);
  border: 1px solid rgba(247,244,240,0.07);
  border-radius: 12px;
  padding: 16px 28px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.partner-logo-box:hover {
  border-color: rgba(247,244,240,0.12);
  background: rgba(247,244,240,0.06);
}

.partner-logo-box__text {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(247,244,240,0.28);
  white-space: nowrap;
}

.partner-logo-box__img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.45;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.partner-logo-box:hover .partner-logo-box__img {
  opacity: 1;
  filter: brightness(0) invert(1);
}

/* ─── PROJECTS SECTION ───────────────────────────────── */

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--gap);
}
.projects-header__title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.01em;
  color: var(--c-muted);
}

.projects-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.project-bento-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 1 / 1;
}
.project-bento-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}
.project-bento-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-bento-card__tag {
  position: absolute;
  bottom: 8px;
  left: 12px;
  margin: 0;
  opacity: 0.85;
  backdrop-filter: blur(4px);
  background: var(--c-red) !important;
  color: #fff !important;
  border-color: transparent !important;
}
.project-bento-card__body {
  flex: 1;
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}
.project-bento-card .tag { margin-bottom: 0; }
.project-bento-card__title {
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 600;
  letter-spacing: 0; text-transform: none;
  color: var(--c-muted); margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-bento-card__sub {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(247,244,240,0.4);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── BLOG CARD (homepage latest posts) ─────────────── */
.blog-card {
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow: hidden;
  min-height: 160px;
}
.blog-card__thumb {
  flex: 0 0 120px;
  width: 120px;
  overflow: hidden;
}
.blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card__body {
  flex: 1;
  padding: 20px 20px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.blog-card__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--c-muted);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__date {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247,244,240,0.25);
  margin-top: auto;
}

/* ─── CTA BANNER ─────────────────────────────────────── */

.cta-banner {
  padding: 48px 52px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  overflow: visible;
  min-height: 200px;
}
/* Character ghost — absolute trong bento card */
.cta-banner__char {
  position: absolute;
  right: 90px;
  top: calc(50% - 100px);
  transform: translateY(-50%);
  height: 340px;
  object-fit: contain;
  opacity: 0.95;
  pointer-events: none;
  z-index: 2;
}
.cta-banner__content { position: relative; z-index: 3; }
.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.02em; color: #fff; line-height: 1.1;
  white-space: pre-line;
}
.cta-banner__sub {
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 300;
  color: rgba(255,255,255,0.7); margin-top: 10px; line-height: 1.6;
}
.cta-banner__actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* Button variants for CTA on red bg */
.btn--white {
  background: #fff;
  color: var(--c-red);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.03em; text-decoration: none;
  padding: 10px 22px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn--white:hover { background: #f0f0f0; transform: scale(1.02); }

.btn--outline-white {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.4);
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.03em; text-decoration: none;
  padding: 10px 22px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

/* ─── PORTFOLIO PAGE ─────────────────────────────────── */

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}
.portfolio-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.03em; color: var(--c-muted); line-height: 1;
}
.portfolio-title span { color: var(--c-red); }

.filter-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-pill {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 100px;
  border: 1.5px solid rgba(247,244,240,0.12);
  background: transparent; color: rgba(247,244,240,0.5);
  cursor: pointer; transition: all 0.2s ease;
  text-decoration: none;
}
.filter-pill:hover,
.filter-pill.active {
  border-color: var(--c-red);
  background: var(--c-red); color: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.portfolio-grid .span-2 { grid-column: span 2; }

/* ─── ABOUT PAGE ─────────────────────────────────────── */

.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-bottom: var(--gap); }

.about-hero__card { padding: 40px; min-height: 300px; }
.about-hero__tag { margin-bottom: 14px; }
.about-hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.02em; color: var(--c-muted);
  line-height: 1.0; margin-top: 14px; margin-bottom: 20px;
}
.about-hero__title span { color: var(--c-red); }
.about-hero__body {
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 300; line-height: 1.7;
  color: rgba(247,244,240,0.55); max-width: 380px;
}

.about-chars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 20px;
  min-height: 300px;
  overflow: hidden;
}
.about-chars__label {
  position: absolute; top: 20px; left: 20px; z-index: 3;
}
.about-chars img { object-fit: contain; flex-shrink: 0; }
.about-chars--video { padding: 0; }
.about-chars--video > .about-chars__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
  z-index: 2;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap); margin-bottom: var(--gap);
}
.philosophy-card { padding: 28px; }
.philosophy-card__icon {
  font-size: 22px; margin-bottom: 12px;
}
.philosophy-card__title {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  text-transform: uppercase; color: var(--c-muted);
  margin-bottom: 8px; line-height: 1.2;
}
.philosophy-card__desc {
  font-family: var(--font-sans);
  font-size: 13px; line-height: 1.65;
  color: rgba(247,244,240,0.45);
}

/* ── LỊCH SỬ HÌNH THÀNH ───────────────────────────── */
.about-history { padding: 40px 44px; position: relative; }
.about-history__header { margin-bottom: 36px; }
.about-history__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-top: 12px;
  letter-spacing: -0.02em;
}
.about-history__timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.about-history__timeline::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(192,43,60,0.3);
}
.about-history__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.about-history__year {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--c-red);
  margin-bottom: 10px;
}
.about-history__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(192,43,60,0.3);
  border: 2px solid rgba(192,43,60,0.5);
  margin-bottom: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.about-history__dot--active {
  background: var(--c-red);
  border-color: var(--c-red);
  box-shadow: 0 0 12px rgba(192,43,60,0.5);
}
.about-history__dot--gold {
  background: var(--c-gold);
  border-color: var(--c-gold);
}
.about-history__desc {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(247,244,240,0.55);
  line-height: 1.65;
}
@media (max-width: 700px) {
  .about-history__timeline { grid-template-columns: 1fr; gap: 32px; }
  .about-history__timeline::before { display: none; }
  .about-history__node { align-items: flex-start; text-align: left; flex-direction: row; gap: 16px; }
  .about-history__year { min-width: 48px; }
  .about-history__dot { margin-bottom: 0; margin-top: 4px; }
}

/* ── SỨ MỆNH & TẦM NHÌN ──────────────────────────── */
.about-mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 700px) { .about-mv-grid { grid-template-columns: 1fr; } }
.about-mv-card { padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.about-mv-card--vision { background: var(--c-ink2); }
.about-mv-card__icon {
  font-size: 22px;
}
.about-mv-card__label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,244,240,0.35);
}
.about-mv-card__body {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--c-muted);
  line-height: 1.7;
  flex: 1;
}
.about-mv-card__quote {
  font-family: var(--font-sans);
  font-size: 12px;
  font-style: italic;
  color: rgba(247,244,240,0.35);
  border-left: 2px solid var(--c-red);
  padding-left: 12px;
  line-height: 1.6;
}
.about-mv-card__list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-mv-card__list li {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(247,244,240,0.45);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.about-mv-card__list li::before {
  content: '◎';
  position: absolute;
  left: 0;
  color: var(--c-gold);
  font-size: 9px;
  top: 2px;
}

/* ── GIÁ TRỊ CỐT LÕI ─────────────────────────────── */
.about-values { padding: 40px 44px; }
.about-values__header { margin-bottom: 32px; }
.about-values__sub {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(247,244,240,0.4);
  margin-top: 10px;
}
.about-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 32px;
}
@media (max-width: 900px) { .about-values__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .about-values__grid { grid-template-columns: 1fr; } }
.about-value-item { display: flex; flex-direction: column; gap: 8px; }
.about-value-item__num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  opacity: 0.7;
  line-height: 1;
}
.about-value-item__title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-muted);
}
.about-value-item__desc {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(247,244,240,0.45);
  line-height: 1.65;
}

/* ── TEAM BENTO ───────────────────────────────────── */
.team-bento { padding: 36px; }
.team-bento__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.team-bento__title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.01em;
  color: var(--c-muted);
}
.team-bento__intro {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(247,244,240,0.45);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 680px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.team-bento__video {
  margin-top: 8px;
  border-radius: 16px;
  overflow: hidden;
}
.team-bento__video video {
  width: auto;
  height: 200px;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  margin: 0 auto;
}
.team-member { text-align: center; }
.team-member__avatar {
  border-radius: 20px;
  margin-bottom: 12px; overflow: hidden;
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid;
}
.team-member__avatar img { height: 148px; object-fit: contain; }
.team-member__name {
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 700;
  color: var(--c-muted); margin-bottom: 3px;
}
.team-member__role {
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(247,244,240,0.35);
  letter-spacing: 0.04em;
}

/* ─── CONTACT PAGE ───────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--gap);
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: var(--gap); }
.contact-info__card { padding: 40px 36px; flex: 1; }
.contact-info__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.02em; color: var(--c-muted);
  line-height: 1.0; margin-top: 14px; margin-bottom: 24px;
}
.contact-info__title span { color: var(--c-red); }

.contact-detail { margin-bottom: 18px; }
.contact-detail__label {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(247,244,240,0.3); margin-bottom: 4px;
}
.contact-detail__value {
  font-family: var(--font-sans);
  font-size: 15px; color: var(--c-muted);
}
.contact-detail__tel {
  color: var(--c-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-detail__tel:hover { color: var(--c-gold); }

.contact-cta-card {
  padding: 24px 28px;
  display: flex; align-items: center; gap: 20px;
}
.contact-cta-card img { height: 90px; object-fit: contain; }
.contact-cta-card__title {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  text-transform: uppercase; color: var(--c-ink2); margin-bottom: 4px;
}
.contact-cta-card__sub {
  font-family: var(--font-sans);
  font-size: 13px; color: rgba(26,26,26,0.6);
}

.contact-form-card { padding: 40px 36px; }
.contact-form-card__title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  text-transform: uppercase; color: var(--c-muted); margin-bottom: 24px;
}

/* Form fields */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 600;
  color: rgba(247,244,240,0.4);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 400;
  color: var(--c-muted);
  background: rgba(247,244,240,0.05);
  border: 1px solid rgba(247,244,240,0.1);
  border-radius: 12px;
  padding: 13px 16px;
  width: 100%; outline: none;
  transition: border-color 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: rgba(247,244,240,0.3);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ─── BLOG / INDEX ───────────────────────────────────── */

.blog-header { margin-bottom: 28px; }
.blog-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.03em; color: var(--c-muted); line-height: 1;
}
.blog-title span { color: var(--c-red); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-bottom: 32px;
}

.post-bento {
  display: flex; flex-direction: column;
  overflow: hidden; border-radius: 20px;
  text-decoration: none; color: inherit;
}
.post-bento:hover { transform: scale(1.01); border-color: var(--c-border-hover); }
.post-bento__thumb {
  height: 200px; overflow: hidden;
  background: var(--c-ink2);
  display: flex; align-items: center; justify-content: center;
}
.post-bento__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-bento__thumb-placeholder {
  font-family: var(--font-display);
  font-size: 48px; font-weight: 800;
  color: var(--c-red); opacity: 0.15;
  text-transform: uppercase;
}
.post-bento__body { padding: 24px; flex: 1; }
.post-bento__cat {
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-red); margin-bottom: 8px;
}
.post-bento__title {
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 600;
  color: var(--c-muted); line-height: 1.3; margin-bottom: 8px;
}
.post-bento__excerpt {
  font-family: var(--font-sans);
  font-size: 13px; line-height: 1.6;
  color: rgba(247,244,240,0.4);
}

/* ─── SINGLE POST / PAGE ─────────────────────────────── */

.entry-header-bento {
  margin-bottom: var(--gap);
  padding: 48px 44px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}
.entry-header-bento .tag { margin-bottom: 16px; }
.entry-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.03em; color: var(--c-muted); line-height: 1.0;
  margin-bottom: 16px;
}
.post-meta {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(247,244,240,0.35);
}
.post-meta a { color: var(--c-gold); }

.entry-thumb { width: 100%; max-height: 480px; object-fit: cover; border-radius: 20px; margin-bottom: var(--gap); }

.entry-content-bento {
  padding: 40px 44px;
  margin-bottom: var(--gap);
}
.entry-content-bento .prose { max-width: 680px; }
.prose p  { font-size: 16px; line-height: 1.8; color: rgba(247,244,240,0.7); margin-bottom: 1.5em; }
.prose h2 { font-family: var(--font-display); font-size: 28px; font-weight: 700; text-transform: uppercase; color: var(--c-muted); margin: 1.5em 0 0.75em; }
.prose h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--c-muted); margin: 1.25em 0 0.5em; }
.prose a  { color: var(--c-red); transition: opacity 0.2s; }
.prose a:hover { opacity: 0.8; }
.prose ul { list-style: disc; margin: 0 0 1.5em 1.5em; }
.prose ol { list-style: decimal; margin: 0 0 1.5em 1.5em; }
.prose li { list-style: inherit; margin-bottom: 0.5em; color: rgba(247,244,240,0.7); }
.prose li::marker { content: unset; }
.prose blockquote {
  border-left: 3px solid var(--c-red);
  padding-left: 24px; margin: 1.5em 0;
  color: rgba(247,244,240,0.5); font-style: italic;
}
.prose img { border-radius: 16px; margin: 1.5em 0; }

/* Post nav */
.post-nav {
  display: flex; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--c-border); padding-top: 24px;
  margin-top: 32px;
}
.post-nav a {
  font-family: var(--font-sans); font-size: 13px;
  color: rgba(247,244,240,0.4);
  transition: color 0.2s;
}
.post-nav a:hover { color: var(--c-muted); }

/* Pagination */
.pagination {
  display: flex; justify-content: center; gap: 6px; margin-top: 32px;
}
.page-numbers {
  font-family: var(--font-sans); font-size: 13px; font-weight: 600;
  padding: 8px 16px; border-radius: 100px;
  border: 1.5px solid rgba(247,244,240,0.12);
  color: rgba(247,244,240,0.5);
  transition: all 0.2s;
  text-decoration: none;
}
.page-numbers:hover, .page-numbers.current {
  background: var(--c-red); border-color: var(--c-red); color: #fff;
}

/* ─── SINGLE POST — REDESIGN ─────────────────────────── */

/* Reading progress bar */
.post-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: 300;
  background: transparent;
  pointer-events: none;
}
.post-progress__bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--c-red) 0%, var(--c-gold) 100%);
  transition: width 0.05s linear;
}

/* Hero — balanced bento: 3fr title | 2fr cover image */
.post-hero {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 12px;
  align-items: stretch;
}
.post-hero__main {
  position: relative;
  padding: 40px 44px;
  min-height: 0;
  display: flex; flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.post-hero__top {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.post-hero__readtime {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(247,244,240,0.4);
}
.post-hero__title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 32px);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--c-muted); line-height: 1.05;
  margin: 20px 0;
}
.post-hero__meta {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(247,244,240,0.08);
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(247,244,240,0.5);
}
.post-hero__author { display: flex; align-items: center; gap: 10px; }
.post-hero__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(232,146,42,0.4);
}
.post-hero__date time { color: var(--c-gold); }
.post-hero__watermark {
  position: absolute;
  right: 28px; bottom: -40px;
  font-size: 180px; line-height: 1;
  color: rgba(192,43,60,0.08);
  pointer-events: none; z-index: 1;
  font-family: var(--font-display);
}

/* Cover image — square (1:1) enforced via aspect-ratio */
.post-hero__side {
  position: relative;
  padding: 0;
  aspect-ratio: 1 / 1;
  min-height: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.post-hero__thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; border-radius: 20px;
  padding: 16px; /* breathing room quanh ảnh */
}
.post-hero__char { max-height: 80%; object-fit: contain; }
.post-hero__side-tag {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
}

/* Body wrap — same width as hero (.page-wrap) so edges align */
.post-body-wrap {
  padding: 0 20px;
  max-width: var(--container-max);
  margin: 0 auto 12px;
}

/* Default: NO TOC → 2-col (content full width + share on right) */
.post-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px;
  gap: 16px;
  align-items: flex-start;
}
.post-content-col  { grid-column: 1; }
.post-share        { grid-column: 2; }

/* When TOC is present → 3-col (TOC | content | share) */
.post-body-grid:has(.post-toc) {
  grid-template-columns: 200px minmax(0, 1fr) 50px;
  gap: 24px;
}
.post-body-grid:has(.post-toc) .post-toc          { grid-column: 1; align-self: stretch; }
.post-body-grid:has(.post-toc) .post-content-col  { grid-column: 2; }
.post-body-grid:has(.post-toc) .post-share        { grid-column: 3; align-self: stretch; }

/* TOC sidebar — sticky scroll: bám theo khi cuộn xuống */
.post-toc {
  font-family: var(--font-sans);
  /* align-self: stretch (set above) cho parent đủ chiều cao để sticky hoạt động */
}
.post-toc__sticky {
  position: sticky;
  top: 90px;           /* khoảng cách tính từ top viewport khi đã stick */
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: none; /* ẩn scrollbar của TOC */
  border-left: 1px solid rgba(247,244,240,0.1);
  padding-left: 16px;
}
.post-toc__sticky::-webkit-scrollbar { display: none; }
.post-toc__label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-red); margin-bottom: 16px;
}
.post-toc__list { list-style: none; padding: 0; margin: 0; }
.post-toc__item { margin-bottom: 10px; line-height: 1.4; }
.post-toc__item--h3 { padding-left: 14px; }
.post-toc__item a {
  display: block;
  font-size: 12px; font-weight: 500;
  color: rgba(247,244,240,0.4);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s, padding 0.2s;
  position: relative;
}
.post-toc__item a:hover { color: var(--c-muted); padding-left: 6px; }
.post-toc__item a.active {
  color: var(--c-red); font-weight: 600;
  padding-left: 10px;
}
.post-toc__item a.active::before {
  content: ''; position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-red);
}

/* Content */
.post-content-col { min-width: 0; }
.post-content-bento {
  padding: 48px 56px;
  margin-bottom: 12px;
}
.post-prose { max-width: 680px; margin: 0 auto; }

/* Drop cap — khít đúng 2 dòng body text */
.post-prose > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--c-red);
  text-transform: uppercase;
  /* initial-letter: browser tự scale vừa khít N dòng, không cần float/font-size thủ công */
  initial-letter: 2;
  margin-right: 0.2em;
}
/* Fallback cho browser chưa support initial-letter */
@supports not (initial-letter: 2) {
  .post-prose > p:first-of-type::first-letter {
    float: left;
    font-size: 3.6em;
    line-height: 0.8;
    margin: 0.06em 0.1em 0 0;
  }
}

/* H2 with bracket decoration */
.post-prose h2 {
  position: relative;
  margin-top: 2em;
  padding-top: 24px;
  border-top: 1px solid rgba(247,244,240,0.1);
}
.post-prose h2::before {
  content: '✦';
  display: block;
  color: var(--c-red);
  font-size: 14px;
  margin-bottom: 8px;
  letter-spacing: 0.2em;
}

/* Pull-quote blockquote */
.post-prose blockquote {
  border-left: none;
  position: relative;
  padding: 32px 24px 32px 60px;
  margin: 2em -20px;
  font-family: var(--font-display);
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  color: var(--c-muted);
  letter-spacing: -0.01em;
  line-height: 1.3;
  background: linear-gradient(135deg, rgba(192,43,60,0.06), rgba(232,146,42,0.04));
  border-radius: 16px;
  border: 1px solid rgba(192,43,60,0.15);
}
.post-prose blockquote::before {
  content: '"';
  position: absolute;
  left: 16px; top: 8px;
  font-size: 80px;
  color: var(--c-red);
  font-family: var(--font-display);
  line-height: 1;
  opacity: 0.7;
}

/* Images break out slightly */
.post-prose img {
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-right: -20px;
  border-radius: 16px;
  border: 1px solid var(--c-border);
}

/* Post ticker (mid-article) */
.post-ticker {
  border-radius: 16px; overflow: hidden;
  margin-bottom: 12px;
}

/* Share buttons sidebar */
.post-share { font-family: var(--font-sans); }
.post-share__sticky {
  position: sticky; top: 90px;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
}
.post-share__label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-red);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-bottom: 12px;
  white-space: nowrap;
}
.post-share__btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(24,24,24,0.6);
  border: 1px solid rgba(247,244,240,0.1);
  color: rgba(247,244,240,0.55);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  position: relative;
}
.post-share__btn:hover {
  background: var(--c-red);
  border-color: var(--c-red);
  color: #fff;
  transform: scale(1.1);
}
.post-share__copy.copied {
  background: var(--c-green);
  border-color: var(--c-green);
  color: #fff;
}
.post-share__copy.copied::after {
  content: '✓';
  position: absolute;
  right: -36px; top: 50%;
  transform: translateY(-50%);
  background: var(--c-green); color: #fff;
  font-size: 11px; padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Author bio bento */
.post-author {
  position: relative;
  padding: 36px 44px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px; align-items: center;
}
.post-author__avatar {
  width: 140px; height: 140px;
  border-radius: 24px;
  background: rgba(232,146,42,0.1);
  border: 1px solid rgba(232,146,42,0.25);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.post-author__avatar img {
  max-width: 90%; max-height: 90%;
  object-fit: contain;
}
.post-author__name {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--c-muted);
  margin: 12px 0 8px;
}
.post-author__bio {
  font-family: var(--font-sans);
  font-size: 14px; line-height: 1.6;
  color: rgba(247,244,240,0.5);
  margin-bottom: 16px;
}
.post-author__link {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--c-gold); text-decoration: none;
  transition: opacity 0.2s;
}
.post-author__link:hover { opacity: 0.7; }

/* Related posts */
.post-related {}
.post-related__header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 16px;
}
.post-related__title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.post-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.post-related__card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  overflow: hidden;
}
.post-related__thumb {
  height: 140px;
  background: var(--c-ink2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.post-related__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-related__thumb-placeholder {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 800;
  color: var(--c-red); opacity: 0.2;
}
.post-related__body {
  padding: 20px;
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.post-related__name {
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 600;
  color: var(--c-muted); line-height: 1.4;
}
.post-related__date {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(247,244,240,0.3);
}

/* CTA on single */
.post-cta { margin-bottom: 12px; }

/* Prev/Next nav */
.post-nav-bento {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.post-nav-bento__item {
  padding: 24px;
  display: flex; flex-direction: column;
  gap: 6px; text-decoration: none;
  border-radius: 16px;
  transition: border-color 0.2s, transform 0.2s;
}
.post-nav-bento__item:hover {
  border-color: var(--c-red);
  transform: translateY(-2px);
}
.post-nav-bento__item--next { text-align: right; }
.post-nav-bento__label {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-red);
}
.post-nav-bento__title {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--c-muted);
  line-height: 1.3;
}

/* ─── SINGLE POST RESPONSIVE ─────────────────────────── */

@media (max-width: 1100px) {
  .post-toc { display: none; }
  /* :has() rule above handles 2-col fallback automatically */
}

@media (max-width: 768px) {
  .post-hero { grid-template-columns: 1fr; }
  /* Trên mobile: ảnh cover chuyển sang 16:9 landscape thay vì 1:1 */
  .post-hero__side { aspect-ratio: 16 / 9; min-height: 0; }
  .post-hero__main { padding: 28px 24px; }
  .post-hero__title { font-size: clamp(16px, 5.5vw, 26px); margin: 14px 0; }
  .post-body-grid { grid-template-columns: 1fr; }
  .post-share { display: none; }
  .post-content-col { grid-column: 1; }
  .post-content-bento { padding: 28px 24px; }
  .post-prose blockquote { font-size: 18px; padding: 24px 20px 24px 48px; margin: 1.5em 0; }
  .post-prose blockquote::before { font-size: 60px; left: 12px; top: 4px; }
  .post-prose img { width: 100%; margin-left: 0; margin-right: 0; }
  .post-author { grid-template-columns: 80px 1fr; gap: 16px; padding: 24px; }
  .post-author__avatar { width: 80px; height: 80px; border-radius: 16px; }
  .post-author__name { font-size: 20px; }
  .post-related__grid { grid-template-columns: 1fr; }
  .post-nav-bento { grid-template-columns: 1fr; }
  .post-nav-bento__item--next { text-align: left; }
  .post-prose > p:first-of-type::first-letter { initial-letter: 2; }
}

/* ─── FOOTER ─────────────────────────────────────────── */

.site-footer { background: var(--c-ink2); }

/* Footer main — 3 cột */
.footer-main {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 56px 40px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 48px;
  border-bottom: 1px solid rgba(247,244,240,0.06);
}

/* Cột chung */
.footer-col__label {
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 20px;
}

/* Brand column */
/* Logo ngang trong footer */
.footer-brand__logo-img {
  display: inline-block;
  margin-bottom: 20px;
}
.footer-brand__logo-file {
  height: 48px;
  width: auto;
  display: block;
  opacity: 0.92;
  transition: opacity 0.2s;
}
.footer-brand__logo-img:hover .footer-brand__logo-file { opacity: 1; }

/* Fallback: nếu dùng custom logo WP */
.footer-col--brand > a > img { height: 48px; width: auto; opacity: 0.92; margin-bottom: 20px; display: block; }
.footer-brand__tagline {
  font-family: var(--font-sans);
  font-size: 13px; line-height: 1.65;
  color: rgba(247,244,240,0.4);
  max-width: 280px;
  margin-bottom: 20px;
}
.footer-brand__chars {
  display: flex;
  align-items: flex-end;
}

/* Nav column */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-nav__link {
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 500;
  color: rgba(247,244,240,0.55);
  text-decoration: none;
  padding: 7px 0;
  border-bottom: 1px solid rgba(247,244,240,0.05);
  transition: color 0.2s, padding-left 0.2s;
  display: flex; align-items: center; gap: 8px;
}
.footer-nav__link::before {
  content: '→';
  color: var(--c-red);
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.2s;
}
.footer-nav__link:hover {
  color: var(--c-muted);
  padding-left: 6px;
}
.footer-nav__link:hover::before { opacity: 1; }
.footer-nav__link--active { color: var(--c-muted); }

/* Contact column */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.footer-contact__item {
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 400;
  color: rgba(247,244,240,0.55);
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  transition: color 0.2s;
}
.footer-contact__item:hover { color: var(--c-muted); }
.footer-contact__item svg { flex-shrink: 0; opacity: 0.6; }
.footer-contact__cta { align-self: flex-start; }

.footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-social__link {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(247,244,240,0.35);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid rgba(247,244,240,0.1);
  border-radius: 20px;
  transition: all 0.2s;
}
.footer-social__link:hover {
  color: var(--c-muted);
  border-color: rgba(247,244,240,0.25);
  background: rgba(247,244,240,0.04);
}

/* Bottom bar */
.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 16px 40px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom__copy {
  font-family: var(--font-sans); font-size: 12px;
  color: rgba(247,244,240,0.25);
}
.footer-bottom__copy strong { color: rgba(247,244,240,0.4); font-weight: 600; }
.footer-bottom__tagline {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: rgba(247,244,240,0.15);
}

/* ─── RESPONSIVE ─────────────────────────────────────── */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-main { grid-column: 1 / 3; }
  .hero-char { grid-column: 1 / 3; min-height: 240px; }
  .stats-row { grid-column: 1 / 3; }
  .services-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .services-pills { grid-template-columns: 1fr; }
  .page-wrap { padding: 24px 12px 64px; }

  /* ── Pill nav: 3-cột grid (logo | home | toggle) ── */
  .site-header { padding: 0 12px; }

  .pill-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    padding: 8px 14px;
  }

  /* Logo — cột 2 (giữa), căn giữa */
  .pill-nav__logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    display: flex;
    align-items: center;
  }
  /* Ẩn logo đứng (custom logo WP) trên mobile */
  .pill-nav__logo .custom-logo-link { display: none !important; }
  .pill-nav__logo .pill-nav__fallback-logo { display: none !important; }
  /* Hiện logo ngang */
  .pill-nav__logo-ngang {
    display: flex !important;
    align-items: center;
  }
  .pill-nav__logo-ngang-img {
    height: 28px !important;
    width: auto !important;
    max-width: 150px !important;
    display: block !important;
    object-fit: contain !important;
  }

  /* Home button — cột 1 (trái), căn trái */
  .pill-nav__home-btn {
    display: flex;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  /* Toggle — cột 3, căn phải */
  .menu-toggle-pill {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: flex; flex-direction: column; gap: 4px;
    background: none; border: none; cursor: pointer; padding: 8px;
    pointer-events: all;
  }
  .menu-toggle-pill span {
    display: block; width: 18px; height: 1.5px;
    background: var(--c-muted); transition: transform 0.2s, opacity 0.2s;
  }
  .menu-toggle-pill.active span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .menu-toggle-pill.active span:nth-child(2) { opacity: 0; }
  .menu-toggle-pill.active span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

  /* Standalone CTA button — ẩn trên mobile, thay bằng item trong dropdown */
  .pill-nav__cta-btn { display: none !important; }

  /* Item Trang chủ — ẩn trên mobile (đã có nút home icon) */
  .pill-nav .menu li.nav-item--home { display: none !important; }

  /* Desktop menu — ẩn trên mobile (không chiếm grid slot)
     Dùng !important để override display:flex !important từ desktop rule */
  .pill-nav .menu { display: none !important; }

  /* ── Dropdown menu khi mở ── */
  .pill-nav .menu.open {
    display: flex !important; position: fixed;
    top: 68px; left: 12px; right: 12px;
    background: rgba(18,18,18,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--c-border);
    border-radius: 20px;
    flex-direction: column; align-items: stretch;
    padding: 10px 10px; gap: 2px;
    z-index: 199;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  }
  .pill-nav .menu.open li { width: 100%; }
  /* Sub-menu luôn hiển thị inline trên mobile */
  .pill-nav .menu.open .sub-menu {
    display: flex !important;
    position: static;
    transform: none;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 0 4px 12px;
    min-width: auto;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-left: 1px solid var(--c-border);
    margin-left: 20px;
    gap: 0;
  }
  .pill-nav .menu.open .menu-item-has-children > a::after { display: none; }
  .pill-nav .menu.open .sub-menu li a {
    font-size: 13px;
    padding: 10px 16px;
    border-radius: 10px;
    color: rgba(247,244,240,0.5);
  }
  .pill-nav .menu.open .sub-menu li a:hover {
    background: rgba(192,43,60,0.12);
    color: var(--c-muted);
  }
  .pill-nav .menu.open li a {
    font-size: 14px;
    font-weight: 500;
    padding: 13px 20px;
    border-radius: 12px;
    text-align: center;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(247,244,240,0.65);
    letter-spacing: 0.02em;
  }
  .pill-nav .menu.open li a:hover,
  .pill-nav .menu.open li.current-menu-item a {
    background: rgba(192,43,60,0.12);
    color: var(--c-muted);
    border-radius: 12px;
  }
  .pill-nav .menu.open li.current-menu-item a {
    background: var(--c-red);
    color: #fff;
  }

  /* CTA item trong mobile dropdown */
  .pill-nav .menu.open li.nav-item--cta { display: block !important; width: 100%; margin-top: 6px; }
  .pill-nav .menu.open li.nav-item--cta a {
    display: block !important;
    background: var(--c-gold) !important;
    color: var(--c-ink) !important;
    font-weight: 700 !important;
    text-align: center;
    border-radius: 12px;
    padding: 13px 20px;
  }
  .pill-nav .menu.open li.nav-item--cta a:hover {
    background: #C97B1A !important;
    color: var(--c-ink) !important;
  }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-main { grid-column: 1; padding: 28px 24px; min-height: auto; }
  .hero-char { display: none; }
  .stats-row { grid-column: 1; grid-template-columns: 1fr 1fr; }
  .hero-headline__line { font-size: clamp(40px, 12vw, 64px); }
  .hero-headline__line--indent-1 { margin-left: clamp(24px, 8vw, 48px); }
  .hero-headline__line--indent-2 { margin-left: clamp(48px, 16vw, 96px); }

  .projects-bento { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-grid .span-2 { grid-column: span 1; }
  .about-hero { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }

  .section-cta-banner { padding: 48px 24px; }
  .section-partners { padding: 32px 16px; }
  .section-partners__logos { gap: 8px; }
  .partner-logo-box { padding: 12px 18px; }
  .cta-banner { flex-direction: column; padding: 28px 24px; }
  .portfolio-header { flex-direction: column; gap: 16px; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; padding: 20px; }
}

/* ─── SOCIAL DOCK ────────────────────────────────────── */

.social-dock {
  position: fixed;
  right: 20px;
  bottom: 28px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.social-dock__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(24, 24, 24, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(247, 244, 240, 0.1);
  color: rgba(247, 244, 240, 0.55);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}

.social-dock__btn:hover {
  background: var(--c-red);
  border-color: var(--c-red);
  color: #fff;
  transform: scale(1.1);
}

/* Tooltip */
.social-dock__tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(14, 14, 14, 0.92);
  color: var(--c-muted);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(247, 244, 240, 0.08);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.social-dock__btn:hover .social-dock__tooltip {
  opacity: 1;
}

.social-dock__zalo-img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.social-dock__btn--zalo:hover .social-dock__zalo-img {
  opacity: 1;
}

/* Divider between socials and scroll-top */
.social-dock__divider {
  width: 1px;
  height: 20px;
  background: rgba(247, 244, 240, 0.1);
  margin: 2px 0;
}

/* Scroll-to-top button — hidden by default, shown via JS */
.social-dock__top {
  background: rgba(192,43,60,0.12);
  border-color: rgba(192,43,60,0.3);
  color: var(--c-red);
}
.social-dock__top:hover {
  background: var(--c-red);
  border-color: var(--c-red);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   DECOR — GIẤY DÓ + VÂN MÂY ĐÔNG HỒ
   ═══════════════════════════════════════════════════════════ */

/* ── Giấy dó texture overlay trên hero-main ─────────────── */
.hero-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/images/decor/giay-do-texture.jpg');
  background-size: cover;
  background-position: center;
  mix-blend-mode: overlay;
  opacity: 0.07;
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}

/* Đảm bảo nội dung hero nổi lên trên texture — loại trừ absolute elements */
.hero-main > *:not(.brackets):not(.hero-decor) { position: relative; z-index: 2; }

/* ── Floating cloud decorations — không rotate, giữ chiều tự nhiên ── */
.hero-decor {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.hero-decor--cloud-tr {
  top: 50px;
  right: 24px;
  width: 150px;
  opacity: 0.07;
  filter: brightness(1.4);
}

.hero-decor--cloud-bl {
  bottom: 56px;
  left: 24px;
  width: 120px;
  opacity: 0.05;
  filter: brightness(1.4);
}

/* Cloud decorations trong CTA banner */
.cta-decor {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.cta-decor--tl {
  top: 10px;
  left: 10px;
  width: 110px;
  opacity: 0.1;
  filter: brightness(2);
}

.cta-decor--br {
  bottom: 10px;
  right: 220px;
  width: 90px;
  opacity: 0.08;
  filter: brightness(2);
}

/* ── Responsive decor ────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-decor--cloud-tr { width: 100px; opacity: 0.06; }
  .hero-decor--cloud-bl { display: none; }
  .cta-decor--tl { width: 70px; opacity: 0.08; }
  .cta-decor--br { display: none; }
}

/* ─── PORTFOLIO ARCHIVE — HORIZONTAL CARD LIST ───────────── */

.pf-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Each card: image LEFT · text RIGHT */
.pf-list-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 180px;
  overflow: hidden;
  text-decoration: none;
  border-radius: 20px;
  position: relative;   /* for .brackets absolute children */
}

/* Thumbnail column */
.pf-list-card__thumb {
  width: 280px;
  height: 100%;
  min-height: 180px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 20px 0 0 20px;
}

.pf-list-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.pf-list-card:hover .pf-list-card__thumb img {
  transform: scale(1.06);
}

.pf-list-card__thumb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: rgba(247, 244, 240, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

/* Text column */
.pf-list-card__body {
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.pf-list-card__title {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 700;
  color: var(--c-muted);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 4px 0 0;
}

.pf-list-card__excerpt {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(247, 244, 240, 0.42);
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pf-list-card__cta {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-red);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.pf-list-card:hover .pf-list-card__cta {
  opacity: 1;
  transform: translateX(0);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 680px) {
  .pf-list-card {
    grid-template-columns: 1fr;
    grid-template-rows: 200px auto;
  }

  .pf-list-card__thumb {
    width: 100%;
    height: 200px;
    border-radius: 20px 20px 0 0;
  }

  .pf-list-card__body {
    padding: 20px 24px 24px;
  }
}


/* ── Nav CTA button ───────────────────────────────────── */

/* CTA menu item: ẩn trên desktop (dùng standalone .pill-nav__cta-btn), hiện trong mobile dropdown */
.pill-nav .menu li.nav-item--cta { display: none !important; }

.pill-nav__cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 40px;
  background: var(--c-gold);
  color: var(--c-ink) !important;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.18s ease;
  white-space: nowrap;
}
.pill-nav__cta-btn:hover { background: #C97B1A; }

/* ═══════════════════════════════════════════════════════════
   PAGE: DỊCH VỤ & QUY TRÌNH  (page-dich-vu.php)
   Append-only — không sửa styles cũ
═══════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────── */

.dv-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 48px 48px 48px 52px;
  overflow: hidden;
  min-height: 260px;
}

.dv-hero__cloud {
  position: absolute;
  opacity: 0.18;
  pointer-events: none;
}
.dv-hero__cloud--tr { top: -10px; right: -20px; width: 220px; }
.dv-hero__cloud--bl { bottom: -20px; left: -10px; width: 180px; }

.dv-hero__body { position: relative; z-index: 2; flex: 1; }

.dv-hero__headline {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--c-muted);
  margin-bottom: 16px;
}
.dv-hero__headline--outline {
  -webkit-text-stroke: 1px var(--c-gold);
  color: transparent;
}
.dv-hero__sub {
  font-family: var(--font-sans);
  font-size: 15px;
  color: rgba(247,244,240,0.55);
  line-height: 1.6;
  max-width: 480px;
}

.dv-hero__char {
  height: 220px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* ── Tab bar ──────────────────────────────────────────── */

.dv-tab-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 8px 0 4px;
}

.dv-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: 50px;
  border: 1.5px solid var(--c-border);
  background: var(--c-panel);
  color: rgba(247,244,240,0.5);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.2s ease;
}
.dv-tab:hover {
  border-color: var(--c-border-hover);
  color: var(--c-fg);
  background: rgba(247,244,240,0.06);
}
.dv-tab.active {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: var(--c-ink);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(232,146,42,0.35);
}
.dv-tab__icon {
  font-size: 17px;
  line-height: 1;
}

/* ── Panel visibility ─────────────────────────────────── */

.dv-panel { display: none; }
.dv-panel.active { display: block; }

/* ── Service Cards ────────────────────────────────────── */

.dv-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.dv-scard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  position: relative;
}
.dv-scard--featured {
  background: #16120a;
  border-color: rgba(232,146,42,0.35);
}

.dv-scard__num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(247,244,240,0.2);
}
.dv-scard__icon {
  font-size: 28px;
  line-height: 1;
}
.dv-scard__title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--c-muted);
  line-height: 1.3;
}
.dv-scard__desc {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(247,244,240,0.5);
  line-height: 1.65;
  flex: 1;
}
.dv-scard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dv-scard__price {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-gold);
  padding-top: 4px;
  border-top: 1px solid var(--c-border);
}
.dv-scard__cta { align-self: flex-start; margin-top: 4px; }

/* ── Pricing Wrapper ──────────────────────────────────── */

.dv-pricing-wrap {
  padding: 36px 40px;
}

.dv-pricing-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.dv-pricing-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-muted);
}

/* B2B / B2C toggle */
.dv-ptoggle {
  display: flex;
  background: var(--c-ink2);
  border-radius: 40px;
  padding: 4px;
  gap: 4px;
  flex-shrink: 0;
}
.dv-ptab {
  padding: 8px 20px;
  border-radius: 36px;
  border: none;
  background: transparent;
  color: rgba(247,244,240,0.4);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.dv-ptab.active {
  background: var(--c-gold);
  color: var(--c-ink);
  font-weight: 700;
}

/* Price panels */
.dv-price-panel { display: none; }
.dv-price-panel.active { display: block; }

/* B2B price grid */
.dv-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.dv-price-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 20px;
  border-radius: 16px;
  background: var(--c-ink2);
  border: 1px solid var(--c-border);
}
.dv-price-col--featured {
  background: #1a1505;
  border-color: rgba(232,146,42,0.4);
}

.dv-price-col__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--c-gold);
  color: var(--c-ink);
  padding: 3px 10px;
  border-radius: 20px;
  align-self: flex-start;
}
.dv-price-col__name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-muted);
}
.dv-price-col__price {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--c-gold);
  line-height: 1;
}
.dv-price-col__price span {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  color: rgba(247,244,240,0.35);
  display: block;
  margin-top: 4px;
}
.dv-price-col__feat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.dv-price-col__feat li {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(247,244,240,0.55);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.dv-price-col__feat li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-green);
  font-weight: 700;
}

.dv-combo-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(232,146,42,0.07);
  border: 1px solid rgba(232,146,42,0.2);
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(247,244,240,0.6);
  flex-wrap: wrap;
}
.dv-combo-note strong { color: var(--c-muted); }

/* B2C grid */
.dv-b2c-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.dv-b2c-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  border-radius: 14px;
  background: var(--c-ink2);
  border: 1px solid var(--c-border);
}
.dv-b2c-item__icon { font-size: 22px; line-height: 1; }
.dv-b2c-item__name {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-muted);
}
.dv-b2c-item__desc {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(247,244,240,0.45);
  line-height: 1.55;
  flex: 1;
}
.dv-b2c-item__price {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-gold);
  padding-top: 8px;
  border-top: 1px solid var(--c-border);
}

.dv-b2c-note {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(247,244,240,0.3);
  font-style: italic;
}

/* ── Terms Strip ──────────────────────────────────────── */

.dv-terms {
  display: flex;
  padding: 0;
}
.dv-terms__item {
  flex: 1;
  padding: 18px 20px;
  border-right: 1px solid var(--c-border);
}
.dv-terms__item:last-child { border-right: none; }
.dv-terms__label {
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(247,244,240,0.35);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
}
.dv-terms__val {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-muted);
}

/* ── Timeline (Quy trình) ─────────────────────────────── */

.dv-timeline-wrap {
  padding: 36px 40px;
}

.dv-timeline {
  display: flex;
  position: relative;
  margin-bottom: 28px;
  padding-bottom: 4px;
}
.dv-timeline__line {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: var(--c-border);
  z-index: 0;
}

.dv-timeline__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
  cursor: pointer;
  transition: opacity 0.18s ease;
}
.dv-timeline__step:not(.active) { opacity: 0.4; }
.dv-timeline__step:hover { opacity: 1; }

.dv-timeline__dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  background: var(--c-panel);
  border: 2px solid var(--c-border);
  color: rgba(247,244,240,0.4);
  transition: all 0.2s ease;
}
.dv-timeline__step.active .dv-timeline__dot {
  background: var(--step-color, var(--c-gold));
  border-color: var(--step-color, var(--c-gold));
  color: var(--c-ink);
  box-shadow: 0 0 0 4px rgba(232,146,42,0.15);
}

.dv-timeline__label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  color: rgba(247,244,240,0.5);
  line-height: 1.3;
  max-width: 72px;
}
.dv-timeline__step.active .dv-timeline__label {
  color: var(--c-muted);
  font-weight: 700;
}

/* Step detail cards */
.dv-step-details { position: relative; }

.dv-step-detail { display: none; }
.dv-step-detail.active {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: 16px;
  background: var(--c-ink2);
  border: 1px solid var(--c-border-hover);
  animation: dv-fade-in 0.2s ease;
}

@keyframes dv-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dv-step-detail__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.dv-step-detail__icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.dv-step-detail__title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--c-muted);
  margin-bottom: 4px;
}
.dv-step-detail__sub {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--c-gold);
  font-weight: 500;
}
.dv-step-detail__body {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(247,244,240,0.6);
  line-height: 1.7;
}
.dv-step-detail__output {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--c-green);
  padding-top: 12px;
  border-top: 1px solid var(--c-border);
}
.dv-step-detail__output strong { font-weight: 700; }

/* ── B2C Flow ─────────────────────────────────────────── */

.dv-b2c-flow {
  padding: 28px 32px;
}
.dv-b2c-flow__steps {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.dv-b2c-flow__node {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--c-ink2);
  border: 1px solid var(--c-border);
  color: rgba(247,244,240,0.7);
}
.dv-b2c-flow__node--pay {
  border-color: rgba(45,122,60,0.5);
  color: var(--c-green);
  background: rgba(45,122,60,0.08);
}
.dv-b2c-flow__node--final {
  border-color: rgba(232,146,42,0.4);
  color: var(--c-gold);
  background: rgba(232,146,42,0.07);
}
.dv-b2c-flow__arrow {
  color: rgba(247,244,240,0.2);
  font-size: 16px;
  flex-shrink: 0;
}
.dv-b2c-flow__note {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(247,244,240,0.3);
  font-style: italic;
}

/* ── CTA Banner ───────────────────────────────────────── */

.dv-cta {
  position: relative;
  padding: 52px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: visible;
}
.dv-cta__cloud {
  position: absolute;
  opacity: 0.12;
  pointer-events: none;
}
.dv-cta__cloud--tl { top: -10px; left: -20px; width: 200px; }
.dv-cta__char {
  height: 320px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin-top: -80px;
  margin-bottom: -20px;
  align-self: center;
}
.dv-cta__content { position: relative; z-index: 2; }
.dv-cta__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}
.dv-cta__sub {
  font-family: var(--font-sans);
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}
.dv-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 900px) {
  .dv-service-grid { grid-template-columns: 1fr; }
  .dv-price-grid   { grid-template-columns: 1fr; }
  .dv-b2c-grid     { grid-template-columns: 1fr; }
  .dv-hero         { flex-direction: column; padding: 32px 24px; }
  .dv-hero__char   { height: 150px; }
  .dv-pricing-wrap { padding: 24px 20px; }
  .dv-timeline-wrap{ padding: 24px 20px; }
}

@media (max-width: 600px) {
  .dv-tab-bar      { flex-direction: column; }
  .dv-terms        { flex-wrap: wrap; }
  .dv-terms__item  { flex: 0 0 50%; border-bottom: 1px solid var(--c-border); }
  .dv-cta          { flex-direction: column; padding: 32px 24px; }
  .dv-cta__char    { display: none; }
  .dv-b2c-flow__steps { flex-direction: column; align-items: flex-start; gap: 4px; }
  .dv-b2c-flow__arrow { transform: rotate(90deg); }
  .dv-timeline__label { font-size: 9px; max-width: 55px; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE FIXES — patch cho các lỗi layout trên di động
   ═══════════════════════════════════════════════════════════ */

/* Fix 1: Nav logo — target .custom-logo trực tiếp để override WP inline attrs/style
   WordPress render the_custom_logo() dưới dạng <a class="custom-logo-link"><img class="custom-logo">
   Inline width/height attrs có thể ghi đè CSS thường → cần !important */
.custom-logo {
  height: 64px !important;
  width: auto !important;
  max-height: 64px !important;
  display: block !important;
}
.pill-nav__logo .custom-logo-link img,
.pill-nav__logo > .custom-logo { height: 64px; }

/* Logo ngang — ẩn trên desktop */
.pill-nav__logo-ngang { display: none; }
.pill-nav__logo-ngang-img { height: 32px; width: auto; max-width: 160px; display: block; object-fit: contain; }

/* Fix 2: Footer responsive (nếu WP Additional CSS bị mất thì vẫn có fallback ở đây) */
@media (max-width: 768px) {
  .stats-row .stat-card:nth-child(3) { grid-column: 1 / -1; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px 32px; }
  .social-dock { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE AUDIT FIX — v2
   Bổ sung các mobile fixes còn thiếu sau khi audit toàn bộ
   pages (320–768px). Không trùng với section trên.
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* ── Single post: fix specificity bug của :has(.post-toc)
     Khi TOC display:none, element vẫn trong DOM →
     .post-body-grid:has(.post-toc) (specificity 0,2,0) vẫn khớp
     và giữ grid-template-columns: 200px 1fr 50px, content ở col 2
     → cột 1 (200px) trống, tạo khoảng trắng bên trái.
     Fix: override :has() với cùng selector bên trong media query.  */
  .post-body-grid:has(.post-toc) {
    grid-template-columns: 1fr;
  }
  .post-body-grid:has(.post-toc) .post-content-col {
    grid-column: 1;
  }
  .post-body-grid:has(.post-toc) .post-share {
    display: none;
  }

  /* ── CTA Banner (homepage): ẩn character image
     position: absolute; right: 180px → overlap nặng ở ≤768px */
  .cta-banner__char { display: none; }

  /* ── About page: giảm inner padding các bento section ─── */
  .about-history { padding: 28px 20px; }
  .about-values  { padding: 28px 20px; }
  .about-mv-card { padding: 24px 20px; }
  .team-bento    { padding: 24px 20px; }

  /* ── Contact page ──────────────────────────────────────── */
  .contact-info__card { padding: 24px 20px; }
  .contact-form-card  { padding: 24px 20px; }

  /* ── Services card (homepage) ──────────────────────────── */
  .services-card { padding: 24px 20px; }

  /* ── Entry layout (page.php / single.php cũ) ──────────── */
  .entry-header-bento  { padding: 28px 20px; min-height: 180px; }
  .entry-content-bento { padding: 24px 20px; }

  /* ── Dịch vụ: B2C flow padding ─────────────────────────── */
  .dv-b2c-flow { padding: 20px 16px; }

  /* ── Portfolio archive list-card: CTA always visible
     (touch device = no :hover state)                        */
  .pf-list-card__cta { opacity: 1; transform: translateX(0); }
}

/* ── Breakpoint 480px: điện thoại nhỏ ─────────────────── */
@media (max-width: 480px) {

  /* Stats row: 1 cột hoàn toàn — sạch hơn nth-child trick */
  .stats-row { grid-template-columns: 1fr !important; }
  .stats-row .stat-card { grid-column: auto; }

  /* Dịch vụ: CTA card ──────────────────────────────────── */
  .dv-cta { padding: 28px 16px; }

  /* Dịch vụ: B2C flow arrows đứng ─────────────────────── */
  .dv-b2c-flow__steps { flex-direction: column; align-items: flex-start; gap: 4px; }
  .dv-b2c-flow__arrow { transform: rotate(90deg); }
}
