/*
Theme Name:   TagViibe OceanWP Child
Theme URI:    https://www.tagviibe.com/
Description:  OceanWP Child Theme for TagViibe — a premium IT & software company. Inspired by a clean, dark-navy branded aesthetic with indigo/violet accent palette. Built for high performance and conversion.
Author:       TagViibe
Author URI:   https://www.tagviibe.com/
Template:     oceanwp
Version:      1.0.0
Text Domain:  tagviibe-child
Tags: oceanwp, child-theme, software, technology, dark, clean
*/

/* ============================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Brand Colors */
  --tv-navy:          #050d1f;
  --tv-navy-2:        #0b1a38;
  --tv-navy-3:        #0f2255;
  --tv-indigo:        #3b4fd8;
  --tv-indigo-light:  #5a72f5;
  --tv-violet:        #7c3aed;
  --tv-violet-soft:   #a78bfa;
  --tv-gold:          #f0b429;
  --tv-gold-soft:     #fcd97d;

  /* Neutrals */
  --tv-white:         #ffffff;
  --tv-off-white:     #f4f6ff;
  --tv-muted:         #8b9cb8;
  --tv-border:        rgba(255,255,255,0.08);
  --tv-border-blue:   rgba(90,114,245,0.18);

  /* Typography */
  --tv-font-display:  'Syne', sans-serif;
  --tv-font-body:     'DM Sans', sans-serif;

  /* Spacing */
  --tv-section-pad:   80px 48px;
  --tv-radius-sm:     8px;
  --tv-radius-md:     12px;
  --tv-radius-lg:     16px;
  --tv-radius-xl:     20px;

  /* Shadows */
  --tv-shadow-glow:   0 6px 24px rgba(90,114,245,0.35);
  --tv-shadow-card:   0 4px 24px rgba(0,0,0,0.3);
}

/* ============================================================
   2. GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ============================================================
   3. GLOBAL RESETS & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--tv-font-body);
  background-color: var(--tv-navy);
  color: var(--tv-white);
  line-height: 1.6;
  font-size: 15px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--tv-indigo-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--tv-violet-soft);
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================================
   4. TYPOGRAPHY OVERRIDES
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--tv-font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--tv-white);
}

h1 { font-size: clamp(32px, 5vw, 56px); letter-spacing: -1.5px; }
h2 { font-size: clamp(26px, 3.5vw, 40px); letter-spacing: -0.8px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 15px; }

p {
  font-family: var(--tv-font-body);
  font-weight: 300;
  color: var(--tv-muted);
  line-height: 1.75;
}

strong {
  font-weight: 500;
  color: var(--tv-white);
}

/* ============================================================
   5. OCEANWP OVERRIDES — HEADER / TOPBAR
   ============================================================ */

/* Top Bar */
#top-bar-wrap {
  background-color: var(--tv-indigo) !important;
  border-bottom: none !important;
}

#top-bar,
#top-bar a,
#top-bar .top-bar-right,
#top-bar .top-bar-left {
  color: rgba(255,255,255,0.9) !important;
  font-family: var(--tv-font-body) !important;
  font-size: 12px !important;
  letter-spacing: 0.03em !important;
}

/* Header */
#site-header,
#site-header-inner {
  background-color: rgba(5, 13, 31, 0.96) !important;
  border-bottom: 1px solid var(--tv-border) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

/* Sticky Header */
#site-header.is-sticky {
  background-color: rgba(5, 13, 31, 0.98) !important;
  box-shadow: 0 4px 32px rgba(0,0,0,0.5) !important;
}

/* Logo text */
#site-logo a,
#site-logo .site-logo-text {
  font-family: var(--tv-font-display) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--tv-white) !important;
  letter-spacing: -0.3px !important;
}

/* Nav links */
#site-navigation-wrap .dropdown-menu > li > a,
.oceanwp-mobile-menu-icon a {
  font-family: var(--tv-font-body) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--tv-muted) !important;
  letter-spacing: 0.01em !important;
  transition: color 0.2s ease !important;
}

