/*!
 * Thrive Hash Theme - Main Stylesheet v1.0
 * Unique modern design. Not based on old site.
 * -----------------------------------------------
 * Design language: premium dark+red+gold, glass morphism,
 * asymmetric layouts, typography-first, smooth animations.
 */

/* ============================================================
   0. FONTS / RESET / CORE TOKENS
   ============================================================ */
:root {
    /* Brand colors (editable via ACF dynamic-css) */
    --th-red: #E50914;
    --th-red-dark: #B80710;
    --th-red-light: #FF2635;
    --th-gold: #FFD60A;
    --th-ink: #0A0A0A;
    --th-ink-soft: #1A0008;
    --th-ink-600: #4A4A4A;
    --th-text: #16171A;
    --th-text-muted: #6B6F78;
    --th-border: #E8E9ED;
    --th-surface: #FFFFFF;
    --th-surface-alt: #F7F7FB;
    --th-surface-dim: #EEF0F5;

    /* Typography */
    --th-font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --th-font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --th-font-italic: 'Fraunces', Georgia, serif;

    /* Scale */
    --th-fs-h1: clamp(2.5rem, 6vw, 5rem);
    --th-fs-h2: clamp(2rem, 4.5vw, 3.5rem);
    --th-fs-h3: clamp(1.5rem, 3vw, 2.2rem);
    --th-fs-h4: clamp(1.15rem, 2vw, 1.4rem);

    /* Spacing */
    --th-container: 1280px;
    --th-container-wide: 1440px;
    --th-container-narrow: 900px;
    --th-pad: 1.5rem;
    --th-section-y: clamp(4rem, 8vw, 7rem);

    /* Radii */
    --th-r-sm: 8px;
    --th-r-md: 16px;
    --th-r-lg: 24px;
    --th-r-xl: 32px;
    --th-r-pill: 999px;

    /* Shadows */
    --th-shadow-sm: 0 2px 8px rgba(10, 10, 10, 0.06);
    --th-shadow-md: 0 12px 32px -12px rgba(10, 10, 10, 0.1);
    --th-shadow-lg: 0 30px 80px -20px rgba(10, 10, 10, 0.2);
    --th-shadow-red: 0 20px 50px -15px rgba(229, 9, 20, 0.45);

    /* Transitions */
    --th-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --th-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z */
    --th-z-header: 100;
    --th-z-overlay: 200;
    --th-z-cursor: 9999;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-padding-top: 100px;
    -webkit-text-size-adjust: 100%;
}
/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }
body {
    margin: 0;
    font-family: var(--th-font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--th-text);
    background: var(--th-surface);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.th-no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--th-red); text-decoration: none; transition: color .3s var(--th-ease); }
