/* ==========================================================================
   TVS Media - Site Stylesheet
   ========================================================================== */

:root {
  --navy: #3c3b6e;
  --navy-dark: #2a2955;
  --red: #b22234;
  --red-dark: #8f1b29;
  --blue: #0048ff;
  --bg-0: #0a0a0a;
  --bg-1: #111111;
  --bg-2: #1a1a1a;
  --border-soft: rgba(255, 255, 255, 0.08);
  --border-softer: rgba(255, 255, 255, 0.05);
  --text-white: #ffffff;
  --text-gray-200: #e5e7eb;
  --text-gray-300: #d1d5db;
  --text-gray-400: #9ca3af;
  --text-gray-500: #6b7280;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-0);
  color: #111827;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

::selection {
  background: var(--red);
  color: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.9rem 2rem;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 20px rgba(178, 34, 52, 0.35);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  border-radius: 0.5rem;
  padding: 1rem 2rem;
}

.btn-navy:hover {
  background: var(--navy-dark);
}

.btn-small {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.85rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.brand img {
  height: 40px;
  width: auto;
}

.brand .tvs span:nth-child(1),
.brand .tvs span:nth-child(3) {
  color: var(--red);
}

.brand .tvs span:nth-child(2) {
  color: #fff;
}

.brand .media {
  color: var(--blue);
  margin-left: 0.35rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a.nav-link {
  color: #fff;
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.nav-links a.nav-link:hover,
.nav-links a.nav-link.active {
  color: var(--red);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(10, 10, 10, 0.97);
  border-top: 1px solid var(--border-soft);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: #fff;
  font-weight: 500;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-0);
  text-align: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(60, 59, 110, 0.9), rgba(178, 34, 52, 0.8));
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
}

.eyebrow {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}

.hero h1 .accent {
  background: linear-gradient(to right, #fff, #d1d5db);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-gray-200);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6rem;
  background: linear-gradient(to top, var(--bg-0), transparent);
  z-index: 2;
}

/* ---------- Section basics ---------- */
.section {
  padding: 6rem 0;
}

.section-dark {
  background: var(--bg-0);
}

.section-alt {
  background: var(--bg-1);
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-head.left {
  text-align: left;
  margin: 0 0 1.5rem;
}

.kicker {
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 1.5rem;
  line-height: 1.2;
}

.section-lead {
  color: var(--text-gray-400);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-media {
  position: relative;
}

.about-media-inner {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.about-media-inner img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-stat {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-0), transparent);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.about-stat p:first-child {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.25rem;
}

.about-stat p:last-child {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.about-badge {
  position: absolute;
  bottom: -2.5rem;
  right: -1.5rem;
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: 0.9rem;
  padding: 1.5rem;
  max-width: 260px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: none;
}

@media (min-width: 960px) {
  .about-badge {
    display: block;
  }
}

.about-badge-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.about-badge-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.about-badge strong {
  color: #fff;
  display: block;
}

.about-badge span {
  font-size: 0.75rem;
  color: var(--text-gray-400);
}

.about-badge p.quote {
  font-size: 0.9rem;
  color: var(--text-gray-300);
  font-style: italic;
  margin: 0;
}

.check-list {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-gray-300);
  font-weight: 500;
}

.check-list svg {
  color: var(--red);
  flex-shrink: 0;
}

/* ---------- Services ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1080px) {
  .card-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--bg-2);
  border-radius: 1.25rem;
  padding: 2rem;
  border-bottom: 4px solid var(--red);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.service-card p {
  color: var(--text-gray-400);
  line-height: 1.7;
  margin: 0;
}

/* ---------- Creators / Testimonials ---------- */
.testi-card {
  background: var(--bg-2);
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid var(--border-softer);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color 0.25s ease;
}

.testi-card:hover {
  border-color: var(--red);
}

.testi-avatar {
  width: 6rem;
  height: 6rem;
  border-radius: 999px;
  overflow: hidden;
  border: 4px solid var(--red);
  margin-bottom: 1.5rem;
}

.testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testi-card h3 {
  color: #fff;
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

.testi-handle {
  color: var(--red);
  font-weight: 600;
  font-size: 0.85rem;
  margin: 0 0 1rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
  color: #facc15;
  margin-bottom: 1rem;
}

.testi-card p.quote {
  color: var(--text-gray-400);
  font-style: italic;
  line-height: 1.7;
  margin: 0;
}

/* ---------- FAQ ---------- */
.faq-wrap {
  background: var(--bg-2);
  border-radius: 1.25rem;
  padding: 2.5rem;
  border: 1px solid var(--border-softer);
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-soft);
  padding: 1rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
}

.faq-question svg {
  color: var(--red);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  color: var(--text-gray-400);
  line-height: 1.7;
  margin: 0.5rem 0 0.5rem;
}

/* ---------- CTA / Join ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 6rem 0;
  text-align: center;
}

.cta-blob {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.15;
}

.cta-blob.one {
  top: -6rem;
  left: -6rem;
  background: var(--red);
}

.cta-blob.two {
  bottom: -6rem;
  right: -6rem;
  background: #fff;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin: 0 0 1.25rem;
}

.cta p {
  color: var(--text-gray-300);
  font-size: 1.1rem;
  margin: 0 0 2.5rem;
}

.cta-form {
  max-width: 460px;
  margin: 0 auto;
  background: #fff;
  padding: 0.4rem;
  border-radius: 999px;
  display: flex;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cta-form input {
  flex: 1;
  border: none;
  background: none;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  color: #111827;
  outline: none;
}

.cta-form button {
  border: none;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.cta-form button:hover {
  background: var(--red-dark);
}

.cta-note {
  color: var(--text-gray-400);
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* ---------- Contact ---------- */
.contact-card {
  background: var(--bg-2);
  border: 1px solid var(--border-softer);
  border-radius: 1.25rem;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.25s ease;
}

.contact-card:hover {
  border-color: var(--red);
}

.contact-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.contact-card:hover .contact-icon {
  background: var(--red);
  color: #fff;
}

.contact-card h5 {
  color: #fff;
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.contact-card p {
  color: var(--text-gray-400);
  margin: 0;
  line-height: 1.6;
}

.contact-form-wrap {
  max-width: 640px;
  margin: 4rem auto 0;
  background: var(--bg-2);
  border: 1px solid var(--border-softer);
  border-radius: 1.25rem;
  padding: 2.5rem;
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  color: var(--text-gray-300);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  background: var(--bg-0);
  border: 1px solid var(--border-soft);
  border-radius: 0.6rem;
  padding: 0.85rem 1rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--red);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.alert {
  border-radius: 0.6rem;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.alert-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}

.alert-error {
  background: rgba(178, 34, 52, 0.12);
  border: 1px solid rgba(178, 34, 52, 0.4);
  color: #fca5a5;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-0);
  color: #fff;
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--border-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 860px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand p {
  color: var(--text-gray-400);
  line-height: 1.7;
  max-width: 380px;
  margin: 1.5rem 0;
}

.social-row {
  display: flex;
  gap: 1rem;
}

.social-row a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.social-row a:hover {
  background: var(--red);
}

.footer-col h4 {
  color: var(--red);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-gray-400);
}

.footer-col ul a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  color: var(--text-gray-500);
  font-size: 0.85rem;
}

.footer-bottom .legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- Page header (interior pages) ---------- */
.page-header {
  padding: 10rem 0 4rem;
  background: var(--bg-0);
  text-align: center;
}

.page-header h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  margin: 0.5rem 0 0;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Showreel modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1.5rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: var(--bg-2);
  border-radius: 1rem;
  padding: 3rem 2rem;
  max-width: 480px;
  text-align: center;
  border: 1px solid var(--border-soft);
  position: relative;
}

.modal-box h3 {
  color: #fff;
  margin: 0 0 0.75rem;
}

.modal-box p {
  color: var(--text-gray-400);
  margin: 0;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-gray-400);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}
