/* ============================================================
   TADVIN 724 — HOMEPAGE
   Cinema-grade editorial design.
   Palette: wine #631414 · burgundy #380D0E · ink #190808 · cream #FBFAF8
   ============================================================ */

/* ============================================================
   SHARED — SECTION, HEADER, BUTTONS
   ============================================================ */

.td-h-section {
    padding: var(--lc-space-8) 0;
    position: relative;
}

.td-h-section--alt {
    background: var(--lc-color-background-alt);
}

.td-h-section--dark {
    background: #380D0E;
    color: #FBFAF8;
}

.td-h-section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--lc-space-7);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--lc-space-3);
}

.td-h-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--lc-space-2);
    padding: 6px var(--lc-space-3);
    background: var(--lc-color-primary-light);
    color: var(--lc-color-primary);
    border-radius: var(--lc-radius-full);
    font-size: var(--lc-font-size-xs);
    font-weight: var(--lc-font-weight-semibold);
    letter-spacing: 0.02em;
}

.td-h-section__eyebrow--light {
    background: rgba(251, 250, 248, 0.1);
    color: #FBFAF8;
}

.td-h-section__title {
    margin: 0;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: var(--lc-font-weight-black);
    line-height: 1.25;
    color: var(--lc-color-text);
    letter-spacing: var(--lc-letter-spacing-tight);
}

.td-h-section--dark .td-h-section__title {
    color: #FBFAF8;
}

.td-h-section__title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--lc-color-primary);
    border-radius: 3px;
    margin: var(--lc-space-3) auto 0;
}

.td-h-section--dark .td-h-section__title::after {
    background: #FBFAF8;
}

.td-h-section__subtitle {
    margin: 0;
    font-size: var(--lc-font-size-md);
    line-height: 1.85;
    color: var(--lc-color-text-secondary);
}

.td-h-section--dark .td-h-section__subtitle {
    color: rgba(251, 250, 248, 0.75);
}

.td-h-section__subtitle strong {
    color: var(--lc-color-primary);
    font-weight: var(--lc-font-weight-bold);
}

.td-h-section--dark .td-h-section__subtitle strong {
    color: #FBFAF8;
}

/* ---------- BUTTONS ---------- */

.td-h-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--lc-space-2);
    padding: var(--lc-space-3) var(--lc-space-5);
    font-family: inherit;
    font-size: var(--lc-font-size-sm);
    font-weight: var(--lc-font-weight-semibold);
    line-height: 1.5;
    border: 1px solid transparent;
    border-radius: var(--lc-radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--lc-transition-fast);
    min-height: 44px;
    white-space: nowrap;
}

.td-h-btn:focus-visible {
    outline: 2px solid var(--lc-color-primary);
    outline-offset: 3px;
}

.td-h-btn--primary {
    background: var(--lc-color-primary);
    color: #FBFAF8;
    border-color: var(--lc-color-primary);
}

.td-h-btn--primary:hover {
    background: var(--lc-color-primary-hover);
    border-color: var(--lc-color-primary-hover);
    color: #FBFAF8;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(99, 20, 20, 0.22);
}

.td-h-btn--ghost {
    background: transparent;
    color: var(--lc-color-text);
    border-color: var(--lc-color-border);
}

.td-h-btn--ghost:hover {
    background: var(--lc-color-background-alt);
    border-color: var(--lc-color-text-secondary);
    color: var(--lc-color-text);
}

.td-h-btn--ghost-light {
    background: transparent;
    color: #FBFAF8;
    border-color: rgba(251, 250, 248, 0.35);
}

.td-h-btn--ghost-light:hover {
    background: rgba(251, 250, 248, 0.1);
    border-color: #FBFAF8;
    color: #FBFAF8;
}

.td-h-btn--outline {
    background: transparent;
    color: var(--lc-color-primary);
    border-color: var(--lc-color-primary);
}

.td-h-btn--outline:hover {
    background: var(--lc-color-primary);
    color: #FBFAF8;
}

.td-h-btn--outline-light {
    background: transparent;
    color: #FBFAF8;
    border-color: rgba(251, 250, 248, 0.35);
}

.td-h-btn--outline-light:hover {
    background: #FBFAF8;
    color: var(--lc-color-primary);
    border-color: #FBFAF8;
}

.td-h-btn--cream {
    background: #FBFAF8;
    color: var(--lc-color-primary);
    border-color: #FBFAF8;
}

.td-h-btn--cream:hover {
    background: #F3EFEC;
    border-color: #F3EFEC;
    color: var(--lc-color-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(25, 8, 8, 0.2);
}

.td-h-btn--block {
    display: flex;
    width: 100%;
}

/* ============================================================
   1. HERO
   ============================================================ */

.td-h-hero {
    position: relative;
    padding: var(--lc-space-6) 0 var(--lc-space-6);
    overflow: hidden;
    background:
        radial-gradient(ellipse at top left, rgba(99, 20, 20, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse at bottom right, rgba(56, 13, 14, 0.05) 0%, transparent 55%),
        #FBFAF8;
}

.td-h-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Vertical grid lines — cinematic editorial feel */
.td-h-hero__grid-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(99, 20, 20, 0.08) 20%, rgba(99, 20, 20, 0.08) 80%, transparent 100%);
}

.td-h-hero__grid-line--v {
    inset-inline-start: 33%;
}

.td-h-hero__grid-line--v2 {
    inset-inline-start: 66%;
}

.td-h-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
}

.td-h-hero__glow--wine {
    top: -80px;
    inset-inline-start: -80px;
    width: 340px;
    height: 340px;
    background: rgba(99, 20, 20, 0.18);
}

.td-h-hero__glow--cream {
    bottom: -80px;
    inset-inline-end: -80px;
    width: 380px;
    height: 380px;
    background: rgba(216, 207, 205, 0.6);
}

.td-h-hero__container {
    position: relative;
    z-index: 1;
}

.td-h-hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: var(--lc-space-6);
    align-items: center;
}

.td-h-hero__content {
    display: flex;
    flex-direction: column;
    gap: var(--lc-space-4);
}

.td-h-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--lc-space-2);
    align-self: flex-start;
    padding: 8px var(--lc-space-4);
    background: rgba(99, 20, 20, 0.06);
    border: 1px solid rgba(99, 20, 20, 0.15);
    border-radius: var(--lc-radius-full);
    font-size: var(--lc-font-size-xs);
    font-weight: var(--lc-font-weight-semibold);
    color: var(--lc-color-primary);
}

.td-h-hero__eyebrow-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--lc-color-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(99, 20, 20, 0.15);
    animation: td-h-pulse 2s ease-in-out infinite;
}

@keyframes td-h-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(99, 20, 20, 0.15); }
    50%      { box-shadow: 0 0 0 8px rgba(99, 20, 20, 0.05); }
}

.td-h-hero__title {
    margin: 0;
    font-size: clamp(1.85rem, 4vw, 3rem);
    font-weight: var(--lc-font-weight-black);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--lc-color-text);
}

.td-h-hero__title-accent {
    color: var(--lc-color-primary);
    font-style: italic;
    font-weight: var(--lc-font-weight-black);
    position: relative;
    display: inline-block;
}

.td-h-hero__title-accent::after {
    content: '';
    position: absolute;
    bottom: 4px;
    inset-inline-start: 0;
    inset-inline-end: 0;
    height: 10px;
    background: rgba(99, 20, 20, 0.12);
    border-radius: 2px;
    z-index: -1;
}

.td-h-hero__text {
    margin: 0;
    max-width: 540px;
    font-size: var(--lc-font-size-md);
    line-height: 1.85;
    color: var(--lc-color-text-secondary);
}

.td-h-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--lc-space-3);
    margin-top: var(--lc-space-2);
}

.td-h-hero__stats {
    display: flex;
    align-items: center;
    gap: var(--lc-space-5);
    margin-top: var(--lc-space-4);
    padding-top: var(--lc-space-4);
    border-top: 1px solid var(--lc-color-border);
}

.td-h-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.td-h-hero__stat-num {
    font-size: var(--lc-font-size-2xl);
    font-weight: var(--lc-font-weight-black);
    color: var(--lc-color-primary);
    line-height: 1;
    letter-spacing: -0.02em;
    font-feature-settings: "tnum";
}

.td-h-hero__stat-label {
    font-size: var(--lc-font-size-xs);
    color: var(--lc-color-text-muted);
    font-weight: var(--lc-font-weight-medium);
}

.td-h-hero__stat-div {
    width: 1px;
    height: 32px;
    background: var(--lc-color-border);
}

/* ---------- HERO VISUAL — COMPACT EDITING TIMELINE ---------- */

.td-h-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.td-h-edit {
    /* Compact fixed size */
    width: 300px;
    max-width: 100%;
    background: #190808;
    border-radius: var(--lc-radius-lg);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;

    box-shadow:
        0 20px 40px -18px rgba(25, 8, 8, 0.45),
        0 0 0 1px rgba(99, 20, 20, 0.25);

    /* Entrance animation: scale up + fade in */
    animation: td-h-edit-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.35s ease;
    will-change: transform;
}

