:root {
    /* =========================
       CORE NEUTRALS
    ========================== */
    --tv-black: #111111;
    --tv-text: #1f2937;
    --tv-muted: #667085;
    --tv-border: #e5e7eb;
    --tv-surface: #f7f8fa;
    --tv-white: #ffffff;

    /* =========================
       TAREVISOS BRAND
    ========================== */
    --tv-accent: #8B1E3F;
    --tv-accent-hover: #731732;
    --tv-accent-soft: #F7E8EC;

    /* =========================
       SEMANTIC STATUS
       Keep verification green
    ========================== */
    --tv-success: #11885d;
    --tv-success-hover: #0e714e;
    --tv-success-soft: #eaf8f2;

    /* =========================
       PRIMARY ACTIONS
       Light theme = black
    ========================== */
    --tv-primary: #111111;
    --tv-primary-hover: #292929;

    /* =========================
       SHAPE / SPACING
    ========================== */
    --tv-radius-sm: 8px;
    --tv-radius: 12px;
    --tv-radius-lg: 18px;

    --tv-shadow:
        0 1px 2px rgba(16, 24, 40, 0.04),
        0 6px 20px rgba(16, 24, 40, 0.05);

    --tv-container: 1240px;
}


/* ============================================================
   DARK THEME TOKENS
============================================================ */

html[data-theme="dark"] {
    --tv-black: #f4f4f5;
    --tv-text: #e5e7eb;
    --tv-muted: #9ca3af;

    --tv-border: #292d31;
    --tv-surface: #151718;
    --tv-white: #101112;

    /* Dark mode primary actions use Tarevisos wine red */
    --tv-primary: #8B1E3F;
    --tv-primary-hover: #A1274D;

    --tv-shadow:
        0 1px 2px rgba(0, 0, 0, 0.20),
        0 8px 24px rgba(0, 0, 0, 0.28);
}


/* ============================================================
   RESET / GLOBAL
============================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family: "Manrope", sans-serif;

    color: var(--tv-text);
    background: var(--tv-white);

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    -webkit-tap-highlight-color: transparent;
}

.tv-container {
    width: min(calc(100% - 40px), var(--tv-container));
    margin-inline: auto;
}


/* ============================================================
   DARK GLOBAL
============================================================ */

html[data-theme="dark"] body {
    background: #101112;
    color: var(--tv-text);
}


/* ============================================================
   HEADER
============================================================ */

.tv-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--tv-border);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

html[data-theme="dark"] .tv-header {
    background: rgba(16, 17, 18, 0.94);
}

.tv-nav {
    height: 78px;

    display: flex;
    align-items: center;

    gap: 34px;
}


/* ============================================================
   BRAND / LOGO
============================================================ */

.tv-brand {
    display: inline-flex;
    align-items: center;

    flex: 0 0 auto;
}

.tv-logo {
    width: 66px;
    height: 54px;

    object-fit: contain;
}

.tv-logo-dark {
    display: none;
}

html[data-theme="dark"] .tv-logo-light {
    display: none;
}

html[data-theme="dark"] .tv-logo-dark {
    display: block;
}


/* Fallback support if old single-image brand markup is still present */
.tv-brand > img:not(.tv-logo) {
    width: 58px;
    height: 58px;

    object-fit: contain;
}


/* ============================================================
   DESKTOP NAVIGATION
============================================================ */

.tv-nav-links {
    display: flex;
    align-items: center;

    gap: 28px;

    margin-left: 10px;
}

.tv-nav-links a,
.tv-marketplace-link {
    font-size: 14px;
    font-weight: 600;

    color: #344054;

    transition: color 0.2s ease;
}

.tv-nav-links a:hover,
.tv-marketplace-link:hover {
    color: #000000;
}

html[data-theme="dark"] .tv-nav-links a,
html[data-theme="dark"] .tv-marketplace-link {
    color: #d1d5db;
}

html[data-theme="dark"] .tv-nav-links a:hover,
html[data-theme="dark"] .tv-marketplace-link:hover {
    color: #ffffff;
}

.tv-nav-actions {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 22px;
}

.tv-marketplace-link {
    display: inline-flex;
    align-items: center;

    gap: 7px;
}


/* ============================================================
   THEME TOGGLE
============================================================ */

.tv-theme-toggle {
    width: 42px;
    height: 42px;

    display: inline-grid;
    place-items: center;

    flex: 0 0 auto;

    padding: 0;

    border: 1px solid var(--tv-border);
    border-radius: 10px;

    background: transparent;
    color: var(--tv-text);

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.tv-theme-toggle:hover {
    background: var(--tv-surface);
    transform: translateY(-1px);
}

.tv-theme-toggle:focus-visible {
    outline: 3px solid rgba(139, 30, 63, 0.20);
    outline-offset: 2px;
}


/* ============================================================
   MOBILE NAV
============================================================ */

.tv-mobile-toggle {
    display: none;

    margin-left: auto;

    border: 0;
    background: none;

    color: var(--tv-text);

    font-size: 22px;

    cursor: pointer;
}

.tv-mobile-menu {
    display: none;
}

.tv-mobile-theme-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 10px 0;

    color: var(--tv-text);

    font-size: 14px;
    font-weight: 600;
}

.tv-theme-toggle-mobile {
    flex: 0 0 auto;
}


/* ============================================================
   BUTTONS
============================================================ */

.tv-btn {
    min-height: 44px;

    padding: 0 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    border-radius: var(--tv-radius-sm);

    font-size: 14px;
    font-weight: 700;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.tv-btn-primary {
    background: var(--tv-primary);
    color: #ffffff;
}

.tv-btn-primary:hover {
    background: var(--tv-primary-hover);

    transform: translateY(-1px);
}

.tv-btn-outline {
    border: 1px solid var(--tv-border);

    background: var(--tv-white);
    color: var(--tv-text);
}

.tv-btn-outline:hover {
    border-color: #aeb4bd;

    background: var(--tv-surface);
}

html[data-theme="dark"] .tv-btn-outline {
    background: transparent;
    color: #f4f4f5;

    border-color: #34383d;
}

html[data-theme="dark"] .tv-btn-outline:hover {
    background: #202326;
    border-color: #4a5056;
}

.tv-btn-full {
    width: 100%;
}

.tv-btn-large {
    min-height: 52px;

    padding-inline: 26px;
}

.tv-btn-light {
    background: #ffffff;
    color: #111111;
}

.tv-btn-light:hover {
    background: #f4f4f5;
}


/* ============================================================
   HERO
============================================================ */

.tv-hero {
    padding: 100px 0 88px;

    background:
        radial-gradient(
            circle at 75% 15%,
            rgba(139, 30, 63, 0.08),
            transparent 27%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfbfb 100%
        );

    transition: background 0.2s ease;
}

html[data-theme="dark"] .tv-hero {
    background:
        radial-gradient(
            circle at 75% 15%,
            rgba(139, 30, 63, 0.17),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #101112 0%,
            #121415 100%
        );
}

.tv-hero-inner {
    display: flex;
    justify-content: center;
}

.tv-hero-copy {
    width: 100%;
    max-width: 920px;

    text-align: center;
}

.tv-eyebrow,
.tv-section-kicker {
    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tv-eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: var(--tv-muted);
}

.tv-eyebrow span {
    width: 8px;
    height: 8px;

    background: var(--tv-accent);

    border-radius: 50%;
}

.tv-hero h1 {
    max-width: 790px;

    margin: 24px auto 18px;

    color: var(--tv-black);

    font-size: clamp(48px, 6vw, 78px);
    line-height: 0.99;

    letter-spacing: -0.055em;

    font-weight: 800;
}

.tv-hero h1 span {
    color: var(--tv-accent);
}

.tv-hero-copy > p {
    max-width: 670px;

    margin: 0 auto 40px;

    font-size: 18px;
    line-height: 1.7;

    color: var(--tv-muted);
}


/* ============================================================
   SEARCH
============================================================ */

.tv-search {
    display: grid;

    grid-template-columns: 1fr 240px 130px;

    padding: 7px;

    background: #ffffff;

    border: 1px solid #d8dde5;
    border-radius: 14px;

    box-shadow:
        0 18px 50px rgba(16, 24, 40, 0.09);

    text-align: left;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

html[data-theme="dark"] .tv-search {
    background: #191b1d;
    border-color: #303438;

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.20);
}

.tv-search-field {
    min-height: 56px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 0 18px;
}

.tv-search-main {
    border-right: 1px solid var(--tv-border);
}

.tv-search-field i {
    color: #8b94a3;
}

.tv-search-field input,
.tv-search-field select {
    width: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--tv-text);
}

.tv-search-field input::placeholder {
    color: #87909d;
}

html[data-theme="dark"] .tv-search-field input,
html[data-theme="dark"] .tv-search-field select {
    color: #f4f4f5;
}

html[data-theme="dark"] .tv-search-field input::placeholder {
    color: #777f89;
}

html[data-theme="dark"] .tv-search-field select {
    color-scheme: dark;
}


/* IMPORTANT:
   Search now uses PRIMARY, not --tv-black.
   This gives:
   light theme = black
   dark theme = wine red
*/
.tv-search-button {
    border: 0;
    border-radius: 9px;

    background: var(--tv-primary);
    color: #ffffff;

    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.tv-search-button:hover {
    background: var(--tv-primary-hover);

    transform: translateY(-1px);
}

.tv-search-button:focus-visible {
    outline: 3px solid rgba(139, 30, 63, 0.22);
    outline-offset: 2px;
}

.tv-popular-searches {
    margin-top: 18px;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 9px 16px;

    font-size: 13px;
}

.tv-popular-searches span {
    color: var(--tv-muted);
}

.tv-popular-searches a {
    font-weight: 700;

    transition: color 0.2s ease;
}

.tv-popular-searches a:hover {
    color: var(--tv-accent);
}


/* ============================================================
   STATS
============================================================ */

.tv-stats {
    border-top: 1px solid var(--tv-border);
    border-bottom: 1px solid var(--tv-border);
}

.tv-stats-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);
}

.tv-stat {
    padding: 26px 30px;

    text-align: center;
}

.tv-stat + .tv-stat {
    border-left: 1px solid var(--tv-border);
}

.tv-stat strong {
    display: block;

    color: var(--tv-black);

    font-size: 27px;
}

.tv-stat span {
    display: block;

    margin-top: 4px;

    color: var(--tv-muted);

    font-size: 13px;
}


/* ============================================================
   GENERAL SECTIONS
============================================================ */

.tv-section {
    padding: 92px 0;
}

.tv-section-soft {
    background: var(--tv-surface);

    transition: background-color 0.2s ease;
}

html[data-theme="dark"] .tv-section-soft {
    background: #141617;
}

.tv-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 30px;

    margin-bottom: 42px;
}

.tv-section-kicker {
    color: var(--tv-accent);
}

.tv-section-heading h2,
.tv-trust-copy h2,
.tv-sourcing-cta h2,
.tv-business-owner h2 {
    margin: 9px 0 8px;

    color: var(--tv-black);

    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;

    letter-spacing: -0.04em;
}

.tv-section-heading p,
.tv-trust-copy p,
.tv-business-owner p {
    margin: 0;

    color: var(--tv-muted);

    line-height: 1.7;
}

.tv-heading-centered {
    justify-content: center;

    text-align: center;
}

.tv-text-link {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    font-size: 14px;
    font-weight: 700;

    transition: color 0.2s ease;
}

.tv-text-link:hover {
    color: var(--tv-accent);
}


/* ============================================================
   CATEGORY GRID
============================================================ */

.tv-category-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.tv-category-card {
    position: relative;

    min-height: 235px;

    overflow: hidden;

    border: 1px solid var(--tv-border);
    border-radius: var(--tv-radius-lg);

    background: var(--tv-white);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background-color 0.2s ease;
}

.tv-category-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--tv-shadow);
}

html[data-theme="dark"] .tv-category-card {
    background: #161819;
}


/*
   Keep category artwork on a LIGHT canvas
   even in dark mode.
   This protects transparent/black category artwork.
*/
.tv-category-image {
    height: 145px;

    overflow: hidden;

    background: #f2f3f5;
}

html[data-theme="dark"] .tv-category-image {
    background: #f4f4f5;
}

.tv-category-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.tv-category-card:hover .tv-category-image img {
    transform: scale(1.035);
}

.tv-category-content {
    padding: 18px 46px 18px 18px;
}

.tv-category-content h3 {
    margin: 0 0 5px;

    font-size: 16px;
}

.tv-category-content span {
    color: var(--tv-muted);

    font-size: 12px;
}

.tv-category-arrow {
    position: absolute;

    right: 18px;
    bottom: 21px;
}


/* ============================================================
   BUSINESS GRID
============================================================ */

.tv-business-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.tv-business-card {
    overflow: hidden;

    border: 1px solid var(--tv-border);
    border-radius: var(--tv-radius-lg);

    background: var(--tv-white);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background-color 0.2s ease;
}

.tv-business-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--tv-shadow);
}

html[data-theme="dark"] .tv-business-card {
    background: #161819;
}

.tv-business-cover {
    height: 170px;

    display: block;

    overflow: hidden;

    background: #eceff2;
}

html[data-theme="dark"] .tv-business-cover {
    background: #202326;
}

.tv-business-cover img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.tv-business-body {
    padding: 18px;
}

.tv-business-top {
    margin-top: -43px;
    margin-bottom: 12px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}


/*
   Company logos always sit on white.
   This protects black / transparent vendor logos.
*/
.tv-business-logo {
    width: 58px;
    height: 58px;

    overflow: hidden;

    background: #ffffff;

    border: 3px solid #ffffff;
    border-radius: 12px;

    box-shadow:
        0 3px 12px rgba(16, 24, 40, 0.12);
}

html[data-theme="dark"] .tv-business-logo {
    background: #ffffff;
    border-color: #ffffff;
}

.tv-business-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* Verification ALWAYS remains green */

.tv-verified-badge {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    padding: 7px 10px;

    border-radius: 999px;

    background: var(--tv-success-soft);

    color: var(--tv-success);

    font-size: 11px;
    font-weight: 800;
}

.tv-business-name-row h3 {
    margin: 0;

    color: var(--tv-text);

    font-size: 17px;
    line-height: 1.35;
}

.tv-business-type {
    margin: 4px 0 0;

    color: var(--tv-muted);

    font-size: 12px;
}

.tv-business-location {
    margin-top: 14px;

    color: var(--tv-muted);

    font-size: 12px;
}

.tv-business-location i {
    margin-right: 5px;
}

.tv-business-description {
    min-height: 58px;

    margin: 13px 0 16px;

    color: var(--tv-muted);

    font-size: 12px;
    line-height: 1.6;
}

.tv-business-meta {
    display: flex;

    gap: 24px;

    padding: 14px 0;

    border-top: 1px solid var(--tv-border);
}

.tv-business-meta span {
    display: block;

    color: var(--tv-muted);

    font-size: 10px;
}

.tv-business-meta strong {
    display: block;

    margin-top: 3px;

    color: var(--tv-text);

    font-size: 12px;
}


