/* =============================================
   TIVRONEX — Main Stylesheet (tv-style.css)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Source+Sans+3:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --tv-blue-deep:    #1a3a5c;
  --tv-blue-mid:     #2e6da4;
  --tv-blue-light:   #d6eaf8;
  --tv-sage:         #5a7d6b;
  --tv-sage-light:   #d4e6dc;
  --tv-warm-cream:   #faf6ef;
  --tv-warm-sand:    #e8ddd0;
  --tv-warm-tan:     #c4a882;
  --tv-text-dark:    #1c2b3a;
  --tv-text-mid:     #3d5166;
  --tv-text-muted:   #6b7f93;
  --tv-white:        #ffffff;
  --tv-accent:       #b85c38;
  --tv-accent-light: #f5e6df;
  --tv-border:       #d8e2ec;
  --tv-shadow-sm:    0 2px 8px rgba(26,58,92,0.08);
  --tv-shadow-md:    0 6px 24px rgba(26,58,92,0.12);
  --tv-shadow-lg:    0 16px 48px rgba(26,58,92,0.16);
  --tv-radius-sm:    8px;
  --tv-radius-md:    16px;
  --tv-radius-lg:    24px;
  --tv-transition:   0.3s cubic-bezier(0.4,0,0.2,1);
  --tv-font-body:    'Source Sans 3', sans-serif;
  --tv-font-heading: 'Lora', serif;
  --tv-font-display: 'Playfair Display', serif;
  --tv-font-size-base: 18px;
}

/* ---- High Contrast Mode ---- */
body.tv-high-contrast {
  --tv-blue-deep:   #000000;
  --tv-blue-mid:    #003080;
  --tv-blue-light:  #ffffff;
  --tv-sage:        #005500;
  --tv-sage-light:  #ffffff;
  --tv-warm-cream:  #ffffff;
  --tv-warm-sand:   #eeeeee;
  --tv-text-dark:   #000000;
  --tv-text-mid:    #000000;
  --tv-text-muted:  #222222;
  --tv-border:      #000000;
  --tv-accent:      #8b0000;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: var(--tv-font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--tv-font-body);
  color: var(--tv-text-dark);
  background-color: var(--tv-warm-cream);
  line-height: 1.75;
  overflow-x: hidden;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--tv-font-heading);
  color: var(--tv-blue-deep);
  line-height: 1.3;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

p { margin-bottom: 1.25rem; color: var(--tv-text-mid); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--tv-blue-mid);
  text-decoration: none;
  transition: color var(--tv-transition);
}
a:hover { color: var(--tv-blue-deep); text-decoration: underline; }

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

/* ---- Utility Classes ---- */
.tv-section { padding: 80px 0; }
.tv-section-sm { padding: 48px 0; }
.tv-section-lg { padding: 120px 0; }

.tv-text-center { text-align: center; }
.tv-text-serif { font-family: var(--tv-font-display); }
.tv-muted { color: var(--tv-text-muted); }

.tv-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tv-sage);
  background: var(--tv-sage-light);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.tv-tag-blue {
  color: var(--tv-blue-mid);
  background: var(--tv-blue-light);
}

.tv-tag-warm {
  color: var(--tv-accent);
  background: var(--tv-accent-light);
}

/* ---- Buttons ---- */
.tv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--tv-font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--tv-transition);
  text-decoration: none !important;
  white-space: nowrap;
}

.tv-btn-primary {
  background: var(--tv-blue-mid);
  color: var(--tv-white);
  border-color: var(--tv-blue-mid);
}
.tv-btn-primary:hover {
  background: var(--tv-blue-deep);
  border-color: var(--tv-blue-deep);
  color: var(--tv-white);
  transform: translateY(-2px);
  box-shadow: var(--tv-shadow-md);
}