#site-navigation-wrap .dropdown-menu > li > a:hover,
#site-navigation-wrap .dropdown-menu > li.current-menu-item > a {
  color: var(--tv-white) !important;
}

/* Nav dropdown */
#site-navigation-wrap .dropdown-menu ul {
  background: var(--tv-navy-2) !important;
  border: 1px solid var(--tv-border) !important;
  border-radius: var(--tv-radius-md) !important;
  box-shadow: var(--tv-shadow-card) !important;
  padding: 8px 0 !important;
}

#site-navigation-wrap .dropdown-menu ul li a {
  color: var(--tv-muted) !important;
  padding: 9px 18px !important;
  font-size: 13px !important;
}

#site-navigation-wrap .dropdown-menu ul li a:hover {
  background: rgba(90,114,245,0.1) !important;
  color: var(--tv-white) !important;
}

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn,
.button,
button[type="submit"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button {
  font-family: var(--tv-font-body) !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  border-radius: var(--tv-radius-sm) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}

/* Primary Button */
.tv-btn-primary,
.oceanwp-button,
.elementor-button-wrapper .elementor-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px !important;
  background: linear-gradient(135deg, var(--tv-indigo) 0%, var(--tv-violet) 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--tv-radius-sm) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  box-shadow: var(--tv-shadow-glow) !important;
  transition: all 0.25s ease !important;
}

.tv-btn-primary:hover,
.oceanwp-button:hover,
.elementor-button-wrapper .elementor-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 32px rgba(90,114,245,0.45) !important;
  color: #fff !important;
}

/* Ghost Button */
.tv-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--tv-muted);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--tv-radius-sm);
  font-size: 14px;
  transition: all 0.2s ease;
}

.tv-btn-ghost:hover {
  color: var(--tv-white);
  border-color: rgba(255,255,255,0.3);
}

/* ============================================================
   7. HERO SECTION
   ============================================================ */
.tv-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: var(--tv-section-pad);
  background-color: var(--tv-navy);
  overflow: hidden;
}

.tv-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 700px 500px at 70% 40%, rgba(90,114,245,0.1) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 20% 80%, rgba(124,58,237,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 300px 300px at 85% 85%, rgba(240,180,41,0.03) 0%, transparent 60%);
}

.tv-hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(59,79,216,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,79,216,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.tv-hero__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.tv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,79,216,0.12);
  border: 1px solid rgba(90,114,245,0.25);
  border-radius: 24px;
  padding: 6px 16px;
  font-family: var(--tv-font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--tv-violet-soft);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.tv-eyebrow__dot {
  width: 6px;
  height: 6px;
  background: var(--tv-violet-soft);
  border-radius: 50%;
  animation: tv-pulse 2s ease-in-out infinite;
}

@keyframes tv-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.tv-hero__title {
  font-family: var(--tv-font-display) !important;
  font-size: clamp(34px, 5vw, 56px) !important;
  font-weight: 800 !important;
  letter-spacing: -1.5px !important;
  line-height: 1.1 !important;
  color: var(--tv-white) !important;
  margin-bottom: 20px !important;
}

.tv-hero__title .accent { color: var(--tv-violet-soft); }
.tv-hero__title .gold   { color: var(--tv-gold); }

.tv-hero__desc {
  font-size: 16px;
  font-weight: 300;
  color: var(--tv-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}

.tv-hero__ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Hero Stats Bar */
.tv-stats-bar {
  display: flex;
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-lg);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  overflow: hidden;
  width: fit-content;
}

.tv-stats-bar__item {
  padding: 18px 32px;
  border-right: 1px solid var(--tv-border);
  text-align: center;
}

.tv-stats-bar__item:last-child {
  border-right: none;
}

.tv-stats-bar__num {
  font-family: var(--tv-font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--tv-white);
  letter-spacing: -0.5px;
  line-height: 1;
}

.tv-stats-bar__num span { color: var(--tv-indigo-light); }

