/* =========================================================================
   Trustia design system
   Builds on the theme's existing Inter / Outfit + #007AFF language and adds
   the review-specific components (stars, rating bars, cards, auth, account).
   ========================================================================= */

:root {
    --t-blue: #007AFF;
    --t-blue-dark: #0056cc;
    --t-ink: #0b0d17;
    --t-body: #4a5568;
    --t-muted: #86868b;
    --t-line: #e8eaef;
    --t-line-soft: #f1f3f7;
    --t-bg-soft: #f7f9fc;
    --t-green: #00b67a;
    --t-radius: 16px;
    --t-radius-lg: 24px;
    --t-shadow-sm: 0 1px 2px rgba(11, 13, 23, .04), 0 4px 16px rgba(11, 13, 23, .04);
    --t-shadow-md: 0 4px 12px rgba(11, 13, 23, .06), 0 16px 40px rgba(11, 13, 23, .07);
    --t-shadow-lg: 0 24px 70px rgba(11, 13, 23, .12);
}

.t-scope {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--t-ink);
    -webkit-font-smoothing: antialiased;
}

.t-scope h1, .t-scope h2, .t-scope h3, .t-scope h4 {
    font-family: 'Outfit', 'Inter', sans-serif;
    letter-spacing: -.02em;
    color: var(--t-ink);
}

/* Page shell — clears the fixed navbar */
.t-page { padding-top: 110px; padding-bottom: 90px; }
.t-page--tight { padding-top: 96px; padding-bottom: 64px; }
.t-muted { color: var(--t-muted); }
.t-small { font-size: .875rem; }

/* -------------------------------------------------------------------------
   Star rating graphics
   ------------------------------------------------------------------------- */

.t-stars {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
    line-height: 0;
    white-space: nowrap;
}

.t-stars__base, .t-stars__fill { display: inline-flex; gap: 3px; }

.t-stars__fill {
    position: absolute;
    inset: 0;
    overflow: hidden;
    width: 0;
}

.t-star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #00b67a;
    border-radius: 3px;
    flex: 0 0 auto;
}

