/* ==========================================================================
   TERMINUS — Modern / Clean redesign for index.html
   Self-contained stylesheet, does not touch main.css / color.css so other
   pages of the template keep working exactly as before.
   ========================================================================== */

:root {
    /* Brand palette sourced from the TERMINUS shield logo (gold + crimson on near-black) */
    --tm-primary: #c99a3b;         /* gold — icons, links, borders, large text */
    --tm-primary-dark: #9c6b1b;    /* deep gold — text needing contrast on white */
    --tm-primary-light: #faf3e2;   /* pale gold tint — badge/icon backgrounds on light bg */
    --tm-gold-bright: #f1c875;     /* bright gold — accents on dark backgrounds */
    --tm-maroon: #7c111f;          /* crimson — secondary accent / featured surfaces */
    --tm-maroon-bright: #c4293f;   /* brighter crimson — hover / highlights on dark bg */
    --tm-dark: #0d0b12;
    --tm-dark-2: #17131d;
    --tm-text: #3d3e48;
    --tm-muted: #71727e;
    --tm-line: #e8e9f1;
    --tm-bg-soft: #f6f7fb;
    --tm-white: #ffffff;
    --tm-radius-lg: 24px;
    --tm-radius-md: 16px;
    --tm-radius-sm: 10px;
    --tm-shadow: 0 20px 45px -20px rgba(15, 13, 29, 0.16);
    --tm-shadow-sm: 0 8px 24px -12px rgba(15, 13, 29, 0.12);
    --tm-container: 1180px;
}

.tm {
    font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
    color: var(--tm-text);
    background: var(--tm-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.tm .mono {
    font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

/* Faint circuit/dot grid used on dark surfaces for a tech texture */
.tm-grid-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(201, 154, 59, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 154, 59, 0.12) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 90%);
}

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

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

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

.tm ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tm h1, .tm h2, .tm h3, .tm h4 {
    font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
    color: var(--tm-dark);
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.tm-container {
    width: 100%;
    max-width: var(--tm-container);
    margin: 0 auto;
    padding: 0 24px;
}

.tm-section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .tm-section { padding: 64px 0; }
}

.tm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tm-primary);
    background: var(--tm-primary-light);
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.tm-section-head {
    max-width: 640px;
    margin-bottom: 56px;
}

.tm-section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.tm-section-head h2 {
    font-size: clamp(28px, 3.4vw, 40px);
}

.tm-section-head p {
    margin-top: 16px;
    color: var(--tm-muted);
    font-size: 16px;
    line-height: 1.7;
}

.tm .tm-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    background: linear-gradient(135deg, var(--tm-gold-bright), var(--tm-primary) 70%);
    color: var(--tm-dark);
    font-weight: 700;
    font-size: 15px;
    border-radius: 999px;
    border: 1px solid transparent;
    box-shadow: 0 14px 30px -14px rgba(201, 154, 59, 0.55);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
}

.tm .tm-btn:hover {
    background: linear-gradient(135deg, var(--tm-primary), var(--tm-primary-dark) 70%);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -14px rgba(201, 154, 59, 0.65);
    color: var(--tm-dark);
}

.tm-btn i, .tm-btn svg { font-size: 13px; }

.tm .tm-btn.outline {
    background: transparent;
    color: var(--tm-dark);
    border-color: var(--tm-line);
    box-shadow: none;
}

.tm .tm-btn.outline:hover {
    background: var(--tm-dark);
    border-color: var(--tm-dark);
    color: var(--tm-gold-bright);
}

.tm .tm-btn.white {
    background: var(--tm-white);
    color: var(--tm-dark);
    border-color: var(--tm-white);
    box-shadow: none;
}

.tm .tm-btn.white:hover {
    background: var(--tm-dark);
    color: var(--tm-gold-bright);
    border-color: var(--tm-dark);
}

/* ---------- Top accent ---------- */
.tm-top-accent {
    height: 3px;
    background: linear-gradient(90deg, var(--tm-maroon), var(--tm-primary), var(--tm-gold-bright), var(--tm-primary), var(--tm-maroon));
}

/* ---------- Top bar ---------- */
.tm-topbar {
    background: var(--tm-dark);
    color: rgba(255,255,255,.75);
    font-size: 13px;
}

.tm-topbar .tm-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.tm-topbar a { color: rgba(255,255,255,.85); }
.tm-topbar a:hover { color: var(--tm-white); }

.tm-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tm-topbar-item i { color: var(--tm-gold-bright); }

.tm-topbar-social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tm-topbar-social a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background .2s ease;
}

.tm-topbar-social a:hover { background: var(--tm-primary); }

@media (max-width: 640px) {
    .tm-topbar-social { display: none; }
}

