/*
 Theme Name:   Targetiv Child Theme
 Theme URI:    https://targetiv.com
 Description:  Targetiv Child Theme — child theme of Targetiv Custom Developed Websites
 Author:       Targetiv
 Author URI:   https://targetiv.com/
 Template:     bricks
 Version:      2.1
 Text Domain:  targetiv-child-theme
*/

/*
 * ================================================================
 *  TARGETIV DESIGN SYSTEM v2.1
 *  ----------------------------------------------------------------
 *  ✔  Scoped entirely to .tv-* and .tv-nav-* classes
 *  ✔  Zero conflicts with Bricks (#brx-*, .brxe-*, .bricks-*)
 *  ✔  Full CSS custom-property token system
 *  ✔  Fluid typography via clamp()
 *  ✔  Sticky header — light glass, dark ink, red CTA
 *  ✔  Header tokens corrected (was: red-as-white bug fixed)
 *  ✔  Dropdown restored to position:absolute (was: fixed)
 *  ✔  Single consolidated @media block per breakpoint
 * ================================================================
 */


/* ================================================================
   §1  GLOBAL DESIGN TOKENS
   Prefixed --tv-* — isolated from Bricks own variables.
   ================================================================ */
:root {

  /* ── Brand palette ───────────────────────────────────────────── */
  --tv-accent:     #a11723;
  --tv-accent-hov: #a93226;
  --tv-accent-lt:  #fdecea;
  --tv-accent-dk:  #8b1e14;

  /* ── Neutral scale ───────────────────────────────────────────── */
  --tv-ink:        #1a1a2e;
  --tv-ink-mid:    #4b5563;
  --tv-ink-soft:   #6b7280;
  --tv-surface:    #f8f9fa;
  --tv-surface-w:  #ffffff;

  /* ── Border palette ──────────────────────────────────────────── */
  --tv-line:       #e5e7eb;
  --tv-line-mid:   #d1d5db;

  /* ── Semantic aliases ────────────────────────────────────────── */
  --tv-color-text:        var(--tv-ink);
  --tv-color-text-muted:  var(--tv-ink-soft);
  --tv-color-bg:          var(--tv-surface);
  --tv-color-border:      var(--tv-line);
  --tv-color-primary:     var(--tv-accent);
  --tv-color-primary-hov: var(--tv-accent-hov);

  /* ── Radius ──────────────────────────────────────────────────── */
  --tv-radius-sm:   4px;
  --tv-radius-md:   6px;
  --tv-radius-lg:  10px;
  --tv-radius-xl:  16px;
  --tv-radius-pill: 9999px;

  /* Backwards-compat aliases */
  --tv-rm: var(--tv-radius-md);
  --tv-rl: var(--tv-radius-lg);

  /* ── Shadows ─────────────────────────────────────────────────── */
  --tv-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / .06);
  --tv-shadow-sm: 0 1px 4px 0 rgb(0 0 0 / .08), 0 1px 2px -1px rgb(0 0 0 / .06);
  --tv-shadow-md: 0 4px 12px -2px rgb(0 0 0 / .10), 0 2px 4px -2px rgb(0 0 0 / .06);

  /* ── Transitions ─────────────────────────────────────────────── */
  --tv-ease:        cubic-bezier(.4, 0, .2, 1);
  --tv-duration-sm: 120ms;
  --tv-duration-md: 200ms;
  --tv-transition:  var(--tv-duration-md) var(--tv-ease);

  /* ── Fluid spacing scale ─────────────────────────────────────── */
  --tv-space-xs:  clamp(4px,  0.5vw,   6px);
  --tv-space-sm:  clamp(8px,  1vw,    12px);
  --tv-space-md:  clamp(14px, 1.5vw,  20px);
  --tv-space-lg:  clamp(20px, 2.5vw,  32px);
  --tv-space-xl:  clamp(32px, 4vw,    52px);
  --tv-space-2xl: clamp(48px, 6vw,    80px);

  /* ── Fluid grid gaps ─────────────────────────────────────────── */
  --tv-gap-sm: clamp(10px, 1.2vw, 16px);
  --tv-gap-md: clamp(16px, 2vw,   28px);
  --tv-gap-lg: clamp(28px, 4vw,   48px);

  /* ── Page gutters ────────────────────────────────────────────── */
  --tv-page-x: clamp(16px, 5vw,  48px);
  --tv-page-y: clamp(40px, 7vw,  80px);

  /* ── Fluid type scale ────────────────────────────────────────── */
  --tv-fs-xs:   clamp(10px, 0.9vw,  11px);
  --tv-fs-sm:   clamp(12px, 1.1vw,  13px);
  --tv-fs-base: clamp(13px, 1.2vw,  14px);
  --tv-fs-md:   clamp(15px, 1.4vw,  16px);
  --tv-fs-lg:   clamp(18px, 1.8vw,  22px);
  --tv-fs-xl:   clamp(20px, 2vw,    26px);
  --tv-fs-2xl:  clamp(26px, 3vw,    36px);
  --tv-fs-3xl:  clamp(30px, 4vw,    42px);

  /* ── Line heights ────────────────────────────────────────────── */
  --tv-lh-tight:   1.2;
  --tv-lh-snug:    1.35;
  --tv-lh-normal:  1.5;
  --tv-lh-relaxed: 1.65;
  --tv-lh-loose:   1.75;

  /* ── Layout widths ───────────────────────────────────────────── */
  --tv-sidebar-w:      300px;
  --tv-post-sidebar-w: 280px;

  /* ── Header offset for sticky content below ─────────────────── */
  --tv-header-h: 68px;
}


/* ================================================================
   §2  DARK THEME HOOK
   Add data-theme="dark" to <html> in Bricks custom attributes.
   ================================================================ */
[data-theme="dark"] {
  --tv-ink:       #f1f5f9;
  --tv-ink-mid:   #cbd5e1;
  --tv-ink-soft:  #94a3b8;
  --tv-surface:   #1e293b;
  --tv-surface-w: #0f172a;
  --tv-line:      #334155;
  --tv-line-mid:  #475569;
  --tv-accent-lt: #3b0a07;
  --tv-accent-dk: #fca5a5;
}


/* ================================================================
   §3  TYPOGRAPHY
   ================================================================ */

.tv-h1 {
  font-size: var(--tv-fs-3xl);
  font-weight: 700;
  line-height: var(--tv-lh-tight);
  color: var(--tv-color-text);
  margin-bottom: var(--tv-space-md);
  letter-spacing: -0.02em;
}

.tv-h2 {
  font-size: var(--tv-fs-xl);
  font-weight: 600;
  line-height: var(--tv-lh-snug);
  color: var(--tv-color-text);
  margin-bottom: var(--tv-space-sm);
  letter-spacing: -0.01em;
}

.tv-h3 {
  font-size: var(--tv-fs-md);
  font-weight: 600;
  line-height: var(--tv-lh-snug);
  color: var(--tv-color-text);
  margin-bottom: var(--tv-space-xs);
}

.tv-body {
  font-size: var(--tv-fs-base);
  color: var(--tv-color-text-muted);
  line-height: var(--tv-lh-loose);
  margin-bottom: var(--tv-space-sm);
}

.tv-body:last-child { margin-bottom: 0; }

.tv-red { color: var(--tv-color-primary); }


/* ================================================================
   §4  PAGE WRAPPER
   ================================================================ */

.tv-page {
  padding: var(--tv-page-y) var(--tv-page-x);
  box-sizing: border-box;
}


/* ================================================================
   §5  LAYOUT GRIDS
   ================================================================ */