.tv-stats-bar__label {
  font-size: 11px;
  color: var(--tv-muted);
  margin-top: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Code Card in Hero */
.tv-hero__visual {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  max-width: 440px;
  z-index: 1;
}

.tv-code-card {
  background: rgba(11,26,56,0.75);
  border: 1px solid rgba(90,114,245,0.2);
  border-radius: var(--tv-radius-lg);
  padding: 24px 28px;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  font-family: 'Courier New', 'Monaco', monospace;
  font-size: 13px;
  line-height: 2;
}

.tv-code-card__dots {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.tv-code-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.tv-code-card__dot--red    { background: #ff5f57; }
.tv-code-card__dot--yellow { background: #febc2e; }
.tv-code-card__dot--green  { background: #28c840; }

.tv-code-kw  { color: #c792ea; }
.tv-code-fn  { color: #82aaff; }
.tv-code-str { color: #c3e88d; }
.tv-code-cm  { color: #546e7a; }
.tv-code-num { color: var(--tv-gold); }

/* ============================================================
   8. TICKER / MARQUEE
   ============================================================ */
.tv-ticker {
  background: var(--tv-navy-2);
  border-top: 1px solid var(--tv-border);
  border-bottom: 1px solid var(--tv-border);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.tv-ticker__track {
  display: inline-flex;
  gap: 56px;
  animation: tv-ticker 22s linear infinite;
  width: max-content;
}

.tv-ticker__track:hover { animation-play-state: paused; }

.tv-ticker__item {
  font-family: var(--tv-font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tv-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.tv-ticker__item::after {
  content: '◆';
  color: var(--tv-indigo);
  font-size: 8px;
}

@keyframes tv-ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   9. SECTION WRAPPERS
   ============================================================ */
.tv-section {
  padding: var(--tv-section-pad);
}

.tv-section--dark {
  background-color: var(--tv-navy-2);
}

.tv-section--alt {
  background: linear-gradient(180deg, var(--tv-navy) 0%, var(--tv-navy-2) 100%);
}

.tv-section__header {
  margin-bottom: 44px;
}

.tv-section__header--center {
  text-align: center;
}

.tv-section__header--center .tv-section__sub {
  margin-left: auto;
  margin-right: auto;
}

.tv-chip {
  display: inline-block;
  background: rgba(90,114,245,0.1);
  border: 1px solid rgba(90,114,245,0.2);
  color: var(--tv-indigo-light);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 24px;
  margin-bottom: 14px;
}

.tv-section__title {
  font-family: var(--tv-font-display) !important;
  font-size: clamp(26px, 3.5vw, 40px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.8px !important;
  line-height: 1.2 !important;
  color: var(--tv-white) !important;
  margin-bottom: 12px !important;
}

.tv-section__sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--tv-muted);
  line-height: 1.6;
  max-width: 520px;
}

/* ============================================================
   10. CLIENTS LOGOS ROW
   ============================================================ */
.tv-clients-row {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-lg);
  overflow: hidden;
  margin-top: 36px;
}

.tv-clients-row__item {
  flex: 1;
  padding: 22px 16px;
  border-right: 1px solid var(--tv-border);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%) opacity(0.4);
  transition: filter 0.25s ease;
}

.tv-clients-row__item:last-child { border-right: none; }
.tv-clients-row__item:hover { filter: grayscale(0%) opacity(1); }

/* ============================================================
   11. RESULTS / PROOF CARDS
   ============================================================ */
.tv-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.tv-result-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.tv-result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tv-indigo), var(--tv-violet));
}

.tv-result-card:hover {
  border-color: rgba(90,114,245,0.4);
  transform: translateY(-4px);
}

.tv-result-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(90,114,245,0.12);
  border: 1px solid rgba(90,114,245,0.2);
  color: var(--tv-indigo-light);
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tv-result-card__num {
  font-family: var(--tv-font-display);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  background: linear-gradient(135deg, var(--tv-indigo-light), var(--tv-violet-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.tv-result-card__title {
  font-family: var(--tv-font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--tv-white);
  margin-bottom: 8px;
}

.tv-result-card__desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--tv-muted);
  line-height: 1.6;
}

/* ============================================================
   12. SERVICES GRID
   ============================================================ */
.tv-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.tv-service-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-lg);
  padding: 28px 24px;
  transition: all 0.25s ease;
  position: relative;
}

.tv-service-card:hover {
  border-color: rgba(90,114,245,0.35);
  background: rgba(59,79,216,0.06);
  transform: translateY(-4px);
}

.tv-service-card__icon {
  width: 50px;
  height: 50px;
  border-radius: var(--tv-radius-md);
  background: rgba(90,114,245,0.1);
  border: 1px solid rgba(90,114,245,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  transition: background 0.2s ease;
}

.tv-service-card:hover .tv-service-card__icon {
  background: rgba(90,114,245,0.2);
}

.tv-service-card__title {
  font-family: var(--tv-font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--tv-white);
  margin-bottom: 10px;
}

.tv-service-card__desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--tv-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.tv-service-card__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--tv-indigo-light);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s ease;
}

.tv-service-card:hover .tv-service-card__link { gap: 10px; }

/* ============================================================
   13. ABOUT SPLIT SECTION
   ============================================================ */
.tv-about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tv-about-visual {
  background: linear-gradient(145deg, rgba(59,79,216,0.12), rgba(124,58,237,0.06));
  border: 1px solid rgba(90,114,245,0.2);
  border-radius: var(--tv-radius-xl);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
}

.tv-about-big-num {
  font-family: var(--tv-font-display);
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -4px;
  background: linear-gradient(135deg, var(--tv-indigo-light), var(--tv-violet-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  text-align: center;
}

.tv-about-year {
  font-size: 12px;
  color: var(--tv-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 28px;
}

.tv-about-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tv-about-mini {
  background: rgba(5,13,31,0.6);
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-md);
  padding: 14px 16px;
  text-align: center;
}

.tv-about-mini__num {
  font-family: var(--tv-font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--tv-white);
  letter-spacing: -0.5px;
}

.tv-about-mini__label {
  font-size: 11px;
  color: var(--tv-muted);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tv-skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tv-skill-tag {
  background: rgba(59,79,216,0.1);
  border: 1px solid rgba(90,114,245,0.2);
  color: var(--tv-violet-soft);
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 24px;
  font-weight: 400;
}

/* ============================================================
   14. PROCESS STEPS
   ============================================================ */
.tv-process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}

.tv-process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 17%;
  right: 17%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tv-indigo), var(--tv-violet), transparent);
}

.tv-process-step {
  padding: 36px 28px;
  text-align: center;
}

.tv-process-step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tv-indigo), var(--tv-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tv-font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 22px;
  box-shadow: 0 6px 20px rgba(90,114,245,0.4);
}

.tv-process-step__title {
  font-family: var(--tv-font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--tv-white);
  margin-bottom: 10px;
}

.tv-process-step__desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--tv-muted);
  line-height: 1.65;
}