/* ============================================================
   BUSINESS TYPES
============================================================ */

.tv-type-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.tv-type-card {
    padding: 28px;

    border: 1px solid var(--tv-border);
    border-radius: var(--tv-radius);

    background: var(--tv-white);

    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        background-color 0.2s ease;
}

.tv-type-card:hover {
    border-color: #aab1bb;

    transform: translateY(-2px);
}

html[data-theme="dark"] .tv-type-card {
    background: #131516;
}

.tv-type-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: var(--tv-surface);

    color: var(--tv-text);
}

html[data-theme="dark"] .tv-type-icon {
    background: #202326;
    color: #f4f4f5;
}

.tv-type-card h3 {
    margin: 24px 0 12px;

    color: var(--tv-text);
}

.tv-type-card span {
    display: flex;
    align-items: center;

    gap: 8px;

    color: var(--tv-muted);

    font-size: 13px;
}


/* ============================================================
   TRUST / VERIFICATION
============================================================ */

.tv-trust-section {
    padding: 100px 0;

    background: #101312;

    color: #ffffff;
}

.tv-trust-grid {
    display: grid;

    grid-template-columns: 1.1fr 0.8fr;

    gap: 90px;

    align-items: center;
}

.tv-trust-copy h2 {
    color: #ffffff;
}

.tv-trust-copy p {
    max-width: 600px;

    color: #aab4b0;
}

.tv-trust-points {
    margin-top: 32px;

    display: grid;

    gap: 14px;
}

.tv-trust-points div {
    display: flex;
    align-items: center;

    gap: 12px;
}


/* Semantic checkmark stays green */

.tv-trust-points i {
    color: #6ee7b7;
}

.tv-verification-card {
    padding: 30px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.06);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.25);
}

.tv-verification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tv-verification-header > span:first-child {
    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.12em;
}

.tv-verification-card h3 {
    margin: 40px 0 9px;

    color: #ffffff;

    font-size: 25px;
}

.tv-verification-card > p {
    color: #aab4b0;

    line-height: 1.6;
}

.tv-verification-list {
    margin-top: 28px;
}

.tv-verification-list div {
    padding: 15px 0;

    display: flex;
    justify-content: space-between;

    border-top: 1px solid rgba(255, 255, 255, 0.10);
}


/* Semantic checkmark stays green */

.tv-verification-list i {
    color: #6ee7b7;
}


/* ============================================================
   HOW IT WORKS / STEPS
============================================================ */

.tv-steps {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 50px;
}


/*
   Step numbers are branding, NOT status,
   so they use wine red.
*/
.tv-step span {
    color: var(--tv-accent);

    font-size: 13px;
    font-weight: 800;
}

.tv-step h3 {
    margin: 16px 0 9px;

    color: var(--tv-text);

    font-size: 22px;
}

.tv-step p {
    max-width: 310px;

    margin: 0;

    color: var(--tv-muted);

    line-height: 1.7;
}


/* ============================================================
   SOURCING CTA
============================================================ */

.tv-sourcing-cta {
    padding: 54px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 50px;

    border-radius: 22px;

    background: var(--tv-accent);

    color: #ffffff;
}

.tv-sourcing-cta .tv-section-kicker {
    color: #f3d4dd;
}

.tv-sourcing-cta h2 {
    max-width: 600px;

    color: #ffffff;
}

.tv-sourcing-cta p {
    margin-bottom: 0;

    color: #f2dce3;
}


/* ============================================================
   LOCATIONS
============================================================ */

.tv-location-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 12px;
}

.tv-location-card {
    min-height: 68px;

    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 1px solid var(--tv-border);
    border-radius: 10px;

    background: var(--tv-white);

    color: var(--tv-text);

    font-size: 14px;
    font-weight: 700;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.tv-location-card:hover {
    border-color: #aab1bb;

    transform: translateY(-2px);
}

html[data-theme="dark"] .tv-location-card {
    background: #161819;
}


/* ============================================================
   RESOURCES
============================================================ */

.tv-resource-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.tv-resource-card {
    overflow: hidden;

    border: 1px solid var(--tv-border);
    border-radius: var(--tv-radius-lg);

    background: var(--tv-white);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.tv-resource-card:hover {
    transform: translateY(-3px);

    box-shadow: var(--tv-shadow);
}

html[data-theme="dark"] .tv-resource-card {
    background: #161819;
}

.tv-resource-image {
    height: 210px;

    display: block;

    overflow: hidden;

    background: #f0f1f3;
}

html[data-theme="dark"] .tv-resource-image {
    background: #202326;
}

.tv-resource-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.tv-resource-body {
    padding: 22px;
}

.tv-resource-body > span {
    color: var(--tv-muted);

    font-size: 11px;
}

.tv-resource-body h3 {
    margin: 9px 0 20px;

    color: var(--tv-text);

    line-height: 1.45;
}


/* ============================================================
   BUSINESS OWNER CTA
============================================================ */

.tv-business-owner {
    padding: 84px 0;

    border-top: 1px solid var(--tv-border);
}

.tv-business-owner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 50px;
}

.tv-business-owner-inner > div {
    max-width: 700px;
}


/* ============================================================
   FOOTER
============================================================ */

.tv-footer {
    padding: 76px 0 28px;

    background: #0e0f0f;

    color: #ffffff;
}

.tv-footer-grid {
    display: grid;

    grid-template-columns: 1.8fr repeat(3, 1fr);

    gap: 60px;
}

.tv-footer-logo {
    width: 80px;

    margin-bottom: 18px;
}

.tv-footer-description {
    max-width: 330px;

    color: #969da5;

    font-size: 13px;
    line-height: 1.7;
}

.tv-footer h4 {
    margin: 0 0 20px;

    font-size: 13px;
}

.tv-footer-grid > div:not(:first-child) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tv-footer-grid a {
    margin-bottom: 13px;

    color: #aeb4bb;

    font-size: 13px;

    transition: color 0.2s ease;
}

.tv-footer-grid a:hover {
    color: #ffffff;
}

.tv-footer-bottom {
    margin-top: 65px;

    padding-top: 23px;

    display: flex;
    justify-content: space-between;

    border-top: 1px solid #292c2e;

    color: #797f85;

    font-size: 11px;
}

.tv-footer-bottom div {
    display: flex;

    gap: 20px;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1050px) {

    .tv-nav-links,
    .tv-nav-actions {
        display: none;
    }

    .tv-mobile-toggle {
        display: block;
    }

    .tv-mobile-menu.is-open {
        display: flex;
        flex-direction: column;

        gap: 16px;

        padding: 20px;

        border-top: 1px solid var(--tv-border);

        background: #ffffff;
    }

    html[data-theme="dark"] .tv-mobile-menu.is-open {
        background: #101112;
        border-color: var(--tv-border);
    }

    html[data-theme="dark"] .tv-mobile-menu a {
        color: var(--tv-text);
    }

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

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

    .tv-trust-grid {
        gap: 45px;
    }
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 760px) {

    .tv-container {
        width: min(
            calc(100% - 28px),
            var(--tv-container)
        );
    }

    .tv-nav {
        height: 68px;
    }

    .tv-logo {
        width: 58px;
        height: 48px;
    }

    .tv-brand > img:not(.tv-logo) {
        width: 50px;
        height: 50px;
    }

    .tv-hero {
        padding: 70px 0 58px;
    }

    .tv-hero h1 {
        font-size: 45px;
    }

    .tv-hero-copy > p {
        font-size: 15px;
    }

    .tv-search {
        grid-template-columns: 1fr;

        gap: 5px;

        padding: 7px;
    }

    .tv-search-main {
        border-right: 0;
        border-bottom: 1px solid var(--tv-border);
    }

    .tv-search-location {
        border-bottom: 1px solid var(--tv-border);
    }

    .tv-search-button {
        min-height: 52px;
    }

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

    .tv-stat:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--tv-border);
    }

    .tv-stat:nth-child(4) {
        border-top: 1px solid var(--tv-border);
    }

    .tv-section {
        padding: 68px 0;
    }

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

    .tv-category-grid,
    .tv-business-grid,
    .tv-type-grid,
    .tv-resource-grid,
    .tv-location-grid {
        grid-template-columns: 1fr;
    }

    .tv-business-cover {
        height: 210px;
    }

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

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

        gap: 38px;
    }

    .tv-sourcing-cta {
        padding: 32px 24px;

        flex-direction: column;
        align-items: flex-start;
    }

    .tv-business-owner-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .tv-footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 40px 24px;
    }

    .tv-footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .tv-footer-bottom {
        flex-direction: column;

        gap: 15px;
    }
}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 470px) {

    .tv-hero h1 {
        font-size: 39px;
    }

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

    .tv-stat + .tv-stat {
        border-left: 0;
        border-top: 1px solid var(--tv-border);
    }

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


/* ============================================================
   DIRECTORY V2
============================================================ */

.tv-directory-hero {
    padding: 72px 0 54px;

    border-bottom: 1px solid var(--tv-border);

    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(139, 30, 63, 0.07),
            transparent 28%
        ),
        var(--tv-white);
}

html[data-theme="dark"] .tv-directory-hero {
    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(139, 30, 63, 0.16),
            transparent 30%
        ),
        #101112;
}

.tv-directory-hero-copy {
    max-width: 720px;
}

.tv-directory-hero-copy h1 {
    margin: 10px 0 13px;

    color: var(--tv-black);

    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.02;

    letter-spacing: -0.05em;
}

.tv-directory-hero-copy h1 span {
    color: var(--tv-accent);
}

.tv-directory-hero-copy p {
    margin: 0;

    color: var(--tv-muted);

    font-size: 16px;
    line-height: 1.7;
}


/* DIRECTORY SEARCH */

.tv-directory-search {
    margin-top: 35px;

    display: grid;
    grid-template-columns: 1fr 260px 125px;

    padding: 7px;

    border: 1px solid var(--tv-border);
    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 12px 35px rgba(16, 24, 40, 0.06);
}

html[data-theme="dark"] .tv-directory-search {
    background: #191b1d;
    border-color: #303438;
}

.tv-directory-search-field {
    min-height: 54px;

    padding: 0 18px;

    display: flex;
    align-items: center;

    gap: 12px;
}

.tv-directory-search-field:first-child {
    border-right: 1px solid var(--tv-border);
}

.tv-directory-search-field i {
    color: var(--tv-muted);
}

.tv-directory-search-field input,
.tv-directory-search-field select {
    width: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--tv-text);
}

.tv-directory-search-field input::placeholder {
    color: #8d96a3;
}

html[data-theme="dark"] .tv-directory-search-field select {
    color-scheme: dark;
}

.tv-directory-search-button {
    border: 0;
    border-radius: 9px;

    background: var(--tv-primary);
    color: #ffffff;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.tv-directory-search-button:hover {
    background: var(--tv-primary-hover);
    transform: translateY(-1px);
}


/* DIRECTORY WRAPPER */

.tv-directory {
    padding: 60px 0 100px;
}

.tv-directory-heading {
    margin-bottom: 28px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;
}

.tv-directory-heading h2 {
    margin: 0;

    color: var(--tv-black);

    font-size: 30px;
    letter-spacing: -0.035em;
}

.tv-directory-heading p {
    margin: 5px 0 0;

    color: var(--tv-muted);

    font-size: 13px;
}

.tv-directory-toolbar {
    display: flex;
    align-items: center;

    gap: 12px;
}


/* SORT */

.tv-sort-form {
    display: flex;
    align-items: center;

    gap: 10px;
}

.tv-sort-form label {
    color: var(--tv-muted);

    font-size: 12px;
    font-weight: 700;
}

.tv-sort-form select {
    min-height: 42px;

    padding: 0 34px 0 13px;

    border: 1px solid var(--tv-border);
    border-radius: 9px;

    background: var(--tv-white);
    color: var(--tv-text);

    outline: none;

    font-size: 13px;
    font-weight: 600;
}

html[data-theme="dark"] .tv-sort-form select {
    color-scheme: dark;
}


/* ACTIVE FILTERS */

.tv-active-filters {
    margin-bottom: 28px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;
}

.tv-active-filter-label {
    margin-right: 4px;

    color: var(--tv-muted);

    font-size: 12px;
    font-weight: 700;
}

.tv-filter-chip {
    padding: 7px 11px;

    border: 1px solid var(--tv-border);
    border-radius: 999px;

    background: var(--tv-surface);

    color: var(--tv-text);

    font-size: 11px;
    font-weight: 700;
}

.tv-filter-chip-verified {
    background: var(--tv-success-soft);
    border-color: transparent;

    color: var(--tv-success);
}

.tv-clear-filters {
    margin-left: 5px;

    color: var(--tv-accent);

    font-size: 12px;
    font-weight: 700;
}


/* LAYOUT */

.tv-directory-layout {
    display: grid;

    grid-template-columns: 255px minmax(0, 1fr);

    gap: 38px;

    align-items: start;
}


/* SIDEBAR */

.tv-filter-sidebar {
    position: sticky;
    top: 105px;
}

.tv-filter-sidebar > form {
    padding: 24px;

    border: 1px solid var(--tv-border);
    border-radius: 14px;

    background: var(--tv-white);
}

.tv-filter-group {
    padding-bottom: 23px;
    margin-bottom: 23px;

    border-bottom: 1px solid var(--tv-border);
}

.tv-filter-group h3 {
    margin: 0 0 15px;

    color: var(--tv-text);

    font-size: 13px;
}

.tv-filter-radio,
.tv-filter-checkbox {
    min-height: 32px;

    display: flex;
    align-items: center;

    gap: 9px;

    cursor: pointer;

    color: var(--tv-muted);

    font-size: 12px;
}

.tv-filter-radio input,
.tv-filter-checkbox input {
    accent-color: var(--tv-accent);
}

.tv-filter-radio span,
.tv-filter-checkbox span {
    flex: 1;
}

.tv-filter-radio small {
    color: var(--tv-muted);
}

.tv-filter-checkbox i {
    color: var(--tv-success);
}

.tv-filter-select {
    width: 100%;
    min-height: 42px;

    padding: 0 12px;

    border: 1px solid var(--tv-border);
    border-radius: 8px;

    outline: none;

    background: var(--tv-white);
    color: var(--tv-text);

    font-size: 12px;
}

html[data-theme="dark"] .tv-filter-select {
    color-scheme: dark;
}

.tv-filter-reset {
    margin-top: 15px;

    display: block;

    text-align: center;

    color: var(--tv-muted);

    font-size: 11px;
    font-weight: 700;
}

.tv-filter-reset:hover {
    color: var(--tv-accent);
}


/* MOBILE FILTER COMPONENTS */