.tv-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--tv-gap-lg);
  align-items: start;
}

.tv-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--tv-gap-sm);
}

.tv-four-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--tv-gap-sm);
}


/* ================================================================
   §6  CARDS
   ================================================================ */

.tv-card,
.tv-card-white {
  border-radius: var(--tv-radius-lg);
  padding: var(--tv-space-lg);
  border: .5px solid var(--tv-color-border);
  box-shadow: var(--tv-shadow-xs);
  transition: box-shadow var(--tv-transition);
}

.tv-card       { background: var(--tv-color-bg); }
.tv-card-white { background: var(--tv-surface-w); }


/* ================================================================
   §7  STATS BAR
   ================================================================ */

.tv-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: .5px solid var(--tv-color-border);
  border-radius: var(--tv-radius-lg);
  overflow: hidden;
  margin-bottom: var(--tv-space-xl);
}

.tv-stat-cell {
  padding: var(--tv-space-lg) var(--tv-space-md);
  border-right: .5px solid var(--tv-color-border);
  text-align: center;
}

.tv-stat-cell:last-child { border-right: none; }

.tv-stat-num {
  font-size: var(--tv-fs-2xl);
  font-weight: 700;
  color: var(--tv-color-primary);
  line-height: var(--tv-lh-tight);
}

.tv-stat-lbl {
  font-size: var(--tv-fs-xs);
  color: var(--tv-color-text-muted);
  margin-top: var(--tv-space-xs);
  text-transform: uppercase;
  letter-spacing: .06em;
}


/* ================================================================
   §8  BUTTONS
   ================================================================ */

.tv-btn-p,
.tv-btn-s {
  display: inline-block;
  font-size: var(--tv-fs-sm);
  font-weight: 500;
  padding: 0.7em 1.6em;
  border-radius: var(--tv-radius-md);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  font-family: inherit;
  line-height: 1;
  white-space: nowrap;
  transition:
    background var(--tv-transition),
    box-shadow  var(--tv-transition),
    color       var(--tv-transition);
}

.tv-btn-p {
  background: var(--tv-color-primary);
  color: #fff;
  border: none;
  box-shadow: var(--tv-shadow-sm);
}

.tv-btn-p:hover {
  background: var(--tv-color-primary-hov);
  color: #fff;
  box-shadow: var(--tv-shadow-md);
}

.tv-btn-s {
  background: transparent;
  color: var(--tv-color-text);
  border: .5px solid var(--tv-line-mid);
}

.tv-btn-s:hover {
  background: var(--tv-color-bg);
  color: var(--tv-color-text);
  box-shadow: var(--tv-shadow-xs);
}

.tv-btn-p.full,
.tv-btn-s.full { width: 100%; }


/* ================================================================
   §9  MARKERS & CHIPS
   ================================================================ */

.tv-chk {
  color: var(--tv-color-primary);
  margin-right: var(--tv-space-xs);
  font-size: var(--tv-fs-sm);
}

.tv-crs {
  color: var(--tv-color-text-muted);
  margin-right: var(--tv-space-xs);
  font-size: var(--tv-fs-sm);
  opacity: .45;
}

.tv-chip {
  display: inline-block;
  font-size: var(--tv-fs-xs);
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--tv-radius-pill);
  border: .5px solid var(--tv-line-mid);
  color: var(--tv-color-text-muted);
  margin: 0 var(--tv-space-xs) var(--tv-space-xs) 0;
  letter-spacing: .02em;
}


/* ================================================================
   §10  CTA BLOCK
   ================================================================ */

.tv-cta-block {
  border: .5px solid var(--tv-line-mid);
  border-top: 3px solid var(--tv-color-primary);
  border-radius: var(--tv-radius-lg);
  padding: var(--tv-space-xl);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--tv-gap-md);
  align-items: center;
  background: var(--tv-surface-w);
  box-shadow: var(--tv-shadow-sm);
}

.tv-cta-title {
  font-size: var(--tv-fs-lg);
  font-weight: 600;
  color: var(--tv-color-text);
  margin-bottom: var(--tv-space-xs);
  line-height: var(--tv-lh-snug);
  letter-spacing: -0.01em;
}

.tv-cta-desc {
  font-size: var(--tv-fs-base);
  color: var(--tv-color-text-muted);
  line-height: var(--tv-lh-relaxed);
  max-width: 460px;
}

.tv-cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--tv-space-sm);
  min-width: 180px;
}

.tv-cta-email {
  text-align: center;
  font-size: var(--tv-fs-xs);
  color: var(--tv-color-text-muted);
  margin-top: var(--tv-space-xs);
}


/* ================================================================
   §11  FAQ
   ================================================================ */

.tv-faq-item {
  padding: var(--tv-space-md) 0;
  border-bottom: .5px solid var(--tv-color-border);
}

.tv-faq-item:first-of-type {
  border-top: .5px solid var(--tv-color-border);
}

.tv-faq-q {
  font-size: var(--tv-fs-base);
  font-weight: 600;
  color: var(--tv-color-text);
  margin-bottom: var(--tv-space-xs);
  line-height: var(--tv-lh-snug);
}

.tv-faq-a {
  font-size: var(--tv-fs-sm);
  color: var(--tv-color-text-muted);
  line-height: var(--tv-lh-relaxed);
}


/* ================================================================
   §12  PULL QUOTE
   ================================================================ */

.tv-pull-quote {
  border-left: 3px solid var(--tv-color-primary);
  border-top: .5px solid var(--tv-color-border);
  border-right: .5px solid var(--tv-color-border);
  border-bottom: .5px solid var(--tv-color-border);
  border-radius: 0 var(--tv-radius-lg) var(--tv-radius-lg) 0;
  background: var(--tv-color-bg);
  padding: var(--tv-space-lg) var(--tv-space-xl);
  margin-bottom: var(--tv-space-xl);
}

.tv-pull-quote-text {
  font-size: var(--tv-fs-lg);
  font-weight: 500;
  line-height: var(--tv-lh-normal);
  color: var(--tv-color-text);
  margin-bottom: var(--tv-space-sm);
  font-style: italic;
}

.tv-pull-quote-attr {
  font-size: var(--tv-fs-sm);
  color: var(--tv-color-text-muted);
}


/* ================================================================
   §13  STEP CARDS
   ================================================================ */

.tv-step-card {
  background: var(--tv-color-bg);
  border-radius: var(--tv-radius-lg);
  padding: var(--tv-space-lg);
  border: .5px solid var(--tv-color-border);
  box-shadow: var(--tv-shadow-xs);
}

.tv-step-num {
  font-size: var(--tv-fs-lg);
  font-weight: 700;
  color: var(--tv-color-primary);
  margin-bottom: var(--tv-space-sm);
  line-height: var(--tv-lh-tight);
}

.tv-step-title {
  font-size: var(--tv-fs-base);
  font-weight: 600;
  color: var(--tv-color-text);
  margin-bottom: var(--tv-space-xs);
}

.tv-step-desc {
  font-size: var(--tv-fs-sm);
  color: var(--tv-color-text-muted);
  line-height: var(--tv-lh-relaxed);
}


/* ================================================================
   §14  LISTS
   ================================================================ */

.tv-ul {
  display: flex;
  flex-direction: column;
  gap: var(--tv-space-xs);
  margin: var(--tv-space-sm) 0;
}

.tv-ul li {
  font-size: var(--tv-fs-sm);
  color: var(--tv-color-text-muted);
  line-height: var(--tv-lh-relaxed);
}

.tv-numbered {
  display: flex;
  flex-direction: column;
  gap: var(--tv-space-md);
  margin: var(--tv-space-md) 0;
}