@keyframes td-h-edit-in {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Hover: lift + glow */
.td-h-hero__visual:hover .td-h-edit {
    transform: translateY(-6px);
    box-shadow:
        0 28px 60px -18px rgba(99, 20, 20, 0.5),
        0 0 0 1px rgba(99, 20, 20, 0.35);
}

/* ---------- Preview screen ---------- */

.td-h-edit__preview {
    position: relative;
    aspect-ratio: 16 / 10;   /* was 9/12 — now compact and landscape */
    background:
        radial-gradient(circle at 30% 25%, rgba(99, 20, 20, 0.6) 0%, transparent 55%),
        radial-gradient(circle at 75% 75%, rgba(56, 13, 14, 0.75) 0%, transparent 55%),
        #380D0E;
    border-radius: var(--lc-radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;

    animation: td-h-preview-in 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both;
}

@keyframes td-h-preview-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.td-h-edit__preview::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0,
        transparent 2px,
        rgba(251, 250, 248, 0.02) 2px,
        rgba(251, 250, 248, 0.02) 3px
    );
    pointer-events: none;
}

.td-h-edit__play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(251, 250, 248, 0.15);
    border: 1px solid rgba(251, 250, 248, 0.4);
    border-radius: 50%;
    color: #FBFAF8;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all var(--lc-transition-base);
    position: relative;
    z-index: 1;
}

.td-h-edit__play svg {
    width: 16px;
    height: 16px;
    margin-inline-start: 2px;
}

.td-h-hero__visual:hover .td-h-edit__play {
    background: #FBFAF8;
    color: var(--lc-color-primary);
    transform: scale(1.12);
}

.td-h-edit__tc {
    position: absolute;
    top: 8px;
    inset-inline-start: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    background: rgba(251, 250, 248, 0.1);
    border: 1px solid rgba(251, 250, 248, 0.2);
    border-radius: 3px;
    font-size: 8px;
    font-family: 'Courier New', monospace;
    color: #FBFAF8;
    letter-spacing: 0.05em;
    direction: ltr;
    z-index: 1;
}

.td-h-edit__rec {
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #FBFAF8;
    border-radius: 50%;
    animation: td-h-rec 1.2s step-end infinite;
}

@keyframes td-h-rec {
    50% { opacity: 0.2; }
}

.td-h-edit__mark {
    font-size: 2rem;
    font-weight: var(--lc-font-weight-black);
    color: #FBFAF8;
    line-height: 1;
    letter-spacing: -0.04em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
}

/* ---------- Timeline ---------- */

.td-h-edit__timeline {
    position: relative;
    background: rgba(251, 250, 248, 0.04);
    border: 1px solid rgba(251, 250, 248, 0.08);
    border-radius: 5px;
    padding: 7px;
    display: flex;
    flex-direction: column;
    gap: 4px;

    animation: td-h-timeline-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s both;
}

@keyframes td-h-timeline-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.td-h-edit__track {
    display: flex;
    gap: 2px;
    height: 11px;
    position: relative;
}

.td-h-edit__track--v {
    height: 15px;
}

.td-h-edit__clip {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 2px;
    border: 1px solid rgba(251, 250, 248, 0.15);

    /* Entrance animation: width grows from 0 to --w */
    animation: td-h-clip-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0.2s) both;
}

@keyframes td-h-clip-in {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: var(--w, 20%);
        opacity: 1;
    }
}

.td-h-edit__clip--v {
    background: linear-gradient(180deg, #631414 0%, #380D0E 100%);
}

.td-h-edit__clip--accent {
    background: linear-gradient(180deg, #FBFAF8 0%, #D8CFCD 100%);
    border-color: rgba(251, 250, 248, 0.35);
}

.td-h-edit__clip--audio {
    background: linear-gradient(180deg, #4F3E3D 0%, #190808 100%);
    border-color: rgba(251, 250, 248, 0.1);
}

/* Playhead — slides in from the left after clips settle */
.td-h-edit__playhead {
    position: absolute;
    top: 4px;
    bottom: 4px;
    inset-inline-start: 42%;
    width: 2px;
    background: #FBFAF8;
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(251, 250, 248, 0.7);
    z-index: 2;

    animation: td-h-playhead-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.55s both;
}

@keyframes td-h-playhead-in {
    from {
        opacity: 0;
        inset-inline-start: 0%;
    }
    to {
        opacity: 1;
        inset-inline-start: 42%;
    }
}

.td-h-edit__playhead::before {
    content: '';
    position: absolute;
    top: -3px;
    inset-inline-start: -3px;
    width: 8px;
    height: 5px;
    background: #FBFAF8;
    border-radius: 1px;
}

/* ---------- Status bar ---------- */

.td-h-edit__status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 8px;
    color: rgba(251, 250, 248, 0.65);
    font-family: 'Courier New', monospace;
    direction: ltr;
    padding: 0 3px;

    animation: td-h-status-in 0.4s ease 0.6s both;
}

@keyframes td-h-status-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.td-h-edit__status-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(16, 185, 129, 0.7);
}

.td-h-edit__status-pct {
    margin-inline-start: auto;
    color: #FBFAF8;
    font-weight: 600;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    .td-h-edit {
        width: 260px;
    }

    .td-h-edit__preview {
        aspect-ratio: 16 / 10;
    }

    .td-h-edit__mark {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .td-h-edit {
        width: 240px;
    }

    .td-h-edit__mark {
        font-size: 1.5rem;
    }

    .td-h-edit__play {
        width: 38px;
        height: 38px;
    }

    .td-h-edit__play svg {
        width: 14px;
        height: 14px;
    }

    .td-h-edit__track {
        height: 10px;
    }

    .td-h-edit__track--v {
        height: 13px;
    }
}

@media (max-width: 480px) {
    .td-h-edit {
        width: 200px;
        padding: 10px;
        gap: 6px;
    }

    .td-h-edit__mark {
        font-size: 1.25rem;
    }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    .td-h-edit,
    .td-h-edit__preview,
    .td-h-edit__timeline,
    .td-h-edit__clip,
    .td-h-edit__playhead,
    .td-h-edit__status {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }

    /* Ensure final states are correct without animation */
    .td-h-edit__clip {
        width: var(--w, 20%);
    }

    .td-h-edit__playhead {
        inset-inline-start: 42%;
    }
}

/* ============================================================
   2. SERVICES
   ============================================================ */

.td-h-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--lc-space-4);
}

.td-h-service {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--lc-space-3);
    padding: var(--lc-space-5);
    background: var(--lc-color-background);
    border: 1px solid var(--lc-color-border);
    border-radius: var(--lc-radius-lg);
    transition: all var(--lc-transition-base);
    overflow: hidden;
}

.td-h-service::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--lc-color-primary);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--lc-transition-base);
}

.td-h-service:hover {
    border-color: var(--lc-color-border-dark);
    transform: translateY(-4px);
    box-shadow: var(--lc-shadow-md);
}

.td-h-service:hover::before {
    transform: scaleY(1);
}

.td-h-service__index {
    position: absolute;
    top: var(--lc-space-4);
    inset-inline-end: var(--lc-space-4);
    font-size: var(--lc-font-size-xs);
    font-weight: var(--lc-font-weight-bold);
    color: var(--lc-color-text-light);
    letter-spacing: 0.05em;
    font-feature-settings: "tnum";
}

.td-h-service__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--lc-color-primary-light);
    color: var(--lc-color-primary);
    border-radius: var(--lc-radius-md);
    transition: all var(--lc-transition-base);
}

.td-h-service__icon svg {
    width: 26px;
    height: 26px;
}

.td-h-service:hover .td-h-service__icon {
    background: var(--lc-color-primary);
    color: #FBFAF8;
}

.td-h-service__title {
    margin: 0;
    font-size: var(--lc-font-size-lg);
    font-weight: var(--lc-font-weight-bold);
    color: var(--lc-color-text);
    line-height: 1.35;
}

.td-h-service__text {
    margin: 0;
    font-size: var(--lc-font-size-sm);
    line-height: 1.75;
    color: var(--lc-color-text-secondary);
}

/* ============================================================
   3. EDITING TIERS
   ============================================================ */

.td-h-tiers__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--lc-space-4);
    align-items: stretch;
}

.td-h-tier {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--lc-space-4);
    padding: var(--lc-space-6) var(--lc-space-5);
    background: rgba(251, 250, 248, 0.02);
    border: 1px solid rgba(251, 250, 248, 0.12);
    border-radius: var(--lc-radius-lg);
    transition: all var(--lc-transition-base);
}

.td-h-tier:hover {
    border-color: rgba(251, 250, 248, 0.3);
    background: rgba(251, 250, 248, 0.04);
}

.td-h-tier--featured {
    background: #FBFAF8;
    border-color: #FBFAF8;
    color: var(--lc-color-text);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5);
    transform: translateY(-8px);
}