a:hover { color: var(--th-red-dark); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
svg { max-width: 100%; }
::selection { background: var(--th-red); color: #fff; }

.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px; height: 1px;
    overflow: hidden;
    padding: 0; margin: -1px;
}
.skip-link {
    position: absolute; top: -100px; left: 0;
    background: var(--th-red); color: #fff;
    padding: 1rem 1.5rem;
    z-index: 10000;
    transition: top .3s;
}
.skip-link:focus { top: 0; color: #fff; }

/* ============================================================
   1. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--th-font-display);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--th-ink);
    margin: 0 0 1rem;
}
h1 { font-size: var(--th-fs-h1); letter-spacing: -0.03em; }
h2 { font-size: var(--th-fs-h2); letter-spacing: -0.025em; }
h3 { font-size: var(--th-fs-h3); }
h4 { font-size: var(--th-fs-h4); font-weight: 700; }

p { margin: 0 0 1rem; }

.th-italic { font-family: var(--th-font-italic); font-style: italic; font-weight: 500; }
.th-text-red { color: var(--th-red); }
.th-text-gold { color: var(--th-gold); }

.th-text-gradient {
    background: linear-gradient(135deg, var(--th-gold) 0%, var(--th-red) 50%, var(--th-gold) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: th-gradient-slide 5s linear infinite;
}
@keyframes th-gradient-slide {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* ============================================================
   2. LAYOUT
   ============================================================ */
.th-wrap { max-width: var(--th-container); margin: 0 auto; padding: 0 var(--th-pad); width: 100%; }
.th-wrap--wide { max-width: var(--th-container-wide); }
.th-wrap--narrow { max-width: var(--th-container-narrow); }

.th-section { padding: var(--th-section-y) 0; position: relative; }
.th-section--tight { padding: calc(var(--th-section-y) * 0.6) 0; }
.th-section--dark { background: var(--th-ink); color: #fff; }
.th-section--dark h1, .th-section--dark h2, .th-section--dark h3 { color: #fff; }
.th-section--alt { background: var(--th-surface-alt); }

.th-grid { display: grid; gap: 1.5rem; }
.th-grid--2 { grid-template-columns: repeat(2, 1fr); }
.th-grid--3 { grid-template-columns: repeat(3, 1fr); }
.th-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ============================================================
   3. BUTTONS
   ============================================================ */
.th-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 2rem;
    font-family: var(--th-font-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    color: #fff;
    background: var(--th-red);
    border: 2px solid var(--th-red);
    border-radius: var(--th-r-pill);
    transition: all .4s var(--th-ease);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}
.th-btn > span, .th-btn > i { position: relative; z-index: 2; }
.th-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--th-ink);
    transform: translateY(105%);
    transition: transform .5s var(--th-ease);
    z-index: 1;
}
.th-btn:hover::before { transform: translateY(0); }
.th-btn:hover { color: #fff; border-color: var(--th-ink); box-shadow: var(--th-shadow-red); transform: translateY(-2px); }

.th-btn--outline { background: transparent; color: var(--th-red); }
.th-btn--outline::before { background: var(--th-red); }
.th-btn--outline:hover { color: #fff; border-color: var(--th-red); }

.th-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    backdrop-filter: blur(20px);
}
.th-btn--ghost::before { background: #fff; }
.th-btn--ghost:hover { color: var(--th-ink); border-color: #fff; }

.th-btn--dark { background: var(--th-ink); border-color: var(--th-ink); color: #fff; }
.th-btn--dark::before { background: var(--th-red); }
.th-btn--dark:hover { border-color: var(--th-red); }

.th-btn--lg { padding: 1.15rem 2.4rem; font-size: 1rem; }
.th-btn--sm { padding: 0.6rem 1.3rem; font-size: 0.85rem; }

.th-btn i { transition: transform .3s var(--th-ease); }
.th-btn:hover i { transform: translateX(4px); }

/* ============================================================
   4. PRELOADER
   ============================================================ */
.th-preloader {
    position: fixed;
    inset: 0;
    background: var(--th-ink);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .6s, visibility .6s;
}
.th-preloader.is-hidden { opacity: 0; visibility: hidden; }
.th-preloader__logo {
    font-family: var(--th-font-display);
    font-weight: 800;
    font-size: 2.5rem;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    text-align: center;
}
.th-preloader__logo span { color: var(--th-red); }
.th-preloader__bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}
.th-preloader__bar::after {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, var(--th-red), var(--th-gold));
    animation: th-preloader-slide 1.2s ease-in-out infinite;
}
@keyframes th-preloader-slide {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* ============================================================
   5. CUSTOM CURSOR (desktop) — GSAP driven, silky smooth
   ============================================================ */
.th-cursor {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: var(--th-z-cursor);
    mix-blend-mode: difference;
    display: none;
    transition: opacity .3s;
    will-change: transform;
}
.th-cursor__dot {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--th-z-cursor);
    mix-blend-mode: difference;
    will-change: transform;
}
.th-cursor__ring {
    position: fixed;
    top: 0; left: 0;
    width: 40px; height: 40px;
    border: 2px solid #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--th-z-cursor);
    mix-blend-mode: difference;
    transition: width .35s cubic-bezier(.22,1,.36,1), height .35s cubic-bezier(.22,1,.36,1), border-color .3s;
    will-change: transform, width, height;
}
.th-cursor.is-hover .th-cursor__ring,
.is-hover.th-cursor .th-cursor__ring {
    width: 64px; height: 64px;
    border-color: var(--th-red);
    border-width: 2px;
}
/* When hovering, hide the inner dot for cleaner look */
.th-cursor.is-hover .th-cursor__dot { opacity: 0.3; }

/* Hide system cursor on interactive elements to reduce distraction */
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
    body { cursor: auto; }
}

/* ============================================================
   6. HEADER / NAVIGATION
   ============================================================ */
.th-header {
    position: sticky;
    top: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: var(--th-z-header);
    border-bottom: 1px solid transparent;
    transition: all .3s var(--th-ease);
}
.th-header.is-scrolled {
    box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.08);
    border-bottom-color: var(--th-border);
}
.th-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1rem 0;
}
.th-logo {
    font-family: var(--th-font-display);
    font-weight: 800;
    font-size: 1.7rem;
    color: var(--th-ink);
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: center;
}
.th-logo span { color: var(--th-red); margin-left: 2px; }
.th-logo img { max-height: 50px; width: auto; }

.th-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}
.th-menu > li { position: relative; }
.th-menu a {
    font-family: var(--th-font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--th-ink);
    padding: 0.5rem 0;
    position: relative;
    transition: color .3s var(--th-ease);
    display: inline-block;
}
.th-menu a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--th-red), var(--th-gold));
    transition: width .35s var(--th-ease);
}
.th-menu a:hover { color: var(--th-red); }
.th-menu a:hover::after,
.th-menu .current-menu-item > a::after,
.th-menu .current_page_item > a::after { width: 100%; }

.th-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 0.5rem;
    background: #fff;
    border-radius: var(--th-r-md);
    box-shadow: var(--th-shadow-lg);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s var(--th-ease);
    z-index: 10;
}
.th-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.th-menu .sub-menu a { padding: 0.6rem 1rem; border-radius: var(--th-r-sm); display: block; }
.th-menu .sub-menu a::after { display: none; }
.th-menu .sub-menu a:hover { background: var(--th-surface-alt); color: var(--th-red); }

.th-header__actions { display: flex; align-items: center; gap: 0.75rem; }

/* Mobile toggle */
.th-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    background: var(--th-surface-alt);
    border-radius: 12px;
}
.th-toggle__bars {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
}
.th-toggle__bars::before,
.th-toggle__bars::after,
.th-toggle__bars {
    /* 3 bars */
}
.th-toggle span {
    display: block;
    height: 2px;
    width: 22px;
    background: var(--th-ink);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

/* Mobile Menu Panel */
.th-mobile-menu {
    position: fixed;
    top: 0; right: 0;
    width: min(88vw, 380px);
    height: 100vh;
    background: #fff;
    box-shadow: -20px 0 60px -20px rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .5s var(--th-ease);
    z-index: var(--th-z-overlay);
}
.th-mobile-menu.is-open { transform: translateX(0); }
.th-mobile-menu__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.th-mobile-menu__close {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--th-surface-alt);
    font-size: 1.2rem;
    transition: background .3s, color .3s;
}
.th-mobile-menu__close:hover { background: var(--th-red); color: #fff; }
.th-mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}
.th-mobile-nav > li { border-bottom: 1px solid var(--th-border); }
.th-mobile-nav a {
    display: block;
    padding: 1rem 0;
    font-family: var(--th-font-display);
    font-weight: 600;
    color: var(--th-ink);
    font-size: 1rem;
}
.th-mobile-nav a:hover { color: var(--th-red); }
.th-mobile-nav .sub-menu { list-style: none; padding-left: 1rem; margin: 0 0 0.5rem; }
.th-mobile-nav .sub-menu a { padding: 0.6rem 0; font-size: 0.9rem; font-weight: 500; color: var(--th-text-muted); }