/* ============================================================
   15. PORTFOLIO GRID
   ============================================================ */
.tv-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.tv-port-card {
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  transition: all 0.25s ease;
}

.tv-port-card:hover {
  border-color: rgba(90,114,245,0.4);
  transform: translateY(-4px);
}

.tv-port-card__thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tv-font-display);
  font-size: 20px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  position: relative;
}

.tv-port-card__body {
  padding: 18px 20px;
}

.tv-port-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.tv-port-tag {
  font-size: 10px;
  color: var(--tv-indigo-light);
  background: rgba(90,114,245,0.1);
  border-radius: 4px;
  padding: 3px 9px;
  font-weight: 500;
}

.tv-port-card__title {
  font-family: var(--tv-font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--tv-white);
  margin-bottom: 5px;
}

.tv-port-card__sub {
  font-size: 12px;
  color: var(--tv-muted);
  font-weight: 300;
}

/* ============================================================
   16. TESTIMONIALS
   ============================================================ */
.tv-testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.tv-testi-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-lg);
  padding: 28px 26px;
}

.tv-testi-stars {
  color: var(--tv-gold);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.tv-testi-quote {
  font-size: 48px;
  line-height: 1;
  color: var(--tv-indigo);
  font-family: Georgia, serif;
  margin-bottom: -8px;
  opacity: 0.45;
}

.tv-testi-text {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 22px;
  font-style: italic;
}

.tv-testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tv-testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tv-font-display);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(90,114,245,0.3);
  flex-shrink: 0;
}