.td-h-tier--featured:hover {
    background: #FBFAF8;
    border-color: #FBFAF8;
    transform: translateY(-12px);
}

.td-h-tier__badge {
    position: absolute;
    top: -14px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    padding: 6px var(--lc-space-4);
    background: #FBFAF8;
    color: var(--lc-color-primary);
    border-radius: var(--lc-radius-full);
    font-size: var(--lc-font-size-xs);
    font-weight: var(--lc-font-weight-bold);
    letter-spacing: 0.02em;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[dir="rtl"] .td-h-tier__badge {
    transform: translateX(50%);
}

.td-h-tier__head {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.td-h-tier__num {
    display: inline-block;
    font-size: var(--lc-font-size-xs);
    font-weight: var(--lc-font-weight-bold);
    color: rgba(251, 250, 248, 0.4);
    letter-spacing: 0.08em;
    font-feature-settings: "tnum";
}

.td-h-tier--featured .td-h-tier__num {
    color: var(--lc-color-text-light);
}

.td-h-tier__name {
    margin: 0;
    font-size: var(--lc-font-size-xl);
    font-weight: var(--lc-font-weight-black);
    color: #FBFAF8;
    line-height: 1.25;
}

.td-h-tier--featured .td-h-tier__name {
    color: var(--lc-color-text);
}

.td-h-tier__desc {
    margin: 0;
    font-size: var(--lc-font-size-sm);
    color: rgba(251, 250, 248, 0.65);
    line-height: 1.6;
}

.td-h-tier--featured .td-h-tier__desc {
    color: var(--lc-color-text-secondary);
}

.td-h-tier__price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--lc-space-4) 0;
    border-top: 1px solid rgba(251, 250, 248, 0.12);
    border-bottom: 1px solid rgba(251, 250, 248, 0.12);
}

.td-h-tier--featured .td-h-tier__price {
    border-color: var(--lc-color-border);
}

.td-h-tier__amount {
    font-size: var(--lc-font-size-3xl);
    font-weight: var(--lc-font-weight-black);
    color: #FBFAF8;
    line-height: 1;
    letter-spacing: -0.03em;
    font-feature-settings: "tnum";
}

.td-h-tier--featured .td-h-tier__amount {
    color: var(--lc-color-primary);
}

.td-h-tier__unit {
    font-size: var(--lc-font-size-xs);
    color: rgba(251, 250, 248, 0.6);
}

.td-h-tier--featured .td-h-tier__unit {
    color: var(--lc-color-text-muted);
}

.td-h-tier__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--lc-space-2);
    flex: 1;
}

.td-h-tier__features li {
    display: flex;
    align-items: flex-start;
    gap: var(--lc-space-2);
    font-size: var(--lc-font-size-sm);
    color: rgba(251, 250, 248, 0.8);
    line-height: 1.6;
}

.td-h-tier--featured .td-h-tier__features li {
    color: var(--lc-color-text-secondary);
}

.td-h-tier__features svg {
    flex-shrink: 0;
    margin-top: 4px;
    color: rgba(251, 250, 248, 0.6);
}

.td-h-tier--featured .td-h-tier__features svg {
    color: var(--lc-color-primary);
}

/* ============================================================
   4. MONTHLY PLANS
   ============================================================ */

.td-h-plans__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--lc-space-4);
    align-items: stretch;
}

.td-h-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--lc-space-3);
    padding: var(--lc-space-6) var(--lc-space-5);
    background: var(--lc-color-background);
    border: 1px solid var(--lc-color-border);
    border-radius: var(--lc-radius-lg);
    transition: all var(--lc-transition-base);
}

.td-h-plan:hover {
    border-color: var(--lc-color-border-dark);
    transform: translateY(-4px);
    box-shadow: var(--lc-shadow-md);
}

.td-h-plan--featured {
    border-color: var(--lc-color-primary);
    border-width: 2px;
    box-shadow: 0 20px 50px -20px rgba(99, 20, 20, 0.3);
    transform: translateY(-8px);
}

.td-h-plan--featured:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 60px -20px rgba(99, 20, 20, 0.4);
}

.td-h-plan__badge {
    position: absolute;
    top: -14px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    padding: 6px var(--lc-space-4);
    background: var(--lc-color-primary);
    color: #FBFAF8;
    border-radius: var(--lc-radius-full);
    font-size: var(--lc-font-size-xs);
    font-weight: var(--lc-font-weight-bold);
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(99, 20, 20, 0.35);
}

[dir="rtl"] .td-h-plan__badge {
    transform: translateX(50%);
}

.td-h-plan__name {
    margin: 0;
    font-size: var(--lc-font-size-xl);
    font-weight: var(--lc-font-weight-black);
    color: var(--lc-color-text);
    line-height: 1.25;
}

.td-h-plan__reels {
    margin: 0;
    font-size: var(--lc-font-size-sm);
    color: var(--lc-color-text-muted);
}

.td-h-plan__price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--lc-space-3) 0;
    border-top: 1px solid var(--lc-color-border-light);
    border-bottom: 1px solid var(--lc-color-border-light);
}

.td-h-plan__amount {
    font-size: var(--lc-font-size-3xl);
    font-weight: var(--lc-font-weight-black);
    color: var(--lc-color-primary);
    line-height: 1;
    letter-spacing: -0.03em;
    font-feature-settings: "tnum";
}

.td-h-plan__currency {
    font-size: var(--lc-font-size-xs);
    color: var(--lc-color-text-muted);
}

.td-h-plan__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--lc-space-2);
    font-size: var(--lc-font-size-xs);
}

.td-h-plan__per {
    color: var(--lc-color-text-muted);
}

.td-h-plan__discount {
    display: inline-flex;
    padding: 2px var(--lc-space-2);
    background: var(--lc-color-success-bg);
    color: var(--lc-color-success);
    border-radius: var(--lc-radius-full);
    font-weight: var(--lc-font-weight-semibold);
}

.td-h-plan__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--lc-space-2);
    flex: 1;
}

.td-h-plan__features li {
    display: flex;
    align-items: flex-start;
    gap: var(--lc-space-2);
    font-size: var(--lc-font-size-sm);
    color: var(--lc-color-text-secondary);
    line-height: 1.6;
}

.td-h-plan__features svg {
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--lc-color-primary);
}

/* ============================================================
   5. VIDEOGRAPHY
   ============================================================ */

.td-h-video__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--lc-space-4);
    margin-bottom: var(--lc-space-5);
}

.td-h-video__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--lc-space-2);
    padding: var(--lc-space-5);
    background: var(--lc-color-background);
    border: 1px solid var(--lc-color-border);
    border-radius: var(--lc-radius-lg);
    transition: all var(--lc-transition-base);
}

.td-h-video__card:hover {
    border-color: var(--lc-color-primary);
    transform: translateY(-4px);
    box-shadow: var(--lc-shadow-md);
}

.td-h-video__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--lc-color-primary-light);
    color: var(--lc-color-primary);
    border-radius: 50%;
    margin-bottom: var(--lc-space-1);
    transition: all var(--lc-transition-base);
}

.td-h-video__icon svg {
    width: 24px;
    height: 24px;
}

.td-h-video__card:hover .td-h-video__icon {
    background: var(--lc-color-primary);
    color: #FBFAF8;
}

.td-h-video__title {
    margin: 0;
    font-size: var(--lc-font-size-md);
    font-weight: var(--lc-font-weight-bold);
    color: var(--lc-color-text);
}

.td-h-video__price {
    font-size: var(--lc-font-size-2xl);
    font-weight: var(--lc-font-weight-black);
    color: var(--lc-color-primary);
    line-height: 1.1;
    font-feature-settings: "tnum";
}

.td-h-video__price span {
    font-size: var(--lc-font-size-xs);
    font-weight: var(--lc-font-weight-normal);
    color: var(--lc-color-text-muted);
}

.td-h-video__base {
    margin: 0;
    padding: 4px var(--lc-space-3);
    background: var(--lc-color-background-alt);
    border-radius: var(--lc-radius-full);
    font-size: var(--lc-font-size-sm);
    color: var(--lc-color-text-secondary);
}

.td-h-video__extra {
    margin: 0;
    font-size: var(--lc-font-size-xs);
    color: var(--lc-color-text-muted);
    line-height: 1.5;
}

.td-h-video__note {
    display: flex;
    align-items: flex-start;
    gap: var(--lc-space-3);
    padding: var(--lc-space-4);
    background: var(--lc-color-warning-bg);
    border: 1px solid var(--lc-color-warning);
    border-radius: var(--lc-radius-md);
    font-size: var(--lc-font-size-sm);
    color: var(--lc-color-text-secondary);
    line-height: 1.7;
    max-width: 760px;
    margin-inline: auto;
}

.td-h-video__note-icon {
    flex-shrink: 0;
    color: var(--lc-color-warning);
    margin-top: 2px;
}