.tv-btn-outline {
  background: transparent;
  color: var(--tv-blue-mid);
  border-color: var(--tv-blue-mid);
}
.tv-btn-outline:hover {
  background: var(--tv-blue-mid);
  color: var(--tv-white);
  transform: translateY(-2px);
}

.tv-btn-sage {
  background: var(--tv-sage);
  color: var(--tv-white);
  border-color: var(--tv-sage);
}
.tv-btn-sage:hover {
  background: #4a6b5a;
  border-color: #4a6b5a;
  color: var(--tv-white);
  transform: translateY(-2px);
  box-shadow: var(--tv-shadow-md);
}

.tv-btn-warm {
  background: var(--tv-accent);
  color: var(--tv-white);
  border-color: var(--tv-accent);
}
.tv-btn-warm:hover {
  background: #9a4d2e;
  border-color: #9a4d2e;
  color: var(--tv-white);
  transform: translateY(-2px);
}

.tv-btn-lg { padding: 18px 42px; font-size: 1.1rem; }
.tv-btn-sm { padding: 10px 22px; font-size: 0.9rem; }

/* ---- Navigation ---- */
.tv-navbar {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tv-border);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--tv-transition);
}

.tv-navbar.tv-scrolled {
  box-shadow: var(--tv-shadow-md);
}

.tv-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--tv-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tv-blue-deep) !important;
  text-decoration: none !important;
}

.tv-nav-brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--tv-blue-mid), var(--tv-sage));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.tv-nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--tv-text-mid) !important;
  padding: 8px 14px !important;
  border-radius: var(--tv-radius-sm);
  transition: all var(--tv-transition);
}
.tv-nav-link:hover,
.tv-nav-link.active {
  color: var(--tv-blue-mid) !important;
  background: var(--tv-blue-light);
}

.tv-nav-cta {
  background: var(--tv-blue-mid);
  color: var(--tv-white) !important;
  border-radius: 50px;
  padding: 8px 22px !important;
}
.tv-nav-cta:hover {
  background: var(--tv-blue-deep);
  color: var(--tv-white) !important;
}

/* ---- Hero Editorial ---- */
.tv-hero-editorial {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a3a5c 0%, #2e6da4 40%, #3d8b70 100%);
}

.tv-hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  mix-blend-mode: luminosity;
}

.tv-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(26,58,92,0.85) 0%,
    rgba(46,109,164,0.7) 50%,
    rgba(61,139,112,0.6) 100%);
}

.tv-hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tv-hero-shape-1 {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.tv-hero-shape-2 {
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(90,125,107,0.15);
}

.tv-hero-shape-3 {
  position: absolute;
  top: 30%;
  right: 15%;
  width: 200px;
  height: 200px;
  border-radius: 40px;
  background: rgba(255,255,255,0.04);
  transform: rotate(20deg);
}

.tv-hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.tv-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
}

.tv-hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--tv-warm-tan);
}

.tv-hero-heading {
  color: white;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 28px;
}

.tv-hero-heading em {
  font-style: italic;
  color: var(--tv-warm-tan);
}

.tv-hero-sub {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 40px;
}

.tv-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.tv-hero-btn-white {
  background: white;
  color: var(--tv-blue-deep);
  border-color: white;
}
.tv-hero-btn-white:hover {
  background: var(--tv-warm-cream);
  color: var(--tv-blue-deep);
}

.tv-hero-btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.6);
}
.tv-hero-btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  color: white;
  border-color: white;
}

.tv-hero-image-col {
  position: relative;
  z-index: 2;
}

.tv-hero-img-frame {
  position: relative;
  border-radius: var(--tv-radius-lg);
  overflow: hidden;
  box-shadow: var(--tv-shadow-lg);
}

.tv-hero-img-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--tv-radius-lg);
}

.tv-hero-img-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: white;
  border-radius: var(--tv-radius-md);
  padding: 16px 20px;
  box-shadow: var(--tv-shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.tv-hero-img-badge-icon {
  width: 44px;
  height: 44px;
  background: var(--tv-sage-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tv-sage);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.tv-hero-img-badge-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--tv-blue-deep);
  font-family: var(--tv-font-heading);
}