.tv-filter-mobile-button {
    display: none;

    min-height: 42px;

    padding: 0 14px;

    border: 1px solid var(--tv-border);
    border-radius: 9px;

    background: var(--tv-white);
    color: var(--tv-text);

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.tv-filter-mobile-header {
    display: none;
}

.tv-filter-backdrop {
    display: none;
}


/* RESULTS */

.tv-directory-results {
    min-width: 0;
}


/* BUSINESS RESULT CARD */

.tv-directory-business-card {
    margin-bottom: 18px;

    display: grid;

    grid-template-columns: 205px minmax(0, 1fr);

    overflow: hidden;

    border: 1px solid var(--tv-border);
    border-radius: 16px;

    background: var(--tv-white);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.tv-directory-business-card:hover {
    transform: translateY(-2px);

    box-shadow: var(--tv-shadow);
}

.tv-directory-business-cover {
    min-height: 230px;

    overflow: hidden;

    background: #eef0f2;
}

html[data-theme="dark"] .tv-directory-business-cover {
    background: #202326;
}

.tv-directory-business-cover > img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.tv-directory-cover-placeholder {
    width: 100%;
    height: 100%;

    min-height: 230px;

    display: grid;
    place-items: center;

    color: #a1a8b2;

    font-size: 42px;
}


/* CARD CONTENT */

.tv-directory-business-content {
    min-width: 0;

    padding: 22px;

    display: grid;

    grid-template-columns: minmax(0, 1fr) auto;

    gap: 26px;
}

.tv-directory-business-main {
    min-width: 0;
}

.tv-directory-business-title-row {
    display: flex;

    gap: 14px;

    align-items: flex-start;
}

.tv-directory-business-logo {
    width: 52px;
    height: 52px;

    flex: 0 0 52px;

    display: grid;
    place-items: center;

    overflow: hidden;

    border: 1px solid #e6e8eb;
    border-radius: 11px;

    background: #ffffff;

    color: #111111;

    font-size: 18px;
    font-weight: 800;
}

.tv-directory-business-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.tv-directory-business-title {
    flex: 1;
    min-width: 0;
}

.tv-directory-business-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;
}

.tv-directory-business-name-row h3 {
    margin: 0;

    color: var(--tv-text);

    font-size: 18px;
    line-height: 1.3;

    letter-spacing: -0.02em;
}

.tv-directory-business-title > p {
    margin: 4px 0 0;

    color: var(--tv-muted);

    font-size: 12px;
}

.tv-directory-business-location {
    margin-top: 17px;

    color: var(--tv-muted);

    font-size: 12px;
}

.tv-directory-business-location i {
    margin-right: 5px;
}

.tv-directory-business-description {
    max-width: 680px;

    margin: 12px 0;

    color: var(--tv-muted);

    font-size: 12px;
    line-height: 1.65;
}


/* TAGS */

.tv-directory-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;
}

.tv-directory-tags span {
    padding: 5px 8px;

    border-radius: 6px;

    background: var(--tv-surface);

    color: var(--tv-muted);

    font-size: 10px;
    font-weight: 700;
}


/* META */

.tv-directory-business-meta {
    margin-top: 17px;
    padding-top: 15px;

    display: flex;
    flex-wrap: wrap;

    gap: 28px;

    border-top: 1px solid var(--tv-border);
}

.tv-directory-business-meta span {
    display: block;

    margin-bottom: 3px;

    color: var(--tv-muted);

    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tv-directory-business-meta strong {
    color: var(--tv-text);

    font-size: 11px;
}


/* RESULT ACTIONS */

.tv-directory-business-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;

    gap: 12px;
}

.tv-directory-business-actions .tv-btn {
    white-space: nowrap;
}

.tv-directory-whatsapp {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border: 1px solid #d6eee4;
    border-radius: 9px;

    background: var(--tv-success-soft);

    color: var(--tv-success);

    font-size: 18px;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.tv-directory-whatsapp:hover {
    transform: translateY(-1px);
    background: #ddf4ea;
}


/* EMPTY STATE */

.tv-directory-empty {
    min-height: 420px;

    padding: 60px 30px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--tv-border);
    border-radius: 16px;

    text-align: center;
}

.tv-directory-empty-icon {
    width: 64px;
    height: 64px;

    display: grid;
    place-items: center;

    margin-bottom: 20px;

    border-radius: 50%;

    background: var(--tv-accent-soft);
    color: var(--tv-accent);

    font-size: 20px;
}

.tv-directory-empty h3 {
    margin: 0;

    color: var(--tv-text);

    font-size: 22px;
}

.tv-directory-empty p {
    margin: 8px 0 24px;

    color: var(--tv-muted);
}


/* PAGINATION */

.tv-pagination {
    margin-top: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 6px;
}

.tv-pagination a,
.tv-pagination span {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border: 1px solid var(--tv-border);
    border-radius: 8px;

    color: var(--tv-text);

    font-size: 12px;
    font-weight: 700;
}

.tv-pagination a:hover {
    border-color: var(--tv-accent);

    color: var(--tv-accent);
}

.tv-pagination-current {
    border-color: var(--tv-accent) !important;

    background: var(--tv-accent);

    color: #ffffff !important;
}


/* ============================================================
   DIRECTORY TABLET / MOBILE
============================================================ */

@media (max-width: 980px) {

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

    .tv-filter-mobile-button {
        display: inline-flex;
        align-items: center;

        gap: 8px;
    }

    .tv-filter-sidebar {
        position: fixed;

        top: 0;
        left: 0;
        bottom: 0;

        z-index: 500;

        width: min(88vw, 340px);

        padding: 18px;

        overflow-y: auto;

        background: var(--tv-white);

        transform: translateX(-105%);

        transition: transform 0.25s ease;

        box-shadow:
            20px 0 50px rgba(0, 0, 0, 0.16);
    }

    .tv-filter-sidebar.is-open {
        transform: translateX(0);
    }

    .tv-filter-sidebar > form {
        border: 0;

        padding: 10px 0 40px;

        background: transparent;
    }

    .tv-filter-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 5px 0 14px;

        border-bottom: 1px solid var(--tv-border);
    }

    .tv-filter-mobile-header button {
        width: 38px;
        height: 38px;

        display: grid;
        place-items: center;

        border: 0;
        border-radius: 8px;

        background: var(--tv-surface);
        color: var(--tv-text);

        cursor: pointer;
    }

    .tv-filter-backdrop {
        position: fixed;

        inset: 0;

        z-index: 450;

        background: rgba(0, 0, 0, 0.48);
    }

    .tv-filter-backdrop.is-open {
        display: block;
    }

    .tv-filter-lock {
        overflow: hidden;
    }
}


@media (max-width: 760px) {

    .tv-directory-hero {
        padding: 55px 0 40px;
    }

    .tv-directory-hero-copy h1 {
        font-size: 39px;
    }

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

    .tv-directory-search-field:first-child {
        border-right: 0;
        border-bottom: 1px solid var(--tv-border);
    }

    .tv-directory-location {
        border-bottom: 1px solid var(--tv-border);
    }

    .tv-directory-search-button {
        min-height: 50px;
    }

    .tv-directory {
        padding: 42px 0 70px;
    }

    .tv-directory-heading {
        align-items: flex-start;
    }

    .tv-directory-toolbar {
        align-items: flex-end;
        flex-direction: column;
    }

    .tv-sort-form label {
        display: none;
    }

    .tv-directory-business-card {
        grid-template-columns: 1fr;
    }

    .tv-directory-business-cover {
        min-height: 180px;
        height: 180px;
    }

    .tv-directory-business-content {
        grid-template-columns: 1fr;
    }

    .tv-directory-business-actions {
        flex-direction: row;
        align-items: center;
    }

    .tv-directory-business-actions .tv-btn {
        flex: 1;
    }
}


@media (max-width: 520px) {

    .tv-directory-heading {
        flex-direction: column;

        gap: 18px;
    }

    .tv-directory-toolbar {
        width: 100%;

        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .tv-directory-business-title-row {
        align-items: flex-start;
    }

    .tv-directory-business-name-row {
        align-items: flex-start;
        flex-direction: column;

        gap: 6px;
    }

    .tv-directory-business-meta {
        gap: 18px;
    }
}


/* ============================================================
   BUSINESS PROFILE V2
============================================================ */


/* ============================================================
   PROFILE HERO / COVER
============================================================ */

.tv-profile-hero {
    border-bottom: 1px solid var(--tv-border);

    background: var(--tv-white);
}

.tv-profile-cover {
    width: 100%;
    height: 340px;

    overflow: hidden;

    background: #e9ecef;
}

.tv-profile-cover > img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.tv-profile-cover-placeholder {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(139, 30, 63, 0.10),
            transparent 30%
        ),
        #eef0f2;

    color: #a0a7b0;

    font-size: 60px;
}

html[data-theme="dark"] .tv-profile-cover-placeholder {
    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(139, 30, 63, 0.17),
            transparent 30%
        ),
        #1b1d1f;

    color: #555d66;
}


/* ============================================================
   PROFILE HEADER
============================================================ */

.tv-profile-header {
    position: relative;

    min-height: 150px;

    padding: 28px 0 32px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 40px;
}

.tv-profile-identity {
    min-width: 0;

    display: flex;
    align-items: flex-end;

    gap: 22px;
}

.tv-profile-logo {
    width: 110px;
    height: 110px;

    flex: 0 0 110px;

    margin-top: -72px;

    overflow: hidden;

    display: grid;
    place-items: center;

    border: 5px solid var(--tv-white);
    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 12px 30px rgba(16, 24, 40, 0.13);

    color: #111111;

    font-size: 35px;
    font-weight: 800;
}

html[data-theme="dark"] .tv-profile-logo {
    border-color: #101112;
    background: #ffffff;
}

.tv-profile-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.tv-profile-heading-copy {
    min-width: 0;
}

.tv-profile-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;
}

.tv-profile-name-row h1 {
    margin: 0;

    color: var(--tv-black);

    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;

    letter-spacing: -0.045em;
}

.tv-profile-type {
    margin: 8px 0 0;

    color: var(--tv-muted);

    font-size: 14px;
    font-weight: 600;
}

.tv-profile-location {
    margin-top: 8px;

    color: var(--tv-muted);

    font-size: 13px;
}

.tv-profile-location i {
    margin-right: 6px;
}


/* ============================================================
   PROFILE HEADER ACTIONS
============================================================ */

.tv-profile-header-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;
}

.tv-profile-action {
    min-height: 44px;

    padding: 0 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    border: 1px solid var(--tv-border);
    border-radius: 9px;

    background: var(--tv-white);
    color: var(--tv-text);

    font-size: 12px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.tv-profile-action:hover {
    transform: translateY(-1px);

    border-color: #aab0b8;
    background: var(--tv-surface);
}

.tv-profile-whatsapp {
    border-color: #d2eee1;

    background: var(--tv-success-soft);
    color: var(--tv-success);
}

.tv-profile-whatsapp:hover {
    background: #def4e9;
}


/* ============================================================
   PROFILE BODY
============================================================ */

.tv-profile-section {
    padding: 58px 0 100px;

    background: var(--tv-surface);
}

html[data-theme="dark"] .tv-profile-section {
    background: #121415;
}

.tv-profile-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(270px, 330px);

    gap: 34px;

    align-items: start;
}

.tv-profile-main {
    min-width: 0;
}


/* ============================================================
   PROFILE CONTENT CARDS
============================================================ */

.tv-profile-card {
    margin-bottom: 22px;

    padding: 32px;

    border: 1px solid var(--tv-border);
    border-radius: 16px;

    background: var(--tv-white);

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

html[data-theme="dark"] .tv-profile-card {
    background: #161819;
}

.tv-profile-card h2 {
    margin: 8px 0 20px;

    color: var(--tv-black);

    font-size: 26px;
    line-height: 1.2;

    letter-spacing: -0.035em;
}

.tv-profile-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.tv-profile-lead {
    margin: 0 0 18px;

    color: var(--tv-text);

    font-size: 16px;
    line-height: 1.75;
}

.tv-profile-description {
    color: var(--tv-muted);

    font-size: 14px;
    line-height: 1.85;
}

.tv-profile-description p {
    margin-top: 0;
    margin-bottom: 16px;
}

.tv-profile-description p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   BUSINESS DETAILS
============================================================ */

.tv-profile-details-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.tv-profile-detail {
    min-height: 92px;

    padding: 17px;

    border: 1px solid var(--tv-border);
    border-radius: 11px;

    background: var(--tv-surface);
}

html[data-theme="dark"] .tv-profile-detail {
    background: #1c1f21;
}

.tv-profile-detail span {
    display: block;

    margin-bottom: 7px;

    color: var(--tv-muted);

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.tv-profile-detail strong {
    display: block;

    color: var(--tv-text);

    font-size: 13px;
    line-height: 1.5;

    word-break: break-word;
}

.tv-profile-detail-wide {
    grid-column: 1 / -1;
}


/* ============================================================
   PROFILE TAGS / PRODUCTS
============================================================ */

.tv-profile-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}

.tv-profile-tags a {
    padding: 8px 11px;

    border: 1px solid var(--tv-border);
    border-radius: 8px;

    background: var(--tv-surface);
    color: var(--tv-text);

    font-size: 11px;
    font-weight: 700;

    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        background 0.2s ease;
}

.tv-profile-tags a:hover {
    border-color: var(--tv-accent);

    color: var(--tv-accent);
}

.tv-profile-text-block {
    margin-top: 22px;
    padding-top: 20px;

    border-top: 1px solid var(--tv-border);
}

.tv-profile-text-block h3 {
    margin: 0 0 8px;

    color: var(--tv-text);

    font-size: 14px;
}

.tv-profile-text-block p {
    margin: 0;

    color: var(--tv-muted);

    font-size: 13px;
    line-height: 1.75;
}


/* ============================================================
   TRUST SIGNALS
============================================================ */

.tv-profile-trust-list {
    display: grid;

    gap: 12px;
}

.tv-profile-trust-list > div {
    min-height: 46px;

    padding: 11px 13px;

    display: flex;
    align-items: center;

    gap: 10px;

    border: 1px solid var(--tv-border);
    border-radius: 9px;

    background: var(--tv-surface);
}

html[data-theme="dark"] .tv-profile-trust-list > div {
    background: #1b1e20;
}

.tv-profile-trust-list i {
    color: var(--tv-success);
}

.tv-profile-trust-list span {
    color: var(--tv-text);

    font-size: 12px;
    font-weight: 600;
}


/* ============================================================
   BUSINESS GALLERY
============================================================ */

.tv-profile-gallery {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;
}

.tv-profile-gallery-item {
    position: relative;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    border: 1px solid var(--tv-border);
    border-radius: 11px;

    background: #eef0f2;
}

.tv-profile-gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.tv-profile-gallery-item:hover img {
    transform: scale(1.04);
}

.tv-profile-gallery-caption {
    position: absolute;

    left: 8px;
    right: 8px;
    bottom: 8px;

    padding: 7px 9px;

    border-radius: 7px;

    background: rgba(0, 0, 0, 0.68);
    color: #ffffff;

    font-size: 10px;
    line-height: 1.4;

    backdrop-filter: blur(4px);
}


/* ============================================================
   PROFILE SIDEBAR
============================================================ */

.tv-profile-sidebar {
    position: sticky;
    top: 105px;

    display: grid;

    gap: 16px;
}

.tv-profile-side-card {
    padding: 22px;

    border: 1px solid var(--tv-border);
    border-radius: 14px;

    background: var(--tv-white);
}

html[data-theme="dark"] .tv-profile-side-card {
    background: #161819;
}

.tv-profile-side-card h3 {
    margin: 0;

    color: var(--tv-text);

    font-size: 16px;
}

.tv-profile-side-card > p {
    margin: 8px 0 0;

    color: var(--tv-muted);

    font-size: 12px;
    line-height: 1.65;
}


/* ============================================================
   CONTACT SIDEBAR
============================================================ */

.tv-profile-contact-actions {
    margin-top: 19px;

    display: grid;

    gap: 9px;
}

.tv-profile-contact-actions .tv-btn {
    width: 100%;

    justify-content: center;
}

.tv-profile-contact-whatsapp {
    background: var(--tv-success);

    color: #ffffff;
}

.tv-profile-contact-whatsapp:hover {
    background: var(--tv-success-hover);

    transform: translateY(-1px);
}


/* ============================================================
   SIDEBAR TRUST CARD
============================================================ */

.tv-profile-trust-card {
    position: relative;

    overflow: hidden;

    border-color: rgba(17, 136, 93, 0.18);

    background:
        linear-gradient(
            145deg,
            var(--tv-success-soft),
            var(--tv-white)
        );
}

html[data-theme="dark"] .tv-profile-trust-card {
    border-color: rgba(110, 231, 183, 0.18);

    background:
        linear-gradient(
            145deg,
            rgba(17, 136, 93, 0.12),
            #161819
        );
}

.tv-profile-trust-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 14px;
}