.td-h-video__note strong {
    color: var(--lc-color-text);
    font-weight: var(--lc-font-weight-bold);
}

/* ============================================================
   6. PROCESS
   ============================================================ */

.td-h-process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--lc-space-4);
    position: relative;
}

.td-h-step {
    position: relative;
    padding: var(--lc-space-5);
    background: var(--lc-color-background);
    border: 1px solid var(--lc-color-border);
    border-radius: var(--lc-radius-lg);
    transition: all var(--lc-transition-base);
    display: flex;
    flex-direction: column;
    gap: var(--lc-space-2);
}

.td-h-step:hover {
    border-color: var(--lc-color-primary);
    transform: translateY(-4px);
    box-shadow: var(--lc-shadow-md);
}

.td-h-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--lc-color-primary-light);
    color: var(--lc-color-primary);
    border-radius: var(--lc-radius-md);
    font-size: var(--lc-font-size-md);
    font-weight: var(--lc-font-weight-black);
    letter-spacing: 0.02em;
    margin-bottom: var(--lc-space-2);
    font-feature-settings: "tnum";
    transition: all var(--lc-transition-base);
}

.td-h-step:hover .td-h-step__num {
    background: var(--lc-color-primary);
    color: #FBFAF8;
}

.td-h-step__title {
    margin: 0;
    font-size: var(--lc-font-size-lg);
    font-weight: var(--lc-font-weight-bold);
    color: var(--lc-color-text);
    line-height: 1.35;
}

.td-h-step__text {
    margin: 0;
    font-size: var(--lc-font-size-sm);
    line-height: 1.75;
    color: var(--lc-color-text-secondary);
}

/* ============================================================
   7. CLIENTS
   ============================================================ */

.td-h-clients__strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--lc-space-3);
    margin-bottom: var(--lc-space-4);
}

@media (max-width: 992px) {
    .td-h-clients__strip {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .td-h-clients__strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

.td-h-client {
    display: flex;
    align-items: center;
    gap: var(--lc-space-2);
    padding: var(--lc-space-3);
    background: var(--lc-color-background);
    border: 1px solid var(--lc-color-border);
    border-radius: var(--lc-radius-md);
    transition: all var(--lc-transition-fast);
    min-width: 0;
}

.td-h-client:hover {
    border-color: var(--lc-color-primary);
    background: var(--lc-color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--lc-shadow-sm);
}

.td-h-client__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: var(--lc-color-primary);
    color: #FBFAF8;
    border-radius: 50%;
    font-size: var(--lc-font-size-sm);
    font-weight: var(--lc-font-weight-bold);
    flex-shrink: 0;
    transition: all var(--lc-transition-fast);
}

.td-h-client:hover .td-h-client__avatar {
    background: var(--lc-color-primary-hover);
    transform: scale(1.05);
}

.td-h-client__body {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1;
}

.td-h-client__name {
    font-size: var(--lc-font-size-sm);
    font-weight: var(--lc-font-weight-semibold);
    color: var(--lc-color-text);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.td-h-client__role {
    font-size: 11px;
    color: var(--lc-color-text-muted);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.td-h-clients__more {
    text-align: center;
    font-size: var(--lc-font-size-sm);
    color: var(--lc-color-text-muted);
    margin: 0;
    font-style: italic;
}

/* ============================================================
   8. SOFTWARE
   ============================================================ */

.td-h-software__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--lc-space-3);
}

.td-h-software__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: var(--lc-space-5) var(--lc-space-3);
    background: var(--lc-color-background);
    border: 1px solid var(--lc-color-border);
    border-radius: var(--lc-radius-lg);
    transition: all var(--lc-transition-base);
}

.td-h-software__card:hover {
    border-color: var(--lc-color-primary);
    transform: translateY(-3px);
    box-shadow: var(--lc-shadow-md);
}

.td-h-software__name {
    font-size: var(--lc-font-size-sm);
    font-weight: var(--lc-font-weight-bold);
    color: var(--lc-color-primary);
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.td-h-software__role {
    font-size: var(--lc-font-size-xs);
    color: var(--lc-color-text-muted);
}

/* ============================================================
   9. LATEST POSTS
   ============================================================ */

.td-h-latest {
    padding-bottom: var(--lc-space-8);
}

.td-h-latest__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--lc-space-4);
    margin-bottom: var(--lc-space-5);
}

.td-h-latest__header-left {
    display: flex;
    flex-direction: column;
    gap: var(--lc-space-2);
    align-items: flex-start;
}

.td-h-latest__header-left .td-h-section__title {
    text-align: start;
    margin: 0;
}

.td-h-latest__header-left .td-h-section__title::after {
    margin-inline-start: 0;
    margin-inline-end: auto;
}

.td-h-latest__view-all {
    display: inline-flex;
    align-items: center;
    gap: var(--lc-space-2);
    padding: var(--lc-space-2) var(--lc-space-4);
    font-size: var(--lc-font-size-sm);
    font-weight: var(--lc-font-weight-semibold);
    color: var(--lc-color-primary);
    border: 1px solid var(--lc-color-border);
    border-radius: var(--lc-radius-full);
    text-decoration: none;
    transition: all var(--lc-transition-fast);
    white-space: nowrap;
    flex-shrink: 0;
}

.td-h-latest__view-all:hover {
    background: var(--lc-color-primary);
    color: #FBFAF8;
    border-color: var(--lc-color-primary);
}

.td-h-latest__view-all svg {
    transition: transform var(--lc-transition-fast);
}

.td-h-latest__view-all:hover svg {
    transform: translateX(-3px);
}

[dir="ltr"] .td-h-latest__view-all:hover svg {
    transform: translateX(3px);
}

/* Grid: featured (first) + 2 normal */
.td-h-latest__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: var(--lc-space-4);
}

@media (max-width: 992px) {
    .td-h-latest__grid {
        grid-template-columns: 1fr 1fr;
    }

    .td-h-post--featured {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .td-h-latest__grid {
        grid-template-columns: 1fr;
    }
}

/* Post card */
.td-h-post {
    display: flex;
    flex-direction: column;
    background: var(--lc-color-background);
    border: 1px solid var(--lc-color-border);
    border-radius: var(--lc-radius-lg);
    overflow: hidden;
    transition: all var(--lc-transition-base);
}

.td-h-post:hover {
    border-color: var(--lc-color-primary);
    transform: translateY(-4px);
    box-shadow: var(--lc-shadow-md);
}

/* Thumb */
.td-h-post__thumb {
    position: relative;
    display: block;
    aspect-ratio: 418 / 235;
    overflow: hidden;
    background: var(--lc-color-background-alt);
}

.td-h-post__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--lc-transition-slow);
}

.td-h-post:hover .td-h-post__thumb img {
    transform: scale(1.04);
}

.td-h-post__thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--lc-color-text-light);
}

.td-h-post__featured-badge {
    position: absolute;
    top: var(--lc-space-3);
    inset-inline-start: var(--lc-space-3);
    padding: 4px var(--lc-space-3);
    background: var(--lc-color-primary);
    color: #FBFAF8;
    border-radius: var(--lc-radius-full);
    font-size: 11px;
    font-weight: var(--lc-font-weight-bold);
    letter-spacing: 0.02em;
    box-shadow: 0 4px 12px rgba(99, 20, 20, 0.35);
}

/* Body */
.td-h-post__body {
    display: flex;
    flex-direction: column;
    gap: var(--lc-space-2);
    padding: var(--lc-space-4) var(--lc-space-5) var(--lc-space-5);
    flex: 1;
}

.td-h-post__cat {
    display: inline-flex;
    align-self: flex-start;
    padding: 2px var(--lc-space-3);
    background: var(--lc-color-primary-light);
    color: var(--lc-color-primary);
    border-radius: var(--lc-radius-full);
    font-size: var(--lc-font-size-xs);
    font-weight: var(--lc-font-weight-semibold);
    text-decoration: none;
    transition: all var(--lc-transition-fast);
}

.td-h-post__cat:hover {
    background: var(--lc-color-primary);
    color: #FBFAF8;
}

.td-h-post__title {
    margin: 0;
    font-size: var(--lc-font-size-lg);
    font-weight: var(--lc-font-weight-bold);
    line-height: 1.45;
}