.t-star--empty { background: #dcdce6; }
.t-star svg { width: 82%; height: 82%; display: block; }

.t-stars--sm .t-star { width: 17px; height: 17px; }
.t-stars--md .t-star { width: 22px; height: 22px; }
.t-stars--lg .t-star { width: 30px; height: 30px; border-radius: 4px; }
.t-stars--xl .t-star { width: 40px; height: 40px; border-radius: 6px; }

.t-stars--sm .t-stars__base, .t-stars--sm .t-stars__fill { gap: 2px; }
.t-stars--lg .t-stars__base, .t-stars--lg .t-stars__fill { gap: 4px; }
.t-stars--xl .t-stars__base, .t-stars--xl .t-stars__fill { gap: 5px; }

/* Interactive star picker */
.t-rate {
    display: inline-flex;
    gap: 6px;
    direction: rtl;
}

.t-rate input { position: absolute; opacity: 0; pointer-events: none; }

.t-rate label {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: #dcdce6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease;
    margin: 0;
}

.t-rate label svg { width: 80%; height: 80%; fill: #fff; }
.t-rate label:hover, .t-rate label:hover ~ label,
.t-rate input:checked ~ label { background: var(--t-green); }
.t-rate label:hover { transform: scale(1.08); }
.t-rate[data-score="1"] label:hover, .t-rate[data-score="1"] input:checked ~ label { background: #ff3722; }

.t-rate-hint {
    display: inline-block;
    margin-left: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    vertical-align: middle;
}

@media (max-width: 480px) {
    .t-rate label { width: 40px; height: 40px; }
}

/* -------------------------------------------------------------------------
   Buttons / forms
   ------------------------------------------------------------------------- */

.t-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 12px 26px;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.t-btn:hover { text-decoration: none; transform: translateY(-1px); }
.t-btn:active { transform: translateY(0); }
.t-btn--primary { background: var(--t-ink); color: #fff; }
.t-btn--primary:hover { background: #23262f; color: #fff; box-shadow: 0 10px 24px rgba(11, 13, 23, .18); }
.t-btn--blue { background: var(--t-blue); color: #fff; }
.t-btn--blue:hover { background: var(--t-blue-dark); color: #fff; box-shadow: 0 10px 24px rgba(0, 122, 255, .28); }
.t-btn--green { background: var(--t-green); color: #fff; }
.t-btn--green:hover { background: #009f6b; color: #fff; }
.t-btn--ghost { background: #fff; color: var(--t-ink); border-color: var(--t-line); }
.t-btn--ghost:hover { border-color: var(--t-ink); color: var(--t-ink); background: #fff; }
.t-btn--block { width: 100%; }
.t-btn--sm { padding: 8px 16px; font-size: .85rem; }
.t-btn--lg { padding: 15px 34px; font-size: 1rem; }
.t-btn[disabled], .t-btn.is-disabled { opacity: .55; pointer-events: none; }

.t-field { margin-bottom: 18px; }

.t-field label,
.t-label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: var(--t-ink);
    margin-bottom: 7px;
}

.t-input,
.t-textarea,
.t-select {
    width: 100%;
    border: 1px solid var(--t-line);
    background: #fff;
    border-radius: 12px;
    padding: 13px 15px;
    font-size: .95rem;
    color: var(--t-ink);
    transition: border-color .18s ease, box-shadow .18s ease;
    font-family: inherit;
}

.t-input:focus,
.t-textarea:focus,
.t-select:focus {
    outline: none;
    border-color: var(--t-blue);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, .12);
}

.t-textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.t-input::placeholder, .t-textarea::placeholder { color: #a8adb8; }

.t-input-group { position: relative; }
.t-input-group .t-input { padding-right: 46px; }

.t-toggle-pass {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    color: var(--t-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
}

.t-toggle-pass:hover { background: var(--t-line-soft); color: var(--t-ink); }

.t-help { font-size: .8rem; color: var(--t-muted); margin-top: 6px; }

.t-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .875rem;
    color: var(--t-body);
    cursor: pointer;
}

.t-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--t-blue); flex: 0 0 auto; }

.t-strength { height: 4px; border-radius: 4px; background: var(--t-line); margin-top: 8px; overflow: hidden; }
.t-strength span { display: block; height: 100%; width: 0; border-radius: 4px; transition: width .25s ease, background .25s ease; }

/* -------------------------------------------------------------------------
   Alerts
   ------------------------------------------------------------------------- */

.t-alert {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: .9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.t-alert i { margin-top: 2px; }
.t-alert a { font-weight: 600; }
.t-alert--error { background: #fff1f0; border-color: #ffd7d2; color: #b3261e; }
.t-alert--success { background: #eafaf3; border-color: #c3f0dd; color: #04794f; }
.t-alert--info { background: #eef5ff; border-color: #d3e4ff; color: #0b4fa8; }

/* -------------------------------------------------------------------------
   Cards / avatars / logos
   ------------------------------------------------------------------------- */

.t-card {
    background: #fff;
    border: 1px solid var(--t-line);
    border-radius: var(--t-radius);
    box-shadow: var(--t-shadow-sm);
}

.t-card--pad { padding: 26px; }
.t-card--hover { transition: transform .25s ease, box-shadow .25s ease; }
.t-card--hover:hover { transform: translateY(-4px); box-shadow: var(--t-shadow-md); }

.t-avatar {
    border-radius: 50%;
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: var(--t-line-soft);
}

.t-avatar--initials { color: #fff; font-weight: 700; letter-spacing: .5px; }

.t-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--t-line);
    border-radius: 14px;
    overflow: hidden;
    flex: 0 0 auto;
}

.t-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.t-logo--initials { background: linear-gradient(135deg, #007AFF, #5856D6); color: #fff; font-weight: 700; border: 0; }

.t-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--t-line-soft);
    color: var(--t-body);
    line-height: 1.3;
}

.t-badge--verified { background: rgba(0, 182, 122, .12); color: #04794f; }
.t-badge--blue { background: rgba(0, 122, 255, .1); color: var(--t-blue-dark); }
.t-badge--warn { background: rgba(255, 134, 34, .14); color: #a2540b; }

/* -------------------------------------------------------------------------
   Company profile header
   ------------------------------------------------------------------------- */

.t-company-hero {
    background: linear-gradient(180deg, #f2f7ff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--t-line);
    padding: 120px 0 40px;
}

.t-company-head { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.t-company-title { font-size: 2.4rem; font-weight: 700; margin: 0 0 6px; }
.t-company-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; color: var(--t-muted); font-size: .9rem; }
.t-company-meta a { color: var(--t-blue); text-decoration: none; font-weight: 500; }
.t-company-meta a:hover { text-decoration: underline; }

@media (max-width: 767px) {
    .t-company-title { font-size: 1.75rem; }
    .t-company-hero { padding-top: 100px; }
}

/* Score block */
.t-score { display: flex; align-items: center; gap: 16px; }
.t-score__number { font-family: 'Outfit', sans-serif; font-size: 3rem; font-weight: 700; line-height: 1; }
.t-score__label { font-weight: 700; font-size: 1.05rem; }
.t-score__count { color: var(--t-muted); font-size: .875rem; }

/* Distribution bars */
.t-dist { display: grid; gap: 9px; }
.t-dist__row { display: grid; grid-template-columns: 68px 1fr 44px; align-items: center; gap: 12px; font-size: .85rem; }
.t-dist__track { background: var(--t-line-soft); border-radius: 4px; height: 12px; overflow: hidden; }
.t-dist__bar { height: 100%; border-radius: 4px; background: var(--t-green); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.t-dist__row:nth-child(2) .t-dist__bar { background: #73cf11; }
.t-dist__row:nth-child(3) .t-dist__bar { background: #ffce00; }
.t-dist__row:nth-child(4) .t-dist__bar { background: #ff8622; }
.t-dist__row:nth-child(5) .t-dist__bar { background: #ff3722; }
.t-dist__label { color: var(--t-body); font-weight: 500; }
.t-dist__value { color: var(--t-muted); text-align: right; }
.t-dist__row a { color: inherit; text-decoration: none; }
.t-dist__row a:hover .t-dist__label { color: var(--t-blue); }

/* -------------------------------------------------------------------------
   Review list
   ------------------------------------------------------------------------- */

.t-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.t-toolbar .t-select { width: auto; min-width: 190px; padding: 10px 14px; }

.t-review {
    background: #fff;
    border: 1px solid var(--t-line);
    border-radius: var(--t-radius);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--t-shadow-sm);
    scroll-margin-top: 110px;
}

.t-review__head { display: flex; gap: 13px; align-items: center; margin-bottom: 14px; }
.t-review__author { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.t-review__author-meta { color: var(--t-muted); font-size: .8rem; }
.t-review__title { font-size: 1.15rem; font-weight: 700; margin: 12px 0 8px; }
.t-review__body { color: var(--t-body); line-height: 1.65; font-size: .97rem; }
.t-review__body p { margin-bottom: .9rem; }
.t-review__date { color: var(--t-muted); font-size: .8rem; margin-top: 12px; }

.t-review__foot {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--t-line-soft);
    flex-wrap: wrap;
}

.t-helpful {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--t-line);
    background: #fff;
    border-radius: 999px;
    padding: 7px 15px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--t-body);
    cursor: pointer;
    transition: all .18s ease;
}

.t-helpful:hover { border-color: var(--t-ink); color: var(--t-ink); }
.t-helpful.is-voted { background: rgba(0, 122, 255, .08); border-color: rgba(0, 122, 255, .35); color: var(--t-blue-dark); }

.t-reply {
    margin-top: 18px;
    background: var(--t-bg-soft);
    border-left: 3px solid var(--t-blue);
    border-radius: 0 12px 12px 0;
    padding: 16px 18px;
}

.t-reply__head { font-weight: 600; font-size: .88rem; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.t-reply__body { color: var(--t-body); font-size: .92rem; line-height: 1.6; }

.t-reply-form { margin-top: 16px; }

/* Pagination */
.t-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 30px; flex-wrap: wrap; }

.t-pagination .page-numbers {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--t-line);
    color: var(--t-body);
    font-weight: 600;
    font-size: .88rem;
    text-decoration: none;
    background: #fff;
}

.t-pagination .page-numbers:hover { border-color: var(--t-ink); color: var(--t-ink); }
.t-pagination .page-numbers.current { background: var(--t-ink); border-color: var(--t-ink); color: #fff; }
.t-pagination .page-numbers.dots { border-color: transparent; background: none; }

/* -------------------------------------------------------------------------
   Write-a-review panel
   ------------------------------------------------------------------------- */

.t-write {
    background: #fff;
    border: 1px solid var(--t-line);
    border-radius: var(--t-radius-lg);
    padding: 32px;
    box-shadow: var(--t-shadow-md);
    scroll-margin-top: 110px;
}

.t-write__title { font-size: 1.5rem; font-weight: 700; margin-bottom: 6px; }

.t-write__locked {
    text-align: center;
    padding: 40px 24px;
    border: 1px dashed var(--t-line);
    border-radius: var(--t-radius-lg);
    background: var(--t-bg-soft);
}

/* -------------------------------------------------------------------------
   Auth screens
   ------------------------------------------------------------------------- */

.t-auth { min-height: 100vh; display: flex; }

.t-auth__form {
    flex: 1 1 52%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 130px 24px 70px;
    background: #fff;
}

.t-auth__inner { width: 100%; max-width: 420px; }
.t-auth__title { font-size: 2.1rem; font-weight: 700; margin-bottom: 8px; }
.t-auth__sub { color: var(--t-muted); margin-bottom: 30px; font-size: .97rem; }
.t-auth__foot { margin-top: 26px; font-size: .9rem; color: var(--t-muted); text-align: center; }
.t-auth__foot a { color: var(--t-blue); font-weight: 600; text-decoration: none; }
.t-auth__foot a:hover { text-decoration: underline; }

.t-auth__aside {
    flex: 1 1 48%;
    background: linear-gradient(160deg, #061c3f 0%, #0b3f8f 55%, #007AFF 100%);
    color: #fff;
    padding: 130px 60px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.t-auth__aside::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -160px;
    bottom: -200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 70%);
}

.t-auth__aside h2 { color: #fff; font-size: 2.3rem; font-weight: 700; line-height: 1.15; margin-bottom: 18px; max-width: 460px; }
.t-auth__aside p { color: rgba(255, 255, 255, .78); font-size: 1.02rem; max-width: 440px; line-height: 1.6; }

.t-auth__quote {
    position: relative;
    z-index: 1;
    margin-top: 46px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 24px;
    max-width: 440px;
}

.t-auth__quote p { color: #fff; font-size: .98rem; margin-bottom: 14px; }
.t-auth__quote .t-auth__who { display: flex; align-items: center; gap: 11px; font-size: .85rem; color: rgba(255, 255, 255, .8); }

.t-auth__stats { display: flex; gap: 34px; margin-top: 42px; position: relative; z-index: 1; }
.t-auth__stat b { display: block; font-family: 'Outfit', sans-serif; font-size: 1.9rem; font-weight: 700; }
.t-auth__stat span { color: rgba(255, 255, 255, .7); font-size: .82rem; }

@media (max-width: 991px) {
    .t-auth__aside { display: none; }
    .t-auth__form { flex-basis: 100%; padding-top: 120px; }
}

/* Social/divider */
.t-divider { display: flex; align-items: center; gap: 14px; margin: 24px 0; color: var(--t-muted); font-size: .8rem; }
.t-divider::before, .t-divider::after { content: ""; flex: 1; height: 1px; background: var(--t-line); }

/* Centered card layout (activate, reset, claim verify) */
.t-center {
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 130px 20px 70px;
    background: radial-gradient(1000px 480px at 50% -8%, rgba(0, 122, 255, .1), transparent 70%), #fff;
}

.t-center__card {
    width: 100%;
    max-width: 520px;
    background: #fff;
    border: 1px solid var(--t-line);
    border-radius: var(--t-radius-lg);
    box-shadow: var(--t-shadow-lg);
    padding: 44px 40px;
    text-align: center;
}

.t-center__card--wide { max-width: 640px; text-align: left; }
.t-center__icon { width: 190px; margin: 0 auto 20px; }
.t-center__icon svg { width: 100%; height: auto; }
.t-center__card h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 10px; }
.t-center__card p { color: var(--t-body); line-height: 1.6; }

@media (max-width: 575px) {
    .t-center__card { padding: 32px 22px; }
}

/* -------------------------------------------------------------------------
   Account area
   ------------------------------------------------------------------------- */

.t-account { background: var(--t-bg-soft); min-height: 100vh; padding: 120px 0 80px; }

.t-account__head { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; flex-wrap: wrap; }
.t-account__name { font-size: 1.6rem; font-weight: 700; margin: 0; }
.t-account__email { color: var(--t-muted); font-size: .9rem; }

.t-nav { background: #fff; border: 1px solid var(--t-line); border-radius: var(--t-radius); padding: 10px; box-shadow: var(--t-shadow-sm); position: sticky; top: 100px; }

.t-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 11px;
    color: var(--t-body);
    font-size: .92rem;
    font-weight: 500;
    text-decoration: none;
    transition: background .16s ease, color .16s ease;
}

.t-nav a i { width: 18px; text-align: center; color: var(--t-muted); }
.t-nav a:hover { background: var(--t-line-soft); color: var(--t-ink); }
.t-nav a.is-active { background: var(--t-ink); color: #fff; }
.t-nav a.is-active i { color: #fff; }
.t-nav__sep { height: 1px; background: var(--t-line); margin: 8px 6px; }
.t-nav a.t-nav__logout { color: #b3261e; }
.t-nav a.t-nav__logout i { color: #b3261e; }

.t-panel { background: #fff; border: 1px solid var(--t-line); border-radius: var(--t-radius); box-shadow: var(--t-shadow-sm); padding: 28px; margin-bottom: 22px; }
.t-panel__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.t-panel__sub { color: var(--t-muted); font-size: .88rem; margin-bottom: 22px; }

.t-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 22px; }

.t-stat {
    background: #fff;
    border: 1px solid var(--t-line);
    border-radius: var(--t-radius);
    padding: 22px;
    box-shadow: var(--t-shadow-sm);
}

.t-stat__value { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 700; line-height: 1.1; }
.t-stat__label { color: var(--t-muted); font-size: .82rem; margin-top: 4px; }
.t-stat__icon { width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: rgba(0, 122, 255, .1); color: var(--t-blue); margin-bottom: 12px; }

/* Avatar uploader */
.t-avatar-upload { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.t-avatar-preview { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--t-shadow-md); }

.t-file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--t-line);
    border-radius: 999px;
    padding: 9px 18px;
    font-size: .86rem;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
    transition: border-color .18s ease;
}

.t-file:hover { border-color: var(--t-ink); }
.t-file input { display: none; }

.t-progress { height: 8px; background: var(--t-line-soft); border-radius: 6px; overflow: hidden; }
.t-progress span { display: block; height: 100%; background: linear-gradient(90deg, #007AFF, #5856D6); border-radius: 6px; }

/* Compact company row */
.t-biz {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--t-line);
    border-radius: var(--t-radius);
    margin-bottom: 12px;
    background: #fff;
    transition: box-shadow .2s ease, transform .2s ease;
}

.t-biz:hover { box-shadow: var(--t-shadow-md); transform: translateY(-2px); }
.t-biz__name { font-weight: 600; margin: 0 0 3px; }
.t-biz__meta { color: var(--t-muted); font-size: .82rem; }

/* -------------------------------------------------------------------------
   Directory / archive
   ------------------------------------------------------------------------- */

.t-hero-search {
    background: radial-gradient(900px 420px at 50% -10%, rgba(0, 122, 255, .14), transparent 70%), #fff;
    padding: 150px 0 60px;
    text-align: center;
}

.t-hero-search h1 { font-size: 3.1rem; font-weight: 600; letter-spacing: -.03em; margin-bottom: 14px; }
.t-hero-search p { color: var(--t-muted); font-size: 1.13rem; max-width: 620px; margin: 0 auto 34px; }

.t-searchbar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--t-line);
    border-radius: 999px;
    padding: 8px 8px 8px 22px;
    max-width: 620px;
    margin: 0 auto;
    box-shadow: var(--t-shadow-md);
}

.t-searchbar input { flex: 1; border: 0; outline: none; font-size: 1rem; padding: 10px 0; background: transparent; color: var(--t-ink); }
.t-searchbar i { color: var(--t-muted); }

@media (max-width: 767px) {
    .t-hero-search h1 { font-size: 2.1rem; }
    .t-hero-search { padding-top: 120px; }
}

.t-company-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--t-line);
    border-radius: var(--t-radius);
    padding: 22px;
    height: 100%;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--t-shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.t-company-card:hover { transform: translateY(-4px); box-shadow: var(--t-shadow-md); border-color: #d8e4f5; color: inherit; text-decoration: none; }
.t-company-card__name { font-weight: 700; font-size: 1.02rem; margin: 0 0 4px; }
.t-company-card__domain { color: var(--t-muted); font-size: .82rem; margin-bottom: 9px; }

.t-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--t-line);
    border-radius: 999px;
    padding: 10px 18px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--t-body);
    text-decoration: none;
    transition: all .18s ease;
}

.t-cat-chip:hover { border-color: var(--t-blue); color: var(--t-blue); text-decoration: none; transform: translateY(-2px); }

/* -------------------------------------------------------------------------
   Empty states / callouts
   ------------------------------------------------------------------------- */

.t-empty { text-align: center; padding: 56px 24px; border: 1px dashed var(--t-line); border-radius: var(--t-radius-lg); background: #fff; }
.t-empty__art { width: 190px; margin: 0 auto 18px; }
.t-empty__art svg { width: 100%; height: auto; }
.t-empty h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.t-empty p { color: var(--t-muted); max-width: 420px; margin: 0 auto 20px; }

.t-cta {
    background: linear-gradient(135deg, #061c3f 0%, #0b3f8f 60%, #007AFF 100%);
    color: #fff;
    border-radius: var(--t-radius-lg);
    padding: 44px;
    position: relative;
    overflow: hidden;
}

.t-cta h3 { color: #fff; font-size: 1.7rem; font-weight: 700; margin-bottom: 10px; }
.t-cta p { color: rgba(255, 255, 255, .8); margin-bottom: 22px; }

.t-cta::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -110px;
    top: -140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 70%);
}

.t-trust-strip { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; color: var(--t-muted); font-size: .85rem; }
.t-trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.t-trust-strip i { color: var(--t-green); }

/* Skeleton shimmer for anything still loading */
.t-skeleton {
    background: linear-gradient(90deg, #f2f4f8 25%, #e9edf4 37%, #f2f4f8 63%);
    background-size: 400% 100%;
    animation: t-shimmer 1.4s ease infinite;
    border-radius: 8px;
}

@keyframes t-shimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

/* Reveal on scroll */
.t-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.t-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .t-reveal, .t-btn, .t-card--hover, .t-company-card { transition: none; }
    .t-reveal { opacity: 1; transform: none; }
}