body.th-no-scroll::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: calc(var(--th-z-overlay) - 1);
}

/* ============================================================
   7. HERO — HOME PAGE
   ============================================================ */
.th-hero {
    position: relative;
    padding: 6rem 0 8rem;
    background: linear-gradient(135deg, var(--th-ink) 0%, var(--th-ink-soft) 45%, #3A0008 70%, var(--th-red-dark) 100%);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.th-hero__bg { position: absolute; inset: 0; z-index: -1; }
.th-hero__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
}
.th-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    animation: th-orb 18s ease-in-out infinite;
}
.th-hero__orb--1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--th-red), transparent 70%);
    top: -10%; right: -5%;
}
.th-hero__orb--2 {
    width: 360px; height: 360px;
    background: radial-gradient(circle, var(--th-gold), transparent 70%);
    bottom: 5%; left: 5%;
    opacity: 0.3;
    animation-delay: -6s;
}
.th-hero__orb--3 {
    width: 280px; height: 280px;
    background: radial-gradient(circle, var(--th-red-light), transparent 70%);
    top: 50%; left: 30%;
    animation-delay: -12s;
}
@keyframes th-orb {
    0%, 100% { transform: translate(0, 0); }
    33%      { transform: translate(30px, -40px); }
    66%      { transform: translate(-20px, 30px); }
}

.th-hero__layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
.th-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(229, 9, 20, 0.4);
    border-radius: var(--th-r-pill);
    font-family: var(--th-font-display);
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
    backdrop-filter: blur(20px);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.25);
}
.th-hero__badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--th-red);
    box-shadow: 0 0 10px var(--th-red);
    animation: th-dot-pulse 1.8s ease-in-out infinite;
}
@keyframes th-dot-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.3); opacity: 0.7; }
}
.th-hero__title {
    font-family: var(--th-font-display);
    font-weight: 800;
    font-size: clamp(2.5rem, 5.5vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 1.5rem;
}
.th-hero__desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.75;
    max-width: 560px;
    margin-bottom: 2rem;
}
.th-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.th-hero__proof {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.th-hero__avatars { display: flex; }
.th-hero__avatars span {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 3px solid var(--th-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--th-font-display);
    font-weight: 800;
    color: #fff;
    font-size: 0.9rem;
    margin-left: -12px;
}
.th-hero__avatars span:first-child { margin-left: 0; }
.th-hero__proof-stars { color: var(--th-gold); font-size: 0.9rem; letter-spacing: 0.1em; }
.th-hero__proof-text { color: rgba(255, 255, 255, 0.85); font-size: 0.85rem; }
.th-hero__proof-text strong { color: #fff; }

/* Hero visual */
.th-hero__visual {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.th-hero__floating {
    position: absolute;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: var(--th-r-lg);
    padding: 1.2rem 1.4rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 3;
    animation: th-float 6s ease-in-out infinite;
    color: #fff;
}
.th-hero__floating--1 { top: 8%; left: -4%; animation-delay: 0s; }
.th-hero__floating--2 { bottom: 14%; right: -3%; animation-delay: -2s; }
.th-hero__floating--3 { top: 48%; left: 46%; transform: translate(-50%, -50%); animation-delay: -4s; padding: 1rem 1.2rem; }
@keyframes th-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
}
.th-hero__floating--3 { animation-name: th-float-center; }
@keyframes th-float-center {
    0%, 100% { transform: translate(-50%, calc(-50% + 0px)); }
    50%      { transform: translate(-50%, calc(-50% - 14px)); }
}
.th-hero__fi-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
.th-hero__fi-num {
    font-family: var(--th-font-display);
    font-weight: 800;
    font-size: 1.8rem;
    color: #fff;
    line-height: 1;
}
.th-hero__fi-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}
.th-hero__illust {
    width: 85%;
    max-width: 480px;
    animation: th-float 8s ease-in-out infinite;
}

.th-hero__curve {
    position: absolute;
    bottom: -1px; left: 0;
    width: 100%;
    height: 80px;
    color: #fff;
    z-index: 3;
}

/* ============================================================
   8. PAGE HERO — internal pages
   ============================================================ */
.th-page-hero {
    position: relative;
    padding: 7rem 0 8rem;
    background: linear-gradient(135deg, var(--th-ink) 0%, var(--th-ink-soft) 40%, #3A0008 70%, var(--th-red-dark) 100%);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
}
.th-page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.th-page-hero__bg .th-hero__grid,
.th-page-hero__bg .th-hero__orb { /* reuse */ }
.th-page-hero__inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.th-page-hero__eyebrow {
    display: inline-block;
    font-family: var(--th-font-display);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--th-gold);
    margin-bottom: 1rem;
}
.th-page-hero__title {
    font-family: var(--th-font-display);
    font-weight: 800;
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 1.25rem;
}
.th-page-hero__desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.75;
    max-width: 720px;
    margin: 0 auto 1.5rem;
}

/* Breadcrumbs */
.th-crumbs {
    display: inline-flex;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    flex-wrap: wrap;
    justify-content: center;
}
.th-crumbs a { color: rgba(255, 255, 255, 0.85); }
.th-crumbs a:hover { color: var(--th-gold); }
.th-crumbs__sep { opacity: 0.5; }

/* ============================================================
   9. SECTION TITLE
   ============================================================ */