.td-h-post__title a {
    color: var(--lc-color-text);
    text-decoration: none;
    transition: color var(--lc-transition-fast);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.td-h-post__title a:hover {
    color: var(--lc-color-primary);
}

.td-h-post__excerpt {
    margin: 0;
    font-size: var(--lc-font-size-sm);
    line-height: 1.7;
    color: var(--lc-color-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.td-h-post__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--lc-space-3);
    font-size: var(--lc-font-size-xs);
    color: var(--lc-color-text-muted);
}

.td-h-post__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.td-h-post__meta-item svg {
    flex-shrink: 0;
    color: var(--lc-color-primary);
    opacity: 0.7;
}

.td-h-post__readmore {
    display: inline-flex;
    align-items: center;
    gap: var(--lc-space-2);
    margin-top: var(--lc-space-2);
    padding-top: var(--lc-space-2);
    border-top: 1px solid var(--lc-color-border-light);
    font-size: var(--lc-font-size-sm);
    font-weight: var(--lc-font-weight-semibold);
    color: var(--lc-color-primary);
    text-decoration: none;
    transition: gap var(--lc-transition-fast);
}

.td-h-post__readmore:hover {
    gap: var(--lc-space-3);
}

.td-h-post__readmore svg {
    transition: transform var(--lc-transition-fast);
}

.td-h-post__readmore:hover svg {
    transform: translateX(-3px);
}

[dir="rtl"] .td-h-post__readmore svg {
    transform: rotate(180deg);
}

[dir="rtl"] .td-h-post__readmore:hover svg {
    transform: rotate(180deg) translateX(3px);
}

/* Featured post (bigger thumbnail, taller title) */
.td-h-post--featured .td-h-post__thumb {
    aspect-ratio: 16 / 10;
}

.td-h-post--featured .td-h-post__title {
    font-size: var(--lc-font-size-xl);
    line-height: 1.35;
}

.td-h-post--featured .td-h-post__title a {
    -webkit-line-clamp: 3;
}

.td-h-post--featured .td-h-post__excerpt {
    -webkit-line-clamp: 3;
}

@media (max-width: 992px) {
    .td-h-post--featured .td-h-post__thumb {
        aspect-ratio: 418 / 235;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .td-h-post,
    .td-h-post__thumb img,
    .td-h-post__readmore,
    .td-h-latest__view-all {
        transition: none !important;
        transform: none !important;
    }
}

/* ============================================================
   10. FAQ
   ============================================================ */

.td-h-faq__list {
    max-width: 780px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: var(--lc-space-2);
}

.td-h-faq-item {
    background: var(--lc-color-background);
    border: 1px solid var(--lc-color-border);
    border-radius: var(--lc-radius-md);
    overflow: hidden;
    transition: all var(--lc-transition-fast);
}

.td-h-faq-item[open] {
    border-color: var(--lc-color-primary);
    box-shadow: var(--lc-shadow-sm);
}

.td-h-faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--lc-space-3);
    padding: var(--lc-space-4) var(--lc-space-5);
    font-size: var(--lc-font-size-md);
    font-weight: var(--lc-font-weight-semibold);
    color: var(--lc-color-text);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.td-h-faq-item__q::-webkit-details-marker {
    display: none;
}

.td-h-faq-item__q:hover {
    background: var(--lc-color-background-alt);
}

.td-h-faq-item__q-text {
    flex: 1;
}

.td-h-faq-item__q-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--lc-color-primary-light);
    color: var(--lc-color-primary);
    border-radius: 50%;
    transition: all var(--lc-transition-base);
}

.td-h-faq-item[open] .td-h-faq-item__q-icon {
    background: var(--lc-color-primary);
    color: #FBFAF8;
    transform: rotate(45deg);
}

.td-h-faq-item__a {
    padding: 0 var(--lc-space-5) var(--lc-space-4);
    font-size: var(--lc-font-size-sm);
    line-height: 1.85;
    color: var(--lc-color-text-secondary);
}

/* ============================================================
   11. FINAL CTA
   ============================================================ */

.td-h-cta {
    padding: var(--lc-space-6) 0 var(--lc-space-8);
}

.td-h-cta__inner {
    position: relative;
    overflow: hidden;
    padding: var(--lc-space-8) var(--lc-space-6);
    background:
        radial-gradient(ellipse at top right, rgba(99, 20, 20, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(56, 13, 14, 0.6) 0%, transparent 50%),
        #190808;
    border-radius: var(--lc-radius-2xl);
    color: #FBFAF8;
    text-align: center;
    box-shadow: 0 30px 80px -30px rgba(25, 8, 8, 0.6);
}

.td-h-cta__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.td-h-cta__line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(251, 250, 248, 0.06) 50%, transparent 100%);
}

.td-h-cta__line--2 {
    inset-inline-start: 25%;
}

.td-h-cta__line {
    inset-inline-start: 75%;
}

.td-h-cta__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--lc-space-3);
    max-width: 640px;
    margin-inline: auto;
}

.td-h-cta__eyebrow {
    font-size: var(--lc-font-size-xs);
    font-weight: var(--lc-font-weight-semibold);
    color: rgba(251, 250, 248, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.td-h-cta__title {
    margin: 0;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: var(--lc-font-weight-black);
    line-height: 1.25;
    color: #FBFAF8;
    letter-spacing: -0.02em;
}

.td-h-cta__title span {
    color: #FBFAF8;
    font-style: italic;
    position: relative;
    display: inline-block;
}

.td-h-cta__title span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    inset-inline-start: 0;
    inset-inline-end: 0;
    height: 8px;
    background: rgba(251, 250, 248, 0.15);
    border-radius: 2px;
    z-index: -1;
}

.td-h-cta__text {
    margin: 0 0 var(--lc-space-2);
    max-width: 540px;
    font-size: var(--lc-font-size-md);
    line-height: 1.85;
    color: rgba(251, 250, 248, 0.75);
}

.td-h-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--lc-space-3);
    justify-content: center;
}

/* ============================================================
   RTL SUPPORT
   ============================================================ */

[dir="rtl"] .td-h-btn svg {
    transform: rotate(180deg);
}

[dir="rtl"] .td-h-reel__timecode {
    direction: ltr;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .td-h-hero__grid {
        gap: var(--lc-space-6);
    }

    .td-h-services__grid,
    .td-h-tiers__grid,
    .td-h-plans__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .td-h-video__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .td-h-software__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .td-h-process__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .td-h-tier--featured,
    .td-h-plan--featured {
        transform: translateY(-4px);
    }

    .td-h-tier--featured:hover,
    .td-h-plan--featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .td-h-section {
        padding: var(--lc-space-7) 0;
    }

    .td-h-hero {
        padding: var(--lc-space-6) 0;
    }

    .td-h-hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .td-h-hero__content {
        align-items: center;
    }

    .td-h-hero__eyebrow {
        align-self: center;
    }

    .td-h-hero__text {
        margin-inline: auto;
    }

    .td-h-hero__actions {
        justify-content: center;
    }

    .td-h-hero__stats {
        justify-content: center;
    }

    .td-h-hero__visual {
        order: -1;
        max-width: 320px;
        margin-inline: auto;
    }

    .td-h-hero__grid-line {
        display: none;
    }

    .td-h-reel {
        transform: rotate(-2deg);
    }

    .td-h-services__grid,
    .td-h-tiers__grid,
    .td-h-plans__grid,
    .td-h-video__grid,
    .td-h-process__grid,
    .td-h-latest__grid {
        grid-template-columns: 1fr;
    }

    .td-h-software__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .td-h-tier--featured,
    .td-h-plan--featured {
        transform: none;
    }

    .td-h-tier--featured:hover,
    .td-h-plan--featured:hover {
        transform: translateY(-4px);
    }

    .td-h-cta__inner {
        padding: var(--lc-space-6) var(--lc-space-4);
        border-radius: var(--lc-radius-xl);
    }

    .td-h-cta__actions {
        width: 100%;
    }

    .td-h-cta__actions .td-h-btn {
        flex: 1 1 auto;
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .td-h-hero__title {
        font-size: 1.85rem;
    }

    .td-h-hero__stats {
        gap: var(--lc-space-3);
    }

    .td-h-hero__stat-num {
        font-size: var(--lc-font-size-xl);
    }

    .td-h-hero__stat-div {
        height: 24px;
    }

    .td-h-reel__mark {
        font-size: 3.5rem;
    }

    .td-h-reel__play {
        width: 56px;
        height: 56px;
    }

    .td-h-reel__play svg {
        width: 22px;
        height: 22px;
    }

    .td-h-services__grid {
        gap: var(--lc-space-3);
    }

    .td-h-service {
        padding: var(--lc-space-4);
    }

    .td-h-tier,
    .td-h-plan {
        padding: var(--lc-space-5) var(--lc-space-4);
    }

    .td-h-software__grid {
        grid-template-columns: 1fr;
    }

    .td-h-client {
        font-size: var(--lc-font-size-xs);
        padding: var(--lc-space-1) var(--lc-space-3);
    }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    .td-h-hero__eyebrow-dot,
    .td-h-reel__rec,
    .td-h-reel,
    .td-h-reel__play,
    .td-h-service,
    .td-h-service__icon,
    .td-h-tier,
    .td-h-plan,
    .td-h-video__card,
    .td-h-video__icon,
    .td-h-step,
    .td-h-step__num,
    .td-h-software__card,
    .td-h-faq-item,
    .td-h-faq-item__q-icon,
    .td-h-btn,
    .td-h-client {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

@media (prefers-contrast: high) {
    .td-h-service,
    .td-h-plan,
    .td-h-video__card,
    .td-h-step,
    .td-h-software__card,
    .td-h-faq-item,
    .td-h-client {
        border-width: 2px;
    }

    .td-h-tier {
        border-width: 2px;
    }

    .td-h-tier--featured,
    .td-h-plan--featured {
        border-width: 3px;
    }
}

/* ============================================================
   PRICING — FLAT REDESIGN
   Replaces the previous tier/plan styles.
   ============================================================ */

/* ---------- SECTION WRAP ---------- */

.td-h-pricing {
    padding: var(--lc-space-8) 0;
    background: var(--lc-color-background);
    position: relative;
}

.td-h-pricing__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--lc-space-6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--lc-space-3);
}

.td-h-pricing__eyebrow {
    display: inline-flex;
    padding: 6px var(--lc-space-3);
    background: var(--lc-color-primary-light);
    color: var(--lc-color-primary);
    border-radius: var(--lc-radius-full);
    font-size: var(--lc-font-size-xs);
    font-weight: var(--lc-font-weight-semibold);
    letter-spacing: 0.02em;
}

.td-h-pricing__title {
    margin: 0;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: var(--lc-font-weight-black);
    color: var(--lc-color-text);
    line-height: 1.25;
    letter-spacing: var(--lc-letter-spacing-tight);
}

.td-h-pricing__subtitle {
    margin: 0;
    font-size: var(--lc-font-size-md);
    line-height: 1.85;
    color: var(--lc-color-text-secondary);
}

/* ---------- TOGGLE ---------- */

.td-h-pricing__toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    background: var(--lc-color-background-alt);
    border: 1px solid var(--lc-color-border);
    border-radius: var(--lc-radius-full);
    margin-top: var(--lc-space-3);
    box-shadow: inset 0 1px 2px rgba(25, 8, 8, 0.04);
}

