/* assets/css/home.css — Home page section styles */

/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */

.tq-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 7rem 1.5rem 5rem;
    overflow: hidden;
}

/* Ambient glow blobs */
.tq-hero-glow-1 {
    position: absolute;
    top: -8%;
    right: -6%;
    width: clamp(320px, 42vw, 600px);
    height: clamp(320px, 42vw, 600px);
    background: radial-gradient(ellipse, rgba(77, 97, 244, 0.1) 0%, transparent 68%);
    pointer-events: none;
}
.tq-hero-glow-2 {
    position: absolute;
    bottom: 0;
    left: -4%;
    width: clamp(220px, 30vw, 420px);
    height: clamp(220px, 30vw, 420px);
    background: radial-gradient(ellipse, rgba(215, 254, 124, 0.14) 0%, transparent 65%);
    pointer-events: none;
}

/* Grid layout */
.tq-hero-wrap {
    max-width: 80rem;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .tq-hero-wrap {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

/* ── Badge ─────────────────────────────────── */
.tq-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: #fff;
    border: 1px solid rgba(35, 35, 35, 0.08);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #232323;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 4px rgba(35, 35, 35, 0.05);
}
.tq-badge-dot {
    width: 7px; height: 7px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
    animation: tq-pulse 2.2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes tq-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); }
    50%       { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.05); }
}

/* ── Headline ──────────────────────────────── */
.tq-hero-h1 {
    font-size: clamp(2.5rem, 5.2vw, 4.125rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.028em;
    color: #232323;
    margin-bottom: 1.375rem;
}

/* Lime marker highlight on keyword */
.tq-hero-mark {
    font-style: normal;
    background: #d7fe7c;
    color: #232323;
    padding: 0.04em 0.18em;
    border-radius: 0.2em;
    /* slight clockwise tilt for a handwritten-marker feel */
    display: inline-block;
    transform: rotate(-1deg);
}

/* ── Sub text ──────────────────────────────── */
.tq-hero-sub {
    font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
    color: rgba(35, 35, 35, 0.52);
    line-height: 1.72;
    max-width: 34rem;
    margin-bottom: 1.75rem;
}

/* ── Service tags ──────────────────────────── */
.tq-hero-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.25rem;
}
.tq-service-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    background: #fff;
    border: 1px solid rgba(35, 35, 35, 0.08);
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #232323;
    box-shadow: 0 1px 3px rgba(35, 35, 35, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    cursor: default;
}
.tq-service-pill svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.tq-service-pill:hover {
    border-color: rgba(77, 97, 244, 0.28);
    color: #4d61f4;
    box-shadow: 0 2px 10px rgba(77, 97, 244, 0.1);
}

/* ── CTA Buttons ───────────────────────────── */
.tq-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.75rem;
}

.tq-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.875rem;
    background: #4d61f4;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.tq-btn-primary:hover {
    background: #3a4edf;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(77, 97, 244, 0.28);
}
.tq-btn-primary svg { width: 1rem; height: 1rem; transition: transform 0.2s ease; }
.tq-btn-primary:hover svg { transform: translateX(4px); }

.tq-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.875rem;
    background: transparent;
    color: #232323;
    border: 1.5px solid rgba(35, 35, 35, 0.18);
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.tq-btn-outline:hover {
    border-color: #4d61f4;
    color: #4d61f4;
    background: rgba(77, 97, 244, 0.04);
}