.tv-testi-name {
  font-family: var(--tv-font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--tv-white);
}

.tv-testi-role {
  font-size: 12px;
  color: var(--tv-muted);
  font-weight: 300;
}

/* ============================================================
   17. CTA BANNER
   ============================================================ */
.tv-cta-section {
  padding: var(--tv-section-pad);
  background: linear-gradient(135deg, #0b1340 0%, #1a0b3d 50%, #0d0626 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tv-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 400px at 50% 50%, rgba(90,114,245,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.tv-cta-section .tv-section__title {
  font-size: clamp(28px, 4vw, 46px) !important;
  position: relative;
}

.tv-cta-section .tv-section__sub {
  position: relative;
  margin: 14px auto 36px;
  text-align: center;
}

.tv-cta-section .tv-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.tv-gradient-text {
  background: linear-gradient(90deg, var(--tv-violet-soft), var(--tv-indigo-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   18. FOOTER
   ============================================================ */
#footer-widgets,
#footer,
.footer-widgets {
  background-color: #020a1a !important;
  border-top: 1px solid var(--tv-border) !important;
}

.footer-box h5,
.footer-box .widget-title {
  font-family: var(--tv-font-display) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,0.5) !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  margin-bottom: 20px !important;
}

.footer-box,
.footer-box p,
.footer-box a,
.footer-box li {
  font-family: var(--tv-font-body) !important;
  font-size: 13px !important;
  font-weight: 300 !important;
  color: var(--tv-muted) !important;
  line-height: 1.75 !important;
}

.footer-box a:hover {
  color: var(--tv-indigo-light) !important;
}

#footer-bottom,
#footer-bottom p,
#footer-bottom a {
  background-color: #020a1a !important;
  color: rgba(255,255,255,0.2) !important;
  font-size: 12px !important;
  font-family: var(--tv-font-body) !important;
  border-top: 1px solid var(--tv-border) !important;
}

#footer-bottom a { color: var(--tv-indigo-light) !important; }

/* ============================================================
   19. CONTACT FORM 7 OVERRIDES
   ============================================================ */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid var(--tv-border-blue) !important;
  border-radius: var(--tv-radius-sm) !important;
  color: var(--tv-white) !important;
  font-family: var(--tv-font-body) !important;
  font-size: 14px !important;
  padding: 13px 18px !important;
  width: 100% !important;
  transition: border-color 0.2s ease !important;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none !important;
  border-color: rgba(90,114,245,0.5) !important;
  background: rgba(90,114,245,0.05) !important;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: var(--tv-muted) !important;
}

.wpcf7-form input[type="submit"] {
  background: linear-gradient(135deg, var(--tv-indigo), var(--tv-violet)) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--tv-radius-sm) !important;
  padding: 13px 32px !important;
  font-family: var(--tv-font-body) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  box-shadow: var(--tv-shadow-glow) !important;
  transition: all 0.25s ease !important;
}

.wpcf7-form input[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 32px rgba(90,114,245,0.45) !important;
}

/* ============================================================
   20. BLOG / POSTS
   ============================================================ */
.blog-entry,
.type-post {
  background: rgba(255,255,255,0.02) !important;
  border: 1px solid var(--tv-border) !important;
  border-radius: var(--tv-radius-lg) !important;
  overflow: hidden !important;
  transition: all 0.25s ease !important;
}

.blog-entry:hover {
  border-color: rgba(90,114,245,0.4) !important;
  transform: translateY(-3px) !important;
}

.blog-entry-title a {
  font-family: var(--tv-font-display) !important;
  color: var(--tv-white) !important;
  font-weight: 600 !important;
}

.blog-entry-title a:hover {
  color: var(--tv-indigo-light) !important;
}