/* ---------- Header ---------- */
.tm-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255,255,255,.85);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--tm-line);
}

.tm-header .tm-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 84px;
}

.tm-logo img { height: 34px; width: auto; }

.tm-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.tm-nav a {
    font-weight: 600;
    font-size: 15px;
    color: var(--tm-dark);
    position: relative;
    padding: 6px 0;
}

.tm-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--tm-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.tm-nav a:hover::after { transform: scaleX(1); }

.tm-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Language switcher */
.tm-lang-switch {
    display: inline-flex;
    align-items: center;
    background: var(--tm-bg-soft);
    border: 1px solid var(--tm-line);
    border-radius: 999px;
    padding: 3px;
    gap: 2px;
}

.tm-lang-switch button {
    font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
    border: none;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    padding: 7px 14px;
    border-radius: 999px;
    color: var(--tm-muted);
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
    white-space: nowrap;
}

.tm-lang-switch button.active {
    background: linear-gradient(135deg, var(--tm-gold-bright), var(--tm-primary) 70%);
    color: var(--tm-dark);
}

@media (max-width: 767px) {
    .tm-header-actions > .tm-lang-switch { display: none; }
}

.tm-lang-switch-mobile {
    margin: 0 24px 8px;
    justify-content: center;
}

.tm-lang-switch-mobile button {
    flex: 1;
    text-align: center;
    padding: 9px 10px;
    font-size: 12.5px;
}

.tm-burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--tm-line);
    background: var(--tm-white);
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
}

@media (max-width: 991px) {
    .tm-nav { display: none; }
    .tm-header-actions .tm-btn.header-cta { display: none; }
    .tm-burger { display: inline-flex; }
}

/* Mobile panel */
.tm-mobile-panel {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 88vw);
    background: var(--tm-white);
    height: 100vh;
    z-index: 1200;
    transform: translateX(100%);
    transition: transform .35s ease;
    box-shadow: -20px 0 60px rgba(15,13,29,.18);
    overflow-y: auto;
}

.tm-mobile-panel.open { transform: translateX(0); }

.tm-mobile-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid var(--tm-line);
}

.tm-mobile-panel-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--tm-line);
    background: var(--tm-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.tm-mobile-nav {
    padding: 12px 24px;
}

.tm-mobile-nav a {
    display: block;
    padding: 14px 0;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 1px solid var(--tm-line);
    color: var(--tm-dark);
}

.tm-mobile-contact {
    padding: 20px 24px 32px;
}

.tm-mobile-contact h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--tm-muted);
    margin-bottom: 14px;
}

.tm-mobile-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}

.tm-mobile-contact i { color: var(--tm-primary); }

.tm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,13,29,.45);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease;
}

.tm-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ---------- Hero ---------- */
.tm-hero {
    position: relative;
    padding: 96px 0 110px;
    background:
        radial-gradient(900px 460px at 88% -10%, rgba(241, 200, 117, .16), transparent 60%),
        radial-gradient(700px 420px at 8% 110%, rgba(196, 41, 63, .22), transparent 60%),
        var(--tm-dark);
    overflow: hidden;
}

.tm-hero .tm-grid-overlay { opacity: .8; }

.tm-hero .tm-container {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 48px;
}

@media (max-width: 991px) {
    .tm-hero .tm-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.tm-hero .tm-eyebrow {
    background: rgba(241, 200, 117, .12);
    color: var(--tm-gold-bright);
    border: 1px solid rgba(241, 200, 117, .25);
}

.tm-hero h1 {
    color: var(--tm-white);
    font-size: clamp(34px, 4.6vw, 58px);
    letter-spacing: -0.01em;
}

.tm-hero h1 span {
    background: linear-gradient(120deg, var(--tm-gold-bright), var(--tm-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tm-hero p.lead {
    margin-top: 22px;
    font-size: 18px;
    color: rgba(255, 255, 255, .62);
    max-width: 460px;
    line-height: 1.7;
}

@media (max-width: 991px) {
    .tm-hero p.lead { margin-left: auto; margin-right: auto; }
}

.tm-hero-actions {
    margin-top: 36px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .tm-hero-actions { justify-content: center; }
}

.tm-hero .tm-btn.outline {
    border-color: rgba(255, 255, 255, .22);
    color: var(--tm-white);
}

.tm-hero .tm-btn.outline:hover {
    background: rgba(255, 255, 255, .08);
    border-color: var(--tm-gold-bright);
    color: var(--tm-gold-bright);
}

.tm-hero-stats {
    margin-top: 56px;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .tm-hero-stats { justify-content: center; }
}

.tm-hero-stats .num {
    font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 26px;
    font-weight: 700;
    color: var(--tm-gold-bright);
}

.tm-hero-stats .label {
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
    margin-top: 4px;
}

.tm-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-hero-visual .glow {
    position: absolute;
    width: 380px;
    height: 380px;
    background: linear-gradient(135deg, var(--tm-gold-bright), var(--tm-maroon-bright));
    filter: blur(130px);
    opacity: .3;
    border-radius: 50%;
}

.tm-hero-card {
    position: relative;
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(241, 200, 117, .22);
    border-radius: var(--tm-radius-lg);
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6);
    padding: 36px;
    width: 100%;
    max-width: 440px;
}

.tm-hero-card img {
    width: 100%;
    height: auto;
}

.tm-hero-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--tm-dark-2);
    border: 1px solid rgba(241, 200, 117, .25);
    border-radius: var(--tm-radius-sm);
    box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .55);
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--tm-white);
}