.th-sec-title {
    text-align: center;
    margin-bottom: 3.5rem;
}
.th-sec-title__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--th-font-display);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--th-red);
    margin-bottom: 1rem;
}
.th-sec-title__kicker::before,
.th-sec-title__kicker::after {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: currentColor;
}
.th-sec-title__h {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}
.th-sec-title__lede {
    font-size: 1.1rem;
    color: var(--th-text-muted);
    max-width: 720px;
    margin: 0 auto;
}
.th-sec-title--left { text-align: left; }
.th-sec-title--left .th-sec-title__lede { margin-left: 0; margin-right: 0; }

/* ============================================================
   10. BENTO GRID
   ============================================================ */
.th-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(240px, auto);
    gap: 1.5rem;
}
.th-bento__item {
    background: linear-gradient(145deg, #fff 0%, var(--th-surface-alt) 100%);
    border: 1px solid var(--th-border);
    border-radius: var(--th-r-xl);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all .4s var(--th-ease);
}
.th-bento__item:hover {
    transform: translateY(-6px);
    border-color: var(--th-red);
    box-shadow: 0 30px 70px -20px rgba(229, 9, 20, 0.18);
}
.th-bento__item--wide { grid-column: span 2; }
.th-bento__item--xwide { grid-column: span 3; }
.th-bento__item--full { grid-column: span 4; }
.th-bento__item--tall { grid-row: span 2; }

.th-bento__item--dark {
    background: linear-gradient(145deg, var(--th-ink) 0%, var(--th-ink-soft) 50%, #3A0008 100%);
    color: #fff;
    border-color: transparent;
}
.th-bento__item--red {
    background: linear-gradient(145deg, var(--th-red) 0%, var(--th-red-dark) 100%);
    color: #fff;
    border-color: transparent;
}
.th-bento__item--dark h3, .th-bento__item--dark h4, .th-bento__item--red h3, .th-bento__item--red h4 { color: #fff; }
.th-bento__item--dark p, .th-bento__item--red p { color: rgba(255, 255, 255, 0.85); margin: 0; }

.th-bento__icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.12), rgba(229, 9, 20, 0.04));
    color: var(--th-red);
    font-size: 1.35rem;
    margin-bottom: 1.2rem;
}
.th-bento__item--dark .th-bento__icon,
.th-bento__item--red .th-bento__icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--th-gold);
}
.th-bento__metric {
    font-family: var(--th-font-display);
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    color: var(--th-red);
    letter-spacing: -0.03em;
}
.th-bento__item--dark .th-bento__metric, .th-bento__item--red .th-bento__metric { color: var(--th-gold); }

/* ============================================================
   11. FEATURE CARD (3-col grid)
   ============================================================ */
.th-feature-card {
    background: #fff;
    border: 1px solid var(--th-border);
    border-radius: var(--th-r-xl);
    padding: 2rem 1.8rem;
    transition: all .4s var(--th-ease);
    position: relative;
    overflow: hidden;
}
.th-feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--th-red), var(--th-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--th-ease);
}
.th-feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--th-red);
    box-shadow: 0 30px 60px -20px rgba(229, 9, 20, 0.15);
}
.th-feature-card:hover::before { transform: scaleX(1); }
.th-feature-card__icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.1), rgba(255, 214, 10, 0.05));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--th-red);
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}
.th-feature-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.th-feature-card p { color: var(--th-text-muted); line-height: 1.7; font-size: 0.95rem; margin: 0 0 1rem; }
.th-feature-card__link {
    font-family: var(--th-font-display);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--th-red);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.th-feature-card__link i { transition: transform .3s; }
.th-feature-card__link:hover i { transform: translateX(4px); }

/* ============================================================
   12. SPLIT SECTION (image + content)
   ============================================================ */
.th-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.th-split--reverse .th-split__visual { order: 2; }
.th-split__visual {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--th-r-xl);
    overflow: hidden;
    background: linear-gradient(135deg, var(--th-red) 0%, var(--th-ink) 100%);
}
.th-split__visual-inner {
    position: absolute;
    inset: 16px;
    border-radius: var(--th-r-lg);
    overflow: hidden;
    background: var(--th-ink);
    display: flex;
    align-items: center;
    justify-content: center;
}
.th-split__visual img { width: 100%; height: 100%; object-fit: cover; }
.th-split__badge {
    position: absolute;
    bottom: 20px; right: 20px;
    padding: 1rem 1.3rem;
    background: var(--th-gold);
    color: var(--th-ink);
    border-radius: var(--th-r-md);
    font-family: var(--th-font-display);
    font-weight: 800;
    z-index: 2;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.th-split__badge strong { display: block; font-size: 1.8rem; line-height: 1; }
.th-split__badge span { font-size: 0.8rem; font-weight: 600; opacity: 0.7; }

.th-split__lead {
    font-size: 1.1rem;
    color: var(--th-text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.th-split__features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    gap: 0.75rem;
}
.th-split__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.75rem 1rem;
    background: var(--th-surface-alt);
    border-radius: 12px;
    font-size: 0.95rem;
}
.th-split__features li::before {
    content: '';
    width: 24px; height: 24px;
    flex-shrink: 0;
    background: var(--th-red);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l4 4l6-7' stroke='white' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
    margin-top: 1px;
}

/* ============================================================
   13. STATS BAR
   ============================================================ */
.th-stats {
    background: linear-gradient(135deg, var(--th-ink) 0%, var(--th-ink-soft) 50%, #3A0008 100%);
    border-radius: var(--th-r-xl);
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.th-stats__item {
    padding: 3rem 2rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    transition: background .4s var(--th-ease);
}
.th-stats__item:last-child { border-right: 0; }
.th-stats__item:hover { background: rgba(229, 9, 20, 0.08); }
.th-stats__num {
    font-family: var(--th-font-display);
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--th-gold) 0%, var(--th-red) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.th-stats__label {
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--th-font-display);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ============================================================
   14. PROCESS / STEPS
   ============================================================ */
.th-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}
.th-process::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--th-red), var(--th-gold), var(--th-red));
    opacity: 0.25;
    z-index: 0;
}
.th-process__step {
    position: relative;
    text-align: center;
    z-index: 1;
}
.th-process__num {
    width: 80px; height: 80px;
    margin: 0 auto 1.5rem;
    background: #fff;
    border: 3px solid var(--th-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--th-font-display);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--th-red);
    box-shadow: 0 10px 30px -10px rgba(229, 9, 20, 0.45);
    transition: all .4s var(--th-ease-bounce);
}
.th-process__step:hover .th-process__num {
    background: var(--th-red);
    color: #fff;
    transform: scale(1.1) rotate(-8deg);
}
.th-process__step h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.th-process__step p { font-size: 0.9rem; color: var(--th-text-muted); line-height: 1.65; margin: 0; }

