/* =========================================================================
   TechVero — Layout & Components
   ========================================================================= */

/* ---------- Layout helpers ---------- */
.tv-container { width: 100%; max-width: var(--tv-maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.tv-site-main { position: relative; z-index: 1; }

section { position: relative; }

/* ---------- Buttons ---------- */
.tv-btn {
  --b: var(--tv-primary);
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--tv-font-head);
  font-weight: 600; font-size: .95rem; line-height: 1;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s var(--tv-ease), box-shadow .25s var(--tv-ease), background .25s var(--tv-ease), color .25s var(--tv-ease);
  white-space: nowrap; text-decoration: none;
}
.tv-btn svg { fill: currentColor; transition: transform .25s var(--tv-ease); }
.tv-btn:hover svg { transform: translateX(3px); }
.tv-btn--primary { background: var(--tv-grad); color: #fff; box-shadow: 0 10px 26px rgba(91,74,230,.32); }
.tv-btn--primary:hover { color:#fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(91,74,230,.42); }
.tv-btn--ghost { background: rgba(255,255,255,.6); color: var(--tv-ink); border-color: var(--tv-line); backdrop-filter: blur(6px); }
.tv-btn--ghost:hover { color: var(--tv-primary); transform: translateY(-2px); border-color: var(--tv-primary); }
.tv-btn--sm { padding: 11px 18px; font-size: .85rem; }

/* ---------- Eyebrows & section heads ---------- */
.tv-eyebrow {
  display: inline-block; font-family: var(--tv-font-head); font-weight: 700;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--tv-primary); margin-bottom: 14px;
}
.tv-eyebrow--center { display: block; text-align: center; }

.tv-section-head { max-width: 680px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.tv-section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; }
.tv-section-head p { color: var(--tv-muted); font-size: 1.05rem; }
.tv-section-head--left { margin-left: 0; text-align: left; }

/* ---------- Background orbs ---------- */
.tv-bg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.tv-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; will-change: transform; }
.tv-orb-1 { width: 460px; height: 460px; top: -120px; right: -80px; background: radial-gradient(circle at 30% 30%, #b9a9ff, transparent 70%); }
.tv-orb-2 { width: 380px; height: 380px; top: 40%; left: -140px; background: radial-gradient(circle at 30% 30%, #9fd6ff, transparent 70%); }
.tv-orb-3 { width: 420px; height: 420px; bottom: -160px; right: 10%; background: radial-gradient(circle at 30% 30%, #d9c4ff, transparent 70%); }

/* =========================================================================
   Header / Navigation
   ========================================================================= */
.tv-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s var(--tv-ease), box-shadow .3s var(--tv-ease), padding .3s var(--tv-ease);
  padding: 14px 0;
}
.tv-header.is-stuck {
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 6px 30px rgba(22,20,46,.08);
  padding: 8px 0;
}
.tv-header__inner { display: flex; align-items: center; gap: 24px; }
.tv-header__brand { margin-right: auto; }
.tv-header__brand img { max-height: 40px; width: auto; }

.tv-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--tv-font-head); font-weight: 800; font-size: 1.25rem; color: var(--tv-ink); letter-spacing: -.01em; }
.tv-logo__dot { width: 14px; height: 14px; border-radius: 5px; background: var(--tv-grad); box-shadow: 0 4px 12px rgba(91,74,230,.5); display: inline-block; }
.tv-logo--light { color: #fff; }

.tv-menu { display: flex; align-items: center; gap: 6px; }
.tv-menu li { position: relative; }
.tv-menu a { display: inline-block; padding: 9px 14px; border-radius: 10px; color: var(--tv-body); font-weight: 500; font-size: .95rem; transition: color .2s, background .2s; }
.tv-menu a:hover, .tv-menu .current-menu-item > a, .tv-menu a.is-active { color: var(--tv-primary); background: var(--tv-primary-soft); }
/* simple dropdown */
.tv-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 200px; background: #fff; border: 1px solid var(--tv-line); border-radius: 14px; box-shadow: var(--tv-shadow); padding: 8px; display: none; }
.tv-menu li:hover > .sub-menu { display: block; }

.tv-header__cta { margin-left: 4px; }

/* Burger */
.tv-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--tv-line); background: #fff; border-radius: 12px; cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.tv-burger span { width: 20px; height: 2px; background: var(--tv-ink); border-radius: 2px; transition: transform .3s var(--tv-ease), opacity .2s; }
.tv-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tv-burger.is-open span:nth-child(2) { opacity: 0; }
.tv-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   Hero
   ========================================================================= */
.tv-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); }
.tv-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.tv-hero__title { font-size: clamp(2.4rem, 5.6vw, 4.1rem); font-weight: 800; letter-spacing: -.03em; }
.tv-hero__title::after { content: ""; display: block; width: 84px; height: 6px; border-radius: 6px; background: var(--tv-grad); margin-top: 22px; }
.tv-hero__text { font-size: 1.12rem; color: var(--tv-muted); max-width: 32em; }
.tv-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 38px; }
.tv-hero__stats { display: flex; gap: clamp(24px, 5vw, 56px); }
.tv-stat__num { display: block; font-family: var(--tv-font-head); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--tv-ink); }
.tv-stat__label { font-size: .85rem; color: var(--tv-muted); }