.tv-numbered-row {
  display: flex;
  gap: var(--tv-space-md);
  align-items: flex-start;
}

.tv-numbered-dot {
  width: 28px;
  height: 28px;
  border-radius: var(--tv-radius-pill);
  background: var(--tv-accent-lt);
  color: var(--tv-accent-dk);
  font-size: var(--tv-fs-xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: var(--tv-shadow-xs);
}

.tv-numbered-title {
  font-size: var(--tv-fs-base);
  font-weight: 600;
  color: var(--tv-color-text);
  margin-bottom: var(--tv-space-xs);
}

.tv-numbered-desc {
  font-size: var(--tv-fs-sm);
  color: var(--tv-color-text-muted);
  line-height: var(--tv-lh-relaxed);
}


/* ================================================================
   §15  METRICS
   ================================================================ */

.tv-metrics-row {
  display: flex;
  gap: var(--tv-gap-sm);
  margin-bottom: var(--tv-space-sm);
}

.tv-metric-box {
  background: var(--tv-surface-w);
  border: .5px solid var(--tv-color-border);
  border-radius: var(--tv-radius-md);
  padding: var(--tv-space-md);
  text-align: center;
  flex: 1;
  box-shadow: var(--tv-shadow-xs);
}

.tv-metric-num {
  font-size: var(--tv-fs-lg);
  font-weight: 700;
  color: var(--tv-color-primary);
  line-height: var(--tv-lh-tight);
}

.tv-metric-lbl {
  font-size: var(--tv-fs-xs);
  color: var(--tv-color-text-muted);
  margin-top: var(--tv-space-xs);
  text-transform: uppercase;
  letter-spacing: .05em;
}


/* ================================================================
   §16  BLOG & POST LAYOUTS
   ================================================================ */

.tv-blog-layout {
  display: grid;
  grid-template-columns: 1fr var(--tv-sidebar-w);
  gap: var(--tv-gap-lg);
  align-items: start;
}

.tv-sidebar {
  position: sticky;
  top: calc(var(--tv-header-h) + var(--tv-space-lg));
}

.tv-sidebar-post-title {
  font-size: var(--tv-fs-sm);
  font-weight: 600;
  color: var(--tv-color-text);
  line-height: var(--tv-lh-snug);
  margin-bottom: 2px;
}

.tv-post-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: .5px solid var(--tv-color-border);
  border-radius: var(--tv-radius-lg);
  overflow: hidden;
  margin-bottom: var(--tv-space-lg);
  box-shadow: var(--tv-shadow-sm);
}

.tv-post-featured-img {
  min-height: clamp(160px, 20vw, 240px);
  background: var(--tv-color-bg);
  border-right: .5px solid var(--tv-color-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tv-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--tv-gap-md);
}

.tv-post-layout {
  display: grid;
  grid-template-columns: 1fr var(--tv-post-sidebar-w);
  gap: var(--tv-gap-lg);
  align-items: start;
}

.tv-post-sidebar {
  position: sticky;
  top: calc(var(--tv-header-h) + var(--tv-space-lg));
}

.tv-post-title {
  font-size: var(--tv-fs-2xl);
  font-weight: 700;
  line-height: var(--tv-lh-snug);
  color: var(--tv-color-text);
  margin-bottom: var(--tv-space-md);
  letter-spacing: -0.02em;
}

.tv-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--tv-gap-md);
}

.tv-related-img {
  height: clamp(90px, 10vw, 120px);
  background: var(--tv-color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: .5px solid var(--tv-color-border);
}

.tv-related-img-ph {
  width: 32px;
  height: 32px;
  border-radius: var(--tv-radius-pill);
  background: var(--tv-color-border);
  opacity: .5;
}

.tv-related-body { padding: var(--tv-space-md); }

.tv-related-cat {
  display: inline-block;
  font-size: var(--tv-fs-xs);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--tv-radius-pill);
  margin-bottom: var(--tv-space-xs);
  letter-spacing: .04em;
}

.tv-related-title {
  font-size: var(--tv-fs-sm);
  font-weight: 600;
  color: var(--tv-color-text);
  line-height: var(--tv-lh-snug);
  margin-bottom: var(--tv-space-xs);
}

.tv-related-meta {
  font-size: var(--tv-fs-xs);
  color: var(--tv-color-text-muted);
}

.tv-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--tv-gap-md);
  margin-top: var(--tv-space-xl);
}

.tv-post-nav-card {
  border: .5px solid var(--tv-color-border);
  border-radius: var(--tv-radius-lg);
  padding: var(--tv-space-md) var(--tv-space-lg);
  transition: box-shadow var(--tv-transition);
}

.tv-post-nav-card:hover { box-shadow: var(--tv-shadow-sm); }
.tv-post-nav-card.tv-next { text-align: right; }