.tm-hero-badge i { color: var(--tm-gold-bright); }

.tm-hero-badge.b1 { top: -18px; left: -24px; }
.tm-hero-badge.b2 { bottom: -18px; right: -18px; }

@media (max-width: 560px) {
    .tm-hero-badge { display: none; }
}

/* ---------- Values / cards ---------- */
.tm-values {
    background: var(--tm-bg-soft);
}

.tm-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 900px) {
    .tm-grid-3 { grid-template-columns: 1fr; }
}

.tm-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1100px) {
    .tm-grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .tm-grid-4 { grid-template-columns: 1fr; }
}

.tm-card {
    background: var(--tm-white);
    border: 1px solid var(--tm-line);
    border-radius: var(--tm-radius-md);
    padding: 36px 30px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.tm-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--tm-shadow);
    border-color: transparent;
}

.tm-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--tm-primary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.tm-card-icon img { width: 26px; height: 26px; object-fit: contain; }

.tm-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.tm-card p {
    color: var(--tm-muted);
    font-size: 14.5px;
    line-height: 1.7;
    margin: 0;
}

/* ---------- About ---------- */
.tm-about .tm-container {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 56px;
    align-items: center;
}

@media (max-width: 991px) {
    .tm-about .tm-container {
        grid-template-columns: 1fr;
    }
}

.tm-about-visual {
    position: relative;
}

.tm-about-visual img {
    border-radius: var(--tm-radius-lg);
    box-shadow: var(--tm-shadow);
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.tm-about-badge {
    position: absolute;
    left: -28px;
    bottom: -28px;
    background: var(--tm-dark);
    border: 1px solid rgba(241, 200, 117, .3);
    color: var(--tm-white);
    border-radius: var(--tm-radius-md);
    padding: 22px 26px;
    box-shadow: var(--tm-shadow);
}

.tm-about-badge .num {
    font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 28px;
    font-weight: 700;
    color: var(--tm-gold-bright);
}

.tm-about-badge .label {
    font-size: 13px;
    color: rgba(255,255,255,.7);
    margin-top: 2px;
}

@media (max-width: 560px) {
    .tm-about-visual img { height: 280px; }
    .tm-about-badge { left: 16px; bottom: -20px; padding: 16px 20px; }
}

.tm-about-content .tm-eyebrow { margin-bottom: 16px; }

.tm-about-content h2 {
    font-size: clamp(26px, 3.2vw, 34px);
    margin-bottom: 18px;
}

.tm-about-content p {
    color: var(--tm-muted);
    font-size: 16px;
    line-height: 1.8;
}

.tm-about-list {
    margin-top: 26px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 560px) {
    .tm-about-list { grid-template-columns: 1fr; }
}

.tm-about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--tm-dark);
}

.tm-about-list i {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--tm-primary-light);
    color: var(--tm-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.tm-about-content .tm-btn { margin-top: 32px; }

/* ---------- Services ---------- */
.tm-services {
    background: var(--tm-dark);
    color: rgba(255,255,255,.78);
    position: relative;
    overflow: hidden;
}

.tm-services::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(700px 400px at 10% 0%, rgba(241,200,117,.14), transparent 60%);
}

.tm-services .tm-container { position: relative; }

.tm-services .tm-section-head h2,
.tm-services .tm-section-head p { color: var(--tm-white); }

.tm-services .tm-section-head p { color: rgba(255,255,255,.65); }

.tm-services .tm-eyebrow {
    background: rgba(241,200,117,.14);
    color: var(--tm-gold-bright);
    border: 1px solid rgba(241,200,117,.25);
}

.tm-service-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--tm-radius-md);
    padding: 34px 30px;
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.tm-service-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.2);
}

.tm-service-card.featured {
    background: linear-gradient(160deg, var(--tm-maroon), #560c16);
    border-color: var(--tm-maroon-bright);
}

.tm-service-card .tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    color: var(--tm-white);
    margin-bottom: 18px;
}