.tv-hero-img-badge-text span {
  font-size: 0.8rem;
  color: var(--tv-text-muted);
}

.tv-hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.tv-hero-stat {
  text-align: center;
}

.tv-hero-stat-number {
  font-family: var(--tv-font-display);
  font-size: 2rem;
  font-weight: 700;
  color: white;
  display: block;
}

.tv-hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

/* ---- Section Headings ---- */
.tv-section-header {
  margin-bottom: 60px;
}

.tv-section-header.tv-text-center {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.tv-section-subtitle {
  font-size: 1.1rem;
  color: var(--tv-text-muted);
  margin-top: 12px;
}

/* ---- Readiness Tool ---- */
.tv-readiness-section {
  background: linear-gradient(180deg, var(--tv-warm-cream) 0%, var(--tv-blue-light) 100%);
  position: relative;
}

.tv-readiness-tool {
  background: white;
  border-radius: var(--tv-radius-lg);
  box-shadow: var(--tv-shadow-lg);
  padding: 48px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.tv-readiness-tool::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tv-blue-mid), var(--tv-sage));
}

.tv-progress-track {
  background: var(--tv-border);
  border-radius: 4px;
  height: 8px;
  margin-bottom: 32px;
  overflow: hidden;
}

.tv-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--tv-blue-mid), var(--tv-sage));
  border-radius: 4px;
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
}

.tv-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--tv-text-muted);
  margin-bottom: 8px;
}

.tv-question-card {
  display: none;
  animation: tv-fadeSlideUp 0.4s ease;
}

.tv-question-card.tv-active {
  display: block;
}

.tv-question-text {
  font-family: var(--tv-font-heading);
  font-size: 1.35rem;
  color: var(--tv-blue-deep);
  margin-bottom: 28px;
  line-height: 1.5;
}

.tv-answer-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tv-answer-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--tv-warm-cream);
  border: 2px solid var(--tv-border);
  border-radius: var(--tv-radius-md);
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--tv-font-body);
  color: var(--tv-text-mid);
  text-align: left;
  transition: all var(--tv-transition);
  width: 100%;
}

.tv-answer-btn:hover {
  border-color: var(--tv-blue-mid);
  background: var(--tv-blue-light);
  color: var(--tv-blue-deep);
}

.tv-answer-btn.tv-selected {
  border-color: var(--tv-sage);
  background: var(--tv-sage-light);
  color: var(--tv-sage);
  font-weight: 600;
}

.tv-answer-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--tv-border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all var(--tv-transition);
}

.tv-answer-btn.tv-selected .tv-answer-icon {
  background: var(--tv-sage);
  border-color: var(--tv-sage);
  color: white;
}

.tv-quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}

.tv-result-card {
  display: none;
  text-align: center;
  padding: 24px 0;
}

.tv-result-card.tv-show {
  display: block;
  animation: tv-fadeSlideUp 0.5s ease;
}

.tv-result-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.tv-result-title {
  font-size: 1.7rem;
  color: var(--tv-blue-deep);
  margin-bottom: 16px;
}

.tv-result-description {
  font-size: 1.05rem;
  color: var(--tv-text-mid);
  max-width: 520px;
  margin: 0 auto 28px;
}

.tv-result-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--tv-blue-light), var(--tv-sage-light));
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-md);
  padding: 16px 28px;
  margin-bottom: 28px;
}

/* ---- Timeline ---- */
.tv-timeline-section {
  background: var(--tv-blue-deep);
  color: white;
  position: relative;
  overflow: hidden;
}

.tv-timeline-bg {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle at 25% 50%, white 1px, transparent 1px),
    radial-gradient(circle at 75% 50%, white 1px, transparent 1px);
  background-size: 60px 60px;
}