/* Hero glass dashboard */
.tv-hero__visual { position: relative; }
.tv-hero__glow { position: absolute; inset: 8% 6% 8% 6%; background: var(--tv-grad); filter: blur(70px); opacity: .28; z-index: -1; border-radius: 40px; }
.tv-dash {
  background: linear-gradient(160deg, rgba(255,255,255,.92), rgba(255,255,255,.74));
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--tv-radius-lg);
  box-shadow: var(--tv-shadow-lg);
  padding: 22px; backdrop-filter: blur(12px);
}
.tv-dash__head { display: flex; justify-content: space-between; align-items: center; font-family: var(--tv-font-head); font-weight: 700; color: var(--tv-ink); font-size: .98rem; margin-bottom: 16px; }
.tv-dash__live { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--tv-green); font-weight: 700; }
.tv-dash__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--tv-green); box-shadow: 0 0 0 0 rgba(22,192,138,.6); animation: tv-pulse 1.8s infinite; }
.tv-dash__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.tv-dash__card { background: var(--tv-bg-2); border: 1px solid var(--tv-line); border-radius: var(--tv-radius-sm); padding: 14px; }
.tv-dash__card--wide { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
.tv-dash__label { display: block; font-size: .72rem; color: var(--tv-muted); margin-bottom: 6px; }
.tv-dash__card strong { font-family: var(--tv-font-head); font-size: 1.15rem; color: var(--tv-ink); display: block; }
.tv-dash__card small { font-size: .72rem; color: var(--tv-muted); }
.tv-dash__card .tv-up { color: var(--tv-green); }
.tv-dash__icon { width: 40px; height: 40px; display: grid; place-items: center; background: var(--tv-primary-soft); border-radius: 12px; font-size: 1.2rem; }
.tv-dash__pipeline { background: var(--tv-bg-2); border: 1px solid var(--tv-line); border-radius: var(--tv-radius-sm); padding: 14px; }
.tv-dash__pipeline-head { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 600; color: var(--tv-ink); margin-bottom: 10px; }
.tv-dash__pipeline-head a { font-size: .74rem; }
.tv-dash__pipeline ul { display: grid; gap: 9px; }
.tv-dash__pipeline li { display: flex; align-items: center; gap: 9px; font-size: .8rem; color: var(--tv-body); }
.tv-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.tv-dot--green { background: var(--tv-green); } .tv-dot--violet { background: var(--tv-violet); } .tv-dot--cyan { background: var(--tv-cyan); }

/* Stars */
.tv-stars { display: inline-flex; gap: 2px; }
.tv-stars svg { fill: var(--tv-gold); }

/* =========================================================================
   Trust bar
   ========================================================================= */
.tv-trust { padding: 8px 0 4px; }
.tv-trust__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.tv-trust p { color: var(--tv-muted); max-width: 44em; margin: 0; }

/* =========================================================================
   AI models marquee
   ========================================================================= */
.tv-models { padding: clamp(40px,6vw,64px) 0; }
.tv-models__label { text-align: center; font-family: var(--tv-font-head); font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tv-muted); margin-bottom: 26px; }
.tv-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tv-marquee__track { display: flex; gap: 14px; width: max-content; animation: tv-marquee 32s linear infinite; }
.tv-marquee:hover .tv-marquee__track { animation-play-state: paused; }
.tv-chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; background: #fff; border: 1px solid var(--tv-line); border-radius: 999px; font-family: var(--tv-font-head); font-weight: 600; color: var(--tv-ink); box-shadow: var(--tv-shadow-sm); }
.tv-chip__star { color: var(--tv-primary); }

/* =========================================================================
   Why / Features
   ========================================================================= */