.tm-service-card.featured .tag {
    background: rgba(255,255,255,.18);
}

.tm-service-card h3 {
    color: var(--tm-white);
    font-size: 21px;
    margin-bottom: 12px;
}

.tm-service-card > p {
    color: rgba(255,255,255,.65);
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.tm-service-card.featured > p { color: rgba(255,255,255,.85); }

.tm-service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: 14.5px;
    color: rgba(255,255,255,.85);
}

.tm-service-list li:first-child { border-top: none; }

.tm-service-list i {
    color: var(--tm-gold-bright);
    font-size: 13px;
}

.tm-service-card.featured .tm-service-list li { border-color: rgba(255,255,255,.22); }
.tm-service-card.featured .tm-service-list i { color: var(--tm-white); }

/* ---------- Contact ---------- */
.tm-contact-split {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 28px;
    align-items: stretch;
}

@media (max-width: 900px) {
    .tm-contact-split { grid-template-columns: 1fr; }
}

.tm-contact-info-card {
    background: var(--tm-white);
    border: 1px solid var(--tm-line);
    border-radius: var(--tm-radius-md);
    padding: 12px 36px;
}

.tm-contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 0;
    border-top: 1px solid var(--tm-line);
}

.tm-contact-info-list li:first-child { border-top: none; }

.tm-contact-info-list .tm-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.tm-contact-info-list .tm-card-icon img { width: 22px; height: 22px; }

.tm-contact-info-list h3 {
    font-size: 15px;
    margin-bottom: 4px;
}

.tm-contact-info-list p, .tm-contact-info-list a {
    font-size: 14.5px;
    color: var(--tm-muted);
    line-height: 1.6;
}

.tm-contact-info-list a:hover { color: var(--tm-primary-dark); }

.tm-contact-map {
    position: relative;
    min-height: 340px;
    border-radius: var(--tm-radius-md);
    overflow: hidden;
    border: 1px solid var(--tm-line);
    box-shadow: var(--tm-shadow-sm);
}

.tm-contact-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(45%) contrast(1.05);
    transition: filter .3s ease;
}

.tm-contact-map:hover iframe {
    filter: grayscale(0%) contrast(1);
}

.tm-contact-map-badge {
    position: absolute;
    left: 18px;
    top: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--tm-white);
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--tm-dark);
    box-shadow: var(--tm-shadow-sm);
}

.tm-contact-map-badge i { color: var(--tm-primary-dark); }

/* ---------- Brand strip ---------- */
.tm-brands {
    padding: 56px 0;
    border-top: 1px solid var(--tm-line);
    border-bottom: 1px solid var(--tm-line);
}

.tm-brands-label {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--tm-muted);
    margin-bottom: 32px;
}

.tm-brands-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(28px, 6vw, 72px);
    flex-wrap: wrap;
}

.tm-brands-row img {
    height: 34px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .55;
    transition: opacity .2s ease, filter .2s ease;
}

.tm-brands-row img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ---------- Footer ---------- */
.tm-footer {
    position: relative;
    background: var(--tm-dark);
    color: rgba(255,255,255,.65);
    padding: 88px 0 0;
    overflow: hidden;
}

.tm-footer .tm-container { position: relative; }

.tm-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
    gap: 40px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

@media (max-width: 991px) {
    .tm-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .tm-footer-grid { grid-template-columns: 1fr; }
}

.tm-footer-logo img { height: 30px; margin-bottom: 20px; }

.tm-footer p { font-size: 14.5px; line-height: 1.75; }

.tm-footer h4 {
    color: var(--tm-white);
    font-size: 15px;
    margin-bottom: 22px;
}

.tm-footer-links li { margin-bottom: 12px; }
.tm-footer-links a {
    font-size: 14.5px;
    color: rgba(255,255,255,.65);
    transition: color .2s ease, padding-left .2s ease;
}
.tm-footer-links a:hover { color: var(--tm-white); padding-left: 4px; }

.tm-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    margin-bottom: 14px;
    line-height: 1.6;
}

.tm-footer-contact i { color: var(--tm-gold-bright); margin-top: 3px; }

.tm-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.tm-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--tm-white);
    transition: background .2s ease;
}

.tm-footer-social a:hover { background: var(--tm-primary); }

.tm-footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 13.5px;
    flex-wrap: wrap;
}

.tm-footer-bottom a { color: var(--tm-white); font-weight: 600; }

/* ---------- Back to top ---------- */
.tm-to-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--tm-primary);
    color: var(--tm-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--tm-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    z-index: 500;
}

.tm-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tm-to-top:hover { background: var(--tm-primary-dark); }
