/*
 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.
   ================================================================ */

/* ── CSS CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  /* Brand */
  --tv-red:          #C0392B;
  --tv-red-dark:     #96271C;
  --tv-red-glow:     rgba(192, 57, 43, 0.15);
  --tv-red-subtle:   rgba(192, 57, 43, 0.08);

  /* Surface */
  --tv-bg:           #0A0A0A;
  --tv-surface-1:    #111111;
  --tv-surface-2:    #161616;
  --tv-surface-3:    #1C1C1C;
  --tv-surface-hover:#1F1F1F;

  /* Borders */
  --tv-border:       rgba(255,255,255,0.07);
  --tv-border-md:    rgba(255,255,255,0.11);
  --tv-border-red:   rgba(192,57,43,0.4);

  /* Text */
  --tv-text-primary: #F4F4F2;
  --tv-text-secondary: #8A8A85;
  --tv-text-muted:   #555550;
  --tv-text-red:     #E05C4E;

  /* Typography */
  --tv-font-display:  'Neulis Sans Font', system-ui, sans-serif;
  --tv-font-body:  'Neulis Sans Font', system-ui, sans-serif;

  /* Spacing scale */
  --tv-space-xs:  8px;
  --tv-space-sm:  16px;
  --tv-space-md:  24px;
  --tv-space-lg:  48px;
  --tv-space-xl:  80px;
  --tv-space-2xl: 120px;

  /* Layout */
  --tv-max-width: 1280px;
  --tv-gutter:    48px;

  /* Radii */
  --tv-radius-sm: 6px;
  --tv-radius-md: 10px;
  --tv-radius-lg: 16px;
  --tv-radius-xl: 24px;

  /* Transitions */
  --tv-ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --tv-dur:       0.35s;
}

.tv-page *,
.tv-page *::before,
.tv-page *::after {
  box-sizing: border-box;
}

/* ── RESET (scoped, won't override Bricks) ──────────────────── */
.tv-page *, .tv-page *::before, .tv-page *::after {
  box-sizing: border-box;
}
.tv-page {
  font-family: var(--tv-font-body);
  background: var(--tv-bg);
  color: var(--tv-text-primary);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.tv-page a { color: inherit; text-decoration: none; }
.tv-page img { display: block; max-width: 100%; }
.tv-page button { font-family: var(--tv-font-body); cursor: pointer; }

/* ── UTILITY ─────────────────────────────────────────────────── */
.tv-container {
  max-width: var(--tv-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--tv-gutter);
  padding-right: var(--tv-gutter);
}
.tv-section        { padding: var(--tv-xl, 80px) 0; }
.tv-section--lg    { padding: var(--tv-2xl, 120px) 0; }
.tv-section--sm    { padding: var(--tv-space-lg) 0; }
.tv-divider        { height: 1px; background: var(--tv-border); margin: 0; }

.tv-label {
  display: inline-block;
  font-family: var(--tv-font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tv-text-red);
  margin-bottom: 14px;
}
.tv-h1 {
  font-family: var(--tv-font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--tv-text-primary);
}
.tv-h2 {
  font-family: var(--tv-font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--tv-text-primary);
}
.tv-h3 {
  font-family: var(--tv-font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--tv-text-primary);
}
.tv-body-lg {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--tv-text-secondary);
}
.tv-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--tv-text-secondary);
}
.tv-accent { color: var(--tv-red); }

/* Buttons */
.tv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--tv-radius-md);
  font-family: var(--tv-font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--tv-dur) var(--tv-ease);
  border: none;
  white-space: nowrap;
}
.tv-btn--primary {
  background: var(--tv-red);
  color: #fff;
}
.tv-btn--primary:hover {
  background: var(--tv-red-dark);
  transform: translateY(-1px);
}
.tv-btn--ghost {
  background: transparent;
  color: var(--tv-text-primary);
  border: 1px solid var(--tv-border-md);
}
.tv-btn--ghost:hover {
  border-color: rgba(255,255,255,0.25);
  background: var(--tv-surface-2);
}
.tv-btn--lg {
  padding: 16px 36px;
  font-size: 16px;
}
.tv-btn svg { width: 16px; height: 16px; }