.tv-post-nav-dir {
  font-size: var(--tv-fs-xs);
  font-weight: 600;
  color: var(--tv-color-text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: var(--tv-space-xs);
}

.tv-post-nav-title {
  font-size: var(--tv-fs-sm);
  font-weight: 600;
  color: var(--tv-color-text);
  line-height: var(--tv-lh-snug);
}


/* ================================================================
   §17  RESPONSIVE BREAKPOINTS — page components
   ================================================================ */

/* 800px — sidebars collapse */
@media (max-width: 800px) {
  .tv-blog-layout,
  .tv-post-layout      { grid-template-columns: 1fr; }
  .tv-sidebar,
  .tv-post-sidebar     { position: static; }
  .tv-post-featured    { grid-template-columns: 1fr; }
  .tv-post-featured-img {
    border-right: none;
    border-bottom: .5px solid var(--tv-color-border);
  }
  .tv-post-grid        { grid-template-columns: 1fr 1fr; }
  .tv-related-grid     { grid-template-columns: 1fr 1fr; }
  .tv-post-nav         { grid-template-columns: 1fr; }
}

/* 720px — single-column content */
@media (max-width: 720px) {
  .tv-two-col          { grid-template-columns: 1fr; }
  .tv-three-col        { grid-template-columns: 1fr; }
  .tv-four-col         { grid-template-columns: 1fr 1fr; }
  .tv-stats-bar        { grid-template-columns: 1fr 1fr; }
  .tv-stat-cell:nth-child(2) { border-right: none; }
  .tv-stat-cell:nth-child(3) { border-right: .5px solid var(--tv-color-border); border-top: .5px solid var(--tv-color-border); }
  .tv-stat-cell:nth-child(4) { border-top: .5px solid var(--tv-color-border); border-right: none; }
  .tv-cta-block        { grid-template-columns: 1fr; }
  .tv-cta-actions      { flex-direction: row; flex-wrap: wrap; }
  .tv-metrics-row      { flex-wrap: wrap; }
  .tv-metric-box       { min-width: calc(50% - var(--tv-gap-sm) / 2); }
}

/* 540px */
@media (max-width: 540px) {
  .tv-post-grid        { grid-template-columns: 1fr; }
  .tv-cta-block        { padding: var(--tv-space-lg); }
}

/* 480px */
@media (max-width: 480px) {
  .tv-four-col         { grid-template-columns: 1fr; }
  .tv-related-grid     { grid-template-columns: 1fr; }
  .tv-metric-box       { min-width: 100%; }
  .tv-post-nav-card.tv-next { text-align: left; }
}



/* ── §18.1  HEADER-SCOPED TOKENS ─────────────────────────────── */
.tv-nav-header {

  /* ── brand ──────────────────────────────────────────────────── */
  --nav-red:          #a11723;
  --nav-red-bright:   #e04535;
  --nav-red-glow:     rgba(192, 57, 43, 0.30);
  --nav-red-tint:     rgba(192, 57, 43, 0.12);

  /* ── ink (dark text for light glass) ────────────────────────── */
  /*   "nav-white" variables are kept as token names for back-compat
       but now hold dark-ink values as the header is light-themed.  */
  --nav-white:        #1a1a2e;     /* primary text          */
  --nav-white-80:     rgba(26, 26, 46, 0.80);  /* nav links */
  --nav-white-55:     rgba(26, 26, 46, 0.55);  /* muted links */
  --nav-white-30:     rgba(26, 26, 46, 0.30);  /* captions  */
  --nav-white-10:     rgba(26, 26, 46, 0.10);  /* hover bg  */
  --nav-white-06:     rgba(26, 26, 46, 0.06);  /* subtle bg */

  /* ── glass panel (white / frosted) ──────────────────────────── */
  --nav-glass-bg:     rgba(255, 255, 255, 0.88);
  --nav-glass-border: rgba(0, 0, 0, 0.07);
  --nav-glass-shadow: 0 1px 0 rgba(0, 0, 0, 0.06),
                      0 4px 16px rgba(0, 0, 0, 0.08);

  /* ── dropdown surface (stays dark for contrast) ─────────────── */
  --nav-surface:     #111111;
  --nav-surface-2:   #1c1c1c;
  --nav-surface-bdr: rgba(255, 255, 255, 0.08);

  /* ── typography ─────────────────────────────────────────────── */

  --nav-font-d: 'Neulis Sans Font', system-ui, sans-serif;
  --nav-font-b: 'Neulis Sans Font', system-ui, sans-serif;

  /* ── easing ─────────────────────────────────────────────────── */
  --nav-ease:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --nav-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── dimensions ─────────────────────────────────────────────── */
  --nav-h:         68px;
  --nav-h-compact: 56px;
  --nav-max-w:     1280px;
  --nav-px:        32px;
  --nav-radius:    8px;
}


/* ── §18.2  SCOPED RESET ─────────────────────────────────────── */
.tv-nav-header *,
.tv-nav-header *::before,
.tv-nav-header *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.tv-nav-header a          { text-decoration: none; }
.tv-nav-header button     { cursor: pointer; background: none; border: none; }
.tv-nav-header ul         { list-style: none; }

/* ── §18.3  WORDPRESS ADMIN BAR OFFSET ──────────────────────── */
body.admin-bar .tv-nav-header               { top: 32px; }

@media screen and (max-width: 782px) {
  body.admin-bar .tv-nav-header             { top: 46px; }
}
@media screen and (max-width: 600px) {
  body.admin-bar .tv-nav-header             { top: 0; }
}

/* ── §18.4  HEADER SHELL — sticky ────────────────────────────── */
/*
  position: sticky keeps the header in the normal document flow
  (Bricks-friendly). JS adds .tv-nav-hidden on fast scroll-down
  (translateY -100%) and removes it on scroll-up.
  Use .tv-nav-fixed modifier to switch to fixed positioning.
*/
.tv-nav-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  width: 100%;
  will-change: transform;
  transition: transform 0.45s var(--nav-ease);
}

.tv-nav-header.tv-nav-fixed  { position: fixed; }
.tv-nav-header.tv-nav-hidden { transform: translateY(-100%); }

/* ── §18.5  GLASS PANEL ──────────────────────────────────────── */
/*
  Separate element so backdrop-filter applies only to background,
  not children. Opacity transitions without affecting content.
*/
.tv-nav-glass {
  position: absolute;
  inset: 0;
  background: var(--nav-glass-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--nav-glass-border);
  box-shadow: var(--nav-glass-shadow);
  opacity: 0;
  transition: opacity 0.4s var(--nav-ease);
  pointer-events: none;
  z-index: 0;
}

/* .tv-nav-glass-always = glass visible from page load (used in markup) */
.tv-nav-header.tv-nav-glass-always .tv-nav-glass,
.tv-nav-header.tv-nav-scrolled    .tv-nav-glass {
  opacity: 1;
}

/* ── §18.6  READ PROGRESS BAR ────────────────────────────────── */
.tv-nav-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--nav-red);
  transition: width 0.1s linear;
  z-index: 2;
  border-radius: 0 1px 1px 0;
}

/* ── §18.7  INNER WRAPPER ────────────────────────────────────── */
/*
  position: relative here is the positioning context for the dropdown.
  The dropdown is a child of .tv-nav-item which is inside .tv-nav-inner,
  so as long as .tv-nav-item has NO position: relative, the dropdown
  will measure left/top relative to .tv-nav-inner (full header width).
  left: 50% + translateX(-50%) then centres it in the whole nav bar.
*/
.tv-nav-inner {
  position: relative;
  z-index: 1;
  max-width: var(--nav-max-w);
  margin: 0 auto;
  padding: 0 var(--nav-px);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: height 0.35s var(--nav-ease);
  overflow: visible;
}

.tv-nav-header.tv-nav-scrolled .tv-nav-inner {
  height: var(--nav-h-compact);
}

/* ── §18.8  LOGO ─────────────────────────────────────────────── */
.tv-nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  color: inherit;
}

.tv-nav-logo-mark { width: 28px; height: 28px; flex-shrink: 0; }

.tv-nav-lm-ring {
  fill: none;
  stroke: var(--nav-red);
  stroke-width: 1.5;
  stroke-dasharray: 72;
  stroke-dashoffset: 72;
  animation: tv-nav-draw 1.1s var(--nav-ease) 0.15s forwards;
}

.tv-nav-lm-tick {
  fill: none;
  stroke: var(--nav-white);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 16;
  stroke-dashoffset: 16;
  animation: tv-nav-draw 0.5s var(--nav-ease) 0.9s forwards;
}

@keyframes tv-nav-draw { to { stroke-dashoffset: 0; } }

.tv-nav-logo-text {
  font-family: var(--nav-font-d);
  font-size: 19px;
  font-weight: 700;
  color: var(--nav-white);
  letter-spacing: -0.025em;
  line-height: 1;
}

.tv-nav-logo-text em {
  font-style: normal;
  color: var(--nav-red);
}

/* ── §18.9  DESKTOP NAV LINKS ────────────────────────────────── */
.tv-nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}

/*
  .tv-nav-item has NO position:relative — intentional.
  Keeping it static means the absolutely-positioned dropdown escapes
  the narrow item (~90px wide) and anchors to .tv-nav-inner instead
  (which is position:relative and spans the full header width).
  left:50% + translateX(-50%) on the dropdown then centres it
  correctly across the whole nav bar, not just the Services item.
*/
.tv-nav-item {
  /* position: static (default) — do NOT add relative here */
}

/* Never clip the overflowing dropdown panel */
.tv-nav-links { overflow: visible; }

.tv-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 13px;
  font-family: var(--nav-font-b);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--nav-white-55);
  border-radius: var(--nav-radius);
  position: relative;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: color 0.22s var(--nav-ease),
              background 0.22s var(--nav-ease);
}

/* Red underline slides in from left on hover */
.tv-nav-link::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--nav-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s var(--nav-ease);
  border-radius: 1px;
}

.tv-nav-link:hover,
.tv-nav-link:focus-visible {
  color: var(--nav-white-80);
  background: var(--nav-white-06);
  outline: none;
}

.tv-nav-link:hover::after,
.tv-nav-link:focus-visible::after,
.tv-nav-item.tv-nav-has-drop:hover .tv-nav-link::after { transform: scaleX(1); }