.tv-profile-trust-heading span {
    color: var(--tv-success);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.12em;
}

.tv-profile-trust-heading h3 {
    margin-top: 5px;
}

.tv-profile-trust-heading > i {
    color: var(--tv-success);

    font-size: 20px;
}


/* ============================================================
   ADDRESS
============================================================ */

.tv-profile-address {
    margin-top: 18px;

    display: flex;
    align-items: flex-start;

    gap: 11px;
}

.tv-profile-address + .tv-profile-address {
    padding-top: 17px;

    border-top: 1px solid var(--tv-border);
}

.tv-profile-address > i {
    width: 18px;

    margin-top: 3px;

    color: var(--tv-accent);

    text-align: center;
}

.tv-profile-address span {
    display: block;

    color: var(--tv-muted);

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.tv-profile-address p {
    margin: 5px 0 0;

    color: var(--tv-text);

    font-size: 11px;
    line-height: 1.6;
}


/* ============================================================
   SOCIAL LINKS
============================================================ */

.tv-profile-socials {
    margin-top: 16px;

    display: grid;

    gap: 8px;
}

.tv-profile-socials a {
    min-height: 42px;

    padding: 0 11px;

    display: flex;
    align-items: center;

    gap: 10px;

    border: 1px solid var(--tv-border);
    border-radius: 8px;

    color: var(--tv-text);

    font-size: 11px;
    font-weight: 600;

    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        background 0.2s ease;
}

.tv-profile-socials a:hover {
    border-color: var(--tv-accent);

    color: var(--tv-accent);

    background: var(--tv-surface);
}

.tv-profile-socials i {
    width: 18px;

    text-align: center;
}


/* ============================================================
   RELATED BUSINESSES
============================================================ */

.tv-profile-related {
    padding-top: 22px;
}

.tv-profile-related-heading {
    margin-bottom: 22px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 20px;
}

.tv-profile-related-heading h2 {
    margin: 7px 0 0;

    color: var(--tv-black);

    font-size: 27px;

    letter-spacing: -0.035em;
}

.tv-profile-related-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;
}

.tv-profile-related-card {
    padding: 16px;

    display: flex;
    align-items: center;

    gap: 13px;

    border: 1px solid var(--tv-border);
    border-radius: 12px;

    background: var(--tv-white);

    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.tv-profile-related-card:hover {
    border-color: #b6bbc2;

    transform: translateY(-2px);

    box-shadow: var(--tv-shadow);
}

html[data-theme="dark"] .tv-profile-related-card {
    background: #161819;
}

.tv-profile-related-logo {
    width: 52px;
    height: 52px;

    flex: 0 0 52px;

    overflow: hidden;

    display: grid;
    place-items: center;

    border: 1px solid #e6e8eb;
    border-radius: 10px;

    background: #ffffff;

    color: #111111;

    font-weight: 800;
}

.tv-profile-related-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.tv-profile-related-name {
    display: flex;
    align-items: center;

    gap: 7px;
}

.tv-profile-related-name h3 {
    margin: 0;

    color: var(--tv-text);

    font-size: 13px;
}

.tv-profile-related-name i {
    color: var(--tv-success);

    font-size: 11px;
}

.tv-profile-related-card p {
    margin: 5px 0 0;

    color: var(--tv-muted);

    font-size: 10px;
}


/* ============================================================
   TABLET PROFILE
============================================================ */

@media (max-width: 980px) {

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

    .tv-profile-sidebar {
        position: static;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

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

    .tv-profile-header-actions {
        width: 100%;
    }
}


/* ============================================================
   MOBILE PROFILE
============================================================ */

@media (max-width: 760px) {

    .tv-profile-cover {
        height: 230px;
    }

    .tv-profile-header {
        min-height: 0;

        padding: 0 0 28px;
    }

    .tv-profile-identity {
        width: 100%;

        align-items: flex-start;
        flex-direction: column;

        gap: 14px;
    }

    .tv-profile-logo {
        width: 88px;
        height: 88px;

        flex-basis: 88px;

        margin-top: -45px;

        border-radius: 16px;
    }

    .tv-profile-name-row {
        align-items: flex-start;
        flex-direction: column;

        gap: 8px;
    }

    .tv-profile-name-row h1 {
        font-size: 31px;
    }

    .tv-profile-header-actions {
        display: grid;

        grid-template-columns: repeat(2, 1fr);
    }

    .tv-profile-section {
        padding: 35px 0 70px;
    }

    .tv-profile-card {
        padding: 23px 19px;
    }

    .tv-profile-card h2 {
        font-size: 23px;
    }

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

    .tv-profile-detail-wide {
        grid-column: auto;
    }

    .tv-profile-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

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

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


/* ============================================================
   SMALL MOBILE PROFILE
============================================================ */

@media (max-width: 480px) {

    .tv-profile-cover {
        height: 190px;
    }

    .tv-profile-header-actions {
        grid-template-columns: 1fr 1fr;
    }

    .tv-profile-action {
        padding: 0 10px;

        font-size: 11px;
    }

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

    .tv-profile-related-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ============================================================
   BUSINESS APPLICATION / ONBOARDING V2
============================================================ */

.tv-onboarding {
    min-height: 100vh;

    padding: 78px 0 110px;

    background: var(--tv-surface);
}

html[data-theme="dark"] .tv-onboarding {
    background: #121415;
}


/* INTRO */

.tv-onboarding-intro {
    max-width: 760px;

    margin-bottom: 46px;
}

.tv-onboarding-intro h1 {
    margin: 10px 0 15px;

    color: var(--tv-black);

    font-size: clamp(40px, 5vw, 58px);
    line-height: 1.03;

    letter-spacing: -0.055em;
}

.tv-onboarding-intro h1 span {
    color: var(--tv-accent);
}

.tv-onboarding-intro p {
    max-width: 650px;

    margin: 0;

    color: var(--tv-muted);

    font-size: 16px;
    line-height: 1.7;
}


/* ============================================================
   PROGRESS
============================================================ */

.tv-onboarding-progress {
    margin-bottom: 24px;

    padding: 23px 26px;

    display: flex;
    align-items: center;

    border: 1px solid var(--tv-border);
    border-radius: 15px;

    background: var(--tv-white);
}

.tv-onboarding-step {
    padding: 0;

    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 9px;

    border: 0;

    background: transparent;

    color: var(--tv-muted);

    cursor: pointer;
}

.tv-onboarding-step > span {
    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    border: 1px solid var(--tv-border);
    border-radius: 50%;

    background: var(--tv-white);

    font-size: 11px;
    font-weight: 800;

    transition: 0.2s ease;
}

.tv-onboarding-step strong {
    font-size: 11px;

    transition: color 0.2s ease;
}

.tv-onboarding-step.is-active {
    color: var(--tv-accent);
}

.tv-onboarding-step.is-active > span {
    border-color: var(--tv-accent);

    background: var(--tv-accent);
    color: #ffffff;
}

.tv-onboarding-step.is-complete > span {
    border-color: var(--tv-success);

    background: var(--tv-success);
    color: #ffffff;
}

.tv-onboarding-step.is-complete {
    color: var(--tv-text);
}

.tv-progress-line {
    min-width: 18px;
    height: 1px;

    flex: 1;

    margin: 0 11px;

    background: var(--tv-border);
}


/* ============================================================
   FORM
============================================================ */

.tv-onboarding-form {
    overflow: hidden;

    border: 1px solid var(--tv-border);
    border-radius: 17px;

    background: var(--tv-white);

    box-shadow:
        0 12px 35px rgba(16, 24, 40, 0.04);
}

html[data-theme="dark"] .tv-onboarding-form {
    background: #161819;

    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.18);
}


/* STEPS */

.tv-form-step {
    display: none;

    min-height: 530px;

    padding: 44px;
}

.tv-form-step.is-active {
    display: block;
}

.tv-form-step-header {
    max-width: 670px;

    margin-bottom: 38px;
}

.tv-form-step-header > span {
    display: block;

    margin-bottom: 8px;

    color: var(--tv-accent);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.10em;
}

.tv-form-step-header h2 {
    margin: 0;

    color: var(--tv-black);

    font-size: 30px;
    line-height: 1.2;

    letter-spacing: -0.035em;
}

.tv-form-step-header p {
    margin: 10px 0 0;

    color: var(--tv-muted);

    font-size: 13px;
    line-height: 1.7;
}


/* ============================================================
   FORM GRID
============================================================ */

.tv-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;
}

.tv-field {
    min-width: 0;
}

.tv-field-wide {
    grid-column: 1 / -1;
}


/* LABELS */

.tv-field > label {
    display: block;

    margin-bottom: 8px;

    color: var(--tv-text);

    font-size: 12px;
    font-weight: 700;
}

.tv-field > label > span {
    color: var(--tv-accent);
}


/* DJANGO FORM CONTROLS */

.tv-field input:not([type="file"]),
.tv-field textarea,
.tv-field select {
    width: 100%;

    min-height: 48px;

    padding: 11px 13px;

    border: 1px solid var(--tv-border);
    border-radius: 9px;

    outline: none;

    background: var(--tv-white);
    color: var(--tv-text);

    font-size: 13px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.tv-field textarea {
    min-height: 110px;

    resize: vertical;

    line-height: 1.65;
}

.tv-field input:focus,
.tv-field textarea:focus,
.tv-field select:focus {
    border-color: var(--tv-accent);

    box-shadow:
        0 0 0 3px rgba(139, 30, 63, 0.09);
}

html[data-theme="dark"] .tv-field input:not([type="file"]),
html[data-theme="dark"] .tv-field textarea,
html[data-theme="dark"] .tv-field select {
    background: #1b1e20;

    color: var(--tv-text);

    color-scheme: dark;
}

.tv-field-help {
    display: block;

    margin-top: 7px;

    color: var(--tv-muted);

    font-size: 10px;
    line-height: 1.5;
}

.tv-field-error {
    display: block;

    margin-top: 7px;

    color: #c43838;

    font-size: 10px;
    font-weight: 700;
}


/* STATIC COUNTRY */

.tv-static-field {
    min-height: 48px;

    padding: 0 13px;

    display: flex;
    align-items: center;

    gap: 9px;

    border: 1px solid var(--tv-border);
    border-radius: 9px;

    background: var(--tv-surface);

    color: var(--tv-muted);

    font-size: 13px;
}


/* ============================================================
   VERIFICATION NOTICE
============================================================ */

.tv-verification-notice,
.tv-review-note {
    margin-bottom: 29px;

    padding: 18px;

    display: flex;
    align-items: flex-start;

    gap: 13px;

    border: 1px solid rgba(17, 136, 93, 0.18);
    border-radius: 11px;

    background: var(--tv-success-soft);
}

html[data-theme="dark"] .tv-verification-notice,
html[data-theme="dark"] .tv-review-note {
    background: rgba(17, 136, 93, 0.09);
}

.tv-verification-notice > i,
.tv-review-note > i {
    margin-top: 2px;

    color: var(--tv-success);
}

.tv-verification-notice strong,
.tv-review-note strong {
    color: var(--tv-text);

    font-size: 12px;
}

.tv-verification-notice p,
.tv-review-note p {
    margin: 4px 0 0;

    color: var(--tv-muted);

    font-size: 11px;
    line-height: 1.6;
}


/* ============================================================
   FILE INPUTS
============================================================ */

.tv-file-field {
    padding: 13px;

    border: 1px dashed #c9ced5;
    border-radius: 9px;

    background: var(--tv-surface);
}

html[data-theme="dark"] .tv-file-field {
    border-color: #3a3f44;
}

.tv-file-field input[type="file"] {
    width: 100%;

    color: var(--tv-muted);

    font-size: 11px;
}

.tv-file-field input[type="file"]::file-selector-button {
    margin-right: 10px;

    padding: 8px 11px;

    border: 1px solid var(--tv-border);
    border-radius: 7px;

    background: var(--tv-white);
    color: var(--tv-text);

    font-weight: 700;

    cursor: pointer;
}


/* ============================================================
   IMAGE UPLOAD
============================================================ */

.tv-image-upload {
    overflow: hidden;

    border: 1px solid var(--tv-border);
    border-radius: 11px;

    background: var(--tv-surface);
}

.tv-image-preview {
    height: 175px;

    display: grid;
    place-items: center;

    overflow: hidden;

    background: #f0f2f4;

    color: #a4abb4;

    font-size: 32px;
}

html[data-theme="dark"] .tv-image-preview {
    background: #202326;
}

.tv-image-preview img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    background: #ffffff;
}

.tv-image-upload-cover .tv-image-preview img {
    object-fit: cover;
}

.tv-image-upload > input[type="file"] {
    width: 100%;

    padding: 12px;

    color: var(--tv-muted);

    font-size: 11px;
}


/* ============================================================
   REVIEW
============================================================ */

.tv-review-grid {
    margin-bottom: 28px;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 13px;
}

.tv-review-card {
    min-height: 115px;

    padding: 18px;

    border: 1px solid var(--tv-border);
    border-radius: 11px;

    background: var(--tv-surface);
}

html[data-theme="dark"] .tv-review-card {
    background: #1b1e20;
}

.tv-review-card > span {
    display: block;

    margin-bottom: 9px;

    color: var(--tv-muted);

    font-size: 9px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tv-review-card strong {
    display: block;

    color: var(--tv-text);

    font-size: 14px;
}

.tv-review-card p {
    margin: 6px 0 0;

    color: var(--tv-muted);

    font-size: 11px;
}


/* TERMS */

.tv-terms-field {
    padding: 18px;

    display: flex;
    align-items: flex-start;

    gap: 11px;

    border: 1px solid var(--tv-border);
    border-radius: 10px;

    cursor: pointer;
}

.tv-terms-field input {
    margin-top: 3px;

    accent-color: var(--tv-accent);
}

.tv-terms-field span {
    color: var(--tv-text);

    font-size: 12px;
    line-height: 1.6;
}


/* ============================================================
   FORM NAVIGATION
============================================================ */

.tv-form-navigation {
    min-height: 82px;

    padding: 15px 44px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid var(--tv-border);

    background: var(--tv-white);
}

html[data-theme="dark"] .tv-form-navigation {
    background: #161819;
}

.tv-form-navigation-right {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 14px;
}

.tv-form-navigation-right > span {
    color: var(--tv-muted);

    font-size: 10px;
    font-weight: 700;
}

.tv-submit-business {
    display: none;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1000px) {

    .tv-onboarding-progress {
        overflow-x: auto;

        justify-content: flex-start;
    }

    .tv-onboarding-step strong {
        display: none;
    }

    .tv-progress-line {
        min-width: 32px;

        flex: 0 0 32px;
    }
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 760px) {

    .tv-onboarding {
        padding: 52px 0 75px;
    }

    .tv-onboarding-intro {
        margin-bottom: 30px;
    }

    .tv-onboarding-intro h1 {
        font-size: 40px;
    }

    .tv-onboarding-progress {
        padding: 16px;

        border-radius: 12px;
    }

    .tv-onboarding-step > span {
        width: 29px;
        height: 29px;
    }

    .tv-progress-line {
        min-width: 18px;

        flex-basis: 18px;

        margin-inline: 6px;
    }

    .tv-form-step {
        min-height: 0;

        padding: 28px 20px 36px;
    }

    .tv-form-step-header h2 {
        font-size: 25px;
    }

    .tv-form-grid,
    .tv-review-grid {
        grid-template-columns: 1fr;
    }

    .tv-field-wide {
        grid-column: auto;
    }

    .tv-form-navigation {
        padding: 15px 20px;
    }

    .tv-form-navigation-right > span {
        display: none;
    }
}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 480px) {

    .tv-progress-line {
        min-width: 7px;

        flex-basis: 7px;

        margin-inline: 3px;
    }

    .tv-onboarding-step > span {
        width: 27px;
        height: 27px;

        font-size: 10px;
    }

    .tv-form-navigation {
        gap: 9px;
    }

    .tv-form-navigation .tv-btn {
        padding-inline: 13px;

        font-size: 11px;
    }
}


/* ============================================================
   APPLICATION SUCCESS V2
============================================================ */

.tv-success-page {
    min-height: calc(100vh - 78px);

    padding: 82px 0 110px;

    background:
        radial-gradient(
            circle at 70% 10%,
            rgba(139, 30, 63, 0.07),
            transparent 28%
        ),
        var(--tv-surface);
}

html[data-theme="dark"] .tv-success-page {
    background:
        radial-gradient(
            circle at 70% 10%,
            rgba(139, 30, 63, 0.16),
            transparent 30%
        ),
        #121415;
}


.tv-success-shell {
    max-width: 900px;

    margin: 0 auto;

    padding: 50px;

    border: 1px solid var(--tv-border);
    border-radius: 20px;

    background: var(--tv-white);

    box-shadow:
        0 18px 55px rgba(16, 24, 40, 0.06);
}

html[data-theme="dark"] .tv-success-shell {
    background: #161819;

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.22);
}


/* SUCCESS ICON */

.tv-success-icon {
    width: 70px;
    height: 70px;

    margin-bottom: 25px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--tv-success-soft);
    color: var(--tv-success);

    font-size: 25px;
}


