/* =========================================================
   TMC‑GLOBAL.CSS — Enterprise Layout Framework
   ========================================================= */

/* ---------- ROOT VARIABLES ---------- */
:root {
    --bg-body: #f5f5f5;
    --bg-section: #ffffff;
    --bg-hero: #0a1a2f;
    --bg-footer: #0a1a2f;

    --text-main: #222222;
    --text-muted: #555555;
    --text-light: #ffffff;

    --accent-gold: #f4c542;
    --accent-line: #e2e2e2;

    --radius-card: 8px;
    --shadow-card: 0 4px 12px rgba(0,0,0,0.04);

    --max-width: 1200px;

    --space-section: 44px;
    --space-card: 22px;
}

/* ---------- GLOBAL RESET ---------- */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
}

h1, h2, h3, h4 {
    margin: 0;
    font-weight: 600;
}

p {
    margin: 0;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================================================
   BRANDING (GLOBAL)
   ========================================================= */
.tmc {
    color: var(--text-light);
    font-weight: 700;
}

.partners {
    color: var(--accent-gold);
    font-weight: 700;
}

/* =========================================================
   NAVBAR
   ========================================================= */
header {
    background: var(--bg-hero);
}

.navbar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--text-light);
    font-size: 14px;
    opacity: 0.85;
}

.nav-links a:hover,
.nav-links .active {
    opacity: 1;
    border-bottom: 2px solid var(--accent-gold);
}

/* =========================================================
   HERO
   ========================================================= */
.fade-right {
    opacity: 0;
    animation: fadeRight 1.2s ease forwards;
}

@keyframes fadeRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-cta {
    margin: 22px 0;
    display: flex;
    gap: 14px;
}

.hero {
    background: var(--bg-hero);
    color: var(--text-light);
    padding: 70px 24px 60px;
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-tagline {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 34px;
    margin-bottom: 14px;
}

.hero-lead {
    font-size: 16px;
    margin-bottom: 20px;
}

/* =========================================================
   HERO STATS BAR
   ========================================================= */
.stats-bar {
    background: #0d223d;
    padding: 28px 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.stat-item h3 {
    color: var(--accent-gold);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.stat-item p {
    color: #e6e6e6;
    font-size: 13px;
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section {
    padding: var(--space-section) 24px;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title-row {
    margin-bottom: 24px;
}

.section-title-row h2 {
    font-size: 22px;
}

.section-title-row span {
    font-size: 13px;
    color: var(--text-muted);
}

/* =========================================================
   CARDS
   ========================================================= */
.card {
    background: var(--bg-section);
    border-radius: var(--radius-card);
    padding: var(--space-card) 20px;
    box-shadow: var(--shadow-card);
    margin-bottom: 20px;
}

.card.gold-vertical {
    position: relative;
    padding-left: 22px;
}

.card.gold-vertical::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gold);
    border-radius: 3px;
}

/* =========================================================
   LISTS
   ========================================================= */
.bullet-list {
    margin-top: 8px;
    padding-left: 16px;
}

.bullet-list li {
    font-size: 13px;
    margin-bottom: 4px;
}

/* =========================================================
   GRID SYSTEM
   ========================================================= */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

/* =========================================================
   CTA SECTIONS
   ========================================================= */
.cta-section {
    background: var(--bg-section);
    padding: 36px 24px 44px;
    border-top: 1px solid var(--accent-line);
}

.cta-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.btn-primary {
    padding: 10px 20px;
    background: var(--accent-gold);
    color: #111;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
}

.btn-secondary {
    padding: 10px 20px;
    border: 1px solid #111;
    font-size: 14px;
    border-radius: 4px;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
    background: var(--bg-footer);
    color: var(--text-light);
    padding: 40px 24px 20px;
    margin-top: 40px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-tagline {
    font-size: 12px;
    margin-top: 6px;
    opacity: 0.8;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--accent-gold);
}

.footer-links a {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    opacity: 0.85;
    margin-bottom: 6px;
}

.footer-contact p {
    font-size: 12px;
    margin: 4px 0;
    opacity: 0.85;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 20px auto 0;
    text-align: center;
    font-size: 11px;
    color: #bbbbbb;
}

/* =========================================================
   STICKY CTA (Corrected & Final)
   ========================================================= */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-section);
    padding: 12px 16px;
    box-shadow: 0 -3px 10px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between !important;
    align-items: center;
    z-index: 999;
}

.sticky-cta span {
    font-size: 13px;
    font-weight: 600;
    flex-grow: 1;
    text-align: left;
}

.sticky-cta-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.sticky-cta-buttons .btn-primary,
.sticky-cta-buttons .btn-secondary {
    padding: 8px 14px;
    font-size: 13px;
    display: inline-flex;
    flex-direction: row !important;
}

/* =========================================================
   SCROLL TO TOP
   ========================================================= */
.scroll-top {
    position: fixed;
    bottom: 80px !important;
    right: 20px !important;
    background: var(--accent-gold);
    color: #111;
    padding: 10px 14px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
}

/* =========================================================
   MOBILE RESPONSIVENESS
   ========================================================= */
@media (max-width: 900px) {

    .navbar {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .hero {
        padding: 50px 18px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero-lead {
        font-size: 14px;
    }

    .hero-inner {
        display: block;
    }

    .hero-sidebar {
        margin-top: 28px;
        padding: 20px;
        background: rgba(255,255,255,0.06);
        border-radius: 6px;
    }

    .section {
        padding: 36px 18px;
    }

    .section-title-row {
        margin-bottom: 32px;
    }

    .card {
        margin-bottom: 26px;
        padding: 20px 18px;
    }

    .card.gold-vertical {
        padding-left: 28px;
    }

    .bullet-list li {
        margin-bottom: 6px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    p {
        font-size: 15px;
        line-height: 1.7;
    }

    .grid-2,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cta-section {
        padding: 36px 18px;
    }

    .cta-buttons,
    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .sticky-cta {
        justify-content: space-between !important;
    }

    .sticky-cta span {
        flex-grow: 1;
        text-align: left;
    }

    .sticky-cta-buttons {
        display: flex;
        gap: 12px;
        flex-shrink: 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-links,
    .footer-contact {
        margin-bottom: 24px;
    }

    .scroll-top {
        right: 20px !important;
    }
}