/* Tags / Pills */
.tv-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.tv-tag--red   { background: var(--tv-red-subtle); color: var(--tv-text-red); border: 1px solid var(--tv-border-red); }
.tv-tag--gray  { background: var(--tv-surface-2); color: var(--tv-text-secondary); border: 1px solid var(--tv-border); }
.tv-tag--green { background: rgba(16, 90, 44, 0.25); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.2); }
.tv-tag--dot::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* Old Nav Copied */
/* ── §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; }
}



/* Cards */
.tv-card {
  background: var(--tv-surface-1);
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-lg);
  transition: border-color var(--tv-dur) var(--tv-ease), transform var(--tv-dur) var(--tv-ease);
}
.tv-card:hover {
  border-color: var(--tv-border-md);
  transform: translateY(-2px);
}
.tv-card--featured {
  border-color: var(--tv-border-red);
  background: linear-gradient(135deg, #140d0b 0%, #1a0f0d 100%);
}
.tv-card--featured:hover {
  border-color: rgba(192,57,43,0.6);
}

/* Grid helpers */
.tv-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--tv-space-md); }
.tv-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--tv-space-md); }
.tv-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--tv-space-md); }
.tv-flex-between { display: flex; justify-content: space-between; align-items: center; }
.tv-flex-center   { display: flex; align-items: center; }

/* ── NOISE TEXTURE OVERLAY ──────────────────────────────────── */
.tv-noise::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  z-index: 0;
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.tv-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--tv-border);
}
.tv-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.tv-nav-logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.tv-nav-logo {
  height: 28px;
  width: auto;
  color: var(--tv-text-primary);
}
.tv-nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
}
.tv-nav__links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--tv-text-secondary);
  transition: color 0.2s;
}
.tv-nav__links a:hover { color: var(--tv-text-primary); }
.tv-nav__cta { display: flex; align-items: center; gap: 12px; }


/* ============================================================
   HERO
   ============================================================ */
.tv-hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
/* Radial glow */
.tv-hero::before {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(192,57,43,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.tv-hero__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}
.tv-hero__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.tv-hero__headline {
  margin-bottom: 28px;
}
.tv-hero__headline em {
  font-style: normal;
  color: var(--tv-red);
}
.tv-hero__sub {
  max-width: 500px;
  margin-bottom: 40px;
}
.tv-hero__actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* Hero image stack */
.tv-hero__visual {
  position: relative;
}
.tv-hero__img-main {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--tv-radius-xl);
  border: 1px solid var(--tv-border);
}
.tv-hero__badge {
  position: absolute;
  bottom: -20px;
  left: -32px;
  background: var(--tv-surface-2);
  border: 1px solid var(--tv-border-md);
  border-radius: var(--tv-radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.tv-hero__badge-icon {
  width: 36px; height: 36px;
  background: var(--tv-red-subtle);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tv-red);
  font-size: 18px;
  flex-shrink: 0;
}
.tv-hero__badge-text { font-size: 13px; font-weight: 500; color: var(--tv-text-primary); }
.tv-hero__badge-sub  { font-size: 11px; color: var(--tv-text-secondary); }
.tv-hero__badge2 {
  position: absolute;
  top: -16px;
  right: -24px;
  background: var(--tv-surface-2);
  border: 1px solid var(--tv-border-md);
  border-radius: var(--tv-radius-md);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
}
.tv-hero__badge2-num {
  font-family: var(--tv-font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--tv-text-primary);
  line-height: 1;
}
.tv-hero__badge2-num span { color: var(--tv-red); }
.tv-hero__badge2-label { font-size: 11px; color: var(--tv-text-secondary); }

/* ── METRICS BAR ─────────────────────────────────────────────── */
.tv-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--tv-border);
  border-bottom: 1px solid var(--tv-border);
  margin-top: 72px;
}
.tv-metric {
  padding: 32px var(--tv-space-lg);
  border-right: 1px solid var(--tv-border);
  position: relative;
}
.tv-metric:last-child { border-right: none; }
.tv-metric__num {
  font-family: var(--tv-font-display);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--tv-text-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.tv-metric__num .tv-accent { font-size: 28px; vertical-align: super; }
.tv-metric__label { font-size: 13px; color: var(--tv-text-secondary); line-height: 1.4; }


/* ============================================================
   LOGO MARQUEE
   ============================================================ */
.tv-logos { padding: 40px 0; overflow: hidden; }
.tv-logos__label {
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tv-text-muted);
  margin-bottom: 28px;
}
.tv-logos__track {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.tv-logos__item {
  font-family: var(--tv-font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--tv-text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s;
}
.tv-logos__item:hover { color: var(--tv-text-secondary); }


/* ============================================================
   WHY SECTION
   ============================================================ */
.tv-why { padding: var(--tv-space-xl) 0; }
.tv-why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.tv-why__left {}
.tv-why__lead { max-width: 440px; margin-bottom: 36px; }
.tv-why__right {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tv-why__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--tv-radius-md);
  transition: background var(--tv-dur) var(--tv-ease);
}
.tv-why__item:hover { background: var(--tv-surface-2); }
.tv-why__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--tv-red);
  flex-shrink: 0;
  margin-top: 6px;
}
.tv-why__item-title { font-size: 15px; font-weight: 500; color: var(--tv-text-primary); margin-bottom: 4px; }
.tv-why__item-text  { font-size: 14px; color: var(--tv-text-secondary); line-height: 1.65; }