/* ============================================================
   15. ACCORDION
   ============================================================ */
.th-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 0.85rem;
}
.th-accordion__item {
    background: #fff;
    border: 1px solid var(--th-border);
    border-radius: var(--th-r-md);
    overflow: hidden;
    transition: all .3s var(--th-ease);
}
.th-accordion__item.is-open {
    border-color: var(--th-red);
    box-shadow: 0 20px 50px -20px rgba(229, 9, 20, 0.18);
}
.th-accordion__trigger {
    width: 100%;
    padding: 1.3rem 1.6rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: var(--th-font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--th-ink);
    line-height: 1.4;
    transition: color .3s;
}
.th-accordion__trigger:hover { color: var(--th-red); }
.th-accordion__icon {
    width: 30px; height: 30px;
    background: var(--th-surface-alt);
    color: var(--th-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: all .3s;
}
.th-accordion__item.is-open .th-accordion__icon {
    background: var(--th-red);
    color: #fff;
    transform: rotate(180deg);
}
.th-accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s var(--th-ease);
}
.th-accordion__body {
    padding: 0 1.6rem 1.4rem;
    color: var(--th-text-muted);
    line-height: 1.75;
    font-size: 0.96rem;
}
.th-accordion__body strong { color: var(--th-ink); }

/* ============================================================
   16. PORTFOLIO CARD
   ============================================================ */
.th-proj-card {
    position: relative;
    border-radius: var(--th-r-lg);
    overflow: hidden;
    background: var(--th-ink);
    box-shadow: 0 15px 35px -15px rgba(0, 0, 0, 0.2);
    transition: transform .4s var(--th-ease), box-shadow .4s var(--th-ease);
}
.th-proj-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.3); }
.th-proj-card__img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    display: block;
}
.th-proj-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s var(--th-ease);
}
.th-proj-card:hover .th-proj-card__img img { transform: scale(1.06); }
.th-proj-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    color: #fff;
}
.th-proj-card__tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--th-red);
    color: #fff;
    border-radius: var(--th-r-pill);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.th-proj-card__title {
    color: #fff;
    font-size: 1.3rem;
    margin: 0 0 0.3rem;
}
.th-proj-card__meta {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 0;
}
.th-proj-card__arrow {
    position: absolute;
    top: 1.2rem; right: 1.2rem;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--th-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s, background .3s;
}
.th-proj-card:hover .th-proj-card__arrow {
    background: var(--th-gold);
    color: var(--th-ink);
    transform: rotate(-45deg);
}

/* ============================================================
   17. TEAM CARD
   ============================================================ */
.th-team-card {
    text-align: center;
    position: relative;
}
.th-team-card__img {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--th-r-xl);
    overflow: hidden;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--th-red), var(--th-ink));
}
.th-team-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s var(--th-ease);
}
.th-team-card:hover .th-team-card__img img { transform: scale(1.05); }
.th-team-card__socials {
    position: absolute;
    bottom: -50px; left: 0; right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(10, 10, 10, 0.8));
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    transition: bottom .4s var(--th-ease);
}
.th-team-card:hover .th-team-card__socials { bottom: 0; }
.th-team-card__socials a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #fff;
    color: var(--th-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all .3s;
}
.th-team-card__socials a:hover { background: var(--th-red); color: #fff; }
.th-team-card__name { font-size: 1.15rem; margin-bottom: 0.25rem; }
.th-team-card__role { color: var(--th-text-muted); font-size: 0.9rem; margin: 0; }

/* ============================================================
   18. TESTIMONIAL / QUOTE CARD
   ============================================================ */
.th-quote {
    background: #fff;
    border: 1px solid var(--th-border);
    border-radius: var(--th-r-xl);
    padding: 2rem;
    position: relative;
    transition: all .4s var(--th-ease);
}
.th-quote:hover {
    transform: translateY(-6px);
    border-color: var(--th-red);
    box-shadow: 0 30px 60px -20px rgba(229, 9, 20, 0.15);
}
.th-quote__mark {
    position: absolute;
    top: 1.2rem; right: 1.5rem;
    font-family: var(--th-font-italic);
    font-size: 5rem;
    line-height: 1;
    color: var(--th-red);
    opacity: 0.12;
}
.th-quote__stars {
    color: var(--th-gold);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.1em;
}
.th-quote__text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--th-ink);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}
.th-quote__foot {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid var(--th-border);
}
.th-quote__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--th-red), var(--th-gold));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--th-font-display);
    font-weight: 800;
    flex-shrink: 0;
}
.th-quote__name { font-family: var(--th-font-display); font-weight: 700; font-size: 0.95rem; color: var(--th-ink); }
.th-quote__role { font-size: 0.82rem; color: var(--th-text-muted); }