/* ── Stats ─────────────────────────────────── */
.tq-hero-stats {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
}
.tq-stat strong {
    display: block;
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    font-weight: 900;
    color: #232323;
    line-height: 1;
    letter-spacing: -0.02em;
}
.tq-stat span {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: rgba(35, 35, 35, 0.38);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.2rem;
}
.tq-stat-div {
    width: 1px;
    height: 2.25rem;
    background: rgba(35, 35, 35, 0.1);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   HERO VISUAL — Browser Mockup
   ═══════════════════════════════════════════ */
.tq-hero-visual {
    position: relative;
    /* extra padding for floating badges */
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
}

/* Browser window */
.tq-browser {
    background: #fff;
    border: 1px solid rgba(35, 35, 35, 0.09);
    border-radius: 1.25rem;
    box-shadow:
        0 2px 4px rgba(35, 35, 35, 0.04),
        0 12px 40px rgba(35, 35, 35, 0.09),
        0 32px 80px rgba(35, 35, 35, 0.06);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

/* Chrome bar */
.tq-browser-chrome {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f0efeb;
    border-bottom: 1px solid rgba(35, 35, 35, 0.07);
}
.tq-browser-dots {
    display: flex;
    gap: 0.375rem;
    flex-shrink: 0;
}
.tq-browser-dots i {
    display: block;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(35, 35, 35, 0.14);
}
.tq-browser-dots i:nth-child(1) { background: #ff5f57; }
.tq-browser-dots i:nth-child(2) { background: #febc2e; }
.tq-browser-dots i:nth-child(3) { background: #28c840; }
.tq-browser-address {
    flex: 1;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(35, 35, 35, 0.08);
    border-radius: 0.375rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 500;
    color: rgba(35, 35, 35, 0.38);
    text-align: center;
    max-width: 220px;
    margin: 0 auto;
}

/* Screen area */
.tq-browser-screen {
    display: flex;
    height: clamp(230px, 30vw, 360px);
}

/* Sidebar */
.tq-ui-sidebar {
    width: 21%;
    background: #fafaf8;
    border-right: 1px solid rgba(35, 35, 35, 0.06);
    padding: 0.875rem 0.625rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.tq-ui-logo-block {
    height: 18px;
    background: #4d61f4;
    border-radius: 4px;
    margin-bottom: 0.875rem;
    opacity: 0.9;
    width: 82%;
}
.tq-ui-nav-item {
    height: 11px;
    background: rgba(35, 35, 35, 0.08);
    border-radius: 4px;
    width: 90%;
}
.tq-ui-nav-item.is-active {
    background: rgba(77, 97, 244, 0.14);
    border-left: 2.5px solid #4d61f4;
    padding-left: 2px;
}

/* Main content area */
.tq-ui-main {
    flex: 1;
    padding: 0.875rem 0.875rem 0.625rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    overflow: hidden;
}

/* Top bar */
.tq-ui-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.125rem;
}
.tq-ui-topbar-title {
    height: 13px; width: 36%;
    background: rgba(35, 35, 35, 0.1);
    border-radius: 4px;
}
.tq-ui-topbar-btn {
    height: 22px; width: 20%;
    background: #4d61f4;
    border-radius: 999px;
    opacity: 0.85;
}

/* Metric cards row */
.tq-ui-metric-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}
.tq-ui-metric {
    border-radius: 0.5rem;
    padding: 0.5rem 0.625rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.tq-ui-metric-lbl { height: 7px; border-radius: 3px; width: 55%; opacity: 0.4; }
.tq-ui-metric-val { height: 13px; border-radius: 4px; width: 75%; opacity: 0.8; }

.tq-ui-metric.is-blue  { background: rgba(77, 97, 244, 0.07); }
.tq-ui-metric.is-blue  .tq-ui-metric-lbl,
.tq-ui-metric.is-blue  .tq-ui-metric-val { background: #4d61f4; }

.tq-ui-metric.is-lime  { background: rgba(215, 254, 124, 0.22); }
.tq-ui-metric.is-lime  .tq-ui-metric-lbl,
.tq-ui-metric.is-lime  .tq-ui-metric-val { background: #6a8c00; }

.tq-ui-metric.is-purple { background: rgba(203, 137, 255, 0.1); }
.tq-ui-metric.is-purple .tq-ui-metric-lbl,
.tq-ui-metric.is-purple .tq-ui-metric-val { background: #cb89ff; }

/* Bar chart */
.tq-ui-chart {
    flex: 1;
    background: rgba(35, 35, 35, 0.02);
    border: 1px solid rgba(35, 35, 35, 0.05);
    border-radius: 0.5rem;
    display: flex;
    align-items: flex-end;
    gap: 0.3rem;
    padding: 0.5rem 0.625rem 0.5rem;
    min-height: 0;
}
.tq-ui-bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: rgba(77, 97, 244, 0.12);
    height: var(--h);
    min-height: 6px;
}
.tq-ui-bar.is-accent { background: #4d61f4; }

/* List rows */
.tq-ui-rows {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.tq-ui-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.tq-ui-row-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.tq-ui-row-line {
    flex: 1;
    height: 8px;
    background: rgba(35, 35, 35, 0.07);
    border-radius: 3px;
}
.tq-ui-row-line.short { max-width: 55%; }

/* ═══════════════════════════════════════════
   Floating stat badges
   ═══════════════════════════════════════════ */
.tq-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    background: #fff;
    border: 1px solid rgba(35, 35, 35, 0.08);
    border-radius: 0.875rem;
    box-shadow: 0 8px 32px rgba(35, 35, 35, 0.1), 0 2px 8px rgba(35, 35, 35, 0.06);
    z-index: 5;
    white-space: nowrap;
}
.tq-float strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 800;
    color: #232323;
    line-height: 1.2;
}
.tq-float span {
    display: block;
    font-size: 0.6875rem;
    color: rgba(35, 35, 35, 0.42);
    font-weight: 600;
}
.tq-float-icon {
    width: 2.25rem; height: 2.25rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tq-float-icon svg { width: 1.125rem; height: 1.125rem; }

.tq-float.is-top-right {
    top: 0;
    right: -0.5rem;
    animation: tq-floatY 4s ease-in-out infinite;
}
.tq-float.is-bottom-left {
    bottom: 0;
    left: -0.5rem;
    animation: tq-floatY 5s ease-in-out infinite;
    animation-delay: 1.8s;
}

@keyframes tq-floatY {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

@media (max-width: 1023px) {
    .tq-float { display: none; }
}

/* ═══════════════════════════════════════════
   SERVICE PILL TOOLTIPS
   ═══════════════════════════════════════════ */
.tq-service-pill.has-tooltip {
    position: relative;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* The "!" badge inside the pill */
.tq-pill-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem; height: 1rem;
    background: rgba(77, 97, 244, 0.1);
    color: #4d61f4;
    border-radius: 50%;
    font-size: 0.5625rem;
    font-weight: 900;
    font-style: normal;
    flex-shrink: 0;
    margin-left: 0.125rem;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease;
}
.tq-service-pill.has-tooltip:hover .tq-pill-info,
.tq-service-pill.has-tooltip.is-open .tq-pill-info {
    background: #4d61f4;
    color: #fff;
}

/* Tooltip card */
.tq-pill-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: #232323;
    color: #f6f5f2;
    border-radius: 0.875rem;
    padding: 0.75rem 1rem;
    min-width: 180px;
    width: max-content;
    max-width: 230px;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    box-shadow: 0 8px 32px rgba(35, 35, 35, 0.18), 0 2px 8px rgba(35, 35, 35, 0.1);
}
/* Caret */
.tq-pill-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #232323;
}

.tq-tooltip-title {
    display: block;
    font-size: 0.625rem;
    font-weight: 900;
    color: #d7fe7c;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.tq-pill-tooltip ul {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3125rem;
}
.tq-pill-tooltip li {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(246, 245, 242, 0.75);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.tq-pill-tooltip li::before {
    content: '·';
    color: #d7fe7c;
    font-weight: 900;
    flex-shrink: 0;
    font-size: 1rem;
    line-height: 0;
}

/* Visible: hover (desktop) or .is-open (JS toggle, mobile) */
.tq-service-pill.has-tooltip:hover .tq-pill-tooltip,
.tq-service-pill.has-tooltip.is-open .tq-pill-tooltip {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES — Sticky scroll-driven horizontal card reveal
   ═══════════════════════════════════════════════════════════════ */

.tq-services-outer {
    position: relative;
    background-color: #f6f5f2;
    background-image:
        linear-gradient(rgba(35, 35, 35, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(35, 35, 35, 0.032) 1px, transparent 1px);
    background-size: 48px 48px;
    /* height injected by JS on desktop to capture scroll distance */
}

/* ── Sticky inner ── */
.tq-services-sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    display: flex;
    overflow: hidden;
}

/* ── Left panel ── */
.tq-services-left {
    width: 28%;
    min-width: 260px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 2.5rem 4rem clamp(1.5rem, calc((100vw - 80rem) / 2 + 1.5rem), 4rem);
    border-right: 1px solid rgba(35, 35, 35, 0.07);
    position: relative;
    z-index: 2;
}

/* ── Right panel ── */
.tq-services-right {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
}

/* Fade edges — hint of overflow */
.tq-services-right::before,
.tq-services-right::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    z-index: 10;
    pointer-events: none;
}
.tq-services-right::before {
    left: 0; width: 48px;
    background: linear-gradient(to right, #f6f5f2, transparent);
}
.tq-services-right::after {
    right: 0; width: 80px;
    background: linear-gradient(to left, #f6f5f2, transparent);
}

/* ── Cards track ── */
.tq-services-track {
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    padding: 2.5rem 5rem 2.5rem 2rem;
    will-change: transform;
}

/* ── Individual card ── */
.tq-srv-card {
    flex-shrink: 0;
    width: 320px;
    background: #fff;
    border-radius: 1.375rem;
    border: 1px solid rgba(35, 35, 35, 0.07);
    box-shadow:
        0 2px 4px rgba(35, 35, 35, 0.03),
        0 8px 24px rgba(35, 35, 35, 0.06);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.tq-srv-card:hover {
    box-shadow:
        0 4px 8px rgba(35, 35, 35, 0.05),
        0 20px 52px rgba(35, 35, 35, 0.13);
    transform: translateY(-5px);
}

/* Faded large number */
.tq-srv-card-num {
    position: absolute;
    top: 0.25rem; right: 1rem;
    font-size: 4.75rem;
    font-weight: 900;
    color: rgba(35, 35, 35, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.04em;
}

/* Icon bubble */
.tq-srv-icon-wrap {
    width: 2.75rem; height: 2.75rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tq-srv-icon-wrap svg { width: 1.25rem; height: 1.25rem; }

/* Title */
.tq-srv-title {
    font-size: 1.1875rem;
    font-weight: 800;
    color: #232323;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

/* Description */
.tq-srv-desc {
    font-size: 0.8125rem;
    color: rgba(35, 35, 35, 0.52);
    line-height: 1.65;
}

/* Divider */
.tq-srv-divider {
    border: none;
    border-top: 1px solid rgba(35, 35, 35, 0.06);
    margin: 0;
}

/* Deliverables list */
.tq-srv-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}
.tq-srv-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(35, 35, 35, 0.62);
}
.tq-srv-list li::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--dot, #232323);
    flex-shrink: 0;
    opacity: 0.75;
}

/* Bottom accent strip */
.tq-srv-accent {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 0 0 1.375rem 1.375rem;
    opacity: 0.45;
    transition: opacity 0.3s ease;
}
.tq-srv-card:hover .tq-srv-accent { opacity: 1; }

/* ── Left panel content ── */
.tq-srv-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #4d61f4;
    margin-bottom: 1.25rem;
}
.tq-srv-tag::before {
    content: '';
    width: 1.25rem; height: 2px;
    background: #4d61f4;
    border-radius: 1px;
    flex-shrink: 0;
}

.tq-services-h2 {
    font-size: clamp(1.875rem, 2.6vw, 2.625rem);
    font-weight: 900;
    color: #232323;
    line-height: 1.06;
    letter-spacing: -0.035em;
    margin-bottom: 0.875rem;
}

.tq-services-tagline {
    font-size: 0.875rem;
    color: rgba(35, 35, 35, 0.46);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* Progress + counter */
.tq-srv-progress-wrap {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 0.75rem;
}

.tq-srv-progress-track {
    width: 2px;
    height: 72px;
    background: rgba(35, 35, 35, 0.08);
    border-radius: 1px;
    overflow: hidden;
    flex-shrink: 0;
}
.tq-srv-progress-fill {
    width: 100%;
    height: 0%;
    background: #4d61f4;
    border-radius: 1px;
    transition: height 0.08s linear;
}

.tq-srv-count-block {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}
.tq-srv-count-current {
    font-size: 2.375rem;
    font-weight: 900;
    color: #232323;
    letter-spacing: -0.055em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    min-width: 2.5ch;
    transition: opacity 0.15s ease;
}
.tq-srv-count-sep {
    font-size: 0.9375rem;
    color: rgba(35, 35, 35, 0.18);
    font-weight: 700;
    margin: 0 0.125rem;
}
.tq-srv-count-total {
    font-size: 0.9375rem;
    color: rgba(35, 35, 35, 0.2);
    font-weight: 700;
}

.tq-srv-current-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(35, 35, 35, 0.36);
    letter-spacing: 0.04em;
    min-height: 1.2em;
}

/* Scroll hint */
.tq-srv-hint {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 2rem;
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(35, 35, 35, 0.22);
}
.tq-srv-hint svg {
    width: 0.875rem; height: 0.875rem;
    animation: tq-srv-bounce 2.4s ease-in-out infinite;
}
@keyframes tq-srv-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(5px); }
}

/* ── Mobile layout ─────────────────────────────────────────────── */
@media (max-width: 1023px) {
    .tq-services-outer    { height: auto !important; }
    .tq-services-sticky   {
        position: relative;
        height: auto;
        flex-direction: column;
        overflow: visible;
    }
    .tq-services-left     {
        width: 100%;
        min-width: 0;
        border-right: none;
        border-bottom: 1px solid rgba(35, 35, 35, 0.07);
        padding: 3rem 1.5rem 2rem;
    }
    .tq-services-tagline  { margin-bottom: 1rem; }
    .tq-srv-progress-wrap,
    .tq-srv-current-name,
    .tq-srv-hint          { display: none; }
    .tq-services-right    {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 1.5rem;
    }
    .tq-services-right::-webkit-scrollbar { display: none; }
    .tq-services-right::before,
    .tq-services-right::after { display: none; }
    .tq-services-track    {
        padding: 1.5rem;
        transform: none !important;
    }
    .tq-srv-card          { width: 280px; }
}


/* ═══════════════════════════════════════════════════════════════
   CLIENTS — Infinite marquee logo strip
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   CLIENTS — Ticker-tape editorial style, brand #f6f5f2
   ═══════════════════════════════════════════════════════════════ */

.tq-clients-section {
    background: #232323;
    overflow: hidden;
    padding: 0;
    position: relative;
}

/* ── Header ── */
.tq-clients-header {
    text-align: center;
    padding: 0 1.5rem;
    margin-bottom: 4rem;
}

.tq-clients-label {
    display: inline-block;
    font-size: 0.5875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #4d61f4;
    margin-bottom: 1.375rem;
}

.tq-clients-heading {
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 900;
    color: #232323;
    letter-spacing: -0.055em;
    line-height: 0.92;
    margin-bottom: 1.25rem;
    text-transform: lowercase;
}

/* "200+" highlighted with lime underline bar */
.tq-ch-accent {
    font-style: normal;
    color: #4d61f4;
    position: relative;
    display: inline-block;
}
.tq-ch-accent::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: 0.05em;
    height: 0.18em;
    background: #d7fe7c;
    border-radius: 2px;
    z-index: -1;
}

.tq-clients-sub {
    font-size: 0.9rem;
    color: rgba(35,35,35,0.42);
    line-height: 1.65;
    max-width: 38ch;
    margin: 0 auto 2.25rem;
}

/* ── Stats strip ── */
.tq-clients-stats-row {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid rgba(35,35,35,0.1);
    border-radius: 1rem;
    overflow: hidden;
    background: #ffffff;
}

.tq-cs-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
    padding: 0.75rem 1.5rem;
    border-right: 1px solid rgba(35,35,35,0.08);
}
.tq-cs-item:last-child { border-right: none; }

.tq-cs-item b {
    font-size: 1.0625rem;
    font-weight: 900;
    color: #232323;
    letter-spacing: -0.025em;
    line-height: 1;
}

.tq-cs-item span {
    font-size: 0.5875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(35,35,35,0.38);
}

/* ── Row ── */
.tq-logos-row {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Fade edges — all rows same color */
.tq-logos-row::before,
.tq-logos-row::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 180px;
    z-index: 10;
    pointer-events: none;
}
.tq-logos-row::before {
    left: 0;
    background: linear-gradient(to right, #232323 0%, transparent 100%);
}
.tq-logos-row::after {
    right: 0;
    background: linear-gradient(to left, #232323 0%, transparent 100%);
}

/* ── Track — GPU-accelerated for glitch-free loop ── */
.tq-logos-track {
    display: flex;
    gap: 0;
    width: max-content;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

.tq-logos-left  { animation: tq-marquee-left  90s linear infinite; }

@keyframes tq-marquee-left {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes tq-marquee-right {
    from { transform: translate3d(-50%, 0, 0); }
    to   { transform: translate3d(0, 0, 0); }
}

/* ── Logo slot ── */
.tq-logo-card {
    flex-shrink: 0;
    width: 160px;
    height: 100px;
    border-right: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.25rem;
    cursor: default;
    transition: background 0.4s ease;
}

.tq-logo-card:hover {
    background: rgba(255,255,255,0.04);
}

.tq-logo-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    opacity: 0.6;
    filter: grayscale(1) brightness(1.6);
    transition: opacity 0.6s ease, filter 0.6s ease, transform 0.6s ease;
}

.tq-logo-card:hover img {
    opacity: 1;
    filter: grayscale(0) brightness(1);
    transform: scale(1.07);
}

/* ── Mobile ── */
@media (max-width: 640px) {
    .tq-logo-card  { width: 130px; height: 80px; padding: 0.75rem 1rem; }
    .tq-logos-left { animation-duration: 65s; }
    .tq-logos-row::before,
    .tq-logos-row::after { width: 50px; }
}


/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO — Masonry columns
   ═══════════════════════════════════════════════════════════════ */

.tq-pf-section {
    background: #f6f5f2;
    padding: 5.5rem 1.5rem 6rem;
}

/* ── Header ── */
.tq-pf-header {
    max-width: 80rem;
    margin: 0 auto 2.5rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.tq-pf-label {
    display: inline-block;
    font-size: 0.5875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #4d61f4;
    margin-bottom: 0.875rem;
}

.tq-pf-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #232323;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.625rem;
}

.tq-pf-sub {
    font-size: 0.875rem;
    color: rgba(35,35,35,0.45);
    line-height: 1.6;
    max-width: 44ch;
}

.tq-pf-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #4d61f4;
    text-decoration: none;
    white-space: nowrap;
    padding-bottom: 0.125rem;
    border-bottom: 2px solid rgba(77,97,244,0.25);
    transition: border-color 0.2s ease, gap 0.2s ease;
    flex-shrink: 0;
}
.tq-pf-view-all:hover { border-color: #4d61f4; gap: 0.75rem; }

/* ── Masonry grid ── */
.tq-pf-grid {
    max-width: 80rem;
    margin: 0 auto;
    columns: 3;
    column-gap: 1rem;
}

/* ── Card base ── */
.tq-pf-card {
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: 1.375rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #e8e6e2;
}
.tq-pf-card:hover { }

/* ── Image fills card, aspect-ratio set inline per card ── */
.tq-pf-card img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.tq-pf-card:hover img { transform: scale(1.05); }

/* ── Overlay — invisible by default, dark on hover ── */
.tq-pf-overlay {
    position: absolute;
    inset: 0;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: rgba(0,0,0,0);
    transition: background 0.32s ease;
}
.tq-pf-card:hover .tq-pf-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.18) 55%, transparent 100%);
}
.tq-pf-overlay--dark { background: rgba(35,35,35,0); }
.tq-pf-card:hover .tq-pf-overlay--dark {
    background: linear-gradient(to top, rgba(35,35,35,0.68) 0%, rgba(35,35,35,0.1) 55%, transparent 100%);
}

/* ── All text hidden until hover, staggered slide up ── */
.tq-pf-cat,
.tq-pf-name,
.tq-pf-desc,
.tq-pf-cta {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}
.tq-pf-card:hover .tq-pf-cat  { opacity: 1; transform: none; transition-delay: 0s; }
.tq-pf-card:hover .tq-pf-name { opacity: 1; transform: none; transition-delay: 0.04s; }
.tq-pf-card:hover .tq-pf-desc { opacity: 1; transform: none; transition-delay: 0.08s; }
.tq-pf-card:hover .tq-pf-cta  { opacity: 1; transform: none; transition-delay: 0.12s; }

.tq-pf-cat {
    display: block;
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0.25rem;
}
.tq-pf-overlay--dark .tq-pf-cat { color: rgba(35,35,35,0.6); }

.tq-pf-name {
    font-size: clamp(1.125rem, 1.8vw, 1.375rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}
.tq-pf-overlay--dark .tq-pf-name { color: #232323; }

.tq-pf-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.55;
    margin-bottom: 0.75rem;
    max-width: 32ch;
}
.tq-pf-overlay--dark .tq-pf-desc { color: rgba(35,35,35,0.68); }

.tq-pf-cta {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: #d7fe7c;
    letter-spacing: 0.04em;
}
.tq-pf-cta--dark { color: #4d61f4; }

/* ── Responsive ── */
@media (max-width: 1023px) {
    .tq-pf-grid { columns: 2; }
    .tq-pf-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
    .tq-pf-section { padding: 4rem 1rem 5rem; }
    .tq-pf-grid { columns: 1; }
    .tq-pf-cat, .tq-pf-name, .tq-pf-desc, .tq-pf-cta { opacity: 1; transform: none; }
    .tq-pf-overlay, .tq-pf-overlay--dark {
        background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%) !important;
    }
}


/* ═══════════════════════════════════════════════════════════════
   WHY US — editorial horizontal rows
   ═══════════════════════════════════════════════════════════════ */

.tq-why-section {
    background: #232323;
    padding: 5rem 1.5rem 4rem;
}

.tq-why-inner { max-width: 80rem; margin: 0 auto; }

.tq-why-top { margin-bottom: 3.5rem; }

.tq-why-label {
    display: block;
    font-size: 0.5875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(255,255,255,0.25);
    margin-bottom: 0.75rem;
}

.tq-why-heading {
    font-size: clamp(1.5rem, 2.8vw, 2.375rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

/* Each row: 4-col grid — number | title | body | arrow */
.tq-why-rows { border-top: 1px solid rgba(255,255,255,0.07); }

.tq-why-row {
    display: grid;
    grid-template-columns: 80px 1fr 1.4fr 40px;
    align-items: center;
    gap: 2.5rem;
    padding: 1.625rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    cursor: default;
    transition: background 0.2s ease;
}

.tq-why-row:hover { background: rgba(255,255,255,0.03); margin: 0 -1.5rem; padding-left: 1.5rem; padding-right: 1.5rem; }

/* Large faded number */
.tq-why-num {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 900;
    color: rgba(255,255,255,0.06);
    letter-spacing: -0.04em;
    line-height: 1;
    transition: color 0.3s ease;
    user-select: none;
}

.tq-why-row:hover .tq-why-num { color: #4d61f4; }

/* Bold statement */
.tq-why-title {
    font-size: clamp(0.9375rem, 1.4vw, 1.125rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Detail text */
.tq-why-body {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.72;
}

/* Arrow icon */
.tq-why-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.15);
    transition: color 0.3s ease, transform 0.3s ease;
}

.tq-why-row:hover .tq-why-arrow {
    color: #4d61f4;
    transform: translate(3px, -3px);
}

/* Tablet */
@media (max-width: 1023px) {
    .tq-why-row { grid-template-columns: 60px 1fr; grid-template-rows: auto auto; gap: 0.5rem 1.5rem; }
    .tq-why-title { grid-column: 2; }
    .tq-why-body  { grid-column: 1 / -1; padding-left: 75px; }
    .tq-why-arrow { display: none; }
}

/* Mobile */
@media (max-width: 639px) {
    .tq-why-row { grid-template-columns: 1fr; gap: 0.625rem; padding: 1.75rem 0; }
    .tq-why-body { padding-left: 0; }
    .tq-why-num  { font-size: 1.5rem; }
    .tq-why-row:hover { margin: 0; padding-left: 0; padding-right: 0; }
}


/* ═══════════════════════════════════════════════════════════════
   TECH STACK — categorized spec sheet
   ═══════════════════════════════════════════════════════════════ */

.tq-stack-section {
    background: #f6f5f2;
    padding: 5rem 1.5rem 4rem;
}

.tq-stack-inner { max-width: 80rem; margin: 0 auto; }

.tq-stack-header { margin-bottom: 3.5rem; }

.tq-stack-label {
    display: block;
    font-size: 0.5875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(35,35,35,0.3);
    margin-bottom: 0.75rem;
}

.tq-stack-heading {
    font-size: clamp(1.5rem, 2.8vw, 2.375rem);
    font-weight: 900;
    color: #232323;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

/* Category rows table */
.tq-stack-table { display: flex; flex-direction: column; }

.tq-stack-cat-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: flex-start;
    padding: 1.75rem 0;
    border-top: 1px solid rgba(35,35,35,0.07);
    gap: 3rem;
}

.tq-stack-cat-label {
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(35,35,35,0.32);
    padding-top: 0.35rem;
    flex-shrink: 0;
}

.tq-stack-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Each tool chip */
.tq-stack-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem 0.4rem 0.5rem;
    background: #fff;
    border: 1px solid rgba(35,35,35,0.09);
    border-radius: 0.625rem;
    cursor: default;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.tq-stack-chip:hover {
    border-color: rgba(35,35,35,0.2);
    box-shadow: 0 4px 16px rgba(35,35,35,0.07);
    transform: translateY(-2px);
}

.tq-stack-chip-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tq-stack-chip-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--brand-color, #232323);
}

.tq-stack-chip-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 3px;
}

.tq-stack-chip-name {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #232323;
    white-space: nowrap;
    line-height: 1;
}

@media (max-width: 767px) {
    .tq-stack-cat-row { grid-template-columns: 1fr; gap: 0.875rem; padding: 1.5rem 0; }
    .tq-stack-cat-label { padding-top: 0; }
}


/* ═══════════════════════════════════════════════════════════════
   ABOUT / FOUNDER STORY
   ═══════════════════════════════════════════════════════════════ */

.tq-about-section {
    background: #232323;
    padding: 5rem 1.5rem 4.5rem;
    overflow: hidden;
}

.tq-about-inner {
    max-width: 80rem;
    margin: 0 auto;
}

/* ── Top grid: photo | story ── */
.tq-about-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 4.5rem;
    align-items: center;
    margin-bottom: 4.5rem;
}

/* ── CEO photo column ── */
.tq-about-photo-col {
    display: flex;
    justify-content: center;
}

.tq-about-photo-wrap {
    position: relative;
    width: 70%;
}

.tq-about-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top center;
    border-radius: 1.375rem;
    display: block;
}

.tq-about-photo-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: rgba(20,20,20,0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.875rem;
    padding: 0.875rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.tq-about-photo-name {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.tq-about-photo-role {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.38);
}

.tq-about-photo-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #d7fe7c;
    color: #232323;
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

/* ── Story column ── */
.tq-about-label {
    display: inline-block;
    font-size: 0.5875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #d7fe7c;
    margin-bottom: 1.25rem;
}

.tq-about-heading {
    font-size: clamp(1.375rem, 2vw, 1.875rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.tq-about-quote {
    border-left: 3px solid #d7fe7c;
    padding-left: 1.125rem;
    margin: 0 0 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255,255,255,0.78);
    line-height: 1.65;
    font-style: normal;
}

.tq-about-body {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.42);
    line-height: 1.78;
    margin-bottom: 0.875rem;
}

/* ── Stats bar ── */
.tq-about-stats {
    display: flex;
    align-items: center;
    padding-top: 3.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.tq-about-stat {
    flex: 1;
    padding: 0 2.5rem;
}
.tq-about-stat:first-child { padding-left: 0; }
.tq-about-stat:last-child  { padding-right: 0; }

.tq-about-stat strong {
    display: block;
    font-size: clamp(1.375rem, 2vw, 1.75rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.tq-about-stat span {
    font-size: 0.5875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.3);
}

.tq-about-stat-div {
    width: 1px;
    height: 2.5rem;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 1023px) {
    .tq-about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    /* Keep portrait — don't switch to 4/3 or the face gets cropped */
    .tq-about-photo-col { justify-content: center; }
    .tq-about-photo-wrap { width: 55%; max-width: 300px; margin: 0 auto; }
    .tq-about-photo { aspect-ratio: 3/4; }
    .tq-about-stats { flex-wrap: wrap; padding-top: 2.5rem; }
    .tq-about-stat { flex: 0 0 calc(50% - 1px); padding: 1.25rem 0; }
    .tq-about-stat-div { display: none; }
}

@media (max-width: 640px) {
    .tq-about-section { padding: 4rem 1rem; }
    .tq-about-grid { margin-bottom: 3rem; }
    .tq-about-photo-wrap { width: 62%; max-width: 240px; }
}

@media (max-width: 480px) {
    .tq-about-photo-wrap { width: 70%; max-width: 210px; }
    .tq-about-photo-label { padding: 0.625rem 0.75rem; }
    .tq-about-photo-name { font-size: 0.875rem; }
}


/* ═══════════════════════════════════════════════════════════════
   PROCESS — Scroll-driven step reveal
   ═══════════════════════════════════════════════════════════════ */

.tq-proc-outer {
    position: relative;
    background: #f6f5f2;
    background-image:
        linear-gradient(rgba(35,35,35,0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(35,35,35,0.028) 1px, transparent 1px);
    background-size: 48px 48px;
}

.tq-proc-sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 2rem clamp(1.5rem, calc((100vw - 80rem) / 2 + 1.5rem), 6rem);
}

/* ── Persistent top label ── */
.tq-proc-header {
    flex-shrink: 0;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(35,35,35,0.07);
}

.tq-proc-section-label {
    font-size: 0.5875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(35,35,35,0.32);
}

/* ── Stage: flex 1, absolute-stacked steps ── */
.tq-proc-stage {
    position: relative;
    flex: 1;
    overflow: hidden;
}

/* ── Each step ── */
.tq-proc-step {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(56px);
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.tq-proc-step.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.34, 1.1, 0.64, 1);
}
.tq-proc-step.is-exiting {
    opacity: 0;
    transform: translateY(-36px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* ── Inner: 2-col layout ── */
.tq-proc-inner {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 5rem;
}

/* ── Left: decorative numeral ── */
.tq-proc-left {
    flex-shrink: 0;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.tq-proc-numeral {
    font-size: clamp(72px, 9vw, 130px);
    font-weight: 900;
    color: var(--step-color, #4d61f4);
    line-height: 1;
    letter-spacing: -0.04em;
}

.tq-proc-rule {
    width: 2.5rem;
    height: 2px;
    background: var(--step-color, #4d61f4);
    border-radius: 1px;
}

.tq-proc-phase {
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(35,35,35,0.38);
}

/* ── Right: content ── */
.tq-proc-right { flex: 1; }

.tq-proc-tag {
    display: block;
    font-size: 0.5875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--step-color, #4d61f4);
    margin-bottom: 0.875rem;
}

.tq-proc-heading {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 900;
    color: #232323;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.tq-proc-desc {
    font-size: 0.875rem;
    color: rgba(35,35,35,0.5);
    line-height: 1.75;
    max-width: 44ch;
    margin-bottom: 1.5rem;
}

.tq-proc-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tq-proc-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.875rem;
    background: #fff;
    border: 1.5px solid rgba(35,35,35,0.09);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #232323;
    box-shadow: 0 1px 3px rgba(35,35,35,0.04);
}

/* ── Bottom footer: progress + counter ── */
.tq-proc-footer {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(35,35,35,0.07);
}

.tq-proc-prog-track {
    flex: 1;
    height: 2px;
    background: rgba(35,35,35,0.1);
    border-radius: 1px;
    overflow: hidden;
}

.tq-proc-prog-fill {
    height: 100%;
    width: 0%;
    background: #232323;
    border-radius: 1px;
    transition: width 0.1s ease, background 0.4s ease;
}

.tq-proc-counter {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: rgba(35,35,35,0.35);
    flex-shrink: 0;
}

#procNum {
    font-size: 0.875rem;
    font-weight: 900;
    color: #232323;
}

/* ── Mobile: static stacked ── */
@media (max-width: 1023px) {
    .tq-proc-outer    { height: auto !important; background-image: none; }
    .tq-proc-sticky   { position: static; height: auto; display: block; padding: 3.5rem 1.5rem; }
    .tq-proc-header   { margin-bottom: 2.5rem; }
    .tq-proc-stage    { overflow: visible; }
    .tq-proc-step     {
        position: static;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto;
        display: block;
        padding-bottom: 2.5rem;
        margin-bottom: 2.5rem;
        border-bottom: 1px solid rgba(35,35,35,0.07);
    }
    .tq-proc-step:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
    .tq-proc-inner    { flex-direction: column; gap: 1.25rem; align-items: flex-start; }
    .tq-proc-left     { width: auto; flex-direction: row; align-items: center; gap: 1rem; }
    .tq-proc-numeral  { font-size: clamp(2.5rem, 7vw, 4rem); }
    .tq-proc-rule     { display: none; }
    .tq-proc-footer   { display: none; }
}


/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO — CSS columns masonry (images keep natural aspect ratios)
   ═══════════════════════════════════════════════════════════════ */

.tq-port-section {
    background: #232323;
    padding: 5rem 1.5rem 5.5rem;
}

.tq-port-inner {
    max-width: 80rem;
    margin: 0 auto;
}

/* Section header */
.tq-port-head {
    margin-bottom: 2.75rem;
}

.tq-port-label {
    display: block;
    font-size: 0.5875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(255,255,255,0.28);
    margin-bottom: 0.75rem;
}

.tq-port-heading {
    font-size: clamp(1.5rem, 2.8vw, 2.375rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

/* Masonry grid — images stack naturally in columns */
.tq-port-grid {
    columns: 4;
    column-gap: 0.625rem;
}

/* Each item */
.tq-port-item {
    break-inside: avoid;
    display: block;
    margin-bottom: 0.625rem;
    overflow: hidden;
    border-radius: 0.75rem;
    position: relative;
    cursor: pointer;
}

.tq-port-item img,
.tq-port-item video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.75rem;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.38s ease;
}

/* ── Skeleton shimmer ── */
@keyframes tq-port-shimmer {
    0%   { transform: translateX(-120%) skewX(-8deg); }
    100% { transform: translateX(220%)  skewX(-8deg); }
}

.tq-port-item.is-loading {
    background: rgba(255,255,255,0.07);
}

.tq-port-item.is-loading::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 55%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.11),
        transparent
    );
    animation: tq-port-shimmer 1.6s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.tq-port-item.is-loading img,
.tq-port-item.is-loading video {
    opacity: 0;
}

/* Hover: zoom + dark overlay */
.tq-port-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(35,35,35,0.4);
    border-radius: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tq-port-item:hover img,
.tq-port-item:hover video {
    transform: scale(1.05);
}

.tq-port-item:hover::after {
    opacity: 1;
}

.tq-port-empty {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.28);
    padding: 3rem 0;
}
.tq-port-cta {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* Responsive columns */
@media (max-width: 1279px) { .tq-port-grid { columns: 3; } }
@media (max-width: 767px)  { .tq-port-grid { columns: 2; } }
@media (max-width: 479px)  {
    .tq-port-grid {
        columns: 2;
        column-gap: 0.375rem;
    }
    .tq-port-item { margin-bottom: 0.375rem; }
}


/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS — dual-row infinite marquee
   ═══════════════════════════════════════════════════════════════ */

.tq-testi-section {
    background: #f6f5f2;
    padding: 5rem 0 5.5rem;
    overflow: hidden;
}

/* ── Section header ── */
.tq-testi-header {
    padding: 0 clamp(1.5rem, calc((100vw - 80rem) / 2 + 1.5rem), 6rem);
    margin-bottom: 3.5rem;
}

.tq-testi-label {
    display: block;
    font-size: 0.5875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(35,35,35,0.3);
    margin-bottom: 0.75rem;
}

.tq-testi-heading {
    font-size: clamp(1.5rem, 2.8vw, 2.375rem);
    font-weight: 900;
    color: #232323;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

/* ── Track wrapper: edge fade ── */
.tq-testi-track-wrap {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 8%,
        #000 92%,
        transparent 100%
    );
    mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 8%,
        #000 92%,
        transparent 100%
    );
    margin-bottom: 1rem;
}
.tq-testi-track-wrap:last-of-type { margin-bottom: 0; }

/* ── Track: flex row, no wrap — GPU-composited for glitch-free loop ── */
.tq-testi-track {
    display: flex;
    gap: 0;
    width: max-content;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

/* Slide wrapper: consistent width per slot (card + right gap).
   The last slide before the loop has the same width as all others,
   so -50% lands exactly at the start of the duplicate set. */
.tq-testi-slide {
    flex-shrink: 0;
    padding-right: 1rem;
}

.tq-testi-left  { animation: tq-testi-left  55s linear infinite; }
.tq-testi-right { animation: tq-testi-right 55s linear infinite; }

@keyframes tq-testi-left {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes tq-testi-right {
    from { transform: translate3d(-50%, 0, 0); }
    to   { transform: translate3d(0, 0, 0); }
}

/* Pause on hover */
.tq-testi-track-wrap:hover .tq-testi-track {
    animation-play-state: paused;
}

/* ── Individual card ── */
.tq-testi-card {
    width: clamp(280px, 28vw, 360px);
    background: #fff;
    border: 1px solid rgba(35,35,35,0.07);
    border-radius: 1.25rem;
    padding: 1.625rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    box-shadow: 0 2px 12px rgba(35,35,35,0.04);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.tq-testi-card:hover {
    box-shadow: 0 8px 32px rgba(35,35,35,0.09);
    border-color: rgba(35,35,35,0.13);
}

/* Stars */
.tq-testi-stars {
    display: flex;
    gap: 0.2rem;
}

.tq-testi-stars svg {
    width: 13px;
    height: 13px;
    color: #f5b800;
}

/* Quote text — fixed height keeps all cards uniform */
.tq-testi-quote {
    font-size: 0.875rem;
    color: #232323;
    line-height: 1.7;
    flex: 1;
    min-height: 5.95rem; /* ~4 lines at 0.875rem × 1.7 */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Author block */
.tq-testi-author {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(35,35,35,0.06);
}

.tq-testi-name {
    font-size: 0.8125rem;
    font-weight: 800;
    color: #232323;
    letter-spacing: 0.01em;
}

.tq-testi-meta {
    font-size: 0.75rem;
    color: rgba(35,35,35,0.42);
    font-weight: 500;
}

/* Mobile: slower animation, narrower cards */
@media (max-width: 767px) {
    .tq-testi-left, .tq-testi-right { animation-duration: 38s; }
    .tq-testi-card { width: clamp(240px, 72vw, 300px); }
    .tq-testi-header { padding: 0 1.5rem; }
}


/* ═══════════════════════════════════════════════════════════════
   FAQ — Split dark / light scroll-driven Q navigator
   ═══════════════════════════════════════════════════════════════ */

.tq-faq-outer {
    position: relative;
}

.tq-faq-sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
}

/* Two-panel grid: dark left nav + light right content */
.tq-faq-split {
    display: grid;
    grid-template-columns: 5fr 7fr;
    height: 100%;
}

/* ── Left: dark question navigator ── */
.tq-faq-nav {
    background: #232323;
    display: flex;
    flex-direction: column;
    padding: 2.5rem clamp(1.25rem, 2.5vw, 2.5rem);
    position: relative;
    overflow: hidden;
}

.tq-faq-nav-head {
    flex-shrink: 0;
    margin-bottom: 2.25rem;
}

.tq-faq-section-label {
    display: block;
    font-size: 0.5875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(255,255,255,0.25);
    margin-bottom: 0.75rem;
}

.tq-faq-section-heading {
    font-size: clamp(1.125rem, 1.8vw, 1.625rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

/* Question list with a left spine */
.tq-faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(255,255,255,0.06);
    position: relative;
}

.tq-faq-nav-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0.25rem 0.75rem 1.125rem;
    cursor: default;
}

/* Animated left accent */
.tq-faq-nav-item::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--faq-color, #4d61f4);
    transform: scaleY(0);
    transform-origin: top;
    border-radius: 1px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tq-faq-nav-item.is-active::before {
    transform: scaleY(1);
}

.tq-faq-nav-num {
    font-size: 0.5625rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.18);
    flex-shrink: 0;
    margin-top: 0.175rem;
    transition: color 0.35s ease;
}

.tq-faq-nav-content { flex: 1; }

.tq-faq-nav-q {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255,255,255,0.25);
    line-height: 1.45;
    transition: color 0.35s ease, font-weight 0.1s ease;
}

/* Mobile answer (hidden on desktop) */
.tq-faq-mob-a {
    display: none;
}

/* States */
.tq-faq-nav-item.is-active .tq-faq-nav-num { color: var(--faq-color, #4d61f4); }
.tq-faq-nav-item.is-active .tq-faq-nav-q   { color: #fff; font-weight: 700; }

.tq-faq-nav-item.is-past .tq-faq-nav-num,
.tq-faq-nav-item.is-past .tq-faq-nav-q   { color: rgba(255,255,255,0.1); }

/* Counter pinned to bottom-left */
.tq-faq-nav-counter {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: auto;
    padding-top: 1.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: rgba(255,255,255,0.18);
}

#faqNum {
    font-size: 0.875rem;
    font-weight: 900;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s ease;
}

.tq-faq-counter-sep { opacity: 0.3; }

/* ── Right: light Q&A content panel ── */
.tq-faq-panel {
    background: #f6f5f2;
    position: relative;
    overflow: hidden;
}

/* Stacked entries, absolute */
.tq-faq-entry {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 3rem clamp(2rem, 4vw, 3.5rem);
    opacity: 0;
    transform: translateX(28px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.tq-faq-entry.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.34, 1.05, 0.64, 1);
}

.tq-faq-entry.is-past {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Ghost "?" watermark — top-right, per-entry color */
.tq-faq-deco {
    position: absolute;
    top: -1.5rem;
    right: 1rem;
    font-size: clamp(9rem, 18vw, 17rem);
    font-weight: 900;
    color: var(--faq-color, #4d61f4);
    opacity: 0.055;
    line-height: 1;
    letter-spacing: -0.06em;
    user-select: none;
    pointer-events: none;
    transition: color 0.4s ease;
}

.tq-faq-entry-content {
    position: relative;
    z-index: 1;
    max-width: 44ch;
}

.tq-faq-question {
    font-size: clamp(1.25rem, 2.2vw, 1.875rem);
    font-weight: 900;
    color: #232323;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

/* Colored accent line above question */
.tq-faq-question::before {
    content: '';
    display: block;
    width: 2rem;
    height: 3px;
    background: var(--faq-color, #4d61f4);
    border-radius: 2px;
    margin-bottom: 1rem;
    transition: background 0.4s ease;
}

.tq-faq-answer {
    font-size: 0.9375rem;
    color: rgba(35,35,35,0.52);
    line-height: 1.78;
}

/* ── Mobile: accordion FAQ ── */
@media (max-width: 1023px) {
    .tq-faq-outer   { height: auto !important; }
    .tq-faq-sticky  { position: static; height: auto; }
    .tq-faq-split   { grid-template-columns: 1fr; }

    .tq-faq-nav     { padding: 3rem 1.25rem 2.5rem; }
    .tq-faq-list    {
        border-left: none;
        justify-content: flex-start;
    }
    .tq-faq-nav-item {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        cursor: pointer;
        user-select: none;
    }
    .tq-faq-nav-item:last-child { border-bottom: none; }
    .tq-faq-nav-item::before { display: none; }

    /* Chevron indicator */
    .tq-faq-nav-item::after {
        content: '';
        position: absolute;
        right: 0;
        top: 1.25rem;
        width: 1.125rem;
        height: 1.125rem;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/contain no-repeat;
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }
    .tq-faq-nav-item.is-open::after {
        transform: rotate(180deg);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(215,254,124,0.7)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    }

    .tq-faq-nav-q { color: rgba(255,255,255,0.55); padding-right: 1.75rem; }
    .tq-faq-nav-item.is-open .tq-faq-nav-q { color: #fff; font-weight: 700; }
    .tq-faq-nav-item.is-past .tq-faq-nav-q { color: rgba(255,255,255,0.55); font-weight: 600; }

    /* Accordion answer: collapsed by default, expands on .is-open */
    .tq-faq-mob-a {
        display: block;
        font-size: 0.8125rem;
        color: rgba(255,255,255,0.38);
        line-height: 1.7;
        max-height: 0;
        overflow: hidden;
        margin-top: 0;
        transition: max-height 0.38s cubic-bezier(0.4,0,0.2,1), margin-top 0.2s ease;
    }
    .tq-faq-nav-item.is-open .tq-faq-mob-a {
        max-height: 24em;
        margin-top: 0.625rem;
    }

    .tq-faq-nav-num { color: rgba(255,255,255,0.22); }
    .tq-faq-nav-item.is-open .tq-faq-nav-num { color: #d7fe7c; }

    .tq-faq-nav-counter { display: none; }
    .tq-faq-panel   { display: none; }
}


/* ═══════════════════════════════════════════════════════════════
   STATS STRIP
   ═══════════════════════════════════════════════════════════════ */

.tq-stats-strip {
    background: #f6f5f2;
    border-top: 1px solid rgba(35,35,35,0.07);
    border-bottom: 1px solid rgba(35,35,35,0.07);
    padding: 3.5rem 1.5rem;
}

.tq-stats-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.tq-stats-item {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    padding: 0.75rem 1rem;
    text-align: center;
}

.tq-stats-item strong {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    color: #232323;
    letter-spacing: -0.04em;
    line-height: 1;
}

.tq-stats-item strong span {
    font-size: 0.65em;
    letter-spacing: -0.02em;
    color: #4d61f4;
}

.tq-stats-item > span {
    font-size: 0.6875rem;
    font-weight: 700;
    color: rgba(35,35,35,0.38);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.tq-stats-div {
    width: 1px;
    height: 2.5rem;
    background: rgba(35,35,35,0.15);
    flex-shrink: 0;
    align-self: center;
}

@media (max-width: 639px) {
    .tq-stats-div  { display: none; }
    .tq-stats-item { min-width: 45%; }
}


/* ═══════════════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════════════ */

.tq-cta-section {
    background: #232323;
    padding: 5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.tq-cta-inner {
    max-width: 80rem;
    margin: 0 auto;
}

.tq-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}

/* Left: content */
.tq-cta-label {
    display: block;
    font-size: 0.5875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(255,255,255,0.28);
    margin-bottom: 0.875rem;
}

.tq-cta-heading {
    font-size: clamp(1.5rem, 2.8vw, 2.375rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin-bottom: 1rem;
}

.tq-cta-sub {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.75;
    max-width: 42ch;
    margin-bottom: 2rem;
}

.tq-cta-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tq-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: #d7fe7c;
    color: #232323;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.tq-cta-btn-primary:hover {
    background: #c8f563;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(215, 254, 124, 0.3);
}

.tq-cta-btn-ghost {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.2s ease;
}

.tq-cta-btn-ghost:hover { color: #fff; }

/* Right: decorative logo */
.tq-cta-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tq-cta-deco-logo {
    width: clamp(12rem, 28vw, 22rem);
    height: auto;
    opacity: 0.06;
    filter: invert(1);
    user-select: none;
    pointer-events: none;
}

@media (max-width: 767px) {
    .tq-cta-grid    { grid-template-columns: 1fr; }
    .tq-cta-right   { display: none; }
    .tq-cta-heading { font-size: clamp(1.375rem, 6vw, 1.875rem); }
}


/* ═══════════════════════════════════════════════════════════════
   ANNOUNCEMENT MODAL
   ═══════════════════════════════════════════════════════════════ */

.tq-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.38s ease, visibility 0.38s ease;
}
.tq-modal-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}
.tq-modal-backdrop.is-closing {
    opacity: 0;
    visibility: visible;
}

.tq-modal-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #fff;
    background-image: radial-gradient(circle at 85% 15%, rgba(215,254,124,0.18) 0%, transparent 52%);
    border-radius: 1.75rem;
    padding: 2.5rem 2.25rem 2.25rem;
    box-shadow:
        0 4px 6px rgba(0,0,0,0.04),
        0 20px 60px rgba(0,0,0,0.16),
        0 0 0 1px rgba(255,255,255,0.6) inset;
    transform: scale(0.92) translateY(16px);
    opacity: 0;
    transition:
        transform 0.45s cubic-bezier(0.34, 1.22, 0.64, 1),
        opacity 0.38s ease;
}
.tq-modal-backdrop.is-visible .tq-modal-card {
    transform: scale(1) translateY(0);
    opacity: 1;
}
.tq-modal-backdrop.is-closing .tq-modal-card {
    transform: scale(0.96) translateY(8px);
    opacity: 0;
}

.tq-modal-close {
    position: absolute;
    top: 1.125rem;
    right: 1.125rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(35,35,35,0.06);
    border: none;
    border-radius: 0.625rem;
    color: rgba(35,35,35,0.5);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.tq-modal-close:hover {
    background: rgba(35,35,35,0.1);
    color: #232323;
}

.tq-modal-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.75rem;
}
.tq-modal-logo img {
    width: 2.25rem;
    height: 2.25rem;
    display: block;
}

.tq-modal-accent {
    width: 2.5rem;
    height: 3px;
    background: #d7fe7c;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.tq-modal-heading {
    font-size: clamp(1.625rem, 3vw, 2rem);
    font-weight: 900;
    color: #232323;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin-bottom: 0.875rem;
}

.tq-modal-body {
    font-size: 0.9375rem;
    color: rgba(35,35,35,0.52);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.tq-modal-cta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: #232323;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, gap 0.2s ease, transform 0.15s ease;
}
.tq-modal-cta:hover {
    background: #4d61f4;
    gap: 0.75rem;
    transform: translateY(-1px);
}
.tq-modal-cta svg { transition: transform 0.2s ease; }
.tq-modal-cta:hover svg { transform: translateX(3px); }

/* ── Mobile polish ─────────────────────────────────────────────── */
@media (max-width: 1023px) {
    .tq-hero-visual { display: none; }
}

@media (max-width: 640px) {
    .tq-hero { padding: 5.5rem 1.25rem 4rem; }

    .tq-clients-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
    .tq-clients-header { margin-bottom: 2.5rem; }
    .tq-clients-stats-row {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        max-width: 100%;
    }
    .tq-clients-stats-row::-webkit-scrollbar { display: none; }
    .tq-cs-item { padding: 0.625rem 1rem; }

    .tq-why-section { padding: 3.5rem 1rem 3rem; }
    .tq-stack-section { padding: 3.5rem 1rem 3rem; }
    .tq-about-section { padding: 3.5rem 1rem 3rem; }
    .tq-port-section { padding: 3.5rem 1rem 4rem; }
    .tq-testi-section { padding: 3.5rem 0 4rem; }
    .tq-cta-section { padding: 3.5rem 1rem; }
    .tq-stats-strip { padding: 2.5rem 1rem; }

    .tq-pf-section { padding: 3.5rem 1rem 4rem; }
}

@media (max-width: 480px) {
    .tq-hero { padding: 5rem 1rem 3.5rem; }
    .tq-hero-actions { flex-direction: column; }
    .tq-btn-primary, .tq-btn-outline { width: 100%; justify-content: center; }
    .tq-hero-stats { gap: 1rem; }
    .tq-clients-heading { font-size: clamp(2.25rem, 14vw, 3.5rem); }
}