.tv-timeline-heading {
  color: white;
}

.tv-timeline-sub {
  color: rgba(255,255,255,0.7);
}

.tv-timeline-track {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.tv-timeline-track::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--tv-blue-mid), var(--tv-sage), transparent);
}

.tv-timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.tv-timeline-step.tv-in-view {
  opacity: 1;
  transform: translateY(0);
}

.tv-timeline-step:nth-child(odd) {
  flex-direction: row;
}

.tv-timeline-step:nth-child(even) {
  flex-direction: row-reverse;
}

.tv-timeline-step-half {
  flex: 1;
}

.tv-timeline-step-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.tv-timeline-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tv-blue-mid), var(--tv-sage));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  border: 3px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 0 6px rgba(46,109,164,0.2);
}

.tv-timeline-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--tv-radius-md);
  padding: 24px 28px;
  backdrop-filter: blur(8px);
}

.tv-timeline-card h4 {
  color: white;
  margin-bottom: 8px;
}

.tv-timeline-card p {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  margin: 0;
}

.tv-timeline-step-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
}

/* ---- Service Cards ---- */
.tv-services-section {
  background: var(--tv-warm-cream);
  position: relative;
}

.tv-service-card {
  background: white;
  border-radius: var(--tv-radius-lg);
  padding: 40px 36px;
  height: 100%;
  border: 1px solid var(--tv-border);
  transition: all var(--tv-transition);
  position: relative;
  overflow: hidden;
}

.tv-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tv-border);
  transition: background var(--tv-transition);
}

.tv-service-card:hover {
  box-shadow: var(--tv-shadow-lg);
  transform: translateY(-6px);
}

.tv-service-card:hover::before {
  background: linear-gradient(90deg, var(--tv-blue-mid), var(--tv-sage));
}

.tv-service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.tv-icon-blue { background: var(--tv-blue-light); color: var(--tv-blue-mid); }
.tv-icon-sage { background: var(--tv-sage-light); color: var(--tv-sage); }
.tv-icon-warm { background: var(--tv-accent-light); color: var(--tv-accent); }

.tv-service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.tv-service-card .tv-service-desc {
  color: var(--tv-text-mid);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.tv-service-meta {
  border-top: 1px solid var(--tv-border);
  padding-top: 20px;
  margin-top: 20px;
}

.tv-service-meta-item {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--tv-text-muted);
  margin-bottom: 8px;
}

.tv-service-meta-item i {
  color: var(--tv-sage);
  flex-shrink: 0;
  margin-top: 2px;
}

.tv-service-disclaimer {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--tv-text-muted);
  border-left: 3px solid var(--tv-border);
  padding-left: 12px;
  margin-top: 16px;
}

/* ---- Testimonials ---- */
.tv-testimonials-section {
  background: var(--tv-warm-sand);
  position: relative;
}

.tv-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.tv-testimonial-card {
  background: white;
  border-radius: var(--tv-radius-md);
  padding: 32px;
  box-shadow: var(--tv-shadow-sm);
  transition: all var(--tv-transition);
  position: relative;
}

.tv-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tv-shadow-md);
}

.tv-testimonial-quote {
  font-family: var(--tv-font-display);
  font-size: 3.5rem;
  color: var(--tv-blue-light);
  line-height: 1;
  margin-bottom: -10px;
}

.tv-testimonial-text {
  font-family: var(--tv-font-heading);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--tv-text-mid);
  line-height: 1.8;
  margin-bottom: 24px;
}

.tv-testimonial-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tv-testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--tv-border);
}

.tv-testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--tv-blue-deep);
  display: block;
}

.tv-testimonial-meta {
  font-size: 0.82rem;
  color: var(--tv-text-muted);
}