/* Google Reviews summary */
.th-reviews-summary {
    text-align: center;
    background: linear-gradient(135deg, #fff 0%, var(--th-surface-alt) 100%);
    padding: 2.5rem 2rem;
    border-radius: var(--th-r-xl);
    border: 1px solid var(--th-border);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.08);
}
.th-reviews-summary__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: rgba(66, 133, 244, 0.1);
    color: #4285f4;
    border-radius: var(--th-r-pill);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.th-reviews-summary__score {
    font-family: var(--th-font-display);
    font-weight: 800;
    font-size: 4rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--th-red), var(--th-gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}
.th-reviews-summary__stars { color: var(--th-gold); font-size: 1.5rem; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.th-reviews-summary__count { color: var(--th-text-muted); margin-bottom: 1.5rem; }

/* ============================================================
   19. CTA SECTION
   ============================================================ */
.th-cta {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--th-ink) 0%, var(--th-ink-soft) 40%, var(--th-red-dark) 100%);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.th-cta::before {
    content: '';
    position: absolute;
    top: -30%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.5), transparent 70%);
    filter: blur(60px);
    z-index: -1;
}
.th-cta::after {
    content: '';
    position: absolute;
    bottom: -30%; left: 5%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255, 214, 10, 0.3), transparent 70%);
    filter: blur(60px);
    z-index: -1;
}
.th-cta__inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}
.th-cta__badge {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--th-r-pill);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(20px);
}
.th-cta__badge i { color: var(--th-gold); }
.th-cta__title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: #fff;
    margin-bottom: 1.25rem;
}
.th-cta__sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 620px;
    margin: 0 auto 2.5rem;
}
.th-cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   20. CONTACT
   ============================================================ */
.th-contact-card {
    text-align: left;
    padding: 2rem 1.8rem;
    background: #fff;
    border: 1px solid var(--th-border);
    border-radius: var(--th-r-xl);
    transition: all .4s var(--th-ease);
}
.th-contact-card:hover { border-color: var(--th-red); transform: translateY(-4px); box-shadow: var(--th-shadow-md); }
.th-contact-card__icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: rgba(229, 9, 20, 0.1);
    color: var(--th-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}
.th-contact-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.th-contact-card p { color: var(--th-text-muted); font-size: 0.92rem; margin: 0 0 0.75rem; line-height: 1.6; }
.th-contact-card a {
    font-family: var(--th-font-display);
    font-weight: 700;
    color: var(--th-red);
}

/* Form fields */
.th-form input[type="text"],
.th-form input[type="email"],
.th-form input[type="url"],
.th-form input[type="tel"],
.th-form textarea,
.th-form select,
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="search"], input[type="password"], textarea, select {
    width: 100%;
    padding: 0.95rem 1.15rem;
    font-family: var(--th-font-body);
    font-size: 0.95rem;
    color: var(--th-text);
    background: #fff;
    border: 1.5px solid var(--th-border);
    border-radius: var(--th-r-md);
    transition: border-color .3s, box-shadow .3s;
    outline: none;
}
.th-form input:focus, .th-form textarea:focus, .th-form select:focus,
input:focus, textarea:focus, select:focus {
    border-color: var(--th-red);
    box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.1);
}
.th-form textarea, textarea { min-height: 120px; resize: vertical; }
.th-form label {
    display: block;
    font-family: var(--th-font-display);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--th-ink);
    margin-bottom: 0.4rem;
}
.th-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.th-form__group { margin-bottom: 1rem; }

/* ============================================================
   21. FOOTER
   ============================================================ */
.th-footer-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--th-red), var(--th-red-dark));
    color: #fff;
    position: relative;
    overflow: hidden;
}
.th-footer-cta::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}
.th-footer-cta__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
.th-footer-cta__title {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin: 0;
}
.th-footer-cta__kicker {
    display: block;
    font-family: var(--th-font-display);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--th-gold);
    margin-bottom: 0.75rem;
}

.th-footer {
    position: relative;
    background: linear-gradient(160deg, var(--th-ink) 0%, var(--th-ink-soft) 50%, var(--th-red-dark) 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 0 2rem;
    overflow: hidden;
}
.th-footer::before {
    content: '';
    position: absolute;
    top: 0; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.2), transparent 70%);
    filter: blur(60px);
}
.th-footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}
.th-footer__col h4 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}
.th-footer__logo { margin-bottom: 1.25rem; font-size: 1.8rem; color: #fff; }
.th-footer__logo span { color: var(--th-red); }
.th-footer__about {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}
.th-footer__socials { display: flex; gap: 0.6rem; }
.th-footer__socials a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
    font-size: 0.9rem;
}
.th-footer__socials a:hover { background: var(--th-red); border-color: var(--th-red); transform: translateY(-3px); }

.th-footer__list { list-style: none; padding: 0; margin: 0; }
.th-footer__list li { margin-bottom: 0.65rem; }
.th-footer__list a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all .3s;
}
.th-footer__list a:hover { color: var(--th-gold); transform: translateX(5px); }
.th-footer__list a i { color: var(--th-red); font-size: 0.7rem; }

.th-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.th-footer__contact li {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
    font-size: 0.9rem;
    line-height: 1.5;
    align-items: flex-start;
}
.th-footer__contact i {
    color: var(--th-red);
    font-size: 0.85rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
}
.th-footer__contact a { color: rgba(255, 255, 255, 0.85); }
.th-footer__contact a:hover { color: var(--th-gold); }