.td-h-pricing__toggle-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--lc-space-2);
    padding: 10px var(--lc-space-4);
    background: transparent;
    color: var(--lc-color-text-secondary);
    border: 1px solid transparent;
    border-radius: var(--lc-radius-full);
    font-family: inherit;
    font-size: var(--lc-font-size-sm);
    font-weight: var(--lc-font-weight-semibold);
    cursor: pointer;
    transition: all var(--lc-transition-fast);
    white-space: nowrap;
}

.td-h-pricing__toggle-btn:hover {
    color: var(--lc-color-primary);
}

.td-h-pricing__toggle-btn.is-active {
    background: var(--lc-color-primary);
    color: #FBFAF8;
    border-color: var(--lc-color-primary);
    box-shadow: 0 4px 12px -4px rgba(99, 20, 20, 0.4);
}

.td-h-pricing__toggle-btn svg {
    flex-shrink: 0;
    transition: transform var(--lc-transition-fast);
}

.td-h-pricing__toggle-badge {
    display: inline-flex;
    padding: 2px 8px;
    background: rgba(251, 250, 248, 0.15);
    border-radius: var(--lc-radius-full);
    font-size: 10px;
    font-weight: var(--lc-font-weight-bold);
    letter-spacing: 0.02em;
}

.td-h-pricing__toggle-btn.is-active .td-h-pricing__toggle-badge {
    background: rgba(251, 250, 248, 0.25);
}

@media (max-width: 480px) {
    .td-h-pricing__toggle {
        width: 100%;
        padding: 5px;
    }

    .td-h-pricing__toggle-btn {
        flex: 1;
        justify-content: center;
        padding: 10px var(--lc-space-2);
        font-size: var(--lc-font-size-xs);
    }

    .td-h-pricing__toggle-badge {
        display: none;
    }
}

/* ---------- PANEL ---------- */

.td-h-pricing__panel {
    display: none;
    animation: td-h-pricing-fade 0.3s ease;
}

.td-h-pricing__panel.is-active {
    display: block;
}

@keyframes td-h-pricing-fade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- GRID ---------- */

.td-h-price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--lc-space-4);
    align-items: stretch;
    margin-bottom: var(--lc-space-4);
}

@media (max-width: 992px) {
    .td-h-price-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin-inline: auto;
    }
}

/* ---------- CARD ---------- */

.td-h-price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--lc-space-3);
    padding: var(--lc-space-6) var(--lc-space-5);
    background: var(--lc-color-background);
    border: 1px solid var(--lc-color-border);
    border-radius: var(--lc-radius-lg);
    transition: all var(--lc-transition-base);
}

.td-h-price-card:hover {
    border-color: var(--lc-color-border-dark);
    box-shadow: var(--lc-shadow-md);
    transform: translateY(-2px);
}

/* Featured card */
.td-h-price-card--featured {
    border-color: var(--lc-color-primary);
    border-width: 2px;
    box-shadow: 0 20px 50px -20px rgba(99, 20, 20, 0.25);
    background: linear-gradient(180deg, rgba(99, 20, 20, 0.02) 0%, var(--lc-color-background) 30%);
}

.td-h-price-card--featured:hover {
    box-shadow: 0 24px 60px -20px rgba(99, 20, 20, 0.35);
    transform: translateY(-4px);
}

@media (max-width: 992px) {
    .td-h-price-card--featured {
        transform: none;
    }
    .td-h-price-card--featured:hover {
        transform: translateY(-2px);
    }
}

/* Ribbon */
.td-h-price-card__ribbon {
    position: absolute;
    top: -12px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px var(--lc-space-4);
    background: var(--lc-color-primary);
    color: #FBFAF8;
    border-radius: var(--lc-radius-full);
    font-size: 11px;
    font-weight: var(--lc-font-weight-bold);
    letter-spacing: 0.02em;
    white-space: nowrap;
    box-shadow: 0 6px 16px -4px rgba(99, 20, 20, 0.5);
    z-index: 1;
}

[dir="rtl"] .td-h-price-card__ribbon {
    transform: translateX(50%);
}

.td-h-price-card__ribbon--muted {
    background: var(--lc-color-background-alt);
    color: var(--lc-color-text-muted);
    border: 1px solid var(--lc-color-border);
    box-shadow: none;
}

.td-h-price-card__ribbon-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #FBFAF8;
    border-radius: 50%;
    animation: td-h-pricing-pulse 2s ease-in-out infinite;
}

@keyframes td-h-pricing-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}

/* Head */
.td-h-price-card__head {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: var(--lc-space-2);
}

.td-h-price-card__name {
    margin: 0;
    font-size: var(--lc-font-size-lg);
    font-weight: var(--lc-font-weight-black);
    color: var(--lc-color-text);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.td-h-price-card__subtitle {
    font-size: var(--lc-font-size-xs);
    color: var(--lc-color-text-muted);
    font-weight: var(--lc-font-weight-medium);
}

/* Price */
.td-h-price-card__price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--lc-space-3) 0;
    border-top: 1px solid var(--lc-color-border-light);
    border-bottom: 1px solid var(--lc-color-border-light);
}

.td-h-price-card__amount {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: var(--lc-font-weight-black);
    color: var(--lc-color-text);
    line-height: 1;
    letter-spacing: -0.03em;
    font-feature-settings: "tnum";
}

.td-h-price-card--featured .td-h-price-card__amount {
    color: var(--lc-color-primary);
}

.td-h-price-card__unit {
    font-size: var(--lc-font-size-xs);
    color: var(--lc-color-text-muted);
    font-weight: var(--lc-font-weight-medium);
}

/* Desc */
.td-h-price-card__desc {
    margin: 0;
    font-size: var(--lc-font-size-sm);
    color: var(--lc-color-text-secondary);
    line-height: 1.6;
}

/* Savings (monthly) */
.td-h-price-card__savings {
    display: flex;
    align-items: center;
    gap: var(--lc-space-2);
    padding: var(--lc-space-2) var(--lc-space-3);
    background: var(--lc-color-success-bg);
    color: var(--lc-color-success);
    border-radius: var(--lc-radius-md);
    font-size: var(--lc-font-size-xs);
    line-height: 1.5;
}

.td-h-price-card__savings svg {
    flex-shrink: 0;
}

.td-h-price-card__savings strong {
    font-weight: var(--lc-font-weight-bold);
}

/* Features */
.td-h-price-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--lc-space-2);
    flex: 1;
}

.td-h-price-card__features li {
    display: flex;
    align-items: flex-start;
    gap: var(--lc-space-2);
    font-size: var(--lc-font-size-sm);
    color: var(--lc-color-text-secondary);
    line-height: 1.55;
}

.td-h-price-card__features li.is-muted {
    color: var(--lc-color-text-light);
    text-decoration: line-through;
    text-decoration-color: var(--lc-color-border-dark);
}

.td-h-price-card__features svg {
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--lc-color-primary);
}

.td-h-price-card__features li.is-muted svg {
    color: var(--lc-color-text-light);
}

/* CTA */
.td-h-price-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--lc-space-2);
    padding: var(--lc-space-3) var(--lc-space-4);
    background: transparent;
    color: var(--lc-color-primary);
    border: 1px solid var(--lc-color-border-dark);
    border-radius: var(--lc-radius-md);
    font-size: var(--lc-font-size-sm);
    font-weight: var(--lc-font-weight-semibold);
    text-decoration: none;
    transition: all var(--lc-transition-fast);
    margin-top: var(--lc-space-2);
    min-height: 44px;
}