.tv-nav-link.tv-nav-current           { color: var(--nav-white); }
.tv-nav-link.tv-nav-current::after    { transform: scaleX(1); }

/* Dropdown chevron */
.tv-nav-chevron {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.45;
  flex-shrink: 0;
  transition: transform 0.25s var(--nav-ease), opacity 0.25s;
}

.tv-nav-item.tv-nav-has-drop:hover .tv-nav-chevron {
  transform: rotate(180deg);
  opacity: 0.75;
}

/* ── §18.10  SERVICES DROPDOWN ───────────────────────────────── */
/*
  POSITIONING STRATEGY:
  · position: absolute — Bricks-friendly, stays in document flow.
  · .tv-nav-item is position:static (default), so the dropdown's
    absolute position resolves against .tv-nav-inner, which is
    position:relative and spans the full header width.
  · left:50% + translateX(-50%) correctly centres the 500px panel
    within the full nav bar — not just the narrow ~90px Services item.
  · top: calc(100% + 8px) is measured from .tv-nav-inner's bottom
    edge (= the header's bottom edge), which is correct.
  · overflow:visible on .tv-nav-inner and .tv-nav-links ensures
    the panel is never clipped by its flex ancestors.
*/
.tv-nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  /* Centres panel across the full nav bar width */
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 500px;
  background: var(--nav-surface);
  border: 1px solid var(--nav-surface-bdr);
  border-radius: 14px;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--nav-ease),
              transform 0.22s var(--nav-ease),
              visibility 0s 0.22s;
  box-shadow: 0 24px 48px rgba(0,0,0,0.45),
              0 0 0 1px rgba(255,255,255,0.04) inset;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
}

/* Notch arrow centred on the panel */
.tv-nav-dropdown::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--nav-surface);
  border-left: 1px solid var(--nav-surface-bdr);
  border-top: 1px solid var(--nav-surface-bdr);
  border-radius: 2px 0 0 0;
}

.tv-nav-item.tv-nav-has-drop:hover .tv-nav-dropdown,
.tv-nav-item.tv-nav-has-drop:focus-within .tv-nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.22s var(--nav-ease),
              transform 0.22s var(--nav-ease),
              visibility 0s 0s;
}

.tv-nav-dd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.tv-nav-dd-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.18s var(--nav-ease),
              border-color 0.18s var(--nav-ease);
}

.tv-nav-dd-item:hover {
  background: var(--nav-surface-2);
  border-color: var(--nav-surface-bdr);
}

.tv-nav-dd-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--nav-red-tint);
  border: 1px solid rgba(192, 57, 43, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.18s, border-color 0.18s;
}

.tv-nav-dd-item:hover .tv-nav-dd-icon {
  background: rgba(192, 57, 43, 0.20);
  border-color: rgba(192, 57, 43, 0.30);
}

.tv-nav-dd-icon svg {
  width: 15px;
  height: 15px;
  stroke: var(--nav-red-bright);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tv-nav-dd-title {
  font-family: var(--nav-font-b);
  font-size: 13px;
  font-weight: 500;
  color: rgba(245, 240, 235, 0.85);
  margin-bottom: 2px;
  line-height: 1.3;
}

.tv-nav-dd-desc {
  font-family: var(--nav-font-b);
  font-size: 11.5px;
  color: rgba(245, 240, 235, 0.35);
  line-height: 1.5;
}

/* Dropdown footer */
.tv-nav-dd-footer {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--nav-surface-bdr);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tv-nav-dd-footer-text {
  font-family: var(--nav-font-b);
  font-size: 12px;
  color: rgba(245, 240, 235, 0.30);
}

.tv-nav-dd-footer-link {
  font-family: var(--nav-font-b);
  font-size: 12px;
  font-weight: 500;
  color: var(--nav-red-bright);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s var(--nav-spring);
}

.tv-nav-dd-footer-link:hover { gap: 7px; }

.tv-nav-dd-footer-link svg {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

/* ── §18.11  RIGHT SIDE — CTA + HAMBURGER ────────────────────── */
.tv-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* CTA button */
.tv-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  font-family: var(--nav-font-b);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: var(--nav-red);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s var(--nav-ease),
              box-shadow 0.22s var(--nav-ease);
}

/* Shine sweep */
.tv-nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
  transition: left 0.45s var(--nav-ease);
  pointer-events: none;
}

.tv-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--nav-red-glow);
  color: #fff;
}

.tv-nav-cta:hover::before { left: 160%; }
.tv-nav-cta:active        { transform: translateY(0); }

.tv-nav-cta-arrow {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform 0.22s var(--nav-spring);
}

.tv-nav-cta:hover .tv-nav-cta-arrow { transform: translate(2px, -2px); }

/* ── §18.12  HAMBURGER ───────────────────────────────────────── */
.tv-nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--nav-white-10);
  background: var(--nav-white-06);
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.tv-nav-hamburger:hover {
  background: var(--nav-white-10);
  border-color: rgba(26, 26, 46, 0.15);
}

.tv-nav-ham-line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--nav-white-80);
  border-radius: 2px;
  transition: transform 0.35s var(--nav-ease),
              opacity 0.25s var(--nav-ease),
              width 0.3s var(--nav-ease);
  transform-origin: center center;
}

.tv-nav-ham-line:nth-child(3) { width: 12px; }

/* Open state — morphs lines to × */
.tv-nav-hamburger[aria-expanded="true"] .tv-nav-ham-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
  width: 18px;
}
.tv-nav-hamburger[aria-expanded="true"] .tv-nav-ham-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.tv-nav-hamburger[aria-expanded="true"] .tv-nav-ham-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  width: 18px;
}

/* ── §18.13  MOBILE MENU ─────────────────────────────────────── */
.tv-nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 8998;
  display: flex;
  flex-direction: column;
  padding: 100px 28px 48px;
  overflow-y: auto;
  background: rgba(6, 6, 6, 0.97);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.38s var(--nav-ease),
              visibility 0s 0.38s;
}

/* WP admin bar offsets for mobile menu */
body.admin-bar .tv-nav-mobile { top: 32px; }

@media screen and (max-width: 782px) {
  body.admin-bar .tv-nav-mobile { top: 46px; }
}
@media screen and (max-width: 600px) {
  body.admin-bar .tv-nav-mobile { top: 0; }
}

/* Ambient red radial glow */
.tv-nav-mobile::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 57, 43, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.tv-nav-mobile.tv-nav-mob-open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transition: opacity 0.38s var(--nav-ease), visibility 0s 0s;
}

/* Mobile nav list */
.tv-nav-mob-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.tv-nav-mob-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s var(--nav-ease),
              transform 0.45s var(--nav-ease);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Staggered entrance */
.tv-nav-mob-open .tv-nav-mob-item:nth-child(1) { opacity:1; transform:none; transition-delay:0.04s; }
.tv-nav-mob-open .tv-nav-mob-item:nth-child(2) { opacity:1; transform:none; transition-delay:0.09s; }
.tv-nav-mob-open .tv-nav-mob-item:nth-child(3) { opacity:1; transform:none; transition-delay:0.14s; }
.tv-nav-mob-open .tv-nav-mob-item:nth-child(4) { opacity:1; transform:none; transition-delay:0.19s; }
.tv-nav-mob-open .tv-nav-mob-item:nth-child(5) { opacity:1; transform:none; transition-delay:0.24s; }
.tv-nav-mob-open .tv-nav-mob-item:nth-child(6) { opacity:1; transform:none; transition-delay:0.29s; }
.tv-nav-mob-open .tv-nav-mob-item:nth-child(7) { opacity:1; transform:none; transition-delay:0.34s; }