/* HEADING */

.tv-success-shell h1 {
    max-width: 720px;

    margin: 10px 0 16px;

    color: var(--tv-black);

    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.03;

    letter-spacing: -0.05em;
}

.tv-success-shell h1 span {
    color: var(--tv-accent);
}

.tv-success-intro {
    max-width: 680px;

    margin: 0;

    color: var(--tv-muted);

    font-size: 15px;
    line-height: 1.75;
}

.tv-success-intro strong {
    color: var(--tv-text);
}


/* SUMMARY */

.tv-success-summary {
    margin-top: 36px;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    border: 1px solid var(--tv-border);
    border-radius: 13px;

    overflow: hidden;
}

.tv-success-summary > div {
    min-height: 100px;

    padding: 19px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tv-success-summary > div + div {
    border-left: 1px solid var(--tv-border);
}

.tv-success-summary span {
    margin-bottom: 7px;

    color: var(--tv-muted);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tv-success-summary strong {
    color: var(--tv-text);

    font-size: 12px;

    word-break: break-word;
}

.tv-reference-id {
    color: var(--tv-accent) !important;
}

.tv-pending-status {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    color: #a36b17 !important;
}


/* REFERENCE NOTICE */

.tv-reference-notice {
    margin-top: 18px;

    padding: 18px;

    display: flex;
    align-items: flex-start;

    gap: 13px;

    border: 1px solid rgba(139, 30, 63, 0.15);
    border-radius: 11px;

    background: var(--tv-accent-soft);
}

html[data-theme="dark"] .tv-reference-notice {
    background: rgba(139, 30, 63, 0.10);
}

.tv-reference-notice > i {
    margin-top: 2px;

    color: var(--tv-accent);
}

.tv-reference-notice strong {
    color: var(--tv-text);

    font-size: 12px;
}

.tv-reference-notice p {
    margin: 4px 0 0;

    color: var(--tv-muted);

    font-size: 11px;
    line-height: 1.6;
}


/* NEXT STEPS */

.tv-success-next {
    margin-top: 45px;
}

.tv-success-next-heading h2 {
    margin: 7px 0 0;

    color: var(--tv-black);

    font-size: 27px;

    letter-spacing: -0.035em;
}

.tv-success-steps {
    margin-top: 22px;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;
}

.tv-success-step {
    min-height: 180px;

    padding: 20px;

    border: 1px solid var(--tv-border);
    border-radius: 12px;

    background: var(--tv-surface);
}

html[data-theme="dark"] .tv-success-step {
    background: #1b1e20;
}

.tv-success-step > span {
    width: 31px;
    height: 31px;

    margin-bottom: 18px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--tv-accent);
    color: #ffffff;

    font-size: 10px;
    font-weight: 800;
}

.tv-success-step h3 {
    margin: 0;

    color: var(--tv-text);

    font-size: 13px;
}

.tv-success-step p {
    margin: 8px 0 0;

    color: var(--tv-muted);

    font-size: 11px;
    line-height: 1.65;
}


/* EMAIL */

.tv-success-email {
    margin-top: 20px;

    padding: 15px 17px;

    display: flex;
    align-items: center;

    gap: 10px;

    border: 1px solid var(--tv-border);
    border-radius: 10px;
}

.tv-success-email i {
    color: var(--tv-success);
}

.tv-success-email p {
    margin: 0;

    color: var(--tv-muted);

    font-size: 11px;
}

.tv-success-email strong {
    color: var(--tv-text);
}


/* ACTIONS */

.tv-success-actions {
    margin-top: 30px;

    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 820px) {

    .tv-success-summary {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .tv-success-summary > div + div {
        border-left: 0;
    }

    .tv-success-summary > div:nth-child(even) {
        border-left: 1px solid var(--tv-border);
    }

    .tv-success-summary > div:nth-child(n+3) {
        border-top: 1px solid var(--tv-border);
    }

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


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 600px) {

    .tv-success-page {
        padding: 48px 0 75px;
    }

    .tv-success-shell {
        padding: 30px 20px;

        border-radius: 15px;
    }

    .tv-success-shell h1 {
        font-size: 38px;
    }

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

    .tv-success-summary > div:nth-child(even),
    .tv-success-summary > div + div {
        border-left: 0;
    }

    .tv-success-summary > div + div {
        border-top: 1px solid var(--tv-border);
    }

    .tv-success-actions {
        display: grid;

        grid-template-columns: 1fr;
    }

    .tv-success-actions .tv-btn {
        width: 100%;
    }
}

/* ============================================================
   ABOUT V2
============================================================ */


/* HERO */

.tv-about-hero {
    padding: 105px 0 90px;

    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(139, 30, 63, 0.10),
            transparent 28%
        ),
        var(--tv-white);

    border-bottom: 1px solid var(--tv-border);
}

html[data-theme="dark"] .tv-about-hero {
    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(139, 30, 63, 0.19),
            transparent 30%
        ),
        #101112;
}

.tv-about-hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(320px, 0.75fr);

    gap: 80px;

    align-items: center;
}

.tv-about-hero-copy h1 {
    max-width: 800px;

    margin: 12px 0 20px;

    color: var(--tv-black);

    font-size: clamp(48px, 6vw, 76px);
    line-height: 0.99;

    letter-spacing: -0.055em;
}

.tv-about-hero-copy h1 span {
    color: var(--tv-accent);
}

.tv-about-hero-copy > p {
    max-width: 720px;

    margin: 0;

    color: var(--tv-muted);

    font-size: 17px;
    line-height: 1.8;
}

.tv-about-hero-actions {
    margin-top: 30px;

    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}


/* HERO PANEL */

.tv-about-hero-panel {
    padding: 32px;

    border: 1px solid var(--tv-border);
    border-radius: 18px;

    background: var(--tv-surface);

    box-shadow: var(--tv-shadow);
}

html[data-theme="dark"] .tv-about-hero-panel {
    background: #161819;
}

.tv-about-hero-panel > span {
    color: var(--tv-accent);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.12em;
}

.tv-about-hero-panel h2 {
    margin: 13px 0 13px;

    color: var(--tv-black);

    font-size: 28px;
    line-height: 1.25;

    letter-spacing: -0.035em;
}

.tv-about-hero-panel > p {
    margin: 0;

    color: var(--tv-muted);

    font-size: 13px;
    line-height: 1.75;
}

.tv-about-hero-points {
    margin-top: 27px;

    display: grid;

    gap: 12px;
}

.tv-about-hero-points div {
    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--tv-text);

    font-size: 12px;
    font-weight: 600;
}

.tv-about-hero-points i {
    color: var(--tv-success);
}


/* ============================================================
   CONTENT
============================================================ */

.tv-about-content-grid {
    display: grid;

    grid-template-columns:
        minmax(280px, 0.75fr)
        minmax(0, 1.25fr);

    gap: 100px;
}

.tv-about-content-grid h2,
.tv-about-feature-copy h2,
.tv-about-global h2,
.tv-about-future-copy h2 {
    margin: 9px 0 0;

    color: var(--tv-black);

    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.1;

    letter-spacing: -0.045em;
}

.tv-about-prose {
    max-width: 720px;
}

.tv-about-prose p,
.tv-about-feature-copy p,
.tv-about-global-copy p,
.tv-about-future-copy > p {
    margin: 0 0 18px;

    color: var(--tv-muted);

    font-size: 14px;
    line-height: 1.85;
}

.tv-about-prose p:last-child,
.tv-about-feature-copy p:last-child,
.tv-about-global-copy p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   CAPABILITY SECTION
============================================================ */

.tv-about-feature-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    gap: 80px;

    align-items: start;
}

.tv-about-feature-copy {
    max-width: 600px;
}

.tv-about-capability-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.tv-about-capability {
    min-height: 210px;

    padding: 24px;

    border: 1px solid var(--tv-border);
    border-radius: 14px;

    background: var(--tv-white);
}

html[data-theme="dark"] .tv-about-capability {
    background: #161819;
}

.tv-about-capability > i {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: var(--tv-accent-soft);
    color: var(--tv-accent);
}

.tv-about-capability h3 {
    margin: 22px 0 8px;

    color: var(--tv-text);

    font-size: 15px;
}

.tv-about-capability p {
    margin: 0;

    color: var(--tv-muted);

    font-size: 11px;
    line-height: 1.7;
}


/* ============================================================
   PLATFORM CARDS
============================================================ */

.tv-about-platform-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.tv-about-platform-card {
    padding: 34px;

    border: 1px solid var(--tv-border);
    border-radius: 17px;

    background: var(--tv-white);
}

html[data-theme="dark"] .tv-about-platform-card {
    background: #161819;
}

.tv-about-platform-marketplace {
    background:
        linear-gradient(
            145deg,
            var(--tv-accent-soft),
            #ffffff
        );
}

html[data-theme="dark"] .tv-about-platform-marketplace {
    background:
        linear-gradient(
            145deg,
            rgba(139, 30, 63, 0.10),
            #161819
        );
}

.tv-about-platform-icon {
    width: 48px;
    height: 48px;

    margin-bottom: 24px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: var(--tv-surface);
    color: var(--tv-accent);

    font-size: 17px;
}

.tv-about-platform-label {
    color: var(--tv-accent);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.10em;
}

.tv-about-platform-card h3 {
    margin: 9px 0 10px;

    color: var(--tv-black);

    font-size: 27px;

    letter-spacing: -0.035em;
}

.tv-about-platform-card > p {
    max-width: 520px;

    margin: 0;

    color: var(--tv-muted);

    font-size: 12px;
    line-height: 1.75;
}

.tv-about-platform-card ul {
    margin: 25px 0;

    padding: 0;

    display: grid;

    gap: 10px;

    list-style: none;
}

.tv-about-platform-card li {
    display: flex;
    align-items: center;

    gap: 9px;

    color: var(--tv-text);

    font-size: 11px;
}

.tv-about-platform-card li i {
    color: var(--tv-success);
}


/* ============================================================
   GLOBAL SUPPLY
============================================================ */

.tv-about-global {
    padding: 100px 0;

    background: #101312;
}

.tv-about-global-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    gap: 90px;
}

.tv-about-global .tv-section-kicker {
    color: #d98aa0;
}

.tv-about-global h2 {
    color: #ffffff;
}

.tv-about-global-copy p {
    color: #aab4b0;
}


/* ============================================================
   FUTURE
============================================================ */

.tv-about-future {
    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(300px, 0.9fr);

    gap: 80px;

    align-items: center;
}

.tv-about-future-copy blockquote {
    margin: 28px 0;

    padding: 24px 27px;

    border-left: 4px solid var(--tv-accent);

    background: var(--tv-accent-soft);

    color: var(--tv-text);

    font-size: 19px;
    line-height: 1.6;

    font-weight: 700;
}

html[data-theme="dark"] .tv-about-future-copy blockquote {
    background: rgba(139, 30, 63, 0.10);
}

.tv-about-future-card {
    padding: 30px;

    border: 1px solid var(--tv-border);
    border-radius: 17px;

    background: var(--tv-white);
}

html[data-theme="dark"] .tv-about-future-card {
    background: #161819;
}

.tv-about-future-card > span {
    color: var(--tv-accent);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.10em;
}

.tv-about-future-card > div {
    padding: 20px 0;

    display: grid;

    grid-template-columns: 38px 1fr;

    column-gap: 13px;

    border-bottom: 1px solid var(--tv-border);
}