.td-h-price-card__cta:hover {
    background: var(--lc-color-background-alt);
    border-color: var(--lc-color-primary);
    color: var(--lc-color-primary);
}

.td-h-price-card__cta svg {
    transition: transform var(--lc-transition-fast);
}

.td-h-price-card__cta:hover svg {
    transform: translateX(-3px);
}

[dir="ltr"] .td-h-price-card__cta:hover svg {
    transform: translateX(3px);
}

[dir="rtl"] .td-h-price-card__cta svg {
    transform: rotate(180deg);
}

[dir="rtl"] .td-h-price-card__cta:hover svg {
    transform: rotate(180deg) translateX(3px);
}

.td-h-price-card__cta.is-primary {
    background: var(--lc-color-primary);
    color: #FBFAF8;
    border-color: var(--lc-color-primary);
}

.td-h-price-card__cta.is-primary:hover {
    background: var(--lc-color-primary-hover);
    border-color: var(--lc-color-primary-hover);
    color: #FBFAF8;
    box-shadow: 0 6px 16px -4px rgba(99, 20, 20, 0.4);
}

/* Note */
.td-h-pricing__note {
    display: flex;
    align-items: flex-start;
    gap: var(--lc-space-2);
    padding: var(--lc-space-3) var(--lc-space-4);
    background: var(--lc-color-background-alt);
    border: 1px solid var(--lc-color-border);
    border-radius: var(--lc-radius-md);
    font-size: var(--lc-font-size-sm);
    color: var(--lc-color-text-secondary);
    line-height: 1.7;
    max-width: 760px;
    margin: var(--lc-space-5) auto 0;
}

.td-h-pricing__note svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--lc-color-primary);
}

.td-h-pricing__note strong {
    color: var(--lc-color-text);
    font-weight: var(--lc-font-weight-bold);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 640px) {
    .td-h-price-card {
        padding: var(--lc-space-5) var(--lc-space-4);
    }

    .td-h-price-card__amount {
        font-size: 1.875rem;
    }
}

/* ---------- REDUCED MOTION ---------- */

@media (prefers-reduced-motion: reduce) {
    .td-h-pricing__panel,
    .td-h-pricing__toggle-btn,
    .td-h-price-card,
    .td-h-price-card__ribbon-dot,
    .td-h-price-card__cta {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* ============================================================
   SOFTWARE — Letter monograms (Pr / Ae / Ps / Au / 3D)
   Unified wine color, hover animation only.
   ============================================================ */

.td-h-software__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--lc-space-3);
}

@media (max-width: 992px) {
    .td-h-software__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .td-h-software__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.td-h-software__card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--lc-space-2);
    padding: var(--lc-space-5) var(--lc-space-3);
    background: var(--lc-color-background);
    border: 1px solid var(--lc-color-border);
    border-radius: var(--lc-radius-lg);
    transition: border-color var(--lc-transition-base),
                box-shadow var(--lc-transition-base),
                transform var(--lc-transition-base);
    overflow: hidden;
}

.td-h-software__card:hover {
    border-color: var(--lc-color-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -10px rgba(99, 20, 20, 0.18);
}

/* Icon tile — wine-tinted rounded square */
.td-h-software__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--lc-color-primary-light);
    border: 1px solid rgba(99, 20, 20, 0.14);
    border-radius: var(--lc-radius-md);
    color: var(--lc-color-primary);
    transition: transform var(--lc-transition-base),
                background-color var(--lc-transition-base);
    flex-shrink: 0;
}

/* Monogram — Adobe-style letter mark */
.td-h-software__monogram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: inherit;
    text-transform: none;
    font-feature-settings: "tnum";
}

/* Hover — animation only, no color change */
.td-h-software__card:hover .td-h-software__icon {
    transform: scale(1.1) rotate(-4deg);
    background: var(--lc-color-primary-light);
}

.td-h-software__name {
    font-size: var(--lc-font-size-sm);
    font-weight: var(--lc-font-weight-bold);
    color: var(--lc-color-text);
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.td-h-software__role {
    font-size: var(--lc-font-size-xs);
    color: var(--lc-color-text-muted);
    line-height: 1.4;
}

/* Small screens — tighter tiles */
@media (max-width: 480px) {
    .td-h-software__card {
        padding: var(--lc-space-4) var(--lc-space-2);
        gap: var(--lc-space-1);
    }

    .td-h-software__icon {
        width: 52px;
        height: 52px;
    }

    .td-h-software__monogram {
        font-size: 18px;
    }

    .td-h-software__name {
        font-size: var(--lc-font-size-xs);
    }

    .td-h-software__role {
        font-size: 10px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .td-h-software__card,
    .td-h-software__icon {
        transition: none !important;
        transform: none !important;
    }

    .td-h-software__card:hover .td-h-software__icon {
        transform: none;
    }
}

@media (prefers-contrast: high) {
    .td-h-software__card,
    .td-h-software__icon {
        border-width: 2px;
    }
}

/* ============================================================
   LATEST POSTS — 6-card grid + mobile slider
   ============================================================ */

.td-h-latest__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--lc-space-4);
    margin-bottom: var(--lc-space-5);
}

.td-h-latest__header-left {
    display: flex;
    flex-direction: column;
    gap: var(--lc-space-2);
    align-items: flex-start;
    min-width: 0;
}

.td-h-latest__header-left .td-h-section__title {
    text-align: start;
    margin: 0;
}

.td-h-latest__header-left .td-h-section__title::after {
    margin-inline-start: 0;
    margin-inline-end: auto;
}

.td-h-latest__header-sub {
    margin: 0;
    font-size: var(--lc-font-size-sm);
    color: var(--lc-color-text-secondary);
    line-height: 1.7;
}

.td-h-latest__view-all {
    display: inline-flex;
    align-items: center;
    gap: var(--lc-space-2);
    padding: var(--lc-space-2) var(--lc-space-4);
    font-size: var(--lc-font-size-sm);
    font-weight: var(--lc-font-weight-semibold);
    color: var(--lc-color-primary);
    border: 1px solid var(--lc-color-border);
    border-radius: var(--lc-radius-full);
    text-decoration: none;
    transition: all var(--lc-transition-fast);
    white-space: nowrap;
    flex-shrink: 0;
}

.td-h-latest__view-all:hover {
    background: var(--lc-color-primary);
    color: #FBFAF8;
    border-color: var(--lc-color-primary);
}

.td-h-latest__view-all svg {
    transition: transform var(--lc-transition-fast);
}

.td-h-latest__view-all:hover svg {
    transform: translateX(-3px);
}

[dir="ltr"] .td-h-latest__view-all:hover svg {
    transform: translateX(3px);
}

[dir="rtl"] .td-h-latest__view-all svg {
    transform: rotate(180deg);
}

[dir="rtl"] .td-h-latest__view-all:hover svg {
    transform: rotate(180deg) translateX(3px);
}

/* ---------- Desktop grid ---------- */

.td-h-latest__slider {
    position: relative;
}

.td-h-latest__track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--lc-space-4);
}

.td-h-latest__dots {
    display: none;
}

/* ---------- Post card (shared base) ---------- */

.td-h-post {
    display: flex;
    flex-direction: column;
    background: var(--lc-color-background);
    border: 1px solid var(--lc-color-border);
    border-radius: var(--lc-radius-lg);
    overflow: hidden;
    transition: all var(--lc-transition-base);
}

.td-h-post:hover {
    border-color: var(--lc-color-primary);
    transform: translateY(-4px);
    box-shadow: var(--lc-shadow-md);
}

.td-h-post__thumb {
    position: relative;
    display: block;
    aspect-ratio: 418 / 235;
    overflow: hidden;
    background: var(--lc-color-background-alt);
}

.td-h-post__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--lc-transition-slow);
}

.td-h-post:hover .td-h-post__thumb img {
    transform: scale(1.04);
}

.td-h-post__thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--lc-color-text-light);
}

.td-h-post__body {
    display: flex;
    flex-direction: column;
    gap: var(--lc-space-2);
    padding: var(--lc-space-4) var(--lc-space-4) var(--lc-space-4);
    flex: 1;
}

.td-h-post__cat {
    display: inline-flex;
    align-self: flex-start;
    padding: 2px var(--lc-space-3);
    background: var(--lc-color-primary-light);
    color: var(--lc-color-primary);
    border-radius: var(--lc-radius-full);
    font-size: var(--lc-font-size-xs);
    font-weight: var(--lc-font-weight-semibold);
    text-decoration: none;
    transition: all var(--lc-transition-fast);
}

.td-h-post__cat:hover {
    background: var(--lc-color-primary);
    color: #FBFAF8;
}