.th-newsletter { display: flex; flex-direction: column; gap: 0.75rem; }
.th-newsletter input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: var(--th-r-pill);
    padding: 0.9rem 1.25rem;
}
.th-newsletter input::placeholder { color: rgba(255, 255, 255, 0.5); }
.th-newsletter input:focus { background: rgba(255, 255, 255, 0.12); border-color: var(--th-red); }
.th-newsletter .th-btn { justify-content: center; }

.th-footer__bottom {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
}
.th-footer__bottom-menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.th-footer__bottom-menu a { color: rgba(255, 255, 255, 0.75); }
.th-footer__bottom-menu a:hover { color: var(--th-gold); }

/* ============================================================
   22. WHATSAPP FLOATING BUTTON
   ============================================================ */
.th-wa {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
    z-index: 998;
    transition: transform .3s;
}
.th-wa:hover { transform: scale(1.08); color: #fff; }
.th-wa__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    animation: th-wa-pulse 1.8s ease-out infinite;
    z-index: -1;
}
@keyframes th-wa-pulse {
    0%   { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}
.th-wa__tip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem 0.9rem;
    background: var(--th-ink);
    color: #fff;
    border-radius: var(--th-r-sm);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
.th-wa:hover .th-wa__tip { opacity: 1; }

/* ============================================================
   23. SCROLL TOP
   ============================================================ */
.th-scroll-top {
    position: fixed;
    bottom: 100px; right: 24px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--th-ink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .3s;
    z-index: 997;
    overflow: hidden;
}
.th-scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.th-scroll-top:hover { background: var(--th-red); }
.th-scroll-top svg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    transform: rotate(-90deg);
}
.th-scroll-top circle { fill: none; stroke-width: 2; }
.th-scroll-top__track { stroke: rgba(255, 255, 255, 0.15); }
.th-scroll-top__prog {
    stroke: var(--th-red);
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset .15s linear;
}
.th-scroll-top i { position: relative; z-index: 2; }

/* ============================================================
   24. MARQUEE
   ============================================================ */
.th-marquee {
    overflow: hidden;
    padding: 1.5rem 0;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.th-marquee__track {
    display: flex;
    gap: 3rem;
    animation: th-marquee 30s linear infinite;
    width: max-content;
}
.th-marquee:hover .th-marquee__track { animation-play-state: paused; }
.th-marquee__item {
    flex-shrink: 0;
    font-family: var(--th-font-display);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--th-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.7;
    transition: opacity .3s, color .3s;
}
.th-marquee__item:hover { opacity: 1; color: var(--th-red); }
.th-marquee__dot { color: var(--th-red); opacity: 0.5; font-size: 0.8rem; }
@keyframes th-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================
   25. BLOG CARDS & SINGLE POST
   ============================================================ */
.th-blog-card {
    background: #fff;
    border-radius: var(--th-r-xl);
    overflow: hidden;
    border: 1px solid var(--th-border);
    transition: all .4s var(--th-ease);
    display: flex;
    flex-direction: column;
}
.th-blog-card:hover { transform: translateY(-6px); border-color: var(--th-red); box-shadow: 0 30px 60px -20px rgba(229, 9, 20, 0.12); }
.th-blog-card__img {
    aspect-ratio: 16/10;
    overflow: hidden;
    display: block;
    background: var(--th-surface-alt);
}
.th-blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--th-ease); }
.th-blog-card:hover .th-blog-card__img img { transform: scale(1.05); }
.th-blog-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.th-blog-card__meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--th-text-muted);
    margin-bottom: 0.75rem;
}
.th-blog-card__title { font-size: 1.15rem; line-height: 1.4; margin-bottom: 0.75rem; }
.th-blog-card__title a { color: var(--th-ink); }
.th-blog-card__title a:hover { color: var(--th-red); }
.th-blog-card__excerpt { color: var(--th-text-muted); font-size: 0.92rem; flex: 1; margin-bottom: 1rem; }
.th-blog-card__link {
    font-family: var(--th-font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--th-red);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.th-blog-card__link i { transition: transform .3s; }
.th-blog-card__link:hover i { transform: translateX(4px); }

/* Single post */
.th-post {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--th-text);
}
.th-post h2 { margin: 2.5rem 0 1rem; }
.th-post h3 { margin: 2rem 0 1rem; }
.th-post img { border-radius: var(--th-r-md); margin: 1.5rem 0; }
.th-post blockquote {
    border-left: 4px solid var(--th-red);
    padding: 1.2rem 1.8rem;
    background: var(--th-surface-alt);
    margin: 2rem 0;
    font-family: var(--th-font-italic);
    font-style: italic;
    font-size: 1.15rem;
    border-radius: 0 var(--th-r-md) var(--th-r-md) 0;
}
.th-post ul, .th-post ol { padding-left: 1.5rem; margin: 1rem 0; }

.th-post-share, .th-post-tags {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--th-border);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}
.th-post-share > span, .th-post-tags > span {
    font-family: var(--th-font-display);
    font-weight: 700;
    margin-right: 0.5rem;
}
.th-post-tags a {
    padding: 0.35rem 0.9rem;
    background: var(--th-surface-alt);
    color: var(--th-text);
    border-radius: var(--th-r-pill);
    font-size: 0.85rem;
}
.th-post-tags a:hover { background: var(--th-red); color: #fff; }
.th-post-share a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--th-surface-alt);
    color: var(--th-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
}
.th-post-share a:hover { background: var(--th-red); color: #fff; }

.th-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--th-border);
}
.th-post-nav__item {
    padding: 1.25rem 1.5rem;
    background: var(--th-surface-alt);
    border-radius: var(--th-r-md);
    transition: all .3s;
    color: var(--th-ink);
}
.th-post-nav__item:hover { background: var(--th-red); color: #fff; }
.th-post-nav__item:hover .th-post-nav__label { color: rgba(255, 255, 255, 0.85); }
.th-post-nav__item--next { text-align: right; }
.th-post-nav__label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--th-text-muted);
    margin-bottom: 0.25rem;
}
.th-post-nav__title { font-family: var(--th-font-display); font-weight: 700; font-size: 0.95rem; }