.tv-about-future-card > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.tv-about-future-card i {
    grid-row: 1 / span 2;

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: var(--tv-surface);
    color: var(--tv-accent);
}

.tv-about-future-card strong {
    color: var(--tv-text);

    font-size: 12px;
}

.tv-about-future-card p {
    margin: 5px 0 0;

    color: var(--tv-muted);

    font-size: 10px;
    line-height: 1.6;
}


/* ============================================================
   CLOSING
============================================================ */

.tv-about-closing {
    padding: 80px 0;

    background: var(--tv-accent);

    color: #ffffff;
}

.tv-about-closing-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 50px;
}

.tv-about-closing-inner > div:first-child {
    max-width: 670px;
}

.tv-about-closing-inner span {
    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.11em;

    color: #f3d4dd;
}

.tv-about-closing h2 {
    margin: 8px 0 10px;

    color: #ffffff;

    font-size: clamp(34px, 4vw, 48px);

    letter-spacing: -0.04em;
}

.tv-about-closing p {
    margin: 0;

    color: #f2dce3;

    font-size: 13px;
}

.tv-about-closing-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 18px;
}

.tv-about-closing-secondary {
    color: #ffffff;

    font-size: 13px;
    font-weight: 700;
}

.tv-about-closing-secondary:hover {
    text-decoration: underline;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 980px) {

    .tv-about-hero-grid,
    .tv-about-content-grid,
    .tv-about-feature-grid,
    .tv-about-global-grid,
    .tv-about-future {
        grid-template-columns: 1fr;

        gap: 45px;
    }

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

    .tv-about-closing-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 700px) {

    .tv-about-hero {
        padding: 70px 0 60px;
    }

    .tv-about-hero-copy h1 {
        font-size: 46px;
    }

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

    .tv-about-global {
        padding: 70px 0;
    }

    .tv-about-platform-card,
    .tv-about-hero-panel,
    .tv-about-future-card {
        padding: 24px 20px;
    }

    .tv-about-closing {
        padding: 60px 0;
    }

    .tv-about-closing-actions {
        width: 100%;

        align-items: stretch;
        flex-direction: column;
    }

    .tv-about-closing-actions .tv-btn {
        width: 100%;
    }
}


/* ============================================================
   CONTACT V2
============================================================ */


/* ============================================================
   HERO
============================================================ */

.tv-contact-hero {
    padding: 100px 0 76px;

    border-bottom: 1px solid var(--tv-border);

    background:
        radial-gradient(
            circle at 76% 15%,
            rgba(139, 30, 63, 0.10),
            transparent 29%
        ),
        var(--tv-white);
}

html[data-theme="dark"] .tv-contact-hero {
    background:
        radial-gradient(
            circle at 76% 15%,
            rgba(139, 30, 63, 0.18),
            transparent 31%
        ),
        #101112;
}

.tv-contact-hero-inner {
    max-width: 850px;
}

.tv-contact-hero h1 {
    margin: 11px 0 18px;

    color: var(--tv-black);

    font-size: clamp(48px, 6vw, 74px);
    line-height: 1;

    letter-spacing: -0.055em;
}

.tv-contact-hero h1 span {
    color: var(--tv-accent);
}

.tv-contact-hero p {
    max-width: 750px;

    margin: 0;

    color: var(--tv-muted);

    font-size: 16px;
    line-height: 1.8;
}


/* ============================================================
   REASONS
============================================================ */

.tv-contact-reasons {
    padding: 35px 0;

    border-bottom: 1px solid var(--tv-border);

    background: var(--tv-surface);
}

.tv-contact-reason-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 11px;
}

.tv-contact-reason {
    min-height: 175px;

    padding: 21px;

    border: 1px solid var(--tv-border);
    border-radius: 12px;

    background: var(--tv-white);

    text-decoration: none;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

html[data-theme="dark"] .tv-contact-reason {
    background: #161819;
}

a.tv-contact-reason:hover {
    transform: translateY(-2px);

    border-color: rgba(139, 30, 63, 0.35);

    box-shadow:
        0 10px 25px rgba(16, 24, 40, 0.06);
}

.tv-contact-reason-icon {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: var(--tv-accent-soft);
    color: var(--tv-accent);

    font-size: 14px;
}

.tv-contact-reason h3 {
    margin: 17px 0 7px;

    color: var(--tv-text);

    font-size: 13px;
}

.tv-contact-reason p {
    margin: 0;

    color: var(--tv-muted);

    font-size: 10px;
    line-height: 1.65;
}

.tv-contact-reason-link {
    margin-top: 13px;

    display: inline-flex;
    align-items: center;

    gap: 6px;

    color: var(--tv-accent);

    font-size: 9px;
    font-weight: 800;
}


/* ============================================================
   MAIN CONTACT
============================================================ */

.tv-contact-main {
    background: var(--tv-white);
}

html[data-theme="dark"] .tv-contact-main {
    background: #121415;
}

.tv-contact-grid {
    display: grid;

    grid-template-columns:
        minmax(280px, 0.7fr)
        minmax(0, 1.3fr);

    gap: 70px;

    align-items: start;
}


/* ============================================================
   SIDEBAR
============================================================ */

.tv-contact-sidebar {
    padding-top: 10px;
}

.tv-contact-sidebar h2 {
    max-width: 400px;

    margin: 9px 0 14px;

    color: var(--tv-black);

    font-size: 36px;
    line-height: 1.12;

    letter-spacing: -0.04em;
}

.tv-contact-sidebar-intro {
    max-width: 430px;

    margin: 0;

    color: var(--tv-muted);

    font-size: 12px;
    line-height: 1.75;
}

.tv-contact-details {
    margin-top: 32px;

    display: grid;

    gap: 8px;
}

.tv-contact-detail {
    padding: 14px;

    display: flex;
    align-items: center;

    gap: 12px;

    border: 1px solid var(--tv-border);
    border-radius: 10px;

    color: inherit;
    text-decoration: none;

    background: var(--tv-surface);
}

html[data-theme="dark"] .tv-contact-detail {
    background: #1b1e20;
}

.tv-contact-detail > span {
    width: 37px;
    height: 37px;

    flex: 0 0 37px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    background: var(--tv-white);
    color: var(--tv-accent);
}

html[data-theme="dark"] .tv-contact-detail > span {
    background: #242729;
}

.tv-contact-detail small {
    display: block;

    margin-bottom: 3px;

    color: var(--tv-muted);

    font-size: 8px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tv-contact-detail strong {
    display: block;

    color: var(--tv-text);

    font-size: 11px;
}

a.tv-contact-detail:hover strong {
    color: var(--tv-accent);
}


/* HOURS */

.tv-contact-hours {
    margin-top: 18px;

    padding: 20px;

    border: 1px solid var(--tv-border);
    border-radius: 11px;
}

.tv-contact-hours > span {
    display: block;

    margin-bottom: 15px;

    color: var(--tv-accent);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.08em;
}

.tv-contact-hours > div {
    padding: 9px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    border-bottom: 1px solid var(--tv-border);
}

.tv-contact-hours > div:last-child {
    border-bottom: 0;
}

.tv-contact-hours p,
.tv-contact-hours strong {
    margin: 0;

    font-size: 10px;
}

.tv-contact-hours p {
    color: var(--tv-muted);
}

.tv-contact-hours strong {
    color: var(--tv-text);
}


/* ============================================================
   FORM CARD
============================================================ */

.tv-contact-form-card {
    padding: 38px;

    border: 1px solid var(--tv-border);
    border-radius: 16px;

    background: var(--tv-surface);
}

html[data-theme="dark"] .tv-contact-form-card {
    background: #161819;
}

.tv-contact-form-heading {
    margin-bottom: 29px;
}

.tv-contact-form-heading h2 {
    margin: 7px 0 8px;

    color: var(--tv-black);

    font-size: 30px;

    letter-spacing: -0.035em;
}

.tv-contact-form-heading p {
    max-width: 550px;

    margin: 0;

    color: var(--tv-muted);

    font-size: 11px;
    line-height: 1.7;
}


/* ============================================================
   MESSAGES
============================================================ */

.tv-contact-messages {
    margin-bottom: 22px;

    display: grid;

    gap: 8px;
}

.tv-contact-message {
    padding: 13px 15px;

    display: flex;
    align-items: flex-start;

    gap: 9px;

    border-radius: 9px;

    font-size: 10px;
    font-weight: 600;
}

.tv-contact-message.is-success {
    border: 1px solid rgba(17, 136, 93, 0.18);

    background: var(--tv-success-soft);
    color: var(--tv-success);
}

.tv-contact-message.is-error {
    border: 1px solid rgba(196, 56, 56, 0.18);

    background: rgba(196, 56, 56, 0.07);
    color: #c43838;
}


/* ============================================================
   FORM FIELDS
============================================================ */

.tv-contact-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.tv-contact-field-wide {
    grid-column: 1 / -1;
}

.tv-contact-field label {
    display: block;

    margin-bottom: 8px;

    color: var(--tv-text);

    font-size: 11px;
    font-weight: 700;
}

.tv-contact-field label span {
    color: var(--tv-accent);
}

.tv-contact-field input,
.tv-contact-field textarea {
    width: 100%;

    padding: 12px 13px;

    border: 1px solid var(--tv-border);
    border-radius: 9px;

    outline: none;

    background: var(--tv-white);
    color: var(--tv-text);

    font-family: inherit;
    font-size: 12px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

html[data-theme="dark"] .tv-contact-field input,
html[data-theme="dark"] .tv-contact-field textarea {
    background: #1d2022;
}

.tv-contact-field input {
    min-height: 48px;
}

.tv-contact-field textarea {
    resize: vertical;

    min-height: 160px;

    line-height: 1.7;
}

.tv-contact-field input:focus,
.tv-contact-field textarea:focus {
    border-color: var(--tv-accent);

    box-shadow:
        0 0 0 3px rgba(139, 30, 63, 0.09);
}


/* SUBMIT */

.tv-contact-submit {
    margin-top: 25px;

    display: flex;
    align-items: center;

    gap: 20px;
}

.tv-contact-submit p {
    max-width: 300px;

    margin: 0;

    color: var(--tv-muted);

    font-size: 9px;
    line-height: 1.5;
}


/* ============================================================
   LOCATION
============================================================ */

.tv-contact-location {
    padding: 90px 0;

    border-top: 1px solid var(--tv-border);

    background: var(--tv-surface);
}

.tv-contact-location-grid {
    display: grid;

    grid-template-columns:
        minmax(250px, 0.65fr)
        minmax(0, 1.35fr);

    gap: 65px;

    align-items: center;
}

.tv-contact-location h2 {
    margin: 8px 0 12px;

    color: var(--tv-black);

    font-size: 38px;

    letter-spacing: -0.04em;
}

.tv-contact-location p {
    max-width: 420px;

    margin: 0;

    color: var(--tv-muted);

    font-size: 12px;
    line-height: 1.75;
}

.tv-contact-map {
    overflow: hidden;

    height: 380px;

    border: 1px solid var(--tv-border);
    border-radius: 15px;

    background: var(--tv-white);
}

.tv-contact-map iframe {
    width: 100%;
    height: 100%;

    border: 0;

    display: block;

    filter: grayscale(0.15);
}


/* ============================================================
   CLOSING CTA
============================================================ */

.tv-contact-closing {
    padding: 70px 0;

    background: var(--tv-accent);
}

.tv-contact-closing-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.tv-contact-closing-inner > div {
    max-width: 650px;
}

.tv-contact-closing span {
    color: #f1cfda;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.09em;
}

.tv-contact-closing h2 {
    margin: 8px 0 9px;

    color: #ffffff;

    font-size: 35px;

    letter-spacing: -0.04em;
}

.tv-contact-closing p {
    margin: 0;

    color: #f1dce2;

    font-size: 11px;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1050px) {

    .tv-contact-reason-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .tv-contact-grid {
        gap: 40px;
    }

}


/* ============================================================
   SMALL TABLET
============================================================ */

@media (max-width: 850px) {

    .tv-contact-grid,
    .tv-contact-location-grid {
        grid-template-columns: 1fr;
    }

    .tv-contact-closing-inner {
        align-items: flex-start;

        flex-direction: column;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 650px) {

    .tv-contact-hero {
        padding: 70px 0 55px;
    }

    .tv-contact-hero h1 {
        font-size: 46px;
    }

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

    .tv-contact-reason {
        min-height: auto;
    }

    .tv-contact-form-card {
        padding: 27px 20px;
    }

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

    .tv-contact-field-wide {
        grid-column: auto;
    }

    .tv-contact-submit {
        align-items: stretch;

        flex-direction: column;
    }

    .tv-contact-submit .tv-btn {
        width: 100%;
    }

    .tv-contact-location {
        padding: 65px 0;
    }

    .tv-contact-map {
        height: 300px;
    }

    .tv-contact-closing {
        padding: 60px 0;
    }

    .tv-contact-closing-inner .tv-btn {
        width: 100%;
    }

}

/* ============================================================
   RESOURCES / BLOG V2
============================================================ */

.tv-resources-hero {
    padding: 100px 0 80px;
    border-bottom: 1px solid var(--tv-border);
    background:
        radial-gradient(
            circle at 76% 16%,
            rgba(139, 30, 63, 0.11),
            transparent 30%
        ),
        var(--tv-white);
}

html[data-theme="dark"] .tv-resources-hero {
    background:
        radial-gradient(
            circle at 76% 16%,
            rgba(139, 30, 63, 0.19),
            transparent 31%
        ),
        #101112;
}

.tv-resources-hero-inner {
    max-width: 880px;
}

.tv-resources-hero h1 {
    margin: 11px 0 18px;
    color: var(--tv-black);
    font-size: clamp(48px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.tv-resources-hero h1 span {
    color: var(--tv-accent);
}

.tv-resources-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--tv-muted);
    font-size: 15px;
    line-height: 1.8;
}


/* SEARCH */

.tv-resource-search {
    max-width: 680px;
    margin-top: 30px;
    padding: 7px;
    display: flex;
    align-items: center;
    border: 1px solid var(--tv-border);
    border-radius: 11px;
    background: var(--tv-white);
}

html[data-theme="dark"] .tv-resource-search {
    background: #17191a;
}

.tv-resource-search > i {
    margin-left: 12px;
    color: var(--tv-muted);
}

.tv-resource-search input {
    min-width: 0;
    flex: 1;
    padding: 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--tv-text);
    font: inherit;
    font-size: 12px;
}

.tv-resource-search button {
    padding: 12px 19px;
    border: 0;
    border-radius: 8px;
    background: var(--tv-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}


/* FEATURED */

.tv-featured-article {
    overflow: hidden;
    display: grid;
    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(330px, 0.9fr);
    border: 1px solid var(--tv-border);
    border-radius: 18px;
    background: var(--tv-white);
}

html[data-theme="dark"] .tv-featured-article {
    background: #161819;
}

.tv-featured-article-image {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    background: var(--tv-surface);
}

.tv-featured-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tv-featured-video-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    padding: 9px 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 7px;
    background: rgba(0,0,0,.78);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
}

.tv-featured-article-copy {
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tv-resource-category {
    width: fit-content;
    display: inline-flex;
    margin: 10px 0;
    color: var(--tv-accent);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.tv-featured-article-copy h2 {
    margin: 5px 0 14px;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.tv-featured-article-copy h2 a {
    color: var(--tv-black);
}

.tv-featured-article-copy > p {
    margin: 0 0 19px;
    color: var(--tv-muted);
    font-size: 12px;
    line-height: 1.75;
}


/* META */

.tv-resource-meta {
    margin-bottom: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: var(--tv-muted);
    font-size: 9px;
}

.tv-resource-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}


/* RESOURCE LAYOUT */

.tv-resource-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        280px;
    gap: 45px;
    align-items: start;
}

.tv-resource-results-heading {
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 25px;
}

.tv-resource-results-heading h2 {
    margin: 7px 0 0;
    color: var(--tv-black);
    font-size: 30px;
    letter-spacing: -0.035em;
}

.tv-resource-result-count {
    color: var(--tv-muted);
    font-size: 10px;
}


/* ACTIVE FILTER */

.tv-resource-active-filter {
    margin-bottom: 22px;
    padding: 12px 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
    border: 1px solid var(--tv-border);
    border-radius: 9px;
    background: var(--tv-white);
    color: var(--tv-muted);
    font-size: 9px;
}

html[data-theme="dark"] .tv-resource-active-filter {
    background: #161819;
}

.tv-resource-active-filter a {
    margin-left: auto;
    color: var(--tv-accent);
    font-weight: 800;
}


/* ARTICLE GRID */

.tv-article-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.tv-article-card {
    overflow: hidden;
    border: 1px solid var(--tv-border);
    border-radius: 13px;
    background: var(--tv-white);
}

html[data-theme="dark"] .tv-article-card {
    background: #161819;
}

.tv-article-image {
    height: 200px;
    display: block;
    overflow: hidden;
    background: var(--tv-surface);
}

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

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

.tv-article-body {
    padding: 20px;
}

.tv-article-body h3 {
    margin: 5px 0 10px;
    font-size: 17px;
    line-height: 1.35;
    letter-spacing: -0.025em;
}

.tv-article-body h3 a {
    color: var(--tv-text);
}

.tv-article-body > p {
    margin: 0 0 13px;
    color: var(--tv-muted);
    font-size: 10px;
    line-height: 1.7;
}


/* SIDEBAR */

.tv-resource-sidebar {
    position: sticky;
    top: 95px;
    display: grid;
    gap: 14px;
}

.tv-resource-sidebar-card {
    padding: 21px;
    border: 1px solid var(--tv-border);
    border-radius: 12px;
    background: var(--tv-white);
}

html[data-theme="dark"] .tv-resource-sidebar-card {
    background: #161819;
}

.tv-resource-sidebar-label {
    display: block;
    margin-bottom: 16px;
    color: var(--tv-accent);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .09em;
}

.tv-resource-category-list {
    display: grid;
}

.tv-resource-category-list a {
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid var(--tv-border);
    color: var(--tv-text);
    font-size: 10px;
}

.tv-resource-category-list a:last-child {
    border-bottom: 0;
}

.tv-resource-category-list strong {
    color: var(--tv-muted);
}

.tv-resource-category-list a.is-active,
.tv-resource-category-list a:hover {
    color: var(--tv-accent);
}

.tv-resource-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tv-resource-tags a {
    padding: 7px 9px;
    border: 1px solid var(--tv-border);
    border-radius: 7px;
    color: var(--tv-muted);
    font-size: 8px;
}

.tv-resource-tags a:hover,
.tv-resource-tags a.is-active {
    border-color: var(--tv-accent);
    color: var(--tv-accent);
}


/* SIDEBAR CTA */

.tv-resource-sidebar-cta {
    padding: 24px;
    border-radius: 12px;
    background: var(--tv-accent);
    color: #fff;
}

.tv-resource-sidebar-cta > span {
    color: #f2cfda;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
}

.tv-resource-sidebar-cta h3 {
    margin: 8px 0;
    color: #fff;
    font-size: 20px;
}

.tv-resource-sidebar-cta p {
    margin: 0 0 18px;
    color: #f2dce3;
    font-size: 10px;
    line-height: 1.6;
}


/* EMPTY */

.tv-resource-empty {
    grid-column: 1 / -1;
    padding: 70px 25px;
    text-align: center;
    border: 1px solid var(--tv-border);
    border-radius: 12px;
    background: var(--tv-white);
}

.tv-resource-empty i {
    color: var(--tv-accent);
    font-size: 28px;
}

.tv-resource-empty h3 {
    margin: 14px 0 7px;
    color: var(--tv-text);
}

.tv-resource-empty p {
    color: var(--tv-muted);
    font-size: 11px;
}


/* ============================================================
   ARTICLE DETAIL
============================================================ */

.tv-article-hero {
    padding: 90px 0 65px;
    border-bottom: 1px solid var(--tv-border);
    background: var(--tv-white);
}

html[data-theme="dark"] .tv-article-hero {
    background: #101112;
}

.tv-article-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.tv-article-back {
    margin-bottom: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tv-muted);
    font-size: 10px;
    font-weight: 700;
}

.tv-article-hero h1 {
    max-width: 880px;
    margin: 12px 0 25px;
    color: var(--tv-black);
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.tv-article-author-row {
    display: flex;
    align-items: center;
    gap: 11px;
}

.tv-article-author-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--tv-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.tv-article-author-row strong,
.tv-article-author-row span {
    display: block;
}

.tv-article-author-row strong {
    color: var(--tv-text);
    font-size: 11px;
}

.tv-article-author-row span {
    margin-top: 3px;
    color: var(--tv-muted);
    font-size: 9px;
}


/* FEATURED IMAGE */

.tv-article-featured {
    padding: 35px 0 0;
    background: var(--tv-white);
}

html[data-theme="dark"] .tv-article-featured {
    background: #121415;
}

.tv-article-featured-image {
    max-width: 1080px;
    height: min(560px, 55vw);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
}

.tv-article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* BODY */

.tv-article-section {
    padding: 65px 0 90px;
    background: var(--tv-white);
}

html[data-theme="dark"] .tv-article-section {
    background: #121415;
}

.tv-article-layout {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        280px;
    gap: 65px;
    align-items: start;
}

.tv-article-content {
    color: var(--tv-text);
    font-size: 15px;
    line-height: 1.9;
}

.tv-article-content > p {
    margin: 0 0 22px;
}

.tv-article-content h2 {
    margin: 42px 0 15px;
    color: var(--tv-black);
    font-size: 28px;
    line-height: 1.25;
    letter-spacing: -0.035em;
}

.tv-article-content h3 {
    margin: 32px 0 12px;
    color: var(--tv-black);
    font-size: 21px;
}

.tv-article-content img {
    max-width: 100%;
    height: auto;
    margin: 28px 0;
    border-radius: 11px;
}

.tv-article-content blockquote {
    margin: 32px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--tv-accent);
    background: var(--tv-accent-soft);
    font-size: 17px;
    font-weight: 600;
}


/* VIDEO */

.tv-article-video {
    margin-top: 35px;
    padding: 18px;
    display: flex;
    gap: 13px;
    border: 1px solid var(--tv-border);
    border-radius: 10px;
}

.tv-article-video > i {
    color: var(--tv-accent);
    font-size: 22px;
}

.tv-article-video strong,
.tv-article-video a {
    display: block;
}

.tv-article-video strong {
    font-size: 11px;
}

.tv-article-video a {
    margin-top: 5px;
    color: var(--tv-accent);
    font-size: 10px;
}


/* TAGS */

.tv-article-tags {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid var(--tv-border);
}

.tv-article-tags > span {
    display: block;
    margin-bottom: 10px;
    color: var(--tv-muted);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.tv-article-tags > div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tv-article-tags a {
    padding: 7px 9px;
    border: 1px solid var(--tv-border);
    border-radius: 7px;
    color: var(--tv-muted);
    font-size: 8px;
}


/* CTA */

.tv-article-business-cta {
    margin-top: 45px;
    padding: 31px;
    border-radius: 14px;
    background: var(--tv-surface);
}

html[data-theme="dark"] .tv-article-business-cta {
    background: #1b1e20;
}

.tv-article-business-cta h2 {
    margin: 7px 0 9px;
    font-size: 25px;
}

.tv-article-business-cta p {
    margin: 0 0 18px;
    color: var(--tv-muted);
    font-size: 11px;
}


/* ARTICLE SIDEBAR */

.tv-article-sidebar {
    position: sticky;
    top: 95px;
    display: grid;
    gap: 15px;
}

.tv-article-sidebar-card {
    padding: 21px;
    border: 1px solid var(--tv-border);
    border-radius: 12px;
    background: var(--tv-surface);
}

html[data-theme="dark"] .tv-article-sidebar-card {
    background: #161819;
}

.tv-article-sidebar-card > p {
    color: var(--tv-muted);
    font-size: 10px;
    line-height: 1.7;
}

.tv-article-recent-list {
    display: grid;
    gap: 13px;
}

.tv-article-recent-list > a {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 10px;
    align-items: center;
}

.tv-article-recent-list img {
    width: 62px;
    height: 52px;
    object-fit: cover;
    border-radius: 7px;
}

.tv-article-recent-list strong {
    display: block;
    color: var(--tv-text);
    font-size: 9px;
    line-height: 1.4;
}

.tv-article-recent-list span {
    display: block;
    margin-top: 4px;
    color: var(--tv-muted);
    font-size: 8px;
}


/* RELATED */

.tv-related-article-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0,1fr));
    gap: 15px;
}

.tv-related-date {
    color: var(--tv-muted);
    font-size: 9px;
}


/* COMMENTS */

.tv-article-comments {
    padding: 85px 0;
    background: var(--tv-white);
}

html[data-theme="dark"] .tv-article-comments {
    background: #121415;
}

.tv-article-comments-inner {
    max-width: 900px;
    margin: 0 auto;
}

.tv-article-comments-inner > div:first-child h2 {
    margin: 7px 0 8px;
    color: var(--tv-black);
    font-size: 31px;
}

.tv-article-comments-inner > div:first-child p {
    color: var(--tv-muted);
    font-size: 11px;
}

.tv-comment-form-card {
    margin-top: 27px;
    padding: 30px;
    border: 1px solid var(--tv-border);
    border-radius: 14px;
    background: var(--tv-surface);
}

html[data-theme="dark"] .tv-comment-form-card {
    background: #161819;
}

.tv-comment-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0,1fr));
    gap: 18px;
    margin-bottom: 20px;
}