.tv-nav-mob-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  color: rgba(245,240,235,0.45);
  transition: color 0.2s;
}

.tv-nav-mob-link:hover { color: rgba(245,240,235,1); }

.tv-nav-mob-label {
  font-family: var(--nav-font-d);
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}

.tv-nav-mob-num {
  font-family: var(--nav-font-b);
  font-size: 11px;
  color: rgba(245,240,235,0.20);
  letter-spacing: 0.06em;
}

/* Mobile footer */
.tv-nav-mob-footer {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s var(--nav-ease) 0.38s,
              transform 0.45s var(--nav-ease) 0.38s;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tv-nav-mob-open .tv-nav-mob-footer { opacity: 1; transform: none; }

.tv-nav-mob-contacts { display: flex; flex-direction: column; gap: 4px; }

.tv-nav-mob-contact-link {
  font-family: var(--nav-font-b);
  font-size: 14px;
  color: rgba(245,240,235,0.30);
  transition: color 0.2s;
}

.tv-nav-mob-contact-link:hover { color: rgba(245,240,235,0.60); }

.tv-nav-mob-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--nav-red);
  color: #fff;
  font-family: var(--nav-font-b);
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  width: fit-content;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255,255,255,0.08);
}

.tv-nav-mob-cta svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── §18.14  HEADER RESPONSIVE BREAKPOINTS ───────────────────── */
@media (max-width: 1060px) {
  .tv-nav-links     { display: none; }
  .tv-nav-cta       { display: none; }
  .tv-nav-hamburger { display: flex; }
}

@media (max-width: 480px) {
  .tv-nav-header  { --nav-px: 20px; }
  .tv-nav-mobile  { padding-left: 20px; padding-right: 20px; }
}

/* ── §18.15  ACCESSIBILITY ───────────────────────────────────── */
.tv-nav-link:focus-visible,
.tv-nav-cta:focus-visible,
.tv-nav-hamburger:focus-visible,
.tv-nav-dd-item:focus-visible,
.tv-nav-mob-link:focus-visible {
  outline: 2px solid var(--nav-red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tv-nav-header,
  .tv-nav-glass,
  .tv-nav-inner,
  .tv-nav-link,
  .tv-nav-link::after,
  .tv-nav-dropdown,
  .tv-nav-cta,
  .tv-nav-mobile,
  .tv-nav-mob-item,
  .tv-nav-mob-footer,
  .tv-nav-lm-ring,
  .tv-nav-lm-tick {
    transition: none;
    animation: none;
  }
  .tv-nav-lm-ring { stroke-dashoffset: 0; }
  .tv-nav-lm-tick { stroke-dashoffset: 0; }
}

/* Home v2 */

/* ── TOKENS ────────────────────────────────────────────────── */
.tv-hp {
  --c-red:      #C0392B;
  --c-red-b:    #E04535;
  --c-red-glow: rgba(192,57,43,0.22);
  --c-red-tint: rgba(192,57,43,0.10);
  --c-dark:     #080808;
  --c-dark2:    #0e0e0e;
  --c-dark3:    #141414;
  --c-dark4:    #1c1c1c;
  --c-white:    #F5F0EB;
  --c-w70:      rgba(245,240,235,0.70);
  --c-w45:      rgba(245,240,235,0.45);
  --c-w20:      rgba(245,240,235,0.20);
  --c-w08:      rgba(245,240,235,0.08);
  --c-w04:      rgba(245,240,235,0.04);
  --c-bdr:      rgba(255,255,255,0.07);
  --c-bdrm:     rgba(255,255,255,0.11);
  --font-d: 	'Neulis Sans Font', system-ui, sans-serif;
  --font-b:     'Neulis Sans Font', system-ui, sans-serif;
  --ease:       cubic-bezier(0.25,0.46,0.45,0.94);
  --spring:     cubic-bezier(0.34,1.56,0.64,1);
  --smooth:     cubic-bezier(0.16,1,0.3,1);
  --max:        1200px;
  --px:         32px;
}

/* ── SCOPED RESET ──────────────────────────────────────────── */
.tv-hp *, .tv-hp *::before, .tv-hp *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}
.tv-hp a  { text-decoration: none; color: inherit; }
.tv-hp ul { list-style: none; }
.tv-hp img { display: block; width: 100%; }

/* ── PAGE SHELL ────────────────────────────────────────────── */
.tv-hp {
  background: var(--c-dark);
  color: var(--c-white);
  font-family: var(--font-b);
  overflow-x: hidden;
}

/* ── SHARED COMPONENTS ─────────────────────────────────────── */
.tv-hp-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--px);
}

.tv-hp-section {
  padding: 100px 0;
}

.tv-hp-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 16px;
}

.tv-hp-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--c-red);
  flex-shrink: 0;
}

.tv-hp-h2 {
  font-family: var(--font-d);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--c-white);
  margin-bottom: 18px;
}

.tv-hp-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-w45);
  max-width: 540px;
}

.tv-hp-divider {
  height: 1px;
  background: var(--c-bdr);
}

/* Buttons */
.tv-hp-btn-p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--c-red);
  color: #fff;
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 500;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.10);
  position: relative; overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
  letter-spacing: 0.01em;
}
.tv-hp-btn-p::before {
  content: '';
  position: absolute; top: 0; left: -70%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.4s var(--ease);
}
.tv-hp-btn-p:hover { color:#fff; transform: translateY(-1px); box-shadow: 0 8px 24px var(--c-red-glow); }
.tv-hp-btn-p:hover::before { left: 140%; }

.tv-hp-btn-s {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  color: var(--c-w70);
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 500;
  border-radius: 9px;
  border: 1px solid var(--c-bdrm);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.tv-hp-btn-s:hover { color: var(--c-white); border-color: var(--c-w20); background: var(--c-w04); }

.tv-hp-arr {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.22s var(--spring);
}
.tv-hp-btn-p:hover .tv-hp-arr,
.tv-hp-btn-s:hover .tv-hp-arr { transform: translate(2px,-2px); }

/* Chip / tag */
.tv-hp-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 5px;
  border: 1px solid var(--c-bdrm);
  color: var(--c-w45);
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.tv-hp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/* Full-bleed hero image */
.tv-hp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tv-hp-hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.35) saturate(0.8);
  transform: scale(1.04);
  animation: tv-hp-hero-zoom 8s var(--ease) forwards;
}

@keyframes tv-hp-hero-zoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.00); }
}

/* Gradient overlay */
.tv-hp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8,8,8,0.30) 0%,
    rgba(8,8,8,0.10) 35%,
    rgba(8,8,8,0.60) 70%,
    rgba(8,8,8,0.96) 100%
  );
  z-index: 1;
}

/* Left red accent line */
.tv-hp-hero-accent {
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 2px;
  background: linear-gradient(
    180deg, transparent 0%, var(--c-red) 30%, var(--c-red) 70%, transparent 100%
  );
  z-index: 2;
  opacity: 0;
  animation: tv-hp-fade-in 1s var(--ease) 0.8s forwards;
}

@keyframes tv-hp-fade-in {
  to { opacity: 1; }
}

/* Hero content */
.tv-hp-hero-content {
  position: relative;
  z-index: 3;
  padding: 0 var(--px) 80px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.tv-hp-hero-label {
  opacity: 0;
  animation: tv-hp-slide-up 0.7s var(--smooth) 0.3s both;
}

.tv-hp-hero-h1 {
  font-family: var(--font-d);
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--c-white);
  margin-bottom: 24px;
  max-width: 850px;
  opacity: 0;
  animation: tv-hp-slide-up 0.8s var(--smooth) 0.5s both;
}