.tv-testimonial-stars {
  color: #c4a346;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

/* ---- Team Section ---- */
.tv-team-section {
  background: var(--tv-warm-cream);
}

.tv-team-card {
  background: white;
  border-radius: var(--tv-radius-lg);
  overflow: hidden;
  box-shadow: var(--tv-shadow-sm);
  transition: all var(--tv-transition);
  height: 100%;
}

.tv-team-card:hover {
  box-shadow: var(--tv-shadow-lg);
  transform: translateY(-5px);
}

.tv-team-img-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.tv-team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tv-team-card:hover .tv-team-img-wrap img {
  transform: scale(1.04);
}

.tv-team-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(26,58,92,0.7), transparent);
}

.tv-team-body {
  padding: 28px 28px 32px;
}

.tv-team-body h4 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.tv-team-role {
  font-size: 0.85rem;
  color: var(--tv-sage);
  font-weight: 600;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tv-team-bio {
  font-size: 0.93rem;
  color: var(--tv-text-mid);
  line-height: 1.75;
}

.tv-team-philosophy {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--tv-sage-light);
  border-radius: var(--tv-radius-sm);
  font-size: 0.88rem;
  color: var(--tv-sage);
  font-style: italic;
  border-left: 3px solid var(--tv-sage);
}

/* ---- Articles ---- */
.tv-articles-section {
  background: var(--tv-blue-light);
}

.tv-article-card {
  background: white;
  border-radius: var(--tv-radius-lg);
  overflow: hidden;
  box-shadow: var(--tv-shadow-sm);
  transition: all var(--tv-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tv-article-card:hover {
  box-shadow: var(--tv-shadow-md);
  transform: translateY(-4px);
}

.tv-article-img {
  height: 220px;
  overflow: hidden;
}

.tv-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tv-article-card:hover .tv-article-img img {
  transform: scale(1.05);
}

.tv-article-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tv-article-body h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.tv-article-body p {
  font-size: 0.93rem;
  flex: 1;
}

.tv-article-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--tv-blue-mid);
  margin-top: 20px;
  text-decoration: none !important;
  transition: gap var(--tv-transition);
}

.tv-article-read-link:hover { gap: 10px; }

/* ---- FAQ ---- */
.tv-faq-section {
  background: white;
}

.tv-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.tv-faq-item {
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow var(--tv-transition);
}

.tv-faq-item.tv-open {
  box-shadow: var(--tv-shadow-sm);
}

.tv-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--tv-font-heading);
  font-size: 1.05rem;
  color: var(--tv-blue-deep);
  text-align: left;
  transition: background var(--tv-transition);
}

.tv-faq-question:hover {
  background: var(--tv-warm-cream);
}

.tv-faq-item.tv-open .tv-faq-question {
  background: var(--tv-blue-light);
}

.tv-faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tv-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--tv-transition);
  color: var(--tv-text-muted);
}

.tv-faq-item.tv-open .tv-faq-icon {
  background: var(--tv-blue-mid);
  color: white;
  transform: rotate(45deg);
}

.tv-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}

.tv-faq-item.tv-open .tv-faq-answer {
  max-height: 400px;
}

.tv-faq-answer-inner {
  padding: 4px 24px 24px;
  font-size: 0.97rem;
  color: var(--tv-text-mid);
  line-height: 1.8;
}

/* ---- Accessibility Bar ---- */
.tv-accessibility-bar {
  background: var(--tv-blue-deep);
  padding: 10px 0;
}

.tv-accessibility-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.tv-access-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.tv-access-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  color: rgba(255,255,255,0.85);
  padding: 5px 14px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all var(--tv-transition);
  font-family: var(--tv-font-body);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tv-access-btn:hover,
.tv-access-btn.tv-active {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
  color: white;
}

/* ---- Footer ---- */
.tv-footer {
  background: var(--tv-blue-deep);
  color: rgba(255,255,255,0.75);
}