.tv-comment-errors {
    margin-bottom: 15px;
    color: #c43838;
    font-size: 10px;
}

.tv-comment-list {
    margin-top: 35px;
    display: grid;
    gap: 14px;
}

.tv-comment {
    padding: 20px;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 13px;
    border: 1px solid var(--tv-border);
    border-radius: 11px;
}

.tv-comment-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--tv-accent-soft);
    color: var(--tv-accent);
    font-size: 12px;
    font-weight: 800;
}

.tv-comment strong,
.tv-comment span {
    display: block;
}

.tv-comment strong {
    font-size: 11px;
}

.tv-comment span {
    margin-top: 3px;
    color: var(--tv-muted);
    font-size: 8px;
}

.tv-comment p {
    margin: 9px 0 0;
    color: var(--tv-muted);
    font-size: 10px;
    line-height: 1.7;
}


/* RESPONSIVE */

@media (max-width: 950px) {

    .tv-featured-article,
    .tv-resource-layout,
    .tv-article-layout {
        grid-template-columns: 1fr;
    }

    .tv-resource-sidebar,
    .tv-article-sidebar {
        position: static;
    }

    .tv-related-article-grid {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 650px) {

    .tv-resources-hero {
        padding: 70px 0 55px;
    }

    .tv-resources-hero h1 {
        font-size: 45px;
    }

    .tv-resource-search {
        align-items: stretch;
    }

    .tv-resource-search button {
        padding-inline: 13px;
    }

    .tv-featured-article-image {
        min-height: 260px;
    }

    .tv-featured-article-copy {
        padding: 27px 20px;
    }

    .tv-featured-article-copy h2 {
        font-size: 27px;
    }

    .tv-article-grid,
    .tv-related-article-grid,
    .tv-comment-grid {
        grid-template-columns: 1fr;
    }

    .tv-resource-results-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .tv-resource-active-filter a {
        margin-left: 0;
    }

    .tv-article-hero {
        padding: 65px 0 45px;
    }

    .tv-article-hero h1 {
        font-size: 40px;
    }

    .tv-article-featured-image {
        height: 280px;
        border-radius: 10px;
    }

    .tv-article-section {
        padding: 45px 0 65px;
    }

    .tv-article-content {
        font-size: 14px;
    }

    .tv-comment-form-card {
        padding: 23px 18px;
    }
}


/* =========================================================
   SYSTEM / SECURITY PAGES
   ========================================================= */

.tv-system-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 88px 0;
}

.tv-system-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 64px 48px;
    border: 1px solid var(--tv-border, #e6e6e6);
    border-radius: 28px;
    background: var(--tv-surface, #fff);
}

.tv-system-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 24px;
    background: rgba(139, 30, 63, 0.08);
    color: #8B1E3F;
    font-size: 24px;
}