.td-h-post__title {
    margin: 0;
    font-size: var(--lc-font-size-md);
    font-weight: var(--lc-font-weight-bold);
    line-height: 1.45;
}

.td-h-post__title a {
    color: var(--lc-color-text);
    text-decoration: none;
    transition: color var(--lc-transition-fast);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.td-h-post__title a:hover {
    color: var(--lc-color-primary);
}

.td-h-post__excerpt {
    margin: 0;
    font-size: var(--lc-font-size-sm);
    line-height: 1.7;
    color: var(--lc-color-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.td-h-post__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--lc-space-3);
    font-size: var(--lc-font-size-xs);
    color: var(--lc-color-text-muted);
}

.td-h-post__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.td-h-post__meta-item svg {
    flex-shrink: 0;
    color: var(--lc-color-primary);
    opacity: 0.7;
}

.td-h-post__readmore {
    display: inline-flex;
    align-items: center;
    gap: var(--lc-space-2);
    margin-top: var(--lc-space-2);
    padding-top: var(--lc-space-2);
    border-top: 1px solid var(--lc-color-border-light);
    font-size: var(--lc-font-size-sm);
    font-weight: var(--lc-font-weight-semibold);
    color: var(--lc-color-primary);
    text-decoration: none;
    transition: gap var(--lc-transition-fast);
}

.td-h-post__readmore:hover {
    gap: var(--lc-space-3);
}

.td-h-post__readmore svg {
    transition: transform var(--lc-transition-fast);
}

.td-h-post__readmore:hover svg {
    transform: translateX(-3px);
}

[dir="rtl"] .td-h-post__readmore svg {
    transform: rotate(180deg);
}

[dir="rtl"] .td-h-post__readmore:hover svg {
    transform: rotate(180deg) translateX(3px);
}

/* ---------- Tablet: 2 columns ---------- */

@media (max-width: 992px) {
    .td-h-latest__track {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Mobile: horizontal slider ---------- */

@media (max-width: 640px) {
    .td-h-latest__header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--lc-space-3);
    }

    .td-h-latest__view-all {
        align-self: flex-end;
    }

    .td-h-latest__track {
        display: flex;
        grid-template-columns: none;
        gap: var(--lc-space-3);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: var(--lc-space-1) 0 var(--lc-space-3);
        margin-inline: calc(-1 * var(--lc-space-4));
        padding-inline: var(--lc-space-4);
    }

    .td-h-latest__track::-webkit-scrollbar {
        display: none;
    }

    .td-h-post {
        flex: 0 0 82vw;
        max-width: 82vw;
        scroll-snap-align: start;
    }

    .td-h-post:hover {
        transform: none;
    }

    .td-h-latest__dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        margin-top: var(--lc-space-2);
    }

    .td-h-latest__dot {
        width: 8px;
        height: 8px;
        background: var(--lc-color-border);
        border-radius: 50%;
        transition: all var(--lc-transition-base);
        cursor: pointer;
        border: none;
        padding: 0;
    }

    .td-h-latest__dot.is-active {
        background: var(--lc-color-primary);
        width: 22px;
        border-radius: var(--lc-radius-full);
    }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    .td-h-software__card,
    .td-h-software__icon,
    .td-h-post,
    .td-h-post__thumb img,
    .td-h-post__readmore,
    .td-h-latest__view-all,
    .td-h-latest__dot {
        transition: none !important;
        transform: none !important;
    }

    .td-h-latest__track {
        scroll-behavior: auto;
    }
}

/* ============================================================
   PALETTE REFINEMENT — WHERE EACH COLOR GOES
   Adds variety without rewriting existing components.
   ============================================================ */

/* ---------- 1. EYEBROWS → taupe accent ---------- */

.td-h-section__eyebrow,
.td-h-pricing__eyebrow,
.td-h-latest .td-h-section__eyebrow {
    background: var(--lc-color-accent-light);
    color: var(--lc-color-accent-hover);
}

/* ---------- 2. SECTION TITLE UNDERLINE → subtle taupe gradient ---------- */

.td-h-section__title::after,
.td-h-pricing__title::after {
    background: linear-gradient(90deg,
        var(--lc-color-primary) 0%,
        var(--lc-color-accent) 100%);
}

/* ---------- 3. "CHECK" ICONS in pricing/plans → sage green ---------- */

.td-h-price-card__features li svg,
.td-h-price-card--monthly .td-h-price-card__features li svg {
    color: var(--lc-color-sage);
}

/* Savings badge → sage */
.td-h-price-card__savings {
    background: var(--lc-color-sage-light);
    color: var(--lc-color-sage-hover);
}

/* ---------- 4. SERVICE / VALUE / PROCESS / VIDEO card hover → taupe accent bar ---------- */

.td-h-service::before,
.td-about-value::before {
    background: var(--lc-color-accent);
}

/* Service icon hover: stay wine (primary action) */
.td-h-service__icon {
    background: var(--lc-color-accent-light);
    color: var(--lc-color-accent-hover);
}

.td-h-service:hover .td-h-service__icon {
    background: var(--lc-color-primary);
    color: #FBFAF8;
}

/* Process step number → taupe */
.td-h-step__num {
    background: var(--lc-color-accent-light);
    color: var(--lc-color-accent-hover);
}

.td-h-step:hover .td-h-step__num {
    background: var(--lc-color-primary);
    color: #FBFAF8;
}

/* Videography icon → sage tint */
.td-h-video__icon {
    background: var(--lc-color-sage-light);
    color: var(--lc-color-sage);
}

.td-h-video__card:hover .td-h-video__icon {
    background: var(--lc-color-primary);
    color: #FBFAF8;
}

/* ---------- 5. SOFTWARE icon tile → keep wine (brand moment) ---------- */

/* No change — software tiles stay wine */

/* ---------- 6. CLIENT / TESTIMONIAL dots → sage ---------- */

.td-h-client__dot {
    background: var(--lc-color-sage);
}

/* ---------- 7. FAQ plus icon → taupe tint, wine on open ---------- */

.td-h-faq-item__q-icon {
    background: var(--lc-color-accent-light);
    color: var(--lc-color-accent-hover);
}

.td-h-faq-item[open] .td-h-faq-item__q-icon {
    background: var(--lc-color-primary);
    color: #FBFAF8;
}

/* ---------- 8. Blog cards — "read more" arrow stays wine, dot indicator taupe ---------- */

.td-h-latest__dot {
    background: var(--lc-color-border-dark);
}

.td-h-latest__dot.is-active {
    background: var(--lc-color-accent);
}

/* ---------- 9. Hero eyebrow dot → sage (subtle "live" indicator) ---------- */

.td-h-hero__eyebrow-dot {
    background: var(--lc-color-sage);
    box-shadow: 0 0 0 4px rgba(90, 122, 107, 0.2);
    animation: td-h-pulse-sage 2s ease-in-out infinite;
}

@keyframes td-h-pulse-sage {
    0%, 100% { box-shadow: 0 0 0 4px rgba(90, 122, 107, 0.2); }
    50%      { box-shadow: 0 0 0 8px rgba(90, 122, 107, 0.06); }
}

/* ---------- 10. Hero stats numbers → taupe accent ---------- */

.td-h-hero__stat-num {
    color: var(--lc-color-accent-hover);
}

/* ---------- 11. Header CTA dot → sage ---------- */

.td-header__cta-dot {
    background: var(--lc-color-sage);
    box-shadow: 0 0 0 3px rgba(90, 122, 107, 0.25);
    animation: td-header-pulse-sage 2s ease-in-out infinite;
}

@keyframes td-header-pulse-sage {
    0%, 100% { box-shadow: 0 0 0 3px rgba(90, 122, 107, 0.25); }
    50%      { box-shadow: 0 0 0 6px rgba(90, 122, 107, 0.08); }
}

/* ---------- 12. Footer — add warm accent line under titles ---------- */

.td-footer__title::after {
    background: linear-gradient(90deg,
        var(--lc-color-primary) 0%,
        var(--lc-color-accent) 100%);
}

.td-footer__menu-dot {
    background: var(--lc-color-accent);
    opacity: 0.7;
}

.td-footer__menu a:hover .td-footer__menu-dot {
    background: var(--lc-color-primary);
    opacity: 1;
}

/* ---------- 13. "Premium" featured card → accent corner glow ---------- */

.td-h-price-card--featured::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    inset-inline-end: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at top right,
        rgba(139, 111, 92, 0.12) 0%,
        transparent 70%);
    pointer-events: none;
    border-top-right-radius: var(--lc-radius-lg);
}

/* ---------- 14. Footer CTA band → subtle taupe gradient ---------- */

.td-footer__cta-band {
    background: linear-gradient(135deg,
        rgba(139, 111, 92, 0.08) 0%,
        transparent 60%);
}

/* ---------- 15. Latest posts "view all" hover → wine stays (primary CTA) ---------- */

/* No change */

/* ---------- 16. Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    .td-h-hero__eyebrow-dot,
    .td-header__cta-dot {
        animation: none !important;
    }
}