.tv-why { padding: var(--tv-section-y) 0; }
.tv-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--tv-gap); }
.tv-feature { background: #fff; border: 1px solid var(--tv-line); border-radius: var(--tv-radius); padding: 30px; box-shadow: var(--tv-shadow-sm); transition: box-shadow .3s var(--tv-ease); }
.tv-feature:hover { box-shadow: var(--tv-shadow); }
.tv-feature__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--tv-primary-soft); color: var(--tv-primary); font-size: 1.4rem; margin-bottom: 18px; }
.tv-feature h3 { font-size: 1.2rem; }
.tv-feature p { color: var(--tv-muted); margin: 0; font-size: .96rem; }

/* =========================================================================
   Services
   ========================================================================= */
.tv-services { padding: var(--tv-section-y) 0; }
.tv-services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--tv-gap); }
.tv-service { position: relative; background: #fff; border: 1px solid var(--tv-line); border-radius: var(--tv-radius); padding: 34px; box-shadow: var(--tv-shadow-sm); overflow: hidden; transition: box-shadow .3s var(--tv-ease); }
.tv-service::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--tv-grad); transform: scaleY(0); transform-origin: bottom; transition: transform .35s var(--tv-ease); }
.tv-service:hover { box-shadow: var(--tv-shadow); }
.tv-service:hover::before { transform: scaleY(1); }
.tv-service__num { font-family: var(--tv-font-head); font-weight: 800; font-size: .85rem; color: var(--tv-primary); letter-spacing: .1em; }
.tv-service h3 { font-size: 1.4rem; margin: 12px 0 10px; }
.tv-service p { color: var(--tv-muted); margin: 0; max-width: 38em; }
.tv-service__arrow { position: absolute; top: 30px; right: 30px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--tv-primary-soft); color: var(--tv-primary); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; }
.tv-service__arrow svg { fill: currentColor; }
.tv-service:hover .tv-service__arrow { opacity: 1; transform: translateX(0); }
.tv-services__cta { text-align: center; margin-top: clamp(36px,5vw,52px); }

/* =========================================================================
   Social proof
   ========================================================================= */
.tv-proof { padding: var(--tv-section-y) 0; }
.tv-proof__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--tv-gap); }
.tv-review { background: #fff; border: 1px solid var(--tv-line); border-radius: var(--tv-radius); padding: 28px; box-shadow: var(--tv-shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.tv-review__quote { color: var(--tv-body); font-size: 1rem; margin: 0; }
.tv-review__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tv-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--tv-grad); color: #fff; font-family: var(--tv-font-head); font-weight: 700; }
.tv-review__who strong { display: block; color: var(--tv-ink); font-size: .92rem; }
.tv-review__who small { color: var(--tv-muted); font-size: .8rem; }

/* =========================================================================
   About
   ========================================================================= */
.tv-about { padding: var(--tv-section-y) 0; }
.tv-about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px,5vw,72px); align-items: center; }
.tv-about__media { position: relative; }
.tv-about__img { border-radius: var(--tv-radius-lg); overflow: hidden; box-shadow: var(--tv-shadow-lg); }
.tv-about__img-inner { aspect-ratio: 4/3; background: linear-gradient(135deg, #5b4ae6 0%, #7c5cff 50%, #19b8e8 100%); position: relative; display: grid; place-items: end start; padding: 22px; }
.tv-about__img-inner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.35), transparent 45%); }
.tv-about__badge { position: relative; z-index: 1; background: rgba(255,255,255,.92); color: var(--tv-ink); font-weight: 600; font-size: .82rem; padding: 8px 14px; border-radius: 999px; }
.tv-about__float { position: absolute; right: -10px; bottom: -22px; background: #fff; border: 1px solid var(--tv-line); border-radius: 16px; padding: 14px 20px; box-shadow: var(--tv-shadow); text-align: center; }
.tv-about__float strong { display: block; font-family: var(--tv-font-head); font-weight: 800; font-size: 1.6rem; color: var(--tv-primary); }
.tv-about__float small { color: var(--tv-muted); font-size: .76rem; }
.tv-about__copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.tv-checklist { display: grid; gap: 12px; margin: 22px 0 28px; }
.tv-checklist li { position: relative; padding-left: 34px; color: var(--tv-body); }
.tv-checklist li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--tv-primary-soft); }
.tv-checklist li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 8px; height: 5px; border-left: 2px solid var(--tv-primary); border-bottom: 2px solid var(--tv-primary); transform: rotate(-45deg); }

