/**
 * Nam Việt — Consulting page (Tư vấn thiết kế) — v2 industrial direction.
 *
 * Source: design/v2/consulting.html (inline <style> = spec). The shell (utility
 * bar, header, footer), base primitives (.container, .btn*, .kicker, .notch,
 * .grid-bg, section, .sec-head, .breadcrumb) and the shared inner-page hero band
 * (.page-hero, .crumb) come from base.css/header.css/footer.css — this sheet
 * only adds the Consulting-specific sections.
 *
 * Enqueued conditionally (handle `nv-consulting`) for template-consulting.php.
 */

/* ============ INTRO (broken 2-col) ============ */
.intro { background: var(--paper); }
.intro .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.intro-media { position: relative; }
.intro-media .im-main { position: relative; aspect-ratio: 4 / 3.3; background-size: cover; background-position: center; box-shadow: var(--sh-md); }
.intro-media .im-tag { position: absolute; right: -22px; bottom: 34px; background: var(--ink); color: #fff; padding: 16px 20px; box-shadow: var(--sh-lg); }
.intro-media .im-tag .t-k { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; color: var(--orange); text-transform: uppercase; }
.intro-media .im-tag .t-v { font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin-top: 3px; }
.intro-body h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 16px 0 18px; color: var(--ink); }
.intro-body p { color: var(--s-700); margin-bottom: 16px; max-width: 42em; font-size: 0.98rem; }
.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; margin: 26px 0 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.94rem; font-weight: 500; }
.checklist li .ck { flex: none; width: 22px; height: 22px; background: var(--orange-050); color: var(--orange-700); display: grid; place-items: center; margin-top: 1px; border: 1px solid var(--orange-100); }
.checklist li .ck svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ============ PROCESS (dark editorial stepper) ============ */
.process { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.process .grid-bg { opacity: 0.5; }
.process .container { position: relative; z-index: 2; }
.process .sec-head h2 { color: #fff; }
.process .sec-head p { color: var(--s-400); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 6px 28px 4px 0; }
.step:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.09); }
.step + .step { padding-left: 28px; }
.step .n { font-family: var(--mono); font-size: 2.7rem; font-weight: 700; color: var(--orange); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; display: inline-block; }
.step .nu { display: block; width: 0; height: 2px; background: var(--orange); margin-top: 14px; transition: width 0.4s ease; }
.step:hover .nu { width: 42px; }
.step h3 { font-size: 1.18rem; color: #fff; margin: 18px 0 10px; }
.step p { font-size: 0.92rem; color: var(--s-300); max-width: 24em; }

/* ============ BENEFITS (left-aligned 2-col icon list) ============ */
.benefits { background: var(--white); }
.ben-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ben-item { display: flex; gap: 20px; align-items: flex-start; background: var(--paper); border: 1px solid var(--s-100); padding: 30px; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.ben-item:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--s-200); }
.ben-item .b-ico { flex: none; width: 56px; height: 56px; display: grid; place-items: center; background: var(--orange-050); border: 1px solid var(--orange-100); color: var(--orange-700); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.ben-item:hover .b-ico { background: var(--orange); border-color: var(--orange); color: #fff; }
.ben-item .b-ico svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ben-item h3 { font-size: 1.18rem; color: var(--ink); margin-bottom: 9px; }
.ben-item p { font-size: 0.93rem; color: var(--s-500); max-width: 28em; }

/* ============ PORTFOLIO (case studies w/ stats) ============ */
.portfolio { background: var(--paper); }
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pf-card { background: var(--white); box-shadow: var(--sh-sm); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.3s, transform 0.3s; }
.pf-card:hover { box-shadow: var(--sh-lg); transform: translateY(-5px); }
.pf-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--s-100); }
.pf-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.pf-card:hover .pf-img img { transform: scale(1.06); }
.pf-tag { position: absolute; top: 14px; left: 14px; font-family: var(--mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 6px 11px; }
.pf-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pf-body h3 { font-size: 1.12rem; color: var(--ink); line-height: 1.32; }
.pf-body p { font-size: 0.9rem; color: var(--s-500); flex: 1; }
.pf-stats { display: flex; gap: 22px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--s-100); }
.pf-stat .v { font-family: var(--mono); font-size: 1.2rem; font-weight: 700; color: var(--orange-700); line-height: 1.1; font-variant-numeric: tabular-nums; }
.pf-stat .l { font-size: 0.72rem; color: var(--s-500); margin-top: 3px; letter-spacing: 0.02em; }

/* ============ CTA BAND (shared) ============ */
.cta-band { position: relative; background: var(--orange); color: #fff; overflow: hidden; padding: 72px 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; opacity: 0.5; mix-blend-mode: overlay; background-image: linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px); background-size: 40px 40px; }
.cta-band::after { content: ""; position: absolute; top: 0; right: 0; width: 46%; height: 100%; background: linear-gradient(120deg, transparent, rgba(26,28,31,0.18)); pointer-events: none; }
.cta-band .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band .ctk { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: #fff; margin: 12px 0 6px; max-width: 18em; }
.cta-band .c-phone { font-family: var(--mono); font-weight: 700; font-size: 1.2rem; margin-top: 6px; display: flex; align-items: center; gap: 10px; }
.cta-band .c-phone .cp-ico { display: flex; align-items: center; }
.cta-band .c-phone .cp-ico svg { width: 20px; height: 20px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: var(--orange-700); box-shadow: 0 16px 30px rgba(26,28,31,0.22); }
.cta-band .btn-primary:hover { background: var(--ink); color: #fff; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .intro .container { grid-template-columns: 1fr; gap: 40px; }
  .intro-media .im-tag { right: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 34px 0; }
  .step { padding: 6px 28px 4px 28px; border-right: none !important; }
  .step:nth-child(odd) { padding-left: 0; }
  .step:nth-child(odd):not(:last-child) { border-right: 1px solid rgba(255,255,255,0.09) !important; }
  .pf-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .checklist, .ben-grid, .steps, .pf-grid { grid-template-columns: 1fr; }
  .step { padding: 6px 0 4px 0; border-right: none !important; }
  .step + .step { padding-left: 0; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.09); }
}