.tv-hp-hero-h1 em {
  font-style: normal;
  color: var(--c-red);
}

.tv-hp-hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--c-w45);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
  opacity: 0;
  animation: tv-hp-slide-up 0.8s var(--smooth) 0.7s both;
}

.tv-hp-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: tv-hp-slide-up 0.8s var(--smooth) 0.9s both;
}

@keyframes tv-hp-slide-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero stats strip */
.tv-hp-hero-stats {
  position: relative;
  z-index: 3;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--px);
  width: 100%;
  margin-bottom: -1px;
  opacity: 0;
  animation: tv-hp-fade-in 1s var(--ease) 1.2s both;
}

.tv-hp-hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--c-bdrm);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  background: rgba(10,10,10,0.80);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}

.tv-hp-stat {
  padding: 24px 28px;
  border-right: 1px solid var(--c-bdr);
}
.tv-hp-stat:last-child { border-right: none; }

.tv-hp-stat-num {
  font-family: var(--font-d);
  font-size: 36px;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.tv-hp-stat-num span { color: var(--c-red); }

.tv-hp-stat-label {
  font-size: 12px;
  color: var(--c-w45);
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════════════════════
   INTRO BAND
══════════════════════════════════════════════════════════════ */
.tv-hp-intro {
  background: var(--c-dark2);
  border-bottom: 1px solid var(--c-bdr);
  padding: 72px 0;
}

.tv-hp-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tv-hp-intro-text .tv-hp-h2 { font-size: clamp(28px, 3.5vw, 44px); }

.tv-hp-intro-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tv-hp-pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-bdr);
}
.tv-hp-pillar:first-child { padding-top: 0; }
.tv-hp-pillar:last-child  { border-bottom: none; padding-bottom: 0; }

.tv-hp-pillar-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--c-red-tint);
  border: 1px solid rgba(192,57,43,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.tv-hp-pillar-icon svg {
  width: 16px; height: 16px;
  stroke: var(--c-red-b); fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

.tv-hp-pillar-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-white);
  margin-bottom: 4px;
}

.tv-hp-pillar-desc {
  font-size: 13px;
  color: var(--c-w45);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════════════ */
.tv-hp-services {
  background: var(--c-dark);
  padding: 100px 0;
}

.tv-hp-services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}

.tv-hp-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-bdr);
  border: 1px solid var(--c-bdr);
  border-radius: 14px;
  overflow: hidden;
}

.tv-hp-svc-card {
  background: var(--c-dark2);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background 0.3s var(--ease);
}

.tv-hp-svc-card:hover { background: var(--c-dark3); }

/* Image area */
.tv-hp-svc-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.tv-hp-svc-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.7);
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}

.tv-hp-svc-card:hover .tv-hp-svc-img {
  transform: scale(1.05);
  filter: brightness(0.65) saturate(0.8);
}

/* Number badge */
.tv-hp-svc-num {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--c-red);
  background: rgba(8,8,8,0.75);
  border: 1px solid rgba(192,57,43,0.25);
  padding: 3px 9px;
  border-radius: 5px;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}

/* Body */
.tv-hp-svc-body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tv-hp-svc-title {
  font-family: var(--font-d);
  font-size: 17px;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tv-hp-svc-desc {
  font-size: 13px;
  color: var(--c-w45);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}

.tv-hp-svc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tv-hp-svc-stack {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.tv-hp-svc-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--c-red);
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  transition: gap 0.2s var(--spring);
}
.tv-hp-svc-link:hover { gap: 7px; }
.tv-hp-svc-link svg {
  width: 11px; height: 11px; stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Featured service (spans 2 cols) */
.tv-hp-svc-card.tv-hp-svc-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.tv-hp-svc-featured .tv-hp-svc-img-wrap {
  height: 100%;
  min-height: 240px;
}

/* ══════════════════════════════════════════════════════════════
   CASE STUDIES
══════════════════════════════════════════════════════════════ */
.tv-hp-cases {
  background: var(--c-dark2);
  padding: 100px 0;
}

.tv-hp-cases-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}

/* Featured case study — full bleed */
.tv-hp-case-featured {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 480px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-end;
}

.tv-hp-case-featured-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tv-hp-case-featured-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.tv-hp-case-featured:hover .tv-hp-case-featured-img img {
  transform: scale(1.03);
}

.tv-hp-case-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,8,8,0.95) 0%,
    rgba(8,8,8,0.50) 50%,
    rgba(8,8,8,0.10) 100%
  );
  z-index: 1;
}

.tv-hp-case-featured-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  width: 100%;
}

.tv-hp-case-meta {
  font-size: 11px;
  color: var(--c-w45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tv-hp-case-meta::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-red);
  flex-shrink: 0;
}

.tv-hp-case-featured-title {
  font-family: var(--font-d);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--c-white);
  margin-bottom: 12px;
  max-width: 600px;
}

.tv-hp-case-featured-desc {
  font-size: 14px;
  color: var(--c-w45);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 24px;
}

.tv-hp-case-metrics {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tv-hp-case-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tv-hp-case-metric-num {
  font-family: var(--font-d);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-red);
  line-height: 1;
  letter-spacing: -0.03em;
}

.tv-hp-case-metric-lbl {
  font-size: 11px;
  color: var(--c-w45);
  letter-spacing: 0.04em;
}

.tv-hp-case-featured-footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Case study grid */
.tv-hp-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tv-hp-case-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--c-bdr);
  background: var(--c-dark3);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s;
}

.tv-hp-case-card:hover { border-color: var(--c-bdrm); }

.tv-hp-case-card-img {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.tv-hp-case-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.6) saturate(0.8);
  transition: transform 0.6s var(--ease), filter 0.4s;
}

.tv-hp-case-card:hover .tv-hp-case-card-img img {
  transform: scale(1.05);
  filter: brightness(0.7) saturate(0.9);
}

.tv-hp-case-card-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tv-hp-case-card-title {
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.tv-hp-case-card-desc {
  font-size: 13px;
  color: var(--c-w45);
  line-height: 1.6;
  flex: 1;
}

.tv-hp-case-card-stats {
  display: flex;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--c-bdr);
  margin-top: auto;
}

.tv-hp-case-card-stat-num {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-red);
  line-height: 1;
  letter-spacing: -0.02em;
}

.tv-hp-case-card-stat-lbl {
  font-size: 10px;
  color: var(--c-w45);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════════════════════════
   HOW WE WORK (Process)
══════════════════════════════════════════════════════════════ */
.tv-hp-process {
  background: var(--c-dark);
  padding: 100px 0;
}

.tv-hp-process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tv-hp-process-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.tv-hp-process-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.65) saturate(0.75);
}

/* Overlay stat on image */
.tv-hp-process-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(8,8,8,0.85);
  border: 1px solid var(--c-bdrm);
  border-radius: 12px;
  padding: 16px 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tv-hp-process-badge-num {
  font-family: var(--font-d);
  font-size: 32px;
  font-weight: 700;
  color: var(--c-red);
  line-height: 1;
  letter-spacing: -0.03em;
}

.tv-hp-process-badge-lbl {
  font-size: 12px;
  color: var(--c-w45);
  margin-top: 3px;
}

/* Red corner accent */
.tv-hp-process-img-wrap::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 60px;
  background: var(--c-red);
  border-radius: 0 0 3px 0;
}

.tv-hp-process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tv-hp-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--c-bdr);
  position: relative;
  transition: background 0.2s;
}