/* =========================================================================
   CTA band
   ========================================================================= */
.tv-cta-band { padding: clamp(48px,7vw,96px) 0 clamp(64px,8vw,110px); }
.tv-cta-band__inner { position: relative; text-align: center; background: var(--tv-grad-soft); border: 1px solid var(--tv-line); border-radius: var(--tv-radius-lg); padding: clamp(40px,6vw,72px) clamp(24px,5vw,64px); overflow: hidden; box-shadow: var(--tv-shadow); }
.tv-cta-band__inner::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: var(--tv-grad); filter: blur(80px); opacity: .22; top: -120px; left: 50%; transform: translateX(-50%); }
.tv-cta-band__inner h2 { position: relative; font-size: clamp(1.7rem, 4vw, 2.8rem); font-weight: 800; max-width: 16em; margin-inline: auto; }
.tv-cta-band__inner p { position: relative; color: var(--tv-muted); max-width: 40em; margin: 0 auto 28px; }
.tv-cta-band__actions { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* =========================================================================
   Footer
   ========================================================================= */
.tv-footer { background: var(--tv-footer); color: var(--tv-footer-ink); padding: clamp(56px,7vw,88px) 0 28px; position: relative; z-index: 1; }
.tv-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(28px,4vw,48px); }
.tv-footer__brand p { margin: 16px 0 20px; max-width: 30em; color: var(--tv-footer-ink); }
.tv-footer__brand img { max-height: 38px; width: auto; filter: brightness(0) invert(1); }
.tv-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.tv-footer__col ul { display: grid; gap: 11px; }
.tv-footer__col a { color: var(--tv-footer-ink); font-size: .95rem; }
.tv-footer__col a:hover { color: #fff; }
.tv-footer__note { font-size: .85rem; opacity: .8; }
.tv-footer__col .tv-btn { margin-top: 16px; }
.tv-socials { display: flex; gap: 10px; }
.tv-social { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #fff; transition: background .25s, transform .25s; }
.tv-social svg { fill: currentColor; }
.tv-social:hover { background: var(--tv-grad); color: #fff; transform: translateY(-3px); }
.tv-footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.tv-footer__bottom p { margin: 0; font-size: .86rem; }
.tv-footer__legal-menu { display: flex; gap: 22px; }
.tv-footer__legal-menu a { color: var(--tv-footer-ink); font-size: .86rem; }
.tv-footer__legal-menu a:hover { color: #fff; }

/* Back to top */
.tv-totop { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: none; background: var(--tv-grad); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(91,74,230,.4); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s, transform .3s, visibility .3s; }
.tv-totop svg { fill: currentColor; }
.tv-totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* =========================================================================
   Inner pages (Our Work / Legal / generic / blog)
   ========================================================================= */
.tv-page-hero { padding: clamp(72px,10vw,140px) 0 clamp(28px,5vw,48px); text-align: center; }
.tv-page-hero--work, .tv-page-hero--legal { text-align: left; }
.tv-page-hero__title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
.tv-page-hero__sub { color: var(--tv-muted); font-size: 1.08rem; max-width: 44em; margin-inline: auto; }
.tv-page-hero--work .tv-page-hero__sub, .tv-page-hero--legal .tv-page-hero__sub { margin-inline: 0; }
.tv-page-body { padding: 0 0 var(--tv-section-y); }

/* Prose */
.tv-prose { max-width: 760px; color: var(--tv-body); font-size: 1.05rem; }
.tv-prose h2 { font-size: 1.6rem; margin: 1.6em 0 .5em; }
.tv-prose h3 { font-size: 1.25rem; margin: 1.4em 0 .4em; }
.tv-prose p, .tv-prose ul, .tv-prose ol { margin-bottom: 1.1em; }
.tv-prose ul { list-style: disc; padding-left: 1.3em; }
.tv-prose ol { list-style: decimal; padding-left: 1.3em; }
.tv-prose a { text-decoration: underline; }
.tv-prose img { border-radius: var(--tv-radius); margin: 1.4em 0; }
.tv-page-body__media img { border-radius: var(--tv-radius-lg); box-shadow: var(--tv-shadow); margin-bottom: 2em; }

/* Legal */
.tv-legal { padding: 0 0 var(--tv-section-y); }
.tv-legal__wrap { display: flex; justify-content: center; }
.tv-legal__doc { background: #fff; border: 1px solid var(--tv-line); border-radius: var(--tv-radius-lg); padding: clamp(28px,5vw,56px); box-shadow: var(--tv-shadow-sm); width: 100%; }
.tv-legal__placeholder { background: var(--tv-primary-soft); border-radius: var(--tv-radius); padding: 22px 24px; }

/* Work grid */
.tv-work { padding: 0 0 var(--tv-section-y); }
.tv-work__filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.tv-filter { font-family: var(--tv-font-head); font-weight: 600; font-size: .9rem; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--tv-line); background: #fff; color: var(--tv-body); cursor: pointer; transition: all .25s var(--tv-ease); }
.tv-filter:hover { border-color: var(--tv-primary); color: var(--tv-primary); }
.tv-filter.is-active { background: var(--tv-grad); color: #fff; border-color: transparent; }
.tv-work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--tv-gap); }
.tv-work-card { background: #fff; border: 1px solid var(--tv-line); border-radius: var(--tv-radius); overflow: hidden; box-shadow: var(--tv-shadow-sm); transition: box-shadow .3s var(--tv-ease), opacity .35s, transform .35s; }
.tv-work-card:hover { box-shadow: var(--tv-shadow); }
.tv-work-card.is-hidden { display: none; }
.tv-work-card__thumb { aspect-ratio: 4/3; position: relative; display: grid; place-items: start; padding: 16px; }
.tv-work-card__thumb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 15%, rgba(255,255,255,.32), transparent 50%); }
.tv-work-card__tag { position: relative; z-index: 1; background: rgba(255,255,255,.9); color: var(--tv-ink); font-size: .74rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.tv-work-card__body { padding: 20px 22px 24px; }
.tv-work-card__body h3 { font-size: 1.2rem; margin-bottom: 4px; }
.tv-work-card__body p { color: var(--tv-muted); margin: 0; font-size: .92rem; }

/* Blog */
.tv-blog__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--tv-gap); }
.tv-card { background:#fff; border:1px solid var(--tv-line); border-radius: var(--tv-radius); overflow:hidden; box-shadow: var(--tv-shadow-sm); }
.tv-card__media img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.tv-card__body { padding: 22px; }
.tv-card__title { font-size: 1.2rem; }
.tv-link-arrow { font-family: var(--tv-font-head); font-weight: 600; }
.pagination, .navigation { margin-top: 40px; display:flex; gap:8px; }
.pagination .page-numbers { display:inline-grid; place-items:center; min-width:42px; height:42px; padding:0 12px; border-radius:12px; border:1px solid var(--tv-line); background:#fff; color:var(--tv-ink); }
.pagination .current { background: var(--tv-grad); color:#fff; border-color:transparent; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
  .tv-hero__grid { grid-template-columns: 1fr; }
  .tv-hero__visual { max-width: 520px; }
  .tv-about__grid { grid-template-columns: 1fr; }
  .tv-about__media { max-width: 520px; }
  .tv-feature-grid, .tv-proof__grid, .tv-work__grid, .tv-blog__grid { grid-template-columns: repeat(2, 1fr); }
  .tv-footer__grid { grid-template-columns: 1fr 1fr; }
  .tv-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  /* Mobile nav */
  .tv-header__cta { display: none; }
  .tv-burger { display: inline-flex; }
  .tv-nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    background: #fff; box-shadow: -20px 0 60px rgba(22,20,46,.18);
    transform: translateX(105%); transition: transform .4s var(--tv-ease);
    padding: 92px 26px 32px; z-index: 99; overflow-y: auto;
  }
  .tv-nav.is-open { transform: translateX(0); }
  .tv-menu { flex-direction: column; align-items: stretch; gap: 4px; }
  .tv-menu a { padding: 13px 16px; font-size: 1.05rem; }
  body.tv-nav-open { overflow: hidden; }
  .tv-nav-overlay { position: fixed; inset: 0; background: rgba(20,18,42,.4); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 98; }
  .tv-nav-overlay.is-open { opacity: 1; visibility: visible; }
}

@media (max-width: 640px) {
  .tv-feature-grid, .tv-services__grid, .tv-proof__grid, .tv-work__grid, .tv-blog__grid { grid-template-columns: 1fr; }
  .tv-dash__cards { grid-template-columns: 1fr 1fr; }
  .tv-section-head { text-align: center; }
  .tv-section-head--left { text-align: left; }
  .tv-footer__grid { grid-template-columns: 1fr; }
  .tv-footer__bottom { flex-direction: column; align-items: flex-start; }
  .tv-hero__stats { gap: 22px; }
  .tv-about__float { right: 10px; }
}