/* Sidebar */
.th-sidebar .widget {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--th-r-md);
    border: 1px solid var(--th-border);
    margin-bottom: 1.25rem;
}
.th-sidebar .widget-title {
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--th-red);
    display: inline-block;
}
.th-sidebar ul { list-style: none; padding: 0; margin: 0; }
.th-sidebar li { padding: 0.5rem 0; border-bottom: 1px dashed var(--th-border); }
.th-sidebar li:last-child { border-bottom: 0; }
.th-sidebar a { color: var(--th-text); }
.th-sidebar a:hover { color: var(--th-red); }

/* Pagination */
.th-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}
.th-pagination .page-numbers {
    min-width: 44px; height: 44px;
    padding: 0 1rem;
    background: var(--th-surface-alt);
    border-radius: var(--th-r-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--th-font-display);
    font-weight: 700;
    color: var(--th-ink);
    transition: all .3s;
}
.th-pagination .page-numbers:hover,
.th-pagination .page-numbers.current { background: var(--th-red); color: #fff; }

/* ============================================================
   26. LEGAL / PRIVACY PAGE
   ============================================================ */
.th-legal { max-width: 820px; margin: 0 auto; }
.th-legal__lead {
    font-size: 1.15rem;
    line-height: 1.8;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.05), rgba(255, 214, 10, 0.03));
    border-left: 4px solid var(--th-red);
    border-radius: 0 var(--th-r-md) var(--th-r-md) 0;
    margin-bottom: 2.5rem;
}
.th-legal h2 {
    font-size: 1.5rem;
    margin: 3rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--th-red);
    display: inline-block;
}
.th-legal h3 { font-size: 1.15rem; margin: 1.5rem 0 0.75rem; }
.th-legal p, .th-legal ul { line-height: 1.85; margin-bottom: 1rem; }
.th-legal ul li { margin-bottom: 0.5rem; }
.th-legal strong { color: var(--th-ink); }

/* ============================================================
   27. 404
   ============================================================ */
.th-404 { padding: 6rem 0; text-align: center; }
.th-404__num {
    font-family: var(--th-font-display);
    font-weight: 800;
    font-size: clamp(6rem, 18vw, 12rem);
    line-height: 1;
    color: var(--th-red);
    margin-bottom: 1rem;
    letter-spacing: -0.05em;
}
.th-404 h2 { font-size: 2.2rem; }

/* ============================================================
   28. UTILITIES / ACF OVERRIDES
   ============================================================ */
.th-text-center { text-align: center; }
.th-mt-2 { margin-top: 1rem; }
.th-mt-4 { margin-top: 2rem; }
.th-mb-2 { margin-bottom: 1rem; }
.th-mb-4 { margin-bottom: 2rem; }

/* AOS / reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================
   29. RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .th-footer__inner { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
    .th-footer__col--newsletter { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
    .th-menu, .th-header__cta-desktop { display: none; }
    .th-toggle { display: inline-flex; }

    .th-hero__layout { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .th-hero__desc, .th-hero__proof { margin-left: auto; margin-right: auto; justify-content: center; }
    .th-hero__actions { justify-content: center; }
    .th-hero__visual { min-height: 400px; }

    .th-bento { grid-template-columns: repeat(2, 1fr); }
    .th-bento__item--xwide, .th-bento__item--full { grid-column: span 2; }

    .th-split, .th-split--reverse { grid-template-columns: 1fr; gap: 2.5rem; }
    .th-split--reverse .th-split__visual { order: 0; }
    .th-split__visual { aspect-ratio: 4/3; max-width: 560px; margin: 0 auto; }

    .th-stats { grid-template-columns: repeat(2, 1fr); }
    .th-stats__item:nth-child(1), .th-stats__item:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
    .th-stats__item:nth-child(2) { border-right: 0; }

    .th-process { grid-template-columns: repeat(2, 1fr); }
    .th-process::before { display: none; }

    .th-footer__inner { grid-template-columns: 1fr 1fr; }

    .th-grid--3, .th-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    :root { --th-section-y: 4rem; }
    .th-hero { padding: 4rem 0 6rem; }
    .th-page-hero { padding: 5rem 0 6rem; }

    .th-bento { grid-template-columns: 1fr; }
    .th-bento__item--wide, .th-bento__item--xwide, .th-bento__item--full, .th-bento__item--tall { grid-column: span 1; grid-row: span 1; }

    .th-stats { grid-template-columns: 1fr; }
    .th-stats__item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

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

    .th-grid--3, .th-grid--4 { grid-template-columns: 1fr; }
    .th-form__row { grid-template-columns: 1fr; }

    .th-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
    .th-footer-cta__inner { grid-template-columns: 1fr; text-align: center; }
    .th-footer__bottom { flex-direction: column; text-align: center; }

    .th-post-nav { grid-template-columns: 1fr; }

    .th-hero__actions { flex-direction: column; width: 100%; }
    .th-hero__actions .th-btn { width: 100%; justify-content: center; }
    .th-hero__floating--1, .th-hero__floating--2 { display: none; }

    .th-wa { width: 54px; height: 54px; font-size: 1.5rem; bottom: 16px; right: 16px; }
    .th-scroll-top { bottom: 82px; right: 16px; width: 42px; height: 42px; }
}

/* Print */
@media print {
    .th-header, .th-footer, .th-wa, .th-scroll-top, .th-cursor, .th-preloader { display: none !important; }
}