/* ── COMPARISON TABLE ──────────────────────────────────────── */
.tv-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}
.tv-compare__col {
  border-radius: var(--tv-radius-md);
  overflow: hidden;
  border: 1px solid var(--tv-border);
}
.tv-compare__head {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.tv-compare__col--bad  .tv-compare__head { background: var(--tv-surface-2); color: var(--tv-text-muted); }
.tv-compare__col--good .tv-compare__head { background: var(--tv-red-subtle); color: var(--tv-text-red); }
.tv-compare__list { list-style: none; margin: 0; padding: 0; }
.tv-compare__list li {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--tv-text-secondary);
  border-top: 1px solid var(--tv-border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.tv-compare__list li::before { font-size: 12px; }
.tv-compare__col--bad  .tv-compare__list li::before { content: '✕'; color: #6b4040; }
.tv-compare__col--good .tv-compare__list li::before { content: '✓'; color: var(--tv-text-red); }


/* ============================================================
   SERVICES
   ============================================================ */
.tv-services { padding: var(--tv-space-xl) 0; }
.tv-services__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}
.tv-services__note {
  max-width: 280px;
  font-size: 14px;
  color: var(--tv-text-secondary);
  text-align: right;
  line-height: 1.6;
}
.tv-service-card {
  padding: 28px;
  border-radius: var(--tv-radius-lg);
  background: var(--tv-surface-1);
  border: 1px solid var(--tv-border);
  transition: border-color var(--tv-dur) var(--tv-ease), transform var(--tv-dur) var(--tv-ease);
  display: flex;
  flex-direction: column;
}
.tv-service-card:hover {
  border-color: var(--tv-border-red);
  transform: translateY(-3px);
}
.tv-service-card--featured {
  border-color: var(--tv-border-red);
  background: linear-gradient(145deg, #140d0b 0%, var(--tv-surface-1) 100%);
}
.tv-service-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--tv-radius-sm);
  background: var(--tv-red-subtle);
  border: 1px solid var(--tv-border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.tv-service-card__icon svg { width: 20px; height: 20px; color: var(--tv-red); }
.tv-service-card__title { font-family: var(--tv-font-display); font-size: 17px; font-weight: 700; color: var(--tv-text-primary); margin-bottom: 10px; }
.tv-service-card__text  { font-size: 14px; color: var(--tv-text-secondary); line-height: 1.7; flex: 1; margin-bottom: 18px; }
.tv-service-card__pills { display: flex; gap: 6px; flex-wrap: wrap; }
.tv-pill {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  background: var(--tv-surface-3);
  color: var(--tv-text-muted);
  border: 1px solid var(--tv-border);
}


/* ============================================================
   CASE STUDIES
   ============================================================ */
.tv-cases { padding: var(--tv-space-xl) 0; }
.tv-cases__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}
.tv-case-card {
  background: var(--tv-surface-1);
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-xl);
  overflow: hidden;
  transition: border-color var(--tv-dur) var(--tv-ease), transform var(--tv-dur) var(--tv-ease);
}
.tv-case-card:hover {
  border-color: var(--tv-border-md);
  transform: translateY(-3px);
}
.tv-case-card__img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: var(--tv-surface-2);
}
.tv-case-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s var(--tv-ease);
}
.tv-case-card:hover .tv-case-card__img-wrap img { transform: scale(1.04); }
.tv-case-card__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--tv-surface-1));
  pointer-events: none;
}
.tv-case-card__body { padding: 24px; }
.tv-case-card__meta { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.tv-case-card__title { font-family: var(--tv-font-display); font-size: 18px; font-weight: 700; color: var(--tv-text-primary); margin-bottom: 8px; }
.tv-case-card__desc  { font-size: 14px; color: var(--tv-text-secondary); line-height: 1.6; margin-bottom: 20px; }
.tv-case-card__results { border-top: 1px solid var(--tv-border); padding-top: 16px; }
.tv-result-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--tv-border);
}
.tv-result-row:last-child { border-bottom: none; }
.tv-result-row__label { flex: 1; color: var(--tv-text-secondary); }
.tv-result-row__bar   { flex: 2; height: 3px; background: var(--tv-surface-3); border-radius: 100px; overflow: hidden; }
.tv-result-row__fill  { height: 100%; background: var(--tv-red); border-radius: 100px; }
.tv-result-row__val   { font-weight: 600; color: var(--tv-text-primary); min-width: 44px; text-align: right; font-family: var(--tv-font-display); font-size: 13px; }
.tv-case-card__footer { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.tv-case-card__week   { font-size: 12px; color: var(--tv-text-muted); }

/* Featured wide case */
.tv-case-card--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.tv-case-card--wide .tv-case-card__img-wrap {
  height: 100%;
  min-height: 320px;
}
.tv-case-card--wide .tv-case-card__overlay {
  background: linear-gradient(90deg, transparent, var(--tv-surface-1));
  top: 0; height: 100%;
}


/* ============================================================
   PROCESS
   ============================================================ */
.tv-process { padding: var(--tv-space-xl) 0; }
.tv-process__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.tv-process__steps { display: flex; flex-direction: column; }
.tv-process__step {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--tv-border);
  position: relative;
}
.tv-process__step:first-child { padding-top: 0; }
.tv-process__step:last-child  { border-bottom: none; }
.tv-process__num {
  font-family: var(--tv-font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--tv-red);
  letter-spacing: 0.08em;
  min-width: 32px;
  padding-top: 2px;
}
.tv-process__step-title { font-size: 15px; font-weight: 600; color: var(--tv-text-primary); margin-bottom: 5px; }
.tv-process__step-text  { font-size: 14px; color: var(--tv-text-secondary); line-height: 1.65; }
.tv-process__week {
  margin-left: auto;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  background: var(--tv-surface-2);
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-sm);
  padding: 4px 10px;
  color: var(--tv-text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.tv-process__week--live {
  background: rgba(16, 90, 44, 0.2);
  border-color: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}


/* ============================================================
   ENGAGEMENT MODELS
   ============================================================ */
.tv-engage { padding: var(--tv-space-xl) 0; }
.tv-engage__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.tv-engage-card { padding: 32px; border-radius: var(--tv-radius-xl); border: 1px solid var(--tv-border); background: var(--tv-surface-1); display: flex; flex-direction: column; }
.tv-engage-card--mid { border-color: var(--tv-border-red); background: linear-gradient(145deg, #160a08 0%, var(--tv-surface-1) 100%); }
.tv-engage-card__eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--tv-text-red); margin-bottom: 12px; }
.tv-engage-card__title { font-family: var(--tv-font-display); font-size: 22px; font-weight: 700; color: var(--tv-text-primary); margin-bottom: 8px; }
.tv-engage-card__sub   { font-size: 12px; color: var(--tv-text-muted); margin-bottom: 20px; }
.tv-engage-card__text  { font-size: 14px; color: var(--tv-text-secondary); line-height: 1.75; flex: 1; margin-bottom: 28px; }
.tv-engage-card__btn   { width: 100%; text-align: center; justify-content: center; }


/* ============================================================
   TESTIMONIAL
   ============================================================ */
.tv-social { padding: var(--tv-space-xl) 0; background: var(--tv-surface-1); }
.tv-social__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.tv-testimonial__quote {
  font-family: var(--tv-font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--tv-text-primary);
  margin-bottom: 28px;
}
.tv-testimonial__quote em { font-style: normal; color: var(--tv-red); }
.tv-testimonial__author { display: flex; align-items: center; gap: 14px; }
.tv-testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--tv-red-subtle);
  border: 2px solid var(--tv-border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tv-font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--tv-red);
  flex-shrink: 0;
}
.tv-testimonial__name { font-size: 14px; font-weight: 600; color: var(--tv-text-primary); }
.tv-testimonial__role { font-size: 12px; color: var(--tv-text-secondary); }
.tv-social__right { display: flex; flex-direction: column; gap: 16px; }
.tv-stat-card {
  background: var(--tv-surface-2);
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.tv-stat-card__num { font-family: var(--tv-font-display); font-size: 36px; font-weight: 800; color: var(--tv-text-primary); line-height: 1; flex-shrink: 0; }
.tv-stat-card__num span { color: var(--tv-red); }
.tv-stat-card__label { font-size: 14px; color: var(--tv-text-secondary); line-height: 1.5; }


/* ============================================================
   CTA SECTION
   ============================================================ */
.tv-cta-section { padding: var(--tv-space-xl) 0 var(--tv-space-2xl); }
.tv-cta-block {
  background: var(--tv-red);
  border-radius: var(--tv-radius-xl);
  padding: 64px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  position: relative;
  overflow: hidden;
}
.tv-cta-block::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.tv-cta-block::after {
  content: '';
  position: absolute;
  left: 40%; bottom: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(0,0,0,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.tv-cta-block__eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.tv-cta-block__heading {
  font-family: var(--tv-font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  max-width: 500px;
}
.tv-cta-block__right { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; flex-shrink: 0; position: relative; z-index: 1; }
.tv-cta-block__contact { font-size: 13px; color: rgba(255,255,255,0.65); text-align: right; }
.tv-btn--white { background: #fff; color: var(--tv-red); }
.tv-btn--white:hover { background: #f5f5f5; transform: translateY(-1px); }
.tv-btn--outline-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.tv-btn--outline-white:hover { background: rgba(255,255,255,0.1); }


/* ============================================================
   FOOTER
   ============================================================ */
.tv-footer {
  border-top: 1px solid var(--tv-border);
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tv-footer__logo { height: 22px; width: auto; color: var(--tv-text-secondary); }
.tv-footer__meta { font-size: 13px; color: var(--tv-text-muted); }
.tv-footer__links { display: flex; gap: 24px; }
.tv-footer__links a { font-size: 13px; color: var(--tv-text-muted); transition: color 0.2s; }
.tv-footer__links a:hover { color: var(--tv-text-secondary); }


/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes tv-fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tv-anim-1 { animation: tv-fadeUp 0.7s var(--tv-ease) both; }
.tv-anim-2 { animation: tv-fadeUp 0.7s var(--tv-ease) 0.1s both; }
.tv-anim-3 { animation: tv-fadeUp 0.7s var(--tv-ease) 0.2s both; }
.tv-anim-4 { animation: tv-fadeUp 0.7s var(--tv-ease) 0.3s both; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --tv-gutter: 32px; }
  .tv-hero__grid, .tv-why__inner, .tv-process__inner, .tv-social__inner { grid-template-columns: 1fr; gap: 48px; }
  .tv-hero__visual { display: none; }
  .tv-grid-3 { grid-template-columns: 1fr 1fr; }
  .tv-case-card--wide { grid-column: span 1; display: block; }
  .tv-case-card--wide .tv-case-card__img-wrap { height: 220px; }
}
@media (max-width: 768px) {
  :root { --tv-gutter: 20px; }
  .tv-nav__links { display: none; }
  .tv-metrics { grid-template-columns: 1fr 1fr; }
  .tv-metric { border-right: none; border-bottom: 1px solid var(--tv-border); }
  .tv-services__header, .tv-cases__header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .tv-services__note { text-align: left; max-width: 100%; }
  .tv-grid-3, .tv-grid-2, .tv-engage__grid { grid-template-columns: 1fr; }
  .tv-compare { grid-template-columns: 1fr; }
  .tv-cta-block { flex-direction: column; padding: 40px 32px; }
  .tv-cta-block__right { align-items: flex-start; }
  .tv-footer { flex-direction: column; gap: 24px; text-align: center; }
}