.tv-footer-top {
  padding: 72px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.tv-footer-brand {
  color: white;
  font-family: var(--tv-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.tv-footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
}

.tv-footer-heading {
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  font-family: var(--tv-font-body);
}

.tv-footer-links {
  list-style: none;
}

.tv-footer-links li { margin-bottom: 10px; }

.tv-footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  transition: color var(--tv-transition);
  text-decoration: none !important;
}

.tv-footer-links a:hover {
  color: white;
}

.tv-footer-contact-item {
  display: flex;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

.tv-footer-contact-item i {
  color: var(--tv-sage);
  flex-shrink: 0;
  margin-top: 2px;
}

.tv-footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.tv-footer-copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

.tv-footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.tv-footer-legal-links a {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  text-decoration: none !important;
  transition: color var(--tv-transition);
}

.tv-footer-legal-links a:hover {
  color: rgba(255,255,255,0.8);
}

.tv-footer-disclaimer {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  text-align: center;
}

/* ---- Cookie Banner ---- */
.tv-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: white;
  border-top: 3px solid var(--tv-blue-mid);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.12);
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.tv-cookie-banner.tv-show {
  transform: translateY(0);
}

.tv-cookie-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.tv-cookie-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.tv-cookie-text {
  flex: 1;
  min-width: 200px;
}

.tv-cookie-text h5 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--tv-blue-deep);
}

.tv-cookie-text p {
  font-size: 0.87rem;
  color: var(--tv-text-muted);
  margin: 0;
}

.tv-cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- Page Header ---- */
.tv-page-header {
  background: linear-gradient(135deg, var(--tv-blue-deep) 0%, var(--tv-blue-mid) 100%);
  padding: 80px 0 60px;
  color: white;
  position: relative;
  overflow: hidden;
}

.tv-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(255,255,255,0.04) 0%, transparent 60%);
}

.tv-page-header h1 {
  color: white;
}

.tv-page-header p {
  color: rgba(255,255,255,0.75);
}

.tv-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}

.tv-breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none !important;
}

.tv-breadcrumb a:hover {
  color: rgba(255,255,255,0.85);
}

.tv-breadcrumb i {
  font-size: 0.7rem;
}

/* ---- Contact ---- */
.tv-contact-form-wrap {
  background: white;
  border-radius: var(--tv-radius-lg);
  padding: 48px;
  box-shadow: var(--tv-shadow-md);
}

.tv-form-group {
  margin-bottom: 24px;
}

.tv-form-label {
  display: block;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--tv-blue-deep);
  margin-bottom: 8px;
}

.tv-form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--tv-border);
  border-radius: var(--tv-radius-sm);
  font-family: var(--tv-font-body);
  font-size: 1rem;
  color: var(--tv-text-dark);
  background: var(--tv-warm-cream);
  transition: border-color var(--tv-transition);
  outline: none;
}

.tv-form-control:focus {
  border-color: var(--tv-blue-mid);
  background: white;
}

textarea.tv-form-control {
  resize: vertical;
  min-height: 140px;
}

.tv-captcha-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--tv-warm-cream);
  border: 2px solid var(--tv-border);
  border-radius: var(--tv-radius-sm);
  padding: 14px 18px;
}

.tv-captcha-question {
  font-weight: 600;
  color: var(--tv-blue-deep);
  white-space: nowrap;
}

.tv-captcha-input {
  width: 80px;
  padding: 8px 14px;
  border: 2px solid var(--tv-border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--tv-font-body);
  outline: none;
  transition: border-color var(--tv-transition);
}

.tv-captcha-input:focus {
  border-color: var(--tv-blue-mid);
}

.tv-form-error {
  font-size: 0.83rem;
  color: #c0392b;
  margin-top: 6px;
  display: none;
}

.tv-form-error.tv-show { display: block; }

.tv-contact-info-card {
  background: white;
  border-radius: var(--tv-radius-lg);
  padding: 36px;
  box-shadow: var(--tv-shadow-sm);
  margin-bottom: 24px;
}