.tv-system-card h1 {
    max-width: 650px;
    margin: 12px auto 20px;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.tv-system-card p {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
    color: var(--tv-muted, #666);
}

.tv-system-actions {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .tv-system-page {
        padding: 56px 18px;
    }

    .tv-system-card {
        padding: 42px 24px;
        border-radius: 22px;
    }
}

/* =========================================================
   SOURCING REQUEST V2
   ========================================================= */

.tv-source-hero {
    padding: 96px 0 82px;
    border-bottom: 1px solid var(--tv-border, #e8e8e8);
}

.tv-source-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
    gap: 72px;
    align-items: center;
}

.tv-source-hero-copy {
    max-width: 820px;
}

.tv-source-hero-copy h1 {
    margin: 16px 0 24px;
    max-width: 850px;
    font-size: clamp(3rem, 6vw, 5.7rem);
    line-height: .96;
    letter-spacing: -.055em;
}

.tv-source-hero-copy h1 span {
    color: #8B1E3F;
}

.tv-source-hero-copy > p {
    max-width: 720px;
    font-size: 1.12rem;
    line-height: 1.8;
    color: var(--tv-muted, #666);
}

.tv-source-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 34px;
}

.tv-source-trust-row > div {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .9rem;
    font-weight: 700;
}

.tv-source-trust-row i {
    color: #11885d;
}


.tv-source-how {
    padding: 34px;
    border: 1px solid var(--tv-border, #e5e5e5);
    border-radius: 26px;
    background: var(--tv-surface, #fff);
}

.tv-source-how-label {
    display: block;
    margin-bottom: 25px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #8B1E3F;
}

.tv-source-how-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--tv-border, #ececec);
}

.tv-source-how-item:first-of-type {
    border-top: 0;
}

.tv-source-how-item > span {
    font-size: .78rem;
    font-weight: 800;
    color: #8B1E3F;
}

.tv-source-how-item strong {
    display: block;
    margin-bottom: 6px;
    font-size: .98rem;
}

.tv-source-how-item p {
    margin: 0;
    color: var(--tv-muted, #707070);
    line-height: 1.6;
    font-size: .88rem;
}


/* FORM SECTION */

.tv-source-form-section {
    padding: 72px 0 110px;
}

.tv-source-form {
    width: 100%;
}

.tv-source-progress {
    display: flex;
    align-items: center;
    margin-bottom: 48px;
    padding: 22px 28px;
    border: 1px solid var(--tv-border, #e4e4e4);
    border-radius: 22px;
    background: var(--tv-surface, #fff);
}

.tv-source-progress-item {
    appearance: none;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0;
    color: var(--tv-muted, #777);
    text-align: left;
    cursor: pointer;
}

.tv-source-progress-item > span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid var(--tv-border, #d9d9d9);
    font-size: .78rem;
    font-weight: 800;
}

.tv-source-progress-item strong,
.tv-source-progress-item small {
    display: block;
}

.tv-source-progress-item strong {
    font-size: .82rem;
}

.tv-source-progress-item small {
    margin-top: 2px;
    font-size: .7rem;
    color: var(--tv-muted, #999);
}

.tv-source-progress-item.is-active {
    color: #8B1E3F;
}

.tv-source-progress-item.is-active > span {
    background: #8B1E3F;
    border-color: #8B1E3F;
    color: #fff;
}

.tv-source-progress-item.is-complete > span {
    background: #11885d;
    border-color: #11885d;
    color: #fff;
}

.tv-source-progress-line {
    height: 1px;
    min-width: 35px;
    flex: 1;
    margin: 0 18px;
    background: var(--tv-border, #dfdfdf);
}


.tv-source-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 44px;
    align-items: start;
}

.tv-source-main {
    min-width: 0;
}

.tv-source-step {
    display: none;
    padding: 46px;
    border: 1px solid var(--tv-border, #e3e3e3);
    border-radius: 26px;
    background: var(--tv-surface, #fff);
}

.tv-source-step.is-active {
    display: block;
}

.tv-source-step-head {
    margin-bottom: 38px;
}

.tv-source-step-head > span {
    display: block;
    margin-bottom: 8px;
    color: #8B1E3F;
    font-size: .77rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.tv-source-step-head h2 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: -.035em;
}

.tv-source-step-head p {
    margin: 0;
    max-width: 650px;
    color: var(--tv-muted, #707070);
    line-height: 1.7;
}


.tv-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 22px;
}

.tv-field-full {
    grid-column: 1 / -1;
}

.tv-field label {
    display: block;
    margin-bottom: 9px;
    font-size: .87rem;
    font-weight: 750;
}

.tv-field label span {
    color: #8B1E3F;
}

.tv-field small {
    display: block;
    margin-top: 8px;
    color: var(--tv-muted, #888);
    font-size: .75rem;
    line-height: 1.5;
}

.tv-source-form input[type="text"],
.tv-source-form input[type="email"],
.tv-source-form input[type="url"],
.tv-source-form input[type="number"],
.tv-source-form input[type="date"],
.tv-source-form select,
.tv-source-form textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid var(--tv-border, #dcdcdc);
    border-radius: 12px;
    background: var(--tv-surface, #fff);
    color: inherit;
    font: inherit;
    outline: none;
    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.tv-source-form textarea {
    resize: vertical;
    min-height: 130px;
}

.tv-source-form input:focus,
.tv-source-form select:focus,
.tv-source-form textarea:focus {
    border-color: #8B1E3F;
    box-shadow: 0 0 0 3px rgba(139, 30, 63, .1);
}

.tv-field-error {
    margin-top: 7px;
    color: #c43838;
    font-size: .78rem;
    font-weight: 650;
}


.tv-upload-box {
    position: relative;
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 25px;
    border: 1px dashed var(--tv-border, #cfcfcf);
    border-radius: 16px;
    overflow: hidden;
}

.tv-upload-box input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.tv-upload-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(139, 30, 63, .08);
    color: #8B1E3F;
}

.tv-upload-box strong {
    display: block;
    margin-bottom: 5px;
}

.tv-upload-box p {
    margin: 0;
    font-size: .78rem;
    color: var(--tv-muted, #888);
}

.tv-upload-file-name {
    margin-top: 8px;
    font-size: .8rem;
    font-weight: 700;
    color: #11885d;
}


.tv-source-step-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 38px;
    padding-top: 26px;
    border-top: 1px solid var(--tv-border, #ececec);
}

.tv-source-info-box,
.tv-source-privacy,
.tv-source-submit-note {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(139, 30, 63, .055);
}

.tv-source-info-box i,
.tv-source-privacy i {
    margin-top: 3px;
    color: #8B1E3F;
}

.tv-source-info-box p,
.tv-source-privacy p,
.tv-source-submit-note p {
    margin: 0;
    color: var(--tv-muted, #666);
    line-height: 1.65;
    font-size: .84rem;
}

.tv-source-privacy strong {
    display: block;
    margin-bottom: 5px;
}

.tv-source-submit-note {
    background: rgba(17, 136, 93, .07);
}

.tv-source-submit-note i {
    color: #11885d;
}


/* SIDEBAR */

.tv-source-sidebar {
    position: sticky;
    top: 100px;
}

.tv-source-sidebar-card {
    padding: 28px;
    border-radius: 22px;
    background: #111;
    color: #fff;
}

.tv-source-sidebar-card > span {
    display: block;
    margin-bottom: 12px;
    color: #dcb4c1;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.tv-source-sidebar-card h3 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.4;
}

.tv-source-sidebar-card ul {
    list-style: none;
    margin: 25px 0 0;
    padding: 0;
}

.tv-source-sidebar-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .84rem;
}

.tv-source-sidebar-card li i {
    color: #5bd1a4;
}

.tv-source-sidebar-help {
    display: flex;
    gap: 13px;
    margin-top: 18px;
    padding: 20px;
    border: 1px solid var(--tv-border, #e0e0e0);
    border-radius: 16px;
}

.tv-source-sidebar-help i {
    margin-top: 3px;
    color: #8B1E3F;
}

.tv-source-sidebar-help strong {
    display: block;
    margin-bottom: 4px;
    font-size: .85rem;
}

.tv-source-sidebar-help p {
    margin: 0;
    color: var(--tv-muted, #777);
    font-size: .77rem;
    line-height: 1.55;
}


/* REVIEW */

.tv-source-review {
    display: grid;
    gap: 18px;
}

.tv-source-review-section {
    padding: 24px;
    border: 1px solid var(--tv-border, #e5e5e5);
    border-radius: 17px;
}

.tv-source-review-section > span {
    display: block;
    margin-bottom: 17px;
    color: #8B1E3F;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.tv-source-review dl {
    margin: 0;
}

.tv-source-review dl > div {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 18px;
    padding: 10px 0;
    border-top: 1px solid var(--tv-border, #ededed);
}

.tv-source-review dl > div:first-child {
    border-top: 0;
}

.tv-source-review dt {
    color: var(--tv-muted, #777);
    font-size: .78rem;
}

.tv-source-review dd {
    margin: 0;
    font-size: .86rem;
    font-weight: 650;
    word-break: break-word;
}


/* SUCCESS */

.tv-source-success {
    padding: 92px 0 110px;
}

.tv-source-success-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 52px;
    align-items: start;
}

.tv-source-success-main {
    max-width: 780px;
}

.tv-source-success-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border-radius: 50%;
    background: #11885d;
    color: #fff;
    font-size: 1.35rem;
}

.tv-source-success-icon-muted {
    background: #8B1E3F;
}

.tv-source-success-main h1,
.tv-source-success-card h1 {
    margin: 14px 0 20px;
    max-width: 760px;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: 1;
    letter-spacing: -.05em;
}

.tv-source-success-intro,
.tv-source-success-card > p {
    max-width: 680px;
    color: var(--tv-muted, #6d6d6d);
    line-height: 1.8;
    font-size: 1.03rem;
}

.tv-source-reference {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 36px 0;
    overflow: hidden;
    border: 1px solid var(--tv-border, #e4e4e4);
    border-radius: 16px;
}

.tv-source-reference > div {
    padding: 20px 22px;
    background: var(--tv-surface, #fff);
}

.tv-source-reference span {
    display: block;
    margin-bottom: 6px;
    color: var(--tv-muted, #777);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.tv-source-reference strong {
    font-size: 1.05rem;
}

.tv-source-status {
    color: #11885d;
}

.tv-source-next {
    margin-top: 40px;
}

.tv-source-next > span {
    display: block;
    margin-bottom: 18px;
    color: #8B1E3F;
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.tv-source-next-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    padding: 19px 0;
    border-top: 1px solid var(--tv-border, #e8e8e8);
}

.tv-source-next-item > strong {
    color: #8B1E3F;
    font-size: .78rem;
}

.tv-source-next-item h3 {
    margin: 0 0 5px;
    font-size: 1rem;
}

.tv-source-next-item p {
    margin: 0;
    color: var(--tv-muted, #777);
    line-height: 1.65;
    font-size: .83rem;
}

.tv-source-success-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.tv-source-success-side {
    padding: 28px;
    border: 1px solid var(--tv-border, #e3e3e3);
    border-radius: 22px;
    background: var(--tv-surface, #fff);
}

.tv-source-success-side > span {
    display: block;
    margin-bottom: 20px;
    color: #8B1E3F;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.tv-source-success-side dl {
    margin: 0;
}

.tv-source-success-side dl > div {
    padding: 14px 0;
    border-top: 1px solid var(--tv-border, #ececec);
}

.tv-source-success-side dl > div:first-child {
    border-top: 0;
}

.tv-source-success-side dt {
    margin-bottom: 4px;
    color: var(--tv-muted, #888);
    font-size: .72rem;
}

.tv-source-success-side dd {
    margin: 0;
    font-size: .88rem;
    font-weight: 650;
    line-height: 1.5;
}

.tv-source-reference-note {
    display: flex;
    gap: 11px;
    margin-top: 22px;
    padding: 16px;
    border-radius: 13px;
    background: rgba(139, 30, 63, .06);
}

.tv-source-reference-note i {
    margin-top: 3px;
    color: #8B1E3F;
}

.tv-source-reference-note p {
    margin: 0;
    color: var(--tv-muted, #666);
    font-size: .78rem;
    line-height: 1.55;
}

.tv-source-success-card {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.tv-source-success-card .tv-source-success-icon {
    margin-left: auto;
    margin-right: auto;
}

.tv-source-success-card .tv-source-success-actions {
    justify-content: center;
}


/* ERRORS / HONEYPOT */

.tv-source-alert {
    margin-bottom: 24px;
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(196, 56, 56, .08);
    color: #b22f2f;
}

.tv-source-alert p {
    margin: 0;
}

.tv-source-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}


/* DARK MODE */

[data-theme="dark"] .tv-source-sidebar-card {
    background: #050505;
}

[data-theme="dark"] .tv-source-how,
[data-theme="dark"] .tv-source-step,
[data-theme="dark"] .tv-source-progress,
[data-theme="dark"] .tv-source-success-side {
    background: var(--tv-surface);
}


/* RESPONSIVE */

@media (max-width: 1080px) {

    .tv-source-hero-grid,
    .tv-source-layout,
    .tv-source-success-grid {
        grid-template-columns: 1fr;
    }

    .tv-source-how {
        max-width: 700px;
    }

    .tv-source-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .tv-source-sidebar-help {
        margin-top: 0;
    }

    .tv-source-success-side {
        max-width: 760px;
    }
}


@media (max-width: 760px) {

    .tv-source-hero {
        padding: 65px 0 55px;
    }

    .tv-source-form-section,
    .tv-source-success {
        padding: 52px 0 75px;
    }

    .tv-source-progress {
        overflow-x: auto;
        gap: 12px;
        padding: 17px;
    }

    .tv-source-progress-line {
        display: none;
    }

    .tv-source-progress-item div {
        display: none;
    }

    .tv-source-progress-item > span {
        width: 38px;
        height: 38px;
    }

    .tv-source-step {
        padding: 28px 22px;
        border-radius: 20px;
    }

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

    .tv-field-full {
        grid-column: auto;
    }

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

    .tv-source-review dl > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

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

    .tv-source-step-actions {
        align-items: stretch;
    }

    .tv-source-step-actions .tv-btn {
        flex: 1;
    }
}

/* =========================================================
   V2 ERROR PAGES
========================================================= */

.tv-error-page {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.tv-error-page .tv-container {
    width: 100%;
}

.tv-error-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 72px 48px;
    border: 1px solid var(--tv-border);
    border-radius: 28px;
    background: var(--tv-surface);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.07);
}

.tv-error-code {
    margin: 18px 0 6px;
    font-size: clamp(5rem, 14vw, 9rem);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.07em;
    color: var(--tv-text);
    opacity: 0.08;
}

.tv-error-card h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: var(--tv-text);
}

.tv-error-card > p {
    max-width: 580px;
    margin: 22px auto 0;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--tv-text-muted);
}

.tv-error-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.tv-error-actions .tv-btn {
    min-width: 170px;
}

@media (max-width: 640px) {
    .tv-error-page {
        padding: 48px 16px;
    }

    .tv-error-card {
        padding: 52px 22px;
        border-radius: 22px;
    }

    .tv-error-actions {
        flex-direction: column;
    }

    .tv-error-actions .tv-btn {
        width: 100%;
    }
}

/* =========================================================
   LEGAL PAGES
========================================================= */

.tv-legal-layout {
    width: min(920px, 100%);
    margin: 0 auto;
}

.tv-legal-header {
    padding: 32px 0 44px;
    border-bottom: 1px solid var(--tv-border);
}

.tv-legal-header h1 {
    margin: 12px 0 18px;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.tv-legal-header p {
    max-width: 720px;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--tv-muted);
}

.tv-legal-updated {
    display: inline-block;
    margin-top: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--tv-muted);
}

.tv-legal-content {
    padding: 24px 0 72px;
}

.tv-legal-content section {
    padding: 30px 0;
    border-bottom: 1px solid var(--tv-border);
}

.tv-legal-content section:last-child {
    border-bottom: 0;
}

.tv-legal-content h2 {
    margin: 0 0 15px;
    font-size: 1.35rem;
    line-height: 1.3;
}

.tv-legal-content p,
.tv-legal-content li {
    color: var(--tv-muted);
    font-size: 0.98rem;
    line-height: 1.8;
}

.tv-legal-content p {
    margin: 0 0 14px;
}

.tv-legal-content ul {
    margin: 14px 0 0;
    padding-left: 22px;
}

.tv-legal-content li + li {
    margin-top: 8px;
}

.tv-legal-content a:not(.tv-btn) {
    color: var(--tv-red);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tv-terms-field span a {
    color: var(--tv-red);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 767px) {
    .tv-legal-header {
        padding-top: 18px;
        padding-bottom: 32px;
    }

    .tv-legal-content section {
        padding: 24px 0;
    }
}