.tv-hp-step:last-child { border-bottom: none; }

.tv-hp-step-num {
  font-family: var(--font-d);
  font-size: 32px;
  font-weight: 800;
  color: var(--c-w08);
  line-height: 1;
  letter-spacing: -0.04em;
  min-width: 48px;
  flex-shrink: 0;
  transition: color 0.25s;
}

.tv-hp-step:hover .tv-hp-step-num { color: var(--c-red); }

.tv-hp-step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-white);
  margin-bottom: 5px;
}

.tv-hp-step-desc {
  font-size: 13px;
  color: var(--c-w45);
  line-height: 1.65;
}

.tv-hp-step-time {
  margin-left: auto;
  font-size: 11px;
  color: var(--c-red);
  background: var(--c-red-tint);
  border: 1px solid rgba(192,57,43,0.18);
  padding: 3px 9px;
  border-radius: 5px;
  flex-shrink: 0;
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 2px;
}

/* ══════════════════════════════════════════════════════════════
   SOCIAL PROOF — LOGOS + QUOTE
══════════════════════════════════════════════════════════════ */
.tv-hp-proof {
  background: var(--c-dark2);
  padding: 80px 0;
  border-top: 1px solid var(--c-bdr);
  border-bottom: 1px solid var(--c-bdr);
}

.tv-hp-proof-label {
  text-align: center;
  margin-bottom: 32px;
}

.tv-hp-client-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.tv-hp-client-logo {
  padding: 16px 32px;
  border-right: 1px solid var(--c-bdr);
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-w20);
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.tv-hp-client-logo:last-child { border-right: none; }
.tv-hp-client-logo:hover { color: var(--c-w45); }

/* Testimonial */
.tv-hp-testimonial {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.tv-hp-quote-mark {
  font-family: Georgia, serif;
  font-size: 72px;
  color: var(--c-red);
  line-height: 0.6;
  margin-bottom: 24px;
  display: block;
}

.tv-hp-quote-text {
  font-family: var(--font-d);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--c-white);
  line-height: 1.45;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.tv-hp-quote-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.tv-hp-quote-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-red-tint);
  border: 1px solid rgba(192,57,43,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-red-b);
  flex-shrink: 0;
}

.tv-hp-quote-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-white);
  text-align: left;
}

.tv-hp-quote-role {
  font-size: 12px;
  color: var(--c-w45);
  text-align: left;
  margin-top: 1px;
}

.tv-hp-stars {
  color: var(--c-red);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: block;
}

/* ══════════════════════════════════════════════════════════════
   ENGAGEMENT MODELS
══════════════════════════════════════════════════════════════ */
.tv-hp-models {
  background: var(--c-dark);
  padding: 100px 0;
}

.tv-hp-models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.tv-hp-model-card {
  border: 1px solid var(--c-bdr);
  border-radius: 14px;
  overflow: hidden;
  background: var(--c-dark2);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, background 0.25s;
  position: relative;
}

.tv-hp-model-card:hover {
  border-color: var(--c-bdrm);
  background: var(--c-dark3);
}

.tv-hp-model-card.tv-hp-model-featured {
  border-color: rgba(192,57,43,0.30);
  border-top: 2px solid var(--c-red);
}

.tv-hp-model-img {
  height: 160px;
  overflow: hidden;
  position: relative;
}

.tv-hp-model-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.6);
  transition: transform 0.6s var(--ease), filter 0.4s;
}

.tv-hp-model-card:hover .tv-hp-model-img img {
  transform: scale(1.05);
  filter: brightness(0.55) saturate(0.7);
}

.tv-hp-model-badge {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 10px; font-weight: 700;
  color: var(--c-red-b);
  background: rgba(8,8,8,0.80);
  border: 1px solid rgba(192,57,43,0.25);
  padding: 3px 9px;
  border-radius: 5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.tv-hp-model-body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tv-hp-model-title {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: -0.02em;
}

.tv-hp-model-desc {
  font-size: 13px;
  color: var(--c-w45);
  line-height: 1.65;
  flex: 1;
}

.tv-hp-model-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--c-bdr);
  margin-top: 4px;
}

.tv-hp-model-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--c-w45);
}

.tv-hp-model-list-item::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-red);
  flex-shrink: 0;
  opacity: 0.7;
}

/* ══════════════════════════════════════════════════════════════
   FINAL CTA SECTION
══════════════════════════════════════════════════════════════ */
.tv-hp-cta {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: var(--c-dark2);
}

/* Full-bleed CTA background image */
.tv-hp-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tv-hp-cta-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.15) saturate(0.5);
}

.tv-hp-cta-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8,8,8,0.92) 0%,
    rgba(8,8,8,0.75) 60%,
    rgba(192,57,43,0.08) 100%
  );
}

.tv-hp-cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--px);
}

.tv-hp-cta-h2 {
  font-family: var(--font-d);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--c-white);
  margin-bottom: 18px;
}

.tv-hp-cta-h2 em { font-style: normal; color: var(--c-red); }

.tv-hp-cta-sub {
  font-size: 17px;
  color: var(--c-w45);
  line-height: 1.7;
  margin-bottom: 36px;
}

.tv-hp-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.tv-hp-cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.tv-hp-cta-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--c-w45);
}

.tv-hp-cta-trust-item::before {
  content: '';
  display: block;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--c-red-tint);
  border: 1px solid rgba(192,57,43,0.25);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8.5L6.5 11L12 5' stroke='%23E04535' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .tv-hp { --px: 24px; }
  .tv-hp-services-grid { grid-template-columns: 1fr 1fr; }
  .tv-hp-svc-card.tv-hp-svc-featured { grid-column: span 2; }
  .tv-hp-cases-grid { grid-template-columns: 1fr 1fr; }
  .tv-hp-process-grid { gap: 48px; }
  .tv-hp-models-grid { grid-template-columns: 1fr 1fr; }
  .tv-hp-hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .tv-hp-stat:nth-child(2) { border-right: none; }
  .tv-hp-stat:nth-child(3) { border-top: 1px solid var(--c-bdr); }
  .tv-hp-stat:nth-child(4) { border-top: 1px solid var(--c-bdr); border-right: none; }
}

@media (max-width: 768px) {
  .tv-hp { --px: 20px; }
  .tv-hp-section { padding: 72px 0; }
  .tv-hp-intro-grid    { grid-template-columns: 1fr; gap: 48px; }
  .tv-hp-services-grid { grid-template-columns: 1fr; }
  .tv-hp-svc-card.tv-hp-svc-featured { grid-column: span 1; display: flex; flex-direction: column; }
  .tv-hp-svc-featured .tv-hp-svc-img-wrap { height: 200px; }
  .tv-hp-cases-grid    { grid-template-columns: 1fr; }
  .tv-hp-process-grid  { grid-template-columns: 1fr; }
  .tv-hp-models-grid   { grid-template-columns: 1fr; }
  .tv-hp-services-head { flex-direction: column; align-items: flex-start; }
  .tv-hp-cases-head    { flex-direction: column; align-items: flex-start; }
  .tv-hp-case-featured { height: 380px; }
  .tv-hp-client-logo   { padding: 12px 18px; font-size: 13px; }
}

@media (max-width: 480px) {
  .tv-hp-hero-stats-inner { grid-template-columns: 1fr 1fr; }
  .tv-hp-hero-actions { flex-direction: column; }
  .tv-hp-hero-actions a { width: 100%; justify-content: center; }
  .tv-hp-case-featured { height: 320px; }
  .tv-hp-case-featured-content { padding: 24px; }
}