.tv-contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--tv-border);
}

.tv-contact-info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.tv-contact-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--tv-blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tv-blue-mid);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.tv-contact-info-label {
  font-size: 0.8rem;
  color: var(--tv-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 4px;
}

.tv-contact-info-value {
  font-size: 0.97rem;
  color: var(--tv-text-dark);
  font-weight: 500;
}

.tv-map-wrap {
  border-radius: var(--tv-radius-md);
  overflow: hidden;
  box-shadow: var(--tv-shadow-sm);
  margin-top: 24px;
}

/* ---- Legal Pages ---- */
.tv-legal-content {
  max-width: 840px;
  margin: 0 auto;
}

.tv-legal-content h2 {
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--tv-border);
}

.tv-legal-content h3 {
  font-size: 1.15rem;
  margin-top: 28px;
  margin-bottom: 10px;
}

.tv-legal-content ul, .tv-legal-content ol {
  margin: 0 0 1.25rem 24px;
}

.tv-legal-content ul li,
.tv-legal-content ol li {
  margin-bottom: 8px;
  color: var(--tv-text-mid);
  line-height: 1.75;
}

.tv-legal-updated {
  background: var(--tv-blue-light);
  border-radius: var(--tv-radius-sm);
  padding: 14px 20px;
  font-size: 0.88rem;
  color: var(--tv-blue-mid);
  margin-bottom: 32px;
}

/* ---- Article Pages ---- */
.tv-article-content {
  max-width: 760px;
  margin: 0 auto;
}

.tv-article-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.tv-article-content h3 {
  margin-top: 28px;
  margin-bottom: 12px;
}

.tv-article-content p {
  font-size: 1.02rem;
  line-height: 1.9;
}

.tv-article-content ul, .tv-article-content ol {
  margin: 0 0 1.5rem 24px;
}

.tv-article-content ul li,
.tv-article-content ol li {
  color: var(--tv-text-mid);
  line-height: 1.8;
  margin-bottom: 8px;
}

.tv-article-content img {
  border-radius: var(--tv-radius-md);
  margin: 32px 0;
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.tv-article-callout {
  background: var(--tv-sage-light);
  border-left: 4px solid var(--tv-sage);
  padding: 20px 24px;
  border-radius: 0 var(--tv-radius-sm) var(--tv-radius-sm) 0;
  margin: 32px 0;
  font-style: italic;
  color: var(--tv-sage);
}

.tv-article-warning {
  background: var(--tv-accent-light);
  border-left: 4px solid var(--tv-accent);
  padding: 20px 24px;
  border-radius: 0 var(--tv-radius-sm) var(--tv-radius-sm) 0;
  margin: 32px 0;
  color: var(--tv-accent);
}

/* ---- Thank You Page ---- */
.tv-thankyou-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--tv-warm-cream), var(--tv-blue-light));
}

.tv-thankyou-card {
  background: white;
  border-radius: var(--tv-radius-lg);
  padding: 64px 56px;
  text-align: center;
  box-shadow: var(--tv-shadow-lg);
  max-width: 640px;
  margin: 0 auto;
}

.tv-thankyou-icon {
  width: 88px;
  height: 88px;
  background: var(--tv-sage-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--tv-sage);
  margin: 0 auto 28px;
}

/* ---- SVG Wave Dividers ---- */
.tv-wave-top, .tv-wave-bottom {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.tv-wave-top svg, .tv-wave-bottom svg {
  display: block;
}

/* ---- Info Banner ---- */
.tv-info-banner {
  background: linear-gradient(135deg, var(--tv-sage-light), var(--tv-blue-light));
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-md);
  padding: 24px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 32px 0;
}

.tv-info-banner-icon {
  color: var(--tv-sage);
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.tv-info-banner-text h5 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--tv-blue-deep);
}