.blog-entry-summary p {
  color: var(--tv-muted) !important;
  font-weight: 300 !important;
}

/* Category tag */
.blog-entry-category a {
  background: rgba(90,114,245,0.1) !important;
  color: var(--tv-indigo-light) !important;
  border-radius: 4px !important;
  padding: 2px 10px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}

/* ============================================================
   21. ELEMENTOR GLOBAL OVERRIDES
   ============================================================ */
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--tv-font-display) !important;
}

.elementor-widget-text-editor,
.elementor-widget-text-editor p {
  font-family: var(--tv-font-body) !important;
  font-weight: 300 !important;
  color: var(--tv-muted) !important;
}

.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1280px !important;
}

/* ============================================================
   22. SMART SLIDER OVERRIDES
   ============================================================ */
.n2-ss-slider-background {
  background-color: var(--tv-navy) !important;
}

/* ============================================================
   23. WOOCOMMERCE (if used)
   ============================================================ */
.woocommerce .woocommerce-ordering select,
.woocommerce-page .woocommerce-ordering select {
  background: var(--tv-navy-2) !important;
  border: 1px solid var(--tv-border) !important;
  color: var(--tv-white) !important;
  border-radius: var(--tv-radius-sm) !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--tv-font-display) !important;
  color: var(--tv-white) !important;
}

/* ============================================================
   24. FLOATING CARDS (Hero accent elements)
   ============================================================ */
.tv-float-card {
  background: rgba(11,26,56,0.92);
  border: 1px solid rgba(90,114,245,0.3);
  border-radius: var(--tv-radius-md);
  padding: 12px 16px;
  backdrop-filter: blur(10px);
  animation: tv-float 4s ease-in-out infinite;
}

@keyframes tv-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.tv-float-card__label {
  font-size: 10px;
  color: var(--tv-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.tv-float-card__value {
  font-family: var(--tv-font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--tv-white);
}

.tv-float-card__tag {
  font-size: 10px;
  margin-top: 2px;
  color: #4ade80;
}

/* ============================================================
   25. RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --tv-section-pad: 64px 32px;
  }

  .tv-hero {
    padding: 64px 32px;
    min-height: auto;
  }

  .tv-hero__visual {
    display: none;
  }

  .tv-hero__content {
    max-width: 100%;
  }

  .tv-results-grid,
  .tv-services-grid,
  .tv-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tv-about-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tv-process-steps {
    grid-template-columns: 1fr;
  }

  .tv-process-steps::before {
    display: none;
  }

  .tv-stats-bar {
    flex-wrap: wrap;
    width: 100%;
  }

  .tv-stats-bar__item {
    flex: 1;
    min-width: 120px;
  }

  .clients-logos,
  .tv-clients-row {
    flex-wrap: wrap;
  }

  .tv-testi-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   26. RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --tv-section-pad: 52px 20px;
  }

  nav,
  .tv-hero,
  .tv-section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .tv-results-grid,
  .tv-services-grid,
  .tv-portfolio-grid {
    grid-template-columns: 1fr;
  }

  .tv-hero__title {
    font-size: 32px !important;
    letter-spacing: -1px !important;
  }

  .tv-hero__ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .tv-cta-section .tv-cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .topbar {
    padding: 6px 16px;
    font-size: 11px;
  }

  .topbar-right { display: none; }

  .footer-grid,
  .tv-footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
  }

  .tv-about-big-num {
    font-size: 52px;
    letter-spacing: -2px;
  }
}

/* ============================================================
   27. SCROLLBAR (Webkit)
   ============================================================ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--tv-navy);
}

::-webkit-scrollbar-thumb {
  background: var(--tv-indigo);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--tv-indigo-light);
}

/* ============================================================
   28. SELECTION COLOR
   ============================================================ */
::selection {
  background: rgba(90,114,245,0.35);
  color: var(--tv-white);
}

/* ============================================================
   29. FOCUS STATES (Accessibility)
   ============================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(90,114,245,0.6);
  outline-offset: 2px;
}