.tv-info-banner-text p {
  font-size: 0.9rem;
  color: var(--tv-text-muted);
  margin: 0;
}

/* ---- Back To Top ---- */
.tv-back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--tv-blue-mid);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--tv-shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all var(--tv-transition);
  z-index: 500;
}

.tv-back-to-top.tv-visible {
  opacity: 1;
  pointer-events: all;
}

.tv-back-to-top:hover {
  background: var(--tv-blue-deep);
  transform: translateY(-3px);
}

/* ---- Font size adjustments ---- */
body.tv-font-lg { font-size: 20px; }
body.tv-font-xl { font-size: 22px; }

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .tv-timeline-track::before { left: 28px; }
  .tv-timeline-step { flex-direction: row !important; gap: 20px; }
  .tv-timeline-step-half:first-child { display: none; }
  .tv-timeline-step-center { align-items: flex-start; }
  .tv-readiness-tool { padding: 32px 24px; }
  .tv-contact-form-wrap { padding: 32px 24px; }
  .tv-thankyou-card { padding: 48px 32px; }
}

@media (max-width: 768px) {
  .tv-section { padding: 56px 0; }
  .tv-section-lg { padding: 80px 0; }
  .tv-hero-editorial { min-height: auto; padding: 80px 0 60px; }
  .tv-hero-img-frame { display: none; }
  .tv-testimonial-grid { grid-template-columns: 1fr; }
  .tv-hero-stats { gap: 20px; }
  .tv-footer-bottom { flex-direction: column; text-align: center; }
  .tv-cookie-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 576px) {
  .tv-hero-actions { flex-direction: column; }
  .tv-quiz-nav { flex-direction: column; gap: 12px; }
}

/* ---- Skip Link ---- */
.tv-skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--tv-blue-mid);
  color: white;
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s;
}
.tv-skip-link:focus { top: 0; color: white; }

/* ---- Focus Styles ---- */
:focus-visible {
  outline: 3px solid var(--tv-blue-mid);
  outline-offset: 2px;
}

/* ---- Services Curriculum ---- */
.tv-curriculum-list {
  list-style: none;
  margin: 0 0 24px;
}
.tv-curriculum-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--tv-border);
  font-size: 0.95rem;
  color: var(--tv-text-mid);
}
.tv-curriculum-list li:last-child { border-bottom: none; }
.tv-curriculum-list li i {
  color: var(--tv-sage);
  flex-shrink: 0;
  margin-top: 2px;
}

.tv-transparency-box {
  background: var(--tv-warm-cream);
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-md);
  padding: 24px;
  font-size: 0.9rem;
  color: var(--tv-text-muted);
  line-height: 1.75;
  font-style: italic;
}

.tv-not-for-box {
  background: var(--tv-accent-light);
  border: 1px solid rgba(184,92,56,0.15);
  border-radius: var(--tv-radius-sm);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--tv-accent);
}

.tv-for-box {
  background: var(--tv-sage-light);
  border: 1px solid rgba(90,125,107,0.2);
  border-radius: var(--tv-radius-sm);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--tv-sage);
}

/* ---- Animations Base ---- */
.tv-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.tv-fade-up.tv-in-view {
  opacity: 1;
  transform: translateY(0);
}

.tv-fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.tv-fade-in.tv-in-view {
  opacity: 1;
}

.tv-delay-1 { transition-delay: 0.1s; }
.tv-delay-2 { transition-delay: 0.2s; }
.tv-delay-3 { transition-delay: 0.3s; }
.tv-delay-4 { transition-delay: 0.4s; }
.tv-delay-5 { transition-delay: 0.5s; }
.tv-accessibility-bar{
  display: none!important;
}

.navbar{
  padding-top: 20px;
  padding-bottom: 20px;
}

.logo{
  max-width: 150px;
  object-fit: contain;
}

html{
  overflow-x: hidden;
}

.tv-tag{
  width: max-content;
}